flash Kinetis: Add support for newer KW series
commit2c8602ed9f084d6680cec7d0ca1d5dc71c865a5f
authorJoakim Nohlgård <joakim.nohlgard@eistec.se>
Tue, 11 Apr 2017 07:55:41 +0000 (11 09:55 +0200)
committerFreddie Chopin <freddie.chopin@gmail.com>
Sat, 17 Jun 2017 11:02:31 +0000 (17 12:02 +0100)
treea3cdca0ae23260edcdefdaa2b8e29c60756d37d8
parent8dcb91fb83e59d475af9da377066021ae2e03969
flash Kinetis: Add support for newer KW series

Add support for flashing newer members of the NXP Kinetis KW family

Supported devices:
 - KW20Z
 - KW30Z
 - KW40Z
 - KW21Z
 - KW31Z
 - KW41Z

The earlier KW2xD and KW01Z devices are already supported by the code
for the older K-series.

Verified working on the FRDM-KW41Z development board.
Tested flashing both via GDB `load` and directly via OpenOCD flash
write commands.

Change-Id: I73eae477127a8b54a33005b3b526b5439450a808
Signed-off-by: Joakim Nohlgård <joakim.nohlgard@eistec.se>
Reviewed-on: http://openocd.zylin.com/4104
Tested-by: jenkins
Reviewed-by: Johann Fischer <johann_fischer@posteo.de>
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
src/flash/nor/kinetis.c