#include <cstdint> error

<stdint.h> is the C header, the correct C++ header is indeed <cstdint>, but it doesn't exist on AVR.