Added BMP180 and I2C driver and example

Fixed reference to unknown environment var
Moved drivers into extras folder and added additional documentations.
Changed LOCAL to static and renamed DEBUG to BMP180_DEBUG
This commit is contained in:
Angus71 2015-08-25 14:45:48 +02:00
parent 22d35ed5f2
commit fd1081a0cc
14 changed files with 996 additions and 0 deletions

9
extras/i2c/component.mk Normal file
View file

@ -0,0 +1,9 @@
# Component makefile for extras/i2c
INC_DIRS += $(ROOT)extras
# args for passing into compile rule generation
extras/i2c_INC_DIR = $(ROOT)extras
extras/i2c_SRC_DIR = $(ROOT)extras/i2c
$(eval $(call component_compile_rules,extras/i2c))