extras: ds3231: Add support for DS3231 real-time clock (RTC)

Add support for DS3231 extremely accurate I2C real-time clock (RTC).

Signed-off-by: Bhuvanchandra DV <bhuvanchandra.dv@gmail.com>
This commit is contained in:
Bhuvanchandra 2016-07-13 02:03:23 +00:00 committed by Bhuvanchandra DV
parent 22c480b583
commit 797e3c951d
4 changed files with 484 additions and 0 deletions

View file

@ -0,0 +1,9 @@
# Component makefile for extras/ds3231
# expected anyone using bmp driver includes it as 'ds3231/ds3231.h'
INC_DIRS += $(ds3231_ROOT)..
# args for passing into compile rule generation
ds3231_SRC_DIR = $(ds3231_ROOT)
$(eval $(call component_compile_rules,ds3231))