/Dragino_LSN50

Dragino LSN50 and LoRaST module

Primary LanguageC

LoRa STM32 Source Code, repackaged to build with STM32CubeIDE

This is a copy of the repository LoRa_STM32 from Dragino. The repository contains the sources to build a sample LoRa application for their LSN50 and LSN50-v2.

The code itself is unmodified, Christophe has added project defintions and settings to build with STM32CubeIDE. I have tested this with the LSN50-v2 and STM32CubeIDE 1.12.1

In order to import the project, open STM32CubeIDE, then select File->Import->Existing Projects and click Next, then Browse and select path for the repo directory. Then click Finish to import the project into your workspace.

Original versions:

19/06/2023 - V1.8.0

  • changed processor to L072CBTx to reflect correct Flash size of 128K (previously 192K)
  • fixed compiler warnings, no functional code changes, same version number
  • added Debug and Release launch configurations

Define Target Device:

.inc/hw_conf.h contains definition for target board, either LSN50-v2 or LoRa ST Module.

To change LoRa region:

REGION_AU915 definition in Menu->Project->Properties->C/C++Build->Settings->MCU GCC Compiler->Preprocessor remember to change for both Debug and Release.