diff options
author | Hasan Unlu <hasanunlu9@gmail.com> | 2018-08-28 22:12:26 -0700 |
---|---|---|
committer | Hasan Unlu <hasanunlu9@gmail.com> | 2018-09-06 10:35:25 -0700 |
commit | 6947560e75b012a703979b5141f82ec2fc73b932 (patch) | |
tree | 1b40dc69054521bf657fecd7533fbe2f356dce88 /software/i2c_demo/Makefile | |
parent | c38ec96f8e159878dd1f4fb83da14a0dd7f8d68f (diff) |
HiFive-1 board bit-bang i2c demo
Bit-bang i2c which is running around 400KHz. MPU6050 is used as an example device.
Diffstat (limited to 'software/i2c_demo/Makefile')
-rw-r--r-- | software/i2c_demo/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
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 |