mirror of
https://github.com/espressif/esp-idf.git
synced 2026-05-04 20:05:25 +02:00
Merge branch 'bugfix/esp32s3_usb_otg_console' into 'master'
system: support USB_OTG CDC console on ESP32-S3 Closes IDF-2048, IDF-2987, IDFGH-7134, IDFGH-7291, and IDFGH-7835 See merge request espressif/esp-idf!19312
This commit is contained in:
@@ -27,6 +27,10 @@ config ESP_ROM_HAS_RETARGETABLE_LOCKING
|
||||
bool
|
||||
default y
|
||||
|
||||
config ESP_ROM_USB_OTG_NUM
|
||||
int
|
||||
default 3
|
||||
|
||||
config ESP_ROM_USB_SERIAL_DEVICE_NUM
|
||||
int
|
||||
default 4
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
#define ESP_ROM_HAS_JPEG_DECODE (1) // ROM has JPEG decode library
|
||||
#define ESP_ROM_UART_CLK_IS_XTAL (1) // UART clock source is selected to XTAL in ROM
|
||||
#define ESP_ROM_HAS_RETARGETABLE_LOCKING (1) // ROM was built with retargetable locking
|
||||
#define ESP_ROM_USB_OTG_NUM (3) // The serial port ID (UART, USB, ...) of USB_OTG CDC in the ROM.
|
||||
#define ESP_ROM_USB_SERIAL_DEVICE_NUM (4) // The serial port ID (UART, USB, ...) of USB_SERIAL_JTAG in the ROM.
|
||||
#define ESP_ROM_HAS_ERASE_0_REGION_BUG (1) // ROM has esp_flash_erase_region(size=0) bug
|
||||
#define ESP_ROM_GET_CLK_FREQ (1) // Get clk frequency with rom function `ets_get_cpu_frequency`
|
||||
|
||||
@@ -792,7 +792,7 @@ usb_dfu_force_detach = 0x40002a54;
|
||||
usb_dev_deinit = 0x40002a60;
|
||||
usb_dw_ctrl_deinit = 0x40002a6c;
|
||||
/* Data (.data, .bss, .rodata) */
|
||||
s_usb_osglue = 0x3fceffac;
|
||||
rom_usb_osglue = 0x3fceffac;
|
||||
|
||||
|
||||
/***************************************
|
||||
|
||||
Reference in New Issue
Block a user