7 CROSS_COMPILE = arm-elf-
8 TARGET_ARCH = -mcpu=arm7tdmi
10 # Set default C flags. If theese are set elsewhere (e.g. on a command
11 # line), these default flags are not used.
18 TOLPC = $(MAKERULES_DIR)/$(COMPILED_DIR_NAME)/bin-utils/tolpc --baud $(LPC_BAUD) --sdev $(SDEV)
19 #LOAD_CMD-ramisp = $(TOLPC) -v -q $(XTALFREQ) -L -f
20 LOAD_CMD-ram = $(TOLPC) -v -q $(XTALFREQ) -L -f
21 LOAD_CMD-mpram = $(TOLPC) -v -q $(XTALFREQ) -L -f
22 LOAD_CMD-flash = load() { HEX=$(LOCAL_BUILD_DIR)/$$(basename $$1).hex; $(CROSS_COMPILE)objcopy -O ihex $$1 $$HEX; $(MAKERULES_DIR)/$(COMPILED_DIR_NAME)/bin-utils/lpc21isp -control $$HEX $(SDEV) $(LPC_BAUD) $(XTALFREQ); }; load
24 # This selects linker script
26 DEFAULT_LD_SCRIPT_VARIANT= ram flash #ramisp flash
28 #OUTPUT_FORMATS = bin hex srec