aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Revaillot <g.revaillot@gmail.com>2019-01-14 16:09:13 +0100
committerTomas Vanek <vanekt@fbl.cz>2019-02-04 10:24:01 +0000
commit5105e6037f16f3f1eda3d81d1749886b7e3049d8 (patch)
treecf7967f2ab7534b1a154a8286b4d459a54df36d8
parent7a80a74e8117332d6fd780f5c4697fe4bd3c41f7 (diff)
downloadriscv-openocd-5105e6037f16f3f1eda3d81d1749886b7e3049d8.zip
riscv-openocd-5105e6037f16f3f1eda3d81d1749886b7e3049d8.tar.gz
riscv-openocd-5105e6037f16f3f1eda3d81d1749886b7e3049d8.tar.bz2
flash/nor/at91samd: add samr34j18.
samr34/r35 combine SAML21 and SX1276 (lora transceiver). This one was found on xplaned pro evaluation kit. Ids for other r34/r35 chips are apparently not yet documented. Change-Id: I4054dd56ea53c9bae8d17abd5a3e4e65e1b9c8b1 Signed-off-by: Guillaume Revaillot <g.revaillot@gmail.com> Reviewed-on: http://openocd.zylin.com/4872 Tested-by: jenkins Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
-rw-r--r--src/flash/nor/at91samd.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/flash/nor/at91samd.c b/src/flash/nor/at91samd.c
index 24ca303..3c63102 100644
--- a/src/flash/nor/at91samd.c
+++ b/src/flash/nor/at91samd.c
@@ -230,6 +230,9 @@ static const struct samd_part saml21_parts[] = {
/* SAMR30 parts have integrated SAML21 with a radio */
{ 0x1E, "SAMR30G18A", 256, 32 },
{ 0x1F, "SAMR30E18A", 256, 32 },
+
+ /* SAMR34/R35 parts have integrated SAML21 with a lora radio */
+ { 0x28, "SAMR34J18", 256, 32 },
};
/* Known SAML22 parts. */