Unable to find soc info/Could not find SOC. Errors in vsc extension

Hi!

i have some problems with extension, i cant see action bar/boards. I had no problem with v2.5.2 of sdk and toolchain but when i bumped it to 2.7.0 in manifest file it doesnt work with T2 type app, the problem dissapeared when i made workspace application but i do want to use T2.
That's the manifest file.

manifest:
  version: 0.7

  projects:
    - name: golioth
      path: modules/lib/golioth-firmware-sdk
      revision: v0.15.0
      url: https://github.com/golioth/golioth-firmware-sdk
      submodules: true
      west-commands: scripts/west-commands.yml
      import:
        file: west-ncs.yml
        path-prefix: deps

    - name: zephyr-network-info
      path: deps/modules/lib/network-info
      revision: v1.2.1
      url: https://github.com/golioth/zephyr-network-info

  self:
    path: golioth_iot



1. It works with terminal commands like west build etc.

2. I tried to change manually path of boards dir in vsc but it doesnt work.

3. Zephyr Base is set.

4. When im building with west build i get pop up errors in VSC but the build goes on cuz it is independent of vsc.

those are commands ran to set up workspace.

source ~/.zephyrrc

west init -l golioth_iot
west update
west zephyr-export

Parents
  • Hi,

    It turns out that there is an issue with how the extension detects that there is an SDK present in the west workspace. This will be addressed in the next release of the extension. In the meantime, you may work around the problem by adding attached files to your manifest repo as a temporary fix:

    filesToAdd.zip

    golioth/
    ├── deps
    │   ├── bootloader
    │   ├── modules
    │   ├── nrf
    │   ├── nrfxlib
    │   ├── test
    │   ├── tools
    │   └── zephyr
    └── golioth_iot
        ├── build
        ├── CMakeLists.txt
        ├── prj.conf
        ├── README.rst
        ├── sample.yaml
        ├── src

        ├── VERSION ---> NEW FILE

        ├── scripts

            └── zephyr_module.py --> NEW FILE
        └── west.yml

    Best regards,
    Vidar
  • The file is blank. But i have another question did something change with extra modules despite doing it this way:

    app/
       -modules/
           -ble/
                  -zephyr/      KConfig module.yml CMakeLists.txt
                  -src/
                  -includes/
        -rest of app directories

    i get : attempt to assign the value 'y' to the undefined symbol MODULE_BLE

    in CMakeLists.txt that is located in app i do

    list(APPEND EXTRA_ZEPHYR_MODULES
      ${CMAKE_CURRENT_SOURCE_DIR}/modules/ble
      )


    and in my KConfig i just turn it on, but as the error says it is not findable.


    module.yml

    build:
      cmake: .
      kconfig: Kconfig
    
    


    Kconfig is just config MODULE_BLE and bool var

Reply
  • The file is blank. But i have another question did something change with extra modules despite doing it this way:

    app/
       -modules/
           -ble/
                  -zephyr/      KConfig module.yml CMakeLists.txt
                  -src/
                  -includes/
        -rest of app directories

    i get : attempt to assign the value 'y' to the undefined symbol MODULE_BLE

    in CMakeLists.txt that is located in app i do

    list(APPEND EXTRA_ZEPHYR_MODULES
      ${CMAKE_CURRENT_SOURCE_DIR}/modules/ble
      )


    and in my KConfig i just turn it on, but as the error says it is not findable.


    module.yml

    build:
      cmake: .
      kconfig: Kconfig
    
    


    Kconfig is just config MODULE_BLE and bool var

Children
Related