summaryrefslogtreecommitdiffstats
path: root/utils/tcctool/tcctool.c
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2007-10-27 07:53:42 +0000
committerDave Chapman <dave@dchapman.com>2007-10-27 07:53:42 +0000
commit28c5ba86d5c9a1011ab2eb9f8fe793cab2f19487 (patch)
tree26f6a6e24a7bad14a703849ac99791c06cb692b7 /utils/tcctool/tcctool.c
parent18c9aba4b49a8a27f2425dacf48f028862af2cba (diff)
downloadrockbox-28c5ba86d5c9a1011ab2eb9f8fe793cab2f19487.tar.gz
rockbox-28c5ba86d5c9a1011ab2eb9f8fe793cab2f19487.tar.bz2
rockbox-28c5ba86d5c9a1011ab2eb9f8fe793cab2f19487.zip
Initial, untested support for C100. Also increase the firmware size limit to 10MB to make it work withe the Cowon D2 and a little cleanup.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15331 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'utils/tcctool/tcctool.c')
-rw-r--r--utils/tcctool/tcctool.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/utils/tcctool/tcctool.c b/utils/tcctool/tcctool.c
index 0eb3d7dad7..d191a0d26f 100644
--- a/utils/tcctool/tcctool.c
+++ b/utils/tcctool/tcctool.c
@@ -35,7 +35,7 @@
#define VERSION "0.1"
-#define MAX_FIRMWARESIZE (2*1024*1024) /* Arbitrary limit (for safety) */
+#define MAX_FIRMWARESIZE (10*1024*1024) /* Arbitrary limit (for safety) */
struct device_t
{
@@ -48,10 +48,11 @@ struct device_t
static struct device_t devices[] =
{
- {"logikdax", "Logik DAX 1GB DAB/MP3 player", 0xb021, 0x20000000, 0x52e97410 },
+ {"c100", "Sansa C100 series", 0xb021, 0x20000000, 0x62e97010 },
+ {"cowond2", "Cowon D2", 0xb011, 0x20000000, 0xa2e92010 },
{"iaudio6", "iAudio 6", 0xb021, 0x20000000, 0x62e97010 },
{"iaudio7", "iAudio 7", 0xb021, 0x20000000, 0x62e97010 },
- {"cowond2", "Cowon D2", 0xb011, 0x20000000, 0xa2e92010 }
+ {"logikdax", "Logik DAX 1GB DAB/MP3 player", 0xb021, 0x20000000, 0x52e97410 }
};
#define NUM_DEVICES ((sizeof(devices) / sizeof(struct device_t)))
@@ -259,12 +260,14 @@ int main(int argc, char* argv[])
if (argc != 4)
{
print_usage();
+ print_devices();
return 1;
}
if (strcmp(argv[1],"-d"))
{
print_usage();
+ print_devices();
return 2;
}