summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamil Tomaszewski <kamil.tomaszewski@sony.com>2019-10-11 17:15:25 +0200
committerKamil Tomaszewski <kamil.tomaszewski@sony.com>2019-10-11 17:15:25 +0200
commit6b9375804c6ef0c56fe3bfa83c5780317dc5f4aa (patch)
tree2fe97664e3138e90aa7f0ec5926a32698eed6112
parent771f43591a41dc45e3f034f3ec4ee313a5dc2922 (diff)
Rename circuitpython.spk to firmware.spk
-rw-r--r--ports/cxd56/Makefile14
-rw-r--r--ports/cxd56/README.md2
2 files changed, 8 insertions, 8 deletions
diff --git a/ports/cxd56/Makefile b/ports/cxd56/Makefile
index 19d8ad1e9..38ebd8305 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 5b3c61726..b98cf35f2 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: