Closed Osika91 closed 1 year ago
The extension gets the location of the pack cache from the CMSIS_PACK_ROOT environment variable. This can be overridden by the packCachePath setting in VS Code. Otherwise, it falls back to a default path.
I have solve my problem and you were right the problem was my CMSIS_PACK_ROOT environment variable which had a bad path.
My path for the pack was C:\Users\"name"\AppData\Local\Arm\Packs
. So thanks you very much !
But now when I create a C file in VS Code and including a library.h for my board VS Code says that the 'stm32f10x.h' file not found clang (pp_file_not_found). But I verify and this fils is include in this path : C:\Users\"name"\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.0\Device\Include
.
Does I need to include it manually or i forgot something else ?
Here is a sreenshot of my project and my C file :
Have you tried to build the project? Do you see the same error as highlighted in VS Code? If not, this could be a problem with intellisense.
Otherwise, this sounds like a question for the Open-CMSIS-Pack community here: https://github.com/Open-CMSIS-Pack/devtools/issues. This repo is specifically for the VS Code extension rather than general csolution support.
Yes I build the project and there is different error. I'm going to ask my question the Open-CMSIS-Pack community. Thanks you for your help !
Type: Bug Report
Describe the bug
OS and Version: Windows 11
VS Code Version: 1.73.1
Extension Version: Arm CMSIS csolution v0.8.1
Target Device: STM32F103RB
I'm trying to build and flash a program on a Nucleo STM32F103RB. I'm using vscode and Arm CMSIS csolution. The problem is that the pack are installed on the location %HOME%\AppData\Local\Arm\Packs but my csolution project doesn't find them even if the folder of the pack required are in my project. Have you a solution for this problem ? I think I have forgot to do something but I don't find what.
Screenshots
You can see this screenshot that I've problen on required pack in the terminal when i want to run the command :
csolution convert -s Blinky.csolution.yml