File tree Expand file tree Collapse file tree 5 files changed +20
-0
lines changed Expand file tree Collapse file tree 5 files changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -47,6 +47,10 @@ user_dram_2_seg_len = SRAM1_USER_SIZE;
47
47
#undef GROUP_ROM_LINK_IN
48
48
#define GROUP_ROM_LINK_IN (vregion, lregion ) > RODATA_REGION AT > lregion
49
49
50
+ /* Make sure new sections have consistent alignment between input and output sections */
51
+ #undef SECTION_PROLOGUE
52
+ #define SECTION_PROLOGUE SECTION_DATA_PROLOGUE
53
+
50
54
MEMORY
51
55
{
52
56
#ifdef CONFIG_BOOTLOADER_MCUBOOT
Original file line number Diff line number Diff line change @@ -41,6 +41,10 @@ user_dram_seg_len = user_idram_size;
41
41
#undef GROUP_ROM_LINK_IN
42
42
#define GROUP_ROM_LINK_IN (vregion, lregion ) > RODATA_REGION AT > lregion
43
43
44
+ /* Make sure new sections have consistent alignment between input and output sections */
45
+ #undef SECTION_PROLOGUE
46
+ #define SECTION_PROLOGUE SECTION_DATA_PROLOGUE
47
+
44
48
/* Global symbols required for espressif hal build */
45
49
MEMORY
46
50
{
Original file line number Diff line number Diff line change @@ -34,6 +34,10 @@ user_sram_size = (user_sram_end - user_sram_org);
34
34
#undef GROUP_ROM_LINK_IN
35
35
#define GROUP_ROM_LINK_IN (vregion, lregion ) > CACHED_REGION AT > lregion
36
36
37
+ /* Make sure new sections have consistent alignment between input and output sections */
38
+ #undef SECTION_PROLOGUE
39
+ #define SECTION_PROLOGUE SECTION_DATA_PROLOGUE
40
+
37
41
/* TODO: add RTC support */
38
42
#define RESERVE_RTC_MEM 0
39
43
Original file line number Diff line number Diff line change @@ -42,6 +42,10 @@ user_dram_seg_len = user_idram_size;
42
42
#undef GROUP_ROM_LINK_IN
43
43
#define GROUP_ROM_LINK_IN (vregion, lregion ) > RODATA_REGION AT > lregion
44
44
45
+ /* Make sure new sections have consistent alignment between input and output sections */
46
+ #undef SECTION_PROLOGUE
47
+ #define SECTION_PROLOGUE SECTION_DATA_PROLOGUE
48
+
45
49
#define RESERVE_RTC_MEM 0
46
50
47
51
MEMORY
Original file line number Diff line number Diff line change @@ -41,6 +41,10 @@ user_dram_seg_len = user_idram_size;
41
41
#undef GROUP_ROM_LINK_IN
42
42
#define GROUP_ROM_LINK_IN (vregion, lregion ) > RODATA_REGION AT > lregion
43
43
44
+ /* Make sure new sections have consistent alignment between input and output sections */
45
+ #undef SECTION_PROLOGUE
46
+ #define SECTION_PROLOGUE SECTION_DATA_PROLOGUE
47
+
44
48
MEMORY
45
49
{
46
50
#ifdef CONFIG_BOOTLOADER_MCUBOOT
You can’t perform that action at this time.
0 commit comments