Author Topic: Digispark for ARM  (Read 5450 times)

jaghvi

  • Newbie
  • *
  • Posts: 29
Digispark for ARM
« on: July 30, 2013, 02:43:36 am »
Can I compile the digispark available now for ARM ,are there binaries available for it?
or else If someone could give instruction for how to compile the ds libraries for arm


Bluebie

  • Sr. Member
  • ****
  • Posts: 486
Re: Digispark for ARM
« Reply #1 on: July 30, 2013, 08:04:26 am »
I've compiled and used the digiusb ruby library and the micronucleus binary on raspbian on raspberry pi without any trouble. If there are any problems with the other libraries, they will be code portability issues and not specific limitations or incompatibilities with ARM, I expect.

MichaelMeissner

  • Full Member
  • ***
  • Posts: 166
Re: Digispark for ARM
« Reply #2 on: July 30, 2013, 08:15:45 am »
It does kind of depend on the details of what Arm platform, what Digispark libraries, etc.  If the Digispark libraries used are the standard Arduino libraries, then if you use an Arm chip that uses an Arduino interface, they may work without change.  Libraries that know about the low level details of the architecture (using PROGMEM, PORT macros for instance) will likely have to be changed.  For example, the Arduino Due or the Teensy 3.0 are both Arm chips that use the Arduino IDE to do their programming.  I can move stuff between my Arduino and my Teensy 3.0 without change except for pin assignments.  I had some issues with Digispark and Fedora 17 and can't yet use my Digisparks, but I hope to get some time to upgrade to Fedora 18 (I think the modem manager holds the USB serial port open too long and the DS software can't run until the DS has timed out -- with Fedora 18, I believe I can eliminate the package in question).

jaghvi

  • Newbie
  • *
  • Posts: 29
Re: Digispark for ARM
« Reply #3 on: July 30, 2013, 11:19:42 pm »
It's an ARM-HF using ubuntu 12.10 .Is there an image already available or if any one of you could instruct how to go about it ?

Bluebie

  • Sr. Member
  • ****
  • Posts: 486
Re: Digispark for ARM
« Reply #4 on: July 31, 2013, 07:10:32 am »
We are unsure what you are asking. Are you wanting to run arduino code using digispark libraries on an arm device, or are you wanting to communicate with a digispark from an arm computer as the host?

jaghvi

  • Newbie
  • *
  • Posts: 29
Re: Digispark for ARM
« Reply #5 on: July 31, 2013, 11:36:44 am »

it's a device like rasberry pie
we need to setup digistump programming env on arm platform
from an arm computer as a host