Firstly, we create two main files main.c and main.h in the src_dir folder. Let’s add some actual code to the project. Processing the selected project may take some amount of time (PlatformIO will download and install all required packages) and after these steps, we have a fully configured project that is ready for developing code with STM32Cube framework. The debugger in IAR Embedded Workbench can be used to debug source code at C and assembly levels, set breakpoints, monitor individual variables and watch. On the next step, we need to select ST Nucleo-F401RE as a development board, STM32Cube as a framework and a path to the project location (or use the default one): The goal of this tutorial is to demonstrate how simple it is to use PlatformIO IDE for VSCode to develop, run and debug a basic blink project with STM32Cube framework for STM32 Nucleo-F401RE board.ĭownloaded and installed PlatformIO IDE for VSCodeĪt first step, we need to create a new project using PlatformIO Home Page (to open this page just press Home icon on the toolbar): STM32Cube HAL and Nucleo-F401RE: debugging and unit testing
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |