]> git.sur5r.net Git - openocd/commitdiff
ChibiOS: struct ChibiOS_params_list[] should not be const
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 cd77f2ae76d7b76e842351864b2049a5d13976b2..b94e286f759c9d617cb09064a4a29acf6d3c8625 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,