summaryrefslogtreecommitdiff
path: root/bootloader
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2009-07-12 22:16:51 +0000
committerDave Chapman <dave@dchapman.com>2009-07-12 22:16:51 +0000
commitafe43d3fcba11eadf9960d48ae461f6e429b9a88 (patch)
tree29539ce2330baa72ea767bb26dbc13b9171a6dab /bootloader
parent40c6e7d28256e98bd4ffefd13d369f8d36058bc0 (diff)
downloadrockbox-afe43d3fcba11eadf9960d48ae461f6e429b9a88.tar.gz
rockbox-afe43d3fcba11eadf9960d48ae461f6e429b9a88.zip
Basic changes to add nano 2g to the build system, based on the Meizu M3 port. The bootloader builds, but does nothing due to lack of any drivers.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21828 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'bootloader')
-rw-r--r--bootloader/SOURCES2
-rw-r--r--bootloader/ipodnano2g.c54
2 files changed, 56 insertions, 0 deletions
diff --git a/bootloader/SOURCES b/bootloader/SOURCES
index 942467af4d..f748403a85 100644
--- a/bootloader/SOURCES
+++ b/bootloader/SOURCES
@@ -51,4 +51,6 @@ show_logo.c
51#elif defined(LYRE_PROTO1) 51#elif defined(LYRE_PROTO1)
52lyre_proto1.c 52lyre_proto1.c
53show_logo.c 53show_logo.c
54#elif defined(IPOD_NANO2G)
55ipodnano2g.c
54#endif 56#endif
diff --git a/bootloader/ipodnano2g.c b/bootloader/ipodnano2g.c
new file mode 100644
index 0000000000..637d405f01
--- /dev/null
+++ b/bootloader/ipodnano2g.c
@@ -0,0 +1,54 @@
1/***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 * $Id$
9 *
10 * Copyright (C) 2009 by ???? [to be completed by first author]
11 *
12 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License
14 * as published by the Free Software Foundation; either version 2
15 * of the License, or (at your option) any later version.
16 *
17 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
18 * KIND, either express or implied.
19 *
20 ****************************************************************************/
21
22#include <stdlib.h>
23#include <stdio.h>
24#include <stdarg.h>
25#include <string.h>
26
27#include "config.h"
28
29#include "inttypes.h"
30#include "cpu.h"
31#include "system.h"
32#include "lcd.h"
33#include "kernel.h"
34#include "thread.h"
35#include "storage.h"
36#include "fat.h"
37#include "disk.h"
38#include "font.h"
39#include "backlight.h"
40#include "backlight-target.h"
41#include "button.h"
42#include "panic.h"
43#include "power.h"
44#include "file.h"
45#include "common.h"
46
47char version[] = APPSVERSION;
48
49void main(void)
50{
51 /* Do nothing... */
52 while(1);
53}
54