Skip to content

Commit

Permalink
OK serial test with Native gate and STM32L4 button
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-rabault committed Jul 11, 2023
1 parent 56e119c commit 256fc9e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
1 change: 0 additions & 1 deletion examples/projects/NUCLEO-L432KC/button/lib/Button/button.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
#define BUTTON_H

#include "luos_engine.h"
#include "robus_network.h"
/*******************************************************************************
* Definitions
******************************************************************************/
Expand Down
2 changes: 1 addition & 1 deletion examples/projects/NUCLEO-L432KC/button/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ board = nucleo_l432kc
framework = stm32cube
lib_deps =
luos_engine@^3.0.0
robus_network
serial_network
Button
debug_tool = stlink
upload_protocol = stlink
Expand Down
5 changes: 3 additions & 2 deletions examples/projects/NUCLEO-L432KC/button/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
/* Private includes ----------------------------------------------------------*/
/* USER CODE BEGIN Includes */
#include "luos_engine.h"
#include "robus_network.h"
#include "serial_network.h"
#include "button.h"
/* USER CODE END Includes */

Expand Down Expand Up @@ -88,7 +88,7 @@ int main(void)
MX_GPIO_Init();
/* USER CODE BEGIN 2 */
Luos_Init();
Robus_Init();
Serial_Init();
Button_Init();
/* USER CODE END 2 */

Expand All @@ -100,6 +100,7 @@ int main(void)

/* USER CODE BEGIN 3 */
Luos_Loop();
Serial_Loop();
Button_Loop();
}
/* USER CODE END 3 */
Expand Down

0 comments on commit 256fc9e

Please sign in to comment.