Technology Download Community App'Store Pricing

Setup your development environment

Before starting developing with Luos, you need to have an operational development environment. At Luos, we use PlatformIO to share all our examples and to make our lib integration easy, but of course you can use your favorite IDE and integrate our libs by yourself.

Setup a Luos PlatformIO project

PlatformIO is a cross-platform, cross-architecture, multiple framework, professional tool for embedded systems engineers and for software developers who write applications for embedded products. You can put it as a plug-in in a lot of different editors.

Getting Started

  1. Install Platform IO on VSCode by following the instructions on this page.
  2. Create a new projet on PlatformIO
  3. Add Luos as dependancy and select HAL on your platformio.ini file:
lib_deps = Luos
board = <board name>

Replace <board name> with the name of the board you're using, eg. board = l0 for the L0 board.

Note: More information about how Luos libs are managed into PlatformIO is available by following this post on our forum.

Project examples

Luos shares a lot of code examples, feel free to use and modify them as you want.

Demonstration boards

Luos created a sets of boards allowing to easily test the technology.

General integration consideration

Luos works as a code library running on nodes. To match Luos library with your hardware, Luos offers a Hardware Abstraction Layer for a lot of devices in LuosHALHardware Abstraction Layer used to fit Luos with various hardware designs..

  • LuosHAL: This repository gives you a list of family device covers to match Luos library with your hardware.
  • Luos: This is the main library you will be working with.

To make it work on your environment, you have to:

  • Include Luos lib folders in your project compilation;
  • Select the right LuosHAL from your family device in LuosHAL folder, and include luos_hal.c, luos_hal.h and luos_hal_config.h in your project;
  • Change, if necessary, luos_hal_config.h in you project, the default configuration created by Luos (before including luos.h) in order to match LuosHAL with your hardware (eg: match pins with your design);
  • Include luos.h on your source file.
Follow @Luos-io Watch Star