Features: - VFO mode with direct frequency input - POCSAG decoder (512/1200 baud) with BCH(31,21) correction - Full-screen Spectrum analyzer - FM Radio receiver - RSSI signal indicator overlay - Custom boot splash (UA1ZBE / POCSAG pager / build date) Architecture: - app/mode.c — mode dispatcher (VFO/POCSAG/Spectrum/FM) - app/boot_splash.c — 2-second boot splash - app/pocsag/ — POCSAG decoder + BCH correction - app/display_rssi.c — RSSI indicator - main.c — entry point with custom init - syscalls.c — bare-metal _sbrk stub Build: arm-none-eabi-gcc -Os -flto -Wall -Werror -Wextra Size: 57.9KB Flash / 3.6KB RAM Controls: - 0-9: Direct frequency input (VFO) - SK2: POCSAG mode - SK1: Spectrum analyzer - 0: FM Radio - EXIT: Return to VFO - F/*: Toggle 512/1200 baud (in POCSAG)
64 lines
1.4 KiB
YAML
64 lines
1.4 KiB
YAML
# Use a C++11 distro
|
|
dist: trusty
|
|
sudo: required
|
|
|
|
# Enable C++ support
|
|
language: cpp
|
|
|
|
# Compiler selection
|
|
compiler: gcc
|
|
|
|
env:
|
|
global:
|
|
# coverity key
|
|
- secure: "NKZbBnMALGIIQJy/s2kc3EST/stw+gjhtrGq0jkbsWr7Wx3FH+lmLeHNsDXRnD1VbpG02c5YsLllqz9OVu+0yxWGepvKNmCz1cNITIALEHbrax8/Af9LzPRL/QZxS/Qe11sMuySp4X16mFBUyxMd/X+I9i96Xf1vKkZABklYD1Q="
|
|
|
|
# addons
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- gcc-6
|
|
- g++-6
|
|
sources:
|
|
- ubuntu-toolchain-r-test
|
|
|
|
coverity_scan:
|
|
project:
|
|
name: "mpaland/printf"
|
|
description: "Tiny printf implementation"
|
|
notification_email: marco@paland.com
|
|
build_command_prepend: "make clean"
|
|
build_command: "make"
|
|
branch_pattern: master
|
|
|
|
before_install:
|
|
# connect coverity
|
|
- echo -n | openssl s_client -connect scan.coverity.com:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' | sudo tee -a /etc/ssl/certs/ca-
|
|
|
|
# Active branches
|
|
branches:
|
|
only:
|
|
- master
|
|
|
|
script:
|
|
# Link gcc-6 and g++-6 to their standard commands
|
|
- sudo rm /usr/bin/gcc
|
|
- sudo rm /usr/bin/g++
|
|
- sudo ln -s /usr/bin/gcc-6 /usr/bin/gcc
|
|
- sudo ln -s /usr/bin/g++-6 /usr/bin/g++
|
|
# Export CC and CXX
|
|
- export CC=/usr/bin/gcc-6
|
|
- export CXX=/usr/bin/g++-6
|
|
# Check versions of gcc, g++
|
|
- gcc -v && g++ -v
|
|
# Run build commands
|
|
- make
|
|
# execute the text suite
|
|
- bin/test_suite -d yes
|
|
# coverall profiling
|
|
- tmp/cov/test_suite
|
|
|
|
after_success:
|
|
## Report to codecov
|
|
- bash <(curl -s https://codecov.io/bash)
|