-
-
Notifications
You must be signed in to change notification settings - Fork 114
USBCON not definied with a different boards.txt #18
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
Comments
Please give a second read to https://github.com/arduino/arduino-builder/blob/master/CONTRIBUTING.md#submitting-an-issue and provide proper debug output |
Oh sorry I missed that first important line! First Leonardo, then 32u4 HoodLoader2 entry
|
Uhmm I can't reproduce: branch dev_2_4 contains a library, boards from Hoodloader2 say they require core HID which is not installed |
You need the dev version of HoodLoader2: |
I've cloned hooloader2 and switched to branch dev_205. Selected 32u2 and 32u4 and compiled the default empty sketch. If succeeded. See https://gist.github.com/ffissore/58761ba357afe05fb634 |
You need to add I will check this out again when I am back home. |
#include "HID-Project.h"
void setup() {}
void loop() {} Happens again with the latest git. As written above |
Looking forward to test beta 16 :) |
out |
Seems to work. |
Using the board definitions for another board does not define USBCON and you get a compile error for the HID-Project:
https://github.com/NicoHood/HID/tree/dev_2_4
https://github.com/NicoHood/HoodLoader2
This also applies for 32u4 (mostly a copy of leonardo, just different upload speed).
This was tested without and with .a linkage!
Note:
This also applies to the MCU type:
Arduino/sketchbook/libraries/PinChangeInterrupt/src/PinChangeInterruptBoards.h:97:2: error: #error PinChangeInterrupt library does not support this MCU. #error PinChangeInterrupt library does not support this MCU.
Comparison:
This line is totally missed:
-c -g -Os -w -std=gnu++11 -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics
The text was updated successfully, but these errors were encountered: