-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add OVERVIEW.md and update README.md files
- Loading branch information
1 parent
391a36e
commit 892659c
Showing
4 changed files
with
54 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# STM32H735G-DK_BSP | ||
|
||
The **STMicroelectronics STM32H735G-DK Board Support Pack (BSP)**: | ||
|
||
- Contains examples and board layers in *csolution format* for usage with the [CMSIS-Toolbox](https://github.com/Open-CMSIS-Pack/cmsis-toolbox/blob/main/docs/README.md) and the [VS Code CMSIS Solution](https://marketplace.visualstudio.com/items?itemName=Arm.cmsis-csolution) extension. | ||
- Requires the [Device Family Pack (DFP) for the STM32H7 series](https://www.keil.arm.com/packs/stm32h7xx_dfp-keil). | ||
- Is configured with [STM32CubeMX](https://www.st.com/en/development-tools/stm32cubemx.html) for the Arm Compiler 6 (MDK). [Using GCC Compiler](#using-gcc-compiler) explains how to configured it for a different compiler. | ||
|
||
## Content in *csolution format* | ||
|
||
- [Examples/Blinky](https://github.com/Open-CMSIS-Pack/STM32H735G-DK_BSP/tree/main/Examples/Blinky) shows the basic usage of this board. | ||
|
||
- [Board Layer](https://github.com/Open-CMSIS-Pack/STM32H735G-DK_BSP/tree/main/Layers/Default) for device-agnostic [Reference Applications](https://github.com/Open-CMSIS-Pack/cmsis-toolbox/blob/main/docs/ReferenceApplications.md) that provides the following connections: | ||
|
||
| Provided connection | Description | ||
|:------------------------------|:------------------------------------------------------------------------------ | ||
| CMSIS_ETH | CMSIS-Driver Ethernet connected to Ethernet RJ45 connector (CN3) | ||
| CMSIS_MCI | CMSIS-Driver MCI connected to microSD connector (CN2) | ||
| CMSIS_USB_Device | CMSIS-Driver USB Device connected to USB_OTG_FS connector (CN14) | ||
| CMSIS_VIO | CMSIS-Driver VIO connected to LEDs (LD2, LD1) and USER button (B2) | ||
| STDIN, STDOUT, STDERR | Standard I/O connected to Virtual COM port on ST-LINK connector (CN15) | ||
| ARDUINO_UNO_D2..D10, D14..D19 | CMSIS-Driver GPIO connected to Arduino digital I/O pins D2..D10 and D14..D19 | ||
| ARDUINO_UNO_I2C | CMSIS-Driver I2C connected to Arduino I2C pins D20..D21 | ||
| ARDUINO_UNO_SPI | CMSIS-Driver SPI connected to Arduino SPI pins D11..D13 | ||
| ARDUINO_UNO_UART | CMSIS-Driver USART connected to Arduino UART pins D0..D1 | ||
|
||
## Using GCC Compiler | ||
|
||
By default the [Board Layers](https://github.com/Open-CMSIS-Pack/STM32H735G-DK_BSP/tree/main/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.yml` project file select `compiler: 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 `STM32CubeIDE` and disable `Generate Under Root`. | ||
- Click `GENERATE CODE` to recreate the CubeMX generated files for the GCC compiler. | ||
|
||
- In the `Board.clayer.yml` file, update `linker:` node configuration to reference appropriate GCC linker script. | ||
The GCC linker script is typically generated in the `STM32CubeMX/STM32CubeIDE` folder. Customize the GCC linker script file to your project's requirements. | ||
- Rebuild the project using the CMSIS-Toolbox command `cbuild <solution_name>.csolution.yml`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters