5b3a143ffe
The tick timer needed to be reworked because the ASF delay functions also use the SysTick timer. Now, it uses TC5 and calls out to the autoreset logic every tick. Fixes #43. Added neopixel status colors and corrected the latch time from ms to us. Fixes #42.
13 lines
291 B
C
13 lines
291 B
C
#define USB_REPL
|
|
|
|
#define MICROPY_HW_BOARD_NAME "Arduino Zero"
|
|
#define MICROPY_HW_MCU_NAME "samd21g18"
|
|
|
|
#define MICROPY_HW_LED_MSC PIN_PA17 // red
|
|
#define MICROPY_HW_LED_TX PIN_PA27
|
|
#define MICROPY_HW_LED_RX PIN_PB03
|
|
|
|
#define MICROPY_HW_NEOPIXEL PIN_PB22
|
|
|
|
#define AUTORESET_DELAY_MS 10
|