Supported boards
| Board | board_id | Available UARTs |
|---|---|---|
| STM32F4 Discovery | stm32f4_discovery | usart1, usart2, usart3, uart4, uart5 |
| STM32F7 Discovery | stm32f7_discovery | usart1, usart2, usart3, usart6 |
| STM32F103 Blue Pill | stm32f103_blue_pill | usart1, usart2, usart3, usart4, usart5 |
| STM32WBA52 Nucleo | stm32wba52_nucleo | usart1, usart2, lpuart1 |
| STM32L073 Nucleo | stm32l073_nucleo | usart1, usart2, usart4, usart5, lpuart1 |
| STM32H745 Nucleo | stm32h745_nucleo | usart1, usart2, usart3, uart4, uart5, usart6, uart7, uart8, lpuart1 |
| nRF52840 DK | nrf52840_dk | uart0, uart1 |
Example: targeting the STM32F4 Discovery
The following snippet shows a completeexecute_run invocation for the STM32F4 Discovery board, reading output from usart2:
The simulation runs the exact same binary you would flash to the physical board, no firmware changes are required. If it runs on hardware, it runs in Chiplab.
.png?fit=max&auto=format&n=-J2bCR9UMv7Nrva6&q=85&s=ec408c83c2e28e17471934023bcb3f33)
.png?fit=max&auto=format&n=-J2bCR9UMv7Nrva6&q=85&s=95df654da976a9287567ab89e32f7843)