Gareth McMullin
3d2fa6d233
target: Add new targets to end of list.
...
This shows targets enumerated in their natural order,
rather than in reverse.
2017-03-27 14:59:54 +13:00
Gareth McMullin
ca364a889e
Fix #145
...
Don't tc_printf in the probe.
tc_printf fixed to not crash of no controller connected.
2016-08-22 09:56:24 +12:00
Gareth McMullin
779e0b5d15
Print sizes in memory map using 32-bit formatting for newlib-nano.
2016-08-08 13:42:03 +12:00
Gareth McMullin
f131460168
Don't use zx format with printf. Doesn't work with newlib.
...
Fixes #144 .
2016-07-19 10:45:46 +12:00
Gareth McMullin
9a45d89b4a
target: Remove target_check_error from external interface.
2016-07-13 08:31:09 +12:00
Gareth McMullin
9aacc18f60
target: Restructure internal break/watch handling.
...
cortexa: Implement soft breakpoints.
2016-07-13 08:31:09 +12:00
Gareth McMullin
9136cf4c98
target: target_halt_wait and target_check_hw_wp replaced with target_halt_poll.
...
The new function returns a stop reason which must be translated in gdb server.
In the case of a watchpoint hit, the address is returned by a pointer parameter.
Simplify the extenal interface for set/clear breaki-/watchpoints.
2016-07-13 08:31:09 +12:00
Gareth McMullin
ab06243e93
target: Use size_t instead of unsigned in syscall interface.
2016-07-13 08:31:09 +12:00
Gareth McMullin
26fab877da
target: Provide errno definitions and fallback for unimplemented syscalls.
2016-07-13 08:31:09 +12:00
Gareth McMullin
82cb6c8e83
target: Use target_addr for flash routines.
2016-07-13 08:31:09 +12:00
Gareth McMullin
aeaca988c3
target: Use new target_addr type consistently in external interface.
...
Flash routines still use uint32_t internally.
2016-07-13 08:31:09 +12:00
Gareth McMullin
b494279fe5
Move target files into separate directory.
2016-07-13 08:31:09 +12:00