ChibiOS: struct ChibiOS_params_list[] should not be const 27/2427/3
authorTomas Vanek <vanekt@fbl.cz>
Mon, 8 Dec 2014 14:16:05 +0000 (15:16 +0100)
committerSpencer Oliver <spen@spen-soft.co.uk>
Fri, 9 Jan 2015 08:56:10 +0000 (08:56 +0000)
Procedure ChibiOS_update_memory_signature() sets struct member signature.

Change-Id: I45adbd14fa7cda99413fd0b516d45b3fb55e322d
Signed-off-by: Tomas Vanek <vanekt@fbl.cz>
Reviewed-on: http://openocd.zylin.com/2427
Tested-by: jenkins
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
src/rtos/ChibiOS.c

index cd77f2a..b94e286 100644 (file)
@@ -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,