README: link CI, more instructions

This commit is contained in:
Astro 2020-03-23 23:42:22 +01:00
parent cfea205e06
commit 5faf64eae8

View File

@ -1,5 +1,9 @@
# Thermostat v2 prototype firmware # Thermostat v2 prototype firmware
- [x] [Continuous Integration](https://nixbld.m-labs.hk/job/stm32/stm32/thermostat)
- [x] [Download latest firmware build](https://nixbld.m-labs.hk/job/stm32/stm32/thermostat/latest/download-by-type/file/binary-dist)
## Building ## Building
### Debian-based systems (tested on Ubuntu 19.10) ### Debian-based systems (tested on Ubuntu 19.10)
@ -15,16 +19,19 @@ rustup default nightly
cargo build --release cargo build --release
``` ```
The built ELF file will be at `target/thumbv7em-none-eabihf/release/thermostat` The resulting ELF file will be located under `target/thumbv7em-none-eabihf/release/thermostat`
## Network ## Network
### Setup ### Connecting
Ethernet, IP: 192.168.1.26/24 Ethernet, IP: 192.168.1.26/24
Use netcat to connect to port 23/tcp (telnet) Use netcat to connect to port 23/tcp (telnet)
```sh
nc -vv 192.168.1.26 23
```
telnet clients send binary data after connect. Enter \n once to telnet clients send binary data after connect. Enter \n once to
invalidate the first line of input. invalidate the first line of input.