From 204408d288418619526da0f49769e29dadbf9f14 Mon Sep 17 00:00:00 2001 From: Jared Boone Date: Sun, 17 Jul 2016 15:54:02 -0700 Subject: [PATCH] JTAG: Load HackRF CPLD bitstream into SRAM from firmware image. No further concerns about the HackRF CPLD having an ancient bitstream on it! At least in PortaPack mode... --- firmware/application/main.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/firmware/application/main.cpp b/firmware/application/main.cpp index 93d496d3..3bea477e 100755 --- a/firmware/application/main.cpp +++ b/firmware/application/main.cpp @@ -76,6 +76,10 @@ int main(void) { chSysHalt(); } + if( !cpld_hackrf_load_sram() ) { + chSysHalt(); + } + portapack::io.init(); portapack::display.init();