Skip to content

Latest commit

 

History

History
88 lines (68 loc) · 1.89 KB

README.md

File metadata and controls

88 lines (68 loc) · 1.89 KB

STM32 course (updating nowadays)

"Sins are a holy thing!" - someone said.

A course on working with hardware and interaction at the lowest level. Without any libraries. Only registers, C, assembler and nothing else.

Content:

Configuration

stm32f0xx (STM32F051)

Back to Content

How to build and upload

make qemu - *necessary in the first work ''01_blinkled''

make QEMU=1

sudo make flash


** if you use WSL on Windows you should install ''usbipd'' to connect ST-Link devices.

WINDOWS TERMINAL

usbipd wsl list
usbipd wsl attach --busid={num of your port}
usbipd wsl detach --busid={num of your port}

example:

usbipd wsl list
usbipd wsl attach --busid=1-9
usbipd wsl detach --busid=1-9

Back to Content

Finished works

  • 01_blinkled
    • Emulation of alternating ignition of diodes on STM32 using QEMU on linux.
  • 02_gpio
    • The game - "finger".
    • Hysteresis - step system for buttons.
  • 03_systick
    • Testing the interrupt circuit for diodes..
  • 03_gpio_systick - Interrupts coming soon...
    • Added interrupts for "finger" (from 02_gpio)

Back to Content

Library of different schemes

02_gpio

Back to 02_gpio


Back to Content

©Copyright