Skip to content

Commit a5511ca

Browse files
committed
Update variant.h
1 parent 31a5ebf commit a5511ca

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

variants/SparkFun_Edge_V2/config/variant.h

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -33,20 +33,22 @@ extern const ap3_gpio_pad_t ap3_variant_pinmap[AP3_VARIANT_NUM_PINS];
3333
class Uart; // Forward declaration of Uart
3434
extern Uart Serial;
3535

36-
// Wire defines
37-
#define WIRE_INTERFACES_COUNT 2
3836

39-
#define WireQwiic Wire // Giving Wire an alias of "WireQwiic" in case people want to use it
40-
#define AP3_Wire_IOM 4 // Secify that Wire uses IOMaster instance 4
37+
// Todo: determine IOMaster allocation for Edge V2
38+
// // Wire defines
39+
// #define WIRE_INTERFACES_COUNT 2
4140

42-
#define WireAccel Wire1
43-
#define AP3_Wire1_IOM 3
41+
// #define WireQwiic Wire // Giving Wire an alias of "WireQwiic" in case people want to use it
42+
// #define AP3_Wire_IOM 4 // Secify that Wire uses IOMaster instance 4
4443

45-
// SPI Defines
46-
#define SPI_INTERFACES_COUNT 1
44+
// #define WireAccel Wire1
45+
// #define AP3_Wire1_IOM 3
4746

48-
#define AP3_SPI_IOM 0 // Speciy that SPI uses IOMaster 0
49-
#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)
47+
// // SPI Defines
48+
// #define SPI_INTERFACES_COUNT 1
49+
50+
// #define AP3_SPI_IOM 0 // Speciy that SPI uses IOMaster 0
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)
5052

5153
#define LED_BUILTIN 19
5254

0 commit comments

Comments
 (0)