mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-19 14:45:21 +00:00
This will replace the current goal of 'make qemu' with 'make run' and moves Qemu handling into its own file and into the boards instead of being architecture specific. We should be able to add new boards that support some other type of emulation (by adding scripts/Makefile.<emu type>) and allow the board to define their own options for the use type of emulation. 'make qemu' will still work, however it will be deprecated, starting with this commit it is recommended to use 'make run'. Jira: ZEP-359 Change-Id: I1cacd56b4ec09421a58cf5d010e22e9035214df6 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
51 lines
928 B
Plaintext
51 lines
928 B
Plaintext
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)
|
|
|