This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

printf doesn't work when implemented in a function.

Hello,

In one of my codes, I use the printf function. It works properly when implemented in the int main(void), but when I try to use it in a static void NAME (void){} function the printf don't print anything over the uart.

Are there any know behaviours about this ?

Config : Segger Embedded Studio, SDKs v15.0, Windows 10, PCA10056 0.12.0 2018.9

Best regards,
Sylvain.

Parents Reply Children
Related