65 lines
2.2 KiB
JSON
65 lines
2.2 KiB
JSON
{
|
|||
|
|
"configurations": [
|
||
|
|
{
|
||
|
|
"name": "Win32",
|
||
|
|
"includePath": [
|
||
|
|
"${workspaceFolder}/**"
|
||
|
|
],
|
||
|
|
"defines": [
|
||
|
|
"STM32F405xx",
|
||
|
|
"USE_HAL_DRIVER",
|
||
|
|
"HW_VERSION_MAJOR=3",
|
||
|
|
"HW_VERSION_MINOR=6",
|
||
|
|
"HW_VERSION_VOLTAGE=56",
|
||
|
|
"USB_PROTOCOL_NATIVE",
|
||
|
|
"__weak=\"__attribute__((weak))\"",
|
||
|
|
"__packed=\"__attribute__((__packed__))\"",
|
||
|
|
"__GNUC__"
|
||
|
|
],
|
||
|
|
"intelliSenseMode": "gcc-x64",
|
||
|
|
"compilerPath": "\"${ARM_GCC_ROOT}/bin/arm-none-eabi-g++.exe\" -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": "Linux",
|
||
|
|
"includePath": [
|
||
|
|
"${workspaceFolder}/**"
|
||
|
|
],
|
||
|
|
"defines": [
|
||
|
|
"STM32F405xx",
|
||
|
|
"USE_HAL_DRIVER",
|
||
|
|
"HW_VERSION_MAJOR=3",
|
||
|
|
"HW_VERSION_MINOR=6",
|
||
|
|
"HW_VERSION_VOLTAGE=56",
|
||
|
|
"__weak=\"__attribute__((weak))\"",
|
||
|
|
"__packed=\"__attribute__((__packed__))\"",
|
||
|
|
"__GNUC__"
|
||
|
|
],
|
||
|
|
"intelliSenseMode": "gcc-x64",
|
||
|
|
"compilerPath": "arm-none-eabi-g++ -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": "Mac",
|
||
|
|
"includePath": [
|
||
|
|
"${workspaceFolder}/**"
|
||
|
|
],
|
||
|
|
"defines": [
|
||
|
|
"STM32F405xx",
|
||
|
|
"USE_HAL_DRIVER",
|
||
|
|
"HW_VERSION_MAJOR=3",
|
||
|
|
"HW_VERSION_MINOR=4",
|
||
|
|
"HW_VERSION_VOLTAGE=24",
|
||
|
|
"__weak=\"__attribute__((weak))\"",
|
||
|
|
"__packed=\"__attribute__((__packed__))\"",
|
||
|
|
"__GNUC__"
|
||
|
|
],
|
||
|
|
"intelliSenseMode": "gcc-x64",
|
||
|
|
"cStandard": "c11",
|
||
|
|
"cppStandard": "c++17"
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"version": 4
|
||
|
|
}
|