Skip to content

Commit 0ffe037

Browse files
author
JeromeGalan
authored
Merge pull request #368 from Luos-io/rc_2.6.2
Luos Engine v2.6.2
2 parents 17b1911 + 9dd4222 commit 0ffe037

File tree

281 files changed

+1808
-1818
lines changed

Some content is hidden

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

281 files changed

+1808
-1818
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
[![](https://img.shields.io/discord/902486791658041364?label=Discord&logo=discord&style=social)](http://bit.ly/JoinLuosDiscord)
1010
[![](https://img.shields.io/reddit/subreddit-subscribers/Luos?style=social)](https://www.reddit.com/r/Luos)
1111

12-
Version: 2.6.1
12+
Version: 2.6.2
1313

1414
# Luos Technology
1515
## The most for the developer​

engine/HAL/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

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

1010
[![](https://img.shields.io/discord/902486791658041364?label=Discord&logo=discord&style=social)](http://bit.ly/JoinLuosDiscord)
1111
[![](https://img.shields.io/reddit/subreddit-subscribers/Luos?style=social)](https://www.reddit.com/r/Luos)

engine/core/src/luos_engine.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ typedef enum
2727
/*******************************************************************************
2828
* Variables
2929
******************************************************************************/
30-
revision_t luos_version = {.major = 2, .minor = 6, .build = 1};
30+
revision_t luos_version = {.major = 2, .minor = 6, .build = 2};
3131
package_t package_table[MAX_SERVICE_NUMBER];
3232
uint16_t package_number = 0;
3333
service_t service_table[MAX_SERVICE_NUMBER];

engine/core/src/streaming.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ uint16_t Stream_GetSample(streaming_channel_t *stream, void *data, uint16_t size
127127
******************************************************************************/
128128
uint16_t Stream_GetAvailableSampleNB(streaming_channel_t *stream)
129129
{
130-
int16_t nb_available_sample = (stream->data_ptr - stream->sample_ptr) / stream->data_size;
130+
int32_t nb_available_sample = (stream->data_ptr - stream->sample_ptr) / stream->data_size;
131131
if (nb_available_sample < 0)
132132
{
133133
// The buffer have looped
@@ -143,7 +143,7 @@ uint16_t Stream_GetAvailableSampleNB(streaming_channel_t *stream)
143143
******************************************************************************/
144144
uint16_t Stream_GetAvailableSampleNBUntilEndBuffer(streaming_channel_t *stream)
145145
{
146-
int16_t nb_available_sample = (stream->data_ptr - stream->sample_ptr) / stream->data_size;
146+
int32_t nb_available_sample = (stream->data_ptr - stream->sample_ptr) / stream->data_size;
147147
if (nb_available_sample < 0)
148148
{
149149
// The buffer have looped

examples/apps/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

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

1010
[![](https://img.shields.io/discord/902486791658041364?label=Discord&logo=discord&style=social)](http://bit.ly/JoinLuosDiscord)
1111
[![](https://img.shields.io/reddit/subreddit-subscribers/Luos?style=social)](https://www.reddit.com/r/Luos)

examples/apps/alarm_controller/library.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@
99
},
1010
"licence": "MIT",
1111
"dependencies": {
12-
"luos/luos_engine": "^2.6.1"
12+
"luos/luos_engine": "^2.6.2"
1313
}
1414
}

examples/apps/biometric-security/library.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@
99
},
1010
"licence": "MIT",
1111
"dependencies": {
12-
"luos/luos_engine": "^2.6.1"
12+
"luos/luos_engine": "^2.6.2"
1313
}
1414
}

examples/apps/start_controller/library.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@
99
},
1010
"licence": "MIT",
1111
"dependencies": {
12-
"luos/luos_engine": "^2.6.1"
12+
"luos/luos_engine": "^2.6.2"
1313
}
1414
}

examples/projects/Arduino/bldc_simple_foc/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Version: 2.6.1
2727

2828
## Wiring schematic​
2929

30-
![Wiring BLDC](https://raw.githubusercontent.com/Luos-io/Documentation/main/static/img/simplefoc_schematic.drawio.png)
30+
![Wiring BLDC](https://raw.githubusercontent.com/Luos-io/Documentation/main/static/assets/images/simplefoc_schematic.drawio.png)
3131

3232

3333
## Join Luos Community

examples/projects/Arduino/bldc_simple_foc/lib/motor/library.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@
1111
"build": {},
1212
"dependencies": {
1313
"askuric/Simple FOC": "^2.2.1",
14-
"luos/luos_engine": "^2.6.1"
14+
"luos/luos_engine": "^2.6.2"
1515
}
1616
}

examples/projects/Arduino/bldc_simple_foc/platformio.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@ build_flags =
2121
-include node_config.h
2222
-DLUOSHAL=ATSAMD21_ARDUINO
2323
lib_deps =
24-
luos_engine@^2.6.1
24+
luos_engine@^2.6.2
2525
SimpleFOC_Motor
2626
askuric/Simple FOC@^2.2.1

examples/projects/Arduino/button/lib/button/library.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"url": "https://luos.io"
99
},
1010
"dependencies": {
11-
"luos/luos_engine": "^2.6.1"
11+
"luos/luos_engine": "^2.6.2"
1212
},
1313
"licence": "MIT"
1414
}

examples/projects/Arduino/button/platformio.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ build_flags =
3434
-include node_config.h
3535
-D LUOSHAL=ATSAMD21_ARDUINO
3636
lib_deps =
37-
luos_engine@^2.6.1
37+
luos_engine@^2.6.2
3838
Button
3939

4040

examples/projects/Arduino/fingerprint/lib/Fingerprint/library.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"version": "1.0.0",
66
"licence": "MIT",
77
"dependencies": {
8-
"luos/luos_engine": "^2.6.1",
8+
"luos/luos_engine": "^2.6.2",
99
"adafruit/Adafruit Fingerprint Sensor Library": "*"
1010
}
1111
}

examples/projects/Arduino/fingerprint/platformio.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@ build_flags =
2121
-include node_config.h
2222
-D LUOSHAL=ATSAMD21_ARDUINO
2323
lib_deps =
24-
luos_engine@^2.6.1
24+
luos_engine@^2.6.2
2525
Fingerprint
2626
adafruit/Adafruit Fingerprint Sensor Library

examples/projects/Arduino/gate_serialcom/node_config.h

+16-9
Original file line numberDiff line numberDiff line change
@@ -94,21 +94,28 @@
9494
* :-------------------------|------------------------------------------------------
9595
* MAX_RTB_ENTRY | 40 | max number entry in routing table
9696
* GATE_BUFF_SIZE | 1024 | Json receive buffer size
97-
* PIPE_TO_LUOS_BUFFER_SIZE | 1024 | Receive pipe buffer size
98-
* LUOS_TO_PIPE_BUFFER_SIZE | 2048 | Transmit pipe buffer size
97+
* PIPE_TX_BUFFER_SIZE | 1024 | Receive pipe buffer size
98+
* PIPE_RX_BUFFER_SIZE | 2048 | Transmit pipe buffer size
9999
******************************************************************************/
100100

101-
#define MAX_RTB_ENTRY 40
102-
#define GATE_BUFF_SIZE 1024
103-
#define PIPE_TO_LUOS_BUFFER_SIZE 1024
104-
#define LUOS_TO_PIPE_BUFFER_SIZE 2048
101+
#define MAX_RTB_ENTRY 40
102+
#define GATE_BUFF_SIZE 1024
103+
#define PIPE_TX_BUFFER_SIZE 1024
104+
#define PIPE_RX_BUFFER_SIZE 2048
105105

106106
/*******************************************************************************
107107
* OTHER GATE PARAMETERS
108108
*******************************************************************************
109-
* Define | Default Value | Description
110-
* :-------------------------|------------------------------------------------------
111-
* INIT_TIME | 150 | Wait init time before first detection
109+
* Define | Default Value | Description
110+
* :--------------|------------------------------------------------------
111+
* INIT_TIME | 150 | Wait init time before first detection
112112
* ******************************************************************************/
113113

114+
/*******************************************************************************
115+
* OTHER PIPE PARAMETERS
116+
*******************************************************************************
117+
* Define | Default Value | Description
118+
* :--------------------|----------------------------------------------------
119+
* PIPE_CONFIG | none | To Modify pipe config
120+
* ******************************************************************************/
114121
#endif /* _NODE_CONFIG_H_ */

examples/projects/Arduino/gate_serialcom/platformio.ini

+1-3
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,10 @@ build_flags =
3939
-D PIPEMODE=SERIAL
4040
-D PIPEHAL=ARDUINO
4141
lib_deps =
42-
luos_engine@^2.6.1
42+
luos_engine@^2.6.2
4343
Gate
4444
Pipe
4545

46-
4746
[env:zero]
4847
board = mkrzero
4948
platform_packages = framework-arduino-samd@https://github.com/Luos-io/Arduino_core.git
@@ -52,4 +51,3 @@ platform_packages = framework-arduino-samd@https://github.com/Luos-io/Arduino_co
5251
[env:seed]
5352
board = seeed_xiao
5453
platform_packages = framework-arduino-samd-seeed@https://github.com/Luos-io/Arduino_core.git
55-

examples/projects/Arduino/inspector_serialcom/node_config.h

+6-6
Original file line numberDiff line numberDiff line change
@@ -95,13 +95,13 @@
9595
* :-------------------------|------------------------------------------------------
9696
* MAX_RTB_ENTRY | 40 | max number entry in routing table
9797
* GATE_BUFF_SIZE | 1024 | Json receive buffer size
98-
* PIPE_TO_LUOS_BUFFER_SIZE | 1024 | Receive pipe buffer size
99-
* LUOS_TO_PIPE_BUFFER_SIZE | 2048 | Transmit pipe buffer size
98+
* PIPE_TX_BUFFER_SIZE | 1024 | Receive pipe buffer size
99+
* PIPE_RX_BUFFER_SIZE | 2048 | Transmit pipe buffer size
100100
******************************************************************************/
101101

102-
#define MAX_RTB_ENTRY 40
103-
#define GATE_BUFF_SIZE 1024
104-
#define PIPE_TO_LUOS_BUFFER_SIZE 1024
105-
#define LUOS_TO_PIPE_BUFFER_SIZE 2048
102+
#define MAX_RTB_ENTRY 40
103+
#define GATE_BUFF_SIZE 1024
104+
#define PIPE_TX_BUFFER_SIZE 1024
105+
#define PIPE_RX_BUFFER_SIZE 2048
106106

107107
#endif /* _NODE_CONFIG_H_ */

examples/projects/Arduino/inspector_serialcom/platformio.ini

+1-2
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ default_envs = zero
2828
[env]
2929
lib_extra_dirs =
3030
$PROJECT_DIR/../../../../../
31-
$PROJECT_DIR/../../../../tool_services/
3231
lib_ldf_mode =off
3332
platform = atmelsam
3433
framework = arduino
@@ -41,7 +40,7 @@ build_flags =
4140
-D PIPEMODE=SERIAL
4241
-D PIPEHAL=ARDUINO
4342
lib_deps =
44-
luos_engine@^2.6.1
43+
luos_engine@^2.6.2
4544
Inspector
4645
Pipe
4746

examples/projects/Arduino/lcd/lib/Lcd/library.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"version": "1.0.0",
66
"licence": "MIT",
77
"dependencies": {
8-
"luos/luos_engine": "^2.6.1",
8+
"luos/luos_engine": "^2.6.2",
99
"arduino-libraries/LiquidCrystal": "*"
1010
}
1111
}

examples/projects/Arduino/lcd/platformio.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@ build_flags =
2121
-include node_config.h
2222
-D LUOSHAL=ATSAMD21_ARDUINO
2323
lib_deps =
24-
luos_engine@^2.6.1
24+
luos_engine@^2.6.2
2525
Lcd
2626
arduino-libraries/LiquidCrystal

examples/projects/Arduino/led/lib/led/library.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"url": "https://luos.io"
99
},
1010
"dependencies": {
11-
"luos/luos_engine": "^2.6.1"
11+
"luos/luos_engine": "^2.6.2"
1212
},
1313
"licence": "MIT"
1414
}

examples/projects/Arduino/led/platformio.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ build_flags =
3434
-include node_config.h
3535
-D LUOSHAL=ATSAMD21_ARDUINO
3636
lib_deps =
37-
luos_engine@^2.6.1
37+
luos_engine@^2.6.2
3838
Led
3939

4040

examples/projects/Arduino/servo_motor/lib/Servo_motor/library.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
"licence": "MIT",
77
"dependencies": {
88
"arduino-libraries/servo": "^1.1.8",
9-
"luos/luos_engine": "^2.6.1"
9+
"luos/luos_engine": "^2.6.2"
1010
}
1111
}

examples/projects/Arduino/servo_motor/platformio.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ build_flags =
3434
-include node_config.h
3535
-D LUOSHAL=ATSAMD21_ARDUINO
3636
lib_deps =
37-
luos_engine@^2.6.1
37+
luos_engine@^2.6.2
3838
arduino-libraries/Servo@^1.1.8
3939
servo_motor
4040

examples/projects/Arduino/stepper_simple_foc/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Version: 2.6.1
2727

2828
## Wiring schematic​
2929

30-
![Wiring Stepper](https://raw.githubusercontent.com/Luos-io/Documentation/main/static/img/stepper_wiring.drawio.png)
30+
![Wiring Stepper](https://raw.githubusercontent.com/Luos-io/Documentation/main/static/assets/images/stepper_wiring.drawio.png)
3131

3232

3333
## Join Luos Community

examples/projects/Arduino/stepper_simple_foc/lib/motor/library.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"build": {},
1212
"dependencies": {
1313
"askuric/Simple FOC": "^2.2.1",
14-
"luos/luos_engine": "^2.6.1",
14+
"luos/luos_engine": "^2.6.2",
1515
"Wire": "*",
1616
"SPI": "*"
1717
}

examples/projects/Arduino/stepper_simple_foc/platformio.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@ build_flags =
2121
-include node_config.h
2222
-D LUOSHAL=ATSAMD21_ARDUINO
2323
lib_deps =
24-
luos_engine@^2.6.1
24+
luos_engine@^2.6.2
2525
SimpleFOC_Stepper
2626
askuric/Simple FOC@^2.2.1

examples/projects/ESP32/button/lib/button/library.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@
99
},
1010
"licence": "MIT",
1111
"dependencies": {
12-
"luos/luos_engine": "^2.6.1"
12+
"luos/luos_engine": "^2.6.2"
1313
}
1414
}

examples/projects/ESP32/button/platformio.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ build_flags =
2222
-DLUOSHAL=ESP32
2323
-O1
2424
lib_deps =
25-
luos_engine@^2.6.1
25+
luos_engine@^2.6.2
2626
button
2727

2828
[env:esp32dev]

examples/projects/ESP32/button_arduino/lib/button/library.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@
99
},
1010
"licence": "MIT",
1111
"dependencies": {
12-
"luos/luos_engine": "^2.6.1"
12+
"luos/luos_engine": "^2.6.2"
1313
}
1414
}

examples/projects/ESP32/button_arduino/platformio.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ build_flags =
2222
-DLUOSHAL=ESP32
2323
-O1
2424
lib_deps =
25-
luos_engine@^2.6.1
25+
luos_engine@^2.6.2
2626
button
2727

2828
[env:esp32dev]

0 commit comments

Comments
 (0)