I’m trying to send a simple text over UART.
I added the “Peripheral Drivers (IoT)” in Properties -> Frameworks. Why can’t I use os_printf(“hello”);?
There is a define is osapi.h:
#define os_printf os_printf_plus
The error is: ‘os_printf_plus’ was not declared in this scope.
Do I have to add a library in Properties -> Makefile settings -> Library Directories ?
It looks like the Espressif guys forgot to declare this function in their SDK. Please feel free to add the following declaration to espmissingincludes.h and include the file from your projects:
int os_printf_plus(const char *format, ...) __attribute__ ((format (printf, 1, 2)));