cc3200/Makefile: Build firmware.zip.
This allows the cc3200 port to be build with the standard autobuild script rather than the custom build-cc3200-latest.sh (which is now removed). This also fixes the path inside the zip file (by using the `-j` flag to zip). This work was funded through GitHub Sponsors. Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
This commit is contained in:
@@ -7,6 +7,8 @@ endif
|
||||
|
||||
# Make 'release' the default build type
|
||||
BTYPE ?= release
|
||||
# Make the 'application' by default ('bootloader' can be built explicitly)
|
||||
BTARGET ?= application
|
||||
|
||||
# Port for flashing firmware
|
||||
PORT ?= /dev/ttyUSB1
|
||||
|
||||
@@ -198,7 +198,7 @@ WIPY_IP ?= '192.168.1.1'
|
||||
WIPY_USER ?= 'micro'
|
||||
WIPY_PWD ?= 'python'
|
||||
|
||||
all: $(BUILD)/mcuimg.bin
|
||||
all: $(BUILD)/firmware.zip
|
||||
|
||||
.PHONY: deploy-ota
|
||||
|
||||
@@ -219,6 +219,10 @@ $(BUILD)/mcuimg.bin: $(BUILD)/application.bin
|
||||
$(ECHO) "Create $@"
|
||||
$(Q)$(SHELL) $(APP_SIGN) $(BUILD)
|
||||
|
||||
$(BUILD)/firmware.zip: $(BUILD)/mcuimg.bin
|
||||
$(ECHO) "Create $@"
|
||||
$(Q)$(ZIP) -j $@ $<
|
||||
|
||||
MAKE_PINS = boards/make-pins.py
|
||||
BOARD_PINS = boards/$(BOARD)/pins.csv
|
||||
AF_FILE = boards/cc3200_af.csv
|
||||
|
||||
Reference in New Issue
Block a user