Removed ITCM_RAM warning by defining the region.
This commit is contained in:
parent
9e26a9822b
commit
7036ad9074
8
Makefile
8
Makefile
|
@ -274,15 +274,17 @@ $(TARGET_LST): $(TARGET_ELF)
|
|||
$(V0) $(OBJDUMP) -S --disassemble $< > $@
|
||||
|
||||
$(TARGET_HEX): $(TARGET_ELF)
|
||||
$(V0) $(OBJCOPY) -O ihex --set-start 0x8000000 $< $@
|
||||
$(V1) echo Creating HEX $(TARGET_HEX)
|
||||
$(V1) $(OBJCOPY) -O ihex --set-start 0x8000000 $< $@
|
||||
|
||||
$(TARGET_BIN): $(TARGET_ELF)
|
||||
$(V0) $(OBJCOPY) -O binary $< $@
|
||||
$(V1) echo Creating BIN $(TARGET_BIN)
|
||||
$(V1) $(OBJCOPY) -O binary $< $@
|
||||
|
||||
$(TARGET_ELF): $(TARGET_OBJS)
|
||||
$(V1) echo Linking $(TARGET)
|
||||
$(V1) $(CROSS_CC) -o $@ $^ $(LD_FLAGS)
|
||||
$(V0) $(SIZE) $(TARGET_ELF)
|
||||
$(V1) $(SIZE) $(TARGET_ELF)
|
||||
|
||||
# Compile
|
||||
ifeq ($(DEBUG),GDB)
|
||||
|
|
|
@ -13,6 +13,8 @@
|
|||
ENTRY(Reset_Handler)
|
||||
|
||||
/*
|
||||
0x00000000 to 0x00003FFF 16K TCM RAM,
|
||||
|
||||
0x08000000 to 0x080FFFFF 1024K full flash,
|
||||
0x08000000 to 0x08007FFF 32K isr vector, startup code,
|
||||
0x08008000 to 0x0800FFFF 32K config, // FLASH_Sector_1
|
||||
|
@ -26,6 +28,7 @@ MEMORY
|
|||
FLASH_CONFIG (r) : ORIGIN = 0x08008000, LENGTH = 32K
|
||||
FLASH1 (rx) : ORIGIN = 0x08010000, LENGTH = 960K
|
||||
|
||||
ITCM_RAM (rwx) : ORIGIN = 0x00000000, LENGTH = 16K
|
||||
TCM (rwx) : ORIGIN = 0x20000000, LENGTH = 64K
|
||||
RAM (rwx) : ORIGIN = 0x20010000, LENGTH = 256K
|
||||
MEMORY_B1 (rx) : ORIGIN = 0x60000000, LENGTH = 0K
|
||||
|
|
|
@ -13,6 +13,8 @@
|
|||
ENTRY(Reset_Handler)
|
||||
|
||||
/*
|
||||
0x00000000 to 0x00003FFF 16K TCM RAM,
|
||||
|
||||
0x08000000 to 0x080FFFFF 1024K full flash,
|
||||
0x08000000 to 0x08007FFF 32K isr vector, startup code,
|
||||
0x08008000 to 0x0800FFFF 32K config, // FLASH_Sector_1
|
||||
|
@ -26,6 +28,7 @@ MEMORY
|
|||
FLASH_CONFIG (r) : ORIGIN = 0x08008000, LENGTH = 32K
|
||||
FLASH1 (rx) : ORIGIN = 0x08010000, LENGTH = 960K
|
||||
|
||||
ITCM_RAM (rwx) : ORIGIN = 0x00000000, LENGTH = 16K
|
||||
TCM (rwx) : ORIGIN = 0x20000000, LENGTH = 64K
|
||||
RAM (rwx) : ORIGIN = 0x20010000, LENGTH = 256K
|
||||
MEMORY_B1 (rx) : ORIGIN = 0x60000000, LENGTH = 0K
|
||||
|
|
Loading…
Reference in New Issue