flash_mem: alloc

This commit is contained in:
occheung 2020-12-18 17:45:42 +08:00
parent 8ce3200b5d
commit 04c0fa4074
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
MEMORY MEMORY
{ {
/* FLASH and RAM are mandatory memory regions */ /* FLASH and RAM are mandatory memory regions */
FLASH : ORIGIN = 0x08000000, LENGTH = 1024K FLASH : ORIGIN = 0x08000000, LENGTH = 1920K
RAM : ORIGIN = 0x20000000, LENGTH = 128K RAM : ORIGIN = 0x20000000, LENGTH = 128K
/* AXISRAM */ /* AXISRAM */

View File

@ -28,7 +28,7 @@ let
halt halt
stm32h7x mass_erase 1 stm32h7x mass_erase 1
flash write_image erase target/thumbv7em-none-eabihf/release/humpback-dds flash write_image erase target/thumbv7em-none-eabihf/release/humpback-dds
flash write_image flash_config.bin 0x08100000 bin flash write_image flash_config.bin 0x081e0000 bin
reset run reset run
shutdown" shutdown"
''; '';