Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

SimplePublish for NUCLEO-L053R8

The QSL includes a SimplePublish example for the STMicroelectronics NUCLEO-L053R8 development board. This is given as a project for the Eclipse/GCC based System Workbench for STM32, where the STM32CubeMX has been used to auto-generate the necessary Hardware Abstraction Layer (HAL). The application behaves just like SimplePublish for the other platforms, and like the example for SAM C21; debug prints are re-targeted through a second serial port. A green LED on the Nucleo board is also toggled to indicate whether the mote has connected to a network or not.

The example was developed on System Workbench for STM32 v1.8 with STM32CubeMX version 4.16.0

Download System Workbench

Prepare the NUCLEO-L053R8

Connect to Mote

Connect ST-Link to Computer

Open Debug Terminal

Compile and Run

Open workspace

Import project

Build

By default Eclipse will index unused headers, causing some errors that don't affect compilation. You can remove these by disabling the option in project properties:
C/C++ General > Indexer > Indexer Options > Index unused headers

 

Debug as

 

  • No labels