Closed
Description
Hi,
I'm most likely something wrong here, I'm not sure...
#include <stdbool.h>
#include <string.h>
#include "printf_config.h" //just to get PRINTF_ALIAS_STANDARD_FUNCTION_NAMES...
#include <printf/printf.h>
.........
printf("eos_string: 0x");
//printf("%c", eot_char);
I'm compiling this for embedded (ARM CM0) targets with nano.specs etc, and everything works as expected until I uncomment that second printf : then the linker tries to locate a bunch of libc stubs that are missing , e.g. _sbrk , _write_r, _seek_r etc (as I would expect if I was using the stdio printf ).
Is there anything special about using the "%c" specifier on its own ? If I replace that second printf with a %d , it'll work... Or if I change the formatter as " %c
(i.e. adding a space in front), that also works fine !