Skip to content

Commit 70ba394

Browse files
authored
Merge pull request #318 from Luos-io/rc_2.5.3
Rc 2.5.3
2 parents efa0f98 + 14be177 commit 70ba394

File tree

428 files changed

+17282
-1210
lines changed

Some content is hidden

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

428 files changed

+17282
-1210
lines changed

.github/ISSUE_TEMPLATE/porting-request.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Add details about the network interface, the pins used, the device, etc.
1818
Don't hesitate to post a schematic.
1919

2020
**Ensure that every box bellow is checked:**
21-
- [ ] The MCU is not in the [compatible list](https://docs.luos.io/docs/next/compatibility/mcu_demoboard) in the documentation.
21+
- [ ] The MCU is not in the [compatible list](https://www.luos.io/docs/next/compatibility/mcu_demoboard) in the documentation.
2222
- [ ] The MCU is not already in an existing [porting issue](https://github.com/Luos-io/luos_engine/issues).
2323
- [x] The issue has the label `porting`.
2424
- [ ] The issue is added to the [Porting](https://github.com/orgs/Luos-io/projects/3) project.

.github/workflows/build.yml

+75-37
Original file line numberDiff line numberDiff line change
@@ -1,59 +1,87 @@
1-
name: Build
1+
name: Code checker
22

33
on:
4+
pull_request:
5+
types:
6+
- review_requested
47
push:
5-
branches:
6-
- main
78

8-
jobs:
9-
build:
10-
runs-on: ${{ matrix.os }}
11-
strategy:
12-
matrix:
13-
os: [macos-latest, windows-latest, ubuntu-latest]
14-
include:
15-
- os: windows-latest
16-
pio_lib_path: D:\a\Luos
17-
- os: macos-latest
18-
pio_lib_path: ~/work/Luos
19-
- os: ubuntu-latest
20-
pio_lib_path: ~/work/Luos
9+
concurrency:
10+
group: dev-build-${{ github.head_ref || github.ref_name }}
11+
cancel-in-progress: true
2112

13+
jobs:
14+
unit-tests:
15+
name: Unit tests
16+
runs-on: windows-latest
2217
steps:
23-
- name: Set up Python
24-
uses: actions/setup-python@v1
25-
with:
26-
python-version: "3.x"
18+
- name: Check out Luos repository
19+
uses: actions/checkout@v3
2720

28-
- name: Set up Node
29-
uses: actions/setup-node@v2
21+
- name: Set up Python
22+
uses: actions/setup-python@v4
3023
with:
31-
node-version: "14"
24+
python-version: "3.10.5"
3225

3326
- name: Install dependencies
3427
run: |
3528
python -m pip install --upgrade pip
29+
pip install wheel
3630
pip install platformio
37-
npm install -g clang-format@1.5.0
3831
32+
- name: Run PlatformIO Unit Tests
33+
run: |
34+
# Clean all projects
35+
platformio run -t clean -c ./test/_resources/platformio.ini
36+
37+
# Run Unit tests
38+
platformio test -c ./test/_resources/platformio.ini -vvv
39+
40+
code-format:
41+
name: Code format
42+
runs-on: ubuntu-latest
43+
steps:
3944
- name: Check out Luos repository
40-
uses: actions/checkout@v2
45+
uses: actions/checkout@v3
46+
47+
- name: Set up Python
48+
uses: actions/setup-python@v4
49+
with:
50+
python-version: "3.10.5"
51+
52+
- name: Set up Node
53+
uses: actions/setup-node@v2
54+
with:
55+
node-version: '14'
56+
57+
- name: Install dependencies
58+
run: npm install -g clang-format@1.5.0
4159

4260
- name: Check for code format
43-
if: ${{ runner.os != 'Windows' }}
4461
run: python .github/workflows/run-clang-format.py -r .
4562

46-
- name: Run PlatformIO Unit Tests
47-
env:
48-
PLATFORMIO_LIB_EXTRA_DIRS: ${{ matrix.pio_lib_path }}
49-
if: ${{ runner.os == 'Windows' }}
63+
examples-build:
64+
name: Examples build
65+
runs-on: ${{ matrix.os }}
66+
strategy:
67+
matrix:
68+
os: [macos-latest, windows-latest, ubuntu-latest]
69+
70+
steps:
71+
- name: Check out Luos repository
72+
uses: actions/checkout@v3
73+
74+
- name: Set up Python
75+
uses: actions/setup-python@v4
76+
with:
77+
python-version: "3.10.5"
78+
79+
- name: Install dependencies
5080
run: |
51-
# Clean all projects
52-
platformio run -t clean -c .\test\_resources\platformio.ini
81+
python -m pip install --upgrade pip
82+
pip install wheel
83+
pip install platformio
5384
54-
# Run Unit tests
55-
platformio test -c .\test\_resources\platformio.ini -vvv
56-
continue-on-error: true
5785
- name: Run PlatformIO
5886
run: |
5987
# L0
@@ -64,7 +92,6 @@ jobs:
6492
platformio run -d examples/projects/l0/distance
6593
platformio run -d examples/projects/l0/dxl
6694
platformio run -d examples/projects/l0/gate_serialcom
67-
platformio run -d examples/projects/l0/inspector_serialcom
6895
platformio run -d examples/projects/l0/gpio
6996
platformio run -d examples/projects/l0/imu
7097
platformio run -d examples/projects/l0/led
@@ -124,7 +151,6 @@ jobs:
124151
platformio run -d examples/projects/NUCLEO-F410RB/bootloader
125152
platformio run -d examples/projects/NUCLEO-F410RB/dc_motor
126153
platformio run -d examples/projects/NUCLEO-F410RB/potentiometer
127-
# ******** missing bootloader ********
128154
# NUCLEO-G431KB
129155
platformio run -d examples/projects/NUCLEO-G431KB/button
130156
platformio run -d examples/projects/NUCLEO-G431KB/gate_serialcom
@@ -144,5 +170,17 @@ jobs:
144170
platformio run -d examples/projects/NUCLEO-F072RB/button
145171
platformio run -d examples/projects/NUCLEO-F072RB/dc_motor
146172
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
147185
# SAMD21XPLAINED
148186
# ******** missing bootloader CI ********

.github/workflows/dev-build.yml

-147
This file was deleted.

.github/workflows/link_checker.yml

+15-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,20 @@
11
name: Markdown link checker
22

3-
on: push
3+
on:
4+
pull_request:
5+
types:
6+
- review_requested
7+
paths:
8+
- '**.md'
9+
- './LICENSE'
10+
push:
11+
paths:
12+
- '**.md'
13+
- './LICENSE'
14+
15+
concurrency:
16+
group: markdown-link-check-${{ github.head_ref || github.ref_name }}
17+
cancel-in-progress: true
418

519
jobs:
620
markdown-link-check:

CODE_OF_CONDUCT.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<a href="https://luos.io"><img src="https://uploads-ssl.webflow.com/601a78a2b5d030260a40b7ad/603e0cc45afbb50963aa85f2_Gif%20noir%20rect.gif" alt="Luos logo" title="Luos" align="right" height="100" /></a>
1+
<a href="https://www.luos.io"><img src="https://uploads-ssl.webflow.com/601a78a2b5d030260a40b7ad/603e0cc45afbb50963aa85f2_Gif%20noir%20rect.gif" alt="Luos logo" title="Luos" align="right" height="100" /></a>
22

33
# Contributor Covenant Code of Conduct
44

@@ -77,8 +77,8 @@ available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.ht
7777
For answers to common questions about this code of conduct, see
7878
https://www.contributor-covenant.org/faq
7979

80-
## Don't hesitate to read [our documentation](https://docs.luos.io), or to post your questions/issues on the [Luos' Forum](https://community.luos.io). :books:
80+
## Don't hesitate to read [our documentation](https://www.luos.io/docs/luos-technology), or to post your questions/issues on the [Luos' community](https://www.luos.io/community). :books:
8181

82-
[![](https://img.shields.io/discourse/topics?server=https%3A%2F%2Fcommunity.luos.io&logo=Discourse)](https://community.luos.io)
83-
[![](https://img.shields.io/badge/Luos-Documentation-34A3B4)](https://docs.luos.io)
82+
[![](https://img.shields.io/discourse/topics?server=https%3A%2F%2Fcommunity.luos.io&logo=Discourse)](https://www.luos.io/community)
83+
[![](https://img.shields.io/badge/Luos-Documentation-34A3B4)](https://www.luos.io)
8484
[![](https://img.shields.io/badge/LinkedIn-Follow%20us-0077B5?style=flat&logo=linkedin)](https://www.linkedin.com/company/luos)

0 commit comments

Comments
 (0)