Hi, I'm trying to use this template for my project and I'm bit confused about targets to link to.
Based on your readme, CMSIS contains family specific headers like U5, but i allways thought that CMSIS only contains ARM stuff, like core type.
Your readme also describes HAL targets and i probably understand them.
When i was transfering my project into this template, I noticed that components that are not dependent on any platform were missing -mcpu ... flags. I looked into toolchain files and found STM32::U5 which seem to contain them. Right now i link this target to all my targets. I guess that tis is a way to support multiple cpus in one project, but it also complicates linking third party libraries, beacue i have to add STM32::U5 as dependency to all targets inside those libraries and i may not be able to add it to all targets. What is the correct approach in this scenario?
Hi, I'm trying to use this template for my project and I'm bit confused about targets to link to.
Based on your readme, CMSIS contains family specific headers like U5, but i allways thought that CMSIS only contains ARM stuff, like core type.
Your readme also describes HAL targets and i probably understand them.
When i was transfering my project into this template, I noticed that components that are not dependent on any platform were missing
-mcpu ...flags. I looked into toolchain files and foundSTM32::U5which seem to contain them. Right now i link this target to all my targets. I guess that tis is a way to support multiple cpus in one project, but it also complicates linking third party libraries, beacue i have to addSTM32::U5as dependency to all targets inside those libraries and i may not be able to add it to all targets. What is the correct approach in this scenario?