-->
Page 5 of 15

Re: pwm_init creates a platform restart

PostPosted: Mon Aug 24, 2015 1:16 pm
by rabbit
What do you mean with "doesn't work"?

Do you mean a "platform restart" again?

What's the error message?

E.g. "undefined reference to `pwm_init'" would be makefile related.

Re: pwm_init creates a platform restart

PostPosted: Mon Aug 24, 2015 4:06 pm
by limpkin
rabbit wrote:What do you mean with "doesn't work"?

Do you mean a "platform restart" again?

What's the error message?

E.g. "undefined reference to `pwm_init'" would be makefile related.


The platform restarts indeed:

Code: Select allets Jan  8 2013,rst cause:4, boot mode:(1,6)

wdt reset



My makefile:
Code: Select allLDFLAGS_CORE:=\
   -nostdlib \
   -lc -lgcc -lpwm \

Re: pwm_init creates a platform restart

PostPosted: Thu Aug 27, 2015 12:30 pm
by limpkin
Interesting, from a fresh boot I get another reason:

Code: Select allrst cause:4, boot mode:(3,7)


any ideas?

Re: pwm_init creates a platform restart

PostPosted: Sat Aug 29, 2015 2:59 pm
by limpkin
I just published a blog post about this project, with a link to the repo in case someone wants to look at the files:

http://www.limpkin.fr/index.php?post/20 ... Wake-Me-Up

https://github.com/limpkin/espalarm