Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tinyusb.h not found on Windows with USE_USB=1 #1304

Open
NW-Lab opened this issue Feb 5, 2024 · 0 comments
Open

tinyusb.h not found on Windows with USE_USB=1 #1304

NW-Lab opened this issue Feb 5, 2024 · 0 comments

Comments

@NW-Lab
Copy link
Contributor

NW-Lab commented Feb 5, 2024

hello

When building esp32/m5stamp_s3 (USE_USB=1) on Windows, an error occurs that "tinyusb.h" is missing.
ESP-IDF is installed from the installer (https://dl.espressif.com/dl/esp-idf/).
ESP-IDF uses v5.1.2.

C:\pjt\moddable\examples\helloworld>mcconfig -d -m -p esp32/m5stamp_s3
情報: 与えられたパターンのファイルが見つかりませんでした。
Setting PYTHONNOUSERSITE, was not set
Using Python in C:\Espressif\python_env\idf5.1_py3.11_env\Scripts\
Python 3.11.2
Using Git in C:\Espressif\tools\idf-git\2.39.2\cmd\
git version 2.39.2.windows.1
Checking Python compatibility
Setting IDF_PATH: C:\Espressif\frameworks\esp-idf-v5.1.2

Adding ESP-IDF tools to PATH...
Not using an unsupported version of tool cmake found in PATH: 3.27.2.
Not using an unsupported version of tool ninja found in PATH: 1.11.0.
    C:\Espressif\tools\xtensa-esp-elf-gdb\12.1_20221002\xtensa-esp-elf-gdb\bin
    C:\Espressif\tools\riscv32-esp-elf-gdb\12.1_20221002\riscv32-esp-elf-gdb\bin
    C:\Espressif\tools\xtensa-esp32-elf\esp-12.2.0_20230208\xtensa-esp32-elf\bin
    C:\Espressif\tools\xtensa-esp32s2-elf\esp-12.2.0_20230208\xtensa-esp32s2-elf\bin
    C:\Espressif\tools\xtensa-esp32s3-elf\esp-12.2.0_20230208\xtensa-esp32s3-elf\bin
    C:\Espressif\tools\riscv32-esp-elf\esp-12.2.0_20230208\riscv32-esp-elf\bin
    C:\Espressif\tools\esp32ulp-elf\2.35_20220830\esp32ulp-elf\bin
    C:\Espressif\tools\cmake\3.24.0\bin
    C:\Espressif\tools\openocd-esp32\v0.12.0-esp32-20230921\openocd-esp32\bin
    C:\Espressif\tools\ninja\1.10.2\
    C:\Espressif\tools\idf-exe\1.0.3\
    C:\Espressif\tools\ccache\4.8\ccache-4.8-windows-x86_64
    C:\Espressif\tools\dfu-util\0.11\dfu-util-0.11-win64
    C:\Espressif\frameworks\esp-idf-v5.1.2\tools

Checking if Python packages are up to date...
Constraint file: C:\Espressif\espidf.constraints.v5.1.txt
Requirement files:
 - C:\Espressif\frameworks\esp-idf-v5.1.2\tools\requirements\requirements.core.txt
Python being checked: C:\Espressif\python_env\idf5.1_py3.11_env\Scripts\python.exe
Python requirements are satisfied.

Detected installed tools that are not currently used by active ESP-IDF version.
For removing old versions of idf-driver, idf-python-wheels use command 'python.exe C:\Espressif\frameworks\esp-idf-v5.1.2\tools\idf_tools.py uninstall'
For free up even more space, remove installation packages of those tools. Use option 'python.exe C:\Espressif\frameworks\esp-idf-v5.1.2\tools\idf_tools.py uninstall --remove-archives'.


Done! You can now compile ESP-IDF projects.
Go to the project directory and run:

  idf.py build

Using recommended ESP-IDF v5.1.2
        1 個のファイルをコピーしました。
        1 個のファイルをコピーしました。
        1 個のファイルをコピーしました。
"# Configure tinyusb..."; cd c:\pjt\moddable\build\tmp\esp32\m5stamp_s3\debug\helloworld\xsProj-esp32s3 ; idf.py add-dependency "espressif/esp_tinyusb"
Reconfiguring ESP-IDF...
Executing action: reconfigure
Running cmake in directory C:\pjt\moddable\build\tmp\esp32\m5stamp_s3\debug\helloworld\xsProj-esp32s3\build
Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DPYTHON=C:\Espressif\python_env\idf5.1_py3.11_env\Scripts\python.exe -DESP_PLATFORM=1 -DSDKCONFIG_DEFAULTS=c:/pjt/moddable/build/tmp/esp32/m5stamp_s3/debug/helloworld/xsProj-esp32s3/sdkconfig.mc -DSDKCONFIG_HEADER=c:\pjt\moddable\build\tmp\esp32\m5stamp_s3\debug\helloworld\xsProj-esp32s3\build\config\sdkconfig.h -DCMAKE_MESSAGE_LOG_LEVEL=ERROR -DDEBUGGER_SPEED=115200 -DIDF_TARGET=esp32s3 -DESP32_SUBCLASS=esp32s3 -DSDKCONFIG_DEFAULTS=c:\pjt\moddable\build\tmp\esp32\m5stamp_s3\debug\helloworld\xsProj-esp32s3\sdkconfig.mc -DCCACHE_ENABLE=1 C:\pjt\moddable\build\tmp\esp32\m5stamp_s3\debug\helloworld\xsProj-esp32s3"...
Loading defaults file C:/pjt/moddable/build/tmp/esp32/m5stamp_s3/debug/helloworld/xsProj-esp32s3/sdkconfig.mc...
C:/pjt/moddable/build/tmp/esp32/m5stamp_s3/debug/helloworld/xsProj-esp32s3/sdkconfig.mc:1433 CONFIG_CONSOLE_UART_DEFAULT was replaced with CONFIG_ESP_CONSOLE_UART_DEFAULT
C:/pjt/moddable/build/tmp/esp32/m5stamp_s3/debug/helloworld/xsProj-esp32s3/sdkconfig.mc:1434 CONFIG_CONSOLE_UART was replaced with CONFIG_ESP_CONSOLE_UART
C:/pjt/moddable/build/tmp/esp32/m5stamp_s3/debug/helloworld/xsProj-esp32s3/sdkconfig.mc:1435 CONFIG_CONSOLE_UART_BAUDRATE was replaced with CONFIG_ESP_CONSOLE_UART_BAUDRATE
C:\Users\tauchi\AppData\Local\Temp\kconfgen_tmpncped46y:504 line was updated to CONFIG_ESP_SYSTEM_PANIC_GDBSTUB=n
C:\Users\tauchi\AppData\Local\Temp\kconfgen_tmpncped46y:585 line was updated to CONFIG_ESP_COREDUMP_ENABLE_TO_UART=n
C:\Users\tauchi\AppData\Local\Temp\kconfgen_tmpncped46y:590 line was updated to CONFIG_ESP_COREDUMP_ENABLE=n
-- Configuring done
-- Generating done
-- Build files have been written to: C:/pjt/moddable/build/tmp/esp32/m5stamp_s3/debug/helloworld/xsProj-esp32s3/build
        1 個のファイルをコピーしました。
# ld xs_esp32.bin
        1 個のファイルをコピーしました。
        1 個のファイルをコピーしました。
Executing action: all (aliases: build)
Running ninja in directory C:\pjt\moddable\build\tmp\esp32\m5stamp_s3\debug\helloworld\xsProj-esp32s3\build
Executing "ninja all"...
[1/10] Building C object esp-idf/main/CMakeFiles/__idf_main.dir/main.c.objFAILED: esp-idf/main/CMakeFiles/__idf_main.dir/main.c.obj
ccache C:\Espressif\tools\xtensa-esp32s3-elf\esp-12.2.0_20230208\xtensa-esp32s3-elf\bin\xtensa-esp32s3-elf-gcc.exe -DESP_PLATFORM -DIDF_VER=\"v5.1.2-dirty\" -DMBEDTLS_CONFIG_FILE=\"mbedtls/esp_config.h\" -DSOC_MMU_PAGE_SIZE=CONFIG_MMU_PAGE_SIZE -DUNITY_INCLUDE_CONFIG_H -D_GNU_SOURCE -D_POSIX_READER_WRITER_LOCKS -IC:/pjt/moddable/build/tmp/esp32/m5stamp_s3/debug/helloworld/xsProj-esp32s3/build/config -IC:/pjt/moddable/build/tmp/esp32/m5stamp_s3/debug/helloworld/xsProj-esp32s3/main -IC:/pjt/moddable/xs/platforms/esp -IC:/pjt/moddable/xs/platforms/mc -IC:/pjt/moddable/xs/includes -IC:/pjt/moddable/modules/base/instrumentation -IC:/pjt/moddable/modules/io -IC:/pjt/moddable/build/tmp/esp32/m5stamp_s3/debug/helloworld -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/newlib/platform_include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/freertos/FreeRTOS-Kernel/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/freertos/FreeRTOS-Kernel/portable/xtensa/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/freertos/esp_additions/include/freertos -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/freertos/esp_additions/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/freertos/esp_additions/arch/xtensa/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_hw_support/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_hw_support/include/soc -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_hw_support/include/soc/esp32s3 -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_hw_support/port/esp32s3/. -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_hw_support/port/esp32s3/private_include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/heap/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/log/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/soc/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/soc/esp32s3 -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/soc/esp32s3/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/hal/esp32s3/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/hal/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/hal/platform_port/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_rom/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_rom/include/esp32s3 -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_rom/esp32s3 -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_common/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_system/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_system/port/soc -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_system/port/include/private -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/xtensa/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/xtensa/esp32s3/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/lwip/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/lwip/include/apps -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/lwip/include/apps/sntp -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/lwip/lwip/src/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/lwip/port/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/lwip/port/freertos/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/lwip/port/esp32xx/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/lwip/port/esp32xx/include/arch -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_timer/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_wifi/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_wifi/wifi_apps/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_event/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_phy/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_phy/esp32s3/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_netif/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/spi_flash/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_lcd/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_lcd/interface -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/nvs_flash/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_partition/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/spiffs/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_ringbuf/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/efuse/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/efuse/esp32s3/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/driver/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/driver/deprecated -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/driver/analog_comparator/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/driver/dac/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/driver/gpio/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/driver/gptimer/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/driver/i2c/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/driver/i2s/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/driver/ledc/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/driver/mcpwm/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/driver/parlio/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/driver/pcnt/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/driver/rmt/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/driver/sdio_slave/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/driver/sdmmc/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/driver/sigma_delta/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/driver/spi/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/driver/temperature_sensor/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/driver/touch_sensor/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/driver/twai/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/driver/uart/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/driver/usb_serial_jtag/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/driver/touch_sensor/esp32s3/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_pm/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/mbedtls/port/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/mbedtls/mbedtls/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/mbedtls/mbedtls/library -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/mbedtls/esp_crt_bundle/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/mbedtls/mbedtls/3rdparty/everest/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/mbedtls/mbedtls/3rdparty/p256-m -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/mbedtls/mbedtls/3rdparty/p256-m/p256-m -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_app_format/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/bootloader_support/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/bootloader_support/bootloader_flash/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/app_update/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_mm/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/pthread/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/app_trace/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/vfs/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/wpa_supplicant/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/wpa_supplicant/port/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/wpa_supplicant/esp_supplicant/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_coex/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/unity/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/unity/unity/src -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/cmock/CMock/src -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/console -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/http_parser -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp-tls -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp-tls/esp-tls-crypto -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_adc/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_adc/interface -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_adc/esp32s3/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_adc/deprecated/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_eth/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_gdbstub/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_hid/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/tcp_transport/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_http_client/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_http_server/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_https_ota/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_psram/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/protobuf-c/protobuf-c -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/protocomm/include/common -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/protocomm/include/security -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/protocomm/include/transports -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_local_ctrl/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/espcoredump/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/espcoredump/include/port/xtensa -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/wear_levelling/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/sdmmc/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/fatfs/diskio -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/fatfs/vfs -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/fatfs/src -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/idf_test/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/idf_test/include/esp32s3 -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/ieee802154/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/json/cJSON -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/mqtt/esp-mqtt/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/perfmon/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/touch_element/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/ulp/ulp_common/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/ulp/ulp_common/include/esp32s3 -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/usb/include -IC:/Espressif/frameworks/esp-idf-v5.1.2/components/wifi_provisioning/include -mlongcalls  -fdiagnostics-color=always -ffunction-sections -fdata-sections -Wall -Werror=all -Wno-error=unused-function -Wno-error=unused-variable -Wno-error=unused-but-set-variable -Wno-error=deprecated-declarations -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-enum-conversion -gdwarf-4 -ggdb -Os -freorder-blocks -fmacro-prefix-map=C:/pjt/moddable/build/tmp/esp32/m5stamp_s3/debug/helloworld/xsProj-esp32s3=. -fmacro-prefix-map=C:/Espressif/frameworks/esp-idf-v5.1.2=/IDF -fstrict-volatile-bitfields -fno-jump-tables -fno-tree-switch-conversion -DconfigENABLE_FREERTOS_DEBUG_OCDAWARE=1 -std=gnu17 -Wno-old-style-declaration -DmxDebug=1 -DDEBUGGER_SPEED=115200 -DMODINSTRUMENTATION=1 -DUSE_USB=1 -MD -MT esp-idf/main/CMakeFiles/__idf_main.dir/main.c.obj -MF esp-idf\main\CMakeFiles\__idf_main.dir\main.c.obj.d -o esp-idf/main/CMakeFiles/__idf_main.dir/main.c.obj -c C:/pjt/moddable/build/tmp/esp32/m5stamp_s3/debug/helloworld/xsProj-esp32s3/main/main.c
C:/pjt/moddable/build/tmp/esp32/m5stamp_s3/debug/helloworld/xsProj-esp32s3/main/main.c:68:26: fatal error: tinyusb.h: No such file or directory
   68 |                 #include "tinyusb.h"
      |                          ^~~~~~~~~~~
compilation terminated.
[0/1] Re-running CMake...-- Building ESP-IDF components for target esp32s3
-- Project sdkconfig file C:/pjt/moddable/build/tmp/esp32/m5stamp_s3/debug/helloworld/xsProj-esp32s3/sdkconfig
Compiler supported targets: xtensa-esp32s3-elf

-- Adding linker script C:/Espressif/frameworks/esp-idf-v5.1.2/components/soc/esp32s3/ld/esp32s3.peripherals.ld
-- App "bootloader" version: v5.1.2-dirty
-- Adding linker script C:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_rom/esp32s3/ld/esp32s3.rom.ld
-- Adding linker script C:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_rom/esp32s3/ld/esp32s3.rom.api.ld
-- Adding linker script C:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_rom/esp32s3/ld/esp32s3.rom.libgcc.ld
-- Adding linker script C:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_rom/esp32s3/ld/esp32s3.rom.newlib.ld
-- Adding linker script C:/Espressif/frameworks/esp-idf-v5.1.2/components/bootloader/subproject/main/ld/esp32s3/bootloader.ld
-- Adding linker script C:/Espressif/frameworks/esp-idf-v5.1.2/components/bootloader/subproject/main/ld/esp32s3/bootloader.rom.ld
-- Components: bootloader bootloader_support efuse esp_app_format esp_common esp_hw_support esp_rom esp_system esptool_py freertos hal log main micro-ecc newlib partition_table soc spi_flash xtensa
-- Component paths: C:/Espressif/frameworks/esp-idf-v5.1.2/components/bootloader C:/Espressif/frameworks/esp-idf-v5.1.2/components/bootloader_support C:/Espressif/frameworks/esp-idf-v5.1.2/components/efuse C:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_app_format C:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_common C:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_hw_support C:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_rom C:/Espressif/frameworks/esp-idf-v5.1.2/components/esp_system C:/Espressif/frameworks/esp-idf-v5.1.2/components/esptool_py C:/Espressif/frameworks/esp-idf-v5.1.2/components/freertos C:/Espressif/frameworks/esp-idf-v5.1.2/components/hal C:/Espressif/frameworks/esp-idf-v5.1.2/components/log C:/Espressif/frameworks/esp-idf-v5.1.2/components/bootloader/subproject/main C:/Espressif/frameworks/esp-idf-v5.1.2/components/bootloader/subproject/components/micro-ecc C:/Espressif/frameworks/esp-idf-v5.1.2/components/newlib C:/Espressif/frameworks/esp-idf-v5.1.2/components/partition_table C:/Espressif/frameworks/esp-idf-v5.1.2/components/soc C:/Espressif/frameworks/esp-idf-v5.1.2/components/spi_flash C:/Espressif/frameworks/esp-idf-v5.1.2/components/xtensa
-- Configuring done
-- Generating done
-- Build files have been written to: C:/pjt/moddable/build/tmp/esp32/m5stamp_s3/debug/helloworld/xsProj-esp32s3/build/bootloader
[1/1] cmd.exe /C "cd /D C:\pjt\moddable\build\tmp\esp32\m5...helloworld/xsProj-esp32s3/build/bootloader/bootloader.bin"Bootloader binary size 0x3450 bytes. 0x4bb0 bytes (59%) free.
ninja: build stopped: subcommand failed.
HINT: tinyusb.h was removed. Please use esp_tinyusb component from IDF component manager instead.
You can install `esp_tinyusb` using 'idf.py add-dependency espressif/esp_tinyusb' command.
Refer to the migration guide for more details.
ninja failed with exit code 1, output of the command is in the C:\pjt\moddable\build\tmp\esp32\m5stamp_s3\debug\helloworld\xsProj-esp32s3\build\log\idf_py_stderr_output_22460 and C:\pjt\moddable\build\tmp\esp32\m5stamp_s3\debug\helloworld\xsProj-esp32s3\build\log\idf_py_stdout_output_22460
Launching app...
Type Ctrl-C twice after debugging app.
Could not find USB COM Port with VID 0xBEEF and ID 0x1CEE
NMAKE : fatal error U1077: 'echo Launching app... & echo Type Ctrl-C twice after debugging app. && set "XSBUG_PORT=5002" && set "XSBUG_HOST=localhost" && c:\pjt\moddable\build\bin\win\release\serial2xsbug beef:1cee 115200 8N1 -dtr' : リターン コード '0x1'
Stop.

C:\pjt\moddable\examples\helloworld>

thanks,

@phoddie phoddie changed the title tinyusb.h not found tinyusb.h not found on Windows with USE_USB=1 Mar 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant