Juraj Sadel 0244c6d6fc
Feature/reset functionalities (#452)
* 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>
2023-03-24 20:37:24 +01:00

44 lines
717 B
TOML

[device]
arch = "riscv"
cores = "single_core"
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",
# Additional peripherals defined by us (the developers):
"adc",
"gdma",
"radio",
# Wakeup SOC based on ESP-IDF:
"pm_support_wifi_wakeup",
"pm_support_bt_wakeup",
"uart_support_wakeup_int",
"gpio_support_deepsleep_wakeup",
]