#ifndef BOARD_CONFIG_H #define BOARD_CONFIG_H // ============================================================================ // BOARD CONFIGURATION SELECTOR // ============================================================================ // This file serves as a selector for different board configurations. // Uncomment ONE of the board defines below to select your hardware setup. // // Available boards: // - BOARD_FEATHER_TFT: Adafruit Feather RP2350 with 4.0" TFT ST7796 // - BOARD_PICO2_TFT: Raspberry Pi Pico 2 with 4.0" TFT ST7796 // - BOARD_PICO2_EINK: Raspberry Pi Pico 2 with E-Ink Display // // To switch boards: Simply uncomment one board and comment out the others. // ============================================================================ // ---- SELECT YOUR BOARD HERE ---- #define BOARD_FEATHER_TFT // Feather RP2350 + 4.0" TFT ST7796 // #define BOARD_PICO2_TFT // Pico 2 + 4.0" TFT ST7796 //#define BOARD_PICO2_EINK // Pico 2 + E-Ink Display // -------------------------------- // ============================================================================ // Display Type Constants (for use in board configs) // ============================================================================ #define DISPLAY_TYPE_ST7796_VAL 0 #define DISPLAY_TYPE_ST7789_VAL 1 #define DISPLAY_TYPE_EPAPER_VAL 2 // ============================================================================ // Touch Type Constants (for use in board configs) // ============================================================================ #define TOUCH_TYPE_FT6336U_VAL 0 #define TOUCH_TYPE_NONE_VAL 1 // ============================================================================ // Load Board-Specific Configuration // ============================================================================ #ifdef BOARD_FEATHER_TFT #include "board_configs/board_feather_tft.h" #elif defined(BOARD_PICO2_TFT) #include "board_configs/board_pico2_tft.h" #elif defined(BOARD_PICO2_EINK) #include "board_configs/board_pico2_eink.h" #else #error "No board selected! Please uncomment one BOARD_xxx define in board_config.h" #endif #endif // BOARD_CONFIG_H