Alexey Lapshin
2b36636f6f
fix(system): print warning if stray section is found while linking
2024-05-17 13:37:42 +04:00
Alexey Gerenkov
8b93323da6
Merge branch 'upgrade_clang_toolchain' into 'master'
...
Upgrade clang toolchain version to 'esp-17.0.1_20240419'
See merge request espressif/esp-idf!29811
2024-05-14 21:47:06 +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
Erhan Kurubas
8e524d708c
fix(coredump): fix buffer overflow inside esp_core_dump_get_summary
...
Closes https://github.com/espressif/esp-idf/issues/13754
2024-05-07 06:49:28 +02:00
Erhan Kurubas
94fc3630f5
ci(panic): add flash encrypted coredump tests
2024-05-06 15:54:33 +02:00
Erhan Kurubas
551d91ea8a
ci(coredump): fix capture dram tests
2024-05-06 15:43:43 +02:00
Alexey Gerenkov
86ef0c23fd
refactor(test): Change clang build tests app name
2024-05-03 16:55:18 +03:00
Alexey Gerenkov
57f61d2311
feat(tools): Update Clang version to esp-17.0.1_20240419
2024-05-03 16:55:13 +03:00
Konstantin Kondrashov
8b418d4b09
feat(esp_system): Print backtrace for both CPUs when cache error does not determine CPU
2024-04-30 15:20:58 +03:00
Erhan Kurubas
3b8191cf5d
feat(coredump): save .bss, .data and .heap sections to the elf file
2024-04-23 19:07:51 +03:00
Alexey Lapshin
6f2de1fb23
fix(system): esp32p4: fix mepc when load/store failure occurred
2024-04-18 19:49:19 +04: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
Ivan Grokhotkov
545203f1c8
change(ci): split test_apps build-test-rules, add missing code owners
2024-04-17 11:54:33 +02:00
Marius Vikhammer
4533f16c34
fix(rtc_memory): fix conflict between LP-ROM and RTC reserved
2024-04-17 13:37:56 +08:00
Mahavir Jain
024b040300
test(memprot): enable memory protection tests for P4
2024-04-14 21:16:42 +05:30
Erhan Kurubas
483b4cd65b
ci(coredump): enable custom stack tests for riscv chips
2024-04-09 13:36:30 +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
laokaiyao
65b1fd33d3
ci(esp32c5mp): disable the unsupported tests
2024-04-07 12:13:29 +08:00
Chen Yudong
7d13f8210f
ci: fix pytest generic env markers
2024-04-03 18:10:43 +08:00
Laukik Hase
48503dd39f
fix(esp_hw_support): Fix the flash I/DROM region PMP protection
2024-04-02 18:41:07 +05:30
Jiang Jiang Jian
8da9eb5168
Merge branch 'ci/reenable_bootloader_sections_test_esp32c2' into 'master'
...
ci(system): re-enable bootloader_sections test for ESP32-C2
See merge request espressif/esp-idf!29852
2024-04-01 23:13:00 +08:00
Michael (XIAO Xufeng)
5d6c56c20d
Merge branch 'fix/unused_mmap_include' into 'master'
...
fix(all): remove unused header includes
See merge request espressif/esp-idf!29816
2024-03-29 10:20:08 +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
wanlei
535afdd7f4
feat(esp32c61): ci enable header check, fix c61 build
2024-03-27 19:39:59 +08:00
Omar Chebib
a79c6f7f67
fix(esp_hw_support): clear reserved interrupts that are not applicable for each target
2024-03-27 16:21:25 +08:00
Ivan Grokhotkov
ce2ce972b8
ci(system): re-enable bootloader_sections test for ESP32-C2
2024-03-26 16:04:09 +01:00
Xiao Xufeng
313c4f2cdc
fix(all): remove unused header includes
2024-03-25 13:58:40 +08:00
Alexey Lapshin
cb82161dae
feat(system): esp32p4: support panic tests
2024-03-21 15:36:36 +04:00
Guillaume Souchere
85c2daee5b
test(esp_intr_dump): Enable test for esp32p4
...
Added back intr_dump test on esp32p4 target.
Added esp32p4.txt expected output file containing
the list of interrupts.
2024-03-14 11:35:24 +01:00
morris
3f76aca0a3
Merge branch 'contrib/github_pr_13256' into 'master'
...
Use __builtin_unreachable in HAL_ASSERT no-assert mode (GitHub PR)
Closes IDFGH-12202
See merge request espressif/esp-idf!29237
2024-03-06 18:45:29 +08:00
Marius Vikhammer
efc3f9fa88
Merge branch 'bugfix/rom_systimer_config' into 'master'
...
fix(rom): fixed systimer always using ROM implementation
See merge request espressif/esp-idf!29354
2024-03-06 12:26:06 +08:00
morris
be8033701c
fix(hal): use __builtin_unreachable in no-assert mode
...
otherwise due to esp-idf using -Werror, we can get errors in code which
uses HAL_ASSERT if for example the compiler believes that a variable is
used uninitialised, or similar.
Inspired by https://github.com/espressif/esp-idf/pull/13256
2024-03-06 11:50:32 +08:00
Marius Vikhammer
b809267359
fix(rom): fixed systimer always using ROM implementation
2024-03-06 09:47:12 +08:00
Konstantin Kondrashov
43c604f145
Merge branch 'feature/move_efuse_related_inits_into_component' into 'master'
...
feat(efuse): Move efuse-related init steps into the component
Closes IDF-8759 and IDF-8761
See merge request espressif/esp-idf!28422
2024-03-04 17:34:44 +08:00
KonstantinKondrashov
f9800e0726
feat(efuse): Move efuse-related init steps into the component
2024-03-01 21:07:03 +02:00
Mahavir Jain
e18fd01d0d
Merge branch 'fix/pmp_idcache_reg_prot' into 'master'
...
fix(esp_hw_support): Fix the I/DCACHE region PMP protection
See merge request espressif/esp-idf!28525
2024-02-29 21:39:11 +08:00
Darian Leung
87e2d842ab
change(console): Add build test for no console output
...
This commit adds a build test to test the scenario where both the primary and
secondary console outputs are disabled by Kconfig.
2024-02-28 20:39:52 +08:00
Laukik Hase
2265c0f230
feat(tools/test_apps): Add violation tests for the flash I/DROM region
...
- For SoCs supporting PMP
2024-02-28 10:54:38 +05:30
Konstantin Kondrashov
b8e2342bf8
Merge branch 'bugfix/bootloader_flash_update_size' into 'master'
...
fix(bootloader_support): Adds bootloader_flash_update_size() for the rest chips
Closes IDFGH-12123
See merge request espressif/esp-idf!29049
2024-02-22 15:49:22 +08:00
Konstantin Kondrashov
1253ab6e27
Merge branch 'feature/move_esp_timer_related_inits_into_component' into 'master'
...
feat(esp_timer): Move esp_timer-related init steps into the component
Closes IDF-8755
See merge request espressif/esp-idf!28664
2024-02-20 16:49:31 +08:00
Konstantin Kondrashov
d348258f2c
fix(test_apps): Fix coredump_uart_bin_crc.test_hw_stack_guard_cpu0 test
2024-02-19 19:21:40 +08:00
Konstantin Kondrashov
49ba674fb5
feat(esp_timer): Move esp_timer-related init steps into the component
2024-02-19 19:21:40 +08:00
Konstantin Kondrashov
9ffafd53b2
fix(bootloader_support): Adds bootloader_flash_update_size() for the rest chips
...
Closes https://github.com/espressif/esp-idf/issues/13179
2024-02-14 17:41:20 +02:00
fl0wl0w
90d1dcfd76
feat(freertos): Introduced new Kconfig option CONFIG_FREERTOS_NUMBER_OF_CORES
...
This commit replaces the use of portNUM_PROCESSORS and configNUM_CORES
macros in all of ESP-IDF. These macros are needed to realize an SMP
scenario by fetching the number of active cores FreeRTOS is running on.
Instead, a new Kconfig option, CONFIG_FREERTOS_NUMBER_OF_CORES, has been
added as a proxy for the FreeRTOS config option, configNUMBER_OF_CORES.
This new commit is now used to realize an SMP scenario in various places
in ESP-IDF.
[Sudeep Mohanty: Added new Kconfig option CONFIG_FREERTOS_NUMBER_OF_CORES]
Signed-off-by: Sudeep Mohanty <sudeep.mohanty@espressif.com>
2024-02-09 09:11:28 +01:00
Mahavir Jain
34723ad12c
Merge branch 'bugfix/ota_anti_rollback_checks_2' into 'master'
...
feat(bootloader_support): Read secure_version under sha256 protection
Closes IDF-9013
See merge request espressif/esp-idf!28740
2024-02-08 23:10:08 +08:00
Marius Vikhammer
2bb16ed45b
refactor(pthread): decouple pthread_init from esp_system
2024-02-08 09:40:46 +08:00
Mahavir Jain
3305cb4d23
fix(ota): additional checks for secure version in anti-rollback case
...
Some additional checks related to secure version of the application in
anti-rollback case have been added to avoid any attempts to boot lower
security version but valid application (e.g., passive partition image).
- Read secure_version under sha256 protection
- First check has been added in the bootloader to ensure correct secure
version after application verification and loading stage. This check
happens before setting up the flash cache mapping and handling over
the final control to application. This check ensures that application
was not swapped (e.g., to lower security version but valid image) just
before the load stage in bootloader.
- Second check has been added in the application startup code to ensure
that currently booting app has higher security version than the one
programmed in the eFuse for anti-rollback scenario. This will ensure
that only the legit application boots-up on the device for
anti-rollback case.
2024-02-07 22:23:10 +08:00
Fu Hanxi
e9f4d555a6
test: add missing host_test marker for qemu tests
2024-01-29 13:52:40 +01:00
Erhan Kurubas
f1d5f97719
feat(coredump): use SHA ROM functions for all targets except ESP32
...
For ESP32, continue using mbedtls due to a required ROM patch for the SHA implementation.
For other targets, we can now leverage the ROM functions.
2024-01-25 15:13:56 +01:00
Marius Vikhammer
297607587b
test(panic): remove WDT both CPU test
...
Test never worked on S3/P4 and was flakey on ESP32. Hard to design a reliable test
case that triggers both WDT at the exact same time.
2024-01-23 11:55:18 +08:00
Fu Hanxi
4afb86fce3
test: fix custom additional app for multicore test cases
2024-01-16 20:20:42 +01:00
Armando
3c5a4f9e8a
ci(p4): added todo jira for disabled tests on p4
2024-01-04 09:36:38 +08:00
Armando
907b876354
ci(p4): temporarily disable failed ci tests on p4
2024-01-04 09:36:06 +08:00
Armando
1ab742b3c3
ci(p4): enable esp32p4 target test
2024-01-04 09:34:55 +08:00
Marius Vikhammer
9f1d001849
Merge branch 'feat/cache_error_c6_h2' into 'master'
...
fix(panic): fixed cache error being reported as illegal instruction
Closes IDF-6398, IDF-5657, IDF-7015, and IDF-6733
See merge request espressif/esp-idf!27430
2023-12-21 10:32:06 +08:00
Marius Vikhammer
c4f2abbfd3
fix(interrupts): fixed flakey intr dump test
2023-12-19 10:36:04 +08:00
Marius Vikhammer
0e2bd068be
feat(console): added config option for console task affinity
2023-12-19 10:35:14 +08:00
laokaiyao
2b44d62e43
feat(esp32c5): support esp32c5 g0 components
2023-12-08 15:12:24 +08:00
Erhan Kurubas
892315292b
Merge branch 'save_twdt_to_coredump' into 'master'
...
feat(coredump): save twdt panic output to coredump elf file
Closes IDF-908
See merge request espressif/esp-idf!27024
2023-12-07 17:47:58 +08:00
Zhang Wen Xu
636092d2a4
Merge branch 'feature/add_config_to_set_using_custom_mac_as_base_mac' into 'master'
...
feat(mac): Add a configuration to set custom MAC as base MAC
See merge request espressif/esp-idf!26820
2023-12-06 16:29:41 +08:00
zwx
a58c416a60
feat(mac): Add a configuration to set custom MAC as base MAC
2023-12-06 10:46:22 +08:00
Erhan Kurubas
58ee206c99
feat(coredump): save twdt panic output to coredump elf file
2023-12-05 13:28:51 +01:00
Armando (Dou Yiwen)
96c1aea50a
Merge branch 'change/split_fpga_overrides.c' into 'master'
...
bringup: added bypass rng configuration for bringup stage
See merge request espressif/esp-idf!27657
2023-12-05 16:55:43 +08:00
Armando
8de0c82295
change(ram_app): added --no-reset for ran_app readme
2023-12-05 11:38:35 +08:00
Marius Vikhammer
9a6de4cb3e
fix(panic): fixed cache error being reported as illegal instruction
...
On riscv chips accessing cache mapped memory regions over the ibus would
result in an illegal instructions exception triggering faster than the cache
error interrupt/exception.
Added a cache error check in the panic handler, if any cache errors are active
the panic handler will now report a cache error, even if the trigger exception
was a illegal instructions.
2023-12-04 10:49:00 +08:00
Darian Leung
a5d5ee7445
change(xtensa): Deprecate ".../xtensa_context.h" include path
...
This commit deprecates the "freertos/xtensa_context.h" and "xtensa/xtensa_context.h"
include paths. Users should use "xtensa_context.h" instead.
- Replace legacy include paths
- Removed some unnecessary includes of "xtensa_api.h"
- Add warning to compatibility header
2023-11-30 21:58:52 +08:00
Marius Vikhammer
b96f93b879
ci(system): fixed and enabled misc system build tests
2023-11-28 14:00:16 +08:00
Marius Vikhammer
52e3f09b32
refactor(spi): moved spi hw sharing func to hw support
...
Common spi functionality for sharing the SPI bus between modules is moved from esp_driver_spi to
a more fitting location in esp_hw_support (shared HW resource control).
This also allows us to decouple the spi_flash driver from esp_driver_spi, removing
esp_driver_spi and esp_ringbuf from G1 builds.
2023-11-20 12:07:54 +08:00
Marius Vikhammer
74887d81c9
refactor(system): removed dependency on driver from g1 components
...
esp-system and esp-hw-support, and the rest of the g1 components, now only depend on
esp_driver_spi and esp_driver_gpio. Removing the rest of the driver components from g1 builds.
2023-11-13 15:42:48 +08:00
morris
ed6ede696e
Merge branch 'feature/esp_driver_mcpwm' into 'master'
...
feat(mcpwm): refactor mcpwm driver into a component
Closes IDF-8379
See merge request espressif/esp-idf!26738
2023-11-13 15:26:56 +08:00
Alexey Lapshin
fc7ac87b61
feat(tools): update gdb version to 12.1_20231023
2023-11-10 06:37:33 +00:00
morris
eb5183f503
feat(mcpwm): refactor mcpwm driver into a component
2023-11-09 22:05:06 +08:00
Armando
fca46eac52
refactor(spi): make spi driver as component
2023-11-09 14:50:05 +08:00
morris
2ef14fe55e
refactor(gptimer): refactor gptimer driver into a component
2023-11-06 17:09:31 +08:00
Song Ruo Jing
8029946cba
Merge branch 'refactor/esp_driver_gpio' into 'master'
...
refactor(gpio): make gpio driver as component
See merge request espressif/esp-idf!26509
2023-11-06 15:03:30 +08:00
Song Ruo Jing
9461993ec5
refactor(gpio): make gpio driver as component, and fix astyle
2023-11-03 15:42:23 +08:00
Xiao Xufeng
24ef7f6034
ci(ram_load_app): enable target tests for all targets
2023-11-01 02:01:45 +08:00
Mahavir Jain
11c8501f32
Merge branch 'refactor/hal_mpu_test' into 'master'
...
refactor(tools/test_apps): Move HAL tests for MPU to the `panic` test-app
Closes IDF-5590
See merge request espressif/esp-idf!26422
2023-10-27 20:50:19 +08:00
morris
cfbf857924
Merge branch 'refactor/esp_driver_pcnt' into 'master'
...
refactor(pcnt): make pcnt driver as component
Closes IDF-8380
See merge request espressif/esp-idf!26476
2023-10-27 12:37:36 +08:00
Xiao Xufeng
1f5fb3f921
spi_flash: fixed issue that enabling HPM-DC by default may cause app unable to restart
2023-10-24 10:38:08 +08:00
morris
98b5ea7bdf
refactor(pcnt): make pcnt driver as component
2023-10-23 01:45:43 +00:00
Laukik Hase
3f67722274
refactor(tools/test_apps): Move HAL tests for MPU to the panic
test-app
2023-10-13 10:16:57 +05:30
KonstantinKondrashov
a2802ef121
feat(tools): Enables unicore_bootloader test for ESP32P4
2023-10-10 11:11:32 +00:00
C.S.M
b2d7f4d0cd
Merge branch 'bugfix/compile_usj_fail_c6' into 'master'
...
ci(usb_serial_jtag): Add a pytest for usb_serial_jtag print.
Closes IDF-3201
See merge request espressif/esp-idf!26231
2023-10-10 13:47:19 +08:00
Cao Sen Miao
403f237825
feat(usb_serial_jtag): Add pytest for usb_serial_jtag
2023-10-10 10:05:46 +08:00
Alexey Lapshin
5c41edb863
fix(tools): fix panic test gcc 13.1.0 warnings
2023-10-09 12:13:02 +04:00
KonstantinKondrashov
28b8a5d9b4
fix(esp_system): Fix mixing logs, remove early info logs for 2nd CPU
...
Fixes mixing logs when two cores use esp_rom_printf
2023-10-02 12:50:40 +00:00
Ivan Grokhotkov
2fe4fe2c19
ci(system): re-enable build test app for C2 and C6, clean up configs
...
Since we can use CONFIG_NAME now to specify build rules, we don't need
to have target-specific config files.
2023-09-22 13:46:00 +02:00
Peter Dragun
3981aae79f
feat(tools/monitor): move target tests to monitor repo
2023-09-15 16:04:11 +02:00
wuzhenghui
6fea0260a3
fix(esp_system): suppress compiler warning if ESP_SYSTEM_PANIC_SILENT_REBOOT is enabled
2023-09-12 16:30:42 +08:00
Liu Linyan
5bab168b0e
feat(ble_mesh): Support Bluetooth Mesh Protocol v1.1 (Preview)
2023-09-08 21:37:33 +08:00
Roland Dobai
2fbb63124f
Merge branch 'feature/coredump_panic_details' into 'master'
...
feat(coredump): add panic details to the elf file
Closes IDF-7788 and IDF-7789
See merge request espressif/esp-idf!25198
2023-08-28 13:05:58 +08:00
Erhan Kurubas
4714521b21
feat(coredump): add panic details to the elf file
2023-08-24 10:20:56 +02:00
Armando
7dbd3f6909
feat(ci): Enable p4 example, test_apps and unit tests CI build
2023-08-24 12:51:19 +08:00
Lu Ze Yu
14d87655da
Merge branch 'fix/fix_intr_alloc_expected_result' into 'master'
...
fix(ci): fix expected intr_dump result
Closes IDFCI-1790
See merge request espressif/esp-idf!25459
2023-08-22 15:21:42 +08:00
Planck (Lu Zeyu)
99ee7d6b18
fix(ci): fix expected intr_dump result
2023-08-22 12:25:53 +08:00
Marius Vikhammer
f371679a8d
ci(build_test): enable system/build apps for C6 and C2
2023-08-18 13:08:06 +08:00
Armando (Dou Yiwen)
337aeb4b78
Merge branch 'feature/add_esp32p4_hello_world' into 'master'
...
esp32p4: introduced new chip ESP32P4: Hello World! 🌏
Closes IDF-7523
See merge request espressif/esp-idf!25013
2023-08-10 16:04:55 +08:00
Armando
706d684418
feat(esp32p4): introduced new target esp32p4, supported hello_world
2023-08-09 19:33:25 +08:00