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:
MrKevinWeiss 2021-06-25 11:46:39 +02:00
parent 02a2de4916
commit 6884927c3f
No known key found for this signature in database
GPG Key ID: 3514539D7808D123
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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)