arduino-libraries / Arduino_USBHostMbed5

Apache License 2.0
4 stars 11 forks source link

GIGA R1 - Builds generate a lot of compiler warnings! (USBHALHost_STM.cpp) #30

Open KurtE opened 1 year ago

KurtE commented 1 year ago

This maybe is related to the crash as defined in #29

When you build a sketch such as the dirlist example for this library, it will generate a lot of compiler warnings. Note: with the build caching, you may have to clear out the build cache to see these warnings after the first time you do a compile of the sketch.

"C:\\Users\\kurte\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\7-2017q4/bin/arm-none-eabi-g++" -c -Wall -Wextra -g3 -nostdlib "@C:\\Users\\kurte\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_giga\\4.0.8\\variants\\GIGA/defines.txt" "@C:\\Users\\kurte\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_giga\\4.0.8\\variants\\GIGA/cxxflags.txt" -MMD -mcpu=cortex-m7 -mfloat-abi=softfp -mfpu=fpv5-d16 -DARDUINO=10607 -DARDUINO_GIGA -DARDUINO_ARCH_MBED_GIGA -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=0 "-IC:\\Users\\kurte\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_giga\\4.0.8\\cores\\arduino" "-IC:\\Users\\kurte\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_giga\\4.0.8\\variants\\GIGA" "-Ic:\\Users\\kurte\\Documents\\Arduino\\libraries\\Arduino_USBHostMbed5\\src" -DCM4_BINARY_START=0x60000000 -DCM4_BINARY_END=0x60040000 -DCM4_RAM_END=0x60080000 "-IC:\\Users\\kurte\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_giga\\4.0.8\\cores\\arduino/api/deprecated" "-IC:\\Users\\kurte\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_giga\\4.0.8\\cores\\arduino/api/deprecated-avr-comp" "-iprefixC:\\Users\\kurte\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_giga\\4.0.8\\cores\\arduino" "@C:\\Users\\kurte\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\mbed_giga\\4.0.8\\variants\\GIGA/includes.txt" "c:\\Users\\kurte\\Documents\\Arduino\\libraries\\Arduino_USBHostMbed5\\src\\targets\\TARGET_STM\\USBHALHost_STM.cpp" -o "C:\\Users\\kurte\\AppData\\Local\\Temp\\arduino\\sketches\\0796A63DB76D221868BE353872FAE80B\\libraries\\Arduino_USBHostMbed5\\targets\\TARGET_STM\\USBHALHost_STM.cpp.o"
In file included from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\variants\GIGA/pinmode_arduino.h:23:0,
                 from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/Arduino.h:26,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src/USBHost/USBHostConf.h:23,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHostHub\USBHostHub.h:20,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHostHub\USBHostHub.cpp:17:
C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\variants\GIGA/mbed_config.h:260:0: warning: "MBED_CONF_PLATFORM_CALLBACK_NONTRIVIAL" redefined
 #define MBED_CONF_PLATFORM_CALLBACK_NONTRIVIAL                                  1                                                                                                // set by application[*]

In file included from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHostHub\USBHostHub.h:20:0,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHostHub\USBHostHub.cpp:17:
c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src/USBHost/USBHostConf.h:21:0: note: this is the location of the previous definition
 #define MBED_CONF_PLATFORM_CALLBACK_NONTRIVIAL  0

c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHostHub\USBHostHub.cpp: In member function 'bool USBHostHub::connect(USBDeviceConnected*)':
c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHostHub\USBHostHub.cpp:125:45: warning: 'void rtos::ThisThread::sleep_for(uint32_t)' is deprecated: Pass a chrono duration, not an integer millisecond count. For example use `5s` rather than `5000`. [since mbed-os-6.0.0] [-Wdeprecated-declarations]
         rtos::ThisThread::sleep_for(buf[5]*2);
                                             ^
In file included from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/rtos/include/rtos/rtos.h:30:0,
                 from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/mbed.h:24,
                 from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed.h:8,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src/USBHost/USBHostTypes.h:20,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHostHub\USBHostHub.h:24,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHostHub\USBHostHub.cpp:17:
C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/rtos/include/rtos/ThisThread.h:216:6: note: declared here
 void sleep_for(uint32_t millisec);
      ^~~~~~~~~
c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHostHub\USBHostHub.cpp: In member function 'void USBHostHub::portReset(uint8_t)':
c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHostHub\USBHostHub.cpp:252:39: warning: 'void rtos::ThisThread::sleep_for(uint32_t)' is deprecated: Pass a chrono duration, not an integer millisecond count. For example use `5s` rather than `5000`. [since mbed-os-6.0.0] [-Wdeprecated-declarations]
         rtos::ThisThread::sleep_for(10);
                                       ^
In file included from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/rtos/include/rtos/rtos.h:30:0,
                 from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/mbed.h:24,
                 from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed.h:8,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src/USBHost/USBHostTypes.h:20,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHostHub\USBHostHub.h:24,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHostHub\USBHostHub.cpp:17:
C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/rtos/include/rtos/ThisThread.h:216:6: note: declared here
 void sleep_for(uint32_t millisec);
      ^~~~~~~~~
In file included from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\variants\GIGA/pinmode_arduino.h:23:0,
                 from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/Arduino.h:26,
                 from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed.h:4,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src/USBHost/USBHostTypes.h:20,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src/USBHost/USBEndpoint.h:23,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\targets\TARGET_STM\USBEndpoint_STM.cpp:22:
C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\variants\GIGA/mbed_config.h:260:0: warning: "MBED_CONF_PLATFORM_CALLBACK_NONTRIVIAL" redefined
 #define MBED_CONF_PLATFORM_CALLBACK_NONTRIVIAL                                  1                                                                                                // set by application[*]

In file included from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\targets\TARGET_STM\USBEndpoint_STM.cpp:22:0:
c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src/USBHost/USBEndpoint.h:21:0: note: this is the location of the previous definition
 #define MBED_CONF_PLATFORM_CALLBACK_NONTRIVIAL  0

c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\targets\TARGET_STM\USBEndpoint_STM.cpp: In member function 'void USBEndpoint::init(HCED*, ENDPOINT_TYPE, ENDPOINT_DIRECTION, uint32_t, uint8_t, HCTD**)':
c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\targets\TARGET_STM\USBEndpoint_STM.cpp:67:19: warning: 'osEvent rtos::Queue<T, queue_sz>::get(uint32_t) [with T = unsigned char; long unsigned int queue_sz = 1; uint32_t = long unsigned int]' is deprecated: Replaced with try_get and try_get_for. In future get will be an untimed blocking call. [since mbed-os-6.0.0] [-Wdeprecated-declarations]
     ep_queue.get(0);
                   ^
In file included from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/rtos/include/rtos/Mail.h:29:0,
                 from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/rtos/include/rtos/rtos.h:33,
                 from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/mbed.h:24,
                 from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed.h:8,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src/USBHost/USBHostTypes.h:20,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src/USBHost/USBEndpoint.h:23,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\targets\TARGET_STM\USBEndpoint_STM.cpp:22:
C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/rtos/include/rtos/Queue.h:311:13: note: declared here
     osEvent get(uint32_t millisec = osWaitForever)
             ^~~
c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\targets\TARGET_STM\USBEndpoint_STM.cpp: In member function 'void USBEndpoint::setDeviceAddress(uint8_t)':
c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\targets\TARGET_STM\USBEndpoint_STM.cpp:84:24: warning: unused variable 'hhcd' [-Wunused-variable]
     HCD_HandleTypeDef *hhcd;
                        ^~~~
c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\targets\TARGET_STM\USBEndpoint_STM.cpp: In member function 'void USBEndpoint::setState(USB_TYPE)':
c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\targets\TARGET_STM\USBEndpoint_STM.cpp:115:44: warning: 'osStatus rtos::Queue<T, queue_sz>::put(T*, uint32_t, uint8_t) [with T = unsigned char; long unsigned int queue_sz = 1; osStatus = long int; uint32_t = long unsigned int; uint8_t = unsigned char]' is deprecated: Replaced with try_put and try_put_for. In future put will be an untimed blocking call. [since mbed-os-6.0.0] [-Wdeprecated-declarations]
             this->ep_queue.put((uint8_t *)1);
                                            ^
In file included from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/rtos/include/rtos/Mail.h:29:0,
                 from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/rtos/include/rtos/rtos.h:33,
                 from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/mbed.h:24,
                 from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed.h:8,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src/USBHost/USBHostTypes.h:20,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src/USBHost/USBEndpoint.h:23,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\targets\TARGET_STM\USBEndpoint_STM.cpp:22:
C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/rtos/include/rtos/Queue.h:219:14: note: declared here
     osStatus put(T *data, uint32_t millisec = 0, uint8_t prio = 0)
              ^~~
c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\targets\TARGET_STM\USBEndpoint_STM.cpp: In member function 'USB_TYPE USBEndpoint::queueTransfer()':
c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\targets\TARGET_STM\USBEndpoint_STM.cpp:179:19: warning: 'osEvent rtos::Queue<T, queue_sz>::get(uint32_t) [with T = unsigned char; long unsigned int queue_sz = 1; uint32_t = long unsigned int]' is deprecated: Replaced with try_get and try_get_for. In future get will be an untimed blocking call. [since mbed-os-6.0.0] [-Wdeprecated-declarations]
     ep_queue.get(0);
                   ^
In file included from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/rtos/include/rtos/Mail.h:29:0,
                 from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/rtos/include/rtos/rtos.h:33,
                 from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/mbed.h:24,
                 from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed.h:8,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src/USBHost/USBHostTypes.h:20,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src/USBHost/USBEndpoint.h:23,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\targets\TARGET_STM\USBEndpoint_STM.cpp:22:
C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/rtos/include/rtos/Queue.h:311:13: note: declared here
     osEvent get(uint32_t millisec = osWaitForever)
             ^~~
In file included from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\variants\GIGA/pinmode_arduino.h:23:0,
                 from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/Arduino.h:26,
                 from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed.h:4,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHost\USBHostTypes.h:20,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHost\USBEndpoint.h:23,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHost\USBEndpoint.cpp:19:
C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\variants\GIGA/mbed_config.h:260:0: warning: "MBED_CONF_PLATFORM_CALLBACK_NONTRIVIAL" redefined
 #define MBED_CONF_PLATFORM_CALLBACK_NONTRIVIAL                                  1                                                                                                // set by application[*]

In file included from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHost\USBEndpoint.cpp:19:0:
c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHost\USBEndpoint.h:21:0: note: this is the location of the previous definition
 #define MBED_CONF_PLATFORM_CALLBACK_NONTRIVIAL  0

In file included from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\variants\GIGA/pinmode_arduino.h:23:0,
                 from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/Arduino.h:26,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src/USBHost/USBHostConf.h:23,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHost3GModule\WANDongleSerialPort.cpp:19:
C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\variants\GIGA/mbed_config.h:260:0: warning: "MBED_CONF_PLATFORM_CALLBACK_NONTRIVIAL" redefined
 #define MBED_CONF_PLATFORM_CALLBACK_NONTRIVIAL                                  1                                                                                                // set by application[*]

In file included from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHost3GModule\WANDongleSerialPort.cpp:19:0:
c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src/USBHost/USBHostConf.h:21:0: note: this is the location of the previous definition
 #define MBED_CONF_PLATFORM_CALLBACK_NONTRIVIAL  0

c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHost3GModule\WANDongleSerialPort.cpp: In member function 'virtual int WANDongleSerialPort::readPacket()':
c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHost3GModule\WANDongleSerialPort.cpp:93:36: warning: 'void rtos::ThisThread::sleep_for(uint32_t)' is deprecated: Pass a chrono duration, not an integer millisecond count. For example use `5s` rather than `5000`. [since mbed-os-6.0.0] [-Wdeprecated-declarations]
     rtos::ThisThread::sleep_for(100);
                                    ^
In file included from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/rtos/include/rtos/rtos.h:30:0,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHost3GModule\WANDongleSerialPort.cpp:30:
C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/rtos/include/rtos/ThisThread.h:216:6: note: declared here
 void sleep_for(uint32_t millisec);
      ^~~~~~~~~
c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHost3GModule\WANDongleSerialPort.cpp: In member function 'virtual int WANDongleSerialPort::writePacket()':
c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHost3GModule\WANDongleSerialPort.cpp:126:36: warning: 'void rtos::ThisThread::sleep_for(uint32_t)' is deprecated: Pass a chrono duration, not an integer millisecond count. For example use `5s` rather than `5000`. [since mbed-os-6.0.0] [-Wdeprecated-declarations]
     rtos::ThisThread::sleep_for(100);
                                    ^
In file included from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/rtos/include/rtos/rtos.h:30:0,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHost3GModule\WANDongleSerialPort.cpp:30:
C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/rtos/include/rtos/ThisThread.h:216:6: note: declared here
 void sleep_for(uint32_t millisec);
      ^~~~~~~~~
In file included from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\variants\GIGA/pinmode_arduino.h:23:0,
                 from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/Arduino.h:26,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src/USBHost/USBHostConf.h:23,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHostHID\USBHostMouse.h:20,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHostHID\USBHostMouse.cpp:17:
C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\variants\GIGA/mbed_config.h:260:0: warning: "MBED_CONF_PLATFORM_CALLBACK_NONTRIVIAL" redefined
 #define MBED_CONF_PLATFORM_CALLBACK_NONTRIVIAL                                  1                                                                                                // set by application[*]

In file included from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHostHID\USBHostMouse.h:20:0,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHostHID\USBHostMouse.cpp:17:
c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src/USBHost/USBHostConf.h:21:0: note: this is the location of the previous definition
 #define MBED_CONF_PLATFORM_CALLBACK_NONTRIVIAL  0

c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHostHID\USBHostMouse.cpp: In member function 'bool USBHostMouse::connect()':
c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHostHID\USBHostMouse.cpp:83:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                     if (len_listen > sizeof(report)) {
                         ~~~~~~~~~~~^~~~~~~~~
c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHostHID\USBHostMouse.cpp: In member function 'void USBHostMouse::rxHandler()':
c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHostHID\USBHostMouse.cpp:137:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
     if (len_listen > sizeof(report)) {
         ~~~~~~~~~~~^~~~~~~~~
In file included from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\variants\GIGA/pinmode_arduino.h:23:0,
                 from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/Arduino.h:26,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src/USBHost/USBHostConf.h:23,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHostMIDI\USBHostMIDI.h:22,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHostMIDI\USBHostMIDI.cpp:19:
C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\variants\GIGA/mbed_config.h:260:0: warning: "MBED_CONF_PLATFORM_CALLBACK_NONTRIVIAL" redefined
 #define MBED_CONF_PLATFORM_CALLBACK_NONTRIVIAL                                  1                                                                                                // set by application[*]

In file included from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHostMIDI\USBHostMIDI.h:22:0,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHostMIDI\USBHostMIDI.cpp:19:
c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src/USBHost/USBHostConf.h:21:0: note: this is the location of the previous definition
 #define MBED_CONF_PLATFORM_CALLBACK_NONTRIVIAL  0

c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHostMIDI\USBHostMIDI.cpp: In member function 'bool USBHostMIDI::sendNoteOff(uint8_t, uint8_t, uint8_t)':
c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHostMIDI\USBHostMIDI.cpp:294:38: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]
     return sendMidiBuffer(8, channel & 0xf | 0x80, note & 0x7f, velocity & 0x7f);
                              ~~~~~~~~^~~~~
c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHostMIDI\USBHostMIDI.cpp: In member function 'bool USBHostMIDI::sendNoteOn(uint8_t, uint8_t, uint8_t)':
c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHostMIDI\USBHostMIDI.cpp:298:38: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]
     return sendMidiBuffer(9, channel & 0xf | 0x90, note & 0x7f, velocity & 0x7f);
                              ~~~~~~~~^~~~~
c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHostMIDI\USBHostMIDI.cpp: In member function 'bool USBHostMIDI::sendPolyKeyPress(uint8_t, uint8_t, uint8_t)':
c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHostMIDI\USBHostMIDI.cpp:302:39: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]
     return sendMidiBuffer(10, channel & 0xf | 0xa0, note & 0x7f, pressure & 0x7f);
                               ~~~~~~~~^~~~~
c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHostMIDI\USBHostMIDI.cpp: In member function 'bool USBHostMIDI::sendControlChange(uint8_t, uint8_t, uint8_t)':
c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHostMIDI\USBHostMIDI.cpp:306:39: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]
     return sendMidiBuffer(11, channel & 0xf | 0xb0, key & 0x7f, value & 0x7f);
                               ~~~~~~~~^~~~~
c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHostMIDI\USBHostMIDI.cpp: In member function 'bool USBHostMIDI::sendProgramChange(uint8_t, uint8_t)':
c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHostMIDI\USBHostMIDI.cpp:310:39: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]
     return sendMidiBuffer(12, channel & 0xf | 0xc0, program & 0x7f, 0);
                               ~~~~~~~~^~~~~
c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHostMIDI\USBHostMIDI.cpp: In member function 'bool USBHostMIDI::sendChannelPressure(uint8_t, uint8_t)':
c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHostMIDI\USBHostMIDI.cpp:314:39: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]
     return sendMidiBuffer(13, channel & 0xf | 0xd0, pressure & 0x7f, 0);
                               ~~~~~~~~^~~~~
c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHostMIDI\USBHostMIDI.cpp: In member function 'bool USBHostMIDI::sendPitchBend(uint8_t, uint16_t)':
c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHostMIDI\USBHostMIDI.cpp:318:39: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]
     return sendMidiBuffer(14, channel & 0xf | 0xe0, value & 0x7f, (value >> 7) & 0x7f);
                               ~~~~~~~~^~~~~
In file included from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\variants\GIGA/pinmode_arduino.h:23:0,
                 from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/Arduino.h:26,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src/USBHost/USBHostConf.h:23,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHostSerial\USBHostSerial.h:20,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHostSerial\USBHostSerial.cpp:17:
C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\variants\GIGA/mbed_config.h:260:0: warning: "MBED_CONF_PLATFORM_CALLBACK_NONTRIVIAL" redefined
 #define MBED_CONF_PLATFORM_CALLBACK_NONTRIVIAL                                  1                                                                                                // set by application[*]

In file included from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHostSerial\USBHostSerial.h:20:0,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHostSerial\USBHostSerial.cpp:17:
c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src/USBHost/USBHostConf.h:21:0: note: this is the location of the previous definition
 #define MBED_CONF_PLATFORM_CALLBACK_NONTRIVIAL  0

c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHostSerial\USBHostSerial.cpp: In member function 'void USBHostSerialPort::init()':
c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHostSerial\USBHostSerial.cpp:225:19: warning: converting to non-pointer type 'uint8_t {aka unsigned char}' from NULL [-Wconversion-null]
     serial_intf = NULL;
                   ^~~~
c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHostSerial\USBHostSerial.cpp: In member function 'virtual int USBHostSerialPort::writeBuf(const char*, int)':
c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHostSerial\USBHostSerial.cpp:322:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             int i = (s < size_bulk_out) ? s : size_bulk_out;
                      ~~^~~~~~~~~~~~~~~
In file included from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHostSerial\USBHostSerial.h:26:0,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHostSerial\USBHostSerial.cpp:17:
c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHostSerial\MtxCircBuffer.h: In instantiation of 'void MtxCircBuffer<T, size>::queue(T) [with T = unsigned char; int size = 128]':
c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHostSerial\USBHostSerial.cpp:262:38:   required from here
c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHostSerial\MtxCircBuffer.h:56:40: warning: 'void rtos::ThisThread::sleep_for(uint32_t)' is deprecated: Pass a chrono duration, not an integer millisecond count. For example use `5s` rather than `5000`. [since mbed-os-6.0.0] [-Wdeprecated-declarations]
             rtos::ThisThread::sleep_for(10);
             ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
In file included from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/rtos/include/rtos/rtos.h:30:0,
                 from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/mbed.h:24,
                 from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed.h:8,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src/USBHost/USBHost.h:20,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHostSerial\USBHostSerial.h:24,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHostSerial\USBHostSerial.cpp:17:
C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/rtos/include/rtos/ThisThread.h:216:6: note: declared here
 void sleep_for(uint32_t millisec);
      ^~~~~~~~~
In file included from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\variants\GIGA/pinmode_arduino.h:23:0,
                 from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/Arduino.h:26,
                 from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed.h:4,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src/USBHost/USBHostTypes.h:20,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src/USBHost/USBEndpoint.h:23,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHost\USBDeviceConnected.h:21,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHost\USBDeviceConnected.cpp:17:
C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\variants\GIGA/mbed_config.h:260:0: warning: "MBED_CONF_PLATFORM_CALLBACK_NONTRIVIAL" redefined
 #define MBED_CONF_PLATFORM_CALLBACK_NONTRIVIAL                                  1                                                                                                // set by application[*]

In file included from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHost\USBDeviceConnected.h:21:0,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHost\USBDeviceConnected.cpp:17:
c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src/USBHost/USBEndpoint.h:21:0: note: this is the location of the previous definition
 #define MBED_CONF_PLATFORM_CALLBACK_NONTRIVIAL  0

In file included from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\variants\GIGA/pinmode_arduino.h:23:0,
                 from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/Arduino.h:26,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src/USBHost/USBHostConf.h:23,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHostMSD\USBHostMSD.h:20,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHostMSD\USBHostMSD.cpp:17:
C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\variants\GIGA/mbed_config.h:260:0: warning: "MBED_CONF_PLATFORM_CALLBACK_NONTRIVIAL" redefined
 #define MBED_CONF_PLATFORM_CALLBACK_NONTRIVIAL                                  1                                                                                                // set by application[*]

In file included from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHostMSD\USBHostMSD.h:20:0,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHostMSD\USBHostMSD.cpp:17:
c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src/USBHost/USBHostConf.h:21:0: note: this is the location of the previous definition
 #define MBED_CONF_PLATFORM_CALLBACK_NONTRIVIAL  0

c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHostMSD\USBHostMSD.cpp: In member function 'virtual int USBHostMSD::init()':
c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHostMSD\USBHostMSD.cpp:351:40: warning: 'void rtos::ThisThread::sleep_for(uint32_t)' is deprecated: Pass a chrono duration, not an integer millisecond count. For example use `5s` rather than `5000`. [since mbed-os-6.0.0] [-Wdeprecated-declarations]
         rtos::ThisThread::sleep_for(100);
                                        ^
In file included from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/rtos/include/rtos/rtos.h:30:0,
                 from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/mbed.h:24,
                 from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed.h:8,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src/USBHost/USBHost.h:20,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHostMSD\USBHostMSD.h:24,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHostMSD\USBHostMSD.cpp:17:
C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/rtos/include/rtos/ThisThread.h:216:6: note: declared here
 void sleep_for(uint32_t millisec);
      ^~~~~~~~~
c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHostMSD\USBHostMSD.cpp:348:31: warning: unused variable 'ret' [-Wunused-variable]
     uint16_t i, timeout = 10, ret;
                               ^~~
In file included from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\variants\GIGA/pinmode_arduino.h:23:0,
                 from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/Arduino.h:26,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src/USBHost/USBHostConf.h:23,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHostHID\USBHostKeyboard.h:20,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHostHID\USBHostKeyboard.cpp:17:
C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\variants\GIGA/mbed_config.h:260:0: warning: "MBED_CONF_PLATFORM_CALLBACK_NONTRIVIAL" redefined
 #define MBED_CONF_PLATFORM_CALLBACK_NONTRIVIAL                                  1                                                                                                // set by application[*]

In file included from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHostHID\USBHostKeyboard.h:20:0,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHostHID\USBHostKeyboard.cpp:17:
c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src/USBHost/USBHostConf.h:21:0: note: this is the location of the previous definition
 #define MBED_CONF_PLATFORM_CALLBACK_NONTRIVIAL  0

In file included from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\targets\TARGET_STM\USBHALHost_STM.cpp:33:0:
c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\targets\TARGET_STM\USBHALHost_STM.h: In function 'void usb_vbus(uint8_t)':
c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\targets\TARGET_STM\USBHALHost_STM.h:152:37: warning: 'void rtos::ThisThread::sleep_for(uint32_t)' is deprecated: Pass a chrono duration, not an integer millisecond count. For example use `5s` rather than `5000`. [since mbed-os-6.0.0] [-Wdeprecated-declarations]
     rtos::ThisThread::sleep_for(1.0f);
                                     ^
In file included from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/rtos/include/rtos/rtos.h:30:0,
                 from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/mbed.h:24,
                 from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed.h:8,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\targets\TARGET_STM\USBHALHost_STM.cpp:27:
C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/rtos/include/rtos/ThisThread.h:216:6: note: declared here
 void sleep_for(uint32_t millisec);
      ^~~~~~~~~
In file included from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/targets/TARGET_STM/TARGET_STM32H7/STM32Cube_FW/STM32H7xx_HAL_Driver/stm32h7xx_hal_rcc.h:29:0,
                 from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/targets/TARGET_STM/TARGET_STM32H7/STM32Cube_FW/stm32h7xx_hal_conf.h:398,
                 from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/targets/TARGET_STM/TARGET_STM32H7/STM32Cube_FW/STM32H7xx_HAL_Driver/stm32h7xx_hal.h:30,
                 from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/targets/TARGET_STM/TARGET_STM32H7/STM32Cube_FW/CMSIS/stm32h7xx.h:223,
                 from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/targets/TARGET_STM/TARGET_STM32H7/cmsis.h:22,
                 from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/targets/TARGET_STM/PinNamesTypes.h:33,
                 from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\variants\GIGA/pinmode_arduino.h:24,
                 from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/Arduino.h:26,
                 from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed.h:4,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\targets\TARGET_STM\USBHALHost_STM.cpp:27:
c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\targets\TARGET_STM\USBHALHost_STM.h: In constructor 'USBHALHost::USBHALHost()':
C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/targets/TARGET_STM/TARGET_STM32H7/STM32Cube_FW/STM32H7xx_HAL_Driver/stm32h7xx_hal_rcc.h:1979:48: warning: conversion to void will not access object of type 'volatile uint32_t {aka volatile long unsigned int}'
                                         UNUSED(tmpreg); \
C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/targets/TARGET_STM/TARGET_STM32H7/STM32Cube_FW/STM32H7xx_HAL_Driver/stm32h7xx_hal_def.h:70:27: note: in definition of macro 'UNUSED'
 #define UNUSED(x) ((void)(x))
                           ^
C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/targets/TARGET_STM/TARGET_STM32H7/STM32Cube_FW/STM32H7xx_HAL_Driver/Legacy/stm32_hal_legacy.h:2779:26: note: in expansion of macro '__HAL_RCC_CRS_CLK_ENABLE'
 #define __CRS_CLK_ENABLE __HAL_RCC_CRS_CLK_ENABLE
                          ^~~~~~~~~~~~~~~~~~~~~~~~
c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\targets\TARGET_STM\USBHALHost_STM.h:183:5: note: in expansion of macro '__CRS_CLK_ENABLE'
     __CRS_CLK_ENABLE();
     ^
C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/targets/TARGET_STM/TARGET_STM32H7/STM32Cube_FW/STM32H7xx_HAL_Driver/stm32h7xx_hal_rcc.h:1438:48: warning: conversion to void will not access object of type 'volatile uint32_t {aka volatile long unsigned int}'
                                         UNUSED(tmpreg); \
C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/targets/TARGET_STM/TARGET_STM32H7/STM32Cube_FW/STM32H7xx_HAL_Driver/stm32h7xx_hal_def.h:70:27: note: in definition of macro 'UNUSED'
 #define UNUSED(x) ((void)(x))
                           ^
c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\targets\TARGET_STM\USBHALHost_STM.h:271:5: note: in expansion of macro '__HAL_RCC_GPIOB_CLK_ENABLE'
     __HAL_RCC_GPIOB_CLK_ENABLE();
     ^
C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/targets/TARGET_STM/TARGET_STM32H7/STM32Cube_FW/STM32H7xx_HAL_Driver/stm32h7xx_hal_rcc.h:1430:48: warning: conversion to void will not access object of type 'volatile uint32_t {aka volatile long unsigned int}'
                                         UNUSED(tmpreg); \
C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/targets/TARGET_STM/TARGET_STM32H7/STM32Cube_FW/STM32H7xx_HAL_Driver/stm32h7xx_hal_def.h:70:27: note: in definition of macro 'UNUSED'
 #define UNUSED(x) ((void)(x))
                           ^

(Truncated to fit the max size of post)

KurtE commented 1 year ago

(continued from the first)

c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\targets\TARGET_STM\USBHALHost_STM.h:109:30: note: in expansion of macro '__HAL_RCC_GPIOA_CLK_ENABLE'
 #define USB_POWERPIN_CONFIG {__HAL_RCC_GPIOA_CLK_ENABLE();gpio_init_out_ex(&gpio_powerpin, PA_15, USB_POWER_OFF);}
                              ^~~~~~~~~~~~~~~~~~~~~~~~~~
c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\targets\TARGET_STM\USBHALHost_STM.h:342:5: note: in expansion of macro 'USB_POWERPIN_CONFIG'
     USB_POWERPIN_CONFIG;
     ^
C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/targets/TARGET_STM/TARGET_STM32H7/STM32Cube_FW/STM32H7xx_HAL_Driver/stm32h7xx_hal_rcc.h:2423:48: warning: conversion to void will not access object of type 'volatile uint32_t {aka volatile long unsigned int}'
                                         UNUSED(tmpreg); \
C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/targets/TARGET_STM/TARGET_STM32H7/STM32Cube_FW/STM32H7xx_HAL_Driver/stm32h7xx_hal_def.h:70:27: note: in definition of macro 'UNUSED'
 #define UNUSED(x) ((void)(x))
                           ^
c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\targets\TARGET_STM\USBHALHost_STM.h:345:5: note: in expansion of macro '__HAL_RCC_SYSCFG_CLK_ENABLE'
     __HAL_RCC_SYSCFG_CLK_ENABLE();
     ^
C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/targets/TARGET_STM/TARGET_STM32H7/STM32Cube_FW/STM32H7xx_HAL_Driver/stm32h7xx_hal_rcc.h:1047:48: warning: conversion to void will not access object of type 'volatile uint32_t {aka volatile long unsigned int}'
                                         UNUSED(tmpreg); \
C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/targets/TARGET_STM/TARGET_STM32H7/STM32Cube_FW/STM32H7xx_HAL_Driver/stm32h7xx_hal_def.h:70:27: note: in definition of macro 'UNUSED'
 #define UNUSED(x) ((void)(x))
                           ^
C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/targets/TARGET_STM/TARGET_STM32H7/STM32Cube_FW/STM32H7xx_HAL_Driver/Legacy/stm32_hal_legacy.h:3145:56: note: in expansion of macro '__HAL_RCC_USB1_OTG_HS_CLK_ENABLE'
 #define __HAL_RCC_USB_OTG_HS_CLK_ENABLE()              __HAL_RCC_USB1_OTG_HS_CLK_ENABLE()
                                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\targets\TARGET_STM\USBHALHost_STM.h:353:5: note: in expansion of macro '__HAL_RCC_USB_OTG_HS_CLK_ENABLE'
     __HAL_RCC_USB_OTG_HS_CLK_ENABLE();
     ^
c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\targets\TARGET_STM\USBHALHost_STM.cpp: In function 'void HAL_HCD_EnableInt(HCD_HandleTypeDef*, uint8_t)':
c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\targets\TARGET_STM\USBHALHost_STM.cpp:63:28: warning: unused variable 'USBx' [-Wunused-variable]
     USB_OTG_GlobalTypeDef *USBx = hhcd->Instance;
                            ^~~~
c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\targets\TARGET_STM\USBHALHost_STM.cpp: In function 'void HAL_HCD_DisableInt(HCD_HandleTypeDef*, uint8_t)':
c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\targets\TARGET_STM\USBHALHost_STM.cpp:70:28: warning: unused variable 'USBx' [-Wunused-variable]
     USB_OTG_GlobalTypeDef *USBx = hhcd->Instance;
                            ^~~~
c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\targets\TARGET_STM\USBHALHost_STM.cpp: In function 'void HAL_HCD_HC_NotifyURBChange_Callback(HCD_HandleTypeDef*, uint8_t, HCD_URBStateTypeDef)':
c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\targets\TARGET_STM\USBHALHost_STM.cpp:109:20: warning: enumeration value 'URB_IDLE' not handled in switch [-Wswitch]
             switch (urb_state) {
                    ^
c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\targets\TARGET_STM\USBHALHost_STM.cpp:109:20: warning: enumeration value 'URB_NYET' not handled in switch [-Wswitch]
c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\targets\TARGET_STM\USBHALHost_STM.cpp:109:20: warning: enumeration value 'URB_ERROR' not handled in switch [-Wswitch]
c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\targets\TARGET_STM\USBHALHost_STM.cpp:109:20: warning: enumeration value 'URB_STALL' not handled in switch [-Wswitch]
c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\targets\TARGET_STM\USBHALHost_STM.cpp: In member function 'void USBHALHost::resetRootHub()':
c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\targets\TARGET_STM\USBHALHost_STM.cpp:337:36: warning: 'void rtos::ThisThread::sleep_for(uint32_t)' is deprecated: Pass a chrono duration, not an integer millisecond count. For example use `5s` rather than `5000`. [since mbed-os-6.0.0] [-Wdeprecated-declarations]
     rtos::ThisThread::sleep_for(200);
                                    ^
In file included from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/rtos/include/rtos/rtos.h:30:0,
                 from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/mbed.h:24,
                 from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed.h:8,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\targets\TARGET_STM\USBHALHost_STM.cpp:27:
C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/rtos/include/rtos/ThisThread.h:216:6: note: declared here
 void sleep_for(uint32_t millisec);
      ^~~~~~~~~
In file included from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\variants\GIGA/pinmode_arduino.h:23:0,
                 from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/Arduino.h:26,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src/USBHost/USBHostConf.h:23,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHost3GModule\WANDongle.cpp:19:
C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\variants\GIGA/mbed_config.h:260:0: warning: "MBED_CONF_PLATFORM_CALLBACK_NONTRIVIAL" redefined
 #define MBED_CONF_PLATFORM_CALLBACK_NONTRIVIAL                                  1                                                                                                // set by application[*]

In file included from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHost3GModule\WANDongle.cpp:19:0:
c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src/USBHost/USBHostConf.h:21:0: note: this is the location of the previous definition
 #define MBED_CONF_PLATFORM_CALLBACK_NONTRIVIAL  0

c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHost\USBHost.cpp: In member function 'void USBHost::usb_process()':
c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHost\USBHost.cpp:75:42: warning: 'osEvent rtos::Mail<T, queue_sz>::get(uint32_t) [with T = USBHost::message_t; long unsigned int queue_sz = 10; uint32_t = long unsigned int]' is deprecated: Replaced with try_get and try_get_for. In future get will be an untimed blocking call. [since mbed-os-6.0.0] [-Wdeprecated-declarations]
         osEvent evt = mail_usb_event.get();
                                          ^
In file included from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/rtos/include/rtos/rtos.h:33:0,
                 from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/mbed.h:24,
                 from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed.h:8,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHost\USBHost.h:20,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHost\USBHost.cpp:18:
C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/rtos/include/rtos/Mail.h:323:13: note: declared here
     osEvent get(uint32_t millisec = osWaitForever)
             ^~~
c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHost\USBHost.cpp:176:58: warning: 'void rtos::ThisThread::sleep_for(uint32_t)' is deprecated: Pass a chrono duration, not an integer millisecond count. For example use `5s` rather than `5000`. [since mbed-os-6.0.0] [-Wdeprecated-declarations]
                             rtos::ThisThread::sleep_for(2);
                                                          ^
In file included from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/rtos/include/rtos/rtos.h:30:0,
                 from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/mbed.h:24,
                 from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed.h:8,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHost\USBHost.h:20,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHost\USBHost.cpp:18:
C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/rtos/include/rtos/ThisThread.h:216:6: note: declared here
 void sleep_for(uint32_t millisec);
      ^~~~~~~~~
c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHost\USBHost.cpp:186:60: warning: 'void rtos::ThisThread::sleep_for(uint32_t)' is deprecated: Pass a chrono duration, not an integer millisecond count. For example use `5s` rather than `5000`. [since mbed-os-6.0.0] [-Wdeprecated-declarations]
                             rtos::ThisThread::sleep_for(100);
                                                            ^
In file included from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/rtos/include/rtos/rtos.h:30:0,
                 from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/mbed.h:24,
                 from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed.h:8,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHost\USBHost.h:20,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHost\USBHost.cpp:18:
C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/rtos/include/rtos/ThisThread.h:216:6: note: declared here
 void sleep_for(uint32_t millisec);
      ^~~~~~~~~
c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHost\USBHost.cpp: In member function 'virtual void USBHost::transferCompleted(uint32_t)':
c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHost\USBHost.cpp:401:60: warning: 'T* rtos::Mail<T, queue_sz>::alloc(uint32_t) [with T = USBHost::message_t; long unsigned int queue_sz = 10; uint32_t = long unsigned int]' is deprecated: Replaced with try_alloc. In future alloc() will be an untimed blocking call. [since mbed-os-6.0.0] [-Wdeprecated-declarations]
                 message_t * usb_msg = mail_usb_event.alloc();
                                                            ^
In file included from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/rtos/include/rtos/rtos.h:33:0,
                 from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/mbed.h:24,
                 from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed.h:8,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHost\USBHost.h:20,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHost\USBHost.cpp:18:
C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/rtos/include/rtos/Mail.h:113:8: note: declared here
     T *alloc(MBED_UNUSED uint32_t millisec = 0)
        ^~~~~
c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHost\USBHost.cpp:408:41: warning: 'osStatus rtos::Queue<T, queue_sz>::put(T*, uint32_t, uint8_t) [with T = unsigned char; long unsigned int queue_sz = 1; osStatus = long int; uint32_t = long unsigned int; uint8_t = unsigned char]' is deprecated: Replaced with try_put and try_put_for. In future put will be an untimed blocking call. [since mbed-os-6.0.0] [-Wdeprecated-declarations]
             ep->ep_queue.put((uint8_t*)1);
                                         ^
In file included from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/rtos/include/rtos/Mail.h:29:0,
                 from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/rtos/include/rtos/rtos.h:33,
                 from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/mbed.h:24,
                 from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed.h:8,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHost\USBHost.h:20,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHost\USBHost.cpp:18:
C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/rtos/include/rtos/Queue.h:219:14: note: declared here
     osStatus put(T *data, uint32_t millisec = 0, uint8_t prio = 0)
              ^~~
c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHost\USBHost.cpp: In member function 'virtual void USBHost::deviceConnected(int, int, bool, USBHostHub*)':
c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHost\USBHost.cpp:437:48: warning: 'T* rtos::Mail<T, queue_sz>::alloc(uint32_t) [with T = USBHost::message_t; long unsigned int queue_sz = 10; uint32_t = long unsigned int]' is deprecated: Replaced with try_alloc. In future alloc() will be an untimed blocking call. [since mbed-os-6.0.0] [-Wdeprecated-declarations]
     message_t * usb_msg = mail_usb_event.alloc();
                                                ^
In file included from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/rtos/include/rtos/rtos.h:33:0,
                 from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/mbed.h:24,
                 from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed.h:8,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHost\USBHost.h:20,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHost\USBHost.cpp:18:
C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/rtos/include/rtos/Mail.h:113:8: note: declared here
     T *alloc(MBED_UNUSED uint32_t millisec = 0)
        ^~~~~
c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHost\USBHost.cpp: In member function 'virtual void USBHost::deviceDisconnected(int, int, USBHostHub*, uint32_t)':
c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHost\USBHost.cpp:462:48: warning: 'T* rtos::Mail<T, queue_sz>::alloc(uint32_t) [with T = USBHost::message_t; long unsigned int queue_sz = 10; uint32_t = long unsigned int]' is deprecated: Replaced with try_alloc. In future alloc() will be an untimed blocking call. [since mbed-os-6.0.0] [-Wdeprecated-declarations]
     message_t * usb_msg = mail_usb_event.alloc();
                                                ^
In file included from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/rtos/include/rtos/rtos.h:33:0,
                 from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/mbed.h:24,
                 from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed.h:8,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHost\USBHost.h:20,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHost\USBHost.cpp:18:
C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/rtos/include/rtos/Mail.h:113:8: note: declared here
     T *alloc(MBED_UNUSED uint32_t millisec = 0)
        ^~~~~
c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHost\USBHost.cpp: In member function 'void USBHost::freeDevice(USBDeviceConnected*)':
c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHost\USBHost.cpp:473:12: warning: unused variable 'ed' [-Wunused-variable]
     HCED * ed = NULL;
            ^~
c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHost\USBHost.cpp: In member function 'USB_TYPE USBHost::resetDevice(USBDeviceConnected*)':
c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHost\USBHost.cpp:624:40: warning: 'void rtos::ThisThread::sleep_for(uint32_t)' is deprecated: Pass a chrono duration, not an integer millisecond count. For example use `5s` rather than `5000`. [since mbed-os-6.0.0] [-Wdeprecated-declarations]
         rtos::ThisThread::sleep_for(100);
                                        ^
In file included from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/rtos/include/rtos/rtos.h:30:0,
                 from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/mbed.h:24,
                 from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed.h:8,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHost\USBHost.h:20,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHost\USBHost.cpp:18:
C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/rtos/include/rtos/ThisThread.h:216:6: note: declared here
 void sleep_for(uint32_t millisec);
      ^~~~~~~~~
c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHost\USBHost.cpp:633:40: warning: 'void rtos::ThisThread::sleep_for(uint32_t)' is deprecated: Pass a chrono duration, not an integer millisecond count. For example use `5s` rather than `5000`. [since mbed-os-6.0.0] [-Wdeprecated-declarations]
         rtos::ThisThread::sleep_for(100);
                                        ^
In file included from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/rtos/include/rtos/rtos.h:30:0,
                 from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/mbed.h:24,
                 from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed.h:8,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHost\USBHost.h:20,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHost\USBHost.cpp:18:
C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/rtos/include/rtos/ThisThread.h:216:6: note: declared here
 void sleep_for(uint32_t millisec);
      ^~~~~~~~~
c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHost\USBHost.cpp: In member function 'USB_TYPE USBHost::enumerate(USBDeviceConnected*, IUSBEnumerator*)':
c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHost\USBHost.cpp:1000:36: warning: 'void rtos::ThisThread::sleep_for(uint32_t)' is deprecated: Pass a chrono duration, not an integer millisecond count. For example use `5s` rather than `5000`. [since mbed-os-6.0.0] [-Wdeprecated-declarations]
     rtos::ThisThread::sleep_for(100);
                                    ^
In file included from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/rtos/include/rtos/rtos.h:30:0,
                 from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/mbed.h:24,
                 from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed.h:8,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHost\USBHost.h:20,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHost\USBHost.cpp:18:
C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/rtos/include/rtos/ThisThread.h:216:6: note: declared here
 void sleep_for(uint32_t millisec);
      ^~~~~~~~~
c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHost\USBHost.cpp: In member function 'USB_TYPE USBHost::generalTransfer(USBDeviceConnected*, USBEndpoint*, uint8_t*, uint32_t, bool, ENDPOINT_TYPE, bool)':
c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHost\USBHost.cpp:1145:53: warning: 'osEvent rtos::Queue<T, queue_sz>::get(uint32_t) [with T = unsigned char; long unsigned int queue_sz = 1; uint32_t = long unsigned int]' is deprecated: Replaced with try_get and try_get_for. In future get will be an untimed blocking call. [since mbed-os-6.0.0] [-Wdeprecated-declarations]
         osEvent  event = ep->ep_queue.get(TD_TIMEOUT);
                                                     ^
In file included from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/rtos/include/rtos/Mail.h:29:0,
                 from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/rtos/include/rtos/rtos.h:33,
                 from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/mbed.h:24,
                 from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed.h:8,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHost\USBHost.h:20,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHost\USBHost.cpp:18:
C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/rtos/include/rtos/Queue.h:311:13: note: declared here
     osEvent get(uint32_t millisec = osWaitForever)
             ^~~
c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHost\USBHost.cpp:1150:31: warning: 'osEvent rtos::Queue<T, queue_sz>::get(uint32_t) [with T = unsigned char; long unsigned int queue_sz = 1; uint32_t = long unsigned int]' is deprecated: Replaced with try_get and try_get_for. In future get will be an untimed blocking call. [since mbed-os-6.0.0] [-Wdeprecated-declarations]
             ep->ep_queue.get(0);
                               ^
In file included from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/rtos/include/rtos/Mail.h:29:0,
                 from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/rtos/include/rtos/rtos.h:33,
                 from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/mbed.h:24,
                 from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed.h:8,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHost\USBHost.h:20,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHost\USBHost.cpp:18:
C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/rtos/include/rtos/Queue.h:311:13: note: declared here
     osEvent get(uint32_t millisec = osWaitForever)
             ^~~
c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHost\USBHost.cpp: In member function 'USB_TYPE USBHost::controlTransfer(USBDeviceConnected*, uint8_t, uint8_t, uint32_t, uint32_t, uint8_t*, uint32_t, bool)':
c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHost\USBHost.cpp:1219:63: warning: 'osEvent rtos::Queue<T, queue_sz>::get(uint32_t) [with T = unsigned char; long unsigned int queue_sz = 1; uint32_t = long unsigned int]' is deprecated: Replaced with try_get and try_get_for. In future get will be an untimed blocking call. [since mbed-os-6.0.0] [-Wdeprecated-declarations]
         osEvent  event = control->ep_queue.get(TD_TIMEOUT_CTRL);
                                                               ^
In file included from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/rtos/include/rtos/Mail.h:29:0,
                 from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/rtos/include/rtos/rtos.h:33,
                 from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/mbed.h:24,
                 from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed.h:8,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHost\USBHost.h:20,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHost\USBHost.cpp:18:
C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/rtos/include/rtos/Queue.h:311:13: note: declared here
     osEvent get(uint32_t millisec = osWaitForever)
             ^~~
c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHost\USBHost.cpp:1224:36: warning: 'osEvent rtos::Queue<T, queue_sz>::get(uint32_t) [with T = unsigned char; long unsigned int queue_sz = 1; uint32_t = long unsigned int]' is deprecated: Replaced with try_get and try_get_for. In future get will be an untimed blocking call. [since mbed-os-6.0.0] [-Wdeprecated-declarations]
             control->ep_queue.get(0);
                                    ^
In file included from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/rtos/include/rtos/Mail.h:29:0,
                 from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/rtos/include/rtos/rtos.h:33,
                 from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/mbed.h:24,
                 from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed.h:8,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHost\USBHost.h:20,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHost\USBHost.cpp:18:
C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/rtos/include/rtos/Queue.h:311:13: note: declared here
     osEvent get(uint32_t millisec = osWaitForever)
             ^~~
c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHost\USBHost.cpp:1248:67: warning: 'osEvent rtos::Queue<T, queue_sz>::get(uint32_t) [with T = unsigned char; long unsigned int queue_sz = 1; uint32_t = long unsigned int]' is deprecated: Replaced with try_get and try_get_for. In future get will be an untimed blocking call. [since mbed-os-6.0.0] [-Wdeprecated-declarations]
             osEvent  event = control->ep_queue.get(TD_TIMEOUT_CTRL);
                                                                   ^
In file included from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/rtos/include/rtos/Mail.h:29:0,
                 from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/rtos/include/rtos/rtos.h:33,
                 from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/mbed.h:24,
                 from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed.h:8,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHost\USBHost.h:20,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHost\USBHost.cpp:18:
C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/rtos/include/rtos/Queue.h:311:13: note: declared here
     osEvent get(uint32_t millisec = osWaitForever)
             ^~~
c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHost\USBHost.cpp:1252:40: warning: 'osEvent rtos::Queue<T, queue_sz>::get(uint32_t) [with T = unsigned char; long unsigned int queue_sz = 1; uint32_t = long unsigned int]' is deprecated: Replaced with try_get and try_get_for. In future get will be an untimed blocking call. [since mbed-os-6.0.0] [-Wdeprecated-declarations]
                 control->ep_queue.get(0);
                                        ^
In file included from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/rtos/include/rtos/Mail.h:29:0,
                 from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/rtos/include/rtos/rtos.h:33,
                 from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/mbed.h:24,
                 from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed.h:8,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHost\USBHost.h:20,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHost\USBHost.cpp:18:
C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/rtos/include/rtos/Queue.h:311:13: note: declared here
     osEvent get(uint32_t millisec = osWaitForever)
             ^~~
c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHost\USBHost.cpp:1290:63: warning: 'osEvent rtos::Queue<T, queue_sz>::get(uint32_t) [with T = unsigned char; long unsigned int queue_sz = 1; uint32_t = long unsigned int]' is deprecated: Replaced with try_get and try_get_for. In future get will be an untimed blocking call. [since mbed-os-6.0.0] [-Wdeprecated-declarations]
         osEvent  event = control->ep_queue.get(TD_TIMEOUT_CTRL);
                                                               ^
In file included from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/rtos/include/rtos/Mail.h:29:0,
                 from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/rtos/include/rtos/rtos.h:33,
                 from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/mbed.h:24,
                 from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed.h:8,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHost\USBHost.h:20,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHost\USBHost.cpp:18:
C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/rtos/include/rtos/Queue.h:311:13: note: declared here
     osEvent get(uint32_t millisec = osWaitForever)
             ^~~
c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHost\USBHost.cpp:1294:36: warning: 'osEvent rtos::Queue<T, queue_sz>::get(uint32_t) [with T = unsigned char; long unsigned int queue_sz = 1; uint32_t = long unsigned int]' is deprecated: Replaced with try_get and try_get_for. In future get will be an untimed blocking call. [since mbed-os-6.0.0] [-Wdeprecated-declarations]
             control->ep_queue.get(0);
                                    ^
In file included from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/rtos/include/rtos/Mail.h:29:0,
                 from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/rtos/include/rtos/rtos.h:33,
                 from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/mbed.h:24,
                 from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed.h:8,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHost\USBHost.h:20,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHost\USBHost.cpp:18:
C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/rtos/include/rtos/Queue.h:311:13: note: declared here
     osEvent get(uint32_t millisec = osWaitForever)
             ^~~
In file included from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/rtos/include/rtos/rtos.h:33:0,
                 from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/mbed.h:24,
                 from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed.h:8,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHost\USBHost.h:20,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHost\USBHost.cpp:18:
C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/rtos/include/rtos/Mail.h: In instantiation of 'osEvent rtos::Mail<T, queue_sz>::get(uint32_t) [with T = USBHost::message_t; long unsigned int queue_sz = 10; uint32_t = long unsigned int]':
c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHost\USBHost.cpp:75:42:   required from here
C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/rtos/include/rtos/Mail.h:325:17: warning: 'osEvent rtos::Queue<T, queue_sz>::get(uint32_t) [with T = USBHost::message_t; long unsigned int queue_sz = 10; uint32_t = long unsigned int]' is deprecated: Replaced with try_get and try_get_for. In future get will be an untimed blocking call. [since mbed-os-6.0.0] [-Wdeprecated-declarations]
         osEvent evt = _queue.get(millisec);
                 ^~~
In file included from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/rtos/include/rtos/Mail.h:29:0,
                 from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/rtos/include/rtos/rtos.h:33,
                 from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/mbed.h:24,
                 from C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed.h:8,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHost\USBHost.h:20,
                 from c:\Users\kurte\Documents\Arduino\libraries\Arduino_USBHostMbed5\src\USBHost\USBHost.cpp:18:
C:\Users\kurte\AppData\Local\Arduino15\packages\arduino\hardware\mbed_giga\4.0.8\cores\arduino/mbed/rtos/include/rtos/Queue.h:311:13: note: declared here
     osEvent get(uint32_t millisec = osWaitForever)
             ^~~
Compiling core...
alrvid commented 1 year ago

I just want you to know that we're aware of this. Some of the warnings are easy to fix, and others a bit more complicated. I'm keeping them in mind when trying to solve the crash bug in case they matter for that, but I'm also keeping them at a lower priority than the bug right now. Thanks for pointing it out though. I prefer if there are no warnings at all, even when all warnings are enabled, so the long term goal is to get rid of them all if possible.