Files
uv-k5-ua1zbe-firmware/external/CMSIS_5/Device/_Template_Flash/Abstract.txt
ua1zbe a1206d6fd4 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)
2026-04-12 00:44:05 +03:00

33 lines
1.6 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
Creating a new Algorithm
------------------------
Flash programming algorithms are defined with functions to erase and program
the Flash device. Special compiler and linker settings are required. Follow
these steps to create and configure a new Flash programming algorithm:
- From the toolbar, use the drop-down Select Target to define the processor
architecture. Cortex-M fits for all Arm Cortex-M0/M0+/M3/M4/M7 devices.
The configuration assumes a little-endian microcontroller. In case of a
big-endian microcontroller, select the correct processor core with
Project - Options for Target - Device.
- Open the dialog Project - Options for Target - Output and change the content
of the field Name of Executable to represent the device, for example
MyDevice.
- Adapt the programming algorithms in the file FlashPrg.c
- Adapt the device parameters in the file FlashDev.c
- Use Project - Build Target to generate the new Flash programming algorithm.
The output file (for example MyDevice.FLM) has to be added to the DFP.
Note
----
- Creating a Flash programming algorithm with MDK-Lite is not supported.
- Flash programming algorithms use Read-Only Position Independent and
Read-Write Position Independent program code. These options are set in the
dialogs Project - Options for Target - C/C++ and
Project - Options for Target - Asm.
- The dialog Project - Options for Target - Linker defines the linker scatter
file Target.lin. The error L6305 is disabled with diag_suppress L6305.
For more information, refer to the documentation available at
http://arm-software.github.io/CMSIS_5/Pack/html/flashAlgorithm.html