Skip to content

Commit

Permalink
board/stm32f746g-disco: doc fix for SDRAM
Browse files Browse the repository at this point in the history
  • Loading branch information
gschorcht committed Jul 28, 2023
1 parent c4a1802 commit f761e2d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions boards/stm32f746g-disco/Makefile.include
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,6 @@ PROGRAMMERS_SUPPORTED += openocd
# use connect_assert_srst to always be able to flash or reset the board.
OPENOCD_RESET_USE_CONNECT_ASSERT_SRST ?= 1

# heap configuration
FMC_RAM_ADDR=0xc0000000
FMC_RAM_LEN=8192K
2 changes: 1 addition & 1 deletion boards/stm32f746g-disco/doc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Current hardware support:
| Capacitive touch screen | X | |
| User microphones | - | |
| External Quad-SPI Flash | - | |
| External SDRAM | - | |
| External SDRAM | X | |

## Flashing the device

Expand Down
2 changes: 1 addition & 1 deletion boards/stm32f746g-disco/include/periph_conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ static const fmc_bank_conf_t fmc_bank_config[] = {
.bank = FMC_BANK_5,
.mem_type = FMC_SDRAM,
.data_width = FMC_BUS_WIDTH_16BIT,
.address = 0xc0000000, /* Bank 6 is mapped to 0xd0000000 */
.address = 0xc0000000, /* Bank 6 is mapped to 0xc0000000 */
.size = MiB(8), /* Size in MByte, 4M x 16 Bit */
.sdram = {
.clk_period = 2, /* SDCLK = 2 x HCLK */
Expand Down

0 comments on commit f761e2d

Please sign in to comment.