UA1ZBE Custom Firmware v1.0

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)
This commit is contained in:
2026-04-12 00:44:05 +03:00
parent 5c1229659b
commit a1206d6fd4
3435 changed files with 593221 additions and 2 deletions

View File

@@ -0,0 +1,27 @@
toolchain:
ARMCC5:
env:
PATH : [ "/opt/armcc/bin" ]
rte:
Tcompiler: "ARMCC"
Toptions : "AC5"
ccompiler:
cmd : "armcc"
cmdfile : "--via \""
input : "\""
output : "-o \""
include : "-I\""
define : "-D"
assembler:
cmd : "armasm"
cmdfile : "--via \""
input : "\""
output : "-o \""
include : "-I\""
define : "--pd \"%{str.join(' SETA ', (str.split(value, '=') + [ '1' ])[0:2])}\""
linker:
cmd : "armlink"
cmdfile : "--via \""
input : "\""
output : "-o \""
script : "--scatter=\""

View File

@@ -0,0 +1,63 @@
toolchain:
ARMCC6:
env:
PATH : [ "/opt/armclang/bin" ]
rte:
Tcompiler: "ARMCC"
Toptions : "AC6"
ccompiler:
cmd : "armclang"
cmdfile : "@\""
input : "\""
output : "-o \""
include : "-I\""
define : "-D"
assembler:
cmd : "armclang"
cmdfile : "@\""
input : "\""
output : "-o \""
include : "-I\""
define : "-D"
linker:
cmd : "armclang"
cmdfile : "@\""
input : "\""
output : "-o \""
script : "-Wl,--scatter=\""
librarian:
cmd : "armar"
cmdfile : "--Via \""
input : "\""
output : "--create \""
ARMCC6_MDK:
env:
PATH : [ "/opt/armclang/bin" ]
rte:
Tcompiler: "ARMCC"
Toptions : "AC6"
ccompiler:
cmd : "armclang"
cmdfile : "@\""
input : "\""
output : "-o \""
include : "-I\""
define : "-D"
assembler:
cmd : "armasm"
cmdfile : "--Via \""
input : "\""
output : "-o \""
include : "-I\""
define : "--pd \"%{value.replace('=', ' SETA ') if '=' in value else value+' SETA 1'}\""
linker:
cmd : "armlink"
cmdfile : "--Via \""
input : "\""
output : "-o \""
script : "--scatter=\""
librarian:
cmd : "armar"
cmdfile : "--Via \""
input : "\""
output : "--create \""

View File

@@ -0,0 +1,63 @@
toolchain:
ARMCC6_LTM:
env:
PATH : [ "/opt/armclangltm/bin" ]
rte:
Tcompiler: "ARMCC"
Toptions : "AC6"
ccompiler:
cmd : "armclang"
cmdfile : "@\""
input : "\""
output : "-o \""
include : "-I\""
define : "-D"
assembler:
cmd : "armclang"
cmdfile : "@\""
input : "\""
output : "-o \""
include : "-I\""
define : "-D"
linker:
cmd : "armclang"
cmdfile : "@\""
input : "\""
output : "-o \""
script : "-Wl,--scatter=\""
librarian:
cmd : "armar"
cmdfile : "--Via \""
input : "\""
output : "--create \""
ARMCC6_LTM_MDK:
env:
PATH : [ "/opt/armclangltm/bin" ]
rte:
Tcompiler: "ARMCC"
Toptions : "AC6"
ccompiler:
cmd : "armclang"
cmdfile : "@\""
input : "\""
output : "-o \""
include : "-I\""
define : "-D"
assembler:
cmd : "armasm"
cmdfile : "--Via \""
input : "\""
output : "-o \""
include : "-I\""
define : "--pd \"%{value.replace('=', ' SETA ') if '=' in value else value+' SETA 1'}\""
linker:
cmd : "armlink"
cmdfile : "--Via \""
input : "\""
output : "-o \""
script : "--scatter=\""
librarian:
cmd : "armar"
cmdfile : "--Via \""
input : "\""
output : "--create \""

View File

@@ -0,0 +1,27 @@
toolchain:
GCC:
env:
PATH : [ "/opt/gcc-arm-none-eabi-10-2020-q4-major/bin" ]
rte:
Tcompiler: "GCC"
Toptions : ""
ccompiler:
cmd : "arm-none-eabi-gcc"
cmdfile : "@\""
input : "\""
output : "-o \""
include : "-I\""
define : "-D"
assembler:
cmd : "arm-none-eabi-gcc"
cmdfile : "@\""
input : "\""
output : "-o \""
include : "-I\""
define : "-D"
linker:
cmd : "arm-none-eabi-gcc"
cmdfile : "@\""
input : "\""
output : "-o \""
script : "-T \""

View File

@@ -0,0 +1,6 @@
packdir: ${home}/.rtebuild/PACK
import:
- armcc.rtebuild
- armclang.rtebuild
- armclang_ltm.rtebuild
- gcc.rtebuild