Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => A20 => Topic started by: agiuliani on January 04, 2014, 12:22:17 PM

Title: A20 programming on Mac
Post by: agiuliani on January 04, 2014, 12:22:17 PM
Hello,
I would like to develop some automation tasks (only gpio, no lcd needed) on my new A20.
It is possible to develop using a Mac?
If yes, could you please provide me the tools that I need and how to access the bash console of the A20 from there?

Thanks in advance.
Title: Re: A20 programming on Mac
Post by: sanzoghenzo on January 04, 2014, 04:32:09 PM
Hi agiuliani, are you using Android or debian on the A20? I can only talk for debian here. The simplest thing to do is to setup the debian machine with dhcp (see wiki) or static address (see here (http://documents.made-it.com/Debian_Internet_Server/Debian_Internet_Server-5.html)) and use ssh to connect to it form OSX terminal.
Title: Re: A20 programming on Mac
Post by: agiuliani on January 05, 2014, 01:03:53 AM
Hi sanzoghenzo,
yes I use debian on a microSD card. Thanks for the infos for connecting to the a20 console!
Now I need the cross compiler to build code and an IDE to debug it on Mac (via ssh). Any suggestion ?



Title: Re: A20 programming on Mac
Post by: sanzoghenzo on January 06, 2014, 05:30:43 PM
Short answer: I don't know and I would like to know, too!

Long answer ;) : unfortunately I'm not so good at programming, and I have not tried to build and debug from mac (I have tried to setup toolchains before, but didn't manage to do it successfully even following tutorials :o ). My first workaround would be install a vnc server on debian and use a client on mac, but the processing power will be the one of olinuxino and the GUI can be slow.
Title: Re: A20 programming on Mac
Post by: sanzoghenzo on January 06, 2015, 09:37:32 PM
Sorry for necroposting, but somebody else with a Mac could benefit from it.
I started using TextWrangler and it has the option to open a file via FTP and SFTP, so if you start sshd on olinuxino you can access any file on it from the mac (assuming you use root credential for the ssh connection).

Happy coding!