Skip to content

Commit 6e356fb

Browse files
ports/rp2/boards/SPARKFUN_XRP_CONTROLLER_BETA: Fix default I2C.
1 parent 186caf9 commit 6e356fb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ports/rp2/boards/SPARKFUN_XRP_CONTROLLER_BETA/mpconfigboard.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,9 @@
2424
int mp_hal_is_pin_reserved(int n);
2525
#define MICROPY_HW_PIN_RESERVED(i) mp_hal_is_pin_reserved(i)
2626

27+
// Set the default I2C to I2C1 on pins 18 and 19 which route to the qwiic connector
28+
#undef PICO_DEFAULT_I2C
29+
#define PICO_DEFAULT_I2C (1)
30+
2731
#define MICROPY_HW_I2C1_SDA (18)
2832
#define MICROPY_HW_I2C1_SCL (19)

0 commit comments

Comments
 (0)