modm API documentation
|
using | Board::Led = GpioInverted< GpioOutputC13 > |
using | Board::Leds = SoftwareGpioPort< Led > |
using | Board::Button = GpioInverted< GpioInputA0 > |
void | Board::initialize () |
void | Board::initializeUsb (uint8_t priority=3) |
void | Board::initializeUsbFs (uint8_t priority=3) |
using | Board::usb::Id = GpioA10 |
using | Board::usb::Dm = GpioA11 |
using | Board::usb::Dp = GpioA12 |
using | Board::usb::Device = UsbFs |
lbuild module: modm:board:black-pill-f401
STM32F401CCU "Mini-F401" Minimum System Development Board
Cheap and bread-board-friendly board for STM32F401 series. Sold for less than 4 USD on Aliexpress. Attention: There are two variants: Mini-F411 and the cheaper Mini-F401.
https://stm32-base.org/boards/STM32F401CEU6-WeAct-Black-Pill-V3.0
Since the board has no St-Link programmer on the board, you must use DFU (Device Firmware Update (via USB)) to program the board. A DFU command is integrated into the modm:build:scons
tool and can be called as follows: