- Thu Jul 30, 2015 10:27 pm
#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...