Commit Graph

1466 Commits

Author SHA1 Message Date
Dong Heng
2da262c512 Merge branch 'feature/protobuf' into 'master'
feature/protobuf-c: Added the protobuf-C component from esp-idf

See merge request sdk/ESP8266_RTOS_SDK!762
2019-02-12 17:23:47 +08:00
Dong Heng
5e98e3f211 Merge branch 'docs/fix_docs_format_error' into 'master'
Fix document format and information error

See merge request sdk/ESP8266_RTOS_SDK!764
2019-02-01 10:46:37 +08:00
Dong Heng
aaad632be7 dos(api-guides): Fix document format and information error 2019-02-01 10:36:56 +08:00
Dong Heng
34230f45d4 Merge branch 'docs/add_requirements_text' into 'master'
Add requirements modules for python

See merge request sdk/ESP8266_RTOS_SDK!760
2019-01-31 11:52:19 +08:00
Dong Heng
58cd0358e5 docs(requirements): Add requirements modules for python 2019-01-31 11:46:40 +08:00
Dong Heng
13cf864e93 Merge branch 'bugfix/fix_compile_script_global_varible_error' into 'master'
Fix compile script global varible error

See merge request sdk/ESP8266_RTOS_SDK!758
2019-01-30 17:30:54 +08:00
Dong Heng
da0adef9c6 fix(esp8266): Fix compile script global varible error 2019-01-30 17:21:31 +08:00
Dong Heng
d282cdd0d9 Merge branch 'docs/add_general_notes' into 'master'
Add general notes to main page of document

See merge request sdk/ESP8266_RTOS_SDK!756
2019-01-30 16:40:17 +08:00
Dong Heng
cdf31c2a16 docs(general_notes): Add general notes to main page of document 2019-01-30 16:36:29 +08:00
Dong Heng
cb864d70cd Merge branch 'example/https_request' into 'master'
Support using wolfSSL library

See merge request sdk/ESP8266_RTOS_SDK!731
2019-01-30 11:31:57 +08:00
Dong Heng
fb77808cc0 Merge branch 'docs/add_sniffer_use_limit' into 'master'
Add sniffer or promiscuous mode use limit

See merge request sdk/ESP8266_RTOS_SDK!753
2019-01-30 11:26:26 +08:00
Dong Heng
85842af135 docs(wifi): Add sniffer or promiscuous mode use limit 2019-01-30 11:19:05 +08:00
Dong Heng
e8b19d15a2 Merge branch 'feature/esp_tls_wolfssl' into 'master'
Add wolfSSL library in esp_tls component

See merge request sdk/ESP8266_RTOS_SDK!726
2019-01-30 10:36:25 +08:00
Dong Heng
ea9c911e69 Merge branch 'feature/aws_iot_esp_tls' into 'master'
Modify network wrapper from mbedtls to esp_tls

See merge request sdk/ESP8266_RTOS_SDK!724
2019-01-30 10:34:12 +08:00
Dong Heng
310fc6aa84 Merge branch 'docs/add_new_docs_to_script' into 'master'
Add new docs to script

See merge request sdk/ESP8266_RTOS_SDK!747
2019-01-30 10:07:42 +08:00
Liu Han
7cb954abc8 feat: Add wolfSSL library in esp_tls component 2019-01-30 09:14:17 +08:00
Dong Heng
716a3aebeb docs(script): Add new docs to script 2019-01-29 20:22:28 +08:00
Dong Heng
4247f17c7f Merge branch 'docs/FOTA_from_old_to_new_sdk' into 'master'
FOTA from an Old SDK to the New ESP8266 RTOS SDK (IDF Style)

See merge request sdk/ESP8266_RTOS_SDK!746
2019-01-29 20:04:55 +08:00
Dong Heng
2f43737d1a docs(ota): FOTA from an Old SDK to the New ESP8266 RTOS SDK (IDF Style) 2019-01-29 19:51:59 +08:00
Dong Heng
3af76b4556 Merge branch 'feature/remove_raw_ota_exmaple' into 'master'
Update verify and document for OTA of ESP8285(ESP8266 + 1MB flash)

See merge request sdk/ESP8266_RTOS_SDK!733
2019-01-29 19:36:15 +08:00
Dong Heng
4a4ce2a661 Merge branch 'feature/add_get_default_mac' into 'master'
Add get default mac

See merge request sdk/ESP8266_RTOS_SDK!741
2019-01-29 19:25:46 +08:00
Wang Jia Lin
9a39d7c991 Merge branch 'bugfix/fix_spi_example_readme' into 'master'
bugfix(spi): fix readme wave image error

See merge request sdk/ESP8266_RTOS_SDK!739
2019-01-29 17:38:23 +08:00
Dong Heng
d36793c00f docs(ota): Add important description for OTA of ESP8285 or ESP8266 + 1MB flash 2019-01-29 09:45:23 +08:00
Dong Heng
82959d73fe feat(esp8266): Add get default mac 2019-01-29 09:15:55 +08:00
Dong Heng
27f0621af4 Merge branch 'feature/update_wolfssl_license_and_note' into 'master'
Add license note to README and header file

See merge request sdk/ESP8266_RTOS_SDK!723
2019-01-28 15:44:39 +08:00
XiongYu
c3774b46af bugfix(spi): fix readme wave image error
Fixes https://github.com/espressif/ESP8266_RTOS_SDK/issues/462
2019-01-28 15:28:03 +08:00
Dong Heng
2e9cb80033 feat(ota): Add OTA binary link address verify of ESP8285 or ESP8266 + 1MB flash 2019-01-25 14:41:08 +08:00
Dong Heng
df4c82f394 feat(ota): Rename example "universal_ota" to "ota"
The "universal_ota" is able to be compatible with ESP8285(ESP8266 + 1MB flash).
2019-01-25 14:07:51 +08:00
Dong Heng
5fa9b4e9eb feat(ota): Remove raw OTA example 2019-01-25 14:07:51 +08:00
Dong Heng
6d250d8eaa Merge branch 'bugfix/fix_ota_old_sdk_flash_size_error' into 'master'
Fix the OTA from old to V3 read flash size error

See merge request sdk/ESP8266_RTOS_SDK!732
2019-01-25 14:01:02 +08:00
Dong Heng
de3a9a3618 fix(ota): Fix the OTA from old to V3 read flash size error 2019-01-25 13:56:46 +08:00
Dong Heng
25d936b8cf Merge branch 'bugfix/fix_ota_copy_buf_not_align_at_release_mode' into 'master'
Fix OTA copy buffer is not align

See merge request sdk/ESP8266_RTOS_SDK!735
2019-01-25 11:52:10 +08:00
Dong Heng
d200ef1770 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:45:24 +08:00
Dong Heng
fc4e94d42d Merge branch 'feature/boot_copy_app_use_without_depend' into 'master'
Boot copy OTA is not depend on others

See merge request sdk/ESP8266_RTOS_SDK!734
2019-01-24 19:41:02 +08:00
Dong Heng
04c731c802 feat(bootloader): Boot copy OTA is not depend on others 2019-01-24 19:35:03 +08:00
Dong Heng
e634398421 Merge branch 'feature/modify_universal_ota_partition_file' into 'master'
Modify universal ota example partition file configuration

See merge request sdk/ESP8266_RTOS_SDK!727
2019-01-23 19:32:34 +08:00
Dong Heng
c77d59bf01 feat(universal_ota): Modify partition file configuration 2019-01-23 19:12:58 +08:00
Liu Han
e1aaf4f30d feat: Support using wolfSSL library 2019-01-23 16:44:29 +08:00
Dong Heng
7d01ea2dab Merge branch 'bugfix/sync_bugfix_from_esp_idf' into 'master'
Sync bugfix from esp-idf

See merge request sdk/ESP8266_RTOS_SDK!725
2019-01-22 11:59:48 +08:00
Dong Heng
b83c3a0c4d 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-22 11:55:20 +08:00
Dong Heng
e5c9b74005 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-22 11:55:20 +08:00
Dong Heng
ab9b141953 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-22 11:55:20 +08:00
Dong Heng
1837a115bb 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-22 11:21:58 +08:00
Liu Han
7929f7bf32 feat: Modify network wrapper from mbedtls to esp_tls 2019-01-22 10:48:43 +08:00
Dong Heng
ab8fb60bd5 docs(ssl): Add license note to README and header file 2019-01-22 09:47:46 +08:00
Wu Jian Gang
f5116eccda Merge branch 'feature/add_user_data_to_bin_header' into 'master'
feat: add user data to bin header

See merge request sdk/ESP8266_RTOS_SDK!698
v3.2-dev
2019-01-21 16:27:34 +08:00
Dong Heng
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
Dong Heng
11db1b0daf feat(bootloader): Support v2 firmware updates to v3 by OTA 2019-01-16 14:20:58 +08:00
Dong Heng
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
Wang Jia Lin
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