* add `software_reset`, `software_reset_cpu` and `rtc_get_wakeup_cause` * Add SOC wakeup symbols * Add SleepSource and WakeupReason enums and get_wakeup_cause() function * Add other SOC wakeups * fixups and fmt * address review comments * Update symbols in WakeupReason enum * fmt --------- Co-authored-by: Anthony Grondin <104731965+AnthonyGrondin@users.noreply.github.com>
63 lines
930 B
TOML
63 lines
930 B
TOML
[device]
|
|
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",
|
|
"sdmmc",
|
|
"sens",
|
|
"sha",
|
|
"slc",
|
|
"slchost",
|
|
"spi0",
|
|
"spi1",
|
|
"spi2",
|
|
"spi3",
|
|
"timg0",
|
|
"timg1",
|
|
"twai0",
|
|
"uart0",
|
|
"uart1",
|
|
"uart2",
|
|
"uhci0",
|
|
"uhci1",
|
|
|
|
# Additional peripherals defined by us (the developers):
|
|
"adc",
|
|
"dac",
|
|
"pdma",
|
|
"radio",
|
|
|
|
# Wakeup SOC based on ESP-IDF:
|
|
"pm_support_ext0_wakeup",
|
|
"pm_support_ext1_wakeup",
|
|
"pm_support_touch_sensor_wakeup",
|
|
"ulp_supported",
|
|
]
|