File tree 1 file changed +15
-2
lines changed
variants/SparkFun_BlackBoard_Artemis/config
1 file changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -35,17 +35,30 @@ extern Uart Serial;
35
35
extern Uart Serial1;
36
36
37
37
// Wire defines
38
- #define WIRE_INTERFACES_COUNT 1
38
+ #define WIRE_INTERFACES_COUNT 4
39
39
40
40
#define WireQwiic Wire // Giving Wire an alias of "WireQwiic" in case people want to use it
41
41
#define AP3_Wire_IOM 4 // Secify that Wire uses IOMaster instance 4
42
42
43
+ #define AP3_Wire1_IOM 2
44
+ #define AP3_Wire2_IOM 1
45
+ #define AP3_Wire3_IOM 3
46
+
43
47
// SPI Defines
44
- #define SPI_INTERFACES_COUNT 1
48
+ #define SPI_INTERFACES_COUNT 4
45
49
46
50
#define AP3_SPI_IOM 0 // Specify that SPI uses IOMaster 0
47
51
#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)
48
52
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
+
49
62
// Mapping of analog pins to digital pins of variant
50
63
#define A0 16
51
64
#define A1 17
You can’t perform that action at this time.
0 commit comments