summaryrefslogtreecommitdiff
path: root/software/i2c_demo/Makefile
diff options
context:
space:
mode:
authorPalmer Dabbelt <palmer@dabbelt.com>2018-12-12 14:41:14 -0800
committerGitHub <noreply@github.com>2018-12-12 14:41:14 -0800
commit474a5d8caa46d0b679fe56809fd84c182e52472b (patch)
tree130902240e5723cda31d281d4f449528497e6717 /software/i2c_demo/Makefile
parent4198eb81edf7a25cfcbfed9b520b12ef06d08d02 (diff)
parent6947560e75b012a703979b5141f82ec2fc73b932 (diff)
Merge pull request #102 from hasanunlu/master
HiFive-1 board bit-bang i2c demo
Diffstat (limited to 'software/i2c_demo/Makefile')
-rw-r--r--software/i2c_demo/Makefile6
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