mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
25 lines
762 B
Makefile
25 lines
762 B
Makefile
# This must be a different name than 'board' as it is implemented by 'esp32c3-devkit'
|
|
USEMODULE += board_esp32c3-ci
|
|
|
|
USEMODULE += esp_idf_heap
|
|
USEMODULE += esp_log_startup
|
|
USEMODULE += esp_log_tagged
|
|
|
|
ifneq (,$(filter periph_i2c,$(USEMODULE)))
|
|
USEMODULE += esp_i2c_hw
|
|
endif
|
|
|
|
ifneq (,$(filter netdev_default,$(USEMODULE)))
|
|
# if netdev_default is used, we use gnrc modules that are enabled
|
|
# in different examples to use different esp_wifi modules
|
|
ifneq (,$(filter gnrc_netif_single,$(USEMODULE)))
|
|
# if gnrc_netif_single module is enabled, esp_wifi_enterprise is used
|
|
USEMODULE += esp_wifi_enterprise
|
|
else
|
|
# in all other case esp_wifi_ap is enabled
|
|
USEMODULE += esp_wifi_ap
|
|
endif
|
|
endif
|
|
|
|
include $(RIOTBOARD)/esp32c3-devkit/Makefile.dep
|