- Packs
- STM32F072B-DISCO_BSP
STM32F072B-DISCO_BSP
1.1.1- 
            Pack TypeBoard Support 
STMicroelectronics STM32F0 Series STM32F072B-DISCO Board Support Pack
- 
    Add to CMSIS Solutionpacks:- pack: Keil::STM32F072B-DISCO_BSP@1.1.1 Add with cpackget> cpackget add Keil::STM32F072B-DISCO_BSP@1.1.1 DownloadKeil.STM32F072B-DISCO_BSP.1.1.1.packRepositorySTM32F072B-DISCO_BSPSTM32F072B-DISCO_BSPThe STMicroelectronics STM32F072B-DISCO Board Support Pack (BSP): - Contains examples and board layers in csolution format for usage with the CMSIS-Toolbox and the VS Code CMSIS Solution extension.
- Requires the Device Family Pack (DFP) for the STM32F0 series.
- Is configured with STM32CubeMX for the Arm Compiler 6 (MDK). Using GCC Compiler explains how to configured it for a different compiler.
 Content in csolution format- 
Examples/Blinky shows the basic usage of this board. 
- 
Board Layer for device-agnostic Reference Applications that implements these API interfaces: 
 Provided API Interface Description CMSIS_USB_Device CMSIS-Driver USB Device connected to User USB connector (CN2) CMSIS_VIO CMSIS-Driver VIO connected to LEDs (LD3, LD4, LD5, LD6) and USER button (B1) STDIN, STDOUT, STDERR Standard I/O connected to Virtual COM port on ST-LINK connector (CN1) Using GCC CompilerBy default the Board Layers are configured for the Arm Compiler 6 (AC6). Using STM32CubeMX it can be reconfigured for a different compiler. To configure it for the GCC compiler execute these steps: - In the <solution_name>.csolution.ymlproject file selectcompiler: GCC.
- Launch the STM32CubeMX generator with this CMSIS-Toolbox command:
  csolution <solution_name>.csolution.yml run -g CubeMX -c <context>
- In STM32CubeMX:
- Open from the menu Project Manager - Project - Toolchain/IDE:
- Select STM32CubeIDEand disableGenerate Under Root.
- 
Click GENERATE CODEto recreate the CubeMX generated files for the GCC compiler.
- 
In the Board.clayer.ymlfile, updatelinker:node configuration to reference appropriate GCC linker script. The GCC linker script is typically generated in theSTM32CubeMX/STM32CubeIDEfolder. Customize the GCC linker script file to your project's requirements.
- Rebuild the project using the CMSIS-Toolbox command cbuild <solution_name>.csolution.yml.