nRF connect sdk extension v2024.9.87 stopped working for building Zephyr apps (HWMv2)

Hello,

nRF connect sdk extension v2024.9.87 stopped working for building Zephyr apps (HWMv2). Previous version worked fine.

Extension crashes loading project

2024-09-15 11:49:27.172 [error] Error: Could not find SOC
    at /home/USER/.vscode/extensions/nordic-semiconductor.nrf-devicetree-2024.9.26/dist/extension.js:206:442184
    at Array.map (<anonymous>)
    at NB (/home/USER/.vscode/extensions/nordic-semiconductor.nrf-devicetree-2024.9.26/dist/extension.js:206:442131)
    at /home/USER/.vscode/extensions/nordic-semiconductor.nrf-devicetree-2024.9.26/dist/extension.js:207:2428
    at Array.map (<anonymous>)
    at LB (/home/USER/.vscode/extensions/nordic-semiconductor.nrf-devicetree-2024.9.26/dist/extension.js:207:2421)
    at Yy.createContext (/home/USER/.vscode/extensions/nordic-semiconductor.nrf-devicetree-2024.9.26/dist/extension.js:282:20540)
    at l3.addContext (/home/USER/.vscode/extensions/nordic-semiconductor.nrf-devicetree-2024.9.26/dist/extension.js:382:2801)
    at Qt.resolve (/home/USER/.vscode/extensions/nordic-semiconductor.nrf-connect-2024.9.87-linux-x64/dist/extension.js:283:102364)
    at async Qt.get (/home/USER/.vscode/extensions/nordic-semiconductor.nrf-connect-2024.9.87-linux-x64/dist/extension.js:257:10864)
    at async Yi.loadDeviceTreeContext (/home/USER/.vscode/extensions/nordic-semiconductor.nrf-connect-2024.9.87-linux-x64/dist/extension.js:283:103457)

The issue is related with board.yml in custom board directory. If I remove it the extension loads fine and the Application under the extension roster. However I cannot use the extension, build commands, etc refuse to run.

This is the board.yml

board:
name: myprod_vp2_nrf52
vendor: mycomp
socs:
- name: nrf52832

Can still build it with 'west build ...', it is still perfectly valid Zephyr config, but the it seems extension cannot resolve/find SOC in that simple yml.

Appreciate any support you can offer.

Thanks

Parents Reply
  • The more specific error is

    /* Unable to resolve path devicetree:/home/nunof/.local/zephyrproject/zephyr/dts/arm/nordic/Compiled%20devicetree%20output%20%28nrf52832%29?%2Fhome%2Fnunof%2F.local%2Fzephyrproject%2Fzephyr%2Fdts%2Farm%2Fnordic%2Fnrf52832.dtsi *



    The path /home/nunof/.local/zephyrproject/zephyr/dts/arm/nordic/nrf52832.dtsi exists but it seems the extension is mangling and failing

Children
Related