From 6947560e75b012a703979b5141f82ec2fc73b932 Mon Sep 17 00:00:00 2001 From: Hasan Unlu Date: Tue, 28 Aug 2018 22:12:26 -0700 Subject: HiFive-1 board bit-bang i2c demo Bit-bang i2c which is running around 400KHz. MPU6050 is used as an example device. --- software/i2c_demo/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 software/i2c_demo/Makefile (limited to 'software/i2c_demo/Makefile') diff --git a/software/i2c_demo/Makefile b/software/i2c_demo/Makefile new file mode 100644 index 0000000..ef29ef2 --- /dev/null +++ b/software/i2c_demo/Makefile @@ -0,0 +1,6 @@ +TARGET = i2c_demo +C_SRCS += i2c_demo.c +CFLAGS += -O2 -fno-builtin-printf + +BSP_BASE = ../../bsp +include $(BSP_BASE)/env/common.mk -- cgit v1.2.3