Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: BMI160 BufferedSerial SX1276GenericLib USBDeviceHT max32630fthr
Fork of STM32L0_LoRa by
main.h
00001 /* 00002 * Copyright (c) 2018 Helmut Tschemernjak 00003 * 30826 Garbsen (Hannover) Germany 00004 * Licensed under the Apache License, Version 2.0); 00005 */ 00006 00007 00008 #include "mbed.h" 00009 #include "PinMap.h" 00010 #include "BufferedSerial.h" 00011 #ifdef FEATURE_USBSERIAL 00012 #include "USBSerialBuffered.h" 00013 #endif 00014 #include "GenericPingPong.h" 00015 00016 00017 #define FEATURE_LORA 00018 00019 00020 00021 extern BufferedSerial *ser; 00022 #ifdef FEATURE_USBSERIAL 00023 extern USBSerialBuffered *usb; 00024 #endif 00025 extern bool _useDprintf; 00026 extern void InitSerial(int timeout, DigitalOut *led); 00027 extern void dump(const char *title, const void *data, int len, bool dwords = false); 00028 00029 extern void dprintf(const char *format, ...) __attribute__((format(printf,1,2))); 00030 extern void rprintf(const char *format, ...) __attribute__((format(printf,1,2))); 00031 extern void VAprintf(bool timstamp, bool newline, bool printEnabled, const char *format, va_list arg);
Generated on Fri Jul 22 2022 16:52:08 by
1.7.2
