Good day
I have a problem, when I try to add the mbed-os library to my project I get the following error message:
" An error happened while processing the library GitHub - ARMmbed/mbed-os: Arm Mbed OS is a platform operating system designed for the internet of things . Cloning into bare repository ‘c:\Users\anna\AppData\Local\Mbed Studio\library-cache\github.com\armmbed\mbed-os.git’… fatal: unable to access 'https://github.com/ARMmbed/mbed-os.git/': error setting certificate verify locations: CAfile: C:/Program Files/Git/mingw64/ssl/certs/ca-bundle.crt CApath: none "
Can anyone help me?
Kind regards
Anna
hudakz
(Zoltan Hudak)
January 4, 2022, 6:29pm
2
Hello Anna,
You seems to be on an MS Windows machine.
Open a command prompt in your project’s folder and execute the following command:
mbed config MBED_OS_DIR https://github.com/ARMmbed/mbed-os/
Another option is to open a command prompt in your project’s folder and execute the following command:
mbed deploy
Thanks for your reply, unfortunately it didn’t change anything.
I have tried both options. The first one didn’t make any change and I still got the same error message when trying to include the library.
The second option gave the following messages in the command window:
hudakz
(Zoltan Hudak)
January 5, 2022, 9:06am
4
It seems there is something wrong with your program structure. I would suggest a create a new one using the command:
mbed new program_name
That should automatically add the latest mbed-os
library to your new program.