Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tools:stm32 [2022/12/18 10:56] – [STM32] darron | tools:stm32 [2024/10/08 15:06] (current) – [Board support packages] darron | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====STM32=== | + | ====STM32Cube/ |
ST micro supply tools to target STM32 devices, they include | ST micro supply tools to target STM32 devices, they include | ||
- | a startup | + | code generation, an IDE and Arduino |
- | STMCubeMX is a visualisation tool and start-up code generator. | + | |
+ | * STMCubeIDE is the development environment. | ||
+ | * STM32duino is the Arduino development platform support. | ||
- | STMCubeIDE is the development environment. | + | ===STM32CubeMX=== |
- | STM32duino is the Arduino development platform support. | + | This is great to visualise the layout of a STM32 development board and |
- | + | ||
- | The first two above probably also support STM8 but I did not | + | |
- | take an interest in that. | + | |
- | ===STMCubeMX=== | + | |
- | + | ||
- | This is great to visualise the layout of a development board and | + | |
see the pin usage and the clock tree. | see the pin usage and the clock tree. | ||
Line 39: | Line 35: | ||
C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeMX | C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeMX | ||
</ | </ | ||
- | ===STMCubeIDE=== | + | |
+ | ===STM32CubeIDE=== | ||
The development environment also embeds the MX tool above and can support various other tools. | The development environment also embeds the MX tool above and can support various other tools. | ||
- | This IDE produces a proprietary project and there is no access to platform | + | This STM32 IDE produces a proprietary project and there is no access to platform |
specific files until a project is created. A lot of files are generated for | specific files until a project is created. A lot of files are generated for | ||
each project so this is perhaps more suitable for larger flash devices. | each project so this is perhaps more suitable for larger flash devices. | ||
Line 52: | Line 49: | ||
On windows this will install in | On windows this will install in | ||
+ | |||
< | < | ||
C: | C: | ||
Line 58: | Line 56: | ||
===STM32duino=== | ===STM32duino=== | ||
- | STM32duino provides `wiring' | + | STM32duino provides `wiring' |
Arduino Processing IDE. | Arduino Processing IDE. | ||
Line 64: | Line 62: | ||
for reference or usage. | for reference or usage. | ||
- | This may be used to build a standalone application without Arduino support | + | This may be used to build a standalone application |
- | but it hasn't been investigated, | + | on any platform we choose to develop on which has access the the ARM compiler. |
+ | This is preferred way to develop for STM32 on a Raspberry Pi, for example. | ||
https:// | https:// | ||
+ | |||
+ | ==Install== | ||
+ | |||
+ | < | ||
+ | cd /opt | ||
+ | git clone https:// | ||
+ | </ | ||
+ | |||
+ | ===Board support packages=== | ||
+ | |||
+ | The board support packages exist for various ST development boards and ST components. | ||
+ | |||
+ | < | ||
+ | mkdir -p /opt/BSP | ||
+ | </ | ||
+ | |||
+ | ==LAN8742 Ethernet PHY== | ||
+ | |||
+ | < | ||
+ | cd /opt/BSP | ||
+ | git clone https:// | ||
+ | </ | ||
+ | |||
+ | ==STM32H745I DISCOVERY== | ||
+ | |||
+ | < | ||
+ | #! /bin/sh | ||
+ | mkdir -p /opt/BSP && cd /opt/BSP | ||
+ | git clone https:// | ||
+ | git clone https:// | ||
+ | git clone https:// | ||
+ | git clone https:// | ||
+ | git clone https:// | ||
+ | git clone https:// | ||
+ | git clone https:// | ||
+ | </ | ||
+ | ===TinyUSB=== | ||
+ | |||
+ | < | ||
+ | cd /opt | ||
+ | git clone https:// | ||
+ | </ | ||
+ | ===Resources=== | ||
+ | |||
+ | [[https:// |