-
Notifications
You must be signed in to change notification settings - Fork 19
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
Compiling error for Teensy 4.0 #5
Comments
right, untested code, sorry :) |
Thanx Marc for the fast reply 👍 Unfortunately I have lot more errors now! XD Arduino: 1.8.16 (Mac OS X), TD: 1.55, Board: "Teensy 4.1, Serial, 600 MHz, Faster, US English"
|
Ok, so I took arduino-teensy on linux, told it to build Aurora for teensy 4.0, and it built fine
so it seems the arduino compiler on Mac doesn't behave the same. But I see you added
This is not something you define, it's defined by the compiler if the correct chip is specified at build time. Then all your errors are in MatrixTeensy4Hub75Refresh_Impl.h and seem to be because of a mismatch in your CPU and the code being selected by SmartMatrix. It's hard to tell from my side, but I'll give the same advise than in the other issue, which is to get basic smartmatrix working first, If you encounter issues with featuredemo, please post on https://community.pixelmatix.com/ |
Hi,
first of all thank you for the great work.
So, I was trying to compile the Aurora example using a Teensy 4.0 and Smartmatrix Shield V5 but I get an error message in line 400:
Arduino: 1.8.16 (Mac OS X), TD: 1.55, Board: "Teensy 4.1, Serial, 600 MHz, Faster, US English"
In file included from /Users/thecrow/Documents/Arduino/FastLED_NeoMatrix_SmartMatrix_LEDMatrix_GFX_Demos-master/GFX/Aurora/matrix.h:8:0,
from /Users/thecrow/Documents/Arduino/FastLED_NeoMatrix_SmartMatrix_LEDMatrix_GFX_Demos-master/GFX/Aurora/Aurora.ino:1:
neomatrix_config.h:400: error: #elif with no expression
Multiple libraries were found for "FastLED.h"
Used: /Users/thecrow/Documents/Arduino/libraries/FastLED
Not used: /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/FastLED
Multiple libraries were found for "SD.h"
Used: /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/SD
Not used: /Applications/Teensyduino.app/Contents/Java/libraries/SD
#elif with no expression
I've already defined IMXRT1062 for line 47 but that's the error I get. I din't have this problem with Teensy 3.5 and Smartmatrix Shield V4.
I'm also using Arduino 1.8.16 with Teensyduino 1.55
Any idea what might be the problem?
Thanx in advance.
cheers
The text was updated successfully, but these errors were encountered: