Skip to content

Commit

Permalink
[NFC] Port to SDK15.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Eugene authored and technobly committed May 31, 2019
1 parent 78bdd97 commit 6fc8256
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
5 changes: 4 additions & 1 deletion platform/MCU/nRF52840/inc/sdk_config_system.h
Expand Up @@ -122,7 +122,7 @@
#define NRFX_SPIS3_ENABLED 0

#define NRFX_TIMER2_ENABLED 1
#define NRFX_TIMER4_ENABLED 0
#define NRFX_TIMER4_ENABLED 1

#define USBD_ENABLED 1
#define USBD_CONFIG_IRQ_PRIORITY APP_IRQ_PRIORITY_LOW
Expand Down Expand Up @@ -164,3 +164,6 @@
#define NFC_NDEF_MSG_TAG_TYPE 2
#define NFCT_CONFIG_IRQ_PRIORITY 7
#define HAL_NFC_NRF52840_ENGINEERING_ABC_WORKAROUND 1
#define NRFX_NFCT_ENABLED 1
#define NFC_PLATFORM_ENABLED 1
#define NFC_PLATFORM_LOG_ENABLED 0
3 changes: 2 additions & 1 deletion third_party/nrf5_sdk/build.mk
Expand Up @@ -70,7 +70,8 @@ CSRC += \
$(call target_files,$(TARGET_NRF5_SDK_NFC_SRC_PATH)/ndef/launchapp/,*.c) \
$(call target_files,$(TARGET_NRF5_SDK_NFC_SRC_PATH)/ndef/text/,*.c) \
$(call target_files,$(TARGET_NRF5_SDK_NFC_SRC_PATH)/ndef/uri/,*.c) \
$(TARGET_NRF5_SDK_NFC_SRC_PATH)/t2t_lib/hal_t2t/hal_nfc_t2t.c
$(call target_files,$(TARGET_NRF5_SDK_NFC_SRC_PATH)/platform/,*.c) \
$(TARGET_NRF5_SDK_NRFX_SRC_PATH)/drivers/src/nrfx_nfct.c

# USBD
CSRC += \
Expand Down
2 changes: 1 addition & 1 deletion third_party/nrf5_sdk/include.mk
Expand Up @@ -81,7 +81,7 @@ INCLUDE_DIRS += \
# NFC
INCLUDE_DIRS += \
$(TARGET_NRF5_SDK_NFC_PATH)/t2t_lib \
$(TARGET_NRF5_SDK_NFC_PATH)/t2t_lib/hal_t2t \
$(TARGET_NRF5_SDK_NFC_PATH)/platform \
$(TARGET_NRF5_SDK_NFC_PATH)/ndef/generic/message \
$(TARGET_NRF5_SDK_NFC_PATH)/ndef/generic/record \
$(TARGET_NRF5_SDK_NFC_PATH)/ndef/lauchapp \
Expand Down

0 comments on commit 6fc8256

Please sign in to comment.