From c5d00d82b0905edb13310d9713919674c2172e6a Mon Sep 17 00:00:00 2001 From: Jean-Philippe Bernardy Date: Sat, 12 Feb 2005 14:12:10 +0000 Subject: [PATCH] finished configuration for the Gmini SP git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5936 a1c6a512-1295-4272-9138-f99709370657 --- firmware/crt0.S | 2 +- firmware/export/config.h | 2 ++ 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 @@ .section .init.text .global start start: -#if defined(ARCHOS_GMINI120) +#if CONFIG_CPU == TCC730 ;; disable all interrupts clrsr fe 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 @@ #include "config-h100.h" #elif defined(ARCHOS_GMINI120) #include "config-gmini120.h" +#elif defined(ARCHOS_GMINISP) +#include "config-gminisp.h" #else /* no known platform */ #endif diff --git a/tools/configure b/tools/configure index 939976597c..48d54f0bc2 100755 --- a/tools/configure +++ b/tools/configure @@ -51,7 +51,7 @@ coldfirecc () { whichaddr () { case $archos in - gmini120) + gmini120|gminisp) echo "" echo "Where do you want the firmware to be flashed?" echo "WARNING: Do not answer this question lightly," @@ -293,6 +293,7 @@ if [ -z "$archos" ]; then echo "3 - Archos FM Recorder" echo "4 - Archos Recorder v2" echo "5 - Archos Gmini 120" + echo "6 - Archos Gmini SP" echo "7 - Archos Ondio SP" echo "8 - Archos Ondio FM" echo "9 - Iriver H100" @@ -350,6 +351,19 @@ if [ -z "$archos" ]; then plugins="" # disabled for now, enable later on ;; + 6) + archos="gminisp" + target="-DARCHOS_GMINISP -DLOADADDRESS=\$(LOADADDRESS)" + memory=16 # fixed size (16 is a guess, remove comment when checked) + calmrisccc + tool="cp" # might work for now! + output="rockbox.gmini" + appextra="recorder" + archosrom="" + flash="" + plugins="" # disabled for now, enable later on + ;; + 7) archos="ondiosp" target="-DARCHOS_ONDIOSP"