PlatformIO Community

Run Example PlatformIO on VScode failure

Hi
Today I multiple try to run an example of PlatformIO on VSCode but get an error:" Could not found Package with ‘framework-siwisdk @ 5.0.5’ …"
Annotation 2020-09-08 120531
I used the Installation guide on the git addressed: https://github.com/siwiembedded/siwisdk.
What does this mean and how do I fix it?
VSCode : v1.48.2
PlatformIO: v1.10.2

In platformio.ini, in lib_deps, do you have spaces around @5.0.5 by any chance? It could be that. (I’ve never used spaces and when PlatformIO put stuff in there for me, neither has it.)

Also, that format means “always use version 5.0.5” - I assume that is what you want?

If you installed manually, did you follow these instructions? https://github.com/siwiembedded/siwisdk/blob/master/docs/book/quick_start.rst#platformio-ide.

Cheers,
Norm.

Hi, thank you for your reply.
The platformio.ini file does not contain any @5.0.5 value to check a space around it.
The version used is set by default. Can I run the example without error with another version?
when I use the instruction, I still get the previous error.

Error is:
image

‘platformio.ini’ file includes:

; PlatformIO Project Configuration File
;
; Build options: build flags, source filter
; Upload options: custom upload port, speed and extra flags
; Library options: dependencies, extra library storages
; Advanced options: extra scripting
;
; Please visit documentation for the other options and examples
; https://docs.platformio.org/page/projectconf.html

[platformio]
default_envs = s20gsm

; Common env setup
[env]
platform = siwigsm
board = s20gsm
framework = siwisdk
monitor_speed = 115200

; Release env
[env:s20gsm]

; Debug env
[env:s20gsm_debug]
build_type = debug
debug_build_flags = -Os -g2

Cannot find your platform. Maybe https://github.com/siwiembedded/platform-siwigsm will help?

Cheers,
Norm.