Commit Graph

547 Commits

Author SHA1 Message Date
morris
19022e0904 Merge branch 'contrib/github_pr_13025_v5.1' into 'release/v5.1'
Missing include for rom/uart.h (GitHub PR) (v5.1)

See merge request espressif/esp-idf!29361
2024-03-05 12:02:36 +08:00
Jiang Jiang Jian
8aa5610689 Merge branch 'bugfix/fix_flash_encryption_rom_c3_v5.1' into 'release/v5.1'
fix(spi_flash): Fix issue that flash encryption failed while rom_impl config is enabled (backport v5.1)

See merge request espressif/esp-idf!29351
2024-03-05 11:00:07 +08:00
zhangyanjiao
594c61add4 fix(wifi): fixed scan and mesh deinit issues
1. update scan ap number when clear scan ap records
2. wait for child disconnect when mesh deinit
2024-03-04 10:25:04 +08:00
Ricardo Quesada
f21a43b622 fix(uart): add missing include for rom/uart.h
Without this include it fails to compile with this error:

```
esp/esp-idf-v5.2/components/esp_rom/include/esp32/rom/uart.h:262:32: error: implicit declaration of function 'UART_STATUS_REG' [-Werror=implicit-function-declaration]
  262 |         status = READ_PERI_REG(UART_STATUS_REG(uart_no));
```

Merges https://github.com/espressif/esp-idf/pull/13025
2024-03-01 14:36:50 +08:00
Cao Sen Miao
9df0678421 fix(spi_flash): Fix issue that flash encryption failed while rom_impl config is enabled
The issue is `esp_flash_write_encryped` function in ROM on ESP32C3, ESP32S3
calls legacy implementation, which uses old configuration. And this causes
write fails.
The solution in this commit is to compile and link this function(and related)
in IRAM instead of the ROM one.
The IRAM cost increases around 1.2KB after the fix
2024-03-01 10:51:31 +08:00
Island
b0107bdbd7 Merge branch 'bugfix/ble_update_lib_20240223_v5.1' into 'release/v5.1'
update lib on release/v5.1

See merge request espressif/esp-idf!29209
2024-02-28 16:54:19 +08:00
Island
00db642b52 Merge branch 'bugfix/fix_dtm_tx_count_v5.1' into 'release/v5.1'
Update bt lib for ESP32-C3 and ESP32-S3(30b57c45)(backport v5.1)

See merge request espressif/esp-idf!28879
2024-02-27 19:09:08 +08:00
zwl
95a2ad919f bugfix(ble) : fixed some ble issues on ESP32-C2 2024-02-23 18:03:24 +08:00
Marius Vikhammer
d9a6158700 fix(system): update reset reasons for C6 and H2 2024-02-22 12:36:09 +08:00
zhanghaipeng
a95d480780 fix(ble/controller): Fixed tx count in direct test mode on ESP32-C3 and ESP32-S3
- Fixed tx count in direct test mode on ESP32-C3 and ESP32-S3
- fixed modem sleep enter failed sometimes
2024-02-04 14:30:19 +08:00
chenjianhua
f86a5ffb2a fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(91980c2)
- Fixed scheduling when modem sleep wakeup delayed
- Fixed IRQ FIFO overflow when enter critical
- Fixed clock sync timeout for modem sleep
- Fixed directed adv with RPA when privacy disabled
- Fixed instant passed for connection update and PHY update
2024-02-04 14:30:10 +08:00
zhanghaipeng
2874c5e281 feat(bt/bluedroid): Support ext adv aux option 2024-01-22 20:56:26 +08:00
Jiang Jiang Jian
04895043f5 Merge branch 'feat/support_esp32c3_v1.1_wifi_v5.1' into 'release/v5.1'
feat(wifi): support esp32c3 v1.1 WiFi(v5.1)

See merge request espressif/esp-idf!27914
2023-12-28 16:56:49 +08:00
muhaidong
e7b20b754f fix(wifi): fix beacon eb memory leak issue 2023-12-27 16:47:00 +08:00
liuning
afbe2d1165 fix(rom): fix rom ld for v5.1 2023-12-27 16:47:00 +08:00
liuning
e6efcc407e fix(rom): remove related rom funcs in c3 rom eco7 MR 2023-12-27 16:47:00 +08:00
alanmaxwell
36e082d6e2 feat(wifi): support esp32c3 v1.1 WiFi
1.bringup c3 v1.1 and sync func to c3 eco7 rom
2.support to set null&probe lifetime
3.support to adjust listen interval to dtim period
4.support tx pkt w/o wake null
5.allow to tx null0 if requtest to rx data
2023-12-27 16:47:00 +08:00
linruihao
ddab5dbaa4 fix(bt/controller): Fixed establish two sco connections failed 2023-12-25 10:42:36 +08:00
luomanruo
c67710bacf ble: support for selecting CSA#2 by menuconfig
ble(fix): fixed event receiving on host side without returning event buffer to pool
2023-12-19 14:20:19 +08:00
Island
c6a9a06856 Merge branch 'bugfix/fix_some_ble_bugs_v5.1' into 'release/v5.1'
Fixed some BLE bugs (backport v5.1)

See merge request espressif/esp-idf!27695
2023-12-13 11:55:52 +08:00
Jiang Jiang Jian
70f1bd582f Merge branch 'bugfix/backport_wifi_fix_1208_v5.1' into 'release/v5.1'
fix(wifi): backport some wifi bugfix(v5.1)

See merge request espressif/esp-idf!27766
2023-12-11 17:26:06 +08:00
chenjianhua
4d546878b7 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(b8f0db9)
- Fixed assert when llcp instant passed
2023-12-08 19:54:39 +08:00
Kapil Gupta
b3c7123568 fix(esp_wifi): Drop fragmented AMPDU(fixCVE-2020-26142) 2023-12-08 14:17:02 +08:00
alanmaxwell
b7d599984b fix(wifi): optimize wifi bin size and fix some issue
1.Optimize bin size for STA only mode
2.Change fragment threshold to 256
3.Support fragment for LR mode
4.Fix ampdu duration issue
5.Fix rx fragment fail in Open mode.
2023-12-08 14:16:47 +08:00
Guillaume Souchere
27a78278a6 fix(heap): Patch tlsf_check_pool in ROM heap
The integrity_walker now calls the integrity check hook to control
free AND used blocks of memory in the TLSF pool. This integrity walker
function is called from tlsf_check_pool.

This commit creates a patch of integrity_walker function to update the
outdated implementation in the ROM.
2023-12-08 03:19:04 +00:00
Mu Hai Dong
e86ff640f8 fix(wifi): free beacon eb when softap destroy 2023-12-07 03:54:55 +00:00
Anton Maklakov
4fe15460ab Merge branch 'ci/fix_build_linux_targets' into 'release/v5.1'
Ci/fix build linux targets (v5.1)

See merge request espressif/esp-idf!27519
2023-12-06 15:31:35 +08:00
Island
fae44bf123 Merge branch 'bugfix/ble_update_lib_20231124_v5.1' into 'release/v5.1'
ble(update):Update c2 lib to 79ed4e8a,Update h2 lib to 9a237426,Update c6 lib to 9a237426

See merge request espressif/esp-idf!27393
2023-12-01 13:58:21 +08:00
Fu Hanxi
7df8574119
ci: fix missing linux related .build-test-rules.yml 2023-11-30 09:07:36 +01:00
zhiweijian
a34d9774bf feat: support ble esp32c3 eco7 2023-11-27 11:32:50 +00:00
Jiang Guang Ming
5aa458a591 feat(esp32c3): Add rom ld with ROM tag esp32c3-eco7-20230720 2023-11-27 11:32:50 +00:00
luomanruo
e6602ced8e ble: update rom.ld file 2023-11-24 20:34:21 +08:00
Ivan Grokhotkov
22dd730a7c
esp_rom: convert USB related headers to SPDX, update COPYRIGHTS.rst 2023-11-21 17:33:30 +01:00
Ivan Grokhotkov
6d1f573945
esp_rom: implement usb deinit functions added in S3 ROM for S2
This cleans up usb_console.c and prepares it for S3 support.
2023-11-21 17:33:29 +01:00
Ivan Grokhotkov
228dbe103f
esp_rom: add USB_OTG "port" number for S2 and S3 2023-11-21 17:33:29 +01:00
Ivan Grokhotkov
c7b409aa94
esp_rom: sync changes for ESP32-S3 USB related files, minor fix for S2
Used esp-rom tag esp32s3-20210327 and did manual cleanup.
Rename s_usb_osglue to rom_usb_osglue like it was done for esp32s2.
Some comments in esp32s2 headers are synced from esp32s3.
2023-11-21 17:33:29 +01:00
Wang Meng Yang
c46775031e Merge branch 'bugfix/backport_some_ble_bugs_20231020_v5.1' into 'release/v5.1'
Fixed some BLE bugs 20231020 (backport v5.1)

See merge request espressif/esp-idf!26604
2023-11-14 15:35:55 +08:00
Jiang Jiang Jian
d1842fa99b Merge branch 'bugfix/ota_fail_on_octal_flash_v5.1' into 'release/v5.1'
fix(ota): Fixed OTA fail on octal flash with 32MB memory (backport v5.1)

See merge request espressif/esp-idf!26811
2023-11-14 15:34:06 +08:00
Jiang Jiang Jian
822aa69a4b Merge branch 'feature/support_esp32c2_rom_mbedtls_v5.1' into 'release/v5.1'
feat(mbedtls): support c2 mbedtls can use crypto algorithm in ROM (backport v5.1)

See merge request espressif/esp-idf!26698
2023-11-14 15:10:20 +08:00
luomanruo
00f51f74e3 ble: update c2 rom.ld 2023-11-08 18:03:48 +08:00
Cao Sen Miao
bb7544e65a fix(ota): Fixed OTA fail on octal flash with 32MB memory,
Closes https://github.com/espressif/esp-idf/issues/11903
2023-11-06 10:49:06 +08:00
Jiang Guang Ming
92b9474a71 feat(mbedtls): support C2 mbedtls can use crypto algorithm in ROM 2023-10-26 20:25:53 +08:00
chenjianhua
74a64755eb Update bt lib for ESP32-C3 and ESP32-S3(c8aa206)
- Fixed extended adv address setting after adv restart
- Fixed scan channel index setting for extended scan
- Add API to set aux channel index for extended adv
2023-10-20 16:24:38 +08:00
cjin
1d693ee133 change(ble): update ble lib on c6 h2 and c2 chip 2023-10-18 17:10:19 +08:00
Jiang Jiang Jian
78ae4c3b8e Merge branch 'bugfix/disable_tsf_tbtt_soc_wakeup_after_wifi_disconnected_v5.1' into 'release/v5.1'
fix(wifi):  fix enable psram wapi dhcp fail issue, fix beacon timeout after connected, fix lightsleep failure after disconnected

See merge request espressif/esp-idf!26400
2023-10-17 14:29:41 +08:00
alanmaxwell
8467bddaea fix(wifi): Fix some wifi issue
1.fix multi antenna issue
2.fix dirty eb when rx HE rate action for C6
3.fix h/w modem state consecutive times when the modem sleep type is modified in runtime
2023-10-13 18:17:34 +08:00
luomanruo
c9f7186357 ble: update tx power level index of ESP32-H2 and ESP32-C2 2023-10-12 15:55:29 +08:00
muhaidong
039ef51db5 fix(wifi): fix some wifi issues
1. fix enable psram wapi dhcp fail issue
2. fix c6 esp_wifi_set_max_tx_power fail issue
3. fix wrong wifi mode connect crash issue
4. fix null data sequence number issue
2023-10-10 21:39:56 +08:00
alanmaxwell
f0a4aa4760 fix(phy): move phy tx power track to IDF 2023-09-27 14:55:26 +08:00
Jiang Jiang Jian
aececf745f Merge branch 'bugfix/some_wifi_fixes_v5.1' into 'release/v5.1'
fix(esp_wifi): Some Wi-Fi bug fixes

See merge request espressif/esp-idf!26084
2023-09-21 18:46:02 +08:00