Commit Graph

38098 Commits

Author SHA1 Message Date
Jiang Guang Ming
1f2100fc4d fix(esp_rom): cleanup esp_rom CMakeList.txt 2024-06-27 11:45:23 +08:00
C.S.M
40089b23df Merge branch 'feat/i2c_port_handle_func' into 'master'
feat(i2c_master): Add an api for retrieveing handle via port

Closes IDFGH-13021

See merge request espressif/esp-idf!31588
2024-06-27 11:25:18 +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
Myk Melez
c1e58e7d2d fix(pthread): Remove TLS pointer/deletion callback from correct thread
Originally, pthread_internal_local_storage_destructor_callback was only called from pthread_exit
on the thread whose TLS is being destroyed.

In b3755b751e, pthread_internal_local_storage_destructor_callback
started being called from pthread_join and pthread_detach on a different thread (whichever one
called one of those functions).

But pthread_internal_local_storage_destructor_callback is still calling
vTaskSetThreadLocalStoragePointer and vTaskSetThreadLocalStoragePointerAndDelCallback with a NULL
xTaskToSet argument, which causes those functions to set the TLS pointer and deletion callback
for the current thread, not the thread whose TLS is being destroyed.

This commit makes pthread_internal_local_storage_destructor_callback call
vTaskSetThreadLocalStoragePointer and vTaskSetThreadLocalStoragePointerAndDelCallback
with the handle of the thread whose TLS is being destroyed.
2024-06-26 16:31:48 -07:00
Aditya Patwardhan
ca4d5afc59 Merge branch 'fix/disable_ecdsa_key_manager_for_p4' into 'master'
fix(soc): Disable key manager and ECDSA peripheral support for esp32p4

See merge request espressif/esp-idf!31662
2024-06-26 22:01:34 +08:00
Armando (Dou Yiwen)
80f3e79b07 Merge branch 'feat/mmu_support_c5' into 'master'
mmu: remove SOC_MMU_PAGE_SIZE_CONFIGURABLE on c5 mp

See merge request espressif/esp-idf!31749
2024-06-26 21:10:48 +08:00
Armando (Dou Yiwen)
7755ce186e Merge branch 'bugfix/fix_none_iram_code_before_xip_psram' into 'master'
rtc: fixed non-iram rtc code in early stage on p4 leading xip_psram stuck

See merge request espressif/esp-idf!31742
2024-06-26 20:47:10 +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
C.S.M
1709095c5b Merge branch 'bugfix/usb_serial_jtag_simplify' into 'master'
usb-serial-jtag driver simplification

See merge request espressif/esp-idf!31477
2024-06-26 20:19:02 +08:00
Jiang Jiang Jian
f68e5c4f70 Merge branch 'bugfix/fix_idfgh_12600' into 'master'
fix(coex): fix ESP32 Wi-Fi cant tx after sw_reset with BLE scan

Closes IDFGH-12600

See merge request espressif/esp-idf!31726
2024-06-26 19:43:58 +08:00
Sudeep Mohanty
70a0b4a1bf test: Added LP core unit tests for LP SPI
This commit adds tests for LP SPI master and LP SPI slave devices.
2024-06-26 13:43:55 +02:00
Sudeep Mohanty
6e85d744a8 feat(lp-spi): Added support for LP SPI driver to the LP Core on esp32p4
This commit adds LP SPI master and LP SPI slave support for the LP Core
on the esp32p4.
2024-06-26 13:43:55 +02:00
Kevin (Lao Kaiyao)
ef63ae2cfc Merge branch 'bugfix/rename_some_touch_regs2' into 'master'
refactor(lp_ana_periph): sync the reg names to TRM (part2)

See merge request espressif/esp-idf!31694
2024-06-26 19:34:17 +08:00
Song Ruo Jing
e5dbbf467c Merge branch 'feature/esp32c5_clock_support' into 'master'
feat(clk): Add basic clock support for esp32c5 mp

Closes IDF-8642 and IDF-9009

See merge request espressif/esp-idf!31514
2024-06-26 19:27:51 +08:00
Mahavir Jain
6669caf4cf Merge branch 'feature/esp32c5_memory_protection' into 'master'
Support memory protection using PMA and PMP for ESP32-C5

Closes IDF-8833

See merge request espressif/esp-idf!31245
2024-06-26 19:18:39 +08:00
Armando
d6e9618263 change(mmu): remove SOC_MMU_PAGE_SIZE_CONFIGURABLE 2024-06-26 17:35:26 +08:00
Armando
5fe080ea5a fix(rtc): fixed non-iram rtc code in early stage on p4 leading xip_psram stuck 2024-06-26 17:30:59 +08:00
zwl
b7b32952ff feat(bluetooth/controller): Fixed the issue of unresponsiveness when using hci uart mode on ESP32-C5 2024-06-26 17:19:33 +08:00
zwl
2bd3eaf288 feat(bluetooth/controller): Fixed the issue of unresponsiveness when using hci uart mode on ESP32-C6 and ESP32-H2 2024-06-26 17:19:00 +08:00
Roland Dobai
53d3f2f594 Merge branch 'feat/wrapper_tests' into 'master'
feat: Add unit tests for new wrapper commands

Closes IDF-10224

See merge request espressif/esp-idf!31525
2024-06-26 16:06:01 +08:00
Jeroen Domburg
7982ece4af refactor(usb-serial-jtag): usb-serial-jtag driver simplification to fix rom print coexistence 2024-06-26 15:47:25 +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
C.S.M
0a12dbee45 Merge branch 'bugfix/usb_otg_console' into 'master'
fix(usb_otg): Fix bug that usb_otg console cannot work on esp32s3 (for discussion)

Closes IDFGH-13085

See merge request espressif/esp-idf!28905
2024-06-26 14:24:38 +08:00
Lou Tian Hao
ede24b0440 Merge branch 'docs/add_the_description_of_gpio_wakeup_in_lightsleep_when_pd_top' into 'master'
docs(pm): add description for gpio_wakeup

Closes PM-161

See merge request espressif/esp-idf!31709
2024-06-26 14:00:09 +08:00
Guillaume Souchere
87b1e45564 fix(console): USB Serial JTAG freezes when input received before init
When data was sent through USB Serial JTAG before the
driver was installed, the bus was malfunctioning. This
was because the interrupt bit for data reception was cleared
regardless of whether data was received or not. Consequently,
usb_serial_jtag_isr_handler_default was not triggered and the
data was never read causing the bus to malfunction.

This commit is modifying usb_serial_jtag_driver_install to
prevent clearing USB_SERIAL_JTAG_INTR_SERIAL_OUT_RECV_PKT and
USB_SERIAL_JTAG_INTR_SERIAL_IN_EMPTY thus allowing the callback
usb_serial_jtag_isr_handler_default to trigger for possible data
exchanged prior to the call to usb_serial_jtag_driver_install.

This commit also modified the while logic in linenoiseProbe to
discard any data that doesn't match the expected chaaracter sequences
to prevent random input from interfering with evaluating whether the
terminal supports escape sequences or not.

See https://github.com/espressif/esp-idf/issues/13940
2024-06-26 06:32:13 +02:00
Lou Tianhao
afbd7e2a13 docs(pm): add description for gpio_wakeup 2024-06-26 11:33:55 +08:00
Cao Sen Miao
b19f9242d7 fix(usb_otg): Fix bug that usb_otg console cannot work on esp32s3 2024-06-26 11:20:19 +08:00
Roman Leonov
d4f0b77d29 Merge branch 'feature/usb_host_ext_hub_driver' into 'master'
feat(ext_hub): Added External Hub Driver

Closes IDF-9697, IDF-9205, IDF-10073, and IDF-10100

See merge request espressif/esp-idf!30391
2024-06-26 04:37:22 +08:00
Konstantin Kondrashov
e7070e777a Merge branch 'feature/bootloader_skip_validate_in_deep_sleep_for_c2' into 'master'
feat(bootloader): BOOTLOADER_SKIP_VALIDATE_IN_DEEP_SLEEP for C2 (without RTC_MEM)

Closes IDF-9129

See merge request espressif/esp-idf!31241
2024-06-25 21:22:58 +08:00
Marius Vikhammer
0a57b255d2 ci(qemu): increase timeout for esp_intr_dump test 2024-06-25 19:26:50 +08:00
Zhang Shu Xian
fce3df1a26 Merge branch 'docs/delete_userguide_esp32_s2_devkitc_1' into 'master'
docs: Delete user guide esp32-s2-devkitc-1

See merge request espressif/esp-idf!31396
2024-06-25 19:10:34 +08:00
laokaiyao
e845c15b47 fix(rom): update rom layout for c5 2024-06-25 17:51:24 +08:00
Zhang Shuxian
885845c035 docs: Fix conflicts 2024-06-25 17:40:02 +08:00
Roman Leonov
5527ee588e docs(ext_hub): Added description for External Hub Driver 2024-06-25 11:28:03 +02:00
Roman Leonov
548b03c69f feat(ext_hub): Added External Hub driver 2024-06-25 11:28:03 +02:00
Roland Dobai
15013c978a Merge branch 'feat/added_pwsh_checker' into 'master'
feat: Added pre-commit hook of PowerShell scrip checker

Closes IDF-8301

See merge request espressif/esp-idf!30593
2024-06-25 17:18:27 +08:00
Wang Fang
3fa703ecf3 Merge branch 'docs/update_translation_for_size_speed_and_log_docs' into 'master'
docs: Update Chinese translation for tag level check related documents

Closes DOC-7425

See merge request espressif/esp-idf!31473
2024-06-25 15:58:38 +08:00
Marius Vikhammer
ce01841b10 Merge branch 'feature/smp_usage_example' into 'master'
feat(freertos): Add examples showing basic freertos SMP usage and common APIs

See merge request espressif/esp-idf!30554
2024-06-25 15:47:53 +08:00
liuning
0dcbbb8eb9 fix(coex): fix ESP32 Wi-Fi cant tx after sw_reset with BLE scan
Closes https://github.com/espressif/esp-idf/issues/13598
2024-06-25 15:42:47 +08:00
Zhang Shuxian
aee423348a docs: Resolve conflict 2024-06-25 15:22:09 +08:00
morris
dcfcf83109 fix(rmt): fix gcc static analyzer warnings 2024-06-25 14:54:00 +08:00
harshal.patil
bd4e48d0d9
feat(cpu): Configure panic exception generation using asm illegal instruction 2024-06-25 11:55:24 +05:30
harshal.patil
84afc6a955
feat(esp_hw_support): Support memory protection using PMA and PMP for ESP32-C5 2024-06-25 11:55:15 +05:30
harshal.patil
980ac9bcf5
fix(soc): Fix ESP32-C5's rom mask high and subsystem high memory addresses 2024-06-25 11:39:22 +05:30
Jiang Jiang Jian
b5762b732b Merge branch 'feat/optimize_bt_porting_layer_0619' into 'master'
Feat/optimize bt porting layer 0619

See merge request espressif/esp-idf!31653
2024-06-25 13:57:40 +08:00
Shen Meng Jing
20697f0f87 Merge branch 'docs/add_some_examples_to_i2c' into 'master'
docs: Add some application examples to i2c

Closes DOC-8018

See merge request espressif/esp-idf!31679
2024-06-25 13:19:46 +08:00
Marius Vikhammer
7ba8f6bc51 Merge branch 'feature/lp_timer_c5_mp' into 'master'
feat(lp-timer): support lp timer for C5

Closes IDF-8636

See merge request espressif/esp-idf!31631
2024-06-25 12:35:30 +08:00
Shen Meng Jing
f703e99df6 Merge branch 'docs/update_translation_for_ulp-lp-core' into 'master'
docs: Update the CN translation for ulp-lp-core

Closes DOC-7977, DOC-7877, and DOC-8019

See merge request espressif/esp-idf!31338
2024-06-25 12:21:03 +08:00
shenmengjing
1dd35f5479 docs: Add some application examples to i2c 2024-06-25 11:54:18 +08:00
Jiang Jiang Jian
f482d3a754 Merge branch 'bugfix/fix_phy_cal_data' into 'master'
fix(phy): add phy calibration data check when mode is not none calibration

Closes PM-130 and AUD-5423

See merge request espressif/esp-idf!31052
2024-06-25 11:34:24 +08:00