So you're a Noob? Post your questions here until you graduate! Don't be shy.

User avatar
By ilian53
#68761 Hello, i am new to esp8266 programming, started yesterday.

I'm using Ubuntu 16.04 and my esp8266 is WeMos D1 mini

I managed to compile this code: https://github.com/espressif/ESP8266_RT ... chine_demo

After that, i copied the makefile, the .sh file and the user folder with the Makefile in it. I deleted the include folder and the wifi_state_machine.c file from the user folder.

After that i changed the contents of the user_main.c file to: https://pastebin.com/Ffu4MAmM

I used to not have uint32 user_rf_cal_sector_set(void) but the compiler complained about it, so i copied it from the old user_main.c (from the github)

Now when i try to compile using the gen_misc.sh file i get the error "undefined reference to `gpio_output_conf'"

I assume i've been doing everything correctly until now, since i did manage to compile and upload the WiFi example from the RTOS github.

Also as a side question, using the Arduino IDE and the serial monitor i always get gibberish, i've tried every baudrate, any idea why that is?