Importing a Cube MX project
Hello Pascal,
First, I am using CubeMX 4.18. The CubeMX V1.17 does not handle the latest HAL package
As the “Copy projects into workspace” is having issues, I imported CubeMX projects in using the following steps :
- Launch CubeMX >> New Project >> Board Selector tab >> I am using Nucleo 64 STM32L476 board >> OK;
- Project menu >> Settings >> Toolchain / IDE = SW4STM32;
- Project menu >> Settings >> Project Location = C:\STM32_L4_Workspace (for example);
- Project menu >> Settings >> Project Name = L4_Blinky (for example);
- Enable the expected peripherals from the Pinout tab;
- Tune the clock frequencies from the Clock Configuration tab;
- Tune the peripheral configurations from the Configuration tab;
- Project menu >> Generate Code >> Close;
- Launch SW4STM32 and select the workspace (C:\STM32_L4_Workspace, for example);
- Right-click in the Project Explorer window >> Import >> General >> Existing Projects into Workspace >> Next >> Browse >> Select the project folder (L4_Blinky, for example) >> Finish