Board Support Package for the STM32F746G-DISCO development board.
stm32f746g_disco provides board-level abstractions and pin definitions for the STM32F746G Discovery board. It instantiates the STM32F746 HAL with board-specific configurations and provides convenient access to onboard peripherals.
- Board-specific pin definitions
- Onboard LED support
- Debug output via USART
- Pre-configured peripheral instances
- Last chance handler for runtime errors
- LCD display support (480x272 pixels)
- Touch screen interface
- Audio codec
- SDRAM (8 MB)
- QSPI Flash (16 MB)
- MCU: STM32F746NGH6
- Core: ARM Cortex-M7 @ 216 MHz
- Flash: 1 MB
- RAM: 340 KB (320 KB + 16 KB + 4 KB)
- Display: 4.3" 480x272 LCD with capacitive touch
with Board;
with Gpio;
procedure Main is
begin
Board.Initialize;
loop
Gpio.Toggle (Board.Led);
delay 0.5;
end loop;
end Main;with Debug;
Debug.Put_Line ("System initialized");Add to your alire.toml:
[[depends-on]]
stm32f746g_disco = "^0.1.0"stm32f746- STM32F746 HALgpio_generic- Generic GPIO interfacedebug_generic- Generic debug output
MIT OR Apache-2.0 WITH LLVM-exception