This library update contains changes according to the HW-modification.
Dependents: LoRaWAN_Serial_port_driven_and_configurable_ELMO_based_on_TxRx_Template
Fork of SX1272lib by
Changes compared to original SX1272lib:
HW modification was made to remove RFO-output and replaced with PABOOST-output. PASELECT changed accordingly.
Diff: sx1272/sx1272-hal.cpp
- Revision:
- 12:a3b1b64969b0
- Parent:
- 9:f53b11725565
- Parent:
- 10:070cb8f0f54a
- Child:
- 13:1af18cdef696
diff -r 3133174407a2 -r a3b1b64969b0 sx1272/sx1272-hal.cpp --- a/sx1272/sx1272-hal.cpp Mon Jun 27 11:23:29 2016 +0000 +++ b/sx1272/sx1272-hal.cpp Mon Jun 27 11:28:17 2016 +0000 @@ -90,7 +90,7 @@ nss = 1; spi.format( 8,0 ); uint32_t frequencyToSet = 8000000; - #if( defined ( TARGET_NUCLEO_L152RE ) || defined ( TARGET_LPC11U6X ) ) + #if( defined ( TARGET_NUCLEO_L152RE ) || defined ( TARGET_LPC11U6X ) || defined ( TARGET_ELMO_F411RE ) ) spi.frequency( frequencyToSet ); #elif( defined ( TARGET_KL25Z ) ) //busclock frequency is halved -> double the spi frequency to compensate spi.frequency( frequencyToSet * 2 );