Ich habe ein Problem beim Kompilieren von SunRay. Ich erhielt einen Fehler bei der Größe des seriellen Puffers und bei der Fehlerbehebung habe ich beschlossen, eine brandneue Kopie von Sunray zu besorgen, um zu sehen, ob ich sie einfach kompilieren kann, ohne die Firmware auf meinen M4 zu flashen. Der Compiler gibt den Fehler aus:
In der Datei /Users/roontoon/Documents/GitHubLocalRepository/Sunray/sunray/buzzer.cpp:8:
/Users/roontoon/Documents/GitHubLocalRepository/Sunray/sunray/config.h:495: Warnung: "SERIAL_BUFFER_SIZE" neu definiert
495 | #define SERIAL_BUFFER_SIZE 1024
Ich habe die Anweisung #define SERIAL_BUFFER_SIZE 1024 auskommentiert und sie wird immer noch nicht kompiliert und ich bin mir nicht sicher, was die Anweisungen in der Konfigurationsdatei von mir erwarten.
// Folgendes wird von der Arduino-Bibliothek RingBuffer.h verwendet - um diese Arduino-Bibliotheksdatei zu überprüfen:
// 1. Arduino IDE->Datei->Preferences->Klicken Sie unten auf 'preferences.txt'
// 2. Suchen Sie die Datei 'packages/arduino/hardware/sam/xxxxx/cores/arduino/RingBuffer.h
#define SERIAL_BUFFER_SIZE 1024
Danke für jede Hilfe von den erfahreneren.
Dan
I am having an issue compiling SunRay. I was getting a Serial Buffer size error and in the process of troubleshooting the issue, I decided to get a brand new copy of Sunray to see if I could just compile it without flashing the firmware to my M4. The compiler throws the error:
In file included from /Users/roontoon/Documents/GitHubLocalRepository/Sunray/sunray/buzzer.cpp:8:
/Users/roontoon/Documents/GitHubLocalRepository/Sunray/sunray/config.h:495: warning: "SERIAL_BUFFER_SIZE" redefined
495 | #define SERIAL_BUFFER_SIZE 1024
I have commented out the #define SERIAL_BUFFER_SIZE 1024 statement and it still will not compile and I am not sure what the instructions in the config file want me to do.
// the following will be used by Arduino library RingBuffer.h - to verify this Arduino library file:
// 1. Arduino IDE->File->Preferences->Click on 'preferences.txt' at the bottom
// 2. Locate file 'packages/arduino/hardware/sam/xxxxx/cores/arduino/RingBuffer.h
#define SERIAL_BUFFER_SIZE 1024
Thanks for any help from the more experienced.
Dan
In der Datei /Users/roontoon/Documents/GitHubLocalRepository/Sunray/sunray/buzzer.cpp:8:
/Users/roontoon/Documents/GitHubLocalRepository/Sunray/sunray/config.h:495: Warnung: "SERIAL_BUFFER_SIZE" neu definiert
495 | #define SERIAL_BUFFER_SIZE 1024
Ich habe die Anweisung #define SERIAL_BUFFER_SIZE 1024 auskommentiert und sie wird immer noch nicht kompiliert und ich bin mir nicht sicher, was die Anweisungen in der Konfigurationsdatei von mir erwarten.
// Folgendes wird von der Arduino-Bibliothek RingBuffer.h verwendet - um diese Arduino-Bibliotheksdatei zu überprüfen:
// 1. Arduino IDE->Datei->Preferences->Klicken Sie unten auf 'preferences.txt'
// 2. Suchen Sie die Datei 'packages/arduino/hardware/sam/xxxxx/cores/arduino/RingBuffer.h
#define SERIAL_BUFFER_SIZE 1024
Danke für jede Hilfe von den erfahreneren.
Dan
I am having an issue compiling SunRay. I was getting a Serial Buffer size error and in the process of troubleshooting the issue, I decided to get a brand new copy of Sunray to see if I could just compile it without flashing the firmware to my M4. The compiler throws the error:
In file included from /Users/roontoon/Documents/GitHubLocalRepository/Sunray/sunray/buzzer.cpp:8:
/Users/roontoon/Documents/GitHubLocalRepository/Sunray/sunray/config.h:495: warning: "SERIAL_BUFFER_SIZE" redefined
495 | #define SERIAL_BUFFER_SIZE 1024
I have commented out the #define SERIAL_BUFFER_SIZE 1024 statement and it still will not compile and I am not sure what the instructions in the config file want me to do.
// the following will be used by Arduino library RingBuffer.h - to verify this Arduino library file:
// 1. Arduino IDE->File->Preferences->Click on 'preferences.txt' at the bottom
// 2. Locate file 'packages/arduino/hardware/sam/xxxxx/cores/arduino/RingBuffer.h
#define SERIAL_BUFFER_SIZE 1024
Thanks for any help from the more experienced.
Dan