From 5a6f6e8db073e7edd99f5825488a6e3877d951cc Mon Sep 17 00:00:00 2001 From: Bernd Herzog Date: Fri, 7 Apr 2023 12:53:26 +0200 Subject: [PATCH] Revert "fixed hackrf mode for portapacks with TQFP100 CPLD" --- firmware/baseband/CMakeLists.txt | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/firmware/baseband/CMakeLists.txt b/firmware/baseband/CMakeLists.txt index b04925f9..0d6e6947 100644 --- a/firmware/baseband/CMakeLists.txt +++ b/firmware/baseband/CMakeLists.txt @@ -564,19 +564,11 @@ DeclareTargets(PUSB sd_over_usb) ### HackRF "factory" firmware -add_custom_target( - portapack_mod - WORKING_DIRECTORY ${HACKRF_PATH} - COMMAND git checkout -- firmware/common/portapack.c - COMMAND sed -i 's/return jtag_pp_idcode\(\)/const uint32_t idcode = jtag_pp_idcode\(\)\; return idcode == 0x00025610 || idcode/g' firmware/common/portapack.c -) - add_custom_command( OUTPUT hackrf.img COMMAND ${LZ4} -f -9 ${HACKRF_FIRMWARE_BIN_IMAGE} hackrf.lz4 COMMAND ${MAKE_IMAGE_CHUNK} hackrf.lz4 HRF1 hackrf.img - COMMAND git -C ${HACKRF_PATH} checkout -- firmware/common/portapack.c - DEPENDS portapack_mod ${HACKRF_FIRMWARE_BIN_FILENAME} ${MAKE_IMAGE_CHUNK} + DEPENDS ${HACKRF_FIRMWARE_BIN_FILENAME} ${MAKE_IMAGE_CHUNK} VERBATIM )