I want to run Tetris on my Odroid Go as described in this tutorial. The setup of the required libraries and the Arduino IDE on my Mac was successful: I could run a Hello world application by uploading it using the IDE.
But when I upload the Tetris example (its code can found here), all I see is a blank screen on my Odroid. Pressing buttons or restarting the Odroid has no effect.
The log output of my upload does not seem to contain any errors:
Code: Select all
In file included from /Users/user/Documents/Arduino/libraries/ODROID-GO/src/sensors/Rtc_Pcf8563.cpp:44:0:
/Users/user/Documents/Arduino/libraries/ODROID-GO/src/sensors/Rtc_Pcf8563.cpp: In member function 'char* Rtc_Pcf8563::version()':
/Users/user/Documents/Arduino/libraries/ODROID-GO/src/sensors/Rtc_Pcf8563.h:33:23: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
#define RTCC_VERSION "Pcf8563 v1.0.3"
^
/Users/user/Documents/Arduino/libraries/ODROID-GO/src/sensors/Rtc_Pcf8563.cpp:367:10: note: in expansion of macro 'RTCC_VERSION'
return RTCC_VERSION;
^
In file included from /Users/user/Documents/Arduino/libraries/ODROID-GO/src/sensors/tca8418.cpp:30:0:
/Users/user/Documents/Arduino/libraries/ODROID-GO/src/sensors/tca8418.h:26:0: warning: "INTERRUPT" redefined
#define INTERRUPT 0x41
^
In file included from /Users/user/Documents/Arduino/hardware/espressif/esp32/tools/sdk/include/esp32/xtensa/xtruntime.h:30:0,
from /Users/user/Documents/Arduino/hardware/espressif/esp32/tools/sdk/include/freertos/freertos/portmacro.h:80,
from /Users/user/Documents/Arduino/hardware/espressif/esp32/tools/sdk/include/freertos/freertos/portable.h:96,
from /Users/user/Documents/Arduino/hardware/espressif/esp32/tools/sdk/include/freertos/freertos/FreeRTOS.h:105,
from /Users/user/Documents/Arduino/hardware/espressif/esp32/cores/esp32/Arduino.h:32,
from /Users/user/Documents/Arduino/libraries/ODROID-GO/src/sensors/tca8418.h:9,
from /Users/user/Documents/Arduino/libraries/ODROID-GO/src/sensors/tca8418.cpp:30:
/Users/user/Documents/Arduino/hardware/espressif/esp32/tools/sdk/include/esp32/xtensa/config/specreg.h:82:0: note: this is the location of the previous definition
#define INTERRUPT 226
^
Der Sketch verwendet 434207 Bytes (33%) des Programmspeicherplatzes. Das Maximum sind 1310720 Bytes.
Globale Variablen verwenden 80028 Bytes (24%) des dynamischen Speichers, 247652 Bytes für lokale Variablen verbleiben. Das Maximum sind 327680 Bytes.
esptool.py v2.6
Serial port /dev/cu.SLAB_USBtoUART
Connecting........_
Chip is ESP32D0WDQ5 (revision 1)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
MAC: 30:ae:a4:cf:5a:88
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 921600
Changed.
Configuring flash size...
Auto-detected Flash size: 16MB
Compressed 8192 bytes to 47...
Wrote 8192 bytes (47 compressed) at 0x0000e000 in 0.0 seconds (effective 9506.1 kbit/s)...
Hash of data verified.
Flash params set to 0x024f
Compressed 18608 bytes to 12030...
Wrote 18608 bytes (12030 compressed) at 0x00001000 in 0.1 seconds (effective 1024.0 kbit/s)...
Hash of data verified.
Compressed 434432 bytes to 184495...
Wrote 434432 bytes (184495 compressed) at 0x00010000 in 3.8 seconds (effective 910.5 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 128...
Wrote 3072 bytes (128 compressed) at 0x00008000 in 0.0 seconds (effective 3069.3 kbit/s)...
Hash of data verified.
Leaving...
Hard resetting via RTS pin...
Thanks,
oova