diff --git a/.github/actions/setup_toolchain/action.yml b/.github/actions/setup_toolchain/action.yml index 67b0ade..b8bf6e1 100644 --- a/.github/actions/setup_toolchain/action.yml +++ b/.github/actions/setup_toolchain/action.yml @@ -20,8 +20,7 @@ runs: if: inputs.toolchain == 'arm-gcc' uses: carlosperate/arm-none-eabi-gcc-action@v1 with: -# release: '12.3.Rel1' - release: '11.2-2022.02' + release: '13.3.Rel1' - name: Pull ESP-IDF docker if: inputs.toolchain == 'esp-idf' diff --git a/.idea/cmake.xml b/.idea/cmake.xml index ca809ee..3f1fd3c 100644 --- a/.idea/cmake.xml +++ b/.idea/cmake.xml @@ -2,14 +2,14 @@ - + - + @@ -23,6 +23,13 @@ + + + + + + + @@ -30,6 +37,13 @@ + + + + + + + @@ -63,6 +77,8 @@ + + \ No newline at end of file diff --git a/lib/tinyusb b/lib/tinyusb index 880aae4..2d7d107 160000 --- a/lib/tinyusb +++ b/lib/tinyusb @@ -1 +1 @@ -Subproject commit 880aae4be2556704abd4dae9c707c9fa87603cf1 +Subproject commit 2d7d1070fc9eb8db7061b4f0e20408a453df1f7e diff --git a/ports/espressif/boards/boards.c b/ports/espressif/boards/boards.c index 9f17200..5e8c761 100644 --- a/ports/espressif/boards/boards.c +++ b/ports/espressif/boards/boards.c @@ -261,14 +261,13 @@ void board_init(void) { static usb_phy_handle_t phy_hdl; void board_dfu_init(void) { - // Configure USB PHY usb_phy_config_t phy_conf = { .controller = USB_PHY_CTRL_OTG, .target = USB_PHY_TARGET_INT, .otg_mode = USB_OTG_MODE_DEVICE, // https://github.com/hathach/tinyusb/issues/2943#issuecomment-2601888322 - // Set speed to undefined (auto detect) to avoid timinng/racing issue with S3 with host such as macOS + // Set speed to undefined (auto-detect) to avoid timinng/racing issue with S3 with host such as macOS .otg_speed = USB_PHY_SPEED_UNDEFINED, }; diff --git a/ports/mimxrt10xx/apps/factory_test_metro_sd/main.c b/ports/mimxrt10xx/apps/factory_test_metro_sd/main.c index 1a3ca8a..4b4617b 100644 --- a/ports/mimxrt10xx/apps/factory_test_metro_sd/main.c +++ b/ports/mimxrt10xx/apps/factory_test_metro_sd/main.c @@ -78,7 +78,7 @@ int main(void) { board_timer_start(1); board_usb_init(); - tusb_init(); + tud_init(BOARD_TUD_RHPORT); setColor(0); pinMode(13, OUTPUT);