Files
libretiny/boards/_base/ic/ln882hk.json
lamauny 69e7e2debe [lightning-ln882h] Add support for Lightning LN882H family (#312)
* fix mbedtls bad pointer in function call (prototype mismatch)

* fix issue with weak families functions implemented in static library, it will never be linked. fixed by redefining prototypes inside families

* [ln882x] add support for lightning ln882x & ln882h families

* add i2c (wire) support

* add analog (adc) support

* add watchdog support

* [ln882x] changed default uart 0/1 pins; added board wl2s

* [ln882x] fix IRQ & ADC pins

* [ln882x] boards cosmetic

* [ln882x] wifi sta use otp mac addr by default; re-enabled wifi powersave mode

* [ln882x] clang-format clean code

* [ln882x] clang-format clean code

* Update families.json

* Apply suggestions from code review

* [ln882x] reformat json board files

* [ln882x] os_queue cleanup

* [ln882x] removed Beken auto-download command

* [ln882x] removed personal script file

* [ln882x] removed unusefull pi section in debugging.md

* [ln882x] removed Arduino.h and changed private I2C definition

* [ln882x] updated README.md

* [ln882x] changed pin naming scheme to PA/PB

* [ln882x] clean code

* [ln882x] clean code

* [ln882x] add ota image verification

* Update push-dev.yml

* [ln882x] fix boards ADC missing inputs]

* [ln882x] removed reg_xxx fixup files and use include guards instead

* [ln882x] cleanup code

* [ln882x] cleanup code

* [ln882x] fix lt_init weak functions linking

* [ln882x] revert lt_api.h modification, fixed with previous commit

* [ln882x] setup UF2 firmware for flasher with partitions

* [ln882x] update README.md

* [ln882x] include ln_wifi.h and ln_serial.h to avoid including bad headers on case insensitive systems

* [ln882x] Replace RingBuffer by SerialRingBuffer

* [ln882x] clang-format

* [ln882x] update README.md

* Apply suggestions from code review

* Reformat board JSON files

* Add mkdocs link redirect

* Update ltchiptool to v4.12.0

---------

Co-authored-by: Kuba Szczodrzyński <kuba@szczodrzynski.pl>
2025-03-25 17:26:53 +01:00

210 lines
2.8 KiB
JSON

{
"pcb": {
"ic": {
"7": {
"IO": "I",
"CTRL": "CEN"
},
"8": {
"C_NAME": "PA_0",
"GPIO": "PA00",
"IRQ": null,
"ADC": 2,
"I2C": [
"0_SCL",
"0_SDA"
]
},
"9": {
"C_NAME": "PA_1",
"GPIO": "PA01",
"IRQ": null,
"ADC": 3,
"SWD": "DIO",
"I2C": [
"0_SCL",
"0_SDA"
]
},
"10": {
"C_NAME": "PA_2",
"GPIO": "PA02",
"IRQ": null,
"UART": "0_TX",
"I2C": [
"0_SCL",
"0_SDA"
]
},
"11": {
"C_NAME": "PA_3",
"GPIO": "PA03",
"IRQ": null,
"UART": "0_RX",
"I2C": [
"0_SCL",
"0_SDA"
]
},
"12": {
"C_NAME": "PA_4",
"GPIO": "PA04",
"ADC": 4,
"SWD": "CLK",
"I2C": [
"0_SCL",
"0_SDA"
]
},
"13": {
"C_NAME": "PA_5",
"GPIO": "PA05",
"IRQ": null,
"I2C": [
"0_SCL",
"0_SDA"
]
},
"14": {
"C_NAME": "PA_6",
"GPIO": "PA06",
"IRQ": null,
"SD": "D2",
"I2C": [
"0_SCL",
"0_SDA"
]
},
"15": {
"C_NAME": "PA_7",
"GPIO": "PA07",
"IRQ": null,
"SD": "D3",
"I2S": "0_RX",
"I2C": [
"0_SCL",
"0_SDA"
]
},
"16": {
"C_NAME": "PA_8",
"GPIO": "PA08",
"CTRL": "BOOT0",
"SD": "CMD",
"I2S": "0_WS",
"I2C": [
"0_SCL",
"0_SDA"
]
},
"17": {
"C_NAME": "PA_9",
"GPIO": "PA09",
"CTRL": "BOOT1",
"SD": "CLK",
"I2S": "0_SCLK",
"I2C": [
"0_SCL",
"0_SDA"
]
},
"21": {
"C_NAME": "PA_10",
"GPIO": "PA10",
"SD": "D0",
"I2S": "0_TX",
"I2C": [
"0_SCL",
"0_SDA"
]
},
"22": {
"C_NAME": "PA_11",
"GPIO": "PA11",
"SD": "D1",
"I2C": [
"0_SCL",
"0_SDA"
]
},
"23": {
"C_NAME": "PA_12",
"GPIO": "PA12",
"I2C": [
"0_SCL",
"0_SDA"
]
},
"24": {
"C_NAME": "PB_3",
"GPIO": "PB03",
"GPIONUM": 19,
"ADC": 5,
"I2C": [
"0_SCL",
"0_SDA"
]
},
"25": {
"C_NAME": "PB_4",
"GPIO": "PB04",
"GPIONUM": 20,
"ADC": 6,
"I2C": [
"0_SCL",
"0_SDA"
]
},
"26": {
"C_NAME": "PB_5",
"GPIO": "PB05",
"GPIONUM": 21,
"ADC": 7,
"I2C": [
"0_SCL",
"0_SDA"
]
},
"27": {
"C_NAME": "PB_6",
"GPIO": "PB06",
"GPIONUM": 22,
"I2C": [
"0_SCL",
"0_SDA"
]
},
"28": {
"C_NAME": "PB_7",
"GPIO": "PB07",
"GPIONUM": 23,
"I2C": [
"0_SCL",
"0_SDA"
]
},
"29": {
"C_NAME": "PB_8",
"GPIO": "PB08",
"GPIONUM": 24,
"UART": "1_RX",
"I2C": [
"0_SCL",
"0_SDA"
]
},
"30": {
"C_NAME": "PB_9",
"GPIO": "PB09",
"GPIONUM": 25,
"IRQ": null,
"UART": "1_TX",
"I2C": [
"0_SCL",
"0_SDA"
]
}
}
}
}