New board extensions not supported by VSCode nRF extension?

Hello

When following the guidline of a new way to extend boards, VSCode "Add Build Configuration" is blank. Am I doing something wrong or this is not yet supported by nRF VSCode extension?

Attached is a sample project with the following "board.yaml":

board:
  extend: nrf52840dk
  variants:
    - name: test
      qualifier: nrf52840

extended_board_test.zip

Parents Reply
  • Couldn't find a good way how to define this include for MCUboot - so I finally decided to quick-temp-patch Zephyr and added

    list(APPEND DTS_EXTRA_CPPFLAGS "-isystem$ENV{ZEPHYR_BASE}/boards")

    to the correcponding board "pre_dt_board.cmake" in the Zephyr source tree.

    But there is one more bug still. Debugging doesn't work if original board has already qualifiers. VSCode gives the following error message:

    Invalid identifier for board 
    file:///c%3A/ncs/v3.2.0/zephyr/boards/adafruit/feather_nrf52840

    It can be easily reproduced with the following sample project:

    extended_board_test_debug_fail_if_more_qualifiers.zip

    This Adafruit board is a bit wrongly named ("nrf52840" is in the board name and second "nrf52840" is probably already treated as extra qualifier), but it doesn't matter, the same error comes when extending nRF91 *_ns board, for example.

Children
Related