Commit Graph

802 Commits

Author SHA1 Message Date
morris
2386e522cb Merge branch 'feat/etm_driver_support_esp32c5' into 'master'
feat(etm): support etm driver on esp32c5

Closes IDF-8693

See merge request espressif/esp-idf!32009
2024-07-15 18:05:49 +08:00
Island
6750215fb4 Merge branch 'bugfix/fix_ble_rssi_when_latency_is_not_zero' into 'master'
fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(abd7733)

Closes BCI-436

See merge request espressif/esp-idf!31941
2024-07-12 15:11:34 +08:00
morris
863344f769 feat(etm): support etm driver on esp32c5 2024-07-12 10:53:12 +08:00
zhanghaipeng
9ac080765c fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(abd7733)
- Fix the issue where RSSI is incorrect when latency is not zero
2024-07-11 13:02:43 +08:00
gaoxu
5da216a753 fix(gpio): fix gpio const zero addr 2024-07-11 09:46:58 +08:00
zwl
8504040869 feat(bluetooth/controller): adopting new HCI layer code on ESP32-C2 2024-07-09 20:43:48 +08:00
zhangyanjiao
3ade23ce22 fix(wifi/mesh): fix the issue that xon request timeout constantly when root reboot
Closes https://github.com/espressif/esp-idf/issues/13212
2024-07-08 14:01:31 +08:00
zwl
114dc82ad2 fix(ble): fixed some ble controller issues on ESP32-C2 2024-07-04 18:29:12 +08:00
Liu Xiao Yu
f889ba1b2f Merge branch 'change/rm_rom_hdr_exceptions' into 'master'
change(esp_rom): RM esp_rom header files from check_public_headers_exceptions.txt

Closes IDF-5747

See merge request espressif/esp-idf!31868
2024-07-04 15:03:13 +08:00
Kevin (Lao Kaiyao)
638f5042d1 Merge branch 'ci/enable_c5_target_test' into 'master'
ci(esp32c5): enable c5 target test

See merge request espressif/esp-idf!31776
2024-07-03 12:01:24 +08:00
Xiaoyu Liu
bdfdca24f3 change(esp_rom): RM esp_rom header files from check_public_headers_exceptions.txt
replace endian with stdint
2024-07-03 11:05:15 +08:00
Jiang Guang Ming
6cfd5967e0 Merge branch 'fix/esp_rom_cmakelists_cleanup' into 'master'
fix(esp_rom): cleanup esp_rom CMakeList.txt

See merge request espressif/esp-idf!31756
2024-07-02 17:16:25 +08:00
laokaiyao
cb22b8aaf7 ci(esp32c5): enable c5 target test 2024-07-02 16:45:49 +08:00
Liu Xiao Yu
eefe001877 Merge branch 'change/adjust_esp_rom_header_layout_v2' into 'master'
change(esp_rom): optimize header files layout in components/esp_rom

See merge request espressif/esp-idf!31590
2024-07-01 16:24:56 +08:00
Marius Vikhammer
342c9ef2bd fix(heap): add heap related rom caps for C5 2024-07-01 09:37:17 +08:00
Marius Vikhammer
2ba6f989b7 fix(wdt): bringup WDTs for CP MP 2024-06-28 09:51:57 +08:00
Jiang Guang Ming
1f2100fc4d fix(esp_rom): cleanup esp_rom CMakeList.txt 2024-06-27 11:45:23 +08:00
Xiaoyu Liu
2cb9419b14 change(esp_rom): optimize target-specific header files layout in components/esp_rom 2024-06-27 11:24:45 +08:00
Kevin (Lao Kaiyao)
be3e159cec Merge branch 'bugfix/update_rom_layout_for_c5' into 'master'
fix(rom): update rom layout for c5

See merge request espressif/esp-idf!31731
2024-06-26 20:38:36 +08:00
Song Ruo Jing
40f3bc2e57 feat(clk): Add basic clock support for esp32c5 mp
- Support SOC ROOT clock source switch
- Support CPU frequency change
- Support RTC SLOW clock source switch
- Support RTC SLOW clock + RC FAST calibration
- Remove FPGA build
2024-06-26 14:26:34 +08:00
Jiang Guang Ming
38560ac0e7 fix(esp_rom): support flash mmap with ROM APIs on c5 2024-06-26 13:07:45 +08:00
laokaiyao
e845c15b47 fix(rom): update rom layout for c5 2024-06-25 17:51:24 +08:00
Konstantin Kondrashov
1bab9da223 Merge branch 'feature/esp_rom_vprintf_supports_precision_attr' into 'master'
feat(esp_rom): Support precision attribute for esp_rom_vprintf

See merge request espressif/esp-idf!31373
2024-06-24 15:03:45 +08:00
Fu Hanxi
adf6fc1e5b
ci: disable failing esp32c5 builds 2024-06-18 08:11:44 +02:00
laokaiyao
c731b099ee remove(c5beta3): remove c5 beta3 doxy files 2024-06-17 12:02:15 +08:00
laokaiyao
1d894680a8 remove(c5beta3): remove c5 beta3 rom files 2024-06-17 12:02:15 +08:00
Fu Zhibo
157efcfdbc feat: support regi2c for esp32c5 2024-06-14 21:02:51 +08:00
Marius Vikhammer
56753c1dad Revert "fix(rom): fixed esprv_int_set_threshold on C5/C61"
This reverts commit 113c8de0fc.
2024-06-14 12:03:51 +08:00
Jiang Jiang Jian
e75d879e22 Merge branch 'bugfix/esp_rom_clic_thresh_bug' into 'master'
fix(rom): fixed esprv_int_set_threshold on C5/C61

See merge request espressif/esp-idf!31488
2024-06-14 09:08:43 +08:00
Marius Vikhammer
113c8de0fc fix(rom): fixed esprv_int_set_threshold on C5/C61 2024-06-13 17:53:03 +08:00
yinqingzhao
d6a14c2641 fix(wifi):esp32c6 update ld 2024-06-13 11:25:55 +08:00
Island
8057d80f25 Merge branch 'bugfix/fix_some_ble_bugs_240531' into 'master'
Fixed some BLE bugs 240531 on ESP32C3 (0738a61)

See merge request espressif/esp-idf!31260
2024-06-12 14:13:43 +08:00
Konstantin Kondrashov
fc5ce967a6 feat(esp_rom): Support precision attr for esp_rom_vprintf 2024-06-06 15:37:21 +03:00
linruihao
1214a9684a fix(bt): Overwrite a function in esp32c3 eco7 rom 2024-06-04 19:25:19 +08:00
Island
82af82501c Merge branch 'bugfix/esp32c2_fixed_some_ble_issues_master' into 'master'
Bugfix/esp32c2 fixed some ble issues master

Closes BLERP-768, BLERP-789, BLERP-765, BLERP-766, BLERP-769, and BLERP-655

See merge request espressif/esp-idf!31215
2024-06-04 10:21:55 +08:00
chenjianhua
f4edc80019 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(0738a61)
- Fixed BT BB interrupt allocation
- Refactor the prefix of assert print
- Fixed HCI LE set privacy mode command handle
2024-06-03 11:15:56 +08:00
Jiang Jiang Jian
7ac98d33e3 Merge branch 'bugfix/annotation_a_rom_function' into 'master'
fix(wifi): annotate a rom function

See merge request espressif/esp-idf!31142
2024-06-03 10:56:56 +08:00
Konstantin Kondrashov
53c0886469 Merge branch 'feature/esp_rom_vprintf' into 'master'
feat(esp_rom): Adds esp_rom_vprintf with the same capabilities as esp_rom_print

See merge request espressif/esp-idf!31030
2024-05-31 17:42:56 +08:00
zwl
a3e6a6b43d ble: fixed ble some issues on esp32c2 2024-05-31 14:03:29 +08:00
Konstantin Kondrashov
a3be04a087 feat(esp_rom): Adds esp_rom_vprintf with the same capabilities as esp_rom_print 2024-05-30 13:30:12 +03:00
muhaidong
b4ede21ddf fix(wifi): annotate a rom function 2024-05-29 10:54:20 +08:00
nilesh.kale
00fa28259b feat: enabled ecdsa support for c5
This commit adds support for ECDSA for ESP32-C5
2024-05-28 17:33:05 +05:30
C.S.M
374c89097f feat(spi_flash): Adjust flash clock to real 80M clock, and support 32bit address on eco1 2024-05-27 19:42:47 +08:00
Jeroen Domburg
a1ba660b4a change(system): heap_caps_alloc returns aligned memory if caps indicate a need for it
The implicit promise of heap_alloc_caps() and friends is that the memory it
returns is fit for the purpose as requested in the caps field. Before
this commit, that did not happen; e.g. DMA-capable memory wass returned
from a correct region, but not aligned/sized to something the DMA subsystem
can handle.

This commit adds an API to the esp_mm component that is then used by the
heap component to adjust allocation alignment, caps and size dependent on
the hardware requirement of the requested allocation caps.
2024-05-27 12:41:18 +08:00
Jiang Guang Ming
e829cee2fd fix(esp_rom): add new rom caps ESP_ROM_HAS_NEWLIB_NANO_PRINTF_FLOAT_BUG 2024-05-24 17:40:34 +08:00
Island
a3cb889ba3 Merge branch 'bugfix/fix_bci_416' into 'master'
Fixed BLE interrupt allocation using esp API on ESP32C3

See merge request espressif/esp-idf!30652
2024-05-22 17:57:01 +08:00
liuning
68fe185371 feat(wifi): support coex pwr 2024-05-21 14:14:30 +08:00
wangtao@espressif.com
1dbf032995 feat(wifi): add softap csa&dtim&wait_bcast_data setting and ignore err nodata 2024-05-20 13:59:45 +08:00
Sarvesh Bodakhe
6f966dd0ee fix(esp_wifi): Add some bugfixes and cleanup in softAP
1. Fix wrong reason code in 'WIFI_EVENT_AP_STADISCONNECTED' event
2. cleanup in softAP for disconnecting connected station
3. Update examples to display reason while processing WIFI_EVENT_AP_STADISCONNECTED event
2024-05-19 00:52:59 +05:30
Konstantin Kondrashov
374f497bf6 Merge branch 'feature/efuse_support_linux' into 'master'
feat(efuse): Support Linux target

Closes IDF-9144

See merge request espressif/esp-idf!30343
2024-05-16 14:12:15 +08:00
Konstantin Kondrashov
aed84fa818 feat(efuse): Support Linux target 2024-05-15 16:54:45 +03:00
zhangyanjiao
8710a192c4 fix(wifi): fixed sniffer and espnow issue
1. fix(wifi): fixed sniffer dump fcs error packets fail

Closes https://github.com/espressif/esp-idf/issues/10777

2. fix(wifi): fixed the espnow priv parameter get error

Closes https://github.com/espressif/esp-idf/issues/13693
2024-05-15 11:48:29 +08:00
chenjianhua
2c93450d59 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(eca46a0)
- Fixed adv data buffer free after restart adv
- Fixed BLE interrupt allocation using esp API
2024-05-14 14:41:39 +08:00
wanlei
e89e8e0ded feat(esp32c61): update for rom freeze 2024-05-14 12:46:51 +08:00
gaoxu
bce26b29c3 feat(rom): update c5 mp verison rom ld file 2024-05-13 16:18:18 +08:00
Wang Lei
1ee9f80067 Merge branch 'feat/remove_sdio_rst_for_c5mp_c61' into 'master'
fix(esp_rom): remove sdio rst for c5mp c61

See merge request espressif/esp-idf!30691
2024-05-13 10:40:28 +08:00
wanglei
f074909ab5 fix(esp_rom): remove sdio rst, wake cause from rom rtc.h 2024-05-11 14:46:09 +08:00
zhangyanjiao
a017812623 fix(wifi): fix the tx issue when mesh packet lifetime remain equal to zero 2024-05-10 16:28:52 +08:00
Jin Cheng
b79fcbb9d7 fix(bt/controller): Parse out the correct packet types from Host parameters
- For HCI command HCI_Enhanced_Setup_Synchronous_Connection
2024-04-30 17:38:58 +08:00
Island
6c032a0b70 Merge branch 'bugfix/fix_some_ble_bugs_240420' into 'master'
Fixed some BLE bugs 240420 on ESP32C3 (a771b7c)

Closes BLERP-704, BLERP-705, BLERP-706, BLERP-707, BLERP-708, and BLERP-709

See merge request espressif/esp-idf!30400
2024-04-26 16:37:46 +08:00
laokaiyao
2c90b71d45 feat(gpio): support GPIO on ESP32C61 2024-04-24 14:27:40 +08:00
chenjianhua
22cdf8db16 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(a771b7c)
- Fixed assert when starting advertising due to preemption
- Fixed RPA generation after each reboot
- Fixed RPA renew timer start and stop
2024-04-23 11:30:02 +08:00
Marius Vikhammer
842b6a1dc4 Merge branch 'bugfix/p4_ulp_wakeup' into 'master'
fix(ulp): fixed lp-core not booting during sleep

Closes IDF-9407

See merge request espressif/esp-idf!30296
2024-04-18 16:23:16 +08:00
Marius Vikhammer
1fa59c442b fix(ulp): fixed lp-core not booting during sleep
LP core was unable to boot when system was in deepsleep.
This was due to lp uart init in LP rom using XTAL as clk source,
which is normally powered down during sleep.

This would cause lp uart to get stuck while printing ROM output,
and the app would never boot.

Also fixed wrong wakeup cause used by HP core for ULP wake up
2024-04-18 11:36:30 +08:00
Island
2cdd56ebc3 Merge branch 'bugfix/fixed_coex_asset_on_esp32c2' into 'master'
ble: fixed an occasional assertion issue in coexistence scenarios on ESP32C2

See merge request espressif/esp-idf!30300
2024-04-18 10:54:15 +08:00
Jiang Jiang Jian
0f5aca1e47 Merge branch 'bugfix/mgmt_gcmp_issue' into 'master'
fix(wifi): Fix GCMP encryption for mgmt packets and other bugfixes

Closes WIFIBUG-293 and WIFIBUG-459

See merge request espressif/esp-idf!28449
2024-04-17 16:52:22 +08:00
zwl
d0c1ff0376 ble: fixed an occasional assertion issue in coexistence scenarios on ESP32C2 2024-04-17 14:46:02 +08:00
muhaidong
490c6d3c38 fix(wifi): fixed lmacEndFrameExchangeSequence assert issue 2024-04-17 11:16:51 +08:00
Kapil Gupta
95b522a1be fix(wifi): Fix encryption/decryption issue for mgmt packets
* Fix issues related to mgmt packets encryption in GCMP
* Fix issue of wrong decryption of mgmt packets when PMF is enabled
* Fix softAP bug in handling of SAE Reauthentication
2024-04-16 19:49:09 +05:30
Konstantin Kondrashov
b6c8a139be Merge branch 'feature/linux_improve_delay_func' into 'master'
feat(esp_rom): Improves esp_rom_delay_us for linux target

See merge request espressif/esp-idf!30217
2024-04-16 14:44:21 +08:00
Konstantin Kondrashov
b3d1b1783b feat(esp_rom): Improves esp_rom_delay_us for linux target 2024-04-12 12:52:38 +03:00
muhaidong
6d97ebf35c fix(wifi): fixed task watchdog got triggered by esp_wifi_stop issue 2024-04-11 12:03:11 +08:00
Lou Tianhao
2c59c4fbf2
fix(ci): bypass c5mp ci check 2024-04-10 20:45:49 +08:00
Lou Tianhao
8b3b1470b5 change(esp_hw_support): support cpu retention and power off during sleep for esp32c5 beta3 2024-04-09 20:58:42 +08:00
Kevin (Lao Kaiyao)
432864e917 Merge branch 'ci/enable_c5_mp_ci_jobs' into 'master'
ci(esp32c5mp): enable esp32c5 build on CI

See merge request espressif/esp-idf!29895
2024-04-08 12:16:16 +08:00
Island
f36a16bea7 Merge branch 'bugfix/fix_some_ble_bugs_240401' into 'master'
Fixed some BLE bugs 240401 on ESP32C3(5274796)

Closes BLERP-656, BLERP-657, BLERP-535, BLERP-644, BLERP-645, BLERP-658, BLERP-659, and BLERP-660

See merge request espressif/esp-idf!29998
2024-04-08 11:06:56 +08:00
laokaiyao
65b1fd33d3 ci(esp32c5mp): disable the unsupported tests 2024-04-07 12:13:29 +08:00
Gao Xiao Jie
f1babb9074 Merge branch 'bugfix/clic_edge_type_interrupt_config' into 'master'
fix(esp_rom): patch esprv_intc_int_set_type for esp32p4

See merge request espressif/esp-idf!28161
2024-04-07 11:09:19 +08:00
Alexey Lapshin
9ff7ad2173 feat(esp_rom): add esp_rom_libc_stubs.h 2024-04-03 18:34:44 +04:00
chenjianhua
ae95ad5958 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(5274796)
- Fixed extended uncoded and coded scan scheduling
- Add config for channel assessment and ping procedure
- Clear random address for extended advertising
- Add periodic advertising list check
- Fixed periodic advertising data setting with zero length
2024-04-03 17:56:21 +08:00
gaoxiaojie
aa3d3835ab fix(esp_rom): patch esprv_intc_int_set_type for esp32p4 2024-04-03 10:09:47 +08:00
laokaiyao
0cb1057915 change(rom): update the frozen rom for esp32c5mp 2024-04-01 20:53:49 +08:00
Jiang Jiang Jian
d954057ed8 Merge branch 'feat/coex_schm_ble' into 'master'
feat(ble/controller): Add coexist schm for BLE

See merge request espressif/esp-idf!29740
2024-04-01 18:26:52 +08:00
Chen Jian Xing
d5c6e53e8a Merge branch 'bugfix/fix_coex_ld_issue' into 'master'
fix(wifi): fix coex ld issue

See merge request espressif/esp-idf!29914
2024-04-01 11:30:38 +08:00
liuning
bd98ade2a8 fix(wifi): fix coex ld issue 2024-03-28 21:28:10 +08:00
wuzhenghui
4bcb88c482
change(rtc): rename sleep mode related regs defination 2024-03-28 17:49:14 +08:00
Jiang Jiang Jian
277bec6d04 Merge branch 'bugfix/fix_group_address_qos_frames_issue' into 'master'
fix(wifi): fix multicast address qos frames issue

Closes ESPCS-940 and WIFI-6500

See merge request espressif/esp-idf!29694
2024-03-28 12:55:02 +08:00
Wan Lei
e84c7f00a5 Merge branch 'feat/c6lite_c61_ci_header_tmp_app' into 'master'
feat(esp32c61): ci enable header check (stage 7/8)

See merge request espressif/esp-idf!29775
2024-03-28 11:45:20 +08:00
Harshal Patil
5274bf88e4 Merge branch 'esp32p4/add_sha_support' into 'master'
feat: add SHA support for ESP32-P4

Closes IDF-7541 and IDF-7882

See merge request espressif/esp-idf!24865
2024-03-27 20:08:28 +08:00
wanlei
535afdd7f4 feat(esp32c61): ci enable header check, fix c61 build 2024-03-27 19:39:59 +08:00
wuzhenghui
ccaae61fee
feat(esp_hw_support): support esp32p4 deepsleep 2024-03-27 13:59:36 +08:00
wuzhenghui
299199c5a5
feat(soc): add ESP_ROM_SUPPORT_DEEP_SLEEP_WAKEUP_STUB rom caps 2024-03-27 13:59:36 +08:00
harshal.patil
e6782156c4
feat(hal/sha): add SHA peripheral support for esp32p4 2024-03-27 11:23:28 +05:30
muhaidong
fedfac470a fix(wifi): fix multicast address qos frames issue 2024-03-27 10:13:14 +08:00
baohongde
4207909f5c feat(ble/controller): Add coexist schm for BLE 2024-03-26 14:44:46 +08:00
Guillaume Souchere
573bd1bcc9 Merge branch 'feat/add-heap-walker-api' into 'master'
feat(heap): Add walker to the heap component

Closes IDF-9189

See merge request espressif/esp-idf!29047
2024-03-22 15:58:34 +08:00
Guillaume Souchere
39f789df93 feat(esp_rom): patch heap walker to the ROM implementation
modify existing patch of TLSF rom and add multi heap patch
to add the walker feature to the ROM implementation of the
heap component.
2024-03-21 07:41:04 +01:00
wanlei
a611e91b2f feat(esp32c61): new chip add system and esp_timer support 2024-03-21 11:31:15 +08:00
Guillaume Souchere
5cc69ce12b feat(heap): Add walker to the heap component
Introduce new APIs in essp_heap_caps.h:
- heap_caps_walk()
- heap_caps_walk_all()

Those functions are triggering a callback for all blocks
(allocated or free) of memory present in heaps meeting
the set of capabilities passed as parameter (or all heaps
for heap_caps_walk_all() function)

test_walker.c added to test the new functionality in
test_apps/heap_test/
2024-03-20 08:33:48 +01:00
Wu Zheng Hui
c6b884d2af Merge branch 'feature/esp32p4_sleep_cpu_retention_support' into 'master'
feat(esp_hw_support): esp32p4 sleep support (Stage 2: support dualcore software sleep retention 🔋)

See merge request espressif/esp-idf!28485
2024-03-18 20:12:00 +08:00