Skip to content

Commit 22d7c0b

Browse files
authored
Merge pull request #7736 from bwshockley/fig-pi-update
Fig pi update
2 parents 48eafa1 + f35af4c commit 22d7c0b

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

ports/raspberrypi/boards/bwshockley_figpi/mpconfigboard.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
#define MICROPY_HW_MCU_NAME "rp2040"
33

44
#define MICROPY_HW_NEOPIXEL (&pin_GPIO13)
5-
#define CIRCUITPY_STATUS_LED_POWER (&pin_GPIO1)
65

76
#define CIRCUITPY_BOARD_I2C (2)
87
#define CIRCUITPY_BOARD_I2C_PIN {{.scl = &pin_GPIO17, .sda = &pin_GPIO16}, \

ports/raspberrypi/boards/bwshockley_figpi/mpconfigboard.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ USB_MANUFACTURER = "Benjamin Shockley"
66
CHIP_VARIANT = RP2040
77
CHIP_FAMILY = rp2
88

9-
EXTERNAL_FLASH_DEVICES = "W25Q16JVxQ"
9+
EXTERNAL_FLASH_DEVICES = "GD25Q16C, W25Q16JVxQ"

ports/raspberrypi/boards/bwshockley_figpi/pins.c

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,23 +40,25 @@ STATIC const mp_rom_map_elem_t board_module_globals_table[] = {
4040

4141
{ MP_ROM_QSTR(MP_QSTR_D11), MP_ROM_PTR(&pin_GPIO23) },
4242
{ MP_ROM_QSTR(MP_QSTR_D12), MP_ROM_PTR(&pin_GPIO22) },
43+
{ MP_ROM_QSTR(MP_QSTR_D13), MP_ROM_PTR(&pin_GPIO0) },
4344
{ MP_ROM_QSTR(MP_QSTR_D14), MP_ROM_PTR(&pin_GPIO5) },
44-
{ MP_ROM_QSTR(MP_QSTR_D15), MP_ROM_PTR(&pin_GPIO3) },
45-
{ MP_ROM_QSTR(MP_QSTR_D16), MP_ROM_PTR(&pin_GPIO2) },
46-
{ MP_ROM_QSTR(MP_QSTR_D17), MP_ROM_PTR(&pin_GPIO1) },
4745

4846
{ MP_ROM_QSTR(MP_QSTR_NEOPIXEL), MP_ROM_PTR(&pin_GPIO13) },
49-
{ MP_ROM_QSTR(MP_QSTR_NEOPIXEL_POWER), MP_ROM_PTR(&pin_GPIO1) },
47+
{ MP_ROM_QSTR(MP_QSTR_LED), MP_ROM_PTR(&pin_GPIO0) },
5048

5149
{ MP_ROM_QSTR(MP_QSTR_BUTTON), MP_ROM_PTR(&pin_GPIO20) },
5250

5351
{ MP_ROM_QSTR(MP_QSTR_SDA1), MP_ROM_PTR(&pin_GPIO18) },
52+
{ MP_ROM_QSTR(MP_QSTR_D18), MP_ROM_PTR(&pin_GPIO18) },
5453
{ MP_ROM_QSTR(MP_QSTR_SCL1), MP_ROM_PTR(&pin_GPIO19) },
54+
{ MP_ROM_QSTR(MP_QSTR_D19), MP_ROM_PTR(&pin_GPIO19) },
5555

56-
{ MP_ROM_QSTR(MP_QSTR_I2C), MP_ROM_PTR(&board_i2c_obj) },
56+
{ MP_ROM_QSTR(MP_QSTR_I2C0), MP_ROM_PTR(&board_i2c_obj) },
57+
{ MP_ROM_QSTR(MP_QSTR_STEMMA_I2C0), MP_ROM_PTR(&board_i2c_obj) },
5758
{ MP_ROM_QSTR(MP_QSTR_SPI), MP_ROM_PTR(&board_spi_obj) },
5859
{ MP_ROM_QSTR(MP_QSTR_UART), MP_ROM_PTR(&board_uart_obj) },
5960

60-
{ MP_ROM_QSTR(MP_QSTR_STEMMA_I2C), MP_ROM_PTR(&board_stemma_i2c_obj) },
61+
{ MP_ROM_QSTR(MP_QSTR_STEMMA_I2C1), MP_ROM_PTR(&board_stemma_i2c_obj) },
62+
{ MP_ROM_QSTR(MP_QSTR_I2C1), MP_ROM_PTR(&board_stemma_i2c_obj) },
6163
};
6264
MP_DEFINE_CONST_DICT(board_module_globals, board_module_globals_table);

0 commit comments

Comments
 (0)