Discuss here different C compiler set ups, and compiling executables for the ESP8266

User avatar
By AndreFeliciano
#75552 Hi,

I installed, with Eclipse, the FreeRTOS on nodeMCU with 3 tasks and it is working normally. I could not communicate via UART.

I put "#include" driver / uart.h "" and "uart_init (BIT_RATE_115200);" in user_main.c. In the project it includes the files "uart.c" and "uart.h".

When it is flashing:

mingw32-make.exe: *** [build / app.out] Error 1
recipe for target 'build / app.out' failed - Makefile
undefined reference to `uart_init '- user_main.c

Any tips?
User avatar
By jcmvbkbc
#75570
AndreFeliciano wrote:mingw32-make.exe: *** [build / app.out] Error 1
recipe for target 'build / app.out' failed - Makefile
undefined reference to `uart_init '- user_main.c
Any tips?

Looking at FreeRTOS examples I see a function called uart_set_baud, maybe that's what you need to use instead of uart_init?