-
-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/master' into feature/realtek-update
- Loading branch information
Showing
50 changed files
with
845 additions
and
263 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
{ | ||
"pcb": { | ||
"scale": 11, | ||
"test_pads": { | ||
"TRST": "cb2l.back.rst.anchor", | ||
"TRX1": "cb2l.back.u1_rxd.anchor", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
{ | ||
"pcb": { | ||
"scale": 11, | ||
"test_pads": { | ||
"TTX2": "cb2s.back.u2_txd.anchor", | ||
"TRX2": "cb2s.back.u2_rxd.anchor", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
{ | ||
"pcb": { | ||
"templates": [ | ||
"esp01m-14", | ||
"pcb-blue-light", | ||
"rf-type1" | ||
], | ||
"scale": 10.5, | ||
"pinout_hidden": "I2S,TRIG,WAKE,CTS,RTS,SD", | ||
"drawing_hidden": "I2C,SPI", | ||
"pinout": { | ||
"1": { | ||
"PWR": 3.3 | ||
}, | ||
"2": { | ||
"IC": 2, | ||
"ARD": "D0" | ||
}, | ||
"3": { | ||
"IC": 30, | ||
"ARD": [ | ||
"D1", | ||
"A0" | ||
] | ||
}, | ||
"4": { | ||
"IC": 14, | ||
"ARD": "D2" | ||
}, | ||
"5": { | ||
"IC": 13, | ||
"ARD": "D3" | ||
}, | ||
"6": { | ||
"IC": 16, | ||
"ARD": "D4" | ||
}, | ||
"7": { | ||
"NC": null | ||
}, | ||
"8": { | ||
"IC": 28, | ||
"ARD": "D5" | ||
}, | ||
"9": { | ||
"IC": 29, | ||
"ARD": "D6" | ||
}, | ||
"10": { | ||
"IC": 17, | ||
"ARD": "D7" | ||
}, | ||
"11": { | ||
"IC": 32, | ||
"ARD": "D8" | ||
}, | ||
"12": { | ||
"IC": 31, | ||
"ARD": "D9" | ||
}, | ||
"13": { | ||
"IC": 1, | ||
"ARD": "D10" | ||
}, | ||
"14": { | ||
"GND": null | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"pcb": { | ||
"scale": 10.5, | ||
"scale": 11, | ||
"templates": [ | ||
"tuya2", | ||
"pcb-blue-light", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
{ | ||
"pcb": { | ||
"scale": 11, | ||
"test_pads": { | ||
"TRST": "wb2l.back.rst.anchor", | ||
"TRX1": "wb2l.back.u1_rxd.anchor", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
{ | ||
"pcb": { | ||
"scale": 10.5, | ||
"templates": [ | ||
"tuya2", | ||
"pcb-blue-light", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"_base": [ | ||
"realtek-ambz", | ||
"realtek-ambz-2mb-788k", | ||
"ic/rtl8710bn", | ||
"pcb/t112" | ||
], | ||
"build": { | ||
"mcu": "rtl8710bn", | ||
"variant": "t112-v1.1" | ||
}, | ||
"name": "T112_V1.1", | ||
"url": "https://docs.libretiny.eu/boards/t112-v1.1/", | ||
"vendor": "Unknown", | ||
"doc": { | ||
"fccid": "2AU7O-T102V11", | ||
"mcu": "w302" | ||
}, | ||
"pcb": { | ||
"symbol": "T112_V1.1" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
/* This file was auto-generated from t112-v1.1.json using boardgen */ | ||
|
||
#include <Arduino.h> | ||
|
||
#ifdef LT_VARIANT_INCLUDE | ||
#include LT_VARIANT_INCLUDE | ||
#endif | ||
|
||
// clang-format off | ||
PinInfo lt_arduino_pin_info_list[PINS_COUNT] = { | ||
// D0: PA29, UART2_RX, I2C0_SCL, PWM4 | ||
{PA_29, PIN_GPIO | PIN_IRQ | PIN_PWM | PIN_I2C | PIN_UART, PIN_NONE, 0}, | ||
// D1: PA19, ADC1, UART0_CTS, SPI0_CS, SPI1_CS, I2C0_SDA, SD_D3, TMR5_TRIG, I2S0_TX | ||
{PA_19, PIN_GPIO | PIN_IRQ | PIN_ADC | PIN_I2C | PIN_I2S | PIN_SPI | PIN_UART, PIN_NONE, 0}, | ||
// D2: PA15, PWM1, SWDIO | ||
{PA_15, PIN_GPIO | PIN_IRQ | PIN_PWM | PIN_SWD, PIN_NONE, 0}, | ||
// D3: PA14, PWM0, SWCLK | ||
{PA_14, PIN_GPIO | PIN_IRQ | PIN_PWM | PIN_SWD, PIN_NONE, 0}, | ||
// D4: PA00, PWM2 | ||
{PA_0, PIN_GPIO | PIN_IRQ | PIN_PWM, PIN_NONE, 0}, | ||
// D5: PA05, PWM4, WAKE1 | ||
{PA_5, PIN_GPIO | PIN_IRQ | PIN_PWM, PIN_NONE, 0}, | ||
// D6: PA18, UART0_RX, SPI0_SCK, SPI1_SCK, I2C1_SCL, SD_D2, TMR4_TRIG, I2S0_MCK, WAKE0 | ||
{PA_18, PIN_GPIO | PIN_IRQ | PIN_I2C | PIN_I2S | PIN_SPI | PIN_UART, PIN_NONE, 0}, | ||
// D7: PA12, PWM3 | ||
{PA_12, PIN_GPIO | PIN_IRQ | PIN_PWM, PIN_NONE, 0}, | ||
// D8: PA23, UART0_TX, SPI0_MOSI, SPI1_MOSI, I2C1_SDA, SD_D1, PWM0, WAKE3 | ||
{PA_23, PIN_GPIO | PIN_IRQ | PIN_PWM | PIN_I2C | PIN_SPI | PIN_UART, PIN_NONE, 0}, | ||
// D9: PA22, UART0_RTS, SPI0_MISO, SPI1_MISO, I2C0_SCL, SD_D0, PWM5, I2S0_WS, WAKE2 | ||
{PA_22, PIN_GPIO | PIN_IRQ | PIN_PWM | PIN_I2C | PIN_I2S | PIN_SPI | PIN_UART, PIN_NONE, 0}, | ||
// D10: PA30, UART2_TX, I2C0_SDA, PWM4 | ||
{PA_30, PIN_GPIO | PIN_IRQ | PIN_PWM | PIN_I2C | PIN_UART, PIN_NONE, 0}, | ||
}; | ||
|
||
PinInfo *lt_arduino_pin_gpio_map[] = { | ||
[0] = &(lt_arduino_pin_info_list[4]), // PA_0 (D4) | ||
[5] = &(lt_arduino_pin_info_list[5]), // PA_5 (D5) | ||
[12] = &(lt_arduino_pin_info_list[7]), // PA_12 (D7) | ||
[14] = &(lt_arduino_pin_info_list[3]), // PA_14 (D3) | ||
[15] = &(lt_arduino_pin_info_list[2]), // PA_15 (D2) | ||
[18] = &(lt_arduino_pin_info_list[6]), // PA_18 (D6) | ||
[19] = &(lt_arduino_pin_info_list[1]), // PA_19 (D1) | ||
[22] = &(lt_arduino_pin_info_list[9]), // PA_22 (D9) | ||
[23] = &(lt_arduino_pin_info_list[8]), // PA_23 (D8) | ||
[29] = &(lt_arduino_pin_info_list[0]), // PA_29 (D0) | ||
[30] = &(lt_arduino_pin_info_list[10]), // PA_30 (D10) | ||
}; | ||
// clang-format on |
Oops, something went wrong.