From 32c4c18045599ddfed36f52b276166ce932b1bf7 Mon Sep 17 00:00:00 2001 From: Spencer Oliver Date: Mon, 20 Jan 2014 15:03:24 +0000 Subject: flash: declare fixed arrays const Change-Id: Id06b8b53ec59a7b3182f60f51dde5b16563aaeef Signed-off-by: Spencer Oliver Reviewed-on: http://openocd.zylin.com/1887 Tested-by: jenkins --- contrib/gen-stellaris-part-header.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contrib') diff --git a/contrib/gen-stellaris-part-header.pl b/contrib/gen-stellaris-part-header.pl index 0cc567f7..68f2889b 100755 --- a/contrib/gen-stellaris-part-header.pl +++ b/contrib/gen-stellaris-part-header.pl @@ -6,7 +6,7 @@ $comment = "// Autogenerated by contrib/gen-stellaris-part-header.pl // From Stellaris Firmware Development Package revision"; -$struct_header = "static struct { +$struct_header = "static const struct { uint8_t class; uint8_t partno; const char *partname; -- cgit v1.2.3-18-g5258