Build from source.
There are two build targets - Native and Server. The build was tested on Win11/WSL Ubuntu.
Clone the repository:
git clone https://github.com/mihkeymouse/WiNspire.git
cd WiNspire
Native
Install the Ndless SDK first. By default the build script looks for it at $HOME/Ndless/ndless-sdk. If installed elsewhere set NDLESS_SDK first.
Then simply:
make native
The finished calculator files are in build/Native.
Server.
For this you need Windows with a WSL distro. Install the following packages on the WSL distro:
sudo apt update
sudo apt install build-essential gcc-arm-linux-gnueabi binutils-arm-linux-gnueabi cpio gzip git make
On Windows, Install MSYS2 and add C:\msys64\ucrt64\bin to PATH.
Then in the UCRT64 shell:
pacman -S --needed mingw-w64-ucrt-x86_64-gcc
Enable Windows interop in your WSL distro, then simply:
make server
The finished server and calculator files are in build/Server.