Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Jacques Labaisse
Core
Commits
3735c771
Commit
3735c771
authored
Jun 07, 2021
by
Antoine Boche
Committed by
Clément Foucher
Jun 07, 2021
Browse files
Updated board ADC pin configuration.
parent
eff00d2d
Changes
2
Hide whitespace changes
Inline
Side-by-side
zephyr/dts/adc-channels.dtsi
View file @
3735c771
/ {
mychannels: adc-inputs {
compatible = "adc-inputs";
v1-low {
io-channels = <&adc2 1>;
differential;
label = "V1_LOW";
};
...
...
@@ -14,8 +12,7 @@
};
v2-low {
io-channels = <&adc2 3>;
differential;
io-channels = <&adc2 2>;
label = "V2_LOW";
};
...
...
@@ -25,8 +22,7 @@
};
v-high {
io-channels = <&adc2 11>;
differential;
io-channels = <&adc2 3>;
label = "V_HIGH";
};
...
...
@@ -34,6 +30,5 @@
io-channels = <&adc1 8>;
label = "I_HIGH";
};
};
};
zephyr/nucleo_g474re.overlay
View file @
3735c771
...
...
@@ -12,7 +12,7 @@
};
&adc2 {
pinctrl-0 = <&adc2_in1_pa0 &adc2_in2_pa1 &adc2_in3_pa6
&adc2_in4_pa7 &adc2_in11_pc5 &adc2_in12_pb2
>;
pinctrl-0 = <&adc2_in1_pa0 &adc2_in2_pa1 &adc2_in3_pa6>;
status = "okay";
};
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment