====== STM32 Introduction ====== Our lab will be performed in a Visual Studio Code environment. The best way to create a new project is to import a ready example. This can be done with the following steps. ===== Opening PlatformIO ===== {{:en:edu:zmitac:macro:embedeed:lab:STM32lab_1_vscode.png?nolink&800 | PlatformIO in VSCode environment}} ===== Choosing the hardware platform ===== {{:en:edu:zmitac:macro:embedeed:lab:STM32lab_2_platforms.png?nolink&800 | Opening the list of platforms}} ===== Selecting the STM32 platform ===== {{:en:edu:zmitac:macro:embedeed:lab:STM32lab_3_stm32.png?nolink&800 | Selecting STM32 platform}} =====Selecting the example ===== {{:en:edu:zmitac:macro:embedeed:lab:STM32lab_4_examples.png?nolink&800 | Selecting the example}} ===== Adjusting the platformio.ini file ===== {{:en:edu:zmitac:macro:embedeed:lab:STM32lab_5_ini.png?nolink&800 | Modification of the platformio.ini file}} ===== Final platformio.ini file should look like this ===== {{:en:edu:zmitac:macro:embedeed:lab:STM32lab_6_ini_final.png?nolink&800 | platformio.ini file}} ===== Compiling and uploading the executable ===== {{:en:edu:zmitac:macro:embedeed:lab:STM32lab_7_cpp.png?nolink&800 | Uploading the file to the board}}