10 Commits

Author SHA1 Message Date
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
0b571f4c58 feat(util): Use independent "util_assert" instead of "assert" 2019-04-24 14:58:58 +08:00
1c835ba08a feat(util): Add faster AES for ESP8266 SoC 2019-04-22 16:46:20 +08:00
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
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
01bc5bff4e feat(util): Add base64 codec to util 2018-11-08 11:19:50 +08:00
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
1f2f10c7d4 feat(util): add esp_crc8 for efuse check 2018-06-28 19:40:04 +08:00
b1a9eccf28 feat(nvs_flash): Add CRC32 for NVS 2018-06-08 19:46:09 +08:00
652607b9a8 feat(util): Bring esp_err.h from esp-idf 2018-06-01 11:26:33 +08:00