Commit 64c37158 authored by Mart Lubbers's avatar Mart Lubbers
Browse files

build instructions

parent 91ea6903
Pipeline #14906 passed with stage
in 1 minute and 42 seconds
image: camilstaps/clean:nightly
- apt-get update -qq
- apt-get install -yy build-essential gcc-mingw-w64 zip
- clean-base
- sh
- "*.tar.gz"
- "*.zip"
......@@ -19,7 +19,9 @@ Monitor.prj:
cpm project $@ set -h 2000m -s 20m -dynamics
cpm project $@ path add "$$PWD/POSIX"
install: Clean\ System\ Files/ctty.o
mkdir "$$CLEAN_HOME/lib/CleanSerial"
cp -R TTY.[id]cl iTasksTTY.[id]cl POSIX/Platform.[id]cl Clean\ System\ Files "$$CLEAN_HOME/lib/CleanSerial"
$(RM) -r $(DETECTED_OS)/Clean\ System\ Files/* Clean\ System\ Files/* test
......@@ -2,9 +2,23 @@
Serial port library for [clean]( Build with `make`.
Tested on Linux and Mac
## How to use
## Builds
Builds are available for Windows and Linux [here]([cpm](
Just unzip it in `$CLEAN_HOME/lib` and add the path to your search paths in the
IDE/`cpm` or `clm`.
## Build it yourself
### Linux and mac
Run `make install`.
### Windows
Run `make install` from a mingw msys shell.
Windows support is only available at the moment as a stub.
The functions are not implemented so it will crash.
On windows you need mingw to compile
### Build the windows version on a linux machine
Install `gcc-mingw-w64` and run `DETECTED_OS=Windows CC=x86_64-w64-mingw32-gcc make`
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment