1447 Commits

Author SHA1 Message Date
9cf24e183a feat: Add wolfSSL library in esp_tls component 2019-01-30 10:37:11 +08:00
f184c8b157 Merge branch 'docs/add_new_docs_to_script_v3.1' into 'release/v3.1'
Add new docs to script (backport v3.1)

See merge request sdk/ESP8266_RTOS_SDK!749
2019-01-30 10:17:02 +08:00
39b1476f07 docs(script): Add new docs to script 2019-01-30 10:08:50 +08:00
26127f2c23 Merge branch 'docs/FOTA_from_old_to_new_sdk_v3.1' into 'release/v3.1'
FOTA from an Old SDK to the New ESP8266 RTOS SDK (IDF Style) (backport v3.1)

See merge request sdk/ESP8266_RTOS_SDK!748
2019-01-29 20:29:38 +08:00
e9ba030bec docs(ota): FOTA from an Old SDK to the New ESP8266 RTOS SDK (IDF Style) 2019-01-29 20:24:36 +08:00
166d91f4ad Merge branch 'feature/remove_raw_ota_exmaple_v3.1' into 'release/v3.1'
Update verify and document for OTA of ESP8285(ESP8266 + 1MB flash) (bakcport v3.1)

See merge request sdk/ESP8266_RTOS_SDK!745
2019-01-29 19:42:48 +08:00
83ef30065a docs(ota): Add important description for OTA of ESP8285 or ESP8266 + 1MB flash 2019-01-29 19:38:52 +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
aa521f3754 feat(ota): Rename example "universal_ota" to "ota"
The "universal_ota" is able to be compatible with ESP8285(ESP8266 + 1MB flash).
2019-01-29 19:38:52 +08:00
d57aeb536f feat(ota): Remove raw OTA example 2019-01-29 19:38:52 +08:00
d91133350e Merge branch 'feature/add_get_default_mac_v3.1' into 'release/v3.1'
Add get default mac (backport v3.1)

See merge request sdk/ESP8266_RTOS_SDK!744
2019-01-29 19:33:14 +08:00
3b2b6fab53 feat(esp8266): Add get default mac 2019-01-29 19:29:06 +08:00
ab507a34c5 Merge branch 'bugfix/fix_spi_example_readme_v3.1' into 'release/v3.1'
bugfix(spi): fix readme wave image error (backport v3.1)

See merge request sdk/ESP8266_RTOS_SDK!742
2019-01-29 17:58:56 +08:00
5f72d4ed23 bugfix(spi): fix readme wave image error
Fixes https://github.com/espressif/ESP8266_RTOS_SDK/issues/462
2019-01-29 17:50:49 +08:00
1f691c4960 Merge branch 'feature/update_wolfssl_license_and_note_v3.1' into 'release/v3.1'
Add license note to README and header file (backport v3.1)

See merge request sdk/ESP8266_RTOS_SDK!740
2019-01-28 19:33:52 +08:00
ccd05ebfa2 docs(ssl): Add license note to README and header file 2019-01-28 15:50:19 +08:00
1d99429b6d Merge branch 'bugfix/fix_ota_old_sdk_flash_size_error_v3.1' into 'release/v3.1'
Fix the OTA from old to V3 read flash size error

See merge request sdk/ESP8266_RTOS_SDK!738
2019-01-25 14:06:21 +08:00
413ea63ed1 fix(ota): Fix the OTA from old to V3 read flash size error 2019-01-25 14:01:46 +08:00
c349c077a1 Merge branch 'bugfix/fix_ota_copy_buf_not_align_at_release_mode_v3.1' into 'release/v3.1'
Fix OTA copy buffer is not align

See merge request sdk/ESP8266_RTOS_SDK!737
2019-01-25 12:03:51 +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
4c4fab3950 Merge branch 'feature/boot_copy_app_use_without_depend_v3.1' into 'release/v3.1'
Boot copy OTA is not depend on others

See merge request sdk/ESP8266_RTOS_SDK!736
2019-01-25 11:58:22 +08:00
7a6441ab7c feat(bootloader): Boot copy OTA is not depend on others 2019-01-25 11:53:19 +08:00
69ce5bf6fa Merge branch 'feature/modify_universal_ota_partition_file_v3.1' into 'release/v3.1'
feat(universal_ota): Modify partition file configuration

See merge request sdk/ESP8266_RTOS_SDK!730
2019-01-23 19:39:09 +08:00
3c650279f2 feat(universal_ota): Modify partition file configuration 2019-01-23 19:35:21 +08:00
ee80022843 Merge branch 'bugfix/sync_bugfix_from_esp_idf_v3.1' into 'release/v3.1'
Sync bugfix from esp-idf

See merge request sdk/ESP8266_RTOS_SDK!728
2019-01-23 19:22:50 +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
a2b75212a6 Merge branch 'feature/v2_bootloader_load_v3_firmware' into 'master'
Support V2 firmware update to V3 by OTA

See merge request sdk/ESP8266_RTOS_SDK!628
v3.1-rc1
2019-01-16 14:42:32 +08:00
11db1b0daf feat(bootloader): Support v2 firmware updates to v3 by OTA 2019-01-16 14:20:58 +08:00
ef79175caf Merge branch 'docs/pwm_and_sniffer_coexist' into 'master'
How to deal with PWM and sniffer co-exist

See merge request sdk/ESP8266_RTOS_SDK!717
2019-01-16 14:18:47 +08:00
bcc44452e1 Merge branch 'feature/refactor_hspi_driver' into 'master'
refactor(hspi): Refactor hspi driver for esp8266 idf

See merge request sdk/ESP8266_RTOS_SDK!649
2019-01-16 11:39:49 +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
b78277d6b8 Merge branch 'bugfix/fix_memleak_when_scan_found_mesh_ie' into 'master'
fix(lib): fix memlead when scan found mesh ie

See merge request sdk/ESP8266_RTOS_SDK!719
2019-01-15 18:06:28 +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
8465029b36 docs(driver): How to deal with PWM and sniffer co-exist 2019-01-14 22:01:29 +08:00
74b4a550de Merge branch 'feature/update_wolfssl_to_commercial_version_3.15.7' into 'master'
feat(wolfssl): update wolfssl to commercial version 3.15.7

See merge request sdk/ESP8266_RTOS_SDK!716
2019-01-14 20:31:38 +08:00
7a5bf3366f refactor(i2s): Refactor i2s driver for esp8266 idf 2019-01-14 18:23:33 +08:00
f56dfe2b14 feat(ssl): use mbedtls by default 2019-01-14 15:59:20 +08:00
38a29a64db feat(wolfssl): add wolfssl debug option 2019-01-14 14:56:25 +08:00
e7d73894f5 Merge branch 'bugfix/fix_pwm_wrong_comment' into 'master'
bugfix(pwm): fix_pwm_wrong_comment

See merge request sdk/ESP8266_RTOS_SDK!715
2019-01-14 14:28:07 +08:00
acd0f23d4d Merge branch 'bugfix/fix_mqtt_high_thoughtput_failed' into 'master'
fix: high thoughput(payload>10KB, continuous send) causes to send failed

See merge request sdk/ESP8266_RTOS_SDK!694
2019-01-14 11:29:11 +08:00
8567a9abfb Merge branch 'bugfix/mqtt_recv_feed_wdt' into 'master'
fix: mqtt recv cycle feed watchdog when cycle interval is 0

See merge request sdk/ESP8266_RTOS_SDK!705
2019-01-14 11:28:45 +08:00
3c3b15f8bc bugfix(pwm): fix_pwm_wrong_comment
Fixes https://github.com/espressif/ESP8266_RTOS_SDK/issues/439
2019-01-14 10:47:19 +08:00
8209aebd9f feat(wolfssl): add wolfssl library for debug 2019-01-13 10:22:57 +08:00
b68e47b746 feat(wolfssl): update wolfssl to commercial version 3.15.7 2019-01-12 22:23:02 +08:00