Skip to content

Commit e01266e

Browse files
marcobrianzacmaglie
authored andcommitted
Updates to Zero bootloader configuration
- Use pin 7 of Arduino Zero to force bootloader start - Use RX/TX pin 0/1 of Arduino Zero to communicate in UART mode
1 parent 907156e commit e01266e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

bootloaders/zero/main.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@
3434
#define CPU_FREQUENCY 8000000
3535

3636
#define APP_START_ADDRESS 0x00002000
37-
#define BOOT_LOAD_PIN PIN_PA15
37+
#define BOOT_LOAD_PIN PIN_PA21 //Pin 7
38+
//#define BOOT_LOAD_PIN PIN_PA15 //Pin 5
3839
#define BOOT_PIN_MASK (1U << (BOOT_LOAD_PIN & 0x1f))
3940
#define FLASH_WAIT_STATES 1
4041

bootloaders/zero/samd21_sam_ba.bin

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)