utils: printf for embedded and segger rtt
This commit is contained in:
		| @@ -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 | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user