Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lattepanda MRAA Support ? #1059

Open
LabIoT2021 opened this issue Apr 9, 2021 · 1 comment
Open

Lattepanda MRAA Support ? #1059

LabIoT2021 opened this issue Apr 9, 2021 · 1 comment

Comments

@LabIoT2021
Copy link

LabIoT2021 commented Apr 9, 2021

Hi Dev,
I'm Robert. I'd like to use MRAA on Lattepanda Delta Intel Celeron N4100. It also have an arduino leonardo connection. Is MRAA support for this device ?
I'd like to use GPIO on arduino leonardo by using MRAA Lib on Lattepanda Delta Ubuntu 18.04 LTS installed, but I can't find pin mapping for this device.
Any suggestion for this problem? What should I do first, if I want to make pin map for this device?

Best regards,

Robert

@Propanu
Copy link
Contributor

Propanu commented May 20, 2021

Hi Robert,

Unfortunately Lattepanda is not currently supported by the MRAA project because it was originally advertised as a Windows platform (see also #549). However, just as you pointed out, it does have a built-in atmega32u4 chip that MRAA may be able to use with Linux. Lattepanda is definitely not the only instance of needing to control a Microchip (Atmel) microcontroller from an x86 board. So we introduced the ability to add subplatforms within user applications that use the same functions as MRAA normally would.

In order for this to work, you'd be using the UART port connecting the atmega32u4 to the x86 chip. Then there's the issue of "forcing" a known MRAA platform with UART ports so you can test it. Otherwise MRAA will detect it as unknown and you won't have any I/O available. The atmega32u4 needs to be flashed with a version of the Firmata Arduino sketch before you can add it as a subplatform, and your mileage will vary based on how well the sketch works for atmega32u4. We only tested it with the Arduino101/Arduino UNO boards so if you can get it to work, that would be amazing news for Lattepanda developers. You can read more about Firmata support in our documentation.

Let us know if you have questions, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants