Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions esp-metadata-generated/src/_build_script_utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3316,6 +3316,8 @@ impl Chip {
"rng_apb_cycle_wait_num=\"16\"",
"sha_dma",
"soc_cpu_has_branch_predictor",
"soc_cpu_csr_prv_mode=\"2064\"",
"soc_cpu_csr_prv_mode_is_set",
"soc_rc_fast_clk_default=\"17500000\"",
"soc_rc_fast_clk_default_is_set",
"soc_has_clock_node_xtal_clk",
Expand Down Expand Up @@ -3524,6 +3526,8 @@ impl Chip {
"cargo:rustc-cfg=rng_apb_cycle_wait_num=\"16\"",
"cargo:rustc-cfg=sha_dma",
"cargo:rustc-cfg=soc_cpu_has_branch_predictor",
"cargo:rustc-cfg=soc_cpu_csr_prv_mode=\"2064\"",
"cargo:rustc-cfg=soc_cpu_csr_prv_mode_is_set",
"cargo:rustc-cfg=soc_rc_fast_clk_default=\"17500000\"",
"cargo:rustc-cfg=soc_rc_fast_clk_default_is_set",
"cargo:rustc-cfg=soc_has_clock_node_xtal_clk",
Expand Down
6 changes: 6 additions & 0 deletions esp-metadata-generated/src/_generated_esp32c61.rs
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,12 @@ macro_rules! property {
("soc.multi_core_enabled") => {
false
};
("soc.cpu_csr_prv_mode") => {
2064
};
("soc.cpu_csr_prv_mode", str) => {
stringify!(2064)
};
("soc.rc_fast_clk_default") => {
17500000
};
Expand Down
2 changes: 1 addition & 1 deletion esp-metadata/devices/esp32c61.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ symbols = [
[device.soc]
cpu_has_branch_predictor = true
cpu_has_csr_pc = false
cpu_has_prv_mode = true # TODO
cpu_csr_prv_mode = 0x810
rc_fast_clk_default = 17_500_000

memory_map = { ranges = [
Expand Down
1 change: 0 additions & 1 deletion esp-metadata/devices/esp32p4.toml
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,6 @@ supports_enhanced_security = true
[device.gpio]
support_status = "partial"
has_bank_1 = true
separate_in_out_interrupts = true
gpio_function = 1
constant_0_input = 0x3E
constant_1_input = 0x3F
Expand Down
2 changes: 0 additions & 2 deletions esp-metadata/devices/esp32s2.toml
Original file line number Diff line number Diff line change
Expand Up @@ -300,8 +300,6 @@ engines = [
support_status = "supported"
has_bank_1 = true
gpio_function = 1
input_signal_max = 204
output_signal_max = 256
constant_0_input = 0x3c
constant_1_input = 0x38
pins = [
Expand Down
1 change: 1 addition & 0 deletions esp-metadata/src/cfg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ macro_rules! driver_configs {
}
) => {
#[derive(Debug, Clone, serde::Deserialize)]
#[serde(deny_unknown_fields)]
pub(crate) struct $struct {
#[serde(default)]
#[serde(deserialize_with = "crate::support_status::string_or_struct")]
Expand Down
Loading