590 Commits

Author SHA1 Message Date
7cb061f803 fix(lib): fix calculate tbtt error in light sleep 2019-10-17 19:44:40 +08:00
efe9834313 feat(newlib): Add macro ESP8266_TIME_SYSCALL_USE_FRC1 to enable clock_gettime function 2019-10-16 10:10:31 +08:00
a9c23b2c69 fix(esp8266): Added #pragma once for esp_sleep.h
Merges https://github.com/espressif/ESP8266_RTOS_SDK/pull/732
2019-10-14 17:18:26 +08:00
94d7d52248 Merge branch 'feature/update_mbedtls_from_esp_idf' into 'master'
mbedtls: bring mbedtls and openssl based on mbedtls from esp-idf

See merge request sdk/ESP8266_RTOS_SDK!1106
2019-10-12 10:16:25 +08:00
eb58df9506 feat(esp8266): add function to enable GPIO wakeup from light sleep and disable wakeup source 2019-10-10 18:12:33 +08:00
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
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
f2cb7b00ba feat(sleep): add function set CPU sleep mode 2019-09-30 13:59:08 +08:00
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
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
3e6c6696ef feat(make): add "iram_bss" to link some global varible from DRAM to IRAM 2019-09-26 17:33:22 +08:00
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
4d4e1c0564 fix(esp8266): fix system and wifi sleep/wake process error 2019-09-25 14:13:47 +08:00
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
ae9dae0735 feat(wps): delete some invalid comments 2019-09-23 20:38:49 +08:00
4a4291f198 feat(wps): modify CPU CLK APIs 2019-09-23 20:29:41 +08:00
62cc5052fe feat(wps): optimization wps code 2019-09-23 20:29:41 +08:00
0a7d44c858 feat(wps): sync wps_internal code to esp8266
feat(wps): modify CMakeLists.txt
2019-09-23 20:29:41 +08:00
e0c94384b6 feat(wps): support encryption mode configurable 2019-09-23 20:29:41 +08:00
8c52206736 feat(wps): sync esp32 wps code to esp8266 2019-09-23 20:29:41 +08:00
21d8877663 feat(wps): add wps code to idf 2019-09-23 20:29:41 +08:00
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
b32c7a5f0c feat(lib): check dram in NMI 2019-09-23 19:45:54 +08:00
3040519fac feat(lib): improve the ability of receieve packet in sniffer mode 2019-09-23 19:15:38 +08:00
c053cd2a32 feat(sleep): udpate WDEV time when wake up from light sleep 2019-09-23 11:39:54 +08:00
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