Changed armv7m and cortexm3 to use nev arm_adi_v5 instead of cortex_swjdp.
Added support for accessport ROM table identification, dap command. git-svn-id: svn://svn.berlios.de/openocd/trunk@1536 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
#include "register.h"
|
||||
#include "target.h"
|
||||
#include "armv7m.h"
|
||||
#include "cortex_swjdp.h"
|
||||
//#include "arm_adi_v5.h"
|
||||
|
||||
extern char* cortex_m3_state_strings[];
|
||||
|
||||
@@ -162,7 +162,7 @@ typedef struct cortex_m3_common_s
|
||||
u32 *intsetenable;
|
||||
|
||||
armv7m_common_t armv7m;
|
||||
swjdp_common_t swjdp_info;
|
||||
// swjdp_common_t swjdp_info;
|
||||
void *arch_info;
|
||||
} cortex_m3_common_t;
|
||||
|
||||
@@ -188,7 +188,7 @@ int cortex_m3_remove_breakpoint(struct target_s *target, breakpoint_t *breakpoin
|
||||
int cortex_m3_add_watchpoint(struct target_s *target, watchpoint_t *watchpoint);
|
||||
int cortex_m3_remove_watchpoint(struct target_s *target, watchpoint_t *watchpoint);
|
||||
|
||||
extern int cortex_m3_register_commands(struct command_context_s *cmd_ctx);
|
||||
//extern int cortex_m3_register_commands(struct command_context_s *cmd_ctx);
|
||||
extern int cortex_m3_init_arch_info(target_t *target, cortex_m3_common_t *cortex_m3, jtag_tap_t *tap);
|
||||
|
||||
#endif /* CORTEX_M3_H */
|
||||
|
||||
Reference in New Issue
Block a user