mirror of https://github.com/ARMmbed/mbed-os.git
NFC: Add support for M24SR driver
The repository https://github.com/ARMmbed/mbed-nfc-m24sr is no longer required to build applications that require this driver.pull/14092/head
parent
5f541b22d0
commit
d0076a9e61
|
@ -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