Commit 5711577f authored by Tomasz Wlostowski's avatar Tomasz Wlostowski

Separate entry in Kconfig for eRTM14 board

parent d29350dc
......@@ -10,6 +10,10 @@ config WR_NODE
bool
default !WR_SWITCH
config ERTM14
bool "Build WR Core firmware for the ERTM14"
default !WR_SWITCH
# most options with no prompt here are prompted-for in the "advanced" section
config PPSI_FORCE_CONFIG
......
......@@ -31,7 +31,7 @@ LDS-$(CONFIG_WR_NODE) = arch/lm32/ram.ld
LDS-$(CONFIG_WR_SWITCH) = arch/lm32/ram-wrs.ld
LDS-$(CONFIG_HOST_PROCESS) =
obj-$(CONFIG_WR_NODE) += wrc_main.o ertm14.o
obj-$(CONFIG_WR_NODE) += wrc_main.o ertm14.o tools/uart-bootloader/boot.o
obj-$(CONFIG_WR_NODE_SIM) += wrc_main_sim.o
obj-$(CONFIG_WR_SWITCH) += wrs_main.o
obj-$(CONFIG_WR_SWITCH) += ipc/minipc-mem-server.o ipc/rt_ipc.o
......
......@@ -10,8 +10,12 @@
#include <hw/rawmem.h> // for readl()/writel()
#if defined(CONFIG_WR_SWITCH)
# include "board-wrs.h"
#elif defined(CONFIG_ERTM14)
# include "board-ertm14.h"
#else
# include "board-wrc.h"
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment