Skip to content

alx741/stm32f1-minimal-lib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Library for STM32F1 devices

Using

Compile the library

$ make

Copy the content of the example directory to your project

$ cp example/* ~/me/my-project

Configure the parameters in the Makefile

  • STM32F1LIB_DIR
  • SRC_DIR
  • BINARY
  • LINKER_SCRIPT (for the specific part you're using)

Implemented

  • Low level registers are available in f1.h to be used like in register.bit = value;
  • RCC
  • CMSIS (partial)
  • USART (works well with stdio functions like printf, fgets, etc)
  • I2C

External drivers

  • MPU6050

Releases

No releases published

Packages

No packages published