cancel
Showing results for 
Search instead for 
Did you mean: 

How to make partition binaries for STM32F103ZC using Makefiles

JGale
Associate II

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.

0 REPLIES 0