diff options
| author | Dave Chapman <dave@dchapman.com> | 2009-07-12 22:16:51 +0000 |
|---|---|---|
| committer | Dave Chapman <dave@dchapman.com> | 2009-07-12 22:16:51 +0000 |
| commit | afe43d3fcba11eadf9960d48ae461f6e429b9a88 (patch) | |
| tree | 29539ce2330baa72ea767bb26dbc13b9171a6dab /bootloader | |
| parent | 40c6e7d28256e98bd4ffefd13d369f8d36058bc0 (diff) | |
| download | rockbox-afe43d3fcba11eadf9960d48ae461f6e429b9a88.zip rockbox-afe43d3fcba11eadf9960d48ae461f6e429b9a88.tar.gz rockbox-afe43d3fcba11eadf9960d48ae461f6e429b9a88.tar.bz2 rockbox-afe43d3fcba11eadf9960d48ae461f6e429b9a88.tar.xz | |
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/SOURCES | 2 | ||||
| -rw-r--r-- | bootloader/ipodnano2g.c | 54 |
2 files changed, 56 insertions, 0 deletions
diff --git a/bootloader/SOURCES b/bootloader/SOURCES index 942467a..f748403 100644 --- a/bootloader/SOURCES +++ b/bootloader/SOURCES @@ -51,4 +51,6 @@ show_logo.c #elif defined(LYRE_PROTO1) lyre_proto1.c show_logo.c +#elif defined(IPOD_NANO2G) +ipodnano2g.c #endif diff --git a/bootloader/ipodnano2g.c b/bootloader/ipodnano2g.c new file mode 100644 index 0000000..637d405 --- /dev/null +++ b/bootloader/ipodnano2g.c @@ -0,0 +1,54 @@ +/*************************************************************************** + * __________ __ ___. + * Open \______ \ ____ ____ | | _\_ |__ _______ ___ + * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / + * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < + * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ + * \/ \/ \/ \/ \/ + * $Id$ + * + * Copyright (C) 2009 by ???? [to be completed by first author] + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY + * KIND, either express or implied. + * + ****************************************************************************/ + +#include <stdlib.h> +#include <stdio.h> +#include <stdarg.h> +#include <string.h> + +#include "config.h" + +#include "inttypes.h" +#include "cpu.h" +#include "system.h" +#include "lcd.h" +#include "kernel.h" +#include "thread.h" +#include "storage.h" +#include "fat.h" +#include "disk.h" +#include "font.h" +#include "backlight.h" +#include "backlight-target.h" +#include "button.h" +#include "panic.h" +#include "power.h" +#include "file.h" +#include "common.h" + +char version[] = APPSVERSION; + +void main(void) +{ + /* Do nothing... */ + while(1); +} + |