Arduino can be built with C20/C++20 or C17/C++17 by switching to the latest gcc-arm-none-eabi. Below shows 2 different ways one using arduino-cli and the other using a Makefile included in this repo.
This is an example test library for the Epson XV7211BB using the 4-wire SPI interface. It is developed on the Arduino Zero or Teensy 3.6 development board (Teensyduino) and includes example ...