Unverified Commit d67930ee authored by Limor "Ladyada" Fried's avatar Limor "Ladyada" Fried Committed by GitHub

Feather DVI peripheral fix (#1301)

* make the main SPI SPI (even tho its on SPI1)

* fix Wire to default pins
parent 084d5b0b
......@@ -9,6 +9,9 @@
// NeoPixel
#define PIN_NEOPIXEL (4u)
// 'Boot0' button also on GPIO #7
#define PIN_BUTTON (7u)
// Serial
#define PIN_SERIAL1_TX (0u)
#define PIN_SERIAL1_RX (1u)
......@@ -22,18 +25,23 @@
#define PIN_SPI0_MOSI (15u)
#define PIN_SPI0_SCK (14u)
#define PIN_SPI0_SS (13u)
#define __SPI0_DEVICE spi1
// Not pinned out
#define PIN_SPI1_MISO (31u)
#define PIN_SPI1_MOSI (31u)
#define PIN_SPI1_SCK (31u)
#define PIN_SPI1_SS (31u)
#define __SPI1_DEVICE spi0
// Wire
#define PIN_WIRE0_SDA (2u)
#define PIN_WIRE0_SCL (3u)
#define __WIRE0_DEVICE i2c1
#define PIN_WIRE1_SDA (31u)
#define PIN_WIRE1_SCL (31u)
#define __WIRE1_DEVICE i2c0
#define SERIAL_HOWMANY (2u)
#define SPI_HOWMANY (1u)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment