From 372606177357a815dd7c484739649b50118ad42e Mon Sep 17 00:00:00 2001 From: Richard Meadows Date: Sun, 18 Jan 2015 20:46:26 +0000 Subject: Support for the NVMCTRL Security Bit (PROT=1) --- src/cortexm.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/cortexm.c') diff --git a/src/cortexm.c b/src/cortexm.c index b7f71eb..364e276 100644 --- a/src/cortexm.c +++ b/src/cortexm.c @@ -60,8 +60,6 @@ const struct command_s cortexm_cmd_list[] = { #define SIGTRAP 5 #define SIGSEGV 11 -static bool cortexm_attach(struct target_s *target); - static int cortexm_regs_read(struct target_s *target, void *data); static int cortexm_regs_write(struct target_s *target, const void *data); static int cortexm_pc_write(struct target_s *target, const uint32_t val); @@ -269,8 +267,7 @@ cortexm_probe(struct target_s *target) return true; } -static bool -cortexm_attach(struct target_s *target) +bool cortexm_attach(struct target_s *target) { ADIv5_AP_t *ap = adiv5_target_ap(target); struct cortexm_priv *priv = ap->priv; -- cgit v1.2.3