Building Lora with SPI > 0
Open
- Dominant language
- C
- Stars
- 891
- Forks
- 381
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 14
Description
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
~~~
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with sx1276-board.h and trace how RADIO_SPI_IDX is configured for the SX1276 board. Determine why only index 0 is accepted, then verify whether a SPI1 configuration can build successfully without breaking the existing SPI0 case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- embedded-iot
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100