Skip to content

An attempt at a basic HID keyboard using STM32 micro's

Notifications You must be signed in to change notification settings

drjaydenm/stm32_usb_hid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

stm32_usb_hid

An attempt at a basic HID keyboard using STM32 micro's

Setup

Install the GNU Toolchain for ARM Embedded Processors

The toolchain is required to compile for the STM32 target platform

MacOS

brew tap osx-cross/arm

brew install arm-gcc-bin

brew install stlink

Building

Run the build

make

Flash to device

make flash

Inspect memory layout of image

arm-none-eabi-nm main.elf

Debugging

Using GDB - ensure st-util is running

arm-none-eabi-gdb main.elf

target extended-remote :4242

load

continue

Ctrl^C

info registers

stepi

info registers

quit

About

An attempt at a basic HID keyboard using STM32 micro's

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages