565 Commits

Author SHA1 Message Date
827e7478fa fix(sleep): fix enter light sleep mode error 2019-09-23 10:53:49 +08:00
c533188b1a fix(esp8266): fix get MAC address from efuse output information error 2019-09-18 10:43:27 +08:00
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
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
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
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
0f4a396e04 feat(esp8266): set phy cal option according to cal data check 2019-09-16 17:21:29 +08:00
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
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
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
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
e3c73f339c feat(phy): add phy partial calibration in phy init 2019-09-16 10:49:08 +08:00
4bc5a555a0 feat(esp8266): modify notes of wifi_promiscuous_pkt_t structure 2019-09-12 15:49:40 +08:00
d43407924a fix(lib): fix station get ap authmode error 2019-09-11 10:37:38 +08:00
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
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
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
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
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
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
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
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
dd4b6e27f8 feat(lib): add state change log when connect to ap 2019-09-06 16:09:31 +08:00
c4e74769e7 fix(lib): fix station get ap info crash when connect to ap fail 2019-09-06 16:01:23 +08:00
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
9fd4951863 feat(wifi): refactor wifi power save 2019-09-06 15:20:46 +08:00
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
428f2f3b1a feature(ir): add ir tx rx driver 2019-09-04 15:46:49 +08:00
47a13e19cc feature(uart_driver_install): To fit some modules, add invalid parameters in uart_driver_install 2019-09-04 14:47:11 +08:00
8234436cde tools(gcc): fix disassembly instruction decoding error 2019-09-04 14:01:12 +08:00
4473846f4f feat(esp8266): power management update frc2 ccount after sleep wake up
1. link function from IRAM to Flash
2. using sleep early ticks instead time to avoid temperature drift or zero drift of RC oscillator
2019-09-03 17:49:57 +08:00
aa965627d1 feat(esp8266): add new power management method 2019-08-30 20:58:32 +08:00
bb6fc942ee Merge branch 'feature/refactor_and_add_more_wifi_feature_for_11n_certificate' into 'master'
feat(wifi): refactor and add more wifi feature for 11n certificate

See merge request sdk/ESP8266_RTOS_SDK!1044
2019-08-30 20:13:58 +08:00
36adeb9478 feat(lib): update library 2019-08-30 14:19:23 +08:00
53813599e9 feat(wifi): refactor and add more wifi feature for 11n certificate 2019-08-30 14:19:16 +08:00
36ee2c36ca Merge branch 'bugfix/fix_vfs_uart_noinit_by_using_fnano_newlib' into 'master'
newlib: fix some initialization function is not done when using float nano newlib

See merge request sdk/ESP8266_RTOS_SDK!1070
2019-08-29 11:40:22 +08:00
e1d70c9519 Merge branch 'feature/refactor_panic_backtrace' into 'master'
esp8266: refactor ESP8266(xtensa lx106) panic backtrace function

See merge request sdk/ESP8266_RTOS_SDK!1067
2019-08-29 10:10:38 +08:00
e28ddc5a35 Merge branch 'bugfix/fix_compile_warning' into 'master'
make: fix compiling warning

See merge request sdk/ESP8266_RTOS_SDK!1069
2019-08-29 10:10:17 +08:00
3986202ee9 fix(newlib): fix some initialization function is not done when using float-nano newlib and VFS
Using option "NEWLIB_LIBRARY_CUSTOMER" instead of "NEWLIB_ENABLE".
2019-08-28 11:28:58 +08:00
97cd6a594b fix(make): fix compiling warning
1. add "-MP" prevents make-level errors when switching IDF versions, as headers may be removed
2. add macro "IS_BOOTLOADER_BUILD" to disable link file generation when compiling bootloader
3. add "<:" to avoid makefile to search it undefined variable
2019-08-26 20:41:19 +08:00
767d995466 feat(esp8266): refactor ESP8266(xtensa lx106) panic backtrace function 2019-08-26 16:55:20 +08:00
126c5cf1f5 Merge branch 'bugfix/pwm_set_period' into 'master'
bugfix(pwm): fix a bug in pwm_set_period

See merge request sdk/ESP8266_RTOS_SDK!1062
2019-08-26 14:09:27 +08:00
dbded69dd5 Merge branch 'feature/i2c_clk_stretch' into 'master'
feature(i2c): add i2c clock stretch

See merge request sdk/ESP8266_RTOS_SDK!916
2019-08-26 14:08:25 +08:00
0193d06019 Merge branch 'feature/refactor_ccompare_timer' into 'master'
esp8266: refactor CCOMPARE timer and system time by microseconds

See merge request sdk/ESP8266_RTOS_SDK!1060
2019-08-21 15:21:53 +08:00
48f8d26c5b bugfix(pwm): fix a bug in pwm set period 2019-08-19 21:21:57 +08:00
ec0b1526ab fix(ota): fix OTA binary which is to be flashed error 2019-08-19 17:37:25 +08:00
b061230056 feat(esp8266): refactor CCOMPARE timer and system time by microseconds
old: CCOMPARE timer triggers when CCOUNT increase to equal to CCOMPARE, then ISR will increase integer of "_xt_tick_divisor"
     to CCOMPARE and wait for next interrupt triggering

now: CCOMPARE timer triggers when CCOUNT increase to equal to CCOMPARE, then ISR will reset CCOUNT to be 0 and reset CCOMPARE
     to be integer of "_xt_tick_divisor", then wait for next interrupt triggering

Using the new method, we may get the CCOUNT value without considing if it has overflowed.
System running microseconds = g_os_ticks * microseconds per tick + CCOUNT.
2019-08-19 14:03:20 +08:00
07dd1e41f0 fix(wifi): fix wifi link error when enable wifi debug
Link the library "libpp_dbg.a" to IRAM.
2019-08-15 10:42:44 +08:00
f83c2572d2 fix(esp8266): read only section must be align by 4 bytes 2019-08-13 16:13:29 +08:00
e9d2281335 Merge branch 'bugfix/fix_flash_bus_map_size' into 'master'
esp8266: esp8266 flash mapping to CPU bus size only supports 1MB now

See merge request sdk/ESP8266_RTOS_SDK!1047
2019-08-12 16:17:30 +08:00