Lora-net / lora_gateway

Driver/HAL to build a gateway using a concentrator board based on Semtech SX1301 multi-channel modem and SX1257/SX1255 RF transceivers.
Other
915 stars 742 forks source link

Allow #define configuration of SPI parameters #163

Closed PrometheanDesign closed 4 years ago

PrometheanDesign commented 4 years ago

Enclose preprocessor define of SPI_SPEED and SPI_DEV_PATH in #ifndef so that these values can optionally be passed by compiler / makefile defines at build time for a specific platform or architecture.

Signed-off-by: Scott Wagner scott.wagner@promethean-design.com