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.
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.
- Install Platform IO on VSCode by following the instructions on this page.
- Create a new projet on PlatformIO
- Add Luos as dependancy and select HAL on your
lib_deps = Luos board = <board name>
<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.
Luos shares a lot of code examples, feel free to use and modify them as you want.
Luos created a sets of boards allowing to easily test the technology.
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_config.hin your project;
- Change, if necessary,
luos_hal_config.hin 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);
luos.hon your source file.