boards: arm: Enable the die-temp capabilities of ADC
-Enable the die-temp capabilities of ADC in each dts file of stm32 boards where it is available. -Execute the testcase running the samples/sensor/stm32_temp_sensor on each available target board. Signed-off-by: TLIG Dhaou <dhaou.tlig-ext@st.com>
This commit is contained in:
parent
93b4fcc611
commit
d97b51d248
|
@ -211,6 +211,16 @@ zephyr_udc0: &usbotg_fs {
|
|||
status = "okay";
|
||||
};
|
||||
|
||||
&adc4 {
|
||||
pinctrl-0 = <&adc4_in19_pb1>;
|
||||
pinctrl-names = "default";
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&die_temp {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&dac1 {
|
||||
pinctrl-0 = <&dac1_out1_pa4>;
|
||||
pinctrl-names = "default";
|
||||
|
|
|
@ -191,6 +191,7 @@ The Zephyr b_u585i_iot02a board configuration supports the following hardware fe
|
|||
| USB | on-chip | usb_device |
|
||||
+-----------+------------+-------------------------------------+
|
||||
| PWM | on-chip | pwm |
|
||||
| die-temp | on-chip | die temperature sensor |
|
||||
+-----------+------------+-------------------------------------+
|
||||
|
||||
The default configuration can be found in the defconfig file:
|
||||
|
|
|
@ -275,6 +275,10 @@ zephyr_udc0: &usbotg_fs {
|
|||
status = "okay";
|
||||
};
|
||||
|
||||
&die_temp {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&dac1 {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&dac1_out1_pa4>;
|
||||
|
|
|
@ -131,6 +131,8 @@ The Zephyr Disco L475 IoT board configuration supports the following hardware fe
|
|||
+-----------+------------+-------------------------------------+
|
||||
| QSPI NOR | on-chip | off-chip flash |
|
||||
+-----------+------------+-------------------------------------+
|
||||
| die-temp | on-chip | die temperature sensor |
|
||||
+-----------+------------+-------------------------------------+
|
||||
|
||||
Other hardware features are not yet supported on this Zephyr port.
|
||||
|
||||
|
|
|
@ -106,6 +106,8 @@ The Zephyr nucleo_f091rc board configuration supports the following hardware fea
|
|||
+-----------+------------+-------------------------------------+
|
||||
| DMA | on-chip | Direct Memory Access |
|
||||
+-----------+------------+-------------------------------------+
|
||||
| die-temp | on-chip | die temperature sensor |
|
||||
+-----------+------------+-------------------------------------+
|
||||
|
||||
Other hardware features are not yet supported in this Zephyr port.
|
||||
|
||||
|
|
|
@ -142,6 +142,10 @@
|
|||
status = "okay";
|
||||
};
|
||||
|
||||
&die_temp {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&dac1 {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&dac_out1_pa4>;
|
||||
|
|
|
@ -97,6 +97,8 @@ The Zephyr nucleo_f103rb board configuration supports the following hardware fea
|
|||
+-----------+------------+-------------------------------------+
|
||||
| DMA | on-chip | Direct Memory Access |
|
||||
+-----------+------------+-------------------------------------+
|
||||
| die-temp | on-chip | die temperature sensor |
|
||||
+-----------+------------+-------------------------------------+
|
||||
|
||||
Other hardware features are not yet supported in this Zephyr port.
|
||||
|
||||
|
|
|
@ -125,6 +125,10 @@
|
|||
status = "okay";
|
||||
};
|
||||
|
||||
&die_temp {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&dma1 {
|
||||
status = "okay";
|
||||
};
|
||||
|
|
|
@ -106,6 +106,8 @@ The Zephyr nucleo_207zg board configuration supports the following hardware feat
|
|||
+-------------+------------+-------------------------------------+
|
||||
| DMA | on-chip | Direct Memory Access |
|
||||
+-------------+------------+-------------------------------------+
|
||||
| die-temp | on-chip | die temperature sensor |
|
||||
+-------------+------------+-------------------------------------+
|
||||
|
||||
Other hardware features are not yet supported on this Zephyr port.
|
||||
|
||||
|
|
|
@ -151,6 +151,10 @@ zephyr_udc0: &usbotg_fs {
|
|||
status = "okay";
|
||||
};
|
||||
|
||||
&die_temp {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&dma2 {
|
||||
status = "okay";
|
||||
};
|
||||
|
|
|
@ -87,6 +87,8 @@ The Zephyr nucleo_401re board configuration supports the following hardware feat
|
|||
+-----------+------------+-------------------------------------+
|
||||
| WATCHDOG | on-chip | System Window Watchdog |
|
||||
+-----------+------------+-------------------------------------+
|
||||
| die-temp | on-chip | die temperature sensor |
|
||||
+-----------+------------+-------------------------------------+
|
||||
|
||||
Other hardware features are not yet supported on Zephyr porting.
|
||||
|
||||
|
|
|
@ -164,6 +164,10 @@
|
|||
status = "okay";
|
||||
};
|
||||
|
||||
&die_temp {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&wwdg {
|
||||
status = "okay";
|
||||
};
|
||||
|
|
|
@ -111,6 +111,8 @@ The Zephyr nucleo_f429zi board configuration supports the following hardware fea
|
|||
+-----------+------------+-------------------------------------+
|
||||
| DMA | on-chip | Direct Memory Access |
|
||||
+-----------+------------+-------------------------------------+
|
||||
| die-temp | on-chip | die temperature sensor |
|
||||
+-----------+------------+-------------------------------------+
|
||||
|
||||
Other hardware features are not yet supported on this Zephyr port.
|
||||
|
||||
|
|
|
@ -84,6 +84,10 @@
|
|||
status = "okay";
|
||||
};
|
||||
|
||||
&die_temp {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&dac1 {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&dac_out1_pa4>;
|
||||
|
|
|
@ -172,6 +172,10 @@ zephyr_udc0: &usbotg_fs {
|
|||
status = "okay";
|
||||
};
|
||||
|
||||
&die_temp {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&mac {
|
||||
status = "okay";
|
||||
pinctrl-0 = <ð_mdc_pc1
|
||||
|
|
|
@ -112,6 +112,8 @@ The Zephyr nucleo_g071rb board configuration supports the following hardware fea
|
|||
+-----------+------------+-------------------------------------+
|
||||
| DAC | on-chip | dac |
|
||||
+-----------+------------+-------------------------------------+
|
||||
| die-temp | on-chip | die temperature sensor |
|
||||
+-----------+------------+-------------------------------------+
|
||||
|
||||
Other hardware features are not yet supported in this Zephyr port.
|
||||
|
||||
|
|
|
@ -157,6 +157,10 @@
|
|||
pinctrl-names = "default";
|
||||
};
|
||||
|
||||
&die_temp {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&flash0 {
|
||||
partitions {
|
||||
compatible = "fixed-partitions";
|
||||
|
|
|
@ -108,6 +108,8 @@ The Zephyr nucleo_g0b1re board configuration supports the following hardware fea
|
|||
+-----------+------------+-------------------------------------+
|
||||
| DAC | on-chip | dac |
|
||||
+-----------+------------+-------------------------------------+
|
||||
| die-temp | on-chip | die temperature sensor |
|
||||
+-----------+------------+-------------------------------------+
|
||||
|
||||
Other hardware features are not yet supported in this Zephyr port.
|
||||
|
||||
|
|
|
@ -167,6 +167,10 @@ zephyr_udc0: &usb {
|
|||
status = "okay";
|
||||
};
|
||||
|
||||
&die_temp {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&dac1 {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&dac1_out1_pa4>;
|
||||
|
|
|
@ -127,6 +127,8 @@ The Zephyr nucleo_g474re board configuration supports the following hardware fea
|
|||
+-----------+------------+-------------------------------------+
|
||||
| SPI | on-chip | spi |
|
||||
+-----------+------------+-------------------------------------+
|
||||
| die-temp | on-chip | die temperature sensor |
|
||||
+-----------+------------+-------------------------------------+
|
||||
|
||||
Other hardware features are not yet supported on this Zephyr port.
|
||||
|
||||
|
|
|
@ -170,6 +170,10 @@
|
|||
status = "okay";
|
||||
};
|
||||
|
||||
&die_temp {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&dac1 {
|
||||
pinctrl-0 = <&dac1_out1_pa4>;
|
||||
pinctrl-names = "default";
|
||||
|
|
|
@ -129,6 +129,8 @@ features:
|
|||
+-------------+------------+-------------------------------------+
|
||||
| CAN/CANFD | on-chip | canbus |
|
||||
+-------------+------------+-------------------------------------+
|
||||
| die-temp | on-chip | die temperature sensor |
|
||||
+-------------+------------+-------------------------------------+
|
||||
|
||||
Other hardware features are not yet supported on this Zephyr port.
|
||||
|
||||
|
|
|
@ -128,6 +128,16 @@ zephyr_udc0: &usbotg_fs {
|
|||
status = "okay";
|
||||
};
|
||||
|
||||
&die_temp {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&adc3 {
|
||||
pinctrl-0 = <&adc3_inp5_pf3>;
|
||||
pinctrl-names = "default";
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&dac1 {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&dac1_out1_pa4>;
|
||||
|
|
|
@ -102,6 +102,8 @@ The Zephyr nucleo_l073rz board configuration supports the following hardware fea
|
|||
+-----------+------------+-------------------------------------+
|
||||
| RNG | on-chip | Random Number Generator |
|
||||
+-----------+------------+-------------------------------------+
|
||||
| die-temp | on-chip | die temperature sensor |
|
||||
+-----------+------------+-------------------------------------+
|
||||
|
||||
Other hardware features are not yet supported in this Zephyr port.
|
||||
|
||||
|
|
|
@ -112,6 +112,10 @@
|
|||
status = "okay";
|
||||
};
|
||||
|
||||
&die_temp {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&dac1 {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&dac_out1_pa4>;
|
||||
|
|
|
@ -100,6 +100,8 @@ The Zephyr nucleo_l152re board configuration supports the following hardware fea
|
|||
+-----------+------------+-------------------------------------+
|
||||
| DMA | on-chip | Direct Memory Access |
|
||||
+-----------+------------+-------------------------------------+
|
||||
| die-temp | on-chip | die temperature sensor |
|
||||
+-----------+------------+-------------------------------------+
|
||||
|
||||
Other hardware features are not yet supported in this Zephyr port.
|
||||
|
||||
|
|
|
@ -94,6 +94,10 @@
|
|||
status = "okay";
|
||||
};
|
||||
|
||||
&die_temp {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&dac1 {
|
||||
status = "okay";
|
||||
pinctrl-0 = <&dac_out1_pa4>;
|
||||
|
|
|
@ -163,6 +163,8 @@ hardware features:
|
|||
| UART | on-chip | serial port-polling; |
|
||||
| | | serial port-interrupt |
|
||||
+-----------+------------+-------------------------------------+
|
||||
| die-temp | on-chip | die temperature sensor |
|
||||
+-----------+------------+-------------------------------------+
|
||||
|
||||
The default configuration can be found in the defconfig and dts files:
|
||||
|
||||
|
|
|
@ -73,6 +73,10 @@
|
|||
status = "okay";
|
||||
};
|
||||
|
||||
&die_temp {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&lpuart1 {
|
||||
pinctrl-0 = <&lpuart1_tx_pg7 &lpuart1_rx_pg8>;
|
||||
pinctrl-names = "default";
|
||||
|
|
|
@ -173,6 +173,8 @@ The Zephyr nucleo_wb55rg board configuration supports the following hardware fea
|
|||
+-----------+------------+-------------------------------------+
|
||||
| RADIO | on-chip | Bluetooth Low Energy |
|
||||
+-----------+------------+-------------------------------------+
|
||||
| die-temp | on-chip | die temperature sensor |
|
||||
+-----------+------------+-------------------------------------+
|
||||
|
||||
Other hardware features are not yet supported on this Zephyr port.
|
||||
|
||||
|
|
|
@ -85,6 +85,10 @@
|
|||
};
|
||||
};
|
||||
|
||||
&die_temp {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&clk_hse {
|
||||
status = "okay";
|
||||
};
|
||||
|
|
|
@ -208,6 +208,8 @@ features:
|
|||
+-----------+------------+-------------------------------------+
|
||||
| DAC | on-chip | DAC Controller |
|
||||
+-----------+------------+-------------------------------------+
|
||||
| die-temp | on-chip | die temperature sensor |
|
||||
+-----------+------------+-------------------------------------+
|
||||
|
||||
Other hardware features are not yet supported on this Zephyr port.
|
||||
|
||||
|
|
|
@ -161,6 +161,10 @@
|
|||
status = "okay";
|
||||
};
|
||||
|
||||
&die_temp {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&aes {
|
||||
status = "okay";
|
||||
};
|
||||
|
|
|
@ -56,6 +56,8 @@ hardware features:
|
|||
+-----------+------------+-------------------------------------+
|
||||
| WATCHDOG | on-chip | independent watchdog |
|
||||
+-----------+------------+-------------------------------------+
|
||||
| die-temp | on-chip | die temperature sensor |
|
||||
+-----------+------------+-------------------------------------+
|
||||
|
||||
Other hardware features are not yet supported on this Zephyr porting.
|
||||
|
||||
|
|
|
@ -11,3 +11,4 @@ flash: 16
|
|||
supported:
|
||||
- uart
|
||||
- gpio
|
||||
- adc
|
||||
|
|
|
@ -109,6 +109,8 @@ features:
|
|||
+-----------+------------+-------------------------------------+
|
||||
| DMA | on-chip | Direct Memory Access |
|
||||
+-----------+------------+-------------------------------------+
|
||||
| die-temp | on-chip | die temperature sensor |
|
||||
+-----------+------------+-------------------------------------+
|
||||
|
||||
Other hardware features are not yet supported on Zephyr porting.
|
||||
|
||||
|
|
|
@ -208,6 +208,10 @@ zephyr_udc0: &usb {
|
|||
status = "okay";
|
||||
};
|
||||
|
||||
&die_temp {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&dac1 {
|
||||
status = "okay";
|
||||
/* dac output pins(pa4,pa5,pa6) might conflict with spi1 pins */
|
||||
|
|
Loading…
Reference in a new issue