This repository contains code and configurations for the STM32 B-L072Z-LRWAN1.
- STM32 Cube MX for code generation
- VSCode with extension:
- stm32-for-vscode
- cortex-debug
For stm32-for-vscode, you can either do the automatic installation as described in the extension page or manually install the following tools.
- Clone the repository
- Open the project (*.ioc file) in STM32 Cube MX
- Press Generate Code
- Open the project folder that contains the .ioc in VSCode (e.g.
stm-lora-test
) - Press F5 to build and debug
Important: Generate Code overwrites all parts in the code that are not between USER CODE BEGIN
and USER CODE END
comments!