@@ -31,6 +31,16 @@ STATIC const mp_rom_map_elem_t board_global_dict_table[] = {
31
31
{ MP_ROM_QSTR (MP_QSTR_SCL ), MP_ROM_PTR (& pin_PA23 ) },
32
32
{ MP_ROM_QSTR (MP_QSTR_TX ), MP_ROM_PTR (& pin_PB02 ) },
33
33
{ MP_ROM_QSTR (MP_QSTR_RX ), MP_ROM_PTR (& pin_PB03 ) },
34
+
35
+ // GROVE on SERCOM0
36
+ { MP_ROM_QSTR (MP_QSTR_GROVE_SCL ), MP_ROM_PTR (& pin_PA09 ) },
37
+ { MP_ROM_QSTR (MP_QSTR_GROVE_SDA ), MP_ROM_PTR (& pin_PA08 ) },
38
+ { MP_ROM_QSTR (MP_QSTR_GROVE_RX ), MP_ROM_PTR (& pin_PA09 ) },
39
+ { MP_ROM_QSTR (MP_QSTR_GROVE_TX ), MP_ROM_PTR (& pin_PA08 ) },
40
+ { MP_ROM_QSTR (MP_QSTR_GROVE_D1 ), MP_ROM_PTR (& pin_PA09 ) },
41
+ { MP_ROM_QSTR (MP_QSTR_GROVE_D0 ), MP_ROM_PTR (& pin_PA08 ) },
42
+ { MP_ROM_QSTR (MP_QSTR_GROVE_A1 ), MP_ROM_PTR (& pin_PA09 ) },
43
+ { MP_ROM_QSTR (MP_QSTR_GROVE_A0 ), MP_ROM_PTR (& pin_PA08 ) },
34
44
35
45
// UART on SERCOM0
36
46
{ MP_ROM_QSTR (MP_QSTR_UART_TX ), MP_ROM_PTR (& pin_PA04 ) },
@@ -70,7 +80,6 @@ STATIC const mp_rom_map_elem_t board_global_dict_table[] = {
70
80
{ MP_ROM_QSTR (MP_QSTR_RX1 ), MP_ROM_PTR (& pin_PA17 ) },
71
81
{ MP_ROM_QSTR (MP_QSTR_PI_RX ), MP_ROM_PTR (& pin_PA17 ) },
72
82
73
-
74
83
{ MP_ROM_QSTR (MP_QSTR_I2C ), MP_ROM_PTR (& board_i2c_obj ) },
75
84
{ MP_ROM_QSTR (MP_QSTR_SPI ), MP_ROM_PTR (& board_spi_obj ) },
76
85
{ MP_ROM_QSTR (MP_QSTR_UART ), MP_ROM_PTR (& board_uart_obj ) },
0 commit comments