Gareth McMullin
cbc21114c1
First attempt at publishing Travis builds to Amazon S3.
2016-10-22 11:55:15 -07:00
Gareth McMullin
39a0e26f4b
Merge pull request #161 from esden/compile_fixes
...
Compile fixes
2016-10-19 15:12:41 -07:00
Piotr Esden-Tempski
fdeb6471a8
Added missing #include guard.
2016-10-19 14:56:52 -07:00
Piotr Esden-Tempski
4348f0d135
Fixed double const.
...
The way the const pointer was written caused at least the clang compiler
to complain about double cosnst. I am not sure if the way it was written
before it resulted in the intended "make everything const" goal. But the
way it is written now it adheres to the right to left reading rule.
2016-10-19 14:37:03 -07:00
Piotr Esden-Tempski
2d37de773c
Fixed #include guard.
2016-10-19 14:36:27 -07:00
Gareth McMullin
fe4bae7942
Merge pull request #160 from esden/jtagtap_next_params
...
Corrected jtagtap_next signature.
2016-10-19 14:26:27 -07:00
Piotr Esden-Tempski
8a009ca6ae
Corrected jtagtap_next signature.
...
The parameter is TDI (as in input) not TDO. The header signature and
comment are correct.
2016-10-19 13:53:04 -07:00
Gareth McMullin
25a6450af0
Merge pull request #158 from rogerclarkmelbourne/master
...
Add support for nRF51822QFAAH1
2016-10-16 08:45:44 -07:00
Roger Clark
3b74d91c69
Add support for nRF51822QFAAH1
2016-10-16 19:52:47 +11:00
Gareth McMullin
3abb4afdf6
Merge pull request #153 from gsmcmullin/restore_leds
...
Restore LED behaviour.
2016-10-05 10:37:36 -07:00
Gareth McMullin
2e9660910c
STM32L4: Use buffered flash model.
2016-09-30 12:09:37 -07:00
Gareth McMullin
517881f551
Merge pull request #154 from gsmcmullin/cortexa_breakpoints
...
cortexa: Fix hardware breakpoints.
2016-09-29 21:39:04 -07:00
Gareth McMullin
1f3576928c
Merge pull request #151 from gsmcmullin/self_semihost
...
Use semihosting for debug output if available.
2016-09-29 21:36:53 -07:00
Gareth McMullin
9a8cef04e0
Clean up debug format strings.
2016-09-29 21:31:18 -07:00
Gareth McMullin
966f360515
debug: Use semihosting if available or output via usbuart.
2016-09-29 21:31:13 -07:00
Gareth McMullin
ba8f77abf8
cortexa: Fix hardware breakpoints.
2016-09-28 22:18:24 -07:00
Gareth McMullin
40f960db4d
Restore LED behaviour.
2016-09-28 22:15:15 -07:00
Gareth McMullin
45e322b9a3
Handle usart errors.
2016-08-22 09:57:52 +12: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
df7ad91692
Merge pull request #146 from joshgrob/nRF51/52_update
...
Adding new ConfigID value for nRF52832 QFAA B00
2016-08-10 07:33:28 +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
jgrob-an
fd4b8a02c0
Adding new ConfigID value for nRF52832 QFAA B00
2016-08-03 23:27:34 -04: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
de603f4bd8
Merge pull request #143 from gsmcmullin/work
...
Split target support from GDB server with clean interface.
2016-07-18 08:19:10 +12:00
Gareth McMullin
9a45d89b4a
target: Remove target_check_error from external interface.
2016-07-13 08:31:09 +12:00
Gareth McMullin
97f3fc6155
Reorder target.h
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
f9bdaf06a4
Move flash stubs to target directory and update readme.
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
Gareth McMullin
b644724520
Overhaul of semihosting. Remove dependence of target on gdb_packet.
2016-07-13 08:31:09 +12:00
Gareth McMullin
b03cc59bea
target: Add target controller structure for indirect calls back to host.
2016-07-13 08:31:09 +12:00
Gareth McMullin
5832d8a42a
Clean up common SWD stuff.
2016-07-13 08:31:09 +12:00
Gareth McMullin
9b8e2c3ad1
target: Replace all calls to gdb_out with new tc_printf.
2016-07-13 08:31:09 +12:00
Gareth McMullin
5c5f76d60e
target: Remove last accesses to private structure from outside.
...
Only include target_internal.h from inside target files.
2016-07-13 08:31:09 +12:00
Gareth McMullin
1cd03b3fa4
Allow breakpoint and watchpoint methods to be left NULL.
2016-07-13 08:31:09 +12:00
Gareth McMullin
07f27d1b70
Hide target list internals form command.c
...
Remove unused support for extended target structure size.
2016-07-13 08:31:09 +12:00
Gareth McMullin
72790893ae
target: move mmio routines out of public interface.
...
Fix crc routine to use buffered reads on stm32.
2016-07-13 08:31:09 +12:00
Gareth McMullin
e28e158721
Move *scan prototypes to target.h.
2016-07-13 08:31:09 +12:00
Gareth McMullin
4e04c1dded
Split out non-public target stuff into new header.
...
Wrap target methods with functions instead of macros.
2016-07-13 08:31:09 +12:00
Gareth McMullin
67bd1530b7
Remove some unused includes.
2016-07-13 08:31:09 +12:00
Gareth McMullin
3c44cce935
Make generic jtagtap function weak and stop including the c file.
2016-07-13 08:31:09 +12:00
Gareth McMullin
0fc61efe7c
Move STM32L[01] bit definitions to their driver and remove header.
2016-07-13 08:31:09 +12:00
Gareth McMullin
6b49fbe594
Quiet adiv5 probe.
2016-07-13 08:31:09 +12:00
Gareth McMullin
0480578391
stlink: New discovery boards support.
...
Patch from issue #103
2016-07-13 08:00:05 +12:00
Gareth McMullin
fec09464ac
Add STM32F302C8 ID.
...
From issue #100
2016-07-13 08:00:05 +12:00