From 35e80fd2d6bbe609f30f063d0d2250b74b497aeb Mon Sep 17 00:00:00 2001 From: Eggert Jung Date: Thu, 17 Apr 2025 14:37:37 +0200 Subject: [PATCH] add RTT --- Drivers/RTT | 1 + Makefile | 7 ++++++- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 160000 Drivers/RTT diff --git a/Drivers/RTT b/Drivers/RTT new file mode 160000 index 0000000..ff57c3d --- /dev/null +++ b/Drivers/RTT @@ -0,0 +1 @@ +Subproject commit ff57c3d516ea59b0a2d4d5cafb33a48572b09c0b diff --git a/Makefile b/Makefile index 08a5357..bdf6ff7 100644 --- a/Makefile +++ b/Makefile @@ -55,6 +55,9 @@ Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_pwr_ex.c \ Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_cortex.c \ Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal.c \ Drivers/STM32G0xx_HAL_Driver/Src/stm32g0xx_hal_exti.c \ +Drivers/RTT/RTT/SEGGER_RTT.c \ +Drivers/RTT/RTT/SEGGER_RTT_printf.c \ +Drivers/RTT/Syscalls/SEGGER_RTT_Syscalls_GCC.c \ Src/system_stm32g0xx.c # ASM sources @@ -119,7 +122,9 @@ C_INCLUDES = \ -IDrivers/STM32G0xx_HAL_Driver/Inc \ -IDrivers/STM32G0xx_HAL_Driver/Inc/Legacy \ -IDrivers/CMSIS/Device/ST/STM32G0xx/Include \ --IDrivers/CMSIS/Include +-IDrivers/CMSIS/Include \ +-IDrivers/RTT/Config \ +-IDrivers/RTT/RTT # compile gcc flags