Skip to content

Commit 988b61f

Browse files
gmarullnashif
authored andcommitted
boards: arm: nucleo_f746zg: enable backup SRAM
Enable backup SRAM DT node and update documentation. Signed-off-by: Gerard Marull-Paretas <[email protected]>
1 parent 2a460e0 commit 988b61f

File tree

3 files changed

+39
-27
lines changed

3 files changed

+39
-27
lines changed

boards/arm/nucleo_f746zg/doc/index.rst

Lines changed: 34 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -93,33 +93,35 @@ Supported Features
9393
The Zephyr nucleo_f746zg board configuration supports the following hardware
9494
features:
9595

96-
+-----------+------------+-------------------------------------+
97-
| Interface | Controller | Driver/Component |
98-
+===========+============+=====================================+
99-
| NVIC | on-chip | nested vector interrupt controller |
100-
+-----------+------------+-------------------------------------+
101-
| UART | on-chip | serial port |
102-
+-----------+------------+-------------------------------------+
103-
| PINMUX | on-chip | pinmux |
104-
+-----------+------------+-------------------------------------+
105-
| GPIO | on-chip | gpio |
106-
+-----------+------------+-------------------------------------+
107-
| ETHERNET | on-chip | ethernet |
108-
+-----------+------------+-------------------------------------+
109-
| USB | on-chip | usb_device |
110-
+-----------+------------+-------------------------------------+
111-
| COUNTER | on-chip | rtc |
112-
+-----------+------------+-------------------------------------+
113-
| I2C | on-chip | i2c |
114-
+-----------+------------+-------------------------------------+
115-
| PWM | on-chip | pwm |
116-
+-----------+------------+-------------------------------------+
117-
| SPI | on-chip | spi |
118-
+-----------+------------+-------------------------------------+
119-
| WATCHDOG | on-chip | independent watchdog |
120-
+-----------+------------+-------------------------------------+
121-
| ADC | on-chip | ADC Controller |
122-
+-----------+------------+-------------------------------------+
96+
+-------------+------------+-------------------------------------+
97+
| Interface | Controller | Driver/Component |
98+
+=============+============+=====================================+
99+
| NVIC | on-chip | nested vector interrupt controller |
100+
+-------------+------------+-------------------------------------+
101+
| UART | on-chip | serial port |
102+
+-------------+------------+-------------------------------------+
103+
| PINMUX | on-chip | pinmux |
104+
+-------------+------------+-------------------------------------+
105+
| GPIO | on-chip | gpio |
106+
+-------------+------------+-------------------------------------+
107+
| ETHERNET | on-chip | ethernet |
108+
+-------------+------------+-------------------------------------+
109+
| USB | on-chip | usb_device |
110+
+-------------+------------+-------------------------------------+
111+
| COUNTER | on-chip | rtc |
112+
+-------------+------------+-------------------------------------+
113+
| I2C | on-chip | i2c |
114+
+-------------+------------+-------------------------------------+
115+
| PWM | on-chip | pwm |
116+
+-------------+------------+-------------------------------------+
117+
| SPI | on-chip | spi |
118+
+-------------+------------+-------------------------------------+
119+
| WATCHDOG | on-chip | independent watchdog |
120+
+-------------+------------+-------------------------------------+
121+
| ADC | on-chip | ADC Controller |
122+
+-------------+------------+-------------------------------------+
123+
| Backup SRAM | on-chip | Backup SRAM |
124+
+-------------+------------+-------------------------------------+
123125

124126
Other hardware features are not yet supported on this Zephyr port.
125127

@@ -164,6 +166,11 @@ Serial Port
164166
Nucleo F746ZG board has 4 UARTs and 4 USARTs. The Zephyr console output is
165167
assigned to UART3. Default settings are 115200 8N1.
166168

169+
Backup SRAM
170+
-----------
171+
172+
In order to test backup SRAM you may want to disconnect VBAT from VDD. You can
173+
do it by removing ``SB156`` jumper on the back side of the board.
167174

168175
Programming and Debugging
169176
*************************

boards/arm/nucleo_f746zg/nucleo_f746zg.dts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,3 +148,7 @@
148148
&eth_txd0_pg13
149149
&eth_txd1_pb13>;
150150
};
151+
152+
&backup_sram {
153+
status = "okay";
154+
};

boards/arm/nucleo_f746zg/nucleo_f746zg.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,4 @@ supported:
2424
- can
2525
- adc
2626
- dma
27+
- backup_sram

0 commit comments

Comments
 (0)