mirror of
https://github.com/esp-rs/esp-hal.git
synced 2025-09-28 21:00:59 +00:00
158 lines
2.7 KiB
TOML
158 lines
2.7 KiB
TOML
# ESP32-S2 Device Metadata
|
|
#
|
|
# Empty [`device.driver`] tables imply `partial` support status.
|
|
#
|
|
# If you modify a driver support status, run `cargo xtask update-chip-support-table` to
|
|
# update the table in the esp-hal README.
|
|
|
|
[device]
|
|
name = "esp32s2"
|
|
arch = "xtensa"
|
|
cores = 1
|
|
trm = "https://www.espressif.com/sites/default/files/documentation/esp32-s2_technical_reference_manual_en.pdf"
|
|
|
|
peripherals = [
|
|
# Peripherals available in the PAC:
|
|
"aes",
|
|
"apb_saradc",
|
|
"dedicated_gpio",
|
|
"ds",
|
|
"efuse",
|
|
"extmem",
|
|
"gpio",
|
|
"gpio_sd",
|
|
"hmac",
|
|
"i2c0",
|
|
"i2c1",
|
|
"i2s0",
|
|
"interrupt_core0",
|
|
"io_mux",
|
|
"ledc",
|
|
"pcnt",
|
|
"pms",
|
|
"rmt",
|
|
"rng",
|
|
"rsa",
|
|
"rtc_cntl",
|
|
"rtc_i2c",
|
|
"rtc_io",
|
|
"sens",
|
|
"sha",
|
|
"spi0",
|
|
"spi1",
|
|
"spi2",
|
|
"spi3",
|
|
"system",
|
|
"systimer",
|
|
"timg0",
|
|
"timg1",
|
|
"twai0",
|
|
"uart0",
|
|
"uart1",
|
|
"uhci0",
|
|
"usb0",
|
|
"usb_wrap",
|
|
"xts_aes",
|
|
]
|
|
|
|
symbols = [
|
|
# Additional peripherals defined by us (the developers):
|
|
"adc1",
|
|
"adc2",
|
|
"dac",
|
|
"pdma",
|
|
"phy",
|
|
"psram",
|
|
"psram_dma",
|
|
"ulp_riscv_core",
|
|
"timg_timer1",
|
|
"large_intr_status",
|
|
"gpio_bank_1",
|
|
"spi_octal",
|
|
|
|
# ROM capabilities
|
|
"rom_crc_le",
|
|
"rom_md5_bsd",
|
|
|
|
# Wakeup SOC based on ESP-IDF:
|
|
"pm_support_ext0_wakeup",
|
|
"pm_support_ext1_wakeup",
|
|
"pm_support_touch_sensor_wakeup",
|
|
"pm_support_wifi_wakeup",
|
|
"uart_support_wakeup_int",
|
|
"ulp_supported",
|
|
"riscv_coproc_supported",
|
|
]
|
|
|
|
memory = [{ name = "dram", start = 0x3FFB_0000, end = 0x4000_0000 }]
|
|
|
|
[device.gpio]
|
|
status = "supported"
|
|
|
|
[device.i2c_master]
|
|
status = "supported"
|
|
ll_intr_mask = 0x1ffff
|
|
fifo_size = 32
|
|
has_bus_timeout_enable = true
|
|
max_bus_timeout = 0xFFFFFF
|
|
separate_filter_config_registers = true
|
|
has_arbitration_en = true
|
|
i2c0_data_register_ahb_address = 0x6001301c
|
|
|
|
[device.rmt]
|
|
status = "partial"
|
|
ram_start = 0x3f416400
|
|
channel_ram_size = 64
|
|
|
|
[device.spi_master]
|
|
status = "supported"
|
|
|
|
[device.uart]
|
|
status = "supported"
|
|
|
|
[device.rgb_display] # via SPI and I2S
|
|
status = "not_supported"
|
|
|
|
[device.camera] # via I2S
|
|
status = "not_supported"
|
|
|
|
[device.touch]
|
|
status = "not_supported"
|
|
|
|
[device.ds]
|
|
status = "not_supported"
|
|
|
|
# Other drivers which are partially supported but have no other configuration:
|
|
|
|
## Crypto
|
|
[device.aes]
|
|
[device.rsa]
|
|
[device.hmac]
|
|
[device.sha]
|
|
[device.rng]
|
|
|
|
## Interfaces
|
|
[device.i2s]
|
|
[device.ledc]
|
|
[device.spi_slave]
|
|
[device.pcnt]
|
|
[device.twai]
|
|
[device.usb_otg]
|
|
|
|
## Miscellaneous
|
|
[device.adc]
|
|
[device.dac]
|
|
[device.dma]
|
|
[device.interrupts]
|
|
[device.io_mux]
|
|
[device.psram]
|
|
[device.sleep]
|
|
[device.systimer]
|
|
[device.timers]
|
|
[device.temp_sensor]
|
|
[device.ulp_fsm]
|
|
[device.ulp_riscv]
|
|
|
|
## Radio
|
|
[device.wifi]
|