Blame view

RIOT/pkg/nordic_softdevice_ble/Makefile.include 1.12 KB
a752c7ab   elopes   add first test an...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
  NORDIC_SRCS := $(PKGDIRBASE)/nordic_softdevice_ble/src
  
  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
  
  # 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