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

User avatar
By kenn
#24629
Ygneh wrote:I'm the type of guy who wants to know!

I was just hoping there was a resource that could get me up to speed quickly instead of me going through all the code myself.


Understood. Me too.

Part of the challenge (and alot of the geeky fun) has been to treat it as a black box and just use it.
User avatar
By datltq
#24661
Ygneh wrote:What functions are required in user_main? user_init is, and is where user code starts.


Most of the 'heavy setup' are processed before your application running, that is, in 'user_main.c', I believe it stayed in the binary-provided library libmain.a. So I think, honestly, there is nothing you have to do in user_main.c to prepare for your application to run, you have just to program your application.
user_init got called from libmain, I believe it is call_user_start.

I don't play with the non-RTOS SDK, I use the RTOS one. But the feeling of everything is hidden behind those binary blobs makes me lose interests in this chip gradually...