diff options
| author | Dave Chapman <dave@dchapman.com> | 2009-10-13 20:51:28 +0000 |
|---|---|---|
| committer | Dave Chapman <dave@dchapman.com> | 2009-10-13 20:51:28 +0000 |
| commit | 81ef39bd8d6005c09d8245ab36ed87f38a4aa95c (patch) | |
| tree | a6ac4c22ac57608becd3ec9b93daf363feb28d2e | |
| parent | 11bd80cd3849e71358e0efabfa5149e6ce7dc462 (diff) | |
| download | rockbox-81ef39bd8d6005c09d8245ab36ed87f38a4aa95c.zip rockbox-81ef39bd8d6005c09d8245ab36ed87f38a4aa95c.tar.gz rockbox-81ef39bd8d6005c09d8245ab36ed87f38a4aa95c.tar.bz2 rockbox-81ef39bd8d6005c09d8245ab36ed87f38a4aa95c.tar.xz | |
Changes to make the Nano2G sim build. It is still missing a UI-ipodnano2g.bmp
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23163 a1c6a512-1295-4272-9138-f99709370657
| -rw-r--r-- | firmware/SOURCES | 2 | ||||
| -rw-r--r-- | uisimulator/sdl/uisdl.h | 7 |
2 files changed, 9 insertions, 0 deletions
diff --git a/firmware/SOURCES b/firmware/SOURCES index 67bb5ad..db46833 100644 --- a/firmware/SOURCES +++ b/firmware/SOURCES @@ -1320,6 +1320,7 @@ target/arm/s5l8700/udacodec-meizu.c #endif /* MEIZU_M3 */ #ifdef IPOD_NANO2G +#ifndef SIMULATOR drivers/audio/wm8975.c target/arm/ipod/button-clickwheel.c target/arm/s5l8700/kernel-s5l8700.c @@ -1339,6 +1340,7 @@ target/arm/s5l8700/ipodnano2g/nand-nano2g.c target/arm/s5l8700/ipodnano2g/pmu-nano2g.c target/arm/s5l8700/ipodnano2g/rtc-nano2g.c #endif +#endif #ifndef SIMULATOR #if CONFIG_CPU == JZ4732 diff --git a/uisimulator/sdl/uisdl.h b/uisimulator/sdl/uisdl.h index 52294c0..a14c453 100644 --- a/uisimulator/sdl/uisdl.h +++ b/uisimulator/sdl/uisdl.h @@ -116,6 +116,13 @@ #define UI_LCD_POSX 13 /* x position of lcd */ #define UI_LCD_POSY 14 /* y position of lcd */ +#elif defined(IPOD_NANO2G) +#define UI_TITLE "iPod Nano 2G" +#define UI_WIDTH 199 /* width of GUI window */ +#define UI_HEIGHT 421 /* height of GUI window */ +#define UI_LCD_POSX 13 /* x position of lcd */ +#define UI_LCD_POSY 14 /* y position of lcd */ + #elif defined(IPOD_VIDEO) #define UI_TITLE "iPod Video" #define UI_WIDTH 350 /* width of GUI window */ |