Raspberry Pi Zero W 1.1
- OS: Raspbian 12
- Kernel: Linux 6.1.0-rpi7-rpi-v6
- GCC: 12.2
- GLIBC: 2.36
- Binutils: 2.40
Archlinux Packages:
autoconf-archive
base-devel
python
rsync
Debian Packages:
autoconf-archive
automake
bison
build-essential
curl
flex
gawk
libtool
pkg-config
python3
rsync
texinfo
Get submodules if you have not done so
git submodule init
git submodule update
You need a cross-compiler for ARMv6 with threading and C++ support.
Run compiler.sh to build a properly configured cross-compiler (takes a while).
Build tested with:
- gcc 13, x86_64, archlinux
- gcc 12, x86_64, debian 12
Compile with make
make
Clean commands:
make clean- cleanaircodemake libclean- clean librariesmake fullclean- clean everything including compiler
Formatter:
clang-format- version 17make checkformat- check formattingmake format- run formatter task
Static analyzer:
clang-tidy- version 17make runlint- run static analyzer
On debian/ubuntu, these are not available in repo currently, so get it using the LLVM script.
Output files:
build/bin/car
build/bin/control
Raspbian Packages:
libgpiod2
i2c-tools