edit board folder and name.
This commit is contained in:
parent
798ea18896
commit
1028c32fe4
@ -1,7 +1,7 @@
|
|||||||
USB_VID = 0x2E8A
|
USB_VID = 0x2E8A
|
||||||
USB_PID = 0x105E
|
USB_PID = 0x105E
|
||||||
USB_PRODUCT = "Raspberry Breadstick"
|
USB_PRODUCT = "Raspberry Breadstick"
|
||||||
USB_MANUFACTURER = "J&R Creative Technologies Inc."
|
USB_MANUFACTURER = "Breadstick Innovations"
|
||||||
|
|
||||||
CHIP_VARIANT = RP2040
|
CHIP_VARIANT = RP2040
|
||||||
CHIP_FAMILY = rp2
|
CHIP_FAMILY = rp2
|
@ -0,0 +1,4 @@
|
|||||||
|
// Put board-specific pico-sdk definitions here. This file must exist.
|
||||||
|
|
||||||
|
// Allow extra time for xosc to start.
|
||||||
|
#define PICO_XOSC_STARTUP_DELAY_MULTIPLIER 64
|
@ -40,7 +40,7 @@ STATIC const mp_rom_map_elem_t board_module_globals_table[] = {
|
|||||||
{ MP_ROM_QSTR(MP_QSTR_DOTSTAR_CLOCK), MP_ROM_PTR(&pin_GPIO16) },
|
{ MP_ROM_QSTR(MP_QSTR_DOTSTAR_CLOCK), MP_ROM_PTR(&pin_GPIO16) },
|
||||||
|
|
||||||
// I2C pins
|
// I2C pins
|
||||||
{ MP_ROM_QSTR(MP_QSTR_IMU_SDA), MP_ROM_PTR(&pin_GPIO12) }, // I2C0-SDA //double check
|
{ MP_ROM_QSTR(MP_QSTR_IMU_SDA), MP_ROM_PTR(&pin_GPIO12) }, // I2C0-SDA
|
||||||
{ MP_ROM_QSTR(MP_QSTR_IMU_SCL), MP_ROM_PTR(&pin_GPIO13) }, // I2C0-SCL to imu
|
{ MP_ROM_QSTR(MP_QSTR_IMU_SCL), MP_ROM_PTR(&pin_GPIO13) }, // I2C0-SCL to imu
|
||||||
|
|
||||||
{ MP_ROM_QSTR(MP_QSTR_SDA), MP_ROM_PTR(&pin_GPIO22) }, // I2C1-SDA
|
{ MP_ROM_QSTR(MP_QSTR_SDA), MP_ROM_PTR(&pin_GPIO22) }, // I2C1-SDA
|
||||||
@ -61,7 +61,5 @@ STATIC const mp_rom_map_elem_t board_module_globals_table[] = {
|
|||||||
{ MP_ROM_QSTR(MP_QSTR_SPI), MP_ROM_PTR(&board_spi_obj) },
|
{ MP_ROM_QSTR(MP_QSTR_SPI), MP_ROM_PTR(&board_spi_obj) },
|
||||||
{ MP_ROM_QSTR(MP_QSTR_UART), MP_ROM_PTR(&board_uart_obj) },
|
{ MP_ROM_QSTR(MP_QSTR_UART), MP_ROM_PTR(&board_uart_obj) },
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
};
|
};
|
||||||
MP_DEFINE_CONST_DICT(board_module_globals, board_module_globals_table);
|
MP_DEFINE_CONST_DICT(board_module_globals, board_module_globals_table);
|
@ -1,2 +0,0 @@
|
|||||||
// Put board-specific pico-sdk definitions here. This file must exist.
|
|
||||||
// cody test2
|
|
Loading…
Reference in New Issue
Block a user