Arduino library won't compile on Arduino UNO

I didn’t realize the UNO only has 32k- this really is very small. Even most people here are struggling with fitting simpleFOC on 64k boards. I don’t know how much flash the new UNO R4 has (edit: 256k!)- that might be a good choice if you don’t want to go for a NUCLEO board or one of the ESP dev kits with the UNO footprint.