Skip to content

Commit b6a0900

Browse files
Merge pull request #470 from Luos-io/feat/gate_custom
Allow users to add custom conversions to the standard tiny-json ones.
2 parents b37535c + aaebbec commit b6a0900

File tree

117 files changed

+749
-394
lines changed

Some content is hidden

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

117 files changed

+749
-394
lines changed

.github/workflows/build.yml

Lines changed: 24 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
- review_requested
77
push:
88

9-
concurrency:
9+
concurrency:
1010
group: dev-build-${{ github.head_ref || github.ref_name }}
1111
cancel-in-progress: true
1212

@@ -46,9 +46,9 @@ jobs:
4646
4747
- if: matrix.os == 'ubuntu-latest'
4848
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
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
5252
5353
- if: matrix.os == 'ubuntu-latest'
5454
name: Coveralls
@@ -59,8 +59,7 @@ jobs:
5959
needs: tests-run
6060
runs-on: ubuntu-latest
6161
steps:
62-
- run: echo "Tests succeed!"
63-
62+
- run: echo "Tests succeed!"
6463

6564
code-format:
6665
name: Code format
@@ -77,7 +76,7 @@ jobs:
7776
- name: Set up Node
7877
uses: actions/setup-node@v2
7978
with:
80-
node-version: '14'
79+
node-version: "14"
8180

8281
- name: Install dependencies
8382
run: npm install -g [email protected]
@@ -90,20 +89,23 @@ jobs:
9089
runs-on: ${{ matrix.os }}
9190
strategy:
9291
matrix:
93-
project_folders: [examples/projects/l0,
94-
examples/projects/Arduino,
95-
examples/projects/NUCLEO-L432KC,
96-
examples/projects/STM32F4-discovery,
97-
examples/projects/NUCLEO-F401RE,
98-
examples/projects/NUCLEO-F410RB,
99-
examples/projects/NUCLEO-G431KB,
100-
examples/projects/NUCLEO-G474RE,
101-
examples/projects/NUCLEO-F072RB,
102-
examples/projects/NUCLEO-L073RZ,
103-
examples/projects/STM32L4S5_discovery,
104-
examples/projects/ESP32,
105-
examples/projects/native
106-
]
92+
project_folders:
93+
[
94+
examples/projects/l0,
95+
examples/projects/Arduino,
96+
examples/projects/NUCLEO-L432KC,
97+
examples/projects/NUCLEO-L476RG,
98+
examples/projects/STM32F4-discovery,
99+
examples/projects/NUCLEO-F401RE,
100+
examples/projects/NUCLEO-F410RB,
101+
examples/projects/NUCLEO-G431KB,
102+
examples/projects/NUCLEO-G474RE,
103+
examples/projects/NUCLEO-F072RB,
104+
examples/projects/NUCLEO-L073RZ,
105+
examples/projects/STM32L4S5_discovery,
106+
examples/projects/ESP32,
107+
examples/projects/native,
108+
]
107109
os: [macos-latest, windows-latest, ubuntu-latest]
108110

109111
steps:
@@ -152,4 +154,4 @@ jobs:
152154
needs: examples-build
153155
runs-on: ubuntu-latest
154156
steps:
155-
- run: echo "Build succeed!"
157+
- run: echo "Build succeed!"

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
**/.DS_Store
55
*.icloud
66
**/*.icloud
7+
**/*.pyc
78

89
.gcda
910
.gcno

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
![](https://github.com/Luos-io/luos_engine/actions/workflows/build.yml/badge.svg)
44
[![](https://img.shields.io/github/license/Luos-io/luos_engine)](https://github.com/Luos-io/luos_engine/blob/master/LICENSE)
55
[![](https://img.shields.io/badge/Luos-Documentation-34A3B4)](https://www.luos.io/docs)
6-
[![](http://certified.luos.io)](https://www.luos.io)
76
[![PlatformIO Registry](https://badges.registry.platformio.org/packages/luos/library/luos_engine.svg)](https://registry.platformio.org/libraries/luos/luos_engine)
87

98
[![](https://img.shields.io/discord/902486791658041364?label=Discord&logo=discord&style=social)](http://bit.ly/JoinLuosDiscord)
9+
[![](https://img.shields.io/badge/LinkedIn-Share-0077B5?style=social&logo=linkedin)](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fgithub.com%2Fluos-io)
1010

1111
Version: 3.0.0
1212

engine/HAL/README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
<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
![](https://github.com/Luos-io/luos_engine/actions/workflows/build.yml/badge.svg)
4-
[![](https://img.shields.io/github/license/Luos-io/Luos)](https://github.com/Luos-io/luos_engine/blob/master/LICENSE)
4+
[![](https://img.shields.io/github/license/Luos-io/luos_engine)](https://github.com/Luos-io/luos_engine/blob/master/LICENSE)
55

66
[![](https://img.shields.io/badge/Luos-Documentation-34A3B4)](https://www.luos.io)
7-
[![](http://certified.luos.io)](https://luos.io)
87
[![PlatformIO Registry](https://badges.registry.platformio.org/packages/luos/library/luos_engine.svg)](https://registry.platformio.org/libraries/luos_engine/luos_engine)
98

109
[![](https://img.shields.io/discord/902486791658041364?label=Discord&logo=discord&style=social)](http://bit.ly/JoinLuosDiscord)

examples/apps/README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
<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>
22

33
![](https://github.com/Luos-io/luos_engine/actions/workflows/build.yml/badge.svg)
4-
[![](https://img.shields.io/github/license/Luos-io/Luos)](https://github.com/Luos-io/luos_engine/blob/master/LICENSE)
4+
[![](https://img.shields.io/github/license/Luos-io/luos_engine)](https://github.com/Luos-io/luos_engine/blob/master/LICENSE)
55

66
[![](https://img.shields.io/badge/Luos-Documentation-34A3B4)](https://www.luos.io)
7-
[![](http://certified.luos.io)](https://luos.io)
87
[![PlatformIO Registry](https://badges.registry.platformio.org/packages/luos/library/luos_engine.svg)](https://registry.platformio.org/libraries/luos_engine/luos_engine)
98

109
[![](https://img.shields.io/discord/902486791658041364?label=Discord&logo=discord&style=social)](http://bit.ly/JoinLuosDiscord)

examples/apps/alarm_controller/README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<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>
22

3-
[![](http://certified.luos.io)](https://luos.io)
43
[![](https://img.shields.io/github/license/Luos-io/examples)](https://github.com/Luos-io/examples/blob/master/LICENSE)
54

65
[![](https://img.shields.io/badge/LinkedIn-Share-0077B5?style=social&logo=linkedin)](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fgithub.com%2Fluos-io)
@@ -13,6 +12,5 @@ This app constantly watches for movements and raises an alarm if there is.
1312

1413
This app is linked to the [bike_alarm/Alarm_controller project](../../projects/l0/bike_alarm/alarm_controller).
1514

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

examples/apps/start_controller/README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<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>
22

3-
[![](http://certified.luos.io)](https://luos.io)
43
[![](https://img.shields.io/github/license/Luos-io/examples)](https://github.com/Luos-io/examples/blob/master/LICENSE)
54

65
[![](https://img.shields.io/badge/LinkedIn-Share-0077B5?style=social&logo=linkedin)](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fgithub.com%2Fluos-io)
@@ -13,6 +12,5 @@ This app enables or disables the alarm .
1312

1413
This app is linked to the [bike_alarm/Start_controller project](../../Projects/bike_alarm/Alarm_controller).
1514

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

examples/projects/Arduino/bldc_simple_foc/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
![](https://github.com/Luos-io/luos_engine/actions/workflows/build.yml/badge.svg)
44
[![](https://img.shields.io/github/license/Luos-io/luos_engine)](https://github.com/Luos-io/luos_engine/blob/master/LICENSE)
55
[![](https://img.shields.io/badge/Luos-Documentation-34A3B4)](https://www.luos.io/docs)
6-
[![](http://certified.luos.io)](https://www.luos.io)
76
[![PlatformIO Registry](https://badges.registry.platformio.org/packages/luos/library/luos_engine.svg)](https://registry.platformio.org/libraries/luos/luos_engine)
87

98
[![](https://img.shields.io/discord/902486791658041364?label=Discord&logo=discord&style=social)](http://bit.ly/JoinLuosDiscord)

examples/projects/Arduino/button/lib/button/README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<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>
22

3-
[![](http://certified.luos.io)](https://luos.io)
43
[![](https://img.shields.io/github/license/Luos-io/examples)](https://github.com/Luos-io/examples/blob/master/LICENSE)
54

65
[![](https://img.shields.io/badge/LinkedIn-Share-0077B5?style=social&logo=linkedin)](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fgithub.com%2Fluos-io)
@@ -13,6 +12,5 @@ Driver for using a push button in your projects with Luos.
1312

1413
This driver is linked to the [Button project](../../Projects/button).
1514

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

examples/projects/Arduino/led/lib/led/README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<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>
22

3-
[![](http://certified.luos.io)](https://luos.io)
43
[![](https://img.shields.io/github/license/Luos-io/examples)](https://github.com/Luos-io/examples/blob/master/LICENSE)
54

65
[![](https://img.shields.io/badge/LinkedIn-Share-0077B5?style=social&logo=linkedin)](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fgithub.com%2Fluos-io)
@@ -13,6 +12,5 @@ Driver for using an RGB LED in your projects with Luos.
1312

1413
This driver is linked to the [LED project](../../Projects/led).
1514

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

0 commit comments

Comments
 (0)