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:
39:ee20fe5c9253
Parent:
38:1f3792d6f9ec
Child:
41:ace9b25f571b
--- a/utils.cpp	Wed Feb 13 14:50:50 2019 +0100
+++ b/utils.cpp	Wed Feb 13 17:10:04 2019 +0100
@@ -7,6 +7,7 @@
 #ifdef TOOLCHAIN_GCC
 #include <malloc.h>
 #endif
+#include "RadioTest.h"
 
 volatile uint32_t PendingInterrupts;	// global interrupt mask of received interrupts
 
@@ -44,6 +45,7 @@
 					usb = NULL;
 					DigitalOut rx(USBRX);
 					rx = 0; // need to turn tx low to avoid floating signal
+					break;
 				}
 			}
 		}
@@ -441,6 +443,7 @@
 	"\r\nThe following commands are available:\r\n\r\n" \
 	" p -- Property Editor\r\n" \
 	" t -- LoRa PingPong Test\r\n" \
+	" x -- LoRa TX Continuous Wave Test\r\n" \
 	" d -- Hexdump of memory address [offset count]\r\n"
 	" r -- Reset\r\n" \
 	" c -- Continue with RadioShuttle\r\n" \
@@ -472,6 +475,12 @@
     			SX1276PingPong();	// basic LoRa raw ping/pong without RadioShuttle
 #endif
 				break;
+#ifdef FEATURE_RADIOTESTSAMPLE
+			case 'x':
+			case 'X':
+				RadioContinuesTX();
+#endif
+				break;
 			case 'r':
 			case 'R':
 				MCUReset();