# ChibiOS-Drivers **Repository Path**: gexingdeyun/ChibiOS-Drivers ## Basic Information - **Project Name**: ChibiOS-Drivers - **Description**: No description available - **Primary Language**: Unknown - **License**: GPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-03-26 - **Last Updated**: 2021-09-01 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README 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.