blob: 08c2c420857997ee387de953a13fb738147a8614 (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
 | //
// Copyright 2017 Ettus Research, a National Instruments Company
//
// SPDX-License-Identifier: GPL-3.0
//
#include "eeprom.h"
#include <stdlib.h>
int main(int argc, char *argv[])
{
	struct usrp_sulfur_eeprom *ep;
	ep = usrp_sulfur_eeprom_from_file(NVMEM_PATH_MB);
	if (!ep)
		return EXIT_FAILURE;
	usrp_sulfur_eeprom_print(ep);
	free(ep);
	return 0;
}
 |