1272 driver for lorawan, which is compatible with current mbed-os
Dependents: LoRaWAN-demo-72-bootcamp
Fork of SX1272Lib by
Diff: sx1272/sx1272-hal.h
- Revision:
- 1:b0372ef620d0
- Parent:
- 0:45c4f0364ca4
- Child:
- 2:cd1093b6676f
--- a/sx1272/sx1272-hal.h Tue Jan 05 16:43:48 2016 +0000 +++ b/sx1272/sx1272-hal.h Tue Jan 26 22:04:33 2016 +0000 @@ -54,6 +54,9 @@ DigitalOut RfSwitchCntr1; DigitalOut RfSwitchCntr2; DigitalOut PwrAmpCntr; +#elif defined ( TARGET_MTS_MDOT_F411RE ) + DigitalOut TxCtl; + DigitalOut RxCtl; #else DigitalInOut AntSwitch; DigitalIn Fake; @@ -68,6 +71,8 @@ PinName dio0, PinName dio1, PinName dio2, PinName dio3, PinName dio4, PinName dio5, #if defined ( TARGET_MOTE_L152RC ) PinName rfSwitchCntr1, PinName rfSwitchCntr2 ); +#elif defined ( TARGET_MTS_MDOT_F411RE ) + PinName txctl, PinName rxctl ); #else PinName antSwitch ); #endif