diff options
author | Daniel Friesel <derf@finalrewind.org> | 2018-08-16 12:58:24 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2018-08-16 12:58:24 +0200 |
commit | f6972a43581b24281b322a6f8d2bf02dafbe4433 (patch) | |
tree | 7ab50ae57739d8df9cc4a898b80c8b5c4ba9ceee /src/arch/arduino-nano/Makefile.inc | |
parent | 7343085df78d0fabedcdd69b207b2c04962cf98a (diff) |
configurable i2c bitrate on arduino nano
Diffstat (limited to 'src/arch/arduino-nano/Makefile.inc')
-rw-r--r-- | src/arch/arduino-nano/Makefile.inc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/arch/arduino-nano/Makefile.inc b/src/arch/arduino-nano/Makefile.inc index d481fa2..18a6563 100644 --- a/src/arch/arduino-nano/Makefile.inc +++ b/src/arch/arduino-nano/Makefile.inc @@ -32,6 +32,10 @@ ifneq ($(findstring stdin,${arch_drivers}), ) TARGETS += src/arch/arduino-nano/driver/stdin.cc endif +ifneq (${i2c_freq}, ) + COMMON_FLAGS += -DF_I2C=${i2c_freq} +endif + OBJECTS = ${TARGETS:.cc=.o} .cc.o: |