diff --git a/memory.x b/memory.x index 129865e..9feae2e 100644 --- a/memory.x +++ b/memory.x @@ -1,7 +1,7 @@ MEMORY { /* FLASH and RAM are mandatory memory regions */ - FLASH : ORIGIN = 0x08000000, LENGTH = 1024K + FLASH : ORIGIN = 0x08000000, LENGTH = 1920K RAM : ORIGIN = 0x20000000, LENGTH = 128K /* AXISRAM */ diff --git a/shell.nix b/shell.nix index a2c586e..31e31b3 100644 --- a/shell.nix +++ b/shell.nix @@ -28,7 +28,7 @@ let halt stm32h7x mass_erase 1 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 shutdown" '';