2022-02-02 08:04 AM
I have written multiple .c and .h files as libraries. Right now I have to add them to the core folder manually for each and every project I make. Is there any way that I can put these libraries in the main include folder of stm32cubeide, so I just need to #include them and not copy and paste their files into the core folder of each project?
Thanks
Solved! Go to Solution.
2022-02-02 02:45 PM
There is no "add these files to every project" folder in STM32CubeIDE.
You can add them as linked files to avoid needing to edit them in each location.
Or, you could compile them to a library and add that to the desired projects in the linker's library settings. Still need to include the header and have the file accessible.
2022-02-02 02:45 PM
There is no "add these files to every project" folder in STM32CubeIDE.
You can add them as linked files to avoid needing to edit them in each location.
Or, you could compile them to a library and add that to the desired projects in the linker's library settings. Still need to include the header and have the file accessible.