# This file is part of the OpenMV project. # # Copyright (c) 2013-2021 Ibrahim Abdelkader # Copyright (c) 2013-2021 Kwabena W. Agyeman # # This work is licensed under the MIT license, see the file LICENSE for details. # # NRF Makefile HAL_SRC_C += $(addprefix src/,\ nrfx_adc.c \ nrfx_clock.c \ nrfx_comp.c \ nrfx_dppi.c \ nrfx_egu.c \ nrfx_gpiote.c \ nrfx_i2s.c \ nrfx_ipc.c \ nrfx_lpcomp.c \ nrfx_nfct.c \ nrfx_nvmc.c \ nrfx_pdm.c \ nrfx_power.c \ nrfx_ppi.c \ nrfx_prs.c \ nrfx_pwm.c \ nrfx_qdec.c \ nrfx_qspi.c \ nrfx_rng.c \ nrfx_rtc.c \ nrfx_saadc.c \ nrfx_spi.c \ nrfx_spim.c \ nrfx_spis.c \ nrfx_systick.c \ nrfx_temp.c \ nrfx_timer.c \ nrfx_twi.c \ nrfx_twim.c \ nrfx_twis.c \ nrfx_twi_twim.c \ nrfx_uart.c \ nrfx_uarte.c \ nrfx_usbd.c \ nrfx_wdt.c \ ) HAL_CFLAGS += -I$(TOP_DIR)/lib/nrfx/include HAL_CFLAGS += -I$(TOP_DIR)/lib/nrfx/include/hal HAL_CFLAGS += -I$(TOP_DIR)/lib/nrfx/include/soc HAL_CFLAGS += -I$(TOP_DIR)/lib/nrfx/include/prs OMV_FIRM_OBJ += $(addprefix $(BUILD)/lib/nrfx/, $(HAL_SRC_C:.c=.o))