summaryrefslogtreecommitdiff
path: root/samples/nfc
diff options
context:
space:
mode:
authorFlavio Santes <flavio.santes@intel.com>2016-11-24 14:03:53 -0600
committerAnas Nashif <nashif@linux.intel.com>2016-11-25 16:50:20 +0000
commit90fefd6dd46d73fb857f43ec5094a99586549cbf (patch)
treec3fa8311e31a918e70fdf3dc89878b067f2f02e0 /samples/nfc
parentc7fe8f2193e47ef5d183ef459bda3c4f8c98c17b (diff)
samples/nfc: Update README file
This commit updates the README file adding: - Build instructions - Sample output Jira: ZEP-1348 Change-Id: If2ade8ad505bd24e7fd76f5b835355cf398d8e82 Signed-off-by: Flavio Santes <flavio.santes@intel.com>
Diffstat (limited to 'samples/nfc')
-rw-r--r--samples/nfc/nfc_hello/README.txt48
1 files changed, 48 insertions, 0 deletions
diff --git a/samples/nfc/nfc_hello/README.txt b/samples/nfc/nfc_hello/README.txt
index 554e6bcb5..70c6b6641 100644
--- a/samples/nfc/nfc_hello/README.txt
+++ b/samples/nfc/nfc_hello/README.txt
@@ -1,2 +1,50 @@
+NFC Sample App
+--------------
+
This is a simple application to test an elementary signal-through
with NFC module connected to the second UART.
+
+
+Build and run
+-------------
+
+To test the serial line routines, open a terminal window and type:
+
+ nc -l 8888
+
+Open another terminal window and type:
+
+For QEMU x86:
+ make pristine && make qemu
+
+For QEMU ARM:
+ make pristine && make BOARD=qemu_cortex_m3 qmeu
+
+
+Sample output
+-------------
+
+Write some random text on the nc terminal window. The terminal
+window running qemu must display:
+
+For QEMU x86:
+
+[QEMU] CPU: qemu32
+Sample app running on: x86
+uart1_init() done
+uart1_isr: 61 73 64 73 61 64 73 0a (8 bytes)
+
+For QEMU ARM:
+
+[QEMU] CPU: cortex-m3
+Sample app running on: arm
+uart1_init() done
+uart1_isr: 61 (1 bytes)
+uart1_isr: 73 (1 bytes)
+uart1_isr: 64 (1 bytes)
+uart1_isr: 73 (1 bytes)
+uart1_isr: 61 (1 bytes)
+uart1_isr: 0a (1 bytes)
+uart1_isr: 73 (1 bytes)
+uart1_isr: 73 (1 bytes)
+