- Tue Nov 18, 2014 5:41 am
#2837
Thanks, I missed the .build dir which was hidden due to a leading dot
I can now connect with gdb successfully. I'm setting the breakpoint at the user_init function, but it is never hit, this is why my printfs are never called.
I guess the execution is stuck somewhere in the actual main() before reaching user_init. Maybe there is code that waits for some hardware registers to come into proper state, which of course never happens.
Will try to supply my own main() without linking to espressif's libraries.
edit: I added my own call_user_init() entry point and removed the libraries (except c, hal, gcc). Now the entry point is called, and i get serial output.
Thanks!
Now to implement stack saving...