Files
lk/target/nrf-pca10056/rules.mk
Eric Holland 668be9d9fa [nrf52][i2c] Add nrfx i2c driver
Use twim(i2c) driver from nrfx library.  See comments and patterns in
target/nrf-pca10056 for info on how to properly utilize driver as it
requires some GLOBAL_DEFINES and gpio defines.
2020-09-28 09:07:27 -04:00

22 lines
296 B
Makefile

LOCAL_DIR := $(GET_LOCAL_DIR)
MODULE := $(LOCAL_DIR)
NRF52_CHIP := nrf52840-qiaa
PLATFORM := nrf52xxx
GLOBAL_DEFINES += \
ENABLE_UART0=1 \
NRFX_USBD_ENABLED=1 \
NRFX_TWIM_ENABLED=1 \
NRFX_TWIM0_ENABLED=1 \
NRF52840_XXAA \
MODULE_SRCS += \
$(LOCAL_DIR)/init.c
include make/module.mk