compilation of wiringPi (using sudo ./build) fails on Tinker Board 2 with following errors
[Compile] wiringTB.c
{standard input}: Assembler messages:
{standard input}:1454: Error: operand 1 must be an integer register -- mov r0,x3' {standard input}:1455: Error: operand 1 must be an integer register --mov r1,x2'
{standard input}:1456: Error: operand 1 must be a SIMD vector register -- orr r0,r1' {standard input}:1457: Error: operand 1 must be an integer register --str r0,[x3]'
{standard input}:1478: Error: operand 1 must be an integer register -- mov r0,x3' {standard input}:1479: Error: operand 1 must be an integer register --mov r1,x2'
{standard input}:1480: Error: operand 1 must be an integer or stack pointer register -- and r0,r1' {standard input}:1481: Error: operand 1 must be an integer register --str r0,[x3]'
make: *** [Makefile:98: wiringTB.o] Error 1
Please fix it or provide in describe in README some workaround for this issue.
Starting from commit
https://github.com/TinkerBoard/gpio_lib_c/commit/1ea90561364f570f26ebe675df13994b51351a2b
compilation of wiringPi (using sudo ./build) fails on Tinker Board 2 with following errors
[Compile] wiringTB.c {standard input}: Assembler messages: {standard input}:1454: Error: operand 1 must be an integer register --
mov r0,x3' {standard input}:1455: Error: operand 1 must be an integer register --
mov r1,x2' {standard input}:1456: Error: operand 1 must be a SIMD vector register --orr r0,r1' {standard input}:1457: Error: operand 1 must be an integer register --
str r0,[x3]' {standard input}:1478: Error: operand 1 must be an integer register --mov r0,x3' {standard input}:1479: Error: operand 1 must be an integer register --
mov r1,x2' {standard input}:1480: Error: operand 1 must be an integer or stack pointer register --and r0,r1' {standard input}:1481: Error: operand 1 must be an integer register --
str r0,[x3]' make: *** [Makefile:98: wiringTB.o] Error 1 Please fix it or provide in describe in README some workaround for this issue.