From afe43d3fcba11eadf9960d48ae461f6e429b9a88 Mon Sep 17 00:00:00 2001 From: Dave Chapman Date: Sun, 12 Jul 2009 22:16:51 +0000 Subject: 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 --- bootloader/SOURCES | 2 ++ bootloader/ipodnano2g.c | 54 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+) create mode 100644 bootloader/ipodnano2g.c (limited to 'bootloader') 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 #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 0000000000..637d405f01 --- /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 +#include +#include +#include + +#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); +} + -- cgit v1.2.3