Wykres commitów

59 Commity (no-tone)

Autor SHA1 Wiadomość Data
Thomas Göttgens 1ebf420a86
change locking mechanism in patch to transactions 2022-06-12 21:20:48 +02:00
Thomas Göttgens 08989ff6fa
Allow SPItransfer to be overridden by subclasses
This allows API clients to provide 'smarter' versions of Module that can do things like add thread safety so that multiple devices (and service threads) can share the same SPI bus. i.e. a subclass would lock some sort of mutex.

This is used in the Radiolib Fork for Meshtastic to share an SPI bus with SD Card and TFT Display but we want to move back to upstream and not maintain our own fork.
2022-06-10 12:28:32 +02:00
jgromes 97f3b94c4f [MOD] Added missing default SPI settings (#416) 2021-12-02 23:31:12 +01:00
jgromes 9e9a65e19e Added missing macro guard 2021-11-14 11:47:33 +01:00
jgromes 10ec10d233 Removerd reference to UART 2021-11-14 11:35:32 +01:00
jgromes 8111bc058f Added HAL 2021-11-14 11:33:35 +01:00
jgromes 5bb9887364 Swapped SerialModule rst and serial arguments 2021-09-24 08:48:23 +02:00
jgromes 0f1140e5ad Added SerialModule wrapper class (#305) 2021-09-05 12:00:30 +02:00
jgromes 5c0b4dbb10 Extract common bit reflection methods 2021-06-14 20:59:16 +02:00
jgromes d49a107c7e Added SPI readout check bitmask 2021-04-15 19:34:53 +02:00
jgromes aad4b84b89 Added default argument for SPISettings (#239) 2021-02-05 23:15:09 +01:00
jgromes 59c44d3883 Added Module overrides for all Arduino core functions 2020-08-01 16:33:25 +02:00
jgromes c9add26cfe Fixed array as initializer (illegal pre-C++11) 2020-07-06 12:36:19 +02:00
jgromes b8de06288c Added copy ctor and assignment operator 2020-07-05 10:05:54 +02:00
jgromes 12b4fc9e02 Changed line feed data type 2020-07-05 10:00:38 +02:00
jgromes c439b097d8 Switched to initializer lists 2020-07-04 16:05:56 +02:00
jgromes 7e62dbd1d8 Fixes from cppcheck scan 2020-07-04 13:43:39 +02:00
jgromes 56360a2a05 Changed setRfSwitchState to directly change switch pins 2020-06-20 16:59:20 +02:00
jgromes 78022ce6ad Added external
RF switch control base
2020-06-18 16:31:38 +02:00
jgromes da177c9b2a Added interface argument to termination method 2020-05-17 20:26:57 +02:00
jgromes 0c4f449181 Added default SPI instance to platform config 2020-05-12 08:40:31 +02:00
jgromes 6215330858 Added tone support 2020-04-30 17:07:28 +02:00
jgromes 39c259848c Added support for Nano 33 BLE 2020-03-27 14:10:45 +01:00
jgromes d3cec5d3b4 [Module] Removed String class from AT commands 2020-03-22 08:14:03 +01:00
jgromes 5846c9d9d9 [Module] Only initializing default SPI interface (#121) 2020-03-02 13:25:35 +01:00
jgromes 606e317958 Changed to new approach to pin handling 2019-12-27 13:15:33 +01:00
jgromes 67c6544d28 Added check for -1 in pinMode 2019-12-01 08:12:04 +01:00
jgromes 2fc641449a Implemented god mode 2019-11-20 16:55:11 +01:00
jgromes cd1c799a64 Updated macro names 2019-11-20 16:22:50 +01:00
jgromes 23a0e9e001 Fixed incorrect macro logic 2019-10-02 20:16:54 +02:00
jgromes eb0f9178b9 Fixed the incorrect macr 2019-10-02 20:13:14 +02:00
jgromes 47be7923da Fixed software serial macro warnings 2019-10-02 19:41:31 +02:00
jgromes 4fc2539a55 Added missing software serial platform macro 2019-09-29 10:02:49 +02:00
mmrein 972f874e9e STM32 - use HardwareSerial instead of SoftwareSerial
Added support for STM32 boards, using HardwareSerial instead of SoftwareSerial the same way as in https://github.com/jgromes/RadioLib/pull/39
2019-09-10 17:40:49 +02:00
Bernd Giesecke 1465e01fd4 ESP32 & SAMD - use HardwareSerial instead of SoftwareSerial
ESP32 has no working SoftwareSerial. With a simple #ifdef ESP32 || SAMD a hardware serial will be used instead.    
Minimum changes without influence on existing installations or usage.
2019-09-09 14:31:50 +08:00
jgromes dd59d9e6d6 Added Doxygen comments 2019-05-24 17:32:11 +02:00
jgromes e1f003f8f6 Added missing semicolons 2019-05-20 08:54:04 +02:00
jgromes 95708d420d Added constructor for modules with 3 DIO pins 2019-05-20 08:51:34 +02:00
jgromes 686c5e6478 Added missing SPISettings 2019-05-19 16:31:46 +02:00
jgromes 5c206310ab Added SPISettings to Module constructor 2019-05-19 16:16:24 +02:00
jgromes 7780c499a1 Fixed incorrect pin assignment 2019-05-13 15:03:09 +02:00
jgromes b63d324c50 Changed pin order in Module constructor 2019-05-01 14:23:36 +02:00
jgromes 7a768c8ed6 [SX127x] Sync with LoRaLib v8.0.1 2019-03-22 19:01:56 +01:00
jgromes d388cbeffe Added overload for UART-only modules 2019-02-23 09:36:08 +01:00
jgromes 2101203d07 Changed name to RadioLib 2019-02-08 15:58:29 +01:00
jgromes bd2596efac [SX127x] Sync with LoRaLib v7.1.1 2019-01-13 19:44:16 +01:00
jgromes 2edddf18ea Added missing SPI CS access 2018-12-26 11:21:50 +01:00
jgromes 6cd42ca3e1 [SX127x] Sync with LoRaLib v7.0.0 2018-10-31 17:44:47 +01:00
jgromes 0c11156e65 Removed unused SPI methods 2018-09-29 18:56:50 +02:00
Jan Gromeš 6f38d6707a Temporarily removed I2C library 2018-09-14 17:31:19 +02:00