utils: printf for embedded and segger rtt

This commit is contained in:
2023-03-26 10:58:21 +02:00
parent 83e4959c09
commit 317e3bbd25
7 changed files with 4728 additions and 0 deletions

View File

@@ -84,6 +84,12 @@ C_SOURCES += ../shared_libs/display/font_gfx.c
C_SOURCES += ../shared_libs/bitmaps/bitmap_disp_buttons.c
C_SOURCES += ../shared_libs/bitmaps/bitmap_font_5x7.c
# utils/printf
C_SOURCES += ../shared_libs/utils/printf/printf.c
# utils/rtt
C_SOURCES += ../shared_libs/utils/rtt/SEGGER_RTT.c
C_SOURCES += ../shared_libs/utils/rtt/SEGGER_RTT_printf.c
# ASM sources
ASM_SOURCES = \
startup_stm32f303xe.s
@@ -160,6 +166,10 @@ C_INCLUDES += -I../shared_libs/display
# bitmaps includes
C_INCLUDES += -I../shared_libs/bitmaps
# utils/print includes
C_INCLUDES += -I../shared_libs/utils/printf
C_INCLUDES += -I../shared_libs/utils/rtt
# compile gcc flags
ASFLAGS = $(MCU) $(AS_DEFS) $(AS_INCLUDES) $(OPT) -Wall -fdata-sections -ffunction-sections