HackRF Changelog from 20241018 to 20250109

发布于 — 2025 年 02 月 05 日
#HackRF

分析记录HackRF自20241018到20250109的变更

文档更新:Add Opera Cake Block Diagram

opera cake block diagram

Add AGM CPLD to portapack detection routine
1
2
3
4
5
6
7
8
static bool portapack_detect(void)
{
	const uint32_t idcode = jtag_pp_idcode();

	/* 0x020A50DD => Altera 5M40ZE64C5N
	   0x00025610 => AGM Microelectronics AG256SL100 */
	return idcode == 0x020A50DD || idcode == 0x00025610;
}
文档更新:Add synchronization checklist to documentation

详见:synchronization_checklist

windows下支持CTRL_BREAK_EVENT停止进程

host/hackrf-tools/src/hackrf_sweep.c

1
2
3
4
5
6
7
#ifdef _MSC_VER
BOOL WINAPI sighandler(int signum)
{
	if (CTRL_C_EVENT == signum || CTRL_BREAK_EVENT == signum) {
		fprintf(stderr, "Caught signal %d\n", signum);
		do_exit = true;
		return TRUE;

host/hackrf-tools/src/hackrf_transfer.c

1
2
3
4
5
6
7
#ifdef _WIN32
BOOL WINAPI sighandler(int signum)
{
	if (CTRL_C_EVENT == signum || CTRL_BREAK_EVENT == signum) {
		interrupted = true;
		fprintf(stderr, "Caught signal %d\n", signum);
		stop_main_loop();
issue模板更新:新建issues中Technical Support Request模板更新

详见:PR 1507

增加SGPIO deadline check

Checks whether the M0 core missed its deadline: i.e. if the next SGPIO interrupt already occurred by the time it finished processing the last one.

If so, the M0 returns to the idle mode with an error code in the M0 state. This should cause the host tools to time out, at which point the error can be checked with hackrf_debug -S.

详见:PR 1510

build(deps): bump jinja2 from 3.1.4 to 3.1.5 in /docs

jinja2==3.1.4—>jinja2==3.1.5

Add a shim header to support locking without ldrex/strex

详见:PR 1516 | PR 1517 | PR 1519