Fails to compile arduino_mega version

58 views
Skip to first unread message

asterion

unread,
Aug 4, 2012, 6:26:45 AM8/4/12
to python-o...@googlegroups.com
Using AVR Toolchain version 3.0.0.240 and compiling PyMite 09. Running on Windows 7.

In compiling global.c I am getting warnings being interpreted as errors and a dereferencing pointer breaking aliasing rules.

Compile terminates with 2 errors, one against global.o and a second against libpmvm_arduino_mega.a

All new to me so any ideas would be appreciated.

He Jibo

unread,
Aug 4, 2012, 9:51:29 AM8/4/12
to python-o...@googlegroups.com
Sorry. I do not know the answer to this . But I have been paying attention to python-on-a-chip for a long time.
Will python-on-a-chip work for Arduino? Can we run OpenCV and python on Arduino?

Thanks

Jibo
---------------------------
He Jibo
Assistant Professor
Department of Psychology,
Wichita State University
website: www.hejibo.info



--
You are subscribed to the "python-on-a-chip"  (or p14p for short) Google Group.
Site: http://groups.google.com/group/python-on-a-chip

pir...@gmail.com

unread,
Aug 4, 2012, 3:39:08 PM8/4/12
to python-o...@googlegroups.com

PyMite can run only on Arduino Mega because memory restrictions. I don't know about OpenCV, it's a different topic, but if so, both at the same time would consume too much memory. If you need to use both it's better to use the Arduino just as a hardware controller using a PC to do the calculations and if so, use a bigger platform like and embebed Atom platform or similar, but an Arduino i believe don't have enought ram at all.

Sent from my Android cell phone, please forgive the lack of format on the text, and my fat thumbs :-P

Dean Hall

unread,
Aug 4, 2012, 3:41:26 PM8/4/12
to python-o...@googlegroups.com
I recommend using the latest code from the repository. Many bugs have been fixed since the last release.
To get help with specific compiler errors, you should copy the errors into your email.
The source code was written to comply with the GCC toolchain. So you might have better luck with avr-gcc.

!!Dean

Dean Hall

unread,
Aug 4, 2012, 3:43:55 PM8/4/12
to python-o...@googlegroups.com
Yes it will run on the Arduino Mega because that board has a chip with 8K of RAM.
No, OpenCV will not run on P14p.

!!Dean
Reply all
Reply to author
Forward
0 new messages