I have met the same problem when exec C programs with "E" command.
See my log:
Code:#?zd
##zdump:
main()
{
printf("hello");
}
#?Q
{
^
test.c:3: 'main' is undefined
leaving picoC
#?
But if i only run the "printf", it works:
Code:#?zd
##zdump:
printf("hello");
#?Q
hello
starting picoc
> - ^[
leaving picoC
#?
So it seems the "main()" function can not be accepted here. What's the reason ?
Another question: In page "
http://www.surveyor.com/C.html", only "printf" is definded, but all of above demo are using "print", do you think it can works ?
I'm using the latest firmware.