sys/arduino: Remove option
There is no clear reason why this should be configurable and causes an abstraction of USEMODULE. The true reason is to make Kconfig easier but it seems having a variable in USEMODULE is a bit strange.
This commit is contained in:
parent
02a2de4916
commit
6884927c3f
@ -6,8 +6,7 @@ ifneq (,$(filter arduino,$(USEMODULE)))
|
||||
FEATURES_REQUIRED += cpp
|
||||
FEATURES_REQUIRED += periph_gpio
|
||||
FEATURES_REQUIRED += periph_uart
|
||||
SKETCH_MODULE ?= arduino_sketches
|
||||
USEMODULE += $(SKETCH_MODULE)
|
||||
USEMODULE += arduino_sketches
|
||||
USEMODULE += fmt
|
||||
USEMODULE += ztimer_usec
|
||||
USEMODULE += ztimer_msec
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
# Add Arduino sketches to the application as a module
|
||||
|
||||
SKETCHES = $(wildcard $(APPDIR)/*.sketch)
|
||||
SKETCH_MODULE = arduino_sketches
|
||||
|
||||
ifneq (,$(SKETCHES))
|
||||
# Define application sketches module, it will be generated into $(BINDIR)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user