Hi,
I’m trying to make a bootloader. I’m following this tutorial.
https://visualgdb.com/tutorials/arm/bootloader/cmake/
In the tutorial, all files are placed in the same directory. But I want to put bootloader and app into different folders.
When I move stm32f4xx_hal_conf.h to the subfolders, the compiler can’t find them. Intellisense suggests adding to CMakeLists
target_include_directories(Proj1 PRIVATE .)
But it’s still not working.
How can I move stm32f4xx_hal_conf.h to the subfolders? I actually want to use different config so the bootloader can be as small as possible.
Attachment is a project to reproduce the problem.
Regards,
Tianyi
Attachments:
You must be
logged in to view attached files.