Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nhjschulz/lwos
Light Weight OS Library for Rust
https://github.com/nhjschulz/lwos
Last synced: 3 months ago
JSON representation
Light Weight OS Library for Rust
- Host: GitHub
- URL: https://github.com/nhjschulz/lwos
- Owner: nhjschulz
- License: mit
- Created: 2024-01-21T14:08:11.000Z (12 months ago)
- Default Branch: master
- Last Pushed: 2024-06-21T13:04:54.000Z (7 months ago)
- Last Synced: 2024-06-22T05:42:23.683Z (7 months ago)
- Language: Rust
- Size: 44.9 KB
- Stars: 3
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# lwos
Light Weight OS Library for Rust[![License](https://img.shields.io/badge/license-MIT-blue.svg)](http://choosealicense.com/licenses/mit/)
[![Repo Status](https://www.repostatus.org/badges/latest/wip.svg)](https://www.repostatus.org/#wip)# Motivation
Not for external consumption, used to learn about Rust at this stage.Goal is a simple framework for micro controller applications.
-> no heap
-> no std# Installation of Rust toolchain
## Linux
Follow the installation instruction on [https://rustup.rs/](https://rustup.rs/) to install Rust.## Windows
1. Download and start the ```rustup-ini.exe``` from [https://rustup.rs/](https://rustup.rs/).
2. By default, the compiler and tools of MSVC toolchain will be installed. For using the GNU toolchain, you have 2 options:
1. Select target triple ```x86_64-pc-windows-gnu``` during installation for using GNU/MinGW-w64 toolchain. It will be downloaded and installed.
2. For using a already installed MSYS2 toolchain, create a ```.cargo/config``` file in your user directory, e.g. ```C:\Users\\.cargo\config ```.
```ini
[target.x86_64-pc-windows-gnu]
linker = "C:\\msys2\\mingw64\\bin\\gcc.exe"
ar = "C:\\msys2\\mingw64\\bin\\ar.exe"
```
### See Also* [rustup/installation/windows](https://rust-lang.github.io/rustup/installation/windows.html)
* [rustup/installation/other](https://rust-lang.github.io/rustup/installation/other.html)## VSCode
1. Open the `lwos.code-workspace` file using VSCode. If prompted to open the associated workspace, accept.
2. Install the [rust-analyzer extension](https://marketplace.visualstudio.com/items?itemName=rust-lang.rust-analyzer) for Rust support. It may be suggested by VSCode on opening the workspace.