Skip to content

Release/v3.3 (GIT8266O-490) #917

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 174 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
174 commits
Select commit Hold shift + click to select a range
058cf73
fix(lib): fix probe request length error
donghengqaz Dec 10, 2019
e456798
Merge branch 'bugfix/fix_probe_request_length_error_v3.3' into 'relea…
donghengqaz Dec 10, 2019
7a5685f
feat(esp-tls): modify esp-tls structure members' offset of platform d…
donghengqaz Dec 10, 2019
93284d1
Merge branch 'feature/modify_esp_tls_structure_v3.3' into 'release/v3.3'
donghengqaz Dec 13, 2019
16c2ded
chore(mqtt): modify default mqtt
donghengqaz Dec 11, 2019
949adbb
Merge branch 'chore/modify_default_mqtt' into 'release/v3.3'
donghengqaz Dec 13, 2019
46ba9ae
feat(lib): add more info when softap deny station
Dec 13, 2019
b29087f
feat(util): refactor SHA algorithm of util components
donghengqaz Dec 10, 2019
8146bfc
Merge branch 'feature/refactor_util_sha_algorithm_v3.3' into 'release…
donghengqaz Dec 17, 2019
1a51815
feat(esp8266): fix CPU light sleep process
donghengqaz Dec 16, 2019
d4b00d2
Merge branch 'bugfix/fix_cpu_sleep_reject_proc_v3.3' into 'release/v3.3'
donghengqaz Dec 17, 2019
fe502cc
Merge branch 'feature/add_more_info_when_softap_deny_station' into 'r…
donghengqaz Dec 17, 2019
ab0010d
fix(lib): fix issue when scanning wpa2_enterprise authmode routers
cwespressif Dec 19, 2019
8801ba1
feat(esp8266): set wifi default rx continuous buffer to 8
Dec 23, 2019
c398461
Merge branch 'feature/set_wifi_default_rx_continuous_buffer_to_8_v3.3…
donghengqaz Dec 23, 2019
d701e4f
Merge branch 'bugfix/fix_issue_when_scanning_wpa2_ent_routes_v3.3' in…
donghengqaz Dec 23, 2019
0f7eacd
fix(util): fix sha384/512 data calculation overflow
donghengqaz Dec 23, 2019
6222b1c
Merge branch 'bugfix/fix_sha_data_overflow_v3.3' into 'release/v3.3'
donghengqaz Dec 23, 2019
ffaaf07
feat(mbedtls): mbedtls using SHA/AES of util component instead of its…
donghengqaz Dec 24, 2019
b22182f
Merge branch 'feature/mbedtls_using_util_algorithm_v3.3' into 'releas…
donghengqaz Dec 26, 2019
5a0e946
bugfix(flash): add support for GD25Q64 qio enable
Dec 25, 2019
d3517e3
Merge branch 'bugfix/support_GD25Q64_qio_enable_v3.3' into 'release/v…
donghengqaz Dec 26, 2019
c13552e
doc: Limit sphinxcontrib versions to <2.0.0 as we use Sphinx 1.8.5
krzychb Dec 22, 2019
d18148e
Merge branch 'bugfix/doc_package_versions_v3.3' into 'release/v3.3'
donghengqaz Dec 26, 2019
14f85a6
fix(mbedtls): fix option dependence of "MBEDTLS_SERVER_SSL_SESSION_TI…
donghengqaz Dec 27, 2019
d1f1bec
fix(esp-wolfssl): fix esp-wolfssl cmake compiling error
donghengqaz Dec 26, 2019
0a187af
Merge branch 'bugfix/fix_espwolfssl_cmake_compiling_v3.3' into 'relea…
donghengqaz Dec 30, 2019
d1cfba3
Merge branch 'bugfix/fix_mbedtls_option_dependence_v3.3' into 'releas…
donghengqaz Dec 30, 2019
b19da4f
feat(util): support SHA224/SHA384 calculation although call sha256/sh…
donghengqaz Dec 30, 2019
1745ab7
Merge branch 'bugfix/fix_uitl_sha_for_mbedtls_error_v3.3' into 'relea…
donghengqaz Jan 6, 2020
49a065d
fix(esp8266): fix Wi-Fi initialization data error when compiling cpp
donghengqaz Jan 6, 2020
de9da02
Merge branch 'bugfix/fix_wifi_init_data_compiling_error_by_cpp_v3.3' …
donghengqaz Jan 7, 2020
c3019b8
fix(esp8266): fix light sleep time error when waking up
donghengqaz Jan 2, 2020
92a3f40
fix(esp8266): fix compile failed when CONFIG_ESP8266_WIFI_CONNECT_OPE…
Jan 6, 2020
dede691
Merge branch 'bugfix/fix_light_sleep_time_error_when_wakup_v3.3' into…
donghengqaz Jan 7, 2020
55c5e57
Merge branch 'bugfix/fix_compile_failed_when_CONFIG_ESP8266_WIFI_CONN…
donghengqaz Jan 7, 2020
1193d2e
fix(esp-mqtt): fix esp-mqtt API declare error
donghengqaz Jan 7, 2020
a2a06e6
Merge branch 'bugfix/fix_mqtt_api_declare_error_v3.3' into 'release/v…
donghengqaz Jan 7, 2020
81d3baa
feat(ipv6): Enable ipv6 autoconfig function in lwip port level
ESP-YJM Jan 7, 2020
a1e4aa2
feat(newlib): add "sys/un.h" header file
donghengqaz Jan 8, 2020
9a88d8a
Merge branch 'feature/add_header_file_un_h_v3.3' into 'release/v3.3'
donghengqaz Jan 8, 2020
d3cf562
feat(tcpip_adapter): add header file and wrapper APIs to make code co…
donghengqaz Jan 8, 2020
fc30fca
Merge branch 'feature/add_apis_to_compatible_with_esp_netif_v3.3' int…
donghengqaz Jan 8, 2020
1f2ae58
bugfix(uart_interrupt_occupy):disable intr that you are not using
Jan 9, 2020
34a1554
bugfix(gpio_set_pull_mode_error):fix cant set gpio pull mode
Jan 10, 2020
cd03c0c
bugfix/tls_handshake: Fixed an error check during TLS handshake.
supreetd21 Jan 9, 2020
fd785ab
Merge branch 'bugfix/tls_handshake_backport_v3.3' into 'release/v3.3'
donghengqaz Jan 14, 2020
c23b4f1
Merge branch 'feature/add_enable_ipv6_autoconfig' into 'release/v3.3'
donghengqaz Jan 15, 2020
ecdc4cd
Merge branch 'bugfix/gpio_set_pull_mode_error_v3.3' into 'release/v3.3'
donghengqaz Jan 15, 2020
6c806c4
fix(requirements): fix read the docs compiling requirements error
Feb 17, 2020
88a63af
Merge branch 'bugfix/fix_read_the_docs_requires_v3.3' into 'release/v…
donghengqaz Feb 19, 2020
465b6a5
fix(esp-tls): fix esp-tls compiling error
Feb 17, 2020
374c762
Merge branch 'bugfix/fix_esp_tls_server_compiling_error_v3.3' into 'r…
donghengqaz Feb 24, 2020
7493693
fix(example): fix HTTPS request SSL macro error
donghengqaz Feb 13, 2020
2f31ea9
Merge branch 'bugfix/fix_example_https_request_ssl_v3.3' into 'releas…
donghengqaz Feb 25, 2020
4dccfe0
Merge branch 'bugfix/uart_interrupt_occupy_v3.3' into 'release/v3.3'
donghengqaz Feb 25, 2020
c5b9083
fix(esp8266): fix deep sleep fail
Feb 25, 2020
63fc219
Merge branch 'bugfix/fix_deep_sleep_fail_v3.3' into 'release/v3.3'
donghengqaz Feb 25, 2020
d3b17b5
chore(ci): modify CI test SSC branch to be "release/v3.3_8266" for ba…
donghengqaz Feb 27, 2020
4578bc6
Merge branch 'feature/modify_ci_test_ssc_branch_for_backport' into 'r…
donghengqaz Feb 27, 2020
7bee7e6
fix(wifi): fix writting error
Mar 2, 2020
4c38ff3
Merge branch 'bugfix/fix_writting_error_v3_3' into 'release/v3.3'
donghengqaz Mar 2, 2020
bf8a980
fix(lib): fix sleep error when period cal called
donghengqaz Mar 16, 2020
ecb6914
Merge branch 'bugfix/fix_sleep_error_when_period_cal_called_v3.3' int…
donghengqaz Mar 16, 2020
407aea7
fix(lib): do not connect to ap when set country called
donghengqaz Mar 16, 2020
fa945b8
Merge branch 'bugfix/do_not_connect_to_ap_when_set_country_called_v3.…
donghengqaz Mar 16, 2020
51f851a
feat(tcpip_adapter): add AP assigned IP event data
donghengqaz Mar 16, 2020
29fda79
Merge branch 'feature/add_ap_sta_ip_assigned' into 'release/v3.3'
donghengqaz Mar 16, 2020
30c62c6
feat(phy): update phy library from 1155.0 to 1156.0
donghengqaz Mar 24, 2020
76af8bd
Merge branch 'feature/update_phy_library_v3.3' into 'release/v3.3'
donghengqaz Mar 24, 2020
417a607
feat(lwip): Add kconfig to congigure initial RTO time and set default…
ESP-YJM Mar 26, 2020
80fc6ea
Merge branch 'feature/make_tcp_rto_configurable' into 'release/v3.3'
donghengqaz Mar 27, 2020
bc6834b
feat(pm): refactor power management according to IDF
Mar 20, 2020
cfadb3b
feat(lib): update library
Mar 20, 2020
ecdaca7
Merge branch 'feature/refactor_set_channel_and_power_management_accor…
donghengqaz Mar 30, 2020
fbed87b
feat(tls): update esp-tls and tcp_transport from idf
ESP-YJM Mar 27, 2020
8925ac5
feat(tls): Modify tls component for building
ESP-YJM Mar 31, 2020
b5e916c
fix(lib): fix memleak when station send illegal packet
Apr 1, 2020
76398bc
Merge branch 'feature/update_tls_from_idf_v3.3' into 'release/v3.3'
donghengqaz Apr 1, 2020
2a2f71c
Merge branch 'bugfix/fix_memleak_when_sta_send_illegal_pkt_v3.3' into…
donghengqaz Apr 1, 2020
6d1b499
fix(wpa2_ent): fix the issue of disable wpa2_enter
cwespressif Apr 8, 2020
2dbcafa
Merge branch 'bugfix/fix_the_issue_of_disable_wpa2_ent' into 'release…
donghengqaz Apr 8, 2020
6dc2eee
feat(lib): refactor deep sleep according to ESP32
Apr 9, 2020
29169de
Merge branch 'feature/refactor_deep_sleep_according_to_ESP32_v3.3' in…
donghengqaz Apr 9, 2020
d2e2081
feat(wpa2_ent): add wifi_unregister_wpa2_cb
cwespressif Apr 14, 2020
faae0a9
Merge branch 'feature/add_wifi_unregister_wpa2_cb' into 'release/v3.3'
donghengqaz Apr 14, 2020
86917bc
feat(lwip): add shutdown to socket_mt
donghengqaz Apr 20, 2020
cb21ade
fix(lwip): fix IGMP join wrong address
donghengqaz Apr 20, 2020
34c2d46
fix(lib): fix return code error when set wrong authmode in softap config
Apr 20, 2020
81db173
Merge branch 'bugfix/fix_return_code_error_when_set_wrong_authmode_in…
donghengqaz Apr 21, 2020
7d06860
Merge branch 'bugfix/fix_ipv6_igmp_error' into 'release/v3.3'
donghengqaz Apr 21, 2020
6799c82
Merge branch 'feature/add_shutdown_to_socket_mt' into 'release/v3.3'
donghengqaz Apr 21, 2020
8671077
fix(lwip): fix DHCP rebind timeout has no process
donghengqaz Apr 21, 2020
a46b819
Merge branch 'bugfix/fix_dhcp_rebind_error_proc_lost' into 'release/v…
donghengqaz Apr 21, 2020
f58fcf6
Merge branch 'bugfix/uart_cannot_write_completely' into 'master'
donghengqaz Mar 18, 2020
f683801
fix(tcpip_adapter): fix local IP changed when Wi-Fi disconnect
donghengqaz Apr 21, 2020
049ebe1
Merge branch 'bugfix/fix_addr_changed_when_wifi_disconnect_v3.3' into…
donghengqaz Apr 21, 2020
f4f4b6f
feat(phy): update phy library from 1156.0 to 1059.0
donghengqaz Apr 21, 2020
da27107
Merge branch 'feature/update_phy_library_v3.3' into 'release/v3.3'
donghengqaz Apr 22, 2020
4a5dcb8
Merge branch 'cherry-pick-b0e5afe3' into 'release/v3.3'
donghengqaz Apr 22, 2020
070303d
Revert "Merge branch 'bugfix/fix_addr_changed_when_wifi_disconnect_v3…
donghengqaz Apr 27, 2020
b74255d
Merge branch 'revert-049ebe1d' into 'release/v3.3'
donghengqaz Apr 27, 2020
89141b5
feat(esp8266): Panic uses hardware restart instead of software restart
donghengqaz May 19, 2020
2a65b02
Merge branch 'feature/panic_using_hardware_restart_instead_of_softwar…
donghengqaz May 19, 2020
d48e117
fix(wifi): fix writing errors
May 25, 2020
e741335
feat(wifi): Add Wi-Fi send PLCP function
donghengqaz May 22, 2020
c47938e
Merge branch 'feature/add_wifi_send_plcp_v3.3' into 'release/v3.3'
donghengqaz May 26, 2020
19dc26f
Merge branch 'bugfix/fix_writing_errors_v3.3' into 'release/v3.3'
donghengqaz May 27, 2020
7d3d175
feat(mbedtls): Update mbedTLS version to v2.16.5
donghengqaz May 18, 2020
633322b
Merge branch 'feature/update_mbedtls_to_v2.16.5_v3.3' into 'release/v…
donghengqaz May 27, 2020
cfebde2
feat(mbedtls): Add dynamic buffer and local resource managment to dec…
donghengqaz May 18, 2020
77552dd
Merge branch 'feature/mbedtls_dynamic_memory_v3.3' into 'release/v3.3'
donghengqaz May 27, 2020
8fe4c1d
fix(lwip): Fix "shutdown" blocks "close" when enable multi-thread sup…
donghengqaz Jun 2, 2020
eb0ec09
feat(lwip): Add option to receive rest data although TCP aborts
donghengqaz Jun 3, 2020
d36034e
feat(bootloader): add option to disable JTAG I/O when boot
donghengqaz Mar 11, 2020
f7f3c55
Merge branch 'feature/disable_jtag_io_when_boot_v3.3' into 'release/v…
donghengqaz Jun 4, 2020
85759ce
bugfix(i2s): remove_i2s_bbpll_clk_enable
xiongyumail Apr 28, 2020
bb88afe
Merge branch 'feature/add_option_recv_rst_data_although_tcp_aborts' i…
donghengqaz Jun 4, 2020
2478110
bugfix(ledc):fix pwm duty setting error
Jun 4, 2020
d91a643
fix(lib): fix connect timeout error
Jun 8, 2020
54deb7b
Merge branch 'bugfix/fix_connect_timeout_error_v3.3' into 'release/v3.3'
donghengqaz Jun 8, 2020
3df24d3
Merge branch 'bugfix/fix_shutdown_block_close' into 'release/v3.3'
donghengqaz Jun 16, 2020
a1a4712
feat(dhcp): Add LWIP DHCP option12, option60 and option61 in DHCP dis…
ESP-YJM Jun 12, 2020
98f0ad9
Merge branch 'bugfix/ledc_pwm_error_v3.3' into 'release/v3.3'
donghengqaz Jun 16, 2020
52419ec
Merge branch 'feature/add_dhcp_option' into 'release/v3.3'
donghengqaz Jun 16, 2020
8189b9a
Merge branch 'bugfix/remove_i2s_bbpll_clk_enable_v3.3' into 'release/…
donghengqaz Jun 16, 2020
4c7d927
fix(lib): do not refuse iphone when iphone reconnect to softap
Jun 24, 2020
c65be4f
fix(lib): fix crash when esp_restart called
Jun 28, 2020
b181b73
feat(phy): update phy library from 1159.0 to 1163.0
donghengqaz Jun 30, 2020
b6e861a
Merge branch 'feature/update_phy_library_v3.3' into 'release/v3.3'
donghengqaz Jun 30, 2020
e55ee71
docs(policy): Add SDK support period policy
donghengqaz Jul 1, 2020
cca2575
Merge branch 'docs/add_support_period_policy_v3.3' into 'release/v3.3'
donghengqaz Jul 1, 2020
1cc9e1e
Merge branch 'bugfix/do_not_refuse_iphone_when_iphone_reconnect_to_so…
donghengqaz Jul 7, 2020
b415031
Merge branch 'bugfix/fix_crash_when_esp_restart_called_v3.3' into 're…
donghengqaz Jul 7, 2020
9f96e2d
fix(lib): drop beacon when authmode changed
Jul 6, 2020
04fa4ca
feat(example): set authmode threshold to WPA2 when password set
Jul 8, 2020
c32ba77
fix(xtensa): Fix NMI reenter when multi enable MAC interrupt
donghengqaz Jul 8, 2020
1e639e7
Merge branch 'bugfix/fix_nmi_reenter_when_multi_enable_mac_interrupt_…
donghengqaz Jul 8, 2020
9c72c21
Merge branch 'bugfix/drop_beacon_when_authmode_changed_v3.3' into 're…
donghengqaz Jul 8, 2020
7d6976e
fix(mbedtls): Fix dynamic buffer mbedtls handshake steps process retu…
donghengqaz Jul 8, 2020
ee6b3ab
fix(lib): fix datarate is always 1M when esp8266 as softap mode
Jul 9, 2020
be7e3fd
Merge branch 'bugfix/fix_datarate_is_always_1M_when_esp8266_as_softap…
donghengqaz Jul 17, 2020
d2cfc31
fix(mbedtls): Fix mbedtls dynamic resource leaks memory
donghengqaz Jul 27, 2020
e63f7ac
fix(wps): fix the issues of memory leak which caused by calling esp_w…
cwespressif Jul 28, 2020
509e82d
Merge branch 'bugfix/fix_memory_leak_issue_caused_by_wps_start_freque…
donghengqaz Aug 5, 2020
fb4d6ad
fix(lib): fix softap PMK invalidata in NVS
Aug 6, 2020
210943a
Merge branch 'bugfix/fix_softap_PMK_invalidate_in_NVS_v3.3' into 'rel…
donghengqaz Aug 6, 2020
21b0f6c
Merge branch 'bugfix/fix_mbedtls_dynamic_mem_leak_heap_v3.3' into 're…
donghengqaz Aug 10, 2020
dc75524
fix(tcp): optimize tcp pcb allocation algoritm
ESP-YJM Aug 21, 2020
8bc694b
feat(lib): do not change wifi mode when esp_deep_sleep() called
Aug 24, 2020
940dde1
Merge branch 'feature/do_not_change_wifi_mode_in_nvs_when_esp_deep_sl…
donghengqaz Aug 26, 2020
5c773fc
Merge branch 'bugfix/optimize_tcp_pcb_allocation_algoritm' into 'rele…
donghengqaz Aug 31, 2020
a7f496b
fix(lib): do not rewrite flash when set station config
Sep 11, 2020
2ea631c
Merge branch 'bugfix/do_not_rewrite_flash_when_set_sta_config_v3.3' i…
donghengqaz Sep 14, 2020
94ef940
fix(lib): do not realloc bcn when tx bcn
Sep 17, 2020
516abb6
Merge branch 'bugfix/do_not_realloc_bcn_when_tx_bcn_v3.3' into 'relea…
donghengqaz Sep 17, 2020
d4d3543
feat(tools): Add xtensa-lx106-elf toolchain url
wujiangang Sep 8, 2020
3a7964b
Merge branch 'feature/add_xtensa-lx106-elf_toolchain_url_v3.3' into '…
donghengqaz Sep 22, 2020
f54641d
Merge branch 'bugfix/fix_dynamic_mbedtls_return_0_when_handshake_fail…
donghengqaz Nov 18, 2020
547378a
fix(freertos): disable other task before disable nmi
Nov 25, 2020
610c44d
Merge branch 'bugfix/disable_other_task_before_nmi_disabled_v3.3' int…
donghengqaz Nov 25, 2020
668d544
fix(esp8266): Fix cmake not compile and download phy_init_data.bin
donghengqaz Dec 3, 2020
c593cac
Merge branch 'bugfix/fix_cmake_enable_phy_init_bin_partition_err_v3.3…
donghengqaz Dec 7, 2020
62b9559
fix(lib): fix some bugs
Dec 8, 2020
eb0047a
Merge branch 'bugfix/fix_block_sacn_and_some_JAP_issues_v3.3' into 'r…
donghengqaz Dec 9, 2020
dfe4bb7
fix(lib): fix i2c error when calling esp_reastart()
Feb 22, 2021
4ce354c
Merge branch 'bugfix/fix_i2c_error_when_esp_restart_called_v3.3' into…
donghengqaz Feb 22, 2021
2a58642
fix(mbedtls): Fix mbedtls_ssl_send_alert_message crash due to ssl->ou…
ESP-YJM Mar 12, 2021
0919801
Merge branch 'bugfix/fix_mbedtls_send_alert_crash_v3.3' into 'release…
donghengqaz Apr 28, 2021
b70127c
freertos: Add queue init overflow check
projectgus May 4, 2021
1638905
freertos: Add addition overflow check for stream buffer
projectgus May 4, 2021
6c438bc
Merge branch 'bugfix/queue_arith_overflow_v3.3' into 'release/v3.3'
donghengqaz May 13, 2021
4cab385
Tools: Constrain the cryptography package for avoiding breaking changes
donghengqaz Nov 8, 2021
2bc4266
Merge branch 'bugfix/constrain_cryptography_v3.3' into 'release/v3.3'
donghengqaz Nov 15, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ build_ssc:
- git clone $GITLAB_SSH_SERVER/yinling/SSC.git
- cd SSC
# try checkout same branch
- git checkout "${CI_BUILD_REF_NAME}_8266" || echo "Using default branch..."
- git checkout "release/v3.3_8266" || echo "Using default branch..."
- ./gen_misc_rtos.sh

push_master_to_github:
Expand Down
54 changes: 54 additions & 0 deletions SUPPORT_POLICY_CN.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
有关 ESP8266 RTOS SDK 的最新支持政策,详见 [支持期限政策](./SUPPORT_POLICY_CN.md)。
支持期限政策
=================

* [English Version](./SUPPORT_POLICY_EN.md)

ESP8266 RTOS SDK 的每个主要版本和次要版本(如 V3.0、V3.1 等)自其首次稳定版本发布之日起将维护 18 个月。

维护意味着 ESP8266 RTOS SDK 团队将会对 GitHub 上的发布分支继续进行 bug 修复、安全修补等,并根据需求定期发布新的 bugfix 版本。

在某一版本支持期限结束,停止更新维护 (EOL) 前,建议用户升级到较新的 ESP8266 RTOS SDK 版本。根据《支持期限政策》,我们将停止对 EOL 版本进行 bug 修复。

《支持期限政策》不适用于预发布版本(包括 beta、preview、`-rc` 和 `-dev` 版本等)。有时,在发布的版本中存在被标记为 "Preview" 的特定功能,则该功能也不在支持期限内。

长期支持版本
------------

有些发布版本(例如 ESP8266 RTOS SDK V3.1)属于长期支持 (LTS) 版本。LTS 版本将自其首次稳定版本发布之日起维护 30 个月(2.5 年)。

关于长期维护版本,在 github 上面正式的`第1次`发布该版本 release 的时候,会在标题上额外标注 `(LTS)`,例如:

```
ESP8266 RTOS SDK Release v3.4 (LTS)
```

后续的维护版本不会再额外标注 `(LTS)`,例如:

```
ESP8266 RTOS SDK Release v3.4.1
```

示例
-----

ESP8266 RTOS SDK V3.1 于 2019 年 01 月发布,属于 LTS 版本,自正式发布日开始将维护 30 个月至 2021 年 07 月停止。

- V3.1 的首个发布版本为 2019 年 01 月发布的 `v3.1`。
- ESP8266 RTOS SDK 团队将持续进行 bug 修复、安全修补等更新,并 backport 至分支 `release/v3.1`。
- 定期从 release 分支创建稳定的 bugfix 版本,比如,`v3.1.1`、`v3.1.2` 等,并建议用户保持使用最新的 bugfix 版本。
- V3.1 的 bugfix 版本发布将持续 30 个月至 2021 年 07 月,届时所有 V3.1.x 将停止更新维护。

现有版本
--------

ESP8266 RTOS SDK V3.3 及所有后续更新版本都将遵守该《支持期限政策》。每一版本发布时将同时公布其支持期限。

对于该政策公布之日前发布的其他版本,应适用下述支持期限:

- ESP8266 RTOS SDK V3.3.x 将维护至 2021 年 12 月。
- ESP8266 RTOS SDK V3.2.x 将维护至 2020 年 12 月。
- ESP8266 RTOS SDK V3.1.x 作为长期维护版本,将维护至 2021 年 7 月。
- ESP8266 RTOS SDK V3.0.x 将维护至 2020 年 10 月。
- ESP8266 RTOS SDK V2.1.x 作为长期维护版本,将维护至 2021 年 4 月。
- ESP8266 RTOS SDK V2.0.x 及之前的版本均已停止更新维护 (EOL)。
56 changes: 56 additions & 0 deletions SUPPORT_POLICY_EN.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
The latest support policy for ESP8266 RTOS SDK can be found at [Support Policy](./SUPPORT_POLICY_EN.md).

Support Period Policy
=================

* [中文版](./SUPPORT_POLICY_CN.md)

Each ESP8266 RTOS SDK major and minor release (V3.0, V3.1, etc) is supported for 18 months after the initial stable release date.

Supported means that the ESP8266 RTOS SDK team will continue to apply bug fixes, security fixes, etc to the release branch on GitHub, and periodically make new bugfix releases as needed.

Users are encouraged to upgrade to a newer ESP8266 RTOS SDK release before the support period finishes and the release becomes End of Life (EOL). It is our policy to not continue fixing bugs in End of Life releases.

Pre-release versions (betas, previews, -rc and -dev versions, etc) are not covered by any support period. Sometimes a particular feature is marked as "Preview" in a release, which means it is also not covered by the support period.


Long Term Support releases
------------

Some releases (for example, ESP8266 RTOS SDK V3.1) are designated Long Term Support (LTS). LTS releases are supported for 30 months (2.5 years) after the initial stable release date.

We will add a `(LTS)` tag when we release a long term support version on GitHub at the first time. For example:

```
ESP8266 RTOS SDK Release v3.4 (LTS)
```

But we will not add `(LTS)` tag to the following bug fix versions. For example:

```
ESP8266 RTOS SDK Release v3.4.1
```

Example
-----

ESP8266 RTOS SDK V3.1 was released in January 2019 and is a Long Term Support (LTS) release, meaning it will be supported for 30 months until July 2021.

- The first V3.1 release was `v3.1` in January 2019.
- The ESP8266 RTOS SDK team continues to backport bug fixes, security fixes, etc to the release branch `release/v3.1`。
- Periodically stable bugfix releases are created from the release branch. For example `v3.1.1`、`v3.1.2`, etc. Users are encouraged to always update to the latest bugfix release.
- V3.1 bugfix releases continue until July 2021, when all V3.1.x releases become End of Life.

Existing Releases
--------

ESP8266 RTOS SDK V3.3 and all newer releases will follow this support period policy. The support period for each release will be announced when the release is made.

For releases made before the support period policy was announced, the following support periods apply:

- ESP8266 RTOS SDK V3.2.x will be supported until December 2021.
- ESP8266 RTOS SDK V3.2.x will be supported until December 2020.
- ESP8266 RTOS SDK V3.1.x is Long Term Support (LTS) release, will be supported until July 2021.
- ESP8266 RTOS SDK V3.0.x will be supported until October 2020.
- ESP8266 RTOS SDK V2.1.x is Long Term Support (LTS) release, will be supported until April 2021.
- ESP8266 RTOS SDK V2.0.x and earlier versions are already End of Life.
2 changes: 1 addition & 1 deletion components/aws_iot/port/network_mbedtls_wrapper.c
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ IoT_Error_t iot_tls_connect(Network *pNetwork, TLSConnectParams *params) {
ret = SSL_CONNECTION_ERROR;
} else {
int tls_ret = esp_tls_conn_new_sync(pNetwork->tlsConnectParams.pDestinationURL, strlen(pNetwork->tlsConnectParams.pDestinationURL), pNetwork->tlsConnectParams.DestinationPort, &cfg, tls);
if (tls_ret) {
if (tls_ret == -1) {
ret = SSL_CONNECTION_ERROR;
esp_tls_conn_delete(tls);
}
Expand Down
9 changes: 9 additions & 0 deletions components/bootloader/Kconfig.projbuild
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,15 @@ config BOOTLOADER_INIT_SPI_FLASH
If your system bootloader is based on v3.0, the option must not be enable, because the v3.0 bootloader don't support
this function.

config BOOTLOADER_DISABLE_JTAG_IO
bool "Bootloader disable JTAG I/O"
default n
help
Enable this option, when SoC brings up and bootloader initializes hardware, it will
disable JTAG's I/O and set these GPIOs to be normal I/O with inputting mode.

If users use JTAG to help develop, please disable this option.

choice LOG_BOOTLOADER_LEVEL
bool "Bootloader log verbosity"
default LOG_BOOTLOADER_LEVEL_INFO
Expand Down
11 changes: 11 additions & 0 deletions components/bootloader_support/src/bootloader_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -613,6 +613,17 @@ esp_err_t bootloader_init()

static esp_err_t bootloader_main()
{
#ifdef CONFIG_BOOTLOADER_DISABLE_JTAG_IO
/* Set GPIO 12-15 to be normal GPIO */
PIN_FUNC_SELECT(PERIPHS_IO_MUX_MTDI_U, FUNC_GPIO12);
PIN_FUNC_SELECT(PERIPHS_IO_MUX_MTCK_U, FUNC_GPIO13);
PIN_FUNC_SELECT(PERIPHS_IO_MUX_MTMS_U, FUNC_GPIO14);
PIN_FUNC_SELECT(PERIPHS_IO_MUX_MTDO_U, FUNC_GPIO15);

/* Set GPIO 12-15 to be input mode */
GPIO_REG_WRITE(GPIO_ENABLE_W1TC_ADDRESS, BIT12 | BIT13 | BIT14 | BIT15);
#endif

uart_console_configure();

esp_image_header_t fhdr;
Expand Down
8 changes: 4 additions & 4 deletions components/bootloader_support/src/bootloader_sha.c
Original file line number Diff line number Diff line change
Expand Up @@ -222,11 +222,11 @@ void bootloader_sha256_finish(bootloader_sha256_handle_t handle, uint8_t *digest

// typedef esp_sha_t* bootloader_sha256_handle_t;

static esp_sha_t s_sha256_ctx;
static esp_sha256_t s_sha256_ctx;

bootloader_sha256_handle_t bootloader_sha256_start()
{
esp_sha_t *ctx = &s_sha256_ctx;
esp_sha256_t *ctx = &s_sha256_ctx;

esp_sha256_init(ctx);

Expand All @@ -235,12 +235,12 @@ bootloader_sha256_handle_t bootloader_sha256_start()

void bootloader_sha256_data(bootloader_sha256_handle_t handle, const void *data, size_t data_len)
{
esp_sha256_update((esp_sha_t *)handle, data, data_len);
esp_sha256_update((esp_sha256_t *)handle, data, data_len);
}

void bootloader_sha256_finish(bootloader_sha256_handle_t handle, uint8_t *digest)
{
esp_sha256_finish((esp_sha_t *)handle, digest);
esp_sha256_finish((esp_sha256_t *)handle, digest);
}

#endif
Expand Down
18 changes: 9 additions & 9 deletions components/esp-tls/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -14,22 +14,22 @@ menu "ESP-TLS"

config ESP_TLS_SERVER
bool "Enable ESP-TLS Server"
depends on ESP_TLS_USING_MBEDTLS
default n
help
Enable support for creating server side SSL/TLS session, uses the mbedtls crypto library
Enable support for creating server side SSL/TLS session, available for mbedTLS
as well as wolfSSL TLS library.

config ESP_TLS_PSK_VERIFICATION
bool "Enable PSK verification"
depends on ESP_TLS_USING_MBEDTLS
select MBEDTLS_PSK_MODES
select MBEDTLS_KEY_EXCHANGE_PSK
select MBEDTLS_KEY_EXCHANGE_DHE_PSK
select MBEDTLS_KEY_EXCHANGE_ECDHE_PSK
select MBEDTLS_KEY_EXCHANGE_RSA_PSK
select MBEDTLS_PSK_MODES if ESP_TLS_USING_MBEDTLS
select MBEDTLS_KEY_EXCHANGE_PSK if ESP_TLS_USING_MBEDTLS
select MBEDTLS_KEY_EXCHANGE_DHE_PSK if ESP_TLS_USING_MBEDTLS
select MBEDTLS_KEY_EXCHANGE_ECDHE_PSK if ESP_TLS_USING_MBEDTLS
select MBEDTLS_KEY_EXCHANGE_RSA_PSK if ESP_TLS_USING_MBEDTLS
default n
help
Enable support for pre shared key ciphers, uses the mbedtls crypto library
Enable support for pre shared key ciphers, supported for both mbedTLS as well as
wolfSSL TLS library.

config ESP_WOLFSSL_SMALL_CERT_VERIFY
bool "Enable SMALL_CERT_VERIFY"
Expand Down
52 changes: 45 additions & 7 deletions components/esp-tls/esp_tls.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@ static const char *TAG = "esp-tls";
#define _esp_tls_read esp_wolfssl_read
#define _esp_tls_write esp_wolfssl_write
#define _esp_tls_conn_delete esp_wolfssl_conn_delete
#ifdef CONFIG_ESP_TLS_SERVER
#define _esp_tls_server_session_create esp_wolfssl_server_session_create
#define _esp_tls_server_session_delete esp_wolfssl_server_session_delete
#endif /* CONFIG_ESP_TLS_SERVER */
#define _esp_tls_get_bytes_avail esp_wolfssl_get_bytes_avail
#define _esp_tls_init_global_ca_store esp_wolfssl_init_global_ca_store
#define _esp_tls_set_global_ca_store esp_wolfssl_set_global_ca_store /*!< Callback function for setting global CA store data for TLS/SSL */
Expand Down Expand Up @@ -115,8 +119,9 @@ esp_tls_t *esp_tls_init(void)
return NULL;
}
#ifdef CONFIG_ESP_TLS_USING_MBEDTLS
tls->server_fd.fd = tls->sockfd = -1;
tls->server_fd.fd = -1;
#endif
tls->sockfd = -1;
return tls;
}

Expand Down Expand Up @@ -193,7 +198,11 @@ static esp_err_t esp_tcp_connect(const char *host, int hostlen, int port, int *s
}
if (cfg->non_block) {
int flags = fcntl(fd, F_GETFL, 0);
fcntl(fd, F_SETFL, flags | O_NONBLOCK);
ret = fcntl(fd, F_SETFL, flags | O_NONBLOCK);
if (ret < 0) {
ESP_LOGE(TAG, "Failed to configure the socket as non-blocking (errno %d)", errno);
goto err_freesocket;
}
}
}

Expand Down Expand Up @@ -259,9 +268,9 @@ static int esp_tls_low_level_conn(const char *hostname, int hostlen, int port, c
ms_to_timeval(cfg->timeout_ms, &tv);

/* In case of non-blocking I/O, we use the select() API to check whether
connection has been estbalished or not*/
connection has been established or not*/
if (select(tls->sockfd + 1, &tls->rset, &tls->wset, NULL,
cfg->timeout_ms ? &tv : NULL) == 0) {
cfg->timeout_ms>0 ? &tv : NULL) == 0) {
ESP_LOGD(TAG, "select() timed out");
return 0;
}
Expand Down Expand Up @@ -309,12 +318,13 @@ static int esp_tls_low_level_conn(const char *hostname, int hostlen, int port, c
*/
esp_tls_t *esp_tls_conn_new(const char *hostname, int hostlen, int port, const esp_tls_cfg_t *cfg)
{
esp_tls_t *tls = (esp_tls_t *)calloc(1, sizeof(esp_tls_t));
esp_tls_t *tls = esp_tls_init();
if (!tls) {
return NULL;
}
/* esp_tls_conn_new() API establishes connection in a blocking manner thus this loop ensures that esp_tls_conn_new()
API returns only after connection is established unless there is an error*/
size_t start = xTaskGetTickCount();
while (1) {
int ret = esp_tls_low_level_conn(hostname, hostlen, port, cfg, tls);
if (ret == 1) {
Expand All @@ -323,22 +333,39 @@ esp_tls_t *esp_tls_conn_new(const char *hostname, int hostlen, int port, const e
esp_tls_conn_delete(tls);
ESP_LOGE(TAG, "Failed to open new connection");
return NULL;
} else if (ret == 0 && cfg->timeout_ms >= 0) {
size_t timeout_ticks = pdMS_TO_TICKS(cfg->timeout_ms);
uint32_t expired = xTaskGetTickCount() - start;
if (expired >= timeout_ticks) {
esp_tls_conn_delete(tls);
ESP_LOGE(TAG, "Failed to open new connection in specified timeout");
return NULL;
}
}
}
return NULL;
}

int esp_tls_conn_new_sync(const char *hostname, int hostlen, int port, const esp_tls_cfg_t *cfg, esp_tls_t *tls)
{
/* esp_tls_conn_new_sync() is a sync alternative to esp_tls_conn_new_async() with symetric function prototype
/* esp_tls_conn_new_sync() is a sync alternative to esp_tls_conn_new_async() with symmetric function prototype
it is an alternative to esp_tls_conn_new() which is left for compatibility reasons */
size_t start = xTaskGetTickCount();
while (1) {
int ret = esp_tls_low_level_conn(hostname, hostlen, port, cfg, tls);
if (ret == 1) {
return ret;
} else if (ret == -1) {
ESP_LOGE(TAG, "Failed to open new connection");
return -1;
} else if (ret == 0 && cfg->timeout_ms >= 0) {
size_t timeout_ticks = pdMS_TO_TICKS(cfg->timeout_ms);
uint32_t expired = xTaskGetTickCount() - start;
if (expired >= timeout_ticks) {
ESP_LOGW(TAG, "Failed to open new connection in specified timeout");
ESP_INT_EVENT_TRACKER_CAPTURE(tls->error_handle, ERR_TYPE_ESP, ESP_ERR_ESP_TLS_CONNECTION_TIMEOUT);
return 0;
}
}
}
return 0;
Expand Down Expand Up @@ -384,6 +411,7 @@ esp_tls_t *esp_tls_conn_http_new(const char *url, const esp_tls_cfg_t *cfg)
get_port(url, &u), cfg, tls) == 1) {
return tls;
}
esp_tls_conn_delete(tls);
return NULL;
}

Expand All @@ -409,6 +437,7 @@ mbedtls_x509_crt *esp_tls_get_global_ca_store(void)
return _esp_tls_get_global_ca_store();
}

#endif /* CONFIG_ESP_TLS_USING_MBEDTLS */
#ifdef CONFIG_ESP_TLS_SERVER
/**
* @brief Create a server side TLS/SSL connection
Expand All @@ -425,13 +454,22 @@ void esp_tls_server_session_delete(esp_tls_t *tls)
return _esp_tls_server_session_delete(tls);
}
#endif /* CONFIG_ESP_TLS_SERVER */
#endif /* CONFIG_ESP_TLS_USING_MBEDTLS */

ssize_t esp_tls_get_bytes_avail(esp_tls_t *tls)
{
return _esp_tls_get_bytes_avail(tls);
}

esp_err_t esp_tls_get_conn_sockfd(esp_tls_t *tls, int *sockfd)
{
if (!tls || !sockfd) {
ESP_LOGE(TAG, "Invalid arguments passed");
return ESP_ERR_INVALID_ARG;
}
*sockfd = tls->sockfd;
return ESP_OK;
}

esp_err_t esp_tls_get_and_clear_last_error(esp_tls_error_handle_t h, int *esp_tls_code, int *esp_tls_flags)
{
if (!h) {
Expand Down
Loading