Skip to content

Commit 90b258c

Browse files
committed
Revert "Update BlackBoard IOMaster variant definitions"
This reverts commit a3651b7.
1 parent a3651b7 commit 90b258c

File tree

1 file changed

+2
-15
lines changed
  • variants/SparkFun_BlackBoard_Artemis/config

1 file changed

+2
-15
lines changed

variants/SparkFun_BlackBoard_Artemis/config/variant.h

+2-15
Original file line numberDiff line numberDiff line change
@@ -35,30 +35,17 @@ extern Uart Serial;
3535
extern Uart Serial1;
3636

3737
// Wire defines
38-
#define WIRE_INTERFACES_COUNT 4
38+
#define WIRE_INTERFACES_COUNT 1
3939

4040
#define WireQwiic Wire // Giving Wire an alias of "WireQwiic" in case people want to use it
4141
#define AP3_Wire_IOM 4 // Secify that Wire uses IOMaster instance 4
4242

43-
#define AP3_Wire1_IOM 2
44-
#define AP3_Wire2_IOM 1
45-
#define AP3_Wire3_IOM 3
46-
4743
// SPI Defines
48-
#define SPI_INTERFACES_COUNT 4
44+
#define SPI_INTERFACES_COUNT 1
4945

5046
#define AP3_SPI_IOM 0 // Specify that SPI uses IOMaster 0
5147
#define AP3_SPI_DUP ap3_spi_full_duplex // Specify that SPI is full-duplex (as opposed to ap3_spi_tx_only or ap3_spi_rx_only)
5248

53-
#define AP3_SPI1_IOM 2
54-
#define AP3_SPI_DUP ap3_spi_full_duplex
55-
56-
#define AP3_SPI2_IOM 1
57-
#define AP3_SPI_DUP ap3_spi_full_duplex
58-
59-
#define AP3_SPI3_IOM 3
60-
#define AP3_SPI_DUP ap3_spi_full_duplex
61-
6249
// Mapping of analog pins to digital pins of variant
6350
#define A0 16
6451
#define A1 17

0 commit comments

Comments
 (0)