Skip to content

Commit 05f903f

Browse files
gmarullnashif
authored andcommitted
boards: arm: nucleo_f207zg: enable backup SRAM
Enable backup SRAM DT node and update documentation. Signed-off-by: Gerard Marull-Paretas <[email protected]>
1 parent fb01820 commit 05f903f

File tree

3 files changed

+35
-22
lines changed

3 files changed

+35
-22
lines changed

boards/arm/nucleo_f207zg/doc/index.rst

Lines changed: 30 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -72,28 +72,30 @@ Supported Features
7272

7373
The Zephyr nucleo_207zg board configuration supports the following hardware features:
7474

75-
+-----------+------------+-------------------------------------+
76-
| Interface | Controller | Driver/Component |
77-
+===========+============+=====================================+
78-
| NVIC | on-chip | nested vector interrupt controller |
79-
+-----------+------------+-------------------------------------+
80-
| UART | on-chip | serial port-polling; |
81-
| | | serial port-interrupt |
82-
+-----------+------------+-------------------------------------+
83-
| PINMUX | on-chip | pinmux |
84-
+-----------+------------+-------------------------------------+
85-
| GPIO | on-chip | gpio |
86-
+-----------+------------+-------------------------------------+
87-
| ETHERNET | on-chip | Ethernet |
88-
+-----------+------------+-------------------------------------+
89-
| USB | on-chip | USB device |
90-
+-----------+------------+-------------------------------------+
91-
| WATCHDOG | on-chip | independent watchdog |
92-
+-----------+------------+-------------------------------------+
93-
| ADC | on-chip | ADC Controller |
94-
+-----------+------------+-------------------------------------+
95-
| DAC | on-chip | DAC Controller |
96-
+-----------+------------+-------------------------------------+
75+
+-------------+------------+-------------------------------------+
76+
| Interface | Controller | Driver/Component |
77+
+=============+============+=====================================+
78+
| NVIC | on-chip | nested vector interrupt controller |
79+
+-------------+------------+-------------------------------------+
80+
| UART | on-chip | serial port-polling; |
81+
| | | serial port-interrupt |
82+
+-------------+------------+-------------------------------------+
83+
| PINMUX | on-chip | pinmux |
84+
+-------------+------------+-------------------------------------+
85+
| GPIO | on-chip | gpio |
86+
+-------------+------------+-------------------------------------+
87+
| ETHERNET | on-chip | Ethernet |
88+
+-------------+------------+-------------------------------------+
89+
| USB | on-chip | USB device |
90+
+-------------+------------+-------------------------------------+
91+
| WATCHDOG | on-chip | independent watchdog |
92+
+-------------+------------+-------------------------------------+
93+
| ADC | on-chip | ADC Controller |
94+
+-------------+------------+-------------------------------------+
95+
| DAC | on-chip | DAC Controller |
96+
+-------------+------------+-------------------------------------+
97+
| Backup SRAM | on-chip | Backup SRAM |
98+
+-------------+------------+-------------------------------------+
9799

98100
Other hardware features are not yet supported on this Zephyr port.
99101

@@ -171,6 +173,12 @@ Nucleo F207ZG board has a USB OTG dual-role device (DRD) controller that
171173
supports both device and host functions through its micro USB connector
172174
(USB USER). Only USB device function is supported in Zephyr at the moment.
173175

176+
Backup SRAM
177+
-----------
178+
179+
In order to test backup SRAM you may want to disconnect VBAT from VDD. You can
180+
do it by removing ``SB156`` jumper on the back side of the board.
181+
174182
Programming and Debugging
175183
*************************
176184

boards/arm/nucleo_f207zg/nucleo_f207zg.dts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,3 +99,7 @@
9999
status = "okay";
100100
pinctrl-0 = <&dac_out1_pa4>;
101101
};
102+
103+
&backup_sram {
104+
status = "okay";
105+
};

boards/arm/nucleo_f207zg/nucleo_f207zg.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,4 @@ supported:
1616
- counter
1717
- adc
1818
- dac
19+
- backup_sram

0 commit comments

Comments
 (0)