mirror of
https://github.com/halleysfifthinc/AVCLAN-Mockingboard.git
synced 2026-09-25 13:22:06 +00:00
144 lines
4.5 KiB
JSON
144 lines
4.5 KiB
JSON
{
|
|
"version": 9,
|
|
"configurePresets": [
|
|
{
|
|
"name": "debug-base",
|
|
"hidden": true,
|
|
"description": "Debug build settings",
|
|
"generator": "Ninja",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "Debug"
|
|
}
|
|
},
|
|
{
|
|
"name": "relwithdebinfo-base",
|
|
"hidden": true,
|
|
"description": "RelWithDebInfo build settings",
|
|
"inherits": "debug-base",
|
|
"cacheVariables": {
|
|
"CMAKE_BUILD_TYPE": "RelWithDebInfo"
|
|
}
|
|
},
|
|
{
|
|
"name": "usb0",
|
|
"hidden": true,
|
|
"description": "Program over /dev/ttyUSB0",
|
|
"cacheVariables": {
|
|
"AVRDUDE_PORT": "/dev/ttyUSB0"
|
|
}
|
|
},
|
|
{
|
|
"name": "usb1",
|
|
"hidden": true,
|
|
"description": "Program over /dev/ttyUSB1",
|
|
"cacheVariables": {
|
|
"AVRDUDE_PORT": "/dev/ttyUSB1"
|
|
}
|
|
},
|
|
{
|
|
"name": "avr-attiny3216",
|
|
"hidden": true,
|
|
"description": "AVR ATtiny3216 cross-compile toolchain + matching port",
|
|
"toolchainFile": "${sourceDir}/cmake/avr-gcc-toolchain.cmake",
|
|
"binaryDir": "${sourceDir}/out/build/avr-attiny3216",
|
|
"cacheVariables": {
|
|
"AVCLAN_TARGET": "avr-attiny3216",
|
|
"FREQSEL": "20MHz",
|
|
"TCB_CLKSEL": "TCB_CLKSEL_CLKDIV1_gc",
|
|
"USART_RXMODE": "DOUBLE_SPEED"
|
|
}
|
|
},
|
|
{
|
|
"name": "pico2",
|
|
"hidden": true,
|
|
"binaryDir": "${sourceDir}/out/build/pico2",
|
|
"inherits": "debug-base",
|
|
"cacheVariables": {
|
|
"AVCLAN_TARGET": "pico2",
|
|
"AVCLAN_FRAME_POOL_N": "14",
|
|
"AVCLAN_TARGET_SDK_FILE": "${sourceDir}/cmake/pico_sdk_import.cmake",
|
|
"PICO_SDK_FETCH_FROM_GIT": true
|
|
},
|
|
"environment": {
|
|
"PICO_PLATFORM": "rp2350-arm-s",
|
|
"PICO_BOARD": "pico2"
|
|
}
|
|
},
|
|
{
|
|
"name": "pico2-gcc",
|
|
"displayName": "Pico 2W (GCC)",
|
|
"inherits": "pico2",
|
|
"description": "",
|
|
"generator": "Ninja",
|
|
"environment": {
|
|
"PICO_COMPILER": "pico_arm_gcc",
|
|
"CC": "/usr/bin/gcc-15",
|
|
"CXX": "/usr/bin/g++-15"
|
|
}
|
|
},
|
|
{
|
|
"name": "pico2-clang",
|
|
"displayName": "Pico 2W (Clang)",
|
|
"inherits": "pico2",
|
|
"description": "",
|
|
"environment": {
|
|
"PICO_COMPILER": "pico_arm_clang"
|
|
}
|
|
},
|
|
{
|
|
"name": "attiny3216-relwithdebinfo",
|
|
"hidden": true,
|
|
"description": "ATtiny3216 RelWithDebInfo build,",
|
|
"inherits": [
|
|
"avr-attiny3216",
|
|
"relwithdebinfo-base"
|
|
]
|
|
},
|
|
{
|
|
"name": "attiny3216-debug",
|
|
"hidden": true,
|
|
"description": "ATtiny3216 Debug build",
|
|
"inherits": [
|
|
"avr-attiny3216",
|
|
"debug-base"
|
|
]
|
|
},
|
|
{
|
|
"name": "attiny3216-relwithdebinfo-usb0",
|
|
"displayName": "ATtiny3216 RelWithDebInfo (ttyUSB0)",
|
|
"description": "ATtiny3216 RelWithDebInfo build, program over /dev/ttyUSB0",
|
|
"inherits": [
|
|
"attiny3216-relwithdebinfo",
|
|
"usb0"
|
|
]
|
|
},
|
|
{
|
|
"name": "attiny3216-relwithdebinfo-usb1",
|
|
"displayName": "ATtiny3216 RelWithDebInfo (ttyUSB1)",
|
|
"description": "ATtiny3216 RelWithDebInfo build, program over /dev/ttyUSB1",
|
|
"inherits": [
|
|
"attiny3216-relwithdebinfo",
|
|
"usb1"
|
|
]
|
|
},
|
|
{
|
|
"name": "attiny3216-debug-usb0",
|
|
"displayName": "ATtiny3216 Debug (ttyUSB0)",
|
|
"description": "ATtiny3216 Debug build, program over /dev/ttyUSB0",
|
|
"inherits": [
|
|
"attiny3216-debug",
|
|
"usb0"
|
|
]
|
|
},
|
|
{
|
|
"name": "attiny3216-debug-usb1",
|
|
"displayName": "ATtiny3216 Debug (ttyUSB1)",
|
|
"description": "ATtiny3216 Debug build, program over /dev/ttyUSB1",
|
|
"inherits": [
|
|
"attiny3216-debug",
|
|
"usb1"
|
|
]
|
|
}
|
|
]
|
|
}
|