Consider a CubeMX
project where you have configured the STM32F103 microcontroller and have chosen EWARM as the main IDE/Toolchain. When generating code, if you select the Application Structure to advance, you may encounter the following directory structure:
YourPrjName:
|--Core
|--Driver
|--EWARM
|CubePrj.ioc
|.mxproject
Now, let's say you want to place both the Core
and Driver
folders inside another folder named BSW
, and generate the Cube project related files in a different location. The updated directory structure would look like this:
YourPrjName:
|--BSW
| |__Core
| |--Driver
|--EWARM
|--CubePrj
| |--CubePrj.ioc
| |--.mxproject
In this revised structure, the Core and Driver folders are located within the BSW
folder, and the Cube project files placed under the CubePrj
directory.
How this is possible?