Files
-
hardware / bubblegum / bubblegum.brd
-
hardware / bubblegum / bubblegum.sch
-
hardware / hackrf-one / baseband.kicad_sch
-
hardware / hackrf-one / clock.kicad_sch
-
hardware / hackrf-one / frontend.kicad_sch
-
hardware / hackrf-one / hackrf-one.kicad_pcb
-
hardware / hackrf-one / hackrf-one.kicad_sch
-
hardware / hackrf-one / mcu.kicad_sch
-
hardware / jawbreaker / baseband.sch
-
hardware / jawbreaker / frontend.sch
-
hardware / jawbreaker / jawbreaker.brd
-
hardware / jawbreaker / jawbreaker.sch
-
hardware / jawbreaker / mcu.sch
-
hardware / jellybean / jellybean.brd
-
hardware / jellybean / jellybean.sch
-
hardware / lemondrop / lemondrop.brd
-
hardware / lemondrop / lemondrop.sch
-
hardware / licorice / licorice.brd
-
hardware / licorice / licorice.sch
-
hardware / LNA915 / LNA915.kicad_pcb
-
hardware / LNA915 / LNA915.sch
-
hardware / lollipop / lollipop.brd
-
hardware / lollipop / lollipop.sch
-
hardware / marzipan / baseband.sch
-
hardware / marzipan / frontend.sch
-
hardware / marzipan / marzipan.kicad_pcb
-
hardware / marzipan / marzipan.sch
-
hardware / marzipan / mcu.sch
-
hardware / neapolitan / baseband.sch
-
hardware / neapolitan / frontend.sch
-
hardware / neapolitan / mcu.sch
-
hardware / neapolitan / neapolitan.kicad_pcb
-
hardware / neapolitan / neapolitan.sch
-
hardware / operacake / operacake.kicad_pcb
-
hardware / operacake / operacake.sch
Last update 2 years 1 month
by
Gianpaolo Macario
Filesci-scripts | |
---|---|
.. | |
configure-hubs.sh | |
install-firmware.sh | |
install-host.sh | |
test-debug.py | |
test-firmware-flash.sh | |
test-firmware-program.sh | |
test-host.sh | |
test-transfer.py |
test-debug.py#!/usr/bin/python3 import sys import subprocess PASS, FAIL = range(2) EUT = "RunningFromRAM" def check_debug(target, register, reg_val): hackrf_debug = subprocess.run(["host/build/hackrf-tools/src/hackrf_debug", f"--{target}", "--register", register, "--read", "--device", EUT], capture_output=True, encoding="UTF-8") if reg_val in hackrf_debug.stdout: print(f"hackrf_debug --{target} passed.") return PASS else: print(f"hackrf_debug --{target} failed.") return FAIL def main(): results = [ check_debug("si5351c", "2", "0x03"), check_debug("max2837", "3", "0x1b9"), check_debug("rffc5072", "2", "0x9055"), ] if FAIL not in results: sys.exit(PASS) else: sys.exit(FAIL) if __name__ == "__main__": main()