第1行: | 第1行: | ||
= STM32 development settings on Mac = | = STM32 development settings on Mac = | ||
== Install Stm32CubeIde== | |||
* install [https://www.st.com/en/development-tools/stm32cubeclt.html stm32cubeclt] | * install [https://www.st.com/en/development-tools/stm32cubeclt.html stm32cubeclt] | ||
* install [https://www.st.com/en/development-tools/stm32cubeide.html stm32cubeide] | * install [https://www.st.com/en/development-tools/stm32cubeide.html stm32cubeide] | ||
第31行: | 第31行: | ||
<ref>https://github.com/MaJerle/stm32-cube-cmake-vscode?tab=readme-ov-file</ref> | <ref>https://github.com/MaJerle/stm32-cube-cmake-vscode?tab=readme-ov-file</ref> | ||
== Install ST Link Driver == | |||
<syntaxhighlight lang="bash"> | |||
brew install stlink | |||
</syntaxhighlight> | |||
<syntaxhighlight lang="bash"> | |||
$ st-info --probe | |||
Found 1 stlink programmers | |||
version: V2J17S4 | |||
serial: 56FF74066580515144522467 | |||
flash: 524288 (pagesize: 2048) | |||
sram: 65536 | |||
chipid: 0x414 | |||
dev-type: F1xx_HD | |||
</syntaxhighlight> | |||
= Issues = | |||
[[Category:Stm32]] | [[Category:Stm32]] | ||
[[Category:ARM]] | [[Category:ARM]] | ||
[[Category:ARM]] | [[Category:ARM]] |
2025年3月27日 (四) 15:12的版本
STM32 development settings on Mac
Install Stm32CubeIde
- install stm32cubeclt
- install stm32cubeide
$ arm-none-eabi-gcc --version
arm-none-eabi-gcc (GNU Tools for STM32 13.3.rel1.20240926-1715) 13.3.1 20240614
Copyright (C) 2023 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$ STM32_Programmer_CLI --version
-------------------------------------------------------------------
STM32CubeProgrammer v2.19.0
-------------------------------------------------------------------
STM32CubeProgrammer version: 2.19.0
$ ST-LINK_gdbserver --version
ST-LINK_gdbserver version: 7.10.0
$ cmake --version
cmake version 3.28.1
CMake suite maintained and supported by Kitware (kitware.com/cmake).
$ ninja --version
1.11.1
Install ST Link Driver
brew install stlink
$ st-info --probe
Found 1 stlink programmers
version: V2J17S4
serial: 56FF74066580515144522467
flash: 524288 (pagesize: 2048)
sram: 65536
chipid: 0x414
dev-type: F1xx_HD