mirror of https://github.com/ARMmbed/mbed-os.git
S2-LP: Needs Nanostack configuration and device SPI
parent
0f08b35510
commit
425e7a96e6
|
@ -14,6 +14,7 @@
|
|||
* limitations under the License.
|
||||
*/
|
||||
#include <string.h>
|
||||
#if defined(MBED_CONF_NANOSTACK_CONFIGURATION) && DEVICE_SPI
|
||||
#include "platform/arm_hal_interrupt.h"
|
||||
#include "nanostack/platform/arm_hal_phy.h"
|
||||
#include "ns_types.h"
|
||||
|
@ -1372,3 +1373,4 @@ NanostackRfPhy &NanostackRfPhy::get_default_instance()
|
|||
return rf_phy;
|
||||
}
|
||||
#endif // MBED_CONF_S2LP_PROVIDE_DEFAULT
|
||||
#endif // MBED_CONF_NANOSTACK_CONFIGURATION && DEVICE_SPI
|
||||
|
|
|
@ -18,6 +18,7 @@
|
|||
#define NANOSTACK_PHY_S2LP_H_
|
||||
|
||||
#include "mbed.h"
|
||||
#if defined(MBED_CONF_NANOSTACK_CONFIGURATION) && DEVICE_SPI
|
||||
#include "NanostackRfPhy.h"
|
||||
|
||||
// Uncomment to use testing gpios attached to TX/RX processes
|
||||
|
@ -104,5 +105,5 @@ private:
|
|||
const PinName _spi_gpio2;
|
||||
const PinName _spi_gpio3;
|
||||
};
|
||||
|
||||
#endif /* MBED_CONF_NANOSTACK_CONFIGURATION && DEVICE_SPI */
|
||||
#endif /* NANOSTACK_PHY_S2LP_H_ */
|
||||
|
|
Loading…
Reference in New Issue