We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a852682 commit 983081bCopy full SHA for 983081b
lora-gateway/Config.in
@@ -2,8 +2,8 @@
2
3
if PACKAGE_libloragw
4
5
-config SPI_DEVICE
6
- string "SPI Device"
+config SX1301_SPI_PATH
+ string "SPI Dev Path"
7
default /dev/spidev0.0
8
9
endif
lora-gateway/Makefile
@@ -55,7 +55,7 @@ define Package/lora-gateway-utils
55
DEPENDS:=+libloragw
56
endef
57
58
-TARGET_CFLAGS += $(FPIC) -O2 -Wall -Wextra -std=c99 -Iinc -I. -lm -DSPI_DEV_PATH='\"/dev/spidev0.2\"'
+TARGET_CFLAGS += $(FPIC) -O2 -Wall -Wextra -std=c99 -Iinc -I. -lm -DSPI_DEV_PATH=\\\"\"$(CONFIG_SX1301_SPI_PATH)\\\"\"
59
60
define Build/InstallDev
61
$(INSTALL_DIR) $(1)/usr/include/libloragw
0 commit comments