Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
7 years, 2 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
7 years, 2 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).