Esp_32 -s3, usb_cdc

I need to work via USB with ACM device(GSM).
But I get an error when trying to include header files
"#include "usb/usb_host.h" #include "usb/cdc_acm_host.h

I am using the following project setup and IDF versions

[env:esp32-s3-R2-1]
platform = https://github.com/pioarduino/platform-espressif32/releases/download/53.03.13/platform-espressif32.zip
board = esp32-s3-R2-1
framework = arduino
monitor_speed = 115200
upload_port = COM6
monitor_port = COM6
board_build.mcu = esp32s3
upload_protocol = esptool
board_build.f_cpu = 240000000L
board_build.partitions = partitions.csv
board_build.menuconfig = true
monitor_filters = esp32_exception_decoder
lib_deps = 
	arduino-libraries/Arduino_JSON @ 0.1.0
	esp32async/ESPAsyncWebServer@^3.7.0

The documentation for the IDF 5.3.2 framework contains an API for working with CDC devices, such as the GSM module.

But my framework doesn’t support them for some reason.
Tell me how can I make USB work with the ACM API?
As show here :esp-idf/examples/peripherals/usb/host/cdc/cdc_acm_host/main/usb_cdc_example_main.c at v5.3.2 · espressif/esp-idf · GitHub

There is no USB-Host support for Arduino at the moment.
Please see Add support for TinyUSB Host · Issue #10978 · espressif/arduino-esp32 · GitHub

Yes, but I can still use idf functions to work with USB.

Is there any way I can manually add the necessary files to work with ACM (#include “usb/usb_host.h”
#include “usb/cdc_acm_host.h”) ?

Either you use framework = espidf or you wait until the Espressif devs have implemented this in the Arduino framework. (Edit: USB Host support has been announced for version 3.3.0)

Alternatively, you can ask this question directly to the Espressif devs on github (see link above).

Do I have any options to stay on this version of the IDF framework while still getting USB functionality working?

The Espressif Arduino Framework is always based upon a specific ESP-IDF version.

You can try an “Arduino as Component” project:
framework = espidf, arduino

This allows you to use the latest ESP-IDF with Arduino.