]> git.cryptolib.org Git - arm-crypto-lib.git/blob - Makefile_cortexm3_conf.inc
forgotten file
[arm-crypto-lib.git] / Makefile_cortexm3_conf.inc
1 BOARD          = lm3s9b90_cm3
2 MCU_TARGET     = cortex-m3  
3 MCU_OPTS       = -mthumb 
4 OPTIMIZE       = -Os -fomit-frame-pointer  
5 FLASHCMD       = $(OPENOCD) -f openocd.cfg \
6                      -c "init" \
7                      -c "halt" \
8                      -c "flash write_image erase $(1) 0 bin" \
9                      -c "reset run" \
10                      -c "shutdown"
11
12 override CFLAGS_A       = $(COMMON_FLAGS) \
13                       -MF$(DEP_DIR)$(patsubst %.o,%.d,$(notdir $(1))) 
14 override CFLAGS         = $(COMMON_FLAGS) \
15                       -MF$(DEP_DIR)$(patsubst %.o,%.d,$(notdir $@))
16                       
17 override LDFLAGS       = -g -T lm3s9b90.ld -Wl,--gc-sections    \
18                          -Wl,--entry=reset_isr  \
19                          -Wl,-Map,# no space at the end
20                           
21 override ASFLAGS           =  -mcpu=$(MCU_TARGET) 
22