diff options
author | inmarket <andrewh@inmarket.com.au> | 2014-02-15 22:28:07 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2014-02-15 22:28:07 +1000 |
commit | 5edf7c956e8a00a6a49e1f3c446c80cecf0e59ef (patch) | |
tree | c9d2b896e64cda299d5e3bc442ba3a6ee50643a8 /demos/modules/gwin/widgets | |
parent | bb1cd44824e0f70906c81842d7ff2852f354663e (diff) | |
download | uGFX-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')
-rw-r--r-- | demos/modules/gwin/widgets/romfs_img_yesno.h | 2 |
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[] = { |