Skip to content

Commit

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

/* Pad out last section as the STM32H7 Flash write size is 256 bits. 32 bytes */

. = ALIGN(16);
FILL(0xffff)
. += 16;
} > AXI_SRAM AT > FLASH = 0xffff

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

/* Pad out last section as the STM32H7 Flash write size is 256 bits. 32 bytes */

. = ALIGN(16);
FILL(0xffff)
. += 16;
} > AXI_SRAM AT > FLASH = 0xffff

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

/* Pad out last section as the STM32H7 Flash write size is 256 bits. 32 bytes */

. = ALIGN(16);
FILL(0xffff)
. += 16;
} > AXI_SRAM AT > FLASH = 0xffff

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

/* Pad out last section as the STM32H7 Flash write size is 256 bits. 32 bytes */

. = ALIGN(16);
FILL(0xffff)
. += 16;
} > sram AT > flash = 0xffff

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

/* Pad out last section as the STM32H7 Flash write size is 256 bits. 32 bytes */

. = ALIGN(16);
FILL(0xffff)
. += 16;
} > sram AT > flash = 0xffff

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

/* Pad out last section as the STM32H7 Flash write size is 256 bits. 32 bytes */

. = ALIGN(16);
FILL(0xffff)
. += 16;
} > sram AT > flash = 0xffff

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

/* Pad out last section as the STM32H7 Flash write size is 256 bits. 32 bytes */

. = ALIGN(16);
FILL(0xffff)
. += 16;
} > sram AT > flash = 0xffff

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

/* Pad out last section as the STM32H7 Flash write size is 256 bits. 32 bytes */

. = ALIGN(16);
FILL(0xffff)
. += 16;
} > sram AT > flash = 0xffff

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

/* Pad out last section as the STM32H7 Flash write size is 256 bits. 32 bytes */

. = ALIGN(16);
FILL(0xffff)
. += 16;
} > sram AT > flash = 0xffff

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

/* Pad out last section as the STM32H7 Flash write size is 256 bits. 32 bytes */

. = ALIGN(16);
FILL(0xffff)
. += 16;
} > AXI_SRAM AT > FLASH = 0xffff

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

/* Pad out last section as the STM32H7 Flash write size is 256 bits. 32 bytes */

. = ALIGN(16);
FILL(0xffff)
. += 16;
} > AXI_SRAM AT > FLASH = 0xffff

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

/* Pad out last section as the STM32H7 Flash write size is 256 bits. 32 bytes */

. = ALIGN(16);
FILL(0xffff)
. += 16;
} > AXI_SRAM AT > FLASH = 0xffff

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

/* Pad out last section as the STM32H7 Flash write size is 256 bits. 32 bytes */

. = ALIGN(16);
FILL(0xffff)
. += 16;
} > AXI_SRAM AT > FLASH = 0xffff

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


/* Pad out last section as the STM32H7 Flash write size is 256 bits. 32 bytes */


. = ALIGN(16);
FILL(0xffff)
. += 16;
} > sram AT > flash = 0xffff

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

/* Pad out last section as the STM32H7 Flash write size is 256 bits. 32 bytes */

. = ALIGN(16);
FILL(0xffff)
. += 16;
} > sram AT > flash = 0xffff

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

/* Pad out last section as the STM32H7 Flash write size is 256 bits. 32 bytes */

. = ALIGN(16);
FILL(0xffff)
. += 16;
} > sram AT > flash = 0xffff

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

/* Pad out last section as the STM32H7 Flash write size is 256 bits. 32 bytes */

. = ALIGN(16);
FILL(0xffff)
. += 16;
} > sram AT > qspi = 0xffff

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

0 comments on commit f7bda17

Please sign in to comment.