Skip to content

Commit

Permalink
fmu-v6xrt: extend bl and link to 64M flash size
Browse files Browse the repository at this point in the history
  • Loading branch information
PetervdPerk-NXP committed Mar 11, 2024
1 parent 9cef834 commit 46af975
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion boards/px4/fmu-v6xrt/nuttx-config/scripts/script.ld
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

MEMORY
{
flash (rx) : ORIGIN = 0x30020000, LENGTH = 4M-128K /* We have 64M but we do not want to wait to program it all */
flash (rx) : ORIGIN = 0x30020000, LENGTH = 64M-128K /* We have 64M but we do not want to wait to program it all */
sram (rwx) : ORIGIN = 0x20240000, LENGTH = 2M-256k-512k
itcm (rwx) : ORIGIN = 0x00000000, LENGTH = 256K /* TODO FlexRAM partition */
dtcm (rwx) : ORIGIN = 0x20000000, LENGTH = 256K
Expand Down
4 changes: 2 additions & 2 deletions boards/px4/fmu-v6xrt/src/hw_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,9 @@
#define BOARD_TYPE 35
// The board has a 64 Mb part with 16384, 4K secors, but we artificialy limit it to 4 Mb
// as 1024, 4K sectors
#define BOARD_FLASH_SECTORS 1024 // Really (16384)
#define BOARD_FLASH_SECTORS 16383 // Really (16384 - 1)
#define BOARD_FIRST_FLASH_SECTOR_TO_ERASE 32 // We resreve 128K for the bootloader
#define BOARD_FLASH_SIZE (4 * 1024 * 1024)
#define BOARD_FLASH_SIZE (64 * 1024 * 1024)

#define OSC_FREQ 24

Expand Down

0 comments on commit 46af975

Please sign in to comment.