Skip to content

Commit 994c066

Browse files
committed
rev B (minus microphone)
1 parent bec4267 commit 994c066

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

ports/atmel-samd/boards/trellis_m4_express/mpconfigboard.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@
3232

3333
#include "external_flash/external_flash.h"
3434

35-
#define DEFAULT_I2C_BUS_SCL (&pin_PA13)
36-
#define DEFAULT_I2C_BUS_SDA (&pin_PA12)
35+
#define DEFAULT_I2C_BUS_SCL (&pin_PB08)
36+
#define DEFAULT_I2C_BUS_SDA (&pin_PB09)
3737

3838
// USB is always used internally so skip the pin objects for it.
3939
#define IGNORE_PIN_PA24 1

ports/atmel-samd/boards/trellis_m4_express/pins.c

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ STATIC const mp_rom_map_elem_t board_global_dict_table[] = {
1010
{ MP_OBJ_NEW_QSTR(MP_QSTR_A1), MP_ROM_PTR(&pin_PA05) },
1111
{ MP_OBJ_NEW_QSTR(MP_QSTR_A2), MP_ROM_PTR(&pin_PA04) }, // INT pin
1212

13-
{ MP_OBJ_NEW_QSTR(MP_QSTR_SDA), MP_ROM_PTR(&pin_PA12) },
14-
{ MP_OBJ_NEW_QSTR(MP_QSTR_SCL), MP_ROM_PTR(&pin_PA13) },
13+
{ MP_OBJ_NEW_QSTR(MP_QSTR_SDA), MP_ROM_PTR(&pin_PB08) },
14+
{ MP_OBJ_NEW_QSTR(MP_QSTR_SCL), MP_ROM_PTR(&pin_PB09) },
1515

1616
// Key Grid columns
1717
{ MP_OBJ_NEW_QSTR(MP_QSTR_COL0), MP_ROM_PTR(&pin_PA14) },
@@ -31,11 +31,8 @@ STATIC const mp_rom_map_elem_t board_global_dict_table[] = {
3131
// IRQ/GPIO pin
3232
{ MP_OBJ_NEW_QSTR(MP_QSTR_INT), MP_ROM_PTR(&pin_PA04) },
3333

34-
// Built in LED
35-
{ MP_OBJ_NEW_QSTR(MP_QSTR_LED), MP_ROM_PTR(&pin_PA27) },
36-
3734
// NeoPixels
38-
{ MP_OBJ_NEW_QSTR(MP_QSTR_NEOPIXEL), MP_ROM_PTR(&pin_PA07) },
35+
{ MP_OBJ_NEW_QSTR(MP_QSTR_NEOPIXEL), MP_ROM_PTR(&pin_PA27) },
3936

4037
{ MP_ROM_QSTR(MP_QSTR_APA102_MOSI), MP_ROM_PTR(&pin_PA01) },
4138
{ MP_ROM_QSTR(MP_QSTR_APA102_SCK), MP_ROM_PTR(&pin_PA00) },

0 commit comments

Comments
 (0)