menuconfig的 tinyusb msc 打开编译报错

cumind
Posts: 6
Joined: Tue Jul 11, 2023 2:49 am

menuconfig的 tinyusb msc 打开编译报错

Postby cumind » Wed Jul 12, 2023 11:19 pm

Code: Select all

[104/106] Linking C executable bootloader.elf
[105/106] Generating binary image from built executable
esptool.py v4.5.1
Creating esp32s3 image...
Merged 1 ELF section
Successfully created esp32s3 image.
Generated C:/mian/tusb_hid_copy/build/bootloader/bootloader.bin
[106/106] cmd.exe /C "cd /D C:\mian\tusb_hid_copy\build\bootloader\esp-idf\esptool_py && c:\esp-idf\python_env\idf5.0_py3.8_env\Scripts\python.exe C:/esp-idf/esp-idf/components/partition_table/check_sizes.py 
--offset 0x8000 bootloader 0x0 C:/mian/tusb_hid_copy/build/bootloader/bootloader.bin"
Bootloader binary size 0x5030 bytes. 0x2fd0 bytes (37%) free.
[1049/1248] Building C object esp-idf/bus/CMakeFiles/__idf_bus.dir/8080_lcd_esp32s3.c.obj
In file included from C:/esp-idf/esp-idf/components/bus/include/i2s_lcd_driver.h:17,
                 from C:/esp-idf/esp-idf/components/bus/8080_lcd_esp32s3.c:37:
C:/esp-idf/esp-idf/components/driver/deprecated/driver/i2s.h:27:2: warning: #warning "This set of I2S APIs has been deprecated, please include 'driver/i2s_std.h', 'driver/i2s_pdm.h' or 'driver/i2s_tdm.h' instead. if you want to keep using the old APIs and ignore this warning, you can enable 'Suppress leagcy driver deprecated warning' option under 'I2S Configuration' menu in Kconfig" [-Wcpp]
   27 | #warning "This set of I2S APIs has been deprecated, \
      |  ^~~~~~~
[1246/1248] Linking CXX executable tusb_hid.elf
FAILED: tusb_hid.elf
cmd.exe /C "cd . && C:\esp-idf\tools\xtensa-esp32s3-elf\esp-2022r1-11.2.0\xtensa-esp32s3-elf\bin\xtensa-esp32s3-elf-g++.exe -mlongcalls  @CMakeFiles\tusb_hid.elf.rsp -o tusb_hid.elf  && cd ."
c:/esp-idf/tools/xtensa-esp32s3-elf/esp-2022r1-11.2.0/xtensa-esp32s3-elf/bin/../lib/gcc/xtensa-esp32s3-elf/11.2.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: esp-idf/espressif__tinyusb/libespressif__tinyusb.a(msc_device.c.obj):(.literal.proc_builtin_scsi+0x10): undefined reference to `tud_msc_test_unit_ready_cb'
c:/esp-idf/tools/xtensa-esp32s3-elf/esp-2022r1-11.2.0/xtensa-esp32s3-elf/bin/../lib/gcc/xtensa-esp32s3-elf/11.2.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: esp-idf/espressif__tinyusb/libespressif__tinyusb.a(msc_device.c.obj):(.literal.proc_builtin_scsi+0x14): undefined reference to `tud_msc_capacity_cb'
c:/esp-idf/tools/xtensa-esp32s3-elf/esp-2022r1-11.2.0/xtensa-esp32s3-elf/bin/../lib/gcc/xtensa-esp32s3-elf/11.2.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: esp-idf/espressif__tinyusb/libespressif__tinyusb.a(msc_device.c.obj):(.literal.proc_builtin_scsi+0x18): undefined reference to `tud_msc_inquiry_cb'
c:/esp-idf/tools/xtensa-esp32s3-elf/esp-2022r1-11.2.0/xtensa-esp32s3-elf/bin/../lib/gcc/xtensa-esp32s3-elf/11.2.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: esp-idf/espressif__tinyusb/libespressif__tinyusb.a(msc_device.c.obj):(.literal.proc_read10_cmd+0x4): undefined reference to `tud_msc_read10_cb'
c:/esp-idf/tools/xtensa-esp32s3-elf/esp-2022r1-11.2.0/xtensa-esp32s3-elf/bin/../lib/gcc/xtensa-esp32s3-elf/11.2.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: esp-idf/espressif__tinyusb/libespressif__tinyusb.a(msc_device.c.obj):(.literal.proc_write10_new_data+0x0): undefined reference to `tud_msc_write10_cb'
c:/esp-idf/tools/xtensa-esp32s3-elf/esp-2022r1-11.2.0/xtensa-esp32s3-elf/bin/../lib/gcc/xtensa-esp32s3-elf/11.2.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: esp-idf/espressif__tinyusb/libespressif__tinyusb.a(msc_device.c.obj):(.literal.mscd_xfer_cb+0x18): undefined reference to `tud_msc_scsi_cb'
c:/esp-idf/tools/xtensa-esp32s3-elf/esp-2022r1-11.2.0/xtensa-esp32s3-elf/bin/../lib/gcc/xtensa-esp32s3-elf/11.2.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: esp-idf/espressif__tinyusb/libespressif__tinyusb.a(msc_device.c.obj): in function `proc_builtin_scsi':
C:/mian/tusb_hid_copy/managed_components/espressif__tinyusb/src/class/msc/msc_device.c:658: undefined reference to `tud_msc_test_unit_ready_cb'
c:/esp-idf/tools/xtensa-esp32s3-elf/esp-2022r1-11.2.0/xtensa-esp32s3-elf/bin/../lib/gcc/xtensa-esp32s3-elf/11.2.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: C:/mian/tusb_hid_copy/managed_components/espressif__tinyusb/src/class/msc/msc_device.c:691: undefined reference to `tud_msc_capacity_cb'
c:/esp-idf/tools/xtensa-esp32s3-elf/esp-2022r1-11.2.0/xtensa-esp32s3-elf/bin/../lib/gcc/xtensa-esp32s3-elf/11.2.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: C:/mian/tusb_hid_copy/managed_components/espressif__tinyusb/src/class/msc/msc_device.c:728: undefined reference to `tud_msc_capacity_cb'
c:/esp-idf/tools/xtensa-esp32s3-elf/esp-2022r1-11.2.0/xtensa-esp32s3-elf/bin/../lib/gcc/xtensa-esp32s3-elf/11.2.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: C:/mian/tusb_hid_copy/managed_components/espressif__tinyusb/src/class/msc/msc_device.c:764: undefined reference to `tud_msc_inquiry_cb'
c:/esp-idf/tools/xtensa-esp32s3-elf/esp-2022r1-11.2.0/xtensa-esp32s3-elf/bin/../lib/gcc/xtensa-esp32s3-elf/11.2.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: esp-idf/espressif__tinyusb/libespressif__tinyusb.a(msc_device.c.obj): in function `proc_read10_cmd':
C:/mian/tusb_hid_copy/managed_components/espressif__tinyusb/src/class/msc/msc_device.c:843: undefined reference to `tud_msc_read10_cb'
c:/esp-idf/tools/xtensa-esp32s3-elf/esp-2022r1-11.2.0/xtensa-esp32s3-elf/bin/../lib/gcc/xtensa-esp32s3-elf/11.2.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: esp-idf/espressif__tinyusb/libespressif__tinyusb.a(msc_device.c.obj): in function `proc_write10_new_data':
C:/mian/tusb_hid_copy/managed_components/espressif__tinyusb/src/class/msc/msc_device.c:905: undefined reference to `tud_msc_write10_cb'
c:/esp-idf/tools/xtensa-esp32s3-elf/esp-2022r1-11.2.0/xtensa-esp32s3-elf/bin/../lib/gcc/xtensa-esp32s3-elf/11.2.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: esp-idf/espressif__tinyusb/libespressif__tinyusb.a(msc_device.c.obj): in function `mscd_xfer_cb':
C:/mian/tusb_hid_copy/managed_components/espressif__tinyusb/src/class/msc/msc_device.c:474: undefined reference to `tud_msc_scsi_cb'
c:/esp-idf/tools/xtensa-esp32s3-elf/esp-2022r1-11.2.0/xtensa-esp32s3-elf/bin/../lib/gcc/xtensa-esp32s3-elf/11.2.0/../../../../xtensa-esp32s3-elf/bin/ld.exe: C:/mian/tusb_hid_copy/managed_components/espressif__tinyusb/src/class/msc/msc_device.c:539: undefined reference to `tud_msc_scsi_cb'
collect2.exe: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
我打开了Massive Storage Class 然后就出现了这个错误,如果不开则没有报错,
我应该从那开始排查?

Who is online

Users browsing this forum: No registered users and 62 guests