How to make partition binaries for STM32F103ZC using Makefiles
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2019-07-24 1:52 AM
I just switched from Arduino to the ST HAL library, I'm quite new to both the structure and makefiles in general. I'm using a chip that allows for multiple parts that can be used for OTA's for example. While I have made a working project that can upload and run, I would also like to build separate binaries for the different parts (Bootloader, Part0, Part1). With Arduino I could just select the part and build a binary that way. I can't find a way to get these building commands to work with the new library, does someone know anything on how to make this work.
Update:
The partitions are probably indicated by the linkerScript. I've made three different ones (Flash, Part0 and Part1) these have different configurations when it comes to size and flash location.
I now want to compile the whole project using these linkerScripts without having to change the linker scripts name everytime, so that is where I'm kinda stuck now.
- Labels:
-
STM32F1 Series
