Skip to content

Commit

Permalink
boards:STM32H7 pad to 8 bytes
Browse files Browse the repository at this point in the history
  • Loading branch information
davids5 committed May 27, 2022
1 parent 1ba3610 commit 8abba93
Show file tree
Hide file tree
Showing 17 changed files with 68 additions and 18 deletions.
5 changes: 4 additions & 1 deletion boards/cuav/nora/nuttx-config/scripts/script.ld
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,10 @@ SECTIONS
*(.gnu.linkonce.d.*)
CONSTRUCTORS
_edata = ABSOLUTE(.);
} > AXI_SRAM AT > FLASH
. = ALIGN(8);
FILL(0xff)
. += 8;
} > AXI_SRAM AT > FLASH = 0xff

.bss : {
_sbss = ABSOLUTE(.);
Expand Down
5 changes: 4 additions & 1 deletion boards/cuav/x7pro/nuttx-config/scripts/script.ld
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,10 @@ SECTIONS
*(.gnu.linkonce.d.*)
CONSTRUCTORS
_edata = ABSOLUTE(.);
} > AXI_SRAM AT > FLASH
. = ALIGN(8);
FILL(0xff)
. += 8;
} > AXI_SRAM AT > FLASH = 0xff

.bss : {
_sbss = ABSOLUTE(.);
Expand Down
5 changes: 4 additions & 1 deletion boards/cubepilot/cubeorange/nuttx-config/scripts/script.ld
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,10 @@ SECTIONS
*(.gnu.linkonce.d.*)
CONSTRUCTORS
_edata = ABSOLUTE(.);
} > AXI_SRAM AT > FLASH
. = ALIGN(8);
FILL(0xff)
. += 8;
} > AXI_SRAM AT > FLASH = 0xff

.bss : {
_sbss = ABSOLUTE(.);
Expand Down
5 changes: 4 additions & 1 deletion boards/holybro/durandal-v1/nuttx-config/scripts/script.ld
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,10 @@ SECTIONS
*(.gnu.linkonce.d.*)
CONSTRUCTORS
_edata = ABSOLUTE(.);
} > sram AT > flash
. = ALIGN(8);
FILL(0xff)
. += 8;
} > sram AT > flash = 0xff

.bss : {
_sbss = ABSOLUTE(.);
Expand Down
5 changes: 4 additions & 1 deletion boards/holybro/kakuteh7/nuttx-config/scripts/script.ld
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,10 @@ SECTIONS
*(.gnu.linkonce.d.*)
CONSTRUCTORS
_edata = ABSOLUTE(.);
} > sram AT > flash
. = ALIGN(8);
FILL(0xff)
. += 8;
} > sram AT > flash = 0xff

.bss : {
_sbss = ABSOLUTE(.);
Expand Down
5 changes: 4 additions & 1 deletion boards/matek/h743-mini/nuttx-config/scripts/script.ld
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,10 @@ SECTIONS
*(.gnu.linkonce.d.*)
CONSTRUCTORS
_edata = ABSOLUTE(.);
} > sram AT > flash
. = ALIGN(8);
FILL(0xff)
. += 8;
} > sram AT > flash = 0xff

.bss : {
_sbss = ABSOLUTE(.);
Expand Down
5 changes: 4 additions & 1 deletion boards/matek/h743-slim/nuttx-config/scripts/script.ld
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,10 @@ SECTIONS
*(.gnu.linkonce.d.*)
CONSTRUCTORS
_edata = ABSOLUTE(.);
} > sram AT > flash
. = ALIGN(8);
FILL(0xff)
. += 8;
} > sram AT > flash = 0xff

.bss : {
_sbss = ABSOLUTE(.);
Expand Down
5 changes: 4 additions & 1 deletion boards/matek/h743/nuttx-config/scripts/script.ld
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,10 @@ SECTIONS
*(.gnu.linkonce.d.*)
CONSTRUCTORS
_edata = ABSOLUTE(.);
} > sram AT > flash
. = ALIGN(8);
FILL(0xff)
. += 8;
} > sram AT > flash = 0xff

.bss : {
_sbss = ABSOLUTE(.);
Expand Down
5 changes: 4 additions & 1 deletion boards/modalai/fc-v2/nuttx-config/scripts/script.ld
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,10 @@ SECTIONS
*(.gnu.linkonce.d.*)
CONSTRUCTORS
_edata = ABSOLUTE(.);
} > sram AT > flash
. = ALIGN(8);
FILL(0xff)
. += 8;
} > sram AT > flash = 0xff

.bss : {
_sbss = ABSOLUTE(.);
Expand Down
5 changes: 4 additions & 1 deletion boards/mro/ctrl-zero-classic/nuttx-config/scripts/script.ld
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,10 @@ SECTIONS
*(.gnu.linkonce.d.*)
CONSTRUCTORS
_edata = ABSOLUTE(.);
} > AXI_SRAM AT > FLASH
. = ALIGN(8);
FILL(0xff)
. += 8;
} > AXI_SRAM AT > FLASH = 0xff

.bss : {
_sbss = ABSOLUTE(.);
Expand Down
5 changes: 4 additions & 1 deletion boards/mro/ctrl-zero-h7-oem/nuttx-config/scripts/script.ld
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,10 @@ SECTIONS
*(.gnu.linkonce.d.*)
CONSTRUCTORS
_edata = ABSOLUTE(.);
} > AXI_SRAM AT > FLASH
. = ALIGN(8);
FILL(0xff)
. += 8;
} > AXI_SRAM AT > FLASH = 0xff

.bss : {
_sbss = ABSOLUTE(.);
Expand Down
5 changes: 4 additions & 1 deletion boards/mro/ctrl-zero-h7/nuttx-config/scripts/script.ld
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,10 @@ SECTIONS
*(.gnu.linkonce.d.*)
CONSTRUCTORS
_edata = ABSOLUTE(.);
} > AXI_SRAM AT > FLASH
. = ALIGN(8);
FILL(0xff)
. += 8;
} > AXI_SRAM AT > FLASH = 0xff

.bss : {
_sbss = ABSOLUTE(.);
Expand Down
5 changes: 4 additions & 1 deletion boards/mro/pixracerpro/nuttx-config/scripts/script.ld
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,10 @@ SECTIONS
*(.gnu.linkonce.d.*)
CONSTRUCTORS
_edata = ABSOLUTE(.);
} > AXI_SRAM AT > FLASH
. = ALIGN(8);
FILL(0xff)
. += 8;
} > AXI_SRAM AT > FLASH = 0xff

.bss : {
_sbss = ABSOLUTE(.);
Expand Down
5 changes: 4 additions & 1 deletion boards/px4/fmu-v6c/nuttx-config/scripts/script.ld
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,10 @@ SECTIONS
*(.gnu.linkonce.d.*)
CONSTRUCTORS
_edata = ABSOLUTE(.);
} > sram AT > flash
. = ALIGN(8);
FILL(0xff)
. += 8;
} > sram AT > flash = 0xff

.bss : {
_sbss = ABSOLUTE(.);
Expand Down
5 changes: 4 additions & 1 deletion boards/px4/fmu-v6u/nuttx-config/scripts/script.ld
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,10 @@ SECTIONS
*(.gnu.linkonce.d.*)
CONSTRUCTORS
_edata = ABSOLUTE(.);
} > sram AT > flash
. = ALIGN(8);
FILL(0xff)
. += 8;
} > sram AT > flash = 0xff

.bss : {
_sbss = ABSOLUTE(.);
Expand Down
6 changes: 4 additions & 2 deletions boards/px4/fmu-v6x/nuttx-config/scripts/script.ld
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,6 @@ SECTIONS
*(.gcc_except_table)
*(.gnu.linkonce.r.*)
_etext = ABSOLUTE(.);

} > flash

/*
Expand Down Expand Up @@ -187,7 +186,10 @@ SECTIONS
*(.gnu.linkonce.d.*)
CONSTRUCTORS
_edata = ABSOLUTE(.);
} > sram AT > flash
. = ALIGN(8);
FILL(0xff)
. += 8;
} > sram AT > flash = 0xff

.bss : {
_sbss = ABSOLUTE(.);
Expand Down
5 changes: 4 additions & 1 deletion boards/spracing/h7extreme/nuttx-config/scripts/script.ld
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,10 @@ SECTIONS
*(.gnu.linkonce.d.*)
CONSTRUCTORS
_edata = ABSOLUTE(.);
} > sram AT > qspi
. = ALIGN(8);
FILL(0xff)
. += 8;
} > sram AT > qspi = 0xff

.bss : {
_sbss = ABSOLUTE(.);
Expand Down

0 comments on commit 8abba93

Please sign in to comment.