Dong Heng
ea577c8ae0
fix(nvs_flash): don’t expect items with bad CRC to be in cache
...
When erasing a variable length item with an incorrect CRC32, the span
value of the item can not be trusted, so the item will be erased with
span = 1. Subsequent entries represent the data of the variable
length item, and these will be treated as separate items. For each
entry CRC32 is checked, the check most likely fails (because the
entry contains arbitrary data, and not a proper NVS item), and the
entry is erased. Erase function assumed that every item should be
present in cache, but it is not the case for the entries which are
just parts of item’s payload. This change allows for the item to be
not found in the hashlist, if the CRC32 check fails.
esp-idf commit ID: 2c3644a0
2019-01-23 19:21:42 +08:00
Dong Heng
1abde6ed58
fis(nvs_flash): Fix recovery after power-off during erase operation
...
Current code for recovery after power-off do not clean-up partially
erased items for FULL pages. If the erasure was part of modification
operation, this gets luckily cleaned-up because of duplicate detection
logic. For erase-only operation, the problem still exists. This patch
adds the recovery for FULL pages also.
esp-idf commit ID: 9a3c4b71
2019-01-23 19:21:34 +08:00
Dong Heng
758668a392
fix(nv_flash): Fix page selection algo to consider free entry counts as well
...
Current page selection algorithm selects a page for compaction based on just erased counts
and gives up when it does not find any page with erased count greater than 0. This is
problematic since the current allocation procedure skips the active page if there is not
enough room for the item in that page leaving free chunks on the pages. This change modifies
the algorithm to consider both erased as well as free counts on the candidate pages.
esp-idf commit ID: 7e79471e
2019-01-23 19:21:22 +08:00
Dong Heng
af07287227
Merge branch 'bugfix/fix_cannot_connect_with_some_special_AP_with_11b_only_mode_v3.0' into 'release/v3.0'
...
fix(lib): fix can not connect with some special AP with 11b only mode
See merge request sdk/ESP8266_RTOS_SDK!720
2019-01-16 10:26:22 +08:00
Dong Heng
68a1cd9f98
fix(lib): fix can not connect with some special AP with 11b only mode
2019-01-16 10:19:48 +08:00
Wu Jian Gang
f561b36ac6
Merge branch 'feature/add_phy_reg_default' into 'release/v3.0'
...
feat: Add phy reg default when boot
See merge request sdk/ESP8266_RTOS_SDK!690
v3.0.1
2018-12-29 14:36:30 +08:00
Wu Jian Gang
09a5a0f2d7
feat: Add phy reg default when boot
2018-12-29 14:28:59 +08:00
Dong Heng
597bc9703e
Merge branch 'feature/use_fake_buf_to_disable_rx_ampdu_pkt_v3.0' into 'release/v3.0'
...
feat(lib): use fake buffer to disable rx ampdu packet
See merge request sdk/ESP8266_RTOS_SDK!662
2018-12-18 19:40:09 +08:00
Zhang Jun Hao
2c5e8c2b08
feat(lib): use fake buffer to disable rx ampdu packet
2018-12-18 16:24:05 +08:00
Dong Heng
d2d1fcef1d
Merge branch 'bugfix/fix_v3.0_ci_compiling_error' into 'release/v3.0'
...
Fix CI compiling error
See merge request sdk/ESP8266_RTOS_SDK!656
2018-12-12 15:54:04 +08:00
Dong Heng
1b2bd8c331
fix(ci): Fix CI compiling error
2018-12-12 15:38:16 +08:00
Dong Heng
ebabc44b58
Merge branch 'bugfix/fix_CCMP_encryption_incompatible_with_some_AP_v3.0' into 'release/v3.0'
...
fix(lib): fix CCMP encryption incompatible with some AP
See merge request sdk/ESP8266_RTOS_SDK!644
2018-12-05 10:16:00 +08:00
Zhang Jun Hao
cbffd2273d
fix(lib): fix CCMP encryption incompatible with some AP
2018-12-04 20:14:11 +08:00
Dong Heng
6a15838d79
Merge branch 'feature/update_smartconfig_to_v2.8.0_IDF_v3.0' into 'release/v3.0'
...
feat(lib): update smartconfig to V2.8.0
See merge request sdk/ESP8266_RTOS_SDK!613
2018-11-09 14:17:38 +08:00
Zhang Jun Hao
6724994bc1
feat(lib): update smartconfig to V2.8.0
2018-11-07 15:53:09 +08:00
Dong Heng
12595ea303
Merge branch 'bugfix/fix_esp_start_return_v3.0' into 'release/v3.0'
...
Fix esp_restart and it must not return
See merge request sdk/ESP8266_RTOS_SDK!605
2018-11-05 20:51:03 +08:00
Dong Heng
4dad268895
fix(esp8266): Fix esp_restart and it must not return
2018-11-05 20:38:02 +08:00
Dong Heng
f81c89a04d
Merge branch 'bugfix/fix_disable_udp_compiling_error_v3.0' into 'release/v3.0'
...
Fix compiling error when disable UDP sync
See merge request sdk/ESP8266_RTOS_SDK!500
2018-09-20 17:22:38 +08:00
Dong Heng
bf87f32502
fix(lwip): Fix compiling error when disable UDP sync
2018-09-18 16:02:49 +08:00
Dong Heng
39e5551cbd
Merge branch 'feature/add_configurate_console_uart_swap_io_v3.0' into 'release/v3.0'
...
Add configuration for UART swap I/O pins
See merge request sdk/ESP8266_RTOS_SDK!464
v3.0
2018-09-07 14:10:09 +08:00
Dong Heng
5557ecf8ee
Merge branch 'feature/add_configurate_console_uart_baudrate_v3.0' into 'release/v3.0'
...
Add configuration for UART baudrate
See merge request sdk/ESP8266_RTOS_SDK!463
2018-09-07 14:09:54 +08:00
Dong Heng
f2025abb7b
feat(esp8266): Add configuration for UART swap I/O pins
2018-09-07 14:02:20 +08:00
Dong Heng
ea049753cd
feat(esp8266): Add configuration for UART baudrate
2018-09-07 13:38:35 +08:00
Dong Heng
7679495cca
Merge branch 'feature/add_configurate_console_uart_v3.0' into 'release/v3.0'
...
Add configration for output console UART
See merge request sdk/ESP8266_RTOS_SDK!462
2018-09-07 13:31:38 +08:00
Dong Heng
e4808fe0f4
feat(bootloader): Add configration for output console UART
2018-09-07 13:28:46 +08:00
Dong Heng
44a2b2da63
Merge branch 'docs/remove_v2.0_from_readme_v3.0' into 'release/v3.0'
...
Remove description of v2.0.0
See merge request sdk/ESP8266_RTOS_SDK!461
2018-09-07 13:27:45 +08:00
Dong Heng
0bb3bd8cdb
docs(readme): Remove description of v2.0.0
2018-09-07 11:26:46 +08:00
Dong Heng
318571d0f8
Merge branch 'bugfix/disable_conn_ap_task_v3.0' into 'release/v3.0'
...
Disable "con_ap" task
See merge request sdk/ESP8266_RTOS_SDK!459
2018-09-06 10:37:09 +08:00
Dong Heng
9f5da35f55
fix(esp8266): Disable "con_ap" task
2018-09-06 10:25:35 +08:00
Dong Heng
a6db5e18ba
Merge branch 'buffix/fix_wap_free_data_error_v3.0' into 'release/v3.0'
...
Fix WPA free data error
See merge request sdk/ESP8266_RTOS_SDK!457
2018-09-06 09:59:47 +08:00
Dong Heng
1c1ab286e4
Merge branch 'fix/fix_panic_reent_v3.0' into 'release/v3.0'
...
Fix panic reenter
See merge request sdk/ESP8266_RTOS_SDK!456
2018-09-06 09:59:28 +08:00
Dong Heng
06484b72f1
fix(esp8266): Fix WPA free data error
2018-09-05 20:08:57 +08:00
Dong Heng
a5786eb448
fix(freertos): Fix panic reenter
2018-09-05 19:48:01 +08:00
Dong Heng
b461d81844
Merge branch 'feature/add_udp_sync_proc_triggle_v3.0' into 'release/v3.0'
...
Add UDP sync process trigger
See merge request sdk/ESP8266_RTOS_SDK!445
2018-08-29 17:41:28 +08:00
Dong Heng
266545e787
feat(lwip): Add UDP sync process trigger
2018-08-29 17:06:56 +08:00
Dong Heng
38b7f8356a
Merge branch 'bugfix/fix_udp_sync_error_v3.0' into 'release/v3.0'
...
Fix UDP sync send error
See merge request sdk/ESP8266_RTOS_SDK!444
2018-08-28 15:51:58 +08:00
Dong Heng
c5d20f94f3
fix(lwip): Fix UDP sync send error
2018-08-28 15:49:41 +08:00
Dong Heng
4edc6f083b
Merge branch 'bugfix/fix_save_ap_param_error_v3.0' into 'release/v3.0'
...
fix(lib): fix save ap param error
See merge request sdk/ESP8266_RTOS_SDK!437
2018-08-28 15:36:24 +08:00
Zhang Jun Hao
b2bd2b4c36
fix(lib): fix save ap param error
2018-08-28 13:32:05 +08:00
Wu Jian Gang
3e5f22f247
Merge branch 'feature/update_libphy_v3.0' into 'release/v3.0'
...
feat(lib): update libphy to 1055_8
See merge request sdk/ESP8266_RTOS_SDK!414
2018-08-24 12:06:24 +08:00
Dong Heng
d2565735cc
feat(lib): update libphy to 1055_8
2018-08-24 12:04:47 +08:00
Wu Jian Gang
971d91deb1
Merge branch 'bugfix/ota_bcn_timeout_v3.0' into 'release/v3.0'
...
fix: ota beacon timeout
See merge request sdk/ESP8266_RTOS_SDK!415
2018-08-24 11:58:40 +08:00
Wu Jian Gang
9eb4f5de54
Merge branch 'feature/remove_unused_library_v3.0' into 'release/v3.0'
...
Remove unused or unsupported library
See merge request sdk/ESP8266_RTOS_SDK!427
2018-08-24 11:58:27 +08:00
Dong Heng
96db9faac0
feat(esp8266): Remove unused or unsupported library
2018-08-24 11:41:52 +08:00
Chen Wu
1ed4429455
fix: ota beacon timeout
2018-08-21 17:35:44 +08:00
Wu Jian Gang
11ea677c28
Merge branch 'bugfix/app_update_compile_warning_for_rtos3.0' into 'release/v3.0'
...
fix: app update compile warning
See merge request sdk/ESP8266_RTOS_SDK!400
2018-08-21 11:13:31 +08:00
Wu Jian Gang
84338e3dcd
Merge branch 'feature/put_pmk_calculation_other_task_v3.0' into 'release/v3.0'
...
feat(esp8266): Put PMK calculation other task
See merge request sdk/ESP8266_RTOS_SDK!403
2018-08-17 12:18:49 +08:00
Wu Jian Gang
cff2033736
Merge branch 'bugfix/fix_gpio_isr_v3.0' into 'release/v3.0'
...
bugfix(gpio): Repair GPIO interrupt function(backport v3.0)
See merge request sdk/ESP8266_RTOS_SDK!397
2018-08-17 09:52:52 +08:00
Chen Wu
a462d319b9
fix: app update compile warning
2018-08-16 19:54:10 +08:00
Wu Jian Gang
15bbe602e0
Merge branch 'feature/speed_up_smartconfig_v3.0' into 'release/v3.0'
...
feat(smartconfig): change sync pattern match num from 2 to 1
See merge request sdk/ESP8266_RTOS_SDK!398
2018-08-16 17:36:12 +08:00