kopia lustrzana https://github.com/espressif/esp-idf
Merge branch 'bugfix/esp32c3_wrong_iram_alignment' into 'master'
System/memprot: ESP32C3 IRAM section alignment fix (LD) Closes IDF-3554 See merge request espressif/esp-idf!14393pull/7106/head
commit
0ad7d93122
|
@ -368,7 +368,8 @@ SECTIONS
|
||||||
/* Marks the end of IRAM code segment */
|
/* Marks the end of IRAM code segment */
|
||||||
.iram0.text_end (NOLOAD) :
|
.iram0.text_end (NOLOAD) :
|
||||||
{
|
{
|
||||||
/* C3 memprot requires 512 B alignment for split lines */
|
/* C3 memprot requires 16B padding for possible CPU prefetch and 512B alignment for PMS split lines */
|
||||||
|
. += 16;
|
||||||
. = ALIGN (0x200);
|
. = ALIGN (0x200);
|
||||||
/* iram_end_test section exists for use by memprot unit tests only */
|
/* iram_end_test section exists for use by memprot unit tests only */
|
||||||
*(.iram_end_test)
|
*(.iram_end_test)
|
||||||
|
|
Ładowanie…
Reference in New Issue