Implement serial debug logging #22

Manually merged
eeeck merged 13 commits from dev_debug into dev_serial-send 2026-06-17 20:52:29 +02:00
Showing only changes of commit 5c8961efa7 - Show all commits
+21
View File
@@ -24,6 +24,27 @@
extern "C" {
#endif
/* Includes ------------------------------------------------------------------*/
#include "stm32f4xx_hal.h"
#include "canlog.h"
/* Private includes ----------------------------------------------------------*/
/* USER CODE BEGIN Includes */
#include <stdint.h>
/* USER CODE END Includes */
/* Exported types ------------------------------------------------------------*/
/* USER CODE BEGIN ET */
/* USER CODE END ET */
/* Exported constants --------------------------------------------------------*/
/* USER CODE BEGIN EC */
/* USER CODE END EC */
/* Exported macro ------------------------------------------------------------*/
/* USER CODE BEGIN EM */
#define DEBUG
#ifdef DEBUG
static inline void ITM_Print(const char *str) {