rp2040: modify flash rule

Use the "withclear" version of the katapult uf2 file when
 executing "make flash".

 Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
Eric Callahan 2024-12-18 05:12:48 -05:00
parent aa37e30b71
commit 25a23cd420
No known key found for this signature in database
GPG Key ID: 5A1EB336DFB4C71B

View File

@ -69,7 +69,7 @@ lib/rp2040_flash/rp2040_flash:
flash: $(OUT)katapult.uf2 lib/rp2040_flash/rp2040_flash flash: $(OUT)katapult.uf2 lib/rp2040_flash/rp2040_flash
@echo " Flashing $< " @echo " Flashing $< "
$(Q) $(if $(NOSUDO),,sudo) ./lib/rp2040_flash/rp2040_flash $(OUT)katapult.uf2 $(Q) $(if $(NOSUDO),,sudo) ./lib/rp2040_flash/rp2040_flash $(OUT)katapult.withclear.uf2
# Deployer build # Deployer build
deployer-y += generic/armcm_boot.c generic/armcm_reset.c $(mcu-y) deployer-y += generic/armcm_boot.c generic/armcm_reset.c $(mcu-y)