machine/atsamd21: uses different required magic values for BOSSA and UF2 bootloaders

Signed-off-by: Ron Evans <ron@hybridgroup.com>
This commit is contained in:
Ron Evans
2019-09-10 16:00:59 +02:00
committed by Ayke
parent 69aaea44a0
commit 7d481c179f
6 changed files with 16 additions and 1 deletions
+3
View File
@@ -8,6 +8,9 @@ package machine
import "device/sam"
// used to reset into bootloader
const RESET_MAGIC_VALUE = 0x07738135
// GPIO Pins
const (
RX0 Pin = PB23 // UART2 RX