Skip to content

Commit 5cc8d44

Browse files
authored
Merge pull request #9273 from bill88t/cardputer_gripes
Some cardputer definition improvements
2 parents d27f8e9 + 5850f01 commit 5cc8d44

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

ports/espressif/boards/m5stack_cardputer/mpconfigboard.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
// Micropython setup
1010

11-
#define MICROPY_HW_BOARD_NAME "M5 Stack Cardputer"
11+
#define MICROPY_HW_BOARD_NAME "M5Stack Cardputer"
1212
#define MICROPY_HW_MCU_NAME "ESP32S3"
1313

1414
#define MICROPY_HW_NEOPIXEL (&pin_GPIO21)

ports/espressif/boards/m5stack_cardputer/mpconfigboard.mk

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
USB_VID = 0x303A
22
USB_PID = 0x81DA
3-
USB_PRODUCT = "M5STACK Cardputer - CircuitPython"
3+
USB_PRODUCT = "M5Stack Cardputer - CircuitPython"
44
USB_MANUFACTURER = "M5STACK"
55

66
IDF_TARGET = esp32s3
@@ -11,3 +11,4 @@ CIRCUITPY_ESP_FLASH_SIZE = 8MB
1111
CIRCUITPY_ESPCAMERA = 0
1212

1313
CIRCUITPY_GIFIO = 1
14+
CIRCUITPY_MAX3421E = 0

ports/espressif/boards/m5stack_cardputer/pins.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,11 @@ static const mp_rom_map_elem_t board_module_globals_table[] = {
1515
{ MP_ROM_QSTR(MP_QSTR_TX), MP_ROM_PTR(&pin_GPIO1) },
1616
{ MP_ROM_QSTR(MP_QSTR_PORTA1), MP_ROM_PTR(&pin_GPIO1) },
1717
{ MP_ROM_QSTR(MP_QSTR_D1), MP_ROM_PTR(&pin_GPIO1) },
18+
{ MP_ROM_QSTR(MP_QSTR_G1), MP_ROM_PTR(&pin_GPIO1) },
1819
{ MP_ROM_QSTR(MP_QSTR_RX), MP_ROM_PTR(&pin_GPIO2) },
1920
{ MP_ROM_QSTR(MP_QSTR_PORTA2), MP_ROM_PTR(&pin_GPIO2) },
2021
{ MP_ROM_QSTR(MP_QSTR_D2), MP_ROM_PTR(&pin_GPIO2) },
22+
{ MP_ROM_QSTR(MP_QSTR_G2), MP_ROM_PTR(&pin_GPIO2) },
2123

2224
// Keyboard
2325
{ MP_ROM_QSTR(MP_QSTR_KB_COL_0), MP_ROM_PTR(&pin_GPIO13) },

ports/espressif/boards/m5stack_cardputer/sdkconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#
88
# LWIP
99
#
10-
CONFIG_LWIP_LOCAL_HOSTNAME="espressif-esp32s3"
10+
CONFIG_LWIP_LOCAL_HOSTNAME="m5stack-cardputer"
1111
# end of LWIP
1212

1313
# end of Component config

0 commit comments

Comments
 (0)