124 Commits

Author SHA1 Message Date
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
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
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
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
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
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
767d995466 feat(esp8266): refactor ESP8266(xtensa lx106) panic backtrace function 2019-08-26 16:55:20 +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
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
2084e8ed19 feat(esp8266): format phy_init.c 2019-06-12 10:38:33 +08:00
d04ce110f9 feat(esp8266): add set tx power via vdd33 function 2019-06-12 10:38:33 +08:00
639c64a540 feat(compatibility_upgrade): add function to get old SDK's target ap SSID and passowrd
Add error warning to check the wrong parition table.
2019-05-31 15:51:20 +08:00
37ffcbe9e6 feat(esp8266): Add feature to copy old RF parameters to new SDK partition
The old SDK's RF parameters is also kept.
2019-05-05 09:58:18 +08:00
28c49527f2 Merge branch 'feature/add_settings_for_wifi_tx_power_to_menuconfig' into 'master'
feat(esp8266): add settings for wifi tx power to menuconfig

See merge request sdk/ESP8266_RTOS_SDK!899
2019-04-18 12:17:56 +08:00
aeaa66ec08 feat(esp8266): add settings for wifi tx power to menuconfig 2019-04-18 11:37:56 +08:00
b6fd236fa0 Merge branch 'feature/errno_to_string' into 'master'
Add esp-idf error number description

See merge request sdk/ESP8266_RTOS_SDK!851
2019-04-17 15:03:05 +08:00
8aae2e5764 Merge branch 'feature/simplify_xtensa_code' into 'master'
Simplify xtensa platform code

See merge request sdk/ESP8266_RTOS_SDK!862
2019-04-16 19:56:05 +08:00
913188fdf3 feat(freertos): Simplify xtensa platform code
All normal ISRs are called by "_xt_isr_handler".
2019-04-16 19:49:06 +08:00
cdc22f273c feature(adc): add adc example 2019-04-15 12:01:11 +08:00
965fc47ff8 feat(log): add esp_log to internal wifi lib 2019-04-12 09:35:45 +08:00
c43e3c04db fix(esp8266): Fix wps leaks OSI 2019-04-04 16:43:42 +08:00
d5d34f31af feat(esp8266): add phy version log 2019-03-27 15:16:33 +08:00
c378e07232 feat(esp8266): Add option to init OS before starting it 2019-03-26 16:35:23 +08:00
be88feb395 feat(esp8266): Using global functions instead of function table
The Wi-Fi adapter APIs are only used by internal libraires.
2019-03-25 17:35:59 +08:00
050fb6a63f feat(esp8266): Add esp-idf error number description
Commit ID: f49e2afe
2019-03-22 17:41:48 +08:00
31efd6f764 feat(esp8266): Remove esp_socket to save flash and ram 2019-03-22 11:24:50 +08:00
eef781f9b9 fix(esp8266): Fix esp8266 load RTC segment when reset from deep sleep
Now only 1MB flash is mapped to SoC bus.
2019-03-15 14:08:26 +08:00
3c68b66934 Merge branch 'bugfix/fix_segment_count_in_startup' into 'master'
fix(esp8266): Fix to support multi segment

See merge request sdk/ESP8266_RTOS_SDK!838
2019-03-15 11:41:33 +08:00
d5b70c9bb8 fix(esp8266): Fix to support multi segment 2019-03-14 18:27:17 +08:00
656532e7b3 fix(esp8266): Fix ets_printf "%p" format output 2019-03-14 15:37:09 +08:00
7fbb68f4ea feat(esp8266): Add API to get microseconds 2019-03-12 09:39:07 +08:00
721a161bc1 feat(esp8266): Add option to configurate CPU frequncy to 160MHz before "app_main" 2019-03-05 11:50:33 +08:00
a822e6bcc9 feat(freertos): Remove unnecessary stack panic information
Using "0x......" instead of origin "......" to represent hexadecimal data of stack and idf_monitor will
show its corresponding function if the address is located at a function of the project.
2019-02-14 15:38:35 +08:00
82959d73fe feat(esp8266): Add get default mac 2019-01-29 09:15:55 +08:00
11db1b0daf feat(bootloader): Support v2 firmware updates to v3 by OTA 2019-01-16 14:20:58 +08:00
1caafb0b68 fix(esp8266): Fix hardware watch dog triggers after software restart 2019-01-07 17:20:51 +08:00
09fe8f7085 fix(log): Fix log time mismatch
When system startup, using 2*crystal as clock source.
2018-12-28 14:44:12 +08:00
048c58571d Merge branch 'feature/add_reset_reason' into 'master'
Add reset reason function

See merge request sdk/ESP8266_RTOS_SDK!651
2018-12-19 16:35:14 +08:00
0f728b64de feat(esp8266): Add reset reason function
The function can be disable.
2018-12-19 15:11:29 +08:00
e3dde84949 feat(esp8266): Add config to choose console UART none 2018-12-18 20:15:13 +08:00
48061e78a4 feat(esp8266): ets_putc support CR/LR/CRLR selection
ets_printf/ESP_EARLY_LOGX can use this function also.
2018-11-27 13:55:32 +08:00
1f56d9a6aa feat(esp8266): Add new "ets_vprintf" to save stack
It is better for interrupt and NMI functions to output information.
2018-11-22 17:11:14 +08:00
d5b14d7427 feat(bootloader): Initialize SPI flash clock and I/O mode at bootloader 2018-11-09 16:52:59 +08:00
f1811b353b feature/config_event_loop_stack_size: Add config option for event loop stack
Adding configuration option for the event loop stack in ESP8266.
2018-10-24 15:03:15 +05:30
5e1b8a0b10 feat(ota): Add command to generate OTA bin and add ota example for 1MB flash
"$(PROJECT_NAME).app1.bin", "$(PROJECT_NAME).app2.bin" and "$(PROJECT_NAME).ota.bin" at "build" directory.

Only upload "$(PROJECT_NAME).ota.bin" to the server.

Select the target flash and input "make ota flash" or "make ota flash monitor".

Update the OTA README.md for 1 MB flash.
2018-10-18 19:40:22 +08:00