Skip to content

Commit 5a92a7c

Browse files
committed
Define power pads on Edge2.2
1 parent f647a3c commit 5a92a7c

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

variants/SparkFun_Edge2/config/variant.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ SOFTWARE.
2424

2525
// Apollo3 pads 30 and 46 are not exposed by Artemis module
2626
const ap3_gpio_pad_t ap3_variant_pinmap[AP3_VARIANT_NUM_PINS] = {
27-
AP3_GPIO_PAD_UNUSED,
27+
0, //Mic VDD
2828
AP3_GPIO_PAD_UNUSED,
2929
AP3_GPIO_PAD_UNUSED,
3030
AP3_GPIO_PAD_UNUSED,
@@ -65,7 +65,7 @@ const ap3_gpio_pad_t ap3_variant_pinmap[AP3_VARIANT_NUM_PINS] = {
6565
AP3_GPIO_PAD_UNUSED,
6666
39, //Qwiic SCL
6767
40, //Qwiic SDA
68-
AP3_GPIO_PAD_UNUSED,
68+
41, //Accel VDD
6969
42, //Accel SCL
7070
43, //Accel SDA
7171
44, //GPIO 44

variants/SparkFun_Edge2/config/variant.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,8 @@ extern Uart Serial;
5757
#define MIC_DATA 29
5858
#define MIC_CLOCK 12
5959

60+
#define MIC_VDD 0
61+
#define ACCEL_VDD 41
62+
#define CAMERA_VDD 32
63+
6064
#endif // _AP3_VARIANT_H_

0 commit comments

Comments
 (0)