flash/nor: Add support for TI CC26xx/CC13xx flash 58/4358/6
authorEdward Fewell <efewell@ti.com>
Fri, 19 Jan 2018 02:48:11 +0000 (20:48 -0600)
committerTomas Vanek <vanekt@fbl.cz>
Fri, 15 Jun 2018 19:06:25 +0000 (20:06 +0100)
commit7b03129916aa050f4d120a532659dbbba279f7be
tree31e6fa7684c91f2acef325a3d9da6997002e9e3f
parent06123153f38280608b1e92dcb766b31ade7e4668
flash/nor: Add support for TI CC26xx/CC13xx flash

Added cc26xx flash driver to support the TI CC26xx and CC13xx
microcontrollers. Driver is capable of determining which MCU
is connected and configures itself accordingly. Added config
files for four specific variants: CC26x0, CC13x0, CC26x2, and
CC13x2.

Note that the flash loader code is based on the sources used
to support flash in Code Composer Studio and Uniflash from TI.

Removed cc26xx.cfg file made obsolete by this patch.

Change-Id: Ie2b0f74f8af7517a9184704b839677d1c9787862
Signed-off-by: Edward Fewell <efewell@ti.com>
Reviewed-on: http://openocd.zylin.com/4358
Tested-by: jenkins
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
Reviewed-by: Fredrik Hederstierna <fredrik@hederstierna.com>
25 files changed:
contrib/loaders/flash/cc26xx/Makefile [new file with mode: 0644]
contrib/loaders/flash/cc26xx/cc26x0/cc26x0r2f.lds [new file with mode: 0644]
contrib/loaders/flash/cc26xx/cc26x0_algo.inc [new file with mode: 0644]
contrib/loaders/flash/cc26xx/cc26x2/cc26x2r1f.lds [new file with mode: 0644]
contrib/loaders/flash/cc26xx/cc26x2_algo.inc [new file with mode: 0644]
contrib/loaders/flash/cc26xx/flash.c [new file with mode: 0644]
contrib/loaders/flash/cc26xx/flash.h [new file with mode: 0644]
contrib/loaders/flash/cc26xx/flashloader.c [new file with mode: 0644]
contrib/loaders/flash/cc26xx/flashloader.h [new file with mode: 0644]
contrib/loaders/flash/cc26xx/hw_regs.h [new file with mode: 0644]
contrib/loaders/flash/cc26xx/main.c [new file with mode: 0644]
contrib/loaders/flash/cc26xx/startup.c [new file with mode: 0644]
doc/openocd.texi
src/flash/nor/Makefile.am
src/flash/nor/cc26xx.c [new file with mode: 0644]
src/flash/nor/cc26xx.h [new file with mode: 0644]
src/flash/nor/drivers.c
tcl/board/ti_cc13x0_launchpad.cfg [new file with mode: 0644]
tcl/board/ti_cc13x2_launchpad.cfg [new file with mode: 0644]
tcl/board/ti_cc26x0_launchpad.cfg [new file with mode: 0644]
tcl/board/ti_cc26x2_launchpad.cfg [new file with mode: 0644]
tcl/target/ti_cc13x0.cfg [new file with mode: 0644]
tcl/target/ti_cc13x2.cfg [new file with mode: 0644]
tcl/target/ti_cc26x0.cfg [moved from tcl/target/cc26xx.cfg with 57% similarity, mode: 0644]
tcl/target/ti_cc26x2.cfg [new file with mode: 0644]