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 ST

Files at this revision

API Documentation at this revision

Comitter:
Wolfgang Betz
Date:
Tue Mar 07 08:34:31 2017 +0100
Parent:
53:b036a3a850e6
Child:
55:2bfbf1d07c14
Commit message:
Use macro `SPIRIT1_SPI_MOSI=PB_5` for pin mods

Changed in this revision

README.md Show annotated file Show diff for this revision Revisions of this file
stm-spirit1-rf-driver/NanostackRfPhySpirit1.h Show annotated file Show diff for this revision Revisions of this file
--- a/README.md	Tue Feb 28 15:17:27 2017 +0100
+++ b/README.md	Tue Mar 07 08:34:31 2017 +0100
@@ -7,7 +7,6 @@
  * **Un**mount resistor `R4`
  * **Mount** resistor `R7`
  
-Furthermore, on some Nucleo development boards (e.g. the [NUCLEO_F429ZI](https://developer.mbed.org/platforms/ST-Nucleo-F429ZI/)), in order to be able to use Ethernet together with these Sub-1 GHz RF expansion boards, you need to compile this driver with macro `PB5_ETH_PATCH` defined!
+Furthermore, on some Nucleo development boards (e.g. the [NUCLEO_F429ZI](https://developer.mbed.org/platforms/ST-Nucleo-F429ZI/)), in order to be able to use Ethernet together with these Sub-1 GHz RF expansion boards, you need to compile this driver with macro `SPIRIT1_SPI_MOSI=PB_5` defined!
 
 This driver is used with 6LoWPAN stack.
-
--- a/stm-spirit1-rf-driver/NanostackRfPhySpirit1.h	Tue Feb 28 15:17:27 2017 +0100
+++ b/stm-spirit1-rf-driver/NanostackRfPhySpirit1.h	Tue Mar 07 08:34:31 2017 +0100
@@ -8,11 +8,7 @@
 
 // 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