add blocking option to i2c, remove unnecesary GNU_SOURCE and protect pthread_setname from mac (#2260)

* add blocking option to i2c with configurable timeout
* remove unnecesary GNU_SOURCE
* protect pthread_setname from mac
This commit is contained in:
Kirk Scheper
2018-05-09 16:58:06 +02:00
committed by Gautier Hattenberger
parent f03b3876bf
commit 1d66b19adc
20 changed files with 130 additions and 63 deletions
+1
View File
@@ -56,6 +56,7 @@ CFLAGS += -O$(OPT)
CFLAGS += -g
CFLAGS += -std=gnu99
CFLAGS += $(shell pkg-config --cflags-only-I ivy-glib)
CFLAGS += -D_GNU_SOURCE
LDFLAGS = -lm
LDFLAGS += $(BOARD_LDFLAGS)