flash_mem: alloc
This commit is contained in:
parent
8ce3200b5d
commit
04c0fa4074
2
memory.x
2
memory.x
|
@ -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 */
|
||||||
|
|
|
@ -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"
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in New Issue