könnte man sich dann evt. so behelfen:

#ifndef BUFFER_LENGTH
#define BUFFER_LENGTH 32
#endif



- - - Aktualisiert - - -

update:
nein, auch nicht ...
Code:
Arduino: 1.8.5 (Windows 7), Board: "Adafruit Feather M4 Express (SAMD51), Enabled"

D:\arduino\arduino-builder -dump-prefs -logger=machine -hardware D:\arduino\hardware -hardware D:\arduino\portable\packages -tools D:\arduino\tools-builder -tools D:\arduino\hardware\tools\avr -tools D:\arduino\portable\packages -built-in-libraries D:\arduino\libraries -libraries D:\Arduino\portable\libraries -fqbn=adafruit:samd:adafruit_feather_m4:cache=on -ide-version=10805 -build-path C:\Users\LOKALE~1\AppData\Local\Temp\arduino_build_630878 -warnings=all -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arm-none-eabi-gcc.path=D:\arduino\portable\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1 -prefs=runtime.tools.openocd.path=D:\arduino\portable\packages\arduino\tools\openocd\0.9.0-arduino -prefs=runtime.tools.CMSIS.path=D:\arduino\portable\packages\arduino\tools\CMSIS\4.5.0 -prefs=runtime.tools.CMSIS-Atmel.path=D:\arduino\portable\packages\arduino\tools\CMSIS-Atmel\1.2.0 -prefs=runtime.tools.bossac.path=D:\arduino\portable\packages\arduino\tools\bossac\1.8.0-48-gb176eee -verbose D:\Akten\Programmierung\arduinoProgs\driver\MPU6050-h-Examples\MPU6050_DMP6_002\MPU6050_DMP6_002.ino
D:\arduino\arduino-builder -compile -logger=machine -hardware D:\arduino\hardware -hardware D:\arduino\portable\packages -tools D:\arduino\tools-builder -tools D:\arduino\hardware\tools\avr -tools D:\arduino\portable\packages -built-in-libraries D:\arduino\libraries -libraries D:\Arduino\portable\libraries -fqbn=adafruit:samd:adafruit_feather_m4:cache=on -ide-version=10805 -build-path C:\Users\LOKALE~1\AppData\Local\Temp\arduino_build_630878 -warnings=all -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arm-none-eabi-gcc.path=D:\arduino\portable\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1 -prefs=runtime.tools.openocd.path=D:\arduino\portable\packages\arduino\tools\openocd\0.9.0-arduino -prefs=runtime.tools.CMSIS.path=D:\arduino\portable\packages\arduino\tools\CMSIS\4.5.0 -prefs=runtime.tools.CMSIS-Atmel.path=D:\arduino\portable\packages\arduino\tools\CMSIS-Atmel\1.2.0 -prefs=runtime.tools.bossac.path=D:\arduino\portable\packages\arduino\tools\bossac\1.8.0-48-gb176eee -verbose D:\Akten\Programmierung\arduinoProgs\driver\MPU6050-h-Examples\MPU6050_DMP6_002\MPU6050_DMP6_002.ino
Using board 'adafruit_feather_m4' from platform in folder: D:\arduino\portable\packages\adafruit\hardware\samd\1.2.3
Using core 'arduino' from platform in folder: D:\arduino\portable\packages\adafruit\hardware\samd\1.2.3
WARNUNG: Kategorie '' in der Bibliothek XPT2046 ist ungültig und wird auf 'Uncategorized' festgelegt
Detecting libraries used...
"D:\arduino\portable\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions  -w -x c++ -E -CC -DF_CPU=120000000L -DARDUINO=10805 -DARDUINO_FEATHER_M4 -DARDUINO_ARCH_SAMD  -D__SAMD51J19A__  -DADAFRUIT_FEATHER_M4_EXPRESS  -D__SAMD51__ -DUSB_VID=0x239A -DUSB_PID=0x8022 -DUSBCON '-DUSB_MANUFACTURER="Adafruit LLC"' '-DUSB_PRODUCT="Adafruit Feather M4"' -D__FPU_PRESENT -DARM_MATH_CM4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -DENABLE_CACHE "-ID:\arduino\portable\packages\arduino\tools\CMSIS\4.5.0/CMSIS/Include/" "-ID:\arduino\portable\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/" "-ID:\arduino\portable\packages\adafruit\hardware\samd\1.2.3\cores\arduino" "-ID:\arduino\portable\packages\adafruit\hardware\samd\1.2.3\variants\feather_m4" "C:\Users\LOKALE~1\AppData\Local\Temp\arduino_build_630878\sketch\MPU6050_DMP6_002.ino.cpp" -o "nul"
"D:\arduino\portable\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions  -w -x c++ -E -CC -DF_CPU=120000000L -DARDUINO=10805 -DARDUINO_FEATHER_M4 -DARDUINO_ARCH_SAMD  -D__SAMD51J19A__  -DADAFRUIT_FEATHER_M4_EXPRESS  -D__SAMD51__ -DUSB_VID=0x239A -DUSB_PID=0x8022 -DUSBCON '-DUSB_MANUFACTURER="Adafruit LLC"' '-DUSB_PRODUCT="Adafruit Feather M4"' -D__FPU_PRESENT -DARM_MATH_CM4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -DENABLE_CACHE "-ID:\arduino\portable\packages\arduino\tools\CMSIS\4.5.0/CMSIS/Include/" "-ID:\arduino\portable\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/" "-ID:\arduino\portable\packages\adafruit\hardware\samd\1.2.3\cores\arduino" "-ID:\arduino\portable\packages\adafruit\hardware\samd\1.2.3\variants\feather_m4" "-ID:\Arduino\portable\libraries\I2Cdev" "C:\Users\LOKALE~1\AppData\Local\Temp\arduino_build_630878\sketch\MPU6050_DMP6_002.ino.cpp" -o "nul"
"D:\arduino\portable\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions  -w -x c++ -E -CC -DF_CPU=120000000L -DARDUINO=10805 -DARDUINO_FEATHER_M4 -DARDUINO_ARCH_SAMD  -D__SAMD51J19A__  -DADAFRUIT_FEATHER_M4_EXPRESS  -D__SAMD51__ -DUSB_VID=0x239A -DUSB_PID=0x8022 -DUSBCON '-DUSB_MANUFACTURER="Adafruit LLC"' '-DUSB_PRODUCT="Adafruit Feather M4"' -D__FPU_PRESENT -DARM_MATH_CM4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -DENABLE_CACHE "-ID:\arduino\portable\packages\arduino\tools\CMSIS\4.5.0/CMSIS/Include/" "-ID:\arduino\portable\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/" "-ID:\arduino\portable\packages\adafruit\hardware\samd\1.2.3\cores\arduino" "-ID:\arduino\portable\packages\adafruit\hardware\samd\1.2.3\variants\feather_m4" "-ID:\Arduino\portable\libraries\I2Cdev" "-ID:\arduino\portable\packages\adafruit\hardware\samd\1.2.3\libraries\Wire" "C:\Users\LOKALE~1\AppData\Local\Temp\arduino_build_630878\sketch\MPU6050_DMP6_002.ino.cpp" -o "nul"
"D:\arduino\portable\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions  -w -x c++ -E -CC -DF_CPU=120000000L -DARDUINO=10805 -DARDUINO_FEATHER_M4 -DARDUINO_ARCH_SAMD  -D__SAMD51J19A__  -DADAFRUIT_FEATHER_M4_EXPRESS  -D__SAMD51__ -DUSB_VID=0x239A -DUSB_PID=0x8022 -DUSBCON '-DUSB_MANUFACTURER="Adafruit LLC"' '-DUSB_PRODUCT="Adafruit Feather M4"' -D__FPU_PRESENT -DARM_MATH_CM4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -DENABLE_CACHE "-ID:\arduino\portable\packages\arduino\tools\CMSIS\4.5.0/CMSIS/Include/" "-ID:\arduino\portable\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/" "-ID:\arduino\portable\packages\adafruit\hardware\samd\1.2.3\cores\arduino" "-ID:\arduino\portable\packages\adafruit\hardware\samd\1.2.3\variants\feather_m4" "-ID:\Arduino\portable\libraries\I2Cdev" "-ID:\arduino\portable\packages\adafruit\hardware\samd\1.2.3\libraries\Wire" "-ID:\Arduino\portable\libraries\MPU6050" "C:\Users\LOKALE~1\AppData\Local\Temp\arduino_build_630878\sketch\MPU6050_DMP6_002.ino.cpp" -o "nul"
"D:\arduino\portable\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions  -w -x c++ -E -CC -DF_CPU=120000000L -DARDUINO=10805 -DARDUINO_FEATHER_M4 -DARDUINO_ARCH_SAMD  -D__SAMD51J19A__  -DADAFRUIT_FEATHER_M4_EXPRESS  -D__SAMD51__ -DUSB_VID=0x239A -DUSB_PID=0x8022 -DUSBCON '-DUSB_MANUFACTURER="Adafruit LLC"' '-DUSB_PRODUCT="Adafruit Feather M4"' -D__FPU_PRESENT -DARM_MATH_CM4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -DENABLE_CACHE "-ID:\arduino\portable\packages\arduino\tools\CMSIS\4.5.0/CMSIS/Include/" "-ID:\arduino\portable\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/" "-ID:\arduino\portable\packages\adafruit\hardware\samd\1.2.3\cores\arduino" "-ID:\arduino\portable\packages\adafruit\hardware\samd\1.2.3\variants\feather_m4" "-ID:\Arduino\portable\libraries\I2Cdev" "-ID:\arduino\portable\packages\adafruit\hardware\samd\1.2.3\libraries\Wire" "-ID:\Arduino\portable\libraries\MPU6050" "D:\Arduino\portable\libraries\I2Cdev\I2Cdev.cpp" -o "nul"
"D:\arduino\portable\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions  -w -x c++ -E -CC -DF_CPU=120000000L -DARDUINO=10805 -DARDUINO_FEATHER_M4 -DARDUINO_ARCH_SAMD  -D__SAMD51J19A__  -DADAFRUIT_FEATHER_M4_EXPRESS  -D__SAMD51__ -DUSB_VID=0x239A -DUSB_PID=0x8022 -DUSBCON '-DUSB_MANUFACTURER="Adafruit LLC"' '-DUSB_PRODUCT="Adafruit Feather M4"' -D__FPU_PRESENT -DARM_MATH_CM4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -DENABLE_CACHE "-ID:\arduino\portable\packages\arduino\tools\CMSIS\4.5.0/CMSIS/Include/" "-ID:\arduino\portable\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/" "-ID:\arduino\portable\packages\adafruit\hardware\samd\1.2.3\cores\arduino" "-ID:\arduino\portable\packages\adafruit\hardware\samd\1.2.3\variants\feather_m4" "-ID:\Arduino\portable\libraries\I2Cdev" "-ID:\arduino\portable\packages\adafruit\hardware\samd\1.2.3\libraries\Wire" "-ID:\Arduino\portable\libraries\MPU6050" "D:\arduino\portable\packages\adafruit\hardware\samd\1.2.3\libraries\Wire\Wire.cpp" -o "nul"
"D:\arduino\portable\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions  -w -x c++ -E -CC -DF_CPU=120000000L -DARDUINO=10805 -DARDUINO_FEATHER_M4 -DARDUINO_ARCH_SAMD  -D__SAMD51J19A__  -DADAFRUIT_FEATHER_M4_EXPRESS  -D__SAMD51__ -DUSB_VID=0x239A -DUSB_PID=0x8022 -DUSBCON '-DUSB_MANUFACTURER="Adafruit LLC"' '-DUSB_PRODUCT="Adafruit Feather M4"' -D__FPU_PRESENT -DARM_MATH_CM4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -DENABLE_CACHE "-ID:\arduino\portable\packages\arduino\tools\CMSIS\4.5.0/CMSIS/Include/" "-ID:\arduino\portable\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/" "-ID:\arduino\portable\packages\adafruit\hardware\samd\1.2.3\cores\arduino" "-ID:\arduino\portable\packages\adafruit\hardware\samd\1.2.3\variants\feather_m4" "-ID:\Arduino\portable\libraries\I2Cdev" "-ID:\arduino\portable\packages\adafruit\hardware\samd\1.2.3\libraries\Wire" "-ID:\Arduino\portable\libraries\MPU6050" "D:\Arduino\portable\libraries\MPU6050\MPU6050.cpp" -o "nul"
Generating function prototypes...
"D:\arduino\portable\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions  -w -x c++ -E -CC -DF_CPU=120000000L -DARDUINO=10805 -DARDUINO_FEATHER_M4 -DARDUINO_ARCH_SAMD  -D__SAMD51J19A__  -DADAFRUIT_FEATHER_M4_EXPRESS  -D__SAMD51__ -DUSB_VID=0x239A -DUSB_PID=0x8022 -DUSBCON '-DUSB_MANUFACTURER="Adafruit LLC"' '-DUSB_PRODUCT="Adafruit Feather M4"' -D__FPU_PRESENT -DARM_MATH_CM4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -DENABLE_CACHE "-ID:\arduino\portable\packages\arduino\tools\CMSIS\4.5.0/CMSIS/Include/" "-ID:\arduino\portable\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/" "-ID:\arduino\portable\packages\adafruit\hardware\samd\1.2.3\cores\arduino" "-ID:\arduino\portable\packages\adafruit\hardware\samd\1.2.3\variants\feather_m4" "-ID:\Arduino\portable\libraries\I2Cdev" "-ID:\arduino\portable\packages\adafruit\hardware\samd\1.2.3\libraries\Wire" "-ID:\Arduino\portable\libraries\MPU6050" "C:\Users\LOKALE~1\AppData\Local\Temp\arduino_build_630878\sketch\MPU6050_DMP6_002.ino.cpp" -o "C:\Users\LOKALE~1\AppData\Local\Temp\arduino_build_630878\preproc\ctags_target_for_gcc_minus_e.cpp"
"D:\arduino\tools-builder\ctags\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\Users\LOKALE~1\AppData\Local\Temp\arduino_build_630878\preproc\ctags_target_for_gcc_minus_e.cpp"
Sketch wird kompiliert...
"D:\arduino\portable\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mthumb -c -g -Os -Wall -Wextra -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -MMD -DF_CPU=120000000L -DARDUINO=10805 -DARDUINO_FEATHER_M4 -DARDUINO_ARCH_SAMD  -D__SAMD51J19A__  -DADAFRUIT_FEATHER_M4_EXPRESS  -D__SAMD51__ -DUSB_VID=0x239A -DUSB_PID=0x8022 -DUSBCON '-DUSB_MANUFACTURER="Adafruit LLC"' '-DUSB_PRODUCT="Adafruit Feather M4"' -D__FPU_PRESENT -DARM_MATH_CM4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -DENABLE_CACHE "-ID:\arduino\portable\packages\arduino\tools\CMSIS\4.5.0/CMSIS/Include/" "-ID:\arduino\portable\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/" "-ID:\arduino\portable\packages\adafruit\hardware\samd\1.2.3\cores\arduino" "-ID:\arduino\portable\packages\adafruit\hardware\samd\1.2.3\variants\feather_m4" "-ID:\Arduino\portable\libraries\I2Cdev" "-ID:\arduino\portable\packages\adafruit\hardware\samd\1.2.3\libraries\Wire" "-ID:\Arduino\portable\libraries\MPU6050" "C:\Users\LOKALE~1\AppData\Local\Temp\arduino_build_630878\sketch\MPU6050_DMP6_002.ino.cpp" -o "C:\Users\LOKALE~1\AppData\Local\Temp\arduino_build_630878\sketch\MPU6050_DMP6_002.ino.cpp.o"
In file included from D:\arduino\portable\packages\adafruit\hardware\samd\1.2.3\cores\arduino/Arduino.h:78:0,

                 from C:\Users\LOKALE~1\AppData\Local\Temp\arduino_build_630878\sketch\MPU6050_DMP6_002.ino.cpp:1:

D:\arduino\portable\packages\adafruit\hardware\samd\1.2.3\cores\arduino/HardwareSerial.h:71:18: warning: unused parameter 'baudrate' [-Wunused-parameter]

     virtual void begin(unsigned long baudrate, uint16_t config) {}

                  ^

D:\arduino\portable\packages\adafruit\hardware\samd\1.2.3\cores\arduino/HardwareSerial.h:71:18: warning: unused parameter 'config' [-Wunused-parameter]

In file included from D:\Akten\Programmierung\arduinoProgs\driver\MPU6050-h-Examples\MPU6050_DMP6_002\MPU6050_DMP6_002.ino:60:0:

D:\Arduino\portable\libraries\MPU6050/MPU6050_6Axis_MotionApps20.h:743:9: warning: unused parameter 'dmpData' [-Wunused-parameter]

 uint8_t MPU6050::dmpProcessFIFOPacket(const unsigned char *dmpData) {

         ^

Compiling libraries...
Compiling library "I2Cdev"
"D:\arduino\portable\packages\arduino\tools\arm-none-eabi-gcc\4.8.3-2014q1/bin/arm-none-eabi-g++" -mcpu=cortex-m4 -mthumb -c -g -Os -Wall -Wextra -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -MMD -DF_CPU=120000000L -DARDUINO=10805 -DARDUINO_FEATHER_M4 -DARDUINO_ARCH_SAMD  -D__SAMD51J19A__  -DADAFRUIT_FEATHER_M4_EXPRESS  -D__SAMD51__ -DUSB_VID=0x239A -DUSB_PID=0x8022 -DUSBCON '-DUSB_MANUFACTURER="Adafruit LLC"' '-DUSB_PRODUCT="Adafruit Feather M4"' -D__FPU_PRESENT -DARM_MATH_CM4 -mfloat-abi=hard -mfpu=fpv4-sp-d16 -DENABLE_CACHE "-ID:\arduino\portable\packages\arduino\tools\CMSIS\4.5.0/CMSIS/Include/" "-ID:\arduino\portable\packages\arduino\tools\CMSIS-Atmel\1.2.0/CMSIS/Device/ATMEL/" "-ID:\arduino\portable\packages\adafruit\hardware\samd\1.2.3\cores\arduino" "-ID:\arduino\portable\packages\adafruit\hardware\samd\1.2.3\variants\feather_m4" "-ID:\Arduino\portable\libraries\I2Cdev" "-ID:\arduino\portable\packages\adafruit\hardware\samd\1.2.3\libraries\Wire" "-ID:\Arduino\portable\libraries\MPU6050" "D:\Arduino\portable\libraries\I2Cdev\I2Cdev.cpp" -o "C:\Users\LOKALE~1\AppData\Local\Temp\arduino_build_630878\libraries\I2Cdev\I2Cdev.cpp.o"
D:\Arduino\portable\libraries\I2Cdev\I2Cdev.cpp:64:14: warning: #warning Using current Arduino IDE with Wire library is functionally limiting. [-Wcpp]

             #warning Using current Arduino IDE with Wire library is functionally limiting.

              ^

D:\Arduino\portable\libraries\I2Cdev\I2Cdev.cpp:65:14: warning: #warning Arduino IDE v1.0.1+ with I2CDEV_BUILTIN_FASTWIRE implementation is recommended. [-Wcpp]

             #warning Arduino IDE v1.0.1+ with I2CDEV_BUILTIN_FASTWIRE implementation is recommended.

              ^

D:\Arduino\portable\libraries\I2Cdev\I2Cdev.cpp:66:14: warning: #warning This I2Cdev implementation does not support: [-Wcpp]

             #warning This I2Cdev implementation does not support:

              ^

D:\Arduino\portable\libraries\I2Cdev\I2Cdev.cpp:67:14: warning: #warning - Timeout detection (some Wire requests block forever) [-Wcpp]

             #warning - Timeout detection (some Wire requests block forever)

              ^

In file included from D:\arduino\portable\packages\adafruit\hardware\samd\1.2.3\cores\arduino/Arduino.h:78:0,

                 from D:\Arduino\portable\libraries\I2Cdev\I2Cdev.h:77,

                 from D:\Arduino\portable\libraries\I2Cdev\I2Cdev.cpp:46:

D:\arduino\portable\packages\adafruit\hardware\samd\1.2.3\cores\arduino/HardwareSerial.h:71:18: warning: unused parameter 'baudrate' [-Wunused-parameter]

     virtual void begin(unsigned long baudrate, uint16_t config) {}

                  ^

D:\arduino\portable\packages\adafruit\hardware\samd\1.2.3\cores\arduino/HardwareSerial.h:71:18: warning: unused parameter 'config' [-Wunused-parameter]

In file included from D:\Arduino\portable\libraries\I2Cdev\I2Cdev.h:77:0,

                 from D:\Arduino\portable\libraries\I2Cdev\I2Cdev.cpp:46:

D:\Arduino\portable\libraries\I2Cdev\I2Cdev.cpp: In static member function 'static int8_t I2Cdev::readBytes(uint8_t, uint8_t, uint8_t, uint8_t*, uint16_t)':

D:\Arduino\portable\libraries\I2Cdev\I2Cdev.cpp:276:62: error: 'BUFFER_LENGTH' was not declared in this scope

             for (uint8_t k = 0; k < length; k += min(length, BUFFER_LENGTH)) {

                                                              ^

D:\arduino\portable\packages\adafruit\hardware\samd\1.2.3\cores\arduino/Arduino.h:100:24: note: in definition of macro 'min'

 #define min(a,b) ((a)<(b)?(a):(b))

                        ^

D:\Arduino\portable\libraries\I2Cdev\I2Cdev.cpp: In static member function 'static int8_t I2Cdev::readWords(uint8_t, uint8_t, uint8_t, uint16_t*, uint16_t)':

D:\Arduino\portable\libraries\I2Cdev\I2Cdev.cpp:414:70: error: 'BUFFER_LENGTH' was not declared in this scope

             for (uint8_t k = 0; k < length * 2; k += min(length * 2, BUFFER_LENGTH)) {

                                                                      ^

D:\arduino\portable\packages\adafruit\hardware\samd\1.2.3\cores\arduino/Arduino.h:100:24: note: in definition of macro 'min'

 #define min(a,b) ((a)<(b)?(a):(b))

                        ^

Bibliothek I2Cdev im Ordner: D:\Arduino\portable\libraries\I2Cdev (legacy) wird verwendet
Bibliothek Wire in Version 1.0 im Ordner: D:\arduino\portable\packages\adafruit\hardware\samd\1.2.3\libraries\Wire  wird verwendet
Bibliothek MPU6050 im Ordner: D:\Arduino\portable\libraries\MPU6050 (legacy) wird verwendet
exit status 1
Fehler beim Kompilieren für das Board Adafruit Feather M4 Express (SAMD51).