-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Description
I've got an Orange Pi Plus H3 board. I've attempted to run build on/for it:
[root@fam:/usr/local/src/WiringPi] # ./build OrangePi_H3
Build WiringPi on OrangePi
./build: 11: [: OrangePi_H3: unexpected operator
wiringPi Build script
=====================
WiringPi Library
[UnInstall]
[Compile] wiringPi.c
[Compile] wiringSerial.c
[Compile] wiringShift.c
[Compile] piHiPri.c
[Compile] piThread.c
[Compile] wiringPiSPI.c
[Compile] wiringPiI2C.c
[Compile] softPwm.c
[Compile] softTone.c
[Compile] softServo.c
[Compile] mcp23008.c
[Compile] mcp23016.c
[Compile] mcp23017.c
[Compile] mcp23s08.c
[Compile] mcp23s17.c
[Compile] sr595.c
[Compile] pcf8574.c
[Compile] pcf8591.c
[Compile] mcp3002.c
[Compile] mcp3004.c
[Compile] mcp4802.c
[Compile] mcp3422.c
[Compile] max31855.c
[Compile] max5322.c
[Compile] sn3218.c
[Compile] drcSerial.c
[Compile] RaspberryPi.c
[Compile] OrangePi.c
OrangePi.c: In function ‘readR’:
OrangePi.c:532:14: error: ‘GPIOL_BASE’ undeclared (first use in this function)
if (addr >= GPIOL_BASE) {
^
OrangePi.c:532:14: note: each undeclared identifier is reported only once for each function it appears in
OrangePi.c: In function ‘writeR’:
OrangePi.c:559:14: error: ‘GPIOL_BASE’ undeclared (first use in this function)
if (addr >= GPIOL_BASE) {
^
OrangePi.c: In function ‘OrangePi_set_gpio_mode’:
OrangePi.c:585:13: error: ‘GPIOL_BASE’ undeclared (first use in this function)
phyaddr = GPIOL_BASE + (bank * 36) + ((index >> 3) << 2);
^
OrangePi.c: In function ‘OrangePi_digitalWrite’:
OrangePi.c:670:13: error: ‘GPIOL_BASE’ undeclared (first use in this function)
phyaddr = GPIOL_BASE + (bank * 36) + 0x10;
^
OrangePi.c: In function ‘OrangePi_digitalRead’:
OrangePi.c:759:13: error: ‘GPIOL_BASE’ undeclared (first use in this function)
phyaddr = GPIOL_BASE + (bank * 36) + 0x10;
^
Makefile:131: recipe for target 'OrangePi.o' failed
make: *** [OrangePi.o] Error 1
Make Failed...
Please check the messages and fix any problems. If you're still stuck,
then please email all the output and as many details as you can to
projects@drogon.net
This is in a freshly cloned repo. I also get the same results after running make clean first.
Metadata
Metadata
Assignees
Labels
No labels