Skip to content

Commit

Permalink
minor Makefile adoptions
Browse files Browse the repository at this point in the history
  • Loading branch information
rgrr committed Feb 22, 2025
1 parent 225d45e commit 81e2ea3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ CMAKE_FLAGS += -DCMAKE_EXPORT_COMPILE_COMMANDS=True

ifeq ($(PICO_BOARD),)
# pico|pico_w|pico_debug_probe|pico2
PICO_BOARD := pico2
PICO_BOARD := pico
endif


Expand Down Expand Up @@ -109,9 +109,9 @@ create-images:
$(MAKE) all
cp $(BUILD_DIR)/$(PROJECT).uf2 images/yapicoprobe-$(shell printf "%02d%02d" $(VERSION_MAJOR) $(VERSION_MINOR))-picodebugprobe-$(GIT_HASH).uf2
#
$(MAKE) cmake-create-release PICO_BOARD=pico2
$(MAKE) all
cp $(BUILD_DIR)/$(PROJECT).uf2 images/yapicoprobe-$(shell printf "%02d%02d" $(VERSION_MAJOR) $(VERSION_MINOR))-pico2-$(GIT_HASH).uf2
#$(MAKE) cmake-create-release PICO_BOARD=pico2
#$(MAKE) all
#cp $(BUILD_DIR)/$(PROJECT).uf2 images/yapicoprobe-$(shell printf "%02d%02d" $(VERSION_MAJOR) $(VERSION_MINOR))-pico2-$(GIT_HASH).uf2
#
# put development environment in a clean state
$(MAKE) cmake-create-debug
Expand Down

0 comments on commit 81e2ea3

Please sign in to comment.