STM32VLDISCOVERY¶
Pinout¶
st-link¶
sudo apt install libusb-1.0-0-dev
git clone https://github.com/eerimoq/stlink
./autogen.sh
./configure
make
sudo cp etc/udev/rules.d/49* /etc/udev/rules.d
udevadm control --reload-rules
udevadm trigger
modprobe -r usb-storage && modprobe usb-storage quirks=483:3744:i
st-util -1
arm-none-eabi-gdb app.out
$ target extended-remote localhost:4242
Plug in the board in the PC.
Pin functions¶
These are the default pin functions in Simba.
Function | Pin |
---|---|
UART0 TX | PA9 |
UART0 RX | PA10 |
UART1 TX | PA2 |
UART1 RX | PA3 |
UART2 TX | PC10 |
UART2 RX | PC11 |
SPI0 SCK | PA5 |
SPI0 MISO | PA6 |
SPI0 MOSI | PA7 |
I2C0 SCL | PB8 |
I2C0 SDA | PB9 |
Default system features¶
The default configuration includes those major features. They are all
initialized by sys_start()
at the startup of the application.
Drivers¶
Supported drivers for this board.
Library Reference¶
Read more about board specific functionality in the STM32VLDISCOVERY module documentation in the Library Reference.
Memory usage¶
Below is the memory usage of two applications:
- The minimal-configuration application is configured to only include the bare minimum of functionality for the low level kernel to run. That is, the thread scheduler and system tick.
- The default-configuration application is built with the default configuration, including a lot more functionality. See the list of Default system features above for a summary.
Application | Flash | RAM |
---|---|---|
minimal-configuration | 4352 | 1672 |
default-configuration | 72192 | 5838 |
Default configuration¶
Default Standard Library configuration.