TinkerBoard / gpio_lib_c

GNU Lesser General Public License v3.0
41 stars 16 forks source link

Build fails for Tinker Board 2 #5

Open Jack1Life opened 1 year ago

Jack1Life commented 1 year ago

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.

nicholas-zww commented 1 year ago

having the same issue here.