Nav apraksta
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
Mathias Gottschlag 6eeb866816 display: Fix ALS supply voltage and complete LED board connector. 5 gadus atpakaļ
base-station/software base-station: Create empty software project. 5 gadus atpakaļ
display display: Fix ALS supply voltage and complete LED board connector. 5 gadus atpakaļ
documentation Description of the basic synchronized network protocol. 5 gadus atpakaļ
kicad-library kicad-library: Add more footprints. 5 gadus atpakaļ
weather-sensor Add digikey link for a part 5 gadus atpakaļ
.gitignore base-station: Create empty software project. 5 gadus atpakaļ
README.md base-station: Create empty software project. 5 gadus atpakaļ
cern_ohl_w_v2.txt Readme and licenses. 5 gadus atpakaļ
gpl-3.0.md Readme and licenses. 5 gadus atpakaļ

README.md

Smart Home

This repository contains the description of a number of smart home devices as well as the source code for the corresponding firmware.

Compiling

Compiling the display firmware requires a rust toolchain for ARMv6m:

rustup target add thumbv6m-none-eabi

Compiling the base station software depends on the targeted board. The following steps can be used to cross-compile the software for an ARMv7 target from a Fedora host:

  1. Install the toolchain:

    sudo dnf copr enable lantw44/arm-linux-gnueabi-toolchain
    sudo dnf install arm-linux-gnueabi-gcc.x86_64
    rustup target add arm-unknown-linux-gnueabi
    
  2. Configure Rust to use the ARM GCC:

    cat > ~/.cargo/config
    [target.arm-unknown-linux-gnueabi]
    linker = "arm-linux-gnueabi-gcc"
    
  3. Compile the software using the newly installed toolchain:

    cargo build --target=arm-unknown-linux-gnueabi
    

License

The hardware contained in this repository is licensed under the CERN Open Hardware Licence Version 2 - Weakly Reciprocal, and the software is licensed under the GNU General Public License v3.