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
parent 083aa0451a
commit 782cdfd11d
4 changed files with 514 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))