A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/wokwi/stm32-hello-wokwi below:

wokwi/stm32-hello-wokwi: STM32 Nucleo64 + Wokwi Example (C031C6)

STM32 Nucleo64 C031C6 with Wokwi Simulation

A simple "Hello World" example showing how to run an STM32 project in Wokwi for Visual Studio Code.

We recommend using the STM32 VS Code extension to build the project. You will also need to install STM32CubeCLT.

You can also build the project from the command line:

Make sure you have the Arm GNU Toolchain installed.

To simulate this project, install Wokwi for VS Code. Open the project directory in Visual Studio Code, press F1 and select "Wokwi: Start Simulator".

If wokwi complains about a missing firmware, you may need to tell cmake to generate a debug build. Press F1, select "CMake: Select Configure Preset", and choose "debug".

Once the simulation is running, you should see the text "Hello, Wowki!" in the Serial monitor.

You can also debug the simulated project using the built-in debugger in Visual Studio Code. To do that, follow these steps:

  1. Configure cmake to generate a debug build by pressing F1, selecting "CMake: Select Configure Preset", and choosing "debug".
  2. Press F1 again and select "Wokwi: Start Simulator and Wait for Debugger".
  3. Press F5 to start the debugger.

The debug configuration is already defined in the .vscode/launch.json file. For more information, see the Wokwi for VS Code documentation.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4