From: Tomas Vanek Date: Mon, 8 Dec 2014 14:16:05 +0000 (+0100) Subject: ChibiOS: struct ChibiOS_params_list[] should not be const X-Git-Tag: v0.9.0-rc1~204 X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=commitdiff_plain;h=806872a34aa0db95ecef7ba9e0743b18d80842f6;hp=881d08ddbd3ff8eac3bb53303868b8976323ce49 ChibiOS: struct ChibiOS_params_list[] should not be const Procedure ChibiOS_update_memory_signature() sets struct member signature. Change-Id: I45adbd14fa7cda99413fd0b516d45b3fb55e322d Signed-off-by: Tomas Vanek Reviewed-on: http://openocd.zylin.com/2427 Tested-by: jenkins Reviewed-by: Spencer Oliver --- diff --git a/src/rtos/ChibiOS.c b/src/rtos/ChibiOS.c index cd77f2ae76..b94e286f75 100644 --- a/src/rtos/ChibiOS.c +++ b/src/rtos/ChibiOS.c @@ -91,7 +91,7 @@ struct ChibiOS_params { const struct rtos_register_stacking *stacking_info; }; -static const struct ChibiOS_params ChibiOS_params_list[] = { +static struct ChibiOS_params ChibiOS_params_list[] = { { "cortex_m", /* target_name */ 0,