summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/debug_menu.c9
-rw-r--r--apps/plugins/bitmaps/mono/SOURCES3
-rw-r--r--apps/plugins/bitmaps/mono/osx.dummy.bmpbin0 -> 66 bytes
-rw-r--r--apps/plugins/bitmaps/remote_mono/SOURCES3
-rw-r--r--apps/plugins/bitmaps/remote_mono/osx.dummy.bmpbin0 -> 66 bytes
-rw-r--r--apps/plugins/bitmaps/remote_native/SOURCES3
-rw-r--r--apps/plugins/bitmaps/remote_native/osx.dummy.bmpbin0 -> 66 bytes
7 files changed, 11 insertions, 7 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c
index 9f6bc98998..5243519c2c 100644
--- a/apps/debug_menu.c
+++ b/apps/debug_menu.c
@@ -384,6 +384,7 @@ static unsigned flash_read_word(unsigned addr) {
#endif
+#ifndef SIMULATOR
/* Tool function to read the flash manufacturer and type, if available.
Only chips which could be reprogrammed in system will return values.
(The mode switch addresses vary between flash manufacturers, hence addr1/2) */
@@ -395,7 +396,6 @@ bool dbg_flash_id(unsigned* p_manufacturer, unsigned* p_device,
unsigned addr1, unsigned addr2)
{
-#ifndef SIMULATOR
#if (CONFIG_CPU == PP5002) || (CONFIG_CPU == PP5020)
/* TODO: Implement for iPod */
(void)p_manufacturer;
@@ -463,14 +463,9 @@ bool dbg_flash_id(unsigned* p_manufacturer, unsigned* p_device,
return true; /* success */
}
#endif
-#else
- (void) p_manufacturer;
- (void) p_device;
- (void) addr1;
- (void) addr2;
-#endif
return false; /* fail */
}
+#endif /* !SIMULATOR */
#ifndef SIMULATOR
#ifdef HAVE_LCD_BITMAP
diff --git a/apps/plugins/bitmaps/mono/SOURCES b/apps/plugins/bitmaps/mono/SOURCES
index fde32558c8..96e4c2bb31 100644
--- a/apps/plugins/bitmaps/mono/SOURCES
+++ b/apps/plugins/bitmaps/mono/SOURCES
@@ -44,3 +44,6 @@ flipit_cursor.16x13x1.bmp
#endif
#endif /* HAVE_LCD_BITMAP */
+#if defined(SIMULATOR) && defined(__APPLE__)
+osx.dummy.bmp
+#endif
diff --git a/apps/plugins/bitmaps/mono/osx.dummy.bmp b/apps/plugins/bitmaps/mono/osx.dummy.bmp
new file mode 100644
index 0000000000..f09bec7a4c
--- /dev/null
+++ b/apps/plugins/bitmaps/mono/osx.dummy.bmp
Binary files differ
diff --git a/apps/plugins/bitmaps/remote_mono/SOURCES b/apps/plugins/bitmaps/remote_mono/SOURCES
index e69de29bb2..c59aab6107 100644
--- a/apps/plugins/bitmaps/remote_mono/SOURCES
+++ b/apps/plugins/bitmaps/remote_mono/SOURCES
@@ -0,0 +1,3 @@
+#if defined(SIMULATOR) && defined(__APPLE__)
+osx.dummy.bmp
+#endif
diff --git a/apps/plugins/bitmaps/remote_mono/osx.dummy.bmp b/apps/plugins/bitmaps/remote_mono/osx.dummy.bmp
new file mode 100644
index 0000000000..f09bec7a4c
--- /dev/null
+++ b/apps/plugins/bitmaps/remote_mono/osx.dummy.bmp
Binary files differ
diff --git a/apps/plugins/bitmaps/remote_native/SOURCES b/apps/plugins/bitmaps/remote_native/SOURCES
index e69de29bb2..c59aab6107 100644
--- a/apps/plugins/bitmaps/remote_native/SOURCES
+++ b/apps/plugins/bitmaps/remote_native/SOURCES
@@ -0,0 +1,3 @@
+#if defined(SIMULATOR) && defined(__APPLE__)
+osx.dummy.bmp
+#endif
diff --git a/apps/plugins/bitmaps/remote_native/osx.dummy.bmp b/apps/plugins/bitmaps/remote_native/osx.dummy.bmp
new file mode 100644
index 0000000000..f09bec7a4c
--- /dev/null
+++ b/apps/plugins/bitmaps/remote_native/osx.dummy.bmp
Binary files differ