1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

Merge pull request #18384 from dylad/pr/saml11_sercom1_edbg

dist/tools/edbg: bump version (and update SAML11 documentation)
This commit is contained in:
Kevin "Tristate Tom" Weiss 2022-07-29 09:22:22 +02:00 committed by GitHub
commit 8626d096bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 14 additions and 1 deletions

View File

@ -94,6 +94,8 @@ static const uart_conf_t uart_config[] = {
.gclk_src = SAM0_GCLK_MAIN,
},
{ /* EXT1 */
/* For SAML11, see boards/saml11/doc.txt
* to properly enable this SERCOM */
.dev = &SERCOM1->USART,
.rx_pin = GPIO_PIN(PA, 9),
.tx_pin = GPIO_PIN(PA, 8),

View File

@ -68,6 +68,17 @@ Connect the device to your Micro-USB cable.
The standard method for flashing RIOT to the saml11-xpro is using EDBG.
## Special case
SERCOM1 (available on EXT1 connector) needs an extra step to be usable.
By default, this SERCOM is only available in the secure world. As RIOT
doesn't support it for now, the only option, to use it, is to enable
SERCOM non-secure mode. To do so, a fuse bit must be set in User ROW
flash memory. Such action can be done with the following EDBG command:
'edbg -t saml11 -F w0,194,1'
or pass it as argument when calling make:
EDBG_ARGS="-F w0,194,1" BOARD=saml11-xpro make flash term -C tests/periph_uart
## Supported Toolchains
For using the saml11-xpro board we strongly recommend the usage of the

View File

@ -1,6 +1,6 @@
PKG_NAME=edbg
PKG_URL=https://github.com/ataradov/edbg
PKG_VERSION=e2cd361327253808f130359e2f23fa50ef44dc63
PKG_VERSION=42f1ed86c7094a405650dc8bd04ba2a79c399623
PKG_LICENSE=BSD-3-Clause
# manually set some RIOT env vars, so this Makefile can be called stand-alone