2025-06-10 13:13:24 +00:00

106 lines
1.9 KiB
TOML

# ESP32-C2 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 = "esp32c2"
arch = "riscv"
cores = 1
trm = "https://www.espressif.com/sites/default/files/documentation/esp8684_technical_reference_manual_en.pdf"
peripherals = [
# Peripherals available in the PAC:
"apb_ctrl",
"apb_saradc",
"assist_debug",
"dma",
"ecc",
"efuse",
"extmem",
"gpio",
"i2c0",
"interrupt_core0",
"io_mux",
"ledc",
"rng",
"rtc_cntl",
"sensitive",
"sha",
"spi0",
"spi1",
"spi2",
"system",
"systimer",
"timg0",
"uart0",
"uart1",
"xts_aes",
]
symbols = [
# Additional peripherals defined by us (the developers):
"adc1",
"assist_debug_sp_monitor",
"gdma",
"phy",
"bt",
"wifi",
# ROM capabilities
"rom_crc_le",
"rom_crc_be",
"rom_md5_mbedtls",
# Wakeup SOC based on ESP-IDF:
"pm_support_wifi_wakeup",
"pm_support_bt_wakeup",
"uart_support_wakeup_int",
"gpio_support_deepsleep_wakeup",
]
memory = [{ name = "dram", start = 0x3FCA_0000, end = 0x3FCE_0000 }]
[device.gpio]
status = "supported"
[device.i2c_master]
status = "supported"
has_fsm_timeouts = true
has_hw_bus_clear = true
[device.spi_master]
status = "supported"
[device.uart]
status = "supported"
# Other drivers which are partially supported but have no other configuration:
## Crypto
# [device.aes] Product portfolio lists AES, but TRM only has XTS_AES?
[device.ecc]
[device.sha]
[device.rng]
## Interfaces
[device.ledc]
[device.spi_slave]
## Miscellaneous
[device.assist_debug]
[device.adc]
[device.dma]
[device.interrupts]
[device.io_mux]
[device.temp_sensor]
[device.sleep]
[device.timers]
[device.systimer]
## Radio
[device.wifi]
[device.bt]