This report was generated on Wednesday, 23-Feb-22 22:48:15 CET using arduino-testlib.
Version: 1.0.0
More details
Board | Claims compatibility | Inclusion | X_NUCLEO_IHM05A1_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 |
Result: FAIL
This library has no main header file so an empty one was created.
WARNING: library STM32duino_X-NUCLEO-IHM05A1 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-IHM05A1/src/L6208.cpp:41:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:77: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-IHM05A1/src/L6208.h:81: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-IHM05A1/src/L6208.cpp:41:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:107:191: error: 'TIM_TypeDef' has not been declared L6208(uint8_t flag_and_enable_pin, uint8_t reset_pin, uint8_t direction_pin, uint8_t half_full_pin, uint8_t control_pin, uint8_t clock_pin, uint8_t vrefA_pwm_pin, uint8_t vrefB_pwm_pin, TIM_TypeDef *ticker_instance) : StepperMotor(), ^~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:1065:5: error: 'HardwareTimer' does not name a type; did you mean 'HardwareSerial'? HardwareTimer *vrefA_pwm_timer; ^~~~~~~~~~~~~ HardwareSerial /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:1068:5: error: 'TIM_TypeDef' does not name a type TIM_TypeDef *vrefA_pwm_instance; ^~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:1069:5: error: 'TIM_TypeDef' does not name a type TIM_TypeDef *vrefB_pwm_instance; ^~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:1071:5: error: 'HardwareTimer' does not name a type; did you mean 'HardwareSerial'? HardwareTimer *vrefB_pwm_timer; ^~~~~~~~~~~~~ HardwareSerial /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:1074:5: error: 'TIM_TypeDef' does not name a type TIM_TypeDef *ticker_instance; ^~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:1077:5: error: 'HardwareTimer' does not name a type; did you mean 'HardwareSerial'? HardwareTimer *ticker; ^~~~~~~~~~~~~ HardwareSerial /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h: In constructor 'L6208::L6208(uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, int*)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:116:7: error: class 'L6208' does not have any field named 'ticker_instance' ticker_instance(ticker_instance) ^~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:126:25: error: 'func' is not a member of 'Callback<void()>' Callback<void()>::func = std::bind(&L6208::L6208_TickHandler, this); ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:126:37: error: 'bind' is not a member of 'std' Callback<void()>::func = std::bind(&L6208::L6208_TickHandler, this); ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:129:7: error: 'vrefA_pwm_instance' was not declared in this scope vrefA_pwm_instance = (TIM_TypeDef *)pinmap_peripheral(digitalPinToPinName(vrefA_pwm), PinMap_PWM); ^~~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:129:7: note: suggested alternative: 'vrefA_pwm_channel' vrefA_pwm_instance = (TIM_TypeDef *)pinmap_peripheral(digitalPinToPinName(vrefA_pwm), PinMap_PWM); ^~~~~~~~~~~~~~~~~~ vrefA_pwm_channel /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:129:29: error: 'TIM_TypeDef' was not declared in this scope vrefA_pwm_instance = (TIM_TypeDef *)pinmap_peripheral(digitalPinToPinName(vrefA_pwm), PinMap_PWM); ^~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:129:42: error: expected primary-expression before ')' token vrefA_pwm_instance = (TIM_TypeDef *)pinmap_peripheral(digitalPinToPinName(vrefA_pwm), PinMap_PWM); ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:130:59: error: 'digitalPinToPinName' was not declared in this scope vrefA_pwm_channel = STM_PIN_CHANNEL(pinmap_function(digitalPinToPinName(vrefA_pwm), PinMap_PWM)); ^~~~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:130:59: note: suggested alternative: 'digitalPinToBitMask' vrefA_pwm_channel = STM_PIN_CHANNEL(pinmap_function(digitalPinToPinName(vrefA_pwm), PinMap_PWM)); ^~~~~~~~~~~~~~~~~~~ digitalPinToBitMask /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:130:91: error: 'PinMap_PWM' was not declared in this scope vrefA_pwm_channel = STM_PIN_CHANNEL(pinmap_function(digitalPinToPinName(vrefA_pwm), PinMap_PWM)); ^~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:130:43: error: 'pinmap_function' was not declared in this scope vrefA_pwm_channel = STM_PIN_CHANNEL(pinmap_function(digitalPinToPinName(vrefA_pwm), PinMap_PWM)); ^~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:130:27: error: 'STM_PIN_CHANNEL' was not declared in this scope vrefA_pwm_channel = STM_PIN_CHANNEL(pinmap_function(digitalPinToPinName(vrefA_pwm), PinMap_PWM)); ^~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:132:7: error: 'vrefB_pwm_instance' was not declared in this scope vrefB_pwm_instance = (TIM_TypeDef *)pinmap_peripheral(digitalPinToPinName(vrefB_pwm), PinMap_PWM); ^~~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:132:7: note: suggested alternative: 'vrefB_pwm_channel' vrefB_pwm_instance = (TIM_TypeDef *)pinmap_peripheral(digitalPinToPinName(vrefB_pwm), PinMap_PWM); ^~~~~~~~~~~~~~~~~~ vrefB_pwm_channel /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:132:42: error: expected primary-expression before ')' token vrefB_pwm_instance = (TIM_TypeDef *)pinmap_peripheral(digitalPinToPinName(vrefB_pwm), PinMap_PWM); ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:135:7: error: 'vrefA_pwm_timer' was not declared in this scope vrefA_pwm_timer = new HardwareTimer(vrefA_pwm_instance); ^~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:135:7: note: suggested alternative: 'vrefA_pwm_pin' vrefA_pwm_timer = new HardwareTimer(vrefA_pwm_instance); ^~~~~~~~~~~~~~~ vrefA_pwm_pin /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:135:29: error: expected type-specifier before 'HardwareTimer' vrefA_pwm_timer = new HardwareTimer(vrefA_pwm_instance); ^~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:136:51: error: 'TIMER_OUTPUT_COMPARE_PWM1' was not declared in this scope vrefA_pwm_timer->setMode(vrefA_pwm_channel, TIMER_OUTPUT_COMPARE_PWM1, vrefA_pwm_pin); ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:137:68: error: 'HERTZ_FORMAT' was not declared in this scope vrefA_pwm_timer ->setOverflow(L6208_CONF_VREF_PWM_FREQUENCY, HERTZ_FORMAT); ^~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:138:64: error: 'TICK_COMPARE_FORMAT' was not declared in this scope vrefA_pwm_timer->setCaptureCompare(vrefA_pwm_channel, 0, TICK_COMPARE_FORMAT); ^~~~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:140:7: error: 'vrefB_pwm_timer' was not declared in this scope vrefB_pwm_timer = new HardwareTimer(vrefB_pwm_instance); ^~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:140:7: note: suggested alternative: 'vrefB_pwm_pin' vrefB_pwm_timer = new HardwareTimer(vrefB_pwm_instance); ^~
Result: FAIL
WARNING: library STM32duino_X-NUCLEO-IHM05A1 claims to run on stm32 architecture(s) and may be incompatible with your current board which runs on avr architecture(s). /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/examples/X_NUCLEO_IHM05A1_HelloWorld/X_NUCLEO_IHM05A1_HelloWorld.ino:58:4: error: #error "Target board not tested! Please, comment this line and define the good pins for VrefA and VrefB and a good instance for the Ticker Hardware Timer" #error "Target board not tested! Please, comment this line and define the good pins for VrefA and VrefB and a good instance for the Ticker Hardware Timer" ^~~~~
Result: FAIL
WARNING: library STM32duino_X-NUCLEO-IHM05A1 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-IHM05A1/src/L6208.cpp:41:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:107:191: error: 'TIM_TypeDef' has not been declared L6208(uint8_t flag_and_enable_pin, uint8_t reset_pin, uint8_t direction_pin, uint8_t half_full_pin, uint8_t control_pin, uint8_t clock_pin, uint8_t vrefA_pwm_pin, uint8_t vrefB_pwm_pin, TIM_TypeDef *ticker_instance) : StepperMotor(), ^~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:1065:5: error: 'HardwareTimer' does not name a type HardwareTimer *vrefA_pwm_timer; ^~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:1068:5: error: 'TIM_TypeDef' does not name a type TIM_TypeDef *vrefA_pwm_instance; ^~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:1069:5: error: 'TIM_TypeDef' does not name a type TIM_TypeDef *vrefB_pwm_instance; ^~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:1071:5: error: 'HardwareTimer' does not name a type HardwareTimer *vrefB_pwm_timer; ^~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:1074:5: error: 'TIM_TypeDef' does not name a type TIM_TypeDef *ticker_instance; ^~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:1077:5: error: 'HardwareTimer' does not name a type HardwareTimer *ticker; ^~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h: In constructor 'L6208::L6208(uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, int*)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:116:7: error: class 'L6208' does not have any field named 'ticker_instance' ticker_instance(ticker_instance) ^~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:129:7: error: 'vrefA_pwm_instance' was not declared in this scope vrefA_pwm_instance = (TIM_TypeDef *)pinmap_peripheral(digitalPinToPinName(vrefA_pwm), PinMap_PWM); ^~~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:129:7: note: suggested alternative: 'vrefA_pwm_channel' vrefA_pwm_instance = (TIM_TypeDef *)pinmap_peripheral(digitalPinToPinName(vrefA_pwm), PinMap_PWM); ^~~~~~~~~~~~~~~~~~ vrefA_pwm_channel /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:129:29: error: 'TIM_TypeDef' was not declared in this scope vrefA_pwm_instance = (TIM_TypeDef *)pinmap_peripheral(digitalPinToPinName(vrefA_pwm), PinMap_PWM); ^~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:129:42: error: expected primary-expression before ')' token vrefA_pwm_instance = (TIM_TypeDef *)pinmap_peripheral(digitalPinToPinName(vrefA_pwm), PinMap_PWM); ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:130:91: error: 'PinMap_PWM' was not declared in this scope vrefA_pwm_channel = STM_PIN_CHANNEL(pinmap_function(digitalPinToPinName(vrefA_pwm), PinMap_PWM)); ^~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:130:43: error: 'pinmap_function' was not declared in this scope vrefA_pwm_channel = STM_PIN_CHANNEL(pinmap_function(digitalPinToPinName(vrefA_pwm), PinMap_PWM)); ^~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:130:43: note: suggested alternative: 'gpio_function' vrefA_pwm_channel = STM_PIN_CHANNEL(pinmap_function(digitalPinToPinName(vrefA_pwm), PinMap_PWM)); ^~~~~~~~~~~~~~~ gpio_function /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:130:27: error: 'STM_PIN_CHANNEL' was not declared in this scope vrefA_pwm_channel = STM_PIN_CHANNEL(pinmap_function(digitalPinToPinName(vrefA_pwm), PinMap_PWM)); ^~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:130:27: note: suggested alternative: 'NUM_DMA_CHANNELS' vrefA_pwm_channel = STM_PIN_CHANNEL(pinmap_function(digitalPinToPinName(vrefA_pwm), PinMap_PWM)); ^~~~~~~~~~~~~~~ NUM_DMA_CHANNELS /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:132:7: error: 'vrefB_pwm_instance' was not declared in this scope vrefB_pwm_instance = (TIM_TypeDef *)pinmap_peripheral(digitalPinToPinName(vrefB_pwm), PinMap_PWM); ^~~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:132:7: note: suggested alternative: 'vrefB_pwm_channel' vrefB_pwm_instance = (TIM_TypeDef *)pinmap_peripheral(digitalPinToPinName(vrefB_pwm), PinMap_PWM); ^~~~~~~~~~~~~~~~~~ vrefB_pwm_channel /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:132:42: error: expected primary-expression before ')' token vrefB_pwm_instance = (TIM_TypeDef *)pinmap_peripheral(digitalPinToPinName(vrefB_pwm), PinMap_PWM); ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:135:7: error: 'vrefA_pwm_timer' was not declared in this scope vrefA_pwm_timer = new HardwareTimer(vrefA_pwm_instance); ^~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:135:7: note: suggested alternative: 'vrefA_pwm_pin' vrefA_pwm_timer = new HardwareTimer(vrefA_pwm_instance); ^~~~~~~~~~~~~~~ vrefA_pwm_pin /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:135:29: error: expected type-specifier before 'HardwareTimer' vrefA_pwm_timer = new HardwareTimer(vrefA_pwm_instance); ^~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:136:51: error: 'TIMER_OUTPUT_COMPARE_PWM1' was not declared in this scope vrefA_pwm_timer->setMode(vrefA_pwm_channel, TIMER_OUTPUT_COMPARE_PWM1, vrefA_pwm_pin); ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:137:68: error: 'HERTZ_FORMAT' was not declared in this scope vrefA_pwm_timer ->setOverflow(L6208_CONF_VREF_PWM_FREQUENCY, HERTZ_FORMAT); ^~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:138:64: error: 'TICK_COMPARE_FORMAT' was not declared in this scope vrefA_pwm_timer->setCaptureCompare(vrefA_pwm_channel, 0, TICK_COMPARE_FORMAT); ^~~~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:140:7: error: 'vrefB_pwm_timer' was not declared in this scope vrefB_pwm_timer = new HardwareTimer(vrefB_pwm_instance); ^~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:140:7: note: suggested alternative: 'vrefB_pwm_pin' vrefB_pwm_timer = new HardwareTimer(vrefB_pwm_instance); ^~~~~~~~~~~~~~~ vrefB_pwm_pin /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:140:29: error: expected type-specifier before 'HardwareTimer' vrefB_pwm_timer = new HardwareTimer(vrefB_pwm_instance); ^~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:145:7: error: 'ticker' was not declared in this scope ticker = new HardwareTimer(ticker_instance); ^~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:145:7: note: suggested alternative: 'tickFreq' ticker = new HardwareTimer(ticker_instance); ^~~~~~ tickFreq /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:145:20: error: expected type-specifier before 'HardwareTimer' ticker = new HardwareTimer(ticker_instance); ^~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h: In destructor 'virtual L6208::~L6208()': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:159:12: error: 'vrefA_pwm_timer' was not declared in this scope free(vrefA_pwm_timer); ^~~~~~~~~~~
Result: FAIL
WARNING: library STM32duino_X-NUCLEO-IHM05A1 claims to run on stm32 architecture(s) and may be incompatible with your current board which runs on mbed_nano architecture(s). /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/examples/X_NUCLEO_IHM05A1_HelloWorld/X_NUCLEO_IHM05A1_HelloWorld.ino:58:4: error: #error "Target board not tested! Please, comment this line and define the good pins for VrefA and VrefB and a good instance for the Ticker Hardware Timer" #error "Target board not tested! Please, comment this line and define the good pins for VrefA and VrefB and a good instance for the Ticker Hardware Timer" ^~~~~
Result: FAIL
WARNING: library STM32duino_X-NUCLEO-IHM05A1 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-IHM05A1/src/L6208.cpp:41:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:77: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-IHM05A1/src/L6208.h:81: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-IHM05A1/src/L6208.cpp:41:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:107:191: error: 'TIM_TypeDef' has not been declared L6208(uint8_t flag_and_enable_pin, uint8_t reset_pin, uint8_t direction_pin, uint8_t half_full_pin, uint8_t control_pin, uint8_t clock_pin, uint8_t vrefA_pwm_pin, uint8_t vrefB_pwm_pin, TIM_TypeDef *ticker_instance) : StepperMotor(), ^~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:1065:5: error: 'HardwareTimer' does not name a type HardwareTimer *vrefA_pwm_timer; ^~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:1068:5: error: 'TIM_TypeDef' does not name a type TIM_TypeDef *vrefA_pwm_instance; ^~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:1069:5: error: 'TIM_TypeDef' does not name a type TIM_TypeDef *vrefB_pwm_instance; ^~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:1071:5: error: 'HardwareTimer' does not name a type HardwareTimer *vrefB_pwm_timer; ^~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:1074:5: error: 'TIM_TypeDef' does not name a type TIM_TypeDef *ticker_instance; ^~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:1077:5: error: 'HardwareTimer' does not name a type HardwareTimer *ticker; ^~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h: In constructor 'L6208::L6208(uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, int*)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:116:7: error: class 'L6208' does not have any field named 'ticker_instance' ticker_instance(ticker_instance) ^~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:126:25: error: 'func' is not a member of 'Callback<void()>' Callback<void()>::func = std::bind(&L6208::L6208_TickHandler, this); ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:126:37: error: 'bind' is not a member of 'std' Callback<void()>::func = std::bind(&L6208::L6208_TickHandler, this); ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:129:7: error: 'vrefA_pwm_instance' was not declared in this scope vrefA_pwm_instance = (TIM_TypeDef *)pinmap_peripheral(digitalPinToPinName(vrefA_pwm), PinMap_PWM); ^~~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:129:7: note: suggested alternative: 'vrefA_pwm_channel' vrefA_pwm_instance = (TIM_TypeDef *)pinmap_peripheral(digitalPinToPinName(vrefA_pwm), PinMap_PWM); ^~~~~~~~~~~~~~~~~~ vrefA_pwm_channel /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:129:29: error: 'TIM_TypeDef' was not declared in this scope vrefA_pwm_instance = (TIM_TypeDef *)pinmap_peripheral(digitalPinToPinName(vrefA_pwm), PinMap_PWM); ^~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:129:42: error: expected primary-expression before ')' token vrefA_pwm_instance = (TIM_TypeDef *)pinmap_peripheral(digitalPinToPinName(vrefA_pwm), PinMap_PWM); ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:130:59: error: 'digitalPinToPinName' was not declared in this scope vrefA_pwm_channel = STM_PIN_CHANNEL(pinmap_function(digitalPinToPinName(vrefA_pwm), PinMap_PWM)); ^~~~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:130:59: note: suggested alternative: 'digitalPinToTimer' vrefA_pwm_channel = STM_PIN_CHANNEL(pinmap_function(digitalPinToPinName(vrefA_pwm), PinMap_PWM)); ^~~~~~~~~~~~~~~~~~~ digitalPinToTimer /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:130:91: error: 'PinMap_PWM' was not declared in this scope vrefA_pwm_channel = STM_PIN_CHANNEL(pinmap_function(digitalPinToPinName(vrefA_pwm), PinMap_PWM)); ^~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:130:43: error: 'pinmap_function' was not declared in this scope vrefA_pwm_channel = STM_PIN_CHANNEL(pinmap_function(digitalPinToPinName(vrefA_pwm), PinMap_PWM)); ^~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:130:27: error: 'STM_PIN_CHANNEL' was not declared in this scope vrefA_pwm_channel = STM_PIN_CHANNEL(pinmap_function(digitalPinToPinName(vrefA_pwm), PinMap_PWM)); ^~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:132:7: error: 'vrefB_pwm_instance' was not declared in this scope vrefB_pwm_instance = (TIM_TypeDef *)pinmap_peripheral(digitalPinToPinName(vrefB_pwm), PinMap_PWM); ^~~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:132:7: note: suggested alternative: 'vrefB_pwm_channel' vrefB_pwm_instance = (TIM_TypeDef *)pinmap_peripheral(digitalPinToPinName(vrefB_pwm), PinMap_PWM); ^~~~~~~~~~~~~~~~~~ vrefB_pwm_channel /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:132:42: error: expected primary-expression before ')' token vrefB_pwm_instance = (TIM_TypeDef *)pinmap_peripheral(digitalPinToPinName(vrefB_pwm), PinMap_PWM); ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:135:7: error: 'vrefA_pwm_timer' was not declared in this scope vrefA_pwm_timer = new HardwareTimer(vrefA_pwm_instance); ^~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:135:7: note: suggested alternative: 'vrefA_pwm_pin' vrefA_pwm_timer = new HardwareTimer(vrefA_pwm_instance); ^~~~~~~~~~~~~~~ vrefA_pwm_pin /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:135:29: error: expected type-specifier before 'HardwareTimer' vrefA_pwm_timer = new HardwareTimer(vrefA_pwm_instance); ^~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:136:51: error: 'TIMER_OUTPUT_COMPARE_PWM1' was not declared in this scope vrefA_pwm_timer->setMode(vrefA_pwm_channel, TIMER_OUTPUT_COMPARE_PWM1, vrefA_pwm_pin); ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:137:68: error: 'HERTZ_FORMAT' was not declared in this scope vrefA_pwm_timer ->setOverflow(L6208_CONF_VREF_PWM_FREQUENCY, HERTZ_FORMAT); ^~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:138:64: error: 'TICK_COMPARE_FORMAT' was not declared in this scope vrefA_pwm_timer->setCaptureCompare(vrefA_pwm_channel, 0, TICK_COMPARE_FORMAT); ^~~~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:140:7: error: 'vrefB_pwm_timer' was not declared in this scope vrefB_pwm_timer = new HardwareTimer(vrefB_pwm_instance); ^~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:140:7: note: suggested alternative: 'vrefB_pwm_pin' vrefB_pwm_timer = new HardwareTimer(vrefB_pwm_instance); ^~~~~~~~~~~~~~~ vrefB_pwm_pin /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:140:29: error: expected
Result: FAIL
WARNING: library STM32duino_X-NUCLEO-IHM05A1 claims to run on stm32 architecture(s) and may be incompatible with your current board which runs on megaavr architecture(s). /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/examples/X_NUCLEO_IHM05A1_HelloWorld/X_NUCLEO_IHM05A1_HelloWorld.ino:58:4: error: #error "Target board not tested! Please, comment this line and define the good pins for VrefA and VrefB and a good instance for the Ticker Hardware Timer" #error "Target board not tested! Please, comment this line and define the good pins for VrefA and VrefB and a good instance for the Ticker Hardware Timer" ^~~~~
Result: FAIL
This library has no main header file so an empty one was created.
WARNING: library STM32duino_X-NUCLEO-IHM05A1 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-IHM05A1/src/L6208.cpp:41:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:77: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-IHM05A1/src/L6208.h:81: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-IHM05A1/src/L6208.cpp:41:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:107:191: error: 'TIM_TypeDef' has not been declared L6208(uint8_t flag_and_enable_pin, uint8_t reset_pin, uint8_t direction_pin, uint8_t half_full_pin, uint8_t control_pin, uint8_t clock_pin, uint8_t vrefA_pwm_pin, uint8_t vrefB_pwm_pin, TIM_TypeDef *ticker_instance) : StepperMotor(), ^~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:1065:5: error: 'HardwareTimer' does not name a type HardwareTimer *vrefA_pwm_timer; ^~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:1068:5: error: 'TIM_TypeDef' does not name a type TIM_TypeDef *vrefA_pwm_instance; ^~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:1069:5: error: 'TIM_TypeDef' does not name a type TIM_TypeDef *vrefB_pwm_instance; ^~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:1071:5: error: 'HardwareTimer' does not name a type HardwareTimer *vrefB_pwm_timer; ^~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:1074:5: error: 'TIM_TypeDef' does not name a type TIM_TypeDef *ticker_instance; ^~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:1077:5: error: 'HardwareTimer' does not name a type HardwareTimer *ticker; ^~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h: In constructor 'L6208::L6208(uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, int*)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:116:7: error: class 'L6208' does not have any field named 'ticker_instance' ticker_instance(ticker_instance) ^~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:126:25: error: 'func' is not a member of 'Callback<void()>' Callback<void()>::func = std::bind(&L6208::L6208_TickHandler, this); ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:126:37: error: 'bind' is not a member of 'std' Callback<void()>::func = std::bind(&L6208::L6208_TickHandler, this); ^~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:126:37: note: suggested alternative: 'rint' Callback<void()>::func = std::bind(&L6208::L6208_TickHandler, this); ^~~~ rint /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:129:7: error: 'vrefA_pwm_instance' was not declared in this scope vrefA_pwm_instance = (TIM_TypeDef *)pinmap_peripheral(digitalPinToPinName(vrefA_pwm), PinMap_PWM); ^~~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:129:7: note: suggested alternative: 'vrefA_pwm_channel' vrefA_pwm_instance = (TIM_TypeDef *)pinmap_peripheral(digitalPinToPinName(vrefA_pwm), PinMap_PWM); ^~~~~~~~~~~~~~~~~~ vrefA_pwm_channel /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:129:29: error: 'TIM_TypeDef' was not declared in this scope vrefA_pwm_instance = (TIM_TypeDef *)pinmap_peripheral(digitalPinToPinName(vrefA_pwm), PinMap_PWM); ^~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:129:42: error: expected primary-expression before ')' token vrefA_pwm_instance = (TIM_TypeDef *)pinmap_peripheral(digitalPinToPinName(vrefA_pwm), PinMap_PWM); ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:130:59: error: 'digitalPinToPinName' was not declared in this scope vrefA_pwm_channel = STM_PIN_CHANNEL(pinmap_function(digitalPinToPinName(vrefA_pwm), PinMap_PWM)); ^~~~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:130:59: note: suggested alternative: 'digitalPinToBitMask' vrefA_pwm_channel = STM_PIN_CHANNEL(pinmap_function(digitalPinToPinName(vrefA_pwm), PinMap_PWM)); ^~~~~~~~~~~~~~~~~~~ digitalPinToBitMask /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:130:91: error: 'PinMap_PWM' was not declared in this scope vrefA_pwm_channel = STM_PIN_CHANNEL(pinmap_function(digitalPinToPinName(vrefA_pwm), PinMap_PWM)); ^~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:130:91: note: suggested alternative: 'PIO_PWM' vrefA_pwm_channel = STM_PIN_CHANNEL(pinmap_function(digitalPinToPinName(vrefA_pwm), PinMap_PWM)); ^~~~~~~~~~ PIO_PWM /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:130:43: error: 'pinmap_function' was not declared in this scope vrefA_pwm_channel = STM_PIN_CHANNEL(pinmap_function(digitalPinToPinName(vrefA_pwm), PinMap_PWM)); ^~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:130:27: error: 'STM_PIN_CHANNEL' was not declared in this scope vrefA_pwm_channel = STM_PIN_CHANNEL(pinmap_function(digitalPinToPinName(vrefA_pwm), PinMap_PWM)); ^~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:130:27: note: suggested alternative: 'REG_EVSYS_CHANNEL' vrefA_pwm_channel = STM_PIN_CHANNEL(pinmap_function(digitalPinToPinName(vrefA_pwm), PinMap_PWM)); ^~~~~~~~~~~~~~~ REG_EVSYS_CHANNEL /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:132:7: error: 'vrefB_pwm_instance' was not declared in this scope vrefB_pwm_instance = (TIM_TypeDef *)pinmap_peripheral(digitalPinToPinName(vrefB_pwm), PinMap_PWM); ^~~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:132:7: note: suggested alternative: 'vrefB_pwm_channel' vrefB_pwm_instance = (TIM_TypeDef *)pinmap_peripheral(digitalPinToPinName(vrefB_pwm), PinMap_PWM); ^~~~~~~~~~~~~~~~~~ vrefB_pwm_channel /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:132:42: error: expected primary-expression before ')' token vrefB_pwm_instance = (TIM_TypeDef *)pinmap_peripheral(digitalPinToPinName(vrefB_pwm), PinMap_PWM); ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:135:7: error: 'vrefA_pwm_timer' was not declared in this scope vrefA_pwm_timer = new HardwareTimer(vrefA_pwm_instance); ^~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:135:7: note: suggested alternative: 'vrefA_pwm_pin' vrefA_pwm_timer = new HardwareTimer(vrefA_pwm_instance); ^~~~~~~~~~~~~~~ vrefA_pwm_pin /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:135:29: error: expected type-specifier before 'HardwareTimer' vrefA_pwm_timer = new HardwareTimer(vrefA_pwm_instance); ^~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:136:51: error: 'TIMER_OUTPUT_COMPARE_PWM1' was not declared in this scope vrefA_pwm_timer->setMode(vrefA_pwm_channel, TIMER_OUTPUT_COMPARE_PWM1, vrefA_pwm_pin); ^~~~~~~~~~~~~~~~~~~~~~~~~ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:137:68: error: 'HERTZ_FORMAT' was not declared in this scope vrefA_pwm_timer ->
Result: FAIL
WARNING: library STM32duino_X-NUCLEO-IHM05A1 claims to run on stm32 architecture(s) and may be incompatible with your current board which runs on samd architecture(s). /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/examples/X_NUCLEO_IHM05A1_HelloWorld/X_NUCLEO_IHM05A1_HelloWorld.ino:58:4: error: #error "Target board not tested! Please, comment this line and define the good pins for VrefA and VrefB and a good instance for the Ticker Hardware Timer" #error "Target board not tested! Please, comment this line and define the good pins for VrefA and VrefB and a good instance for the Ticker Hardware Timer" ^~~~~
Result: FAIL
WARNING: library STM32duino_X-NUCLEO-IHM05A1 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-IHM05A1/src/L6208.cpp:41:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:77: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-IHM05A1/src/L6208.h:81: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-IHM05A1/src/L6208.cpp:41:0: /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:107:191: error: 'TIM_TypeDef' has not been declared L6208(uint8_t flag_and_enable_pin, uint8_t reset_pin, uint8_t direction_pin, uint8_t half_full_pin, uint8_t control_pin, uint8_t clock_pin, uint8_t vrefA_pwm_pin, uint8_t vrefB_pwm_pin, TIM_TypeDef *ticker_instance) : StepperMotor(), ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:1065:5: error: 'HardwareTimer' does not name a type HardwareTimer *vrefA_pwm_timer; ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:1068:5: error: 'TIM_TypeDef' does not name a type TIM_TypeDef *vrefA_pwm_instance; ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:1069:5: error: 'TIM_TypeDef' does not name a type TIM_TypeDef *vrefB_pwm_instance; ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:1071:5: error: 'HardwareTimer' does not name a type HardwareTimer *vrefB_pwm_timer; ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:1074:5: error: 'TIM_TypeDef' does not name a type TIM_TypeDef *ticker_instance; ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:1077:5: error: 'HardwareTimer' does not name a type HardwareTimer *ticker; ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h: In constructor 'L6208::L6208(uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, uint8_t, int*)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:116:7: error: class 'L6208' does not have any field named 'ticker_instance' ticker_instance(ticker_instance) ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:126:7: error: 'func' is not a member of 'Callback<void()>' Callback<void()>::func = std::bind(&L6208::L6208_TickHandler, this); ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:126:32: error: 'bind' is not a member of 'std' Callback<void()>::func = std::bind(&L6208::L6208_TickHandler, this); ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:129:7: error: 'vrefA_pwm_instance' was not declared in this scope vrefA_pwm_instance = (TIM_TypeDef *)pinmap_peripheral(digitalPinToPinName(vrefA_pwm), PinMap_PWM); ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:129:29: error: 'TIM_TypeDef' was not declared in this scope vrefA_pwm_instance = (TIM_TypeDef *)pinmap_peripheral(digitalPinToPinName(vrefA_pwm), PinMap_PWM); ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:129:42: error: expected primary-expression before ')' token vrefA_pwm_instance = (TIM_TypeDef *)pinmap_peripheral(digitalPinToPinName(vrefA_pwm), PinMap_PWM); ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:130:88: error: 'digitalPinToPinName' was not declared in this scope vrefA_pwm_channel = STM_PIN_CHANNEL(pinmap_function(digitalPinToPinName(vrefA_pwm), PinMap_PWM)); ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:130:91: error: 'PinMap_PWM' was not declared in this scope vrefA_pwm_channel = STM_PIN_CHANNEL(pinmap_function(digitalPinToPinName(vrefA_pwm), PinMap_PWM)); ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:130:101: error: 'pinmap_function' was not declared in this scope vrefA_pwm_channel = STM_PIN_CHANNEL(pinmap_function(digitalPinToPinName(vrefA_pwm), PinMap_PWM)); ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:130:102: error: 'STM_PIN_CHANNEL' was not declared in this scope vrefA_pwm_channel = STM_PIN_CHANNEL(pinmap_function(digitalPinToPinName(vrefA_pwm), PinMap_PWM)); ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:132:7: error: 'vrefB_pwm_instance' was not declared in this scope vrefB_pwm_instance = (TIM_TypeDef *)pinmap_peripheral(digitalPinToPinName(vrefB_pwm), PinMap_PWM); ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:132:42: error: expected primary-expression before ')' token vrefB_pwm_instance = (TIM_TypeDef *)pinmap_peripheral(digitalPinToPinName(vrefB_pwm), PinMap_PWM); ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:135:7: error: 'vrefA_pwm_timer' was not declared in this scope vrefA_pwm_timer = new HardwareTimer(vrefA_pwm_instance); ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:135:29: error: expected type-specifier before 'HardwareTimer' vrefA_pwm_timer = new HardwareTimer(vrefA_pwm_instance); ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:136:51: error: 'TIMER_OUTPUT_COMPARE_PWM1' was not declared in this scope vrefA_pwm_timer->setMode(vrefA_pwm_channel, TIMER_OUTPUT_COMPARE_PWM1, vrefA_pwm_pin); ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:137:68: error: 'HERTZ_FORMAT' was not declared in this scope vrefA_pwm_timer ->setOverflow(L6208_CONF_VREF_PWM_FREQUENCY, HERTZ_FORMAT); ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:138:64: error: 'TICK_COMPARE_FORMAT' was not declared in this scope vrefA_pwm_timer->setCaptureCompare(vrefA_pwm_channel, 0, TICK_COMPARE_FORMAT); ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:140:7: error: 'vrefB_pwm_timer' was not declared in this scope vrefB_pwm_timer = new HardwareTimer(vrefB_pwm_instance); ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:140:29: error: expected type-specifier before 'HardwareTimer' vrefB_pwm_timer = new HardwareTimer(vrefB_pwm_instance); ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:145:7: error: 'ticker' was not declared in this scope ticker = new HardwareTimer(ticker_instance); ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:145:20: error: expected type-specifier before 'HardwareTimer' ticker = new HardwareTimer(ticker_instance); ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h: In destructor 'virtual L6208::~L6208()': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:159:12: error: 'vrefA_pwm_timer' was not declared in this scope free(vrefA_pwm_timer); ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:160:12: error: 'vrefB_pwm_timer' was not declared in this scope free(vrefB_pwm_timer); ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h: In member function 'void L6208::L6208_Board_TickStart(uint16_t)': /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:952:7: error: 'ticker' was not declared in this scope ticker->setOverflow(frequency, HERTZ_FORMAT); ^ /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/src/L6208.h:952:38: error: 'HERTZ_FORMAT' was not declared in this scope ticker->setOverflow(frequency, HERTZ_FOR
Result: FAIL
WARNING: library STM32duino_X-NUCLEO-IHM05A1 claims to run on stm32 architecture(s) and may be incompatible with your current board which runs on esp32 architecture(s). /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/STM32duino_X-NUCLEO-IHM05A1/examples/X_NUCLEO_IHM05A1_HelloWorld/X_NUCLEO_IHM05A1_HelloWorld.ino:58:4: error: #error "Target board not tested! Please, comment this line and define the good pins for VrefA and VrefB and a good instance for the Ticker Hardware Timer" #error "Target board not tested! Please, comment this line and define the good pins for VrefA and VrefB and a good instance for the Ticker Hardware Timer" ^