Semtech SX1272 radio chipset driver - ported based on Semtech SX1276 driver.
Dependents: Elmo-Terminal LoRaWAN-test-app Elmo-Terminal-App LoRaWAN_Semtech_stack ... more
Revision 12:a3b1b64969b0, committed 2016-06-27
- Comitter:
- Daniel_espo
- Date:
- Mon Jun 27 11:28:17 2016 +0000
- Parent:
- 11:3133174407a2
- Parent:
- 10:070cb8f0f54a
- Commit message:
- Merge with Revision 10
Changed in this revision
sx1272/sx1272-hal.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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 );