Skip to content

Commit faa2c5a

Browse files
committed
Merge branch 'master' into core-ble
2 parents 6e64469 + f90a9e9 commit faa2c5a

File tree

1 file changed

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

1 file changed

+15
-2
lines changed

variants/SparkFun_BlackBoard_Artemis/config/variant.h

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

3737
// Wire defines
38-
#define WIRE_INTERFACES_COUNT 1
38+
#define WIRE_INTERFACES_COUNT 4
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+
4347
// SPI Defines
44-
#define SPI_INTERFACES_COUNT 1
48+
#define SPI_INTERFACES_COUNT 4
4549

4650
#define AP3_SPI_IOM 0 // Specify that SPI uses IOMaster 0
4751
#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)
4852

53+
#define AP3_SPI1_IOM 2
54+
#define AP3_SPI1_DUP ap3_spi_full_duplex
55+
56+
#define AP3_SPI2_IOM 1
57+
#define AP3_SPI2_DUP ap3_spi_full_duplex
58+
59+
#define AP3_SPI3_IOM 3
60+
#define AP3_SPI3_DUP ap3_spi_full_duplex
61+
4962
// Mapping of analog pins to digital pins of variant
5063
#define A0 16
5164
#define A1 17

0 commit comments

Comments
 (0)