Commit Graph
100 Commits
Author SHA1 Message Date
Omar Chebib 5a2e84c07c Merge branch 'feat/esp_mmu_map_virt' into 'master'
feat(esp_mm): implement a mapping function to map at given virtual address

Closes IDF-15537 and IDF-6132

See merge request espressif/esp-idf!47219
2026-04-27 13:44:52 +08:00
Omar Chebib 8e2c7cd3aa Merge branch 'fix/update_p4_clic_registers' into 'master'
fix(soc): update the ESP32-P4 CLIC registers that changed with Rev3

See merge request espressif/esp-idf!46372
2026-04-24 18:27:13 +08:00
Omar Chebib bfe71ea0b9 Merge branch 'fix/simd_esp32s31' into 'master'
soc: enable the SIMD caps for the ESP32-S31

Closes IDF-14661

See merge request espressif/esp-idf!47836
2026-04-24 09:37:23 +08:00
Omar Chebib 108af825bf feat(esp_mm): implement a mapping function to map at given virtual address 2026-04-22 18:18:33 +08:00
Omar Chebib de7deafddb fix(soc): enable the SIMD caps for the ESP32-S31 2026-04-22 14:34:52 +08:00
Omar Chebib 6f38fa2240 fix(soc): update the ESP32-P4 CLIC registers that changed with Rev3 2026-04-22 14:09:01 +08:00
Omar Chebib 338f341110 Merge branch 'fix/implement_zcmt_workaround' into 'master'
fix(riscv): implement a workaround for Zcmp hardware bug

See merge request espressif/esp-idf!44099
2026-04-13 10:39:24 +08:00
Omar Chebib c27c33a832 fix(riscv): implement a workaround for Zcmp hardware bug 2026-04-10 15:03:09 +08:00
Omar Chebib 08f33cf590 Merge branch 'feature/esp32s31_pie_coproc_old_commit' into 'master'
feat: add support for PIE coprocessor on the ESP32-S31

Closes IDF-14867 and IDF-14661

See merge request espressif/esp-idf!45851
2026-04-01 15:46:01 +08:00
Omar Chebib 38abf98216 feat: add support for PIE coprocessor on the ESP32-S31 2026-03-31 13:27:16 +08:00
Omar Chebib a58566e3ec Merge branch 'feature/intr_alloc_private_shared' into 'master'
feat(esp_hw_support): implement private shared interrupts

Closes IDF-11087

See merge request espressif/esp-idf!46606
2026-03-25 11:45:22 +08:00
Omar Chebib 5cfe060d8e feat(esp_hw_support): implement private shared interrupts 2026-03-24 15:40:20 +08:00
Omar Chebib 76d053141e Merge branch 'bugfix/eeprom_write_page' into 'master'
fix(examples): fix EEPROM API to allow variable page sizes

See merge request espressif/esp-idf!46526
2026-03-13 19:05:22 +08:00
Omar Chebib 1c0416afcf fix(examples): fix EEPROM API to allow variable page sizes 2026-03-13 15:45:58 +08:00
Omar Chebib 8c5974efed Merge branch 'bugfix/esp_task_wdt' into 'master'
fix(esp_system): Handle failures correctly in esp_task_wdt_reconfigure() (Github PR)

Closes IDFGH-17127

See merge request espressif/esp-idf!45326
2026-02-14 10:12:49 +08:00
Omar Chebib 41e9060961 Merge branch 'fix/reenable_eh_frame' into 'master'
ci: re-enable eh_frame for the ESP32-P4

Closes IDF-14424

See merge request espressif/esp-idf!43579
2025-11-21 20:56:35 +08:00
Omar Chebib 0853adcac7 Merge branch 'ci/reenable_cxx_tests' into 'master'
ci: re-enable cxx tests_apps and examples for the ESP32-P4

Closes IDF-14402

See merge request espressif/esp-idf!43581
2025-11-21 20:37:56 +08:00
Omar Chebib 473dd5c134 ci: re-enable cxx tests_apps and examples for the ESP32-P4 2025-11-21 15:54:41 +08:00
Omar Chebib 58e2fc7926 ci: re-enable eh_frame for the ESP32-P4 2025-11-21 15:40:40 +08:00
Omar Chebib 8e12c7f3ab Merge branch 'fix/task_tracing_crashing' into 'master'
fix(heap): fix a bug where the biggest heap would be NULL on boot

Closes IDFGH-16182 and IDFGH-16183

See merge request espressif/esp-idf!41024
2025-11-12 09:33:32 +08:00
Omar Chebib 0b1aba6579 fix: wrong name in the README file for advanced heap tracing example
Closes https://github.com/espressif/esp-idf/issues/17233
2025-11-10 10:27:48 +08:00
Omar Chebib 3d5023b3a7 fix(heap): fix a bug where the biggest heap would be NULL on boot
Closes https://github.com/espressif/esp-idf/issues/17232
2025-11-10 10:27:48 +08:00
Omar Chebib 056c40424c Merge branch 'feature/mailbox' into 'master'
feat(mailbox): define and implement a mailbox API for the ESP32-P4

See merge request espressif/esp-idf!39925
2025-09-26 16:34:41 +08:00
Omar Chebib 32bb32b598 fix(ulp): fix warning in lp core I2C driver 2025-09-25 10:25:15 +08:00
Omar Chebib 324446da95 feat(mailbox): define and implement a mailbox API with hardware and software support 2025-09-25 10:25:15 +08:00
Omar Chebib e1c2ddeab6 Merge branch 'fix/esp32p4_eco5_clic' into 'master'
fix: get rid of the hardware workarounds for the latest ESP32P4 revision

Closes IDF-13409, IDF-13781, and IDF-13782

See merge request espressif/esp-idf!41719
2025-09-19 15:00:21 +08:00
Omar Chebib 63ad383c2a Merge branch 'fix/eh_frame_parser_warnings' into 'master'
fix(esp_system): fix potential warnings related to array size in .eh_frame parser

See merge request espressif/esp-idf!41935
2025-09-18 10:09:18 +08:00
Omar Chebib f2d6cbd832 fix(esp_system): fix potential warnings related to array size in .eh_frame parser 2025-09-16 14:41:22 +08:00
Omar Chebib cea17beaba fix: get rid of the hardware workarounds for the latest ESP32P4 revision 2025-09-03 17:35:26 +08:00
Omar Chebib 686165a7fc Merge branch 'fix/eh_frame_infinite_loop' into 'master'
fix(esp_system): prevent .eh_frame-based unwinding from looping indefinitely

Closes IDF-13814, BLERP-2140, BLERP-2152, BLERP-2153, and BLERP-2154

See merge request espressif/esp-idf!41164
2025-08-28 09:36:56 +08:00
Omar Chebib 11f3c47b95 fix(esp_system): prevent .eh_frame-based unwinding from looping indefinitely 2025-08-27 16:01:06 +08:00
Omar Chebib 4f4083ecda Merge branch 'feature/dsp_coprocessor_support' into 'master'
feat(riscv): add support for the DSP coprocessor

Closes IDF-13087 and LLVM-369

See merge request espressif/esp-idf!40866
2025-08-08 11:06:22 +08:00
Omar Chebib 63cf7c06d3 test(freertos): add a test case for the DSP coprocessor 2025-08-07 14:40:30 +08:00
Omar Chebib 03f4744497 feat(riscv): add support for the DSP coprocessor 2025-08-07 14:40:30 +08:00
Omar Chebib 54065dda3c Merge branch 'docs/fix_some_broken_links' into 'master'
docs: Fix some broken links to OpenOCD Debugging

Closes DOC-11273

See merge request espressif/esp-idf!40541
2025-07-14 14:14:03 +08:00
Omar Chebib f496b43943 Merge branch 'bugfix/task_wdt_not_checking_ret' into 'master'
fix(esp_system): task wdt now checks the interrupt allocator return value

Closes IDF-13478

See merge request espressif/esp-idf!40155
2025-06-27 09:42:51 +08:00
Omar Chebib 20da6a9a5c fix(esp_system): task wdt now checks the interrupt allocator return value 2025-06-26 11:38:38 +08:00
Omar Chebib e6e898e9de fix(esp_system): fix the usage conditions of os_spinlock 2025-06-23 16:24:52 +08:00
Omar Chebib 0e6c063a13 Merge branch 'bugfix/clic_mapping_mask' into 'master'
fix(hal): make CLIC interrupt routing function to only write related bits

Closes IDF-8654 and IDF-9262

See merge request espressif/esp-idf!39320
2025-06-03 10:15:50 +08:00
Omar Chebib a7388ddc6c fix(hal): make CLIC interrupt routing function to only write related bits 2025-05-29 12:29:40 +08:00
Omar Chebib 1e516f0f84 Merge branch 'fix/bootloader_reserved_area_alignment' into 'master'
fix(esp_system): fix RTC reserved area alignment in the linker script

Closes IDFGH-12017

See merge request espressif/esp-idf!28821
2025-05-19 14:09:22 +08:00
Omar Chebib 6918a45ee6 fix(esp_system): fix RTC reserved area alignment in the linker script
Make sure the size of the RTC reserved area complies with the alignment requirement.

Closes https://github.com/espressif/esp-idf/issues/13082
2025-05-15 16:11:19 +08:00
Omar Chebib d3fd64d6c0 Merge branch 'bugfix/hwlp_coproc_saving_master' into 'master'
fix(freertos): workaround a hardware bug related to HWLP coprocessor

See merge request espressif/esp-idf!37246
2025-03-19 11:58:13 +08:00
Omar Chebib 0bc169e735 fix(freertos): optimize HWLP context switch by disabling it when unused 2025-03-13 11:11:24 +08:00
Omar Chebib c26879d29e fix(freertos): workaround a hardware bug related to HWLP coprocessor
This commit manually sets the HWLP context to dirty when a Task that needs it is scheduled it.
2025-03-13 11:11:24 +08:00
Omar Chebib a99753d293 fix(esp_hw_support): clear the memory protection interrupt status on boot
Fixes https://github.com/espressif/esp-idf/issues/15359
2025-02-25 18:06:38 +08:00
Omar Chebib 7559275fef Merge branch 'bugfix/freertos_wcaps_coproc' into 'master'
fix(freertos): fix a bug in `prvTaskDeleteWithCaps` related to coprocessors

Closes IDF-12202

See merge request espressif/esp-idf!36890
2025-02-19 09:39:05 +08:00
Omar Chebib c95a12658e fix(freertos): fix a bug in prvTaskDeleteWithCaps related to coprocessors
When a coprocessor is used, the stack pointer is altered. It must be restored
before freeing the memory allocated to the task.
2025-02-18 11:59:04 +08:00
Omar Chebib 8dfcafa1b2 Merge branch 'feat/intr_alloc_force_intrno' into 'master'
feat(esp_hw_support): add the possibility to allocate two sources to the same interrupt line

Closes IDF-9552

See merge request espressif/esp-idf!35473
2025-01-20 09:43:00 +08:00
Omar Chebib cf278e8060 docs(esp_hw_support): add Chinese translation for the shared interrupts documentation 2025-01-15 13:13:34 +08:00
Omar Chebib 16b8a2ea3b feat(esp_hw_support): two interrupts sources can now be mapped to the same interrupt line 2025-01-15 13:13:24 +08:00
Omar Chebib f3af70530e fix(esp_hw_support): fix a bug in the interrupt allocator related to shared interrupts
On RISC-V targets, when allocating a shared interrupt, the provided level would
override the current level of the allocated interrupt. As such, a medium level
interrupt could become a low level one and vice versa.
2025-01-15 12:03:18 +08:00
Omar Chebib e546ce3f15 fix(esp_hw_support): fix the interrupt allocator test app's CMakeLists.txt 2025-01-15 12:03:18 +08:00
Omar Chebib 52b558d218 Merge branch 'feature/enable_fp_backtracing' into 'master'
feat(riscv): implement frame pointer option for backtracing

See merge request espressif/esp-idf!32342
2025-01-13 18:11:49 +08:00
Omar Chebib d6cd339e46 fix: take into account MR comments 2025-01-09 11:57:02 +08:00
Omar Chebib ead2c8655e feat(esp_system): TaskWDT can now use frame pointer to print the backtrace 2025-01-09 11:57:02 +08:00
Omar Chebib 1e0cdcbd13 feat(heap): enable heap tracing for the RISC-V targets
When the frame pointer is enabled, it is possible for RISC-V targets to now
possible to enable and generate heap call traces.
2025-01-09 11:57:02 +08:00
Omar Chebib 980cf269c7 feat(riscv): implement frame pointer option for backtracing 2025-01-09 11:57:02 +08:00
Omar Chebib 776049660a Merge branch 'bugfix/esp32p4_linker_script' into 'master'
fix(esp_system): add missing `array` attribute in the ESP32-P4 linker script

Closes IDF-11936

See merge request espressif/esp-idf!36067
2024-12-31 16:19:13 +08:00
Omar Chebib 414c7056a2 fix(esp_system): add missing aaray attribute in the ESP32-P4 linker script 2024-12-30 18:36:58 +08:00
Omar Chebib 55955a5cd6 Merge branch 'feat/bootloader_multiboot' into 'master'
feat(bootloader): add an example that implements multiboot

Closes IDF-9409

See merge request espressif/esp-idf!35606
2024-12-26 16:26:26 +08:00
Omar Chebib 6540208f5a Merge branch 'fix/panic_arch_size' into 'master'
fix(esp_system): fix cache error size message

Closes IDF-11769

See merge request espressif/esp-idf!35112
2024-12-26 14:58:22 +08:00
Omar Chebib 4c8056882b fix(esp_system): fix cache error size message 2024-12-26 10:45:42 +08:00
Omar Chebib 840eef31ce feat(bootloader): add an example that implements multiboot
Add a new example for the bootloader that shows how to override it to implement multiboot.
2024-12-25 12:41:15 +08:00
Omar Chebib 28f1b18675 fix(bootloader): add a new property that contains the default linker scripts 2024-12-25 12:41:15 +08:00
Omar Chebib ff12ccfd10 Merge branch 'fix/ulp_riscv_interrupt_bug' into 'master'
fix(ulp): fix ULP RISC-V interrupt handler corrupting the stack

Closes IDFGH-14126

See merge request espressif/esp-idf!35154
2024-11-26 15:40:38 +08:00
Omar Chebib 46959b28d3 fix(ulp): fix ULP RISC-V interrupt handler corrupting the stack
* Closes https://github.com/espressif/esp-idf/issues/14930
2024-11-25 12:16:53 +08:00
Omar Chebib d5f244c5f7 Merge branch 'feat/psram_qemu_16_32_mb_qpi' into 'master'
feat(esp_psram): add support for QEMU 16MB and 32MB QPI PSRAM

See merge request espressif/esp-idf!34832
2024-11-14 12:04:22 +08:00
Omar Chebib fe93c990e6 feat(esp_psram): add support for QEMU 16MB and 32MB QPI PSRAM 2024-11-14 10:24:43 +08:00
Omar Chebib 3ec05583b2 Merge branch 'contrib/github_pr_14771' into 'master'
fix(example/system/console): Add 'info' to log_level command description (GitHub PR)

Closes IDFGH-13933

See merge request espressif/esp-idf!34413
2024-11-11 10:56:56 +08:00
Omar Chebib 50ac90b489 Merge branch 'fix/nmi_not_triggering_on_s3' into 'master'
fix(examples): fix NMI interrupt example to work on ESP32-S3

Closes IDFCI-2475

See merge request espressif/esp-idf!34267
2024-11-06 10:09:57 +08:00
Omar Chebib 569222488e Merge branch 'feature/bootloader_extra_dir' into 'master'
feat(bootloader): add the possibility to specify extra components directories

See merge request espressif/esp-idf!33433
2024-11-01 16:58:01 +08:00
Omar Chebib 729c55b790 docs: changed bootloader extra component to a property in build-system.rst 2024-11-01 13:52:01 +08:00
Omar Chebib e33bcaa6d3 feat(bootloader): use idf property to specify extra components directories 2024-11-01 13:52:01 +08:00
Omar Chebib 775c65a6b7 feat(bootloader): add the possibility to specify extra components directories 2024-11-01 13:52:01 +08:00
Omar Chebib f6d154e761 fix(examples): fix NMI interrupt example to work on ESP32-S3 2024-11-01 10:17:09 +08:00
Omar Chebib 66f6364bb1 Merge branch 'staging/esp32c61_bootloader_support' into 'master'
fix(bootloader_support): remove temporary notice in build test rule for ESP32-C61

Closes IDF-9260

See merge request espressif/esp-idf!33781
2024-10-31 17:38:58 +08:00
Omar Chebib 908e1e670a test(bootloader_support): enable analog super wdt reset for the ESP32-C61 2024-10-31 10:11:44 +08:00
Omar Chebib 4e4b6c1680 Merge branch 'fix/esp_hiram_heap' into 'master'
fix(esp_psram): fix a bug in PSRAM heap registration

Closes IDF-11288

See merge request espressif/esp-idf!33923
2024-10-21 10:01:05 +08:00
Omar Chebib d327186ddd fix(esp_psram): fix a bug in PSRAM heap registration
This commit fixes a bug in the PSRAM heap initialization that didn't take into
account the reserved himem area when registering the PSRAM virtual space as a heap.
2024-10-15 11:55:28 +08:00
Omar Chebib 72f83c3441 Merge branch 'staging/esp32c61_reset_reason' into 'master'
fix(soc): add missing reset reasons for the ESP32-C61

Closes IDF-9267

See merge request espressif/esp-idf!33736
2024-09-26 10:57:21 +08:00
Omar Chebib 22436dae10 fix(soc): add missing reset reasons for the ESP32-C61 2024-09-24 13:25:21 +08:00
Omar Chebib bc0b04d779 Merge branch 'staging/enabling_panic_test_esp32c61' into 'master'
test(panic): enable tests for esp32c61

Closes IDF-10994

See merge request espressif/esp-idf!33277
2024-09-10 11:37:38 +08:00
Omar Chebib d025ff4073 test(panic): enable tests for esp32c61 2024-09-05 14:50:58 +08:00
Omar Chebib c68c404cdc Merge branch 'fix/xtensa_nmi' into 'master'
fix(esp_hw_support): make the NMI interrupts available for the main application

Closes IDF-1891 and IDFGH-12631

See merge request espressif/esp-idf!32767
2024-09-02 11:18:32 +08:00
Omar Chebib 1157a27964 Merge branch 'bugfix/intr_alloc_rom_handler' into 'master'
fix(esp_hw_support): allow allocating interrupts with handlers in ROM with IRAM attribute

Closes IDF-7971

See merge request espressif/esp-idf!32561
2024-08-30 10:50:49 +08:00
Omar Chebib 18d545708a fix(esp_hw_support): allow allocating interrupts with handlers in ROM with IRAM attribute
The interrupt allocator now allows allocating an interrupt with a handler in ROM
and flags set to ESP_INTR_FLAG_IRAM
2024-08-29 14:21:43 +08:00
Omar Chebib 928859307f fix(esp_hw_support): make the NMI interrupts available for the main application
Closes https://github.com/espressif/esp-idf/issues/13629

NMI interrupt level has been freed for all the Xtensa targets, making it possible
for the main application to use it. An example has been added to show how to
proceed.
2024-08-29 13:55:47 +08:00
Omar Chebib 6f968394bd Merge branch 'bugfix/ldgen_file_single_entry' into 'master'
fix(ldgen): fix linker script generation from a single-entry fragment file

See merge request espressif/esp-idf!33033
2024-08-27 10:10:30 +08:00
Omar Chebib a8bb279dff fix(ldgen): fix linker script generation from a single-entry fragment file 2024-08-23 17:25:19 +08:00
Omar Chebib 305fabf2cf Merge branch 'bugfix/c5_mintstatus_value' into 'master'
fix(riscv): fix a bug that affected mintstatus CSR value in the CLIC

See merge request espressif/esp-idf!32176
2024-07-26 15:35:03 +08:00
Omar Chebib f06b235709 fix(riscv): fix a that affected mintstatus CSR value in the CLIC 2024-07-26 13:56:40 +08:00
Omar Chebib 6b10f1e952 Merge branch 'docs/explain_i2c_transmit_receive' into 'master'
docs: add explanation for I2C transmist-receive operation

Closes IDFGH-13002

See merge request espressif/esp-idf!31509
2024-06-21 15:38:57 +08:00
Omar Chebib 6a542c1fa0 docs: add explanation for I2C transmist-receive operation
* Closes https://github.com/espressif/esp-idf/issues/13952
2024-06-20 11:02:52 +08:00
Omar Chebib cd7c5a8bf5 Merge branch 'feat/ai_coproc_support_esp32p4' into 'master'
feat(riscv): add support for PIE coprocessor and HWLP feature

Closes IDF-9733 and IDF-9734

See merge request espressif/esp-idf!30576
2024-05-22 12:04:38 +08:00
Omar Chebib 82668dd3fe fix(riscv): make HWLP feature use direct saving of lazy saving 2024-05-21 17:27:46 +08:00
Omar Chebib 55acc5e5e7 feat(riscv): add support for PIE coprocessor and HWLP feature
FreeRTOS tasks may now freely use the PIE coprocessor and HWLP feature.
Just like the FPU, usiing these coprocessors result in the task being pinned
to the core it is currently running on.
2024-05-20 10:47:58 +08:00
Omar Chebib faf0ea8702 Merge branch 'fix/interrupt_source_c5_beta3' into 'master'
fix(esp32c5): fix interrupt sources number for the Beta3 version

See merge request espressif/esp-idf!30271
2024-04-17 10:11:15 +08:00
Omar Chebib f39b3099f6 fix(esp32c5): fix interrupt sources number for the Beta3 version 2024-04-16 18:17:00 +08:00
Omar Chebib 007a626049 Merge branch 'fix/esp32c5_interrupt_support' into 'master'
fix(esp32c5): add CLIC interrupt controller support for the ESP32-C5 (Beta3 & MP)

Closes IDF-8654 and IDF-8655

See merge request espressif/esp-idf!30017
2024-04-16 16:35:49 +08:00