Commit Graph

585 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
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
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
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
dongheng
4d4e1c0564 fix(esp8266): fix system and wifi sleep/wake process error 2019-09-25 14:13:47 +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
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
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
e0c94384b6 feat(wps): support encryption mode configurable 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
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
dongheng
c053cd2a32 feat(sleep): udpate WDEV time when wake up from light sleep 2019-09-23 11:39:54 +08:00
dongheng
827e7478fa fix(sleep): fix enter light sleep mode error 2019-09-23 10:53:49 +08:00
dongheng
c533188b1a fix(esp8266): fix get MAC address from efuse output information error 2019-09-18 10:43:27 +08:00
Dong Heng
d501ebaf69 Merge branch 'feature/set_phy_cal_option_according_to_cal_data_check' into 'master'
feat(esp8266): set phy cal option according to cal data check

See merge request sdk/ESP8266_RTOS_SDK!1096
2019-09-17 10:44:01 +08:00
Dong Heng
e7cfc98413 Merge branch 'bugfix/fix_uart_output_error_when_startup' into 'master'
esp8266: fix UART output error when start up

See merge request sdk/ESP8266_RTOS_SDK!1094
2019-09-17 10:37:30 +08:00
Dong Heng
f1cd394290 Merge branch 'feature/relink_phy_ets_printf' into 'master'
phy: relink ets_printf of libphy.a to phy_printf

See merge request sdk/ESP8266_RTOS_SDK!1095
2019-09-17 10:36:46 +08:00
Dong Heng
2dadceb827 Merge branch 'bugfix/fix_timer_call_delete_when_proc' into 'master'
esp_timer: fix delete timer and timer processs later

See merge request sdk/ESP8266_RTOS_SDK!1097
2019-09-17 10:36:04 +08:00
Zhang Jun Hao
0f4a396e04 feat(esp8266): set phy cal option according to cal data check 2019-09-16 17:21:29 +08:00
dongheng
205817ea2e fix(esp_timer): fix delete timer and timer processs later
Make sure that FreeRTOS deletes timer firstly and then API "esp_timer_delete" free the source.
2019-09-16 16:25:45 +08:00
dongheng
6b7c87189d feat(phy): relink ets_printf of libphy.a to phy_printf
"phy_printf" has no output.
2019-09-16 15:47:50 +08:00
dongheng
96e5df4ebd fix(esp8266): fix UART output error when start up
Add UART system API to flush UART and wait until all characters are sent.
2019-09-16 15:21:42 +08:00
Dong Heng
431e94031e Merge branch 'feature/add_phy_partial_calibration' into 'master'
feat(phy): add phy partial calibration in phy init

See merge request sdk/ESP8266_RTOS_SDK!1083
2019-09-16 11:02:45 +08:00
Zhang Jun Hao
e3c73f339c feat(phy): add phy partial calibration in phy init 2019-09-16 10:49:08 +08:00
Zhang Jun Hao
4bc5a555a0 feat(esp8266): modify notes of wifi_promiscuous_pkt_t structure 2019-09-12 15:49:40 +08:00
Zhang Jun Hao
d43407924a fix(lib): fix station get ap authmode error 2019-09-11 10:37:38 +08:00
Dong Heng
0769fb46dc Merge branch 'feature/update_libphy' into 'master'
esp8266: update libphy from to version 1149

See merge request sdk/ESP8266_RTOS_SDK!1063
2019-09-09 12:00:32 +08:00
Dong Heng
95223eff95 Merge branch 'feature/ir_tx_rx' into 'master'
feature(ir): add ir rx tx example

See merge request sdk/ESP8266_RTOS_SDK!1065
2019-09-09 10:38:30 +08:00
dongheng
157e214436 feat(esp8266): update libphy to version 1149
1. seperate rtc module from phy
2. fix the bug that frequency shifts in some scenarios
2019-09-09 10:29:11 +08:00
Dong Heng
9df2c67d19 Merge branch 'feature/add_state_change_log_when_connect_to_ap' into 'master'
feat(lib): add state change log when connect to ap

See merge request sdk/ESP8266_RTOS_SDK!1082
2019-09-09 10:25:39 +08:00
Dong Heng
a9c4aa2736 Merge branch 'bugfix/fix_sta_get_ap_info_crash_when_connect_to_ap_fail' into 'master'
fix(lib): fix station get ap info crash when connect to ap fail

See merge request sdk/ESP8266_RTOS_SDK!1081
2019-09-09 10:25:30 +08:00
Dong Heng
6995f4a586 Merge branch 'feature/refactor_wifi_power_save' into 'master'
feat(lib): refactor wifi power save

See merge request sdk/ESP8266_RTOS_SDK!1075
2019-09-09 10:24:26 +08:00
Dong Heng
15092c9c38 Merge branch 'feature/flush_uart_before_light_sleep' into 'master'
pm: flush UART when enter light sleep

See merge request sdk/ESP8266_RTOS_SDK!1079
2019-09-06 19:45:26 +08:00
Dong Heng
a298896661 Merge branch 'tools/update_gcc_toolchain' into 'master'
gcc: fix disassembly instruction decoding error

See merge request sdk/ESP8266_RTOS_SDK!1078
2019-09-06 19:29:21 +08:00
Zhang Jun Hao
dd4b6e27f8 feat(lib): add state change log when connect to ap 2019-09-06 16:09:31 +08:00
Zhang Jun Hao
c4e74769e7 fix(lib): fix station get ap info crash when connect to ap fail 2019-09-06 16:01:23 +08:00
Dong Heng
0008fec35e Merge branch 'feature/uart_driver_install' into 'master'
feature(uart_driver_install): An invalid parameter was added to theuart_driver_install as an adaptation to some modules

See merge request sdk/ESP8266_RTOS_SDK!1074
2019-09-06 16:00:19 +08:00
Zhang Jun Hao
9fd4951863 feat(wifi): refactor wifi power save 2019-09-06 15:20:46 +08:00
dongheng
020a17d350 feat(pm): flush UART when enter light sleep
If FRC2 is not used, pm will not calculate its sleep time.
2019-09-06 14:44:06 +08:00
xiongyu
428f2f3b1a feature(ir): add ir tx rx driver 2019-09-04 15:46:49 +08:00
Chen Zheng Wei
47a13e19cc feature(uart_driver_install): To fit some modules, add invalid parameters in uart_driver_install 2019-09-04 14:47:11 +08:00
dongheng
8234436cde tools(gcc): fix disassembly instruction decoding error 2019-09-04 14:01:12 +08:00