diff options
-rw-r--r-- | firmware/crt0.S | 2 | ||||
-rw-r--r-- | firmware/export/config.h | 2 | ||||
-rwxr-xr-x | tools/configure | 16 |
3 files changed, 18 insertions, 2 deletions
diff --git a/firmware/crt0.S b/firmware/crt0.S index 25c32d1a58..a264da0350 100644 --- a/firmware/crt0.S +++ b/firmware/crt0.S | |||
@@ -22,7 +22,7 @@ | |||
22 | .section .init.text | 22 | .section .init.text |
23 | .global start | 23 | .global start |
24 | start: | 24 | start: |
25 | #if defined(ARCHOS_GMINI120) | 25 | #if CONFIG_CPU == TCC730 |
26 | ;; disable all interrupts | 26 | ;; disable all interrupts |
27 | clrsr fe | 27 | clrsr fe |
28 | clrsr ie | 28 | clrsr ie |
diff --git a/firmware/export/config.h b/firmware/export/config.h index da44e8eaf1..201b5317e3 100644 --- a/firmware/export/config.h +++ b/firmware/export/config.h | |||
@@ -86,6 +86,8 @@ | |||
86 | #include "config-h100.h" | 86 | #include "config-h100.h" |
87 | #elif defined(ARCHOS_GMINI120) | 87 | #elif defined(ARCHOS_GMINI120) |
88 | #include "config-gmini120.h" | 88 | #include "config-gmini120.h" |
89 | #elif defined(ARCHOS_GMINISP) | ||
90 | #include "config-gminisp.h" | ||
89 | #else | 91 | #else |
90 | /* no known platform */ | 92 | /* no known platform */ |
91 | #endif | 93 | #endif |
diff --git a/tools/configure b/tools/configure index 939976597c..48d54f0bc2 100755 --- a/tools/configure +++ b/tools/configure | |||
@@ -51,7 +51,7 @@ coldfirecc () { | |||
51 | 51 | ||
52 | whichaddr () { | 52 | whichaddr () { |
53 | case $archos in | 53 | case $archos in |
54 | gmini120) | 54 | gmini120|gminisp) |
55 | echo "" | 55 | echo "" |
56 | echo "Where do you want the firmware to be flashed?" | 56 | echo "Where do you want the firmware to be flashed?" |
57 | echo "WARNING: Do not answer this question lightly," | 57 | echo "WARNING: Do not answer this question lightly," |
@@ -293,6 +293,7 @@ if [ -z "$archos" ]; then | |||
293 | echo "3 - Archos FM Recorder" | 293 | echo "3 - Archos FM Recorder" |
294 | echo "4 - Archos Recorder v2" | 294 | echo "4 - Archos Recorder v2" |
295 | echo "5 - Archos Gmini 120" | 295 | echo "5 - Archos Gmini 120" |
296 | echo "6 - Archos Gmini SP" | ||
296 | echo "7 - Archos Ondio SP" | 297 | echo "7 - Archos Ondio SP" |
297 | echo "8 - Archos Ondio FM" | 298 | echo "8 - Archos Ondio FM" |
298 | echo "9 - Iriver H100" | 299 | echo "9 - Iriver H100" |
@@ -350,6 +351,19 @@ if [ -z "$archos" ]; then | |||
350 | plugins="" # disabled for now, enable later on | 351 | plugins="" # disabled for now, enable later on |
351 | ;; | 352 | ;; |
352 | 353 | ||
354 | 6) | ||
355 | archos="gminisp" | ||
356 | target="-DARCHOS_GMINISP -DLOADADDRESS=\$(LOADADDRESS)" | ||
357 | memory=16 # fixed size (16 is a guess, remove comment when checked) | ||
358 | calmrisccc | ||
359 | tool="cp" # might work for now! | ||
360 | output="rockbox.gmini" | ||
361 | appextra="recorder" | ||
362 | archosrom="" | ||
363 | flash="" | ||
364 | plugins="" # disabled for now, enable later on | ||
365 | ;; | ||
366 | |||
353 | 7) | 367 | 7) |
354 | archos="ondiosp" | 368 | archos="ondiosp" |
355 | target="-DARCHOS_ONDIOSP" | 369 | target="-DARCHOS_ONDIOSP" |