#include <cstdint> error

Switch to an "Arduino" board that contains an ARM-based or ESP-based processor.