From 62dedb98248eec2183a069031f2bfb481b68a6c5 Mon Sep 17 00:00:00 2001 From: Gareth McMullin Date: Tue, 7 Feb 2017 09:36:47 +1300 Subject: [PATCH] Add K22F --- src/target/kinetis.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/target/kinetis.c b/src/target/kinetis.c index 3d8cf37..36bbefb 100644 --- a/src/target/kinetis.c +++ b/src/target/kinetis.c @@ -125,6 +125,13 @@ bool kinetis_probe(target *t) target_add_ram(t, 0x20000000, 0x600); kl_gen_add_flash(t, 0, 0x8000, 0x400); return true; + case 0x220: /* K22F family */ + t->driver = "K22F"; + target_add_ram(t, 0x1c000000, 0x4000000); + target_add_ram(t, 0x20000000, 0x100000); + kl_gen_add_flash(t, 0, 0x40000, 0x800); + kl_gen_add_flash(t, 0x40000, 0x40000, 0x800); + return true; } return false; }