Davo 5a64d9ba8f
feat: add support for internal temperature sensor (tsens) for esp32c6 and esp32c3 (#2875)
* feat: add basic support for temperature sensor (tsens) for esp32c6

* feat: add basic support for temperature sensor (tsens) for esp32c3

* feat: add configurable clock source for temperature sensor

* feat: add Temperature struct to avoid enforcing usage of floats

- Also add misc derives to multiple structs
- Add power_up / power_down methods to TemperatureSensor
- Enable ApbSarAdc via PeripheralGuard

* fix: move tsens module to unstable module list
2025-01-07 16:40:12 +00:00

68 lines
1.0 KiB
TOML

[device]
name = "esp32c3"
arch = "riscv"
cores = "single_core"
peripherals = [
# Peripherals available in the PAC:
"aes",
"apb_ctrl",
"apb_saradc",
"assist_debug",
"dma",
"ds",
"efuse",
"extmem",
"gpio",
"gpio_sd",
"hmac",
"i2c0",
"i2s0",
"interrupt_core0",
"io_mux",
"ledc",
"rmt",
"rng",
"rsa",
"rtc_cntl",
"sensitive",
"sha",
"spi0",
"spi1",
"spi2",
"system",
"systimer",
"timg0",
"timg1",
"twai0",
"uart0",
"uart1",
"uhci0",
"uhci1",
"usb_device",
"xts_aes",
]
symbols = [
# Additional peripherals defined by us (the developers):
"adc",
"assist_debug_sp_monitor",
"assist_debug_region_monitor",
"gdma",
"phy",
"bt",
"wifi",
"tsens",
# ROM capabilities
"rom_crc_le",
"rom_crc_be",
"rom_md5_bsd",
# Wakeup SOC based on ESP-IDF:
"pm_support_wifi_wakeup",
"pm_support_bt_wakeup",
"uart_support_wakeup_int",
"gpio_support_deepsleep_wakeup",
]