mirror of
https://github.com/Ai-Thinker-Open/Ai-Thinker-Open_RTL8710BX_ALIOS_SDK.git
synced 2025-01-30 17:05:23 +00:00
30 lines
799 B
Makefile
30 lines
799 B
Makefile
NAME := board_esp32devkitc
|
|
|
|
MODULE := 1062
|
|
HOST_ARCH := xtensa
|
|
HOST_MCU_FAMILY := esp32
|
|
SUPPORT_BINS := no
|
|
|
|
# todo: remove these after rhino/lwip ready
|
|
vcall ?= rhino
|
|
|
|
define get-os-version
|
|
"AOS-R"-$(CURRENT_TIME)
|
|
endef
|
|
|
|
CONFIG_SYSINFO_OS_VERSION := $(call get-os-version)
|
|
CONFIG_SYSINFO_PRODUCT_MODEL := ALI_AOS_ESP32
|
|
CONFIG_SYSINFO_DEVICE_NAME := ESP32
|
|
|
|
GLOBAL_CFLAGS += -DSYSINFO_PRODUCT_MODEL=\"$(CONFIG_SYSINFO_PRODUCT_MODEL)\"
|
|
GLOBAL_CFLAGS += -DSYSINFO_DEVICE_NAME=\"$(CONFIG_SYSINFO_DEVICE_NAME)\"
|
|
GLOBAL_CFLAGS += -DBOARD_ESP32
|
|
|
|
GLOBAL_INCLUDES += .
|
|
$(NAME)_SOURCES := board.c
|
|
|
|
EXTRA_TARGET_MAKEFILES += $(SOURCE_ROOT)/platform/mcu/$(HOST_MCU_FAMILY)/gen_crc_bin.mk
|
|
|
|
ifeq ($(hci_h4),1)
|
|
GLOBAL_CFLAGS += -DCONFIG_BLE_HCI_H4_UART_PORT=1
|
|
endif
|