diff --git a/1_First_Service/Solution/Apps/Blinker_app/blinker.c b/1_First_Service/Solution/Apps/Blinker_app/blinker.c index d79a6c3..2b364bf 100644 --- a/1_First_Service/Solution/Apps/Blinker_app/blinker.c +++ b/1_First_Service/Solution/Apps/Blinker_app/blinker.c @@ -14,7 +14,7 @@ volatile time_luos_t blinktime; unsigned long my_time; // Used to keep track of time volatile control_t control_app; -static void Blinker_MsgHandler(service_t *service, msg_t *msg); +static void Blinker_MsgHandler(service_t *service, const msg_t *msg); void Blinker_Init(void) { @@ -70,7 +70,7 @@ void Blinker_Loop(void) } } -static void Blinker_MsgHandler(service_t *service, msg_t *msg) +static void Blinker_MsgHandler(service_t *service, const msg_t *msg) { if (msg->header.cmd == CONTROL) { @@ -83,4 +83,4 @@ static void Blinker_MsgHandler(service_t *service, msg_t *msg) TimeOD_TimeFromMsg((time_luos_t *)&blinktime, msg); return; } -} \ No newline at end of file +} diff --git a/1_First_Service/Solution/Apps/Blinker_app/library.json b/1_First_Service/Solution/Apps/Blinker_app/library.json index aebe4a9..0e2e10d 100644 --- a/1_First_Service/Solution/Apps/Blinker_app/library.json +++ b/1_First_Service/Solution/Apps/Blinker_app/library.json @@ -9,6 +9,6 @@ }, "licence": "MIT", "dependencies": { - "luos/luos_engine": "^2.6.3" + "luos/luos_engine": "^3.0.0" } -} \ No newline at end of file +} diff --git a/1_First_Service/Solution/Arduino/lib/Led/led.c b/1_First_Service/Solution/Arduino/lib/Led/led.c index c0ad3ab..618d02c 100644 --- a/1_First_Service/Solution/Arduino/lib/Led/led.c +++ b/1_First_Service/Solution/Arduino/lib/Led/led.c @@ -1,7 +1,7 @@ #include "led.h" #include "Arduino.h" -void Led_MsgHandler(service_t *service, msg_t *msg) +void Led_MsgHandler(service_t *service, const msg_t *msg) { if (msg->header.cmd == IO_STATE) { diff --git a/1_First_Service/Solution/Arduino/node_config.h b/1_First_Service/Solution/Arduino/node_config.h index 4794f1d..d34ffe5 100644 --- a/1_First_Service/Solution/Arduino/node_config.h +++ b/1_First_Service/Solution/Arduino/node_config.h @@ -20,7 +20,11 @@ * # Usage * This file should be place a the root folder of your project and include * where build flag preprocessor definitions are define in your IDE - * -include node_config.h + * + -D GATEFORMAT=TinyJSON + -DROBUSHAL=? + -D PIPEMODE=SERIAL + -D PIPEHAL=? * * @author Luos * @version 0.0.0 diff --git a/1_First_Service/Solution/Arduino/platformio.ini b/1_First_Service/Solution/Arduino/platformio.ini index 2bd0f6f..20eb5b5 100644 --- a/1_First_Service/Solution/Arduino/platformio.ini +++ b/1_First_Service/Solution/Arduino/platformio.ini @@ -31,22 +31,25 @@ lib_ldf_mode =off build_unflags = -Os build_flags = -O1 - -include node_config.h - -D LUOSHAL=ATSAMD21_ARDUINO -D GATEFORMAT=TinyJSON + -D ROBUSHAL=ATSAMD21_ARDUINO -D PIPEMODE=SERIAL -D PIPEHAL=ARDUINO + -D LUOSHAL=ATSAMD21_ARDUINO lib_deps = - luos_engine@^2.6.3 + luos_engine@^3.0.0 + robus_network Led Blinker_App Pipe Gate lib_extra_dirs = + $PROJECT_DIR/../../../../ + $PROJECT_DIR/../../../../luos_engine/tool_services + $PROJECT_DIR/../../../../luos_engine/network $PROJECT_DIR/../Apps lib - [env:arduino] board = mkrzero #mkrzero, mkr1000USB or any SAMD21 based Arduino board platform_packages = framework-arduino-samd@https://github.com/Luos-io/Arduino_core.git diff --git a/1_First_Service/Solution/NUCLEO-F072RB/lib/Led/led.c b/1_First_Service/Solution/NUCLEO-F072RB/lib/Led/led.c index 76776ce..8aaddec 100644 --- a/1_First_Service/Solution/NUCLEO-F072RB/lib/Led/led.c +++ b/1_First_Service/Solution/NUCLEO-F072RB/lib/Led/led.c @@ -7,7 +7,7 @@ #include "led.h" #include "gpio.h" -static void Led_MsgHandler(service_t *service, msg_t *msg); +static void Led_MsgHandler(service_t *service, const msg_t *msg); void Led_Init(void) { @@ -17,7 +17,7 @@ void Led_Init(void) void Led_Loop(void) {} -static void Led_MsgHandler(service_t *service, msg_t *msg) +static void Led_MsgHandler(service_t *service, const msg_t *msg) { if (msg->header.cmd == IO_STATE) { diff --git a/1_First_Service/Solution/NUCLEO-F072RB/node_config.h b/1_First_Service/Solution/NUCLEO-F072RB/node_config.h index 4794f1d..d34ffe5 100644 --- a/1_First_Service/Solution/NUCLEO-F072RB/node_config.h +++ b/1_First_Service/Solution/NUCLEO-F072RB/node_config.h @@ -20,7 +20,11 @@ * # Usage * This file should be place a the root folder of your project and include * where build flag preprocessor definitions are define in your IDE - * -include node_config.h + * + -D GATEFORMAT=TinyJSON + -DROBUSHAL=? + -D PIPEMODE=SERIAL + -D PIPEHAL=? * * @author Luos * @version 0.0.0 diff --git a/1_First_Service/Solution/NUCLEO-F072RB/platformio.ini b/1_First_Service/Solution/NUCLEO-F072RB/platformio.ini index 6569ddd..5788d9b 100644 --- a/1_First_Service/Solution/NUCLEO-F072RB/platformio.ini +++ b/1_First_Service/Solution/NUCLEO-F072RB/platformio.ini @@ -19,20 +19,24 @@ lib_ldf_mode =off build_unflags = -Os build_flags = -O1 - -include node_config.h - -D GATEFORMAT=TinyJSON + -D ROBUSHAL=STM32F0 -DUSE_HAL_DRIVER -DUSE_FULL_LL_DRIVER - -DLUOSHAL=STM32F0 + -D LUOSHAL=STM32F0 + -D GATEFORMAT=TinyJSON -D PIPEMODE=SERIAL -D PIPEHAL=NUCLEO-F0 -lib_deps = - Luos_engine@^2.9.2 +lib_deps = + luos_engine@^3.0.0 + robus_network Led Blinker_App Pipe Gate lib_extra_dirs = + $PROJECT_DIR/../../../../ + $PROJECT_DIR/../../../../luos_engine/tool_services + $PROJECT_DIR/../../../../luos_engine/network $PROJECT_DIR/../Apps lib debug_tool = stlink diff --git a/1_First_Service/Solution/NUCLEO-F401RE/lib/Led/led.c b/1_First_Service/Solution/NUCLEO-F401RE/lib/Led/led.c index 76776ce..8aaddec 100644 --- a/1_First_Service/Solution/NUCLEO-F401RE/lib/Led/led.c +++ b/1_First_Service/Solution/NUCLEO-F401RE/lib/Led/led.c @@ -7,7 +7,7 @@ #include "led.h" #include "gpio.h" -static void Led_MsgHandler(service_t *service, msg_t *msg); +static void Led_MsgHandler(service_t *service, const msg_t *msg); void Led_Init(void) { @@ -17,7 +17,7 @@ void Led_Init(void) void Led_Loop(void) {} -static void Led_MsgHandler(service_t *service, msg_t *msg) +static void Led_MsgHandler(service_t *service, const msg_t *msg) { if (msg->header.cmd == IO_STATE) { diff --git a/1_First_Service/Solution/NUCLEO-F401RE/lib/Led/library.json b/1_First_Service/Solution/NUCLEO-F401RE/lib/Led/library.json index 89fcb4c..2a8f66f 100644 --- a/1_First_Service/Solution/NUCLEO-F401RE/lib/Led/library.json +++ b/1_First_Service/Solution/NUCLEO-F401RE/lib/Led/library.json @@ -9,6 +9,6 @@ }, "licence": "MIT", "dependencies": { - "luos/luos_engine": "^2.6.3" + "luos/luos_engine": "^3.0.0" } -} \ No newline at end of file +} diff --git a/1_First_Service/Solution/NUCLEO-F401RE/node_config.h b/1_First_Service/Solution/NUCLEO-F401RE/node_config.h index 056772c..ab96ea7 100644 --- a/1_First_Service/Solution/NUCLEO-F401RE/node_config.h +++ b/1_First_Service/Solution/NUCLEO-F401RE/node_config.h @@ -20,7 +20,11 @@ * # Usage * This file should be place a the root folder of your project and include * where build flag preprocessor definitions are define in your IDE - * -include node_config.h + * + -D GATEFORMAT=TinyJSON + -DROBUSHAL=? + -D PIPEMODE=SERIAL + -D PIPEHAL=? * * @author Luos * @version 0.0.0 diff --git a/1_First_Service/Solution/NUCLEO-F401RE/platformio.ini b/1_First_Service/Solution/NUCLEO-F401RE/platformio.ini index 3820a48..35c7325 100644 --- a/1_First_Service/Solution/NUCLEO-F401RE/platformio.ini +++ b/1_First_Service/Solution/NUCLEO-F401RE/platformio.ini @@ -19,20 +19,24 @@ lib_ldf_mode =off build_unflags = -Os build_flags = -O1 - -include node_config.h -D GATEFORMAT=TinyJSON + -D ROBUSHAL=STM32F4 -DUSE_HAL_DRIVER -DUSE_FULL_LL_DRIVER - -DLUOSHAL=STM32F4 + -D LUOSHAL=STM32F4 -D PIPEMODE=SERIAL -D PIPEHAL=NUCLEO-F4 -lib_deps = - Luos_engine@^2.9.2 +lib_deps = + luos_engine@^3.0.0 + robus_network Led Blinker_App Pipe Gate lib_extra_dirs = + $PROJECT_DIR/../../../../ + $PROJECT_DIR/../../../../luos_engine/tool_services + $PROJECT_DIR/../../../../luos_engine/network $PROJECT_DIR/../Apps lib debug_tool = stlink diff --git a/1_First_Service/Solution/NUCLEO-F410RB/lib/Led/led.c b/1_First_Service/Solution/NUCLEO-F410RB/lib/Led/led.c index 76776ce..8aaddec 100644 --- a/1_First_Service/Solution/NUCLEO-F410RB/lib/Led/led.c +++ b/1_First_Service/Solution/NUCLEO-F410RB/lib/Led/led.c @@ -7,7 +7,7 @@ #include "led.h" #include "gpio.h" -static void Led_MsgHandler(service_t *service, msg_t *msg); +static void Led_MsgHandler(service_t *service, const msg_t *msg); void Led_Init(void) { @@ -17,7 +17,7 @@ void Led_Init(void) void Led_Loop(void) {} -static void Led_MsgHandler(service_t *service, msg_t *msg) +static void Led_MsgHandler(service_t *service, const msg_t *msg) { if (msg->header.cmd == IO_STATE) { diff --git a/1_First_Service/Solution/NUCLEO-F410RB/lib/Led/library.json b/1_First_Service/Solution/NUCLEO-F410RB/lib/Led/library.json index 89fcb4c..2a8f66f 100644 --- a/1_First_Service/Solution/NUCLEO-F410RB/lib/Led/library.json +++ b/1_First_Service/Solution/NUCLEO-F410RB/lib/Led/library.json @@ -9,6 +9,6 @@ }, "licence": "MIT", "dependencies": { - "luos/luos_engine": "^2.6.3" + "luos/luos_engine": "^3.0.0" } -} \ No newline at end of file +} diff --git a/1_First_Service/Solution/NUCLEO-F410RB/node_config.h b/1_First_Service/Solution/NUCLEO-F410RB/node_config.h index b21a5b2..e64ff82 100644 --- a/1_First_Service/Solution/NUCLEO-F410RB/node_config.h +++ b/1_First_Service/Solution/NUCLEO-F410RB/node_config.h @@ -20,7 +20,11 @@ * # Usage * This file should be place a the root folder of your project and include * where build flag preprocessor definitions are define in your IDE - * -include node_config.h + * + -D GATEFORMAT=TinyJSON + -DROBUSHAL=? + -D PIPEMODE=SERIAL + -D PIPEHAL=? * * @author Luos * @version 0.0.0 diff --git a/1_First_Service/Solution/NUCLEO-F410RB/platformio.ini b/1_First_Service/Solution/NUCLEO-F410RB/platformio.ini index 870fdd8..8292c82 100644 --- a/1_First_Service/Solution/NUCLEO-F410RB/platformio.ini +++ b/1_First_Service/Solution/NUCLEO-F410RB/platformio.ini @@ -19,20 +19,24 @@ lib_ldf_mode =off build_unflags = -Os build_flags = -O1 - -include node_config.h -D GATEFORMAT=TinyJSON + -D ROBUSHAL=STM32F4 -DUSE_HAL_DRIVER -DUSE_FULL_LL_DRIVER - -DLUOSHAL=STM32F4 + -D LUOSHAL=STM32F4 -D PIPEMODE=SERIAL -D PIPEHAL=NUCLEO-F4 -lib_deps = - Luos_engine@^2.9.2 +lib_deps = + luos_engine@^3.0.0 + robus_network Led Blinker_App Pipe Gate lib_extra_dirs = + $PROJECT_DIR/../../../../ + $PROJECT_DIR/../../../../luos_engine/tool_services + $PROJECT_DIR/../../../../luos_engine/network $PROJECT_DIR/../Apps lib debug_tool = stlink diff --git a/1_First_Service/Solution/NUCLEO-G431KB/lib/Led/led.c b/1_First_Service/Solution/NUCLEO-G431KB/lib/Led/led.c index 76776ce..8aaddec 100644 --- a/1_First_Service/Solution/NUCLEO-G431KB/lib/Led/led.c +++ b/1_First_Service/Solution/NUCLEO-G431KB/lib/Led/led.c @@ -7,7 +7,7 @@ #include "led.h" #include "gpio.h" -static void Led_MsgHandler(service_t *service, msg_t *msg); +static void Led_MsgHandler(service_t *service, const msg_t *msg); void Led_Init(void) { @@ -17,7 +17,7 @@ void Led_Init(void) void Led_Loop(void) {} -static void Led_MsgHandler(service_t *service, msg_t *msg) +static void Led_MsgHandler(service_t *service, const msg_t *msg) { if (msg->header.cmd == IO_STATE) { diff --git a/1_First_Service/Solution/NUCLEO-G431KB/lib/Led/library.json b/1_First_Service/Solution/NUCLEO-G431KB/lib/Led/library.json index 89fcb4c..2a8f66f 100644 --- a/1_First_Service/Solution/NUCLEO-G431KB/lib/Led/library.json +++ b/1_First_Service/Solution/NUCLEO-G431KB/lib/Led/library.json @@ -9,6 +9,6 @@ }, "licence": "MIT", "dependencies": { - "luos/luos_engine": "^2.6.3" + "luos/luos_engine": "^3.0.0" } -} \ No newline at end of file +} diff --git a/1_First_Service/Solution/NUCLEO-G431KB/node_config.h b/1_First_Service/Solution/NUCLEO-G431KB/node_config.h index 31a49a8..a1c9977 100644 --- a/1_First_Service/Solution/NUCLEO-G431KB/node_config.h +++ b/1_First_Service/Solution/NUCLEO-G431KB/node_config.h @@ -20,7 +20,11 @@ * # Usage * This file should be place a the root folder of your project and include * where build flag preprocessor definitions are define in your IDE - * -include node_config.h + * + -D GATEFORMAT=TinyJSON + -DROBUSHAL=? + -D PIPEMODE=SERIAL + -D PIPEHAL=? * * @author Luos * @version 0.0.0 diff --git a/1_First_Service/Solution/NUCLEO-G431KB/platformio.ini b/1_First_Service/Solution/NUCLEO-G431KB/platformio.ini index deca2ce..670ef8d 100644 --- a/1_First_Service/Solution/NUCLEO-G431KB/platformio.ini +++ b/1_First_Service/Solution/NUCLEO-G431KB/platformio.ini @@ -19,20 +19,24 @@ lib_ldf_mode =off build_unflags = -Os build_flags = -O1 - -include node_config.h + -D ROBUSHAL=STM32G4 -D GATEFORMAT=TinyJSON -DUSE_HAL_DRIVER -DUSE_FULL_LL_DRIVER - -DLUOSHAL=STM32G4 + -D LUOSHAL=STM32G4 -D PIPEMODE=SERIAL -D PIPEHAL=NUCLEO-G431 -lib_deps = - Luos_engine@^2.9.2 +lib_deps = + luos_engine@^3.0.0 + robus_network Led Blinker_App Pipe Gate lib_extra_dirs = + $PROJECT_DIR/../../../../ + $PROJECT_DIR/../../../../luos_engine/tool_services + $PROJECT_DIR/../../../../luos_engine/network $PROJECT_DIR/../Apps lib debug_tool = stlink diff --git a/1_First_Service/Solution/NUCLEO-L432KC/lib/Led/led.c b/1_First_Service/Solution/NUCLEO-L432KC/lib/Led/led.c index 76776ce..8aaddec 100644 --- a/1_First_Service/Solution/NUCLEO-L432KC/lib/Led/led.c +++ b/1_First_Service/Solution/NUCLEO-L432KC/lib/Led/led.c @@ -7,7 +7,7 @@ #include "led.h" #include "gpio.h" -static void Led_MsgHandler(service_t *service, msg_t *msg); +static void Led_MsgHandler(service_t *service, const msg_t *msg); void Led_Init(void) { @@ -17,7 +17,7 @@ void Led_Init(void) void Led_Loop(void) {} -static void Led_MsgHandler(service_t *service, msg_t *msg) +static void Led_MsgHandler(service_t *service, const msg_t *msg) { if (msg->header.cmd == IO_STATE) { diff --git a/1_First_Service/Solution/NUCLEO-L432KC/lib/Led/library.json b/1_First_Service/Solution/NUCLEO-L432KC/lib/Led/library.json index 89fcb4c..2a8f66f 100644 --- a/1_First_Service/Solution/NUCLEO-L432KC/lib/Led/library.json +++ b/1_First_Service/Solution/NUCLEO-L432KC/lib/Led/library.json @@ -9,6 +9,6 @@ }, "licence": "MIT", "dependencies": { - "luos/luos_engine": "^2.6.3" + "luos/luos_engine": "^3.0.0" } -} \ No newline at end of file +} diff --git a/1_First_Service/Solution/NUCLEO-L432KC/node_config.h b/1_First_Service/Solution/NUCLEO-L432KC/node_config.h index 4794f1d..d34ffe5 100644 --- a/1_First_Service/Solution/NUCLEO-L432KC/node_config.h +++ b/1_First_Service/Solution/NUCLEO-L432KC/node_config.h @@ -20,7 +20,11 @@ * # Usage * This file should be place a the root folder of your project and include * where build flag preprocessor definitions are define in your IDE - * -include node_config.h + * + -D GATEFORMAT=TinyJSON + -DROBUSHAL=? + -D PIPEMODE=SERIAL + -D PIPEHAL=? * * @author Luos * @version 0.0.0 diff --git a/1_First_Service/Solution/NUCLEO-L432KC/platformio.ini b/1_First_Service/Solution/NUCLEO-L432KC/platformio.ini index a591122..3d87697 100644 --- a/1_First_Service/Solution/NUCLEO-L432KC/platformio.ini +++ b/1_First_Service/Solution/NUCLEO-L432KC/platformio.ini @@ -19,20 +19,24 @@ lib_ldf_mode =off build_unflags = -Os build_flags = -O1 - -include node_config.h + -D ROBUSHAL=STM32L4 -D GATEFORMAT=TinyJSON -DUSE_HAL_DRIVER -DUSE_FULL_LL_DRIVER - -DLUOSHAL=STM32L4 + -D LUOSHAL=STM32L4 -D PIPEMODE=SERIAL -D PIPEHAL=NUCLEO-L4 -lib_deps = - Luos_engine@^2.9.2 +lib_deps = + luos_engine@^3.0.0 + robus_network Led Blinker_App Pipe Gate lib_extra_dirs = + $PROJECT_DIR/../../../../ + $PROJECT_DIR/../../../../luos_engine/tool_services + $PROJECT_DIR/../../../../luos_engine/network $PROJECT_DIR/../Apps lib debug_tool = stlink diff --git a/1_First_Service/Work_base/Apps/Blinker_app/blinker.c b/1_First_Service/Work_base/Apps/Blinker_app/blinker.c index d79a6c3..2b364bf 100644 --- a/1_First_Service/Work_base/Apps/Blinker_app/blinker.c +++ b/1_First_Service/Work_base/Apps/Blinker_app/blinker.c @@ -14,7 +14,7 @@ volatile time_luos_t blinktime; unsigned long my_time; // Used to keep track of time volatile control_t control_app; -static void Blinker_MsgHandler(service_t *service, msg_t *msg); +static void Blinker_MsgHandler(service_t *service, const msg_t *msg); void Blinker_Init(void) { @@ -70,7 +70,7 @@ void Blinker_Loop(void) } } -static void Blinker_MsgHandler(service_t *service, msg_t *msg) +static void Blinker_MsgHandler(service_t *service, const msg_t *msg) { if (msg->header.cmd == CONTROL) { @@ -83,4 +83,4 @@ static void Blinker_MsgHandler(service_t *service, msg_t *msg) TimeOD_TimeFromMsg((time_luos_t *)&blinktime, msg); return; } -} \ No newline at end of file +} diff --git a/1_First_Service/Work_base/Apps/Blinker_app/library.json b/1_First_Service/Work_base/Apps/Blinker_app/library.json index aebe4a9..0e2e10d 100644 --- a/1_First_Service/Work_base/Apps/Blinker_app/library.json +++ b/1_First_Service/Work_base/Apps/Blinker_app/library.json @@ -9,6 +9,6 @@ }, "licence": "MIT", "dependencies": { - "luos/luos_engine": "^2.6.3" + "luos/luos_engine": "^3.0.0" } -} \ No newline at end of file +} diff --git a/1_First_Service/Work_base/Arduino/node_config.h b/1_First_Service/Work_base/Arduino/node_config.h index 4794f1d..d34ffe5 100644 --- a/1_First_Service/Work_base/Arduino/node_config.h +++ b/1_First_Service/Work_base/Arduino/node_config.h @@ -20,7 +20,11 @@ * # Usage * This file should be place a the root folder of your project and include * where build flag preprocessor definitions are define in your IDE - * -include node_config.h + * + -D GATEFORMAT=TinyJSON + -DROBUSHAL=? + -D PIPEMODE=SERIAL + -D PIPEHAL=? * * @author Luos * @version 0.0.0 diff --git a/1_First_Service/Work_base/Arduino/platformio.ini b/1_First_Service/Work_base/Arduino/platformio.ini index 2bd0f6f..37d8a8d 100644 --- a/1_First_Service/Work_base/Arduino/platformio.ini +++ b/1_First_Service/Work_base/Arduino/platformio.ini @@ -31,18 +31,21 @@ lib_ldf_mode =off build_unflags = -Os build_flags = -O1 - -include node_config.h + -D ROBUSHAL=ATSAMD21_ARDUINO -D LUOSHAL=ATSAMD21_ARDUINO -D GATEFORMAT=TinyJSON -D PIPEMODE=SERIAL -D PIPEHAL=ARDUINO lib_deps = - luos_engine@^2.6.3 - Led + luos_engine@^3.0.0 + robus_network Blinker_App Pipe Gate lib_extra_dirs = + $PROJECT_DIR/../../../../ + $PROJECT_DIR/../../../../luos_engine/tool_services + $PROJECT_DIR/../../../../luos_engine/network $PROJECT_DIR/../Apps lib diff --git a/1_First_Service/Work_base/NUCLEO-F072RB/node_config.h b/1_First_Service/Work_base/NUCLEO-F072RB/node_config.h index 4794f1d..d34ffe5 100644 --- a/1_First_Service/Work_base/NUCLEO-F072RB/node_config.h +++ b/1_First_Service/Work_base/NUCLEO-F072RB/node_config.h @@ -20,7 +20,11 @@ * # Usage * This file should be place a the root folder of your project and include * where build flag preprocessor definitions are define in your IDE - * -include node_config.h + * + -D GATEFORMAT=TinyJSON + -DROBUSHAL=? + -D PIPEMODE=SERIAL + -D PIPEHAL=? * * @author Luos * @version 0.0.0 diff --git a/1_First_Service/Work_base/NUCLEO-F072RB/platformio.ini b/1_First_Service/Work_base/NUCLEO-F072RB/platformio.ini index bb0889d..e9b1731 100644 --- a/1_First_Service/Work_base/NUCLEO-F072RB/platformio.ini +++ b/1_First_Service/Work_base/NUCLEO-F072RB/platformio.ini @@ -19,19 +19,23 @@ lib_ldf_mode =off build_unflags = -Os build_flags = -O1 - -include node_config.h - -D GATEFORMAT=TinyJSON + -D ROBUSHAL=STM32F0 -DUSE_HAL_DRIVER -DUSE_FULL_LL_DRIVER - -DLUOSHAL=STM32F0 + -D LUOSHAL=STM32F0 + -D GATEFORMAT=TinyJSON -D PIPEMODE=SERIAL -D PIPEHAL=NUCLEO-F0 -lib_deps = - Luos_engine@^2.9.2 +lib_deps = + luos_engine@^3.0.0 + robus_network Blinker_App Pipe Gate lib_extra_dirs = + $PROJECT_DIR/../../../../ + $PROJECT_DIR/../../../../luos_engine/tool_services + $PROJECT_DIR/../../../../luos_engine/network $PROJECT_DIR/../Apps lib debug_tool = stlink diff --git a/1_First_Service/Work_base/NUCLEO-F401RE/node_config.h b/1_First_Service/Work_base/NUCLEO-F401RE/node_config.h index 318a8ba..13524ff 100644 --- a/1_First_Service/Work_base/NUCLEO-F401RE/node_config.h +++ b/1_First_Service/Work_base/NUCLEO-F401RE/node_config.h @@ -20,7 +20,11 @@ * # Usage * This file should be place a the root folder of your project and include * where build flag preprocessor definitions are define in your IDE - * -include node_config.h + * + -D GATEFORMAT=TinyJSON + -DROBUSHAL=? + -D PIPEMODE=SERIAL + -D PIPEHAL=? * * @author Luos * @version 0.0.0 diff --git a/1_First_Service/Work_base/NUCLEO-F401RE/platformio.ini b/1_First_Service/Work_base/NUCLEO-F401RE/platformio.ini index 3820a48..c2840e1 100644 --- a/1_First_Service/Work_base/NUCLEO-F401RE/platformio.ini +++ b/1_First_Service/Work_base/NUCLEO-F401RE/platformio.ini @@ -19,20 +19,23 @@ lib_ldf_mode =off build_unflags = -Os build_flags = -O1 - -include node_config.h -D GATEFORMAT=TinyJSON + -D ROBUSHAL=STM32F4 -DUSE_HAL_DRIVER -DUSE_FULL_LL_DRIVER - -DLUOSHAL=STM32F4 + -D LUOSHAL=STM32F4 -D PIPEMODE=SERIAL -D PIPEHAL=NUCLEO-F4 -lib_deps = - Luos_engine@^2.9.2 - Led +lib_deps = + luos_engine@^3.0.0 + robus_network Blinker_App Pipe Gate lib_extra_dirs = + $PROJECT_DIR/../../../../ + $PROJECT_DIR/../../../../luos_engine/tool_services + $PROJECT_DIR/../../../../luos_engine/network $PROJECT_DIR/../Apps lib debug_tool = stlink diff --git a/1_First_Service/Work_base/NUCLEO-F410RB/node_config.h b/1_First_Service/Work_base/NUCLEO-F410RB/node_config.h index b21a5b2..e64ff82 100644 --- a/1_First_Service/Work_base/NUCLEO-F410RB/node_config.h +++ b/1_First_Service/Work_base/NUCLEO-F410RB/node_config.h @@ -20,7 +20,11 @@ * # Usage * This file should be place a the root folder of your project and include * where build flag preprocessor definitions are define in your IDE - * -include node_config.h + * + -D GATEFORMAT=TinyJSON + -DROBUSHAL=? + -D PIPEMODE=SERIAL + -D PIPEHAL=? * * @author Luos * @version 0.0.0 diff --git a/1_First_Service/Work_base/NUCLEO-F410RB/platformio.ini b/1_First_Service/Work_base/NUCLEO-F410RB/platformio.ini index 870fdd8..0cded28 100644 --- a/1_First_Service/Work_base/NUCLEO-F410RB/platformio.ini +++ b/1_First_Service/Work_base/NUCLEO-F410RB/platformio.ini @@ -19,20 +19,23 @@ lib_ldf_mode =off build_unflags = -Os build_flags = -O1 - -include node_config.h -D GATEFORMAT=TinyJSON + -D ROBUSHAL=STM32F4 -DUSE_HAL_DRIVER -DUSE_FULL_LL_DRIVER - -DLUOSHAL=STM32F4 + -D LUOSHAL=STM32F4 -D PIPEMODE=SERIAL -D PIPEHAL=NUCLEO-F4 -lib_deps = - Luos_engine@^2.9.2 - Led +lib_deps = + luos_engine@^3.0.0 + robus_network Blinker_App Pipe Gate lib_extra_dirs = + $PROJECT_DIR/../../../../ + $PROJECT_DIR/../../../../luos_engine/tool_services + $PROJECT_DIR/../../../../luos_engine/network $PROJECT_DIR/../Apps lib debug_tool = stlink diff --git a/1_First_Service/Work_base/NUCLEO-G431KB/node_config.h b/1_First_Service/Work_base/NUCLEO-G431KB/node_config.h index 31a49a8..a1c9977 100644 --- a/1_First_Service/Work_base/NUCLEO-G431KB/node_config.h +++ b/1_First_Service/Work_base/NUCLEO-G431KB/node_config.h @@ -20,7 +20,11 @@ * # Usage * This file should be place a the root folder of your project and include * where build flag preprocessor definitions are define in your IDE - * -include node_config.h + * + -D GATEFORMAT=TinyJSON + -DROBUSHAL=? + -D PIPEMODE=SERIAL + -D PIPEHAL=? * * @author Luos * @version 0.0.0 diff --git a/1_First_Service/Work_base/NUCLEO-G431KB/platformio.ini b/1_First_Service/Work_base/NUCLEO-G431KB/platformio.ini index deca2ce..3911dae 100644 --- a/1_First_Service/Work_base/NUCLEO-G431KB/platformio.ini +++ b/1_First_Service/Work_base/NUCLEO-G431KB/platformio.ini @@ -19,20 +19,23 @@ lib_ldf_mode =off build_unflags = -Os build_flags = -O1 - -include node_config.h + -DROBUSHAL=STM32G4 -D GATEFORMAT=TinyJSON -DUSE_HAL_DRIVER -DUSE_FULL_LL_DRIVER - -DLUOSHAL=STM32G4 + -D LUOSHAL=STM32G4 -D PIPEMODE=SERIAL -D PIPEHAL=NUCLEO-G431 -lib_deps = - Luos_engine@^2.9.2 - Led +lib_deps = + luos_engine@^3.0.0 + robus_network Blinker_App Pipe Gate lib_extra_dirs = + $PROJECT_DIR/../../../../ + $PROJECT_DIR/../../../../luos_engine/tool_services + $PROJECT_DIR/../../../../luos_engine/network $PROJECT_DIR/../Apps lib debug_tool = stlink diff --git a/1_First_Service/Work_base/NUCLEO-L432KC/node_config.h b/1_First_Service/Work_base/NUCLEO-L432KC/node_config.h index 4794f1d..d34ffe5 100644 --- a/1_First_Service/Work_base/NUCLEO-L432KC/node_config.h +++ b/1_First_Service/Work_base/NUCLEO-L432KC/node_config.h @@ -20,7 +20,11 @@ * # Usage * This file should be place a the root folder of your project and include * where build flag preprocessor definitions are define in your IDE - * -include node_config.h + * + -D GATEFORMAT=TinyJSON + -DROBUSHAL=? + -D PIPEMODE=SERIAL + -D PIPEHAL=? * * @author Luos * @version 0.0.0 diff --git a/1_First_Service/Work_base/NUCLEO-L432KC/platformio.ini b/1_First_Service/Work_base/NUCLEO-L432KC/platformio.ini index a591122..df2fad5 100644 --- a/1_First_Service/Work_base/NUCLEO-L432KC/platformio.ini +++ b/1_First_Service/Work_base/NUCLEO-L432KC/platformio.ini @@ -19,20 +19,23 @@ lib_ldf_mode =off build_unflags = -Os build_flags = -O1 - -include node_config.h + -D ROBUSHAL=STM32L4 -D GATEFORMAT=TinyJSON -DUSE_HAL_DRIVER -DUSE_FULL_LL_DRIVER - -DLUOSHAL=STM32L4 + -D LUOSHAL=STM32L4 -D PIPEMODE=SERIAL -D PIPEHAL=NUCLEO-L4 -lib_deps = - Luos_engine@^2.9.2 - Led +lib_deps = + luos_engine@^3.0.0 + robus_network Blinker_App Pipe Gate lib_extra_dirs = + $PROJECT_DIR/../../../../ + $PROJECT_DIR/../../../../luos_engine/tool_services + $PROJECT_DIR/../../../../luos_engine/network $PROJECT_DIR/../Apps lib debug_tool = stlink diff --git a/2_First_Message/Solution/Arduino/lib/Button/library.json b/2_First_Message/Solution/Arduino/lib/Button/library.json index 317f42f..ca51bae 100644 --- a/2_First_Message/Solution/Arduino/lib/Button/library.json +++ b/2_First_Message/Solution/Arduino/lib/Button/library.json @@ -10,6 +10,6 @@ "licence": "MIT", "build": {}, "dependencies": { - "luos/luos_engine": "^2.6.3" + "luos/luos_engine": "^3.0.0" } -} \ No newline at end of file +} diff --git a/2_First_Message/Solution/Arduino/node_config.h b/2_First_Message/Solution/Arduino/node_config.h index 08b7f14..03bb2da 100644 --- a/2_First_Message/Solution/Arduino/node_config.h +++ b/2_First_Message/Solution/Arduino/node_config.h @@ -20,7 +20,11 @@ * # Usage * This file should be place a the root folder of your project and include * where build flag preprocessor definitions are define in your IDE - * -include node_config.h + * + -D GATEFORMAT=TinyJSON + -DROBUSHAL=? + -D PIPEMODE=SERIAL + -D PIPEHAL=? * * @author Luos * @version 0.0.0 diff --git a/2_First_Message/Solution/Arduino/platformio.ini b/2_First_Message/Solution/Arduino/platformio.ini index 1a1d072..ac68ad1 100644 --- a/2_First_Message/Solution/Arduino/platformio.ini +++ b/2_First_Message/Solution/Arduino/platformio.ini @@ -31,17 +31,21 @@ lib_ldf_mode =off build_unflags = -Os build_flags = -O1 - -include node_config.h + -D ROBUSHAL=ATSAMD21_ARDUINO -D LUOSHAL=ATSAMD21_ARDUINO -D GATEFORMAT=TinyJSON -D PIPEMODE=SERIAL -D PIPEHAL=ARDUINO lib_deps = - luos_engine@^2.6.3 + luos_engine@^3.0.0 + robus_network Button Pipe Gate lib_extra_dirs = + $PROJECT_DIR/../../../../ + $PROJECT_DIR/../../../../luos_engine/tool_services + $PROJECT_DIR/../../../../luos_engine/network $PROJECT_DIR/../Apps lib diff --git a/2_First_Message/Solution/NUCLEO-F072RB/lib/Button/library.json b/2_First_Message/Solution/NUCLEO-F072RB/lib/Button/library.json index 317f42f..ca51bae 100644 --- a/2_First_Message/Solution/NUCLEO-F072RB/lib/Button/library.json +++ b/2_First_Message/Solution/NUCLEO-F072RB/lib/Button/library.json @@ -10,6 +10,6 @@ "licence": "MIT", "build": {}, "dependencies": { - "luos/luos_engine": "^2.6.3" + "luos/luos_engine": "^3.0.0" } -} \ No newline at end of file +} diff --git a/2_First_Message/Solution/NUCLEO-F072RB/node_config.h b/2_First_Message/Solution/NUCLEO-F072RB/node_config.h index 4794f1d..d34ffe5 100644 --- a/2_First_Message/Solution/NUCLEO-F072RB/node_config.h +++ b/2_First_Message/Solution/NUCLEO-F072RB/node_config.h @@ -20,7 +20,11 @@ * # Usage * This file should be place a the root folder of your project and include * where build flag preprocessor definitions are define in your IDE - * -include node_config.h + * + -D GATEFORMAT=TinyJSON + -DROBUSHAL=? + -D PIPEMODE=SERIAL + -D PIPEHAL=? * * @author Luos * @version 0.0.0 diff --git a/2_First_Message/Solution/NUCLEO-F072RB/platformio.ini b/2_First_Message/Solution/NUCLEO-F072RB/platformio.ini index 0422797..d92fcff 100644 --- a/2_First_Message/Solution/NUCLEO-F072RB/platformio.ini +++ b/2_First_Message/Solution/NUCLEO-F072RB/platformio.ini @@ -19,19 +19,23 @@ lib_ldf_mode =off build_unflags = -Os build_flags = -O1 - -include node_config.h - -D GATEFORMAT=TinyJSON + -D ROBUSHAL=STM32F0 -DUSE_HAL_DRIVER -DUSE_FULL_LL_DRIVER - -DLUOSHAL=STM32F0 + -D LUOSHAL=STM32F0 + -D GATEFORMAT=TinyJSON -D PIPEMODE=SERIAL -D PIPEHAL=NUCLEO-F0 -lib_deps = - Luos_engine@^2.9.2 +lib_deps = + luos_engine@^3.0.0 + robus_network Button Pipe Gate lib_extra_dirs = + $PROJECT_DIR/../../../../ + $PROJECT_DIR/../../../../luos_engine/tool_services + $PROJECT_DIR/../../../../luos_engine/network $PROJECT_DIR/../Apps lib debug_tool = stlink diff --git a/2_First_Message/Solution/NUCLEO-F401RE/lib/Button/library.json b/2_First_Message/Solution/NUCLEO-F401RE/lib/Button/library.json index 317f42f..ca51bae 100644 --- a/2_First_Message/Solution/NUCLEO-F401RE/lib/Button/library.json +++ b/2_First_Message/Solution/NUCLEO-F401RE/lib/Button/library.json @@ -10,6 +10,6 @@ "licence": "MIT", "build": {}, "dependencies": { - "luos/luos_engine": "^2.6.3" + "luos/luos_engine": "^3.0.0" } -} \ No newline at end of file +} diff --git a/2_First_Message/Solution/NUCLEO-F401RE/node_config.h b/2_First_Message/Solution/NUCLEO-F401RE/node_config.h index 318a8ba..13524ff 100644 --- a/2_First_Message/Solution/NUCLEO-F401RE/node_config.h +++ b/2_First_Message/Solution/NUCLEO-F401RE/node_config.h @@ -20,7 +20,11 @@ * # Usage * This file should be place a the root folder of your project and include * where build flag preprocessor definitions are define in your IDE - * -include node_config.h + * + -D GATEFORMAT=TinyJSON + -DROBUSHAL=? + -D PIPEMODE=SERIAL + -D PIPEHAL=? * * @author Luos * @version 0.0.0 diff --git a/2_First_Message/Solution/NUCLEO-F401RE/platformio.ini b/2_First_Message/Solution/NUCLEO-F401RE/platformio.ini index b394795..fd996a0 100644 --- a/2_First_Message/Solution/NUCLEO-F401RE/platformio.ini +++ b/2_First_Message/Solution/NUCLEO-F401RE/platformio.ini @@ -19,19 +19,23 @@ lib_ldf_mode =off build_unflags = -Os build_flags = -O1 - -include node_config.h -D GATEFORMAT=TinyJSON + -D ROBUSHAL=STM32F4 -DUSE_HAL_DRIVER -DUSE_FULL_LL_DRIVER - -DLUOSHAL=STM32F4 + -D LUOSHAL=STM32F4 -D PIPEMODE=SERIAL -D PIPEHAL=NUCLEO-F4 -lib_deps = - Luos_engine@^2.9.2 +lib_deps = + luos_engine@^3.0.0 + robus_network Button Pipe Gate lib_extra_dirs = + $PROJECT_DIR/../../../../ + $PROJECT_DIR/../../../../luos_engine/tool_services + $PROJECT_DIR/../../../../luos_engine/network $PROJECT_DIR/../Apps lib debug_tool = stlink diff --git a/2_First_Message/Solution/NUCLEO-F410RB/lib/Button/library.json b/2_First_Message/Solution/NUCLEO-F410RB/lib/Button/library.json index 317f42f..ca51bae 100644 --- a/2_First_Message/Solution/NUCLEO-F410RB/lib/Button/library.json +++ b/2_First_Message/Solution/NUCLEO-F410RB/lib/Button/library.json @@ -10,6 +10,6 @@ "licence": "MIT", "build": {}, "dependencies": { - "luos/luos_engine": "^2.6.3" + "luos/luos_engine": "^3.0.0" } -} \ No newline at end of file +} diff --git a/2_First_Message/Solution/NUCLEO-F410RB/node_config.h b/2_First_Message/Solution/NUCLEO-F410RB/node_config.h index b21a5b2..e64ff82 100644 --- a/2_First_Message/Solution/NUCLEO-F410RB/node_config.h +++ b/2_First_Message/Solution/NUCLEO-F410RB/node_config.h @@ -20,7 +20,11 @@ * # Usage * This file should be place a the root folder of your project and include * where build flag preprocessor definitions are define in your IDE - * -include node_config.h + * + -D GATEFORMAT=TinyJSON + -DROBUSHAL=? + -D PIPEMODE=SERIAL + -D PIPEHAL=? * * @author Luos * @version 0.0.0 diff --git a/2_First_Message/Solution/NUCLEO-F410RB/platformio.ini b/2_First_Message/Solution/NUCLEO-F410RB/platformio.ini index b5cb2b7..6932432 100644 --- a/2_First_Message/Solution/NUCLEO-F410RB/platformio.ini +++ b/2_First_Message/Solution/NUCLEO-F410RB/platformio.ini @@ -19,19 +19,23 @@ lib_ldf_mode =off build_unflags = -Os build_flags = -O1 - -include node_config.h -D GATEFORMAT=TinyJSON + -D ROBUSHAL=STM32F4 -DUSE_HAL_DRIVER -DUSE_FULL_LL_DRIVER - -DLUOSHAL=STM32F4 + -D LUOSHAL=STM32F4 -D PIPEMODE=SERIAL -D PIPEHAL=NUCLEO-F4 -lib_deps = - Luos_engine@^2.9.2 +lib_deps = + luos_engine@^3.0.0 + robus_network Button Pipe Gate lib_extra_dirs = + $PROJECT_DIR/../../../../ + $PROJECT_DIR/../../../../luos_engine/tool_services + $PROJECT_DIR/../../../../luos_engine/network $PROJECT_DIR/../Apps lib debug_tool = stlink diff --git a/2_First_Message/Solution/NUCLEO-G431KB/lib/Button/library.json b/2_First_Message/Solution/NUCLEO-G431KB/lib/Button/library.json index 317f42f..ca51bae 100644 --- a/2_First_Message/Solution/NUCLEO-G431KB/lib/Button/library.json +++ b/2_First_Message/Solution/NUCLEO-G431KB/lib/Button/library.json @@ -10,6 +10,6 @@ "licence": "MIT", "build": {}, "dependencies": { - "luos/luos_engine": "^2.6.3" + "luos/luos_engine": "^3.0.0" } -} \ No newline at end of file +} diff --git a/2_First_Message/Solution/NUCLEO-G431KB/node_config.h b/2_First_Message/Solution/NUCLEO-G431KB/node_config.h index 31a49a8..a1c9977 100644 --- a/2_First_Message/Solution/NUCLEO-G431KB/node_config.h +++ b/2_First_Message/Solution/NUCLEO-G431KB/node_config.h @@ -20,7 +20,11 @@ * # Usage * This file should be place a the root folder of your project and include * where build flag preprocessor definitions are define in your IDE - * -include node_config.h + * + -D GATEFORMAT=TinyJSON + -DROBUSHAL=? + -D PIPEMODE=SERIAL + -D PIPEHAL=? * * @author Luos * @version 0.0.0 diff --git a/2_First_Message/Solution/NUCLEO-G431KB/platformio.ini b/2_First_Message/Solution/NUCLEO-G431KB/platformio.ini index 6357cb0..b5d88e3 100644 --- a/2_First_Message/Solution/NUCLEO-G431KB/platformio.ini +++ b/2_First_Message/Solution/NUCLEO-G431KB/platformio.ini @@ -19,19 +19,23 @@ lib_ldf_mode =off build_unflags = -Os build_flags = -O1 - -include node_config.h + -DROBUSHAL=STM32G4 -D GATEFORMAT=TinyJSON -DUSE_HAL_DRIVER -DUSE_FULL_LL_DRIVER - -DLUOSHAL=STM32G4 + -D LUOSHAL=STM32G4 -D PIPEMODE=SERIAL -D PIPEHAL=NUCLEO-G431 -lib_deps = - Luos_engine@^2.9.2 +lib_deps = + luos_engine@^3.0.0 + robus_network Button Pipe Gate lib_extra_dirs = + $PROJECT_DIR/../../../../ + $PROJECT_DIR/../../../../luos_engine/tool_services + $PROJECT_DIR/../../../../luos_engine/network $PROJECT_DIR/../Apps lib debug_tool = stlink diff --git a/2_First_Message/Solution/NUCLEO-L432KC/lib/Button/library.json b/2_First_Message/Solution/NUCLEO-L432KC/lib/Button/library.json index 317f42f..ca51bae 100644 --- a/2_First_Message/Solution/NUCLEO-L432KC/lib/Button/library.json +++ b/2_First_Message/Solution/NUCLEO-L432KC/lib/Button/library.json @@ -10,6 +10,6 @@ "licence": "MIT", "build": {}, "dependencies": { - "luos/luos_engine": "^2.6.3" + "luos/luos_engine": "^3.0.0" } -} \ No newline at end of file +} diff --git a/2_First_Message/Solution/NUCLEO-L432KC/node_config.h b/2_First_Message/Solution/NUCLEO-L432KC/node_config.h index 4794f1d..d34ffe5 100644 --- a/2_First_Message/Solution/NUCLEO-L432KC/node_config.h +++ b/2_First_Message/Solution/NUCLEO-L432KC/node_config.h @@ -20,7 +20,11 @@ * # Usage * This file should be place a the root folder of your project and include * where build flag preprocessor definitions are define in your IDE - * -include node_config.h + * + -D GATEFORMAT=TinyJSON + -DROBUSHAL=? + -D PIPEMODE=SERIAL + -D PIPEHAL=? * * @author Luos * @version 0.0.0 diff --git a/2_First_Message/Solution/NUCLEO-L432KC/platformio.ini b/2_First_Message/Solution/NUCLEO-L432KC/platformio.ini index f2e11fd..2a92ca1 100644 --- a/2_First_Message/Solution/NUCLEO-L432KC/platformio.ini +++ b/2_First_Message/Solution/NUCLEO-L432KC/platformio.ini @@ -19,19 +19,23 @@ lib_ldf_mode =off build_unflags = -Os build_flags = -O1 - -include node_config.h + -D ROBUSHAL=STM32L4 -D GATEFORMAT=TinyJSON -DUSE_HAL_DRIVER -DUSE_FULL_LL_DRIVER - -DLUOSHAL=STM32L4 + -D LUOSHAL=STM32L4 -D PIPEMODE=SERIAL -D PIPEHAL=NUCLEO-L4 -lib_deps = - Luos_engine@^2.9.2 +lib_deps = + luos_engine@^3.0.0 + robus_network Button Pipe Gate lib_extra_dirs = + $PROJECT_DIR/../../../../ + $PROJECT_DIR/../../../../luos_engine/tool_services + $PROJECT_DIR/../../../../luos_engine/network $PROJECT_DIR/../Apps lib debug_tool = stlink diff --git a/2_First_Message/Work_base/Arduino/lib/Button/library.json b/2_First_Message/Work_base/Arduino/lib/Button/library.json index 317f42f..ca51bae 100644 --- a/2_First_Message/Work_base/Arduino/lib/Button/library.json +++ b/2_First_Message/Work_base/Arduino/lib/Button/library.json @@ -10,6 +10,6 @@ "licence": "MIT", "build": {}, "dependencies": { - "luos/luos_engine": "^2.6.3" + "luos/luos_engine": "^3.0.0" } -} \ No newline at end of file +} diff --git a/2_First_Message/Work_base/Arduino/node_config.h b/2_First_Message/Work_base/Arduino/node_config.h index 4794f1d..d34ffe5 100644 --- a/2_First_Message/Work_base/Arduino/node_config.h +++ b/2_First_Message/Work_base/Arduino/node_config.h @@ -20,7 +20,11 @@ * # Usage * This file should be place a the root folder of your project and include * where build flag preprocessor definitions are define in your IDE - * -include node_config.h + * + -D GATEFORMAT=TinyJSON + -DROBUSHAL=? + -D PIPEMODE=SERIAL + -D PIPEHAL=? * * @author Luos * @version 0.0.0 diff --git a/2_First_Message/Work_base/Arduino/platformio.ini b/2_First_Message/Work_base/Arduino/platformio.ini index 1a1d072..ac68ad1 100644 --- a/2_First_Message/Work_base/Arduino/platformio.ini +++ b/2_First_Message/Work_base/Arduino/platformio.ini @@ -31,17 +31,21 @@ lib_ldf_mode =off build_unflags = -Os build_flags = -O1 - -include node_config.h + -D ROBUSHAL=ATSAMD21_ARDUINO -D LUOSHAL=ATSAMD21_ARDUINO -D GATEFORMAT=TinyJSON -D PIPEMODE=SERIAL -D PIPEHAL=ARDUINO lib_deps = - luos_engine@^2.6.3 + luos_engine@^3.0.0 + robus_network Button Pipe Gate lib_extra_dirs = + $PROJECT_DIR/../../../../ + $PROJECT_DIR/../../../../luos_engine/tool_services + $PROJECT_DIR/../../../../luos_engine/network $PROJECT_DIR/../Apps lib diff --git a/2_First_Message/Work_base/NUCLEO-F072RB/lib/Button/library.json b/2_First_Message/Work_base/NUCLEO-F072RB/lib/Button/library.json index 317f42f..ca51bae 100644 --- a/2_First_Message/Work_base/NUCLEO-F072RB/lib/Button/library.json +++ b/2_First_Message/Work_base/NUCLEO-F072RB/lib/Button/library.json @@ -10,6 +10,6 @@ "licence": "MIT", "build": {}, "dependencies": { - "luos/luos_engine": "^2.6.3" + "luos/luos_engine": "^3.0.0" } -} \ No newline at end of file +} diff --git a/2_First_Message/Work_base/NUCLEO-F072RB/node_config.h b/2_First_Message/Work_base/NUCLEO-F072RB/node_config.h index 4794f1d..d34ffe5 100644 --- a/2_First_Message/Work_base/NUCLEO-F072RB/node_config.h +++ b/2_First_Message/Work_base/NUCLEO-F072RB/node_config.h @@ -20,7 +20,11 @@ * # Usage * This file should be place a the root folder of your project and include * where build flag preprocessor definitions are define in your IDE - * -include node_config.h + * + -D GATEFORMAT=TinyJSON + -DROBUSHAL=? + -D PIPEMODE=SERIAL + -D PIPEHAL=? * * @author Luos * @version 0.0.0 diff --git a/2_First_Message/Work_base/NUCLEO-F072RB/platformio.ini b/2_First_Message/Work_base/NUCLEO-F072RB/platformio.ini index 0422797..d92fcff 100644 --- a/2_First_Message/Work_base/NUCLEO-F072RB/platformio.ini +++ b/2_First_Message/Work_base/NUCLEO-F072RB/platformio.ini @@ -19,19 +19,23 @@ lib_ldf_mode =off build_unflags = -Os build_flags = -O1 - -include node_config.h - -D GATEFORMAT=TinyJSON + -D ROBUSHAL=STM32F0 -DUSE_HAL_DRIVER -DUSE_FULL_LL_DRIVER - -DLUOSHAL=STM32F0 + -D LUOSHAL=STM32F0 + -D GATEFORMAT=TinyJSON -D PIPEMODE=SERIAL -D PIPEHAL=NUCLEO-F0 -lib_deps = - Luos_engine@^2.9.2 +lib_deps = + luos_engine@^3.0.0 + robus_network Button Pipe Gate lib_extra_dirs = + $PROJECT_DIR/../../../../ + $PROJECT_DIR/../../../../luos_engine/tool_services + $PROJECT_DIR/../../../../luos_engine/network $PROJECT_DIR/../Apps lib debug_tool = stlink diff --git a/2_First_Message/Work_base/NUCLEO-F401RE/lib/Button/library.json b/2_First_Message/Work_base/NUCLEO-F401RE/lib/Button/library.json index 317f42f..ca51bae 100644 --- a/2_First_Message/Work_base/NUCLEO-F401RE/lib/Button/library.json +++ b/2_First_Message/Work_base/NUCLEO-F401RE/lib/Button/library.json @@ -10,6 +10,6 @@ "licence": "MIT", "build": {}, "dependencies": { - "luos/luos_engine": "^2.6.3" + "luos/luos_engine": "^3.0.0" } -} \ No newline at end of file +} diff --git a/2_First_Message/Work_base/NUCLEO-F401RE/node_config.h b/2_First_Message/Work_base/NUCLEO-F401RE/node_config.h index 318a8ba..13524ff 100644 --- a/2_First_Message/Work_base/NUCLEO-F401RE/node_config.h +++ b/2_First_Message/Work_base/NUCLEO-F401RE/node_config.h @@ -20,7 +20,11 @@ * # Usage * This file should be place a the root folder of your project and include * where build flag preprocessor definitions are define in your IDE - * -include node_config.h + * + -D GATEFORMAT=TinyJSON + -DROBUSHAL=? + -D PIPEMODE=SERIAL + -D PIPEHAL=? * * @author Luos * @version 0.0.0 diff --git a/2_First_Message/Work_base/NUCLEO-F401RE/platformio.ini b/2_First_Message/Work_base/NUCLEO-F401RE/platformio.ini index b394795..fd996a0 100644 --- a/2_First_Message/Work_base/NUCLEO-F401RE/platformio.ini +++ b/2_First_Message/Work_base/NUCLEO-F401RE/platformio.ini @@ -19,19 +19,23 @@ lib_ldf_mode =off build_unflags = -Os build_flags = -O1 - -include node_config.h -D GATEFORMAT=TinyJSON + -D ROBUSHAL=STM32F4 -DUSE_HAL_DRIVER -DUSE_FULL_LL_DRIVER - -DLUOSHAL=STM32F4 + -D LUOSHAL=STM32F4 -D PIPEMODE=SERIAL -D PIPEHAL=NUCLEO-F4 -lib_deps = - Luos_engine@^2.9.2 +lib_deps = + luos_engine@^3.0.0 + robus_network Button Pipe Gate lib_extra_dirs = + $PROJECT_DIR/../../../../ + $PROJECT_DIR/../../../../luos_engine/tool_services + $PROJECT_DIR/../../../../luos_engine/network $PROJECT_DIR/../Apps lib debug_tool = stlink diff --git a/2_First_Message/Work_base/NUCLEO-F410RB/lib/Button/library.json b/2_First_Message/Work_base/NUCLEO-F410RB/lib/Button/library.json index 317f42f..ca51bae 100644 --- a/2_First_Message/Work_base/NUCLEO-F410RB/lib/Button/library.json +++ b/2_First_Message/Work_base/NUCLEO-F410RB/lib/Button/library.json @@ -10,6 +10,6 @@ "licence": "MIT", "build": {}, "dependencies": { - "luos/luos_engine": "^2.6.3" + "luos/luos_engine": "^3.0.0" } -} \ No newline at end of file +} diff --git a/2_First_Message/Work_base/NUCLEO-F410RB/node_config.h b/2_First_Message/Work_base/NUCLEO-F410RB/node_config.h index b21a5b2..e64ff82 100644 --- a/2_First_Message/Work_base/NUCLEO-F410RB/node_config.h +++ b/2_First_Message/Work_base/NUCLEO-F410RB/node_config.h @@ -20,7 +20,11 @@ * # Usage * This file should be place a the root folder of your project and include * where build flag preprocessor definitions are define in your IDE - * -include node_config.h + * + -D GATEFORMAT=TinyJSON + -DROBUSHAL=? + -D PIPEMODE=SERIAL + -D PIPEHAL=? * * @author Luos * @version 0.0.0 diff --git a/2_First_Message/Work_base/NUCLEO-F410RB/platformio.ini b/2_First_Message/Work_base/NUCLEO-F410RB/platformio.ini index b5cb2b7..6932432 100644 --- a/2_First_Message/Work_base/NUCLEO-F410RB/platformio.ini +++ b/2_First_Message/Work_base/NUCLEO-F410RB/platformio.ini @@ -19,19 +19,23 @@ lib_ldf_mode =off build_unflags = -Os build_flags = -O1 - -include node_config.h -D GATEFORMAT=TinyJSON + -D ROBUSHAL=STM32F4 -DUSE_HAL_DRIVER -DUSE_FULL_LL_DRIVER - -DLUOSHAL=STM32F4 + -D LUOSHAL=STM32F4 -D PIPEMODE=SERIAL -D PIPEHAL=NUCLEO-F4 -lib_deps = - Luos_engine@^2.9.2 +lib_deps = + luos_engine@^3.0.0 + robus_network Button Pipe Gate lib_extra_dirs = + $PROJECT_DIR/../../../../ + $PROJECT_DIR/../../../../luos_engine/tool_services + $PROJECT_DIR/../../../../luos_engine/network $PROJECT_DIR/../Apps lib debug_tool = stlink diff --git a/2_First_Message/Work_base/NUCLEO-G431KB/lib/Button/library.json b/2_First_Message/Work_base/NUCLEO-G431KB/lib/Button/library.json index 317f42f..ca51bae 100644 --- a/2_First_Message/Work_base/NUCLEO-G431KB/lib/Button/library.json +++ b/2_First_Message/Work_base/NUCLEO-G431KB/lib/Button/library.json @@ -10,6 +10,6 @@ "licence": "MIT", "build": {}, "dependencies": { - "luos/luos_engine": "^2.6.3" + "luos/luos_engine": "^3.0.0" } -} \ No newline at end of file +} diff --git a/2_First_Message/Work_base/NUCLEO-G431KB/node_config.h b/2_First_Message/Work_base/NUCLEO-G431KB/node_config.h index 31a49a8..a1c9977 100644 --- a/2_First_Message/Work_base/NUCLEO-G431KB/node_config.h +++ b/2_First_Message/Work_base/NUCLEO-G431KB/node_config.h @@ -20,7 +20,11 @@ * # Usage * This file should be place a the root folder of your project and include * where build flag preprocessor definitions are define in your IDE - * -include node_config.h + * + -D GATEFORMAT=TinyJSON + -DROBUSHAL=? + -D PIPEMODE=SERIAL + -D PIPEHAL=? * * @author Luos * @version 0.0.0 diff --git a/2_First_Message/Work_base/NUCLEO-G431KB/platformio.ini b/2_First_Message/Work_base/NUCLEO-G431KB/platformio.ini index 6357cb0..b5d88e3 100644 --- a/2_First_Message/Work_base/NUCLEO-G431KB/platformio.ini +++ b/2_First_Message/Work_base/NUCLEO-G431KB/platformio.ini @@ -19,19 +19,23 @@ lib_ldf_mode =off build_unflags = -Os build_flags = -O1 - -include node_config.h + -DROBUSHAL=STM32G4 -D GATEFORMAT=TinyJSON -DUSE_HAL_DRIVER -DUSE_FULL_LL_DRIVER - -DLUOSHAL=STM32G4 + -D LUOSHAL=STM32G4 -D PIPEMODE=SERIAL -D PIPEHAL=NUCLEO-G431 -lib_deps = - Luos_engine@^2.9.2 +lib_deps = + luos_engine@^3.0.0 + robus_network Button Pipe Gate lib_extra_dirs = + $PROJECT_DIR/../../../../ + $PROJECT_DIR/../../../../luos_engine/tool_services + $PROJECT_DIR/../../../../luos_engine/network $PROJECT_DIR/../Apps lib debug_tool = stlink diff --git a/2_First_Message/Work_base/NUCLEO-L432KC/lib/Button/library.json b/2_First_Message/Work_base/NUCLEO-L432KC/lib/Button/library.json index 317f42f..ca51bae 100644 --- a/2_First_Message/Work_base/NUCLEO-L432KC/lib/Button/library.json +++ b/2_First_Message/Work_base/NUCLEO-L432KC/lib/Button/library.json @@ -10,6 +10,6 @@ "licence": "MIT", "build": {}, "dependencies": { - "luos/luos_engine": "^2.6.3" + "luos/luos_engine": "^3.0.0" } -} \ No newline at end of file +} diff --git a/2_First_Message/Work_base/NUCLEO-L432KC/node_config.h b/2_First_Message/Work_base/NUCLEO-L432KC/node_config.h index 4794f1d..d34ffe5 100644 --- a/2_First_Message/Work_base/NUCLEO-L432KC/node_config.h +++ b/2_First_Message/Work_base/NUCLEO-L432KC/node_config.h @@ -20,7 +20,11 @@ * # Usage * This file should be place a the root folder of your project and include * where build flag preprocessor definitions are define in your IDE - * -include node_config.h + * + -D GATEFORMAT=TinyJSON + -DROBUSHAL=? + -D PIPEMODE=SERIAL + -D PIPEHAL=? * * @author Luos * @version 0.0.0 diff --git a/2_First_Message/Work_base/NUCLEO-L432KC/platformio.ini b/2_First_Message/Work_base/NUCLEO-L432KC/platformio.ini index f2e11fd..2a92ca1 100644 --- a/2_First_Message/Work_base/NUCLEO-L432KC/platformio.ini +++ b/2_First_Message/Work_base/NUCLEO-L432KC/platformio.ini @@ -19,19 +19,23 @@ lib_ldf_mode =off build_unflags = -Os build_flags = -O1 - -include node_config.h + -D ROBUSHAL=STM32L4 -D GATEFORMAT=TinyJSON -DUSE_HAL_DRIVER -DUSE_FULL_LL_DRIVER - -DLUOSHAL=STM32L4 + -D LUOSHAL=STM32L4 -D PIPEMODE=SERIAL -D PIPEHAL=NUCLEO-L4 -lib_deps = - Luos_engine@^2.9.2 +lib_deps = + luos_engine@^3.0.0 + robus_network Button Pipe Gate lib_extra_dirs = + $PROJECT_DIR/../../../../ + $PROJECT_DIR/../../../../luos_engine/tool_services + $PROJECT_DIR/../../../../luos_engine/network $PROJECT_DIR/../Apps lib debug_tool = stlink diff --git a/3_First_Detection/Solution/Apps/Switcher/library.json b/3_First_Detection/Solution/Apps/Switcher/library.json index e6b1dde..4fbaaad 100644 --- a/3_First_Detection/Solution/Apps/Switcher/library.json +++ b/3_First_Detection/Solution/Apps/Switcher/library.json @@ -9,6 +9,6 @@ }, "licence": "MIT", "dependencies": { - "luos/luos_engine": "^2.6.3" + "luos/luos_engine": "^3.0.0" } -} \ No newline at end of file +} diff --git a/3_First_Detection/Solution/Apps/Switcher/switcher.c b/3_First_Detection/Solution/Apps/Switcher/switcher.c index 7c9007c..f93c811 100644 --- a/3_First_Detection/Solution/Apps/Switcher/switcher.c +++ b/3_First_Detection/Solution/Apps/Switcher/switcher.c @@ -19,7 +19,7 @@ uint32_t LastAsk; /******************************************************************************* * Functions ******************************************************************************/ -void Switcher_MsgHandler(service_t *service, msg_t *msg) +void Switcher_MsgHandler(service_t *service, const msg_t *msg) { if (msg->header.cmd == END_DETECTION) { @@ -54,18 +54,18 @@ void Switcher_Init(void) revision_t revision = {1, 0, 0}; switcher_app = Luos_CreateService(Switcher_MsgHandler, SWITCHER_APP, "Switcher", revision); Luos_Detect(switcher_app); - LastAsk = LuosHAL_GetSystick(); + LastAsk = Luos_GetSystick(); } void Switcher_Loop(void) { msg_t pub_msg; - if (Luos_IsNodeDetected() == true) // Topology detection Finish + if (Luos_IsDetected() == true) // Topology detection Finish { // ask button value every 10ms if ((Luos_GetSystick() - LastAsk) > 10) { - LastAsk = LuosHAL_GetSystick(); + LastAsk = Luos_GetSystick(); if (ID_Button != 0) { pub_msg.header.cmd = IO_STATE; diff --git a/3_First_Detection/Solution/Arduino/lib/Button/button.c b/3_First_Detection/Solution/Arduino/lib/Button/button.c index fd0e9cb..e122d4d 100644 --- a/3_First_Detection/Solution/Arduino/lib/Button/button.c +++ b/3_First_Detection/Solution/Arduino/lib/Button/button.c @@ -18,7 +18,7 @@ /******************************************************************************* * Function ******************************************************************************/ -static void Button_MsgHandler(service_t *service, msg_t *msg); +static void Button_MsgHandler(service_t *service, const msg_t *msg); /****************************************************************************** * @brief init must be call in project init * @param None @@ -44,7 +44,7 @@ void Button_Loop(void) * @param Msg receive * @return None ******************************************************************************/ -static void Button_MsgHandler(service_t *service, msg_t *msg) +static void Button_MsgHandler(service_t *service, const msg_t *msg) { if ((msg->header.cmd == IO_STATE) || (msg->header.cmd == UNKNOWN_CMD)) { diff --git a/3_First_Detection/Solution/Arduino/lib/Button/library.json b/3_First_Detection/Solution/Arduino/lib/Button/library.json index 317f42f..ca51bae 100644 --- a/3_First_Detection/Solution/Arduino/lib/Button/library.json +++ b/3_First_Detection/Solution/Arduino/lib/Button/library.json @@ -10,6 +10,6 @@ "licence": "MIT", "build": {}, "dependencies": { - "luos/luos_engine": "^2.6.3" + "luos/luos_engine": "^3.0.0" } -} \ No newline at end of file +} diff --git a/3_First_Detection/Solution/Arduino/lib/Led/led.c b/3_First_Detection/Solution/Arduino/lib/Led/led.c index c7c9c4a..c01fb4f 100644 --- a/3_First_Detection/Solution/Arduino/lib/Led/led.c +++ b/3_First_Detection/Solution/Arduino/lib/Led/led.c @@ -17,7 +17,7 @@ /******************************************************************************* * Function ******************************************************************************/ -static void Led_MsgHandler(service_t *service, msg_t *msg); +static void Led_MsgHandler(service_t *service, const msg_t *msg); /****************************************************************************** * @brief init must be call in project init @@ -43,7 +43,7 @@ void Led_Loop(void) {} * @param Msg receive * @return None ******************************************************************************/ -static void Led_MsgHandler(service_t *service, msg_t *msg) +static void Led_MsgHandler(service_t *service, const msg_t *msg) { if (msg->header.cmd == IO_STATE) { diff --git a/3_First_Detection/Solution/Arduino/lib/Led/library.json b/3_First_Detection/Solution/Arduino/lib/Led/library.json index 89fcb4c..2a8f66f 100644 --- a/3_First_Detection/Solution/Arduino/lib/Led/library.json +++ b/3_First_Detection/Solution/Arduino/lib/Led/library.json @@ -9,6 +9,6 @@ }, "licence": "MIT", "dependencies": { - "luos/luos_engine": "^2.6.3" + "luos/luos_engine": "^3.0.0" } -} \ No newline at end of file +} diff --git a/3_First_Detection/Solution/Arduino/node_config.h b/3_First_Detection/Solution/Arduino/node_config.h index 4794f1d..d34ffe5 100644 --- a/3_First_Detection/Solution/Arduino/node_config.h +++ b/3_First_Detection/Solution/Arduino/node_config.h @@ -20,7 +20,11 @@ * # Usage * This file should be place a the root folder of your project and include * where build flag preprocessor definitions are define in your IDE - * -include node_config.h + * + -D GATEFORMAT=TinyJSON + -DROBUSHAL=? + -D PIPEMODE=SERIAL + -D PIPEHAL=? * * @author Luos * @version 0.0.0 diff --git a/3_First_Detection/Solution/Arduino/platformio.ini b/3_First_Detection/Solution/Arduino/platformio.ini index f26f4c6..47c956b 100644 --- a/3_First_Detection/Solution/Arduino/platformio.ini +++ b/3_First_Detection/Solution/Arduino/platformio.ini @@ -31,14 +31,18 @@ lib_ldf_mode =off build_unflags = -Os build_flags = -O1 - -include node_config.h + -D ROBUSHAL=ATSAMD21_ARDUINO -D LUOSHAL=ATSAMD21_ARDUINO lib_deps = - luos_engine@^2.6.3 + luos_engine@^3.0.0 + robus_network Led Button Switcher lib_extra_dirs = + $PROJECT_DIR/../../../../ + $PROJECT_DIR/../../../../luos_engine/tool_services + $PROJECT_DIR/../../../../luos_engine/network $PROJECT_DIR/../Apps lib diff --git a/3_First_Detection/Solution/NUCLEO-F072RB/lib/Button/button.c b/3_First_Detection/Solution/NUCLEO-F072RB/lib/Button/button.c index 95cb8c1..4f10778 100644 --- a/3_First_Detection/Solution/NUCLEO-F072RB/lib/Button/button.c +++ b/3_First_Detection/Solution/NUCLEO-F072RB/lib/Button/button.c @@ -8,7 +8,7 @@ /******************************************************************************* * Functions ******************************************************************************/ -static void Button_MsgHandler(service_t *service, msg_t *msg) +static void Button_MsgHandler(service_t *service, const msg_t *msg) { if ((msg->header.cmd == IO_STATE) || (msg->header.cmd == UNKNOWN_CMD)) { diff --git a/3_First_Detection/Solution/NUCLEO-F072RB/lib/Button/library.json b/3_First_Detection/Solution/NUCLEO-F072RB/lib/Button/library.json index 317f42f..ca51bae 100644 --- a/3_First_Detection/Solution/NUCLEO-F072RB/lib/Button/library.json +++ b/3_First_Detection/Solution/NUCLEO-F072RB/lib/Button/library.json @@ -10,6 +10,6 @@ "licence": "MIT", "build": {}, "dependencies": { - "luos/luos_engine": "^2.6.3" + "luos/luos_engine": "^3.0.0" } -} \ No newline at end of file +} diff --git a/3_First_Detection/Solution/NUCLEO-F072RB/lib/Led/led.c b/3_First_Detection/Solution/NUCLEO-F072RB/lib/Led/led.c index 76776ce..8aaddec 100644 --- a/3_First_Detection/Solution/NUCLEO-F072RB/lib/Led/led.c +++ b/3_First_Detection/Solution/NUCLEO-F072RB/lib/Led/led.c @@ -7,7 +7,7 @@ #include "led.h" #include "gpio.h" -static void Led_MsgHandler(service_t *service, msg_t *msg); +static void Led_MsgHandler(service_t *service, const msg_t *msg); void Led_Init(void) { @@ -17,7 +17,7 @@ void Led_Init(void) void Led_Loop(void) {} -static void Led_MsgHandler(service_t *service, msg_t *msg) +static void Led_MsgHandler(service_t *service, const msg_t *msg) { if (msg->header.cmd == IO_STATE) { diff --git a/3_First_Detection/Solution/NUCLEO-F072RB/lib/Led/library.json b/3_First_Detection/Solution/NUCLEO-F072RB/lib/Led/library.json index 89fcb4c..2a8f66f 100644 --- a/3_First_Detection/Solution/NUCLEO-F072RB/lib/Led/library.json +++ b/3_First_Detection/Solution/NUCLEO-F072RB/lib/Led/library.json @@ -9,6 +9,6 @@ }, "licence": "MIT", "dependencies": { - "luos/luos_engine": "^2.6.3" + "luos/luos_engine": "^3.0.0" } -} \ No newline at end of file +} diff --git a/3_First_Detection/Solution/NUCLEO-F072RB/node_config.h b/3_First_Detection/Solution/NUCLEO-F072RB/node_config.h index 4794f1d..d34ffe5 100644 --- a/3_First_Detection/Solution/NUCLEO-F072RB/node_config.h +++ b/3_First_Detection/Solution/NUCLEO-F072RB/node_config.h @@ -20,7 +20,11 @@ * # Usage * This file should be place a the root folder of your project and include * where build flag preprocessor definitions are define in your IDE - * -include node_config.h + * + -D GATEFORMAT=TinyJSON + -DROBUSHAL=? + -D PIPEMODE=SERIAL + -D PIPEHAL=? * * @author Luos * @version 0.0.0 diff --git a/3_First_Detection/Solution/NUCLEO-F072RB/platformio.ini b/3_First_Detection/Solution/NUCLEO-F072RB/platformio.ini index 9a17c02..d6c7536 100644 --- a/3_First_Detection/Solution/NUCLEO-F072RB/platformio.ini +++ b/3_First_Detection/Solution/NUCLEO-F072RB/platformio.ini @@ -19,17 +19,20 @@ lib_ldf_mode =off build_unflags = -Os build_flags = -O1 - -include node_config.h - -D GATEFORMAT=TinyJSON + -DROBUSHAL=STM32F0 -DUSE_HAL_DRIVER -DUSE_FULL_LL_DRIVER -DLUOSHAL=STM32F0 -lib_deps = - Luos_engine@^2.9.2 +lib_deps = + luos_engine@^3.0.0 + robus_network Button Led Switcher lib_extra_dirs = + $PROJECT_DIR/../../../../ + $PROJECT_DIR/../../../../luos_engine/tool_services + $PROJECT_DIR/../../../../luos_engine/network $PROJECT_DIR/../Apps lib debug_tool = stlink diff --git a/3_First_Detection/Solution/NUCLEO-F401RE/lib/Button/button.c b/3_First_Detection/Solution/NUCLEO-F401RE/lib/Button/button.c index 95cb8c1..4f10778 100644 --- a/3_First_Detection/Solution/NUCLEO-F401RE/lib/Button/button.c +++ b/3_First_Detection/Solution/NUCLEO-F401RE/lib/Button/button.c @@ -8,7 +8,7 @@ /******************************************************************************* * Functions ******************************************************************************/ -static void Button_MsgHandler(service_t *service, msg_t *msg) +static void Button_MsgHandler(service_t *service, const msg_t *msg) { if ((msg->header.cmd == IO_STATE) || (msg->header.cmd == UNKNOWN_CMD)) { diff --git a/3_First_Detection/Solution/NUCLEO-F401RE/lib/Button/library.json b/3_First_Detection/Solution/NUCLEO-F401RE/lib/Button/library.json index 317f42f..ca51bae 100644 --- a/3_First_Detection/Solution/NUCLEO-F401RE/lib/Button/library.json +++ b/3_First_Detection/Solution/NUCLEO-F401RE/lib/Button/library.json @@ -10,6 +10,6 @@ "licence": "MIT", "build": {}, "dependencies": { - "luos/luos_engine": "^2.6.3" + "luos/luos_engine": "^3.0.0" } -} \ No newline at end of file +} diff --git a/3_First_Detection/Solution/NUCLEO-F401RE/lib/Led/led.c b/3_First_Detection/Solution/NUCLEO-F401RE/lib/Led/led.c index 76776ce..8aaddec 100644 --- a/3_First_Detection/Solution/NUCLEO-F401RE/lib/Led/led.c +++ b/3_First_Detection/Solution/NUCLEO-F401RE/lib/Led/led.c @@ -7,7 +7,7 @@ #include "led.h" #include "gpio.h" -static void Led_MsgHandler(service_t *service, msg_t *msg); +static void Led_MsgHandler(service_t *service, const msg_t *msg); void Led_Init(void) { @@ -17,7 +17,7 @@ void Led_Init(void) void Led_Loop(void) {} -static void Led_MsgHandler(service_t *service, msg_t *msg) +static void Led_MsgHandler(service_t *service, const msg_t *msg) { if (msg->header.cmd == IO_STATE) { diff --git a/3_First_Detection/Solution/NUCLEO-F401RE/lib/Led/library.json b/3_First_Detection/Solution/NUCLEO-F401RE/lib/Led/library.json index 89fcb4c..2a8f66f 100644 --- a/3_First_Detection/Solution/NUCLEO-F401RE/lib/Led/library.json +++ b/3_First_Detection/Solution/NUCLEO-F401RE/lib/Led/library.json @@ -9,6 +9,6 @@ }, "licence": "MIT", "dependencies": { - "luos/luos_engine": "^2.6.3" + "luos/luos_engine": "^3.0.0" } -} \ No newline at end of file +} diff --git a/3_First_Detection/Solution/NUCLEO-F401RE/node_config.h b/3_First_Detection/Solution/NUCLEO-F401RE/node_config.h index 318a8ba..13524ff 100644 --- a/3_First_Detection/Solution/NUCLEO-F401RE/node_config.h +++ b/3_First_Detection/Solution/NUCLEO-F401RE/node_config.h @@ -20,7 +20,11 @@ * # Usage * This file should be place a the root folder of your project and include * where build flag preprocessor definitions are define in your IDE - * -include node_config.h + * + -D GATEFORMAT=TinyJSON + -DROBUSHAL=? + -D PIPEMODE=SERIAL + -D PIPEHAL=? * * @author Luos * @version 0.0.0 diff --git a/3_First_Detection/Solution/NUCLEO-F401RE/platformio.ini b/3_First_Detection/Solution/NUCLEO-F401RE/platformio.ini index b0683b4..602169c 100644 --- a/3_First_Detection/Solution/NUCLEO-F401RE/platformio.ini +++ b/3_First_Detection/Solution/NUCLEO-F401RE/platformio.ini @@ -19,17 +19,20 @@ lib_ldf_mode =off build_unflags = -Os build_flags = -O1 - -include node_config.h - -D GATEFORMAT=TinyJSON + -DROBUSHAL=STM32F4 -DUSE_HAL_DRIVER -DUSE_FULL_LL_DRIVER -DLUOSHAL=STM32F4 -lib_deps = - Luos_engine@^2.9.2 +lib_deps = + luos_engine@^3.0.0 + robus_network Led Button Switcher lib_extra_dirs = + $PROJECT_DIR/../../../../ + $PROJECT_DIR/../../../../luos_engine/tool_services + $PROJECT_DIR/../../../../luos_engine/network $PROJECT_DIR/../Apps lib debug_tool = stlink diff --git a/3_First_Detection/Solution/NUCLEO-F410RB/lib/Button/button.c b/3_First_Detection/Solution/NUCLEO-F410RB/lib/Button/button.c index 95cb8c1..4f10778 100644 --- a/3_First_Detection/Solution/NUCLEO-F410RB/lib/Button/button.c +++ b/3_First_Detection/Solution/NUCLEO-F410RB/lib/Button/button.c @@ -8,7 +8,7 @@ /******************************************************************************* * Functions ******************************************************************************/ -static void Button_MsgHandler(service_t *service, msg_t *msg) +static void Button_MsgHandler(service_t *service, const msg_t *msg) { if ((msg->header.cmd == IO_STATE) || (msg->header.cmd == UNKNOWN_CMD)) { diff --git a/3_First_Detection/Solution/NUCLEO-F410RB/lib/Button/library.json b/3_First_Detection/Solution/NUCLEO-F410RB/lib/Button/library.json index 317f42f..ca51bae 100644 --- a/3_First_Detection/Solution/NUCLEO-F410RB/lib/Button/library.json +++ b/3_First_Detection/Solution/NUCLEO-F410RB/lib/Button/library.json @@ -10,6 +10,6 @@ "licence": "MIT", "build": {}, "dependencies": { - "luos/luos_engine": "^2.6.3" + "luos/luos_engine": "^3.0.0" } -} \ No newline at end of file +} diff --git a/3_First_Detection/Solution/NUCLEO-F410RB/lib/Led/led.c b/3_First_Detection/Solution/NUCLEO-F410RB/lib/Led/led.c index 76776ce..8aaddec 100644 --- a/3_First_Detection/Solution/NUCLEO-F410RB/lib/Led/led.c +++ b/3_First_Detection/Solution/NUCLEO-F410RB/lib/Led/led.c @@ -7,7 +7,7 @@ #include "led.h" #include "gpio.h" -static void Led_MsgHandler(service_t *service, msg_t *msg); +static void Led_MsgHandler(service_t *service, const msg_t *msg); void Led_Init(void) { @@ -17,7 +17,7 @@ void Led_Init(void) void Led_Loop(void) {} -static void Led_MsgHandler(service_t *service, msg_t *msg) +static void Led_MsgHandler(service_t *service, const msg_t *msg) { if (msg->header.cmd == IO_STATE) { diff --git a/3_First_Detection/Solution/NUCLEO-F410RB/lib/Led/library.json b/3_First_Detection/Solution/NUCLEO-F410RB/lib/Led/library.json index 89fcb4c..2a8f66f 100644 --- a/3_First_Detection/Solution/NUCLEO-F410RB/lib/Led/library.json +++ b/3_First_Detection/Solution/NUCLEO-F410RB/lib/Led/library.json @@ -9,6 +9,6 @@ }, "licence": "MIT", "dependencies": { - "luos/luos_engine": "^2.6.3" + "luos/luos_engine": "^3.0.0" } -} \ No newline at end of file +} diff --git a/3_First_Detection/Solution/NUCLEO-F410RB/node_config.h b/3_First_Detection/Solution/NUCLEO-F410RB/node_config.h index b21a5b2..e64ff82 100644 --- a/3_First_Detection/Solution/NUCLEO-F410RB/node_config.h +++ b/3_First_Detection/Solution/NUCLEO-F410RB/node_config.h @@ -20,7 +20,11 @@ * # Usage * This file should be place a the root folder of your project and include * where build flag preprocessor definitions are define in your IDE - * -include node_config.h + * + -D GATEFORMAT=TinyJSON + -DROBUSHAL=? + -D PIPEMODE=SERIAL + -D PIPEHAL=? * * @author Luos * @version 0.0.0 diff --git a/3_First_Detection/Solution/NUCLEO-F410RB/platformio.ini b/3_First_Detection/Solution/NUCLEO-F410RB/platformio.ini index e07f9ec..fb207be 100644 --- a/3_First_Detection/Solution/NUCLEO-F410RB/platformio.ini +++ b/3_First_Detection/Solution/NUCLEO-F410RB/platformio.ini @@ -19,17 +19,20 @@ lib_ldf_mode =off build_unflags = -Os build_flags = -O1 - -include node_config.h - -D GATEFORMAT=TinyJSON + -DROBUSHAL=STM32F4 -DUSE_HAL_DRIVER -DUSE_FULL_LL_DRIVER -DLUOSHAL=STM32F4 -lib_deps = - Luos_engine@^2.9.2 +lib_deps = + luos_engine@^3.0.0 + robus_network Led Button Switcher lib_extra_dirs = + $PROJECT_DIR/../../../../ + $PROJECT_DIR/../../../../luos_engine/tool_services + $PROJECT_DIR/../../../../luos_engine/network $PROJECT_DIR/../Apps lib debug_tool = stlink diff --git a/3_First_Detection/Solution/NUCLEO-G431KB/lib/Button/button.c b/3_First_Detection/Solution/NUCLEO-G431KB/lib/Button/button.c index 95cb8c1..4f10778 100644 --- a/3_First_Detection/Solution/NUCLEO-G431KB/lib/Button/button.c +++ b/3_First_Detection/Solution/NUCLEO-G431KB/lib/Button/button.c @@ -8,7 +8,7 @@ /******************************************************************************* * Functions ******************************************************************************/ -static void Button_MsgHandler(service_t *service, msg_t *msg) +static void Button_MsgHandler(service_t *service, const msg_t *msg) { if ((msg->header.cmd == IO_STATE) || (msg->header.cmd == UNKNOWN_CMD)) { diff --git a/3_First_Detection/Solution/NUCLEO-G431KB/lib/Button/library.json b/3_First_Detection/Solution/NUCLEO-G431KB/lib/Button/library.json index 317f42f..ca51bae 100644 --- a/3_First_Detection/Solution/NUCLEO-G431KB/lib/Button/library.json +++ b/3_First_Detection/Solution/NUCLEO-G431KB/lib/Button/library.json @@ -10,6 +10,6 @@ "licence": "MIT", "build": {}, "dependencies": { - "luos/luos_engine": "^2.6.3" + "luos/luos_engine": "^3.0.0" } -} \ No newline at end of file +} diff --git a/3_First_Detection/Solution/NUCLEO-G431KB/lib/Led/led.c b/3_First_Detection/Solution/NUCLEO-G431KB/lib/Led/led.c index 76776ce..8aaddec 100644 --- a/3_First_Detection/Solution/NUCLEO-G431KB/lib/Led/led.c +++ b/3_First_Detection/Solution/NUCLEO-G431KB/lib/Led/led.c @@ -7,7 +7,7 @@ #include "led.h" #include "gpio.h" -static void Led_MsgHandler(service_t *service, msg_t *msg); +static void Led_MsgHandler(service_t *service, const msg_t *msg); void Led_Init(void) { @@ -17,7 +17,7 @@ void Led_Init(void) void Led_Loop(void) {} -static void Led_MsgHandler(service_t *service, msg_t *msg) +static void Led_MsgHandler(service_t *service, const msg_t *msg) { if (msg->header.cmd == IO_STATE) { diff --git a/3_First_Detection/Solution/NUCLEO-G431KB/lib/Led/library.json b/3_First_Detection/Solution/NUCLEO-G431KB/lib/Led/library.json index 89fcb4c..2a8f66f 100644 --- a/3_First_Detection/Solution/NUCLEO-G431KB/lib/Led/library.json +++ b/3_First_Detection/Solution/NUCLEO-G431KB/lib/Led/library.json @@ -9,6 +9,6 @@ }, "licence": "MIT", "dependencies": { - "luos/luos_engine": "^2.6.3" + "luos/luos_engine": "^3.0.0" } -} \ No newline at end of file +} diff --git a/3_First_Detection/Solution/NUCLEO-G431KB/node_config.h b/3_First_Detection/Solution/NUCLEO-G431KB/node_config.h index 31a49a8..a1c9977 100644 --- a/3_First_Detection/Solution/NUCLEO-G431KB/node_config.h +++ b/3_First_Detection/Solution/NUCLEO-G431KB/node_config.h @@ -20,7 +20,11 @@ * # Usage * This file should be place a the root folder of your project and include * where build flag preprocessor definitions are define in your IDE - * -include node_config.h + * + -D GATEFORMAT=TinyJSON + -DROBUSHAL=? + -D PIPEMODE=SERIAL + -D PIPEHAL=? * * @author Luos * @version 0.0.0 diff --git a/3_First_Detection/Solution/NUCLEO-G431KB/platformio.ini b/3_First_Detection/Solution/NUCLEO-G431KB/platformio.ini index 10f5445..bed08dc 100644 --- a/3_First_Detection/Solution/NUCLEO-G431KB/platformio.ini +++ b/3_First_Detection/Solution/NUCLEO-G431KB/platformio.ini @@ -19,17 +19,20 @@ lib_ldf_mode =off build_unflags = -Os build_flags = -O1 - -include node_config.h - -D GATEFORMAT=TinyJSON + -DROBUSHAL=STM32G4 -DUSE_HAL_DRIVER -DUSE_FULL_LL_DRIVER -DLUOSHAL=STM32G4 -lib_deps = - Luos_engine@^2.9.2 +lib_deps = + luos_engine@^3.0.0 + robus_network Led Button Switcher lib_extra_dirs = + $PROJECT_DIR/../../../../ + $PROJECT_DIR/../../../../luos_engine/tool_services + $PROJECT_DIR/../../../../luos_engine/network $PROJECT_DIR/../Apps lib debug_tool = stlink diff --git a/3_First_Detection/Solution/NUCLEO-L432KC/lib/Button/button.c b/3_First_Detection/Solution/NUCLEO-L432KC/lib/Button/button.c index 95cb8c1..4f10778 100644 --- a/3_First_Detection/Solution/NUCLEO-L432KC/lib/Button/button.c +++ b/3_First_Detection/Solution/NUCLEO-L432KC/lib/Button/button.c @@ -8,7 +8,7 @@ /******************************************************************************* * Functions ******************************************************************************/ -static void Button_MsgHandler(service_t *service, msg_t *msg) +static void Button_MsgHandler(service_t *service, const msg_t *msg) { if ((msg->header.cmd == IO_STATE) || (msg->header.cmd == UNKNOWN_CMD)) { diff --git a/3_First_Detection/Solution/NUCLEO-L432KC/lib/Button/library.json b/3_First_Detection/Solution/NUCLEO-L432KC/lib/Button/library.json index 317f42f..ca51bae 100644 --- a/3_First_Detection/Solution/NUCLEO-L432KC/lib/Button/library.json +++ b/3_First_Detection/Solution/NUCLEO-L432KC/lib/Button/library.json @@ -10,6 +10,6 @@ "licence": "MIT", "build": {}, "dependencies": { - "luos/luos_engine": "^2.6.3" + "luos/luos_engine": "^3.0.0" } -} \ No newline at end of file +} diff --git a/3_First_Detection/Solution/NUCLEO-L432KC/lib/Led/led.c b/3_First_Detection/Solution/NUCLEO-L432KC/lib/Led/led.c index 76776ce..8aaddec 100644 --- a/3_First_Detection/Solution/NUCLEO-L432KC/lib/Led/led.c +++ b/3_First_Detection/Solution/NUCLEO-L432KC/lib/Led/led.c @@ -7,7 +7,7 @@ #include "led.h" #include "gpio.h" -static void Led_MsgHandler(service_t *service, msg_t *msg); +static void Led_MsgHandler(service_t *service, const msg_t *msg); void Led_Init(void) { @@ -17,7 +17,7 @@ void Led_Init(void) void Led_Loop(void) {} -static void Led_MsgHandler(service_t *service, msg_t *msg) +static void Led_MsgHandler(service_t *service, const msg_t *msg) { if (msg->header.cmd == IO_STATE) { diff --git a/3_First_Detection/Solution/NUCLEO-L432KC/lib/Led/library.json b/3_First_Detection/Solution/NUCLEO-L432KC/lib/Led/library.json index 89fcb4c..2a8f66f 100644 --- a/3_First_Detection/Solution/NUCLEO-L432KC/lib/Led/library.json +++ b/3_First_Detection/Solution/NUCLEO-L432KC/lib/Led/library.json @@ -9,6 +9,6 @@ }, "licence": "MIT", "dependencies": { - "luos/luos_engine": "^2.6.3" + "luos/luos_engine": "^3.0.0" } -} \ No newline at end of file +} diff --git a/3_First_Detection/Solution/NUCLEO-L432KC/node_config.h b/3_First_Detection/Solution/NUCLEO-L432KC/node_config.h index 4794f1d..d34ffe5 100644 --- a/3_First_Detection/Solution/NUCLEO-L432KC/node_config.h +++ b/3_First_Detection/Solution/NUCLEO-L432KC/node_config.h @@ -20,7 +20,11 @@ * # Usage * This file should be place a the root folder of your project and include * where build flag preprocessor definitions are define in your IDE - * -include node_config.h + * + -D GATEFORMAT=TinyJSON + -DROBUSHAL=? + -D PIPEMODE=SERIAL + -D PIPEHAL=? * * @author Luos * @version 0.0.0 diff --git a/3_First_Detection/Solution/NUCLEO-L432KC/platformio.ini b/3_First_Detection/Solution/NUCLEO-L432KC/platformio.ini index 756a0bd..b4aef4c 100644 --- a/3_First_Detection/Solution/NUCLEO-L432KC/platformio.ini +++ b/3_First_Detection/Solution/NUCLEO-L432KC/platformio.ini @@ -19,17 +19,20 @@ lib_ldf_mode =off build_unflags = -Os build_flags = -O1 - -include node_config.h - -D GATEFORMAT=TinyJSON + -DROBUSHAL=STM32L4 -DUSE_HAL_DRIVER -DUSE_FULL_LL_DRIVER -DLUOSHAL=STM32L4 -lib_deps = - Luos_engine@^2.9.2 +lib_deps = + luos_engine@^3.0.0 + robus_network Led Button Switcher lib_extra_dirs = + $PROJECT_DIR/../../../../ + $PROJECT_DIR/../../../../luos_engine/tool_services + $PROJECT_DIR/../../../../luos_engine/network $PROJECT_DIR/../Apps lib debug_tool = stlink diff --git a/3_First_Detection/Work_base/Apps/Switcher/library.json b/3_First_Detection/Work_base/Apps/Switcher/library.json index 8c78516..9937eb7 100644 --- a/3_First_Detection/Work_base/Apps/Switcher/library.json +++ b/3_First_Detection/Work_base/Apps/Switcher/library.json @@ -9,6 +9,6 @@ }, "licence": "MIT", "dependencies": { - "luos/luos_engine": "^2.6.3" + "luos/luos_engine": "^3.0.0" } -} \ No newline at end of file +} diff --git a/3_First_Detection/Work_base/Apps/Switcher/switcher.c b/3_First_Detection/Work_base/Apps/Switcher/switcher.c index 75b9ea5..396b1b5 100644 --- a/3_First_Detection/Work_base/Apps/Switcher/switcher.c +++ b/3_First_Detection/Work_base/Apps/Switcher/switcher.c @@ -15,7 +15,7 @@ enum // Custom type list /******************************************************************************* * Functions ******************************************************************************/ -void Switcher_MsgHandler(service_t *service, msg_t *msg) +void Switcher_MsgHandler(service_t *service, const msg_t *msg) { } diff --git a/3_First_Detection/Work_base/Arduino/lib/Button/button.c b/3_First_Detection/Work_base/Arduino/lib/Button/button.c index fd0e9cb..e122d4d 100644 --- a/3_First_Detection/Work_base/Arduino/lib/Button/button.c +++ b/3_First_Detection/Work_base/Arduino/lib/Button/button.c @@ -18,7 +18,7 @@ /******************************************************************************* * Function ******************************************************************************/ -static void Button_MsgHandler(service_t *service, msg_t *msg); +static void Button_MsgHandler(service_t *service, const msg_t *msg); /****************************************************************************** * @brief init must be call in project init * @param None @@ -44,7 +44,7 @@ void Button_Loop(void) * @param Msg receive * @return None ******************************************************************************/ -static void Button_MsgHandler(service_t *service, msg_t *msg) +static void Button_MsgHandler(service_t *service, const msg_t *msg) { if ((msg->header.cmd == IO_STATE) || (msg->header.cmd == UNKNOWN_CMD)) { diff --git a/3_First_Detection/Work_base/Arduino/lib/Button/library.json b/3_First_Detection/Work_base/Arduino/lib/Button/library.json index 317f42f..ca51bae 100644 --- a/3_First_Detection/Work_base/Arduino/lib/Button/library.json +++ b/3_First_Detection/Work_base/Arduino/lib/Button/library.json @@ -10,6 +10,6 @@ "licence": "MIT", "build": {}, "dependencies": { - "luos/luos_engine": "^2.6.3" + "luos/luos_engine": "^3.0.0" } -} \ No newline at end of file +} diff --git a/3_First_Detection/Work_base/Arduino/lib/Led/led.c b/3_First_Detection/Work_base/Arduino/lib/Led/led.c index c7c9c4a..c01fb4f 100644 --- a/3_First_Detection/Work_base/Arduino/lib/Led/led.c +++ b/3_First_Detection/Work_base/Arduino/lib/Led/led.c @@ -17,7 +17,7 @@ /******************************************************************************* * Function ******************************************************************************/ -static void Led_MsgHandler(service_t *service, msg_t *msg); +static void Led_MsgHandler(service_t *service, const msg_t *msg); /****************************************************************************** * @brief init must be call in project init @@ -43,7 +43,7 @@ void Led_Loop(void) {} * @param Msg receive * @return None ******************************************************************************/ -static void Led_MsgHandler(service_t *service, msg_t *msg) +static void Led_MsgHandler(service_t *service, const msg_t *msg) { if (msg->header.cmd == IO_STATE) { diff --git a/3_First_Detection/Work_base/Arduino/lib/Led/library.json b/3_First_Detection/Work_base/Arduino/lib/Led/library.json index 89fcb4c..2a8f66f 100644 --- a/3_First_Detection/Work_base/Arduino/lib/Led/library.json +++ b/3_First_Detection/Work_base/Arduino/lib/Led/library.json @@ -9,6 +9,6 @@ }, "licence": "MIT", "dependencies": { - "luos/luos_engine": "^2.6.3" + "luos/luos_engine": "^3.0.0" } -} \ No newline at end of file +} diff --git a/3_First_Detection/Work_base/Arduino/node_config.h b/3_First_Detection/Work_base/Arduino/node_config.h index 4794f1d..d34ffe5 100644 --- a/3_First_Detection/Work_base/Arduino/node_config.h +++ b/3_First_Detection/Work_base/Arduino/node_config.h @@ -20,7 +20,11 @@ * # Usage * This file should be place a the root folder of your project and include * where build flag preprocessor definitions are define in your IDE - * -include node_config.h + * + -D GATEFORMAT=TinyJSON + -DROBUSHAL=? + -D PIPEMODE=SERIAL + -D PIPEHAL=? * * @author Luos * @version 0.0.0 diff --git a/3_First_Detection/Work_base/Arduino/platformio.ini b/3_First_Detection/Work_base/Arduino/platformio.ini index f26f4c6..47c956b 100644 --- a/3_First_Detection/Work_base/Arduino/platformio.ini +++ b/3_First_Detection/Work_base/Arduino/platformio.ini @@ -31,14 +31,18 @@ lib_ldf_mode =off build_unflags = -Os build_flags = -O1 - -include node_config.h + -D ROBUSHAL=ATSAMD21_ARDUINO -D LUOSHAL=ATSAMD21_ARDUINO lib_deps = - luos_engine@^2.6.3 + luos_engine@^3.0.0 + robus_network Led Button Switcher lib_extra_dirs = + $PROJECT_DIR/../../../../ + $PROJECT_DIR/../../../../luos_engine/tool_services + $PROJECT_DIR/../../../../luos_engine/network $PROJECT_DIR/../Apps lib diff --git a/3_First_Detection/Work_base/NUCLEO-F072RB/lib/Button/button.c b/3_First_Detection/Work_base/NUCLEO-F072RB/lib/Button/button.c index 95cb8c1..4f10778 100644 --- a/3_First_Detection/Work_base/NUCLEO-F072RB/lib/Button/button.c +++ b/3_First_Detection/Work_base/NUCLEO-F072RB/lib/Button/button.c @@ -8,7 +8,7 @@ /******************************************************************************* * Functions ******************************************************************************/ -static void Button_MsgHandler(service_t *service, msg_t *msg) +static void Button_MsgHandler(service_t *service, const msg_t *msg) { if ((msg->header.cmd == IO_STATE) || (msg->header.cmd == UNKNOWN_CMD)) { diff --git a/3_First_Detection/Work_base/NUCLEO-F072RB/lib/Button/library.json b/3_First_Detection/Work_base/NUCLEO-F072RB/lib/Button/library.json index 317f42f..ca51bae 100644 --- a/3_First_Detection/Work_base/NUCLEO-F072RB/lib/Button/library.json +++ b/3_First_Detection/Work_base/NUCLEO-F072RB/lib/Button/library.json @@ -10,6 +10,6 @@ "licence": "MIT", "build": {}, "dependencies": { - "luos/luos_engine": "^2.6.3" + "luos/luos_engine": "^3.0.0" } -} \ No newline at end of file +} diff --git a/3_First_Detection/Work_base/NUCLEO-F072RB/lib/Led/led.c b/3_First_Detection/Work_base/NUCLEO-F072RB/lib/Led/led.c index 76776ce..8aaddec 100644 --- a/3_First_Detection/Work_base/NUCLEO-F072RB/lib/Led/led.c +++ b/3_First_Detection/Work_base/NUCLEO-F072RB/lib/Led/led.c @@ -7,7 +7,7 @@ #include "led.h" #include "gpio.h" -static void Led_MsgHandler(service_t *service, msg_t *msg); +static void Led_MsgHandler(service_t *service, const msg_t *msg); void Led_Init(void) { @@ -17,7 +17,7 @@ void Led_Init(void) void Led_Loop(void) {} -static void Led_MsgHandler(service_t *service, msg_t *msg) +static void Led_MsgHandler(service_t *service, const msg_t *msg) { if (msg->header.cmd == IO_STATE) { diff --git a/3_First_Detection/Work_base/NUCLEO-F072RB/lib/Led/library.json b/3_First_Detection/Work_base/NUCLEO-F072RB/lib/Led/library.json index 89fcb4c..2a8f66f 100644 --- a/3_First_Detection/Work_base/NUCLEO-F072RB/lib/Led/library.json +++ b/3_First_Detection/Work_base/NUCLEO-F072RB/lib/Led/library.json @@ -9,6 +9,6 @@ }, "licence": "MIT", "dependencies": { - "luos/luos_engine": "^2.6.3" + "luos/luos_engine": "^3.0.0" } -} \ No newline at end of file +} diff --git a/3_First_Detection/Work_base/NUCLEO-F072RB/node_config.h b/3_First_Detection/Work_base/NUCLEO-F072RB/node_config.h index 4794f1d..d34ffe5 100644 --- a/3_First_Detection/Work_base/NUCLEO-F072RB/node_config.h +++ b/3_First_Detection/Work_base/NUCLEO-F072RB/node_config.h @@ -20,7 +20,11 @@ * # Usage * This file should be place a the root folder of your project and include * where build flag preprocessor definitions are define in your IDE - * -include node_config.h + * + -D GATEFORMAT=TinyJSON + -DROBUSHAL=? + -D PIPEMODE=SERIAL + -D PIPEHAL=? * * @author Luos * @version 0.0.0 diff --git a/3_First_Detection/Work_base/NUCLEO-F072RB/platformio.ini b/3_First_Detection/Work_base/NUCLEO-F072RB/platformio.ini index 9a17c02..1f1df08 100644 --- a/3_First_Detection/Work_base/NUCLEO-F072RB/platformio.ini +++ b/3_First_Detection/Work_base/NUCLEO-F072RB/platformio.ini @@ -19,17 +19,20 @@ lib_ldf_mode =off build_unflags = -Os build_flags = -O1 - -include node_config.h - -D GATEFORMAT=TinyJSON + -D ROBUSHAL=STM32F0 -DUSE_HAL_DRIVER -DUSE_FULL_LL_DRIVER - -DLUOSHAL=STM32F0 -lib_deps = - Luos_engine@^2.9.2 + -D LUOSHAL=STM32F0 +lib_deps = + luos_engine@^3.0.0 + robus_network Button Led Switcher lib_extra_dirs = + $PROJECT_DIR/../../../../ + $PROJECT_DIR/../../../../luos_engine/tool_services + $PROJECT_DIR/../../../../luos_engine/network $PROJECT_DIR/../Apps lib debug_tool = stlink diff --git a/3_First_Detection/Work_base/NUCLEO-F401RE/lib/Button/button.c b/3_First_Detection/Work_base/NUCLEO-F401RE/lib/Button/button.c index 95cb8c1..4f10778 100644 --- a/3_First_Detection/Work_base/NUCLEO-F401RE/lib/Button/button.c +++ b/3_First_Detection/Work_base/NUCLEO-F401RE/lib/Button/button.c @@ -8,7 +8,7 @@ /******************************************************************************* * Functions ******************************************************************************/ -static void Button_MsgHandler(service_t *service, msg_t *msg) +static void Button_MsgHandler(service_t *service, const msg_t *msg) { if ((msg->header.cmd == IO_STATE) || (msg->header.cmd == UNKNOWN_CMD)) { diff --git a/3_First_Detection/Work_base/NUCLEO-F401RE/lib/Button/library.json b/3_First_Detection/Work_base/NUCLEO-F401RE/lib/Button/library.json index 317f42f..ca51bae 100644 --- a/3_First_Detection/Work_base/NUCLEO-F401RE/lib/Button/library.json +++ b/3_First_Detection/Work_base/NUCLEO-F401RE/lib/Button/library.json @@ -10,6 +10,6 @@ "licence": "MIT", "build": {}, "dependencies": { - "luos/luos_engine": "^2.6.3" + "luos/luos_engine": "^3.0.0" } -} \ No newline at end of file +} diff --git a/3_First_Detection/Work_base/NUCLEO-F401RE/lib/Led/led.c b/3_First_Detection/Work_base/NUCLEO-F401RE/lib/Led/led.c index 76776ce..8aaddec 100644 --- a/3_First_Detection/Work_base/NUCLEO-F401RE/lib/Led/led.c +++ b/3_First_Detection/Work_base/NUCLEO-F401RE/lib/Led/led.c @@ -7,7 +7,7 @@ #include "led.h" #include "gpio.h" -static void Led_MsgHandler(service_t *service, msg_t *msg); +static void Led_MsgHandler(service_t *service, const msg_t *msg); void Led_Init(void) { @@ -17,7 +17,7 @@ void Led_Init(void) void Led_Loop(void) {} -static void Led_MsgHandler(service_t *service, msg_t *msg) +static void Led_MsgHandler(service_t *service, const msg_t *msg) { if (msg->header.cmd == IO_STATE) { diff --git a/3_First_Detection/Work_base/NUCLEO-F401RE/lib/Led/library.json b/3_First_Detection/Work_base/NUCLEO-F401RE/lib/Led/library.json index 89fcb4c..2a8f66f 100644 --- a/3_First_Detection/Work_base/NUCLEO-F401RE/lib/Led/library.json +++ b/3_First_Detection/Work_base/NUCLEO-F401RE/lib/Led/library.json @@ -9,6 +9,6 @@ }, "licence": "MIT", "dependencies": { - "luos/luos_engine": "^2.6.3" + "luos/luos_engine": "^3.0.0" } -} \ No newline at end of file +} diff --git a/3_First_Detection/Work_base/NUCLEO-F401RE/node_config.h b/3_First_Detection/Work_base/NUCLEO-F401RE/node_config.h index 318a8ba..13524ff 100644 --- a/3_First_Detection/Work_base/NUCLEO-F401RE/node_config.h +++ b/3_First_Detection/Work_base/NUCLEO-F401RE/node_config.h @@ -20,7 +20,11 @@ * # Usage * This file should be place a the root folder of your project and include * where build flag preprocessor definitions are define in your IDE - * -include node_config.h + * + -D GATEFORMAT=TinyJSON + -DROBUSHAL=? + -D PIPEMODE=SERIAL + -D PIPEHAL=? * * @author Luos * @version 0.0.0 diff --git a/3_First_Detection/Work_base/NUCLEO-F401RE/platformio.ini b/3_First_Detection/Work_base/NUCLEO-F401RE/platformio.ini index b0683b4..602169c 100644 --- a/3_First_Detection/Work_base/NUCLEO-F401RE/platformio.ini +++ b/3_First_Detection/Work_base/NUCLEO-F401RE/platformio.ini @@ -19,17 +19,20 @@ lib_ldf_mode =off build_unflags = -Os build_flags = -O1 - -include node_config.h - -D GATEFORMAT=TinyJSON + -DROBUSHAL=STM32F4 -DUSE_HAL_DRIVER -DUSE_FULL_LL_DRIVER -DLUOSHAL=STM32F4 -lib_deps = - Luos_engine@^2.9.2 +lib_deps = + luos_engine@^3.0.0 + robus_network Led Button Switcher lib_extra_dirs = + $PROJECT_DIR/../../../../ + $PROJECT_DIR/../../../../luos_engine/tool_services + $PROJECT_DIR/../../../../luos_engine/network $PROJECT_DIR/../Apps lib debug_tool = stlink diff --git a/3_First_Detection/Work_base/NUCLEO-F410RB/lib/Button/button.c b/3_First_Detection/Work_base/NUCLEO-F410RB/lib/Button/button.c index 95cb8c1..4f10778 100644 --- a/3_First_Detection/Work_base/NUCLEO-F410RB/lib/Button/button.c +++ b/3_First_Detection/Work_base/NUCLEO-F410RB/lib/Button/button.c @@ -8,7 +8,7 @@ /******************************************************************************* * Functions ******************************************************************************/ -static void Button_MsgHandler(service_t *service, msg_t *msg) +static void Button_MsgHandler(service_t *service, const msg_t *msg) { if ((msg->header.cmd == IO_STATE) || (msg->header.cmd == UNKNOWN_CMD)) { diff --git a/3_First_Detection/Work_base/NUCLEO-F410RB/lib/Button/library.json b/3_First_Detection/Work_base/NUCLEO-F410RB/lib/Button/library.json index 317f42f..ca51bae 100644 --- a/3_First_Detection/Work_base/NUCLEO-F410RB/lib/Button/library.json +++ b/3_First_Detection/Work_base/NUCLEO-F410RB/lib/Button/library.json @@ -10,6 +10,6 @@ "licence": "MIT", "build": {}, "dependencies": { - "luos/luos_engine": "^2.6.3" + "luos/luos_engine": "^3.0.0" } -} \ No newline at end of file +} diff --git a/3_First_Detection/Work_base/NUCLEO-F410RB/lib/Led/led.c b/3_First_Detection/Work_base/NUCLEO-F410RB/lib/Led/led.c index 76776ce..8aaddec 100644 --- a/3_First_Detection/Work_base/NUCLEO-F410RB/lib/Led/led.c +++ b/3_First_Detection/Work_base/NUCLEO-F410RB/lib/Led/led.c @@ -7,7 +7,7 @@ #include "led.h" #include "gpio.h" -static void Led_MsgHandler(service_t *service, msg_t *msg); +static void Led_MsgHandler(service_t *service, const msg_t *msg); void Led_Init(void) { @@ -17,7 +17,7 @@ void Led_Init(void) void Led_Loop(void) {} -static void Led_MsgHandler(service_t *service, msg_t *msg) +static void Led_MsgHandler(service_t *service, const msg_t *msg) { if (msg->header.cmd == IO_STATE) { diff --git a/3_First_Detection/Work_base/NUCLEO-F410RB/lib/Led/library.json b/3_First_Detection/Work_base/NUCLEO-F410RB/lib/Led/library.json index 89fcb4c..2a8f66f 100644 --- a/3_First_Detection/Work_base/NUCLEO-F410RB/lib/Led/library.json +++ b/3_First_Detection/Work_base/NUCLEO-F410RB/lib/Led/library.json @@ -9,6 +9,6 @@ }, "licence": "MIT", "dependencies": { - "luos/luos_engine": "^2.6.3" + "luos/luos_engine": "^3.0.0" } -} \ No newline at end of file +} diff --git a/3_First_Detection/Work_base/NUCLEO-F410RB/node_config.h b/3_First_Detection/Work_base/NUCLEO-F410RB/node_config.h index b21a5b2..e64ff82 100644 --- a/3_First_Detection/Work_base/NUCLEO-F410RB/node_config.h +++ b/3_First_Detection/Work_base/NUCLEO-F410RB/node_config.h @@ -20,7 +20,11 @@ * # Usage * This file should be place a the root folder of your project and include * where build flag preprocessor definitions are define in your IDE - * -include node_config.h + * + -D GATEFORMAT=TinyJSON + -DROBUSHAL=? + -D PIPEMODE=SERIAL + -D PIPEHAL=? * * @author Luos * @version 0.0.0 diff --git a/3_First_Detection/Work_base/NUCLEO-F410RB/platformio.ini b/3_First_Detection/Work_base/NUCLEO-F410RB/platformio.ini index e07f9ec..fb207be 100644 --- a/3_First_Detection/Work_base/NUCLEO-F410RB/platformio.ini +++ b/3_First_Detection/Work_base/NUCLEO-F410RB/platformio.ini @@ -19,17 +19,20 @@ lib_ldf_mode =off build_unflags = -Os build_flags = -O1 - -include node_config.h - -D GATEFORMAT=TinyJSON + -DROBUSHAL=STM32F4 -DUSE_HAL_DRIVER -DUSE_FULL_LL_DRIVER -DLUOSHAL=STM32F4 -lib_deps = - Luos_engine@^2.9.2 +lib_deps = + luos_engine@^3.0.0 + robus_network Led Button Switcher lib_extra_dirs = + $PROJECT_DIR/../../../../ + $PROJECT_DIR/../../../../luos_engine/tool_services + $PROJECT_DIR/../../../../luos_engine/network $PROJECT_DIR/../Apps lib debug_tool = stlink diff --git a/3_First_Detection/Work_base/NUCLEO-G431KB/lib/Button/button.c b/3_First_Detection/Work_base/NUCLEO-G431KB/lib/Button/button.c index 95cb8c1..4f10778 100644 --- a/3_First_Detection/Work_base/NUCLEO-G431KB/lib/Button/button.c +++ b/3_First_Detection/Work_base/NUCLEO-G431KB/lib/Button/button.c @@ -8,7 +8,7 @@ /******************************************************************************* * Functions ******************************************************************************/ -static void Button_MsgHandler(service_t *service, msg_t *msg) +static void Button_MsgHandler(service_t *service, const msg_t *msg) { if ((msg->header.cmd == IO_STATE) || (msg->header.cmd == UNKNOWN_CMD)) { diff --git a/3_First_Detection/Work_base/NUCLEO-G431KB/lib/Button/library.json b/3_First_Detection/Work_base/NUCLEO-G431KB/lib/Button/library.json index 317f42f..ca51bae 100644 --- a/3_First_Detection/Work_base/NUCLEO-G431KB/lib/Button/library.json +++ b/3_First_Detection/Work_base/NUCLEO-G431KB/lib/Button/library.json @@ -10,6 +10,6 @@ "licence": "MIT", "build": {}, "dependencies": { - "luos/luos_engine": "^2.6.3" + "luos/luos_engine": "^3.0.0" } -} \ No newline at end of file +} diff --git a/3_First_Detection/Work_base/NUCLEO-G431KB/lib/Led/led.c b/3_First_Detection/Work_base/NUCLEO-G431KB/lib/Led/led.c index 76776ce..8aaddec 100644 --- a/3_First_Detection/Work_base/NUCLEO-G431KB/lib/Led/led.c +++ b/3_First_Detection/Work_base/NUCLEO-G431KB/lib/Led/led.c @@ -7,7 +7,7 @@ #include "led.h" #include "gpio.h" -static void Led_MsgHandler(service_t *service, msg_t *msg); +static void Led_MsgHandler(service_t *service, const msg_t *msg); void Led_Init(void) { @@ -17,7 +17,7 @@ void Led_Init(void) void Led_Loop(void) {} -static void Led_MsgHandler(service_t *service, msg_t *msg) +static void Led_MsgHandler(service_t *service, const msg_t *msg) { if (msg->header.cmd == IO_STATE) { diff --git a/3_First_Detection/Work_base/NUCLEO-G431KB/lib/Led/library.json b/3_First_Detection/Work_base/NUCLEO-G431KB/lib/Led/library.json index 89fcb4c..2a8f66f 100644 --- a/3_First_Detection/Work_base/NUCLEO-G431KB/lib/Led/library.json +++ b/3_First_Detection/Work_base/NUCLEO-G431KB/lib/Led/library.json @@ -9,6 +9,6 @@ }, "licence": "MIT", "dependencies": { - "luos/luos_engine": "^2.6.3" + "luos/luos_engine": "^3.0.0" } -} \ No newline at end of file +} diff --git a/3_First_Detection/Work_base/NUCLEO-G431KB/node_config.h b/3_First_Detection/Work_base/NUCLEO-G431KB/node_config.h index 31a49a8..a1c9977 100644 --- a/3_First_Detection/Work_base/NUCLEO-G431KB/node_config.h +++ b/3_First_Detection/Work_base/NUCLEO-G431KB/node_config.h @@ -20,7 +20,11 @@ * # Usage * This file should be place a the root folder of your project and include * where build flag preprocessor definitions are define in your IDE - * -include node_config.h + * + -D GATEFORMAT=TinyJSON + -DROBUSHAL=? + -D PIPEMODE=SERIAL + -D PIPEHAL=? * * @author Luos * @version 0.0.0 diff --git a/3_First_Detection/Work_base/NUCLEO-G431KB/platformio.ini b/3_First_Detection/Work_base/NUCLEO-G431KB/platformio.ini index 10f5445..bed08dc 100644 --- a/3_First_Detection/Work_base/NUCLEO-G431KB/platformio.ini +++ b/3_First_Detection/Work_base/NUCLEO-G431KB/platformio.ini @@ -19,17 +19,20 @@ lib_ldf_mode =off build_unflags = -Os build_flags = -O1 - -include node_config.h - -D GATEFORMAT=TinyJSON + -DROBUSHAL=STM32G4 -DUSE_HAL_DRIVER -DUSE_FULL_LL_DRIVER -DLUOSHAL=STM32G4 -lib_deps = - Luos_engine@^2.9.2 +lib_deps = + luos_engine@^3.0.0 + robus_network Led Button Switcher lib_extra_dirs = + $PROJECT_DIR/../../../../ + $PROJECT_DIR/../../../../luos_engine/tool_services + $PROJECT_DIR/../../../../luos_engine/network $PROJECT_DIR/../Apps lib debug_tool = stlink diff --git a/3_First_Detection/Work_base/NUCLEO-L432KC/lib/Button/button.c b/3_First_Detection/Work_base/NUCLEO-L432KC/lib/Button/button.c index 95cb8c1..4f10778 100644 --- a/3_First_Detection/Work_base/NUCLEO-L432KC/lib/Button/button.c +++ b/3_First_Detection/Work_base/NUCLEO-L432KC/lib/Button/button.c @@ -8,7 +8,7 @@ /******************************************************************************* * Functions ******************************************************************************/ -static void Button_MsgHandler(service_t *service, msg_t *msg) +static void Button_MsgHandler(service_t *service, const msg_t *msg) { if ((msg->header.cmd == IO_STATE) || (msg->header.cmd == UNKNOWN_CMD)) { diff --git a/3_First_Detection/Work_base/NUCLEO-L432KC/lib/Button/library.json b/3_First_Detection/Work_base/NUCLEO-L432KC/lib/Button/library.json index 317f42f..ca51bae 100644 --- a/3_First_Detection/Work_base/NUCLEO-L432KC/lib/Button/library.json +++ b/3_First_Detection/Work_base/NUCLEO-L432KC/lib/Button/library.json @@ -10,6 +10,6 @@ "licence": "MIT", "build": {}, "dependencies": { - "luos/luos_engine": "^2.6.3" + "luos/luos_engine": "^3.0.0" } -} \ No newline at end of file +} diff --git a/3_First_Detection/Work_base/NUCLEO-L432KC/lib/Led/led.c b/3_First_Detection/Work_base/NUCLEO-L432KC/lib/Led/led.c index 76776ce..8aaddec 100644 --- a/3_First_Detection/Work_base/NUCLEO-L432KC/lib/Led/led.c +++ b/3_First_Detection/Work_base/NUCLEO-L432KC/lib/Led/led.c @@ -7,7 +7,7 @@ #include "led.h" #include "gpio.h" -static void Led_MsgHandler(service_t *service, msg_t *msg); +static void Led_MsgHandler(service_t *service, const msg_t *msg); void Led_Init(void) { @@ -17,7 +17,7 @@ void Led_Init(void) void Led_Loop(void) {} -static void Led_MsgHandler(service_t *service, msg_t *msg) +static void Led_MsgHandler(service_t *service, const msg_t *msg) { if (msg->header.cmd == IO_STATE) { diff --git a/3_First_Detection/Work_base/NUCLEO-L432KC/lib/Led/library.json b/3_First_Detection/Work_base/NUCLEO-L432KC/lib/Led/library.json index 89fcb4c..2a8f66f 100644 --- a/3_First_Detection/Work_base/NUCLEO-L432KC/lib/Led/library.json +++ b/3_First_Detection/Work_base/NUCLEO-L432KC/lib/Led/library.json @@ -9,6 +9,6 @@ }, "licence": "MIT", "dependencies": { - "luos/luos_engine": "^2.6.3" + "luos/luos_engine": "^3.0.0" } -} \ No newline at end of file +} diff --git a/3_First_Detection/Work_base/NUCLEO-L432KC/node_config.h b/3_First_Detection/Work_base/NUCLEO-L432KC/node_config.h index 4794f1d..d34ffe5 100644 --- a/3_First_Detection/Work_base/NUCLEO-L432KC/node_config.h +++ b/3_First_Detection/Work_base/NUCLEO-L432KC/node_config.h @@ -20,7 +20,11 @@ * # Usage * This file should be place a the root folder of your project and include * where build flag preprocessor definitions are define in your IDE - * -include node_config.h + * + -D GATEFORMAT=TinyJSON + -DROBUSHAL=? + -D PIPEMODE=SERIAL + -D PIPEHAL=? * * @author Luos * @version 0.0.0 diff --git a/3_First_Detection/Work_base/NUCLEO-L432KC/platformio.ini b/3_First_Detection/Work_base/NUCLEO-L432KC/platformio.ini index 756a0bd..b4aef4c 100644 --- a/3_First_Detection/Work_base/NUCLEO-L432KC/platformio.ini +++ b/3_First_Detection/Work_base/NUCLEO-L432KC/platformio.ini @@ -19,17 +19,20 @@ lib_ldf_mode =off build_unflags = -Os build_flags = -O1 - -include node_config.h - -D GATEFORMAT=TinyJSON + -DROBUSHAL=STM32L4 -DUSE_HAL_DRIVER -DUSE_FULL_LL_DRIVER -DLUOSHAL=STM32L4 -lib_deps = - Luos_engine@^2.9.2 +lib_deps = + luos_engine@^3.0.0 + robus_network Led Button Switcher lib_extra_dirs = + $PROJECT_DIR/../../../../ + $PROJECT_DIR/../../../../luos_engine/tool_services + $PROJECT_DIR/../../../../luos_engine/network $PROJECT_DIR/../Apps lib debug_tool = stlink