Initial bare-metal foundation for nRF52840 PTT-FHSS

- Fully open toolchain: arm-none-eabi-gcc inside Podman/Docker container
- Platform-agnostic build via justfile (auto-detects podman vs docker)
- CMake + Ninja build system with arm-none-eabi toolchain file
- nRF52840 linker script and startup with full 64-entry vector table
- Register access via typed bitfield unions (include/regs.h)
- FHSS channel sequencer: AES-128-ECB PRNG over 40 channels (2402-2480 MHz)
- Low-power sleep via SYSTEM_ON WFI + GPIOTE wakeup on button press
- Vendor deps as shallow git submodules: nrfx, CMSIS_5, tiny-AES-c
This commit is contained in:
Krzysztof Cieślik
2026-05-21 20:20:21 +02:00
commit 438fca0ace
20 changed files with 739 additions and 0 deletions

1
vendor/CMSIS_5 vendored Submodule

Submodule vendor/CMSIS_5 added at 55b19837f5

1
vendor/nrfx vendored Submodule

Submodule vendor/nrfx added at 16756cadac

1
vendor/tiny-aes-c vendored Submodule

Submodule vendor/tiny-aes-c added at 23856752fb