#neotron #applications #sdk #api #run #os #define

neotron-sdk

SDK for writing applications for Neotron OS

2 unstable releases

0.2.0 May 19, 2024
0.1.0 May 19, 2024

#4 in #neotron

MIT/Apache

32KB
530 lines

Neotron SDK

The Neotron SDK defines the API that applications receive when they run on the Neotron OS.

You should use this crate when writing applications that run on Neotron OS.

This SDK attempts to detect targets that support UNIX or Windows, and implements some code to talk to the appropriate UNIX or Windows API. This allows some level of portable, mainly to support application testing on those OSes.

On a bare-metal target (i.e. where the OS is none), the SDK expects the Neotron OS to pass the callback table to the entry point (app_entry()). Once initialised, the SDK then expects you application to provide an extern "C" no-mangle function called neotron_main, which the SDK will call.

Samples

Some sample applications are provided with this SDK.

Changelog

See CHANGELOG.md

Licence

Copyright (c) The Neotron Developers, 2024

Licensed under either MIT or Apache-2.0 at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you shall be licensed as above, without any additional terms or conditions.

Dependencies

~1–12MB
~75K SLoC