Skip to content

Commit 920e23c

Browse files
committed
add os/hal/ports/STM32/STM32G0xx/platform.mk
1 parent a391f54 commit 920e23c

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
include ${CHIBIOS}/os/hal/ports/STM32/STM32G0xx/platform.mk
2+
3+
ifeq ($(USE_SMART_BUILD),yes)
4+
5+
# Configuration files directory
6+
ifeq ($(CONFDIR),)
7+
CONFDIR = .
8+
endif
9+
10+
HALCONF := $(strip $(shell cat $(CONFDIR)/halconf.h $(CONFDIR)/halconf_community.h | egrep -e "\#define"))
11+
12+
else
13+
endif
14+
15+
include ${CHIBIOS_CONTRIB}/os/hal/ports/STM32/LLD/CRCv1/driver.mk
16+
include ${CHIBIOS_CONTRIB}/os/hal/ports/STM32/LLD/TIMv1/driver.mk
17+
include ${CHIBIOS_CONTRIB}/os/hal/ports/STM32/LLD/COMPv1/driver.mk
18+
19+
# Shared variables
20+
ALLCSRC += $(PLATFORMSRC_CONTRIB)
21+
ALLINC += $(PLATFORMINC_CONTRIB)

0 commit comments

Comments
 (0)