Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NEW FEATURE] Native step 1 : Button + Gate + Pipe binary working with pyluos #290

Closed
nicolas-rabault opened this issue Jul 26, 2022 · 0 comments
Assignees
Labels
native Related to native support
Milestone

Comments

@nicolas-rabault
Copy link
Member

nicolas-rabault commented Jul 26, 2022

In this first step of the Native development, our goal is to create a relevant example proving that a single Luos binary (equivalent to a single node) can work with the existing tools available in the Luos ecosystem.

Example to develop

For this first example, we will create a binary with a Button, a Gate/Inspector, and a Pipe :
image

HAL

Luos_engine core HAL

In this HAL, we have to deal with systick and flash. We will avoid the flash functions for now because we don't need to support the bootloader feature yet. In the future, we could emulate the flash with a file and be able to execute it (see #289 ).

Robus HAL

For this first step, in this HAL, we only need to fake message transmissions. Other functions can be void.

Button

The button service will use the space key of the keyboard to change its state.

Gate and Inspector

Gate and Inspector are app services. They don't rely on any hardware. Meaning they can be compiled and work without any modifications.

Pipe

Gate/Inspector will use Pipe to exchange information with pyluos. We will have to make this Pipe use WebSocket instead of the classical Serial communication. This work will be usable for the development of the Robus Native HAL on step 2 of the native development.
Also, this Pipe could be able to declare itself on the network allowing pyluos to discover the available pipe on the network (see #288 )

@nicolas-rabault nicolas-rabault added this to the 2.6.0 milestone Jul 26, 2022
@nicolas-rabault nicolas-rabault added the native Related to native support label Jul 26, 2022
@JeromeGalan JeromeGalan modified the milestones: 2.6.0, 2.7.0 Aug 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
native Related to native support
Projects
Development

No branches or pull requests

2 participants