Files
buildroot/board/stmicroelectronics/stm32f746-disco
Dario Binacchi 3eec14e664 board/stmicroelectronics/stm32f746-disco: exit post-build.sh on error
Add 'set -eu' to ensure that command failures or unset variables are
properly reported to the 'make' process. This prevents silent failures
during the image generation phase.

Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2026-01-25 21:59:31 +01:00
..

STM32F746-DISCO
===================

This tutorial describes how to use the predefined Buildroot
configuration for the STM32F746-DISCO evaluation platform.

Building
--------

  make stm32f746_disco_sd_defconfig
  make

Flashing
--------

  ./board/stmicroelectronics/stm32f746-disco/flash_sd.sh output/

It will flash the U-boot bootloader.

Creating SD card
----------------

Buildroot prepares an "sdcard.img" image in the output/images/ directory,
ready to be dumped on a SD card. Launch the following command as root:

  dd if=output/images/sdcard.img of=/dev/<your-sd-device>

*** WARNING! This will destroy all the card content. Use with care! ***

For details about the medium image layout and its content, see the
definition in board/stmicroelectronics/stm32f746-disco/genimage.cfg.