123 lines
2.2 KiB
JSON
123 lines
2.2 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"
|
|
}
|
|
},
|
|
"ltchiptool": {
|
|
"package": "tool-ltchiptool",
|
|
"sources": [
|
|
"+<uf2ota/*.c>"
|
|
],
|
|
"includes": [
|
|
"+<.>"
|
|
]
|
|
},
|
|
"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>"
|
|
]
|
|
},
|
|
"freertos-port": {
|
|
"package": "library-freertos-port",
|
|
"sources": [
|
|
"+<./$FREERTOS_PORT/*.c>"
|
|
],
|
|
"includes": [
|
|
"+<./$FREERTOS_PORT>"
|
|
],
|
|
"defines": {
|
|
"FREERTOS_PORT_${FREERTOS_PORT_DEFINE}": "1"
|
|
}
|
|
},
|
|
"lwip-amb1": {
|
|
"package": "library-lwip",
|
|
"sources": [
|
|
"+<src/api/*.c>",
|
|
"+<src/core/*.c>",
|
|
"+<src/core/ipv4/*.c>",
|
|
"+<src/netif/ethernet.c>",
|
|
"+<src/netif/etharp.c>",
|
|
"+<src/apps/mdns/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/netif/ethernet.c>",
|
|
"+<src/netif/etharp.c>",
|
|
"+<src/apps/mdns/mdns.c>",
|
|
"+<src/apps/sntp/sntp.c>",
|
|
"+<port/*.c>"
|
|
],
|
|
"includes": [
|
|
"+<src/include>",
|
|
"+<src/include/ipv4>",
|
|
"+<port>"
|
|
]
|
|
}
|
|
}
|