Skip to content

Commit b0cb11a

Browse files
author
JeromeGalan
authored
Merge pull request #329 from Luos-io/rc_2.6.0
[RELEASE] Luos Engine : version 2.6.0
2 parents 70ba394 + 3daacfc commit b0cb11a

File tree

835 files changed

+5447
-6255
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

835 files changed

+5447
-6255
lines changed

.clang-format

+1
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,4 @@ AlignOperands: true
1414
BreakBeforeBinaryOperators: All
1515
AlignConsecutiveMacros: true
1616
AlignConsecutiveAssignments: true
17+
IndentPPDirectives: BeforeHash

.github/ISSUE_TEMPLATE/bug-report.md

+29-14
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,40 @@
11
---
22
name: Bug report
3-
about: Create a report to help us improve
3+
about: Report a bug in Luos
44
title: "[BUG] "
55
labels: bug
6-
assignees: nicolas-rabault
6+
assignees: simonbdy
77

88
---
99

10-
** Which version the bug has been detected **
11-
Luos engine X.Y.Z
10+
## Before to begin
1211

13-
**Describe the bug**
14-
A clear and concise description of what the bug is.
12+
Thank you for contributing to the Luos project!
1513

16-
**Network configuration**
17-
- Add the routing table or list the nodes and their services
18-
- Power input configuration
14+
Before to begin, please ensure that this bug is an actual bug, and that it has not been reported yet (you can use the GitHub searchbar with keywords to look for other issues).
1915

20-
**How to reproduce the bug**
21-
Describe thoroughly the steps to reproduce the bug.
16+
If you only have a usage question, ask it to the [Luos Community](https://discord.gg/luos).
2217

23-
**Additional context**
24-
Add any other context about the problem here.
25-
Don't hesitate to add screenshots or to link an entry from the forum.
18+
At last, feel free to read the [Luos contribution's guidelines](https://github.com/Luos-io/luos_engine/blob/main/CONTRIBUTING.md) and the [documentation page](https://www.luos.io/docs/contribute-to-luos) to have more insight about how to contribute to Luos!
19+
20+
## Details
21+
Please replace the italic test by your inputs and details in each of the following sections:
22+
23+
### Which version the bug has been detected on
24+
*Luos engine X.Y.Z*
25+
26+
### Description of the bug
27+
*A clear and concise description of what is the expected behavior and what is the current behavior.*
28+
29+
### Context and environment
30+
- *Add the routing table or the list of the nodes and their services*
31+
- *Detail the power input configuration*
32+
- *Add any other details about the context and environment*
33+
34+
### How to reproduce the bug
35+
*Describe thoroughly the steps to reproduce the bug.*
36+
37+
### Possible solution
38+
*Give the details of a possible solution to resolve the bug.*
39+
40+
Thank you! Your issue will be reviewed by our admins.

.github/ISSUE_TEMPLATE/feature-request.md

+24-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,30 @@ name: Feature request
33
about: Suggest a new feature to be working in Luos
44
title: "[NEW FEATURE] "
55
labels: feature
6-
assignees: nicolas-rabault
6+
assignees: simonbdy
77

88
---
99

10-
**What feature would you like to be included in Luos?**
10+
## Before to begin
11+
12+
Thank you for contributing to the Luos project!
13+
14+
Before to begin, please ensure that the feature you are requesting doesn't exist yet (you can use the GitHub searchbar with keywords to look for other issues).
15+
16+
If you only have a usage question, ask it to the [Luos Community](https://discord.gg/luos).
17+
18+
At last, feel free to read the [Luos contribution's guidelines](https://github.com/Luos-io/luos_engine/blob/main/CONTRIBUTING.md) and the [documentation page](https://www.luos.io/docs/contribute-to-luos) to have more insight about how to contribute to Luos!
19+
20+
## Details
21+
Please replace the italic test by your inputs and details in each of the following sections:
22+
23+
### What feature would you like to be included in Luos?
24+
*Describe the feature you want to be added to Luos.*
25+
26+
### Describe the expected behavior of the feature
27+
*Describe how the feature would work, in which environment and context.*
28+
29+
### What is the motivation / use case for changing the behavior?
30+
*Explain why you request this feature, and in which use case it applies.*
31+
32+
Thank you! Your issue will be reviewed by our admins.

.github/ISSUE_TEMPLATE/porting-request.md

+28-13
Original file line numberDiff line numberDiff line change
@@ -3,25 +3,40 @@ name: Porting request
33
about: Suggest a new MCU to be compatible with Luos
44
title: "[MCU PORTING] "
55
labels: porting
6-
assignees: nicolas-rabault
6+
assignees: simonbdy
77

88
---
99

10-
**What MCU would you like Luos to be compatible with?**
10+
## Before to begin
1111

12-
**Link the datasheet of this MCU:**
12+
Thank you for contributing to the Luos project!
1313

14-
**Describe your project:**
14+
Before to begin, please ensure that the issue you want to open doesn't exist yet with the same porting request (you can use the GitHub searchbar with keywords to look for other issues).
1515

16-
**Describe the electronic board hosting the MCU:**
17-
Add details about the network interface, the pins used, the device, etc.
18-
Don't hesitate to post a schematic.
16+
If you only have a usage question, ask it to the [Luos Community](https://discord.gg/luos).
1917

20-
**Ensure that every box bellow is checked:**
21-
- [ ] The MCU is not in the [compatible list](https://www.luos.io/docs/next/compatibility/mcu_demoboard) in the documentation.
18+
At last, feel free to read the [Luos contribution's guidelines](https://github.com/Luos-io/luos_engine/blob/main/CONTRIBUTING.md) and the [documentation page](https://www.luos.io/docs/contribute-to-luos) to have more insight about how to contribute to Luos!
19+
20+
## Details
21+
Please replace the italic test by your inputs and details in each of the following sections:
22+
23+
### What MCU would you like Luos to be compatible with?
24+
*List the MCU(s) you want Luos to be compatible with.*
25+
26+
### Link the datasheet of this MCU
27+
*Please provide the links of the MCU's datasheet.*
28+
29+
### Describe your project
30+
*Describe your project and explain why you need the MCU(s) to be Luos compatible.*
31+
32+
### Describe the electronic board hosting the MCU
33+
*Add details about the network interface, the pins used, the device, etc. Don't hesitate to post a schematic.*
34+
35+
### Ensure that every box bellow is checked
36+
- [ ] The MCU is not in the [compatible list](https://www.luos.io/docs/compatibility/mcu_demoboard) in the documentation.
2237
- [ ] The MCU is not already in an existing [porting issue](https://github.com/Luos-io/luos_engine/issues).
23-
- [x] The issue has the label `porting`.
24-
- [ ] The issue is added to the [Porting](https://github.com/orgs/Luos-io/projects/3) project.
2538

26-
**Additional context**
27-
Add any other context about the porting request here.
39+
### Additional context
40+
*Add any other context about the porting request here.*
41+
42+
Thank you! Your issue will be reviewed by our admins.

.github/pull_request_template.md

+37-11
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,50 @@
1-
# PR Checklist
1+
By submiting this PR, you agree with the associated license ([Apache 2.0](https://www.apache.org/licenses/LICENSE-2.0) or [MIT](http://choosealicense.com/licenses/mit/)) and with our [Contributor License Agreement](https://github.com/Luos-io/luos_engine/) (CLA).
22

3-
### _1- PR Comments_
4-
*If needed, to be filled by developer*
3+
## Before to begin
54

6-
<br><hr/>
7-
*WARNING : Do not edit the checklist below.*
8-
<hr/><br>
5+
Thank you for contributing to the Luos project!
96

10-
### _2- Developer section_
7+
Before to begin, please follow these steps:
8+
9+
- [ ] Ensure that this PR is not a duplicate.
10+
- [ ] Assign @Simonbdy to this PR
11+
- [ ] Add the PR to the `Luos contribution project`
12+
13+
Feel free to read the [Luos contribution's guidelines](https://github.com/Luos-io/luos_engine/blob/main/CONTRIBUTING.md) and the [documentation page](https://www.luos.io/docs/contribute-to-luos) to have more insight about how to contribute to Luos.
14+
15+
## PR Description section
16+
17+
### Description and dependencies
18+
*Please include here a summary of the changes and the related issue. List any dependencies that are required for this change.*
19+
20+
### Changes
21+
Please choose the relevant options:
22+
23+
- [ ] Bug fix (non-breaking change which fixes an issue)
24+
- [ ] New feature (non-breaking change which adds functionality)
25+
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
26+
- [ ] This change requires a documentation update
27+
28+
### Related issue(s)
29+
*Provide a list of the related issues that will be fixed by this PR.*
30+
31+
---
32+
33+
**WARNING**: Do not edit the checklist below.
34+
35+
---
36+
37+
## Developer section
1138

1239
- [ ] [Documentation] is up to date with new feature
13-
- [ ] [Tests] are *passed OK* (Non regression, new features & bug fixes)
14-
- [ ] [Code Quality] Remind to check if :
40+
- [ ] [Tests] are *passed OK* (non regression, new features & bug fixes)
41+
- [ ] [Code Quality] please check if:
1542
* Each function has a header (description, inputs, outputs)
1643
* Code is commented (particularly in hard to understand areas)
1744
* There are no new warnings that can be corrected
1845
* Commits policy is respected (constitancy commits, clear commits comments)
19-
<hr/><br>
2046

21-
### _3- QA section_
47+
## QA section
2248

2349
- [ ] [Review] tests for new features have been *reviewed*
2450
- [ ] [Changelog] is up-to-date with expected tags

.github/workflows/build.yml

+46-99
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ concurrency:
1010
group: dev-build-${{ github.head_ref || github.ref_name }}
1111
cancel-in-progress: true
1212

13+
defaults:
14+
run:
15+
shell: bash
16+
1317
jobs:
1418
unit-tests:
1519
name: Unit tests
@@ -65,6 +69,19 @@ jobs:
6569
runs-on: ${{ matrix.os }}
6670
strategy:
6771
matrix:
72+
project_folders: [examples/projects/l0,
73+
examples/projects/Arduino,
74+
examples/projects/NUCLEO-L432KC,
75+
examples/projects/STM32F4-discovery,
76+
examples/projects/NUCLEO-F401RE,
77+
examples/projects/NUCLEO-F410RB,
78+
examples/projects/NUCLEO-G431KB,
79+
examples/projects/NUCLEO-G474RE,
80+
examples/projects/NUCLEO-F072RB,
81+
examples/projects/NUCLEO-L073RZ,
82+
examples/projects/STM32L4S5_discovery,
83+
examples/projects/ESP32
84+
]
6885
os: [macos-latest, windows-latest, ubuntu-latest]
6986

7087
steps:
@@ -84,103 +101,33 @@ jobs:
84101
85102
- name: Run PlatformIO
86103
run: |
87-
# L0
88-
platformio run -d examples/projects/l0/button
89-
platformio run -d examples/projects/l0/button_freertos
90-
platformio run -d examples/projects/l0/controller_motor
91-
platformio run -d examples/projects/l0/dc_motor
92-
platformio run -d examples/projects/l0/distance
93-
platformio run -d examples/projects/l0/dxl
94-
platformio run -d examples/projects/l0/gate_serialcom
95-
platformio run -d examples/projects/l0/gpio
96-
platformio run -d examples/projects/l0/imu
97-
platformio run -d examples/projects/l0/led
98-
platformio run -d examples/projects/l0/led_strip
99-
platformio run -d examples/projects/l0/light_sensor
100-
platformio run -d examples/projects/l0/load
101-
platformio run -d examples/projects/l0/potentiometer
102-
platformio run -d examples/projects/l0/power_switch
103-
platformio run -d examples/projects/l0/servo
104-
platformio run -d examples/projects/l0/stepper
105-
platformio run -d examples/projects/l0/bike_alarm/alarm_controller
106-
platformio run -d examples/projects/l0/bike_alarm/start_controller
107-
platformio run -d examples/projects/l0/demo/detection_button
108-
platformio run -d examples/projects/l0/demo/ledstrip_position
109-
platformio run -d examples/projects/l0/demo/motor_copy_app
110-
platformio run -d examples/projects/l0/demo/motor_demo_app
111-
platformio run -d examples/projects/l0/bootloader
112-
# arduino
113-
platformio run -d examples/projects/Arduino/button
114-
platformio run -d examples/projects/Arduino/fingerprint
115-
platformio run -d examples/projects/Arduino/gate_serialcom
116-
platformio run -d examples/projects/Arduino/inspector_serialcom
117-
platformio run -d examples/projects/Arduino/lcd
118-
platformio run -d examples/projects/Arduino/led
119-
platformio run -d examples/projects/Arduino/servo_motor
120-
platformio run -d examples/projects/Arduino/bldc_simple_foc
121-
platformio run -d examples/projects/Arduino/stepper_simple_foc
122-
# NUCLEO-L432KC
123-
platformio run -d examples/projects/NUCLEO-L432KC/button
124-
platformio run -d examples/projects/NUCLEO-L432KC/fingerprint
125-
platformio run -d examples/projects/NUCLEO-L432KC/gate_serialcom
126-
platformio run -d examples/projects/NUCLEO-L432KC/gpio
127-
platformio run -d examples/projects/NUCLEO-L432KC/inspector_serialcom
128-
platformio run -d examples/projects/NUCLEO-L432KC/lcd
129-
platformio run -d examples/projects/NUCLEO-L432KC/led
130-
platformio run -d examples/projects/NUCLEO-L432KC/servo
131-
platformio run -d examples/projects/NUCLEO-L432KC/bootloader
132-
platformio run -d examples/projects/NUCLEO-L432KC/dc_motor
133-
platformio run -d examples/projects/NUCLEO-L432KC/potentiometre
134-
# STM32F4-discovery
135-
platformio run -d examples/projects/STM32F4-discovery/button
136-
platformio run -d examples/projects/STM32F4-discovery/gate_serialcom
137-
platformio run -d examples/projects/STM32F4-discovery/inspector_serialcom
138-
# ******** missing bootloader ********
139-
# NUCLEO-F401RE
140-
platformio run -d examples/projects/NUCLEO-F401RE/button
141-
platformio run -d examples/projects/NUCLEO-F401RE/gate_serialcom
142-
platformio run -d examples/projects/NUCLEO-F401RE/inspector_serialcom
143-
platformio run -d examples/projects/NUCLEO-F401RE/led
144-
platformio run -d examples/projects/NUCLEO-F401RE/bootloader
145-
platformio run -d examples/projects/NUCLEO-F401RE/dc_motor
146-
platformio run -d examples/projects/NUCLEO-F401RE/potentiometer
147-
# NUCLEO-F410RB
148-
platformio run -d examples/projects/NUCLEO-F410RB/button
149-
platformio run -d examples/projects/NUCLEO-F410RB/gate_serialcom
150-
platformio run -d examples/projects/NUCLEO-F410RB/inspector_serialcom
151-
platformio run -d examples/projects/NUCLEO-F410RB/bootloader
152-
platformio run -d examples/projects/NUCLEO-F410RB/dc_motor
153-
platformio run -d examples/projects/NUCLEO-F410RB/potentiometer
154-
# NUCLEO-G431KB
155-
platformio run -d examples/projects/NUCLEO-G431KB/button
156-
platformio run -d examples/projects/NUCLEO-G431KB/gate_serialcom
157-
platformio run -d examples/projects/NUCLEO-G431KB/inspector_serialcom
158-
platformio run -d examples/projects/NUCLEO-G431KB/bootloader
159-
platformio run -d examples/projects/NUCLEO-G431KB/dc_motor
160-
platformio run -d examples/projects/NUCLEO-G431KB/potentiometer
161-
# NUCLEO-G474RE
162-
platformio run -d examples/projects/NUCLEO-G474RE/button
163-
platformio run -d examples/projects/NUCLEO-G474RE/gate_serialcom
164-
platformio run -d examples/projects/NUCLEO-G474RE/inspector_serialcom
165-
platformio run -d examples/projects/NUCLEO-G474RE/bootloader
166-
# NUCLEO-F072RB
167-
platformio run -d examples/projects/NUCLEO-F072RB/gate_serialcom
168-
platformio run -d examples/projects/NUCLEO-F072RB/inspector_serialcom
169-
platformio run -d examples/projects/NUCLEO-F072RB/bootloader
170-
platformio run -d examples/projects/NUCLEO-F072RB/button
171-
platformio run -d examples/projects/NUCLEO-F072RB/dc_motor
172-
platformio run -d examples/projects/NUCLEO-F072RB/potentiometer
173-
# NUCLEO-L073RZ
174-
platformio run -d examples/projects/NUCLEO-L073RZ/gate_serialcom
175-
platformio run -d examples/projects/NUCLEO-L073RZ/button
176-
platformio run -d examples/projects/NUCLEO-L073RZ/bootloader
177-
# STM32L4S5_discovery
178-
platformio run -d examples/projects/STM32L4S5_discovery/button
179-
platformio run -d examples/projects/STM32L4S5_discovery/gate_serialcom
180-
platformio run -d examples/projects/STM32L4S5_discovery/bootloader
181-
# ESP32
182-
platformio run -d examples/projects/ESP32/button
183-
platformio run -d examples/projects/ESP32/button_arduino
184-
platformio run -d examples/projects/ESP32/led
185-
# SAMD21XPLAINED
104+
for d in ${{ matrix.project_folders }}/*/
105+
do
106+
# Parse all folder
107+
if [ -f "$d/platformio.ini" ]
108+
then
109+
# This is a PIO project compile it
110+
echo "Compiling : $d"
111+
platformio run -d $d
112+
else
113+
# This folder could contain other projects, continue digging
114+
for dd in $d*/
115+
do
116+
# Parse all folder
117+
if [ -f "$dd/platformio.ini" ]
118+
then
119+
# This is a PIO project compile it
120+
echo "Compiling : $d"
121+
platformio run -d $dd
122+
fi
123+
done
124+
fi
125+
done
186126
# ******** missing bootloader CI ********
127+
128+
build-success:
129+
name: Build success
130+
needs: examples-build
131+
runs-on: ubuntu-latest
132+
steps:
133+
- run: echo "Build succeed!"

0 commit comments

Comments
 (0)