From 57945b125d7f467d222796920fb1b6cf4e90f802 Mon Sep 17 00:00:00 2001 From: Björn Stenberg Date: Mon, 20 Sep 2004 08:10:43 +0000 Subject: Removed the Neo code. Nobody is interested in it. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5096 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/button.h | 45 ------------------------------------ firmware/export/config-neo35.h | 52 ------------------------------------------ firmware/export/config.h | 2 -- firmware/export/lcd.h | 21 ----------------- 4 files changed, 120 deletions(-) delete mode 100644 firmware/export/config-neo35.h (limited to 'firmware/export') diff --git a/firmware/export/button.h b/firmware/export/button.h index 7ec484440f..50a9b1d8fd 100644 --- a/firmware/export/button.h +++ b/firmware/export/button.h @@ -36,49 +36,6 @@ void button_set_flip(bool flip); /* turn 180 degrees */ #define BUTTON_NONE 0x0000 -#ifdef HAVE_NEO_KEYPAD -/* neo button codes */ -#define BUTTON_UP 0x0080 -#define BUTTON_DOWN 0x0010 -#define BUTTON_LEFT 0x0001 -#define BUTTON_RIGHT 0x0002 - -#define BUTTON_SELECT 0x0040 - -#define BUTTON_ON BUTTON_SELECT - -#define BUTTON_PROGRAM 0x0020 -#define BUTTON_MENU 0x0004 -#define BUTTON_PLAY 0x0008 -#define BUTTON_STOP 0x0100 - -#define BUTTON_IR 0x2000 -#define BUTTON_REPEAT 0x4000 -#define BUTTON_REL 0x8000 - -#define BUTTON_FLAG_MASK 0xF000 -#define BUTTON_MASK 0x0FFF -#define BUTTON_ALL BUTTON_MASK -#define BUTTON_ALL_FLAGS BUTTON_FLAG_MASK - -#define NEO_IR_BUTTON_POWER 0x0001 -#define NEO_IR_BUTTON_SETTING 0x0002 -#define NEO_IR_BUTTON_REWIND 0x0004 -#define NEO_IR_BUTTON_FFORWARD 0x0008 -#define NEO_IR_BUTTON_PLAY 0x0010 -#define NEO_IR_BUTTON_VOLUP 0x0020 -#define NEO_IR_BUTTON_VOLDN 0x0040 -#define NEO_IR_BUTTON_BROWSE 0x0080 -#define NEO_IR_BUTTON_EQ 0x0100 -#define NEO_IR_BUTTON_MUTE 0x0200 -#define NEO_IR_BUTTON_PROGRAM 0x0400 -#define NEO_IR_BUTTON_STOP 0x0800 -#define NEO_IR_BUTTON_NONE 0x0000 - -#define NEO_IR_BUTTON_REPEAT 0x1000 - -#else - /* Shared button codes */ #define BUTTON_LEFT 0x0040 #define BUTTON_RIGHT 0x0080 @@ -130,7 +87,5 @@ void button_set_flip(bool flip); /* turn 180 degrees */ #endif /* HAVE_RECORDER/PLAYER/ONDIO_KEYPAD */ -#endif /* HAVE_NEO_KEYPAD */ - #endif /* _BUTTON_H_ */ diff --git a/firmware/export/config-neo35.h b/firmware/export/config-neo35.h deleted file mode 100644 index fd5592f153..0000000000 --- a/firmware/export/config-neo35.h +++ /dev/null @@ -1,52 +0,0 @@ -/* define this if you have a charcell LCD display */ -#define HAVE_LCD_CHARCELLS 1 - -/* define this if you have a neo-style LCD */ -#define HAVE_NEO_LCD 1 - -/* define this if you have the Player's keyboard */ -#define HAVE_NEO_KEYPAD 1 - -/* Define this if you have a SH7034 */ -#define HAVE_SH7034 - -/* Define this if you have a MAS3507D */ -#define HAVE_MAS3507D - -/* Define this if you have a DAC3550A */ -#define HAVE_DAC3550A - -/* Define this to the CPU frequency */ -#define CPU_FREQ 12000000 /* cycle time ~83.3ns */ - -/* Battery scale factor (?) */ -#define BATTERY_SCALE_FACTOR 6546 - -/* Define this if you must discharge the data line by driving it low - and then set it to input to see if it stays low or goes high */ -#define HAVE_I2C_LOW_FIRST - -/* Define this if you control power on PADR (instead of PBDR) */ -#define HAVE_POWEROFF_ON_PADR - -/* Offset ( in the firmware file's header ) to the file length */ -#define FIRMWARE_OFFSET_FILE_LENGTH 0 - -/* Offset ( in the firmware file's header ) to the file CRC */ -#define FIRMWARE_OFFSET_FILE_CRC 4 - -/* Offset ( in the firmware file's header ) to the real data */ -#define FIRMWARE_OFFSET_FILE_DATA 6 - -/* How to detect USB */ -#define USB_NONE 1 - -/* If this is a Neo-style memory architecture platform */ -#define NEO_MEMORY 1 - -/* Define this for programmable LED available */ -#define HAVE_LED - -/* Define this for LCD backlight available */ -#define HAVE_BACKLIGHT - diff --git a/firmware/export/config.h b/firmware/export/config.h index 359eadd82d..49306d4e81 100644 --- a/firmware/export/config.h +++ b/firmware/export/config.h @@ -28,8 +28,6 @@ #include "config-fmrecorder.h" #elif defined(ARCHOS_RECORDERV2) #include "config-recorderv2.h" -#elif defined(NEO_35) -#include "config-neo35.h" #elif defined(ARCHOS_ONDIOSP) #include "config-ondiosp.h" #elif defined(ARCHOS_ONDIOFM) diff --git a/firmware/export/lcd.h b/firmware/export/lcd.h index 21d1f4cc55..306e525b99 100644 --- a/firmware/export/lcd.h +++ b/firmware/export/lcd.h @@ -142,25 +142,4 @@ extern int lcd_getstringsize(const unsigned char *str, int *w, int *h); #endif /* CHARCELLS / BITMAP */ -/* These control codes may only work on the Neo LCD display */ -#ifdef HAVE_NEO_LCD - -/* Cursor Control Instructions */ -#define LCD_OFFCUR 0x0C -#define LCD_LINECUR 0x0E -#define LCD_BLINKCUR 0x0D -#define LCD_COMBNCUR 0x0F -#define LCD_HOMECUR 0x02 -#define LCD_SHLFCUR 0x10 -#define LCD_SHRTCUR 0x14 - -/* Display Control Instructions */ -#define LCD_CLEAR 0x01 -#define LCD_OFFDISP 0x08 -#define LCD_ONDISP 0x0C -#define LCD_SHLFDISP 0x18 -#define LCD_SHRTDISP 0x1C -#define LCD_SET_CGRAM 0x40 -#endif - #endif /* __LCD_H__ */ -- cgit v1.2.3