nrf5340DK Custom board fails creation via VSCode extension

Hi,

I am starting from the following example: "Bluetooth Low Energy UART service sample", sdk version v2.6.0
I am trying to add a custom board (using VSCode NRF CONNECT extension). The creation works, I get the files in (project-path)/boards/arm/my-custom-board but this configuration is unable to build and I get the following error that I'm unable to understand and fix.

warning: UART_CONSOLE (defined at drivers/console/Kconfig:43) was assigned the value 'y' but got the
value 'n'. Check these unsatisfied dependencies: SERIAL_HAS_DRIVER (=n). See
http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_UART_CONSOLE and/or look up UART_CONSOLE in
the menuconfig/guiconfig interface. The Application Development Primer, Setting Configuration
Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful too.


warning: UART_ASYNC_API (defined at drivers/serial/Kconfig:66) was assigned the value 'y' but got
the value 'n'. Check these unsatisfied dependencies: SERIAL_SUPPORT_ASYNC (=n). See
http://docs.zephyrproject.org/latest/kconfig.html#CONFIG_UART_ASYNC_API and/or look up
UART_ASYNC_API in the menuconfig/guiconfig interface. The Application Development Primer, Setting
Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful
too.


/Users/work/5340-can-ble/can-ble/boards/arm/can_ble_board/can_ble_board_cpuapp_ns_defconfig:12: warning: ignoring malformed line 'UART_CONSOLE=y'

/Users/work/5340-can-ble/can-ble/boards/arm/can_ble_board/can_ble_board_cpuapp_ns_defconfig:13: warning: ignoring malformed line 'UART_ASYNC_API=y'

error: Aborting due to Kconfig warnings
.............<some output that's irrelevant>............
CMake Error at /opt/nordic/ncs/v2.6.0/nrf/cmake/multi_image.cmake:208 (message):
  No board specified for domain 'CPUNET'.  This configuration is typically
  defined in
  /Users/work/5340-can-ble/can-ble/boards/arm/can_ble_board/Kconfig
Call Stack (most recent call first):
  /opt/nordic/ncs/v2.6.0/nrf/cmake/multi_image.cmake:178 (add_child_image_from_source)
  /opt/nordic/ncs/v2.6.0/nrf/samples/CMakeLists.txt:148 (add_child_image)


-- Configuring incomplete, errors occurred!

Related