mirror of
https://github.com/esphome/esphome.git
synced 2024-11-10 01:07:45 +01:00
Bump LibreTiny version to 1.5.1 (#6500)
This commit is contained in:
parent
e6b1187689
commit
46c63f48c2
2 changed files with 74 additions and 60 deletions
|
@ -170,7 +170,7 @@ def _notify_old_style(config):
|
|||
ARDUINO_VERSIONS = {
|
||||
"dev": (cv.Version(0, 0, 0), "https://github.com/libretiny-eu/libretiny.git"),
|
||||
"latest": (cv.Version(0, 0, 0), None),
|
||||
"recommended": (cv.Version(1, 4, 1), None),
|
||||
"recommended": (cv.Version(1, 5, 1), None),
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -36,6 +36,10 @@ RTL87XX_BOARDS = {
|
|||
"name": "T103_V1.0",
|
||||
"family": FAMILY_RTL8710B,
|
||||
},
|
||||
"t112-v1.1": {
|
||||
"name": "T112_V1.1",
|
||||
"family": FAMILY_RTL8710B,
|
||||
},
|
||||
"wr1": {
|
||||
"name": "WR1 Wi-Fi Module",
|
||||
"family": FAMILY_RTL8710B,
|
||||
|
@ -125,7 +129,6 @@ RTL87XX_BOARD_PINS = {
|
|||
"PA23": 23,
|
||||
"PA29": 29,
|
||||
"PA30": 30,
|
||||
"PWM0": 23,
|
||||
"PWM1": 15,
|
||||
"PWM2": 0,
|
||||
"PWM3": 12,
|
||||
|
@ -136,9 +139,7 @@ RTL87XX_BOARD_PINS = {
|
|||
"RX2": 29,
|
||||
"SCK0": 18,
|
||||
"SCK1": 18,
|
||||
"SCL0": 22,
|
||||
"SCL1": 18,
|
||||
"SDA0": 30,
|
||||
"SDA1": 23,
|
||||
"TX0": 23,
|
||||
"TX2": 30,
|
||||
|
@ -180,11 +181,9 @@ RTL87XX_BOARD_PINS = {
|
|||
"SERIAL2_RTS": 20,
|
||||
"SERIAL2_RX": 15,
|
||||
"SERIAL2_TX": 16,
|
||||
"CS0": 15,
|
||||
"CTS1": 4,
|
||||
"CTS2": 19,
|
||||
"MISO0": 20,
|
||||
"MOSI0": 19,
|
||||
"PA00": 0,
|
||||
"PA0": 0,
|
||||
"PA01": 1,
|
||||
|
@ -203,23 +202,15 @@ RTL87XX_BOARD_PINS = {
|
|||
"PA18": 18,
|
||||
"PA19": 19,
|
||||
"PA20": 20,
|
||||
"PWM0": 0,
|
||||
"PWM1": 1,
|
||||
"PWM2": 14,
|
||||
"PWM3": 3,
|
||||
"PWM4": 16,
|
||||
"PWM5": 17,
|
||||
"PWM6": 18,
|
||||
"PWM7": 13,
|
||||
"RTS2": 20,
|
||||
"RX0": 13,
|
||||
"RX1": 0,
|
||||
"RX2": 15,
|
||||
"SCK0": 3,
|
||||
"SCL0": 19,
|
||||
"SDA0": 3,
|
||||
"TX0": 14,
|
||||
"TX1": 1,
|
||||
"TX2": 16,
|
||||
"D0": 17,
|
||||
"D1": 18,
|
||||
|
@ -294,7 +285,6 @@ RTL87XX_BOARD_PINS = {
|
|||
"PA23": 23,
|
||||
"PA29": 29,
|
||||
"PA30": 30,
|
||||
"PWM0": 23,
|
||||
"PWM1": 15,
|
||||
"PWM2": 0,
|
||||
"PWM3": 12,
|
||||
|
@ -305,9 +295,7 @@ RTL87XX_BOARD_PINS = {
|
|||
"RX2": 29,
|
||||
"SCK0": 18,
|
||||
"SCK1": 18,
|
||||
"SCL0": 29,
|
||||
"SCL1": 18,
|
||||
"SDA0": 30,
|
||||
"SDA1": 23,
|
||||
"TX0": 23,
|
||||
"TX2": 30,
|
||||
|
@ -390,7 +378,6 @@ RTL87XX_BOARD_PINS = {
|
|||
"PA23": 23,
|
||||
"PA29": 29,
|
||||
"PA30": 30,
|
||||
"PWM0": 23,
|
||||
"PWM1": 15,
|
||||
"PWM2": 0,
|
||||
"PWM3": 12,
|
||||
|
@ -401,9 +388,7 @@ RTL87XX_BOARD_PINS = {
|
|||
"RX2": 29,
|
||||
"SCK0": 18,
|
||||
"SCK1": 18,
|
||||
"SCL0": 29,
|
||||
"SCL1": 18,
|
||||
"SDA0": 30,
|
||||
"SDA1": 23,
|
||||
"TX0": 23,
|
||||
"TX2": 30,
|
||||
|
@ -485,7 +470,6 @@ RTL87XX_BOARD_PINS = {
|
|||
"PA23": 23,
|
||||
"PA29": 29,
|
||||
"PA30": 30,
|
||||
"PWM0": 23,
|
||||
"PWM1": 15,
|
||||
"PWM2": 0,
|
||||
"PWM3": 12,
|
||||
|
@ -496,9 +480,7 @@ RTL87XX_BOARD_PINS = {
|
|||
"RX2": 29,
|
||||
"SCK0": 18,
|
||||
"SCK1": 18,
|
||||
"SCL0": 29,
|
||||
"SCL1": 18,
|
||||
"SDA0": 30,
|
||||
"SDA1": 23,
|
||||
"TX0": 23,
|
||||
"TX2": 30,
|
||||
|
@ -560,7 +542,6 @@ RTL87XX_BOARD_PINS = {
|
|||
"CTS0": 10,
|
||||
"CTS1": 4,
|
||||
"CTS2": 19,
|
||||
"MISO0": 20,
|
||||
"MOSI0": 19,
|
||||
"PA00": 0,
|
||||
"PA0": 0,
|
||||
|
@ -591,23 +572,13 @@ RTL87XX_BOARD_PINS = {
|
|||
"PA20": 20,
|
||||
"PA23": 23,
|
||||
"PWM0": 20,
|
||||
"PWM1": 12,
|
||||
"PWM2": 14,
|
||||
"PWM3": 15,
|
||||
"PWM4": 16,
|
||||
"PWM5": 17,
|
||||
"PWM6": 18,
|
||||
"PWM7": 23,
|
||||
"RTS0": 9,
|
||||
"RTS2": 20,
|
||||
"RX0": 13,
|
||||
"RX1": 2,
|
||||
"RX2": 15,
|
||||
"SCK0": 16,
|
||||
"SCL0": 19,
|
||||
"SDA0": 20,
|
||||
"TX0": 14,
|
||||
"TX1": 3,
|
||||
"TX2": 16,
|
||||
"D0": 0,
|
||||
"D1": 1,
|
||||
|
@ -652,7 +623,6 @@ RTL87XX_BOARD_PINS = {
|
|||
"PA23": 23,
|
||||
"PA29": 29,
|
||||
"PA30": 30,
|
||||
"PWM0": 14,
|
||||
"PWM1": 15,
|
||||
"PWM2": 0,
|
||||
"PWM3": 12,
|
||||
|
@ -720,7 +690,6 @@ RTL87XX_BOARD_PINS = {
|
|||
"PA23": 23,
|
||||
"PA29": 29,
|
||||
"PA30": 30,
|
||||
"PWM0": 23,
|
||||
"PWM1": 15,
|
||||
"PWM2": 0,
|
||||
"PWM3": 12,
|
||||
|
@ -731,9 +700,7 @@ RTL87XX_BOARD_PINS = {
|
|||
"RX2": 29,
|
||||
"SCK0": 18,
|
||||
"SCK1": 18,
|
||||
"SCL0": 29,
|
||||
"SCL1": 18,
|
||||
"SDA0": 30,
|
||||
"SDA1": 23,
|
||||
"TX0": 23,
|
||||
"TX2": 30,
|
||||
|
@ -751,6 +718,75 @@ RTL87XX_BOARD_PINS = {
|
|||
"A0": 19,
|
||||
"A1": 41,
|
||||
},
|
||||
"t112-v1.1": {
|
||||
"SPI0_CS": 19,
|
||||
"SPI0_MISO": 22,
|
||||
"SPI0_MOSI": 23,
|
||||
"SPI0_SCK": 18,
|
||||
"SPI1_CS": 19,
|
||||
"SPI1_MISO": 22,
|
||||
"SPI1_MOSI": 23,
|
||||
"SPI1_SCK": 18,
|
||||
"WIRE0_SCL_0": 29,
|
||||
"WIRE0_SCL_1": 22,
|
||||
"WIRE0_SDA_0": 19,
|
||||
"WIRE0_SDA_1": 30,
|
||||
"WIRE1_SCL": 18,
|
||||
"WIRE1_SDA": 23,
|
||||
"SERIAL0_CTS": 19,
|
||||
"SERIAL0_RTS": 22,
|
||||
"SERIAL0_RX": 18,
|
||||
"SERIAL0_TX": 23,
|
||||
"SERIAL2_RX": 29,
|
||||
"SERIAL2_TX": 30,
|
||||
"ADC1": 19,
|
||||
"CS0": 19,
|
||||
"CS1": 19,
|
||||
"CTS0": 19,
|
||||
"MISO0": 22,
|
||||
"MISO1": 22,
|
||||
"MOSI0": 23,
|
||||
"MOSI1": 23,
|
||||
"PA00": 0,
|
||||
"PA0": 0,
|
||||
"PA05": 5,
|
||||
"PA5": 5,
|
||||
"PA12": 12,
|
||||
"PA14": 14,
|
||||
"PA15": 15,
|
||||
"PA18": 18,
|
||||
"PA19": 19,
|
||||
"PA22": 22,
|
||||
"PA23": 23,
|
||||
"PA29": 29,
|
||||
"PA30": 30,
|
||||
"PWM1": 15,
|
||||
"PWM2": 0,
|
||||
"PWM3": 12,
|
||||
"PWM4": 30,
|
||||
"PWM5": 22,
|
||||
"RTS0": 22,
|
||||
"RX0": 18,
|
||||
"RX2": 29,
|
||||
"SCK0": 18,
|
||||
"SCK1": 18,
|
||||
"SCL1": 18,
|
||||
"SDA1": 23,
|
||||
"TX0": 23,
|
||||
"TX2": 30,
|
||||
"D0": 29,
|
||||
"D1": 19,
|
||||
"D2": 15,
|
||||
"D3": 14,
|
||||
"D4": 0,
|
||||
"D5": 5,
|
||||
"D6": 18,
|
||||
"D7": 12,
|
||||
"D8": 23,
|
||||
"D9": 22,
|
||||
"D10": 30,
|
||||
"A0": 19,
|
||||
},
|
||||
"wr1": {
|
||||
"SPI0_CS": 19,
|
||||
"SPI0_MISO": 22,
|
||||
|
@ -793,7 +829,6 @@ RTL87XX_BOARD_PINS = {
|
|||
"PA23": 23,
|
||||
"PA29": 29,
|
||||
"PA30": 30,
|
||||
"PWM0": 14,
|
||||
"PWM1": 15,
|
||||
"PWM2": 0,
|
||||
"PWM4": 29,
|
||||
|
@ -803,9 +838,7 @@ RTL87XX_BOARD_PINS = {
|
|||
"RX2": 29,
|
||||
"SCK0": 18,
|
||||
"SCK1": 18,
|
||||
"SCL0": 22,
|
||||
"SCL1": 18,
|
||||
"SDA0": 19,
|
||||
"SDA1": 23,
|
||||
"TX0": 23,
|
||||
"TX2": 30,
|
||||
|
@ -863,7 +896,6 @@ RTL87XX_BOARD_PINS = {
|
|||
"PA23": 23,
|
||||
"PA29": 29,
|
||||
"PA30": 30,
|
||||
"PWM0": 14,
|
||||
"PWM1": 15,
|
||||
"PWM3": 12,
|
||||
"PWM4": 29,
|
||||
|
@ -873,9 +905,7 @@ RTL87XX_BOARD_PINS = {
|
|||
"RX2": 29,
|
||||
"SCK0": 18,
|
||||
"SCK1": 18,
|
||||
"SCL0": 22,
|
||||
"SCL1": 18,
|
||||
"SDA0": 19,
|
||||
"SDA1": 23,
|
||||
"TX0": 23,
|
||||
"TX2": 30,
|
||||
|
@ -915,7 +945,6 @@ RTL87XX_BOARD_PINS = {
|
|||
"PA23": 23,
|
||||
"PA29": 29,
|
||||
"PA30": 30,
|
||||
"PWM0": 14,
|
||||
"PWM1": 15,
|
||||
"PWM2": 0,
|
||||
"PWM3": 12,
|
||||
|
@ -969,7 +998,6 @@ RTL87XX_BOARD_PINS = {
|
|||
"PA23": 23,
|
||||
"PA29": 29,
|
||||
"PA30": 30,
|
||||
"PWM0": 14,
|
||||
"PWM1": 15,
|
||||
"PWM3": 12,
|
||||
"PWM4": 29,
|
||||
|
@ -979,7 +1007,6 @@ RTL87XX_BOARD_PINS = {
|
|||
"SCK1": 18,
|
||||
"SCL0": 29,
|
||||
"SCL1": 18,
|
||||
"SDA0": 30,
|
||||
"SDA1": 23,
|
||||
"TX0": 23,
|
||||
"TX2": 30,
|
||||
|
@ -1083,7 +1110,6 @@ RTL87XX_BOARD_PINS = {
|
|||
"PA23": 23,
|
||||
"PA29": 29,
|
||||
"PA30": 30,
|
||||
"PWM0": 23,
|
||||
"PWM1": 15,
|
||||
"PWM2": 0,
|
||||
"PWM3": 12,
|
||||
|
@ -1094,9 +1120,7 @@ RTL87XX_BOARD_PINS = {
|
|||
"RX2": 29,
|
||||
"SCK0": 18,
|
||||
"SCK1": 18,
|
||||
"SCL0": 29,
|
||||
"SCL1": 18,
|
||||
"SDA0": 30,
|
||||
"SDA1": 23,
|
||||
"TX0": 23,
|
||||
"TX2": 30,
|
||||
|
@ -1157,7 +1181,6 @@ RTL87XX_BOARD_PINS = {
|
|||
"PA23": 23,
|
||||
"PA29": 29,
|
||||
"PA30": 30,
|
||||
"PWM0": 23,
|
||||
"PWM1": 15,
|
||||
"PWM2": 0,
|
||||
"PWM3": 12,
|
||||
|
@ -1168,9 +1191,7 @@ RTL87XX_BOARD_PINS = {
|
|||
"RX2": 29,
|
||||
"SCK0": 18,
|
||||
"SCK1": 18,
|
||||
"SCL0": 22,
|
||||
"SCL1": 18,
|
||||
"SDA0": 19,
|
||||
"SDA1": 23,
|
||||
"TX0": 23,
|
||||
"TX2": 30,
|
||||
|
@ -1231,7 +1252,6 @@ RTL87XX_BOARD_PINS = {
|
|||
"PA23": 23,
|
||||
"PA29": 29,
|
||||
"PA30": 30,
|
||||
"PWM0": 23,
|
||||
"PWM1": 15,
|
||||
"PWM2": 0,
|
||||
"PWM3": 12,
|
||||
|
@ -1242,9 +1262,7 @@ RTL87XX_BOARD_PINS = {
|
|||
"RX2": 29,
|
||||
"SCK0": 18,
|
||||
"SCK1": 18,
|
||||
"SCL0": 29,
|
||||
"SCL1": 18,
|
||||
"SDA0": 30,
|
||||
"SDA1": 23,
|
||||
"TX0": 23,
|
||||
"TX2": 30,
|
||||
|
@ -1305,7 +1323,6 @@ RTL87XX_BOARD_PINS = {
|
|||
"PA23": 23,
|
||||
"PA29": 29,
|
||||
"PA30": 30,
|
||||
"PWM0": 23,
|
||||
"PWM1": 15,
|
||||
"PWM2": 0,
|
||||
"PWM3": 12,
|
||||
|
@ -1316,9 +1333,7 @@ RTL87XX_BOARD_PINS = {
|
|||
"RX2": 29,
|
||||
"SCK0": 18,
|
||||
"SCK1": 18,
|
||||
"SCL0": 22,
|
||||
"SCL1": 18,
|
||||
"SDA0": 19,
|
||||
"SDA1": 23,
|
||||
"TX0": 23,
|
||||
"TX2": 30,
|
||||
|
@ -1359,7 +1374,6 @@ RTL87XX_BOARD_PINS = {
|
|||
"PA23": 23,
|
||||
"PA29": 29,
|
||||
"PA30": 30,
|
||||
"PWM0": 23,
|
||||
"PWM1": 15,
|
||||
"PWM2": 0,
|
||||
"PWM3": 12,
|
||||
|
|
Loading…
Reference in a new issue