Cmake include text file8/17/2023 ![]() ![]() ![]() STM32CubeMX is a "graphical tool that allows a very easy configuration of STM32 microcontrollers and microprocessors, as well as the generation of the corresponding initialization C code" provided by ST.mingw64 is a Windows port of the GNU Compiler Collection as the GNU Binutils.Other software that you may need or find useful: Both software must be available from the PATH :Įnter fullscreen mode Exit fullscreen mode You will of course need CMake and arm-none-eabi-gcc toolchain. to explain each piece of my CMake scripts but I will assume that you know the basics.to use modern CMake techniques but I don't consider myself as a CMake guru.For instance, a few years ago, I used CMake with the MSP-EXP430G2 LaunchPad Development kit from Texas Instruments. In fact you can use any board from any vendor (with more modifications). You can use other demo boards from ST (with few modifications). In the following, I will use the NUCLEO-F413ZH demo board (which costs about 25 €). Another good reason is because ST provides cheap and efficient demo boards. I have been using MCUs from this family for years now, which is a good reason to use them here. STM32 is a family of 32-bit processors by ST-Microelectronics, based on ARM Cortex-M designs. CMake is by far the most widely used build system in the C++ world, and better integration with it is sorely needed. It is becoming so popular that it will probably be the build tool for Qt6:įor Qt 6, we aim to use CMake as a standard 3rd party build system to build Qt itself. In fact, it is more about CMake on MCUs but I had to pick one for the examples.ĬMake is becoming the de-facto standard tool to build C and C++ projects. This article is the first of a series dealing with CMake and STM32 microcontrollers. ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |