6 years, 6 months ago.

Building mbed-os for STCube generated configuration

Hello! I am pretty new to mbed and have just managed to make compilation etc works on offline environments with samples suppiled from the online compilers

My understanding is that the STCube could generate possible configurations for ST microcontrollers that could differ from the default configuration; by default I meant ones that used in the evaluation boards, CMIIW. Then how do exactly we build the mbed-os for that certain configuration?

1 Answer

6 years, 6 months ago.

I would create a new target under the right STM family, and configure the pinmaps and clock configuration there (example).

Add the target then to targets.json (in the Mbed OS folder) to configure building for the target (and inheriting from the right parent target).