The firmware for the HackRF+PortaPack H1/H2/H4/H4M
This report presents the forensic synthetic code analysis of portapack-mayhem/mayhem-firmware, a C project with 5,246 GitHub stars. SynthScan v2.0 examined 792,638 lines of code across 2924 source files, recording 4960 pattern matches distributed across 12 syntactic categories. The overall adjusted score of 4.9 places this repository in the Likely human-written band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
Longitudinal tracking requires multiple scan runs. Once this repository is re-scanned after new commits land, this chart will visualise how the synthetic code signal evolves over time — enabling you to detect whether AI authorship is growing, stabilising, or being actively corrected by human engineers.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 4960 distinct pattern matches across 12 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | CMakeLists.txt | 1 | # Copyright 2016 Jared Boone <jared@sharebrained.com> | COMMENT |
| LOW | dockerize.sh | 1 | #!/bin/bash | COMMENT |
| LOW | dockerize.sh | 21 | # Change the default build directory: ./dockerize.sh -B build-alt | COMMENT |
| LOW | dockerize.sh | 41 | # | COMMENT |
| LOW | sdcard/LOOKINGGLASS/DECT.TXT | 1 | # INI,END,DESCRIPTION | COMMENT |
| LOW | sdcard/LOOKINGGLASS/MICS.TXT | 1 | # INI,END,DESCRIPTION | COMMENT |
| LOW | sdcard/LOOKINGGLASS/MARINE_BAND.TXT | 1 | # INI,END,DESCRIPTION | COMMENT |
| LOW | sdcard/LOOKINGGLASS/MULTI_USE_RADIO_SERVICE_MURS.TXT | 1 | # INI,END,DESCRIPTION | COMMENT |
| LOW | sdcard/LOOKINGGLASS/WIFI.TXT | 1 | # INI,END,DESCRIPTION | COMMENT |
| LOW | sdcard/LOOKINGGLASS/433_MHz_BAND.TXT | 1 | # INI,END,DESCRIPTION | COMMENT |
| LOW | sdcard/LOOKINGGLASS/AUS_UHF_CB.TXT | 1 | # INI,END,DESCRIPTION | COMMENT |
| LOW | sdcard/LOOKINGGLASS/RAILROAD.TXT | 1 | # INI,END,DESCRIPTION | COMMENT |
| LOW | sdcard/LOOKINGGLASS/RADIOSONDES.TXT | 1 | # INI,END,DESCRIPTION | COMMENT |
| LOW | sdcard/LOOKINGGLASS/COMMON_PUBLIC_SERVICE_BANDS.TXT | 1 | # INI,END,DESCRIPTION | COMMENT |
| LOW | sdcard/LOOKINGGLASS/FULL.TXT | 1 | # INI,END,DESCRIPTION | COMMENT |
| LOW | sdcard/LOOKINGGLASS/CITIZENS_BAND_RADIO.TXT | 1 | # INI,END,DESCRIPTION | COMMENT |
| LOW | sdcard/LOOKINGGLASS/NOAA_WEATHER_RADIO.TXT | 1 | # INI,END,DESCRIPTION | COMMENT |
| LOW | sdcard/LOOKINGGLASS/WATER_METERS.TXT | 1 | # INI,END,DESCRIPTION | COMMENT |
| LOW | sdcard/LOOKINGGLASS/FRSGMRS.TXT | 1 | # INI,END,DESCRIPTION | COMMENT |
| LOW | sdcard/LOOKINGGLASS/CubeSats.TXT | 1 | # INI,END,DESCRIPTION | COMMENT |
| LOW | firmware/CMakeLists.txt | 1 | # Copyright 2016 Jared Boone <jared@sharebrained.com> | COMMENT |
| LOW | firmware/chibios/test/test.h | 41 | COMMENT | |
| LOW | firmware/chibios/test/test.c | 21 | * @addtogroup test | COMMENT |
| LOW | firmware/chibios/testhal/SPC560Pxx/PWM-ICU/mcuconf.h | 141 | #define SPC5_ME_LP_PC5_BITS (SPC5_ME_LP_PC_HALT0 | \ | COMMENT |
| LOW | firmware/chibios/testhal/SPC560Pxx/PWM-ICU/mcuconf.h | 161 | #define SPC5_SERIAL_LINFLEX1_START_PCTL (SPC5_ME_PCTL_RUN(1) | \ | COMMENT |
| LOW | firmware/chibios/testhal/SPC560Pxx/PWM-ICU/mcuconf.h | 181 | COMMENT | |
| LOW | firmware/chibios/testhal/SPC560Pxx/PWM-ICU/mcuconf.h | 201 | #define SPC5_ICU_USE_SMOD10 FALSE | COMMENT |
| LOW | firmware/chibios/testhal/SPC563Mxx/ADC/mcuconf.h | 41 | BIUCR_MASTER0_PREFETCH | \ | COMMENT |
| LOW | firmware/chibios/testhal/SPC563Mxx/ADC/mcuconf.h | 81 | #define SPC5_USE_ESCIA TRUE | COMMENT |
| LOW | firmware/chibios/testhal/LPC13xx/IRQ_STORM/main.c | 21 | COMMENT | |
| LOW | firmware/chibios/testhal/LPC13xx/IRQ_STORM/mcuconf.h | 61 | /* | COMMENT |
| LOW | firmware/chibios/testhal/STM32F0xx/PWM-ICU/mcuconf.h | 41 | #define STM32_LSI_ENABLED TRUE | COMMENT |
| LOW | firmware/chibios/testhal/STM32F0xx/PWM-ICU/mcuconf.h | 81 | #define STM32_GPT_USE_TIM2 FALSE | COMMENT |
| LOW | firmware/chibios/testhal/STM32F0xx/PWM-ICU/mcuconf.h | 101 | * ICU driver system settings. | COMMENT |
| LOW | firmware/chibios/testhal/STM32F0xx/PWM-ICU/mcuconf.h | 121 | /* | COMMENT |
| LOW | firmware/chibios/testhal/STM32F0xx/PWM-ICU/mcuconf.h | 141 | * UART driver system settings. | COMMENT |
| LOW | firmware/chibios/testhal/STM32F0xx/EXT/mcuconf.h | 41 | #define STM32_LSI_ENABLED TRUE | COMMENT |
| LOW | firmware/chibios/testhal/STM32F0xx/EXT/mcuconf.h | 81 | #define STM32_GPT_USE_TIM2 FALSE | COMMENT |
| LOW | firmware/chibios/testhal/STM32F0xx/EXT/mcuconf.h | 101 | * ICU driver system settings. | COMMENT |
| LOW | firmware/chibios/testhal/STM32F0xx/EXT/mcuconf.h | 121 | /* | COMMENT |
| LOW | firmware/chibios/testhal/STM32F0xx/EXT/mcuconf.h | 141 | * UART driver system settings. | COMMENT |
| LOW | firmware/chibios/testhal/STM32F0xx/IRQ_STORM/main.c | 21 | COMMENT | |
| LOW | firmware/chibios/testhal/STM32F0xx/IRQ_STORM/mcuconf.h | 41 | #define STM32_LSI_ENABLED TRUE | COMMENT |
| LOW | firmware/chibios/testhal/STM32F0xx/IRQ_STORM/mcuconf.h | 81 | #define STM32_GPT_USE_TIM2 TRUE | COMMENT |
| LOW | firmware/chibios/testhal/STM32F0xx/IRQ_STORM/mcuconf.h | 101 | * ICU driver system settings. | COMMENT |
| LOW | firmware/chibios/testhal/STM32F0xx/IRQ_STORM/mcuconf.h | 121 | /* | COMMENT |
| LOW | firmware/chibios/testhal/STM32F0xx/IRQ_STORM/mcuconf.h | 141 | * UART driver system settings. | COMMENT |
| LOW | firmware/chibios/testhal/STM32F0xx/SPI/mcuconf.h | 41 | #define STM32_LSI_ENABLED TRUE | COMMENT |
| LOW | firmware/chibios/testhal/STM32F0xx/SPI/mcuconf.h | 81 | #define STM32_GPT_USE_TIM2 FALSE | COMMENT |
| LOW | firmware/chibios/testhal/STM32F0xx/SPI/mcuconf.h | 101 | * ICU driver system settings. | COMMENT |
| LOW | firmware/chibios/testhal/STM32F0xx/SPI/mcuconf.h | 121 | /* | COMMENT |
| LOW | firmware/chibios/testhal/STM32F0xx/SPI/mcuconf.h | 141 | * UART driver system settings. | COMMENT |
| LOW | firmware/chibios/testhal/STM32F0xx/ADC/mcuconf.h | 41 | #define STM32_LSI_ENABLED TRUE | COMMENT |
| LOW | firmware/chibios/testhal/STM32F0xx/ADC/mcuconf.h | 81 | #define STM32_GPT_USE_TIM2 FALSE | COMMENT |
| LOW | firmware/chibios/testhal/STM32F0xx/ADC/mcuconf.h | 101 | * ICU driver system settings. | COMMENT |
| LOW | firmware/chibios/testhal/STM32F0xx/ADC/mcuconf.h | 121 | /* | COMMENT |
| LOW | firmware/chibios/testhal/STM32F0xx/ADC/mcuconf.h | 141 | * UART driver system settings. | COMMENT |
| LOW | firmware/chibios/testhal/STM32F0xx/UART/mcuconf.h | 41 | #define STM32_LSI_ENABLED TRUE | COMMENT |
| LOW | firmware/chibios/testhal/STM32F0xx/UART/mcuconf.h | 81 | #define STM32_GPT_USE_TIM2 FALSE | COMMENT |
| LOW | firmware/chibios/testhal/STM32F0xx/UART/mcuconf.h | 101 | * ICU driver system settings. | COMMENT |
| 4748 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …/chibios/demos/ARMCM0P-LPC812-LPCXPRESSO/lpc8xx_isp.py | 5 | #========================================================= | COMMENT |
| MEDIUM | …/chibios/demos/ARMCM0P-LPC812-LPCXPRESSO/lpc8xx_isp.py | 14 | #========================================================= | COMMENT |
| MEDIUM | …/chibios/demos/ARMCM0P-LPC812-LPCXPRESSO/lpc8xx_isp.py | 28 | #========================================================= | COMMENT |
| MEDIUM | …/chibios/demos/ARMCM0P-LPC812-LPCXPRESSO/lpc8xx_isp.py | 44 | #========================================================= | COMMENT |
| MEDIUM | …/chibios/demos/ARMCM0P-LPC812-LPCXPRESSO/lpc8xx_isp.py | 102 | #========================================================= | COMMENT |
| MEDIUM | …/chibios/demos/ARMCM0P-LPC812-LPCXPRESSO/lpc8xx_isp.py | 137 | #========================================================= | COMMENT |
| MEDIUM | …/chibios/demos/ARMCM0P-LPC812-LPCXPRESSO/lpc8xx_isp.py | 138 | #========================================================= | COMMENT |
| MEDIUM | firmware/tools/make_macaddress_db/make_macaddress_db.py | 19 | # ------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | firmware/tools/make_macaddress_db/make_macaddress_db.py | 22 | # ------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | firmware/tools/make_airlines_db/make_airlines_db.py | 20 | # ------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | firmware/tools/make_airlines_db/make_airlines_db.py | 24 | # ------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | firmware/tools/make_icao24_db/make_icao24_db.py | 22 | # ------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | firmware/tools/make_icao24_db/make_icao24_db.py | 26 | # ------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | firmware/tools/make_mids_db/make_mid_db.py | 21 | # ------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | firmware/tools/make_mids_db/make_mid_db.py | 27 | # ------------------------------------------------------------------------------------- | COMMENT |
| MEDIUM | …re/application/external/two_tone_rx/ui_two_tone_rx.hpp | 102 | // ── Two-tone detection state machine ───────────────────────────────────── | COMMENT |
| MEDIUM | …re/application/external/two_tone_rx/ui_two_tone_rx.hpp | 138 | // ── Row 0: frequency + RF controls ─────────────────────────────────────── | COMMENT |
| MEDIUM | …re/application/external/two_tone_rx/ui_two_tone_rx.hpp | 154 | // ── Row 1: CTCSS / Squelch / Start+Stop / Clear ────────────────────────── | COMMENT |
| MEDIUM | …re/application/external/two_tone_rx/ui_two_tone_rx.hpp | 181 | // ── Row 2: live status (active tone in progress) + Bias-T toggle ───────── | COMMENT |
| MEDIUM | …re/application/external/two_tone_rx/ui_two_tone_rx.hpp | 198 | // ── Waterfall (rest of screen) ──────────────────────────────────────────── | COMMENT |
| MEDIUM | …re/application/external/two_tone_rx/ui_two_tone_rx.hpp | 202 | // ── Message handler ─────────────────────────────────────────────────────── | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | firmware/chibios/os/hal/platforms/Posix/pal_lld.h | 151 | * @details The purpose of this function is to read back the latched output | COMMENT |
| LOW | firmware/chibios/os/hal/platforms/LPC11Uxx/pal_lld.h | 140 | * @details The purpose of this function is to read back the latched output | COMMENT |
| LOW | firmware/chibios/os/hal/platforms/AVR/pal_lld.h | 240 | * @details The purpose of this function is to read back the latched output | COMMENT |
| LOW | firmware/chibios/os/hal/platforms/LPC8xx/pal_lld.h | 129 | * @details The purpose of this function is to read back the latched output | COMMENT |
| LOW | …ware/chibios/os/hal/platforms/SPC5xx/SIUL_v1/pal_lld.h | 248 | * @details The purpose of this function is to read back the latched output | COMMENT |
| LOW | …mware/chibios/os/hal/platforms/SPC5xx/SIU_v1/pal_lld.h | 242 | * @details The purpose of this function is to read back the latched output | COMMENT |
| LOW | firmware/chibios/os/hal/platforms/LPC13xx/pal_lld.h | 156 | * @details The purpose of this function is to read back the latched output | COMMENT |
| LOW | firmware/chibios/os/hal/platforms/LPC122x/pal_lld.h | 151 | * @details The purpose of this function is to read back the latched output | COMMENT |
| LOW | firmware/chibios/os/hal/platforms/Win32/pal_lld.h | 151 | * @details The purpose of this function is to read back the latched output | COMMENT |
| LOW | firmware/chibios/os/hal/platforms/LPC11xx/pal_lld.h | 156 | * @details The purpose of this function is to read back the latched output | COMMENT |
| LOW | firmware/chibios/os/hal/include/pal.h | 236 | * @details The purpose of this function is to read back the latched output | COMMENT |
| LOW | firmware/chibios/os/hal/templates/pal_lld.h | 117 | * @details The purpose of this function is to read back the latched output | COMMENT |
| LOW⚡ | firmware/common/utility.cpp | 97 | // Step 1: Normalize IQ values (convert 8-bit signed to -1.0 to +1.0) | COMMENT |
| LOW⚡ | firmware/common/utility.cpp | 101 | // Step 2: Compute the magnitude squared (I^2 + Q^2) | COMMENT |
| LOW⚡ | firmware/common/utility.cpp | 104 | // Step 3: Convert the magnitude squared to actual power (in watts) | COMMENT |
| LOW⚡ | firmware/common/utility.cpp | 108 | // Step 4: Convert the power to dBm (multiply by 1000 to convert watts to milliwatts) | COMMENT |
| LOW⚡ | firmware/application/apps/ui_debug.cpp | 1203 | // Step 1: Init | COMMENT |
| LOW⚡ | firmware/application/apps/ui_debug.cpp | 1208 | // Step 2: Set sample rate (configures Si5351 clocks!) | COMMENT |
| LOW⚡ | firmware/application/apps/ui_debug.cpp | 1212 | // Step 3: RX mode | COMMENT |
| LOW⚡ | firmware/application/apps/ui_debug.cpp | 1216 | // Step 4: Frequency - use 2437 MHz (WiFi ch6) which is in MAX2831 range | COMMENT |
| LOW⚡ | firmware/application/apps/ui_debug.cpp | 1222 | // Step 5: Configure SGPIO outputs with correct DISABLE sequence | COMMENT |
| LOW⚡ | firmware/application/apps/ui_debug.cpp | 1469 | // Step 7: Enable slice A counter (keep slice D enabled) - still with DISABLE=HIGH | COMMENT |
| LOW⚡ | firmware/application/apps/ui_debug.cpp | 1479 | // Step 8: Enable streaming (DISABLE=LOW) - THIS IS THE CRITICAL TEST | COMMENT |
| LOW⚡ | firmware/application/apps/ui_debug.cpp | 2965 | // Step 1: Read current value | COMMENT |
| LOW⚡ | firmware/application/apps/ui_debug.cpp | 2968 | // Step 2: Write a different value (change ENBL bit to toggle) | COMMENT |
| LOW⚡ | firmware/application/apps/ui_debug.cpp | 2972 | // Step 3: Read back | COMMENT |
| LOW⚡ | firmware/application/apps/ui_debug.cpp | 2975 | // Step 4: Restore original | COMMENT |
| LOW | firmware/application/apps/ui_debug.cpp | 1237 | // Step 6: Check raw GPIO pins | COMMENT |
| LOW | firmware/application/apps/ui_debug.cpp | 1311 | // Step 0: Baseline with DISABLE=HIGH first | COMMENT |
| LOW | firmware/application/apps/ui_debug.cpp | 1336 | // Step 1: OUT_MUX_CFG data pins - test individually | COMMENT |
| LOW | firmware/application/apps/ui_debug.cpp | 1360 | // Step 2: OUT_MUX_CFG control pins - SKIP PIN 10 (HOST_DISABLE) | COMMENT |
| LOW | firmware/application/apps/ui_debug.cpp | 1394 | // Step 3: Set GPIO_OENREG for RX | COMMENT |
| LOW | firmware/application/apps/ui_debug.cpp | 1429 | // Step 4: SGPIO_MUX_CFG slice A | COMMENT |
| LOW | firmware/application/apps/ui_debug.cpp | 1441 | // Step 5: SLICE_MUX_CFG slice A | COMMENT |
| LOW | firmware/application/apps/ui_debug.cpp | 1453 | // Step 6: Slice A registers | COMMENT |
| LOW | …e/chibios-portapack/os/hal/platforms/LPC43xx/pal_lld.h | 176 | * @details The purpose of this function is to read back the latched output | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | dockerize.sh | 40 | # This file is part of PortaPack. | COMMENT |
| MEDIUM | firmware/tools/export_external_apps.py | 7 | # This file is part of PortaPack. | COMMENT |
| MEDIUM | firmware/tools/simple_checksum.py | 6 | # This file is part of PortaPack. | COMMENT |
| MEDIUM | firmware/tools/copy_external_apps.sh | 6 | # This file is part of PortaPack. | COMMENT |
| MEDIUM | …ware/tools/check_external_app_linker_script_correct.py | 6 | # This file is part of PortaPack. | COMMENT |
| MEDIUM | firmware/tools/extract_cpld_data.py | 6 | # This file is part of PortaPack. | COMMENT |
| MEDIUM | firmware/tools/make_spi_image.py | 8 | # This file is part of PortaPack. | COMMENT |
| MEDIUM | firmware/tools/check_gcc_version_from_elf.py | 6 | # This file is part of PortaPack. | COMMENT |
| MEDIUM | firmware/tools/check_for_shared_external_code.py | 6 | # This file is part of PortaPack. | COMMENT |
| MEDIUM | firmware/tools/fast_flash_pp_and_copy_apps.py | 3 | # This file is part of PortaPack. | COMMENT |
| MEDIUM | firmware/tools/docker-entrypoint.sh | 6 | # This file is part of PortaPack. | COMMENT |
| MEDIUM | firmware/tools/make_image_chunk.py | 6 | # This file is part of PortaPack. | COMMENT |
| MEDIUM | firmware/tools/widget_preview.py | 4 | # This file is part of PortaPack. | COMMENT |
| MEDIUM | firmware/tools/enter_mode.sh | 6 | # This file is part of PortaPack. | COMMENT |
| MEDIUM | firmware/tools/external_app_info.py | 6 | # This file is part of PortaPack. | COMMENT |
| MEDIUM | …rmware/tools/bitmap_tools/bitmap_arr_reverse_decode.py | 6 | # This file is part of PortaPack. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …ware/tools/check_external_app_linker_script_correct.py | 125 | except Exception as e: | CODE |
| LOW | firmware/tools/make_spi_image.py | 206 | except Exception as e: | STRING |
| LOW | firmware/tools/fast_flash_pp_and_copy_apps.py | 55 | except Exception as e: | CODE |
| LOW | firmware/tools/fast_flash_pp_and_copy_apps.py | 78 | except Exception as e: | CODE |
| LOW | firmware/tools/fast_flash_pp_and_copy_apps.py | 255 | except Exception as e: | CODE |
| LOW | firmware/tools/fast_flash_pp_and_copy_apps.py | 268 | except Exception as e: | CODE |
| MEDIUM | firmware/tools/fast_flash_pp_and_copy_apps.py | 129 | def get_pp_device_linux(): | CODE |
| LOW | firmware/tools/make_macaddress_db/make_macaddress_db.py | 39 | except Exception as e: | CODE |
| MEDIUM | firmware/tools/make_macaddress_db/make_macaddress_db.py | 40 | print(f"Error downloading OUI file: {e}") | CODE |
| LOW | firmware/tools/make_macaddress_db/make_macaddress_db.py | 124 | except Exception as e: | CODE |
| MEDIUM | firmware/tools/make_macaddress_db/make_macaddress_db.py | 125 | print(f"Error creating MAC address database: {e}") | CODE |
| LOW | firmware/tools/make_airlines_db/make_airlines_db.py | 73 | except Exception as e: | CODE |
| MEDIUM | firmware/tools/make_airlines_db/make_airlines_db.py | 74 | print(f"Error downloading airline codes file: {e}") | CODE |
| LOW | firmware/tools/make_airlines_db/make_airlines_db.py | 113 | except Exception as e: | CODE |
| LOW | firmware/tools/make_airlines_db/make_airlines_db.py | 270 | except Exception as e: | CODE |
| MEDIUM | firmware/tools/make_airlines_db/make_airlines_db.py | 271 | print(f"Error creating airline database: {e}") | CODE |
| MEDIUM | firmware/tools/bmp_tools/hex_cpp_arr_to_bmp.py | 30 | print("Error: No hex data found.") | CODE |
| LOW⚡ | firmware/tools/make_icao24_db/make_icao24_db.py | 85 | except Exception as e: | CODE |
| MEDIUM⚡ | firmware/tools/make_icao24_db/make_icao24_db.py | 86 | print(f"Error downloading aircraft database file: {e}") | CODE |
| LOW | firmware/tools/make_icao24_db/make_icao24_db.py | 130 | except Exception as e: | CODE |
| LOW | firmware/tools/make_icao24_db/make_icao24_db.py | 292 | except Exception as e: | CODE |
| MEDIUM | firmware/tools/make_icao24_db/make_icao24_db.py | 293 | print(f"Error creating ICAO24 database: {e}") | CODE |
| MEDIUM | firmware/tools/bitmap_tools/pp_png2hpp.py | 208 | print(f"Error: {hpp_file_path} is not a valid file.") | STRING |
| LOW⚡ | hardware/portapack_h2m/fonts/_get_font_info.py | 32 | except Exception as e: | CODE |
| MEDIUM⚡ | hardware/portapack_h2m/fonts/_get_font_info.py | 33 | print(f"Error reading copyright info from {font_file}: {e}") | CODE |
| LOW⚡ | hardware/portapack_h2m/fonts/_get_font_info.py | 43 | except Exception as e: | CODE |
| MEDIUM⚡ | hardware/portapack_h2m/fonts/_get_font_info.py | 44 | print(f"Error writing license file for {font_file}: {e}") | CODE |
| MEDIUM | hardware/portapack_h2m/fonts/_get_font_info.py | 19 | def read_copyright_info(font_file): | CODE |
| MEDIUM | hardware/portapack_h2m/fonts/_get_font_info.py | 36 | def write_license_file(font_file, copyright_info): | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | firmware/common/utility.cpp | 97 | // Step 1: Normalize IQ values (convert 8-bit signed to -1.0 to +1.0) | COMMENT |
| LOW⚡ | firmware/common/utility.cpp | 101 | // Step 2: Compute the magnitude squared (I^2 + Q^2) | COMMENT |
| LOW⚡ | firmware/common/utility.cpp | 104 | // Step 3: Convert the magnitude squared to actual power (in watts) | COMMENT |
| LOW⚡ | firmware/common/utility.cpp | 108 | // Step 4: Convert the power to dBm (multiply by 1000 to convert watts to milliwatts) | COMMENT |
| LOW⚡ | firmware/application/apps/ui_debug.cpp | 1203 | // Step 1: Init | COMMENT |
| LOW⚡ | firmware/application/apps/ui_debug.cpp | 1208 | // Step 2: Set sample rate (configures Si5351 clocks!) | COMMENT |
| LOW⚡ | firmware/application/apps/ui_debug.cpp | 1212 | // Step 3: RX mode | COMMENT |
| LOW⚡ | firmware/application/apps/ui_debug.cpp | 1216 | // Step 4: Frequency - use 2437 MHz (WiFi ch6) which is in MAX2831 range | COMMENT |
| LOW⚡ | firmware/application/apps/ui_debug.cpp | 1222 | // Step 5: Configure SGPIO outputs with correct DISABLE sequence | COMMENT |
| LOW⚡ | firmware/application/apps/ui_debug.cpp | 1469 | // Step 7: Enable slice A counter (keep slice D enabled) - still with DISABLE=HIGH | COMMENT |
| LOW⚡ | firmware/application/apps/ui_debug.cpp | 1479 | // Step 8: Enable streaming (DISABLE=LOW) - THIS IS THE CRITICAL TEST | COMMENT |
| LOW⚡ | firmware/application/apps/ui_debug.cpp | 2965 | // Step 1: Read current value | COMMENT |
| LOW⚡ | firmware/application/apps/ui_debug.cpp | 2968 | // Step 2: Write a different value (change ENBL bit to toggle) | COMMENT |
| LOW⚡ | firmware/application/apps/ui_debug.cpp | 2972 | // Step 3: Read back | COMMENT |
| LOW⚡ | firmware/application/apps/ui_debug.cpp | 2975 | // Step 4: Restore original | COMMENT |
| LOW | firmware/application/apps/ui_debug.cpp | 1237 | // Step 6: Check raw GPIO pins | COMMENT |
| LOW | firmware/application/apps/ui_debug.cpp | 1311 | // Step 0: Baseline with DISABLE=HIGH first | COMMENT |
| LOW | firmware/application/apps/ui_debug.cpp | 1336 | // Step 1: OUT_MUX_CFG data pins - test individually | COMMENT |
| LOW | firmware/application/apps/ui_debug.cpp | 1360 | // Step 2: OUT_MUX_CFG control pins - SKIP PIN 10 (HOST_DISABLE) | COMMENT |
| LOW | firmware/application/apps/ui_debug.cpp | 1394 | // Step 3: Set GPIO_OENREG for RX | COMMENT |
| LOW | firmware/application/apps/ui_debug.cpp | 1429 | // Step 4: SGPIO_MUX_CFG slice A | COMMENT |
| LOW | firmware/application/apps/ui_debug.cpp | 1441 | // Step 5: SLICE_MUX_CFG slice A | COMMENT |
| LOW | firmware/application/apps/ui_debug.cpp | 1453 | // Step 6: Slice A registers | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | firmware/tools/append_fpga_bitstream.py | 12 | CODE | |
| LOW | firmware/tools/export_external_apps.py | 25 | CODE | |
| LOW | firmware/tools/export_external_apps.py | 27 | CODE | |
| LOW | firmware/tools/make_dcs.py | 23 | CODE | |
| LOW | firmware/tools/make_dcs.py | 24 | CODE | |
| LOW | firmware/tools/simple_checksum.py | 25 | CODE | |
| LOW | firmware/tools/generate_world_map.bin.py | 21 | CODE | |
| LOW | firmware/tools/generate_world_map.bin.py | 22 | CODE | |
| LOW | firmware/tools/bitmap_tools/make_bitmap2.py | 22 | CODE | |
| LOW | firmware/tools/bitmap_tools/make_bitmap.py | 22 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | firmware/tools/fast_flash_pp_and_copy_apps.py | 40 | CODE | |
| LOW | firmware/tools/fast_flash_pp_and_copy_apps.py | 129 | CODE | |
| LOW | firmware/tools/fast_flash_pp_and_copy_apps.py | 166 | CODE | |
| LOW | firmware/tools/widget_preview.py | 135 | CODE | |
| LOW | firmware/tools/make_macaddress_db/make_macaddress_db.py | 44 | CODE | |
| LOW | firmware/tools/make_airlines_db/make_airlines_db.py | 78 | CODE | |
| LOW | firmware/tools/make_airlines_db/make_airlines_db.py | 175 | CODE | |
| LOW | firmware/tools/make_icao24_db/make_icao24_db.py | 90 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | firmware/tools/make_spi_image.py | 149 | def get_gcc_version_from_elf_files_in_giving_path_or_filename_s_path(path): | STRING |
| LOW | firmware/tools/generate_ui-about-simple.cpp.py | 161 | def pp_create_ui_about_simple_cpp(cpp_file, cppheader, cppcontent, cppfooter): | STRING |
| LOW | firmware/tools/generate_ui-about-simple.cpp.py | 173 | def pp_change_ui_about_simple_cpp(cpp_file, cppcontent): | STRING |
| LOW⚡ | firmware/tools/make_icao24_db/make_icao24_db.py | 78 | def download_aircraft_database() -> None: | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | firmware/application/ui_external_items_menu_loader.cpp | 357 | // TODO: implement baseband image support | COMMENT |
| LOW | firmware/application/ui_external_items_menu_loader.cpp | 393 | // TODO: implement baseband image support | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | firmware/common/i2cdevmanager.hpp | 47 | void set_update_interval(uint8_t interval); // sets the device's update interval in sec. if you change it, don't fo | CODE |
| LOW | firmware/baseband/proc_bint_stream_tx.hpp | 23 | For usage check the FlipperTX app. Don't forget to "close" the tx by sending 42069, 613379 values at the end of the | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | .github/workflows/changelog.py | 37 | # Check if the request was successful (status code 200) | COMMENT |