-->
Page 22 of 44

Re: [DEV][WiP] Frankenstein firmware for ESP8266

PostPosted: Thu Nov 20, 2014 10:22 pm
by ArchimedesPi
Can I embed my own code to run on startup into this firmware, essentially using it as a simple "operating system"?

Liam

Re: [DEV][WiP] Frankenstein firmware for ESP8266

PostPosted: Fri Nov 21, 2014 2:23 am
by ystrem
ArchimedesPi wrote:Can I embed my own code to run on startup into this firmware, essentially using it as a simple "operating system"?

Liam


Hi, I think you have to look here https://github.com/nekromant/esp8266-frankenstein/blob/master/src/test.c#L112

Re: [DEV][WiP] Frankenstein firmware for ESP8266

PostPosted: Fri Nov 21, 2014 8:10 am
by Necromant
ArchimedesPi wrote:Can I embed my own code to run on startup into this firmware, essentially using it as a simple "operating system"?

Liam


For now you can just add your hacks into src/test.c (You can see user_init() there).
I will add uboot-like autoboot cmd, that will run a sequence of commands from environment variable at startup later. We have a whole new SDK with major API changes on our heads.

Re: [DEV][WiP] Frankenstein firmware for ESP8266

PostPosted: Fri Nov 21, 2014 7:58 pm
by ArchimedesPi
Hey, thanks!
One other thing - Do I need to install the official SDK to compile this?

Liam