circuitpython/nrf5/mkrules.mk

11 lines
306 B
Makefile
Raw Normal View History

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