Overview
========
The NTSHELL demo application provides a simple shell demonstration.
Natural Tiny Shell (NT-Shell) is a C library for embedded systems.
It provides VT100 compatible terminal control feature and needs only serial read/write functions for the porting.
See more : https://www.cubeatsystems.com/ntshell/
The purpose of this demo is to show how to use the NT-Shell and to provide a simple project for debugging and further development.
Hardware requirements
=====================
- Mini/micro USB cable
- LPCXpresso55s16 board
- Personal Computer with pre-installed uart assistant/terminal

Board settings
==============
No special settings are required.

Prepare the Demo
================
1.  Connect a micro USB cable between the PC host and the CMSIS DAP USB port (J1) on the board
2.  Open a serial terminal with the following settings (See Appendix A in Getting started guide for description how to determine serial port number):
    - 115200 baud rate
    - 8 data bits
    - No parity
    - One stop bit
    - No flow control
3.  Download the program to the target board.
4.  Either press the reset button on your board or launch the debugger in your IDE to begin running the demo.

Running the demo
================
The log below shows the output of the hello world demo in the terminal window:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LPCXpresso55S16 ntshell demo!
User command example for NT-Shell.
LPC55S16>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Input command "help", "info", "info ver", "info sys",
Then you can see different log information in uart terminal. 

Toolchain supported
===================
- IAR embedded Workbench  8.40.2
- Keil MDK                5.26
- MCUXpresso              11.1.0[Build 3209]

NT-Shell license as below:
===============================================================
The MIT license for Natural Tiny Shell (NT-Shell)
===============================================================
Copyright (c) 2010-2017 Shinichiro Nakamura

Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish, distribute, sublicense, and/or
sell copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following
conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.
===============================================================

