diff options
| author | lynxeyed-atsu <lynxeyed@xj9.so-net.ne.jp> | 2012-08-09 22:13:57 +0900 |
|---|---|---|
| committer | lynxeyed-atsu <lynxeyed@xj9.so-net.ne.jp> | 2012-08-09 22:13:57 +0900 |
| commit | a936b176fe2aae6ac6378b73fcaad1a61cb8eca3 (patch) | |
| tree | f302e299bc5add3a7117b9f93b993cf741a2ee21 /LPC1114F_301_TQFP48/makefile | |
| parent | b9cff0a1eac16d0351053ab41237a69dfcb3ca5e (diff) | |
changed MCU settings
We can switch linker script each MCU using Configuration tab of
LPCXpresso project's properties.
Diffstat (limited to 'LPC1114F_301_TQFP48/makefile')
| -rw-r--r-- | LPC1114F_301_TQFP48/makefile | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/LPC1114F_301_TQFP48/makefile b/LPC1114F_301_TQFP48/makefile new file mode 100644 index 0000000..b97a6c6 --- /dev/null +++ b/LPC1114F_301_TQFP48/makefile @@ -0,0 +1,68 @@ +################################################################################ +# Automatically-generated file. Do not edit! +################################################################################ + +-include ../makefile.init + +RM := rm -rf + +# All of the sources participating in the build are defined here +-include sources.mk +-include subdir.mk +-include src/subdir.mk +-include src/core/subdir.mk +-include src/XBee/subdir.mk +-include src/FatFs/subdir.mk +-include objects.mk + +ifneq ($(MAKECMDGOALS),clean) +ifneq ($(strip $(C++_DEPS)),) +-include $(C++_DEPS) +endif +ifneq ($(strip $(C_DEPS)),) +-include $(C_DEPS) +endif +ifneq ($(strip $(CC_DEPS)),) +-include $(CC_DEPS) +endif +ifneq ($(strip $(CPP_DEPS)),) +-include $(CPP_DEPS) +endif +ifneq ($(strip $(CXX_DEPS)),) +-include $(CXX_DEPS) +endif +ifneq ($(strip $(C_UPPER_DEPS)),) +-include $(C_UPPER_DEPS) +endif +endif + +-include ../makefile.defs + +# Add inputs and outputs from these tool invocations to the build variables + +# All Target +all: eXodusino.axf + +# Tool invocations +eXodusino.axf: $(OBJS) $(USER_OBJS) + @echo 'Building target: $@' + @echo 'Invoking: MCU C++ Linker' + arm-none-eabi-c++ -nostdlib -Xlinker -Map="eXodusino.map" -Xlinker --gc-sections -mcpu=cortex-m0 -mthumb -T "eXodusino_LPC1114F_301_TQFP48.ld" -o"eXodusino.axf" $(OBJS) $(USER_OBJS) $(LIBS) + @echo 'Finished building target: $@' + @echo ' ' + $(MAKE) --no-print-directory post-build + +# Other Targets +clean: + -$(RM) $(OBJS)$(C++_DEPS)$(C_DEPS)$(CC_DEPS)$(CPP_DEPS)$(EXECUTABLES)$(CXX_DEPS)$(C_UPPER_DEPS) eXodusino.axf + -@echo ' ' + +post-build: + -@echo 'Performing post-build steps' + -arm-none-eabi-size "eXodusino.axf"; arm-none-eabi-objcopy -O binary "eXodusino.axf" "eXodusino.bin" ; checksum -p LPC1114_301 -d "eXodusino.bin"; + -@echo ' ' + +.PHONY: all clean dependents +.SECONDARY: post-build + +-include ../makefile.targets |
