Open asprakash opened 2 years ago
Hi, first I think that your RPI0 is not detected by our script, see lines: Revision code is 0x902120 type code is (hex) 12 type code is (dec) 18 Don't know, sorry
are you compiling for the new RPI0W2 with 64-bit OS? If yes, then you also need to get the wiring lib for 64-bit OS. see https://github.com/CongducPham/LowCostLoRaGw/blob/master/gw_full_latest/README-WiringPi-64bit-OS.md
I believe there are some errors due to that.
hope that helps. regards,
Here is a patch to fix this compilation problem:
@@ -363,7 +357,7 @@ SX1280_ranging_slave_pi4: SX1280_ranging_slave.o arduPi_pi4.o SX12XX/SX128XLT_ar
#SX12XX test gateway
####################
SX126X_simple_lora_gateway_wiring: SX126X_simple_lora_gateway_wiring.o arduinoPi.o SX12XX/SX126XLT_wiring.o base64.o
- g++ -lrt -lpthread -lwiringPi SX126X_simple_lora_gateway_wiring.o arduinoPi.o SX12XX/SX126XLT_wiring.o base64.o -o SX126X_simple_lora_gateway_wiring
+ g++ -lrt -lpthread -lwiringPi SX126X_simple_lora_gateway_wiring.o arduinoPi.o SX12XX/SX126XLT_wiring.o base64.o -o SX126X_simple_lora_gateway_wiring -lwiringPi
rm -f lora_gateway
HI @CongducPham I am trying to compile lora_gateway manually for RPI0W2 Board since the existing gateway image wont work for RPI0W and the Raspberry Pi team already released RPI0W2 which is running by 64bit processor.
I am getting the following error when I am compiling the source. Any kind of support is appreciated.