You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The bcm libs havew compiles with no errors but I can't make the PiPROM binary.
hardware : rPi version 1 B
Distro : Raspian Linux raspberrypi 4.14.79+ #1159 Sun Nov 4 17:28:08 GMT 2018 armv6l GNU/Linux
pi@raspberrypi:~/PiPROM/PiPROM $ make p1b gcc -c -o obj/XboxI2C.o XboxI2C.c -I../include -DRASPI_BPLUS gcc -c -o obj/PiPROM.o PiPROM.c -I../include -DRASPI_BPLUS PiPROM.c: In function ‘FindCommendLineArg’: PiPROM.c:54:7: warning: implicit declaration of function ‘strcmp’ [-Wimplicit-function-declaration] if (strcmp(argv[i], psArgument) == 0) ^~~~~~ PiPROM.c: In function ‘main’: PiPROM.c:117:14: warning: implicit declaration of function ‘strtol’ [-Wimplicit-function-declaration] address = strtol(psAddress, NULL, 16); ^~~~~~ PiPROM.c:228:3: warning: implicit declaration of function ‘memset’ [-Wimplicit-function-declaration] memset(pbEEPROM, 0, XBOX_EEPROM_SIZE); ^~~~~~ PiPROM.c:228:3: warning: incompatible implicit declaration of built-in function ‘memset’ PiPROM.c:228:3: note: include ‘<string.h>’ or provide a declaration of ‘memset’ gcc -o PiPROM.a obj/XboxI2C.o obj/PiPROM.o -I../include -DRASPI_BPLUS -lbcm2835
The bcm libs havew compiles with no errors but I can't make the PiPROM binary.
hardware : rPi version 1 B
Distro : Raspian Linux raspberrypi 4.14.79+ #1159 Sun Nov 4 17:28:08 GMT 2018 armv6l GNU/Linux
pi@raspberrypi:~/PiPROM/PiPROM $ make p1b gcc -c -o obj/XboxI2C.o XboxI2C.c -I../include -DRASPI_BPLUS gcc -c -o obj/PiPROM.o PiPROM.c -I../include -DRASPI_BPLUS PiPROM.c: In function ‘FindCommendLineArg’: PiPROM.c:54:7: warning: implicit declaration of function ‘strcmp’ [-Wimplicit-function-declaration] if (strcmp(argv[i], psArgument) == 0) ^~~~~~ PiPROM.c: In function ‘main’: PiPROM.c:117:14: warning: implicit declaration of function ‘strtol’ [-Wimplicit-function-declaration] address = strtol(psAddress, NULL, 16); ^~~~~~ PiPROM.c:228:3: warning: implicit declaration of function ‘memset’ [-Wimplicit-function-declaration] memset(pbEEPROM, 0, XBOX_EEPROM_SIZE); ^~~~~~ PiPROM.c:228:3: warning: incompatible implicit declaration of built-in function ‘memset’ PiPROM.c:228:3: note: include ‘<string.h>’ or provide a declaration of ‘memset’ gcc -o PiPROM.a obj/XboxI2C.o obj/PiPROM.o -I../include -DRASPI_BPLUS -lbcm2835
The EEPROM is detected
pi@raspberrypi:~ $ sudo i2cdetect -y 1 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- 08 -- -- -- -- -- -- -- 10: 10 -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 50: -- -- -- -- 54 -- -- -- -- -- -- -- -- -- -- -- 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 70: 70 -- -- -- -- -- -- --
The text was updated successfully, but these errors were encountered: