mirror of
https://github.com/hrvach/deskhop.git
synced 2024-11-27 02:03:14 +01:00
09935f5f87
- add mouse acceleration (configurable in user_config.h) - add keyboard shortcuts for output configuration - after several reports, bundling pico-sdk and tinyusb to simplify building - bugfixes
19 lines
398 B
Makefile
19 lines
398 B
Makefile
JLINK_DEVICE = rp2040_m0_0
|
|
PYOCD_TARGET = rp2040
|
|
|
|
DEPS_SUBMODULES += hw/mcu/raspberry_pi/Pico-PIO-USB
|
|
|
|
ifeq ($(DEBUG), 1)
|
|
CMAKE_DEFSYM += -DCMAKE_BUILD_TYPE=Debug
|
|
endif
|
|
|
|
$(BUILD):
|
|
cmake -S . -B $(BUILD) -DFAMILY=$(FAMILY) -DBOARD=$(BOARD) -DPICO_BUILD_DOCS=0 $(CMAKE_DEFSYM)
|
|
|
|
all: $(BUILD)
|
|
$(MAKE) -C $(BUILD)
|
|
|
|
flash: flash-pyocd
|
|
flash-uf2:
|
|
@$(CP) $(BUILD)/$(PROJECT).uf2 /media/$(USER)/RPI-RP2
|