I have a SH1106 device, so often build firmware myself from the relevant git tag version, however lately it’s all stopped working.
After a clean checkout of meshtastic-device I can build 1.2.17 with no problem, but 1.2.20 and beyond always result in a litany of failures to find pins_arduino.h 
I am building with pio run, but the README, FAQ and How To Build pages at Home · meshtastic/Meshtastic-device Wiki · GitHub all return 404s, so I can’t be sure that’s correct. I’ve tried new clones, clearing ~/.platformio/ etc all to no avail. It’s as if it’s grabbing a bad copy of git+https://github.com/meshtastic/arduino-esp32.git or something like that.
Any thoughts from anybody?
- Compiling .pio/build/tbeam/src/RedirectablePrint.cpp.o
In file included from src/configuration.h:27:0,
/home/kyleg/.platformio/packages/framework-arduinoespressif32/cores/esp32/Arduino.h:185:26: fatal error: pins_arduino.h: No such file or directory