TUWA Real-Time Operating System
SOURCE LICENCE - headers, board support packages, examples and documentation

Copyright (c) 2026 Muhammad Anisur Rahman.

This licence covers everything in this package EXCEPT the compiled kernel
archives under lib/, which are covered by LICENCE-BINARY.txt:

   include/      the public headers, and the compile test beside them
   docs/         the manuals, in Markdown
   html/         the same manuals, for a browser
   README.md     this package's contents
   TOOLCHAINS.md which compiler built each library
   bsp/          board support package sources, where the package includes them
   examples/     example programs, where the package includes them

A board support package is a thing you are EXPECTED to edit. Porting TUWA to
a new board means writing one, and that is the reason this half of the package
is licensed openly while the kernel is not: you cannot port to a board you may
not modify.

-------------------------------------------------------------------------------
TERMS
-------------------------------------------------------------------------------
Permission is granted, free of charge, to any person obtaining a copy of these
files, to use, copy, modify, merge, publish, distribute, sublicense and/or sell
copies of them, and to permit persons to whom they are furnished to do so,
subject to the following conditions:

1. The above copyright notice and this permission notice must appear in all
   copies or substantial portions of the files.

2. Redistributions in binary form must reproduce the above copyright notice
   in the documentation and/or other materials provided with the distribution.

3. Neither the name of the author nor the name Chapai Systems may be used to
   endorse or promote products derived from these files without specific prior
   written permission.

This licence does not grant any right to the TUWA kernel source, which is not
part of this package, nor any right to modify the compiled kernel library.
Nothing here overrides LICENCE-BINARY.txt for the files that licence covers.

-------------------------------------------------------------------------------
NO WARRANTY
-------------------------------------------------------------------------------
THESE FILES ARE PROVIDED BY THE COPYRIGHT HOLDER "AS IS" AND ANY EXPRESS OR
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, ARE DISCLAIMED. IN NO
EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY DIRECT, INDIRECT,
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THESE FILES,
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
