feat: Radiomaster TX15 support (#6484)

Co-authored-by: Malte Langermann <54738901+gagarinlg@users.noreply.github.com>
Co-authored-by: 3djc <3djc@gh.com>
Co-authored-by: raphaelcoeffic <1050031+raphaelcoeffic@users.noreply.github.com>
Co-authored-by: philmoz <phil.a.mitchell@gmail.com>
Co-authored-by: Peter Feerick <peter.feerick@gmail.com>
This commit is contained in:
3djc
2025-08-20 09:13:30 +10:00
committed by GitHub
co-authored by Malte Langermann 3djc raphaelcoeffic philmoz Peter Feerick
parent 3a00c0812b
commit 324b2c7761
82 changed files with 5745 additions and 201 deletions
+22
View File
@@ -23,6 +23,11 @@
#include "hal/i2c_driver.h"
/* WARNING
Ti PCA95 chip do NOT number pin sequentially, it goes PIN0 to PIN7 then PIN10 to PIN17.
So when schematic indicate P10, it is PIN_8 in the following table
*/
#define PCA95XX_PIN_0 (1 << 0)
#define PCA95XX_PIN_1 (1 << 1)
#define PCA95XX_PIN_2 (1 << 2)
@@ -40,6 +45,23 @@
#define PCA95XX_PIN_14 (1 << 14)
#define PCA95XX_PIN_15 (1 << 15)
#define PCA95XX_P0 PCA95XX_PIN_0
#define PCA95XX_P1 PCA95XX_PIN_1
#define PCA95XX_P2 PCA95XX_PIN_2
#define PCA95XX_P3 PCA95XX_PIN_3
#define PCA95XX_P4 PCA95XX_PIN_4
#define PCA95XX_P5 PCA95XX_PIN_5
#define PCA95XX_P6 PCA95XX_PIN_6
#define PCA95XX_P7 PCA95XX_PIN_7
#define PCA95XX_P10 PCA95XX_PIN_8
#define PCA95XX_P11 PCA95XX_PIN_9
#define PCA95XX_P12 PCA95XX_PIN_10
#define PCA95XX_P13 PCA95XX_PIN_11
#define PCA95XX_P14 PCA95XX_PIN_12
#define PCA95XX_P15 PCA95XX_PIN_13
#define PCA95XX_P16 PCA95XX_PIN_14
#define PCA95XX_P17 PCA95XX_PIN_15
typedef struct {
etx_i2c_bus_t bus;
uint16_t addr;