cartreader/Cart_Reader/options.h

87 lines
2.3 KiB
C
Raw Normal View History

//******************************************
// !!! CHOOSE HARDWARE VERSION !!!
//******************************************
// Remove // in front of the line with your hardware version
//#define HW4
2021-11-15 12:34:18 +01:00
//#define HW3
//#define HW2
//#define HW1
2021-10-25 18:03:16 +02:00
//#define SERIAL_MONITOR
2022-01-13 17:28:55 +01:00
#if !(defined(HW1) || defined(HW2) || defined(HW3) || defined(HW4) || defined(SERIAL_MONITOR))
# error !!! PLEASE CHOOSE HARDWARE VERSION IN OPTIONS.H !!!
#endif
//******************************************
2022-01-13 17:28:55 +01:00
//
//******************************************
//******************************************
// Hardware Configurations
//******************************************
#if defined(HW4)
#define enable_LCD
#define enable_neopixel
#define enable_rotary
2021-11-13 12:06:42 +01:00
#define clockgen_installed
#define fastcrc
#endif
2021-11-17 21:31:18 +01:00
#if (defined(HW2) || defined(HW3))
#define enable_OLED
#define enable_Button2
#endif
#if defined(HW1)
#define enable_OLED
#endif
2021-10-25 18:03:16 +02:00
#if defined(SERIAL_MONITOR)
#define enable_serial
#endif
//******************************************
2021-08-03 10:16:12 +02:00
// GLOBAL OPTIONS
//******************************************
2020-07-04 15:37:02 +02:00
// Change mainMenu to snsMenu, mdMenu, n64Menu, gbxMenu, pcsMenu,
// flashMenu, nesMenu or smsMenu for single slot Cart Readers
#define startMenu mainMenu
2021-10-14 09:53:07 +02:00
// Setup RTC if installed.
// remove // if you have an RTC installed
// #define RTC_installed
// Use calibration data from snes_clk.txt
// #define clockgen_calibration
2021-08-03 10:16:12 +02:00
//******************************************
2021-10-26 12:38:29 +02:00
// N64 OPTIONS
//******************************************
// Read N64 Eeprom with Adadruit clockgen, CLK1 switch needs to be switch to ON
// add // and disable CLK1 switch if you don't have the clockgen installed or if you want to read a repros save
// #define clockgen_installed
// The CRC for N64 Roms will be calculated during dumping from memory instead of after dumping from SD card, not compatible to all Cart Readers
// #define fastcrc
// saves a n64log.txt file with rom info in /N64/ROM
// #define savesummarytotxt
//******************************************
// DISABLE MODULES
2021-08-03 10:16:12 +02:00
//******************************************
// add // before #define to disable a module
2021-11-17 21:31:18 +01:00
#define enable_SNES
#define enable_NP
#define enable_SV
2020-07-04 15:37:02 +02:00
#define enable_MD
2021-11-17 21:31:18 +01:00
#define enable_SMS
#define enable_N64
2021-11-17 21:31:18 +01:00
#define enable_GBX
2020-07-04 15:37:02 +02:00
#define enable_NES
2021-11-17 21:31:18 +01:00
#define enable_FLASH
#define enable_PCE
2020-07-04 15:37:02 +02:00
#define enable_WS
2021-11-17 21:31:18 +01:00
#define enable_NGP