xueliu / lora-feed

Semtech packages and ChirpStack Network Server stack for OpenWRT
GNU General Public License v2.0
76 stars 55 forks source link

basicstation failed to compile #15

Closed timothybean closed 4 years ago

timothybean commented 4 years ago

openwrt/build_dir/target-mipsel_24kc_musl/basicstation-2.0.3/src/sx1301conf.c: In function 'sx1301conf_start': openwrt/build_dir/target-mipsel_24kc_musl/basicstation-2.0.3/src/sx1301conf.c:436:5: error: 'lgwx_device_mode' undeclared (first use in this function); did you mean 'J_device_mode'? lgwx_device_mode = sys_deviceMode; ^~~~ J_device_mode

Any thoughts on how to resolve this?

Thanks

xueliu commented 4 years ago

Hello,

I think this compile error is caused by that basicstation patch is not applied in lora-gateway-hal. Please refer README to update the lora-gateway-hal.