I am designing a digital readout for a facet maching that has several functions. i am using am mt6835 encoder, and onloy need to read the angle, do a internal calibration, set the zero point. when i use the simple foc library the code gets to big for the memory. it looks like i can disable some of the foc functions since i am basically limited to the mt6835 encoder. but am not usre how to do it.
The part of code, where you can cut off some k-bytes is the commander. If you disable it, sFOC will fit in oldschool 8-bit 32kB flash MCUs.
If you need serial monitoring or want to send serial commands, there are other options. I used to use SerialComm() which was written by a forum member.