You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get lots of warnings when trying to compile this but it then stops with an error about the sdFat32, see log below.
Also since the update of MakeUEF 2.4 there is a long standing bug that has been fixed as the parity 8n1 8e1 where swapped over but has now been fixed but this fix breaks TZXDuino and other similar units.
In file included from C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\cores\arduino/Print.h:24:0,
from C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\cores\arduino/Stream.h:26,
from C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\cores\arduino/HardwareSerial.h:29,
from C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\cores\arduino/Arduino.h:233,
from sketch\TZXDuino.ino.cpp:1:
c:\program files\windowsapps\arduinollc.arduinoide_1.8.57.0_x86__mdqgnx93n4wtt\hardware\tools\avr\avr\include\stdio.h:314:0: note: this is the location of the previous definition
#define EOF (-1)
In file included from D:\Data\Documents\Arduino\TZXDuino\TZXDuino.ino:80:0:
SdCardSetup.h:34:9: error: 'SdFat32' does not name a type; did you mean 'SdFat'?
typedef SdFat32 SDTYPE;
^~~~~~~
SdFat
SdCardSetup.h:35:9: error: 'File32' does not name a type; did you mean 'File'?
typedef File32 FILETYPE;
^~~~~~
File
In file included from D:\Data\Documents\Arduino\TZXDuino\TZXDuino.ino:82:0:
D:\Data\Documents\Arduino\TZXDuino\TZXDuino.h:3:75: warning: narrowing conversion of '157' from 'int' to 'char' inside { } [-Wnarrowing]
I get lots of warnings when trying to compile this but it then stops with an error about the sdFat32, see log below.
Also since the update of MakeUEF 2.4 there is a long standing bug that has been fixed as the parity 8n1 8e1 where swapped over but has now been fixed but this fix breaks TZXDuino and other similar units.
Arduino: 1.8.19 (Windows Store 1.8.57.0) (Windows 10), Board: "Arduino Nano, ATmega328P"
In file included from D:\Data\Documents\Arduino\TZXDuino\TZXDuino.ino:82:0:
D:\Data\Documents\Arduino\TZXDuino\TZXDuino.h:41:0: warning: "EOF" redefined
#define EOF 0xFF //End of file
In file included from C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.57.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\cores\arduino/Print.h:24:0,
c:\program files\windowsapps\arduinollc.arduinoide_1.8.57.0_x86__mdqgnx93n4wtt\hardware\tools\avr\avr\include\stdio.h:314:0: note: this is the location of the previous definition
#define EOF (-1)
In file included from D:\Data\Documents\Arduino\TZXDuino\TZXDuino.ino:80:0:
SdCardSetup.h:34:9: error: 'SdFat32' does not name a type; did you mean 'SdFat'?
typedef SdFat32 SDTYPE;
SdCardSetup.h:35:9: error: 'File32' does not name a type; did you mean 'File'?
typedef File32 FILETYPE;
In file included from D:\Data\Documents\Arduino\TZXDuino\TZXDuino.ino:82:0:
D:\Data\Documents\Arduino\TZXDuino\TZXDuino.h:3:75: warning: narrowing conversion of '157' from 'int' to 'char' inside { } [-Wnarrowing]
PROGMEM const char ZX81Filename[9] = {'T','Z','X','D','U','I','N','O',0x9D};
D:\Data\Documents\Arduino\TZXDuino\TZXDuino.h:5:117: warning: narrowing conversion of '192' from 'int' to 'char' inside { } [-Wnarrowing]
PROGMEM const char TAPHdr[20] = {0x0,0x0,0x3,'Z','X','A','Y','F','i','l','e',' ',' ',0x1A,0xB,0x0,0xC0,0x0,0x80,0x6E}; //
D:\Data\Documents\Arduino\TZXDuino\TZXDuino.h:5:117: warning: narrowing conversion of '128' from 'int' to 'char' inside { } [-Wnarrowing]
TZXDuino:143:1: error: 'SDTYPE' does not name a type; did you mean 'SPE'?
SDTYPE sd; // Initialise SD card
^~~~~~
SPE
TZXDuino:144:1: error: 'FILETYPE' does not name a type; did you mean 'FILE'?
FILETYPE entry, dir, tmpdir; // SD card current file (=entry) and current directory (=dir) objects, plus one temporary
^~~~~~~~
FILE
D:\Data\Documents\Arduino\TZXDuino\TZXDuino.ino: In function 'void setup()':
TZXDuino:213:11: error: 'sd' was not declared in this scope
while (!sd.begin(chipSelect,SPI_SPEED)) {
D:\Data\Documents\Arduino\TZXDuino\TZXDuino.ino:213:11: note: suggested alternative: 'sq'
while (!sd.begin(chipSelect,SPI_SPEED)) {
TZXDuino:219:3: error: 'dir' was not declared in this scope
dir.open("/"); //set SD to root directory
^~~
D:\Data\Documents\Arduino\TZXDuino\TZXDuino.ino:219:3: note: suggested alternative: 'div'
dir.open("/"); //set SD to root directory
^~~
div
D:\Data\Documents\Arduino\TZXDuino\TZXDuino.ino: In function 'void loop()':
TZXDuino:330:8: error: 'dir' was not declared in this scope
D:\Data\Documents\Arduino\TZXDuino\TZXDuino.ino:330:8: note: suggested alternative: 'div'
TZXDuino:334:10: error: 'tmpdir' was not declared in this scope
D:\Data\Documents\Arduino\TZXDuino\TZXDuino.ino:334:10: note: suggested alternative: 'subdir'
D:\Data\Documents\Arduino\TZXDuino\TZXDuino.ino: In function 'void upFile()':
TZXDuino:447:5: error: 'entry' was not declared in this scope
TZXDuino:448:21: error: 'dir' was not declared in this scope
D:\Data\Documents\Arduino\TZXDuino\TZXDuino.ino:448:21: note: suggested alternative: 'div'
D:\Data\Documents\Arduino\TZXDuino\TZXDuino.ino: In function 'void seekFile()':
TZXDuino:479:3: error: 'entry' was not declared in this scope
entry.close(); // precautionary, and seems harmelss if entry is already closed
^~~~~
TZXDuino:480:20: error: 'dir' was not declared in this scope
if (!entry.open(&dir, fileIndex, O_RDONLY))
D:\Data\Documents\Arduino\TZXDuino\TZXDuino.ino:480:20: note: suggested alternative: 'div'
if (!entry.open(&dir, fileIndex, O_RDONLY))
D:\Data\Documents\Arduino\TZXDuino\TZXDuino.ino: In function 'void getMaxFile()':
TZXDuino:572:3: error: 'dir' was not declared in this scope
dir.rewind();
^~~
D:\Data\Documents\Arduino\TZXDuino\TZXDuino.ino:572:3: note: suggested alternative: 'div'
dir.rewind();
^~~
div
TZXDuino:573:9: error: 'entry' was not declared in this scope
while(entry.openNext(&dir, O_RDONLY)) {
D:\Data\Documents\Arduino\TZXDuino\TZXDuino.ino: In function 'void changeDir()':
TZXDuino:588:5: error: 'dir' was not declared in this scope
D:\Data\Documents\Arduino\TZXDuino\TZXDuino.ino:588:5: note: suggested alternative: 'div'
TZXDuino:599:5: error: 'tmpdir' was not declared in this scope
D:\Data\Documents\Arduino\TZXDuino\TZXDuino.ino:599:5: note: suggested alternative: 'subdir'
TZXDuino:599:18: error: 'dir' was not declared in this scope
D:\Data\Documents\Arduino\TZXDuino\TZXDuino.ino:599:18: note: suggested alternative: 'div'
D:\Data\Documents\Arduino\TZXDuino\ORICProcessing.ino: In function 'int readfile(byte, long unsigned int)':
ORICProcessing:6:6: error: 'entry' was not declared in this scope
if(entry.seekSet(p)) {
D:\Data\Documents\Arduino\TZXDuino\TZXProcessing.ino: In function 'void TZXPlay()':
TZXProcessing:59:3: error: 'entry' was not declared in this scope
entry.close();
^~~~~
TZXProcessing:60:15: error: 'dir' was not declared in this scope
entry.open(&dir, fileIndex, O_RDONLY);
D:\Data\Documents\Arduino\TZXDuino\TZXProcessing.ino:60:15: note: suggested alternative: 'div'
entry.open(&dir, fileIndex, O_RDONLY);
D:\Data\Documents\Arduino\TZXDuino\TZXProcessing.ino: In function 'void TZXStop()':
TZXProcessing:132:3: error: 'entry' was not declared in this scope
entry.close(); //Close file
^~~~~
D:\Data\Documents\Arduino\TZXDuino\TZXProcessing.ino: In function 'void TZXProcess()':
D:\Data\Documents\Arduino\TZXDuino\TZXProcessing.ino:366:73: warning: left shift count >= width of type [-Wshift-count-overflow]
D:\Data\Documents\Arduino\TZXDuino\TZXProcessing.ino:366:92: warning: left shift count >= width of type [-Wshift-count-overflow]
D:\Data\Documents\Arduino\TZXDuino\TZXProcessing.ino: In function 'int ReadByte(long unsigned int)':
TZXProcessing:1565:6: error: 'entry' was not declared in this scope
if(entry.seekSet(pos)) {
D:\Data\Documents\Arduino\TZXDuino\TZXProcessing.ino: In function 'int ReadWord(long unsigned int)':
TZXProcessing:1578:6: error: 'entry' was not declared in this scope
if(entry.seekSet(pos)) {
D:\Data\Documents\Arduino\TZXDuino\TZXProcessing.ino: In function 'int ReadLong(long unsigned int)':
TZXProcessing:1591:6: error: 'entry' was not declared in this scope
if(entry.seekSet(pos)) {
D:\Data\Documents\Arduino\TZXDuino\TZXProcessing.ino: In function 'int ReadDword(long unsigned int)':
TZXProcessing:1605:6: error: 'entry' was not declared in this scope
if(entry.seekSet(pos)) {
D:\Data\Documents\Arduino\TZXDuino\TZXProcessing.ino: In function 'void ReadTZXHeader()':
TZXProcessing:1620:6: error: 'entry' was not declared in this scope
if(entry.seekSet(0)) {
D:\Data\Documents\Arduino\TZXDuino\TZXProcessing.ino: In function 'void ReadAYHeader()':
TZXProcessing:1641:6: error: 'entry' was not declared in this scope
if(entry.seekSet(0)) {
D:\Data\Documents\Arduino\TZXDuino\UEFProcessing.ino: In function 'void ReadUEFHeader()':
UEFProcessing:7:6: error: 'entry' was not declared in this scope
if(entry.seekSet(0)) {
exit status 1
'SdFat32' does not name a type; did you mean 'SdFat'?
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
The text was updated successfully, but these errors were encountered: