Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: eeprom_driver
source/target/TARGET_M24SR/EEPROMDriver.cpp@0:86f202e07059, 2018-09-24 (annotated)
- Committer:
- mbed_official
- Date:
- Mon Sep 24 17:09:39 2018 +0100
- Revision:
- 0:86f202e07059
Add mbed deploy into the SmartPoster instructions.
.
Commit copied from https://github.com/ARMmbed/mbed-os-example-nfc
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| mbed_official | 0:86f202e07059 | 1 | /* mbed Microcontroller Library |
| mbed_official | 0:86f202e07059 | 2 | * Copyright (c) 2018-2018 ARM Limited |
| mbed_official | 0:86f202e07059 | 3 | * |
| mbed_official | 0:86f202e07059 | 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| mbed_official | 0:86f202e07059 | 5 | * you may not use this file except in compliance with the License. |
| mbed_official | 0:86f202e07059 | 6 | * You may obtain a copy of the License at |
| mbed_official | 0:86f202e07059 | 7 | * |
| mbed_official | 0:86f202e07059 | 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
| mbed_official | 0:86f202e07059 | 9 | * |
| mbed_official | 0:86f202e07059 | 10 | * Unless required by applicable law or agreed to in writing, software |
| mbed_official | 0:86f202e07059 | 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
| mbed_official | 0:86f202e07059 | 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| mbed_official | 0:86f202e07059 | 13 | * See the License for the specific language governing permissions and |
| mbed_official | 0:86f202e07059 | 14 | * limitations under the License. |
| mbed_official | 0:86f202e07059 | 15 | */ |
| mbed_official | 0:86f202e07059 | 16 | |
| mbed_official | 0:86f202e07059 | 17 | #include "EEPROMDriver.h" |
| mbed_official | 0:86f202e07059 | 18 | #include "m24sr_driver.h" |
| mbed_official | 0:86f202e07059 | 19 | |
| mbed_official | 0:86f202e07059 | 20 | mbed::nfc::NFCEEPROMDriver& get_eeprom_driver(events::EventQueue&) |
| mbed_official | 0:86f202e07059 | 21 | { |
| mbed_official | 0:86f202e07059 | 22 | static mbed::nfc::vendor::ST::M24srDriver eeprom_driver; |
| mbed_official | 0:86f202e07059 | 23 | return eeprom_driver; |
| mbed_official | 0:86f202e07059 | 24 | } |
X-NUCLEO-NFC04A1