Commit Graph

1268 Commits

Author SHA1 Message Date
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
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
Marius Vikhammer f1d9e03864 ci(esp32s31): re-enable tests for hw_support, stdio, console, select, and startup_time
Re-enable ESP32S31 support for multiple test apps and examples:
- hw_support unity tests (with RWDT reset reason fix)
- eventfd example (select functionality)
- stdio test app
- console test app and examples
- startup_time example
2026-02-02 13:19:51 +08:00
Wu Zheng Hui 13730111e3 Merge branch 'fix/make_deepsleep_gpio_wakeup_usable_for_pd_top_lightsleep' into 'master'
change(esp_hw_support): deepsleep gpio wakeup API renaming to support PD_TOP lightsleep wakeup

See merge request espressif/esp-idf!38712
2026-02-02 10:38:11 +08:00
Michael (XIAO Xufeng) 5984b29af5 Merge branch 'refactor/spi_flash_private' into 'master'
refactor(spi_flash): reorganize header files, improve encapsulation and simplify ROM implementation

See merge request espressif/esp-idf!44347
2026-01-28 17:39:51 +08:00
Marius Vikhammer 5f914189c2 ci(core): removed common_components from core test-apps dependencies 2026-01-26 11:47:23 +08:00
igor.udot 4c26ab876b ci: update build-test-rules to use common_components 2026-01-23 10:14:09 +08:00
Xiao Xufeng 8dbf23630a refactor(spi_flash): reorganize header files and improve API encapsulation
This commit reorganizes SPI flash header files to better reflect their
visibility and intended usage:

1. Rename `esp_flash_port/` to `esp_flash_chips/`:
   - Better reflects that these headers are for chip driver implementations
   - All chip driver headers moved to `esp_flash_chips/` directory
   - Added README.md explaining semi-public nature of these headers

2. Move internal headers to `esp_private/`:
   - `esp_flash_internal.h` -> `esp_private/esp_flash_internal.h`
   - `memspi_host_driver.h` -> `esp_private/memspi_host_driver.h`

3. Move chip driver related headers to `esp_flash_chips/`:
   - `esp_private/esp_flash_types.h` -> `esp_flash_chips/esp_flash_types.h`
   - `spi_flash/spi_flash_defs.h` -> `esp_flash_chips/spi_flash_defs.h`
   - `spi_flash_override.h` -> `esp_flash_chips/spi_flash_override.h`
   - All `spi_flash_chip_*.h` headers moved to `esp_flash_chips/`

4. Code improvements:
   - Remove unused includes (e.g., `spi_flash_override.h` from `cache_utils.c`)
   - Use public API `esp_flash_get_size()` instead of direct member access
   - Add `esp_flash_is_quad_mode` to linker.lf for IRAM placement

5. Documentation updates:
   - Add README.md in `esp_flash_chips/` explaining semi-public headers
   - Update programming guide with warnings about internal headers
   - Update both English and Chinese documentation

6. Update all references across the codebase:
   - Update includes in `spi_flash` component
   - Update `bootloader_support`, `app_update`, `esp_tee`, `espcoredump`
   - Update example projects

Breaking changes:
- Headers moved to new locations require include path updates
- `custom_flash_driver` example temporarily disabled until external
  components are updated
2026-01-23 03:38:54 +08:00
wuzhenghui 4c996ca231 change(esp_hw_support): deprecate esp_deep_sleep_enable_gpio_wakeup API
rename esp_deep_sleep_enable_gpio_wakeup to esp_sleep_enable_gpio_wakeup_on_hp_periph_powerdown
rename esp_deepsleep_gpio_wake_up_mode_t to esp_sleep_gpio_wake_up_mode_t
2026-01-21 19:48:26 +08:00
wuzhenghui d188ad96b7 change(soc): rename peripheral powerdowned sleep wakeable IO soc_caps
rename SOC_GPIO_DEEP_SLEEP_WAKE_VALID_GPIO_MASK to SOC_GPIO_HP_PERIPH_PD_SLEEP_WAKEABLE_MASK
rename SOC_GPIO_DEEP_SLEEP_WAKE_SUPPORTED_PIN_CNT to SOC_GPIO_HP_PERIPH_PD_SLEEP_WAKEABLE_PIN_CNT
rename SOC_GPIO_SUPPORT_DEEPSLEEP_WAKEUP to SOC_GPIO_SUPPORT_HP_PERIPH_PD_SLEEP_WAKEUP
2026-01-21 19:47:33 +08:00
Konstantin Kondrashov 3e36edbd67 Merge branch 'fix/efuse_example_test_for_h2' into 'master'
fix(examples): Use another efuse block for custom efuse table

Closes IDFCI-3744 and IDFCI-3459

See merge request espressif/esp-idf!45312
2026-01-21 17:54:45 +08:00
Konstantin Kondrashov bb8a5cfe36 fix(examples): Use another efuse block for custom efuse table on ESP32H2 2026-01-21 09:29:10 +02:00
Erhan Kurubas f1d43df4a1 feat(examples): dump coverage over uart 2026-01-20 11:30:03 +03:00
Sudeep Mohanty 5f6fab3dde change(lp_adc): Cleanup LP ADC driver and example 2026-01-16 08:22:36 +01:00
He Binglin 40df15b1fc Merge branch 'feat/esp_idf_esp32h21_sdm_retention' into 'master'
Feat/esp idf esp32h21 sdm retention

Closes IDF-14159

See merge request espressif/esp-idf!45014
2026-01-13 19:53:24 +08:00
hebinglin 0e4ae326e9 feat(esp_hw_support): support sdm retention in esp32h21 2026-01-12 19:57:47 +08:00
Chen Jichang 94eeb84814 feat(gptimer): add gptimer support on esp32s31 2026-01-07 15:14:54 +08:00
Marius Vikhammer cc7ac472e6 ci(ulp): change depends_components for ULP tests and examples 2026-01-06 09:41:35 +08:00
Guillaume Souchere 622d2da492 Merge branch 'feat/freertos-depends_components' into 'master'
ci(freertos): Add depends_components attribute to build-test-rules.yml

Closes IDF-14171

See merge request espressif/esp-idf!44736
2026-01-05 10:13:27 +01:00
Guillaume Souchere 2c8dfc0afb ci(freertos): Add depends_components attribute to build-test-rules.yml 2026-01-05 09:07:27 +01:00
Guillaume Souchere 6ab76c30f8 Merge branch 'feat/console-depends-components' into 'master'
ci(console): Add depends_components attribute to .build-test-rules.yml

Closes IDF-14163

See merge request espressif/esp-idf!44733
2026-01-05 09:03:14 +01:00