atmel-samd: Fix M4 RTC and ItsyBitsy M4 definition
This commit is contained in:
parent
59be777764
commit
898a7d92e3
|
@ -17,7 +17,7 @@
|
|||
// <i> This defines the clock source for RTC
|
||||
// <id> rtc_source_oscillator
|
||||
#ifndef CONF_RTCCTRL_SRC
|
||||
#define CONF_RTCCTRL_SRC GCLK_GENCTRL_SRC_XOSC32K
|
||||
#define CONF_RTCCTRL_SRC GCLK_GENCTRL_SRC_OSCULP32K
|
||||
#endif
|
||||
|
||||
// <q> Use 1 kHz output
|
||||
|
|
|
@ -7,10 +7,12 @@
|
|||
#define MICROPY_HW_APA102_MOSI (&pin_PB03)
|
||||
#define MICROPY_HW_APA102_SCK (&pin_PB02)
|
||||
|
||||
#define CIRCUITPY_BITBANG_APA102
|
||||
|
||||
// These are pins not to reset.
|
||||
// QSPI Data pins and TX LED
|
||||
// QSPI Data pins
|
||||
#define MICROPY_PORT_A (PORT_PA08 | PORT_PA09 | PORT_PA10 | PORT_PA11)
|
||||
// RX LED, QSPI CS, QSPI SCK and NeoPixel pin
|
||||
// DotStar pins, QSPI CS, and QSPI SCK
|
||||
#define MICROPY_PORT_B (PORT_PB02 | PORT_PB03 | PORT_PB10 | PORT_PB11)
|
||||
#define MICROPY_PORT_C (0)
|
||||
#define MICROPY_PORT_D (0)
|
||||
|
@ -25,7 +27,7 @@
|
|||
|
||||
#include "external_flash/devices.h"
|
||||
|
||||
#define EXTERNAL_FLASH_DEVICE_COUNT 3
|
||||
#define EXTERNAL_FLASH_DEVICES S25FL116K, S25FL216K, GD25Q16C
|
||||
#define EXTERNAL_FLASH_DEVICE_COUNT 1
|
||||
#define EXTERNAL_FLASH_DEVICES GD25Q16C
|
||||
|
||||
#include "external_flash/external_flash.h"
|
||||
|
|
Loading…
Reference in New Issue