Commit Graph

1450 Commits

Author SHA1 Message Date
Gareth McMullin e279844532 Merge pull request #167 from gsmcmullin/stm32l4_buffered
STM32L4: Use buffered flash model.
2016-10-31 12:06:00 -07:00
Gareth McMullin bcf3caf20e cortexa: Disable AHB memory access to avoid issues with L2 cache. 2016-10-26 18:27:35 -07:00
Gareth McMullin 3b7edc325d Merge pull request #165 from gsmcmullin/gdb_tcp_buffering
libftdi: Disable Nagle algorithm and buffer sends internally.
2016-10-25 10:28:29 -07:00
Gareth McMullin cebe4f8f1c Merge pull request #164 from gsmcmullin/cortexa_resume_fix
cortexa: Wait for instruction complete on resume.
2016-10-25 10:28:13 -07:00
Gareth McMullin f40883f2b2 cortexa: Wait for instruction complete on resume, and timeout if no response. 2016-10-25 10:22:21 -07:00
Gareth McMullin f947465fe4 libftdi: Disable Nagle algorithm and buffer sends internally.
This significantly improves performance by not waiting for TCP
timeout on transmission.
2016-10-25 10:07:04 -07:00
Gareth McMullin 917c107ded Use `git-describe --always --dirty` when generating `version.h` 2016-10-22 14:45:32 -07:00
Gareth McMullin c9a72bf97b Add build output link to readme 2016-10-22 14:32:35 -07:00
Gareth McMullin 7c83536c14 Don't break build if no tags in history 2016-10-22 13:19:00 -07:00
Gareth McMullin 7b575bd7c6 Fix Travis deployment. 2016-10-22 13:07:42 -07:00
Gareth McMullin d48465c527 Merge pull request #163 from gsmcmullin/travis_publish
First attempt at publishing Travis builds to Amazon S3.
2016-10-22 12:06:46 -07:00
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