Prototype RF driver for STM Sub-1 GHz RF expansion board based on the SPSGRF-868 module for STM32 Nucleo.
Dependents: DISCO_IOT-wifi_client
Fork of stm-spirit1-rf-driver by
Revision 41:ebaceefad0de, committed 2016-11-30
- Comitter:
- Wolfgang Betz
- Date:
- Wed Nov 30 11:58:18 2016 +0100
- Parent:
- 40:343254875d89
- Child:
- 42:92a60a905ee7
- Commit message:
- Add 'PB5_ETH_PATCH'
Changed in this revision
| stm-spirit1-rf-driver/NanostackRfPhySpirit1.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/stm-spirit1-rf-driver/NanostackRfPhySpirit1.h Tue Nov 29 17:25:20 2016 +0100 +++ b/stm-spirit1-rf-driver/NanostackRfPhySpirit1.h Wed Nov 30 11:58:18 2016 +0100 @@ -8,7 +8,11 @@ // Arduino pin defaults for convenience #if !defined(SPIRIT1_SPI_MOSI) +#ifdef PB5_ETH_PATCH +#define SPIRIT1_SPI_MOSI PB_5 +#else // !PB5_ETH_PATCH #define SPIRIT1_SPI_MOSI D11 +#endif // !PB5_ETH_PATCH #endif #if !defined(SPIRIT1_SPI_MISO) #define SPIRIT1_SPI_MISO D12
