Fix the spectrum labels, bandscope build, OOK on F+7, save flash
- Spectrum: GUI_DisplaySmallest() now draws with gFontSmall (7 px per character) for the status bar; the spectrum layout needs the 3x5 font (4 px), so it gets its own renderer again. Its labels were overlapping. - make BANDSCOPE=1: spectrum instead of the FM radio. Both do not fit in 60 KB together (FM radio is 4.9 KB). Debug log off and -finline-limit=1 in that edition; it fits with a few bytes to spare. - OOK sender on F+7 / long 7 (the VOX key is free, VOX is not built); F+EXIT is back to only cancelling F. - POCSAG deviation tuning keys behind POCSAG_DEVIATION_TUNING (default 0). - Smaller code: shared end of SMS/POCSAG transmissions, non-inlined fast SPI wait, compact OOK field tables, sprintf message header, shorter OOK strings. - Makefile: EXTRA_CFLAGS for passing defines. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
No files matched your search
@@ -15,6 +15,15 @@ ENABLE_TX1750 ?= 0
|
||||
ENABLE_PWRON_PASSWORD ?= 0
|
||||
ENABLE_FLASHLIGHT ?= 1
|
||||
|
||||
# Bandscope edition: make BANDSCOPE=1
|
||||
# The spectrum and the FM radio do not fit in the flash together, so this build
|
||||
# swaps the FM radio for the spectrum (and drops the POCSAG debug log).
|
||||
ifeq ($(BANDSCOPE),1)
|
||||
ENABLE_SPECTRUM := 1
|
||||
ENABLE_FMRADIO := 0
|
||||
EXTRA_CFLAGS += -DPOCSAG_DEBUG_UART=0 -finline-limit=1
|
||||
endif
|
||||
|
||||
# ---- CUSTOM MODS ----
|
||||
ENABLE_SPECTRUM ?= 0
|
||||
ENABLE_BIG_FREQ ?= 0
|
||||
@@ -290,6 +299,8 @@ endif
|
||||
|
||||
# catch any and all warnings
|
||||
CFLAGS += -Wextra
|
||||
# extra compiler flags from the command line, e.g. make EXTRA_CFLAGS=-DPOCSAG_DEBUG_UART=0
|
||||
CFLAGS += $(EXTRA_CFLAGS)
|
||||
#CFLAGS += -Wpedantic
|
||||
|
||||
CFLAGS += -DPRINTF_INCLUDE_CONFIG_H
|
||||
|
||||
Reference in New Issue
Block a user