You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mynewt.apache.org by will sanfilippo <wi...@runtime.io> on 2018/04/02 17:01:36 UTC

Re: [GitHub] sdalu opened a new issue #985: Building Lora with SPI > 0

I think this is just some legacy code. At least, I cannot see any restrictions in the code that would necessitate spi 0 being used. I do seem to recall there being a reason for this but as far as I can tell it is no longer needed.
 
> On Apr 2, 2018, at 2:15 AM, GitBox <gi...@apache.org> wrote:
> 
> sdalu opened a new issue #985: Building Lora with SPI  > 0
> URL: https://github.com/apache/mynewt-core/issues/985
> 
> 
>   It's not possible to build Lora with SPI1, due to the following code in `sx1276-board.h`. Is there a specific reason for this restriction?
> 
>   ~~~c
>   #if RADIO_SPI_IDX == 0
>   #define RADIO_NSS                   MYNEWT_VAL(SX1276_SPI_CS_PIN)
>   #else
>   #error Invalid SX1276_SPI_IDX value
>   #endif
>   ~~~
> 
> ----------------------------------------------------------------
> This is an automated message from the Apache Git Service.
> To respond to the message, please log on GitHub and use the
> URL above to go to the specific comment.
> 
> For queries about this service, please contact Infrastructure at:
> users@infra.apache.org
> 
> 
> With regards,
> Apache Git Services