37 lines
1.6 KiB
Makefile
37 lines
1.6 KiB
Makefile
CPU = cortex-m4
|
|
CROSS_COMPILE ?= arm-none-eabi-
|
|
|
|
NRF_PATH := nrf5sdk/
|
|
INCLUDES += $(NRF_PATH)components/
|
|
INCLUDES += $(NRF_PATH)modules/nrfx/mdk/
|
|
INCLUDES += $(NRF_PATH)components/libraries/strerror/
|
|
INCLUDES += $(NRF_PATH)components/softdevice/s132/headers/nrf52/
|
|
INCLUDES += $(NRF_PATH)components/toolchain/cmsis/include/
|
|
INCLUDES += $(NRF_PATH)components/libraries/util/
|
|
INCLUDES += $(NRF_PATH)components/libraries/balloc/
|
|
INCLUDES += $(NRF_PATH)components/libraries/ringbuf/
|
|
INCLUDES += $(NRF_PATH)modules/nrfx/hal/
|
|
INCLUDES += $(NRF_PATH)components/libraries/bsp/
|
|
INCLUDES += $(NRF_PATH)components/libraries/log/
|
|
INCLUDES += $(NRF_PATH)modules/nrfx/
|
|
INCLUDES += $(NRF_PATH)modules/nrfx/drivers/include/
|
|
INCLUDES += $(NRF_PATH)components/libraries/experimental_section_vars/
|
|
INCLUDES += $(NRF_PATH)components/softdevice/s132/headers/
|
|
INCLUDES += $(NRF_PATH)components/libraries/delay/
|
|
INCLUDES += $(NRF_PATH)integration/nrfx/
|
|
INCLUDES += $(NRF_PATH)integration/nrfx/legacy/
|
|
INCLUDES += $(NRF_PATH)components/libraries/atomic/
|
|
INCLUDES += $(NRF_PATH)components/boards/
|
|
INCLUDES += $(NRF_PATH)components/libraries/memobj/
|
|
INCLUDES += $(NRF_PATH)components/softdevice/common/
|
|
INCLUDES += $(NRF_PATH)external/fprintf/
|
|
INCLUDES += $(NRF_PATH)components/libraries/log/src/
|
|
|
|
NRF_C_SRCS += $(NRF_PATH)components/boards/boards.c
|
|
NRF_C_SRCS += $(NRF_PATH)modules/nrfx/mdk/system_nrf52.c
|
|
NRF_C_SRCS += $(NRF_PATH)modules/nrfx/drivers/src/nrfx_gpiote.c
|
|
NRF_C_SRCS += $(NRF_PATH)components/libraries/util/app_error.c
|
|
NRF_C_SRCS += $(NRF_PATH)components/libraries/util/app_error_weak.c
|
|
|
|
include config/build/$(PLATFORM)/Makefile.$(PLATFORM)
|