STM32duino X-NUCLEO-IHM01A1 - compatibility matrix

This report was generated on Wednesday, 23-Feb-22 22:48:15 CET using arduino-testlib.

STM32duino X-NUCLEO-IHM01A1

Version: 1.0.0
More details

Compatibility matrix

Board Claims compatibility Inclusion
X_NUCLEO_IHM01A1_HelloWorld
arduino:avr:uno
1.8.4
No FAIL FAIL
arduino:mbed_nano:nanorp2040connect
2.7.2
No FAIL FAIL
arduino:megaavr:nona4809
1.8.7
No FAIL FAIL
arduino:samd:mkrwifi1010
1.8.12
No FAIL FAIL
esp32:esp32:d1_mini32
1.0.6
No FAIL FAIL

Compilation logs

arduino:avr:uno @ 1.8.4

Inclusion

Result: FAIL
This library has no main header file so an empty one was created.

WARNING: library STM32duino_X-NUCLEO-IHM01A1 claims to run on stm32 architecture(s) and may be incompatible with your current board which runs on avr architecture(s).
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.cpp:54:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:88:15: error: 'function' in namespace 'std' does not name a template type
   static std::function<Ret(Params...)> func;
               ^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:92:6: error: 'function' in namespace 'std' does not name a template type
 std::function<Ret(Params...)> Callback<Ret(Params...)>::func;
      ^~~~~~~~
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.cpp:54:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:1024:5: error: 'HardwareTimer' does not name a type; did you mean 'HardwareSerial'?
     HardwareTimer *pwm_timer;
     ^~~~~~~~~~~~~
     HardwareSerial
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:1027:5: error: 'TIM_TypeDef' does not name a type
     TIM_TypeDef *pwm_instance;
     ^~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h: In constructor 'L6474::L6474(uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, SPIClass*, uint32_t)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:132:25: error: 'func' is not a member of 'Callback<void()>'
       Callback<void()>::func = std::bind(&L6474::L6474_StepClockHandler, this);
                         ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:132:37: error: 'bind' is not a member of 'std'
       Callback<void()>::func = std::bind(&L6474::L6474_StepClockHandler, this);
                                     ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:135:7: error: 'pwm_instance' was not declared in this scope
       pwm_instance = (TIM_TypeDef *)pinmap_peripheral(digitalPinToPinName(pwm_pin), PinMap_PWM);
       ^~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:135:7: note: suggested alternative: 'pwm_channel'
       pwm_instance = (TIM_TypeDef *)pinmap_peripheral(digitalPinToPinName(pwm_pin), PinMap_PWM);
       ^~~~~~~~~~~~
       pwm_channel
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:135:23: error: 'TIM_TypeDef' was not declared in this scope
       pwm_instance = (TIM_TypeDef *)pinmap_peripheral(digitalPinToPinName(pwm_pin), PinMap_PWM);
                       ^~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:135:36: error: expected primary-expression before ')' token
       pwm_instance = (TIM_TypeDef *)pinmap_peripheral(digitalPinToPinName(pwm_pin), PinMap_PWM);
                                    ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:136:53: error: 'digitalPinToPinName' was not declared in this scope
       pwm_channel = STM_PIN_CHANNEL(pinmap_function(digitalPinToPinName(pwm_pin), PinMap_PWM));
                                                     ^~~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:136:53: note: suggested alternative: 'digitalPinToBitMask'
       pwm_channel = STM_PIN_CHANNEL(pinmap_function(digitalPinToPinName(pwm_pin), PinMap_PWM));
                                                     ^~~~~~~~~~~~~~~~~~~
                                                     digitalPinToBitMask
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:136:83: error: 'PinMap_PWM' was not declared in this scope
       pwm_channel = STM_PIN_CHANNEL(pinmap_function(digitalPinToPinName(pwm_pin), PinMap_PWM));
                                                                                   ^~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:136:37: error: 'pinmap_function' was not declared in this scope
       pwm_channel = STM_PIN_CHANNEL(pinmap_function(digitalPinToPinName(pwm_pin), PinMap_PWM));
                                     ^~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:136:21: error: 'STM_PIN_CHANNEL' was not declared in this scope
       pwm_channel = STM_PIN_CHANNEL(pinmap_function(digitalPinToPinName(pwm_pin), PinMap_PWM));
                     ^~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:138:7: error: 'pwm_timer' was not declared in this scope
       pwm_timer = new HardwareTimer(pwm_instance);
       ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:138:7: note: suggested alternative: 'pwm_pin'
       pwm_timer = new HardwareTimer(pwm_instance);
       ^~~~~~~~~
       pwm_pin
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:138:23: error: expected type-specifier before 'HardwareTimer'
       pwm_timer = new HardwareTimer(pwm_instance);
                       ^~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h: In destructor 'virtual L6474::~L6474()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:159:12: error: 'pwm_timer' was not declared in this scope
       free(pwm_timer);
            ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:159:12: note: suggested alternative: 'pwm_pin'
       free(pwm_timer);
            ^~~~~~~~~
            pwm_pin
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h: In member function 'void L6474::L6474_PwmSetFreq(uint16_t)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:939:7: error: 'pwm_timer' was not declared in this scope
       pwm_timer->setPWM(pwm_channel, pwm_pin, frequency, 50, callback_handler, NULL);
       ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:939:7: note: suggested alternative: 'pwm_pin'
       pwm_timer->setPWM(pwm_channel, pwm_pin, frequency, 50, callback_handler, NULL);
       ^~~~~~~~~
       pwm_pin
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h: In member function 'void L6474::L6474_PwmStop()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:949:7: error: 'pwm_timer' was not declared in this scope
       pwm_timer->pause();
       ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:949:7: note: suggested alternative: 'pwm_pin'
       pwm_timer->pause();
       ^~~~~~~~~
       pwm_pin
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.cpp:54:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h: In instantiation of 'static Ret Callback<Ret(Params ...)>::callback(Args ...) [with Args = {}; Ret = void; Params = {}]':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:133:85:   required from here
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:86:16: error: 'func' was not declared in this scope
     return func(args...);
            ~~~~^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:86:16: note: suggested alternative: 'fputc'
     return func(args...);
            ~~~~^~~~~~~~~
            fputc

examples/X_NUCLEO_IHM01A1_HelloWorld

Result: FAIL

WARNING: library STM32duino_X-NUCLEO-IHM01A1 claims to run on stm32 architecture(s) and may be incompatible with your current board which runs on avr architecture(s).
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/examples/X_NUCLEO_IHM01A1_HelloWorld/X_NUCLEO_IHM01A1_HelloWorld.ino:40:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:88:15: error: 'function' in namespace 'std' does not name a template type
   static std::function<Ret(Params...)> func;
               ^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:92:6: error: 'function' in namespace 'std' does not name a template type
 std::function<Ret(Params...)> Callback<Ret(Params...)>::func;
      ^~~~~~~~
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/examples/X_NUCLEO_IHM01A1_HelloWorld/X_NUCLEO_IHM01A1_HelloWorld.ino:40:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:1024:5: error: 'HardwareTimer' does not name a type; did you mean 'HardwareSerial'?
     HardwareTimer *pwm_timer;
     ^~~~~~~~~~~~~
     HardwareSerial
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:1027:5: error: 'TIM_TypeDef' does not name a type
     TIM_TypeDef *pwm_instance;
     ^~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h: In constructor 'L6474::L6474(uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, SPIClass*, uint32_t)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:132:25: error: 'func' is not a member of 'Callback<void()>'
       Callback<void()>::func = std::bind(&L6474::L6474_StepClockHandler, this);
                         ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:132:37: error: 'bind' is not a member of 'std'
       Callback<void()>::func = std::bind(&L6474::L6474_StepClockHandler, this);
                                     ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:135:7: error: 'pwm_instance' was not declared in this scope
       pwm_instance = (TIM_TypeDef *)pinmap_peripheral(digitalPinToPinName(pwm_pin), PinMap_PWM);
       ^~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:135:7: note: suggested alternative: 'pwm_channel'
       pwm_instance = (TIM_TypeDef *)pinmap_peripheral(digitalPinToPinName(pwm_pin), PinMap_PWM);
       ^~~~~~~~~~~~
       pwm_channel
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:135:23: error: 'TIM_TypeDef' was not declared in this scope
       pwm_instance = (TIM_TypeDef *)pinmap_peripheral(digitalPinToPinName(pwm_pin), PinMap_PWM);
                       ^~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:135:36: error: expected primary-expression before ')' token
       pwm_instance = (TIM_TypeDef *)pinmap_peripheral(digitalPinToPinName(pwm_pin), PinMap_PWM);
                                    ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:136:53: error: 'digitalPinToPinName' was not declared in this scope
       pwm_channel = STM_PIN_CHANNEL(pinmap_function(digitalPinToPinName(pwm_pin), PinMap_PWM));
                                                     ^~~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:136:53: note: suggested alternative: 'digitalPinToBitMask'
       pwm_channel = STM_PIN_CHANNEL(pinmap_function(digitalPinToPinName(pwm_pin), PinMap_PWM));
                                                     ^~~~~~~~~~~~~~~~~~~
                                                     digitalPinToBitMask
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:136:83: error: 'PinMap_PWM' was not declared in this scope
       pwm_channel = STM_PIN_CHANNEL(pinmap_function(digitalPinToPinName(pwm_pin), PinMap_PWM));
                                                                                   ^~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:136:37: error: 'pinmap_function' was not declared in this scope
       pwm_channel = STM_PIN_CHANNEL(pinmap_function(digitalPinToPinName(pwm_pin), PinMap_PWM));
                                     ^~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:136:21: error: 'STM_PIN_CHANNEL' was not declared in this scope
       pwm_channel = STM_PIN_CHANNEL(pinmap_function(digitalPinToPinName(pwm_pin), PinMap_PWM));
                     ^~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:138:7: error: 'pwm_timer' was not declared in this scope
       pwm_timer = new HardwareTimer(pwm_instance);
       ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:138:7: note: suggested alternative: 'pwm_pin'
       pwm_timer = new HardwareTimer(pwm_instance);
       ^~~~~~~~~
       pwm_pin
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:138:23: error: expected type-specifier before 'HardwareTimer'
       pwm_timer = new HardwareTimer(pwm_instance);
                       ^~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h: In destructor 'virtual L6474::~L6474()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:159:12: error: 'pwm_timer' was not declared in this scope
       free(pwm_timer);
            ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:159:12: note: suggested alternative: 'pwm_pin'
       free(pwm_timer);
            ^~~~~~~~~
            pwm_pin
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h: In member function 'void L6474::L6474_PwmSetFreq(uint16_t)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:939:7: error: 'pwm_timer' was not declared in this scope
       pwm_timer->setPWM(pwm_channel, pwm_pin, frequency, 50, callback_handler, NULL);
       ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:939:7: note: suggested alternative: 'pwm_pin'
       pwm_timer->setPWM(pwm_channel, pwm_pin, frequency, 50, callback_handler, NULL);
       ^~~~~~~~~
       pwm_pin
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h: In member function 'void L6474::L6474_PwmStop()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:949:7: error: 'pwm_timer' was not declared in this scope
       pwm_timer->pause();
       ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:949:7: note: suggested alternative: 'pwm_pin'
       pwm_timer->pause();
       ^~~~~~~~~
       pwm_pin
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/examples/X_NUCLEO_IHM01A1_HelloWorld/X_NUCLEO_IHM01A1_HelloWorld.ino: At global scope:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/examples/X_NUCLEO_IHM01A1_HelloWorld/X_NUCLEO_IHM01A1_HelloWorld.ino:91:18: error: 'D11' was not declared in this scope
 SPIClass dev_spi(D11, D12, D13);
                  ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/examples/X_NUCLEO_IHM01A1_HelloWorld/X_NUCLEO_IHM01A1_HelloWorld.ino:91:18: note: suggested alternative: 'B11'
 SPIClass dev_spi(D11, D12, D13);
                  ^~~
                  B11
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/examples/X_NUCLEO_IHM01A1_HelloWorld/X_NUCLEO_IHM01A1_HelloWorld.ino:91:23: error: 'D12' was not declared in this scope
 SPIClass dev_spi(D11, D12, D13);
                       ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/examples/X_NUCLEO_IHM01A1_HelloWorld/X_NUCLEO_IHM01A1_HelloWorld.ino:91:23: note: suggested alternative: 'DD2'
 SPIClass dev_spi(D11, D12, D13);
                       ^~~
                       DD2
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/examples/X_NUCLEO_IHM01A1_HelloWorld/X_NUCLEO_IHM01A1_HelloWorld.ino:91:28: error: 'D13' was not declared in this scope
 SPIClass dev_spi(D11, D12, D13);
                            ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/examples/X_NUCLEO_IHM01A1_HelloWorld/X_NUCLEO_IHM01A1_HelloWorld.ino:91:28: note: suggested alternative: 'DD3'
 SPIClass dev_spi(D11, D12, D13);
                            ^~~
                            DD3
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/examples/X_NUCLEO_IHM01A1_HelloWorld/X_NUCLEO_IHM01A1_HelloWorld.ino: In function 'void setup()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/examples/X_NUCLEO_IHM01A1_HelloWorld/X_NUCLEO_IHM01A1_HelloWorld.ino:133:21: error: 'D2' was not declared in this scope
   motor = new L6474(D2, D8, D7, D9, D10, &dev_spi);
                     ^~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/examples/X_NUCLEO_IHM01A1_HelloWorld/X_NUCLEO_IHM01A1_HelloWorld.ino:133:21: note: sugg

arduino:mbed_nano:nanorp2040connect @ 2.7.2

Inclusion

Result: FAIL
This library has no main header file so an empty one was created.

WARNING: library STM32duino_X-NUCLEO-IHM01A1 claims to run on stm32 architecture(s) and may be incompatible with your current board which runs on mbed_nano architecture(s).
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.cpp:54:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:1024:5: error: 'HardwareTimer' does not name a type
     HardwareTimer *pwm_timer;
     ^~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:1027:5: error: 'TIM_TypeDef' does not name a type
     TIM_TypeDef *pwm_instance;
     ^~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h: In constructor 'L6474::L6474(uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, arduino::SPIClass*, uint32_t)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:135:7: error: 'pwm_instance' was not declared in this scope
       pwm_instance = (TIM_TypeDef *)pinmap_peripheral(digitalPinToPinName(pwm_pin), PinMap_PWM);
       ^~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:135:7: note: suggested alternative: 'pwm_init'
       pwm_instance = (TIM_TypeDef *)pinmap_peripheral(digitalPinToPinName(pwm_pin), PinMap_PWM);
       ^~~~~~~~~~~~
       pwm_init
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:135:23: error: 'TIM_TypeDef' was not declared in this scope
       pwm_instance = (TIM_TypeDef *)pinmap_peripheral(digitalPinToPinName(pwm_pin), PinMap_PWM);
                       ^~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:135:36: error: expected primary-expression before ')' token
       pwm_instance = (TIM_TypeDef *)pinmap_peripheral(digitalPinToPinName(pwm_pin), PinMap_PWM);
                                    ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:136:83: error: 'PinMap_PWM' was not declared in this scope
       pwm_channel = STM_PIN_CHANNEL(pinmap_function(digitalPinToPinName(pwm_pin), PinMap_PWM));
                                                                                   ^~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:136:37: error: 'pinmap_function' was not declared in this scope
       pwm_channel = STM_PIN_CHANNEL(pinmap_function(digitalPinToPinName(pwm_pin), PinMap_PWM));
                                     ^~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:136:37: note: suggested alternative: 'gpio_function'
       pwm_channel = STM_PIN_CHANNEL(pinmap_function(digitalPinToPinName(pwm_pin), PinMap_PWM));
                                     ^~~~~~~~~~~~~~~
                                     gpio_function
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:136:21: error: 'STM_PIN_CHANNEL' was not declared in this scope
       pwm_channel = STM_PIN_CHANNEL(pinmap_function(digitalPinToPinName(pwm_pin), PinMap_PWM));
                     ^~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:136:21: note: suggested alternative: 'NUM_DMA_CHANNELS'
       pwm_channel = STM_PIN_CHANNEL(pinmap_function(digitalPinToPinName(pwm_pin), PinMap_PWM));
                     ^~~~~~~~~~~~~~~
                     NUM_DMA_CHANNELS
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:138:7: error: 'pwm_timer' was not declared in this scope
       pwm_timer = new HardwareTimer(pwm_instance);
       ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:138:7: note: suggested alternative: 'pwm_pin'
       pwm_timer = new HardwareTimer(pwm_instance);
       ^~~~~~~~~
       pwm_pin
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:138:23: error: expected type-specifier before 'HardwareTimer'
       pwm_timer = new HardwareTimer(pwm_instance);
                       ^~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h: In destructor 'virtual L6474::~L6474()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:159:12: error: 'pwm_timer' was not declared in this scope
       free(pwm_timer);
            ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:159:12: note: suggested alternative: 'pwm_pin'
       free(pwm_timer);
            ^~~~~~~~~
            pwm_pin
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h: In member function 'void L6474::L6474_PwmSetFreq(uint16_t)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:939:7: error: 'pwm_timer' was not declared in this scope
       pwm_timer->setPWM(pwm_channel, pwm_pin, frequency, 50, callback_handler, NULL);
       ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:939:7: note: suggested alternative: 'pwm_pin'
       pwm_timer->setPWM(pwm_channel, pwm_pin, frequency, 50, callback_handler, NULL);
       ^~~~~~~~~
       pwm_pin
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h: In member function 'void L6474::L6474_PwmStop()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:949:7: error: 'pwm_timer' was not declared in this scope
       pwm_timer->pause();
       ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:949:7: note: suggested alternative: 'pwm_pin'
       pwm_timer->pause();
       ^~~~~~~~~
       pwm_pin

examples/X_NUCLEO_IHM01A1_HelloWorld

Result: FAIL

WARNING: library STM32duino_X-NUCLEO-IHM01A1 claims to run on stm32 architecture(s) and may be incompatible with your current board which runs on mbed_nano architecture(s).
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/examples/X_NUCLEO_IHM01A1_HelloWorld/X_NUCLEO_IHM01A1_HelloWorld.ino:40:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:1024:5: error: 'HardwareTimer' does not name a type
     HardwareTimer *pwm_timer;
     ^~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:1027:5: error: 'TIM_TypeDef' does not name a type
     TIM_TypeDef *pwm_instance;
     ^~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h: In constructor 'L6474::L6474(uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, arduino::SPIClass*, uint32_t)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:135:7: error: 'pwm_instance' was not declared in this scope
       pwm_instance = (TIM_TypeDef *)pinmap_peripheral(digitalPinToPinName(pwm_pin), PinMap_PWM);
       ^~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:135:7: note: suggested alternative: 'pwm_init'
       pwm_instance = (TIM_TypeDef *)pinmap_peripheral(digitalPinToPinName(pwm_pin), PinMap_PWM);
       ^~~~~~~~~~~~
       pwm_init
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:135:23: error: 'TIM_TypeDef' was not declared in this scope
       pwm_instance = (TIM_TypeDef *)pinmap_peripheral(digitalPinToPinName(pwm_pin), PinMap_PWM);
                       ^~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:135:36: error: expected primary-expression before ')' token
       pwm_instance = (TIM_TypeDef *)pinmap_peripheral(digitalPinToPinName(pwm_pin), PinMap_PWM);
                                    ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:136:83: error: 'PinMap_PWM' was not declared in this scope
       pwm_channel = STM_PIN_CHANNEL(pinmap_function(digitalPinToPinName(pwm_pin), PinMap_PWM));
                                                                                   ^~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:136:37: error: 'pinmap_function' was not declared in this scope
       pwm_channel = STM_PIN_CHANNEL(pinmap_function(digitalPinToPinName(pwm_pin), PinMap_PWM));
                                     ^~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:136:37: note: suggested alternative: 'gpio_function'
       pwm_channel = STM_PIN_CHANNEL(pinmap_function(digitalPinToPinName(pwm_pin), PinMap_PWM));
                                     ^~~~~~~~~~~~~~~
                                     gpio_function
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:136:21: error: 'STM_PIN_CHANNEL' was not declared in this scope
       pwm_channel = STM_PIN_CHANNEL(pinmap_function(digitalPinToPinName(pwm_pin), PinMap_PWM));
                     ^~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:136:21: note: suggested alternative: 'NUM_DMA_CHANNELS'
       pwm_channel = STM_PIN_CHANNEL(pinmap_function(digitalPinToPinName(pwm_pin), PinMap_PWM));
                     ^~~~~~~~~~~~~~~
                     NUM_DMA_CHANNELS
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:138:7: error: 'pwm_timer' was not declared in this scope
       pwm_timer = new HardwareTimer(pwm_instance);
       ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:138:7: note: suggested alternative: 'pwm_pin'
       pwm_timer = new HardwareTimer(pwm_instance);
       ^~~~~~~~~
       pwm_pin
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:138:23: error: expected type-specifier before 'HardwareTimer'
       pwm_timer = new HardwareTimer(pwm_instance);
                       ^~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h: In destructor 'virtual L6474::~L6474()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:159:12: error: 'pwm_timer' was not declared in this scope
       free(pwm_timer);
            ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:159:12: note: suggested alternative: 'pwm_pin'
       free(pwm_timer);
            ^~~~~~~~~
            pwm_pin
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h: In member function 'void L6474::L6474_PwmSetFreq(uint16_t)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:939:7: error: 'pwm_timer' was not declared in this scope
       pwm_timer->setPWM(pwm_channel, pwm_pin, frequency, 50, callback_handler, NULL);
       ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:939:7: note: suggested alternative: 'pwm_pin'
       pwm_timer->setPWM(pwm_channel, pwm_pin, frequency, 50, callback_handler, NULL);
       ^~~~~~~~~
       pwm_pin
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h: In member function 'void L6474::L6474_PwmStop()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:949:7: error: 'pwm_timer' was not declared in this scope
       pwm_timer->pause();
       ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:949:7: note: suggested alternative: 'pwm_pin'
       pwm_timer->pause();
       ^~~~~~~~~
       pwm_pin
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/examples/X_NUCLEO_IHM01A1_HelloWorld/X_NUCLEO_IHM01A1_HelloWorld.ino: At global scope:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/examples/X_NUCLEO_IHM01A1_HelloWorld/X_NUCLEO_IHM01A1_HelloWorld.ino:91:18: error: 'D11' was not declared in this scope
 SPIClass dev_spi(D11, D12, D13);
                  ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/examples/X_NUCLEO_IHM01A1_HelloWorld/X_NUCLEO_IHM01A1_HelloWorld.ino:91:18: note: suggested alternative: 'B11'
 SPIClass dev_spi(D11, D12, D13);
                  ^~~
                  B11
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/examples/X_NUCLEO_IHM01A1_HelloWorld/X_NUCLEO_IHM01A1_HelloWorld.ino:91:23: error: 'D12' was not declared in this scope
 SPIClass dev_spi(D11, D12, D13);
                       ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/examples/X_NUCLEO_IHM01A1_HelloWorld/X_NUCLEO_IHM01A1_HelloWorld.ino:91:23: note: suggested alternative: 'p12'
 SPIClass dev_spi(D11, D12, D13);
                       ^~~
                       p12
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/examples/X_NUCLEO_IHM01A1_HelloWorld/X_NUCLEO_IHM01A1_HelloWorld.ino:91:28: error: 'D13' was not declared in this scope
 SPIClass dev_spi(D11, D12, D13);
                            ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/examples/X_NUCLEO_IHM01A1_HelloWorld/X_NUCLEO_IHM01A1_HelloWorld.ino:91:28: note: suggested alternative: 'p13'
 SPIClass dev_spi(D11, D12, D13);
                            ^~~
                            p13
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/examples/X_NUCLEO_IHM01A1_HelloWorld/X_NUCLEO_IHM01A1_HelloWorld.ino:91:10: error: cannot declare variable 'dev_spi' to be of abstract type 'arduino::HardwareSPI'
 SPIClass dev_spi(D11, D12, D13);
          ^~~~~~~
In file included from /home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/mbed_nano/2.7.2/libraries/SPI/SPI.h:22:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:63,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/examples/X_NUCLEO_IHM01A1_HelloWorld/X_NUCLEO_IHM01A1_HelloWorld.ino:40:
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/mbed_nano/2.7.2/cores/arduino/api/HardwareSPI.h:104:7: note:   because the following virtual functions are pure within 'arduino::HardwareSPI':
 class HardwareSPI
       ^~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/mbed_nano/2.7.2/cores/arduino/api/HardwareSPI.h:109:21: note: 	virtual uint8_t arduino::HardwareSPI::transfer(uint8_t)
     virtual uint8_t transfer(uint8_t data) = 0;
                     ^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/mbed_nano/2.7.2/cores/arduino/api/HardwareSPI.h:110:22: note: 	virtual uint16_t arduino::HardwareSPI::transfer16(uint16_t)
     virtual uint16_t transfer16(uint16_t data) = 0;
                      ^~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/mbed_nano/2.7.2/cores/arduino/api/HardwareSPI.h:111:18: note: 	virtual void arduino::HardwareSPI::transfer(void*, size_t)
     virtual void transfer(void *buf, size_t count) = 0;
                  ^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/data/packages/arduino/hardware/mbed_nano/2.7.2/cores/arduino/api/HardwareSP

arduino:megaavr:nona4809 @ 1.8.7

Inclusion

Result: FAIL
This library has no main header file so an empty one was created.

WARNING: library STM32duino_X-NUCLEO-IHM01A1 claims to run on stm32 architecture(s) and may be incompatible with your current board which runs on megaavr architecture(s).
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.cpp:54:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:88:15: error: 'function' in namespace 'std' does not name a template type
   static std::function<Ret(Params...)> func;
               ^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:92:6: error: 'function' in namespace 'std' does not name a template type
 std::function<Ret(Params...)> Callback<Ret(Params...)>::func;
      ^~~~~~~~
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.cpp:54:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:1024:5: error: 'HardwareTimer' does not name a type
     HardwareTimer *pwm_timer;
     ^~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:1027:5: error: 'TIM_TypeDef' does not name a type
     TIM_TypeDef *pwm_instance;
     ^~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h: In constructor 'L6474::L6474(uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, SPIClassMegaAVR*, uint32_t)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:132:25: error: 'func' is not a member of 'Callback<void()>'
       Callback<void()>::func = std::bind(&L6474::L6474_StepClockHandler, this);
                         ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:132:37: error: 'bind' is not a member of 'std'
       Callback<void()>::func = std::bind(&L6474::L6474_StepClockHandler, this);
                                     ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:135:7: error: 'pwm_instance' was not declared in this scope
       pwm_instance = (TIM_TypeDef *)pinmap_peripheral(digitalPinToPinName(pwm_pin), PinMap_PWM);
       ^~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:135:7: note: suggested alternative: 'pwm_channel'
       pwm_instance = (TIM_TypeDef *)pinmap_peripheral(digitalPinToPinName(pwm_pin), PinMap_PWM);
       ^~~~~~~~~~~~
       pwm_channel
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:135:23: error: 'TIM_TypeDef' was not declared in this scope
       pwm_instance = (TIM_TypeDef *)pinmap_peripheral(digitalPinToPinName(pwm_pin), PinMap_PWM);
                       ^~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:135:36: error: expected primary-expression before ')' token
       pwm_instance = (TIM_TypeDef *)pinmap_peripheral(digitalPinToPinName(pwm_pin), PinMap_PWM);
                                    ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:136:53: error: 'digitalPinToPinName' was not declared in this scope
       pwm_channel = STM_PIN_CHANNEL(pinmap_function(digitalPinToPinName(pwm_pin), PinMap_PWM));
                                                     ^~~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:136:53: note: suggested alternative: 'digitalPinToTimer'
       pwm_channel = STM_PIN_CHANNEL(pinmap_function(digitalPinToPinName(pwm_pin), PinMap_PWM));
                                                     ^~~~~~~~~~~~~~~~~~~
                                                     digitalPinToTimer
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:136:83: error: 'PinMap_PWM' was not declared in this scope
       pwm_channel = STM_PIN_CHANNEL(pinmap_function(digitalPinToPinName(pwm_pin), PinMap_PWM));
                                                                                   ^~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:136:37: error: 'pinmap_function' was not declared in this scope
       pwm_channel = STM_PIN_CHANNEL(pinmap_function(digitalPinToPinName(pwm_pin), PinMap_PWM));
                                     ^~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:136:21: error: 'STM_PIN_CHANNEL' was not declared in this scope
       pwm_channel = STM_PIN_CHANNEL(pinmap_function(digitalPinToPinName(pwm_pin), PinMap_PWM));
                     ^~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:138:7: error: 'pwm_timer' was not declared in this scope
       pwm_timer = new HardwareTimer(pwm_instance);
       ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:138:7: note: suggested alternative: 'pwm_pin'
       pwm_timer = new HardwareTimer(pwm_instance);
       ^~~~~~~~~
       pwm_pin
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:138:23: error: expected type-specifier before 'HardwareTimer'
       pwm_timer = new HardwareTimer(pwm_instance);
                       ^~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h: In destructor 'virtual L6474::~L6474()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:159:12: error: 'pwm_timer' was not declared in this scope
       free(pwm_timer);
            ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:159:12: note: suggested alternative: 'pwm_pin'
       free(pwm_timer);
            ^~~~~~~~~
            pwm_pin
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h: In member function 'void L6474::L6474_PwmSetFreq(uint16_t)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:939:7: error: 'pwm_timer' was not declared in this scope
       pwm_timer->setPWM(pwm_channel, pwm_pin, frequency, 50, callback_handler, NULL);
       ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:939:7: note: suggested alternative: 'pwm_pin'
       pwm_timer->setPWM(pwm_channel, pwm_pin, frequency, 50, callback_handler, NULL);
       ^~~~~~~~~
       pwm_pin
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h: In member function 'void L6474::L6474_PwmStop()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:949:7: error: 'pwm_timer' was not declared in this scope
       pwm_timer->pause();
       ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:949:7: note: suggested alternative: 'pwm_pin'
       pwm_timer->pause();
       ^~~~~~~~~
       pwm_pin
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.cpp:54:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h: In instantiation of 'static Ret Callback<Ret(Params ...)>::callback(Args ...) [with Args = {}; Ret = void; Params = {}]':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:133:85:   required from here
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:86:16: error: 'func' was not declared in this scope
     return func(args...);
            ~~~~^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:86:16: note: suggested alternative: 'fputc'
     return func(args...);
            ~~~~^~~~~~~~~
            fputc

examples/X_NUCLEO_IHM01A1_HelloWorld

Result: FAIL

WARNING: library STM32duino_X-NUCLEO-IHM01A1 claims to run on stm32 architecture(s) and may be incompatible with your current board which runs on megaavr architecture(s).
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/examples/X_NUCLEO_IHM01A1_HelloWorld/X_NUCLEO_IHM01A1_HelloWorld.ino:40:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:88:15: error: 'function' in namespace 'std' does not name a template type
   static std::function<Ret(Params...)> func;
               ^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:92:6: error: 'function' in namespace 'std' does not name a template type
 std::function<Ret(Params...)> Callback<Ret(Params...)>::func;
      ^~~~~~~~
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/examples/X_NUCLEO_IHM01A1_HelloWorld/X_NUCLEO_IHM01A1_HelloWorld.ino:40:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:1024:5: error: 'HardwareTimer' does not name a type
     HardwareTimer *pwm_timer;
     ^~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:1027:5: error: 'TIM_TypeDef' does not name a type
     TIM_TypeDef *pwm_instance;
     ^~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h: In constructor 'L6474::L6474(uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, SPIClassMegaAVR*, uint32_t)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:132:25: error: 'func' is not a member of 'Callback<void()>'
       Callback<void()>::func = std::bind(&L6474::L6474_StepClockHandler, this);
                         ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:132:37: error: 'bind' is not a member of 'std'
       Callback<void()>::func = std::bind(&L6474::L6474_StepClockHandler, this);
                                     ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:135:7: error: 'pwm_instance' was not declared in this scope
       pwm_instance = (TIM_TypeDef *)pinmap_peripheral(digitalPinToPinName(pwm_pin), PinMap_PWM);
       ^~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:135:7: note: suggested alternative: 'pwm_channel'
       pwm_instance = (TIM_TypeDef *)pinmap_peripheral(digitalPinToPinName(pwm_pin), PinMap_PWM);
       ^~~~~~~~~~~~
       pwm_channel
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:135:23: error: 'TIM_TypeDef' was not declared in this scope
       pwm_instance = (TIM_TypeDef *)pinmap_peripheral(digitalPinToPinName(pwm_pin), PinMap_PWM);
                       ^~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:135:36: error: expected primary-expression before ')' token
       pwm_instance = (TIM_TypeDef *)pinmap_peripheral(digitalPinToPinName(pwm_pin), PinMap_PWM);
                                    ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:136:53: error: 'digitalPinToPinName' was not declared in this scope
       pwm_channel = STM_PIN_CHANNEL(pinmap_function(digitalPinToPinName(pwm_pin), PinMap_PWM));
                                                     ^~~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:136:53: note: suggested alternative: 'digitalPinToTimer'
       pwm_channel = STM_PIN_CHANNEL(pinmap_function(digitalPinToPinName(pwm_pin), PinMap_PWM));
                                                     ^~~~~~~~~~~~~~~~~~~
                                                     digitalPinToTimer
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:136:83: error: 'PinMap_PWM' was not declared in this scope
       pwm_channel = STM_PIN_CHANNEL(pinmap_function(digitalPinToPinName(pwm_pin), PinMap_PWM));
                                                                                   ^~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:136:37: error: 'pinmap_function' was not declared in this scope
       pwm_channel = STM_PIN_CHANNEL(pinmap_function(digitalPinToPinName(pwm_pin), PinMap_PWM));
                                     ^~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:136:21: error: 'STM_PIN_CHANNEL' was not declared in this scope
       pwm_channel = STM_PIN_CHANNEL(pinmap_function(digitalPinToPinName(pwm_pin), PinMap_PWM));
                     ^~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:138:7: error: 'pwm_timer' was not declared in this scope
       pwm_timer = new HardwareTimer(pwm_instance);
       ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:138:7: note: suggested alternative: 'pwm_pin'
       pwm_timer = new HardwareTimer(pwm_instance);
       ^~~~~~~~~
       pwm_pin
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:138:23: error: expected type-specifier before 'HardwareTimer'
       pwm_timer = new HardwareTimer(pwm_instance);
                       ^~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h: In destructor 'virtual L6474::~L6474()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:159:12: error: 'pwm_timer' was not declared in this scope
       free(pwm_timer);
            ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:159:12: note: suggested alternative: 'pwm_pin'
       free(pwm_timer);
            ^~~~~~~~~
            pwm_pin
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h: In member function 'void L6474::L6474_PwmSetFreq(uint16_t)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:939:7: error: 'pwm_timer' was not declared in this scope
       pwm_timer->setPWM(pwm_channel, pwm_pin, frequency, 50, callback_handler, NULL);
       ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:939:7: note: suggested alternative: 'pwm_pin'
       pwm_timer->setPWM(pwm_channel, pwm_pin, frequency, 50, callback_handler, NULL);
       ^~~~~~~~~
       pwm_pin
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h: In member function 'void L6474::L6474_PwmStop()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:949:7: error: 'pwm_timer' was not declared in this scope
       pwm_timer->pause();
       ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:949:7: note: suggested alternative: 'pwm_pin'
       pwm_timer->pause();
       ^~~~~~~~~
       pwm_pin
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/examples/X_NUCLEO_IHM01A1_HelloWorld/X_NUCLEO_IHM01A1_HelloWorld.ino: At global scope:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/examples/X_NUCLEO_IHM01A1_HelloWorld/X_NUCLEO_IHM01A1_HelloWorld.ino:91:18: error: 'D11' was not declared in this scope
 SPIClass dev_spi(D11, D12, D13);
                  ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/examples/X_NUCLEO_IHM01A1_HelloWorld/X_NUCLEO_IHM01A1_HelloWorld.ino:91:18: note: suggested alternative: 'B11'
 SPIClass dev_spi(D11, D12, D13);
                  ^~~
                  B11
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/examples/X_NUCLEO_IHM01A1_HelloWorld/X_NUCLEO_IHM01A1_HelloWorld.ino:91:23: error: 'D12' was not declared in this scope
 SPIClass dev_spi(D11, D12, D13);
                       ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/examples/X_NUCLEO_IHM01A1_HelloWorld/X_NUCLEO_IHM01A1_HelloWorld.ino:91:23: note: suggested alternative: 'DD2'
 SPIClass dev_spi(D11, D12, D13);
                       ^~~
                       DD2
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/examples/X_NUCLEO_IHM01A1_HelloWorld/X_NUCLEO_IHM01A1_HelloWorld.ino:91:28: error: 'D13' was not declared in this scope
 SPIClass dev_spi(D11, D12, D13);
                            ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/examples/X_NUCLEO_IHM01A1_HelloWorld/X_NUCLEO_IHM01A1_HelloWorld.ino:91:28: note: suggested alternative: 'DD3'
 SPIClass dev_spi(D11, D12, D13);
                            ^~~
                            DD3
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/examples/X_NUCLEO_IHM01A1_HelloWorld/X_NUCLEO_IHM01A1_HelloWorld.ino: In function 'void setup()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/examples/X_NUCLEO_IHM01A1_HelloWorld/X_NUCLEO_IHM01A1_HelloWorld.ino:133:21: error: 'D2' was not declared in this scope
   motor = new L6474(D2, D8, D7, D9, D10, &dev_spi);
                     ^~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/examples/X_NUCLEO_IHM01A1_HelloWorld/X_NUCLEO_IHM01A1_HelloWorld.ino:133:21: note: suggested alternative: 'A2'
   motor = new L6474(

arduino:samd:mkrwifi1010 @ 1.8.12

Inclusion

Result: FAIL
This library has no main header file so an empty one was created.

WARNING: library STM32duino_X-NUCLEO-IHM01A1 claims to run on stm32 architecture(s) and may be incompatible with your current board which runs on samd architecture(s).
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.cpp:54:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:88:15: error: 'function' in namespace 'std' does not name a template type
   static std::function<Ret(Params...)> func;
               ^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:92:6: error: 'function' in namespace 'std' does not name a template type
 std::function<Ret(Params...)> Callback<Ret(Params...)>::func;
      ^~~~~~~~
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.cpp:54:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:1024:5: error: 'HardwareTimer' does not name a type
     HardwareTimer *pwm_timer;
     ^~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:1027:5: error: 'TIM_TypeDef' does not name a type
     TIM_TypeDef *pwm_instance;
     ^~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h: In constructor 'L6474::L6474(uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, arduino::SPIClass*, uint32_t)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:132:25: error: 'func' is not a member of 'Callback<void()>'
       Callback<void()>::func = std::bind(&L6474::L6474_StepClockHandler, this);
                         ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:132:37: error: 'bind' is not a member of 'std'
       Callback<void()>::func = std::bind(&L6474::L6474_StepClockHandler, this);
                                     ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:132:37: note: suggested alternative: 'rint'
       Callback<void()>::func = std::bind(&L6474::L6474_StepClockHandler, this);
                                     ^~~~
                                     rint
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:135:7: error: 'pwm_instance' was not declared in this scope
       pwm_instance = (TIM_TypeDef *)pinmap_peripheral(digitalPinToPinName(pwm_pin), PinMap_PWM);
       ^~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:135:7: note: suggested alternative: 'pwm_channel'
       pwm_instance = (TIM_TypeDef *)pinmap_peripheral(digitalPinToPinName(pwm_pin), PinMap_PWM);
       ^~~~~~~~~~~~
       pwm_channel
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:135:23: error: 'TIM_TypeDef' was not declared in this scope
       pwm_instance = (TIM_TypeDef *)pinmap_peripheral(digitalPinToPinName(pwm_pin), PinMap_PWM);
                       ^~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:135:36: error: expected primary-expression before ')' token
       pwm_instance = (TIM_TypeDef *)pinmap_peripheral(digitalPinToPinName(pwm_pin), PinMap_PWM);
                                    ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:136:53: error: 'digitalPinToPinName' was not declared in this scope
       pwm_channel = STM_PIN_CHANNEL(pinmap_function(digitalPinToPinName(pwm_pin), PinMap_PWM));
                                                     ^~~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:136:53: note: suggested alternative: 'digitalPinToBitMask'
       pwm_channel = STM_PIN_CHANNEL(pinmap_function(digitalPinToPinName(pwm_pin), PinMap_PWM));
                                                     ^~~~~~~~~~~~~~~~~~~
                                                     digitalPinToBitMask
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:136:83: error: 'PinMap_PWM' was not declared in this scope
       pwm_channel = STM_PIN_CHANNEL(pinmap_function(digitalPinToPinName(pwm_pin), PinMap_PWM));
                                                                                   ^~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:136:83: note: suggested alternative: 'PIO_PWM'
       pwm_channel = STM_PIN_CHANNEL(pinmap_function(digitalPinToPinName(pwm_pin), PinMap_PWM));
                                                                                   ^~~~~~~~~~
                                                                                   PIO_PWM
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:136:37: error: 'pinmap_function' was not declared in this scope
       pwm_channel = STM_PIN_CHANNEL(pinmap_function(digitalPinToPinName(pwm_pin), PinMap_PWM));
                                     ^~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:136:21: error: 'STM_PIN_CHANNEL' was not declared in this scope
       pwm_channel = STM_PIN_CHANNEL(pinmap_function(digitalPinToPinName(pwm_pin), PinMap_PWM));
                     ^~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:136:21: note: suggested alternative: 'REG_EVSYS_CHANNEL'
       pwm_channel = STM_PIN_CHANNEL(pinmap_function(digitalPinToPinName(pwm_pin), PinMap_PWM));
                     ^~~~~~~~~~~~~~~
                     REG_EVSYS_CHANNEL
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:138:7: error: 'pwm_timer' was not declared in this scope
       pwm_timer = new HardwareTimer(pwm_instance);
       ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:138:7: note: suggested alternative: 'pwm_pin'
       pwm_timer = new HardwareTimer(pwm_instance);
       ^~~~~~~~~
       pwm_pin
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:138:23: error: expected type-specifier before 'HardwareTimer'
       pwm_timer = new HardwareTimer(pwm_instance);
                       ^~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h: In destructor 'virtual L6474::~L6474()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:159:12: error: 'pwm_timer' was not declared in this scope
       free(pwm_timer);
            ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:159:12: note: suggested alternative: 'pwm_pin'
       free(pwm_timer);
            ^~~~~~~~~
            pwm_pin
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h: In member function 'void L6474::L6474_PwmSetFreq(uint16_t)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:939:7: error: 'pwm_timer' was not declared in this scope
       pwm_timer->setPWM(pwm_channel, pwm_pin, frequency, 50, callback_handler, NULL);
       ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:939:7: note: suggested alternative: 'pwm_pin'
       pwm_timer->setPWM(pwm_channel, pwm_pin, frequency, 50, callback_handler, NULL);
       ^~~~~~~~~
       pwm_pin
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h: In member function 'void L6474::L6474_PwmStop()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:949:7: error: 'pwm_timer' was not declared in this scope
       pwm_timer->pause();
       ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:949:7: note: suggested alternative: 'pwm_pin'
       pwm_timer->pause();
       ^~~~~~~~~
       pwm_pin
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.cpp:54:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h: In instantiation of 'static Ret Callback<Ret(Params ...)>::callback(Args ...) [with Args = {}; Ret = void; Params = {}]':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:133:85:   required from here
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:86:16: error: 'func' was not declared in this scope
     return func(args...);
            ~~~~^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:86:16: note: suggested alternative: 'fputc'
     return func(args...);
            ~~~~^~~~~~~~~
            fputc
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:86:24: error: return-statement with a value, in function returning 'void' [-fpermissive]
     return func(args...);
                        ^

examples/X_NUCLEO_IHM01A1_HelloWorld

Result: FAIL

WARNING: library STM32duino_X-NUCLEO-IHM01A1 claims to run on stm32 architecture(s) and may be incompatible with your current board which runs on samd architecture(s).
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/examples/X_NUCLEO_IHM01A1_HelloWorld/X_NUCLEO_IHM01A1_HelloWorld.ino:40:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:88:15: error: 'function' in namespace 'std' does not name a template type
   static std::function<Ret(Params...)> func;
               ^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:92:6: error: 'function' in namespace 'std' does not name a template type
 std::function<Ret(Params...)> Callback<Ret(Params...)>::func;
      ^~~~~~~~
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/examples/X_NUCLEO_IHM01A1_HelloWorld/X_NUCLEO_IHM01A1_HelloWorld.ino:40:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:1024:5: error: 'HardwareTimer' does not name a type
     HardwareTimer *pwm_timer;
     ^~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:1027:5: error: 'TIM_TypeDef' does not name a type
     TIM_TypeDef *pwm_instance;
     ^~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h: In constructor 'L6474::L6474(uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, arduino::SPIClass*, uint32_t)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:132:25: error: 'func' is not a member of 'Callback<void()>'
       Callback<void()>::func = std::bind(&L6474::L6474_StepClockHandler, this);
                         ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:132:37: error: 'bind' is not a member of 'std'
       Callback<void()>::func = std::bind(&L6474::L6474_StepClockHandler, this);
                                     ^~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:132:37: note: suggested alternative: 'rint'
       Callback<void()>::func = std::bind(&L6474::L6474_StepClockHandler, this);
                                     ^~~~
                                     rint
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:135:7: error: 'pwm_instance' was not declared in this scope
       pwm_instance = (TIM_TypeDef *)pinmap_peripheral(digitalPinToPinName(pwm_pin), PinMap_PWM);
       ^~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:135:7: note: suggested alternative: 'pwm_channel'
       pwm_instance = (TIM_TypeDef *)pinmap_peripheral(digitalPinToPinName(pwm_pin), PinMap_PWM);
       ^~~~~~~~~~~~
       pwm_channel
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:135:23: error: 'TIM_TypeDef' was not declared in this scope
       pwm_instance = (TIM_TypeDef *)pinmap_peripheral(digitalPinToPinName(pwm_pin), PinMap_PWM);
                       ^~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:135:36: error: expected primary-expression before ')' token
       pwm_instance = (TIM_TypeDef *)pinmap_peripheral(digitalPinToPinName(pwm_pin), PinMap_PWM);
                                    ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:136:53: error: 'digitalPinToPinName' was not declared in this scope
       pwm_channel = STM_PIN_CHANNEL(pinmap_function(digitalPinToPinName(pwm_pin), PinMap_PWM));
                                                     ^~~~~~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:136:53: note: suggested alternative: 'digitalPinToBitMask'
       pwm_channel = STM_PIN_CHANNEL(pinmap_function(digitalPinToPinName(pwm_pin), PinMap_PWM));
                                                     ^~~~~~~~~~~~~~~~~~~
                                                     digitalPinToBitMask
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:136:83: error: 'PinMap_PWM' was not declared in this scope
       pwm_channel = STM_PIN_CHANNEL(pinmap_function(digitalPinToPinName(pwm_pin), PinMap_PWM));
                                                                                   ^~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:136:83: note: suggested alternative: 'PIO_PWM'
       pwm_channel = STM_PIN_CHANNEL(pinmap_function(digitalPinToPinName(pwm_pin), PinMap_PWM));
                                                                                   ^~~~~~~~~~
                                                                                   PIO_PWM
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:136:37: error: 'pinmap_function' was not declared in this scope
       pwm_channel = STM_PIN_CHANNEL(pinmap_function(digitalPinToPinName(pwm_pin), PinMap_PWM));
                                     ^~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:136:21: error: 'STM_PIN_CHANNEL' was not declared in this scope
       pwm_channel = STM_PIN_CHANNEL(pinmap_function(digitalPinToPinName(pwm_pin), PinMap_PWM));
                     ^~~~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:136:21: note: suggested alternative: 'REG_EVSYS_CHANNEL'
       pwm_channel = STM_PIN_CHANNEL(pinmap_function(digitalPinToPinName(pwm_pin), PinMap_PWM));
                     ^~~~~~~~~~~~~~~
                     REG_EVSYS_CHANNEL
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:138:7: error: 'pwm_timer' was not declared in this scope
       pwm_timer = new HardwareTimer(pwm_instance);
       ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:138:7: note: suggested alternative: 'pwm_pin'
       pwm_timer = new HardwareTimer(pwm_instance);
       ^~~~~~~~~
       pwm_pin
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:138:23: error: expected type-specifier before 'HardwareTimer'
       pwm_timer = new HardwareTimer(pwm_instance);
                       ^~~~~~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h: In destructor 'virtual L6474::~L6474()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:159:12: error: 'pwm_timer' was not declared in this scope
       free(pwm_timer);
            ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:159:12: note: suggested alternative: 'pwm_pin'
       free(pwm_timer);
            ^~~~~~~~~
            pwm_pin
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h: In member function 'void L6474::L6474_PwmSetFreq(uint16_t)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:939:7: error: 'pwm_timer' was not declared in this scope
       pwm_timer->setPWM(pwm_channel, pwm_pin, frequency, 50, callback_handler, NULL);
       ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:939:7: note: suggested alternative: 'pwm_pin'
       pwm_timer->setPWM(pwm_channel, pwm_pin, frequency, 50, callback_handler, NULL);
       ^~~~~~~~~
       pwm_pin
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h: In member function 'void L6474::L6474_PwmStop()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:949:7: error: 'pwm_timer' was not declared in this scope
       pwm_timer->pause();
       ^~~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:949:7: note: suggested alternative: 'pwm_pin'
       pwm_timer->pause();
       ^~~~~~~~~
       pwm_pin
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/examples/X_NUCLEO_IHM01A1_HelloWorld/X_NUCLEO_IHM01A1_HelloWorld.ino: At global scope:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/examples/X_NUCLEO_IHM01A1_HelloWorld/X_NUCLEO_IHM01A1_HelloWorld.ino:91:18: error: 'D11' was not declared in this scope
 SPIClass dev_spi(D11, D12, D13);
                  ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/examples/X_NUCLEO_IHM01A1_HelloWorld/X_NUCLEO_IHM01A1_HelloWorld.ino:91:18: note: suggested alternative: 'B11'
 SPIClass dev_spi(D11, D12, D13);
                  ^~~
                  B11
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/examples/X_NUCLEO_IHM01A1_HelloWorld/X_NUCLEO_IHM01A1_HelloWorld.ino:91:23: error: 'D12' was not declared in this scope
 SPIClass dev_spi(D11, D12, D13);
                       ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/examples/X_NUCLEO_IHM01A1_HelloWorld/X_NUCLEO_IHM01A1_HelloWorld.ino:91:28: error: 'D13' was not declared in this scope
 SPIClass dev_spi(D11, D12, D13);
                            ^~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/examples/X_NUCLEO_IHM01A1_HelloWorld/X_NUCLEO_IHM01A1_HelloWorld.ino:91:10: error: cannot declare variable 'dev_sp

esp32:esp32:d1_mini32 @ 1.0.6

Inclusion

Result: FAIL
This library has no main header file so an empty one was created.

WARNING: library STM32duino_X-NUCLEO-IHM01A1 claims to run on stm32 architecture(s) and may be incompatible with your current board which runs on esp32 architecture(s).
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.cpp:54:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:88:15: error: 'function' in namespace 'std' does not name a template type
   static std::function<Ret(Params...)> func;
               ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:92:6: error: 'function' in namespace 'std' does not name a template type
 std::function<Ret(Params...)> Callback<Ret(Params...)>::func;
      ^
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.cpp:54:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:1024:5: error: 'HardwareTimer' does not name a type
     HardwareTimer *pwm_timer;
     ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:1027:5: error: 'TIM_TypeDef' does not name a type
     TIM_TypeDef *pwm_instance;
     ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h: In constructor 'L6474::L6474(uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, SPIClass*, uint32_t)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:132:7: error: 'func' is not a member of 'Callback<void()>'
       Callback<void()>::func = std::bind(&L6474::L6474_StepClockHandler, this);
       ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:132:32: error: 'bind' is not a member of 'std'
       Callback<void()>::func = std::bind(&L6474::L6474_StepClockHandler, this);
                                ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:135:7: error: 'pwm_instance' was not declared in this scope
       pwm_instance = (TIM_TypeDef *)pinmap_peripheral(digitalPinToPinName(pwm_pin), PinMap_PWM);
       ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:135:23: error: 'TIM_TypeDef' was not declared in this scope
       pwm_instance = (TIM_TypeDef *)pinmap_peripheral(digitalPinToPinName(pwm_pin), PinMap_PWM);
                       ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:135:36: error: expected primary-expression before ')' token
       pwm_instance = (TIM_TypeDef *)pinmap_peripheral(digitalPinToPinName(pwm_pin), PinMap_PWM);
                                    ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:136:80: error: 'digitalPinToPinName' was not declared in this scope
       pwm_channel = STM_PIN_CHANNEL(pinmap_function(digitalPinToPinName(pwm_pin), PinMap_PWM));
                                                                                ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:136:83: error: 'PinMap_PWM' was not declared in this scope
       pwm_channel = STM_PIN_CHANNEL(pinmap_function(digitalPinToPinName(pwm_pin), PinMap_PWM));
                                                                                   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:136:93: error: 'pinmap_function' was not declared in this scope
       pwm_channel = STM_PIN_CHANNEL(pinmap_function(digitalPinToPinName(pwm_pin), PinMap_PWM));
                                                                                             ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:136:94: error: 'STM_PIN_CHANNEL' was not declared in this scope
       pwm_channel = STM_PIN_CHANNEL(pinmap_function(digitalPinToPinName(pwm_pin), PinMap_PWM));
                                                                                              ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:138:7: error: 'pwm_timer' was not declared in this scope
       pwm_timer = new HardwareTimer(pwm_instance);
       ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:138:23: error: expected type-specifier before 'HardwareTimer'
       pwm_timer = new HardwareTimer(pwm_instance);
                       ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h: In destructor 'virtual L6474::~L6474()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:159:12: error: 'pwm_timer' was not declared in this scope
       free(pwm_timer);
            ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h: In member function 'void L6474::L6474_PwmSetFreq(uint16_t)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:939:7: error: 'pwm_timer' was not declared in this scope
       pwm_timer->setPWM(pwm_channel, pwm_pin, frequency, 50, callback_handler, NULL);
       ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h: In member function 'void L6474::L6474_PwmStop()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:949:7: error: 'pwm_timer' was not declared in this scope
       pwm_timer->pause();
       ^
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.cpp:54:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h: In instantiation of 'static Ret Callback<Ret(Params ...)>::callback(Args ...) [with Args = {}; Ret = void; Params = {}]':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:133:85:   required from here
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:86:16: error: 'func' was not declared in this scope
     return func(args...);
                ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:86:24: error: return-statement with a value, in function returning 'void' [-fpermissive]
     return func(args...);
                        ^

examples/X_NUCLEO_IHM01A1_HelloWorld

Result: FAIL

WARNING: library STM32duino_X-NUCLEO-IHM01A1 claims to run on stm32 architecture(s) and may be incompatible with your current board which runs on esp32 architecture(s).
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/examples/X_NUCLEO_IHM01A1_HelloWorld/X_NUCLEO_IHM01A1_HelloWorld.ino:40:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:88:15: error: 'function' in namespace 'std' does not name a template type
   static std::function<Ret(Params...)> func;
               ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:92:6: error: 'function' in namespace 'std' does not name a template type
 std::function<Ret(Params...)> Callback<Ret(Params...)>::func;
      ^
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/examples/X_NUCLEO_IHM01A1_HelloWorld/X_NUCLEO_IHM01A1_HelloWorld.ino:40:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:1024:5: error: 'HardwareTimer' does not name a type
     HardwareTimer *pwm_timer;
     ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:1027:5: error: 'TIM_TypeDef' does not name a type
     TIM_TypeDef *pwm_instance;
     ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h: In constructor 'L6474::L6474(uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, SPIClass*, uint32_t)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:132:7: error: 'func' is not a member of 'Callback<void()>'
       Callback<void()>::func = std::bind(&L6474::L6474_StepClockHandler, this);
       ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:132:32: error: 'bind' is not a member of 'std'
       Callback<void()>::func = std::bind(&L6474::L6474_StepClockHandler, this);
                                ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:135:7: error: 'pwm_instance' was not declared in this scope
       pwm_instance = (TIM_TypeDef *)pinmap_peripheral(digitalPinToPinName(pwm_pin), PinMap_PWM);
       ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:135:23: error: 'TIM_TypeDef' was not declared in this scope
       pwm_instance = (TIM_TypeDef *)pinmap_peripheral(digitalPinToPinName(pwm_pin), PinMap_PWM);
                       ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:135:36: error: expected primary-expression before ')' token
       pwm_instance = (TIM_TypeDef *)pinmap_peripheral(digitalPinToPinName(pwm_pin), PinMap_PWM);
                                    ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:136:80: error: 'digitalPinToPinName' was not declared in this scope
       pwm_channel = STM_PIN_CHANNEL(pinmap_function(digitalPinToPinName(pwm_pin), PinMap_PWM));
                                                                                ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:136:83: error: 'PinMap_PWM' was not declared in this scope
       pwm_channel = STM_PIN_CHANNEL(pinmap_function(digitalPinToPinName(pwm_pin), PinMap_PWM));
                                                                                   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:136:93: error: 'pinmap_function' was not declared in this scope
       pwm_channel = STM_PIN_CHANNEL(pinmap_function(digitalPinToPinName(pwm_pin), PinMap_PWM));
                                                                                             ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:136:94: error: 'STM_PIN_CHANNEL' was not declared in this scope
       pwm_channel = STM_PIN_CHANNEL(pinmap_function(digitalPinToPinName(pwm_pin), PinMap_PWM));
                                                                                              ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:138:7: error: 'pwm_timer' was not declared in this scope
       pwm_timer = new HardwareTimer(pwm_instance);
       ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:138:23: error: expected type-specifier before 'HardwareTimer'
       pwm_timer = new HardwareTimer(pwm_instance);
                       ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h: In destructor 'virtual L6474::~L6474()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:159:12: error: 'pwm_timer' was not declared in this scope
       free(pwm_timer);
            ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h: In member function 'void L6474::L6474_PwmSetFreq(uint16_t)':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:939:7: error: 'pwm_timer' was not declared in this scope
       pwm_timer->setPWM(pwm_channel, pwm_pin, frequency, 50, callback_handler, NULL);
       ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h: In member function 'void L6474::L6474_PwmStop()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:949:7: error: 'pwm_timer' was not declared in this scope
       pwm_timer->pause();
       ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/examples/X_NUCLEO_IHM01A1_HelloWorld/X_NUCLEO_IHM01A1_HelloWorld.ino: At global scope:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/examples/X_NUCLEO_IHM01A1_HelloWorld/X_NUCLEO_IHM01A1_HelloWorld.ino:91:18: error: 'D11' was not declared in this scope
 SPIClass dev_spi(D11, D12, D13);
                  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/examples/X_NUCLEO_IHM01A1_HelloWorld/X_NUCLEO_IHM01A1_HelloWorld.ino:91:23: error: 'D12' was not declared in this scope
 SPIClass dev_spi(D11, D12, D13);
                       ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/examples/X_NUCLEO_IHM01A1_HelloWorld/X_NUCLEO_IHM01A1_HelloWorld.ino:91:28: error: 'D13' was not declared in this scope
 SPIClass dev_spi(D11, D12, D13);
                            ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/examples/X_NUCLEO_IHM01A1_HelloWorld/X_NUCLEO_IHM01A1_HelloWorld.ino: In function 'void setup()':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/examples/X_NUCLEO_IHM01A1_HelloWorld/X_NUCLEO_IHM01A1_HelloWorld.ino:133:33: error: 'D9' was not declared in this scope
   motor = new L6474(D2, D8, D7, D9, D10, &dev_spi);
                                 ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/examples/X_NUCLEO_IHM01A1_HelloWorld/X_NUCLEO_IHM01A1_HelloWorld.ino:133:37: error: 'D10' was not declared in this scope
   motor = new L6474(D2, D8, D7, D9, D10, &dev_spi);
                                     ^
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/examples/X_NUCLEO_IHM01A1_HelloWorld/X_NUCLEO_IHM01A1_HelloWorld.ino:40:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h: In instantiation of 'static Ret Callback<Ret(Params ...)>::callback(Args ...) [with Args = {}; Ret = void; Params = {}]':
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:133:85:   required from here
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:86:16: error: 'func' was not declared in this scope
     return func(args...);
                ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM01A1/src/L6474.h:86:24: error: return-statement with a value, in function returning 'void' [-fpermissive]
     return func(args...);
                        ^