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

Dabble not compatible with Arduino Nano Every (MegaAVR) #6

Open
nsc-jens opened this issue Jan 4, 2021 · 1 comment
Open

Dabble not compatible with Arduino Nano Every (MegaAVR) #6

nsc-jens opened this issue Jan 4, 2021 · 1 comment

Comments

@nsc-jens
Copy link

nsc-jens commented Jan 4, 2021

It looks like Dabble isn't compatible with the megaavr architecture:

In file included from C:\Users\jens\Documents\Arduino\libraries\Dabble-master\src/DabblePrintln.h:4:0,
                 from C:\Users\jens\Documents\Arduino\libraries\Dabble-master\src/TerminalModule.h:6,
                 from C:\Users\jens\Documents\Arduino\libraries\Dabble-master\src/ModuleIncludes.h:4,
                 from C:\Users\jens\Documents\Arduino\libraries\Dabble-master\src/Dabble.h:56,
                 from C:\Users\jens\Documents\Arduino\libraries\Dabble-master\examples\02. Uno Nano Mega\03.Gamepad\03.Gamepad.ino:11:
C:\Users\jens\Documents\Arduino\libraries\Dabble-master\src/DabblePrint.h:34:19: error: 'PrintClass PinStatus' redeclared as different kind of symbol
 extern PrintClass PinStatus;
                   ^~~~~~~~~
In file included from C:\Users\jens\AppData\Local\Arduino15\packages\arduino\hardware\megaavr\1.8.7\cores\arduino/api/Interrupts.h:8:0,
                 from C:\Users\jens\AppData\Local\Arduino15\packages\arduino\hardware\megaavr\1.8.7\cores\arduino/api/ArduinoAPI.h:29,
                 from C:\Users\jens\AppData\Local\Arduino15\packages\arduino\hardware\megaavr\1.8.7\cores\arduino/Arduino.h:23,
                 from sketch\03.Gamepad.ino.cpp:1:
C:\Users\jens\AppData\Local\Arduino15\packages\arduino\hardware\megaavr\1.8.7\cores\arduino/api/Common.h:16:3: note: previous declaration 'typedef enum PinStatus PinStatus'
 } PinStatus;
   ^~~~~~~~~
exit status 1
Error compiling for board Arduino Nano Every.

Arduino: 1.8.13
Dabble: 1.5.2
Board: Arduino Nano Every

Possibly related: arduino/ArduinoCore-API#25

I have looked at the code but can't really figure out how to fix this. And if this is the only problem or if more problems will turn up when this problem is fixed.

@mimansamaheshwari
Copy link
Collaborator

Thanks for bringing our attention to this issue. We will need some time to fix this issue.

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