From 5edf7c956e8a00a6a49e1f3c446c80cecf0e59ef Mon Sep 17 00:00:00 2001 From: inmarket Date: Sat, 15 Feb 2014 22:28:07 +1000 Subject: 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. --- demos/modules/gwin/widgets/romfs_img_yesno.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'demos/modules/gwin') 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[] = { -- cgit v1.2.3