witnessmenow / WiFi-Tetris-Clock

A WiFi clock made of falling tetris blocks. For the ESP8266 or ESP32
MIT License
193 stars 53 forks source link

Verify error 'portMUX_TYPE' does not name a type,please help me. #6

Closed LuckyFishGeek closed 5 years ago

LuckyFishGeek commented 5 years ago

`Arduino: 1.8.10 Hourly Build 2019/05/21 09:33 (Windows 7), Board: "Arduino Nano, ATmega328P (Old Bootloader)"

C:\arduino-nightly\arduino-builder -dump-prefs -logger=machine -hardware C:\arduino-nightly\hardware -tools C:\arduino-nightly\tools-builder -tools C:\arduino-nightly\hardware\tools\avr -built-in-libraries C:\arduino-nightly\libraries -libraries C:\Users\Administrator\Documents\Arduino\libraries -fqbn=arduino:avr:nano:cpu=atmega328old -ide-version=10810 -build-path C:\Users\ADMINI~1\AppData\Local\Temp\arduino_build_127122 -warnings=none -build-cache C:\Users\ADMINI~1\AppData\Local\Temp\arduino_cache_368111 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=C:\arduino-nightly\hardware\tools\avr -prefs=runtime.tools.avr-gcc-5.4.0-atmel3.6.1-arduino2.path=C:\arduino-nightly\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\arduino-nightly\hardware\tools\avr -prefs=runtime.tools.avrdude-6.3.0-arduino14.path=C:\arduino-nightly\hardware\tools\avr -prefs=runtime.tools.arduinoOTA.path=C:\arduino-nightly\hardware\tools\avr -prefs=runtime.tools.arduinoOTA-1.2.1.path=C:\arduino-nightly\hardware\tools\avr -verbose C:\arduino-nightly\WiFi-Tetris-Clock-master\ESP32 or TinyPICO\EzTimeTetrisClockESP32\EzTimeTetrisClockESP32.ino C:\arduino-nightly\arduino-builder -compile -logger=machine -hardware C:\arduino-nightly\hardware -tools C:\arduino-nightly\tools-builder -tools C:\arduino-nightly\hardware\tools\avr -built-in-libraries C:\arduino-nightly\libraries -libraries C:\Users\Administrator\Documents\Arduino\libraries -fqbn=arduino:avr:nano:cpu=atmega328old -ide-version=10810 -build-path C:\Users\ADMINI~1\AppData\Local\Temp\arduino_build_127122 -warnings=none -build-cache C:\Users\ADMINI~1\AppData\Local\Temp\arduino_cache_368111 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.avr-gcc.path=C:\arduino-nightly\hardware\tools\avr -prefs=runtime.tools.avr-gcc-5.4.0-atmel3.6.1-arduino2.path=C:\arduino-nightly\hardware\tools\avr -prefs=runtime.tools.avrdude.path=C:\arduino-nightly\hardware\tools\avr -prefs=runtime.tools.avrdude-6.3.0-arduino14.path=C:\arduino-nightly\hardware\tools\avr -prefs=runtime.tools.arduinoOTA.path=C:\arduino-nightly\hardware\tools\avr -prefs=runtime.tools.arduinoOTA-1.2.1.path=C:\arduino-nightly\hardware\tools\avr -verbose C:\arduino-nightly\WiFi-Tetris-Clock-master\ESP32 or TinyPICO\EzTimeTetrisClockESP32\EzTimeTetrisClockESP32.ino Using board 'nano' from platform in folder: C:\arduino-nightly\hardware\arduino\avr Using core 'arduino' from platform in folder: C:\arduino-nightly\hardware\arduino\avr Detecting libraries used... "C:\arduino-nightly\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10810 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\arduino-nightly\hardware\arduino\avr\cores\arduino" "-IC:\arduino-nightly\hardware\arduino\avr\variants\eightanaloginputs" "C:\Users\ADMINI~1\AppData\Local\Temp\arduino_build_127122\sketch\EzTimeTetrisClockESP32.ino.cpp" -o nul "C:\arduino-nightly\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10810 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\arduino-nightly\hardware\arduino\avr\cores\arduino" "-IC:\arduino-nightly\hardware\arduino\avr\variants\eightanaloginputs" "-IC:\arduino-nightly\libraries\WiFi\src" "C:\Users\ADMINI~1\AppData\Local\Temp\arduino_build_127122\sketch\EzTimeTetrisClockESP32.ino.cpp" -o nul "C:\arduino-nightly\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10810 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\arduino-nightly\hardware\arduino\avr\cores\arduino" "-IC:\arduino-nightly\hardware\arduino\avr\variants\eightanaloginputs" "-IC:\arduino-nightly\libraries\WiFi\src" "-IC:\Users\Administrator\Documents\Arduino\libraries\PxMatrix-master" "C:\Users\ADMINI~1\AppData\Local\Temp\arduino_build_127122\sketch\EzTimeTetrisClockESP32.ino.cpp" -o nul "C:\arduino-nightly\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10810 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\arduino-nightly\hardware\arduino\avr\cores\arduino" "-IC:\arduino-nightly\hardware\arduino\avr\variants\eightanaloginputs" "-IC:\arduino-nightly\libraries\WiFi\src" "-IC:\Users\Administrator\Documents\Arduino\libraries\PxMatrix-master" "-IC:\Users\Administrator\Documents\Arduino\libraries\Adafruit-GFX-Library-master" "C:\Users\ADMINI~1\AppData\Local\Temp\arduino_build_127122\sketch\EzTimeTetrisClockESP32.ino.cpp" -o nul "C:\arduino-nightly\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10810 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\arduino-nightly\hardware\arduino\avr\cores\arduino" "-IC:\arduino-nightly\hardware\arduino\avr\variants\eightanaloginputs" "-IC:\arduino-nightly\libraries\WiFi\src" "-IC:\Users\Administrator\Documents\Arduino\libraries\PxMatrix-master" "-IC:\Users\Administrator\Documents\Arduino\libraries\Adafruit-GFX-Library-master" "-IC:\arduino-nightly\hardware\arduino\avr\libraries\SPI\src" "C:\Users\ADMINI~1\AppData\Local\Temp\arduino_build_127122\sketch\EzTimeTetrisClockESP32.ino.cpp" -o nul "C:\arduino-nightly\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10810 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\arduino-nightly\hardware\arduino\avr\cores\arduino" "-IC:\arduino-nightly\hardware\arduino\avr\variants\eightanaloginputs" "-IC:\arduino-nightly\libraries\WiFi\src" "-IC:\Users\Administrator\Documents\Arduino\libraries\PxMatrix-master" "-IC:\Users\Administrator\Documents\Arduino\libraries\Adafruit-GFX-Library-master" "-IC:\arduino-nightly\hardware\arduino\avr\libraries\SPI\src" "-IC:\Users\Administrator\Documents\Arduino\libraries\TetrisAnimation-master\src" "C:\Users\ADMINI~1\AppData\Local\Temp\arduino_build_127122\sketch\EzTimeTetrisClockESP32.ino.cpp" -o nul "C:\arduino-nightly\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10810 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\arduino-nightly\hardware\arduino\avr\cores\arduino" "-IC:\arduino-nightly\hardware\arduino\avr\variants\eightanaloginputs" "-IC:\arduino-nightly\libraries\WiFi\src" "-IC:\Users\Administrator\Documents\Arduino\libraries\PxMatrix-master" "-IC:\Users\Administrator\Documents\Arduino\libraries\Adafruit-GFX-Library-master" "-IC:\arduino-nightly\hardware\arduino\avr\libraries\SPI\src" "-IC:\Users\Administrator\Documents\Arduino\libraries\TetrisAnimation-master\src" "-IC:\Users\Administrator\Documents\Arduino\libraries\ezTime-master\src" "C:\Users\ADMINI~1\AppData\Local\Temp\arduino_build_127122\sketch\EzTimeTetrisClockESP32.ino.cpp" -o nul "C:\arduino-nightly\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10810 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\arduino-nightly\hardware\arduino\avr\cores\arduino" "-IC:\arduino-nightly\hardware\arduino\avr\variants\eightanaloginputs" "-IC:\arduino-nightly\libraries\WiFi\src" "-IC:\Users\Administrator\Documents\Arduino\libraries\PxMatrix-master" "-IC:\Users\Administrator\Documents\Arduino\libraries\Adafruit-GFX-Library-master" "-IC:\arduino-nightly\hardware\arduino\avr\libraries\SPI\src" "-IC:\Users\Administrator\Documents\Arduino\libraries\TetrisAnimation-master\src" "-IC:\Users\Administrator\Documents\Arduino\libraries\ezTime-master\src" "C:\arduino-nightly\libraries\WiFi\src\WiFi.cpp" -o nul "C:\arduino-nightly\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10810 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\arduino-nightly\hardware\arduino\avr\cores\arduino" "-IC:\arduino-nightly\hardware\arduino\avr\variants\eightanaloginputs" "-IC:\arduino-nightly\libraries\WiFi\src" "-IC:\Users\Administrator\Documents\Arduino\libraries\PxMatrix-master" "-IC:\Users\Administrator\Documents\Arduino\libraries\Adafruit-GFX-Library-master" "-IC:\arduino-nightly\hardware\arduino\avr\libraries\SPI\src" "-IC:\Users\Administrator\Documents\Arduino\libraries\TetrisAnimation-master\src" "-IC:\Users\Administrator\Documents\Arduino\libraries\ezTime-master\src" "C:\arduino-nightly\libraries\WiFi\src\WiFiClient.cpp" -o nul "C:\arduino-nightly\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10810 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\arduino-nightly\hardware\arduino\avr\cores\arduino" "-IC:\arduino-nightly\hardware\arduino\avr\variants\eightanaloginputs" "-IC:\arduino-nightly\libraries\WiFi\src" "-IC:\Users\Administrator\Documents\Arduino\libraries\PxMatrix-master" "-IC:\Users\Administrator\Documents\Arduino\libraries\Adafruit-GFX-Library-master" "-IC:\arduino-nightly\hardware\arduino\avr\libraries\SPI\src" "-IC:\Users\Administrator\Documents\Arduino\libraries\TetrisAnimation-master\src" "-IC:\Users\Administrator\Documents\Arduino\libraries\ezTime-master\src" "C:\arduino-nightly\libraries\WiFi\src\WiFiServer.cpp" -o nul "C:\arduino-nightly\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10810 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\arduino-nightly\hardware\arduino\avr\cores\arduino" "-IC:\arduino-nightly\hardware\arduino\avr\variants\eightanaloginputs" "-IC:\arduino-nightly\libraries\WiFi\src" "-IC:\Users\Administrator\Documents\Arduino\libraries\PxMatrix-master" "-IC:\Users\Administrator\Documents\Arduino\libraries\Adafruit-GFX-Library-master" "-IC:\arduino-nightly\hardware\arduino\avr\libraries\SPI\src" "-IC:\Users\Administrator\Documents\Arduino\libraries\TetrisAnimation-master\src" "-IC:\Users\Administrator\Documents\Arduino\libraries\ezTime-master\src" "C:\arduino-nightly\libraries\WiFi\src\WiFiUdp.cpp" -o nul "C:\arduino-nightly\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10810 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\arduino-nightly\hardware\arduino\avr\cores\arduino" "-IC:\arduino-nightly\hardware\arduino\avr\variants\eightanaloginputs" "-IC:\arduino-nightly\libraries\WiFi\src" "-IC:\Users\Administrator\Documents\Arduino\libraries\PxMatrix-master" "-IC:\Users\Administrator\Documents\Arduino\libraries\Adafruit-GFX-Library-master" "-IC:\arduino-nightly\hardware\arduino\avr\libraries\SPI\src" "-IC:\Users\Administrator\Documents\Arduino\libraries\TetrisAnimation-master\src" "-IC:\Users\Administrator\Documents\Arduino\libraries\ezTime-master\src" "C:\arduino-nightly\libraries\WiFi\src\utility\server_drv.cpp" -o nul "C:\arduino-nightly\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10810 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\arduino-nightly\hardware\arduino\avr\cores\arduino" "-IC:\arduino-nightly\hardware\arduino\avr\variants\eightanaloginputs" "-IC:\arduino-nightly\libraries\WiFi\src" "-IC:\Users\Administrator\Documents\Arduino\libraries\PxMatrix-master" "-IC:\Users\Administrator\Documents\Arduino\libraries\Adafruit-GFX-Library-master" "-IC:\arduino-nightly\hardware\arduino\avr\libraries\SPI\src" "-IC:\Users\Administrator\Documents\Arduino\libraries\TetrisAnimation-master\src" "-IC:\Users\Administrator\Documents\Arduino\libraries\ezTime-master\src" "C:\arduino-nightly\libraries\WiFi\src\utility\spi_drv.cpp" -o nul "C:\arduino-nightly\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10810 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\arduino-nightly\hardware\arduino\avr\cores\arduino" "-IC:\arduino-nightly\hardware\arduino\avr\variants\eightanaloginputs" "-IC:\arduino-nightly\libraries\WiFi\src" "-IC:\Users\Administrator\Documents\Arduino\libraries\PxMatrix-master" "-IC:\Users\Administrator\Documents\Arduino\libraries\Adafruit-GFX-Library-master" "-IC:\arduino-nightly\hardware\arduino\avr\libraries\SPI\src" "-IC:\Users\Administrator\Documents\Arduino\libraries\TetrisAnimation-master\src" "-IC:\Users\Administrator\Documents\Arduino\libraries\ezTime-master\src" "C:\arduino-nightly\libraries\WiFi\src\utility\wifi_drv.cpp" -o nul "C:\arduino-nightly\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10810 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\arduino-nightly\hardware\arduino\avr\cores\arduino" "-IC:\arduino-nightly\hardware\arduino\avr\variants\eightanaloginputs" "-IC:\arduino-nightly\libraries\WiFi\src" "-IC:\Users\Administrator\Documents\Arduino\libraries\PxMatrix-master" "-IC:\Users\Administrator\Documents\Arduino\libraries\Adafruit-GFX-Library-master" "-IC:\arduino-nightly\hardware\arduino\avr\libraries\SPI\src" "-IC:\Users\Administrator\Documents\Arduino\libraries\TetrisAnimation-master\src" "-IC:\Users\Administrator\Documents\Arduino\libraries\ezTime-master\src" "C:\Users\Administrator\Documents\Arduino\libraries\Adafruit-GFX-Library-master\Adafruit_GFX.cpp" -o nul "C:\arduino-nightly\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10810 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\arduino-nightly\hardware\arduino\avr\cores\arduino" "-IC:\arduino-nightly\hardware\arduino\avr\variants\eightanaloginputs" "-IC:\arduino-nightly\libraries\WiFi\src" "-IC:\Users\Administrator\Documents\Arduino\libraries\PxMatrix-master" "-IC:\Users\Administrator\Documents\Arduino\libraries\Adafruit-GFX-Library-master" "-IC:\arduino-nightly\hardware\arduino\avr\libraries\SPI\src" "-IC:\Users\Administrator\Documents\Arduino\libraries\TetrisAnimation-master\src" "-IC:\Users\Administrator\Documents\Arduino\libraries\ezTime-master\src" "C:\Users\Administrator\Documents\Arduino\libraries\Adafruit-GFX-Library-master\Adafruit_SPITFT.cpp" -o nul "C:\arduino-nightly\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10810 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\arduino-nightly\hardware\arduino\avr\cores\arduino" "-IC:\arduino-nightly\hardware\arduino\avr\variants\eightanaloginputs" "-IC:\arduino-nightly\libraries\WiFi\src" "-IC:\Users\Administrator\Documents\Arduino\libraries\PxMatrix-master" "-IC:\Users\Administrator\Documents\Arduino\libraries\Adafruit-GFX-Library-master" "-IC:\arduino-nightly\hardware\arduino\avr\libraries\SPI\src" "-IC:\Users\Administrator\Documents\Arduino\libraries\TetrisAnimation-master\src" "-IC:\Users\Administrator\Documents\Arduino\libraries\ezTime-master\src" "C:\Users\Administrator\Documents\Arduino\libraries\Adafruit-GFX-Library-master\glcdfont.c" -o nul "C:\arduino-nightly\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10810 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\arduino-nightly\hardware\arduino\avr\cores\arduino" "-IC:\arduino-nightly\hardware\arduino\avr\variants\eightanaloginputs" "-IC:\arduino-nightly\libraries\WiFi\src" "-IC:\Users\Administrator\Documents\Arduino\libraries\PxMatrix-master" "-IC:\Users\Administrator\Documents\Arduino\libraries\Adafruit-GFX-Library-master" "-IC:\arduino-nightly\hardware\arduino\avr\libraries\SPI\src" "-IC:\Users\Administrator\Documents\Arduino\libraries\TetrisAnimation-master\src" "-IC:\Users\Administrator\Documents\Arduino\libraries\ezTime-master\src" "C:\arduino-nightly\hardware\arduino\avr\libraries\SPI\src\SPI.cpp" -o nul "C:\arduino-nightly\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10810 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\arduino-nightly\hardware\arduino\avr\cores\arduino" "-IC:\arduino-nightly\hardware\arduino\avr\variants\eightanaloginputs" "-IC:\arduino-nightly\libraries\WiFi\src" "-IC:\Users\Administrator\Documents\Arduino\libraries\PxMatrix-master" "-IC:\Users\Administrator\Documents\Arduino\libraries\Adafruit-GFX-Library-master" "-IC:\arduino-nightly\hardware\arduino\avr\libraries\SPI\src" "-IC:\Users\Administrator\Documents\Arduino\libraries\TetrisAnimation-master\src" "-IC:\Users\Administrator\Documents\Arduino\libraries\ezTime-master\src" "C:\Users\Administrator\Documents\Arduino\libraries\TetrisAnimation-master\src\TetrisMatrixDraw.cpp" -o nul "C:\arduino-nightly\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10810 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\arduino-nightly\hardware\arduino\avr\cores\arduino" "-IC:\arduino-nightly\hardware\arduino\avr\variants\eightanaloginputs" "-IC:\arduino-nightly\libraries\WiFi\src" "-IC:\Users\Administrator\Documents\Arduino\libraries\PxMatrix-master" "-IC:\Users\Administrator\Documents\Arduino\libraries\Adafruit-GFX-Library-master" "-IC:\arduino-nightly\hardware\arduino\avr\libraries\SPI\src" "-IC:\Users\Administrator\Documents\Arduino\libraries\TetrisAnimation-master\src" "-IC:\Users\Administrator\Documents\Arduino\libraries\ezTime-master\src" "C:\Users\Administrator\Documents\Arduino\libraries\ezTime-master\src\ezTime.cpp" -o nul "C:\arduino-nightly\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10810 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\arduino-nightly\hardware\arduino\avr\cores\arduino" "-IC:\arduino-nightly\hardware\arduino\avr\variants\eightanaloginputs" "-IC:\arduino-nightly\libraries\WiFi\src" "-IC:\Users\Administrator\Documents\Arduino\libraries\PxMatrix-master" "-IC:\Users\Administrator\Documents\Arduino\libraries\Adafruit-GFX-Library-master" "-IC:\arduino-nightly\hardware\arduino\avr\libraries\SPI\src" "-IC:\Users\Administrator\Documents\Arduino\libraries\TetrisAnimation-master\src" "-IC:\Users\Administrator\Documents\Arduino\libraries\ezTime-master\src" "-IC:\arduino-nightly\hardware\arduino\avr\libraries\EEPROM\src" "C:\Users\Administrator\Documents\Arduino\libraries\ezTime-master\src\ezTime.cpp" -o nul Generating function prototypes... "C:\arduino-nightly\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10810 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\arduino-nightly\hardware\arduino\avr\cores\arduino" "-IC:\arduino-nightly\hardware\arduino\avr\variants\eightanaloginputs" "-IC:\arduino-nightly\libraries\WiFi\src" "-IC:\Users\Administrator\Documents\Arduino\libraries\PxMatrix-master" "-IC:\Users\Administrator\Documents\Arduino\libraries\Adafruit-GFX-Library-master" "-IC:\arduino-nightly\hardware\arduino\avr\libraries\SPI\src" "-IC:\Users\Administrator\Documents\Arduino\libraries\TetrisAnimation-master\src" "-IC:\Users\Administrator\Documents\Arduino\libraries\ezTime-master\src" "-IC:\arduino-nightly\hardware\arduino\avr\libraries\EEPROM\src" "C:\Users\ADMINI~1\AppData\Local\Temp\arduino_build_127122\sketch\EzTimeTetrisClockESP32.ino.cpp" -o "C:\Users\ADMINI~1\AppData\Local\Temp\arduino_build_127122\preproc\ctags_target_for_gcc_minus_e.cpp" "C:\arduino-nightly\tools-builder\ctags\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\Users\ADMINI~1\AppData\Local\Temp\arduino_build_127122\preproc\ctags_target_for_gcc_minus_e.cpp" Compiling sketch... "C:\arduino-nightly\hardware\tools\avr/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10810 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\arduino-nightly\hardware\arduino\avr\cores\arduino" "-IC:\arduino-nightly\hardware\arduino\avr\variants\eightanaloginputs" "-IC:\arduino-nightly\libraries\WiFi\src" "-IC:\Users\Administrator\Documents\Arduino\libraries\PxMatrix-master" "-IC:\Users\Administrator\Documents\Arduino\libraries\Adafruit-GFX-Library-master" "-IC:\arduino-nightly\hardware\arduino\avr\libraries\SPI\src" "-IC:\Users\Administrator\Documents\Arduino\libraries\TetrisAnimation-master\src" "-IC:\Users\Administrator\Documents\Arduino\libraries\ezTime-master\src" "-IC:\arduino-nightly\hardware\arduino\avr\libraries\EEPROM\src" "C:\Users\ADMINI~1\AppData\Local\Temp\arduino_build_127122\sketch\EzTimeTetrisClockESP32.ino.cpp" -o "C:\Users\ADMINI~1\AppData\Local\Temp\arduino_build_127122\sketch\EzTimeTetrisClockESP32.ino.cpp.o" In file included from C:\arduino-nightly\WiFi-Tetris-Clock-master\ESP32 or TinyPICO\EzTimeTetrisClockESP32\EzTimeTetrisClockESP32.ino:27:0:

C:\Users\Administrator\Documents\Arduino\libraries\PxMatrix-master/PxMatrix.h: In member function 'void PxMATRIX::spi_init()':

C:\Users\Administrator\Documents\Arduino\libraries\PxMatrix-master/PxMatrix.h:670:9: error: 'class SPIClass' has no member named 'setFrequency'

 SPI.setFrequency(10000000);

     ^

C:\Users\Administrator\Documents\Arduino\libraries\PxMatrix-master/PxMatrix.h: In member function 'void PxMATRIX::display(uint16_t)':

C:\Users\Administrator\Documents\Arduino\libraries\PxMatrix-master/PxMatrix.h:870:13: error: 'class SPIClass' has no member named 'writeBytes'

     SPI.writeBytes(&(*bufferp)[_display_color][i*_send_buffer_size],_send_buffer_size);

         ^

C:\Users\Administrator\Documents\Arduino\libraries\PxMatrix-master/PxMatrix.h:879:13: error: 'class SPIClass' has no member named 'writeBytes'

     SPI.writeBytes(&(*bufferp)[_display_color][i*_send_buffer_size],_send_buffer_size);

         ^

C:\Users\Administrator\Documents\Arduino\libraries\PxMatrix-master/PxMatrix.h:898:25: error: 'SPECIAL' was not declared in this scope

   pinMode(_SPI_CLK, SPECIAL);

                     ^

C:\Users\Administrator\Documents\Arduino\libraries\PxMatrix-master/PxMatrix.h:902:11: error: 'class SPIClass' has no member named 'writeBytes'

   SPI.writeBytes(&(*bufferp)[_display_color][i*_send_buffer_size],_send_buffer_size-1);

       ^

C:\Users\Administrator\Documents\Arduino\libraries\PxMatrix-master/PxMatrix.h:914:39: error: 'GPIO_REG_SET' was not declared in this scope

       GPIO_REG_SET( 1 << _SPI_MOSI);

                                   ^

C:\Users\Administrator\Documents\Arduino\libraries\PxMatrix-master/PxMatrix.h:916:41: error: 'GPIO_REG_CLEAR' was not declared in this scope

       GPIO_REG_CLEAR( 1 << _SPI_MOSI);

                                     ^

C:\Users\Administrator\Documents\Arduino\libraries\PxMatrix-master/PxMatrix.h:917:36: error: 'GPIO_REG_SET' was not declared in this scope

     GPIO_REG_SET( 1 << _SPI_CLK);

                                ^

C:\Users\Administrator\Documents\Arduino\libraries\PxMatrix-master/PxMatrix.h:918:38: error: 'GPIO_REG_CLEAR' was not declared in this scope

     GPIO_REG_CLEAR( 1 << _SPI_CLK);

                                  ^

C:\Users\Administrator\Documents\Arduino\libraries\PxMatrix-master/PxMatrix.h: In member function 'void PxMATRIX::flushDisplay()':

C:\Users\Administrator\Documents\Arduino\libraries\PxMatrix-master/PxMatrix.h:951:9: error: 'class SPIClass' has no member named 'write'

 SPI.write(0x00);

     ^

C:\Users\Administrator\Documents\Arduino\libraries\PxMatrix-master/PxMatrix.h: In member function 'void PxMATRIX::displayTestPattern(uint16_t)':

C:\Users\Administrator\Documents\Arduino\libraries\PxMatrix-master/PxMatrix.h:960:11: error: 'class SPIClass' has no member named 'write'

   SPI.write(0xFF);

       ^

C:\Users\Administrator\Documents\Arduino\libraries\PxMatrix-master/PxMatrix.h: In member function 'void PxMATRIX::displayTestPixel(uint16_t)':

C:\Users\Administrator\Documents\Arduino\libraries\PxMatrix-master/PxMatrix.h:999:9: error: 'class SPIClass' has no member named 'write'

 SPI.write(1<<_test_pixel_counter%8);

     ^

C:\Users\Administrator\Documents\Arduino\libraries\PxMatrix-master/PxMatrix.h:1001:11: error: 'class SPIClass' has no member named 'write'

   SPI.write(0x00);

       ^

C:\arduino-nightly\WiFi-Tetris-Clock-master\ESP32 or TinyPICO\EzTimeTetrisClockESP32\EzTimeTetrisClockESP32.ino: At global scope:

EzTimeTetrisClockESP32:84:1: error: 'portMUX_TYPE' does not name a type

portMUX_TYPE timerMux = portMUX_INITIALIZER_UNLOCKED;

^

EzTimeTetrisClockESP32:85:1: error: 'hw_timer_t' does not name a type

hw_timer_t * timer = NULL;

^

EzTimeTetrisClockESP32:86:1: error: 'hw_timer_t' does not name a type

hw_timer_t * animationTimer = NULL;

^

EzTimeTetrisClockESP32:107:16: error: expected initializer before 'display_updater'

void IRAM_ATTR display_updater() {

            ^

EzTimeTetrisClockESP32:107:16: error: expected initializer before 'display_updater'

void IRAM_ATTR display_updater() {

            ^

C:\arduino-nightly\WiFi-Tetris-Clock-master\ESP32 or TinyPICO\EzTimeTetrisClockESP32\EzTimeTetrisClockESP32.ino: In function 'void animationHandler()':

EzTimeTetrisClockESP32:117:27: error: 'timerMux' was not declared in this scope

portENTER_CRITICAL_ISR(&timerMux);

                       ^

EzTimeTetrisClockESP32:117:35: error: 'portENTER_CRITICAL_ISR' was not declared in this scope

portENTER_CRITICAL_ISR(&timerMux);

                               ^

EzTimeTetrisClockESP32:158:34: error: 'portEXIT_CRITICAL_ISR' was not declared in this scope

portEXIT_CRITICAL_ISR(&timerMux);

                              ^

C:\arduino-nightly\WiFi-Tetris-Clock-master\ESP32 or TinyPICO\EzTimeTetrisClockESP32\EzTimeTetrisClockESP32.ino: In function 'void setup()':

EzTimeTetrisClockESP32:199:8: error: 'class WiFiClass' has no member named 'mode'

WiFi.mode(WIFI_STA);

    ^

EzTimeTetrisClockESP32:199:13: error: 'WIFI_STA' was not declared in this scope

WiFi.mode(WIFI_STA);

         ^

EzTimeTetrisClockESP32:221:3: error: 'timer' was not declared in this scope

timer = timerBegin(0, 80, true);

^

EzTimeTetrisClockESP32:221:33: error: 'timerBegin' was not declared in this scope

timer = timerBegin(0, 80, true);

                             ^

EzTimeTetrisClockESP32:222:32: error: 'display_updater' was not declared in this scope

timerAttachInterrupt(timer, &display_updater, true);

                            ^

EzTimeTetrisClockESP32:222:53: error: 'timerAttachInterrupt' was not declared in this scope

timerAttachInterrupt(timer, &display_updater, true);

                                                 ^

EzTimeTetrisClockESP32:223:36: error: 'timerAlarmWrite' was not declared in this scope

timerAlarmWrite(timer, 2000, true);

                                ^

EzTimeTetrisClockESP32:224:25: error: 'timerAlarmEnable' was not declared in this scope

timerAlarmEnable(timer);

                     ^

EzTimeTetrisClockESP32:263:3: error: 'animationTimer' was not declared in this scope

animationTimer = timerBegin(1, 80, true);

^

Using library WiFi at version 1.2.7 in folder: C:\arduino-nightly\libraries\WiFi Using library PxMatrix-master at version 1.3.0 in folder: C:\Users\Administrator\Documents\Arduino\libraries\PxMatrix-master Using library Adafruit-GFX-Library-master at version 1.5.5 in folder: C:\Users\Administrator\Documents\Arduino\libraries\Adafruit-GFX-Library-master Using library SPI at version 1.0 in folder: C:\arduino-nightly\hardware\arduino\avr\libraries\SPI Using library TetrisAnimation-master at version 1.1.0 in folder: C:\Users\Administrator\Documents\Arduino\libraries\TetrisAnimation-master Using library ezTime-master at version 0.7.10 in folder: C:\Users\Administrator\Documents\Arduino\libraries\ezTime-master Using library EEPROM at version 2.0 in folder: C:\arduino-nightly\hardware\arduino\avr\libraries\EEPROM exit status 1 'portMUX_TYPE' does not name a type`

witnessmenow commented 5 years ago

What board are you using? This sketch currently only works with an ESP32 and your board is set to an Arduino Nano.

tablatronix commented 5 years ago

That is not an arduino nano...