Skip to content

Commit e87fe5e

Browse files
Merge pull request #445 from Luos-io/rc_3.0.0
Luos Engine Release 3.0.0
2 parents 7d6b810 + 68015b7 commit e87fe5e

File tree

936 files changed

+38023
-45740
lines changed

Some content is hidden

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

936 files changed

+38023
-45740
lines changed

.github/pull_request_template.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
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).
1+
By submiting this PR, you agree with the associated license [MIT](http://choosealicense.com/licenses/mit/)) and with our [Contributor License Agreement](https://github.com/Luos-io/luos_engine/) (CLA).
22

33
## Before to begin
44

.github/workflows/build.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,24 @@ jobs:
4444
# Run Unit tests
4545
platformio test -vvv
4646
47+
- if: matrix.os == 'ubuntu-latest'
48+
run: |
49+
sudo apt-get install -y lcov
50+
lcov -d .pio/build/native/ -c -o lcov.info
51+
lcov --remove lcov.info '*/usr/*' '*/Platforms/*' '*/bootloader/*' '*/.pio/*' '*/HAL/*' '*/test/*' '*/network/*' -o lcov.info
52+
53+
- if: matrix.os == 'ubuntu-latest'
54+
name: Coveralls
55+
uses: coverallsapp/github-action@v2
56+
4757
unit-tests:
4858
name: Unit tests
4959
needs: tests-run
5060
runs-on: ubuntu-latest
5161
steps:
5262
- run: echo "Tests succeed!"
5363

64+
5465
code-format:
5566
name: Code format
5667
runs-on: ubuntu-latest

.github/workflows/pio_release.yml

Lines changed: 33 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ jobs:
110110
pio package publish --owner luos --non-interactive
111111
cd ../..
112112
113-
deploy_inspector:
113+
deploy_pipe:
114114
needs: check_valid_tag
115115
runs-on: ubuntu-latest
116116
steps:
@@ -123,64 +123,44 @@ jobs:
123123
run: |
124124
python -m pip install --upgrade pip
125125
pip install platformio
126-
- name: publish inspector tool
126+
- name: publish pipe driver
127127
env:
128128
PLATFORMIO_AUTH_TOKEN: ${{ secrets.PIO_TOKEN }}
129129
run: |
130-
# ***** Inspector publication *****
131-
cd tool_services/inspector
132-
mkdir examples
133-
134-
# Arduino
135-
mkdir examples/Arduino
136-
mkdir examples/Arduino/serial
137-
cp -r ../../examples/projects/Arduino/inspector_serialcom/* examples/Arduino/serial/
138-
139-
# l0
140-
mkdir examples/l0
141-
mkdir examples/l0/serial
142-
cp -r ../../examples/projects/l0/inspector_serialcom/* examples/l0/serial/
143-
144-
# NUCLEO-F072RB
145-
mkdir examples/NUCLEO-F072RB
146-
mkdir examples/NUCLEO-F072RB/serial
147-
cp -r ../../examples/projects/NUCLEO-F072RB/inspector_serialcom/* examples/NUCLEO-F072RB/serial/
148-
149-
# NUCLEO-F401RE
150-
mkdir examples/NUCLEO-F401RE
151-
mkdir examples/NUCLEO-F401RE/serial
152-
cp -r ../../examples/projects/NUCLEO-F401RE/inspector_serialcom/* examples/NUCLEO-F401RE/serial/
153-
154-
# NUCLEO-F410RB
155-
mkdir examples/NUCLEO-F410RB
156-
mkdir examples/NUCLEO-F410RB/serial
157-
cp -r ../../examples/projects/NUCLEO-F410RB/inspector_serialcom/* examples/NUCLEO-F410RB/serial/
158-
159-
# NUCLEO-G431KB
160-
mkdir examples/NUCLEO-G431KB
161-
mkdir examples/NUCLEO-G431KB/serial
162-
cp -r ../../examples/projects/NUCLEO-G431KB/inspector_serialcom/* examples/NUCLEO-G431KB/serial/
163-
164-
# NUCLEO-G474RE
165-
mkdir examples/NUCLEO-G474RE
166-
mkdir examples/NUCLEO-G474RE/serial
167-
cp -r ../../examples/projects/NUCLEO-G474RE/inspector_serialcom/* examples/NUCLEO-G474RE/serial/
130+
# ***** Pipe publication *****
131+
cd tool_services/pipe
132+
# We don't publish examples with this one.
168133
169-
# NUCLEO-L432KC
170-
mkdir examples/NUCLEO-L432KC
171-
mkdir examples/NUCLEO-L432KC/serial
172-
cp -r ../../examples/projects/NUCLEO-L432KC/inspector_serialcom/* examples/NUCLEO-L432KC/serial/
134+
pio package pack
135+
pio package publish --owner luos --non-interactive
136+
cd ../..
173137
174-
# STM32F4-discovery
175-
mkdir examples/STM32F4-discovery
176-
mkdir examples/STM32F4-discovery/serial
177-
cp -r ../../examples/projects/STM32F4-discovery/inspector_serialcom/* examples/STM32F4-discovery/serial/
138+
deploy_robus:
139+
needs: check_valid_tag
140+
runs-on: ubuntu-latest
141+
steps:
142+
- uses: actions/checkout@v2
143+
- name: Set up Python
144+
uses: actions/setup-python@v1
145+
with:
146+
python-version: "3.x"
147+
- name: Install dependencies
148+
run: |
149+
python -m pip install --upgrade pip
150+
pip install platformio
151+
- name: publish robus network
152+
env:
153+
PLATFORMIO_AUTH_TOKEN: ${{ secrets.PIO_TOKEN }}
154+
run: |
155+
# ***** Robus network publication *****
156+
cd network/robus_network
157+
# We don't publish examples with this one.
178158
179159
pio package pack
180160
pio package publish --owner luos --non-interactive
181161
cd ../..
182162
183-
deploy_pipe:
163+
deploy_serial:
184164
needs: check_valid_tag
185165
runs-on: ubuntu-latest
186166
steps:
@@ -193,14 +173,14 @@ jobs:
193173
run: |
194174
python -m pip install --upgrade pip
195175
pip install platformio
196-
- name: publish pipe driver
176+
- name: publish robus network
197177
env:
198178
PLATFORMIO_AUTH_TOKEN: ${{ secrets.PIO_TOKEN }}
199179
run: |
200-
# ***** Pipe publication *****
201-
cd tool_services/pipe
180+
# ***** Serial network publication *****
181+
cd network/serial_network
202182
# We don't publish examples with this one.
203183
204184
pio package pack
205185
pio package publish --owner luos --non-interactive
206-
cd ../..
186+
cd ../..

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616
**/.gitignore
1717
*.out
1818
*.log
19+
*.info
20+
*.profraw
21+
cov/*
1922
/examples/projects/NUCLEO-G431KB/button/.mxproject
2023
/examples/projects/NUCLEO-G431KB/button/Button.gpdsc
2124
/examples/projects/NUCLEO-L432KC/button/Button.gpdsc
@@ -31,4 +34,7 @@
3134
/examples/projects/SAMD21XPLAINED/bootloader/firmware/luos_bootloader_samd21j18a.X/build/
3235
/examples/projects/SAMD21XPLAINED/bootloader/firmware/luos_bootloader_samd21j18a.X/.generated_files/
3336
/examples/projects/SAMD21XPLAINED/bootloader/firmware/luos_bootloader_samd21j18a.X/dist/
37+
examples/projects/ESP32/button/sdkconfig.esp32dev
38+
examples/projects/ESP32/led/sdkconfig.esp32dev
39+
tool_services/pipe/WS/ARDUINO/arduinoWebSockets/
3440
mongoose/

CLA.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
By making a contribution to this project, I certify that:
44

55
(a) The contribution was created in whole or in part by me and I
6-
have the right to submit it under the Apache 2.0 license; or
6+
have the right to submit it under the MIT license; or
77

88
(b) The contribution is based upon previous work that, to the best
99
of my knowledge, is covered under an appropriate open source
1010
license and I have the right under that license to submit that
1111
work with modifications, whether created in whole or in part
12-
by me, under the Apache 2.0 license; or
12+
by me, under the MIT license; or
1313

1414
(c) The contribution was provided directly to me by some other
1515
person who certified (a), (b) or (c) and I have not modified
@@ -23,5 +23,4 @@ By making a contribution to this project, I certify that:
2323

2424
---
2525

26-
The text of this license is available under the [Creative Commons Attribution-ShareAlike 3.0 Unported License](http://creativecommons.org/licenses/by-sa/3.0/). It is based on the Linux [Developer Certificate Of Origin](http://elinux.org/Developer_Certificate_Of_Origin), but is modified to explicitly use the Apache 2.0 license
27-
and not mention sign-off.
26+
The text of this license is available under the [Creative Commons Attribution-ShareAlike 3.0 Unported License](http://creativecommons.org/licenses/by-sa/3.0/). It is based on the Linux [Developer Certificate Of Origin](http://elinux.org/Developer_Certificate_Of_Origin), but is modified to explicitly use the MIT license and not mention sign-off.

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ There are many resources to guide you into making clean contribution on the Inte
121121
</blockquote>
122122

123123
<blockquote>ℹ️ Info<br />
124-
Luos is open source. Keep in mind that any contribution you make will be under the <a href="http://choosealicense.com/licenses/mit/" target="_blank">MIT Software License</a> for examples, and the <a href="https://www.apache.org/licenses/LICENSE-2.0" target="_blank">Apache 2.0 Licence</a> for Luos engine. In short, when you submit code to the project, you agree with our [Contributor License Agreement](https://github.com/Luos-io/luos_engine/) (CLA) and your submission is placed under the same license that the one covering the project.
124+
Luos is open source. Keep in mind that any contribution you make will be under the <a href="http://choosealicense.com/licenses/mit/" target="_blank">MIT Software License</a>, when you submit code to the project, you agree with our [Contributor License Agreement](https://github.com/Luos-io/luos_engine/) (CLA) and your submission is placed under the same license that the one covering the project.
125125
</blockquote>
126126

127127
People love thorough bug reports or feature requests. They tend to have:

0 commit comments

Comments
 (0)