OSCR
Open Source Cartridge Reader
Loading...
Searching...
No Matches
C:/Developer/Projects/OSCR/oscr-firmware/ArduinoConfig.h File Reference

Configuration file for the Arduino IDE. More...

Go to the source code of this file.

Macros

#define CONFIG_H_
#define HW_VERSION   5
#define OSCR_LANGUAGE   LANG_EN
#define OSCR_REGION   REGN_NA
#define ENABLE_ONBOARD_ATMEGA
#define ENABLE_VSELECT
#define ENABLE_CLOCKGEN
#define ENABLE_RTC
#define ENABLE_GBX
#define ENABLE_N64
#define ENABLE_NES
#define ENABLE_SMS
#define ENABLE_MD
#define ENABLE_SNES
#define ENABLE_CONFIG
#define ENABLE_POWERSAVING
#define OPTION_POWERSAVING_METHOD   (POWERSAVING_DISPLAY_DIM | POWERSAVING_DISPLAY_OFF | POWERSAVING_SLOWCLOCK)
#define OPTION_POWERSAVING_IDLE_DIM   30000
#define OPTION_POWERSAVING_IDLE_SLEEP   60000
#define OPTION_UNIQUE_DIRECTORY_METHOD   UNQDIR_AUTO
#define OPTION_LCD_BG_RED   100
#define OPTION_LCD_BG_GREEN   0
#define OPTION_LCD_BG_BLUE   100
#define OPTION_LCD_NOTIF_RED   100
#define OPTION_LCD_NOTIF_GREEN   100
#define OPTION_LCD_NOTIF_BLUE   0
#define OPTION_LCD_ERROR_RED   100
#define OPTION_LCD_ERROR_GREEN   0
#define OPTION_LCD_ERROR_BLUE   0
#define OPTION_LCD_RGB   1
#define OPTION_LCD_TYPE   LCD_MKS
#define ENABLE_UPDATER
#define RTC_TYPE   RTCOPT_DS3231
#define UI_FILE_BROWSER_FILENAME_MAX   20
#define UI_FILE_BROWSER_FILES_MAX   50
#define UI_FILE_BROWSER_FILE_SORT_LEN   10
#define PATH_MAX_DEPTH   5
#define UPD_BAUD   5600
#define HARDWARE_OUTPUT_TYPE   OUTPUT_OS12864
#define HARDWARE_INPUT_TYPE   INPUT_ROTARY
#define OPTION_SMS_ADAPTER   SMSOPT_SMS_ADAPTER_HW5
#define OPTION_GG_ADAPTER   SMSOPT_GG_ADAPTER_HW5

Detailed Description

Configuration file for the Arduino IDE.

The Arduino IDE is no longer being used for this project, although support for it to compile and update is still being provided for the time being.

See oscr-firmware.ino for more information.

See also
oscr-firmware.ino

Macro Definition Documentation

◆ HW_VERSION

#define HW_VERSION   5

FIRMWARE CONFIGURATION ******************************************

Add or remove the "//" in front of items to toggle them.

Disabled: //#define SOMETHING

Enabled: #define SOMETHING

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.