1202 Commits

Author SHA1 Message Date
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
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
6315e4911c Merge branch 'feature/iram_used_for_heap_when_full_cache_mode' into 'master'
heap: add heap private config to enable/disable using IRAM as heap

See merge request sdk/ESP8266_RTOS_SDK!1050
2019-08-28 10:53:07 +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
9ca3428e79 feat(wolfssl): Make wolfssl support TLSv1.0, TLSv1.1, TLSv1.2 protocols 2019-08-22 19:29:20 +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
e3eec9ef35 feat(cmake): add cmake file required to run "make flash" 2019-08-20 12:57:14 +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
c326ec606a feat(esp_common): add stack check function for gcc
Enable this function by "COMPILER_STACK_CHECK_MODE" of "Kconfig".
2019-08-16 13:41:34 +08:00
f12b37bdf5 Merge branch 'bugfix/fix_wifi_dbg_link_error' into 'master'
wifi: fix wifi link error when enable wifi debug

See merge request sdk/ESP8266_RTOS_SDK!1057
2019-08-15 10:58:15 +08:00
adb71e1d20 Merge branch 'feature/nano_libc_support_printf_float' into 'master'
newlib: nano mode libc supports print float type data

See merge request sdk/ESP8266_RTOS_SDK!1056
2019-08-15 10:44:23 +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
ef8be5b0b1 feat(newlib): nano mode libc supports print float type data
Commit ID: df26aa94
2019-08-14 20:01:17 +08:00
fadbd2621f Merge branch 'feature/add_normal_newlib_null_string' into 'master'
feat(newlib): Add normal newlib support print null string value

See merge request sdk/ESP8266_RTOS_SDK!1048
2019-08-14 18:40:27 +08:00
f83c2572d2 fix(esp8266): read only section must be align by 4 bytes 2019-08-13 16:13:29 +08:00
d391f7ceb5 Merge branch 'bugfix/fix_smartconfig' into 'master'
fix(smartconfig): fix AIRKISS callback data not have ip data value

See merge request sdk/ESP8266_RTOS_SDK!1021
2019-08-13 10:13:43 +08:00
a7aeeb28d5 feat(heap): add heap private config to enable/disable using IRAM as heap 2019-08-12 19:28:20 +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
b7e32da7cd feat(newlib): Add normal newlib support print null string value 2019-08-12 15:49:45 +08:00
c665a71370 fix(esp8266): esp8266 flash mapping to CPU bus size only supports 1MB now
We may add support to run app which size is larger than 1MB later.
2019-08-12 15:45:26 +08:00
fc301bc167 fix(wifi): fix the issue of inconsistent reporting status code in asscociation of different routers 2019-08-09 13:45:34 +08:00
6ada81237e Merge branch 'feature/support_make_size_family_cmd' into 'master'
esp8266: supports "make size" and its family function

See merge request sdk/ESP8266_RTOS_SDK!1033
2019-08-08 09:51:47 +08:00
73e3a7d4d6 Merge branch 'feature/add_rc4_algorithm_in_util' into 'master'
feat(util): Add ARC4 for ESP8266 SoC

See merge request sdk/ESP8266_RTOS_SDK!1028
2019-08-07 12:11:31 +08:00
3aa6377476 Merge branch 'feature/add_md5_algorithm_in_util' into 'master'
feat(util): Add md5 algorithm to util

See merge request sdk/ESP8266_RTOS_SDK!1024
2019-08-07 12:10:00 +08:00
301d857988 feat(esp8266): supports "make size" and its family function
1. support "make size", "make size-files", "make size-components" and "make size-symbols"
2. add esp-idf style link file including "esp8266.ld" and "esp8266.project.ld.in"
3. add link advaced generation file to components of esp8266 and spi_flash
2019-08-05 17:20:29 +08:00
d0090ee706 fix(newlib): fix console UART output port when enable VFS 2019-08-05 11:43:57 +08:00
db338d65e8 fix(esptool_py): fix monitor baudrate default value
Add 74880 baudrate rename macro to sdkconfig.rename.
2019-08-05 10:13:34 +08:00
52b46ed00f Merge branch 'feature/update_make_and_cmake' into 'master'
make: update make and cmake from esp-idf

See merge request sdk/ESP8266_RTOS_SDK!1027
2019-08-02 20:03:01 +08:00
1dea211bf7 feat(util): Add ARC4 for ESP8266 SoC 2019-08-02 18:03:03 +08:00
98a46e435f feat(util): Add ARC4 algorithm to util 2019-08-02 18:01:34 +08:00
6f86c07c49 feat(util): Add faster MD5 for ESP8266 SoC 2019-08-02 15:58:49 +08:00
114d2b5b86 feature(script): update compiling script for new make and cmake 2019-08-02 14:02:45 +08:00
a53b7d5689 Merge branch 'feature/make_DHCP_discover_retransmission_interval_be_configurable' into 'master'
feat(dhcp): add menuconfig for DHCP discover retransmission interval

See merge request sdk/ESP8266_RTOS_SDK!1016
2019-08-02 11:34:46 +08:00
d5532a270c feat(util): Add md5 algorithm to util and use memcpy to replace some "=" value assignment
Use memcpy can reduce md5 cost time from 64us to 49us once, improve 23% performance
2019-08-01 11:15:17 +08:00
f763ff4c37 fix(ssl): fix ssl verify mode not match 2019-07-26 16:35:11 +08:00
926eee8b15 fix(smartconfig): fix AIRKISS callback data not have ip data value
User can't get the remote ip address in struct sc_callback_data when SC_STATUS_LINK_OVER event comes
2019-07-26 16:15:54 +08:00
d64f04bc95 feat(dhcp): add menuconfig for DHCP discover retransmission interval 2019-07-24 15:33:11 +08:00