57 lines
2.9 KiB
Makefile
57 lines
2.9 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)components/libraries/util/app_error.c
|
||
|
NRF_C_SRCS += $(NRF_PATH)components/libraries/util/app_error_handler_gcc.c
|
||
|
NRF_C_SRCS += $(NRF_PATH)components/libraries/util/app_error_weak.c
|
||
|
NRF_C_SRCS += $(NRF_PATH)modules/nrfx/drivers/src/nrfx_spim.c
|
||
|
NRF_C_SRCS += $(NRF_PATH)components/libraries/log/src/nrf_log_frontend.c
|
||
|
NRF_C_SRCS += $(NRF_PATH)components/libraries/atomic/nrf_atomic.c
|
||
|
NRF_C_SRCS += $(NRF_PATH)components/libraries/log/src/nrf_log_default_backends.c
|
||
|
NRF_C_SRCS += $(NRF_PATH)components/libraries/log/src/nrf_log_backend_uart.c
|
||
|
NRF_C_SRCS += $(NRF_PATH)integration/nrfx/legacy/nrf_drv_uart.c
|
||
|
NRF_C_SRCS += $(NRF_PATH)integration/nrfx/legacy/nrf_drv_spi.c
|
||
|
NRF_C_SRCS += $(NRF_PATH)modules/nrfx/drivers/src/nrfx_uarte.c
|
||
|
NRF_C_SRCS += $(NRF_PATH)modules/nrfx/drivers/src/prs/nrfx_prs.c
|
||
|
NRF_C_SRCS += $(NRF_PATH)components/libraries/util/app_util_platform.c
|
||
|
NRF_C_SRCS += $(NRF_PATH)modules/nrfx/drivers/src/nrfx_uart.c
|
||
|
NRF_C_SRCS += $(NRF_PATH)components/libraries/log/src/nrf_log_backend_serial.c
|
||
|
NRF_C_SRCS += $(NRF_PATH)components/libraries/memobj/nrf_memobj.c
|
||
|
NRF_C_SRCS += $(NRF_PATH)components/libraries/balloc/nrf_balloc.c
|
||
|
NRF_C_SRCS += $(NRF_PATH)components/libraries/log/src/nrf_log_str_formatter.c
|
||
|
NRF_C_SRCS += $(NRF_PATH)external/fprintf/nrf_fprintf.c
|
||
|
NRF_C_SRCS += $(NRF_PATH)external/fprintf/nrf_fprintf_format.c
|
||
|
NRF_C_SRCS += $(NRF_PATH)components/libraries/ringbuf/nrf_ringbuf.c
|
||
|
NRF_C_SRCS += $(NRF_PATH)components/libraries/strerror/nrf_strerror.c
|
||
|
|
||
|
|
||
|
include config/build/$(PLATFORM)/Makefile.$(PLATFORM)
|