An example project for the Heltec Turtle LoRa board (STM32L4 and SX1276 chips). The projects is only supported for the Nucleo-L432KC board platform in the mbed online and offline compiler environment. Visit www.radioshuttle.de (choose Turtle board) for instructions. Note that most source files and libraries are open source, however some files especially the RadioShuttle core protocol is copyrighted work. Check header for details.
Dependencies: mbed BufferedSerial SX1276GenericLib OLED_SSD1306 HELIOS_Si7021 NVProperty RadioShuttle-STM32L4 USBDeviceHT
Revision 47:59a9923a9f77, committed 2019-02-26
- Comitter:
- Helmut Tschemernjak
- Date:
- Tue Feb 26 08:57:21 2019 +0100
- Parent:
- 46:a9241f24f4b7
- Child:
- 48:840d56a00df5
- Commit message:
- Fixed rrr spelling
Changed in this revision
--- a/RadioShuttle-STM32L4.lib Sun Feb 24 20:00:29 2019 +0100 +++ b/RadioShuttle-STM32L4.lib Tue Feb 26 08:57:21 2019 +0100 @@ -1,1 +1,1 @@ -https://os.mbed.com/users/Helmut64/code/RadioShuttle-STM32L4/#456cdcb077b3 +https://os.mbed.com/users/Helmut64/code/RadioShuttle-STM32L4/#02766ad58bdd
--- a/Utils/utils.cpp Sun Feb 24 20:00:29 2019 +0100
+++ b/Utils/utils.cpp Tue Feb 26 08:57:21 2019 +0100
@@ -333,7 +333,7 @@
-void InterrruptMSG(enum InterrruptDevice irqid) {
+void InterruptMSG(enum InterruptDevice irqid) {
help_atomic_or_relaxed(&PendingInterrupts, irqid);
}
--- a/main.cpp Sun Feb 24 20:00:29 2019 +0100
+++ b/main.cpp Tue Feb 26 08:57:21 2019 +0100
@@ -19,7 +19,7 @@
volatile int pressedCount;
void switchInput(void) {
- InterrruptMSG(INT_BUTTON1);
+ InterruptMSG(INT_BUTTON1);
}
void timerUpdate(void) {
@@ -29,7 +29,7 @@
else
timeout.attach_us(&timerUpdate, 2000000); // setup to call timerUpdate after 2 seconds
- InterrruptMSG(INT_TIMEOUT);
+ InterruptMSG(INT_TIMEOUT);
}
--- a/main.h Sun Feb 24 20:00:29 2019 +0100
+++ b/main.h Tue Feb 26 08:57:21 2019 +0100
@@ -14,7 +14,7 @@
#include "mbed-util.h"
-enum InterrruptDevice {
+enum InterruptDevice {
INT_BUTTON1 = 0x01, // user button
INT_UNUSED1 = 0x02,
INT_UNUSED2 = 0x04,
@@ -23,7 +23,7 @@
};
extern volatile uint32_t PendingInterrupts;
-extern void InterrruptMSG(enum InterrruptDevice irqid);
+extern void InterruptMSG(enum InterruptDevice irqid);
extern uint32_t readclrPendingInterrupts(void);
extern uint32_t readPendingInterrupts(void);
Helmut Tschemernjak