use boot2_generic_03h for adafruit feather rp2040

- also use boot2_generic_03h for now for itsy bitsy and qt rp2040
- change default flash target for rp2040 to flash-pyocd
This commit is contained in:
hathach
2021-03-18 19:53:39 +07:00
parent e182bb2a5b
commit 249852d25c
22 changed files with 46 additions and 22 deletions
+5 -5
View File
@@ -1,5 +1,8 @@
DEPS_SUBMODULES += hw/mcu/raspberrypi/pico-sdk
JLINK_DEVICE = rp2040_m0_0
PYOCD_TARGET = rp2040
ifeq ($(DEBUG), 1)
CMAKE_DEFSYM += -DCMAKE_BUILD_TYPE=Debug
endif
@@ -13,9 +16,6 @@ all: $(BUILD)
clean:
$(RM) -rf $(BUILD)
#flash: flash-pyocd
flash:
flash: flash-pyocd
flash-uf2:
@$(CP) $(BUILD)/$(PROJECT).uf2 /media/$(USER)/RPI-RP2
JLINK_DEVICE = rp2040_m0_0
PYOCD_TARGET = rp2040