11 lines
306 B
Makefile
11 lines
306 B
Makefile
|
OUTPUT_FILENAME = firmware
|
||
|
|
||
|
## Create binary .bin file from the .out file
|
||
|
binary:
|
||
|
$(OBJCOPY) -O binary $(BUILD)/$(OUTPUT_FILENAME).elf $(BUILD)/$(OUTPUT_FILENAME).bin
|
||
|
|
||
|
## Create binary .hex file from the .out file
|
||
|
hex:
|
||
|
$(OBJCOPY) -O ihex $(BUILD)/$(OUTPUT_FILENAME).elf $(BUILD)/$(OUTPUT_FILENAME).hex
|
||
|
|