MacOS+nRF Connect + VSCode - default configuration doesn't work

Hello everyone, I hope you can guide me in a right direction.

1. I setup my environment as per https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/installation.html, using default settings and default paths suggested. 
2. I created a new Workspace and created an empty application in there.
3. When I try to add a new build configuration, the list of boards is empty

4. That said, the SDK in the workspace has all the boards definitions.


Please advise on how to fix that.
MacOS 15.4, latest VSCode and nRF Connect.

Parents
  • Actually, if that helps anyone... It helped to gut everything out and reinstall all from scratch:

    rm
    -rf ~/Library/Application\ Support/Code
    rm -rf ~/Library/Caches/com.microsoft.VSCode
    rm -rf ~/Library/Saved\Application\ State/com.microsoft.VSCode.savedState
    rm -rf ~/Library/Preferences/com.microsoft.VSCode.plist
    rm -rf ~/.vscode

    rm -rf /Applications/nRF\ Connect.app
    rm -rf /Applications/nRF\ Connect\ for\ Desktop.app

    brew uninstall --force nrf-command-line-tools nrf5x-command-line-tools nrfjprog 2>/dev/null

    sudo
    rm -rf /usr/local/bin/nrfjprog
    sudo rm -rf /usr/local/bin/mergehex
    sudo rm -rf /usr/local/bin/west

    rm -rf ~/ncs
    rm -rf ~/nordicsemi
    rm -rf ~/nRF5_SDK
    rm -rf ~/nrf
    rm -rf ~/zephyr

    rm -rf ~/.west
    pip3 uninstall -y west

    rm -rf ~/gnuarmemb
    rm -rf /Applications/ARM

    rm -rf ~/Library/Application\ Support/nrfconnect
    rm -rf ~/.nrfconnect
    rm -rf ~/Library/Caches/nrfconnect

    pip3 uninstall -y nrfutil pyserial intelhex pc-ble-driver-py nrf-device-lib-py west


    Remove any lines that set these variables or paths:

    • ZEPHYR_BASE
    • GNUARMEMB_TOOLCHAIN_PATH
    • ZEPHYR_TOOLCHAIN_VARIANT
    • NCS_HOME
    • Any path additions for nRF tools
    • Any nRF or Zephyr related environment variables


    nano ~/.zshrc
    nano ~/.bash_profile
    nano ~/.bashrc

    source ~/.zshrc # or source ~/.bash_profile

    brew uninstall --force cmake ninja gperf dtc qemu ccache dfu-util

    pip3 list | grep -E '(nrf|zephyr|west)' | awk '{print $1}' | xargs pip3 uninstall -y

    rm -rf ~/.vscode/extensions/nordic-semiconductor.nrf-connect-*

    sudo rm -rf ~/Library/Caches/*

    And restart your Mac...

Reply
  • Actually, if that helps anyone... It helped to gut everything out and reinstall all from scratch:

    rm
    -rf ~/Library/Application\ Support/Code
    rm -rf ~/Library/Caches/com.microsoft.VSCode
    rm -rf ~/Library/Saved\Application\ State/com.microsoft.VSCode.savedState
    rm -rf ~/Library/Preferences/com.microsoft.VSCode.plist
    rm -rf ~/.vscode

    rm -rf /Applications/nRF\ Connect.app
    rm -rf /Applications/nRF\ Connect\ for\ Desktop.app

    brew uninstall --force nrf-command-line-tools nrf5x-command-line-tools nrfjprog 2>/dev/null

    sudo
    rm -rf /usr/local/bin/nrfjprog
    sudo rm -rf /usr/local/bin/mergehex
    sudo rm -rf /usr/local/bin/west

    rm -rf ~/ncs
    rm -rf ~/nordicsemi
    rm -rf ~/nRF5_SDK
    rm -rf ~/nrf
    rm -rf ~/zephyr

    rm -rf ~/.west
    pip3 uninstall -y west

    rm -rf ~/gnuarmemb
    rm -rf /Applications/ARM

    rm -rf ~/Library/Application\ Support/nrfconnect
    rm -rf ~/.nrfconnect
    rm -rf ~/Library/Caches/nrfconnect

    pip3 uninstall -y nrfutil pyserial intelhex pc-ble-driver-py nrf-device-lib-py west


    Remove any lines that set these variables or paths:

    • ZEPHYR_BASE
    • GNUARMEMB_TOOLCHAIN_PATH
    • ZEPHYR_TOOLCHAIN_VARIANT
    • NCS_HOME
    • Any path additions for nRF tools
    • Any nRF or Zephyr related environment variables


    nano ~/.zshrc
    nano ~/.bash_profile
    nano ~/.bashrc

    source ~/.zshrc # or source ~/.bash_profile

    brew uninstall --force cmake ninja gperf dtc qemu ccache dfu-util

    pip3 list | grep -E '(nrf|zephyr|west)' | awk '{print $1}' | xargs pip3 uninstall -y

    rm -rf ~/.vscode/extensions/nordic-semiconductor.nrf-connect-*

    sudo rm -rf ~/Library/Caches/*

    And restart your Mac...

Children
No Data
Related