summaryrefslogtreecommitdiff
path: root/firmware/export
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2004-09-20 08:10:43 +0000
committerBjörn Stenberg <bjorn@haxx.se>2004-09-20 08:10:43 +0000
commit57945b125d7f467d222796920fb1b6cf4e90f802 (patch)
tree28ed7db21187e687fdac12d5e9bc4fefab1631ef /firmware/export
parent995d24ca2c6ff784a42cabaeef9f1329060d1642 (diff)
downloadrockbox-57945b125d7f467d222796920fb1b6cf4e90f802.tar.gz
rockbox-57945b125d7f467d222796920fb1b6cf4e90f802.zip
Removed the Neo code. Nobody is interested in it.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5096 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/button.h45
-rw-r--r--firmware/export/config-neo35.h52
-rw-r--r--firmware/export/config.h2
-rw-r--r--firmware/export/lcd.h21
4 files changed, 0 insertions, 120 deletions
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 */
36 36
37#define BUTTON_NONE 0x0000 37#define BUTTON_NONE 0x0000
38 38
39#ifdef HAVE_NEO_KEYPAD
40/* neo button codes */
41#define BUTTON_UP 0x0080
42#define BUTTON_DOWN 0x0010
43#define BUTTON_LEFT 0x0001
44#define BUTTON_RIGHT 0x0002
45
46#define BUTTON_SELECT 0x0040
47
48#define BUTTON_ON BUTTON_SELECT
49
50#define BUTTON_PROGRAM 0x0020
51#define BUTTON_MENU 0x0004
52#define BUTTON_PLAY 0x0008
53#define BUTTON_STOP 0x0100
54
55#define BUTTON_IR 0x2000
56#define BUTTON_REPEAT 0x4000
57#define BUTTON_REL 0x8000
58
59#define BUTTON_FLAG_MASK 0xF000
60#define BUTTON_MASK 0x0FFF
61#define BUTTON_ALL BUTTON_MASK
62#define BUTTON_ALL_FLAGS BUTTON_FLAG_MASK
63
64#define NEO_IR_BUTTON_POWER 0x0001
65#define NEO_IR_BUTTON_SETTING 0x0002
66#define NEO_IR_BUTTON_REWIND 0x0004
67#define NEO_IR_BUTTON_FFORWARD 0x0008
68#define NEO_IR_BUTTON_PLAY 0x0010
69#define NEO_IR_BUTTON_VOLUP 0x0020
70#define NEO_IR_BUTTON_VOLDN 0x0040
71#define NEO_IR_BUTTON_BROWSE 0x0080
72#define NEO_IR_BUTTON_EQ 0x0100
73#define NEO_IR_BUTTON_MUTE 0x0200
74#define NEO_IR_BUTTON_PROGRAM 0x0400
75#define NEO_IR_BUTTON_STOP 0x0800
76#define NEO_IR_BUTTON_NONE 0x0000
77
78#define NEO_IR_BUTTON_REPEAT 0x1000
79
80#else
81
82/* Shared button codes */ 39/* Shared button codes */
83#define BUTTON_LEFT 0x0040 40#define BUTTON_LEFT 0x0040
84#define BUTTON_RIGHT 0x0080 41#define BUTTON_RIGHT 0x0080
@@ -130,7 +87,5 @@ void button_set_flip(bool flip); /* turn 180 degrees */
130 87
131#endif /* HAVE_RECORDER/PLAYER/ONDIO_KEYPAD */ 88#endif /* HAVE_RECORDER/PLAYER/ONDIO_KEYPAD */
132 89
133#endif /* HAVE_NEO_KEYPAD */
134
135#endif /* _BUTTON_H_ */ 90#endif /* _BUTTON_H_ */
136 91
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 @@
1/* define this if you have a charcell LCD display */
2#define HAVE_LCD_CHARCELLS 1
3
4/* define this if you have a neo-style LCD */
5#define HAVE_NEO_LCD 1
6
7/* define this if you have the Player's keyboard */
8#define HAVE_NEO_KEYPAD 1
9
10/* Define this if you have a SH7034 */
11#define HAVE_SH7034
12
13/* Define this if you have a MAS3507D */
14#define HAVE_MAS3507D
15
16/* Define this if you have a DAC3550A */
17#define HAVE_DAC3550A
18
19/* Define this to the CPU frequency */
20#define CPU_FREQ 12000000 /* cycle time ~83.3ns */
21
22/* Battery scale factor (?) */
23#define BATTERY_SCALE_FACTOR 6546
24
25/* Define this if you must discharge the data line by driving it low
26 and then set it to input to see if it stays low or goes high */
27#define HAVE_I2C_LOW_FIRST
28
29/* Define this if you control power on PADR (instead of PBDR) */
30#define HAVE_POWEROFF_ON_PADR
31
32/* Offset ( in the firmware file's header ) to the file length */
33#define FIRMWARE_OFFSET_FILE_LENGTH 0
34
35/* Offset ( in the firmware file's header ) to the file CRC */
36#define FIRMWARE_OFFSET_FILE_CRC 4
37
38/* Offset ( in the firmware file's header ) to the real data */
39#define FIRMWARE_OFFSET_FILE_DATA 6
40
41/* How to detect USB */
42#define USB_NONE 1
43
44/* If this is a Neo-style memory architecture platform */
45#define NEO_MEMORY 1
46
47/* Define this for programmable LED available */
48#define HAVE_LED
49
50/* Define this for LCD backlight available */
51#define HAVE_BACKLIGHT
52
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 @@
28#include "config-fmrecorder.h" 28#include "config-fmrecorder.h"
29#elif defined(ARCHOS_RECORDERV2) 29#elif defined(ARCHOS_RECORDERV2)
30#include "config-recorderv2.h" 30#include "config-recorderv2.h"
31#elif defined(NEO_35)
32#include "config-neo35.h"
33#elif defined(ARCHOS_ONDIOSP) 31#elif defined(ARCHOS_ONDIOSP)
34#include "config-ondiosp.h" 32#include "config-ondiosp.h"
35#elif defined(ARCHOS_ONDIOFM) 33#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);
142 142
143#endif /* CHARCELLS / BITMAP */ 143#endif /* CHARCELLS / BITMAP */
144 144
145/* These control codes may only work on the Neo LCD display */
146#ifdef HAVE_NEO_LCD
147
148/* Cursor Control Instructions */
149#define LCD_OFFCUR 0x0C
150#define LCD_LINECUR 0x0E
151#define LCD_BLINKCUR 0x0D
152#define LCD_COMBNCUR 0x0F
153#define LCD_HOMECUR 0x02
154#define LCD_SHLFCUR 0x10
155#define LCD_SHRTCUR 0x14
156
157/* Display Control Instructions */
158#define LCD_CLEAR 0x01
159#define LCD_OFFDISP 0x08
160#define LCD_ONDISP 0x0C
161#define LCD_SHLFDISP 0x18
162#define LCD_SHRTDISP 0x1C
163#define LCD_SET_CGRAM 0x40
164#endif
165
166#endif /* __LCD_H__ */ 145#endif /* __LCD_H__ */