VisualGDB will generate a basic Embedded CMake project consisting of the main application (terminal icon) and the BSP that includes several frameworks (such as FreeRTOS). ![]() In most cases, you can simply plug in the board and let VisualGDB automatically detect the parameters: Once the debug settings are selected, click “Finish” to create a project. Finally, choose the debug method that works with your setup.In this tutorial we will use the generic FreeRTOS LEDBlink sample with the default parameters: You can choose between a few generic VisualGDB-supplied samples and a huge selection of board-specific samples imported from the STM32 SDK. The next page of the wizard allows selecting a sample project that will be used as a template.In this tutorial we will target the STM32F4Discovery board that uses the STM32F407VG device: Although this tutorial uses the GCC compiler to build the project, the Advanced Embedded Project Subsystem also supports the Keil (both ARMCC and ARMClang) and IAR compilers. On the next page select the ARM toolchain and pick your device.On the first page of the VisualGDB-specific portion of the wizard, select “Create a new project -> Embedded Binary -> Advanced CMake” and click “Next”:.Enter the name and location of the project you would like to create:. ![]() Start Visual Studio and open the VisualGDB Embedded Project Wizard:.Before you begin, install VisualGDB 5.5 or later. ![]() We will create a basic FreeRTOS-based project for the STM32F4Discovery board, and will then show how to create additional library targets and change various project properties. This tutorial shows how to create, build, debug and edit Embedded CMake projects with VisualGDB.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |