Skip to content

Commit

Permalink
Merge pull request #209 from adafruit/include-partitions-csv-artifacts
Browse files Browse the repository at this point in the history
include paritions cvs in artifacts
  • Loading branch information
hathach authored May 17, 2022
2 parents 71a22e5 + bbcccd2 commit f4072a5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ports/espressif/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,14 @@ self-update: $(SELF_BUILD)/update-tinyuf2.uf2
$(BIN):
@mkdir -p $@

# get the partition csv from sdkconfig
PARTITION_CSV := $(strip $(foreach csv,$(wildcard partitions-*.csv),$(findstring $(csv),$(file < boards/$(BOARD)/sdkconfig))))

copy-artifact: $(BIN) all self-update $(BUILD)/combined.bin
@cp $(BUILD)/bootloader/bootloader.bin $<
@cp $(BUILD)/partition_table/partition-table.bin $<
@cp $(BUILD)/ota_data_initial.bin $<
@cp $(BUILD)/tinyuf2.bin $<
@cp $(BUILD)/combined.bin $<
@cp $(SELF_BUILD)/update-tinyuf2.uf2 $<
@cp $(PARTITION_CSV) $<

0 comments on commit f4072a5

Please sign in to comment.