Commit Graph

2274 Commits

Author SHA1 Message Date
dongheng
eb58df9506 feat(esp8266): add function to enable GPIO wakeup from light sleep and disable wakeup source 2019-10-10 18:12:33 +08:00
dongheng
1f8192d9f9 feat(exmaples): remove wolfSSL example
The wolfSSL example will be supplied independently.
2019-10-10 15:43:29 +08:00
dongheng
5f2b5eafcf feat(mbedtls): modify code to support ESP8266
It is that maybe less modification working on the components is better, so I just modified the platform
code of AES, SHA and so on.

ESP8266 has no real hardware AES, SHA or bignum peripheral, but some method can speed up the process of part
of upper algorithm, so I also added the platform code of AES, SHA, bignum, ARC, MD5.

ESP8266 has no platform of bignum, so users should not enable the bignum hardware at "menuconfig".
2019-10-10 13:39:08 +08:00
dongheng
35d8262b25 feat(mbedtls): bring mbedtls and openssl based on mbedtls from esp-idf
Commit ID: 97959e77.

Using submodule instead of source code.

It is brought from esp-idf, and some origin dependent code or configuration of hardware have not been removed.
But it maybe not affect using at the ESP8266 platform.
2019-10-10 11:09:08 +08:00
Dong Heng
6cfeb14102 Merge branch 'feature/add_aes_ofb' into 'master'
util: add AES OFB calculation

See merge request sdk/ESP8266_RTOS_SDK!1125
2019-10-10 10:59:28 +08:00
dongheng
ca3e701001 feat(util): add AES OFB calculation 2019-10-09 17:50:20 +08:00
Dong Heng
d8d355bbdf Merge branch 'bugfix/fix_link_data_cause_crash' into 'master'
freertos: fix link bss data to IRAM causing crash

See merge request sdk/ESP8266_RTOS_SDK!1124
2019-10-09 16:09:04 +08:00
dongheng
63b5c1969b fix(freertos): fix link bss data to IRAM causing crash
Global data of port.c, xtensa_context.S and xtensa_vectors.S should not be linked into IRAM now.
2019-10-09 15:33:58 +08:00
dongheng
8e76fa1130 feat(esp_https_ota): SSL supports no verification 2019-10-09 11:13:57 +08:00
Dong Heng
d6ec931ec7 Merge branch 'feature/set_cpu_sleep_mode' into 'master'
sleep: add function set CPU sleep mode

See merge request sdk/ESP8266_RTOS_SDK!1116
2019-09-30 14:45:31 +08:00
dongheng
f2cb7b00ba feat(sleep): add function set CPU sleep mode 2019-09-30 13:59:08 +08:00
Dong Heng
da99eac1d6 Merge branch 'feature/update_phy' into 'master'
phy: update phy library to 1151.0

See merge request sdk/ESP8266_RTOS_SDK!1119
2019-09-30 13:57:38 +08:00
Dong Heng
e00c0c2ead Merge branch 'feature/link_bss_to_iram' into 'master'
make: add "iram_bss" to link some global varible from DRAM to IRAM

See merge request sdk/ESP8266_RTOS_SDK!1117
2019-09-29 18:17:08 +08:00
dongheng
c7ac512e99 feat(phy): update phy library to 1151.0
1. rename function from "rtc_init_2" to be "rtc_init_clk"
2. reduce time cost of openning RF
3. locate "phy_close_rf" and "i2c" from flash to IRAM
2019-09-29 18:14:51 +08:00
dongheng
3e6c6696ef feat(make): add "iram_bss" to link some global varible from DRAM to IRAM 2019-09-26 17:33:22 +08:00
Dong Heng
63ba83f119 Merge branch 'feature/remove_unused_option_of_bootloader' into 'master'
bootloader: remove unused option

See merge request sdk/ESP8266_RTOS_SDK!1115
2019-09-25 17:14:35 +08:00
dongheng
2826d8aa2c feat(bootloader): remove unused option
Users can enable/disable these option at "app_update".
2019-09-25 16:38:56 +08:00
Dong Heng
3cd3d751c9 Merge branch 'feature/add_wps_to_IDF' into 'master'
feat(wps): add wps to idf

See merge request sdk/ESP8266_RTOS_SDK!1111
2019-09-25 14:32:14 +08:00
Dong Heng
a71f1b61aa Merge branch 'bugfix/fix_light_sleep_wakeup_proc' into 'master'
esp8266: fix system and wifi sleep/wake process error

See merge request sdk/ESP8266_RTOS_SDK!1104
2019-09-25 14:30:39 +08:00
dongheng
4d4e1c0564 fix(esp8266): fix system and wifi sleep/wake process error 2019-09-25 14:13:47 +08:00
Dong Heng
6f3983d39e Merge branch 'feature/add_aes_xts_to_util' into 'master'
util: add AES XTS and its unit test

See merge request sdk/ESP8266_RTOS_SDK!1114
2019-09-25 10:30:22 +08:00
Dong Heng
07461409f6 Merge branch 'feature/add_sdk_ver' into 'master'
esp8266: add system version

See merge request sdk/ESP8266_RTOS_SDK!1108
2019-09-24 17:12:31 +08:00
dongheng
ffcac9caca feat(util): add AES XTS and its unit test 2019-09-24 15:12:08 +08:00
Dong Heng
f5958f5b33 Merge branch 'bugfix/gnu_make_windows_paths' into 'master'
build: in GNU make, use "cygpath -m" to avoid backslashes

See merge request sdk/ESP8266_RTOS_SDK!1107
2019-09-24 13:54:50 +08:00
Dong Heng
2a1b5cffe9 Merge branch 'feature/freertos_enable_timer_pend_funcs' into 'master'
freertos: enable timer pending functions

See merge request sdk/ESP8266_RTOS_SDK!1112
2019-09-24 10:28:25 +08:00
dongheng
643b15aaaa feat(freertos): enable timer pending functions 2019-09-24 10:21:42 +08:00
Chen Wen
ae9dae0735 feat(wps): delete some invalid comments 2019-09-23 20:38:49 +08:00
Chen Wen
4a4291f198 feat(wps): modify CPU CLK APIs 2019-09-23 20:29:41 +08:00
Chen Wen
8254a61e73 feat(wps): add the CONFIG_ESP_SHA macro definition 2019-09-23 20:29:41 +08:00
Chen Wen
62cc5052fe feat(wps): optimization wps code 2019-09-23 20:29:41 +08:00
Chen Wen
0a7d44c858 feat(wps): sync wps_internal code to esp8266
feat(wps): modify CMakeLists.txt
2019-09-23 20:29:41 +08:00
Chen Wen
6ac71ff766 feat(wps): fix warning issues 2019-09-23 20:29:41 +08:00
Chen Wen
e0c94384b6 feat(wps): support encryption mode configurable 2019-09-23 20:29:41 +08:00
Chen Wen
0b1f1ef88b feat(wps): optimization wps code
feat(wps): fix the warning prompt
2019-09-23 20:29:41 +08:00
Chen Wen
8c52206736 feat(wps): sync esp32 wps code to esp8266 2019-09-23 20:29:41 +08:00
Chen Wen
21d8877663 feat(wps): add wps code to idf 2019-09-23 20:29:41 +08:00
dongheng
d0f58daec1 feat(esp8266): add system version
Bootloader can get the version of application for specific section,
and then check if some features are supported.

Developers can use the macro "ESP_IDF_VERSION" to limite some function like following:

include "esp_idf_version.h"

if ESP_IDF_VERSION >= ESP_IDF_VERSION_VAL(3, 4, 0) && ESP_IDF_VERSION < ESP_IDF_VERSION_VAL(4, 0, 0) // 3.4 <= ver < 4.0
    do_xxx_process();
endif
2019-09-23 20:06:51 +08:00
Wu Jian Gang
aacf44b545 Merge branch 'feature/improve_ability_of_rx_pkt_in_sniffer_mode' into 'master'
feat(lib): improve the ability of receieve packet in sniffer mode

See merge request sdk/ESP8266_RTOS_SDK!1099
2019-09-23 20:00:21 +08:00
Chen Wen
b32c7a5f0c feat(lib): check dram in NMI 2019-09-23 19:45:54 +08:00
Chen Wen
3040519fac feat(lib): improve the ability of receieve packet in sniffer mode 2019-09-23 19:15:38 +08:00
Dong Heng
fc20dc2479 Merge branch 'feature/update_wdev_time_when_wakeup_from_light_sleep' into 'master'
sleep: udpate WDEV time when wake up from light sleep

See merge request sdk/ESP8266_RTOS_SDK!1110
2019-09-23 13:25:03 +08:00
dongheng
c053cd2a32 feat(sleep): udpate WDEV time when wake up from light sleep 2019-09-23 11:39:54 +08:00
Dong Heng
5f13cdd45a Merge branch 'bugfix/fix_light_sleep_enter_error' into 'master'
sleep: fix enter light sleep mode error

See merge request sdk/ESP8266_RTOS_SDK!1109
2019-09-23 11:06:44 +08:00
dongheng
827e7478fa fix(sleep): fix enter light sleep mode error 2019-09-23 10:53:49 +08:00
dongheng
60648fc9c9 fix(build): in GNU make, use "cygpath -m" to avoid backslashes 2019-09-20 17:25:11 +08:00
Dong Heng
653d20dddc Merge branch 'bugfix/fix_get_mac_info' into 'master'
esp8266: fix get MAC address from efuse output information error

See merge request sdk/ESP8266_RTOS_SDK!1101
2019-09-19 10:27:29 +08:00
Dong Heng
d150552ab4 Merge branch 'feature/update_cjson_to_1.7.12' into 'master'
Update cJSON to v1.7.12

See merge request sdk/ESP8266_RTOS_SDK!1054
2019-09-18 16:29:46 +08:00
dongheng
26bd48c467 feat(json): update cJSON to v1.7.12
Fixes potential DoS in cJSON_Minify, see https://github.com/DaveGamble/cJSON/issues/354

Using submodule instead of source code.
2019-09-18 16:02:20 +08:00
Dong Heng
8820d1036f Merge branch 'bugfix/ci_sync_submodule_before_compile' into 'master'
ci: download submodule before compiling in case of examples checking error

See merge request sdk/ESP8266_RTOS_SDK!1103
2019-09-18 16:00:04 +08:00
Dong Heng
1e1caa45eb Merge branch 'feature/remove_submodule_declare' into 'master'
make: remove submodule declare for using real submodule later

See merge request sdk/ESP8266_RTOS_SDK!1102
2019-09-18 15:56:54 +08:00