aboutsummaryrefslogtreecommitdiff
path: root/src/stm32f1.c
AgeCommit message (Collapse)Author
2015-04-11stm32f1: use new flash interface.Gareth McMullin
2015-03-29cortexm: Separate stub loading from running.Gareth McMullin
2015-03-28Consistently use 'target *t' for target var.Gareth McMullin
2015-03-19Allow stub to return an error code.Gareth McMullin
2015-03-19Rewrote stm32f1 stub in C and call with parameters in registers.Gareth McMullin
2015-03-19Add cortexm generic stub call, and use in stm32f1 driver.Gareth McMullin
2015-03-19Change STM32F1 driver to use generated stub.Gareth McMullin
2015-03-15Replace adiv5_ap_mem* functions with inline wrappers to target mem*.Gareth McMullin
2015-03-15Consolidate target_mem_read* and target_mem_write* methods.Gareth McMullin
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-14Use size_t for sizes in flash functions. Fix all sign compare warnings.Gareth McMullin
2015-03-01Clean up includes everywhere.Gareth McMullin
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-01-09Fix to move stubs into rodata.Marc Singer
o Stubs were declared as globals which means they will be initialized data. No need for this. Now, stubs are static const and are only present in the program image.
2014-12-23stm32f4.c: Add STM32F411 ID.Uwe Bonnes
2014-07-30Minor fixes to stm32f1 flash routines.Gareth McMullin
2014-01-24Add STM32F03X and STM32F07X handling.bon@elektron.ikp.physik.tu-darmstadt.de
2013-10-20stm32f1: Fix handling of option byte write. Write needs to happend on erased ↵Uwe Bonnes
option bytes.
2013-10-20stm32f1.c: On a read protected device, deny any other option action than erase.Uwe Bonnes
Otherwise the first option action triggers an error, inhibiting further option actions.
2013-06-17Fix trailing whitespace everywhere.Gareth McMullin
2013-01-30STM32F0/3: Handle the option bytesUwe Bonnes
2012-11-15Added support for STM32F37x.Vegard Storheil Eriksen
2012-11-03Probe function return bool, true if device identified.Gareth McMullin
Correctly identify LM3S3748.
2012-10-24Added support for STM32F0.Vegard Storheil Eriksen
2012-10-23Added support for STM32F3.Vegard Storheil Eriksen
2012-06-26Added option byte programming commands for STM32F1.Gareth McMullin
2012-06-26Added 'erase_mass' command for STM32F1 and cleaned up some magic numbers.Gareth McMullin
2012-06-18Renamed target_flash_write_words to target_flash_write.Gareth McMullin
Buffer from GDB may not be aligned or integer number of words. Corrected alignment in in STM32F1 driver.
2012-06-18Removed target header files containing a single prototype.Gareth McMullin
Target probe prototypes are all in target.h now.
2012-06-18Cleaned up STM32F1 driver and renamed appropriately.Gareth McMullin