mirror of
https://github.com/marqs85/ossc
synced 2026-11-20 21:34:29 +03:00
update flash imem addr for 2nd firmware
This commit is contained in:
1 parent
bb4932fc28
commit
3d5e849fcd
6 files changed
+8
-7
No files matched your search
@@ -1150,8 +1150,8 @@ src/userdata_sjis.c: src/userdata.c
|
||||
iconv -f UTF-8 -t SHIFT-JIS src/userdata.c > src/userdata_sjis.c
|
||||
|
||||
mem_init/flash.hex: sys_controller.elf
|
||||
$(RV_OBJCOPY) --change-addresses -0x02050000 -O binary --gap-fill 0 $< mem_init/flash.bin
|
||||
$(RV_OBJCOPY) --change-addresses -0x02050000 -O ihex --gap-fill 0 $< mem_init/flash.hex
|
||||
$(RV_OBJCOPY) --change-addresses -0x020D0000 -O binary --gap-fill 0 $< mem_init/flash.bin
|
||||
$(RV_OBJCOPY) --change-addresses -0x020D0000 -O ihex --gap-fill 0 $< mem_init/flash.hex
|
||||
mkdir -p mem_init/chunks
|
||||
rm -f mem_init/chunks/*
|
||||
split -d -b 1024 -a 4 mem_init/flash.bin mem_init/chunks/flash.
|
||||
|
||||
@@ -8,7 +8,7 @@ __DYNAMIC = 0;
|
||||
Last 16 flash sectors reserved for userdata (16x 64KB). */
|
||||
MEMORY
|
||||
{
|
||||
flash_imem : ORIGIN = 0x02050000, LENGTH = 196608
|
||||
flash_imem : ORIGIN = 0x020D0000, LENGTH = 196608
|
||||
dataram : ORIGIN = 0x00010000, LENGTH = 16384
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user