2017-02-25 15:41:39 +01:00
|
|
|
NORDIC_SRCS := $(PKGDIRBASE)/nordic_softdevice_ble/src
|
2016-07-09 11:25:34 +02:00
|
|
|
|
|
|
|
INCLUDES += \
|
|
|
|
-I$(RIOTBASE)/pkg/nordic_softdevice_ble/src \
|
|
|
|
-I$(NORDIC_SRCS)/components/ble/common \
|
|
|
|
-I$(NORDIC_SRCS)/components/device \
|
|
|
|
-I$(NORDIC_SRCS)/components/iot/ble_6lowpan \
|
|
|
|
-I$(NORDIC_SRCS)/components/iot/ble_ipsp \
|
|
|
|
-I$(NORDIC_SRCS)/components/iot/common \
|
|
|
|
-I$(NORDIC_SRCS)/components/libraries/scheduler \
|
|
|
|
-I$(NORDIC_SRCS)/components/libraries/util \
|
|
|
|
-I$(NORDIC_SRCS)/components/softdevice/common/softdevice_handler \
|
|
|
|
-I$(NORDIC_SRCS)/components/softdevice/s1xx_iot/headers \
|
|
|
|
-I$(NORDIC_SRCS)/components/softdevice/s1xx_iot/headers/nrf52 \
|
|
|
|
-I$(NORDIC_SRCS)/components/toolchain
|
|
|
|
|
|
|
|
CFLAGS += -DNRF52 \
|
|
|
|
-DBLE_STACK_SUPPORT_REQD \
|
|
|
|
-DISR_STACKSIZE=8192 \
|
|
|
|
-DSOFTDEVICE_PRESENT \
|
|
|
|
-DS132
|
|
|
|
|
make: fix various compile errors with Wextra
pkg, nordic_softdevice_ble: disable CFLAGS to omit compiler error
sys, pm_layered: fix casting nonscalar to the same type
cpu, stm32_common: fix type-limits, remove always true assert
cpu, stm32f4: fix pointer arithmetic in periph/i2c
drivers, at86rf2xx: fix type-limits where condition always true
saul, gpio: fix if no gpio configured for saul
cpu, saml21: add frequency check to periph/timer
driver, cc110x: fix unused param and type-limts errors
boards, wsn430-common: fix old-style-declaration
make: fix old style definition
drivers, sdcard_spi: fix old style typedef
driver, at30tse: remove unnecessary check
driver, nrf24: fix type-limit
driver, pn532: change buffer from char to uint8_t
tests/driver_sdcard: fix type limits
boards, feather-m0: add missing field inits
driver, tcs37727: fix type limits
pkg, emb6: disable some compiler warnings
tests/emb6: disable some compiler warings
pkg, openthread: fix sign compare and unused params
tests/trickle: fix struct init
tests/pthread_cooperation: fix type limits
board, mips-malta: remove feature periph_uart
shell: fix var size for netif command
gnrc, netif: fix sign-compare
gnrc, nib: fix sign-compare
shell: fix output in netif command
posix: fix type-limits in pthread_cond
2017-10-31 11:52:18 +01:00
|
|
|
CFLAGS += -Wno-pedantic -Wno-unused-parameter -Wno-sign-compare
|
|
|
|
|
2016-07-09 11:25:34 +02:00
|
|
|
# Nordic's ble_6lowpan.a is compiled with hard-float
|
|
|
|
# so set this, otherwise linking fails
|
|
|
|
CFLAGS_FPU := -mfloat-abi=hard -mfpu=fpv4-sp-d16
|
|
|
|
|
|
|
|
DIRS += \
|
|
|
|
$(RIOTBASE)/pkg/nordic_softdevice_ble/src \
|
|
|
|
$(NORDIC_SRCS)/components/softdevice/common/softdevice_handler \
|
|
|
|
$(NORDIC_SRCS)/components/ble/common \
|
|
|
|
$(NORDIC_SRCS)/components/iot/ble_ipsp
|
2018-08-08 11:48:15 +02:00
|
|
|
|
|
|
|
# LLVM ARM assembler has massive problems digesting this
|
|
|
|
TOOLCHAINS_BLACKLIST += llvm
|