Skip to content

Latest commit

 

History

History
44 lines (31 loc) · 1.22 KB

File metadata and controls

44 lines (31 loc) · 1.22 KB

Gatekeeper Door Client

Door lock client for the Gatekeeper access control system.

Gatekeeper powers access to the doors to Computer Science House's special rooms

Building

To build this machine on target hardware,

git clone https://github.com/computersciencehouse/gatekeeper-door
apt -y install libssl-dev cmake libfreefare-dev
cargo build --release

To download and build this project on a development machine, run the following:

git clone https://github.com/stevenmirabito/gatekeeper-door.git
cd gatekeeper-door
cargo build

To build this project for the target hardware, you'll need to cross-compile it using the cross tool. To use it, first install it using

cargo install cross

Then, you can use cross as an almost-drop-in-replacement for cargo to build the project.

cross build --target=armv7-unknown-linux-gnueabihf

Cross uses Docker under the hood to put together a container environment with the correct cross-compilers needed. For this project, we also specify how to install third-party dependencies in this cross-compiled environment by placing those installation steps in the Dockerfile which cross uses.