Skip to content

ekoeppen/tntk

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

tntk

Command line NewtonScript compiler and packager

PREREQUISITES

INSTALLATION

  1. Install CMake and cDCL, if you haven't already
  2. git clone --recursive git@github.com:ekoeppen/tntk.git
  3. cd tntk
  4. cmake -S . -B build
  5. cmake --build build
  6. sudo cmake --install build

You will also need the NTK Platform Files.

USAGE

tntk [options] file
  -c    compile-only
  -d    dump contents of a .pkg file
  -l    log file name
  -p    serial port device path
  -P    platform files search path
  -s    serial port speed
  -t    tcp connection

A sample project is included, which can be compiled as follows:

  1. Update MiniNewtApp.nprj with the path to your platform file
  2. Run tntk -c MiniNewtApp.nprj

For further examples of usage, see the following articles:

NATIVE CODE SUPPORT

tntk can process NTCK files, and add relocation data as needed to the output package. For this to work, the binary module must have been linked with a base address larger than zero, e.g. 0x10000 is a good value, and cDCL version 1.0 must be used to convert the ELF file to an NTCK module.

About

Command line NewtonScript compiler and packager

Resources

License

Stars

Watchers

Forks

Packages

No packages published