2020-09-09 06:43 PM
I'm just starting to play with the STM32 chips and like the Cube environment for it's ability to configure the chips functionality.
I want to be able to write my own class libraries for obvious reasons. Reusable Code is the name of the game.
What is the best way to integrate a source code library into a workspace such that all projects in that workspace can use that library.
Solved! Go to Solution.
2020-09-10 04:29 AM
The answer is probably as always it depends... ;)
Your decision path looks like this:
If you only target one Cortex-M core it is quite simple. If multiple cores. Then there is no official good support. So the above is just an experimental approach that probably could work...
I imagine the Use Case with "shared code targeting multiple cores" to be common, nevertheless we do not get so many requests about this...
2020-09-10 04:29 AM
The answer is probably as always it depends... ;)
Your decision path looks like this:
If you only target one Cortex-M core it is quite simple. If multiple cores. Then there is no official good support. So the above is just an experimental approach that probably could work...
I imagine the Use Case with "shared code targeting multiple cores" to be common, nevertheless we do not get so many requests about this...
2020-09-10 03:04 PM
Thanks. Just what I was after. I very much appreciate the detailed response. :thumbs_up:
I had a go at setting something up yesterday and it aligns with what you've suggested and sort of works so I wasn't far off.
I'll redo it as per your suggestion.
I'm only looking at the Single core devices but am definitely looking at supporting multiple Cortex-M cores. That shouldn't be too much of a problem once i'm more familar with the IDE.
2021-11-08 09:57 AM
Where can be downloaded this user manual UM2609 rev1? I can't find it anywhere on the ST site or web.
2021-11-08 11:52 AM
2021-11-08 10:55 PM
Thanks m12lrpv, but I need rev1, here is only rev4.
2021-11-08 11:54 PM
Why do you think you need rev 1? Rev 4 is more current and won't contain as many errors as rev 1
2021-11-09 12:13 AM
Because it doesn't have this chapter "see chapter 2.5.0 - Include libraries. Assumes UM2609 rev1..."
2021-11-09 12:18 AM
Chapters in the UM2609 will have new numbers when we add new chapters preceding the one you are looking for. Have a look at chapter 2.5.8 - Include libraries in the latest manual version. Which CubeIDE version are you relying on? Probably the latest version of the UM2609 will be OK also for a number of older CubeIDE versions...
2021-11-09 12:19 AM
As per Mattias' answer... it's moved to 2.5.8