[Idea]a compiler and flasher four arduino - General Topics

Hi guys !
I want to know if it s possible to create an arduino ide on android and if we'll be able to flash the atmel micro controller?
Ty
Sent from my Nexus 10 using XDA Premium HD app

Conceptually this should be possible, but it might take some effort to develop. Arduino code is basically just C code so you should be able to use some kind of cross compiler on Android, possibly gcc in a chroot'ed Linux environment for example. You will however need to have an Android device that supports USB Host Mode in order to run a program that will flash the microcontroller on your Arduino board over USB.

Related

crazy request - C language compiler in browser?

If this doesn't exist, just tell me but I'd figure this was the best place to ask...
I'm looking for something like a C compiler for Android (please note I mean a C Compiler running ON android, not to compile FOR android). If there's a website that will run on android and will run C code like for learning purposes that would be great too.
Basically I'm learning C by reading on the train, and would love to be able to try my examples rather than just reading them. Appreciate any advice you might have. Worst case I just buy a netbook.
http://www.dignus.com/dcxx/compileit.html
I found this but it only outputs assembly language, which doesn't really tell me if my code is doing what I was hoping for. anything else along these lines?
Thanks again
There's a few websites that let you paste code and compile and run it. One such site is www.codepad.org. They're running in some virtual machine type environment for security purposes.
Another option would be to use something like ConnectBot to ssh to a computer somewhere and run gcc there.
On my Palm I fiddled a bit with OnBoard C. Would be great to get that one ported to Android.
http://onboardc.sourceforge.net/
Or an onboard version of Java for that matter.
[email protected] said:
There's a few websites that let you paste code and compile and run it. One such site is www.codepad.org. They're running in some virtual machine type environment for security purposes.
Another option would be to use something like ConnectBot to ssh to a computer somewhere and run gcc there.
Click to expand...
Click to collapse
Yeah I've considered the remote option, I can always do that. I guess I'm not really going to get a good experience no matter what when I'm on a tiny phone screen without a keyboard, right?
I really do appreciate that site though, that will be nice for playing around at work with.
christine600 said:
On my Palm I fiddled a bit with OnBoard C. Would be great to get that one ported to Android.
http://onboardc.sourceforge.net/
Or an onboard version of Java for that matter.
Click to expand...
Click to collapse
That looks sweet
Hi !
As far as I know, the Palm Pascal Compiler designer (PP and also PIAF and BIRD used by some onboardC users) is coding an onboard compiler for Android. It generates ARM executable code directly.
At this time, the application is not fully functionnal, but it nicely compiles some pieces of ISO Pascal code. It will also include an assembler (the disassembler is working well).
Once functionnal, I think it would be easy to create a C compiler (as it has been done with IZBasic)
Probably a bit late but for any others looking for something similar
berardi said:
If this doesn't exist, just tell me but I'd figure this was the best place to ask...
I'm looking for something like a C compiler for Android (please note I mean a C Compiler running ON android, not to compile FOR android). If there's a website that will run on android and will run C code like for learning purposes that would be great too.
Basically I'm learning C by reading on the train, and would love to be able to try my examples rather than just reading them. Appreciate any advice you might have. Worst case I just buy a netbook.
Click to expand...
Click to collapse
I just found this, it may not be 100% free but give it a look eitherway
https://compilr.com

[Q] is /dev/bus/usb/* Standard in Android

I have an ePad (Android 2.1) that mounts usb devices in the normal Linux way so that I can use libusb to access them, I have managed to control my usb robot arm using an NDK app. Before I move onto making it a proper app instead of a hack job I wanted to know if the usb device files are standard to Android or if it's specific to my system.
Put it this way, if I make a nice cuddly app is it going to fail on most devices or work on most devices? (ones with USB OTG interface)
Sorry, I understand this could be a 'how long is a piece of string' type of question.
Many thanks,
Richard e Collins.
After a few hours of routing about on the internet I found an article on an exploit on the init daemon, google "android-root-source-code-looking-at-the-c-skills". This gave enough insight for me to deduce that this functionality I am getting is present on at least anything running 2.1 and above and is not a customisation unique to my device.

ROM combining android & ubuntu source

I have been flashing others' ROMs for about a year now, but I have also been on Ubuntu (and also tried Bodhi and other distros) on my laptop for years now. I was wondering if a ROM could be compiled using a hybrid of android and ubuntu or debian source code?
I would like to get a BT keyboard and an external monitor, and eventually do away with my laptop. I am in a masters program for instructional technology, and NEED to be able to write in APA format... difficult for QuickOffice Pro, but easy for OpenOffice and/or LibreOffice...
I know that an armel (ARM) version of ubuntu is available, and that a chroot method is possible via VNC. Ideally, however, I would love to run Ubuntu natively, but need phone functions too. I am up for a VZW upgrade anytime now, but wonder what handset would be best for attempting something like this, if it is possible? I am currently using the D1.
Sent from my Droid using XDA App

[Q] Install Linux on Kindle Fire?

I'v read some post on about install Linux distribution(Ubuntu, Arch Linux ARM, Gentoo) into a tablet pc, and I wonder if I can install Linux on Kindle Fire... I've no idea about this kind of thing, so if you think it's possible, I'll learn how to do it... Thank you in advance...
I Think if Kindle fire run on linux arm kernel you can. but you must porting Ubuntu's package to ARM and install this. But It is not so easy and can make problem to device
What about extending, not replacing, android linux?
Shouldn't it be possible to add commands to the Linux that underlies android to give it the functionality of at least some version of full Linux while keeping the android layer on top of it? I'm not a developer, so I don't know what all the technical problems might be, beyond the following:
Some kind of compiler is necessary, but isn't that also needed to create an android ROM anyway?
Code:
Since the KF doesn't accept an SD card, space might be a problem, but maybe a USB memory stick (flash drive), an OTG adapter, and perhaps some change to the bootloader to allow the KF to go into USB host mode might work. And the solution would probably be easier if the external memory were used for data and apps, but not for any part of the OS?
Perhaps this discussion belongs under Android Development, either specifically for the KF1 otter or more generally. Maybe there already are such discussions on xda or elsewhere. Guidance from developers and others in the know would be appreciated.
This sounds like a Decent idea. I actually want to try that now.

[Q] UART/Serial on Nvidia Shield TV

Hi,
I'm thinking about porting some Linux distro onto nvidia shield tv, as it's one of the first computers with aarch64 available.
As creating recovery image seems relatively easy, because of adb starting early, with regular linux I'd have to have access to the uart, to debug thinks like initrd booting, pivot root and system boot. Does anybody know of a way to get access to nvidia shield tv uart? It seems to be there, because even the regular tv's kernel cmdline contains references to it ('console=/dev/ttyS0,.... earlyprintk=uart...") and the kernel code is also there with support for tegra's uart.
I'm wondering if anybody has torn his shield tv down recently and found out where the uart is, or whether there's any more "civilized way" of accessing it (like via the headphones jack on nexus 9).
jagger11 said:
Hi,
I'm thinking about porting some Linux distro onto nvidia shield tv, as it's one of the first computers with aarch64 available.
As creating recovery image seems relatively easy, because of adb starting early, with regular linux I'd have to have access to the uart, to debug thinks like initrd booting, pivot root and system boot. Does anybody know of a way to get access to nvidia shield tv uart? It seems to be there, because even the regular tv's kernel cmdline contains references to it ('console=/dev/ttyS0,.... earlyprintk=uart...") and the kernel code is also there with support for tegra's uart.
I'm wondering if anybody has torn his shield tv down recently and found out where the uart is, or whether there's any more "civilized way" of accessing it (like via the headphones jack on nexus 9).
Click to expand...
Click to collapse
Did you already have any idea how to attach the UART of the Shield TV?
I just received one and would like to install Ubuntu on it. But right now, I'm already looking how to do that - I'm really new to Android but have some knowledge about Linux systems, so I'm looking for a detailed tutorial.
dieter.reuter said:
Did you already have any idea how to attach the UART of the Shield TV?
I just received one and would like to install Ubuntu on it. But right now, I'm already looking how to do that - I'm really new to Android but have some knowledge about Linux systems, so I'm looking for a detailed tutorial.
Click to expand...
Click to collapse
Hi, I installed Ubuntu with this one http://forum.xda-developers.com/and...-shield-tv-t3150352/post61708965#post61708965

Categories

Resources