zephyr/samples/nfc/nfc_hello
Kumar Gala c84e90e7de samples: nfc_hello: limit to uarts that support interrupts
We get some failures to build if we don't filter this test to only
boards that support uart interrupts.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
2017-06-29 14:55:43 -04:00
..
src samples: convert to using newly introduced integer sized types 2017-04-21 09:53:53 -05:00
Makefile samples: tests: remove obsolete KERNEL_TYPE and kernel variables 2016-11-04 15:47:25 -04:00
README.txt build: abstract emulation and replace qemu goal with run 2017-01-10 20:20:47 +00:00
prj.conf samples: nfc_hello: Add CONFIG_SERIAL=y to project conf 2017-04-14 05:56:53 -05:00
sample.yaml samples: nfc_hello: limit to uarts that support interrupts 2017-06-29 14:55:43 -04:00

README.txt

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 run

For QEMU ARM:
	make pristine && make BOARD=qemu_cortex_m3 run


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)