Cppcheck - why so many Defines?

The flags it sets are the compiler-internal ones (given through arm-none-eabi-gcc with the -mcpu=cortex-m3 configuration in this case) and any other defines and includes that the builder scripts add here (since no framework is set: from _bare.py).

This is normal and needed per Refactor PIO Check feature by valeros · Pull Request #3478 · platformio/platformio-core · GitHub.