File tree Expand file tree Collapse file tree 5 files changed +61
-0
lines changed
tests/build_system/external_board_dirs/esp-ci-boards/esp32c6-ci Expand file tree Collapse file tree 5 files changed +61
-0
lines changed Original file line number Diff line number Diff line change
1
+ # SPDX-FileCopyrightText: 2025 Gunar Schorcht
2
+ # SPDX-License-Identifier: LGPL-2.1-only
3
+
4
+ config BOARD
5
+ default "esp32c6-ci" if BOARD_ESP32C6_CI
6
+
7
+ config BOARD_ESP32C6_CI
8
+ bool
9
+ default y
10
+ select BOARD_COMMON_ESP32C6
11
+ select CPU_MODEL_ESP32C6_MINI_1X_X4
12
+
13
+ source "$(RIOTBOARD)/common/esp32c6/Kconfig"
Original file line number Diff line number Diff line change
1
+ # This must be a different name than 'board' as it is implemented by 'esp32c6-devkit'
2
+ MODULE = board_esp32c6-ci
3
+
4
+ DIRS += $(RIOTBOARD ) /esp32c6-devkit
5
+
6
+ include $(RIOTBASE ) /Makefile.base
Original file line number Diff line number Diff line change
1
+ # This must be a different name than 'board' as it is implemented by 'esp32c6-devkit'
2
+ USEMODULE += board_esp32c6-ci
3
+
4
+ USEMODULE += esp_idf_heap
5
+ USEMODULE += esp_jtag
6
+ USEMODULE += esp_log_startup
7
+ USEMODULE += esp_log_tagged
8
+
9
+ ifneq (,$(filter periph_i2c,$(USEMODULE)))
10
+ USEMODULE += esp_i2c_hw
11
+ endif
12
+
13
+ ifneq (,$(filter netdev_default,$(USEMODULE)))
14
+ # if netdev_default is used, we use gnrc modules that are enabled
15
+ # in different examples to use different esp_wifi modules
16
+ ifneq (,$(filter gnrc_netif_single,$(USEMODULE)))
17
+ # if gnrc_netif_single module is enabled, esp_wifi_enterprise is used
18
+ USEMODULE += esp_wifi_enterprise
19
+ else
20
+ # in all other case esp_wifi_ap is enabled
21
+ USEMODULE += esp_wifi_ap
22
+ endif
23
+ endif
24
+
25
+ ifneq (,$(filter ws281x,$(USEMODULE)))
26
+ USEMODULE += ws281x_esp32_sw
27
+ endif
28
+
29
+ include $(RIOTBOARD)/esp32c6-devkit/Makefile.dep
Original file line number Diff line number Diff line change
1
+ FEATURES_PROVIDED += esp_rtc_timer_32k
2
+
3
+ include $(RIOTBOARD)/esp32c6-devkit/Makefile.features
Original file line number Diff line number Diff line change
1
+ # We must duplicate the include done by $(RIOTBASE)/Makefile.include
2
+ # to also include the main board header
3
+ INCLUDES += $(addprefix -I,$(wildcard $(RIOTBOARD)/esp32c6-devkit/include))
4
+
5
+ # WIFI_EAP_USER and WIFI_EAP_PASS have to be defined to compile the
6
+ # optional module esp_wifi_enterprise in CI
7
+ CFLAGS += -DWIFI_EAP_USER=\"
[email protected] \"
8
+ CFLAGS += -DWIFI_EAP_PASS=\"riot\"
9
+
10
+ include $(RIOTBOARD)/esp32c6-devkit/Makefile.include
You can’t perform that action at this time.
0 commit comments