mirror of
https://github.com/esp-rs/esp-hal.git
synced 2025-09-28 12:50:53 +00:00

* Add a new `timg_timer1` symbol to `esp-metadata` definitions * Make `Timer::load_value` fallible (when the value is too large) * Clean up, simplify, and document the `timer` module and its submodules * Fix various issues * Update the timeout value verification for `SYSTIMER` * Clippy * Introduce new `PERIOD_MASK` constant for validating timeout values
75 lines
1.1 KiB
TOML
75 lines
1.1 KiB
TOML
[device]
|
|
name = "esp32"
|
|
arch = "xtensa"
|
|
cores = "multi_core"
|
|
|
|
peripherals = [
|
|
# Peripherals available in the PAC:
|
|
"aes",
|
|
"apb_ctrl",
|
|
"bb",
|
|
"dport",
|
|
"efuse",
|
|
"flash_encryption",
|
|
"frc_timer",
|
|
"gpio",
|
|
"gpio_sd",
|
|
"hinf",
|
|
"i2c0",
|
|
"i2c1",
|
|
"i2s0",
|
|
"i2s1",
|
|
"io_mux",
|
|
"ledc",
|
|
"mcpwm0",
|
|
"mcpwm1",
|
|
"nrx",
|
|
"pcnt",
|
|
"rmt",
|
|
"rng",
|
|
"rsa",
|
|
"rtc_cntl",
|
|
"rtc_i2c",
|
|
"rtc_io",
|
|
"sdhost",
|
|
"sens",
|
|
"sha",
|
|
"slc",
|
|
"slchost",
|
|
"spi0",
|
|
"spi1",
|
|
"spi2",
|
|
"spi3",
|
|
"timg0",
|
|
"timg1",
|
|
"twai0",
|
|
"uart0",
|
|
"uart1",
|
|
"uart2",
|
|
"uhci0",
|
|
"uhci1",
|
|
]
|
|
|
|
symbols = [
|
|
# Additional peripherals defined by us (the developers):
|
|
"adc",
|
|
"dac",
|
|
"pdma",
|
|
"phy",
|
|
"bt",
|
|
"wifi",
|
|
"psram",
|
|
"timg_timer1",
|
|
|
|
# ROM capabilities
|
|
"rom_crc_le",
|
|
"rom_crc_be",
|
|
"rom_md5_bsd",
|
|
|
|
# Wakeup SOC based on ESP-IDF:
|
|
"pm_support_ext0_wakeup",
|
|
"pm_support_ext1_wakeup",
|
|
"pm_support_touch_sensor_wakeup",
|
|
"ulp_supported",
|
|
]
|