SD card set up. Bonus! 2 questions in 1

Hey guys. After nearly a year of tracking down hardware issues, new Teensy 3.6, new smartshield, and panels I’ve finally got Aurora running. Thank you for the ‘‘resetmatrix’’ file. Now, how should the SD card be set up? Does it need to be FAT32 or something else? Also what should be on the card? Should it be all files from the zip, or just the aurora and gif folder? One more question :slight_smile: would it be possible to replace the IR/remote with just a push button, and what do I need to implement this? Thanks again to Louis, Marc, and all those who helped me with this.

Ok, scratch that. Aurora was still running the Demo screen when I got home. Unplugged Teensy, hooked up IR reciever, powered back up and it kicks off USB. ‘‘This device has malfunctioned’’. Disconnected the IR, ran the blink sketch…all is good. Now in IDE 1.6.5 ( thats what worked for me) I get compile errors. FML! Wont compile in 1.8.8 either. Guess I got lucky that it ran once. Just want to pull my hair out. This is now close to $600 of components, but I want to run Aurora so badly its killin me. Please help a brother out :frowning: At least it still runs the Smartmatrix demo.

Arduino: 1.6.5 (Windows 8.1), TD: 1.47, Board: "Teensy 3.6, Serial, 180 MHz, US English"

In file included from Aurora.ino:63:0:
C:\Users\Pete\Documents\Arduino\libraries\FastLED/FastLED.h:14:21: note: #pragma message: FastLED version 3.002.006
#    pragma message "FastLED version 3.002.006"
^
In file included from C:\Users\Pete\Documents\Arduino\libraries\SmartMatrix\src/Layer_Background.h:112:0,
from C:\Users\Pete\Documents\Arduino\libraries\SmartMatrix\src/SmartMatrix3.h:41,
from Aurora.ino:27:
C:\Users\Pete\Documents\Arduino\libraries\SmartMatrix\src/Layer_Background_Impl.h: In instantiation of 'void SMLayerBackground<RGB, optionFlags>::drawString(int16_t, int16_t, const RGB&, const char*) [with RGB = rgb24; unsigned int optionFlags = 0u; int16_t = short int]':
C:\Users\Pete\AppData\Local\Temp\build301121887903456639.tmp\PatternAnalogClock.h:77:75:   required from here
C:\Users\Pete\Documents\Arduino\libraries\SmartMatrix\src/Layer_Background_Impl.h:798:21: warning: unused variable 'i' [-Wunused-variable]
int xcnt, ycnt, i = 0, offset = 0;
^
C:\Users\Pete\Documents\Arduino\libraries\aJson\aJSON.cpp: In member function 'int aJsonStream::printArray(aJsonObject*)':
C:\Users\Pete\Documents\Arduino\libraries\aJson\aJSON.cpp:795:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (this->print('[') == EOF)
^
C:\Users\Pete\Documents\Arduino\libraries\aJson\aJSON.cpp:808:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (this->print(',') == EOF)
^
C:\Users\Pete\Documents\Arduino\libraries\aJson\aJSON.cpp:814:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (this->print(']') == EOF)
^
C:\Users\Pete\Documents\Arduino\libraries\aJson\aJSON.cpp: In member function 'int aJsonStream::printObject(aJsonObject*)':
C:\Users\Pete\Documents\Arduino\libraries\aJson\aJSON.cpp:906:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (this->print('{') == EOF)
^
C:\Users\Pete\Documents\Arduino\libraries\aJson\aJSON.cpp:916:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (this->print(':') == EOF)
^
C:\Users\Pete\Documents\Arduino\libraries\aJson\aJSON.cpp:927:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (this->print(',') == EOF)
^
C:\Users\Pete\Documents\Arduino\libraries\aJson\aJSON.cpp:933:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (this->print('}') == EOF)
^
C:\Users\Pete\AppData\Local\Temp\build301121887903456639.tmp\aurora\JumpToAppWithOffset.c.o: In function `jumpToApplicationAt0x38080':
C:\Users\Pete\Downloads\arduino-1.6.5-r5-windows\arduino-1.6.5-r5\libraries\aurora/JumpToAppWithOffset.c:5: multiple definition of `jumpToApplicationAt0x38080'
C:\Users\Pete\AppData\Local\Temp\build301121887903456639.tmp\JumpToAppWithOffset.c.o:C:\Users\Pete\AppData\Local\Temp\build301121887903456639.tmp/JumpToAppWithOffset.c:5: first defined here
c:/users/pete/downloads/arduino-1.6.5-r5-windows/arduino-1.6.5-r5/hardware/tools/arm/bin/../lib/gcc/arm-none-eabi/5.4.1/../../../../arm-none-eabi/bin/ld.exe: Disabling relaxation: it will not work with multiple definitions
C:\Users\Pete\AppData\Local\Temp\build301121887903456639.tmp\aurora\JumpToAppWithOffset.c.o: In function `jumpToApplicationAt0x38080':
C:\Users\Pete\Downloads\arduino-1.6.5-r5-windows\arduino-1.6.5-r5\libraries\aurora/JumpToAppWithOffset.c:5: multiple definition of `jumpToApplicationAt0x8080'
C:\Users\Pete\AppData\Local\Temp\build301121887903456639.tmp\JumpToAppWithOffset.c.o:C:\Users\Pete\AppData\Local\Temp\build301121887903456639.tmp/JumpToAppWithOffset.c:5: first defined here
C:\Users\Pete\AppData\Local\Temp\build301121887903456639.tmp\aurora\JumpToAppWithOffset.c.o: In function `jumpToApplicationAt0x38080':
C:\Users\Pete\Downloads\arduino-1.6.5-r5-windows\arduino-1.6.5-r5\libraries\aurora/JumpToAppWithOffset.c:5: multiple definition of `resetPeripherals'
C:\Users\Pete\AppData\Local\Temp\build301121887903456639.tmp\JumpToAppWithOffset.c.o:C:\Users\Pete\AppData\Local\Temp\build301121887903456639.tmp/JumpToAppWithOffset.c:5: first defined here
C:\Users\Pete\AppData\Local\Temp\build301121887903456639.tmp\aurora\JumpToAppWithOffset.c.o: In function `jumpToApplicationAt0x38080':
C:\Users\Pete\Downloads\arduino-1.6.5-r5-windows\arduino-1.6.5-r5\libraries\aurora/JumpToAppWithOffset.c:5: multiple definition of `startup_late_hook'
C:\Users\Pete\AppData\Local\Temp\build301121887903456639.tmp\JumpToAppWithOffset.c.o:C:\Users\Pete\AppData\Local\Temp\build301121887903456639.tmp/JumpToAppWithOffset.c:5: first defined here
collect2.exe: error: ld returned 1 exit status
Multiple libraries were found for "FastLED.h"

 Used: C:\Users\Pete\Documents\Arduino\libraries\FastLED

 Not used: C:\Users\Pete\Downloads\arduino-1.6.5-r5-windows\arduino-1.6.5-r5\hardware\teensy\avr\libraries\FastLED

Multiple libraries were found for "IRremote.h"

 Used: C:\Users\Pete\Downloads\arduino-1.6.5-r5-windows\arduino-1.6.5-r5\hardware\teensy\avr\libraries\IRremote

 Not used: C:\Users\Pete\Downloads\arduino-1.6.5-r5-windows\arduino-1.6.5-r5\libraries\RobotIRremote

Multiple libraries were found for "Time.h"

 Used: C:\Users\Pete\Documents\Arduino\libraries\Time-master

 Not used: C:\Users\Pete\Downloads\arduino-1.6.5-r5-windows\arduino-1.6.5-r5\hardware\teensy\avr\libraries\Time

Multiple libraries were found for "aJSON.h"

 Used: C:\Users\Pete\Documents\Arduino\libraries\aJson

I haven’t tried compiling this myself in years. Seems like the major error is coming from the JumpToAppWithOffset.c file, can you try to disable this? If I remember correctly, this is for jumping to the bootloader, which isn’t required to run the app programmed through Arduino.

Thanks, Louis. Do I just comment that out? Trying to make this as a Christmas gift this year, as I was have trouble with it last time. Oh,well…here we go again! :slight_smile: At least I know its not a hardware problem this time.

Got it working!!! Thanks for all the help. One little error at line 261 got me. Hooking up audio next, so I might be back :slight_smile:

1 Like