Skip to content

Commit 8ea3576

Browse files
authored
Merge branch 'adafruit:main' into main
2 parents bcad976 + 99a30bd commit 8ea3576

File tree

55 files changed

+398
-45
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+398
-45
lines changed

.gitmodules

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -344,8 +344,7 @@
344344
url = https://github.com/adafruit/Adafruit_CircuitPython_Wave.git
345345
[submodule "ports/raspberrypi/lib/Pico-PIO-USB"]
346346
path = ports/raspberrypi/lib/Pico-PIO-USB
347-
url = https://github.com/adafruit/Pico-PIO-USB.git
348-
branch = sdk2_fix
347+
url = https://github.com/sekigon-gonnoc/Pico-PIO-USB.git
349348
[submodule "lib/micropython-lib"]
350349
path = lib/micropython-lib
351350
url = https://github.com/micropython/micropython-lib.git

locale/en_GB.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: PACKAGE VERSION\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"PO-Revision-Date: 2024-08-10 14:09+0000\n"
10+
"PO-Revision-Date: 2024-08-28 18:09+0000\n"
1111
"Last-Translator: Andi Chandler <[email protected]>\n"
1212
"Language-Team: none\n"
1313
"Language: en_GB\n"
1414
"MIME-Version: 1.0\n"
1515
"Content-Type: text/plain; charset=UTF-8\n"
1616
"Content-Transfer-Encoding: 8bit\n"
1717
"Plural-Forms: nplurals=2; plural=n != 1;\n"
18-
"X-Generator: Weblate 5.7-dev\n"
18+
"X-Generator: Weblate 5.7.1-dev\n"
1919

2020
#: main.c
2121
msgid ""
@@ -3553,7 +3553,7 @@ msgstr "name not defined"
35533553

35543554
#: py/qstr.c
35553555
msgid "name too long"
3556-
msgstr ""
3556+
msgstr "name too long"
35573557

35583558
#: py/persistentcode.c
35593559
msgid "native code in .mpy unsupported"

ports/atmel-samd/boards/stackrduino_m0_pro/mpconfigboard.mk

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,6 @@ CHIP_FAMILY = samd21
99
SPI_FLASH_FILESYSTEM = 1
1010
EXTERNAL_FLASH_DEVICES = "W25Q64JVxQ"
1111
LONGINT_IMPL = MPZ
12+
13+
CIRCUITPY_CODEOP = 0
14+
CIRCUITPY_PARALLELDISPLAYBUS = 0

ports/atmel-samd/common-hal/busio/I2C.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,9 @@ bool common_hal_busio_i2c_probe(busio_i2c_obj_t *self, uint8_t addr) {
147147
}
148148

149149
bool common_hal_busio_i2c_try_lock(busio_i2c_obj_t *self) {
150+
if (common_hal_busio_i2c_deinited(self)) {
151+
return false;
152+
}
150153
bool grabbed_lock = false;
151154
CRITICAL_SECTION_ENTER()
152155
if (!self->has_lock) {

ports/atmel-samd/common-hal/busio/SPI.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,9 @@ bool common_hal_busio_spi_configure(busio_spi_obj_t *self,
222222
}
223223

224224
bool common_hal_busio_spi_try_lock(busio_spi_obj_t *self) {
225+
if (common_hal_busio_spi_deinited(self)) {
226+
return false;
227+
}
225228
bool grabbed_lock = false;
226229
CRITICAL_SECTION_ENTER()
227230
if (!self->has_lock) {

ports/broadcom/common-hal/busio/I2C.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,9 @@ bool common_hal_busio_i2c_probe(busio_i2c_obj_t *self, uint8_t addr) {
109109
}
110110

111111
bool common_hal_busio_i2c_try_lock(busio_i2c_obj_t *self) {
112+
if (common_hal_busio_i2c_deinited(self)) {
113+
return false;
114+
}
112115
bool grabbed_lock = false;
113116
if (!self->has_lock) {
114117
grabbed_lock = true;

ports/broadcom/common-hal/busio/SPI.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,9 @@ bool common_hal_busio_spi_configure(busio_spi_obj_t *self,
200200
}
201201

202202
bool common_hal_busio_spi_try_lock(busio_spi_obj_t *self) {
203+
if (common_hal_busio_spi_deinited(self)) {
204+
return false;
205+
}
203206
bool grabbed_lock = false;
204207
if (!self->has_lock) {
205208
grabbed_lock = true;

ports/cxd56/common-hal/busio/I2C.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@ bool common_hal_busio_i2c_deinited(busio_i2c_obj_t *self) {
5151
}
5252

5353
bool common_hal_busio_i2c_try_lock(busio_i2c_obj_t *self) {
54+
if (common_hal_busio_i2c_deinited(self)) {
55+
return false;
56+
}
5457
bool grabbed_lock = false;
5558
if (!self->has_lock) {
5659
grabbed_lock = true;

ports/cxd56/common-hal/busio/SPI.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,9 @@ bool common_hal_busio_spi_configure(busio_spi_obj_t *self, uint32_t baudrate, ui
9696
}
9797

9898
bool common_hal_busio_spi_try_lock(busio_spi_obj_t *self) {
99+
if (common_hal_busio_spi_deinited(self)) {
100+
return false;
101+
}
99102
bool grabbed_lock = false;
100103
if (!self->has_lock) {
101104
grabbed_lock = true;

ports/espressif/bindings/espulp/ULP.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
#include "py/objproperty.h"
1414

1515
//| class ULP:
16-
//| def __init__(self, arch: Architecture = Architecture.FSM):
16+
//| def __init__(self, arch: Architecture = Architecture.FSM) -> None:
1717
//| """The ultra-low-power processor.
1818
//|
1919
//| Raises an exception if another ULP has been instantiated. This

ports/espressif/boards/adafruit_qualia_s3_rgb666/mpconfigboard.mk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ IDF_TARGET = esp32s3
77

88
CIRCUITPY_ESP_FLASH_SIZE = 16MB
99
CIRCUITPY_ESP_FLASH_MODE = qio
10-
CIRCUITPY_ESP_FLASH_FREQ = 80m
10+
CIRCUITPY_ESP_FLASH_FREQ = 120m
1111

1212
CIRCUITPY_ESP_PSRAM_SIZE = 8MB
1313
CIRCUITPY_ESP_PSRAM_MODE = opi
14-
CIRCUITPY_ESP_PSRAM_FREQ = 80m
14+
CIRCUITPY_ESP_PSRAM_FREQ = 120m
1515

1616
CIRCUITPY_DOTCLOCKFRAMEBUFFER = 1

ports/espressif/common-hal/analogbufio/BufferedIn.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ void common_hal_analogbufio_bufferedin_construct(analogbufio_bufferedin_obj_t *s
7171
}
7272
#endif
7373

74+
mp_arg_validate_int_range(sample_rate, SOC_ADC_SAMPLE_FREQ_THRES_LOW, SOC_ADC_SAMPLE_FREQ_THRES_HIGH, MP_QSTR_sample_rate);
75+
7476
common_hal_mcu_pin_claim(pin);
7577
}
7678

@@ -109,7 +111,7 @@ static void start_dma(analogbufio_bufferedin_obj_t *self, adc_digi_convert_mode_
109111
};
110112

111113
#if defined(DEBUG_ANALOGBUFIO)
112-
mp_printf(&mp_plat_print, "pin:%d, ADC channel:%d, ADC index:%d, adc1_chan_mask:0x%x, adc2_chan_mask:0x%x\n", pin->number, pin->adc_channel, pin->adc_index, adc1_chan_mask, adc2_chan_mask);
114+
mp_printf(&mp_plat_print, "pin:%d, ADC channel:%d, ADC index:%d\n", pin->number, pin->adc_channel, pin->adc_index);
113115
#endif // DEBUG_ANALOGBUFIO
114116
esp_err_t err = adc_continuous_new_handle(&adc_dma_config, &self->handle);
115117
if (ESP_OK != err) {

ports/espressif/common-hal/busio/I2C.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,9 @@ bool common_hal_busio_i2c_probe(busio_i2c_obj_t *self, uint8_t addr) {
141141
}
142142

143143
bool common_hal_busio_i2c_try_lock(busio_i2c_obj_t *self) {
144+
if (common_hal_busio_i2c_deinited(self)) {
145+
return false;
146+
}
144147
if (self->has_lock) {
145148
return false;
146149
}
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
CONFIG_ESPTOOLPY_FLASHFREQ_120M=y
2+
# CONFIG_ESPTOOLPY_FLASHFREQ_80M is not set
3+
# CONFIG_ESPTOOLPY_FLASHFREQ_64M is not set
4+
# CONFIG_ESPTOOLPY_FLASHFREQ_60M is not set
5+
# CONFIG_ESPTOOLPY_FLASHFREQ_48M is not set
6+
# CONFIG_ESPTOOLPY_FLASHFREQ_40M is not set
7+
# CONFIG_ESPTOOLPY_FLASHFREQ_32M is not set
8+
# CONFIG_ESPTOOLPY_FLASHFREQ_30M is not set
9+
# CONFIG_ESPTOOLPY_FLASHFREQ_26M is not set
10+
# CONFIG_ESPTOOLPY_FLASHFREQ_24M is not set
11+
# CONFIG_ESPTOOLPY_FLASHFREQ_20M is not set
12+
# CONFIG_ESPTOOLPY_FLASHFREQ_16M is not set
13+
# CONFIG_ESPTOOLPY_FLASHFREQ_15M is not set
14+
CONFIG_ESPTOOLPY_FLASHFREQ_80M_DEFAULT=y
15+
CONFIG_SPI_FLASH_UNDER_HIGH_FREQ=y

ports/espressif/supervisor/port.c

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -489,16 +489,6 @@ void port_post_boot_py(bool heap_valid) {
489489
}
490490

491491

492-
#if CIRCUITPY_CONSOLE_UART
493-
static int vprintf_adapter(const char *fmt, va_list ap) {
494-
return mp_vprintf(&mp_plat_print, fmt, ap);
495-
}
496-
497-
void port_serial_early_init(void) {
498-
esp_log_set_vprintf(vprintf_adapter);
499-
}
500-
#endif
501-
502492
// Wrap main in app_main that the IDF expects.
503493
extern void main(void);
504494
extern void app_main(void);

ports/espressif/tools/update_sdkconfig.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,7 @@
7676
"CONFIG_ESPTOOLPY_FLASH_SAMBLE_MODE_",
7777
]
7878

79-
FLASH_FREQ_SETTINGS = [
80-
"CONFIG_ESPTOOLPY_FLASHFREQ_",
81-
]
79+
FLASH_FREQ_SETTINGS = ["CONFIG_ESPTOOLPY_FLASHFREQ_", "CONFIG_SPI_FLASH_UNDER_HIGH_FREQ"]
8280

8381
PSRAM_SETTINGS = ["CONFIG_SPIRAM"]
8482

ports/mimxrt10xx/common-hal/busio/I2C.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,9 @@ bool common_hal_busio_i2c_probe(busio_i2c_obj_t *self, uint8_t addr) {
187187
}
188188

189189
bool common_hal_busio_i2c_try_lock(busio_i2c_obj_t *self) {
190+
if (common_hal_busio_i2c_deinited(self)) {
191+
return false;
192+
}
190193
bool grabbed_lock = false;
191194
// CRITICAL_SECTION_ENTER()
192195
if (!self->has_lock) {

ports/mimxrt10xx/common-hal/busio/SPI.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,9 @@ bool common_hal_busio_spi_configure(busio_spi_obj_t *self,
272272
}
273273

274274
bool common_hal_busio_spi_try_lock(busio_spi_obj_t *self) {
275+
if (common_hal_busio_spi_deinited(self)) {
276+
return false;
277+
}
275278
bool grabbed_lock = false;
276279
// CRITICAL_SECTION_ENTER()
277280
if (!self->has_lock) {

ports/nordic/common-hal/busio/I2C.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,9 @@ bool common_hal_busio_i2c_probe(busio_i2c_obj_t *self, uint8_t addr) {
216216
}
217217

218218
bool common_hal_busio_i2c_try_lock(busio_i2c_obj_t *self) {
219+
if (common_hal_busio_i2c_deinited(self)) {
220+
return false;
221+
}
219222
bool grabbed_lock = false;
220223
// NRFX_CRITICAL_SECTION_ENTER();
221224
if (!self->has_lock) {

ports/nordic/common-hal/busio/SPI.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,9 @@ bool common_hal_busio_spi_configure(busio_spi_obj_t *self, uint32_t baudrate, ui
213213
}
214214

215215
bool common_hal_busio_spi_try_lock(busio_spi_obj_t *self) {
216+
if (common_hal_busio_spi_deinited(self)) {
217+
return false;
218+
}
216219
bool grabbed_lock = false;
217220
// NRFX_CRITICAL_SECTION_ENTER();
218221
if (!self->has_lock) {
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) 2021 Scott Shawcroft for Adafruit Industries
4+
//
5+
// SPDX-License-Identifier: MIT
6+
7+
#include "supervisor/board.h"
8+
9+
// Use the MP_WEAK supervisor/shared/board.c versions of routines not defined here.
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
// This file is part of the CircuitPython project: https://circuitpython.org
2+
//
3+
// SPDX-FileCopyrightText: Copyright (c) 2021 Scott Shawcroft for Adafruit Industries
4+
//
5+
// SPDX-License-Identifier: MIT
6+
7+
#pragma once
8+
9+
#define MICROPY_HW_BOARD_NAME "Pimoroni Tiny FX"
10+
#define MICROPY_HW_MCU_NAME "rp2040"
11+
12+
#define CIRCUITPY_RGB_STATUS_INVERTED_PWM
13+
#define CIRCUITPY_RGB_STATUS_R (&pin_GPIO13)
14+
#define CIRCUITPY_RGB_STATUS_G (&pin_GPIO14)
15+
#define CIRCUITPY_RGB_STATUS_B (&pin_GPIO15)
16+
17+
#define DEFAULT_I2C_BUS_SCL (&pin_GPIO17)
18+
#define DEFAULT_I2C_BUS_SDA (&pin_GPIO16)
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
USB_VID = 0x2E8A
2+
USB_PID = 0x10A2
3+
USB_PRODUCT = "Tiny FX"
4+
USB_MANUFACTURER = "Pimoroni"
5+
6+
CHIP_VARIANT = RP2040
7+
CHIP_FAMILY = rp2
8+
9+
EXTERNAL_FLASH_DEVICES = "W25Q32JVxQ"
10+
11+
CIRCUITPY__EVE = 1
12+
CIRCUITPY_PICODVI = 0
13+
CIRCUITPY_USB_HOST = 0
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) 2021 Scott Shawcroft for Adafruit Industries
4+
//
5+
// SPDX-License-Identifier: MIT
6+
7+
#pragma once
8+
9+
// Put board-specific pico-sdk definitions here. This file must exist.
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
// This file is part of the CircuitPython project: https://circuitpython.org
2+
//
3+
// SPDX-FileCopyrightText: Copyright (c) 2021 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_LED_1), MP_ROM_PTR(&pin_GPIO3) },
13+
{ MP_ROM_QSTR(MP_QSTR_LED_2), MP_ROM_PTR(&pin_GPIO2) },
14+
{ MP_ROM_QSTR(MP_QSTR_LED_3), MP_ROM_PTR(&pin_GPIO4) },
15+
{ MP_ROM_QSTR(MP_QSTR_LED_4), MP_ROM_PTR(&pin_GPIO5) },
16+
{ MP_ROM_QSTR(MP_QSTR_LED_5), MP_ROM_PTR(&pin_GPIO8) },
17+
{ MP_ROM_QSTR(MP_QSTR_LED_6), MP_ROM_PTR(&pin_GPIO9) },
18+
19+
{ MP_ROM_QSTR(MP_QSTR_LED_R), MP_ROM_PTR(&pin_GPIO13) },
20+
{ MP_ROM_QSTR(MP_QSTR_LED_G), MP_ROM_PTR(&pin_GPIO14) },
21+
{ MP_ROM_QSTR(MP_QSTR_LED_B), MP_ROM_PTR(&pin_GPIO15) },
22+
23+
{ MP_ROM_QSTR(MP_QSTR_SDA), MP_ROM_PTR(&pin_GPIO16) },
24+
{ MP_ROM_QSTR(MP_QSTR_SCL), MP_ROM_PTR(&pin_GPIO17) },
25+
26+
{ MP_ROM_QSTR(MP_QSTR_I2S_DATA), MP_ROM_PTR(&pin_GPIO18) },
27+
{ MP_ROM_QSTR(MP_QSTR_I2S_BCLK), MP_ROM_PTR(&pin_GPIO19) },
28+
{ MP_ROM_QSTR(MP_QSTR_I2S_LRCLK), MP_ROM_PTR(&pin_GPIO20) },
29+
{ MP_ROM_QSTR(MP_QSTR_AMP_EN), MP_ROM_PTR(&pin_GPIO21) },
30+
31+
{ MP_ROM_QSTR(MP_QSTR_USER_SW), MP_ROM_PTR(&pin_GPIO22) },
32+
33+
{ MP_ROM_QSTR(MP_QSTR_SENSOR), MP_ROM_PTR(&pin_GPIO26) },
34+
{ MP_ROM_QSTR(MP_QSTR_CURRENT_SENSE), MP_ROM_PTR(&pin_GPIO28) },
35+
36+
{ MP_ROM_QSTR(MP_QSTR_GP16), MP_ROM_PTR(&pin_GPIO16) },
37+
{ MP_ROM_QSTR(MP_QSTR_GP17), MP_ROM_PTR(&pin_GPIO17) },
38+
{ MP_ROM_QSTR(MP_QSTR_GP26), MP_ROM_PTR(&pin_GPIO26) },
39+
40+
{ MP_ROM_QSTR(MP_QSTR_GP26_A0), MP_ROM_PTR(&pin_GPIO26) },
41+
42+
{ MP_ROM_QSTR(MP_QSTR_I2C), MP_ROM_PTR(&board_i2c_obj) },
43+
{ MP_ROM_QSTR(MP_QSTR_STEMMA_I2C), MP_ROM_PTR(&board_i2c_obj) },
44+
};
45+
MP_DEFINE_CONST_DICT(board_module_globals, board_module_globals_table);
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) 2024 Scott Shawcroft for Adafruit Industries
4+
//
5+
// SPDX-License-Identifier: MIT
6+
7+
#include "supervisor/board.h"
8+
9+
// Use the MP_WEAK supervisor/shared/board.c versions of routines not defined here.
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
// This file is part of the CircuitPython project: https://circuitpython.org
2+
//
3+
// SPDX-FileCopyrightText: Copyright (c) 2024 Scott Shawcroft for Adafruit Industries
4+
//
5+
// SPDX-License-Identifier: MIT
6+
7+
#pragma once
8+
9+
#define MICROPY_HW_BOARD_NAME "Seeeduino XIAO RP2350"
10+
#define MICROPY_HW_MCU_NAME "rp2350"
11+
12+
#define MICROPY_HW_NEOPIXEL (&pin_GPIO22)
13+
#define CIRCUITPY_STATUS_LED_POWER (&pin_GPIO23)
14+
15+
#define DEFAULT_I2C_BUS_SCL (&pin_GPIO7)
16+
#define DEFAULT_I2C_BUS_SDA (&pin_GPIO6)
17+
18+
#define DEFAULT_SPI_BUS_SCK (&pin_GPIO2)
19+
#define DEFAULT_SPI_BUS_MOSI (&pin_GPIO3)
20+
#define DEFAULT_SPI_BUS_MISO (&pin_GPIO4)
21+
22+
#define DEFAULT_UART_BUS_RX (&pin_GPIO1)
23+
#define DEFAULT_UART_BUS_TX (&pin_GPIO0)
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
USB_VID = 0x2886
2+
USB_PID = 0x0058
3+
USB_PRODUCT = "Seeeduino XIAO RP2350"
4+
USB_MANUFACTURER = "Seeed"
5+
6+
CHIP_VARIANT = RP2350
7+
CHIP_PACKAGE = A
8+
CHIP_FAMILY = rp2
9+
10+
EXTERNAL_FLASH_DEVICES = "P25Q16H"
11+
12+
CIRCUITPY_ALARM = 0
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
// This file is part of the CircuitPython project: https://circuitpython.org
2+
//
3+
// SPDX-FileCopyrightText: Copyright (c) 2021 Scott Shawcroft for Adafruit Industries
4+
//
5+
// SPDX-License-Identifier: MIT
6+
7+
#pragma once
8+
9+
// Put board-specific pico-sdk definitions here. This file must exist.
10+
11+
// Allow extra time for xosc to start.
12+
#define PICO_XOSC_STARTUP_DELAY_MULTIPLIER 64

0 commit comments

Comments
 (0)