mirror of
https://github.com/Ai-Thinker-Open/Ai-Thinker-Open_RTL8710BX_ALIOS_SDK.git
synced 2025-01-30 17:05:23 +00:00
32 lines
1 KiB
Makefile
Executable file
32 lines
1 KiB
Makefile
Executable file
NAME := board_mk5080
|
|
|
|
JTAG := jlink_swd
|
|
|
|
$(NAME)_TYPE := kernel
|
|
MODULE := EMW5080
|
|
HOST_ARCH := Cortex-M4
|
|
HOST_MCU_FAMILY := rtl8710bn
|
|
SUPPORT_BINS := no
|
|
|
|
EXTRA_ATE_BIN := on
|
|
|
|
$(NAME)_SOURCES := board.c
|
|
|
|
GLOBAL_INCLUDES += .
|
|
GLOBAL_DEFINES += STDIO_UART=0 USE_MX1290
|
|
|
|
CONFIG_SYSINFO_PRODUCT_MODEL := ALI_AOS_MK5080
|
|
CONFIG_SYSINFO_DEVICE_NAME := MK5080
|
|
|
|
|
|
GLOBAL_CFLAGS += -DSYSINFO_PRODUCT_MODEL=\"$(CONFIG_SYSINFO_PRODUCT_MODEL)\"
|
|
GLOBAL_CFLAGS += -DSYSINFO_DEVICE_NAME=\"$(CONFIG_SYSINFO_DEVICE_NAME)\"
|
|
#GLOBAL_CFLAGS += -DSYSINFO_KERNEL_VERSION=\"$(CONFIG_SYSINFO_KERNEL_VERSION)\"
|
|
#GLOBAL_CFLAGS += -DSYSINFO_APP_VERSION=\"$(CONFIG_SYSINFO_APP_VERSION)\"
|
|
#include $(SOURCE_ROOT)/board/rtl8710bn/export-rom_symbol_v01.txt
|
|
|
|
#GLOBAL_CFLAGS += -L $(SOURCE_ROOT)/board/mk5080
|
|
|
|
|
|
# Extra build target in mico_standard_targets.mk, include bootloader, and copy output file to eclipse debug file (copy_output_for_eclipse)
|
|
EXTRA_TARGET_MAKEFILES += $(SOURCE_ROOT)/platform/mcu/$(HOST_MCU_FAMILY)/pick.mk
|