I’m getting this error:
/home/formigola/Arduino/libraries/Simple_FOC/src/drivers/hardware_specific/stm32_mcu.cpp: In function ‘int findIndexOfFirstPinMapEntry(int)’:
/home/formigola/Arduino/libraries/Simple_FOC/src/drivers/hardware_specific/stm32_mcu.cpp:415:10: error: ‘PinMap_TIM’ was not declared in this scope; did you mean ‘PinMap_PWM’?
415 | while (PinMap_TIM[i].pin!=NC) {
| ^~~~~~~~~~
| PinMap_PWM
/home/formigola/Arduino/libraries/Simple_FOC/src/drivers/hardware_specific/stm32_mcu.cpp: In function ‘int findIndexOfLastPinMapEntry(int)’:
/home/formigola/Arduino/libraries/Simple_FOC/src/drivers/hardware_specific/stm32_mcu.cpp:427:10: error: ‘PinMap_TIM’ was not declared in this scope; did you mean ‘PinMap_PWM’?
427 | while (PinMap_TIM[i].pin!=NC) {
| ^~~~~~~~~~
| PinMap_PWM
/home/formigola/Arduino/libraries/Simple_FOC/src/drivers/hardware_specific/stm32_mcu.cpp:428:45: error: ‘ALTX_MASK’ was not declared in this scope
428 | if ( pinName == (PinMap_TIM[i].pin & ~ALTX_MASK)
| ^~~~~~~~~
/home/formigola/Arduino/libraries/Simple_FOC/src/drivers/hardware_specific/stm32_mcu.cpp: In function ‘int findBestTimerCombination(int, int, int*, PinMap**)’:
/home/formigola/Arduino/libraries/Simple_FOC/src/drivers/hardware_specific/stm32_mcu.cpp:455:36: error: ‘PinMap_TIM’ was not declared in this scope; did you mean ‘PinMap_PWM’?
455 | searchArray[index] = (PinMap*)&PinMap_TIM[i];
| ^~~~~~~~~~
| PinMap_PWM
exit status 1
Compilation error: exit status 1
Any ideas?
Thanks in advance for your help!