Commit Graph

554 Commits

Author SHA1 Message Date
Zhang Jun Hao
38c98d7ba3 fix(lib): fix memleak when station send illegal packet 2020-04-01 17:46:43 +08:00
espressif
dde4585b10 bugfix(gpio_set_pull_mode_error):fix cant set gpio pull mode 2020-01-10 15:48:54 +08:00
chenjianqiang
0c4efaf941 bugfix(flash): add support for GD25Q64 qio enable 2019-12-26 11:07:16 +08:00
Dong Heng
3646993310 fix(newlib): fix abort function cause critical error 2019-11-29 15:00:34 +08:00
Dong Heng
ebe250ba9e feat(phy): update phy library from 1057.9 to 1058.13
1. optimize RF PLL calibration
2. fix packet lose when signal is weak
3. fix bug of disconnection in some case
2019-11-20 13:57:24 +08:00
Dong Heng
9ed808f57e feat(phy): update library phy to 1057_9
1.fix Wi-Fi connection breaks when signal is weak

2.fix header file dependence problems
2019-11-18 14:09:44 +08:00
dongheng
e2c55343e1 feat(phy): update phy library
Fix clock error when init_data[112] = 1.
2019-10-23 10:36:51 +08:00
dongheng
7fd4418868 fix(phy): fix RF frequency shift at some case 2019-09-11 12:10:54 +08:00
Dong Heng
eaaf67aae4 feat(esp8266): Add get default mac 2019-01-29 19:26:32 +08:00
Dong Heng
1ba3202c18 fix(nvs_flash): Fix recovery from power-off while page is being freed
Currently when page is being freed, items are individually moved from
FREEING page to ACTIVE page and erased. If power-off happens during the
process, the remaining entries are moved to ACTIVE page during recovery.
The problem with this approach is there may not be enough space on
ACTIVE page for all items if an item was partially written before
power-off and erased during recovery. This change moves all the items
from FREEING to ACTIVE page and then erased the FREEING page, If
power-off happens during the process, then ACTIVE page is erased and the
process is restarted.

esp-idf commit ID: 7ae1df1c
2019-01-23 19:21:48 +08:00
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
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
09a5a0f2d7 feat: Add phy reg default when boot 2018-12-29 14:28:59 +08:00
Zhang Jun Hao
2c5e8c2b08 feat(lib): use fake buffer to disable rx ampdu packet 2018-12-18 16:24:05 +08:00
Zhang Jun Hao
cbffd2273d fix(lib): fix CCMP encryption incompatible with some AP 2018-12-04 20:14:11 +08:00
Zhang Jun Hao
6724994bc1 feat(lib): update smartconfig to V2.8.0 2018-11-07 15:53:09 +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
bf87f32502 fix(lwip): Fix compiling error when disable UDP sync 2018-09-18 16:02:49 +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
e4808fe0f4 feat(bootloader): Add configration for output console UART 2018-09-07 13:28:46 +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
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
266545e787 feat(lwip): Add UDP sync process trigger 2018-08-29 17:06:56 +08:00
Dong Heng
c5d20f94f3 fix(lwip): Fix UDP sync send error 2018-08-28 15:49:41 +08:00
Zhang Jun Hao
b2bd2b4c36 fix(lib): fix save ap param error 2018-08-28 13:32:05 +08:00
Dong Heng
d2565735cc feat(lib): update libphy to 1055_8 2018-08-24 12:04:47 +08:00
Dong Heng
96db9faac0 feat(esp8266): Remove unused or unsupported library 2018-08-24 11:41:52 +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
Zhang Jun Hao
2930f4ae37 feat(smartconfig): change sync pattern match num from 2 to 1 2018-08-16 15:04:24 +08:00
XiongYu
8c97d2956c bugfix(gpio): Repair GPIO interrupt function
Because the interrupt structure of esp8266 and esp32 is not the same, the following functions need to be deleted
* Delete the gpio_intr_enable() and gpio_intr_disable() functions

Related issues
* Fixes https://github.com/espressif/ESP8266_RTOS_SDK/issues/282
* Fixes https://github.com/espressif/ESP8266_RTOS_SDK/issues/284
2018-08-16 11:27:53 +08:00
Dong Heng
f95a918bb5 feat(esp8266): Put PMK calculation other task
Avoid watchdog to triggle.
2018-08-15 10:58:33 +08:00
Zhang Jun Hao
9f19a82873 feat(lib): remove wps library 2018-08-10 16:52:22 +08:00
Dong Heng
3d1844c088 Merge branch 'feature/make_time_interval_of_changing_sniffer_channel_to_205ms' into 'master'
feat(smartconfig): make time interval of changing sniffer channel to 205ms

See merge request sdk/ESP8266_RTOS_SDK!374
2018-08-10 16:47:57 +08:00
Dong Heng
6f6bfb0c79 Merge branch 'feature/modify_paritions_cvs_file' into 'master'
Modify factory/OTA APP partition size and remove coredump file

See merge request sdk/ESP8266_RTOS_SDK!386
2018-08-10 16:16:47 +08:00
Dong Heng
107c9a4dad feat(partition_table): Modify factory/OTA APP partition size and remove coredump file 2018-08-10 15:30:14 +08:00
xiewenxiang
97335027c7 refactor(driver): Refactor uart driver for esp8266 idf 2018-08-10 13:39:53 +08:00
chenwu
e736bcbacd fix: port to esp8266 platform 2018-08-10 11:31:14 +08:00
chenwu
256d238923 feat: copy app_update from idf(gitlab) release/v3.0 2018-08-10 11:31:14 +08:00
Wu Jian Gang
4e15ca451a Merge branch 'bugfix/fix_bss_clear' into 'master'
Fix cached data is cleared by function of "clean bss"

See merge request sdk/ESP8266_RTOS_SDK!378
2018-08-10 11:26:31 +08:00
Wu Jian Gang
b3adc8cdea Merge branch 'feature/support_ota_partition' into 'master'
feat: add partition for ota

See merge request sdk/ESP8266_RTOS_SDK!383
2018-08-10 11:25:59 +08:00
Wu Jian Gang
a696e22b36 Merge branch 'feature/calc_checksum_from_flash' into 'master'
feat: calc checksum from flash

See merge request sdk/ESP8266_RTOS_SDK!382
2018-08-10 11:25:44 +08:00
Wu Jian Gang
00e0ca0b9a Merge branch 'bugfix/flash_read_align' into 'master'
fix: read flash align

See merge request sdk/ESP8266_RTOS_SDK!369
2018-08-10 11:25:19 +08:00