When trying to upload Marlin firmware to my printer I get this error:
error: reinterpret_cast from integer to pointer
I'm using Tevo Tarantula with board MKS Gen L 1.0. I've tried several Arduino IDE versions, including Arduino create, the latest IDE (1.8.12), an older version of IDE (1.0.5, which gave me even more errors) and some other. Marlin version is 1.1.9.
Full error message: Link to Pastebin (The most important lines seem to be those by the end).
This didn't use to be a problem, but at some point, for no apparent reason, it stopped working. Until that, I could upload normally.