Prombleme DEV Installation

Hallo zusammen,

ich habe ein Problem mit der DEV - Version.
Die Master konnte ich ohne Probleme installieren, und alles läuft perfekt. :slight_smile:
Dank der super Anleitungen konnte ich (0 Ahnung von Elektronik) sogar einen Ein Aus Schalter zwischend ie Powerbank und den Arduiono klemmen!

Jetzt wollte ich die DEV Version installieren, jedoch kommt hier immer eine Fehlermeldung beim Komplieren. Muss ich für die DEV version noch etwas anders machen als für die Master?
Sorry, ich kopieren mal den ganzen Text rein, weil ich nicht wirklich weiß, wo die Fehlermeldung anfängt und aufhört…
DFPlayer Verison 1.0.3
JC_Button 2.1.1
MFRC522 1.4.4

Fehlermeldung:

Arduino: 1.8.9 (Windows Store 1.8.21.0) (Windows 10), Board: "Arduino Nano, ATmega328P (Old Bootloader)"

Build-Optionen wurden verändert, alles wird neu kompiliert
C:\Users\marce\Downloads\TonUINO-DEV\TonUINO-DEV\Tonuino\Tonuino.ino: In function 'void setup()':

C:\Users\marce\Downloads\TonUINO-DEV\TonUINO-DEV\Tonuino\Tonuino.ino:756:27: warning: invalid conversion from 'int' to 'DfMp3_Eq' [-fpermissive]

   mp3.setEq(mySettings.eq - 1);

                           ^

In file included from C:\Users\marce\Downloads\TonUINO-DEV\TonUINO-DEV\Tonuino\Tonuino.ino:1:0:

C:\Users\marce\Documents\Arduino\libraries\DFPlayer_Mini_Mp3_by_Makuna\src/DFMiniMp3.h:198:10: note:   initializing argument 1 of 'void DFMiniMp3<T_SERIAL_METHOD, T_NOTIFICATION_METHOD>::setEq(DfMp3_Eq) [with T_SERIAL_METHOD = SoftwareSerial; T_NOTIFICATION_METHOD = Mp3Notify]'

     void setEq(DfMp3_Eq eq)

          ^

C:\Users\marce\Downloads\TonUINO-DEV\TonUINO-DEV\Tonuino\Tonuino.ino: In function 'void adminMenu(bool)':

C:\Users\marce\Downloads\TonUINO-DEV\TonUINO-DEV\Tonuino\Tonuino.ino:1115:37: warning: default argument given for parameter 1 of 'void adminMenu(bool)' [-fpermissive]

 void adminMenu(bool fromCard = false) {

                                     ^

C:\Users\marce\Downloads\TonUINO-DEV\TonUINO-DEV\Tonuino\Tonuino.ino:80:6: note: previous specification in 'void adminMenu(bool)' here

 void adminMenu(bool fromCard = false);

      ^

C:\Users\marce\Downloads\TonUINO-DEV\TonUINO-DEV\Tonuino\Tonuino.ino: In function 'void adminMenu(bool)':

C:\Users\marce\Downloads\TonUINO-DEV\TonUINO-DEV\Tonuino\Tonuino.ino:1190:29: warning: invalid conversion from 'int' to 'DfMp3_Eq' [-fpermissive]

     mp3.setEq(mySettings.eq - 1);

                             ^

In file included from C:\Users\marce\Downloads\TonUINO-DEV\TonUINO-DEV\Tonuino\Tonuino.ino:1:0:

C:\Users\marce\Documents\Arduino\libraries\DFPlayer_Mini_Mp3_by_Makuna\src/DFMiniMp3.h:198:10: note:   initializing argument 1 of 'void DFMiniMp3<T_SERIAL_METHOD, T_NOTIFICATION_METHOD>::setEq(DfMp3_Eq) [with T_SERIAL_METHOD = SoftwareSerial; T_NOTIFICATION_METHOD = Mp3Notify]'

     void setEq(DfMp3_Eq eq)

          ^

C:\Users\marce\Downloads\TonUINO-DEV\TonUINO-DEV\Tonuino\Tonuino.ino:1316:22: warning: invalid conversion from 'int8_t* {aka signed char*}' to 'uint8_t* {aka unsigned char*}' [-fpermissive]

       if (askCode(pin)) {

                      ^

C:\Users\marce\Downloads\TonUINO-DEV\TonUINO-DEV\Tonuino\Tonuino.ino:1330:6: note:   initializing argument 1 of 'bool askCode(uint8_t*)'

 bool askCode(uint8_t *code) {

      ^

C:\Users\marce\Downloads\TonUINO-DEV\TonUINO-DEV\Tonuino\Tonuino.ino: In function 'uint8_t voiceMenu(int, int, int, bool, int, int, bool)':

C:\Users\marce\Downloads\TonUINO-DEV\TonUINO-DEV\Tonuino\Tonuino.ino:1347:120: warning: default argument given for parameter 4 of 'uint8_t voiceMenu(int, int, int, bool, int, int, bool)' [-fpermissive]

                   bool preview = false, int previewFromFolder = 0, int defaultValue = 0, bool exitWithLongPress = false) {

                                                                                                                        ^

C:\Users\marce\Downloads\TonUINO-DEV\TonUINO-DEV\Tonuino\Tonuino.ino:74:9: note: previous specification in 'uint8_t voiceMenu(int, int, int, bool, int, int, bool)' here

 uint8_t voiceMenu(int numberOfOptions, int startMessage, int messageOffset,

         ^

C:\Users\marce\Downloads\TonUINO-DEV\TonUINO-DEV\Tonuino\Tonuino.ino:1347:120: warning: default argument given for parameter 5 of 'uint8_t voiceMenu(int, int, int, bool, int, int, bool)' [-fpermissive]

                   bool preview = false, int previewFromFolder = 0, int defaultValue = 0, bool exitWithLongPress = false) {

                                                                                                                        ^

C:\Users\marce\Downloads\TonUINO-DEV\TonUINO-DEV\Tonuino\Tonuino.ino:74:9: note: previous specification in 'uint8_t voiceMenu(int, int, int, bool, int, int, bool)' here

 uint8_t voiceMenu(int numberOfOptions, int startMessage, int messageOffset,

         ^

C:\Users\marce\Downloads\TonUINO-DEV\TonUINO-DEV\Tonuino\Tonuino.ino:1347:120: warning: default argument given for parameter 6 of 'uint8_t voiceMenu(int, int, int, bool, int, int, bool)' [-fpermissive]

                   bool preview = false, int previewFromFolder = 0, int defaultValue = 0, bool exitWithLongPress = false) {

                                                                                                                        ^

C:\Users\marce\Downloads\TonUINO-DEV\TonUINO-DEV\Tonuino\Tonuino.ino:74:9: note: previous specification in 'uint8_t voiceMenu(int, int, int, bool, int, int, bool)' here

 uint8_t voiceMenu(int numberOfOptions, int startMessage, int messageOffset,

         ^

C:\Users\marce\Downloads\TonUINO-DEV\TonUINO-DEV\Tonuino\Tonuino.ino:1347:120: warning: default argument given for parameter 7 of 'uint8_t voiceMenu(int, int, int, bool, int, int, bool)' [-fpermissive]

                   bool preview = false, int previewFromFolder = 0, int defaultValue = 0, bool exitWithLongPress = false) {

                                                                                                                        ^

C:\Users\marce\Downloads\TonUINO-DEV\TonUINO-DEV\Tonuino\Tonuino.ino:74:9: note: previous specification in 'uint8_t voiceMenu(int, int, int, bool, int, int, bool)' here

 uint8_t voiceMenu(int numberOfOptions, int startMessage, int messageOffset,

         ^

In file included from C:\Users\marce\Documents\Arduino\libraries\MFRC522\src\MFRC522Extended.cpp:8:0:

C:\Users\marce\Documents\Arduino\libraries\MFRC522\src\MFRC522Extended.h: In constructor 'MFRC522Extended::MFRC522Extended(uint8_t)':

C:\Users\marce\Documents\Arduino\libraries\MFRC522\src\MFRC522Extended.h:81:44: warning: 'MFRC522::MFRC522(byte)' is deprecated: use MFRC522(byte chipSelectPin, byte resetPowerDownPin) [-Wdeprecated-declarations]

  MFRC522Extended(uint8_t rst) : MFRC522(rst) {};

                                            ^

In file included from C:\Users\marce\Documents\Arduino\libraries\MFRC522\src\MFRC522Extended.h:10:0,

                 from C:\Users\marce\Documents\Arduino\libraries\MFRC522\src\MFRC522Extended.cpp:8:

C:\Users\marce\Documents\Arduino\libraries\MFRC522\src\MFRC522.h:339:2: note: declared here

  MFRC522(byte resetPowerDownPin);

  ^

C:\Users\marce\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp: In member function 'bool MFRC522::MIFARE_SetUid(byte*, byte, bool)':

C:\Users\marce\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:1853:7: warning: 'bool MFRC522::MIFARE_OpenUidBackdoor(bool)' is deprecated: will move to extra class in next version [-Wdeprecated-declarations]

  if (!MIFARE_OpenUidBackdoor(logErrors)) {

       ^

C:\Users\marce\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:1709:6: note: declared here

 bool MFRC522::MIFARE_OpenUidBackdoor(bool logErrors) {

      ^

C:\Users\marce\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:1853:39: warning: 'bool MFRC522::MIFARE_OpenUidBackdoor(bool)' is deprecated: will move to extra class in next version [-Wdeprecated-declarations]

  if (!MIFARE_OpenUidBackdoor(logErrors)) {

                                       ^

C:\Users\marce\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:1709:6: note: declared here

 bool MFRC522::MIFARE_OpenUidBackdoor(bool logErrors) {

      ^

C:\Users\marce\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp: In member function 'bool MFRC522::MIFARE_UnbrickUidSector(bool)':

C:\Users\marce\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:1882:2: warning: 'bool MFRC522::MIFARE_OpenUidBackdoor(bool)' is deprecated: will move to extra class in next version [-Wdeprecated-declarations]

  MIFARE_OpenUidBackdoor(logErrors);

  ^

C:\Users\marce\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:1709:6: note: declared here

 bool MFRC522::MIFARE_OpenUidBackdoor(bool logErrors) {

      ^

C:\Users\marce\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:1882:34: warning: 'bool MFRC522::MIFARE_OpenUidBackdoor(bool)' is deprecated: will move to extra class in next version [-Wdeprecated-declarations]

  MIFARE_OpenUidBackdoor(logErrors);

                                  ^

C:\Users\marce\Documents\Arduino\libraries\MFRC522\src\MFRC522.cpp:1709:6: note: declared here

 bool MFRC522::MIFARE_OpenUidBackdoor(bool logErrors) {

      ^

C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\cores\arduino\HardwareSerial.cpp: In member function 'availableForWrite':

C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\hardware\arduino\avr\cores\arduino\HardwareSerial.cpp:203:1: internal compiler error: Segmentation fault

 }

 ^

Please submit a full bug report,

with preprocessed source if appropriate.

See <http://gcc.gnu.org/bugs.html> for instructions.

lto-wrapper.exe: fatal error: C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.21.0_x86__mdqgnx93n4wtt\hardware\tools\avr/bin/avr-gcc returned 1 exit status

compilation terminated.

c:/program files/windowsapps/arduinollc.arduinoide_1.8.21.0_x86__mdqgnx93n4wtt/hardware/tools/avr/bin/../lib/gcc/avr/5.4.0/../../../../avr/bin/ld.exe: error: lto-wrapper failed

collect2.exe: error: ld returned 1 exit status

exit status 1
Fehler beim Kompilieren für das Board Arduino Nano.

EDIT: Bitte für Code und Fehlermeldungen den </> Knopf verwenden!!!

Siehe #software FAQ:

  • Ich bekomme viele Fehlermeldungen (Segmentation Fault) wenn ich die Firmware kompilieren will und benutze die Arduino IDE aus dem Windows App Store.

Oh mann, wie blöd…
Dank dir!

1 Like