Skip to content
This repository has been archived by the owner on Mar 12, 2019. It is now read-only.

ChibiOS/ChibiOS-Drivers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ChibiOS-Drivers

Collection of drivers for ChibiOS' HAL.

This repo is being deprecated. Please consider using ChibiOS-Contrib instead.

Using

  • Clone this repo in the same directory as ChibiOS-RT. (not inside)
  • Include the drivers.mk file into your project's Makefile ( include $(CHIBIOS)/../ChibiOS-Drivers/drivers.mk )
  • Add the required files lists to the CSRC and CINC lists ( Usually $(STM32DRIVERSRC) and $(STM32DRIVERINC) )
  • Include the drivers.h file in main.c, and anywhere else needed
  • Add a driversInit() call just below halInit()
  • include drivers_conf.h at the top of mcuconf.h
  • You might have to tweak extra_registry.h and drivers_conf.h depending on your hardware

Everything else works like using a standard driver.
So far only drivers for STM32.

Drivers list

  • Digital Analog Converter (dac), with optional DMA transfers
  • Timer input capture (timcap), works on all channels simultaneously
  • Independent watchdog timer (iwdg)
  • Interrupt based UART (iuart), in case you run out of DMA channels
  • Enhanced input capture unit (eicu).
  • Eeprom via SPI and/or I2C.

About

Deprecated, please use ChibiOS-Contrib instead.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published