From 33195d79655559979ff1f37e12646cf680ec700d Mon Sep 17 00:00:00 2001 From: Marian Buschsieweke Date: Thu, 21 Nov 2024 16:36:59 +0100 Subject: [PATCH] cpu/sam{d21,d5x,l21}: Claim support for BlackMagic Probe Using `PROGRAMMER=bmp` has been proven to work reliably at least on SAMD21, SAMD5x and SAML21. Since using unsupported programmers is treated as a warning, this change only reduces the noise in the shell a bit and is not a functional change. [1]: https://black-magic.org/supported-targets.html --- cpu/samd21/Makefile.include | 3 +++ cpu/samd5x/Makefile.include | 3 +++ cpu/saml21/Makefile.include | 3 +++ 3 files changed, 9 insertions(+) diff --git a/cpu/samd21/Makefile.include b/cpu/samd21/Makefile.include index cd9969652e..0b48957401 100644 --- a/cpu/samd21/Makefile.include +++ b/cpu/samd21/Makefile.include @@ -26,3 +26,6 @@ CFLAGS += -DCPU_COMMON_SAMD21 include $(RIOTCPU)/sam0_common/Makefile.include include $(RIOTMAKE)/arch/cortexm.inc.mk + +# The Black Magic Probe has tested to work fine on SAMD21 +PROGRAMMERS_SUPPORTED += bmp diff --git a/cpu/samd5x/Makefile.include b/cpu/samd5x/Makefile.include index 0d23d9cde1..67240b2af1 100644 --- a/cpu/samd5x/Makefile.include +++ b/cpu/samd5x/Makefile.include @@ -17,3 +17,6 @@ BACKUP_RAM_LEN = 0x2000 include $(RIOTCPU)/sam0_common/Makefile.include include $(RIOTMAKE)/arch/cortexm.inc.mk + +# The Black Magic Probe has tested to work fine on SAMD5x +PROGRAMMERS_SUPPORTED += bmp diff --git a/cpu/saml21/Makefile.include b/cpu/saml21/Makefile.include index 97493cfa5d..4bb7a27cb3 100644 --- a/cpu/saml21/Makefile.include +++ b/cpu/saml21/Makefile.include @@ -28,3 +28,6 @@ endif include $(RIOTCPU)/sam0_common/Makefile.include include $(RIOTMAKE)/arch/cortexm.inc.mk + +# The Black Magic Probe has tested to work fine on SAML21 +PROGRAMMERS_SUPPORTED += bmp