diff Small_CPU/Src/baseCPU2.c @ 899:2225c467f1e9 Evo_2_23

Added data path and visualization for position data: The GNSS data exchange is now initialized and triggered on a cyclic basis (once a second). RTE verion has been increased because of interface change. For now only the position data is shown in a T7 surface views. The functionality may be switched on/off using the compile switch ENABLE_GNSS.
author Ideenmodellierer
date Mon, 30 Sep 2024 21:56:05 +0200
parents 651d21777b61
children 6a7701f66b16
line wrap: on
line diff
--- a/Small_CPU/Src/baseCPU2.c	Thu Sep 26 18:40:41 2024 +0200
+++ b/Small_CPU/Src/baseCPU2.c	Mon Sep 30 21:56:05 2024 +0200
@@ -168,7 +168,7 @@
 // See CPU2-RTE.ld
 const SFirmwareData cpu2_FirmwareData __attribute__(( section(".firmware_data") ))= {
 		.versionFirst = 3,
-		.versionSecond = 3,
+		.versionSecond = 4,
 		.versionThird = 0,
 		.versionBeta = 1,
 
@@ -434,6 +434,8 @@
 			GNSS_IO_init();
 			MX_USART6_UART_Init();
 			GNSS_Init(&GNSS_Handle, &huart6);
+
+#if 0
 			HAL_Delay(1000);
 			GNSS_LoadConfig(&GNSS_Handle);
 			HAL_Delay(250);
@@ -442,7 +444,7 @@
 			HAL_Delay(250);
 			GNSS_GetPVTData(&GNSS_Handle);
 			GNSS_ParseBuffer(&GNSS_Handle);
-
+#endif
 /*
  * Demo code from SimpleMethod
  * called 1/second