Skip to content

Commit 3a6a6ec

Browse files
committed
Merge branch 'fix/fix_macro_in_memory_ld' into 'master'
fix(psram): fix macro in memory.ld Closes IDFCI-2382 and IDF-11133 See merge request espressif/esp-idf!33583
2 parents e4fba01 + 05c1a0c commit 3a6a6ec

File tree

6 files changed

+3
-12
lines changed

6 files changed

+3
-12
lines changed

components/esp_system/ld/esp32c5/memory.ld.in

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,10 @@
1919
#define SRAM_SEG_END 0x4084E9A0 /* 2nd stage bootloader iram_loader_seg start address */
2020
#define SRAM_SEG_SIZE SRAM_SEG_END - SRAM_SEG_START
2121

22-
#if CONFIG_APP_BUILD_USE_FLASH_SECTIONS
2322
/*
2423
* IDRAM0_2_SEG_SIZE_DEFAULT is used when page size is 64KB
2524
*/
2625
#define IDRAM0_2_SEG_SIZE (CONFIG_MMU_PAGE_SIZE << 8)
27-
#endif
2826

2927
MEMORY
3028
{

components/esp_system/ld/esp32c61/memory.ld.in

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,10 @@
1919
#define SRAM_SEG_END 0x4083ea70 /* 2nd stage bootloader iram_loader_seg start address */
2020
#define SRAM_SEG_SIZE SRAM_SEG_END - SRAM_SEG_START
2121

22-
#if CONFIG_APP_BUILD_USE_FLASH_SECTIONS
2322
/*
2423
* IDRAM0_2_SEG_SIZE_DEFAULT is used when page size is 64KB
2524
*/
2625
#define IDRAM0_2_SEG_SIZE (CONFIG_MMU_PAGE_SIZE << 8)
27-
#endif
2826

2927
MEMORY
3028
{

components/esp_system/ld/esp32p4/memory.ld.in

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,7 @@
2626
#define SRAM_HIGH_SIZE 0x80000 - CONFIG_CACHE_L2_CACHE_SIZE
2727
#define SRAM_HIGH_END SRAM_HIGH_START + SRAM_HIGH_SIZE
2828

29-
30-
#if CONFIG_APP_BUILD_USE_FLASH_SECTIONS
3129
#define IDROM_SEG_SIZE (CONFIG_MMU_PAGE_SIZE << 10)
32-
#endif
3330

3431
#define LP_ROM_DRAM_START 0x5010fa80 // Value taken from ROM elf, includes LP ROM stack
3532
#define LP_RAM_END 0x50110000

tools/test_apps/system/.build-test-rules.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,6 @@ tools/test_apps/system/gdb_loadable_elf:
4545
- if: IDF_TARGET == "esp32c6" or IDF_TARGET == "esp32h2"
4646
temporary: true
4747
reason: target esp32c6, esp32h2 is not supported yet
48-
- if: IDF_TARGET == "esp32p4"
49-
temporary: true
50-
reason: build failed. IDF-11133
5148

5249
tools/test_apps/system/longjmp_test:
5350
enable:

tools/test_apps/system/gdb_loadable_elf/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C61 | ESP32-S2 | ESP32-S3 |
2-
| ----------------- | ----- | -------- | -------- | -------- | --------- | -------- | -------- |
1+
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C61 | ESP32-P4 | ESP32-S2 | ESP32-S3 |
2+
| ----------------- | ----- | -------- | -------- | -------- | --------- | -------- | -------- | -------- |
33

44
# Loadable ELF test application
55

tools/test_apps/system/gdb_loadable_elf/sdkconfig.defaults

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
CONFIG_LOG_DEFAULT_LEVEL_NONE=y
12
CONFIG_APP_BUILD_TYPE_RAM=y
23
CONFIG_VFS_SUPPORT_TERMIOS=n
34
CONFIG_NEWLIB_NANO_FORMAT=y

0 commit comments

Comments
 (0)