The STM32F4 Discovery is an ARM development board based on the ST Micro STM32F407 SoC.
It has an onboard LIS302DL or LIS3DSH accelerometer, MP45DT02 MEMS digital microphone, an CS43L22 audio DAC, 2 user buttons, and 4 user LEDs.
Interface | Hardware Supported | TinyGo Support |
---|---|---|
GPIO | YES | YES |
UART | YES | YES |
SPI | YES | Not yet |
I2C | YES | Not yet |
ADC | YES | Not yet |
PWM | YES | Not yet |
Documentation for the machine package for the STM32F4 Discovery
Programs are loaded onto the STM32F4 Discovery with the onboard STLink v2 hardware programmer, using the openocd
command line utility program to perform the board flashing. You must install OpenOCD before you will be able to flash the STM32F4 Discovery board with your TinyGo code.
tinygo flash -target=stm32f4disco