GrumpyOldPizza / arduino-STM32L4

69 stars 60 forks source link

USB board on Dragonfly #24

Closed arpeggio1234 closed 6 years ago

arpeggio1234 commented 6 years ago

I am trying to compile an Arduino usb hostshield code 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 in the code(how does one do that) 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. I am learning a lot of things especialy looking for answers and where to ask. Thanks in advance, Dian from the Netherlands

GrumpyOldPizza commented 6 years ago

Dragonfly has it's own USB port. So why would you want to compile code for it for a shield ?

Dragonfly also is STM32L4, not STM32F4.

On Sun, Nov 19, 2017 at 4:47 AM, arpeggio1234 notifications@github.com wrote:

I am trying to compile an Arduino usb hostshield code 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 in the code(how does one do that) 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. I am learning a lot of things especialy looking for answers and where to ask. 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/GrumpyOldPizza/arduino-STM32L4/issues/24, or mute the thread https://github.com/notifications/unsubscribe-auth/AG4QfEOeSbfg2wbeTAoMV-84iaMMuMJhks5s4BVkgaJpZM4QjWcB .

arpeggio1234 commented 6 years ago

Yeah you'r right it's the stm32L4, the reason for usb is for usb in the to board, do you mean it can except usb in. On my arduino's i am interfacing with this usb shield to a ps4 controller, very nice and then controlling the speak rate and bend(kind of filtering) of a speakjet chip. So can i attach the ps4 controller direct to the Dragonfly board you think. Any library names for usb in to stm32L4 board or sites to get more info on that issue. Thanks for the reply and concern, sir. Dian

GrumpyOldPizza commented 6 years ago

Ah, no. USB Host is not supported software wise with Dragonfly.

On Sun, Nov 19, 2017 at 8:56 AM, arpeggio1234 notifications@github.com wrote:

Yeah you'r right it's the stm32L4, the reason for usb is for usb in the to board, do you mean it can except usb in. On my arduino's i am interfacing with this usb shield to a ps4 controller, very nice and then controlling the speak rate and bend(kind of filtering) of a speakjet chip. So can i attach the ps4 controller direct to the Dragonfly board you think. Any library names for usb in to stm32L4 board or sites to get more info on that issue. Thanks for the reply and concern, sir. Dian

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/GrumpyOldPizza/arduino-STM32L4/issues/24#issuecomment-345527185, or mute the thread https://github.com/notifications/unsubscribe-auth/AG4QfGRdtsk1Tv4zNNUjK2JRzMe3hV2oks5s4E_AgaJpZM4QjWcB .

arpeggio1234 commented 6 years ago

So do you have an idea how to implement the usb host lib to the stm31l4 board. Include it in the avrpins.h. do you knw, maybe how to overcome this issue. Thanks again, Dian

----- Oorspronkelijk bericht ----- Van: Thomas Roell notifications@github.com Aan: GrumpyOldPizza/arduino-STM32L4 arduino-STM32L4@noreply.github.com Cc: arpeggio1234 dianderocker@online.nl, Author author@noreply.github.com Verzonden: Sun, 19 Nov 2017 17:01:15 +0100 (CET) Onderwerp: Re: [GrumpyOldPizza/arduino-STM32L4] USB board on Dragonfly (#24)

Ah, no. USB Host is not supported software wise with Dragonfly.

On Sun, Nov 19, 2017 at 8:56 AM, arpeggio1234 notifications@github.com wrote:

Yeah you'r right it's the stm32L4, the reason for usb is for usb in the to board, do you mean it can except usb in. On my arduino's i am interfacing with this usb shield to a ps4 controller, very nice and then controlling the speak rate and bend(kind of filtering) of a speakjet chip. So can i attach the ps4 controller direct to the Dragonfly board you think. Any library names for usb in to stm32L4 board or sites to get more info on that issue. Thanks for the reply and concern, sir. Dian

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/GrumpyOldPizza/arduino-STM32L4/issues/24#issuecomment-345527185, or mute the thread https://github.com/notifications/unsubscribe-auth/AG4QfGRdtsk1Tv4zNNUjK2JRzMe3hV2oks5s4E_AgaJpZM4QjWcB .

-- You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub: https://github.com/GrumpyOldPizza/arduino-STM32L4/issues/24#issuecomment-345527533

GrumpyOldPizza commented 6 years ago

No, I have no idea. You probably have to port the libray in question and pick the appropriate pins.

On Sun, Nov 19, 2017 at 9:41 AM, arpeggio1234 notifications@github.com wrote:

So do you have an idea how to implement the usb host lib to the stm31l4 board. Include it in the avrpins.h. do you knw, maybe how to overcome this issue. Thanks again, Dian

----- Oorspronkelijk bericht ----- Van: Thomas Roell notifications@github.com Aan: GrumpyOldPizza/arduino-STM32L4 arduino-STM32L4@noreply.github.com Cc: arpeggio1234 dianderocker@online.nl, Author < author@noreply.github.com> Verzonden: Sun, 19 Nov 2017 17:01:15 +0100 (CET) Onderwerp: Re: [GrumpyOldPizza/arduino-STM32L4] USB board on Dragonfly (#24)

Ah, no. USB Host is not supported software wise with Dragonfly.

On Sun, Nov 19, 2017 at 8:56 AM, arpeggio1234 notifications@github.com wrote:

Yeah you'r right it's the stm32L4, the reason for usb is for usb in the to board, do you mean it can except usb in. On my arduino's i am interfacing with this usb shield to a ps4 controller, very nice and then controlling the speak rate and bend(kind of filtering) of a speakjet chip. So can i attach the ps4 controller direct to the Dragonfly board you think. Any library names for usb in to stm32L4 board or sites to get more info on that issue. Thanks for the reply and concern, sir. Dian

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/GrumpyOldPizza/arduino-STM32L4/issues/24# issuecomment-345527185, or mute the thread https://github.com/notifications/unsubscribe-auth/ AG4QfGRdtsk1Tv4zNNUjK2JRzMe3hV2oks5s4E_AgaJpZM4QjWcB .

-- You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub: https://github.com/GrumpyOldPizza/arduino-STM32L4/issues/24# issuecomment-345527533

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/GrumpyOldPizza/arduino-STM32L4/issues/24#issuecomment-345530518, or mute the thread https://github.com/notifications/unsubscribe-auth/AG4QfKwP7nr4BuVIjT-k8u5VbcfNEQ1Bks5s4Fo7gaJpZM4QjWcB .