2023-03-30 03:05:01 +02:00
|
|
|
/********************************************************************
|
2023-09-23 00:11:08 +02:00
|
|
|
Open Source Cartridge Reader
|
2023-03-30 03:05:01 +02:00
|
|
|
********************************************************************/
|
|
|
|
|
|
|
|
#ifndef CONFIG_H_
|
|
|
|
#define CONFIG_H_
|
|
|
|
|
|
|
|
/***** FIRMWARE CONFIGURATION **************************************
|
2023-09-23 00:11:08 +02:00
|
|
|
|
|
|
|
Add or remove the "//" in front of items to toggle them.
|
|
|
|
|
|
|
|
Disabled:
|
|
|
|
//#define HW5
|
|
|
|
|
|
|
|
Enabled:
|
|
|
|
#define HW5
|
|
|
|
|
|
|
|
Things in ** blocks like this are comments. Changing them doesn't
|
|
|
|
affect the firmware that is flashed to your OSCR.
|
|
|
|
|
|
|
|
If you only get a blank screen or "Press Button" message after
|
|
|
|
flashing you have enabled too many modules.
|
|
|
|
|
2023-03-30 03:05:01 +02:00
|
|
|
********************************************************************/
|
|
|
|
|
|
|
|
/*==== HARDWARE VERSION ===========================================*/
|
|
|
|
|
|
|
|
/*
|
2023-09-23 00:11:08 +02:00
|
|
|
Choose your hardware version:
|
2023-03-30 03:05:01 +02:00
|
|
|
*/
|
|
|
|
|
2024-04-24 20:13:45 +02:00
|
|
|
//#define HW5
|
2023-03-30 03:05:01 +02:00
|
|
|
//#define HW4
|
|
|
|
//#define HW3
|
|
|
|
//#define HW2
|
|
|
|
//#define HW1
|
|
|
|
//#define SERIAL_MONITOR
|
|
|
|
|
|
|
|
/****/
|
|
|
|
|
|
|
|
/*==== HARDWARE MODULES ===========================================*/
|
|
|
|
|
|
|
|
/* [ Automatic Voltage Selection ---------------------------------- ]
|
2023-09-23 00:11:08 +02:00
|
|
|
Enable this if you have the VSELECT module.
|
2023-03-30 03:05:01 +02:00
|
|
|
*/
|
|
|
|
|
|
|
|
//#define ENABLE_VSELECT
|
|
|
|
|
|
|
|
/****/
|
|
|
|
|
|
|
|
/* [ Clock Generator ---------------------------------------------- ]
|
2023-09-23 00:11:08 +02:00
|
|
|
Enable this if you have the clock generator module. This will
|
|
|
|
automatically be enabled if you selected HW2 or newer above.
|
2023-03-30 03:05:01 +02:00
|
|
|
*/
|
|
|
|
|
2024-03-02 17:26:35 +01:00
|
|
|
//#define ENABLE_CLOCKGEN
|
2023-03-30 03:05:01 +02:00
|
|
|
|
|
|
|
/****/
|
|
|
|
|
|
|
|
/* [ Real Time Clock ---------------------------------------------- ]
|
2023-09-23 00:11:08 +02:00
|
|
|
Enable this if you have the RTC module. You can configure the
|
|
|
|
type later in this file.
|
2023-03-30 03:05:01 +02:00
|
|
|
*/
|
|
|
|
|
2024-03-02 17:26:35 +01:00
|
|
|
//#define ENABLE_RTC
|
2023-03-30 03:05:01 +02:00
|
|
|
|
|
|
|
/****/
|
|
|
|
|
|
|
|
/*==== GAME SYSTEM CORES ==========================================*/
|
|
|
|
|
|
|
|
/* [ Atari 2600 --------------------------------------------------- ]
|
|
|
|
*/
|
|
|
|
|
2024-04-24 20:13:45 +02:00
|
|
|
//#define ENABLE_2600
|
2023-03-30 03:05:01 +02:00
|
|
|
|
|
|
|
/****/
|
|
|
|
|
2023-09-23 00:11:08 +02:00
|
|
|
/* [ Atari 5200 --------------------------------------------------- ]
|
|
|
|
*/
|
|
|
|
|
2024-04-24 20:13:45 +02:00
|
|
|
//#define ENABLE_5200
|
2023-09-23 00:11:08 +02:00
|
|
|
|
|
|
|
/****/
|
|
|
|
|
|
|
|
/* [ Atari 7800 --------------------------------------------------- ]
|
|
|
|
*/
|
|
|
|
|
2024-04-24 20:13:45 +02:00
|
|
|
//#define ENABLE_7800
|
2023-09-23 00:11:08 +02:00
|
|
|
|
|
|
|
/****/
|
|
|
|
|
2023-03-30 03:05:01 +02:00
|
|
|
/* [ Benesse Pocket Challenge W ----------------------------------- ]
|
|
|
|
*/
|
|
|
|
|
2024-04-24 20:13:45 +02:00
|
|
|
//#define ENABLE_PCW
|
2023-03-30 03:05:01 +02:00
|
|
|
|
|
|
|
/****/
|
|
|
|
|
2023-09-23 00:11:08 +02:00
|
|
|
/* [ C64 --------------------------------------------------- ]
|
|
|
|
*/
|
|
|
|
|
2024-04-24 20:13:45 +02:00
|
|
|
//#define ENABLE_C64
|
2023-09-23 00:11:08 +02:00
|
|
|
|
|
|
|
/****/
|
|
|
|
|
2023-03-30 03:05:01 +02:00
|
|
|
/* [ ColecoVision ------------------------------------------------- ]
|
|
|
|
*/
|
|
|
|
|
2024-04-24 20:13:45 +02:00
|
|
|
//#define ENABLE_COLV
|
2023-03-30 03:05:01 +02:00
|
|
|
|
|
|
|
/****/
|
|
|
|
|
|
|
|
/* [ Emerson Arcadia 2001 ----------------------------------------- ]
|
|
|
|
*/
|
|
|
|
|
2024-04-24 20:13:45 +02:00
|
|
|
//#define ENABLE_ARC
|
2023-03-30 03:05:01 +02:00
|
|
|
|
|
|
|
/****/
|
|
|
|
|
|
|
|
/* [ Fairchild Channel F ------------------------------------------ ]
|
|
|
|
*/
|
|
|
|
|
2024-04-24 20:13:45 +02:00
|
|
|
//#define ENABLE_FAIRCHILD
|
2023-03-30 03:05:01 +02:00
|
|
|
|
|
|
|
/****/
|
|
|
|
|
|
|
|
/* [ Flashrom Programmer for SNES repros -------------------------- ]
|
|
|
|
*/
|
|
|
|
|
2024-03-02 17:26:35 +01:00
|
|
|
//#define ENABLE_FLASH
|
|
|
|
//#define ENABLE_FLASH16
|
2023-03-30 03:05:01 +02:00
|
|
|
|
|
|
|
/****/
|
|
|
|
|
|
|
|
/* [ Game Boy (Color) and Advance --------------------------------- ]
|
|
|
|
*/
|
|
|
|
|
2024-03-02 17:26:35 +01:00
|
|
|
#define ENABLE_GBX
|
2023-03-30 03:05:01 +02:00
|
|
|
|
|
|
|
/****/
|
|
|
|
|
|
|
|
/* [ Intellivision ------------------------------------------------ ]
|
|
|
|
*/
|
|
|
|
|
2024-04-24 20:17:10 +02:00
|
|
|
//#define ENABLE_INTV
|
2023-03-30 03:05:01 +02:00
|
|
|
|
|
|
|
/****/
|
|
|
|
|
|
|
|
/* [ Neo Geo Pocket ----------------------------------------------- ]
|
|
|
|
*/
|
|
|
|
|
2024-04-24 20:13:45 +02:00
|
|
|
//#define ENABLE_NGP
|
2023-03-30 03:05:01 +02:00
|
|
|
|
|
|
|
/****/
|
|
|
|
|
|
|
|
/* [ Nintendo 64 -------------------------------------------------- ]
|
|
|
|
*/
|
|
|
|
|
2024-04-24 20:13:45 +02:00
|
|
|
#define ENABLE_N64
|
2023-03-30 03:05:01 +02:00
|
|
|
|
|
|
|
/****/
|
|
|
|
|
|
|
|
/* [ Nintendo Entertainment System/Family Computer ---------------- ]
|
|
|
|
*/
|
|
|
|
|
2024-03-02 17:26:35 +01:00
|
|
|
#define ENABLE_NES
|
2023-03-30 03:05:01 +02:00
|
|
|
|
|
|
|
/****/
|
|
|
|
|
|
|
|
/* [ Magnavox Odyssey 2 ------------------------------------------- ]
|
|
|
|
*/
|
|
|
|
|
2024-04-24 20:13:45 +02:00
|
|
|
//#define ENABLE_ODY2
|
2023-03-30 03:05:01 +02:00
|
|
|
|
|
|
|
/****/
|
|
|
|
|
2023-06-25 14:09:17 +02:00
|
|
|
/* [ MSX ------------------------------------------- ]
|
|
|
|
*/
|
|
|
|
|
2024-04-24 20:13:45 +02:00
|
|
|
//#define ENABLE_MSX
|
2023-06-25 14:09:17 +02:00
|
|
|
|
|
|
|
/****/
|
|
|
|
|
2023-03-30 03:05:01 +02:00
|
|
|
/* [ PC Engine/TurboGrafx 16 -------------------------------------- ]
|
|
|
|
*/
|
|
|
|
|
2024-04-24 20:13:45 +02:00
|
|
|
//#define ENABLE_PCE
|
2023-03-30 03:05:01 +02:00
|
|
|
|
|
|
|
/****/
|
|
|
|
|
2023-06-25 14:09:17 +02:00
|
|
|
/* [ Pokemon Mini -------------------------------------- ]
|
|
|
|
*/
|
|
|
|
|
2024-04-24 20:13:45 +02:00
|
|
|
//#define ENABLE_POKE
|
2023-06-25 14:09:17 +02:00
|
|
|
|
|
|
|
/****/
|
|
|
|
|
2023-03-30 03:05:01 +02:00
|
|
|
/* [ Sega Master System/Mark III/Game Gear/SG-1000 ---------------- ]
|
|
|
|
*/
|
|
|
|
|
2024-04-24 20:17:10 +02:00
|
|
|
#define ENABLE_SMS
|
2023-03-30 03:05:01 +02:00
|
|
|
|
|
|
|
/****/
|
|
|
|
|
|
|
|
/* [ Sega Mega Drive/Genesis -------------------------------------- ]
|
|
|
|
*/
|
|
|
|
|
2024-03-02 17:26:35 +01:00
|
|
|
#define ENABLE_MD
|
2023-03-30 03:05:01 +02:00
|
|
|
|
|
|
|
/****/
|
|
|
|
|
|
|
|
/* [ Super Famicom SF Memory Cassette ----------------------------- ]
|
|
|
|
*/
|
|
|
|
|
2024-04-24 20:13:45 +02:00
|
|
|
//#define ENABLE_SFM
|
2023-03-30 03:05:01 +02:00
|
|
|
|
|
|
|
/****/
|
|
|
|
|
|
|
|
/* [ Super Famicom Satellaview ------------------------------------ ]
|
|
|
|
*/
|
|
|
|
|
2024-04-24 20:13:45 +02:00
|
|
|
//#define ENABLE_SV
|
2023-03-30 03:05:01 +02:00
|
|
|
|
|
|
|
/****/
|
|
|
|
|
2023-11-25 00:29:55 +01:00
|
|
|
/* [ Super Famicom Sufami Turbo ----------------------------------- ]
|
|
|
|
*/
|
|
|
|
|
2024-04-24 20:13:45 +02:00
|
|
|
//#define ENABLE_ST
|
2023-11-25 00:29:55 +01:00
|
|
|
|
|
|
|
/****/
|
|
|
|
|
2024-02-09 22:06:44 +01:00
|
|
|
/* [ Super Famicom Game Processor RAM Cassette -------------------- ]
|
|
|
|
*/
|
|
|
|
|
2024-04-24 20:13:45 +02:00
|
|
|
//#define ENABLE_GPC
|
2024-02-09 22:06:44 +01:00
|
|
|
|
|
|
|
/****/
|
|
|
|
|
2023-03-30 03:05:01 +02:00
|
|
|
/* [ Super Nintendo ----------------------------------------------- ]
|
|
|
|
*/
|
|
|
|
|
2024-03-02 17:26:35 +01:00
|
|
|
#define ENABLE_SNES
|
2023-03-30 03:05:01 +02:00
|
|
|
|
|
|
|
/****/
|
|
|
|
|
2023-09-23 00:11:08 +02:00
|
|
|
/* [ Vectrex --------------------------------------------------- ]
|
|
|
|
*/
|
|
|
|
|
2024-04-24 20:13:45 +02:00
|
|
|
//#define ENABLE_VECTREX
|
2023-09-23 00:11:08 +02:00
|
|
|
|
|
|
|
/****/
|
|
|
|
|
2023-03-30 03:05:01 +02:00
|
|
|
/* [ Virtual Boy -------------------------------------------------- ]
|
|
|
|
*/
|
|
|
|
|
2024-04-24 20:13:45 +02:00
|
|
|
//#define ENABLE_VBOY
|
2023-03-30 03:05:01 +02:00
|
|
|
|
|
|
|
/****/
|
|
|
|
|
2023-09-23 00:11:08 +02:00
|
|
|
/* [ Watara Supervision ------------------------------------------- ]
|
2023-03-30 03:05:01 +02:00
|
|
|
*/
|
|
|
|
|
2024-04-24 20:13:45 +02:00
|
|
|
//#define ENABLE_WSV
|
2023-03-30 03:05:01 +02:00
|
|
|
|
|
|
|
/****/
|
|
|
|
|
|
|
|
/* [ WonderSwan and Benesse Pocket Challenge v2 ------------------- ]
|
|
|
|
*/
|
|
|
|
|
2024-04-24 20:13:45 +02:00
|
|
|
//#define ENABLE_WS
|
2023-03-30 03:05:01 +02:00
|
|
|
|
|
|
|
/****/
|
|
|
|
|
|
|
|
/* [ Super A'can -------------------------------------------------- ]
|
|
|
|
*/
|
|
|
|
|
2024-04-24 20:13:45 +02:00
|
|
|
//#define ENABLE_SUPRACAN
|
2023-03-30 03:05:01 +02:00
|
|
|
|
|
|
|
/****/
|
|
|
|
|
2023-07-03 01:08:09 +02:00
|
|
|
/* [ Casio Loopy -------------------------------------------------- ]
|
|
|
|
*/
|
|
|
|
|
2024-04-24 20:13:45 +02:00
|
|
|
//#define ENABLE_LOOPY
|
2023-07-03 01:08:09 +02:00
|
|
|
|
|
|
|
/****/
|
|
|
|
|
2023-03-30 03:05:01 +02:00
|
|
|
/*==== FIRMWARE OPTIONS ===========================================*/
|
|
|
|
|
2024-02-29 23:52:04 +01:00
|
|
|
/* [ Config File -------------------------------------------------- ]
|
|
|
|
Allow changing some configuration values via a config file. You
|
|
|
|
generally can only use the config to set options or disable
|
|
|
|
certain featuress. It cannot be used to toggle firmware options
|
|
|
|
on, only off.
|
|
|
|
|
|
|
|
Note For Developers: See OSCR.* for info.
|
|
|
|
|
|
|
|
Filename: config.txt
|
|
|
|
*/
|
|
|
|
|
|
|
|
//#define ENABLE_CONFIG
|
|
|
|
|
|
|
|
/****/
|
|
|
|
|
2023-03-30 03:05:01 +02:00
|
|
|
/* [ LCD: Background Color ---------------------------------------- ]
|
2023-09-23 00:11:08 +02:00
|
|
|
Set the backlight color of the LCD if you have one.
|
|
|
|
|
2024-02-29 23:52:04 +01:00
|
|
|
Can be set using config:
|
|
|
|
lcd.confColor=1
|
|
|
|
lcd.red=0
|
|
|
|
lcd.green=0
|
|
|
|
lcd.blue=0
|
|
|
|
|
2023-09-23 00:11:08 +02:00
|
|
|
PARAMETERS:
|
|
|
|
Green, Red, Blue
|
2023-03-30 03:05:01 +02:00
|
|
|
*/
|
|
|
|
|
2024-03-02 17:26:35 +01:00
|
|
|
#define OPTION_LCD_BG_COLOR 100, 0, 0
|
2023-03-30 03:05:01 +02:00
|
|
|
|
|
|
|
/****/
|
|
|
|
|
|
|
|
/* [ 3.3V Stability Fix (3V3FIX) ---------------------------------- ]
|
2023-09-23 00:11:08 +02:00
|
|
|
Enable this if you are having stability issues when using 3.3V,
|
|
|
|
works best with VSELECT.
|
|
|
|
|
|
|
|
If not using VSELECT, always turn the cart reader on with the
|
|
|
|
voltage switch set to 5V and switch to 5V before selecting a
|
|
|
|
cartridge from the menu.
|
2023-03-30 03:05:01 +02:00
|
|
|
*/
|
|
|
|
|
|
|
|
//#define ENABLE_3V3FIX
|
|
|
|
|
|
|
|
/****/
|
|
|
|
|
|
|
|
/* [ Updater ------------------------------------------------------ ]
|
2023-09-23 00:11:08 +02:00
|
|
|
Disable this if you don't plan to/want to use the firmware
|
|
|
|
updater utility. This setting is ignored on hardware versions
|
|
|
|
other than HW5 and HW3.
|
2023-03-30 03:05:01 +02:00
|
|
|
*/
|
|
|
|
|
2023-07-22 15:21:02 +02:00
|
|
|
#define ENABLE_UPDATER
|
2023-03-30 03:05:01 +02:00
|
|
|
|
|
|
|
/****/
|
|
|
|
|
|
|
|
/* [ Self Test ---------------------------------------------------- ]
|
2023-09-23 00:11:08 +02:00
|
|
|
Tests for shorts and other issues in your OSCR build.
|
2023-03-30 03:05:01 +02:00
|
|
|
*/
|
|
|
|
|
2024-03-02 17:26:35 +01:00
|
|
|
#define ENABLE_SELFTEST
|
2023-03-30 03:05:01 +02:00
|
|
|
|
|
|
|
/****/
|
|
|
|
|
|
|
|
/* [ Logging ------------------------------------------------------ ]
|
2023-09-23 00:11:08 +02:00
|
|
|
Write all info to OSCR_LOG.txt in root dir
|
2024-02-29 23:52:04 +01:00
|
|
|
|
|
|
|
Can be toggled off using config:
|
|
|
|
oscr.logging=0
|
2023-03-30 03:05:01 +02:00
|
|
|
*/
|
|
|
|
|
2024-03-02 17:26:35 +01:00
|
|
|
#define ENABLE_GLOBAL_LOG
|
2023-03-30 03:05:01 +02:00
|
|
|
|
|
|
|
/****/
|
|
|
|
|
2023-08-25 09:57:15 +02:00
|
|
|
/* [ RTC: IC Type ------------------------------------------------- ]
|
2023-09-23 00:11:08 +02:00
|
|
|
When the RTC module is installed, choose the type here. This
|
|
|
|
setting is ignored if the RTC option is not enabled.
|
2023-08-25 09:57:15 +02:00
|
|
|
*/
|
|
|
|
|
|
|
|
#define DS3231
|
|
|
|
//#define DS1307
|
|
|
|
|
|
|
|
/****/
|
|
|
|
|
2023-03-30 03:05:01 +02:00
|
|
|
/* [ SNES Core/CLOCKGEN: Read Clock Generator Calibration Data ---- ]
|
2023-10-17 18:41:14 +02:00
|
|
|
Toggle clock calibration menu and whether or not to use calibration data from snes_clk.txt
|
2023-03-30 03:05:01 +02:00
|
|
|
*/
|
|
|
|
|
2024-03-02 17:26:35 +01:00
|
|
|
//#define OPTION_CLOCKGEN_CALIBRATION
|
|
|
|
//#define OPTION_CLOCKGEN_USE_CALIBRATION
|
2023-03-30 03:05:01 +02:00
|
|
|
|
|
|
|
/****/
|
|
|
|
|
|
|
|
/* [ MegaDrive/Genesis Core: Compatibility Settings --------------- ]
|
2023-09-23 00:11:08 +02:00
|
|
|
Allows you to create a text file on the SD card called
|
|
|
|
"mdconf.txt" which you should place the following into:
|
|
|
|
|
|
|
|
[segaSram16bit] N
|
|
|
|
|
|
|
|
Where N is:
|
|
|
|
0: Output each byte once. Not supported by emulators. (default)
|
|
|
|
1: Duplicate each byte. Usable by Kega Fusion.
|
|
|
|
2: Same as 1 + pad with 0xFF so that the file size is 64KB.
|
2024-02-29 23:52:04 +01:00
|
|
|
|
|
|
|
**
|
|
|
|
** DEPRECATED: Use the config file instead. See below.
|
|
|
|
**
|
2023-03-30 03:05:01 +02:00
|
|
|
*/
|
|
|
|
|
|
|
|
//#define use_md_conf
|
|
|
|
|
|
|
|
/*
|
2024-02-29 23:52:04 +01:00
|
|
|
Configure how the MD core saves are formatted.
|
|
|
|
|
|
|
|
Can be set using config:
|
2024-03-02 17:26:35 +01:00
|
|
|
md.saveType=0
|
2024-02-29 23:52:04 +01:00
|
|
|
|
|
|
|
If config is enabled, this option does nothing -- use the config.
|
|
|
|
|
|
|
|
Options:
|
|
|
|
0: Output each byte once. Not supported by emulators. (default)
|
|
|
|
1: Duplicate each byte. Usable by Kega Fusion.
|
|
|
|
2: Same as 1 + pad with 0xFF so that the file size is 64KB.
|
2023-03-30 03:05:01 +02:00
|
|
|
*/
|
|
|
|
|
2024-03-02 17:26:35 +01:00
|
|
|
//#define OPTION_MD_DEFAULT_SAVE_TYPE 0
|
2023-03-30 03:05:01 +02:00
|
|
|
|
|
|
|
/****/
|
|
|
|
|
|
|
|
/* [ N64 Core: Fast CRC ------------------------------------------- ]
|
2023-09-23 00:11:08 +02:00
|
|
|
Toggle so the CRC for N64 Roms will be calculated during dumping
|
|
|
|
from memory instead of after dumping from SD card, not compatible
|
|
|
|
with all Cart Readers
|
2023-03-30 03:05:01 +02:00
|
|
|
*/
|
|
|
|
|
2024-03-02 17:26:35 +01:00
|
|
|
//#define OPTION_N64_FASTCRC
|
2023-03-30 03:05:01 +02:00
|
|
|
|
|
|
|
/****/
|
|
|
|
|
|
|
|
/* [ N64 Core: Log Summary ---------------------------------------- ]
|
2023-09-23 00:11:08 +02:00
|
|
|
Enable to save a n64log.txt file with rom info in /N64/ROM
|
2023-03-30 03:05:01 +02:00
|
|
|
*/
|
|
|
|
|
2024-03-02 17:26:35 +01:00
|
|
|
//#define OPTION_N64_SAVESUMMARY
|
2023-03-30 03:05:01 +02:00
|
|
|
|
|
|
|
/****/
|
|
|
|
|
|
|
|
/*==== PROCESSING =================================================*/
|
|
|
|
|
|
|
|
/*
|
2023-09-23 00:11:08 +02:00
|
|
|
You probably shouldn't change this stuff!
|
2023-03-30 03:05:01 +02:00
|
|
|
*/
|
|
|
|
|
2024-02-29 23:52:04 +01:00
|
|
|
#if defined(ENABLE_CONFIG)
|
|
|
|
# define CONFIG_FILE "config.txt"
|
|
|
|
// Define the max length of the key=value pairs
|
|
|
|
// Do your best not to have to increase these.
|
|
|
|
# define CONFIG_KEY_MAX 32
|
|
|
|
# define CONFIG_VALUE_MAX 32
|
|
|
|
#endif
|
|
|
|
|
2023-03-30 03:05:01 +02:00
|
|
|
#if (defined(HW4) || defined(HW5))
|
2024-03-02 17:26:35 +01:00
|
|
|
# define ENABLE_LCD
|
|
|
|
# define ENABLE_NEOPIXEL
|
|
|
|
# define ENABLE_ROTARY
|
2024-02-29 23:52:04 +01:00
|
|
|
//# define rotate_counter_clockwise
|
2024-03-02 17:26:35 +01:00
|
|
|
# define ENABLE_CLOCKGEN
|
|
|
|
# define OPTION_N64_FASTCRC
|
|
|
|
# define OPTION_WS_ADAPTER_V2
|
2023-03-30 03:05:01 +02:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#if (defined(HW2) || defined(HW3))
|
2024-03-02 17:26:35 +01:00
|
|
|
# define ENABLE_OLED
|
|
|
|
# define ENABLE_BUTTON2
|
|
|
|
# define ENABLE_CLOCKGEN
|
|
|
|
# define ENABLE_CA_LED
|
|
|
|
# define OPTION_N64_FASTCRC
|
2023-03-30 03:05:01 +02:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#if defined(HW1)
|
2024-03-02 17:26:35 +01:00
|
|
|
# define ENABLE_OLED
|
|
|
|
//#define ENABLE_CLOCKGEN
|
|
|
|
//#define OPTION_N64_FASTCRC
|
2023-03-30 03:05:01 +02:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#if defined(SERIAL_MONITOR)
|
2024-03-02 17:26:35 +01:00
|
|
|
# define ENABLE_SERIAL
|
|
|
|
//#define ENABLE_CLOCKGEN
|
|
|
|
//#define OPTION_N64_FASTCRC
|
2023-03-30 03:05:01 +02:00
|
|
|
#endif
|
|
|
|
|
|
|
|
/* Firmware updater only works with HW3 and HW5 */
|
|
|
|
#if !(defined(HW5) || defined(HW3))
|
2024-02-29 23:52:04 +01:00
|
|
|
# undef ENABLE_UPDATER
|
2023-03-30 03:05:01 +02:00
|
|
|
#endif
|
|
|
|
|
|
|
|
/* End of settings */
|
|
|
|
|
|
|
|
#endif /* CONFIG_H_ */
|