Uwe Bonnes
76f9a6ad42
stm32: Portability changes.
2019-10-20 22:20:06 +02: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
Clement Burin des Roziers
1f62fa4909
CRC32: improved computation time
...
Reading one byte at a time was so slow that it caused the gdb client to
timeout.
2015-12-14 11:28:28 +01:00
Gareth McMullin
9f271d5cd7
Consistently use 'target *t' for target var.
2015-03-28 20:47:17 -07:00
Gareth McMullin
2bf54f9a72
Replace adiv5_ap_mem* functions with inline wrappers to target mem*.
2015-03-15 16:02:09 -07:00
Gareth McMullin
ee3af96a73
Consolidate target_mem_read* and target_mem_write* methods.
...
There are now only mem_read and mem_write, that must
handle all alignments. These methods return void, errors must be
checked with target_check_error.
2015-03-15 14:31:57 -07:00
Gareth McMullin
4d4813de87
Clean up includes everywhere.
...
All source files include general.h first and before anything else.
This inlcludes platform.h and platform_support.h
No header file needs to include to include any of these, but should include
any others needed for it's own declarations.
2015-03-01 22:16:04 -08:00
Paul Fertser
91b481731d
stm32f1/stm32f4: fix hardware CRC calculation
...
This was real-life tested on stm32f1 hardware including computation
for odd-sized ranges.
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2013-04-14 11:35:23 -07:00
Gareth McMullin
7db6e3e00c
Revert "Revert "STM32: Use hardware CRC unit""
...
This reverts commit 58abbf7fc7
.
2013-04-14 11:28:46 -07:00
Gareth McMullin
58abbf7fc7
Revert "STM32: Use hardware CRC unit"
...
This reverts commit 32b909067b
.
This CRC routine doesn't work. The bit order used by the
STM32 CRC unit is reveresed from what GDB uses.
2013-04-04 21:37:51 -07:00
Uwe Bonnes
32b909067b
STM32: Use hardware CRC unit
2013-01-23 16:11:17 +01:00
Gareth McMullin
c7c31d2502
Implement gdb 'qCRC' packet to support 'compare-sections' command.
2011-12-17 21:46:22 +13:00