1287 Commits

Author SHA1 Message Date
Marius Vikhammer 10637dbf5e feat(ulp): add support for ulp on esp32s31 2026-04-20 14:45:23 +08:00
Mahavir Jain 204549529a Merge branch 'fix_otatool_serial_handoff' into 'master'
fix(otatool): fix flaky serial port handoff in otatool CI test

Closes IDFCI-3263, IDFCI-3302, IDFCI-3402, IDFCI-3410, IDFCI-4548, IDFCI-5191, IDFCI-6937, and IDFCI-7329

See merge request espressif/esp-idf!47318
2026-04-15 15:48:15 +05:30
Wu Zheng Hui ec5f956516 Merge branch 'doc/fix_sleep_mode_doc' into 'master'
docs(system): update GPIO wakeup section for clarity on EXT0 and EXT1 support

See merge request espressif/esp-idf!47362
2026-04-14 16:38:34 +08:00
Samuel Obuch 38f963b2a5 ci: disable h21-usj tests because of unstable runner 2026-04-13 14:59:20 +02:00
armando bb2fd61013 fix(xip): fixed xip example 2026-04-09 16:58:03 +08:00
wuzhenghui 4b874b58af docs(system): update GPIO wakeup section for clarity on EXT0 and EXT1 support 2026-04-08 16:59:03 +08:00
hrushikesh.bhosale 926d5ee6ad fix(examples/system/ota/otatool): fix serial port contention in pytest
The otatool pytest calls dut.serial.close() and then immediately
launches otatool_example.py as a subprocess that re-opens the same
serial port via esptool. This fails intermittently because:

1. pytest-embedded's QueueFeederThread still holds a reference to
   the serial port file descriptor when close() returns, causing
   'argument must be an int, or have a fileno() method' error.

2. The OS has not fully released the serial port by the time the
   subprocess tries to open it.

Add a delay after serial close and retry logic for the subprocess
to handle transient serial port contention.

Made-with: Cursor
2026-04-07 13:47:28 +05:30
C.S.M 152b5ccb4c ci(esp32s31): Add ci target test for esp32s31 2026-04-03 11:38:45 +08:00
Marius Vikhammer e30e747d20 Merge branch 'docs/fix_check_readme_links' into 'master'
docs(examples): fix broken README links found by check_readme_links CI

See merge request espressif/esp-idf!47055
2026-04-01 14:16:51 +08:00
armando ebbd9cdb59 feat(psram): support psram device driver 2026-03-31 13:56:43 +08:00
Aditya Patwardhan 80ede37e3a Merge branch 'fix/ota_resumption_ci_failures' into 'master'
fix: solve OTA resumption CI failures

Closes IDFCI-3505 and IDFCI-3328

See merge request espressif/esp-idf!45984
2026-03-30 14:44:14 +05:30
Fu Hanxi 12cc3a92af Merge branch 'feat/parametrize-pytest-cli-args' into 'master'
ci: move test cli args alongside test scripts

Closes IDFCI-1951 and IDFCI-2940

See merge request espressif/esp-idf!46966
2026-03-28 08:04:25 +01:00
Marius Vikhammer d59a70024b docs(examples): fix broken README links found by check_readme_links CI
The hw-reference/modules-and-boards page was removed from esp-idf docs
and moved to esp-dev-kits. The ESP32-S2-Saola-1 user guide similarly
moved. The configure-builtin-jtag link used the now-obsolete chip-less
stable URL format.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-27 10:44:41 +08:00
Fu Hanxi 4f92cfd077 ci: rename eco tags to revision 2026-03-26 12:24:59 +01:00
Fu Hanxi ddc7e0cdf7 ci: move qemu test cli args alongside test scripts
remove redundant host_test marker
2026-03-26 10:56:15 +01:00
wuzhenghui 61dc18139a feat(esp_hw_support): add esp32/esp32s2/esp32s3 deepsleep gpio wakeup test case 2026-03-25 10:49:48 +08:00
wuzhenghui b6fcdb1f48 feat(esp_hw_support): support GPIO wakeup deepsleep on esp32/esp32s2/esp32s3
and expand gpio_wakeup_mask/gpio_trigger_mode to 64bit
2026-03-25 10:49:47 +08:00
wuzhenghui a441be19a7 feat(esp_hw_support): add esp_sleep_rtcio_channel_to_gpio_num for channel to IO num conversion 2026-03-25 10:49:47 +08:00
Guillaume Souchere 2a6e335189 Merge branch 'feat/esp-stdio-add-init-funcs' into 'master'
feat(console): Move IO initialization outside of the console component

See merge request espressif/esp-idf!43013
2026-03-24 09:50:58 +01:00
nilesh.kale 7647d54271 fix: solve OTA resumption CI failures
This commit started threaded server to serve multiple clients
simultaneouly in individual thread.
2026-03-18 12:16:01 +05:30
Meet Patel 3cef5673ff Merge branch 'refactor/enable_fsm_and_riscv_ulp_simultaneously' into 'master'
refactor(ulp): Allow both ULP-FSM and ULP-RISCV to enable at build time

Closes IDFGH-11916

See merge request espressif/esp-idf!45751
2026-03-17 19:29:43 +05:30
Guillaume Souchere 5fac0b7386 feat(console): Move IO initialization outside of the console component
- Move the linux repl chip and deprecate chip related functions
- Update location of driver specific default config
- Add missing comments on the newly added functions in the affected components.
2026-03-17 08:30:23 +01:00
Samuel Obuch b930bf18d0 ci(esp32p4,esp32h21): enable usb-serial-jtag tests 2026-03-16 21:14:45 +08:00
Marius Vikhammer 25a2747dfd ci: restore runnable pytest configs
Use real CI config names and minimal config aliases so these tests are
collected and built again instead of silently being skipped.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Made-with: Cursor
2026-03-16 13:45:26 +08:00
Meet Patel 13f894799c feat(ulp): New example to show ulp fsm and riscv used in same app
This example shows how to have both ULP FSM and RISCV enabled in kconfig
simultaneously, and use them one after another at run time. A new
parameter TYPE is passed to ulp_embed_binary() function to specify fsm
or riscv in CMakeLists.txt. This way, both ulp_fsm and ulp_riscv source
files can be compiled by their respective toolchains under the same
project.

The example shows ULP FSM incrementing a counter from 0 to 100, ULP
RISC-V incrementing from 100 to 500 and main CPU incrementing from 500
to 1500.
2026-03-15 14:01:30 +05:30
Meet Patel a3f167f1c4 refactor(ulp): Allow both ULP-FSM and ULP-RISCV to enable at build time
Updated kconfig option type and other supporting changes in build system
to allow enabling both ULP FSM and ULP RISCV simultaneously. Users can
choose at run time which one to initialize and use.
NOTE: Both ULP FSM and ULP RISCV can't be used simultaneously at run
time because they share some common hardware like RTC slow memory space.

Closes https://github.com/espressif/esp-idf/issues/12999
2026-03-15 14:01:30 +05:30
Evgeny Torbin 7ace6b91c9 ci: fix pre-commit hook errors 2026-03-12 12:02:11 +01:00
Evgeny Torbin d0f062c018 ci: remove unused test cases 2026-03-12 12:02:10 +01:00
Marius Vikhammer 72609b3a8a Merge branch 'docs/console_readme_links' into 'master'
docs(console): update broken link in console readme

Closes IDFGH-16978

See merge request espressif/esp-idf!44717
2026-03-11 12:54:12 +08:00
Konstantin Kondrashov c2768cf849 Merge branch 'feature/improve_ulp_delay_api' into 'master'
feat(ulp): Improved ULP delay accuracy and removed floating point operations

Closes IDFGH-16353 and IDFGH-15960

See merge request espressif/esp-idf!45937
2026-03-09 17:48:31 +02:00
hebinglin 96af3e4d2e change(example): change uart wakeup mode 0 edge threshold 2026-03-06 11:23:27 +08:00
hebinglin 048a9ae514 change(esp_hw_support): deprecate uart_set_wakeup_threshold and uart_get_wakeup_threshold 2026-03-06 11:23:27 +08:00
Li Shuai a26816a5ab fix(example): fix some issues for light sleep example
fix test related apps undeclared symbol build error
remove uart wakeup example for esp32 (not support)
2026-03-05 18:11:17 +08:00
Konstantin Kondrashov 74561963e1 feat(ulp): Improved ULP delay API accuracy and removed floating point operations
Closes https://github.com/espressif/esp-idf/issues/17494
Closes https://github.com/espressif/esp-idf/issues/16891
2026-03-05 10:39:34 +02:00
Ashish Sharma f93575a622 feat(secure_boot): adds api to verify data partition integrity
Closes https://github.com/espressif/esp-idf/issues/17482
2026-03-04 10:22:33 +08:00
Erhan Kurubas 53082cabe9 ci: skip esp32p4 jtag tests due to lack of eco6 runners 2026-02-18 13:11:23 +01:00
Erhan Kurubas 05010137f8 feat(esp_trace): add usb-serial-jtag as a transport channel 2026-02-18 12:01:40 +01:00
hrushikesh.bhosale 126731f5ea refactor(app_update): Removed the common_component dependency
- Removed the common_component build dependency from app_update and
ota examples
2026-02-12 15:48:19 +05:30
Mahavir Jain 3a093f6f11 Merge branch 'feat/spi_mode_during_ota' into 'master'
feat(app_update): add API for checking the spi mode compatibility

See merge request espressif/esp-idf!45221
2026-02-12 13:46:58 +05:30
Mahavir Jain c60f19c299 Merge branch 'fix/add_check_for_range_request_supported_by_server_during_ota_resumption' into 'master'
fix(esp_https_ota): added a check if range request is supported during OTA resumption is enabled

Closes IDFGH-16894

See merge request espressif/esp-idf!44090
2026-02-10 17:53:04 +05:30
Mahavir Jain 6ee3775e2b tests(ota): fix advanced ota case for matching chip id 2026-02-10 12:53:50 +05:30
Erhan Kurubas 8260898d44 Merge branch 'fix/apptrace_uart_flush' into 'master'
Replace ISR based Uart TX with polling

See merge request espressif/esp-idf!45586
2026-02-09 19:57:50 +01:00
Aditya Patwardhan f7977dd2ad Merge branch 'fix/esp_https_ota_header_handling_for_custom_data' into 'master'
Issue with complete headers for custom partition OTA

See merge request espressif/esp-idf!45262
2026-02-09 22:12:08 +05:30
Erhan Kurubas 5cea09fbdc fix(app_trace): implement uart TX without using ISR 2026-02-09 15:46:43 +01:00
Sudeep Mohanty 12fdd20da1 Merge branch 'fix/lp_adc_not_working_on_lp_core' into 'master'
Fixes for LP ADC to work when used from the LP core

Closes PM-646, IDFCI-5374, IDFCI-5375, IDFCI-5376, and IDFCI-5377

See merge request espressif/esp-idf!45165
2026-02-09 12:29:41 +01:00
hrushikesh.bhosale a9d94563de feat(partition_ota): Modified pytest for storage data
- Modified test for storage data, reduced the size to 500 bytes,
less than IMAGE_HEADER_SIZE (1024), to check the workflow, if the
custom partition other than APP and BOOTLOADER less IMAGE_HEADER_SIZE
performed OTA
2026-02-09 14:16:24 +05:30
nilesh.kale ba308b6d76 fix(esp_https_ota): handle ota resumption if server dosent support range requests
This commit added check to see if server supports range requets,
and fallback to OTA without resumption accordingly.

Closes https://github.com/espressif/esp-idf/pull/17960
2026-02-09 13:48:48 +05:30
Wu Zheng Hui a7582319f1 Merge branch 'fix/fix_io_wakeup_issues' into 'master'
fix(esp_hw_support): make esp_deep_sleep_enable_gpio_wakeup available to PD_TOP lightsleep

See merge request espressif/esp-idf!45337
2026-02-09 12:21:31 +08:00
wuzhenghui 6ed5789607 fix(example): fix uninitialized gpio/rtcio in deepsleep example 2026-02-06 17:49:40 +08:00
Chen Jichang b8c527a87c refactor(flash_enc): move esp_flash_encryption_enabled() to efuse component 2026-02-05 11:42:08 +08:00