Chat freely about anything...

User avatar
By rabbit
#26964 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.
Attachments
Makefile_pwm.png
undefined reference to `pwm_init'" is makefile related
Makefile_pwm.png (2.86 KiB) Viewed 4506 times
User avatar
By limpkin
#26975
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 \