#ifndef __LGFX_BOARDS_HPP__
#define __LGFX_BOARDS_HPP__

namespace lgfx // This should not be changed to "m5gfx"
{
  namespace boards
  { // Be careful not to change existing board numbers when adding values.
    enum board_t
    { board_unknown = 0
    , board_M5Stack
    , board_M5StackCore2
    , board_M5StickC
    , board_M5StickCPlus
    , board_M5StickCPlus2
    , board_M5StackCoreInk
    , board_M5Paper
    , board_M5Tough
    , board_M5Station
    , board_M5StackCoreS3
    , board_M5AtomS3
    , board_M5Dial
    , board_M5DinMeter
    , board_M5Cardputer
    , board_M5AirQ
    , board_M5VAMeter
    , board_M5StackCoreS3SE
    , board_M5AtomS3R
    , board_M5PaperS3
    , board_M5CoreMP135
    , board_M5StampPLC
    , board_M5Tab5
    , board_ArduinoNessoN1
    , board_M5CardputerADV
    , board_M5UnitC6L
    , board_M5StickS3
    , board_M5StackChan
    , board_M5PaperColor
    , board_M5PaperMono
    , board_M5StopWatch

/// non display boards
    , board_M5AtomLite = 128
    , board_M5ATOM __attribute__ ((deprecated)) = board_M5AtomLite
    , board_M5Atom __attribute__ ((deprecated)) = board_M5AtomLite
    , board_M5AtomPsram
    , board_M5AtomU
    , board_M5Camera
    , board_M5TimerCam
    , board_M5StampPico
    , board_M5StampC3
    , board_M5StampC3U
    , board_M5StampS3
    , board_M5AtomS3Lite
    , board_M5AtomS3U
    , board_M5Capsule
    , board_M5NanoC6
    , board_M5AtomMatrix
    , board_M5AtomVoice
    , board_M5AtomEcho __attribute__ ((deprecated)) = board_M5AtomVoice
    , board_M5AtomS3RExt
    , board_M5AtomS3RCam
    , board_M5AtomVoiceS3R
    , board_M5AtomEchoS3R __attribute__ ((deprecated)) = board_M5AtomVoiceS3R
    , board_M5PowerHub
    , board_M5DualKey
    , board_M5UnitPoEP4
    , board_M5StampS3Bat
    , board_M5StampP4
    , board_M5NanoH2

/// external displays
    , board_M5AtomDisplay = 192
    , board_M5ATOMDisplay = board_M5AtomDisplay
    , board_M5UnitLCD
    , board_M5UnitOLED
    , board_M5UnitMiniOLED
    , board_M5UnitGLASS
    , board_M5UnitGLASS2
    , board_M5UnitRCA
    , board_M5ModuleDisplay
    , board_M5ModuleRCA

    , board_FrameBuffer = 512
    };
  }
  using namespace boards;
}

#endif
