serial: nsim: Fix impossible-to-enable CONFIG_UART_NSIM
CONFIG_UART_NSIM depends on CONFIG_NSIM, which was removed in commit
9bc69a46fa
("boards: Update arc em_starterkit support from 2.2 to
2.3"). Remove the dependency, and also remove the CONFIG_NSIM=y setting
from the test_nsim test (which should now work).
Also change the condition for EXTERN()ing _VectorTable in
include/arch/arc/v2/linker.ld to check CONFIG_UART_NSIM instead of
CONFIG_NSIM. I'm guessing the EXTERN() is there to make the symbol
visible to nSIM, though I don't know anything about it.
Signed-off-by: Ulf Magnusson <Ulf.Magnusson@nordicsemi.no>
This commit is contained in:
parent
a85c546203
commit
45221a9706
3 changed files with 2 additions and 3 deletions
|
@ -2,7 +2,7 @@ config UART_NSIM
|
|||
bool "UART driver for MetaWare nSim"
|
||||
default n
|
||||
select SERIAL_HAS_DRIVER
|
||||
depends on NSIM && SERIAL
|
||||
depends on SERIAL
|
||||
help
|
||||
This enables the UART driver for the MetaWare nSim simulator.
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
#include <autoconf.h>
|
||||
#include <linker/sections.h>
|
||||
|
||||
#if defined(CONFIG_NSIM)
|
||||
#if defined(CONFIG_UART_NSIM)
|
||||
EXTERN(_VectorTable)
|
||||
#endif
|
||||
|
||||
|
|
|
@ -43,7 +43,6 @@ tests:
|
|||
build_only: true
|
||||
platform_whitelist: em_starterkit
|
||||
extra_configs:
|
||||
- CONFIG_NSIM=y
|
||||
- CONFIG_UART_NSIM=y
|
||||
test_clock:
|
||||
build_only: true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue