Commit Graph

1716 Commits

Author SHA1 Message Date
Xu Chun Guang
4224042395 feat: Perform an exponentiation by the algorithm of mbedtls V2 which is faster 2025-05-09 10:24:27 +08:00
Chen Wu
a2a95350b5 feat(esp-tls): update to upstream 3.6.3 2025-04-30 15:03:30 +08:00
Xu Chun Guang
0f71f1c583 feat: Update mbedtls to 1d34215a which is behind mbedtls-3.6.3 on branch mbedtls-3.6.3-idf 2025-04-27 14:22:19 +08:00
Xu Chun Guang
2cfa9d40c2 refactor: Rename old mbedtls to mbedtls_v2 2025-04-18 14:11:50 +08:00
Xu Chun Guang
d6a19654b4 feat: Optimize dram size for libsodium test code 2025-04-17 17:23:53 +08:00
Dong Heng
682cf4de91 Merge branch 'chore/modify_libcoap_url_from_github_to_jihulab' into 'release/v3.4'
chore(coap): Modify libcoap URL from github to jihulab (v3.4)

See merge request sdk/ESP8266_RTOS_SDK!1708
2025-04-17 17:21:17 +08:00
Dong Heng
0325f833aa chore(coap): Modify libcoap URL from github to jihulab 2025-04-17 16:23:01 +08:00
Dong Heng
ff16a35c36 Merge branch 'feature/improve_th25q16hb_patch' into 'release/v3.4'
feat: Improve th25q16hb flash patch

See merge request sdk/ESP8266_RTOS_SDK!1705
2025-03-25 15:01:40 +08:00
Xu Chun Guang
d515353777 feat: Improve th25q16hb flash patch 2025-03-07 16:15:01 +08:00
zhangyanjiao
ab04069df3 Change the addr3 to broadcast for ESP-NOW data
Closes https://github.com/espressif/esp-idf/issues/10341
2025-03-03 11:13:32 +08:00
Xu Chun Guang
31637024ff fix: FM25Q16B fails to run due to FM25Q16A patch 2024-11-28 18:41:24 +08:00
Chen Wu
f3aaa5831e fix(flash): fixed a potential system hang issue on fm25q16a 2024-11-20 14:22:28 +08:00
zhangyanjiao
224e7a1c56 Fixed the ssid len error issue when the ssid string does not have an end delimiter 2024-11-18 10:54:06 +08:00
Xu Chun Guang
323b1f8be0 Log: Disable SPI FLASH patch log 2024-11-12 11:09:28 +08:00
Xu Chun Guang
c611c41d0a feat: Add fm25q16a patch 2024-11-04 12:00:02 +08:00
Dong Heng
e19ff9af0d Merge branch 'feature/add_esp_tls_mbedtls_api_v3.4' into 'release/v3.4'
esp-tls: Add API for mbedtls to get and set ciphersuites (backport v3.4)

See merge request sdk/ESP8266_RTOS_SDK!1674
2024-07-03 11:27:57 +08:00
zhangyanjiao
0cac4f8cf3 fix(wpa_supplicant): (PEAP client) Update Phase 2 auth requirements 2024-04-17 16:08:51 +08:00
Chen Wu
d4dca4ed00 fix(tcpip_adapter): Fixed that IPv6 DNS can not work 2023-12-27 14:22:17 +08:00
zhangyanjiao
377bd1dd01 Dropped fragmented aggregated packets (CVE-2020-26142) 2023-12-18 16:28:18 +08:00
Dong Heng
7c318e9b55 fix(esp8266): Fix compiling error 2023-11-27 19:31:07 +08:00
Dong Heng
0a612356c1 fix(esp8266): Fix open mode RX fragment packet fail issue 2023-11-24 19:57:40 +08:00
Chen Wu
fdac6aaf6b fix(ESPCS-924): Fixed a potential freertos crash
- Reason:
A task and B interrupt indirectly access the shared resource pxDelayedTaskList without proper security protection, leading to further crash.
A task uses xEventGroupSetBits() to access the pxDelayedTaskList resource:
xEventGroupSetBits() -> vTaskRemoveFromUnorderedEventList() -> uxListRemove() -> pxList, where pxList is the pxDelayedTaskList.
At this point, another B interrupt is triggered (xEventGroupSetBits only suspends task scheduling and does not disable interrupts) and also accesses the pxDelayedTaskList resource:
MacIsrSigPostDefHdl() -> __wifi_queue_send_from_isr() -> xQueueGenericSendFromISR() -> xTaskRemoveFromEventList() -> prvResetNextTaskUnblockTime() -> pxDelayedTaskList.
This leads to an unsafe access to the pxDelayedTaskList resource by two entities, causing subsequent crash exceptions.

- Fix:
Modify the timing of the call to prvResetNextTaskUnblockTime() within xTaskRemoveFromEventList from unconditional execution to only execute when task scheduling is enabled.
This way, when the B interrupt reaches xTaskRemoveFromEventList, it will not call prvResetNextTaskUnblockTime to access the pxDelayedTaskList resource (due to task scheduling being disabled).
After the B interrupt execution is complete and control returns to A task, xTaskResumeAll() will be called, and then prvResetNextTaskUnblockTime() will update the pxDelayedTaskList resource again.
2023-11-06 14:08:53 +08:00
zhangyanjiao
494817f32b fix the multiple country info issue 2023-09-05 19:33:39 +08:00
Chen Wu
0d9450ea00 feat(httpd): Allow binding to same address and port upon restarting server without delay
Issue : Restarting the server without 30sec delay between httpd_stop() and httpd_start() causes EADDRINUSE error
Resolution : Use setsockopt() to enable SO_REUSEADDR on listener socket

Closes https://github.com/espressif/esp-idf/issues/3381
2023-05-05 17:44:59 +08:00
yuanjianmin
1c33bd488b esp-tls: Add API for mbedtls to get and set ciphersuites 2023-04-28 15:49:34 +08:00
Dong Heng
8afe4a6785 feat(spi_flash): Add patch to fix TH25Q16HB page 0 hardware issue 2023-03-10 10:38:51 +08:00
Zhang Jun Hao
eb4066e80e fix(lib): fix scan state error 2022-10-09 14:12:03 +08:00
Dong Heng
20dbb96fcd fix(spi_flash): Fix bootloader failed to read image data 2022-09-19 19:12:25 +08:00
Zhang Jun Hao
04281f67e1 fix(lib): do not check basic rate for signal test router 2022-09-13 09:44:18 +08:00
Dong Heng
4701083a4e Merge branch 'bugfix/xmc_overerase_v3.4' into 'release/v3.4'
feat(bootloader): add xmc spi_flash startup flow to improve reliability (backport v3.4)

See merge request sdk/ESP8266_RTOS_SDK!1662
2022-09-09 13:55:51 +08:00
Dong Heng
06f3948b27 feat(spi_flash): Support Flash ID 0x164068 2022-08-11 10:32:00 +08:00
Dong Heng
b5301bf124 feat(bootloader): add xmc spi_flash startup flow to improve reliability 2022-08-11 10:29:43 +08:00
Dong Heng
3efd52d2e0 feat(bootloader): Boot close IRQ with level 3 2022-05-13 19:46:17 +08:00
Dong Heng
9d1387522c feat(bootloader): Disable CPU interrupt in boot 2022-05-09 19:18:05 +08:00
Dong Heng
56ffb3d46c fix(esp8266): Fix compiling error when enable Wi-Fi debug 2022-04-11 12:57:54 +08:00
Wu Jian Gang
a7ac1b6f12 fix(lib): fix some wifi issues
1. fix crash when recv null rates
2. fix rst error when malloc failed
2022-03-15 16:25:29 +08:00
Chen Wu
e1f60ef9b2 fix(pp): do not wait null1 send ok before scan 2021-12-22 11:19:30 +08:00
Zhang Jun Hao
8a752a1103 fix(lib): do not rewrite nvs with invalid value and fix ap sta disconnect evt error 2021-08-30 16:31:36 +08:00
Dong Heng
86f399a609 feat(nvs_flash): Update nvs_flash from esp-idf
MR !14548.
2021-08-02 14:00:37 +08:00
Dong Heng
e600fe09d7 Merge branch 'bugfix/fix_pmk_error_v3.4' into 'release/v3.4'
fix(wpa_supplicant): fix pmk error(backport v3.4)

See merge request sdk/ESP8266_RTOS_SDK!1625
2021-07-26 11:28:54 +00:00
Dong Heng
562e650b25 Merge branch 'bugfix/fix_smartconfig_stop_error_v3.4' into 'release/v3.4'
fix(lib): fix smartconfig stop error(backport v3.4)

See merge request sdk/ESP8266_RTOS_SDK!1627
2021-07-26 11:28:27 +00:00
Dong Heng
3d11cbc25d Merge branch 'feature/support_esptouch_v2_send_unicast_for_v3.4' into 'release/v3.4'
feat(sc): Support ESP-Touch-V2 to send unicast(backport v3.4)

See merge request sdk/ESP8266_RTOS_SDK!1623
2021-07-26 11:28:16 +00:00
Zhang Jun Hao
2c9b38b244 fix(wpa_supplicant): fix pmk error 2021-07-26 17:33:01 +08:00
Zhang Jun Hao
bd5a4c3f25 fix(lib): fix smartconfig stop error 2021-07-26 17:32:19 +08:00
Dong Heng
0b857076c8 feat(nvs_flash): Modify for ESP8266 2021-07-26 15:21:13 +08:00
Dong Heng
97d0c2a4fb feat(nvs_flash): Bring nvs_flash from esp-idf
Commit ID: ecd2c51
2021-07-26 15:21:13 +08:00
Chen Wen
186b2449b1 feat(sc): Support ESP-Touch-V2 to send unicast 2021-06-18 10:10:29 +08:00
Zhang Jun Hao
1d1b99557d fix(smartconfig): add timeout for airkiss sync 2021-06-02 16:02:57 +08:00
Zhang Jun Hao
be11a5ab95 fix(lib): update lib 2021-05-21 15:44:56 +08:00
Zhang Jun Hao
5047c3af6d fix(wifi): fragment and forge vulnerability detection 2021-05-21 15:33:21 +08:00