with rtos

Dependencies:   BufferedSerial SX1276GenericLib

Fork of DISCO-L072CZ-LRWAN1_LoRa_PingPong by ST

Files at this revision

API Documentation at this revision

Comitter:
chauvet
Date:
Mon Oct 16 09:42:41 2017 +0000
Parent:
11:9d7409ebfa57
Child:
13:f5e919c6a85e
Commit message:
avec rtos

Changed in this revision

PinMap.h Show diff for this revision Revisions of this file
PinRadio.h Show annotated file Show diff for this revision Revisions of this file
SX1276GenericLib.lib Show annotated file Show diff for this revision Revisions of this file
SX1276GenericPingPong/GenericPingPong.cpp Show annotated file Show diff for this revision Revisions of this file
main.h Show annotated file Show diff for this revision Revisions of this file
mbed-os.lib Show annotated file Show diff for this revision Revisions of this file
mbed.bld Show diff for this revision Revisions of this file
--- a/PinMap.h	Fri Aug 18 07:45:44 2017 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,51 +0,0 @@
-/*
- * Copyright (c) 2017 Helmut Tschemernjak
- * 30826 Garbsen (Hannover) Germany
- * Licensed under the Apache License, Version 2.0);
- */
-
-
-
-#ifdef TARGET_NUCLEO_L476RG
- #define FEATURE_LORA   1
-#elif TARGET_DISCO_L072CZ_LRWAN1
-#define FEATURE_LORA   1
-#endif
-
-
-
-#if defined(TARGET_DISCO_L072CZ_LRWAN1)
-
-#define LORA_SPI_MOSI   PA_7
-#define LORA_SPI_MISO   PA_6
-#define LORA_SPI_SCLK   PB_3
-#define LORA_CS         PA_15
-#define LORA_RESET      PC_0
-#define LORA_DIO0       PB_4
-#define LORA_DIO1       PB_1
-#define LORA_DIO2       PB_0
-#define LORA_DIO3       PC_13
-#define LORA_DIO4       PA_5
-#define LORA_DIO5       PA_4
-#define LORA_ANT_RX     PA_1
-#define LORA_ANT_TX     PC_2
-#define LORA_ANT_BOOST  PC_1
-#define LORA_TCXO       PA_12   // 32 MHz
-
-
-
-#elif defined(TARGET_NUCLEO_L476RG) // using the RFM95 board
-
-#define LORA_SPI_MOSI   PC_12
-#define LORA_SPI_MISO   PC_11
-#define LORA_SPI_SCLK   PC_10
-#define LORA_CS         PA_0
-#define LORA_RESET      PA_1
-#define LORA_DIO0       PD_2    // DIO0=TxDone/RXDone
-#define LORA_DIO1       PB_7    //
-#define LORA_DIO2       PC_14   // DIO2=FhssChangeChannel
-#define LORA_DIO3       PC_15   // DIO3=CADDone
-#define LORA_DIO4       PH_0    // ????
-#define LORA_DIO5       NC      // unused?
-
-#endif
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/PinRadio.h	Mon Oct 16 09:42:41 2017 +0000
@@ -0,0 +1,51 @@
+/*
+ * Copyright (c) 2017 Helmut Tschemernjak
+ * 30826 Garbsen (Hannover) Germany
+ * Licensed under the Apache License, Version 2.0);
+ */
+
+
+
+#ifdef TARGET_NUCLEO_L476RG
+ #define FEATURE_LORA   1
+#elif TARGET_DISCO_L072CZ_LRWAN1
+#define FEATURE_LORA   1
+#endif
+
+
+
+#if defined(TARGET_DISCO_L072CZ_LRWAN1)
+
+#define LORA_SPI_MOSI   PA_7
+#define LORA_SPI_MISO   PA_6
+#define LORA_SPI_SCLK   PB_3
+#define LORA_CS         PA_15
+#define LORA_RESET      PC_0
+#define LORA_DIO0       PB_4
+#define LORA_DIO1       PB_1
+#define LORA_DIO2       PB_0
+#define LORA_DIO3       PC_13
+#define LORA_DIO4       PA_5
+#define LORA_DIO5       PA_4
+#define LORA_ANT_RX     PA_1
+#define LORA_ANT_TX     PC_2
+#define LORA_ANT_BOOST  PC_1
+#define LORA_TCXO       PA_12   // 32 MHz
+
+
+
+#elif defined(TARGET_NUCLEO_L476RG) // using the RFM95 board
+
+#define LORA_SPI_MOSI   PC_12
+#define LORA_SPI_MISO   PC_11
+#define LORA_SPI_SCLK   PC_10
+#define LORA_CS         PA_0
+#define LORA_RESET      PA_1
+#define LORA_DIO0       PD_2    // DIO0=TxDone/RXDone
+#define LORA_DIO1       PB_7    //
+#define LORA_DIO2       PC_14   // DIO2=FhssChangeChannel
+#define LORA_DIO3       PC_15   // DIO3=CADDone
+#define LORA_DIO4       PH_0    // ????
+#define LORA_DIO5       NC      // unused?
+
+#endif
--- a/SX1276GenericLib.lib	Fri Aug 18 07:45:44 2017 +0000
+++ b/SX1276GenericLib.lib	Mon Oct 16 09:42:41 2017 +0000
@@ -1,1 +1,1 @@
-http://developer.mbed.org/users/Helmut64/code/SX1276GenericLib/#49d19df5bbce
+http://developer.mbed.org/users/Helmut64/code/SX1276GenericLib/#d98572047c9c
--- a/SX1276GenericPingPong/GenericPingPong.cpp	Fri Aug 18 07:45:44 2017 +0000
+++ b/SX1276GenericPingPong/GenericPingPong.cpp	Mon Oct 16 09:42:41 2017 +0000
@@ -6,7 +6,7 @@
  */
  
 #include "mbed.h"
-#include "PinMap.h"
+#include "PinRadio.h"
 #include "GenericPingPong.h"
 #include "sx1276-mbed-hal.h"
 #include "main.h"
--- a/main.h	Fri Aug 18 07:45:44 2017 +0000
+++ b/main.h	Mon Oct 16 09:42:41 2017 +0000
@@ -5,7 +5,7 @@
  */
 
 #include "mbed.h"
-#include "PinMap.h"
+#include "PinRadio.h"
 #include "BufferedSerial.h"
 #include "GenericPingPong.h"
 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/mbed-os.lib	Mon Oct 16 09:42:41 2017 +0000
@@ -0,0 +1,1 @@
+https://github.com/ARMmbed/mbed-os/#6e0d01cd13e8aca7bf4d697c3699ec9225386881
--- a/mbed.bld	Fri Aug 18 07:45:44 2017 +0000
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,1 +0,0 @@
-https://mbed.org/users/mbed_official/code/mbed/builds/e2bfab296f20
\ No newline at end of file