Skip to content

Commit bf6fd15

Browse files
authored
Merge pull request #1 from ArbiGunbardhi/main
First release
2 parents c43934b + 2cd6ed9 commit bf6fd15

File tree

7 files changed

+2002
-1
lines changed

7 files changed

+2002
-1
lines changed
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
name: X-NUCLEO-NFC08A1 Continuous Integration
2+
on:
3+
push:
4+
branches:
5+
- main
6+
paths-ignore:
7+
- '*'
8+
- '**.md'
9+
- '**.txt'
10+
pull_request:
11+
paths-ignore:
12+
- '*'
13+
- '**.md'
14+
- '**.txt'
15+
# Allows you to run this workflow manually from the Actions tab
16+
workflow_dispatch:
17+
jobs:
18+
astyle_check:
19+
runs-on: ubuntu-latest
20+
name: AStyle check
21+
steps:
22+
# First of all, clone the repo using the checkout action.
23+
- name: Checkout
24+
uses: actions/checkout@master
25+
26+
- name: Astyle check
27+
id: Astyle
28+
uses: stm32duino/actions/astyle-check@main
29+
30+
# Use the output from the `Astyle` step
31+
- name: Astyle Errors
32+
if: failure()
33+
run: |
34+
cat ${{ steps.Astyle.outputs.astyle-result }}
35+
exit 1
36+
codespell:
37+
name: Check for spelling errors
38+
runs-on: ubuntu-latest
39+
steps:
40+
- name: Checkout
41+
uses: actions/checkout@main
42+
43+
# See: https://github.com/codespell-project/actions-codespell/blob/master/README.md
44+
- name: Spell check
45+
uses: codespell-project/actions-codespell@master
46+
with:
47+
check_filenames: true
48+
check_hidden: true
49+
# In the event of a false positive, add the word in all lower case to this file:
50+
ignore_words_file: ./extras/codespell-ignore-words-list.txt
51+
lib_build:
52+
runs-on: ubuntu-latest
53+
name: Library compilation
54+
steps:
55+
# First of all, clone the repo using the checkout action.
56+
- name: Checkout
57+
uses: actions/checkout@master
58+
59+
- name: Compilation
60+
id: Compile
61+
uses: stm32duino/actions/compile-examples@master
62+
with:
63+
board-pattern: "NUCLEO_L476RG"
64+
libraries: "STM32duino NFC-RFAL, STM32duino ST25R3916"
65+
66+
# Use the output from the `Compile` step
67+
- name: Compilation Errors
68+
if: failure()
69+
run: |
70+
cat ${{ steps.Compile.outputs.compile-result }}
71+
exit 1

LICENSE

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
SLA0052 - Rev3 - June 2019
2+
Software license agreement
3+
4+
SOFTWARE PACKAGE LICENSE AGREEMENT ("Agreement")
5+
BY CLICKING ON THE "I ACCEPT" BUTTON OR BY UNZIPPING, INSTALLING, COPYING, DOWNLOADING, ACCESSING
6+
OR OTHERWISE USING THIS SOFTWARE PACKAGE (HEREINAFTER "SOFTWARE PACKAGE" MEANS THE RELATED
7+
SOFTWARE, DOCUMENTATION, OTHER MATERIALS, AND ANY PARTS, PERMITTED MODIFICATIONS, AND PERMITTED
8+
DERIVATIVES THEREOF) FROM STMICROELECTRONICS INTERNATIONAL N.V, SWISS BRANCH AND/OR ITS
9+
AFFILIATED COMPANIES ("STMICROELECTRONICS"), THE RECIPIENT, ON BEHALF OF HIMSELF OR HERSELF, OR ON
10+
BEHALF OF ANY ENTITY BY WHICH SUCH RECIPIENT IS EMPLOYED AND/OR ENGAGED ("YOU") AGREES TO BE
11+
BOUND BY THIS AGREEMENT.
12+
13+
You represent that you have the authority to enter into this Agreement. You will comply with all laws,
14+
including export laws. STMicroelectronics's failure or delay to enforce this Agreement does not waive
15+
STMicroelectronics's rights. Swiss law, except conflict of laws, governs this Agreement, and the parties
16+
consent to exclusive jurisdiction of courts in Switzerland for litigation of this Agreement.
17+
Subject to the below disclaimer, applicable Third Party Terms (defined below), and applicable Open Source Terms
18+
(defined below), the redistribution, reproduction and use in source and binary forms of the software package
19+
or any part thereof, with or without modification, are permitted provided that the following conditions are met:
20+
21+
1. Redistribution of source code (modified or not) must retain any copyright notice, this list of conditions
22+
and the following disclaimer.
23+
24+
2. Redistributions in binary form, except as embedded into a microcontroller or microprocessor device or a
25+
software update for such device, must reproduce any copyright notice, this list of conditions and the following
26+
disclaimer in the documentation and/or other materials provided with the distribution.
27+
28+
3. Neither the name of STMicroelectronics nor the names of other contributors to this software package may be
29+
used to endorse or promote products using or derived from this software package without specific written
30+
permission.
31+
32+
4. This software package must be used and execute solely and exclusively in combination with an integrated
33+
circuit that is manufactured by or for STMicroelectronics and is an NFC tag, NFC dynamic tag, NFC reader,
34+
or UHF reader.
35+
36+
5. No use, reproduction or redistribution of this software package may be done in any manner that would subject
37+
this software package to any Open Source Terms (as defined below).
38+
39+
6. Some portion of the software package may contain software subject to Open Source Terms (as defined below)
40+
applicable for each such portion ("Open Source Software"), as further specified in the software package.
41+
Such Open Source Software is supplied under the applicable Open Source Terms and is not subject to this list
42+
of conditions, but is subject to the following disclaimer. "Open Source Terms" shall mean any open source
43+
license which requires as part of distribution of software that the source code of such software is distributed
44+
therewith or otherwise made available, or open source license that substantially complies with the Open Source
45+
definition specified at www.opensource.org and any other comparable open source license such as for example
46+
GNU General Public License (GPL), Eclipse Public License (EPL), Apache Software License, BSD license and MIT
47+
license.
48+
49+
7. This software package may also include third party software as expressly specified in the software package,
50+
which shall be subject to applicable third party license terms ("Third Party Terms"). Such Third Party Terms
51+
may be specified in any reasonable manner, including, without limitation, by being fully set forth, referred to,
52+
or hyperlinked in the software package source code, documentation, license file, or readme file. Such third
53+
party software is supplied under Third Party Terms and is not subject to this list of conditions, but is subject
54+
to the following disclaimer. By unzipping, installing, copying, downloading, accessing or otherwise using any
55+
third party software included in this software package, the recipient agrees to be bound by the corresponding
56+
Third Party Terms.
57+
58+
8. STMicroelectronics has no obligation to provide any maintenance, support or updates for the software package.
59+
60+
9. The software package is and will remain the exclusive property of STMicroelectronics and its licensors.
61+
The recipient will not take any action that jeopardizes STMicroelectronics and its licensors' proprietary rights
62+
or acquire any rights in the software package, except the limited rights specified hereunder.
63+
64+
10. Redistribution and use of this software package partially or any part thereof other than as permitted under
65+
this license is void and will automatically terminate your rights under this license.
66+
67+
DISCLAIMER
68+
THIS SOFTWARE PACKAGE IS PROVIDED BY STMICROELECTRONICS AND CONTRIBUTORS "AS IS" AND ANY
69+
EXPRESS, IMPLIED OR STATUTORY WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
70+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT OF THIRD PARTY
71+
INTELLECTUAL PROPERTY RIGHTS ARE DISCLAIMED TO THE FULLEST EXTENT PERMITTED BY LAW. IN NO EVENT
72+
SHALL STMICROELECTRONICS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
73+
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
74+
GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
75+
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
76+
OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE PACKAGE, EVEN IF ADVISED OF THE
77+
POSSIBILITY OF SUCH DAMAGE.
78+
EXCEPT AS EXPRESSLY PERMITTED HEREUNDER, SUBJECT TO ANY APPLICABLE THIRD PARTY TERMS AND OPEN
79+
SOURCE TERMS, NO LICENSE OR OTHER RIGHTS, WHETHER EXPRESS OR IMPLIED, ARE GRANTED UNDER ANY
80+
PATENT OR OTHER INTELLECTUAL PROPERTY RIGHTS OF STMICROELECTRONICS OR ANY THIRD PARTY.

README.md

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,31 @@
11
# X-NUCLEO-NFC08A1
2-
Arduino library to support NFC card reader expansion board based on ST25R3916B
2+
3+
The code has been designed for ST X-NUCLEO-NFC08A1 expansion board to show how to detect, read and write NFC tags.
4+
The X-NUCLEO-NFC08A1 is an NFC card reader evaluation board based on ST25R3916B to enable expansion of the STM32 Nucleo boards.
5+
The ST25R3916B manages frame coding and decoding in Reader mode for standard applications, such as NFC, proximity and vicinity HF RFID standards.
6+
The ST25R3916B supports ISO/IEC 14443 Type A and B, ISO/IEC 15693 (single Subcarrier only) and ISO/IEC 18092 communication protocols.
7+
It also supports the detection, reading and writing of NFC Forum Type 1, 2, 3, 4 and 5 tags.
8+
9+
## Examples
10+
11+
There is one example with the X-NUCLEO-NFC08A1 library:
12+
* X_NUCLEO_NFC08A1_HelloWorld: This application is to show how to detect, read and write NFC Forum Type 1, 2, 3, 4 and 5 tags.
13+
Open a serial terminal with a baudrate of 115200, 8 data bits, No parity bit, 1 stop bit and follow the instructions shown by the menu.
14+
Pushing the User Button, you can switch to several options like writing a text record, writing a URI record and an Android Application record,
15+
formatting an ST tag or reading the content of a tag.
16+
17+
# Dependencies
18+
19+
The X-NUCLEO-NFC08A1 library requires the following STM32duino libraries:
20+
21+
* STM32duino NFC-RFAL: https://github.com/stm32duino/NFC-RFAL
22+
* STM32duino ST25R3916: https://github.com/stm32duino/ST25R3916
23+
24+
## Documentation
25+
26+
You can find the source files at
27+
https://github.com/stm32duino/X-NUCLEO-NFC08A1
28+
29+
The ST25R3916B datasheet is available at
30+
https://www.st.com/en/nfc/st25r3916b.html
31+

0 commit comments

Comments
 (0)