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
Marius Vikhammer
b8a254f33f
test(storage): fixed failing c-file api test
2024-04-01 15:14:22 +08:00
Jiang Jiang Jian
d434034513
Merge branch 'bugfix/storage_spelling' into 'master'
...
fix(storage,esp_pm): spelling fixes by codespell pre-commit hook
See merge request espressif/esp-idf!29898
2024-03-29 11:59:48 +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
Ivan Grokhotkov
10cc15b150
fix(storage): applied spelling fixes by codespell pre-commit hook
2024-03-28 13:00:54 +01: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
Jakob Hasse
e4aa326c3a
feat(log): Added PRIuSIZE printf formatter macro
2024-03-20 16:41:22 +08: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
Alexey Lapshin
fdb7a43752
Merge branch 'feature/esp32p4_concontiguous_mem_mvp' into 'master'
...
feat(esp_system): allow .bss to spill over into L2MEM above 0x4ff40000 on P4
See merge request espressif/esp-idf!28783
2024-02-29 16:28:13 +08:00
Alexey Lapshin
824c8e0593
feat(esp_system): allow .bss to spill over into L2MEM above 0x4ff40000
...
This commit introduce SOC_MEM_NON_CONTIGUOUS_SRAM flag (that enebled for
esp32p4). If SOC_MEM_NON_CONTIGUOUS_SRAM is enabled:
- LDFLAGS+=--enable-non-contiguous-regions
- ldgen.py replaces "arrays[*]" from sections.ld.in with objects under
SURROUND keyword. (e.g. from linker.lf: data -> dram0_data SURROUND(foo))
- "mapping[*]" - refers to all other data
If SOC_MEM_NON_CONTIGUOUS_SRAM, sections.ld.in file should contain at
least one block of code like this (otherwise it does not make sense):
.dram0.bss (NOLOAD) :
{
arrays[dram0_bss]
mapping[dram0_bss]
} > sram_low
.dram1.bss (NOLOAD) :
{
/* do not place here arrays[dram0_bss] because it may be splited
* between segments */
mapping[dram0_bss]
} > sram_high
2024-02-28 19:41:25 +04: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
9b1b384ea8
Merge branch 'bugfix/remove_wdt_both_cpus_test' into 'master'
...
test(panic): remove WDT both CPU test
Closes IDF-9077 and IDF-6560
See merge request espressif/esp-idf!28623
2024-01-24 10:11:28 +08:00
Jakob Hasse
273324c635
Merge branch 'bugfix/linux_wifi_mock' into 'master'
...
fix(linux): Fixed esp_wifi mock build test
See merge request espressif/esp-idf!28607
2024-01-23 18:43:12 +08: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
Jakob Hasse
99914e1f09
fix(linux): Fixed esp_wifi mock build test
2024-01-23 09:39:03 +08:00
nilesh.kale
59c5b5fe6b
fix(bootloader): Fix compilation issue in bootloader build during verbose+sb+fe
2024-01-18 12:15:15 +05:30
Fu Hanxi
4afb86fce3
test: fix custom additional app for multicore test cases
2024-01-16 20:20:42 +01:00
Fu Hanxi
bb375ee79a
ci(ethernet): migrate from .gitlab/ci/rules.yml to .build-test-rules.yml
2024-01-10 15:31:11 +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
4f1570e904
Merge branch 'ci/fix_qemu_intr_tests' into 'master'
...
ci: fix flakey intr_dump tests in QEMU
Closes IDF-8899
See merge request espressif/esp-idf!27983
2023-12-21 10:25: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