- git clone https://github.com/Ciusss89/_stm32_app.git
- cd app
- git submodule update --init # (Only needed once)
- make -C libopencm3 # (Only needed once)
- make
- write the firmware on the device: st-flash write *.bin 0x8000000
- app contains: your application
- common-code: contains something shared.
- app/old_main: contains the examples, check the instructions in the dir.
The Nucleo board has debug chip on-board. It connectes its virtual COM ( /dev/ttyACM0 ) to the SUART2 of the mcu:
sudo picocom -b 115200 /dev/ttyACM0
The Nucleo-F401 is a board from ST's Nucleo family supporting a ARM Cortex-M4 STM32F401RE microcontroller with 96Kb of SRAM and 512Kb of ROM Flash.
MCU | STM32F401RE |
---|---|
Family | ARM Cortex-M4 |
Vendor | ST Microelectronics |
RAM | 96Kb |
Flash | 512Kb |
Frequency | up to 84MHz |
FPU | yes |
Timers | 11 (2x watchdog, 1 SysTick, 6x 16-bit, 2x 32-bit [TIM2]) |
ADCs | 1x 12-bit |
UARTs | 3 |
SPIs | 4 |
I2Cs | 3 |
RTC | 1 |
Vcc | 2.0V - 3.6V |
Datasheet | Datasheet |
Reference Manual | Reference Manual |
Programming Manual | Programming Manual |
Board Manual | Board Manual |