use with LoRa Access Point

Fork of SX1276Lib by Semtech

Files at this revision

API Documentation at this revision

Comitter:
lukas_formanek
Date:
Wed Apr 18 22:04:57 2018 +0000
Parent:
29:a0a6f7743cc5
Commit message:
19.4.2018

Changed in this revision

sx1276/sx1276-hal.cpp Show annotated file Show diff for this revision Revisions of this file
sx1276/sx1276-hal.h Show annotated file Show diff for this revision Revisions of this file
diff -r a0a6f7743cc5 -r 9b08b16f99e5 sx1276/sx1276-hal.cpp
--- a/sx1276/sx1276-hal.cpp	Wed Apr 18 20:33:06 2018 +0000
+++ b/sx1276/sx1276-hal.cpp	Wed Apr 18 22:04:57 2018 +0000
@@ -57,7 +57,8 @@
                             AntSwitch( P0_23 ), 
                             Fake( A3 )
                         #else
-                        :   SX1276( events, D11, D12, D13, D10, A0, D6, D3, D4, D5, D7, D9 ),   // My board
+                        :   SX1276( events, RFM_MOSI, RFM_MISO, RFM_SCK, RFM_NSS, RFM_RST, RFM_DIO0, RFM_DIO1, RFM_DIO2, RFM_DIO3, RFM_DIO4, RFM_DIO5 ),   // My board
+                        //    SX1276( events, D11, D12, D13, D10, A0, D6, D3, D4, D5, D7, D9 ),   // My board
                         //    SX1276( events, D11, D12, D13, D10, A0, D6, D3, D4, D5, D7, D9 ), // NUCLEO F401
                             AntSwitch( A4 ), 
                             Fake( A3 )
diff -r a0a6f7743cc5 -r 9b08b16f99e5 sx1276/sx1276-hal.h
--- a/sx1276/sx1276-hal.h	Wed Apr 18 20:33:06 2018 +0000
+++ b/sx1276/sx1276-hal.h	Wed Apr 18 22:04:57 2018 +0000
@@ -15,7 +15,7 @@
 #ifndef __SX1276_HAL_H__
 #define __SX1276_HAL_H__
 #include "sx1276.h"
-
+#include "Board.h"
 /*!
  * @brief Radio hardware registers initialization definition
  *