comparison Discovery/Src/base.c @ 1036:5865f0aeb438 Puls_Integration

Radio data integration: Added functionality for displaying radio data as debug message. The USART3 has been configurated for receiption and a function for the visualization of the data has been added to the demo unit (draft implementation). For activation the radio as well as the logger functionality needs to be activated via compile switch. Note that at the moment bluetooth and radio DMA may not be operated in parallel.
author Ideenmodellierer
date Sun, 10 Aug 2025 15:28:59 +0200
parents 5b913cdaa9dc
children 2af07aa38531
comparison
equal deleted inserted replaced
1035:5b913cdaa9dc 1036:5865f0aeb438
243 #ifdef DEMOMODE 243 #ifdef DEMOMODE
244 #include "demo.h" 244 #include "demo.h"
245 static void TIM_DEMO_init(void); 245 static void TIM_DEMO_init(void);
246 #endif 246 #endif
247 247
248 #ifdef ENABLE_USART_RADIO
249 #include "demo.h"
250 #endif
248 251
249 //#include "lodepng.h" 252 //#include "lodepng.h"
250 //#include <stdlib.h> // for malloc and free 253 //#include <stdlib.h> // for malloc and free
251 254
252 /** @addtogroup OSTC 4 255 /** @addtogroup OSTC 4
529 { 532 {
530 TriggerButtonAction(); 533 TriggerButtonAction();
531 } 534 }
532 #ifdef ENABLE_PULSE_SENSOR_BT 535 #ifdef ENABLE_PULSE_SENSOR_BT
533 cv_heartbeat_HandleData(); 536 cv_heartbeat_HandleData();
537 #endif
538
539 #ifdef ENABLE_USART_RADIO
540 demo_HandleData();
534 #endif 541 #endif
535 if(DoHousekeeping) 542 if(DoHousekeeping)
536 { 543 {
537 DoHousekeeping = housekeepingFrame(); 544 DoHousekeeping = housekeepingFrame();
538 } 545 }