918 Commits

Author SHA1 Message Date
a1403ed21d 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 11:33:02 +08:00
0969475c03 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-07 10:48:13 +08:00
8829e83be7 Merge branch 'bugfix/fix_sta_get_ap_info_crash_when_connect_to_ap_fail_v3.1' into 'release/v3.1'
fix(lib): fix station get ap info crash when connect to AP failed

See merge request sdk/ESP8266_RTOS_SDK!1093
2019-10-25 10:46:48 +08:00
c19652852d feat(phy): update phy library
Fix clock error when init_data[112] = 1.
2019-10-23 10:41:01 +08:00
15aff6d092 Merge branch 'bugfix/fix_timer_call_delete_when_proc_v3.1' into 'release/v3.1'
esp_timer: fix delete timer and timer processs later (backport v3.1)

See merge request sdk/ESP8266_RTOS_SDK!1098
2019-09-17 10:36:28 +08:00
c5df58bbc4 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:26:15 +08:00
ae177a8aea fix(lib): fix station get ap info crash when connect to AP failed 2019-09-16 11:07:18 +08:00
52b6d0b10c fix(phy): fix RF frequency shift at some case 2019-09-11 12:12:43 +08:00
11ca1bbe55 fix(lwip): Fix UDP sync register messsage error
Raw socket will not register message.
2019-05-10 13:32:16 +08:00
007bd4e87c fix(lib): fix pwm cannot reenter nmi 2019-04-26 20:13:32 +08:00
ceef261060 fix(lib): fix crash when tx state error 2019-04-22 16:33:38 +08:00
d7da7bd926 Merge branch 'feature/load_old_phy_parameter' into 'release/v3.1'
Add feature to copy old RF parameters to new SDK partition

See merge request sdk/ESP8266_RTOS_SDK!874
2019-04-18 09:47:03 +08:00
8b8d7abe47 fix(lib): fix pwm error in sniffer mode 2019-04-09 17:24:01 +08:00
cea2e845b8 fix(lib): fix tx error when rts cts tx start tx complete came in same time 2019-04-09 15:41:41 +08:00
fee0ee01ad fix(pp): fix pwm error 2019-04-09 14:19:45 +08:00
1f6c258127 feat(esp8266): Add feature to copy old RF parameters to new SDK partition
The old SDK's RF parameters is also kept.
2019-04-04 13:52:15 +08:00
3f16f71945 fix(esp8266): Fix OTA firmware depend error 2019-03-21 09:34:33 +08:00
da92d858f8 bugfix(fix): Fix combine binary overwrite checking 2019-03-06 12:08:43 +08:00
8f469b2864 Merge branch 'bugfix/clear_nmi_first_v3.1' into 'release/v3.1'
fix(pp): clear nmi first in case two nmi came in same time

See merge request sdk/ESP8266_RTOS_SDK!821
2019-03-06 11:56:37 +08:00
a6864a6ccc fix(pp): clear nmi first in case two nmi came in same time 2019-03-06 11:51:57 +08:00
3e7e30c889 feat(partition_table): Compiling script gets partition information from partition binary 2019-03-06 11:49:25 +08:00
b5a31c4459 feat(esp8266): Heap only close Wi-Fi ISR at sniffer mode 2019-03-06 11:36:11 +08:00
b4b8295c22 Merge branch 'feature/link_idle_task_to_iram' into 'release/v3.1'
Link FreeRTOS idle task and its hook function to IRAM

See merge request sdk/ESP8266_RTOS_SDK!816
2019-03-06 11:13:18 +08:00
58d998bdb0 feat(freertos): Using align data to avoid exception handle 2019-03-06 11:07:43 +08:00
ab3179efd7 feat(freertos): Link FreeRTOS idle task and its hook function to IRAM 2019-03-06 10:42:08 +08:00
1c975959fb feat(heap): Link heap to IRAM 2019-03-06 10:27:07 +08:00
d67265f034 feat(freertos): Link SoftIsrHdl and its sub functions to IRAM 2019-03-06 10:24:03 +08:00
553936f92f feat(freertos): Add option to FreeRTOS sleep module 2019-02-28 15:49:26 +08:00
8545771afd fix(lib): fix tx conflict of tx start and tx end come in same time 2019-02-19 19:22:32 +08:00
e3fcbc2d14 fix(lib): fix set phy mode error 2019-02-19 18:57:39 +08:00
5ec5f5321f fix(esp8266): Fix compile script global varible error 2019-01-30 17:23:21 +08:00
d00fb295c0 Merge branch 'feature/esp_tls_wolfssl_v3.1' into 'release/v3.1'
Add wolfSSL library in esp_tls component (backport v3.1)

See merge request sdk/ESP8266_RTOS_SDK!751
2019-01-30 10:45:08 +08:00
9cf24e183a feat: Add wolfSSL library in esp_tls component 2019-01-30 10:37:11 +08:00
7627d3663b feat: Modify network wrapper from mbedtls to esp_tls 2019-01-30 10:34:50 +08:00
3b15cea6fe feat(ota): Add OTA binary link address verify of ESP8285 or ESP8266 + 1MB flash 2019-01-29 19:38:52 +08:00
3b2b6fab53 feat(esp8266): Add get default mac 2019-01-29 19:29:06 +08:00
ccd05ebfa2 docs(ssl): Add license note to README and header file 2019-01-28 15:50:19 +08:00
413ea63ed1 fix(ota): Fix the OTA from old to V3 read flash size error 2019-01-25 14:01:46 +08:00
7aebcee21c fix(ota): Fix OTA copy buffer is not align
Using globle macro "ROM_FLASH_BUF_DECLARE" to declare a block of buffer not "uint8_t".
2019-01-25 11:59:23 +08:00
7a6441ab7c feat(bootloader): Boot copy OTA is not depend on others 2019-01-25 11:53:19 +08:00
dbd8e712e8 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:16:53 +08:00
37452cd577 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:16:45 +08:00
174ada55a2 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:16:36 +08:00
46118bdf2f 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:16:23 +08:00
11db1b0daf feat(bootloader): Support v2 firmware updates to v3 by OTA 2019-01-16 14:20:58 +08:00
d4f2388a18 refactor(hspi): Refactor hspi driver for esp8266 idf 2019-01-16 11:22:57 +08:00
ce8fb1e67f Merge branch 'feature/refactor_i2s_driver' into 'master'
refactor(i2s): Refactor i2s driver for esp8266 idf

See merge request sdk/ESP8266_RTOS_SDK!712
2019-01-16 11:09:32 +08:00
ed02e834ac Merge branch 'feature/add_adc_interface' into 'master'
feature(adc): add adc interface

See merge request sdk/ESP8266_RTOS_SDK!681
2019-01-16 11:08:48 +08:00
33eadb3ff0 fix(lib): fix memlead when scan found mesh ie 2019-01-15 18:01:15 +08:00
bc0700a48b refactor(adc): Refactor adc driver for esp8266 idf 2019-01-15 15:34:09 +08:00