diff options
author | Rick Foos <rfoos@solengtech.com> | 2016-02-08 15:19:30 -0600 |
---|---|---|
committer | Freddie Chopin <freddie.chopin@gmail.com> | 2016-05-14 12:18:31 +0100 |
commit | 060e9c3b36a8cf109011e15e445745bc14396b35 (patch) | |
tree | 5731a16fb905bcca6d64476c04d6d8798a18e63a /src/flash/nor/drivers.c | |
parent | 9ef034cb09210513e523e73a93a03f0bb4cad8a8 (diff) | |
download | riscv-openocd-060e9c3b36a8cf109011e15e445745bc14396b35.zip riscv-openocd-060e9c3b36a8cf109011e15e445745bc14396b35.tar.gz riscv-openocd-060e9c3b36a8cf109011e15e445745bc14396b35.tar.bz2 |
flash/nor: Add Ambiq Micro Apollo flash driver.
Initial release of Ambiq Micro Apollo flash driver
supporting our sub-threshold (low power) Cortex M4F part,
and Evaluation Kit.
We have been shipping openocd to our customers for about one year.
The EVK boards are SWD only using ftdi. We also use two of the
other COM instances to display debug information.
It takes about 15 seconds to flash 512K, and mass erase is
about 5 seconds.
Tested by internal verification group, FAE's, and customer sites.
Merged commit 'refs/changes/17/3417/1' as suggested. Makefile.am
and drivers.c follow the new format to avoid conflicts.
Removed unused fault_capture command.
Added documentation for flash driver.
Change-Id: Iae92d869369c6827244f0071f9cb522d8d91fed8
Signed-off-by: Rick Foos <rfoos@solengtech.com>
Reviewed-on: http://openocd.zylin.com/3230
Tested-by: jenkins
Reviewed-by: Freddie Chopin <freddie.chopin@gmail.com>
Diffstat (limited to 'src/flash/nor/drivers.c')
-rw-r--r-- | src/flash/nor/drivers.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/flash/nor/drivers.c b/src/flash/nor/drivers.c index e39b37e..57079b4 100644 --- a/src/flash/nor/drivers.c +++ b/src/flash/nor/drivers.c @@ -24,6 +24,7 @@ extern struct flash_driver aduc702x_flash; extern struct flash_driver aducm360_flash; +extern struct flash_driver ambiqmicro_flash; extern struct flash_driver at91sam3_flash; extern struct flash_driver at91sam4_flash; extern struct flash_driver at91sam4l_flash; @@ -75,6 +76,7 @@ extern struct flash_driver xmc4xxx_flash; static struct flash_driver *flash_drivers[] = { &aduc702x_flash, &aducm360_flash, + &ambiqmicro_flash, &at91sam3_flash, &at91sam4_flash, &at91sam4l_flash, |