Skip to content

Commit 1d0356b

Browse files
authored
Merge branch 'adafruit:main' into picogame
2 parents c071a51 + cd3da4a commit 1d0356b

13 files changed

Lines changed: 206 additions & 5 deletions

File tree

‎locale/cs.po‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4209,6 +4209,10 @@ msgstr "Soubor nenalezen"
42094209
msgid "timestamp out of range for platform time_t"
42104210
msgstr ""
42114211

4212+
#: shared-bindings/traceback/__init__.c
4213+
msgid "Supply both or neither of %q and %q"
4214+
msgstr ""
4215+
42124216
#: shared-bindings/traceback/__init__.c
42134217
msgid "file write is not available"
42144218
msgstr "zápis do souboru není dostupný"

‎locale/el.po‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4210,6 +4210,10 @@ msgstr ""
42104210
msgid "timestamp out of range for platform time_t"
42114211
msgstr ""
42124212

4213+
#: shared-bindings/traceback/__init__.c
4214+
msgid "Supply both or neither of %q and %q"
4215+
msgstr ""
4216+
42134217
#: shared-bindings/traceback/__init__.c
42144218
msgid "file write is not available"
42154219
msgstr ""

‎locale/hi.po‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4191,6 +4191,10 @@ msgstr ""
41914191
msgid "timestamp out of range for platform time_t"
41924192
msgstr ""
41934193

4194+
#: shared-bindings/traceback/__init__.c
4195+
msgid "Supply both or neither of %q and %q"
4196+
msgstr ""
4197+
41944198
#: shared-bindings/traceback/__init__.c
41954199
msgid "file write is not available"
41964200
msgstr ""

‎locale/ko.po‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4251,6 +4251,10 @@ msgstr "파일을 찾을 수 없습니다"
42514251
msgid "timestamp out of range for platform time_t"
42524252
msgstr ""
42534253

4254+
#: shared-bindings/traceback/__init__.c
4255+
msgid "Supply both or neither of %q and %q"
4256+
msgstr ""
4257+
42544258
#: shared-bindings/traceback/__init__.c
42554259
msgid "file write is not available"
42564260
msgstr ""

‎locale/ru.po‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4267,6 +4267,10 @@ msgid "timestamp out of range for platform time_t"
42674267
msgstr ""
42684268
"Временная метка выходит за пределы допустимого диапазона для платформы time_t"
42694269

4270+
#: shared-bindings/traceback/__init__.c
4271+
msgid "Supply both or neither of %q and %q"
4272+
msgstr ""
4273+
42704274
#: shared-bindings/traceback/__init__.c
42714275
msgid "file write is not available"
42724276
msgstr "Запись файлов недоступна"

‎locale/tr.po‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4213,6 +4213,10 @@ msgstr ""
42134213
msgid "timestamp out of range for platform time_t"
42144214
msgstr ""
42154215

4216+
#: shared-bindings/traceback/__init__.c
4217+
msgid "Supply both or neither of %q and %q"
4218+
msgstr ""
4219+
42164220
#: shared-bindings/traceback/__init__.c
42174221
msgid "file write is not available"
42184222
msgstr ""
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
// This file is part of the CircuitPython project: https://circuitpython.org
2+
//
3+
// SPDX-FileCopyrightText: Copyright (c) 2020 Scott Shawcroft for Adafruit Industries
4+
//
5+
// SPDX-License-Identifier: MIT
6+
7+
#include "mpconfigboard.h"
8+
9+
// Use the MP_WEAK supervisor/shared/board.c versions of routines not defined here.
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
// This file is part of the CircuitPython project: https://circuitpython.org
2+
//
3+
// SPDX-FileCopyrightText: Copyright (c) 2026 Bernhard Bablok
4+
//
5+
// SPDX-License-Identifier: MIT
6+
7+
// Micropython setup
8+
9+
#define MICROPY_HW_BOARD_NAME "Seeed Xiao ESP32-S3 Trmnl DIY Kit"
10+
#define MICROPY_HW_MCU_NAME "ESP32S3"
11+
12+
#define MICROPY_HW_LED_STATUS (&pin_GPIO21)
13+
14+
// the unpopulated NFC-header also provides UART
15+
#define CIRCUITPY_BOARD_UART (1)
16+
#define CIRCUITPY_BOARD_UART_PIN {{.rx = &pin_GPIO41, .tx = &pin_GPIO42}}
17+
18+
// SPI0 is used by the display connector
19+
// SPI1 is used by a two secondary flash chips (one unpopulated)
20+
#define CIRCUITPY_BOARD_SPI (2)
21+
#define CIRCUITPY_BOARD_SPI_PIN \
22+
{{.clock = &pin_GPIO7, .mosi = &pin_GPIO9}, \
23+
{.clock = &pin_GPIO13, .mosi = &pin_GPIO11, .miso = &pin_GPIO12} \
24+
}
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
USB_VID = 0x2886
2+
USB_PID = 0x0300
3+
4+
USB_PRODUCT = "Seeed Xiao ESP32-S3 Trmnl DIY Kit"
5+
USB_MANUFACTURER = "Seeed Studio"
6+
7+
IDF_TARGET = esp32s3
8+
9+
CIRCUITPY_ESP_FLASH_MODE = qio
10+
CIRCUITPY_ESP_FLASH_SIZE = 16MB
11+
CIRCUITPY_ESP_FLASH_FREQ = 80m
12+
13+
CIRCUITPY_ESP_PSRAM_MODE = opi
14+
CIRCUITPY_ESP_PSRAM_SIZE = 8MB
15+
CIRCUITPY_ESP_PSRAM_FREQ = 80m
16+
17+
CIRCUITPY_FREQUENCYIO = 0
18+
CIRCUITPY_RAINBOWIO = 0
19+
CIRCUITPY__EVE = 0
20+
CIRCUITPY_PS2IO = 0
21+
CIRCUITPY_CANIO = 0
22+
CIRCUITPY_MAX3421E = 0
23+
CIRCUITPY_ESPCAMERA = 0
24+
CIRCUITPY_PARALLELDISPLAYBUS = 0
25+
CIRCUITPY_COUNTIO = 0
26+
CIRCUITPY_NEOPIXEL_WRITE = 0
27+
CIRCUITPY_ROTARYIO = 0
28+
29+
CIRCUITPY_AUDIOCORE = 0
30+
CIRCUITPY_AUDIOBUSIO = 0
31+
CIRCUITPY_AUDIOBUSIO_PDMIN = 0
32+
CIRCUITPY_AUDIOI2SIN = 0
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
// This file is part of the CircuitPython project: https://circuitpython.org
2+
//
3+
// SPDX-FileCopyrightText: Copyright (c) 2020 Scott Shawcroft for Adafruit Industries
4+
//
5+
// SPDX-License-Identifier: MIT
6+
7+
#include "shared-bindings/board/__init__.h"
8+
9+
static const mp_rom_map_elem_t board_module_globals_table[] = {
10+
CIRCUITPYTHON_BOARD_DICT_STANDARD_ITEMS
11+
12+
{ MP_ROM_QSTR(MP_QSTR_BAT_ADC), MP_ROM_PTR(&pin_GPIO1) },
13+
{ MP_ROM_QSTR(MP_QSTR_BTN1), MP_ROM_PTR(&pin_GPIO2) },
14+
{ MP_ROM_QSTR(MP_QSTR_BTN2), MP_ROM_PTR(&pin_GPIO3) },
15+
{ MP_ROM_QSTR(MP_QSTR_EDP_BUSY), MP_ROM_PTR(&pin_GPIO4) },
16+
{ MP_ROM_QSTR(MP_QSTR_BTN3), MP_ROM_PTR(&pin_GPIO5) },
17+
{ MP_ROM_QSTR(MP_QSTR_ADC_EN), MP_ROM_PTR(&pin_GPIO6) },
18+
{ MP_ROM_QSTR(MP_QSTR_SPI0_CLK), MP_ROM_PTR(&pin_GPIO7) },
19+
{ MP_ROM_QSTR(MP_QSTR_SPI0_MOSI), MP_ROM_PTR(&pin_GPIO9) },
20+
{ MP_ROM_QSTR(MP_QSTR_EDP_DC), MP_ROM_PTR(&pin_GPIO10) },
21+
22+
// connected to two additional flash chips (one unpopulated)
23+
{ MP_ROM_QSTR(MP_QSTR_SPI1_MOSI), MP_ROM_PTR(&pin_GPIO11) },
24+
{ MP_ROM_QSTR(MP_QSTR_SPI1_MISO), MP_ROM_PTR(&pin_GPIO12) },
25+
{ MP_ROM_QSTR(MP_QSTR_SPI1_CLK), MP_ROM_PTR(&pin_GPIO13) },
26+
27+
{ MP_ROM_QSTR(MP_QSTR_LED), MP_ROM_PTR(&pin_GPIO21) },
28+
29+
{ MP_ROM_QSTR(MP_QSTR_EDP_RES), MP_ROM_PTR(&pin_GPIO38) },
30+
31+
// connected to two additional flash chips (CS0 unpopulated)
32+
{ MP_ROM_QSTR(MP_QSTR_SPI1_CS0), MP_ROM_PTR(&pin_GPIO39) },
33+
{ MP_ROM_QSTR(MP_QSTR_SPI1_CS1), MP_ROM_PTR(&pin_GPIO40) },
34+
35+
{ MP_ROM_QSTR(MP_QSTR_D14), MP_ROM_PTR(&pin_GPIO41) },
36+
{ MP_ROM_QSTR(MP_QSTR_RX), MP_ROM_PTR(&pin_GPIO41) },
37+
38+
{ MP_ROM_QSTR(MP_QSTR_D15), MP_ROM_PTR(&pin_GPIO42) },
39+
{ MP_ROM_QSTR(MP_QSTR_TX), MP_ROM_PTR(&pin_GPIO42) },
40+
41+
{ MP_ROM_QSTR(MP_QSTR_PWR_EN), MP_ROM_PTR(&pin_GPIO43) },
42+
{ MP_ROM_QSTR(MP_QSTR_SPI0_CS), MP_ROM_PTR(&pin_GPIO44) },
43+
44+
{ MP_ROM_QSTR(MP_QSTR_SPI), MP_ROM_PTR(&board_spi_obj) },
45+
{ MP_ROM_QSTR(MP_QSTR_UART), MP_ROM_PTR(&board_uart_obj) },
46+
};
47+
MP_DEFINE_CONST_DICT(board_module_globals, board_module_globals_table);

0 commit comments

Comments
 (0)