Commit Graph

14 Commits

Author SHA1 Message Date
dongheng
cca13e0f99 feat(make): Sync code from esp-idf and modify for ESP8266
Commit ID: f6bfe13e
2019-05-16 16:22:11 +08:00
dongheng
0fa41f1fb9 fix(util): Fix unaligned access to the flash if some LUT is type of "uint8_t" or "uint16_t"
Make the "uint8_t" or "uint16_t" LTU 4-byte-align.
2019-05-06 10:54:22 +08:00
dongheng
0b571f4c58 feat(util): Use independent "util_assert" instead of "assert" 2019-04-24 14:58:58 +08:00
Dong Heng
1c835ba08a feat(util): Add faster AES for ESP8266 SoC 2019-04-22 16:46:20 +08:00
dongheng
768afde238 feat(util): Add extra SHA and unit test
1. wpa_supplicatn use extra SHA default
2. mbedtls use extra SHA default
3. bootloader use extra SHA default
4. user code can use extra SHA default

Above all, using unified module is easy to maintenance code and save rom or ram.
2019-04-15 16:18:21 +08:00
Dong Heng
17fc3ab6ba feat(util): Refactor CRC algorithm 2019-04-01 16:09:16 +08:00
dongheng
2449523a8e feat(util): Add IBus get data function
Using the macro to get uint8_t/uint16_t type data from IBus is much faster.
2019-03-29 19:38:22 +08:00
Dong Heng
01bc5bff4e feat(util): Add base64 codec to util 2018-11-08 11:19:50 +08:00
Zhang Jun Hao
03476f16c5 feat(util): use const table to calculate crc8 2018-11-04 17:19:41 +08:00
Zhang Jun Hao
52648d915d feat(util): add crc16 support 2018-09-07 16:02:31 +08:00
Wu Jian Gang
a411ce44c9 feat(esp8266): add phy APIs
1. support save cal data in nvs;
2. support use phy partition to store init data;

In old SDK, we use (max_sec - 3) as init data sector, and (max_sec - 4) as cal data sector. This is changed in IDF style SDK, and these 2 sectors can be used for other perpose.
2018-07-06 10:52:43 +08:00
Wu Jian Gang
1f2f10c7d4 feat(util): add esp_crc8 for efuse check 2018-06-28 19:40:04 +08:00
Dong Heng
b1a9eccf28 feat(nvs_flash): Add CRC32 for NVS 2018-06-08 19:46:09 +08:00
Dong Heng
652607b9a8 feat(util): Bring esp_err.h from esp-idf 2018-06-01 11:26:33 +08:00