Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Raspberry Pi as a platform #262

Closed
thawkins opened this issue Jul 31, 2015 · 4 comments
Closed

Raspberry Pi as a platform #262

thawkins opened this issue Jul 31, 2015 · 4 comments
Assignees

Comments

@thawkins
Copy link

It would be very cool to support cross compiling to raspberrypi (1 and 2) , with an emulation of the aurduino framework. There is a low level gpio, spi etc twiddling library available called wiringPi.

http://wiringpi.com

There is another mode the rPi can be used in, which is bare metal mode, where a firmware image is automaticaly loaded from the sdcard, the pi boot system automaticaly loads a fixed file from a fat formated partition on the sdcard. Which gets your code up and running, there are a number of c++ frameworks designed for working in this mode, but none that as easy to use as the arduino framework and libraries. As far as i understand only a very small part of the arduino framework is actualy hardware dependant (init, pins, spi ), support for the screen can be either added to the serial lib as a consol, or to the lcd libs as a large graphic lcd device.

What is the best way to start hacking on this, im not really abpython programmer so i would have to learn that first, my main background is c/c++.

Are there a set of development guides?

@ivankravets
Copy link
Member

It would be very cool to support cross compiling to raspberrypi (1 and 2)

See issue #263

emulation of the aurduino framework

Sorry, this is out of scope of PlatformIO project. Looks like it should be separate framework/tool which should do it.

@ivankravets
Copy link
Member

@thawkins Have you tried new native development platform on RPi? Since PlatformIO 2.3 you can build http://wiringpi.com using native development platform and RPi.

@ivankravets
Copy link
Member

Please reopen this issue if you still need help

@ivankravets
Copy link
Member

@thawkins Please take a look on issue #372

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants