cartreader/Cart_Reader/options.h

104 lines
2.7 KiB
C
Raw Normal View History

//******************************************
// !!! CHOOSE HARDWARE VERSION !!!
//******************************************
// Remove // in front of the line with your hardware version
2022-06-12 13:16:03 +02:00
// #define HW5
// #define HW4
// #define HW3
// #define HW2
// #define HW1
// #define SERIAL_MONITOR
2022-01-13 17:28:55 +01:00
2022-06-09 00:35:11 +02:00
#if !(defined(HW1) || defined(HW2) || defined(HW3) || defined(HW4) || defined(HW5) || defined(SERIAL_MONITOR))
2022-01-13 17:28:55 +01:00
# error !!! PLEASE CHOOSE HARDWARE VERSION IN OPTIONS.H !!!
#endif
//******************************************
2022-01-13 17:28:55 +01:00
//
//******************************************
//******************************************
// Hardware Configurations
//******************************************
2022-06-05 15:49:45 +02:00
#if (defined(HW4) || defined(HW5))
#define enable_LCD
#define enable_neopixel
2022-06-09 00:35:11 +02:00
#define background_color 100,0,0 //Green, Red, Blue
#define enable_rotary
2022-06-12 13:16:03 +02:00
// #define rotate_counter_clockwise
2021-11-13 12:06:42 +01:00
#define clockgen_installed
#define fastcrc
2022-02-26 15:00:31 +01:00
#define ws_adapter_v2
#endif
2021-11-17 21:31:18 +01:00
#if (defined(HW2) || defined(HW3))
#define enable_OLED
#define enable_Button2
2022-06-12 13:16:03 +02:00
// #define clockgen_installed
// #define fastcrc
#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
2022-06-12 13:16:03 +02:00
// Ignores errors that normally force a reset if button 2 is pressed
// #define debug_mode
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
2022-06-14 15:25:53 +02:00
// Write all info to OSCR_LOG.txt in root dir
2022-06-12 13:16:03 +02:00
// #define global_log
// Use Adafruit Clock Generator
// #define clockgen_installed
2021-08-03 10:16:12 +02:00
//******************************************
2022-06-16 15:49:57 +02:00
// GB, SMS database options
2021-10-26 12:38:29 +02:00
//******************************************
// Renames ROM if found in database (slow)
2022-06-12 13:16:03 +02:00
// #define no-intro
2021-10-26 12:38:29 +02:00
//******************************************
// N64 OPTIONS
//******************************************
2021-10-26 12:38:29 +02:00
// 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