diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2011-11-16 10:25:43 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2011-11-16 10:25:43 +0000 |
commit | be716c0be80e3f64a81a3f19b683db40489f47a1 (patch) | |
tree | bc461ad1de8b5fda6c3c14d0cfd737bdc69ddc83 /firmware/export | |
parent | b7508a766df991539bec5e10fd7739001c1fdb99 (diff) | |
download | rockbox-be716c0be80e3f64a81a3f19b683db40489f47a1.tar.gz rockbox-be716c0be80e3f64a81a3f19b683db40489f47a1.zip |
Finally commit FS#5111 - piezo clicker for ipods!
Origional implementation by Robert Keevil with contributions from Frederik Vestre, Stoyan Stratev, Craig Elliott, Michael Sparmann, Thomas Schott, Rosso Maltese, and syncs from a bunch of other people!
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30995 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export')
-rw-r--r-- | firmware/export/config/ipod4g.h | 2 | ||||
-rw-r--r-- | firmware/export/config/ipodcolor.h | 2 | ||||
-rw-r--r-- | firmware/export/config/ipodmini1g.h | 2 | ||||
-rw-r--r-- | firmware/export/config/ipodmini2g.h | 2 | ||||
-rw-r--r-- | firmware/export/config/ipodnano1g.h | 2 | ||||
-rw-r--r-- | firmware/export/config/ipodnano2g.h | 2 | ||||
-rw-r--r-- | firmware/export/config/ipodvideo.h | 2 | ||||
-rw-r--r-- | firmware/export/thread.h | 8 |
8 files changed, 22 insertions, 0 deletions
diff --git a/firmware/export/config/ipod4g.h b/firmware/export/config/ipod4g.h index 165f5967b4..957e3a4da5 100644 --- a/firmware/export/config/ipod4g.h +++ b/firmware/export/config/ipod4g.h | |||
@@ -212,6 +212,8 @@ | |||
212 | /* Define this if you can read an absolute wheel position */ | 212 | /* Define this if you can read an absolute wheel position */ |
213 | #define HAVE_WHEEL_POSITION | 213 | #define HAVE_WHEEL_POSITION |
214 | 214 | ||
215 | #define HAVE_HARDWARE_CLICK | ||
216 | |||
215 | #define BOOTFILE_EXT "ipod" | 217 | #define BOOTFILE_EXT "ipod" |
216 | #define BOOTFILE "rockbox." BOOTFILE_EXT | 218 | #define BOOTFILE "rockbox." BOOTFILE_EXT |
217 | #define BOOTDIR "/.rockbox" | 219 | #define BOOTDIR "/.rockbox" |
diff --git a/firmware/export/config/ipodcolor.h b/firmware/export/config/ipodcolor.h index 645e20041c..cf021019b4 100644 --- a/firmware/export/config/ipodcolor.h +++ b/firmware/export/config/ipodcolor.h | |||
@@ -199,6 +199,8 @@ | |||
199 | /* Define this if you can read an absolute wheel position */ | 199 | /* Define this if you can read an absolute wheel position */ |
200 | #define HAVE_WHEEL_POSITION | 200 | #define HAVE_WHEEL_POSITION |
201 | 201 | ||
202 | #define HAVE_HARDWARE_CLICK | ||
203 | |||
202 | #define BOOTFILE_EXT "ipod" | 204 | #define BOOTFILE_EXT "ipod" |
203 | #define BOOTFILE "rockbox." BOOTFILE_EXT | 205 | #define BOOTFILE "rockbox." BOOTFILE_EXT |
204 | #define BOOTDIR "/.rockbox" | 206 | #define BOOTDIR "/.rockbox" |
diff --git a/firmware/export/config/ipodmini1g.h b/firmware/export/config/ipodmini1g.h index 777dc6f9a2..04fa68e500 100644 --- a/firmware/export/config/ipodmini1g.h +++ b/firmware/export/config/ipodmini1g.h | |||
@@ -202,6 +202,8 @@ | |||
202 | /* Define this if you have adjustable CPU frequency */ | 202 | /* Define this if you have adjustable CPU frequency */ |
203 | #define HAVE_ADJUSTABLE_CPU_FREQ | 203 | #define HAVE_ADJUSTABLE_CPU_FREQ |
204 | 204 | ||
205 | #define HAVE_HARDWARE_CLICK | ||
206 | |||
205 | #define BOOTFILE_EXT "ipod" | 207 | #define BOOTFILE_EXT "ipod" |
206 | #define BOOTFILE "rockbox." BOOTFILE_EXT | 208 | #define BOOTFILE "rockbox." BOOTFILE_EXT |
207 | #define BOOTDIR "/.rockbox" | 209 | #define BOOTDIR "/.rockbox" |
diff --git a/firmware/export/config/ipodmini2g.h b/firmware/export/config/ipodmini2g.h index c401170459..c10284e7a4 100644 --- a/firmware/export/config/ipodmini2g.h +++ b/firmware/export/config/ipodmini2g.h | |||
@@ -205,6 +205,8 @@ | |||
205 | /* Define this if you can read an absolute wheel position */ | 205 | /* Define this if you can read an absolute wheel position */ |
206 | #define HAVE_WHEEL_POSITION | 206 | #define HAVE_WHEEL_POSITION |
207 | 207 | ||
208 | #define HAVE_HARDWARE_CLICK | ||
209 | |||
208 | #define BOOTFILE_EXT "ipod" | 210 | #define BOOTFILE_EXT "ipod" |
209 | #define BOOTFILE "rockbox." BOOTFILE_EXT | 211 | #define BOOTFILE "rockbox." BOOTFILE_EXT |
210 | #define BOOTDIR "/.rockbox" | 212 | #define BOOTDIR "/.rockbox" |
diff --git a/firmware/export/config/ipodnano1g.h b/firmware/export/config/ipodnano1g.h index 388ba34447..50f0511384 100644 --- a/firmware/export/config/ipodnano1g.h +++ b/firmware/export/config/ipodnano1g.h | |||
@@ -199,6 +199,8 @@ | |||
199 | /* Define this if you can read an absolute wheel position */ | 199 | /* Define this if you can read an absolute wheel position */ |
200 | #define HAVE_WHEEL_POSITION | 200 | #define HAVE_WHEEL_POSITION |
201 | 201 | ||
202 | #define HAVE_HARDWARE_CLICK | ||
203 | |||
202 | #define BOOTFILE_EXT "ipod" | 204 | #define BOOTFILE_EXT "ipod" |
203 | #define BOOTFILE "rockbox." BOOTFILE_EXT | 205 | #define BOOTFILE "rockbox." BOOTFILE_EXT |
204 | #define BOOTDIR "/.rockbox" | 206 | #define BOOTDIR "/.rockbox" |
diff --git a/firmware/export/config/ipodnano2g.h b/firmware/export/config/ipodnano2g.h index 37a21b33ba..96cec799e4 100644 --- a/firmware/export/config/ipodnano2g.h +++ b/firmware/export/config/ipodnano2g.h | |||
@@ -191,6 +191,8 @@ | |||
191 | /* Define this if you can read an absolute wheel position */ | 191 | /* Define this if you can read an absolute wheel position */ |
192 | #define HAVE_WHEEL_POSITION | 192 | #define HAVE_WHEEL_POSITION |
193 | 193 | ||
194 | #define HAVE_HARDWARE_CLICK | ||
195 | |||
194 | /* Define this if you have adjustable CPU frequency */ | 196 | /* Define this if you have adjustable CPU frequency */ |
195 | #define HAVE_ADJUSTABLE_CPU_FREQ | 197 | #define HAVE_ADJUSTABLE_CPU_FREQ |
196 | 198 | ||
diff --git a/firmware/export/config/ipodvideo.h b/firmware/export/config/ipodvideo.h index 1dd7d48e30..c4e2cb2986 100644 --- a/firmware/export/config/ipodvideo.h +++ b/firmware/export/config/ipodvideo.h | |||
@@ -218,6 +218,8 @@ | |||
218 | /* Define this if you can read an absolute wheel position */ | 218 | /* Define this if you can read an absolute wheel position */ |
219 | #define HAVE_WHEEL_POSITION | 219 | #define HAVE_WHEEL_POSITION |
220 | 220 | ||
221 | #define HAVE_HARDWARE_CLICK | ||
222 | |||
221 | /* define this if the device has larger sectors when accessed via USB */ | 223 | /* define this if the device has larger sectors when accessed via USB */ |
222 | /* (only relevant in disk.c, fat.c now always supports large virtual sectors) */ | 224 | /* (only relevant in disk.c, fat.c now always supports large virtual sectors) */ |
223 | #define MAX_LOG_SECTOR_SIZE 2048 | 225 | #define MAX_LOG_SECTOR_SIZE 2048 |
diff --git a/firmware/export/thread.h b/firmware/export/thread.h index d0f61f9d85..da06557f9c 100644 --- a/firmware/export/thread.h +++ b/firmware/export/thread.h | |||
@@ -65,10 +65,18 @@ | |||
65 | #if CONFIG_CODEC == SWCODEC | 65 | #if CONFIG_CODEC == SWCODEC |
66 | 66 | ||
67 | #ifdef HAVE_RECORDING | 67 | #ifdef HAVE_RECORDING |
68 | #ifdef HAVE_HARDWARE_CLICK | ||
69 | #define BASETHREADS 18 | ||
70 | #else | ||
71 | #define BASETHREADS 17 | ||
72 | #endif | ||
73 | #else | ||
74 | #ifdef HAVE_HARDWARE_CLICK | ||
68 | #define BASETHREADS 17 | 75 | #define BASETHREADS 17 |
69 | #else | 76 | #else |
70 | #define BASETHREADS 16 | 77 | #define BASETHREADS 16 |
71 | #endif | 78 | #endif |
79 | #endif | ||
72 | 80 | ||
73 | #else | 81 | #else |
74 | #define BASETHREADS 11 | 82 | #define BASETHREADS 11 |