aboutsummaryrefslogtreecommitdiffstats
path: root/demos/modules/gwin/widgets/romfs_img_yesno.h
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2014-02-15 22:28:07 +1000
committerinmarket <andrewh@inmarket.com.au>2014-02-15 22:28:07 +1000
commit5edf7c956e8a00a6a49e1f3c446c80cecf0e59ef (patch)
treec9d2b896e64cda299d5e3bc442ba3a6ee50643a8 /demos/modules/gwin/widgets/romfs_img_yesno.h
parentbb1cd44824e0f70906c81842d7ff2852f354663e (diff)
downloaduGFX-5edf7c956e8a00a6a49e1f3c446c80cecf0e59ef.tar.gz
uGFX-5edf7c956e8a00a6a49e1f3c446c80cecf0e59ef.tar.bz2
uGFX-5edf7c956e8a00a6a49e1f3c446c80cecf0e59ef.zip
On ARM gcc compiler it appears that non-referenced character arrays are "optimised" out (but not on x86).
This conflicts with the -b parameter in the file2c tool and leads to corrupted images on ARM platforms. For now just remove the parameter when generating ROMFS files for an ARM platform.
Diffstat (limited to 'demos/modules/gwin/widgets/romfs_img_yesno.h')
-rw-r--r--demos/modules/gwin/widgets/romfs_img_yesno.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/modules/gwin/widgets/romfs_img_yesno.h b/demos/modules/gwin/widgets/romfs_img_yesno.h
index 0559330e..6b2c1290 100644
--- a/demos/modules/gwin/widgets/romfs_img_yesno.h
+++ b/demos/modules/gwin/widgets/romfs_img_yesno.h
@@ -1,7 +1,7 @@
/**
* This file was generated from "image_yesno.gif" using...
*
- * file2c -bbcs image_yesno.gif romfs_img_yesno.h
+ * file2c -dcs image_yesno.gif romfs_img_yesno.h
*
*/
static const char image_yesno[] = {