Compiling Error for Tiny Arcade Menu

Sam · 6 · 12327

Sam

  • Newbie
  • *
    • Posts: 2
    • View Profile
Hello,

I followed the instructions here https://tinycircuits.com/blogs/learn/171319495-tiny-arcade-menu-update starting with https://tinycircuits.com/blogs/learn/158833543-tinyscreen-setup and after uploading the TinyScreenBasicExample I'm unable to upload the Tiny Arcade Menu to my Tiny Arcade. It's stuck on the basic example. When I try to upload the menu I get an error compiling for the board TinyScreen+. Has anyone had this issue? Any idea's how to fix this? Below is the error message it gives.

Quote
Arduino: 1.6.10 (Mac OS X), Board: "TinyScreen+, TinyArcade Menu"

/Users/Sam/Downloads/Arduino.app/Contents/Java/arduino-builder -dump-prefs -logger=machine -hardware "/Users/Sam/Downloads/Arduino.app/Contents/Java/hardware" -hardware "/Users/Sam/Library/Arduino15/packages" -tools "/Users/Sam/Downloads/Arduino.app/Contents/Java/tools-builder" -tools "/Users/Sam/Downloads/Arduino.app/Contents/Java/hardware/tools/avr" -tools "/Users/Sam/Library/Arduino15/packages" -built-in-libraries "/Users/Sam/Downloads/Arduino.app/Contents/Java/libraries" -libraries "/Users/Sam/Documents/Arduino/libraries" -fqbn=TinyCircuits:samd:tinyscreen:BuildOption=TAmenu -vid-pid=0X03EB_0X8009 -ide-version=10610 -build-path "/var/folders/40/xh6b_1xd0l30vhgy09q3zbnr0000gn/T/buildff7ad8ab7e8eaf41f847b1ba3677b8c6.tmp" -warnings=none -prefs=build.warn_data_percentage=75 -verbose "/Users/Sam/Downloads/ArcadeMenu/ArcadeMenu.ino"
/Users/Sam/Downloads/Arduino.app/Contents/Java/arduino-builder -compile -logger=machine -hardware "/Users/Sam/Downloads/Arduino.app/Contents/Java/hardware" -hardware "/Users/Sam/Library/Arduino15/packages" -tools "/Users/Sam/Downloads/Arduino.app/Contents/Java/tools-builder" -tools "/Users/Sam/Downloads/Arduino.app/Contents/Java/hardware/tools/avr" -tools "/Users/Sam/Library/Arduino15/packages" -built-in-libraries "/Users/Sam/Downloads/Arduino.app/Contents/Java/libraries" -libraries "/Users/Sam/Documents/Arduino/libraries" -fqbn=TinyCircuits:samd:tinyscreen:BuildOption=TAmenu -vid-pid=0X03EB_0X8009 -ide-version=10610 -build-path "/var/folders/40/xh6b_1xd0l30vhgy09q3zbnr0000gn/T/buildff7ad8ab7e8eaf41f847b1ba3677b8c6.tmp" -warnings=none -prefs=build.warn_data_percentage=75 -verbose "/Users/Sam/Downloads/ArcadeMenu/ArcadeMenu.ino"
Using board 'tinyscreen' from platform in folder: /Users/Sam/Library/Arduino15/packages/TinyCircuits/hardware/samd/1.0.3
Using core 'arduino' from platform in folder: /Users/Sam/Library/Arduino15/packages/TinyCircuits/hardware/samd/1.0.3
Detecting libraries used...
"/Users/Sam/Library/Arduino15/packages/arduino/tools/arm-none-eabi-gcc/4.8.3-2014q1/bin/arm-none-eabi-g++" -mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions  -w -x c++ -E -CC -DF_CPU=48000000L -DARDUINO=10610 -DARDUINO_SAMD_ZERO -DARDUINO_ARCH_SAMD  -D__SAMD21G18A__ -DUSB_VID=0x03EB -DUSB_PID=0x8009 -DUSBCON '-DUSB_MANUFACTURER="TinyCircuits"' '-DUSB_PRODUCT="TinyScreen+"' -DSKIPUSBINIT "-I/Users/Sam/Library/Arduino15/packages/arduino/tools/CMSIS/4.0.0-atmel/CMSIS/Include/" "-I/Users/Sam/Library/Arduino15/packages/arduino/tools/CMSIS/4.0.0-atmel/Device/ATMEL/" "-I/Users/Sam/Library/Arduino15/packages/TinyCircuits/hardware/samd/1.0.3/cores/arduino" "-I/Users/Sam/Library/Arduino15/packages/TinyCircuits/hardware/samd/1.0.3/variants/tinyscreen_p" "/var/folders/40/xh6b_1xd0l30vhgy09q3zbnr0000gn/T/buildff7ad8ab7e8eaf41f847b1ba3677b8c6.tmp/sketch/ArcadeMenu.ino.cpp" -o "/dev/null"
"/Users/Sam/Library/Arduino15/packages/arduino/tools/arm-none-eabi-gcc/4.8.3-2014q1/bin/arm-none-eabi-g++" -mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions  -w -x c++ -E -CC -DF_CPU=48000000L -DARDUINO=10610 -DARDUINO_SAMD_ZERO -DARDUINO_ARCH_SAMD  -D__SAMD21G18A__ -DUSB_VID=0x03EB -DUSB_PID=0x8009 -DUSBCON '-DUSB_MANUFACTURER="TinyCircuits"' '-DUSB_PRODUCT="TinyScreen+"' -DSKIPUSBINIT "-I/Users/Sam/Library/Arduino15/packages/arduino/tools/CMSIS/4.0.0-atmel/CMSIS/Include/" "-I/Users/Sam/Library/Arduino15/packages/arduino/tools/CMSIS/4.0.0-atmel/Device/ATMEL/" "-I/Users/Sam/Library/Arduino15/packages/TinyCircuits/hardware/samd/1.0.3/cores/arduino" "-I/Users/Sam/Library/Arduino15/packages/TinyCircuits/hardware/samd/1.0.3/variants/tinyscreen_p" "-I/Users/Sam/Documents/Arduino/libraries/TinyScreen" "/var/folders/40/xh6b_1xd0l30vhgy09q3zbnr0000gn/T/buildff7ad8ab7e8eaf41f847b1ba3677b8c6.tmp/sketch/ArcadeMenu.ino.cpp" -o "/dev/null"
"/Users/Sam/Library/Arduino15/packages/arduino/tools/arm-none-eabi-gcc/4.8.3-2014q1/bin/arm-none-eabi-g++" -mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions  -w -x c++ -E -CC -DF_CPU=48000000L -DARDUINO=10610 -DARDUINO_SAMD_ZERO -DARDUINO_ARCH_SAMD  -D__SAMD21G18A__ -DUSB_VID=0x03EB -DUSB_PID=0x8009 -DUSBCON '-DUSB_MANUFACTURER="TinyCircuits"' '-DUSB_PRODUCT="TinyScreen+"' -DSKIPUSBINIT "-I/Users/Sam/Library/Arduino15/packages/arduino/tools/CMSIS/4.0.0-atmel/CMSIS/Include/" "-I/Users/Sam/Library/Arduino15/packages/arduino/tools/CMSIS/4.0.0-atmel/Device/ATMEL/" "-I/Users/Sam/Library/Arduino15/packages/TinyCircuits/hardware/samd/1.0.3/cores/arduino" "-I/Users/Sam/Library/Arduino15/packages/TinyCircuits/hardware/samd/1.0.3/variants/tinyscreen_p" "-I/Users/Sam/Documents/Arduino/libraries/TinyScreen" "-I/Users/Sam/Library/Arduino15/packages/TinyCircuits/hardware/samd/1.0.3/libraries/SPI" "/var/folders/40/xh6b_1xd0l30vhgy09q3zbnr0000gn/T/buildff7ad8ab7e8eaf41f847b1ba3677b8c6.tmp/sketch/ArcadeMenu.ino.cpp" -o "/dev/null"
"/Users/Sam/Library/Arduino15/packages/arduino/tools/arm-none-eabi-gcc/4.8.3-2014q1/bin/arm-none-eabi-g++" -mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions  -w -x c++ -E -CC -DF_CPU=48000000L -DARDUINO=10610 -DARDUINO_SAMD_ZERO -DARDUINO_ARCH_SAMD  -D__SAMD21G18A__ -DUSB_VID=0x03EB -DUSB_PID=0x8009 -DUSBCON '-DUSB_MANUFACTURER="TinyCircuits"' '-DUSB_PRODUCT="TinyScreen+"' -DSKIPUSBINIT "-I/Users/Sam/Library/Arduino15/packages/arduino/tools/CMSIS/4.0.0-atmel/CMSIS/Include/" "-I/Users/Sam/Library/Arduino15/packages/arduino/tools/CMSIS/4.0.0-atmel/Device/ATMEL/" "-I/Users/Sam/Library/Arduino15/packages/TinyCircuits/hardware/samd/1.0.3/cores/arduino" "-I/Users/Sam/Library/Arduino15/packages/TinyCircuits/hardware/samd/1.0.3/variants/tinyscreen_p" "-I/Users/Sam/Documents/Arduino/libraries/TinyScreen" "-I/Users/Sam/Library/Arduino15/packages/TinyCircuits/hardware/samd/1.0.3/libraries/SPI" "/var/folders/40/xh6b_1xd0l30vhgy09q3zbnr0000gn/T/buildff7ad8ab7e8eaf41f847b1ba3677b8c6.tmp/sketch/ArcadeMenu.ino.cpp" -o "/var/folders/40/xh6b_1xd0l30vhgy09q3zbnr0000gn/T/buildff7ad8ab7e8eaf41f847b1ba3677b8c6.tmp/preproc/ctags_target_for_gcc_minus_e.cpp"
In file included from /Users/Sam/Downloads/ArcadeMenu/ArcadeMenu.ino:22:0:
/var/folders/40/xh6b_1xd0l30vhgy09q3zbnr0000gn/T/buildff7ad8ab7e8eaf41f847b1ba3677b8c6.tmp/sketch/SdFat.h:26:33: fatal error: SdSpiCard/SdSpiCard.h: No such file or directory
 #include "SdSpiCard/SdSpiCard.h"
                                 ^
compilation terminated.
Using library TinyScreen at version 1.1.0 in folder: /Users/Sam/Documents/Arduino/libraries/TinyScreen
Using library SPI at version 1.0 in folder: /Users/Sam/Library/Arduino15/packages/TinyCircuits/hardware/samd/1.0.3/libraries/SPI
exit status 1
Error compiling for board TinyScreen+.

Thanks!
Sam



Ben Rose

  • Administrator
  • Hero Member
  • *****
    • Posts: 392
    • View Profile
Ok, 1.6.10 issue: https://github.com/arduino/Arduino/issues/5186

This will be resolved in the next Arduino release, so I won't do modified versions of all the games etc, but I've attached a version of the menu software that works with 1.6.10- by moving the library subdirectories into a 'src' folder inside the sketch folder and changing a few includes. Let me know if you have further issues.

The best option for using other examples may be to downgrade to 1.6.9 until 1.6.11 is out.

Thanks,
Ben


Sam

  • Newbie
  • *
    • Posts: 2
    • View Profile
Hey,

Thanks again for looking into this issue. You say you attached a new version of the menu but I don't see any attachments anywhere. Am I just overlooking it?

Sam


Ben Rose

  • Administrator
  • Hero Member
  • *****
    • Posts: 392
    • View Profile

Mdbook

  • Newbie
  • *
    • Posts: 3
    • View Profile
Ok, 1.6.10 issue: https://github.com/arduino/Arduino/issues/5186

This will be resolved in the next Arduino release, so I won't do modified versions of all the games etc, but I've attached a version of the menu software that works with 1.6.10- by moving the library subdirectories into a 'src' folder inside the sketch folder and changing a few includes. Let me know if you have further issues.

The best option for using other examples may be to downgrade to 1.6.9 until 1.6.11 is out.

Thanks,
Ben


The "Improved" 1.6.10 gave me this error:

Code: [Select]
Arduino: 1.6.12 (Windows 8.1), Board: "TinyScreen+, Binary for SD Card"

Sketch uses 16,124 bytes (6%) of program storage space. Maximum is 262,144 bytes.
java.io.IOException: Cannot run program "{runtime.tools.bossac-1.6.1-arduino.path}/bossac.exe": CreateProcess error=2, The system cannot find the file specified
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
at processing.app.helpers.ProcessUtils.exec(ProcessUtils.java:26)
at cc.arduino.packages.Uploader.executeUploadCommand(Uploader.java:129)
at cc.arduino.packages.uploaders.SerialUploader.uploadUsingPreferences(SerialUploader.java:206)
at cc.arduino.UploaderUtils.upload(UploaderUtils.java:78)
at processing.app.SketchController.upload(SketchController.java:707)
at processing.app.SketchController.exportApplet(SketchController.java:680)
at processing.app.Editor$DefaultExportHandler.run(Editor.java:2176)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(ProcessImpl.java:386)
at java.lang.ProcessImpl.start(ProcessImpl.java:137)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
... 8 more
An error occurred while uploading the sketch

How would I get the 1.6.9?


Ben Rose

  • Administrator
  • Hero Member
  • *****
    • Posts: 392
    • View Profile
Things should be working with all the latest Arduino software, latest TinyCircuits board package, and menu available from https://tinycircuits.com/blogs/learn/171319495-tiny-arcade-menu-update


 

SMF spam blocked by CleanTalk