From de3a54182a2552ed2b5b1934572654ef00291a5c Mon Sep 17 00:00:00 2001 From: Lingkai Dong Date: Mon, 10 Aug 2020 17:42:31 +0100 Subject: [PATCH 1/8] Move nfc into connectivity --- {features => connectivity}/nfc/acore/acore/ac_buffer.h | 0 {features => connectivity}/nfc/acore/acore/ac_buffer_builder.h | 0 {features => connectivity}/nfc/acore/acore/ac_buffer_reader.h | 0 {features => connectivity}/nfc/acore/acore/ac_debug.h | 0 {features => connectivity}/nfc/acore/acore/ac_macros.h | 0 {features => connectivity}/nfc/acore/acore/ac_stream.h | 0 {features => connectivity}/nfc/acore/source/ac_buffer.c | 0 {features => connectivity}/nfc/acore/source/ac_buffer_builder.c | 0 {features => connectivity}/nfc/acore/source/ac_buffer_reader.c | 0 {features => connectivity}/nfc/acore/source/ac_stream.c | 0 {features => connectivity}/nfc/controllers/PN512Driver.h | 0 .../nfc/controllers/PN512SPITransportDriver.h | 0 {features => connectivity}/nfc/controllers/PN512TransportDriver.h | 0 {features => connectivity}/nfc/mbed_lib.json | 0 {features => connectivity}/nfc/nfc/NFC.h | 0 {features => connectivity}/nfc/nfc/NFCController.h | 0 {features => connectivity}/nfc/nfc/NFCControllerDriver.h | 0 {features => connectivity}/nfc/nfc/NFCDefinitions.h | 0 {features => connectivity}/nfc/nfc/NFCEEPROM.h | 0 {features => connectivity}/nfc/nfc/NFCEEPROMDriver.h | 0 {features => connectivity}/nfc/nfc/NFCNDEFCapable.h | 0 {features => connectivity}/nfc/nfc/NFCRemoteEndpoint.h | 0 {features => connectivity}/nfc/nfc/NFCRemoteInitiator.h | 0 {features => connectivity}/nfc/nfc/NFCTarget.h | 0 {features => connectivity}/nfc/nfc/Type4RemoteInitiator.h | 0 {features => connectivity}/nfc/nfc/ndef/MessageBuilder.h | 0 {features => connectivity}/nfc/nfc/ndef/MessageParser.h | 0 {features => connectivity}/nfc/nfc/ndef/Record.h | 0 {features => connectivity}/nfc/nfc/ndef/RecordParser.h | 0 {features => connectivity}/nfc/nfc/ndef/common/Mime.h | 0 .../nfc/nfc/ndef/common/SimpleMessageParser.h | 0 {features => connectivity}/nfc/nfc/ndef/common/Text.h | 0 {features => connectivity}/nfc/nfc/ndef/common/URI.h | 0 {features => connectivity}/nfc/nfc/ndef/common/util.h | 0 {features => connectivity}/nfc/source/controllers/PN512Driver.cpp | 0 .../nfc/source/controllers/PN512SPITransportDriver.cpp | 0 .../nfc/source/controllers/PN512TransportDriver.cpp | 0 {features => connectivity}/nfc/source/nfc/NFCController.cpp | 0 {features => connectivity}/nfc/source/nfc/NFCControllerDriver.cpp | 0 {features => connectivity}/nfc/source/nfc/NFCEEPROM.cpp | 0 {features => connectivity}/nfc/source/nfc/NFCEEPROMDriver.cpp | 0 {features => connectivity}/nfc/source/nfc/NFCNDEFCapable.cpp | 0 {features => connectivity}/nfc/source/nfc/NFCRemoteEndpoint.cpp | 0 {features => connectivity}/nfc/source/nfc/NFCRemoteInitiator.cpp | 0 {features => connectivity}/nfc/source/nfc/NFCTarget.cpp | 0 .../nfc/source/nfc/Type4RemoteInitiator.cpp | 0 {features => connectivity}/nfc/source/nfc/ndef/MessageBuilder.cpp | 0 {features => connectivity}/nfc/source/nfc/ndef/MessageParser.cpp | 0 {features => connectivity}/nfc/source/nfc/ndef/RecordParser.cpp | 0 {features => connectivity}/nfc/source/nfc/ndef/common/Mime.cpp | 0 .../nfc/source/nfc/ndef/common/SimpleMessageParser.cpp | 0 {features => connectivity}/nfc/source/nfc/ndef/common/Text.cpp | 0 {features => connectivity}/nfc/source/nfc/ndef/common/URI.cpp | 0 {features => connectivity}/nfc/source/nfc/ndef/common/util.cpp | 0 {features => connectivity}/nfc/stack/ndef/ndef.c | 0 {features => connectivity}/nfc/stack/ndef/ndef.h | 0 {features => connectivity}/nfc/stack/nfc_common.h | 0 {features => connectivity}/nfc/stack/nfc_errors.h | 0 {features => connectivity}/nfc/stack/platform/nfc_debug.h | 0 {features => connectivity}/nfc/stack/platform/nfc_scheduler.c | 0 {features => connectivity}/nfc/stack/platform/nfc_scheduler.h | 0 {features => connectivity}/nfc/stack/platform/nfc_transport.c | 0 {features => connectivity}/nfc/stack/platform/nfc_transport.h | 0 {features => connectivity}/nfc/stack/tech/iso7816/iso7816.c | 0 {features => connectivity}/nfc/stack/tech/iso7816/iso7816.h | 0 {features => connectivity}/nfc/stack/tech/iso7816/iso7816_app.c | 0 {features => connectivity}/nfc/stack/tech/iso7816/iso7816_app.h | 0 {features => connectivity}/nfc/stack/tech/iso7816/iso7816_defs.h | 0 {features => connectivity}/nfc/stack/tech/isodep/isodep.h | 0 {features => connectivity}/nfc/stack/tech/isodep/isodep_target.c | 0 {features => connectivity}/nfc/stack/tech/isodep/isodep_target.h | 0 {features => connectivity}/nfc/stack/tech/type4/type4_target.c | 0 {features => connectivity}/nfc/stack/tech/type4/type4_target.h | 0 {features => connectivity}/nfc/stack/transceiver/pn512/pn512.c | 0 {features => connectivity}/nfc/stack/transceiver/pn512/pn512.h | 0 .../nfc/stack/transceiver/pn512/pn512_callback.h | 0 .../nfc/stack/transceiver/pn512/pn512_cmd.c | 0 .../nfc/stack/transceiver/pn512/pn512_cmd.h | 0 {features => connectivity}/nfc/stack/transceiver/pn512/pn512_hw.c | 0 {features => connectivity}/nfc/stack/transceiver/pn512/pn512_hw.h | 0 .../nfc/stack/transceiver/pn512/pn512_internal.h | 0 .../nfc/stack/transceiver/pn512/pn512_irq.c | 0 .../nfc/stack/transceiver/pn512/pn512_irq.h | 0 .../nfc/stack/transceiver/pn512/pn512_poll.c | 0 .../nfc/stack/transceiver/pn512/pn512_poll.h | 0 .../nfc/stack/transceiver/pn512/pn512_registers.c | 0 .../nfc/stack/transceiver/pn512/pn512_registers.h | 0 {features => connectivity}/nfc/stack/transceiver/pn512/pn512_rf.c | 0 {features => connectivity}/nfc/stack/transceiver/pn512/pn512_rf.h | 0 .../nfc/stack/transceiver/pn512/pn512_timer.c | 0 .../nfc/stack/transceiver/pn512/pn512_timer.h | 0 .../nfc/stack/transceiver/pn512/pn512_transceive.c | 0 .../nfc/stack/transceiver/pn512/pn512_transceive.h | 0 .../nfc/stack/transceiver/pn512/pn512_types.h | 0 {features => connectivity}/nfc/stack/transceiver/protocols.h | 0 {features => connectivity}/nfc/stack/transceiver/transceiver.c | 0 {features => connectivity}/nfc/stack/transceiver/transceiver.h | 0 .../nfc/stack/transceiver/transceiver_internal.h | 0 98 files changed, 0 insertions(+), 0 deletions(-) rename {features => connectivity}/nfc/acore/acore/ac_buffer.h (100%) rename {features => connectivity}/nfc/acore/acore/ac_buffer_builder.h (100%) rename {features => connectivity}/nfc/acore/acore/ac_buffer_reader.h (100%) rename {features => connectivity}/nfc/acore/acore/ac_debug.h (100%) rename {features => connectivity}/nfc/acore/acore/ac_macros.h (100%) rename {features => connectivity}/nfc/acore/acore/ac_stream.h (100%) rename {features => connectivity}/nfc/acore/source/ac_buffer.c (100%) rename {features => connectivity}/nfc/acore/source/ac_buffer_builder.c (100%) rename {features => connectivity}/nfc/acore/source/ac_buffer_reader.c (100%) rename {features => connectivity}/nfc/acore/source/ac_stream.c (100%) rename {features => connectivity}/nfc/controllers/PN512Driver.h (100%) rename {features => connectivity}/nfc/controllers/PN512SPITransportDriver.h (100%) rename {features => connectivity}/nfc/controllers/PN512TransportDriver.h (100%) rename {features => connectivity}/nfc/mbed_lib.json (100%) rename {features => connectivity}/nfc/nfc/NFC.h (100%) rename {features => connectivity}/nfc/nfc/NFCController.h (100%) rename {features => connectivity}/nfc/nfc/NFCControllerDriver.h (100%) rename {features => connectivity}/nfc/nfc/NFCDefinitions.h (100%) rename {features => connectivity}/nfc/nfc/NFCEEPROM.h (100%) rename {features => connectivity}/nfc/nfc/NFCEEPROMDriver.h (100%) rename {features => connectivity}/nfc/nfc/NFCNDEFCapable.h (100%) rename {features => connectivity}/nfc/nfc/NFCRemoteEndpoint.h (100%) rename {features => connectivity}/nfc/nfc/NFCRemoteInitiator.h (100%) rename {features => connectivity}/nfc/nfc/NFCTarget.h (100%) rename {features => connectivity}/nfc/nfc/Type4RemoteInitiator.h (100%) rename {features => connectivity}/nfc/nfc/ndef/MessageBuilder.h (100%) rename {features => connectivity}/nfc/nfc/ndef/MessageParser.h (100%) rename {features => connectivity}/nfc/nfc/ndef/Record.h (100%) rename {features => connectivity}/nfc/nfc/ndef/RecordParser.h (100%) rename {features => connectivity}/nfc/nfc/ndef/common/Mime.h (100%) rename {features => connectivity}/nfc/nfc/ndef/common/SimpleMessageParser.h (100%) rename {features => connectivity}/nfc/nfc/ndef/common/Text.h (100%) rename {features => connectivity}/nfc/nfc/ndef/common/URI.h (100%) rename {features => connectivity}/nfc/nfc/ndef/common/util.h (100%) rename {features => connectivity}/nfc/source/controllers/PN512Driver.cpp (100%) rename {features => connectivity}/nfc/source/controllers/PN512SPITransportDriver.cpp (100%) rename {features => connectivity}/nfc/source/controllers/PN512TransportDriver.cpp (100%) rename {features => connectivity}/nfc/source/nfc/NFCController.cpp (100%) rename {features => connectivity}/nfc/source/nfc/NFCControllerDriver.cpp (100%) rename {features => connectivity}/nfc/source/nfc/NFCEEPROM.cpp (100%) rename {features => connectivity}/nfc/source/nfc/NFCEEPROMDriver.cpp (100%) rename {features => connectivity}/nfc/source/nfc/NFCNDEFCapable.cpp (100%) rename {features => connectivity}/nfc/source/nfc/NFCRemoteEndpoint.cpp (100%) rename {features => connectivity}/nfc/source/nfc/NFCRemoteInitiator.cpp (100%) rename {features => connectivity}/nfc/source/nfc/NFCTarget.cpp (100%) rename {features => connectivity}/nfc/source/nfc/Type4RemoteInitiator.cpp (100%) rename {features => connectivity}/nfc/source/nfc/ndef/MessageBuilder.cpp (100%) rename {features => connectivity}/nfc/source/nfc/ndef/MessageParser.cpp (100%) rename {features => connectivity}/nfc/source/nfc/ndef/RecordParser.cpp (100%) rename {features => connectivity}/nfc/source/nfc/ndef/common/Mime.cpp (100%) rename {features => connectivity}/nfc/source/nfc/ndef/common/SimpleMessageParser.cpp (100%) rename {features => connectivity}/nfc/source/nfc/ndef/common/Text.cpp (100%) rename {features => connectivity}/nfc/source/nfc/ndef/common/URI.cpp (100%) rename {features => connectivity}/nfc/source/nfc/ndef/common/util.cpp (100%) rename {features => connectivity}/nfc/stack/ndef/ndef.c (100%) rename {features => connectivity}/nfc/stack/ndef/ndef.h (100%) rename {features => connectivity}/nfc/stack/nfc_common.h (100%) rename {features => connectivity}/nfc/stack/nfc_errors.h (100%) rename {features => connectivity}/nfc/stack/platform/nfc_debug.h (100%) rename {features => connectivity}/nfc/stack/platform/nfc_scheduler.c (100%) rename {features => connectivity}/nfc/stack/platform/nfc_scheduler.h (100%) rename {features => connectivity}/nfc/stack/platform/nfc_transport.c (100%) rename {features => connectivity}/nfc/stack/platform/nfc_transport.h (100%) rename {features => connectivity}/nfc/stack/tech/iso7816/iso7816.c (100%) rename {features => connectivity}/nfc/stack/tech/iso7816/iso7816.h (100%) rename {features => connectivity}/nfc/stack/tech/iso7816/iso7816_app.c (100%) rename {features => connectivity}/nfc/stack/tech/iso7816/iso7816_app.h (100%) rename {features => connectivity}/nfc/stack/tech/iso7816/iso7816_defs.h (100%) rename {features => connectivity}/nfc/stack/tech/isodep/isodep.h (100%) rename {features => connectivity}/nfc/stack/tech/isodep/isodep_target.c (100%) rename {features => connectivity}/nfc/stack/tech/isodep/isodep_target.h (100%) rename {features => connectivity}/nfc/stack/tech/type4/type4_target.c (100%) rename {features => connectivity}/nfc/stack/tech/type4/type4_target.h (100%) rename {features => connectivity}/nfc/stack/transceiver/pn512/pn512.c (100%) rename {features => connectivity}/nfc/stack/transceiver/pn512/pn512.h (100%) rename {features => connectivity}/nfc/stack/transceiver/pn512/pn512_callback.h (100%) rename {features => connectivity}/nfc/stack/transceiver/pn512/pn512_cmd.c (100%) rename {features => connectivity}/nfc/stack/transceiver/pn512/pn512_cmd.h (100%) rename {features => connectivity}/nfc/stack/transceiver/pn512/pn512_hw.c (100%) rename {features => connectivity}/nfc/stack/transceiver/pn512/pn512_hw.h (100%) rename {features => connectivity}/nfc/stack/transceiver/pn512/pn512_internal.h (100%) rename {features => connectivity}/nfc/stack/transceiver/pn512/pn512_irq.c (100%) rename {features => connectivity}/nfc/stack/transceiver/pn512/pn512_irq.h (100%) rename {features => connectivity}/nfc/stack/transceiver/pn512/pn512_poll.c (100%) rename {features => connectivity}/nfc/stack/transceiver/pn512/pn512_poll.h (100%) rename {features => connectivity}/nfc/stack/transceiver/pn512/pn512_registers.c (100%) rename {features => connectivity}/nfc/stack/transceiver/pn512/pn512_registers.h (100%) rename {features => connectivity}/nfc/stack/transceiver/pn512/pn512_rf.c (100%) rename {features => connectivity}/nfc/stack/transceiver/pn512/pn512_rf.h (100%) rename {features => connectivity}/nfc/stack/transceiver/pn512/pn512_timer.c (100%) rename {features => connectivity}/nfc/stack/transceiver/pn512/pn512_timer.h (100%) rename {features => connectivity}/nfc/stack/transceiver/pn512/pn512_transceive.c (100%) rename {features => connectivity}/nfc/stack/transceiver/pn512/pn512_transceive.h (100%) rename {features => connectivity}/nfc/stack/transceiver/pn512/pn512_types.h (100%) rename {features => connectivity}/nfc/stack/transceiver/protocols.h (100%) rename {features => connectivity}/nfc/stack/transceiver/transceiver.c (100%) rename {features => connectivity}/nfc/stack/transceiver/transceiver.h (100%) rename {features => connectivity}/nfc/stack/transceiver/transceiver_internal.h (100%) diff --git a/features/nfc/acore/acore/ac_buffer.h b/connectivity/nfc/acore/acore/ac_buffer.h similarity index 100% rename from features/nfc/acore/acore/ac_buffer.h rename to connectivity/nfc/acore/acore/ac_buffer.h diff --git a/features/nfc/acore/acore/ac_buffer_builder.h b/connectivity/nfc/acore/acore/ac_buffer_builder.h similarity index 100% rename from features/nfc/acore/acore/ac_buffer_builder.h rename to connectivity/nfc/acore/acore/ac_buffer_builder.h diff --git a/features/nfc/acore/acore/ac_buffer_reader.h b/connectivity/nfc/acore/acore/ac_buffer_reader.h similarity index 100% rename from features/nfc/acore/acore/ac_buffer_reader.h rename to connectivity/nfc/acore/acore/ac_buffer_reader.h diff --git a/features/nfc/acore/acore/ac_debug.h b/connectivity/nfc/acore/acore/ac_debug.h similarity index 100% rename from features/nfc/acore/acore/ac_debug.h rename to connectivity/nfc/acore/acore/ac_debug.h diff --git a/features/nfc/acore/acore/ac_macros.h b/connectivity/nfc/acore/acore/ac_macros.h similarity index 100% rename from features/nfc/acore/acore/ac_macros.h rename to connectivity/nfc/acore/acore/ac_macros.h diff --git a/features/nfc/acore/acore/ac_stream.h b/connectivity/nfc/acore/acore/ac_stream.h similarity index 100% rename from features/nfc/acore/acore/ac_stream.h rename to connectivity/nfc/acore/acore/ac_stream.h diff --git a/features/nfc/acore/source/ac_buffer.c b/connectivity/nfc/acore/source/ac_buffer.c similarity index 100% rename from features/nfc/acore/source/ac_buffer.c rename to connectivity/nfc/acore/source/ac_buffer.c diff --git a/features/nfc/acore/source/ac_buffer_builder.c b/connectivity/nfc/acore/source/ac_buffer_builder.c similarity index 100% rename from features/nfc/acore/source/ac_buffer_builder.c rename to connectivity/nfc/acore/source/ac_buffer_builder.c diff --git a/features/nfc/acore/source/ac_buffer_reader.c b/connectivity/nfc/acore/source/ac_buffer_reader.c similarity index 100% rename from features/nfc/acore/source/ac_buffer_reader.c rename to connectivity/nfc/acore/source/ac_buffer_reader.c diff --git a/features/nfc/acore/source/ac_stream.c b/connectivity/nfc/acore/source/ac_stream.c similarity index 100% rename from features/nfc/acore/source/ac_stream.c rename to connectivity/nfc/acore/source/ac_stream.c diff --git a/features/nfc/controllers/PN512Driver.h b/connectivity/nfc/controllers/PN512Driver.h similarity index 100% rename from features/nfc/controllers/PN512Driver.h rename to connectivity/nfc/controllers/PN512Driver.h diff --git a/features/nfc/controllers/PN512SPITransportDriver.h b/connectivity/nfc/controllers/PN512SPITransportDriver.h similarity index 100% rename from features/nfc/controllers/PN512SPITransportDriver.h rename to connectivity/nfc/controllers/PN512SPITransportDriver.h diff --git a/features/nfc/controllers/PN512TransportDriver.h b/connectivity/nfc/controllers/PN512TransportDriver.h similarity index 100% rename from features/nfc/controllers/PN512TransportDriver.h rename to connectivity/nfc/controllers/PN512TransportDriver.h diff --git a/features/nfc/mbed_lib.json b/connectivity/nfc/mbed_lib.json similarity index 100% rename from features/nfc/mbed_lib.json rename to connectivity/nfc/mbed_lib.json diff --git a/features/nfc/nfc/NFC.h b/connectivity/nfc/nfc/NFC.h similarity index 100% rename from features/nfc/nfc/NFC.h rename to connectivity/nfc/nfc/NFC.h diff --git a/features/nfc/nfc/NFCController.h b/connectivity/nfc/nfc/NFCController.h similarity index 100% rename from features/nfc/nfc/NFCController.h rename to connectivity/nfc/nfc/NFCController.h diff --git a/features/nfc/nfc/NFCControllerDriver.h b/connectivity/nfc/nfc/NFCControllerDriver.h similarity index 100% rename from features/nfc/nfc/NFCControllerDriver.h rename to connectivity/nfc/nfc/NFCControllerDriver.h diff --git a/features/nfc/nfc/NFCDefinitions.h b/connectivity/nfc/nfc/NFCDefinitions.h similarity index 100% rename from features/nfc/nfc/NFCDefinitions.h rename to connectivity/nfc/nfc/NFCDefinitions.h diff --git a/features/nfc/nfc/NFCEEPROM.h b/connectivity/nfc/nfc/NFCEEPROM.h similarity index 100% rename from features/nfc/nfc/NFCEEPROM.h rename to connectivity/nfc/nfc/NFCEEPROM.h diff --git a/features/nfc/nfc/NFCEEPROMDriver.h b/connectivity/nfc/nfc/NFCEEPROMDriver.h similarity index 100% rename from features/nfc/nfc/NFCEEPROMDriver.h rename to connectivity/nfc/nfc/NFCEEPROMDriver.h diff --git a/features/nfc/nfc/NFCNDEFCapable.h b/connectivity/nfc/nfc/NFCNDEFCapable.h similarity index 100% rename from features/nfc/nfc/NFCNDEFCapable.h rename to connectivity/nfc/nfc/NFCNDEFCapable.h diff --git a/features/nfc/nfc/NFCRemoteEndpoint.h b/connectivity/nfc/nfc/NFCRemoteEndpoint.h similarity index 100% rename from features/nfc/nfc/NFCRemoteEndpoint.h rename to connectivity/nfc/nfc/NFCRemoteEndpoint.h diff --git a/features/nfc/nfc/NFCRemoteInitiator.h b/connectivity/nfc/nfc/NFCRemoteInitiator.h similarity index 100% rename from features/nfc/nfc/NFCRemoteInitiator.h rename to connectivity/nfc/nfc/NFCRemoteInitiator.h diff --git a/features/nfc/nfc/NFCTarget.h b/connectivity/nfc/nfc/NFCTarget.h similarity index 100% rename from features/nfc/nfc/NFCTarget.h rename to connectivity/nfc/nfc/NFCTarget.h diff --git a/features/nfc/nfc/Type4RemoteInitiator.h b/connectivity/nfc/nfc/Type4RemoteInitiator.h similarity index 100% rename from features/nfc/nfc/Type4RemoteInitiator.h rename to connectivity/nfc/nfc/Type4RemoteInitiator.h diff --git a/features/nfc/nfc/ndef/MessageBuilder.h b/connectivity/nfc/nfc/ndef/MessageBuilder.h similarity index 100% rename from features/nfc/nfc/ndef/MessageBuilder.h rename to connectivity/nfc/nfc/ndef/MessageBuilder.h diff --git a/features/nfc/nfc/ndef/MessageParser.h b/connectivity/nfc/nfc/ndef/MessageParser.h similarity index 100% rename from features/nfc/nfc/ndef/MessageParser.h rename to connectivity/nfc/nfc/ndef/MessageParser.h diff --git a/features/nfc/nfc/ndef/Record.h b/connectivity/nfc/nfc/ndef/Record.h similarity index 100% rename from features/nfc/nfc/ndef/Record.h rename to connectivity/nfc/nfc/ndef/Record.h diff --git a/features/nfc/nfc/ndef/RecordParser.h b/connectivity/nfc/nfc/ndef/RecordParser.h similarity index 100% rename from features/nfc/nfc/ndef/RecordParser.h rename to connectivity/nfc/nfc/ndef/RecordParser.h diff --git a/features/nfc/nfc/ndef/common/Mime.h b/connectivity/nfc/nfc/ndef/common/Mime.h similarity index 100% rename from features/nfc/nfc/ndef/common/Mime.h rename to connectivity/nfc/nfc/ndef/common/Mime.h diff --git a/features/nfc/nfc/ndef/common/SimpleMessageParser.h b/connectivity/nfc/nfc/ndef/common/SimpleMessageParser.h similarity index 100% rename from features/nfc/nfc/ndef/common/SimpleMessageParser.h rename to connectivity/nfc/nfc/ndef/common/SimpleMessageParser.h diff --git a/features/nfc/nfc/ndef/common/Text.h b/connectivity/nfc/nfc/ndef/common/Text.h similarity index 100% rename from features/nfc/nfc/ndef/common/Text.h rename to connectivity/nfc/nfc/ndef/common/Text.h diff --git a/features/nfc/nfc/ndef/common/URI.h b/connectivity/nfc/nfc/ndef/common/URI.h similarity index 100% rename from features/nfc/nfc/ndef/common/URI.h rename to connectivity/nfc/nfc/ndef/common/URI.h diff --git a/features/nfc/nfc/ndef/common/util.h b/connectivity/nfc/nfc/ndef/common/util.h similarity index 100% rename from features/nfc/nfc/ndef/common/util.h rename to connectivity/nfc/nfc/ndef/common/util.h diff --git a/features/nfc/source/controllers/PN512Driver.cpp b/connectivity/nfc/source/controllers/PN512Driver.cpp similarity index 100% rename from features/nfc/source/controllers/PN512Driver.cpp rename to connectivity/nfc/source/controllers/PN512Driver.cpp diff --git a/features/nfc/source/controllers/PN512SPITransportDriver.cpp b/connectivity/nfc/source/controllers/PN512SPITransportDriver.cpp similarity index 100% rename from features/nfc/source/controllers/PN512SPITransportDriver.cpp rename to connectivity/nfc/source/controllers/PN512SPITransportDriver.cpp diff --git a/features/nfc/source/controllers/PN512TransportDriver.cpp b/connectivity/nfc/source/controllers/PN512TransportDriver.cpp similarity index 100% rename from features/nfc/source/controllers/PN512TransportDriver.cpp rename to connectivity/nfc/source/controllers/PN512TransportDriver.cpp diff --git a/features/nfc/source/nfc/NFCController.cpp b/connectivity/nfc/source/nfc/NFCController.cpp similarity index 100% rename from features/nfc/source/nfc/NFCController.cpp rename to connectivity/nfc/source/nfc/NFCController.cpp diff --git a/features/nfc/source/nfc/NFCControllerDriver.cpp b/connectivity/nfc/source/nfc/NFCControllerDriver.cpp similarity index 100% rename from features/nfc/source/nfc/NFCControllerDriver.cpp rename to connectivity/nfc/source/nfc/NFCControllerDriver.cpp diff --git a/features/nfc/source/nfc/NFCEEPROM.cpp b/connectivity/nfc/source/nfc/NFCEEPROM.cpp similarity index 100% rename from features/nfc/source/nfc/NFCEEPROM.cpp rename to connectivity/nfc/source/nfc/NFCEEPROM.cpp diff --git a/features/nfc/source/nfc/NFCEEPROMDriver.cpp b/connectivity/nfc/source/nfc/NFCEEPROMDriver.cpp similarity index 100% rename from features/nfc/source/nfc/NFCEEPROMDriver.cpp rename to connectivity/nfc/source/nfc/NFCEEPROMDriver.cpp diff --git a/features/nfc/source/nfc/NFCNDEFCapable.cpp b/connectivity/nfc/source/nfc/NFCNDEFCapable.cpp similarity index 100% rename from features/nfc/source/nfc/NFCNDEFCapable.cpp rename to connectivity/nfc/source/nfc/NFCNDEFCapable.cpp diff --git a/features/nfc/source/nfc/NFCRemoteEndpoint.cpp b/connectivity/nfc/source/nfc/NFCRemoteEndpoint.cpp similarity index 100% rename from features/nfc/source/nfc/NFCRemoteEndpoint.cpp rename to connectivity/nfc/source/nfc/NFCRemoteEndpoint.cpp diff --git a/features/nfc/source/nfc/NFCRemoteInitiator.cpp b/connectivity/nfc/source/nfc/NFCRemoteInitiator.cpp similarity index 100% rename from features/nfc/source/nfc/NFCRemoteInitiator.cpp rename to connectivity/nfc/source/nfc/NFCRemoteInitiator.cpp diff --git a/features/nfc/source/nfc/NFCTarget.cpp b/connectivity/nfc/source/nfc/NFCTarget.cpp similarity index 100% rename from features/nfc/source/nfc/NFCTarget.cpp rename to connectivity/nfc/source/nfc/NFCTarget.cpp diff --git a/features/nfc/source/nfc/Type4RemoteInitiator.cpp b/connectivity/nfc/source/nfc/Type4RemoteInitiator.cpp similarity index 100% rename from features/nfc/source/nfc/Type4RemoteInitiator.cpp rename to connectivity/nfc/source/nfc/Type4RemoteInitiator.cpp diff --git a/features/nfc/source/nfc/ndef/MessageBuilder.cpp b/connectivity/nfc/source/nfc/ndef/MessageBuilder.cpp similarity index 100% rename from features/nfc/source/nfc/ndef/MessageBuilder.cpp rename to connectivity/nfc/source/nfc/ndef/MessageBuilder.cpp diff --git a/features/nfc/source/nfc/ndef/MessageParser.cpp b/connectivity/nfc/source/nfc/ndef/MessageParser.cpp similarity index 100% rename from features/nfc/source/nfc/ndef/MessageParser.cpp rename to connectivity/nfc/source/nfc/ndef/MessageParser.cpp diff --git a/features/nfc/source/nfc/ndef/RecordParser.cpp b/connectivity/nfc/source/nfc/ndef/RecordParser.cpp similarity index 100% rename from features/nfc/source/nfc/ndef/RecordParser.cpp rename to connectivity/nfc/source/nfc/ndef/RecordParser.cpp diff --git a/features/nfc/source/nfc/ndef/common/Mime.cpp b/connectivity/nfc/source/nfc/ndef/common/Mime.cpp similarity index 100% rename from features/nfc/source/nfc/ndef/common/Mime.cpp rename to connectivity/nfc/source/nfc/ndef/common/Mime.cpp diff --git a/features/nfc/source/nfc/ndef/common/SimpleMessageParser.cpp b/connectivity/nfc/source/nfc/ndef/common/SimpleMessageParser.cpp similarity index 100% rename from features/nfc/source/nfc/ndef/common/SimpleMessageParser.cpp rename to connectivity/nfc/source/nfc/ndef/common/SimpleMessageParser.cpp diff --git a/features/nfc/source/nfc/ndef/common/Text.cpp b/connectivity/nfc/source/nfc/ndef/common/Text.cpp similarity index 100% rename from features/nfc/source/nfc/ndef/common/Text.cpp rename to connectivity/nfc/source/nfc/ndef/common/Text.cpp diff --git a/features/nfc/source/nfc/ndef/common/URI.cpp b/connectivity/nfc/source/nfc/ndef/common/URI.cpp similarity index 100% rename from features/nfc/source/nfc/ndef/common/URI.cpp rename to connectivity/nfc/source/nfc/ndef/common/URI.cpp diff --git a/features/nfc/source/nfc/ndef/common/util.cpp b/connectivity/nfc/source/nfc/ndef/common/util.cpp similarity index 100% rename from features/nfc/source/nfc/ndef/common/util.cpp rename to connectivity/nfc/source/nfc/ndef/common/util.cpp diff --git a/features/nfc/stack/ndef/ndef.c b/connectivity/nfc/stack/ndef/ndef.c similarity index 100% rename from features/nfc/stack/ndef/ndef.c rename to connectivity/nfc/stack/ndef/ndef.c diff --git a/features/nfc/stack/ndef/ndef.h b/connectivity/nfc/stack/ndef/ndef.h similarity index 100% rename from features/nfc/stack/ndef/ndef.h rename to connectivity/nfc/stack/ndef/ndef.h diff --git a/features/nfc/stack/nfc_common.h b/connectivity/nfc/stack/nfc_common.h similarity index 100% rename from features/nfc/stack/nfc_common.h rename to connectivity/nfc/stack/nfc_common.h diff --git a/features/nfc/stack/nfc_errors.h b/connectivity/nfc/stack/nfc_errors.h similarity index 100% rename from features/nfc/stack/nfc_errors.h rename to connectivity/nfc/stack/nfc_errors.h diff --git a/features/nfc/stack/platform/nfc_debug.h b/connectivity/nfc/stack/platform/nfc_debug.h similarity index 100% rename from features/nfc/stack/platform/nfc_debug.h rename to connectivity/nfc/stack/platform/nfc_debug.h diff --git a/features/nfc/stack/platform/nfc_scheduler.c b/connectivity/nfc/stack/platform/nfc_scheduler.c similarity index 100% rename from features/nfc/stack/platform/nfc_scheduler.c rename to connectivity/nfc/stack/platform/nfc_scheduler.c diff --git a/features/nfc/stack/platform/nfc_scheduler.h b/connectivity/nfc/stack/platform/nfc_scheduler.h similarity index 100% rename from features/nfc/stack/platform/nfc_scheduler.h rename to connectivity/nfc/stack/platform/nfc_scheduler.h diff --git a/features/nfc/stack/platform/nfc_transport.c b/connectivity/nfc/stack/platform/nfc_transport.c similarity index 100% rename from features/nfc/stack/platform/nfc_transport.c rename to connectivity/nfc/stack/platform/nfc_transport.c diff --git a/features/nfc/stack/platform/nfc_transport.h b/connectivity/nfc/stack/platform/nfc_transport.h similarity index 100% rename from features/nfc/stack/platform/nfc_transport.h rename to connectivity/nfc/stack/platform/nfc_transport.h diff --git a/features/nfc/stack/tech/iso7816/iso7816.c b/connectivity/nfc/stack/tech/iso7816/iso7816.c similarity index 100% rename from features/nfc/stack/tech/iso7816/iso7816.c rename to connectivity/nfc/stack/tech/iso7816/iso7816.c diff --git a/features/nfc/stack/tech/iso7816/iso7816.h b/connectivity/nfc/stack/tech/iso7816/iso7816.h similarity index 100% rename from features/nfc/stack/tech/iso7816/iso7816.h rename to connectivity/nfc/stack/tech/iso7816/iso7816.h diff --git a/features/nfc/stack/tech/iso7816/iso7816_app.c b/connectivity/nfc/stack/tech/iso7816/iso7816_app.c similarity index 100% rename from features/nfc/stack/tech/iso7816/iso7816_app.c rename to connectivity/nfc/stack/tech/iso7816/iso7816_app.c diff --git a/features/nfc/stack/tech/iso7816/iso7816_app.h b/connectivity/nfc/stack/tech/iso7816/iso7816_app.h similarity index 100% rename from features/nfc/stack/tech/iso7816/iso7816_app.h rename to connectivity/nfc/stack/tech/iso7816/iso7816_app.h diff --git a/features/nfc/stack/tech/iso7816/iso7816_defs.h b/connectivity/nfc/stack/tech/iso7816/iso7816_defs.h similarity index 100% rename from features/nfc/stack/tech/iso7816/iso7816_defs.h rename to connectivity/nfc/stack/tech/iso7816/iso7816_defs.h diff --git a/features/nfc/stack/tech/isodep/isodep.h b/connectivity/nfc/stack/tech/isodep/isodep.h similarity index 100% rename from features/nfc/stack/tech/isodep/isodep.h rename to connectivity/nfc/stack/tech/isodep/isodep.h diff --git a/features/nfc/stack/tech/isodep/isodep_target.c b/connectivity/nfc/stack/tech/isodep/isodep_target.c similarity index 100% rename from features/nfc/stack/tech/isodep/isodep_target.c rename to connectivity/nfc/stack/tech/isodep/isodep_target.c diff --git a/features/nfc/stack/tech/isodep/isodep_target.h b/connectivity/nfc/stack/tech/isodep/isodep_target.h similarity index 100% rename from features/nfc/stack/tech/isodep/isodep_target.h rename to connectivity/nfc/stack/tech/isodep/isodep_target.h diff --git a/features/nfc/stack/tech/type4/type4_target.c b/connectivity/nfc/stack/tech/type4/type4_target.c similarity index 100% rename from features/nfc/stack/tech/type4/type4_target.c rename to connectivity/nfc/stack/tech/type4/type4_target.c diff --git a/features/nfc/stack/tech/type4/type4_target.h b/connectivity/nfc/stack/tech/type4/type4_target.h similarity index 100% rename from features/nfc/stack/tech/type4/type4_target.h rename to connectivity/nfc/stack/tech/type4/type4_target.h diff --git a/features/nfc/stack/transceiver/pn512/pn512.c b/connectivity/nfc/stack/transceiver/pn512/pn512.c similarity index 100% rename from features/nfc/stack/transceiver/pn512/pn512.c rename to connectivity/nfc/stack/transceiver/pn512/pn512.c diff --git a/features/nfc/stack/transceiver/pn512/pn512.h b/connectivity/nfc/stack/transceiver/pn512/pn512.h similarity index 100% rename from features/nfc/stack/transceiver/pn512/pn512.h rename to connectivity/nfc/stack/transceiver/pn512/pn512.h diff --git a/features/nfc/stack/transceiver/pn512/pn512_callback.h b/connectivity/nfc/stack/transceiver/pn512/pn512_callback.h similarity index 100% rename from features/nfc/stack/transceiver/pn512/pn512_callback.h rename to connectivity/nfc/stack/transceiver/pn512/pn512_callback.h diff --git a/features/nfc/stack/transceiver/pn512/pn512_cmd.c b/connectivity/nfc/stack/transceiver/pn512/pn512_cmd.c similarity index 100% rename from features/nfc/stack/transceiver/pn512/pn512_cmd.c rename to connectivity/nfc/stack/transceiver/pn512/pn512_cmd.c diff --git a/features/nfc/stack/transceiver/pn512/pn512_cmd.h b/connectivity/nfc/stack/transceiver/pn512/pn512_cmd.h similarity index 100% rename from features/nfc/stack/transceiver/pn512/pn512_cmd.h rename to connectivity/nfc/stack/transceiver/pn512/pn512_cmd.h diff --git a/features/nfc/stack/transceiver/pn512/pn512_hw.c b/connectivity/nfc/stack/transceiver/pn512/pn512_hw.c similarity index 100% rename from features/nfc/stack/transceiver/pn512/pn512_hw.c rename to connectivity/nfc/stack/transceiver/pn512/pn512_hw.c diff --git a/features/nfc/stack/transceiver/pn512/pn512_hw.h b/connectivity/nfc/stack/transceiver/pn512/pn512_hw.h similarity index 100% rename from features/nfc/stack/transceiver/pn512/pn512_hw.h rename to connectivity/nfc/stack/transceiver/pn512/pn512_hw.h diff --git a/features/nfc/stack/transceiver/pn512/pn512_internal.h b/connectivity/nfc/stack/transceiver/pn512/pn512_internal.h similarity index 100% rename from features/nfc/stack/transceiver/pn512/pn512_internal.h rename to connectivity/nfc/stack/transceiver/pn512/pn512_internal.h diff --git a/features/nfc/stack/transceiver/pn512/pn512_irq.c b/connectivity/nfc/stack/transceiver/pn512/pn512_irq.c similarity index 100% rename from features/nfc/stack/transceiver/pn512/pn512_irq.c rename to connectivity/nfc/stack/transceiver/pn512/pn512_irq.c diff --git a/features/nfc/stack/transceiver/pn512/pn512_irq.h b/connectivity/nfc/stack/transceiver/pn512/pn512_irq.h similarity index 100% rename from features/nfc/stack/transceiver/pn512/pn512_irq.h rename to connectivity/nfc/stack/transceiver/pn512/pn512_irq.h diff --git a/features/nfc/stack/transceiver/pn512/pn512_poll.c b/connectivity/nfc/stack/transceiver/pn512/pn512_poll.c similarity index 100% rename from features/nfc/stack/transceiver/pn512/pn512_poll.c rename to connectivity/nfc/stack/transceiver/pn512/pn512_poll.c diff --git a/features/nfc/stack/transceiver/pn512/pn512_poll.h b/connectivity/nfc/stack/transceiver/pn512/pn512_poll.h similarity index 100% rename from features/nfc/stack/transceiver/pn512/pn512_poll.h rename to connectivity/nfc/stack/transceiver/pn512/pn512_poll.h diff --git a/features/nfc/stack/transceiver/pn512/pn512_registers.c b/connectivity/nfc/stack/transceiver/pn512/pn512_registers.c similarity index 100% rename from features/nfc/stack/transceiver/pn512/pn512_registers.c rename to connectivity/nfc/stack/transceiver/pn512/pn512_registers.c diff --git a/features/nfc/stack/transceiver/pn512/pn512_registers.h b/connectivity/nfc/stack/transceiver/pn512/pn512_registers.h similarity index 100% rename from features/nfc/stack/transceiver/pn512/pn512_registers.h rename to connectivity/nfc/stack/transceiver/pn512/pn512_registers.h diff --git a/features/nfc/stack/transceiver/pn512/pn512_rf.c b/connectivity/nfc/stack/transceiver/pn512/pn512_rf.c similarity index 100% rename from features/nfc/stack/transceiver/pn512/pn512_rf.c rename to connectivity/nfc/stack/transceiver/pn512/pn512_rf.c diff --git a/features/nfc/stack/transceiver/pn512/pn512_rf.h b/connectivity/nfc/stack/transceiver/pn512/pn512_rf.h similarity index 100% rename from features/nfc/stack/transceiver/pn512/pn512_rf.h rename to connectivity/nfc/stack/transceiver/pn512/pn512_rf.h diff --git a/features/nfc/stack/transceiver/pn512/pn512_timer.c b/connectivity/nfc/stack/transceiver/pn512/pn512_timer.c similarity index 100% rename from features/nfc/stack/transceiver/pn512/pn512_timer.c rename to connectivity/nfc/stack/transceiver/pn512/pn512_timer.c diff --git a/features/nfc/stack/transceiver/pn512/pn512_timer.h b/connectivity/nfc/stack/transceiver/pn512/pn512_timer.h similarity index 100% rename from features/nfc/stack/transceiver/pn512/pn512_timer.h rename to connectivity/nfc/stack/transceiver/pn512/pn512_timer.h diff --git a/features/nfc/stack/transceiver/pn512/pn512_transceive.c b/connectivity/nfc/stack/transceiver/pn512/pn512_transceive.c similarity index 100% rename from features/nfc/stack/transceiver/pn512/pn512_transceive.c rename to connectivity/nfc/stack/transceiver/pn512/pn512_transceive.c diff --git a/features/nfc/stack/transceiver/pn512/pn512_transceive.h b/connectivity/nfc/stack/transceiver/pn512/pn512_transceive.h similarity index 100% rename from features/nfc/stack/transceiver/pn512/pn512_transceive.h rename to connectivity/nfc/stack/transceiver/pn512/pn512_transceive.h diff --git a/features/nfc/stack/transceiver/pn512/pn512_types.h b/connectivity/nfc/stack/transceiver/pn512/pn512_types.h similarity index 100% rename from features/nfc/stack/transceiver/pn512/pn512_types.h rename to connectivity/nfc/stack/transceiver/pn512/pn512_types.h diff --git a/features/nfc/stack/transceiver/protocols.h b/connectivity/nfc/stack/transceiver/protocols.h similarity index 100% rename from features/nfc/stack/transceiver/protocols.h rename to connectivity/nfc/stack/transceiver/protocols.h diff --git a/features/nfc/stack/transceiver/transceiver.c b/connectivity/nfc/stack/transceiver/transceiver.c similarity index 100% rename from features/nfc/stack/transceiver/transceiver.c rename to connectivity/nfc/stack/transceiver/transceiver.c diff --git a/features/nfc/stack/transceiver/transceiver.h b/connectivity/nfc/stack/transceiver/transceiver.h similarity index 100% rename from features/nfc/stack/transceiver/transceiver.h rename to connectivity/nfc/stack/transceiver/transceiver.h diff --git a/features/nfc/stack/transceiver/transceiver_internal.h b/connectivity/nfc/stack/transceiver/transceiver_internal.h similarity index 100% rename from features/nfc/stack/transceiver/transceiver_internal.h rename to connectivity/nfc/stack/transceiver/transceiver_internal.h From d9dc30f85ae60848405b2b9df67c603ec0ae4a10 Mon Sep 17 00:00:00 2001 From: Lingkai Dong Date: Mon, 10 Aug 2020 17:45:41 +0100 Subject: [PATCH 2/8] nfc: move headers into include --- connectivity/nfc/{ => include}/nfc/NFC.h | 0 connectivity/nfc/{ => include}/nfc/NFCController.h | 0 connectivity/nfc/{ => include}/nfc/NFCControllerDriver.h | 0 connectivity/nfc/{ => include}/nfc/NFCDefinitions.h | 0 connectivity/nfc/{ => include}/nfc/NFCEEPROM.h | 0 connectivity/nfc/{ => include}/nfc/NFCEEPROMDriver.h | 0 connectivity/nfc/{ => include}/nfc/NFCNDEFCapable.h | 0 connectivity/nfc/{ => include}/nfc/NFCRemoteEndpoint.h | 0 connectivity/nfc/{ => include}/nfc/NFCRemoteInitiator.h | 0 connectivity/nfc/{ => include}/nfc/NFCTarget.h | 0 connectivity/nfc/{ => include}/nfc/Type4RemoteInitiator.h | 0 connectivity/nfc/{ => include}/nfc/ndef/MessageBuilder.h | 0 connectivity/nfc/{ => include}/nfc/ndef/MessageParser.h | 0 connectivity/nfc/{ => include}/nfc/ndef/Record.h | 0 connectivity/nfc/{ => include}/nfc/ndef/RecordParser.h | 0 connectivity/nfc/{ => include}/nfc/ndef/common/Mime.h | 0 .../nfc/{ => include}/nfc/ndef/common/SimpleMessageParser.h | 0 connectivity/nfc/{ => include}/nfc/ndef/common/Text.h | 0 connectivity/nfc/{ => include}/nfc/ndef/common/URI.h | 0 connectivity/nfc/{ => include}/nfc/ndef/common/util.h | 0 20 files changed, 0 insertions(+), 0 deletions(-) rename connectivity/nfc/{ => include}/nfc/NFC.h (100%) rename connectivity/nfc/{ => include}/nfc/NFCController.h (100%) rename connectivity/nfc/{ => include}/nfc/NFCControllerDriver.h (100%) rename connectivity/nfc/{ => include}/nfc/NFCDefinitions.h (100%) rename connectivity/nfc/{ => include}/nfc/NFCEEPROM.h (100%) rename connectivity/nfc/{ => include}/nfc/NFCEEPROMDriver.h (100%) rename connectivity/nfc/{ => include}/nfc/NFCNDEFCapable.h (100%) rename connectivity/nfc/{ => include}/nfc/NFCRemoteEndpoint.h (100%) rename connectivity/nfc/{ => include}/nfc/NFCRemoteInitiator.h (100%) rename connectivity/nfc/{ => include}/nfc/NFCTarget.h (100%) rename connectivity/nfc/{ => include}/nfc/Type4RemoteInitiator.h (100%) rename connectivity/nfc/{ => include}/nfc/ndef/MessageBuilder.h (100%) rename connectivity/nfc/{ => include}/nfc/ndef/MessageParser.h (100%) rename connectivity/nfc/{ => include}/nfc/ndef/Record.h (100%) rename connectivity/nfc/{ => include}/nfc/ndef/RecordParser.h (100%) rename connectivity/nfc/{ => include}/nfc/ndef/common/Mime.h (100%) rename connectivity/nfc/{ => include}/nfc/ndef/common/SimpleMessageParser.h (100%) rename connectivity/nfc/{ => include}/nfc/ndef/common/Text.h (100%) rename connectivity/nfc/{ => include}/nfc/ndef/common/URI.h (100%) rename connectivity/nfc/{ => include}/nfc/ndef/common/util.h (100%) diff --git a/connectivity/nfc/nfc/NFC.h b/connectivity/nfc/include/nfc/NFC.h similarity index 100% rename from connectivity/nfc/nfc/NFC.h rename to connectivity/nfc/include/nfc/NFC.h diff --git a/connectivity/nfc/nfc/NFCController.h b/connectivity/nfc/include/nfc/NFCController.h similarity index 100% rename from connectivity/nfc/nfc/NFCController.h rename to connectivity/nfc/include/nfc/NFCController.h diff --git a/connectivity/nfc/nfc/NFCControllerDriver.h b/connectivity/nfc/include/nfc/NFCControllerDriver.h similarity index 100% rename from connectivity/nfc/nfc/NFCControllerDriver.h rename to connectivity/nfc/include/nfc/NFCControllerDriver.h diff --git a/connectivity/nfc/nfc/NFCDefinitions.h b/connectivity/nfc/include/nfc/NFCDefinitions.h similarity index 100% rename from connectivity/nfc/nfc/NFCDefinitions.h rename to connectivity/nfc/include/nfc/NFCDefinitions.h diff --git a/connectivity/nfc/nfc/NFCEEPROM.h b/connectivity/nfc/include/nfc/NFCEEPROM.h similarity index 100% rename from connectivity/nfc/nfc/NFCEEPROM.h rename to connectivity/nfc/include/nfc/NFCEEPROM.h diff --git a/connectivity/nfc/nfc/NFCEEPROMDriver.h b/connectivity/nfc/include/nfc/NFCEEPROMDriver.h similarity index 100% rename from connectivity/nfc/nfc/NFCEEPROMDriver.h rename to connectivity/nfc/include/nfc/NFCEEPROMDriver.h diff --git a/connectivity/nfc/nfc/NFCNDEFCapable.h b/connectivity/nfc/include/nfc/NFCNDEFCapable.h similarity index 100% rename from connectivity/nfc/nfc/NFCNDEFCapable.h rename to connectivity/nfc/include/nfc/NFCNDEFCapable.h diff --git a/connectivity/nfc/nfc/NFCRemoteEndpoint.h b/connectivity/nfc/include/nfc/NFCRemoteEndpoint.h similarity index 100% rename from connectivity/nfc/nfc/NFCRemoteEndpoint.h rename to connectivity/nfc/include/nfc/NFCRemoteEndpoint.h diff --git a/connectivity/nfc/nfc/NFCRemoteInitiator.h b/connectivity/nfc/include/nfc/NFCRemoteInitiator.h similarity index 100% rename from connectivity/nfc/nfc/NFCRemoteInitiator.h rename to connectivity/nfc/include/nfc/NFCRemoteInitiator.h diff --git a/connectivity/nfc/nfc/NFCTarget.h b/connectivity/nfc/include/nfc/NFCTarget.h similarity index 100% rename from connectivity/nfc/nfc/NFCTarget.h rename to connectivity/nfc/include/nfc/NFCTarget.h diff --git a/connectivity/nfc/nfc/Type4RemoteInitiator.h b/connectivity/nfc/include/nfc/Type4RemoteInitiator.h similarity index 100% rename from connectivity/nfc/nfc/Type4RemoteInitiator.h rename to connectivity/nfc/include/nfc/Type4RemoteInitiator.h diff --git a/connectivity/nfc/nfc/ndef/MessageBuilder.h b/connectivity/nfc/include/nfc/ndef/MessageBuilder.h similarity index 100% rename from connectivity/nfc/nfc/ndef/MessageBuilder.h rename to connectivity/nfc/include/nfc/ndef/MessageBuilder.h diff --git a/connectivity/nfc/nfc/ndef/MessageParser.h b/connectivity/nfc/include/nfc/ndef/MessageParser.h similarity index 100% rename from connectivity/nfc/nfc/ndef/MessageParser.h rename to connectivity/nfc/include/nfc/ndef/MessageParser.h diff --git a/connectivity/nfc/nfc/ndef/Record.h b/connectivity/nfc/include/nfc/ndef/Record.h similarity index 100% rename from connectivity/nfc/nfc/ndef/Record.h rename to connectivity/nfc/include/nfc/ndef/Record.h diff --git a/connectivity/nfc/nfc/ndef/RecordParser.h b/connectivity/nfc/include/nfc/ndef/RecordParser.h similarity index 100% rename from connectivity/nfc/nfc/ndef/RecordParser.h rename to connectivity/nfc/include/nfc/ndef/RecordParser.h diff --git a/connectivity/nfc/nfc/ndef/common/Mime.h b/connectivity/nfc/include/nfc/ndef/common/Mime.h similarity index 100% rename from connectivity/nfc/nfc/ndef/common/Mime.h rename to connectivity/nfc/include/nfc/ndef/common/Mime.h diff --git a/connectivity/nfc/nfc/ndef/common/SimpleMessageParser.h b/connectivity/nfc/include/nfc/ndef/common/SimpleMessageParser.h similarity index 100% rename from connectivity/nfc/nfc/ndef/common/SimpleMessageParser.h rename to connectivity/nfc/include/nfc/ndef/common/SimpleMessageParser.h diff --git a/connectivity/nfc/nfc/ndef/common/Text.h b/connectivity/nfc/include/nfc/ndef/common/Text.h similarity index 100% rename from connectivity/nfc/nfc/ndef/common/Text.h rename to connectivity/nfc/include/nfc/ndef/common/Text.h diff --git a/connectivity/nfc/nfc/ndef/common/URI.h b/connectivity/nfc/include/nfc/ndef/common/URI.h similarity index 100% rename from connectivity/nfc/nfc/ndef/common/URI.h rename to connectivity/nfc/include/nfc/ndef/common/URI.h diff --git a/connectivity/nfc/nfc/ndef/common/util.h b/connectivity/nfc/include/nfc/ndef/common/util.h similarity index 100% rename from connectivity/nfc/nfc/ndef/common/util.h rename to connectivity/nfc/include/nfc/ndef/common/util.h From 4b0cede96e25037075eb0ef419ae09f2d73538b7 Mon Sep 17 00:00:00 2001 From: Lingkai Dong Date: Tue, 11 Aug 2020 15:21:07 +0100 Subject: [PATCH 3/8] Move acore and stack into connectivity/nfc/libraries --- connectivity/nfc/{ => libraries}/acore/acore/ac_buffer.h | 0 connectivity/nfc/{ => libraries}/acore/acore/ac_buffer_builder.h | 0 connectivity/nfc/{ => libraries}/acore/acore/ac_buffer_reader.h | 0 connectivity/nfc/{ => libraries}/acore/acore/ac_debug.h | 0 connectivity/nfc/{ => libraries}/acore/acore/ac_macros.h | 0 connectivity/nfc/{ => libraries}/acore/acore/ac_stream.h | 0 connectivity/nfc/{ => libraries}/acore/source/ac_buffer.c | 0 connectivity/nfc/{ => libraries}/acore/source/ac_buffer_builder.c | 0 connectivity/nfc/{ => libraries}/acore/source/ac_buffer_reader.c | 0 connectivity/nfc/{ => libraries}/acore/source/ac_stream.c | 0 connectivity/nfc/{ => libraries}/stack/ndef/ndef.c | 0 connectivity/nfc/{ => libraries}/stack/ndef/ndef.h | 0 connectivity/nfc/{ => libraries}/stack/nfc_common.h | 0 connectivity/nfc/{ => libraries}/stack/nfc_errors.h | 0 connectivity/nfc/{ => libraries}/stack/platform/nfc_debug.h | 0 connectivity/nfc/{ => libraries}/stack/platform/nfc_scheduler.c | 0 connectivity/nfc/{ => libraries}/stack/platform/nfc_scheduler.h | 0 connectivity/nfc/{ => libraries}/stack/platform/nfc_transport.c | 0 connectivity/nfc/{ => libraries}/stack/platform/nfc_transport.h | 0 connectivity/nfc/{ => libraries}/stack/tech/iso7816/iso7816.c | 0 connectivity/nfc/{ => libraries}/stack/tech/iso7816/iso7816.h | 0 connectivity/nfc/{ => libraries}/stack/tech/iso7816/iso7816_app.c | 0 connectivity/nfc/{ => libraries}/stack/tech/iso7816/iso7816_app.h | 0 .../nfc/{ => libraries}/stack/tech/iso7816/iso7816_defs.h | 0 connectivity/nfc/{ => libraries}/stack/tech/isodep/isodep.h | 0 .../nfc/{ => libraries}/stack/tech/isodep/isodep_target.c | 0 .../nfc/{ => libraries}/stack/tech/isodep/isodep_target.h | 0 connectivity/nfc/{ => libraries}/stack/tech/type4/type4_target.c | 0 connectivity/nfc/{ => libraries}/stack/tech/type4/type4_target.h | 0 connectivity/nfc/{ => libraries}/stack/transceiver/protocols.h | 0 connectivity/nfc/{ => libraries}/stack/transceiver/transceiver.c | 0 connectivity/nfc/{ => libraries}/stack/transceiver/transceiver.h | 0 .../nfc/{ => libraries}/stack/transceiver/transceiver_internal.h | 0 33 files changed, 0 insertions(+), 0 deletions(-) rename connectivity/nfc/{ => libraries}/acore/acore/ac_buffer.h (100%) rename connectivity/nfc/{ => libraries}/acore/acore/ac_buffer_builder.h (100%) rename connectivity/nfc/{ => libraries}/acore/acore/ac_buffer_reader.h (100%) rename connectivity/nfc/{ => libraries}/acore/acore/ac_debug.h (100%) rename connectivity/nfc/{ => libraries}/acore/acore/ac_macros.h (100%) rename connectivity/nfc/{ => libraries}/acore/acore/ac_stream.h (100%) rename connectivity/nfc/{ => libraries}/acore/source/ac_buffer.c (100%) rename connectivity/nfc/{ => libraries}/acore/source/ac_buffer_builder.c (100%) rename connectivity/nfc/{ => libraries}/acore/source/ac_buffer_reader.c (100%) rename connectivity/nfc/{ => libraries}/acore/source/ac_stream.c (100%) rename connectivity/nfc/{ => libraries}/stack/ndef/ndef.c (100%) rename connectivity/nfc/{ => libraries}/stack/ndef/ndef.h (100%) rename connectivity/nfc/{ => libraries}/stack/nfc_common.h (100%) rename connectivity/nfc/{ => libraries}/stack/nfc_errors.h (100%) rename connectivity/nfc/{ => libraries}/stack/platform/nfc_debug.h (100%) rename connectivity/nfc/{ => libraries}/stack/platform/nfc_scheduler.c (100%) rename connectivity/nfc/{ => libraries}/stack/platform/nfc_scheduler.h (100%) rename connectivity/nfc/{ => libraries}/stack/platform/nfc_transport.c (100%) rename connectivity/nfc/{ => libraries}/stack/platform/nfc_transport.h (100%) rename connectivity/nfc/{ => libraries}/stack/tech/iso7816/iso7816.c (100%) rename connectivity/nfc/{ => libraries}/stack/tech/iso7816/iso7816.h (100%) rename connectivity/nfc/{ => libraries}/stack/tech/iso7816/iso7816_app.c (100%) rename connectivity/nfc/{ => libraries}/stack/tech/iso7816/iso7816_app.h (100%) rename connectivity/nfc/{ => libraries}/stack/tech/iso7816/iso7816_defs.h (100%) rename connectivity/nfc/{ => libraries}/stack/tech/isodep/isodep.h (100%) rename connectivity/nfc/{ => libraries}/stack/tech/isodep/isodep_target.c (100%) rename connectivity/nfc/{ => libraries}/stack/tech/isodep/isodep_target.h (100%) rename connectivity/nfc/{ => libraries}/stack/tech/type4/type4_target.c (100%) rename connectivity/nfc/{ => libraries}/stack/tech/type4/type4_target.h (100%) rename connectivity/nfc/{ => libraries}/stack/transceiver/protocols.h (100%) rename connectivity/nfc/{ => libraries}/stack/transceiver/transceiver.c (100%) rename connectivity/nfc/{ => libraries}/stack/transceiver/transceiver.h (100%) rename connectivity/nfc/{ => libraries}/stack/transceiver/transceiver_internal.h (100%) diff --git a/connectivity/nfc/acore/acore/ac_buffer.h b/connectivity/nfc/libraries/acore/acore/ac_buffer.h similarity index 100% rename from connectivity/nfc/acore/acore/ac_buffer.h rename to connectivity/nfc/libraries/acore/acore/ac_buffer.h diff --git a/connectivity/nfc/acore/acore/ac_buffer_builder.h b/connectivity/nfc/libraries/acore/acore/ac_buffer_builder.h similarity index 100% rename from connectivity/nfc/acore/acore/ac_buffer_builder.h rename to connectivity/nfc/libraries/acore/acore/ac_buffer_builder.h diff --git a/connectivity/nfc/acore/acore/ac_buffer_reader.h b/connectivity/nfc/libraries/acore/acore/ac_buffer_reader.h similarity index 100% rename from connectivity/nfc/acore/acore/ac_buffer_reader.h rename to connectivity/nfc/libraries/acore/acore/ac_buffer_reader.h diff --git a/connectivity/nfc/acore/acore/ac_debug.h b/connectivity/nfc/libraries/acore/acore/ac_debug.h similarity index 100% rename from connectivity/nfc/acore/acore/ac_debug.h rename to connectivity/nfc/libraries/acore/acore/ac_debug.h diff --git a/connectivity/nfc/acore/acore/ac_macros.h b/connectivity/nfc/libraries/acore/acore/ac_macros.h similarity index 100% rename from connectivity/nfc/acore/acore/ac_macros.h rename to connectivity/nfc/libraries/acore/acore/ac_macros.h diff --git a/connectivity/nfc/acore/acore/ac_stream.h b/connectivity/nfc/libraries/acore/acore/ac_stream.h similarity index 100% rename from connectivity/nfc/acore/acore/ac_stream.h rename to connectivity/nfc/libraries/acore/acore/ac_stream.h diff --git a/connectivity/nfc/acore/source/ac_buffer.c b/connectivity/nfc/libraries/acore/source/ac_buffer.c similarity index 100% rename from connectivity/nfc/acore/source/ac_buffer.c rename to connectivity/nfc/libraries/acore/source/ac_buffer.c diff --git a/connectivity/nfc/acore/source/ac_buffer_builder.c b/connectivity/nfc/libraries/acore/source/ac_buffer_builder.c similarity index 100% rename from connectivity/nfc/acore/source/ac_buffer_builder.c rename to connectivity/nfc/libraries/acore/source/ac_buffer_builder.c diff --git a/connectivity/nfc/acore/source/ac_buffer_reader.c b/connectivity/nfc/libraries/acore/source/ac_buffer_reader.c similarity index 100% rename from connectivity/nfc/acore/source/ac_buffer_reader.c rename to connectivity/nfc/libraries/acore/source/ac_buffer_reader.c diff --git a/connectivity/nfc/acore/source/ac_stream.c b/connectivity/nfc/libraries/acore/source/ac_stream.c similarity index 100% rename from connectivity/nfc/acore/source/ac_stream.c rename to connectivity/nfc/libraries/acore/source/ac_stream.c diff --git a/connectivity/nfc/stack/ndef/ndef.c b/connectivity/nfc/libraries/stack/ndef/ndef.c similarity index 100% rename from connectivity/nfc/stack/ndef/ndef.c rename to connectivity/nfc/libraries/stack/ndef/ndef.c diff --git a/connectivity/nfc/stack/ndef/ndef.h b/connectivity/nfc/libraries/stack/ndef/ndef.h similarity index 100% rename from connectivity/nfc/stack/ndef/ndef.h rename to connectivity/nfc/libraries/stack/ndef/ndef.h diff --git a/connectivity/nfc/stack/nfc_common.h b/connectivity/nfc/libraries/stack/nfc_common.h similarity index 100% rename from connectivity/nfc/stack/nfc_common.h rename to connectivity/nfc/libraries/stack/nfc_common.h diff --git a/connectivity/nfc/stack/nfc_errors.h b/connectivity/nfc/libraries/stack/nfc_errors.h similarity index 100% rename from connectivity/nfc/stack/nfc_errors.h rename to connectivity/nfc/libraries/stack/nfc_errors.h diff --git a/connectivity/nfc/stack/platform/nfc_debug.h b/connectivity/nfc/libraries/stack/platform/nfc_debug.h similarity index 100% rename from connectivity/nfc/stack/platform/nfc_debug.h rename to connectivity/nfc/libraries/stack/platform/nfc_debug.h diff --git a/connectivity/nfc/stack/platform/nfc_scheduler.c b/connectivity/nfc/libraries/stack/platform/nfc_scheduler.c similarity index 100% rename from connectivity/nfc/stack/platform/nfc_scheduler.c rename to connectivity/nfc/libraries/stack/platform/nfc_scheduler.c diff --git a/connectivity/nfc/stack/platform/nfc_scheduler.h b/connectivity/nfc/libraries/stack/platform/nfc_scheduler.h similarity index 100% rename from connectivity/nfc/stack/platform/nfc_scheduler.h rename to connectivity/nfc/libraries/stack/platform/nfc_scheduler.h diff --git a/connectivity/nfc/stack/platform/nfc_transport.c b/connectivity/nfc/libraries/stack/platform/nfc_transport.c similarity index 100% rename from connectivity/nfc/stack/platform/nfc_transport.c rename to connectivity/nfc/libraries/stack/platform/nfc_transport.c diff --git a/connectivity/nfc/stack/platform/nfc_transport.h b/connectivity/nfc/libraries/stack/platform/nfc_transport.h similarity index 100% rename from connectivity/nfc/stack/platform/nfc_transport.h rename to connectivity/nfc/libraries/stack/platform/nfc_transport.h diff --git a/connectivity/nfc/stack/tech/iso7816/iso7816.c b/connectivity/nfc/libraries/stack/tech/iso7816/iso7816.c similarity index 100% rename from connectivity/nfc/stack/tech/iso7816/iso7816.c rename to connectivity/nfc/libraries/stack/tech/iso7816/iso7816.c diff --git a/connectivity/nfc/stack/tech/iso7816/iso7816.h b/connectivity/nfc/libraries/stack/tech/iso7816/iso7816.h similarity index 100% rename from connectivity/nfc/stack/tech/iso7816/iso7816.h rename to connectivity/nfc/libraries/stack/tech/iso7816/iso7816.h diff --git a/connectivity/nfc/stack/tech/iso7816/iso7816_app.c b/connectivity/nfc/libraries/stack/tech/iso7816/iso7816_app.c similarity index 100% rename from connectivity/nfc/stack/tech/iso7816/iso7816_app.c rename to connectivity/nfc/libraries/stack/tech/iso7816/iso7816_app.c diff --git a/connectivity/nfc/stack/tech/iso7816/iso7816_app.h b/connectivity/nfc/libraries/stack/tech/iso7816/iso7816_app.h similarity index 100% rename from connectivity/nfc/stack/tech/iso7816/iso7816_app.h rename to connectivity/nfc/libraries/stack/tech/iso7816/iso7816_app.h diff --git a/connectivity/nfc/stack/tech/iso7816/iso7816_defs.h b/connectivity/nfc/libraries/stack/tech/iso7816/iso7816_defs.h similarity index 100% rename from connectivity/nfc/stack/tech/iso7816/iso7816_defs.h rename to connectivity/nfc/libraries/stack/tech/iso7816/iso7816_defs.h diff --git a/connectivity/nfc/stack/tech/isodep/isodep.h b/connectivity/nfc/libraries/stack/tech/isodep/isodep.h similarity index 100% rename from connectivity/nfc/stack/tech/isodep/isodep.h rename to connectivity/nfc/libraries/stack/tech/isodep/isodep.h diff --git a/connectivity/nfc/stack/tech/isodep/isodep_target.c b/connectivity/nfc/libraries/stack/tech/isodep/isodep_target.c similarity index 100% rename from connectivity/nfc/stack/tech/isodep/isodep_target.c rename to connectivity/nfc/libraries/stack/tech/isodep/isodep_target.c diff --git a/connectivity/nfc/stack/tech/isodep/isodep_target.h b/connectivity/nfc/libraries/stack/tech/isodep/isodep_target.h similarity index 100% rename from connectivity/nfc/stack/tech/isodep/isodep_target.h rename to connectivity/nfc/libraries/stack/tech/isodep/isodep_target.h diff --git a/connectivity/nfc/stack/tech/type4/type4_target.c b/connectivity/nfc/libraries/stack/tech/type4/type4_target.c similarity index 100% rename from connectivity/nfc/stack/tech/type4/type4_target.c rename to connectivity/nfc/libraries/stack/tech/type4/type4_target.c diff --git a/connectivity/nfc/stack/tech/type4/type4_target.h b/connectivity/nfc/libraries/stack/tech/type4/type4_target.h similarity index 100% rename from connectivity/nfc/stack/tech/type4/type4_target.h rename to connectivity/nfc/libraries/stack/tech/type4/type4_target.h diff --git a/connectivity/nfc/stack/transceiver/protocols.h b/connectivity/nfc/libraries/stack/transceiver/protocols.h similarity index 100% rename from connectivity/nfc/stack/transceiver/protocols.h rename to connectivity/nfc/libraries/stack/transceiver/protocols.h diff --git a/connectivity/nfc/stack/transceiver/transceiver.c b/connectivity/nfc/libraries/stack/transceiver/transceiver.c similarity index 100% rename from connectivity/nfc/stack/transceiver/transceiver.c rename to connectivity/nfc/libraries/stack/transceiver/transceiver.c diff --git a/connectivity/nfc/stack/transceiver/transceiver.h b/connectivity/nfc/libraries/stack/transceiver/transceiver.h similarity index 100% rename from connectivity/nfc/stack/transceiver/transceiver.h rename to connectivity/nfc/libraries/stack/transceiver/transceiver.h diff --git a/connectivity/nfc/stack/transceiver/transceiver_internal.h b/connectivity/nfc/libraries/stack/transceiver/transceiver_internal.h similarity index 100% rename from connectivity/nfc/stack/transceiver/transceiver_internal.h rename to connectivity/nfc/libraries/stack/transceiver/transceiver_internal.h From bed5fd33e869f7bc447ef4c94f273ebba1d32fc5 Mon Sep 17 00:00:00 2001 From: Lingkai Dong Date: Mon, 10 Aug 2020 17:52:50 +0100 Subject: [PATCH 4/8] nfc: turn PN512 driver into a standalone driver library --- .../controllers => drivers/nfc/PN512/include}/PN512Driver.h | 2 +- .../nfc/PN512/include}/PN512SPITransportDriver.h | 0 .../nfc/PN512/include}/PN512TransportDriver.h | 0 connectivity/drivers/nfc/PN512/mbed_lib.json | 3 +++ .../controllers => drivers/nfc/PN512/source}/PN512Driver.cpp | 0 .../nfc/PN512/source}/PN512SPITransportDriver.cpp | 0 .../nfc/PN512/source}/PN512TransportDriver.cpp | 0 .../pn512 => drivers/nfc/PN512/source/transceiver}/pn512.c | 0 .../pn512 => drivers/nfc/PN512/source/transceiver}/pn512.h | 0 .../nfc/PN512/source/transceiver}/pn512_callback.h | 0 .../pn512 => drivers/nfc/PN512/source/transceiver}/pn512_cmd.c | 0 .../pn512 => drivers/nfc/PN512/source/transceiver}/pn512_cmd.h | 0 .../pn512 => drivers/nfc/PN512/source/transceiver}/pn512_hw.c | 0 .../pn512 => drivers/nfc/PN512/source/transceiver}/pn512_hw.h | 0 .../nfc/PN512/source/transceiver}/pn512_internal.h | 0 .../pn512 => drivers/nfc/PN512/source/transceiver}/pn512_irq.c | 0 .../pn512 => drivers/nfc/PN512/source/transceiver}/pn512_irq.h | 0 .../nfc/PN512/source/transceiver}/pn512_poll.c | 0 .../nfc/PN512/source/transceiver}/pn512_poll.h | 0 .../nfc/PN512/source/transceiver}/pn512_registers.c | 0 .../nfc/PN512/source/transceiver}/pn512_registers.h | 0 .../pn512 => drivers/nfc/PN512/source/transceiver}/pn512_rf.c | 0 .../pn512 => drivers/nfc/PN512/source/transceiver}/pn512_rf.h | 0 .../nfc/PN512/source/transceiver}/pn512_timer.c | 0 .../nfc/PN512/source/transceiver}/pn512_timer.h | 0 .../nfc/PN512/source/transceiver}/pn512_transceive.c | 0 .../nfc/PN512/source/transceiver}/pn512_transceive.h | 0 .../nfc/PN512/source/transceiver}/pn512_types.h | 0 28 files changed, 4 insertions(+), 1 deletion(-) rename connectivity/{nfc/controllers => drivers/nfc/PN512/include}/PN512Driver.h (96%) rename connectivity/{nfc/controllers => drivers/nfc/PN512/include}/PN512SPITransportDriver.h (100%) rename connectivity/{nfc/controllers => drivers/nfc/PN512/include}/PN512TransportDriver.h (100%) create mode 100644 connectivity/drivers/nfc/PN512/mbed_lib.json rename connectivity/{nfc/source/controllers => drivers/nfc/PN512/source}/PN512Driver.cpp (100%) rename connectivity/{nfc/source/controllers => drivers/nfc/PN512/source}/PN512SPITransportDriver.cpp (100%) rename connectivity/{nfc/source/controllers => drivers/nfc/PN512/source}/PN512TransportDriver.cpp (100%) rename connectivity/{nfc/stack/transceiver/pn512 => drivers/nfc/PN512/source/transceiver}/pn512.c (100%) rename connectivity/{nfc/stack/transceiver/pn512 => drivers/nfc/PN512/source/transceiver}/pn512.h (100%) rename connectivity/{nfc/stack/transceiver/pn512 => drivers/nfc/PN512/source/transceiver}/pn512_callback.h (100%) rename connectivity/{nfc/stack/transceiver/pn512 => drivers/nfc/PN512/source/transceiver}/pn512_cmd.c (100%) rename connectivity/{nfc/stack/transceiver/pn512 => drivers/nfc/PN512/source/transceiver}/pn512_cmd.h (100%) rename connectivity/{nfc/stack/transceiver/pn512 => drivers/nfc/PN512/source/transceiver}/pn512_hw.c (100%) rename connectivity/{nfc/stack/transceiver/pn512 => drivers/nfc/PN512/source/transceiver}/pn512_hw.h (100%) rename connectivity/{nfc/stack/transceiver/pn512 => drivers/nfc/PN512/source/transceiver}/pn512_internal.h (100%) rename connectivity/{nfc/stack/transceiver/pn512 => drivers/nfc/PN512/source/transceiver}/pn512_irq.c (100%) rename connectivity/{nfc/stack/transceiver/pn512 => drivers/nfc/PN512/source/transceiver}/pn512_irq.h (100%) rename connectivity/{nfc/stack/transceiver/pn512 => drivers/nfc/PN512/source/transceiver}/pn512_poll.c (100%) rename connectivity/{nfc/stack/transceiver/pn512 => drivers/nfc/PN512/source/transceiver}/pn512_poll.h (100%) rename connectivity/{nfc/stack/transceiver/pn512 => drivers/nfc/PN512/source/transceiver}/pn512_registers.c (100%) rename connectivity/{nfc/stack/transceiver/pn512 => drivers/nfc/PN512/source/transceiver}/pn512_registers.h (100%) rename connectivity/{nfc/stack/transceiver/pn512 => drivers/nfc/PN512/source/transceiver}/pn512_rf.c (100%) rename connectivity/{nfc/stack/transceiver/pn512 => drivers/nfc/PN512/source/transceiver}/pn512_rf.h (100%) rename connectivity/{nfc/stack/transceiver/pn512 => drivers/nfc/PN512/source/transceiver}/pn512_timer.c (100%) rename connectivity/{nfc/stack/transceiver/pn512 => drivers/nfc/PN512/source/transceiver}/pn512_timer.h (100%) rename connectivity/{nfc/stack/transceiver/pn512 => drivers/nfc/PN512/source/transceiver}/pn512_transceive.c (100%) rename connectivity/{nfc/stack/transceiver/pn512 => drivers/nfc/PN512/source/transceiver}/pn512_transceive.h (100%) rename connectivity/{nfc/stack/transceiver/pn512 => drivers/nfc/PN512/source/transceiver}/pn512_types.h (100%) diff --git a/connectivity/nfc/controllers/PN512Driver.h b/connectivity/drivers/nfc/PN512/include/PN512Driver.h similarity index 96% rename from connectivity/nfc/controllers/PN512Driver.h rename to connectivity/drivers/nfc/PN512/include/PN512Driver.h index 91a677889f..be849795fb 100644 --- a/connectivity/nfc/controllers/PN512Driver.h +++ b/connectivity/drivers/nfc/PN512/include/PN512Driver.h @@ -25,7 +25,7 @@ #include "nfc/acore/acore/ac_buffer.h" #include "nfc/acore/acore/ac_buffer_reader.h" #include "nfc/acore/acore/ac_buffer_builder.h" -#include "nfc/stack/transceiver/pn512/pn512.h" +#include "transceiver/pn512.h" namespace mbed { namespace nfc { diff --git a/connectivity/nfc/controllers/PN512SPITransportDriver.h b/connectivity/drivers/nfc/PN512/include/PN512SPITransportDriver.h similarity index 100% rename from connectivity/nfc/controllers/PN512SPITransportDriver.h rename to connectivity/drivers/nfc/PN512/include/PN512SPITransportDriver.h diff --git a/connectivity/nfc/controllers/PN512TransportDriver.h b/connectivity/drivers/nfc/PN512/include/PN512TransportDriver.h similarity index 100% rename from connectivity/nfc/controllers/PN512TransportDriver.h rename to connectivity/drivers/nfc/PN512/include/PN512TransportDriver.h diff --git a/connectivity/drivers/nfc/PN512/mbed_lib.json b/connectivity/drivers/nfc/PN512/mbed_lib.json new file mode 100644 index 0000000000..a58b5d81b9 --- /dev/null +++ b/connectivity/drivers/nfc/PN512/mbed_lib.json @@ -0,0 +1,3 @@ +{ + "name": "PN512-nfc" +} diff --git a/connectivity/nfc/source/controllers/PN512Driver.cpp b/connectivity/drivers/nfc/PN512/source/PN512Driver.cpp similarity index 100% rename from connectivity/nfc/source/controllers/PN512Driver.cpp rename to connectivity/drivers/nfc/PN512/source/PN512Driver.cpp diff --git a/connectivity/nfc/source/controllers/PN512SPITransportDriver.cpp b/connectivity/drivers/nfc/PN512/source/PN512SPITransportDriver.cpp similarity index 100% rename from connectivity/nfc/source/controllers/PN512SPITransportDriver.cpp rename to connectivity/drivers/nfc/PN512/source/PN512SPITransportDriver.cpp diff --git a/connectivity/nfc/source/controllers/PN512TransportDriver.cpp b/connectivity/drivers/nfc/PN512/source/PN512TransportDriver.cpp similarity index 100% rename from connectivity/nfc/source/controllers/PN512TransportDriver.cpp rename to connectivity/drivers/nfc/PN512/source/PN512TransportDriver.cpp diff --git a/connectivity/nfc/stack/transceiver/pn512/pn512.c b/connectivity/drivers/nfc/PN512/source/transceiver/pn512.c similarity index 100% rename from connectivity/nfc/stack/transceiver/pn512/pn512.c rename to connectivity/drivers/nfc/PN512/source/transceiver/pn512.c diff --git a/connectivity/nfc/stack/transceiver/pn512/pn512.h b/connectivity/drivers/nfc/PN512/source/transceiver/pn512.h similarity index 100% rename from connectivity/nfc/stack/transceiver/pn512/pn512.h rename to connectivity/drivers/nfc/PN512/source/transceiver/pn512.h diff --git a/connectivity/nfc/stack/transceiver/pn512/pn512_callback.h b/connectivity/drivers/nfc/PN512/source/transceiver/pn512_callback.h similarity index 100% rename from connectivity/nfc/stack/transceiver/pn512/pn512_callback.h rename to connectivity/drivers/nfc/PN512/source/transceiver/pn512_callback.h diff --git a/connectivity/nfc/stack/transceiver/pn512/pn512_cmd.c b/connectivity/drivers/nfc/PN512/source/transceiver/pn512_cmd.c similarity index 100% rename from connectivity/nfc/stack/transceiver/pn512/pn512_cmd.c rename to connectivity/drivers/nfc/PN512/source/transceiver/pn512_cmd.c diff --git a/connectivity/nfc/stack/transceiver/pn512/pn512_cmd.h b/connectivity/drivers/nfc/PN512/source/transceiver/pn512_cmd.h similarity index 100% rename from connectivity/nfc/stack/transceiver/pn512/pn512_cmd.h rename to connectivity/drivers/nfc/PN512/source/transceiver/pn512_cmd.h diff --git a/connectivity/nfc/stack/transceiver/pn512/pn512_hw.c b/connectivity/drivers/nfc/PN512/source/transceiver/pn512_hw.c similarity index 100% rename from connectivity/nfc/stack/transceiver/pn512/pn512_hw.c rename to connectivity/drivers/nfc/PN512/source/transceiver/pn512_hw.c diff --git a/connectivity/nfc/stack/transceiver/pn512/pn512_hw.h b/connectivity/drivers/nfc/PN512/source/transceiver/pn512_hw.h similarity index 100% rename from connectivity/nfc/stack/transceiver/pn512/pn512_hw.h rename to connectivity/drivers/nfc/PN512/source/transceiver/pn512_hw.h diff --git a/connectivity/nfc/stack/transceiver/pn512/pn512_internal.h b/connectivity/drivers/nfc/PN512/source/transceiver/pn512_internal.h similarity index 100% rename from connectivity/nfc/stack/transceiver/pn512/pn512_internal.h rename to connectivity/drivers/nfc/PN512/source/transceiver/pn512_internal.h diff --git a/connectivity/nfc/stack/transceiver/pn512/pn512_irq.c b/connectivity/drivers/nfc/PN512/source/transceiver/pn512_irq.c similarity index 100% rename from connectivity/nfc/stack/transceiver/pn512/pn512_irq.c rename to connectivity/drivers/nfc/PN512/source/transceiver/pn512_irq.c diff --git a/connectivity/nfc/stack/transceiver/pn512/pn512_irq.h b/connectivity/drivers/nfc/PN512/source/transceiver/pn512_irq.h similarity index 100% rename from connectivity/nfc/stack/transceiver/pn512/pn512_irq.h rename to connectivity/drivers/nfc/PN512/source/transceiver/pn512_irq.h diff --git a/connectivity/nfc/stack/transceiver/pn512/pn512_poll.c b/connectivity/drivers/nfc/PN512/source/transceiver/pn512_poll.c similarity index 100% rename from connectivity/nfc/stack/transceiver/pn512/pn512_poll.c rename to connectivity/drivers/nfc/PN512/source/transceiver/pn512_poll.c diff --git a/connectivity/nfc/stack/transceiver/pn512/pn512_poll.h b/connectivity/drivers/nfc/PN512/source/transceiver/pn512_poll.h similarity index 100% rename from connectivity/nfc/stack/transceiver/pn512/pn512_poll.h rename to connectivity/drivers/nfc/PN512/source/transceiver/pn512_poll.h diff --git a/connectivity/nfc/stack/transceiver/pn512/pn512_registers.c b/connectivity/drivers/nfc/PN512/source/transceiver/pn512_registers.c similarity index 100% rename from connectivity/nfc/stack/transceiver/pn512/pn512_registers.c rename to connectivity/drivers/nfc/PN512/source/transceiver/pn512_registers.c diff --git a/connectivity/nfc/stack/transceiver/pn512/pn512_registers.h b/connectivity/drivers/nfc/PN512/source/transceiver/pn512_registers.h similarity index 100% rename from connectivity/nfc/stack/transceiver/pn512/pn512_registers.h rename to connectivity/drivers/nfc/PN512/source/transceiver/pn512_registers.h diff --git a/connectivity/nfc/stack/transceiver/pn512/pn512_rf.c b/connectivity/drivers/nfc/PN512/source/transceiver/pn512_rf.c similarity index 100% rename from connectivity/nfc/stack/transceiver/pn512/pn512_rf.c rename to connectivity/drivers/nfc/PN512/source/transceiver/pn512_rf.c diff --git a/connectivity/nfc/stack/transceiver/pn512/pn512_rf.h b/connectivity/drivers/nfc/PN512/source/transceiver/pn512_rf.h similarity index 100% rename from connectivity/nfc/stack/transceiver/pn512/pn512_rf.h rename to connectivity/drivers/nfc/PN512/source/transceiver/pn512_rf.h diff --git a/connectivity/nfc/stack/transceiver/pn512/pn512_timer.c b/connectivity/drivers/nfc/PN512/source/transceiver/pn512_timer.c similarity index 100% rename from connectivity/nfc/stack/transceiver/pn512/pn512_timer.c rename to connectivity/drivers/nfc/PN512/source/transceiver/pn512_timer.c diff --git a/connectivity/nfc/stack/transceiver/pn512/pn512_timer.h b/connectivity/drivers/nfc/PN512/source/transceiver/pn512_timer.h similarity index 100% rename from connectivity/nfc/stack/transceiver/pn512/pn512_timer.h rename to connectivity/drivers/nfc/PN512/source/transceiver/pn512_timer.h diff --git a/connectivity/nfc/stack/transceiver/pn512/pn512_transceive.c b/connectivity/drivers/nfc/PN512/source/transceiver/pn512_transceive.c similarity index 100% rename from connectivity/nfc/stack/transceiver/pn512/pn512_transceive.c rename to connectivity/drivers/nfc/PN512/source/transceiver/pn512_transceive.c diff --git a/connectivity/nfc/stack/transceiver/pn512/pn512_transceive.h b/connectivity/drivers/nfc/PN512/source/transceiver/pn512_transceive.h similarity index 100% rename from connectivity/nfc/stack/transceiver/pn512/pn512_transceive.h rename to connectivity/drivers/nfc/PN512/source/transceiver/pn512_transceive.h diff --git a/connectivity/nfc/stack/transceiver/pn512/pn512_types.h b/connectivity/drivers/nfc/PN512/source/transceiver/pn512_types.h similarity index 100% rename from connectivity/nfc/stack/transceiver/pn512/pn512_types.h rename to connectivity/drivers/nfc/PN512/source/transceiver/pn512_types.h From 8b151da71b3b2bffdcc017b1004212a3bdc0f771 Mon Sep 17 00:00:00 2001 From: Lingkai Dong Date: Tue, 11 Aug 2020 16:12:18 +0100 Subject: [PATCH 5/8] Drop redundant nfc/ directory from source/ --- connectivity/nfc/source/{nfc => }/NFCController.cpp | 0 connectivity/nfc/source/{nfc => }/NFCControllerDriver.cpp | 0 connectivity/nfc/source/{nfc => }/NFCEEPROM.cpp | 0 connectivity/nfc/source/{nfc => }/NFCEEPROMDriver.cpp | 0 connectivity/nfc/source/{nfc => }/NFCNDEFCapable.cpp | 0 connectivity/nfc/source/{nfc => }/NFCRemoteEndpoint.cpp | 0 connectivity/nfc/source/{nfc => }/NFCRemoteInitiator.cpp | 0 connectivity/nfc/source/{nfc => }/NFCTarget.cpp | 0 connectivity/nfc/source/{nfc => }/Type4RemoteInitiator.cpp | 0 connectivity/nfc/source/{nfc => }/ndef/MessageBuilder.cpp | 0 connectivity/nfc/source/{nfc => }/ndef/MessageParser.cpp | 0 connectivity/nfc/source/{nfc => }/ndef/RecordParser.cpp | 0 connectivity/nfc/source/{nfc => }/ndef/common/Mime.cpp | 0 .../nfc/source/{nfc => }/ndef/common/SimpleMessageParser.cpp | 0 connectivity/nfc/source/{nfc => }/ndef/common/Text.cpp | 0 connectivity/nfc/source/{nfc => }/ndef/common/URI.cpp | 0 connectivity/nfc/source/{nfc => }/ndef/common/util.cpp | 0 17 files changed, 0 insertions(+), 0 deletions(-) rename connectivity/nfc/source/{nfc => }/NFCController.cpp (100%) rename connectivity/nfc/source/{nfc => }/NFCControllerDriver.cpp (100%) rename connectivity/nfc/source/{nfc => }/NFCEEPROM.cpp (100%) rename connectivity/nfc/source/{nfc => }/NFCEEPROMDriver.cpp (100%) rename connectivity/nfc/source/{nfc => }/NFCNDEFCapable.cpp (100%) rename connectivity/nfc/source/{nfc => }/NFCRemoteEndpoint.cpp (100%) rename connectivity/nfc/source/{nfc => }/NFCRemoteInitiator.cpp (100%) rename connectivity/nfc/source/{nfc => }/NFCTarget.cpp (100%) rename connectivity/nfc/source/{nfc => }/Type4RemoteInitiator.cpp (100%) rename connectivity/nfc/source/{nfc => }/ndef/MessageBuilder.cpp (100%) rename connectivity/nfc/source/{nfc => }/ndef/MessageParser.cpp (100%) rename connectivity/nfc/source/{nfc => }/ndef/RecordParser.cpp (100%) rename connectivity/nfc/source/{nfc => }/ndef/common/Mime.cpp (100%) rename connectivity/nfc/source/{nfc => }/ndef/common/SimpleMessageParser.cpp (100%) rename connectivity/nfc/source/{nfc => }/ndef/common/Text.cpp (100%) rename connectivity/nfc/source/{nfc => }/ndef/common/URI.cpp (100%) rename connectivity/nfc/source/{nfc => }/ndef/common/util.cpp (100%) diff --git a/connectivity/nfc/source/nfc/NFCController.cpp b/connectivity/nfc/source/NFCController.cpp similarity index 100% rename from connectivity/nfc/source/nfc/NFCController.cpp rename to connectivity/nfc/source/NFCController.cpp diff --git a/connectivity/nfc/source/nfc/NFCControllerDriver.cpp b/connectivity/nfc/source/NFCControllerDriver.cpp similarity index 100% rename from connectivity/nfc/source/nfc/NFCControllerDriver.cpp rename to connectivity/nfc/source/NFCControllerDriver.cpp diff --git a/connectivity/nfc/source/nfc/NFCEEPROM.cpp b/connectivity/nfc/source/NFCEEPROM.cpp similarity index 100% rename from connectivity/nfc/source/nfc/NFCEEPROM.cpp rename to connectivity/nfc/source/NFCEEPROM.cpp diff --git a/connectivity/nfc/source/nfc/NFCEEPROMDriver.cpp b/connectivity/nfc/source/NFCEEPROMDriver.cpp similarity index 100% rename from connectivity/nfc/source/nfc/NFCEEPROMDriver.cpp rename to connectivity/nfc/source/NFCEEPROMDriver.cpp diff --git a/connectivity/nfc/source/nfc/NFCNDEFCapable.cpp b/connectivity/nfc/source/NFCNDEFCapable.cpp similarity index 100% rename from connectivity/nfc/source/nfc/NFCNDEFCapable.cpp rename to connectivity/nfc/source/NFCNDEFCapable.cpp diff --git a/connectivity/nfc/source/nfc/NFCRemoteEndpoint.cpp b/connectivity/nfc/source/NFCRemoteEndpoint.cpp similarity index 100% rename from connectivity/nfc/source/nfc/NFCRemoteEndpoint.cpp rename to connectivity/nfc/source/NFCRemoteEndpoint.cpp diff --git a/connectivity/nfc/source/nfc/NFCRemoteInitiator.cpp b/connectivity/nfc/source/NFCRemoteInitiator.cpp similarity index 100% rename from connectivity/nfc/source/nfc/NFCRemoteInitiator.cpp rename to connectivity/nfc/source/NFCRemoteInitiator.cpp diff --git a/connectivity/nfc/source/nfc/NFCTarget.cpp b/connectivity/nfc/source/NFCTarget.cpp similarity index 100% rename from connectivity/nfc/source/nfc/NFCTarget.cpp rename to connectivity/nfc/source/NFCTarget.cpp diff --git a/connectivity/nfc/source/nfc/Type4RemoteInitiator.cpp b/connectivity/nfc/source/Type4RemoteInitiator.cpp similarity index 100% rename from connectivity/nfc/source/nfc/Type4RemoteInitiator.cpp rename to connectivity/nfc/source/Type4RemoteInitiator.cpp diff --git a/connectivity/nfc/source/nfc/ndef/MessageBuilder.cpp b/connectivity/nfc/source/ndef/MessageBuilder.cpp similarity index 100% rename from connectivity/nfc/source/nfc/ndef/MessageBuilder.cpp rename to connectivity/nfc/source/ndef/MessageBuilder.cpp diff --git a/connectivity/nfc/source/nfc/ndef/MessageParser.cpp b/connectivity/nfc/source/ndef/MessageParser.cpp similarity index 100% rename from connectivity/nfc/source/nfc/ndef/MessageParser.cpp rename to connectivity/nfc/source/ndef/MessageParser.cpp diff --git a/connectivity/nfc/source/nfc/ndef/RecordParser.cpp b/connectivity/nfc/source/ndef/RecordParser.cpp similarity index 100% rename from connectivity/nfc/source/nfc/ndef/RecordParser.cpp rename to connectivity/nfc/source/ndef/RecordParser.cpp diff --git a/connectivity/nfc/source/nfc/ndef/common/Mime.cpp b/connectivity/nfc/source/ndef/common/Mime.cpp similarity index 100% rename from connectivity/nfc/source/nfc/ndef/common/Mime.cpp rename to connectivity/nfc/source/ndef/common/Mime.cpp diff --git a/connectivity/nfc/source/nfc/ndef/common/SimpleMessageParser.cpp b/connectivity/nfc/source/ndef/common/SimpleMessageParser.cpp similarity index 100% rename from connectivity/nfc/source/nfc/ndef/common/SimpleMessageParser.cpp rename to connectivity/nfc/source/ndef/common/SimpleMessageParser.cpp diff --git a/connectivity/nfc/source/nfc/ndef/common/Text.cpp b/connectivity/nfc/source/ndef/common/Text.cpp similarity index 100% rename from connectivity/nfc/source/nfc/ndef/common/Text.cpp rename to connectivity/nfc/source/ndef/common/Text.cpp diff --git a/connectivity/nfc/source/nfc/ndef/common/URI.cpp b/connectivity/nfc/source/ndef/common/URI.cpp similarity index 100% rename from connectivity/nfc/source/nfc/ndef/common/URI.cpp rename to connectivity/nfc/source/ndef/common/URI.cpp diff --git a/connectivity/nfc/source/nfc/ndef/common/util.cpp b/connectivity/nfc/source/ndef/common/util.cpp similarity index 100% rename from connectivity/nfc/source/nfc/ndef/common/util.cpp rename to connectivity/nfc/source/ndef/common/util.cpp From c734221c31f2ef396b6511631923b3e68c7b6405 Mon Sep 17 00:00:00 2001 From: Lingkai Dong Date: Tue, 11 Aug 2020 15:43:59 +0100 Subject: [PATCH 6/8] Update NFC libraries paths --- connectivity/drivers/nfc/PN512/include/PN512Driver.h | 6 +++--- connectivity/drivers/nfc/PN512/source/PN512Driver.cpp | 2 +- connectivity/nfc/include/nfc/NFCNDEFCapable.h | 8 ++++---- connectivity/nfc/include/nfc/Type4RemoteInitiator.h | 8 ++++---- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/connectivity/drivers/nfc/PN512/include/PN512Driver.h b/connectivity/drivers/nfc/PN512/include/PN512Driver.h index be849795fb..cd84dbccdd 100644 --- a/connectivity/drivers/nfc/PN512/include/PN512Driver.h +++ b/connectivity/drivers/nfc/PN512/include/PN512Driver.h @@ -22,9 +22,9 @@ #include "nfc/NFCControllerDriver.h" #include "PN512TransportDriver.h" -#include "nfc/acore/acore/ac_buffer.h" -#include "nfc/acore/acore/ac_buffer_reader.h" -#include "nfc/acore/acore/ac_buffer_builder.h" +#include "acore/acore/ac_buffer.h" +#include "acore/acore/ac_buffer_reader.h" +#include "acore/acore/ac_buffer_builder.h" #include "transceiver/pn512.h" namespace mbed { diff --git a/connectivity/drivers/nfc/PN512/source/PN512Driver.cpp b/connectivity/drivers/nfc/PN512/source/PN512Driver.cpp index 9f424607e5..315c53eb0a 100644 --- a/connectivity/drivers/nfc/PN512/source/PN512Driver.cpp +++ b/connectivity/drivers/nfc/PN512/source/PN512Driver.cpp @@ -16,7 +16,7 @@ #include "PN512Driver.h" -#include "nfc/stack/platform/nfc_debug.h" +#include "stack/platform/nfc_debug.h" using namespace mbed; using namespace mbed::nfc; diff --git a/connectivity/nfc/include/nfc/NFCNDEFCapable.h b/connectivity/nfc/include/nfc/NFCNDEFCapable.h index 66b3cd5af8..46f718d046 100644 --- a/connectivity/nfc/include/nfc/NFCNDEFCapable.h +++ b/connectivity/nfc/include/nfc/NFCNDEFCapable.h @@ -23,10 +23,10 @@ #include "NFCDefinitions.h" -#include "nfc/stack/ndef/ndef.h" -#include "nfc/acore/acore/ac_buffer.h" -#include "nfc/acore/acore/ac_buffer_reader.h" -#include "nfc/acore/acore/ac_buffer_builder.h" +#include "stack/ndef/ndef.h" +#include "acore/acore/ac_buffer.h" +#include "acore/acore/ac_buffer_reader.h" +#include "acore/acore/ac_buffer_builder.h" namespace mbed { namespace nfc { diff --git a/connectivity/nfc/include/nfc/Type4RemoteInitiator.h b/connectivity/nfc/include/nfc/Type4RemoteInitiator.h index 5e7ef45d1a..af71c7f4ed 100644 --- a/connectivity/nfc/include/nfc/Type4RemoteInitiator.h +++ b/connectivity/nfc/include/nfc/Type4RemoteInitiator.h @@ -23,10 +23,10 @@ #include "NFCNDEFCapable.h" #include "NFCRemoteInitiator.h" -#include "nfc/acore/acore/ac_buffer.h" -#include "nfc/acore/acore/ac_buffer_reader.h" -#include "nfc/acore/acore/ac_buffer_builder.h" -#include "nfc/stack/tech/type4/type4_target.h" +#include "acore/acore/ac_buffer.h" +#include "acore/acore/ac_buffer_reader.h" +#include "acore/acore/ac_buffer_builder.h" +#include "stack/tech/type4/type4_target.h" #include "platform/Span.h" From f585129d14a9eed8565d57b130167c82c15ebcca Mon Sep 17 00:00:00 2001 From: Lingkai Dong Date: Tue, 11 Aug 2020 16:03:33 +0100 Subject: [PATCH 7/8] PN512 NFC driver: backward-compatible driver header path --- .../drivers/nfc/PN512/include/{ => nfc/controllers}/PN512Driver.h | 0 .../PN512/include/{ => nfc/controllers}/PN512SPITransportDriver.h | 0 .../PN512/include/{ => nfc/controllers}/PN512TransportDriver.h | 0 3 files changed, 0 insertions(+), 0 deletions(-) rename connectivity/drivers/nfc/PN512/include/{ => nfc/controllers}/PN512Driver.h (100%) rename connectivity/drivers/nfc/PN512/include/{ => nfc/controllers}/PN512SPITransportDriver.h (100%) rename connectivity/drivers/nfc/PN512/include/{ => nfc/controllers}/PN512TransportDriver.h (100%) diff --git a/connectivity/drivers/nfc/PN512/include/PN512Driver.h b/connectivity/drivers/nfc/PN512/include/nfc/controllers/PN512Driver.h similarity index 100% rename from connectivity/drivers/nfc/PN512/include/PN512Driver.h rename to connectivity/drivers/nfc/PN512/include/nfc/controllers/PN512Driver.h diff --git a/connectivity/drivers/nfc/PN512/include/PN512SPITransportDriver.h b/connectivity/drivers/nfc/PN512/include/nfc/controllers/PN512SPITransportDriver.h similarity index 100% rename from connectivity/drivers/nfc/PN512/include/PN512SPITransportDriver.h rename to connectivity/drivers/nfc/PN512/include/nfc/controllers/PN512SPITransportDriver.h diff --git a/connectivity/drivers/nfc/PN512/include/PN512TransportDriver.h b/connectivity/drivers/nfc/PN512/include/nfc/controllers/PN512TransportDriver.h similarity index 100% rename from connectivity/drivers/nfc/PN512/include/PN512TransportDriver.h rename to connectivity/drivers/nfc/PN512/include/nfc/controllers/PN512TransportDriver.h From e81e897e502ed797e4143ddce1546d97bac4f0b7 Mon Sep 17 00:00:00 2001 From: Lingkai Dong Date: Tue, 11 Aug 2020 16:24:37 +0100 Subject: [PATCH 8/8] Move NFC Greentea tests into connectivity/nfc/tests/TESTS --- {TESTS => connectivity/nfc/tests/TESTS}/nfc/eeprom/main.cpp | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename {TESTS => connectivity/nfc/tests/TESTS}/nfc/eeprom/main.cpp (100%) diff --git a/TESTS/nfc/eeprom/main.cpp b/connectivity/nfc/tests/TESTS/nfc/eeprom/main.cpp similarity index 100% rename from TESTS/nfc/eeprom/main.cpp rename to connectivity/nfc/tests/TESTS/nfc/eeprom/main.cpp