Files
libretiny/external-libs.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

171 lines
3.3 KiB
JSON

{
"$schema": "./external-libs.schema.json",
"flashdb": {
"package": "library-flashdb",
"sources": [
"+<src/*.c>",
"+<port/fal/src/*.c>"
],
"includes": [
"+<inc>",
"+<port/fal/inc>"
]
},
"printf": {
"package": "library-printf",
"sources": [
"+<src/printf/printf.c>"
],
"includes": [
"+<src>"
],
"flags": [
"-Wno-maybe-uninitialized"
],
"linkflags": [
"-Wl,-wrap,printf",
"-Wl,-wrap,sprintf",
"-Wl,-wrap,vsprintf",
"-Wl,-wrap,snprintf",
"-Wl,-wrap,vsnprintf",
"-Wl,-wrap,vprintf",
"-Wl,-wrap,puts",
"-Wl,-wrap,putchar"
],
"defines": {
"PRINTF_INCLUDE_CONFIG_H": "1"
}
},
"uf2ota": {
"package": "library-uf2ota",
"sources": [
"+<src/*.c>"
],
"includes": [
"+<include>"
]
},
"arduino-api": {
"package": "framework-arduino-api",
"sources": [
"+<api/Common.cpp>",
"+<api/IPAddress.cpp>",
"+<api/PluggableUSB.cpp>",
"+<api/Print.cpp>",
"+<api/Stream.cpp>",
"+<api/String.cpp>"
],
"includes": [
"+<.>",
"+<api/deprecated>"
]
},
"freertos": {
"package": "library-freertos",
"sources": [
"+<FreeRTOS/Source/*.c>"
],
"includes": [
"+<FreeRTOS/Source/include>"
],
"defines": {
"FREERTOS_PORT_${FREERTOS_PORT_DEFINE}": "1"
}
},
"freertos-port": {
"package": "library-freertos-port",
"sources": [
"+<./$FREERTOS_PORT/*.c>"
],
"includes": [
"!<./$FREERTOS_PORT>"
],
"defines": {
"FREERTOS_PORT_${FREERTOS_PORT_DEFINE}": "1"
}
},
"lwip-ln882h": {
"package": "library-lwip",
"sources": [
"+<src/api/*.c>",
"+<src/core/*.c>",
"-<src/core/mem.c>",
"+<src/core/ipv4/*.c>",
"+<src/netif/ethernet.c>",
"+<src/netif/etharp.c>",
"+<src/apps/mdns/mdns.c>",
"+<src/apps/sntp/sntp.c>",
"+<port/ln_osal/netif/ethernetif.c>",
"+<port/ln_osal/arch/sys_arch.c>"
],
"includes": [
"+<src/include>",
"+<src/include/ipv4>",
"+<port/ln_osal/include>",
"+<port/ln_osal/include/netif>",
"+<port/ln_osal/include/arch>"
]
},
"lwip-amb1": {
"package": "library-lwip",
"sources": [
"+<src/api/*.c>",
"+<src/core/*.c>",
"+<src/core/ipv4/*.c>",
"+<src/core/ipv6/*.c>",
"+<src/netif/ethernet.c>",
"+<src/netif/etharp.c>",
"+<src/apps/mdns/*.c>",
"+<src/apps/sntp/sntp.c>",
"+<port/realtek/freertos/ethernetif.c>",
"+<port/realtek/freertos/sys_arch.c>"
],
"includes": [
"+<src/include>",
"+<src/include/ipv4>",
"+<port/realtek>",
"+<port/realtek/freertos>"
]
},
"lwip-bdk": {
"package": "library-lwip",
"sources": [
"+<src/api/*.c>",
"+<src/core/*.c>",
"+<src/core/ipv4/*.c>",
"+<src/core/ipv6/*.c>",
"+<src/netif/ethernet.c>",
"+<src/netif/etharp.c>",
"+<src/apps/mdns/*.c>",
"+<src/apps/sntp/sntp.c>",
"+<port/*.c>"
],
"includes": [
"+<src/include>",
"+<src/include/ipv4>",
"+<port>"
]
},
"lwip-ambz2": {
"package": "library-lwip",
"sources": [
"+<src/api/*.c>",
"+<src/core/*.c>",
"+<src/core/ipv4/*.c>",
"+<src/core/ipv6/*.c>",
"+<src/netif/ethernet.c>",
"+<src/netif/etharp.c>",
"+<src/apps/mdns/*.c>",
"+<src/apps/sntp/sntp.c>",
"+<port/realtek/freertos/ethernetif.c>",
"+<port/realtek/freertos/sys_arch.c>"
],
"includes": [
"+<src/include>",
"+<src/include/ipv4>",
"+<port/realtek>",
"+<port/realtek/freertos>"
]
}
}