Implement debug functionalities for faster testing #23

Manually merged
eeeck merged 4 commits from stm_debug into dev_serial-send 2026-06-18 13:43:44 +02:00
2 changed files with 3 additions and 2 deletions
Showing only changes of commit 1ad8e5b04f - Show all commits
+2 -2
View File
@@ -45,10 +45,10 @@ extern "C" {
/* Exported macro ------------------------------------------------------------*/
/* USER CODE BEGIN EM */
#define DEBUG
#define DEBUG_ITM
#define DEBUG_DUMMY_FRAME
#ifdef DEBUG
#ifdef DEBUG_ITM
#include <stdio.h>
#define DEBUG_PRINT(...) printf(__VA_ARGS__)
#else
+1
View File
@@ -135,5 +135,6 @@ void vUARTLogger(void *argument)
DEBUG_PRINT("CAN frame sent via UART\r\n");
}
}
}
}
/* END vUARTLoggerListen */