From 6b9375804c6ef0c56fe3bfa83c5780317dc5f4aa Mon Sep 17 00:00:00 2001 From: Kamil Tomaszewski Date: Fri, 11 Oct 2019 17:15:25 +0200 Subject: [PATCH] Rename circuitpython.spk to firmware.spk --- ports/cxd56/Makefile | 14 +++++++------- ports/cxd56/README.md | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/ports/cxd56/Makefile b/ports/cxd56/Makefile index 19d8ad1e98..38ebd83050 100644 --- a/ports/cxd56/Makefile +++ b/ports/cxd56/Makefile @@ -128,7 +128,7 @@ LDFLAGS = \ -T$(SPRESENSE_SDK)/nuttx/build/ramconfig.ld \ --gc-sections \ -Map=$(BUILD)/output.map \ - -o $(BUILD)/circuitpython.elf \ + -o $(BUILD)/firmware.elf \ --start-group \ -u spresense_main \ $(BUILD)/libmpy.a \ @@ -181,7 +181,7 @@ SRC_QSTR += $(SRC_C) $(SRC_SUPERVISOR) $(SRC_COMMON_HAL_EXPANDED) $(SRC_SHARED_M # Sources that only hold QSTRs after pre-processing. SRC_QSTR_PREPROCESSOR += -all: $(BUILD)/circuitpython.spk +all: $(BUILD)/firmware.spk $(FIRMWARE): $(ECHO) "" @@ -196,17 +196,17 @@ $(BUILD)/libmpy.a: $(SPRESENSE_SDK) $(OBJ) $(ECHO) "AR $@" $(Q)$(AR) rcs $(BUILD)/libmpy.a $(OBJ) -$(BUILD)/circuitpython.elf: $(BUILD)/libmpy.a +$(BUILD)/firmware.elf: $(BUILD)/libmpy.a $(ECHO) "LD $@" $(Q)$(LD) $(LDFLAGS) -$(BUILD)/circuitpython.spk: $(BUILD)/circuitpython.elf +$(BUILD)/firmware.spk: $(BUILD)/firmware.elf $(ECHO) "Creating $@" - $(MKSPK) -c 2 $(BUILD)/circuitpython.elf nuttx $(BUILD)/circuitpython.spk + $(MKSPK) -c 2 $(BUILD)/firmware.elf nuttx $(BUILD)/firmware.spk -flash: $(BUILD)/circuitpython.spk +flash: $(BUILD)/firmware.spk $(ECHO) "Writing $< to the board" - $(SPRESENSE_SDK)/sdk/tools/flash.sh -c $(SERIAL) $(BUILD)/circuitpython.spk + $(SPRESENSE_SDK)/sdk/tools/flash.sh -c $(SERIAL) $(BUILD)/firmware.spk flash-bootloader: $(SPRESENSE_SDK) $(FIRMWARE) $(ECHO) "Writing loader to the board" diff --git a/ports/cxd56/README.md b/ports/cxd56/README.md index 5b3c61726b..b98cf35f24 100644 --- a/ports/cxd56/README.md +++ b/ports/cxd56/README.md @@ -83,7 +83,7 @@ To flash the bootloader run the command: $ make BOARD=spresense flash-bootloader -## Flash the circuitpython.spk image ## +## Flash the circuitpython image ## To flash the firmware run the command: