Skip to content

Commit

Permalink
boards: esp32c3: remove invalid adc1 entry.
Browse files Browse the repository at this point in the history
As a continuation of #84254, remove ADC2 support
for this remaining ESP32C3 based board targets.

Signed-off-by: Sylvio Alves <[email protected]>
  • Loading branch information
sylvioalves committed Jan 28, 2025
1 parent 8457db5 commit 3578abe
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 52 deletions.
18 changes: 1 addition & 17 deletions samples/drivers/adc/adc_dt/boards/esp32c3_devkitm.overlay
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@

/ {
zephyr,user {
io-channels =
<&adc0 0>,
<&adc1 0>;
io-channels = <&adc0 0>;
};
};

Expand All @@ -25,17 +23,3 @@
zephyr,resolution = <12>;
};
};

&adc1 {
status = "okay";
#address-cells = <1>;
#size-cells = <0>;

channel@0 {
reg = <0>;
zephyr,gain = "ADC_GAIN_1_4";
zephyr,reference = "ADC_REF_INTERNAL";
zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>;
zephyr,resolution = <12>;
};
};
18 changes: 1 addition & 17 deletions samples/drivers/adc/adc_dt/boards/esp32c3_luatos_core.overlay
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@

/ {
zephyr,user {
io-channels =
<&adc0 0>,
<&adc1 0>;
io-channels = <&adc0 0>;
};
};

Expand All @@ -25,17 +23,3 @@
zephyr,resolution = <12>;
};
};

&adc1 {
status = "okay";
#address-cells = <1>;
#size-cells = <0>;

channel@0 {
reg = <0>;
zephyr,gain = "ADC_GAIN_1_4";
zephyr,reference = "ADC_REF_INTERNAL";
zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>;
zephyr,resolution = <12>;
};
};
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@

/ {
zephyr,user {
io-channels =
<&adc0 0>,
<&adc1 0>;
io-channels = <&adc0 0>;
};
};

Expand All @@ -25,17 +23,3 @@
zephyr,resolution = <12>;
};
};

&adc1 {
status = "okay";
#address-cells = <1>;
#size-cells = <0>;

channel@0 {
reg = <0>;
zephyr,gain = "ADC_GAIN_1_4";
zephyr,reference = "ADC_REF_INTERNAL";
zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>;
zephyr,resolution = <12>;
};
};
2 changes: 1 addition & 1 deletion west.yml
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ manifest:
groups:
- hal
- name: hal_espressif
revision: 59d49a284136fb718cdd6e7b6a56d484f746d215
revision: bugfix/c90_decl
path: modules/hal/espressif
west-commands: west/west-commands.yml
groups:
Expand Down

0 comments on commit 3578abe

Please sign in to comment.