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