zephyr/samples/nfc/nfc_hello
Flavio Santes 5f52743f09 samples/nfc: Update sample app
This commit updates the nfc_hello sample application:

- Use new kernel API
- Update testcase.ini platform whitelist
- Coding style issues

Jira: ZEP-1348

Change-Id: I2c17e40d654e33a46af02ee2f20d4a88136fcf2d
Signed-off-by: Flavio Santes <flavio.santes@intel.com>
2016-11-25 16:50:20 +00:00
..
src samples/nfc: Update sample app 2016-11-25 16:50:20 +00:00
Makefile samples: tests: remove obsolete KERNEL_TYPE and kernel variables 2016-11-04 15:47:25 -04:00
README.txt samples/nfc: Update README file 2016-11-25 16:50:20 +00:00
prj.conf x86: remove dynamic interrupts and exceptions 2016-09-06 18:35:24 +00:00
testcase.ini samples/nfc: Update sample app 2016-11-25 16:50:20 +00: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 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)