mirror of
https://git.vladimir.cc/vladimir/ewsdr.git
synced 2026-08-25 20:27:33 +00:00
27 lines
882 B
Markdown
27 lines
882 B
Markdown
# RUN Build Linux
|
|
lazbuild -B --ws=qt6 ewsdr.lpr
|
|
# RUN Build Windows
|
|
lazbuild -B --ws=win32 ewsdr.lpr
|
|
# RUN Build macOS
|
|
lazbuild -B --ws=cocoa ewsdr.lpr
|
|
|
|
# Optional DMR AMBE+2 adapter (requires mbelib development files)
|
|
cmake -S native/dmr -B build/dmr -DCMAKE_BUILD_TYPE=Release
|
|
cmake --build build/dmr
|
|
|
|
# DMR receive/protocol tests
|
|
fpc -Fu. -FE/tmp tests/dmr_protocol_test.pas
|
|
/tmp/dmr_protocol_test
|
|
fpc -Fu. -FE/tmp tests/dmr_frontend_test.pas
|
|
LD_LIBRARY_PATH=build/dmr /tmp/dmr_frontend_test
|
|
fpc -Fu. -FE/tmp tests/dmr_diagnostics_test.pas
|
|
/tmp/dmr_diagnostics_test
|
|
|
|
# Replay a captured 48 kHz discriminator stream through the DMR decoder
|
|
fpc -Fu. -FE/tmp tools/dmr_replay.pas
|
|
/tmp/dmr_replay /tmp/ewsdr-dmr-*.demod_f32le
|
|
|
|
# Convert exact 24-bit network IQ to GNU Radio/inspectrum complex float32
|
|
fpc -FE/tmp tools/iq24be_to_cf32.pas
|
|
/tmp/iq24be_to_cf32 /tmp/ewsdr-dmr-*.iq24be
|