Getting error at compile time SEGGER Embedded Studio for ARM 6.32b

Good day

I have been testing sample code code, but when compiling I get this error

nRF5_SDK_17.1.0_ddde560\components\libraries\uart\retarget.c:101:23: error: unknown type name '__printf_tag_ptr'

32> 101 | int __putchar(int ch, __printf_tag_ptr tag_ptr)

I found some post suggesting to do this;

1. Exclude retarget.c

2. Go to project option settings and set Configurations to Common

3. Set Code->Library->Library I/O to RTT

But when rebuilding the project it gives me a new error

.text is larger than specified size

.rodata is larger than specified size

This happens from the sample code, maybe I am missing a setting in Segger

Related