2021-09-13 03:48:29 -07:00
|
|
|
include ${CHIBIOS}/os/hal/ports/RP/RP2040/platform.mk
|
|
|
|
|
|
|
|
ifeq ($(USE_SMART_BUILD),yes)
|
|
|
|
|
|
|
|
# Configuration files directory
|
|
|
|
ifeq ($(CONFDIR),)
|
|
|
|
CONFDIR = .
|
|
|
|
endif
|
|
|
|
|
|
|
|
HALCONF := $(strip $(shell cat $(CONFDIR)/halconf.h $(CONFDIR)/halconf_community.h | egrep -e "\#define"))
|
|
|
|
|
|
|
|
else
|
|
|
|
endif
|
|
|
|
|
|
|
|
include ${CHIBIOS_CONTRIB}/os/hal/ports/RP/LLD/I2Cv1/driver.mk
|
2022-07-16 09:05:07 -07:00
|
|
|
include ${CHIBIOS_CONTRIB}/os/hal/ports/RP/LLD/PWMv1/driver.mk
|
2021-09-02 06:26:14 -07:00
|
|
|
include ${CHIBIOS_CONTRIB}/os/hal/ports/RP/LLD/ADCv1/driver.mk
|
2021-08-25 04:15:28 -07:00
|
|
|
include ${CHIBIOS_CONTRIB}/os/hal/ports/RP/LLD/USBDv1/driver.mk
|
2021-09-13 03:48:29 -07:00
|
|
|
|
|
|
|
# Shared variables
|
|
|
|
ALLCSRC += $(PLATFORMSRC_CONTRIB)
|
|
|
|
ALLINC += $(PLATFORMINC_CONTRIB)
|