Skip to content

Commit

Permalink
arch/sim: Update defconfig for NXWM and disable CONFIG_NSH_ARCHINIT
Browse files Browse the repository at this point in the history
 ## Summary of changes

Disable CONFIG_NSH_ARCHINIT to prevent the boardctl() logic to call
multiple times the oneshot_register() function. The boardctl logic is
already called from nxwm_main.

Signed-off-by: Sebastian Ene <[email protected]>
  • Loading branch information
Sebastian Ene authored and xiaoxiang781216 committed Nov 1, 2020
1 parent a9d063c commit a74e041
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion boards/sim/sim/sim/configs/nxwm/defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ CONFIG_HAVE_CXX=y
CONFIG_IDLETHREAD_STACKSIZE=8192
CONFIG_MAX_TASKS=16
CONFIG_MQ_MAXMSGSIZE=64
CONFIG_NSH_ARCHINIT=y
CONFIG_NSH_FATDEVNO=2
CONFIG_NSH_LIBRARY=y
CONFIG_NSH_READLINE=y
Expand Down

0 comments on commit a74e041

Please sign in to comment.