Dragonfly icon indicating copy to clipboard operation
Dragonfly copied to clipboard

dragonfly on usb host shield

Open arpeggio1234 opened this issue 7 years ago • 1 comments

I am trying to compile an Arduino usb hostshield code for the Dragonfly, and the compiler says ''please define board in avrpins.h''. How can i do this, i am on Linux, manjaro, and found the avrpins.h file and see there is no STM32F4 entry, can i put it in, and yes what? Or can i use the teensy pinout for the dragonfly since they are lookalikes. Is this the good place for this question or is there a better place to find answers for this kind of things. Thanks in advance, Dian from the Netherlands

arpeggio1234 avatar Nov 19 '17 12:11 arpeggio1234

Hi Dian,

Best place for any question about products I make is my e-mail, [email protected].

The Dragonfly and Teensy are not the same and you can;t use the Teensy pinout for anything you would want to do with the Dragonfly. The Dragonfly is like the Teensy in that both use a (different) Arduino core to allow programming via the Arduino IDE. In the IDE, you have to use the board manager to allow the IDE to recognize whatever boards you want to use. So for the Dragonfly, you have to use the board manager to load the STM32L4 Arduino core. I thought you had these working already?

Kris

On Sun, Nov 19, 2017 at 4:23 AM, arpeggio1234 [email protected] wrote:

I am trying to compile an Arduino usb hostshield code for the Dragonfly, and the compiler says ''please define board in avrpins.h''. How can i do this, i am on Linux, manjaro, and found the avrpins.h file and see there is no STM32F4 entry, can i put it in, and yes what? Or can i use the teensy pinout for the dragonfly since they are lookalikes. Is this the good place for this question or is there a better place to find answers for this kind of things. Thanks in advance, Dian from the Netherlands

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/kriswiner/Dragonfly/issues/7, or mute the thread https://github.com/notifications/unsubscribe-auth/AGY1qquzLv1sRbc5VXs3nn_BufcYhtkMks5s4B3MgaJpZM4QjXEC .

kriswiner avatar Nov 19 '17 17:11 kriswiner