How to use motor without hall?
Issue in short: When changing to a motor without hall, the project breaks and doesn't build anymore.
Full Explanation:
I started a project that uses a motor with hall sensors.
The project is set up in the MCWB to primarily use the Observer and as Auxiliary the Hall.
The project has been generated with these settings so that I have the respective timers and pins required for the hall sensing reserved and configurable.
Now my issue is that I need to use a motor without Hall sensors. This should work since the primary speed sensing method is Observer.
When I open the ioc inside the MCWB and change the motor, the configuration complains because the new motor doesn't have the Hall sensors.
Now when I disable the Auxiliary Sensor and generate the code with these settings, the project isn't buildable anymore since the Hall sensor periphery initialization code is still there, but it seems to be incomplete (defines for "M1_HALL_TIM_PERIOD" and "M1_HALL_IC_FILTER" missing, and probably more).
What would be the correct way to deal with this?
Changing a motor shouldn't cause issues like this.
