No description
Find a file
jedi 727dc8c2ee
All checks were successful
continuous-integration/drone/push Build is passing
add wifi semaphore
2021-07-19 00:18:16 +02:00
case setup CI skeleton 2021-07-02 16:47:03 +02:00
docker add change Dockerfile to create build files as user 1000 2021-07-06 17:26:48 +02:00
firmware add wifi semaphore 2021-07-19 00:18:16 +02:00
modules add build environment files for nixpkgs 2021-07-14 23:31:51 +02:00
pcb Fix unconnected trace 2021-07-12 17:36:54 +02:00
.build.yml Run ERC and DRC in CI Pipeline 2021-07-12 17:32:53 +02:00
.gitmodules add build environment files for nixpkgs 2021-07-14 23:31:51 +02:00
Makefile add change Dockerfile to create build files as user 1000 2021-07-06 17:26:48 +02:00
README.md add build environment files for nixpkgs 2021-07-14 23:31:51 +02:00
shell.nix add build environment files for nixpkgs 2021-07-14 23:31:51 +02:00

fiatlux

Cloning

git clone --recursive https://git.neulandlabor.de/j3d1/fiatlux.git

or after cloning normally

git submodule update --init --recursive

Build Requirements

  • make
  • bash gawk perl
  • g++ gcc
  • libc6-dev
  • flex bison
  • automake autoconf
  • gperf
  • wget
  • git
  • bzip2 unzip zip unrar-free
  • help2man texinfo
  • libtool libtool-bin
  • ncurses-dev libexpat-dev
  • python3 python3-serial python-dev

Build Steps

Workarounds for submodules

sed -i 's/GNU bash, version (3\\\.\[1-9\]|4)/GNU bash, version (3.[1-9]|4|5)/g' modules/sdk/crosstool-NG/configure.ac
mkdir -p modules/sdk/crosstool-NG/.build/tarballs
wget https://github.com/libexpat/libexpat/releases/download/R_2_1_0/expat-2.1.0.tar.gz -O modules/sdk/crosstool-NG/.build/tarballs/expat-2.1.0.tar.gz

Build Toolchain

make -C modules/sdk standalone=y -j$(nproc)
export PATH=$(pwd)/modules/sdk/xtensa-lx106-elf/bin:$PATH

Compile Firmware

make firmware -j$(nproc)

Flash

make flash

Build Steps (using docker)

install docker on your platform and buil with

make firmware_docker -j$(nproc)

Build Steps (using nixos)

In the project root run:

nix-shell --option sandbox false
make firmware -j$(nproc)