summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2007-03-05 00:04:00 +0000
committerJens Arnold <amiconn@rockbox.org>2007-03-05 00:04:00 +0000
commit8876018d25c6a56cce118482c1372bbff344cb23 (patch)
treea66dca10bf92674c655b9862fd366ecc77bba76a /apps
parentee07215d506def8d3483f4adf6e1d4ae51c10c52 (diff)
downloadrockbox-8876018d25c6a56cce118482c1372bbff344cb23.tar.gz
rockbox-8876018d25c6a56cce118482c1372bbff344cb23.zip
Bring up the M5 port to a working stage: Extended numerous explicit checks for IAUDIO_X5 to also check for IAUDIO_M5, moved code around the target tree, added preliminary background for the sim.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12610 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/debug_menu.c4
-rw-r--r--apps/playback.c2
-rw-r--r--apps/plugins/plugin.lds2
3 files changed, 4 insertions, 4 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c
index d6c5ef4d1c..531ac106f4 100644
--- a/apps/debug_menu.c
+++ b/apps/debug_menu.c
@@ -1077,7 +1077,7 @@ bool dbg_ports(void)
1077 snprintf(buf, sizeof(buf), "ADC_BUTTONS: %02x", adc_buttons); 1077 snprintf(buf, sizeof(buf), "ADC_BUTTONS: %02x", adc_buttons);
1078#endif 1078#endif
1079 lcd_puts(0, line++, buf); 1079 lcd_puts(0, line++, buf);
1080#ifdef IAUDIO_X5 1080#if defined(IAUDIO_X5) || defined(IAUDIO_M5)
1081 snprintf(buf, sizeof(buf), "ADC_REMOTE (%c): %02x", 1081 snprintf(buf, sizeof(buf), "ADC_REMOTE (%c): %02x",
1082 remote_detect() ? '+' : '-', adc_remote); 1082 remote_detect() ? '+' : '-', adc_remote);
1083#else 1083#else
@@ -1953,7 +1953,7 @@ static bool dbg_save_roms(void)
1953 fd = creat("/internal_rom_000000-1FFFFF.bin"); 1953 fd = creat("/internal_rom_000000-1FFFFF.bin");
1954#elif defined(IRIVER_H300_SERIES) 1954#elif defined(IRIVER_H300_SERIES)
1955 fd = creat("/internal_rom_000000-3FFFFF.bin"); 1955 fd = creat("/internal_rom_000000-3FFFFF.bin");
1956#elif defined(IAUDIO_X5) 1956#elif defined(IAUDIO_X5) || defined(IAUDIO_M5)
1957 fd = creat("/internal_rom_000000-3FFFFF.bin"); 1957 fd = creat("/internal_rom_000000-3FFFFF.bin");
1958#endif 1958#endif
1959 if(fd >= 0) 1959 if(fd >= 0)
diff --git a/apps/playback.c b/apps/playback.c
index 89caec92aa..2873c90772 100644
--- a/apps/playback.c
+++ b/apps/playback.c
@@ -169,7 +169,7 @@ enum {
169#if defined(CPU_PP) 169#if defined(CPU_PP)
170#define CODEC_IRAM_ORIGIN 0x4000c000 170#define CODEC_IRAM_ORIGIN 0x4000c000
171#define CODEC_IRAM_SIZE 0xc000 171#define CODEC_IRAM_SIZE 0xc000
172#elif defined(IAUDIO_X5) 172#elif defined(IAUDIO_X5) || defined(IAUDIO_M5)
173#define CODEC_IRAM_ORIGIN 0x10010000 173#define CODEC_IRAM_ORIGIN 0x10010000
174#define CODEC_IRAM_SIZE 0x10000 174#define CODEC_IRAM_SIZE 0x10000
175#else 175#else
diff --git a/apps/plugins/plugin.lds b/apps/plugins/plugin.lds
index 5181e5604d..f38f60656a 100644
--- a/apps/plugins/plugin.lds
+++ b/apps/plugins/plugin.lds
@@ -24,7 +24,7 @@ OUTPUT_FORMAT(elf32-sh)
24#define DRAMORIG 0x31000000 24#define DRAMORIG 0x31000000
25#define IRAMORIG 0x1000c000 25#define IRAMORIG 0x1000c000
26#define IRAMSIZE 0xc000 26#define IRAMSIZE 0xc000
27#elif defined(IAUDIO_X5) 27#elif defined(IAUDIO_X5) || defined(IAUDIO_M5)
28#define DRAMORIG 0x31000000 28#define DRAMORIG 0x31000000
29#define IRAMORIG 0x10010000 29#define IRAMORIG 0x10010000
30#define IRAMSIZE 0x10000 30#define IRAMSIZE 0x10000