mirror of
https://github.com/odriverobotics/ODrive.git
synced 2026-08-20 22:14:34 +08:00
112 lines
3.7 KiB
JSON
112 lines
3.7 KiB
JSON
{
|
|
"configurations": [
|
|
{
|
|
"name": "ODrive v3.6 Windows",
|
|
"includePath": [
|
|
"${workspaceFolder}/**",
|
|
"${workspaceFolder}/ThirdParty/FreeRTOS/Source/portable/GCC/ARM_CM4F",
|
|
"${workspaceFolder}/fibre-cpp/include"
|
|
],
|
|
"compilerPath": "${ARM_GCC_ROOT}/bin/arm-none-eabi-g++.exe",
|
|
"intelliSenseMode": "gcc-arm",
|
|
"defines": [
|
|
"__arm__",
|
|
"STM32F405xx",
|
|
"FPU_FPV4",
|
|
"USE_HAL_DRIVER",
|
|
"HW_VERSION_MAJOR=3",
|
|
"HW_VERSION_MINOR=6",
|
|
"HW_VERSION_VOLTAGE=56",
|
|
"FIBRE_ENABLE_SERVER",
|
|
"FIBRE_ENABLE_CLIENT",
|
|
"__weak=\"__attribute__((weak))\"",
|
|
"__packed=\"__attribute__((__packed__))\"",
|
|
"__GNUC__"
|
|
],
|
|
"compilerArgs": [
|
|
"-mthumb",
|
|
"-mcpu=cortex-m4",
|
|
"-mfpu=fpv4-sp-d16",
|
|
"-mfloat-abi=hard",
|
|
"-specs=nosys.specs",
|
|
"-specs=nano.specs",
|
|
"-u _printf_float",
|
|
"-u _scanf_float"
|
|
],
|
|
"cStandard": "c11",
|
|
"cppStandard": "c++17"
|
|
},
|
|
{
|
|
"name": "ODrive 3.6 Linux",
|
|
"includePath": [
|
|
"${workspaceFolder}/**",
|
|
"${workspaceFolder}/ThirdParty/FreeRTOS/Source/portable/GCC/ARM_CM4F",
|
|
"${workspaceFolder}/fibre-cpp/include"
|
|
],
|
|
"compilerPath": "arm-none-eabi-g++",
|
|
"intelliSenseMode": "gcc-arm",
|
|
"defines": [
|
|
"__arm__",
|
|
"STM32F405xx",
|
|
"FPU_FPV4",
|
|
"USE_HAL_DRIVER",
|
|
"HW_VERSION_MAJOR=3",
|
|
"HW_VERSION_MINOR=6",
|
|
"HW_VERSION_VOLTAGE=56",
|
|
"FIBRE_ENABLE_SERVER",
|
|
"FIBRE_ENABLE_CLIENT",
|
|
"__weak=\"__attribute__((weak))\"",
|
|
"__packed=\"__attribute__((__packed__))\"",
|
|
"__GNUC__"
|
|
],
|
|
"compilerArgs": [
|
|
"-mthumb",
|
|
"-mcpu=cortex-m4",
|
|
"-mfpu=fpv4-sp-d16",
|
|
"-mfloat-abi=hard",
|
|
"-specs=nosys.specs",
|
|
"-specs=nano.specs",
|
|
"-u _printf_float",
|
|
"-u _scanf_float"
|
|
],
|
|
"cStandard": "c11",
|
|
"cppStandard": "c++17"
|
|
},
|
|
{
|
|
"name": "ODrive 3.6 Mac",
|
|
"includePath": [
|
|
"${workspaceFolder}/**",
|
|
"${workspaceFolder}/ThirdParty/FreeRTOS/Source/portable/GCC/ARM_CM4F",
|
|
"${workspaceFolder}/fibre-cpp/include"
|
|
],
|
|
"intelliSenseMode": "gcc-arm",
|
|
"defines": [
|
|
"__arm__",
|
|
"STM32F405xx",
|
|
"FPU_FPV4",
|
|
"USE_HAL_DRIVER",
|
|
"HW_VERSION_MAJOR=3",
|
|
"HW_VERSION_MINOR=6",
|
|
"HW_VERSION_VOLTAGE=56",
|
|
"FIBRE_ENABLE_SERVER",
|
|
"FIBRE_ENABLE_CLIENT",
|
|
"__weak=\"__attribute__((weak))\"",
|
|
"__packed=\"__attribute__((__packed__))\"",
|
|
"__GNUC__"
|
|
],
|
|
"compilerArgs": [
|
|
"-mthumb",
|
|
"-mcpu=cortex-m4",
|
|
"-mfpu=fpv4-sp-d16",
|
|
"-mfloat-abi=hard",
|
|
"-specs=nosys.specs",
|
|
"-specs=nano.specs",
|
|
"-u _printf_float",
|
|
"-u _scanf_float"
|
|
],
|
|
"cStandard": "c11",
|
|
"cppStandard": "c++17"
|
|
}
|
|
],
|
|
"version": 4
|
|
} |