mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #14092 from hugueskamba/hk_nfc_m24sr_support
NFC: Add support for M24SR driverpull/14031/head
commit
04100a14c2
|
@ -4,3 +4,7 @@
|
|||
if("PN512" IN_LIST MBED_TARGET_LABELS)
|
||||
add_subdirectory(PN512)
|
||||
endif()
|
||||
|
||||
if("M24SR" IN_LIST MBED_TARGET_LABELS)
|
||||
add_subdirectory(TARGET_M24SR)
|
||||
endif()
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
# Copyright (c) 2020 ARM Limited. All rights reserved.
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
target_include_directories(mbed-nfc
|
||||
INTERFACE
|
||||
include
|
||||
include/nfc
|
||||
)
|
||||
|
||||
target_sources(mbed-nfc
|
||||
INTERFACE
|
||||
source/m24sr_driver.cpp
|
||||
)
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
"name": "M24SR-nfc",
|
||||
"config": {
|
||||
"X_NUCLEO_NFC01A1": {
|
||||
"macro_name": "MBED_CONF_X_NUCLEO_NFC01A1",
|
||||
"value": false,
|
||||
"help": "Device is using an X-NUCLEO-NFC01A1 shield attached through an arduino header"
|
||||
},
|
||||
"nfceeprom": {
|
||||
"macro_name": "MBED_CONF_NFCEEPROM",
|
||||
"value": true,
|
||||
"help": "Device supports NFC EEPROM"
|
||||
}
|
||||
}
|
||||
}
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue