Fixed "Error: SVC is not permitted on this architecture" error on newer ARM compilers
[nrf5x-base-fork.git] / Makefile.example
blob3841f10ab1394b02b4e202cf80a793809a29f79e
1 PROJECT_NAME = $(shell basename "$(realpath ./)")
3 APPLICATION_SRCS = $(notdir $(wildcard ./*.c))
4 # Various C libraries that need to be included
5 APPLICATION_SRCS += softdevice_handler.c
6 APPLICATION_SRCS += ble_advdata.c
7 APPLICATION_SRCS += ble_conn_params.c
8 APPLICATION_SRCS += app_timer.c
9 APPLICATION_SRCS += ble_srv_common.c
10 APPLICATION_SRCS += app_util_platform.c
11 APPLICATION_SRCS += nrf_drv_common.c
12 APPLICATION_SRCS += nrf_delay.c
13 APPLICATION_SRCS += led.c
14 APPLICATION_SRCS += simple_ble.c
15 APPLICATION_SRCS += simple_adv.c
16 # Add other libraries here!
18 # platform-level headers and source files
19 LIBRARY_PATHS += ../../include
20 SOURCE_PATHS += ../../src
22 # Set the softdevice needed for the application
23 SOFTDEVICE_MODEL = s110
25 # Include the main Makefile
26 NRF_BASE_PATH ?= ../../nrf5x-base
27 include $(NRF_BASE_PATH)/make/Makefile