Skip to content

Latest commit

 

History

History
37 lines (16 loc) · 960 Bytes

README_EN.md

File metadata and controls

37 lines (16 loc) · 960 Bytes

A Demo That Demostrate c++20 coroutine usage in MCU env

This demo uses PlatformIO as IDE

Strongly recommend vscode + pio extension as development IDE.

Quick begin:

Fire up vscode, install This Platformio Extension

Then "Open Folder" this cloned repo.

Hit alt text to build this demo.

This demo uses stm32g431 MCU.

How To use µcoro with other MCU:

create new folder under src/boards/ , name it with MCU type or devboard.

eg. src/boards/esp32

then register new board in platformio.ini.

Remember to use alt text

this tool button to switch to your newly created board.

If you have any questions about PlatformIO, visit esp32 PlatformIO quick guide