Родитель
a70531bfc8
Коммит
383280ca09
|
@ -0,0 +1,80 @@
|
||||||
|
{
|
||||||
|
"buildType": {
|
||||||
|
"default": "debug",
|
||||||
|
"choices": {
|
||||||
|
"debug": {
|
||||||
|
"short": "Debug",
|
||||||
|
"long": "Emit debug information without performing optimizations",
|
||||||
|
"buildType": "Debug"
|
||||||
|
},
|
||||||
|
"minsize": {
|
||||||
|
"short": "MinSizeRel",
|
||||||
|
"long": "Optimize for smallest binary size",
|
||||||
|
"buildType": "MinSizeRel"
|
||||||
|
},
|
||||||
|
"reldeb": {
|
||||||
|
"short": "RelWithDebInfo",
|
||||||
|
"long": "Perform optimizations AND include debugging information",
|
||||||
|
"buildType": "RelWithDebInfo"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"linkage": {
|
||||||
|
"default": "",
|
||||||
|
"choices": {
|
||||||
|
"GHI_FEZ_CERB40_NF" : {
|
||||||
|
"short" : "GHI_FEZ_CERB40_NF",
|
||||||
|
"settings" : {
|
||||||
|
"BUILD_VERSION" : "1.2.63.405",
|
||||||
|
"TOOLCHAIN_PREFIX": "<absolute-path-to-the-toolchain-folder-mind-the-forward-slashes>",
|
||||||
|
"TOOL_HEX2DFU_PREFIX": "<absolute-path-to-hex2dfu-mind-the-forward-slashes>",
|
||||||
|
"ESP32_IDF_PATH" : "",
|
||||||
|
"ESP32_LIBS_PATH" : "",
|
||||||
|
"TARGET_SERIES" : "STM32F4xx",
|
||||||
|
"USE_RNG" : "ON",
|
||||||
|
"DP_FLOATINGPOINT" : "OFF",
|
||||||
|
"SUPPORT_ANY_BASE_CONVERSION" : "OFF",
|
||||||
|
"RTOS" : "CHIBIOS",
|
||||||
|
"RTOS_SOURCE_FOLDER" : "",
|
||||||
|
"TARGET_BOARD" : "GHI_FEZ_CERB40_NF",
|
||||||
|
"SWO_OUTPUT" : "OFF",
|
||||||
|
"NF_BUILD_RTM" : "OFF",
|
||||||
|
"NF_WP_TRACE_ERRORS" : "OFF",
|
||||||
|
"NF_WP_TRACE_HEADERS" : "OFF",
|
||||||
|
"NF_WP_TRACE_STATE" : "OFF",
|
||||||
|
"NF_WP_TRACE_NODATA" : "OFF",
|
||||||
|
"NF_WP_TRACE_ALL" : "OFF",
|
||||||
|
"NF_WP_IMPLEMENTS_CRC32" : "OFF",
|
||||||
|
"NF_FEATURE_DEBUGGER" : "ON",
|
||||||
|
"NF_FEATURE_RTC" : "ON",
|
||||||
|
"NF_FEATURE_USE_APPDOMAINS" : "OFF",
|
||||||
|
"NF_FEATURE_WATCHDOG" : "ON",
|
||||||
|
"NF_FEATURE_HAS_CONFIG_BLOCK" : "OFF",
|
||||||
|
"NF_PLATFORM_NO_CLR_TRACE" : "OFF",
|
||||||
|
"NF_CLR_NO_IL_INLINE" : "OFF",
|
||||||
|
"NF_INTEROP_ASSEMBLIES" : [],
|
||||||
|
"NF_FEATURE_USE_FILESYSTEM" : "OFF",
|
||||||
|
"NF_NETWORKING_SNTP" : "OFF",
|
||||||
|
"NF_SECURITY_OPENSSL" : "OFF",
|
||||||
|
"NF_SECURITY_MBEDTLS" : "OFF",
|
||||||
|
"MBEDTLS_SOURCE" : "",
|
||||||
|
"API_Hardware.Esp32" : "OFF",
|
||||||
|
"API_Hardware.Stm32" : "ON",
|
||||||
|
"API_nanoFramework.Devices.Can" : "OFF",
|
||||||
|
"API_nanoFramework.Devices.OneWire" : "OFF",
|
||||||
|
"API_System.Math" : "ON",
|
||||||
|
"API_System.Net" : "OFF",
|
||||||
|
"API_Windows.Devices.Adc" : "ON",
|
||||||
|
"API_Windows.Devices.Gpio" : "ON",
|
||||||
|
"API_Windows.Devices.I2c" : "ON",
|
||||||
|
"API_Windows.Devices.Pwm" : "ON",
|
||||||
|
"API_Windows.Devices.SerialCommunication" : "ON",
|
||||||
|
"API_Windows.Devices.Spi" : "ON",
|
||||||
|
"API_Windows.Networking.Sockets" : "OFF",
|
||||||
|
"API_Windows.Storage" : "OFF"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -0,0 +1,109 @@
|
||||||
|
{
|
||||||
|
"version": "0.2.0",
|
||||||
|
"configurations": [
|
||||||
|
{
|
||||||
|
"name": "GHI_FEZ_CERB40_NF nanoBooter",
|
||||||
|
"type": "cppdbg",
|
||||||
|
"request": "launch",
|
||||||
|
"miDebuggerPath": "<absolute-path-to-the-toolchain-folder-mind-the-forward-slashes>/bin/arm-none-eabi-gdb.exe",
|
||||||
|
"targetArchitecture": "ARM",
|
||||||
|
"program": "${workspaceRoot}/build/nanoBooter.elf",
|
||||||
|
"setupCommands": [
|
||||||
|
{
|
||||||
|
"text": "target extended-remote localhost:3333"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "monitor reset_config none separate"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "monitor reset halt"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "monitor flash write_image erase \"<path-to-the-repo-root-mind-the-forward-slash>/build/nanoBooter.hex\" "
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "file <path-to-the-repo-root-mind-the-forward-slash>/build/nanoBooter.elf"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "set output-radix 16",
|
||||||
|
"description": "set the default numeric base to 16",
|
||||||
|
"ignoreFailures": false
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"customLaunchSetupCommands": [
|
||||||
|
{
|
||||||
|
"text": "monitor reset_config none separate"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "monitor reset halt"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"logging": {
|
||||||
|
"moduleLoad": false,
|
||||||
|
"trace": false,
|
||||||
|
"engineLogging": false,
|
||||||
|
"programOutput": true,
|
||||||
|
"exceptions": true
|
||||||
|
},
|
||||||
|
"launchCompleteCommand": "exec-continue",
|
||||||
|
"debugServerPath": "<absolute-path-to-openocd-mind-the-forward-slashes>/bin/openocd.exe",
|
||||||
|
"debugServerArgs": "-s \"<absolute-path-to-openocd-mind-the-forward-slashes>/scripts/\" -f board/stm32f4discovery.cfg",
|
||||||
|
"serverStarted": "Info\\ :\\ [\\w\\d\\.]*:\\ hardware",
|
||||||
|
"filterStderr": true,
|
||||||
|
"externalConsole": true,
|
||||||
|
"cwd": "${cwd}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "GHI_FEZ_CERB40_NF nanoCLR",
|
||||||
|
"type": "cppdbg",
|
||||||
|
"request": "launch",
|
||||||
|
"miDebuggerPath": "<absolute-path-to-the-toolchain-folder-mind-the-forward-slashes>/bin/arm-none-eabi-gdb.exe",
|
||||||
|
"targetArchitecture": "ARM",
|
||||||
|
"program": "${workspaceRoot}/build/nanoCLR.elf",
|
||||||
|
"setupCommands": [
|
||||||
|
{
|
||||||
|
"text": "target extended-remote localhost:3333"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "monitor reset_config none separate"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "monitor reset halt"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "monitor flash write_image erase \"<path-to-the-repo-root-mind-the-forward-slash>/build/nanoCLR.hex\" "
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "file <path-to-the-repo-root-mind-the-forward-slash>/build/nanoCLR.elf"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "set output-radix 16",
|
||||||
|
"description": "set the default numeric base to 16",
|
||||||
|
"ignoreFailures": false
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"customLaunchSetupCommands": [
|
||||||
|
{
|
||||||
|
"text": "monitor reset_config none separate"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "monitor reset halt"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"logging": {
|
||||||
|
"moduleLoad": false,
|
||||||
|
"trace": false,
|
||||||
|
"engineLogging": false,
|
||||||
|
"programOutput": true,
|
||||||
|
"exceptions": true
|
||||||
|
},
|
||||||
|
"launchCompleteCommand": "exec-continue",
|
||||||
|
"debugServerPath": "<absolute-path-to-openocd-mind-the-forward-slashes>/bin/openocd.exe",
|
||||||
|
"debugServerArgs": "-s \"<absolute-path-to-openocd-mind-the-forward-slashes>/scripts/\" -f board/stm32f4discovery.cfg",
|
||||||
|
"serverStarted": "Info\\ :\\ [\\w\\d\\.]*:\\ hardware",
|
||||||
|
"filterStderr": true,
|
||||||
|
"externalConsole": true,
|
||||||
|
"cwd": "${cwd}"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -0,0 +1,86 @@
|
||||||
|
{
|
||||||
|
"buildType": {
|
||||||
|
"default": "debug",
|
||||||
|
"choices": {
|
||||||
|
"debug": {
|
||||||
|
"short": "Debug",
|
||||||
|
"long": "Emit debug information without performing optimizations",
|
||||||
|
"buildType": "Debug"
|
||||||
|
},
|
||||||
|
"minsize": {
|
||||||
|
"short": "MinSizeRel",
|
||||||
|
"long": "Optimize for smallest binary size",
|
||||||
|
"buildType": "MinSizeRel"
|
||||||
|
},
|
||||||
|
"reldeb": {
|
||||||
|
"short": "RelWithDebInfo",
|
||||||
|
"long": "Perform optimizations AND include debugging information",
|
||||||
|
"buildType": "RelWithDebInfo"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"linkage": {
|
||||||
|
"default": "",
|
||||||
|
"choices": {
|
||||||
|
"I2M_ELECTRON_NF" : {
|
||||||
|
"short" : "Electron",
|
||||||
|
"settings" : {
|
||||||
|
"BUILD_VERSION" : "1.2.63.0915",
|
||||||
|
"TOOLCHAIN_PREFIX": "<absolute-path-to-the-toolchain-folder-mind-the-forward-slashes>",
|
||||||
|
"TOOL_HEX2DFU_PREFIX": "<absolute-path-to-hex2dfu-mind-the-forward-slashes>",
|
||||||
|
"ESP32_IDF_PATH" : "",
|
||||||
|
"ESP32_LIBS_PATH" : "",
|
||||||
|
"TARGET_SERIES" : "STM32F4xx",
|
||||||
|
"USE_FPU" : "ON",
|
||||||
|
"USE_RNG" : "OFF",
|
||||||
|
"DP_FLOATINGPOINT" : "OFF",
|
||||||
|
"SUPPORT_ANY_BASE_CONVERSION" : "OFF",
|
||||||
|
"RTOS" : "CHIBIOS",
|
||||||
|
"RTOS_SOURCE_FOLDER" : "",
|
||||||
|
"CHIBIOS_CONTRIB_REQUIRED" : "OFF",
|
||||||
|
"CHIBIOS_CONTRIB_SOURCE" : "",
|
||||||
|
"TARGET_BOARD" : "I2M_ELECTRON_NF",
|
||||||
|
"SWO_OUTPUT" : "OFF",
|
||||||
|
"NF_BUILD_RTM" : "OFF",
|
||||||
|
"NF_WP_TRACE_ERRORS" : "OFF",
|
||||||
|
"NF_WP_TRACE_HEADERS" : "OFF",
|
||||||
|
"NF_WP_TRACE_STATE" : "OFF",
|
||||||
|
"NF_WP_TRACE_NODATA" : "OFF",
|
||||||
|
"NF_WP_TRACE_ALL" : "OFF",
|
||||||
|
"NF_WP_IMPLEMENTS_CRC32" : "OFF",
|
||||||
|
"NF_FEATURE_DEBUGGER" : "ON",
|
||||||
|
"NF_FEATURE_RTC" : "ON",
|
||||||
|
"NF_FEATURE_USE_APPDOMAINS" : "OFF",
|
||||||
|
"NF_FEATURE_WATCHDOG" : "ON",
|
||||||
|
"NF_FEATURE_HAS_CONFIG_BLOCK" : "OFF",
|
||||||
|
"NF_FEATURE_HAS_SDCARD" : "OFF",
|
||||||
|
"NF_FEATURE_HAS_USB_MSD" : "OFF",
|
||||||
|
"NF_PLATFORM_NO_CLR_TRACE" : "OFF",
|
||||||
|
"NF_CLR_NO_IL_INLINE" : "OFF",
|
||||||
|
"NF_INTEROP_ASSEMBLIES" : [],
|
||||||
|
"NF_NETWORKING_SNTP" : "OFF",
|
||||||
|
"NF_SECURITY_OPENSSL" : "OFF",
|
||||||
|
"NF_SECURITY_MBEDTLS" : "OFF",
|
||||||
|
"MBEDTLS_SOURCE" : "",
|
||||||
|
"API_Hardware.Esp32" : "OFF",
|
||||||
|
"API_Hardware.Stm32" : "ON",
|
||||||
|
"API_nanoFramework.Devices.Can" : "OFF",
|
||||||
|
"API_nanoFramework.Devices.OneWire" : "OFF",
|
||||||
|
"API_System.Math" : "ON",
|
||||||
|
"API_System.Net" : "OFF",
|
||||||
|
"API_Windows.Devices.Adc" : "ON",
|
||||||
|
"API_System.Devices.Dac" : "OFF",
|
||||||
|
"API_Windows.Devices.Gpio" : "ON",
|
||||||
|
"API_Windows.Devices.I2c" : "ON",
|
||||||
|
"API_Windows.Devices.Pwm" : "ON",
|
||||||
|
"API_Windows.Devices.SerialCommunication" : "ON",
|
||||||
|
"API_Windows.Devices.Spi" : "ON",
|
||||||
|
"API_Windows.Devices.Wifi" : "OFF",
|
||||||
|
"API_Windows.Networking.Sockets" : "OFF",
|
||||||
|
"API_Windows.Storage" : "OFF"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -0,0 +1,109 @@
|
||||||
|
{
|
||||||
|
"version": "0.2.0",
|
||||||
|
"configurations": [
|
||||||
|
{
|
||||||
|
"name": "I2M_ELECTRON_NF nanoBooter",
|
||||||
|
"type": "cppdbg",
|
||||||
|
"request": "launch",
|
||||||
|
"miDebuggerPath": "<absolute-path-to-the-toolchain-folder-mind-the-forward-slashes>/bin/arm-none-eabi-gdb.exe",
|
||||||
|
"targetArchitecture": "ARM",
|
||||||
|
"program": "${workspaceRoot}/build/nanoBooter.elf",
|
||||||
|
"setupCommands": [
|
||||||
|
{
|
||||||
|
"text": "target extended-remote localhost:3333"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "monitor reset_config none separate"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "monitor reset halt"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "monitor flash write_image erase \"<path-to-the-repo-root-mind-the-forward-slash>/build/nanoBooter.hex\" "
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "file <path-to-the-repo-root-mind-the-forward-slash>/build/nanoBooter.elf"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "set output-radix 16",
|
||||||
|
"description": "set the default numeric base to 16",
|
||||||
|
"ignoreFailures": false
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"customLaunchSetupCommands": [
|
||||||
|
{
|
||||||
|
"text": "monitor reset_config none separate"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "monitor reset halt"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"logging": {
|
||||||
|
"moduleLoad": false,
|
||||||
|
"trace": false,
|
||||||
|
"engineLogging": false,
|
||||||
|
"programOutput": true,
|
||||||
|
"exceptions": true
|
||||||
|
},
|
||||||
|
"launchCompleteCommand": "exec-continue",
|
||||||
|
"debugServerPath": "<absolute-path-to-openocd-mind-the-forward-slashes>/bin/openocd.exe",
|
||||||
|
"debugServerArgs": "-s \"<absolute-path-to-openocd-mind-the-forward-slashes>/scripts/\" -f board/stm32f4discovery.cfg",
|
||||||
|
"serverStarted": "Info\\ :\\ [\\w\\d\\.]*:\\ hardware",
|
||||||
|
"filterStderr": true,
|
||||||
|
"externalConsole": true,
|
||||||
|
"cwd": "${cwd}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "I2M_ELECTRON_NF nanoCLR",
|
||||||
|
"type": "cppdbg",
|
||||||
|
"request": "launch",
|
||||||
|
"miDebuggerPath": "<absolute-path-to-the-toolchain-folder-mind-the-forward-slashes>/bin/arm-none-eabi-gdb.exe",
|
||||||
|
"targetArchitecture": "ARM",
|
||||||
|
"program": "${workspaceRoot}/build/nanoCLR.elf",
|
||||||
|
"setupCommands": [
|
||||||
|
{
|
||||||
|
"text": "target extended-remote localhost:3333"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "monitor reset_config none separate"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "monitor reset halt"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "monitor flash write_image erase \"<path-to-the-repo-root-mind-the-forward-slash>/build/nanoCLR.hex\" "
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "file <path-to-the-repo-root-mind-the-forward-slash>/build/nanoCLR.elf"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "set output-radix 16",
|
||||||
|
"description": "set the default numeric base to 16",
|
||||||
|
"ignoreFailures": false
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"customLaunchSetupCommands": [
|
||||||
|
{
|
||||||
|
"text": "monitor reset_config none separate"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "monitor reset halt"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"logging": {
|
||||||
|
"moduleLoad": false,
|
||||||
|
"trace": false,
|
||||||
|
"engineLogging": false,
|
||||||
|
"programOutput": true,
|
||||||
|
"exceptions": true
|
||||||
|
},
|
||||||
|
"launchCompleteCommand": "exec-continue",
|
||||||
|
"debugServerPath": "<absolute-path-to-openocd-mind-the-forward-slashes>/bin/openocd.exe",
|
||||||
|
"debugServerArgs": "-s \"<absolute-path-to-openocd-mind-the-forward-slashes>/scripts/\" -f board/stm32f4discovery.cfg",
|
||||||
|
"serverStarted": "Info\\ :\\ [\\w\\d\\.]*:\\ hardware",
|
||||||
|
"filterStderr": true,
|
||||||
|
"externalConsole": true,
|
||||||
|
"cwd": "${cwd}"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -0,0 +1,84 @@
|
||||||
|
{
|
||||||
|
"buildType": {
|
||||||
|
"default": "debug",
|
||||||
|
"choices": {
|
||||||
|
"debug": {
|
||||||
|
"short": "Debug",
|
||||||
|
"long": "Emit debug information without performing optimizations",
|
||||||
|
"buildType": "Debug"
|
||||||
|
},
|
||||||
|
"minsize": {
|
||||||
|
"short": "MinSizeRel",
|
||||||
|
"long": "Optimize for smallest binary size",
|
||||||
|
"buildType": "MinSizeRel"
|
||||||
|
},
|
||||||
|
"reldeb": {
|
||||||
|
"short": "RelWithDebInfo",
|
||||||
|
"long": "Perform optimizations AND include debugging information",
|
||||||
|
"buildType": "RelWithDebInfo"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"linkage": {
|
||||||
|
"default": "",
|
||||||
|
"choices": {
|
||||||
|
"I2M_OXYGEN_NF" : {
|
||||||
|
"short" : "Oxygen",
|
||||||
|
"settings" : {
|
||||||
|
"BUILD_VERSION" : "1.2.63.1705",
|
||||||
|
"TOOLCHAIN_PREFIX": "<absolute-path-to-the-toolchain-folder-mind-the-forward-slashes>",
|
||||||
|
"TOOL_HEX2DFU_PREFIX": "<absolute-path-to-hex2dfu-mind-the-forward-slashes>",
|
||||||
|
"ESP32_IDF_PATH" : "",
|
||||||
|
"ESP32_LIBS_PATH" : "",
|
||||||
|
"TARGET_SERIES" : "STM32F4xx",
|
||||||
|
"USE_RNG" : "OFF",
|
||||||
|
"DP_FLOATINGPOINT" : "OFF",
|
||||||
|
"SUPPORT_ANY_BASE_CONVERSION" : "OFF",
|
||||||
|
"RTOS" : "CHIBIOS",
|
||||||
|
"RTOS_SOURCE_FOLDER" : "",
|
||||||
|
"CHIBIOS_CONTRIB_REQUIRED" : "OFF",
|
||||||
|
"CHIBIOS_CONTRIB_SOURCE" : "",
|
||||||
|
"TARGET_BOARD" : "I2M_OXYGEN_NF",
|
||||||
|
"SWO_OUTPUT" : "OFF",
|
||||||
|
"NF_BUILD_RTM" : "OFF",
|
||||||
|
"NF_WP_TRACE_ERRORS" : "OFF",
|
||||||
|
"NF_WP_TRACE_HEADERS" : "OFF",
|
||||||
|
"NF_WP_TRACE_STATE" : "OFF",
|
||||||
|
"NF_WP_TRACE_NODATA" : "OFF",
|
||||||
|
"NF_WP_TRACE_ALL" : "OFF",
|
||||||
|
"NF_WP_IMPLEMENTS_CRC32" : "OFF",
|
||||||
|
"NF_FEATURE_DEBUGGER" : "ON",
|
||||||
|
"NF_FEATURE_RTC" : "ON",
|
||||||
|
"NF_FEATURE_USE_APPDOMAINS" : "OFF",
|
||||||
|
"NF_FEATURE_WATCHDOG" : "ON",
|
||||||
|
"NF_FEATURE_HAS_CONFIG_BLOCK" : "OFF",
|
||||||
|
"NF_FEATURE_HAS_SDCARD" : "OFF",
|
||||||
|
"NF_FEATURE_HAS_USB_MSD" : "OFF",
|
||||||
|
"NF_PLATFORM_NO_CLR_TRACE" : "OFF",
|
||||||
|
"NF_CLR_NO_IL_INLINE" : "OFF",
|
||||||
|
"NF_INTEROP_ASSEMBLIES" : [],
|
||||||
|
"NF_NETWORKING_SNTP" : "OFF",
|
||||||
|
"NF_SECURITY_OPENSSL" : "OFF",
|
||||||
|
"NF_SECURITY_MBEDTLS" : "OFF",
|
||||||
|
"MBEDTLS_SOURCE" : "",
|
||||||
|
"API_Hardware.Esp32" : "OFF",
|
||||||
|
"API_Hardware.Stm32" : "ON",
|
||||||
|
"API_nanoFramework.Devices.Can" : "OFF",
|
||||||
|
"API_nanoFramework.Devices.OneWire" : "OFF",
|
||||||
|
"API_System.Math" : "ON",
|
||||||
|
"API_System.Net" : "OFF",
|
||||||
|
"API_Windows.Devices.Adc" : "ON",
|
||||||
|
"API_Windows.Devices.Gpio" : "ON",
|
||||||
|
"API_Windows.Devices.I2c" : "ON",
|
||||||
|
"API_Windows.Devices.Pwm" : "ON",
|
||||||
|
"API_Windows.Devices.SerialCommunication" : "ON",
|
||||||
|
"API_Windows.Devices.Spi" : "ON",
|
||||||
|
"API_Windows.Devices.Wifi" : "OFF",
|
||||||
|
"API_Windows.Networking.Sockets" : "OFF",
|
||||||
|
"API_Windows.Storage" : "OFF"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -0,0 +1,109 @@
|
||||||
|
{
|
||||||
|
"version": "0.2.0",
|
||||||
|
"configurations": [
|
||||||
|
{
|
||||||
|
"name": "I2M_OXYGEN_NF nanoBooter",
|
||||||
|
"type": "cppdbg",
|
||||||
|
"request": "launch",
|
||||||
|
"miDebuggerPath": "<absolute-path-to-the-toolchain-folder-mind-the-forward-slashes>/bin/arm-none-eabi-gdb.exe",
|
||||||
|
"targetArchitecture": "ARM",
|
||||||
|
"program": "${workspaceRoot}/build/nanoBooter.elf",
|
||||||
|
"setupCommands": [
|
||||||
|
{
|
||||||
|
"text": "target extended-remote localhost:3333"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "monitor reset_config none separate"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "monitor reset halt"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "monitor flash write_image erase \"<path-to-the-repo-root-mind-the-forward-slash>/build/nanoBooter.hex\" "
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "file <path-to-the-repo-root-mind-the-forward-slash>/build/nanoBooter.elf"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "set output-radix 16",
|
||||||
|
"description": "set the default numeric base to 16",
|
||||||
|
"ignoreFailures": false
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"customLaunchSetupCommands": [
|
||||||
|
{
|
||||||
|
"text": "monitor reset_config none separate"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "monitor reset halt"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"logging": {
|
||||||
|
"moduleLoad": false,
|
||||||
|
"trace": false,
|
||||||
|
"engineLogging": false,
|
||||||
|
"programOutput": true,
|
||||||
|
"exceptions": true
|
||||||
|
},
|
||||||
|
"launchCompleteCommand": "exec-continue",
|
||||||
|
"debugServerPath": "<absolute-path-to-openocd-mind-the-forward-slashes>/bin/openocd.exe",
|
||||||
|
"debugServerArgs": "-s \"<absolute-path-to-openocd-mind-the-forward-slashes>/scripts/\" -f board/stm32f4discovery.cfg",
|
||||||
|
"serverStarted": "Info\\ :\\ [\\w\\d\\.]*:\\ hardware",
|
||||||
|
"filterStderr": true,
|
||||||
|
"externalConsole": true,
|
||||||
|
"cwd": "${cwd}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "I2M_OXYGEN_NF nanoCLR",
|
||||||
|
"type": "cppdbg",
|
||||||
|
"request": "launch",
|
||||||
|
"miDebuggerPath": "<absolute-path-to-the-toolchain-folder-mind-the-forward-slashes>/bin/arm-none-eabi-gdb.exe",
|
||||||
|
"targetArchitecture": "ARM",
|
||||||
|
"program": "${workspaceRoot}/build/nanoCLR.elf",
|
||||||
|
"setupCommands": [
|
||||||
|
{
|
||||||
|
"text": "target extended-remote localhost:3333"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "monitor reset_config none separate"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "monitor reset halt"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "monitor flash write_image erase \"<path-to-the-repo-root-mind-the-forward-slash>/build/nanoCLR.hex\" "
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "file <path-to-the-repo-root-mind-the-forward-slash>/build/nanoCLR.elf"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "set output-radix 16",
|
||||||
|
"description": "set the default numeric base to 16",
|
||||||
|
"ignoreFailures": false
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"customLaunchSetupCommands": [
|
||||||
|
{
|
||||||
|
"text": "monitor reset_config none separate"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "monitor reset halt"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"logging": {
|
||||||
|
"moduleLoad": false,
|
||||||
|
"trace": false,
|
||||||
|
"engineLogging": false,
|
||||||
|
"programOutput": true,
|
||||||
|
"exceptions": true
|
||||||
|
},
|
||||||
|
"launchCompleteCommand": "exec-continue",
|
||||||
|
"debugServerPath": "<absolute-path-to-openocd-mind-the-forward-slashes>/bin/openocd.exe",
|
||||||
|
"debugServerArgs": "-s \"<absolute-path-to-openocd-mind-the-forward-slashes>/scripts/\" -f board/stm32f4discovery.cfg",
|
||||||
|
"serverStarted": "Info\\ :\\ [\\w\\d\\.]*:\\ hardware",
|
||||||
|
"filterStderr": true,
|
||||||
|
"externalConsole": true,
|
||||||
|
"cwd": "${cwd}"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -0,0 +1,79 @@
|
||||||
|
{
|
||||||
|
"buildType": {
|
||||||
|
"default": "debug",
|
||||||
|
"choices": {
|
||||||
|
"debug": {
|
||||||
|
"short": "Debug",
|
||||||
|
"long": "Emit debug information without performing optimizations",
|
||||||
|
"buildType": "Debug"
|
||||||
|
},
|
||||||
|
"minsize": {
|
||||||
|
"short": "MinSizeRel",
|
||||||
|
"long": "Optimize for smallest binary size",
|
||||||
|
"buildType": "MinSizeRel"
|
||||||
|
},
|
||||||
|
"reldeb": {
|
||||||
|
"short": "RelWithDebInfo",
|
||||||
|
"long": "Perform optimizations AND include debugging information",
|
||||||
|
"buildType": "RelWithDebInfo"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"linkage": {
|
||||||
|
"default": "",
|
||||||
|
"choices": {
|
||||||
|
"ST_NUCLEO144_F412ZG_NF" : {
|
||||||
|
"short" : "NUCLEO144_F412ZG_NF",
|
||||||
|
"settings" : {
|
||||||
|
"BUILD_VERSION" : "1.2.63.1705",
|
||||||
|
"TOOLCHAIN_PREFIX": "<absolute-path-to-the-toolchain-folder-mind-the-forward-slashes>",
|
||||||
|
"TOOL_HEX2DFU_PREFIX": "<absolute-path-to-hex2dfu-mind-the-forward-slashes>",
|
||||||
|
"ESP32_IDF_PATH" : "",
|
||||||
|
"ESP32_LIBS_PATH" : "",
|
||||||
|
"TARGET_SERIES" : "STM32F4xx",
|
||||||
|
"USE_RNG" : "ON",
|
||||||
|
"DP_FLOATINGPOINT" : "OFF",
|
||||||
|
"SUPPORT_ANY_BASE_CONVERSION" : "OFF",
|
||||||
|
"RTOS" : "CHIBIOS",
|
||||||
|
"RTOS_SOURCE_FOLDER" : "",
|
||||||
|
"TARGET_BOARD" : "ST_NUCLEO144_F412ZG_NF",
|
||||||
|
"SWO_OUTPUT" : "ON",
|
||||||
|
"NF_BUILD_RTM" : "OFF",
|
||||||
|
"NF_WP_TRACE_ERRORS" : "OFF",
|
||||||
|
"NF_WP_TRACE_HEADERS" : "OFF",
|
||||||
|
"NF_WP_TRACE_STATE" : "OFF",
|
||||||
|
"NF_WP_TRACE_NODATA" : "OFF",
|
||||||
|
"NF_WP_TRACE_ALL" : "OFF",
|
||||||
|
"NF_WP_IMPLEMENTS_CRC32" : "OFF",
|
||||||
|
"NF_FEATURE_DEBUGGER" : "ON",
|
||||||
|
"NF_FEATURE_RTC" : "ON",
|
||||||
|
"NF_FEATURE_USE_APPDOMAINS" : "OFF",
|
||||||
|
"NF_FEATURE_WATCHDOG" : "ON",
|
||||||
|
"NF_PLATFORM_NO_CLR_TRACE" : "OFF",
|
||||||
|
"NF_CLR_NO_IL_INLINE" : "OFF",
|
||||||
|
"NF_INTEROP_ASSEMBLIES" : [],
|
||||||
|
"NF_FEATURE_USE_FILESYSTEM" : "OFF",
|
||||||
|
"NF_NETWORKING_SNTP" : "OFF",
|
||||||
|
"NF_SECURITY_OPENSSL" : "OFF",
|
||||||
|
"NF_SECURITY_MBEDTLS" : "OFF",
|
||||||
|
"MBEDTLS_SOURCE" : "",
|
||||||
|
"API_Hardware.Esp32" : "OFF",
|
||||||
|
"API_Hardware.Stm32" : "ON",
|
||||||
|
"API_nanoFramework.Devices.Can" : "OFF",
|
||||||
|
"API_nanoFramework.Devices.OneWire" : "OFF",
|
||||||
|
"API_System.Math" : "ON",
|
||||||
|
"API_System.Net" : "OFF",
|
||||||
|
"API_Windows.Devices.Adc" : "ON",
|
||||||
|
"API_Windows.Devices.Gpio" : "ON",
|
||||||
|
"API_Windows.Devices.I2c" : "ON",
|
||||||
|
"API_Windows.Devices.Pwm" : "ON",
|
||||||
|
"API_Windows.Devices.SerialCommunication" : "OFF",
|
||||||
|
"API_Windows.Devices.Spi" : "ON",
|
||||||
|
"API_Windows.Networking.Sockets" : "OFF",
|
||||||
|
"API_windows.Storage" : "OFF"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -0,0 +1,109 @@
|
||||||
|
{
|
||||||
|
"version": "0.2.0",
|
||||||
|
"configurations": [
|
||||||
|
{
|
||||||
|
"name": "ST_NUCLEO144_F412ZG_NF nanoBooter",
|
||||||
|
"type": "cppdbg",
|
||||||
|
"request": "launch",
|
||||||
|
"miDebuggerPath": "<absolute-path-to-the-toolchain-folder-mind-the-forward-slashes>/bin/arm-none-eabi-gdb.exe",
|
||||||
|
"targetArchitecture": "ARM",
|
||||||
|
"program": "${workspaceRoot}/build/nanoBooter.elf",
|
||||||
|
"setupCommands": [
|
||||||
|
{
|
||||||
|
"text": "target extended-remote localhost:3333"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "monitor reset_config none separate"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "monitor reset halt"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "monitor flash write_image erase \"<path-to-the-repo-root-mind-the-forward-slash>/build/nanoBooter.hex\" "
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "file <path-to-the-repo-root-mind-the-forward-slash>/build/nanoBooter.elf"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "set output-radix 16",
|
||||||
|
"description": "set the default numeric base to 16",
|
||||||
|
"ignoreFailures": false
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"customLaunchSetupCommands": [
|
||||||
|
{
|
||||||
|
"text": "monitor reset_config none separate"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "monitor reset halt"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"logging": {
|
||||||
|
"moduleLoad": false,
|
||||||
|
"trace": false,
|
||||||
|
"engineLogging": false,
|
||||||
|
"programOutput": true,
|
||||||
|
"exceptions": true
|
||||||
|
},
|
||||||
|
"launchCompleteCommand": "exec-continue",
|
||||||
|
"debugServerPath": "<absolute-path-to-openocd-mind-the-forward-slashes>/bin/openocd.exe",
|
||||||
|
"debugServerArgs": "-s \"<absolute-path-to-openocd-mind-the-forward-slashes>/scripts/\" -f board/stm32f4discovery.cfg",
|
||||||
|
"serverStarted": "Info\\ :\\ [\\w\\d\\.]*:\\ hardware",
|
||||||
|
"filterStderr": true,
|
||||||
|
"externalConsole": true,
|
||||||
|
"cwd": "${cwd}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "ST_NUCLEO144_F412ZG_NF nanoCLR",
|
||||||
|
"type": "cppdbg",
|
||||||
|
"request": "launch",
|
||||||
|
"miDebuggerPath": "<absolute-path-to-the-toolchain-folder-mind-the-forward-slashes>/bin/arm-none-eabi-gdb.exe",
|
||||||
|
"targetArchitecture": "ARM",
|
||||||
|
"program": "${workspaceRoot}/build/nanoCLR.elf",
|
||||||
|
"setupCommands": [
|
||||||
|
{
|
||||||
|
"text": "target extended-remote localhost:3333"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "monitor reset_config none separate"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "monitor reset halt"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "monitor flash write_image erase \"<path-to-the-repo-root-mind-the-forward-slash>/build/nanoCLR.hex\" "
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "file <path-to-the-repo-root-mind-the-forward-slash>/build/nanoCLR.elf"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "set output-radix 16",
|
||||||
|
"description": "set the default numeric base to 16",
|
||||||
|
"ignoreFailures": false
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"customLaunchSetupCommands": [
|
||||||
|
{
|
||||||
|
"text": "monitor reset_config none separate"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "monitor reset halt"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"logging": {
|
||||||
|
"moduleLoad": false,
|
||||||
|
"trace": false,
|
||||||
|
"engineLogging": false,
|
||||||
|
"programOutput": true,
|
||||||
|
"exceptions": true
|
||||||
|
},
|
||||||
|
"launchCompleteCommand": "exec-continue",
|
||||||
|
"debugServerPath": "<absolute-path-to-openocd-mind-the-forward-slashes>/bin/openocd.exe",
|
||||||
|
"debugServerArgs": "-s \"<absolute-path-to-openocd-mind-the-forward-slashes>/scripts/\" -f board/stm32f4discovery.cfg",
|
||||||
|
"serverStarted": "Info\\ :\\ [\\w\\d\\.]*:\\ hardware",
|
||||||
|
"filterStderr": true,
|
||||||
|
"externalConsole": true,
|
||||||
|
"cwd": "${cwd}"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -0,0 +1,83 @@
|
||||||
|
{
|
||||||
|
"buildType": {
|
||||||
|
"default": "debug",
|
||||||
|
"choices": {
|
||||||
|
"debug": {
|
||||||
|
"short": "Debug",
|
||||||
|
"long": "Emit debug information without performing optimizations",
|
||||||
|
"buildType": "Debug"
|
||||||
|
},
|
||||||
|
"minsize": {
|
||||||
|
"short": "MinSizeRel",
|
||||||
|
"long": "Optimize for smallest binary size",
|
||||||
|
"buildType": "MinSizeRel"
|
||||||
|
},
|
||||||
|
"reldeb": {
|
||||||
|
"short": "RelWithDebInfo",
|
||||||
|
"long": "Perform optimizations AND include debugging information",
|
||||||
|
"buildType": "RelWithDebInfo"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"linkage": {
|
||||||
|
"default": "",
|
||||||
|
"choices": {
|
||||||
|
"ST_NUCLEO144_F439ZI" : {
|
||||||
|
"short" : "ST_NUCLEO144_F439ZI",
|
||||||
|
"settings" : {
|
||||||
|
"BUILD_VERSION" : "1.2.63.0439",
|
||||||
|
"TOOLCHAIN_PREFIX": "<absolute-path-to-the-toolchain-folder-mind-the-forward-slashes>",
|
||||||
|
"TOOL_HEX2DFU_PREFIX": "<absolute-path-to-hex2dfu-mind-the-forward-slashes>",
|
||||||
|
"ESP32_IDF_PATH" : "",
|
||||||
|
"ESP32_LIBS_PATH" : "",
|
||||||
|
"TARGET_SERIES" : "STM32F4xx",
|
||||||
|
"USE_RNG" : "ON",
|
||||||
|
"DP_FLOATINGPOINT" : "OFF",
|
||||||
|
"SUPPORT_ANY_BASE_CONVERSION" : "OFF",
|
||||||
|
"RTOS" : "CHIBIOS",
|
||||||
|
"RTOS_SOURCE_FOLDER" : "",
|
||||||
|
"CHIBIOS_CONTRIB_REQUIRED" : "OFF",
|
||||||
|
"CHIBIOS_CONTRIB_SOURCE" : "",
|
||||||
|
"TARGET_BOARD" : "ST_NUCLEO144_F439ZI",
|
||||||
|
"SWO_OUTPUT" : "ON",
|
||||||
|
"NF_BUILD_RTM" : "OFF",
|
||||||
|
"NF_WP_TRACE_ERRORS" : "OFF",
|
||||||
|
"NF_WP_TRACE_HEADERS" : "OFF",
|
||||||
|
"NF_WP_TRACE_STATE" : "OFF",
|
||||||
|
"NF_WP_TRACE_NODATA" : "OFF",
|
||||||
|
"NF_WP_TRACE_ALL" : "OFF",
|
||||||
|
"NF_WP_IMPLEMENTS_CRC32" : "OFF",
|
||||||
|
"NF_FEATURE_DEBUGGER" : "ON",
|
||||||
|
"NF_FEATURE_RTC" : "ON",
|
||||||
|
"NF_FEATURE_USE_APPDOMAINS" : "OFF",
|
||||||
|
"NF_FEATURE_WATCHDOG" : "ON",
|
||||||
|
"NF_FEATURE_HAS_CONFIG_BLOCK" : "ON",
|
||||||
|
"NF_FEATURE_HAS_SDCARD" : "OFF",
|
||||||
|
"NF_FEATURE_HAS_USB_MSD" : "OFF",
|
||||||
|
"NF_PLATFORM_NO_CLR_TRACE" : "OFF",
|
||||||
|
"NF_CLR_NO_IL_INLINE" : "OFF",
|
||||||
|
"NF_INTEROP_ASSEMBLIES" : [],
|
||||||
|
"NF_NETWORKING_SNTP" : "ON",
|
||||||
|
"NF_SECURITY_OPENSSL" : "OFF",
|
||||||
|
"NF_SECURITY_MBEDTLS" : "ON",
|
||||||
|
"MBEDTLS_SOURCE" : "",
|
||||||
|
"API_Hardware.Esp32" : "OFF",
|
||||||
|
"API_Hardware.Stm32" : "ON",
|
||||||
|
"API_nanoFramework.Devices.Can" : "OFF",
|
||||||
|
"API_nanoFramework.Devices.OneWire" : "OFF",
|
||||||
|
"API_System.Math" : "OFF",
|
||||||
|
"API_System.Net" : "ON",
|
||||||
|
"API_Windows.Devices.Adc" : "ON",
|
||||||
|
"API_Windows.Devices.Gpio" : "ON",
|
||||||
|
"API_Windows.Devices.I2c" : "ON",
|
||||||
|
"API_Windows.Devices.Pwm" : "ON",
|
||||||
|
"API_Windows.Devices.SerialCommunication" : "ON",
|
||||||
|
"API_Windows.Devices.Spi" : "ON",
|
||||||
|
"API_Windows.Networking.Sockets" : "OFF",
|
||||||
|
"API_Windows.Storage" : "OFF"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -0,0 +1,109 @@
|
||||||
|
{
|
||||||
|
"version": "0.2.0",
|
||||||
|
"configurations": [
|
||||||
|
{
|
||||||
|
"name": "ST_NUCLEO144_F439ZI nanoBooter",
|
||||||
|
"type": "cppdbg",
|
||||||
|
"request": "launch",
|
||||||
|
"miDebuggerPath": "<absolute-path-to-the-toolchain-folder-mind-the-forward-slashes>/bin/arm-none-eabi-gdb.exe",
|
||||||
|
"targetArchitecture": "ARM",
|
||||||
|
"program": "${workspaceRoot}/build/nanoBooter.elf",
|
||||||
|
"setupCommands": [
|
||||||
|
{
|
||||||
|
"text": "target extended-remote localhost:3333"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "monitor reset_config none separate"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "monitor reset halt"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "monitor flash write_image erase \"<path-to-the-repo-root-mind-the-forward-slash>/build/nanoBooter.hex\" "
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "file <path-to-the-repo-root-mind-the-forward-slash>/build/nanoBooter.elf"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "set output-radix 16",
|
||||||
|
"description": "set the default numeric base to 16",
|
||||||
|
"ignoreFailures": false
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"customLaunchSetupCommands": [
|
||||||
|
{
|
||||||
|
"text": "monitor reset_config none separate"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "monitor reset halt"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"logging": {
|
||||||
|
"moduleLoad": false,
|
||||||
|
"trace": false,
|
||||||
|
"engineLogging": false,
|
||||||
|
"programOutput": true,
|
||||||
|
"exceptions": true
|
||||||
|
},
|
||||||
|
"launchCompleteCommand": "exec-continue",
|
||||||
|
"debugServerPath": "<absolute-path-to-openocd-mind-the-forward-slashes>/bin/openocd.exe",
|
||||||
|
"debugServerArgs": "-s \"<absolute-path-to-openocd-mind-the-forward-slashes>/scripts/\" -f board/stm32f4discovery.cfg",
|
||||||
|
"serverStarted": "Info\\ :\\ [\\w\\d\\.]*:\\ hardware",
|
||||||
|
"filterStderr": true,
|
||||||
|
"externalConsole": true,
|
||||||
|
"cwd": "${cwd}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "ST_NUCLEO144_F439ZI nanoCLR",
|
||||||
|
"type": "cppdbg",
|
||||||
|
"request": "launch",
|
||||||
|
"miDebuggerPath": "<absolute-path-to-the-toolchain-folder-mind-the-forward-slashes>/bin/arm-none-eabi-gdb.exe",
|
||||||
|
"targetArchitecture": "ARM",
|
||||||
|
"program": "${workspaceRoot}/build/nanoCLR.elf",
|
||||||
|
"setupCommands": [
|
||||||
|
{
|
||||||
|
"text": "target extended-remote localhost:3333"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "monitor reset_config none separate"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "monitor reset halt"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "monitor flash write_image erase \"<path-to-the-repo-root-mind-the-forward-slash>/build/nanoCLR.hex\" "
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "file <path-to-the-repo-root-mind-the-forward-slash>/build/nanoCLR.elf"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "set output-radix 16",
|
||||||
|
"description": "set the default numeric base to 16",
|
||||||
|
"ignoreFailures": false
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"customLaunchSetupCommands": [
|
||||||
|
{
|
||||||
|
"text": "monitor reset_config none separate"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "monitor reset halt"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"logging": {
|
||||||
|
"moduleLoad": false,
|
||||||
|
"trace": false,
|
||||||
|
"engineLogging": false,
|
||||||
|
"programOutput": true,
|
||||||
|
"exceptions": true
|
||||||
|
},
|
||||||
|
"launchCompleteCommand": "exec-continue",
|
||||||
|
"debugServerPath": "<absolute-path-to-openocd-mind-the-forward-slashes>/bin/openocd.exe",
|
||||||
|
"debugServerArgs": "-s \"<absolute-path-to-openocd-mind-the-forward-slashes>/scripts/\" -f board/stm32f4discovery.cfg",
|
||||||
|
"serverStarted": "Info\\ :\\ [\\w\\d\\.]*:\\ hardware",
|
||||||
|
"filterStderr": true,
|
||||||
|
"externalConsole": true,
|
||||||
|
"cwd": "${cwd}"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -0,0 +1,96 @@
|
||||||
|
{
|
||||||
|
"buildType": {
|
||||||
|
"default": "debug",
|
||||||
|
"choices": {
|
||||||
|
"debug": {
|
||||||
|
"short": "Debug",
|
||||||
|
"long": "Emit debug information without performing optimizations",
|
||||||
|
"buildType": "Debug"
|
||||||
|
},
|
||||||
|
"minsize": {
|
||||||
|
"short": "MinSizeRel",
|
||||||
|
"long": "Optimize for smallest binary size",
|
||||||
|
"buildType": "MinSizeRel"
|
||||||
|
},
|
||||||
|
"reldeb": {
|
||||||
|
"short": "RelWithDebInfo",
|
||||||
|
"long": "Perform optimizations AND include debugging information",
|
||||||
|
"buildType": "RelWithDebInfo"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"linkage": {
|
||||||
|
"default": "",
|
||||||
|
"choices": {
|
||||||
|
"ST_NUCLEO144_F746ZG" : {
|
||||||
|
"short" : "ST_NUCLEO144_F746ZG",
|
||||||
|
"settings" : {
|
||||||
|
"BUILD_VERSION" : "0.1263.746.8",
|
||||||
|
"CMAKE_TOOLCHAIN_FILE" : "CMake/toolchain.arm-none-eabi.cmake",
|
||||||
|
"TOOLCHAIN_PREFIX": "<absolute-path-to-the-toolchain-folder-mind-the-forward-slashes>",
|
||||||
|
"TOOL_HEX2DFU_PREFIX": "<absolute-path-to-hex2dfu-mind-the-forward-slashes>",
|
||||||
|
"ESP32_IDF_PATH" : "",
|
||||||
|
"ESP32_LIBS_PATH" : "",
|
||||||
|
"TARGET_SERIES" : "STM32F7xx",
|
||||||
|
"USE_RNG" : "ON",
|
||||||
|
"DP_FLOATINGPOINT" : "OFF",
|
||||||
|
"SUPPORT_ANY_BASE_CONVERSION" : "OFF",
|
||||||
|
"RTOS" : "CHIBIOS",
|
||||||
|
"RTOS_SOURCE_FOLDER" : "",
|
||||||
|
"CHIBIOS_CONTRIB_REQUIRED" : "OFF",
|
||||||
|
"CHIBIOS_CONTRIB_SOURCE" : "",
|
||||||
|
"TARGET_BOARD" : "ST_NUCLEO144_F746ZG",
|
||||||
|
"CMSIS_SOURCE" : "",
|
||||||
|
"CMSIS_VERSION" : "5.6.0",
|
||||||
|
"STM32_CUBE_PACKAGE_REQUIRED" : "OFF",
|
||||||
|
"STM32_CUBE_PACKAGE_SOURCE" : "",
|
||||||
|
"SPIFFS_SOURCE" : "",
|
||||||
|
"SWO_OUTPUT" : "ON",
|
||||||
|
"FATFS_VERSION": "R0.14",
|
||||||
|
"FATFS_SOURCE" : "",
|
||||||
|
"NF_BUILD_RTM" : "OFF",
|
||||||
|
"NF_WP_TRACE_ERRORS" : "OFF",
|
||||||
|
"NF_WP_TRACE_HEADERS" : "OFF",
|
||||||
|
"NF_WP_TRACE_STATE" : "OFF",
|
||||||
|
"NF_WP_TRACE_NODATA" : "OFF",
|
||||||
|
"NF_WP_TRACE_ALL" : "OFF",
|
||||||
|
"NF_WP_IMPLEMENTS_CRC32" : "OFF",
|
||||||
|
"NF_FEATURE_DEBUGGER" : "ON",
|
||||||
|
"NF_FEATURE_RTC" : "ON",
|
||||||
|
"NF_FEATURE_USE_APPDOMAINS" : "OFF",
|
||||||
|
"NF_FEATURE_WATCHDOG" : "ON",
|
||||||
|
"NF_FEATURE_HAS_CONFIG_BLOCK" : "ON",
|
||||||
|
"NF_FEATURE_HAS_SDCARD" : "ON",
|
||||||
|
"NF_FEATURE_HAS_USB_MSD" : "OFF",
|
||||||
|
"NF_FEATURE_USE_SPIFFS" : "OFF",
|
||||||
|
"NF_PLATFORM_NO_CLR_TRACE" : "OFF",
|
||||||
|
"NF_CLR_NO_IL_INLINE" : "OFF",
|
||||||
|
"NF_INTEROP_ASSEMBLIES" : [],
|
||||||
|
"NF_NETWORKING_SNTP" : "ON",
|
||||||
|
"NF_SECURITY_OPENSSL" : "OFF",
|
||||||
|
"NF_SECURITY_MBEDTLS" : "ON",
|
||||||
|
"MBEDTLS_SOURCE" : "",
|
||||||
|
"API_Hardware.Esp32" : "OFF",
|
||||||
|
"API_Hardware.Stm32" : "ON",
|
||||||
|
"API_nanoFramework.Devices.Can" : "OFF",
|
||||||
|
"API_nanoFramework.Devices.OneWire" : "ON",
|
||||||
|
"API_nanoFramework.ResourceManager" : "OFF",
|
||||||
|
"API_nanoFramework.System.Collections" : "ON",
|
||||||
|
"API_nanoFramework.System.Text" : "ON",
|
||||||
|
"API_System.Math" : "ON",
|
||||||
|
"API_System.Net" : "ON",
|
||||||
|
"API_Windows.Devices.Adc" : "ON",
|
||||||
|
"API_Windows.Devices.Dac" : "OFF",
|
||||||
|
"API_Windows.Devices.Gpio" : "ON",
|
||||||
|
"API_Windows.Devices.I2c" : "ON",
|
||||||
|
"API_Windows.Devices.Pwm" : "ON",
|
||||||
|
"API_Windows.Devices.SerialCommunication" : "ON",
|
||||||
|
"API_Windows.Devices.Spi" : "ON",
|
||||||
|
"API_Windows.Networking.Sockets" : "OFF",
|
||||||
|
"API_Windows.Storage" : "OFF"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -0,0 +1,109 @@
|
||||||
|
{
|
||||||
|
"version": "0.2.0",
|
||||||
|
"configurations": [
|
||||||
|
{
|
||||||
|
"name": "ST_NUCLEO144_F746ZG nanoBooter",
|
||||||
|
"type": "cppdbg",
|
||||||
|
"request": "launch",
|
||||||
|
"miDebuggerPath": "<absolute-path-to-the-toolchain-folder-mind-the-forward-slashes>/bin/arm-none-eabi-gdb.exe",
|
||||||
|
"targetArchitecture": "ARM",
|
||||||
|
"program": "${workspaceRoot}/build/nanoBooter.elf",
|
||||||
|
"setupCommands": [
|
||||||
|
{
|
||||||
|
"text": "target extended-remote localhost:3333"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "monitor reset_config none separate"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "monitor reset halt"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "monitor flash write_image erase \"<path-to-the-repo-root-mind-the-forward-slash>/build/nanoBooter.hex\" "
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "file <path-to-the-repo-root-mind-the-forward-slash>/build/nanoBooter.elf"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "set output-radix 16",
|
||||||
|
"description": "set the default numeric base to 16",
|
||||||
|
"ignoreFailures": false
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"customLaunchSetupCommands": [
|
||||||
|
{
|
||||||
|
"text": "monitor reset_config none separate"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "monitor reset halt"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"logging": {
|
||||||
|
"moduleLoad": false,
|
||||||
|
"trace": false,
|
||||||
|
"engineLogging": false,
|
||||||
|
"programOutput": true,
|
||||||
|
"exceptions": true
|
||||||
|
},
|
||||||
|
"launchCompleteCommand": "exec-continue",
|
||||||
|
"debugServerPath": "<absolute-path-to-openocd-mind-the-forward-slashes>/bin/openocd.exe",
|
||||||
|
"debugServerArgs": "-s \"<absolute-path-to-openocd-mind-the-forward-slashes>/scripts/\" -f board/stm32f7discovery.cfg",
|
||||||
|
"serverStarted": "Info\\ :\\ [\\w\\d\\.]*:\\ hardware",
|
||||||
|
"filterStderr": true,
|
||||||
|
"externalConsole": true,
|
||||||
|
"cwd": "${cwd}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "ST_NUCLEO144_F746ZG nanoCLR",
|
||||||
|
"type": "cppdbg",
|
||||||
|
"request": "launch",
|
||||||
|
"miDebuggerPath": "<absolute-path-to-the-toolchain-folder-mind-the-forward-slashes>/bin/arm-none-eabi-gdb.exe",
|
||||||
|
"targetArchitecture": "ARM",
|
||||||
|
"program": "${workspaceRoot}/build/nanoCLR.elf",
|
||||||
|
"setupCommands": [
|
||||||
|
{
|
||||||
|
"text": "target extended-remote localhost:3333"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "monitor reset_config none separate"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "monitor reset halt"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "monitor flash write_image erase \"<path-to-the-repo-root-mind-the-forward-slash>/build/nanoCLR.hex\" "
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "file <path-to-the-repo-root-mind-the-forward-slash>/build/nanoCLR.elf"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "set output-radix 16",
|
||||||
|
"description": "set the default numeric base to 16",
|
||||||
|
"ignoreFailures": false
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"customLaunchSetupCommands": [
|
||||||
|
{
|
||||||
|
"text": "monitor reset_config none separate"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "monitor reset halt"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"logging": {
|
||||||
|
"moduleLoad": false,
|
||||||
|
"trace": false,
|
||||||
|
"engineLogging": false,
|
||||||
|
"programOutput": true,
|
||||||
|
"exceptions": true
|
||||||
|
},
|
||||||
|
"launchCompleteCommand": "exec-continue",
|
||||||
|
"debugServerPath": "<absolute-path-to-openocd-mind-the-forward-slashes>/bin/openocd.exe",
|
||||||
|
"debugServerArgs": "-s \"<absolute-path-to-openocd-mind-the-forward-slashes>/scripts/\" -f board/stm32f7discovery.cfg",
|
||||||
|
"serverStarted": "Info\\ :\\ [\\w\\d\\.]*:\\ hardware",
|
||||||
|
"filterStderr": true,
|
||||||
|
"externalConsole": true,
|
||||||
|
"cwd": "${cwd}"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -0,0 +1,84 @@
|
||||||
|
{
|
||||||
|
"buildType": {
|
||||||
|
"default": "debug",
|
||||||
|
"choices": {
|
||||||
|
"debug": {
|
||||||
|
"short": "Debug",
|
||||||
|
"long": "Emit debug information without performing optimizations",
|
||||||
|
"buildType": "Debug"
|
||||||
|
},
|
||||||
|
"minsize": {
|
||||||
|
"short": "MinSizeRel",
|
||||||
|
"long": "Optimize for smallest binary size",
|
||||||
|
"buildType": "MinSizeRel"
|
||||||
|
},
|
||||||
|
"reldeb": {
|
||||||
|
"short": "RelWithDebInfo",
|
||||||
|
"long": "Perform optimizations AND include debugging information",
|
||||||
|
"buildType": "RelWithDebInfo"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"linkage": {
|
||||||
|
"default": "",
|
||||||
|
"choices": {
|
||||||
|
"ST_NUCLEO64_F401RE_NF" : {
|
||||||
|
"short" : "NUCLEO64_F401RE_NF",
|
||||||
|
"settings" : {
|
||||||
|
"BUILD_VERSION" : "1.2.63.401",
|
||||||
|
"TOOLCHAIN_PREFIX": "<absolute-path-to-the-toolchain-folder-mind-the-forward-slashes>",
|
||||||
|
"TOOL_HEX2DFU_PREFIX": "<absolute-path-to-hex2dfu-mind-the-forward-slashes>",
|
||||||
|
"ESP32_IDF_PATH" : "",
|
||||||
|
"ESP32_LIBS_PATH" : "",
|
||||||
|
"TARGET_SERIES" : "STM32F4xx",
|
||||||
|
"USE_RNG" : "OFF",
|
||||||
|
"DP_FLOATINGPOINT" : "OFF",
|
||||||
|
"SUPPORT_ANY_BASE_CONVERSION" : "OFF",
|
||||||
|
"RTOS" : "CHIBIOS",
|
||||||
|
"RTOS_SOURCE_FOLDER" : "",
|
||||||
|
"CHIBIOS_CONTRIB_REQUIRED" : "OFF",
|
||||||
|
"CHIBIOS_CONTRIB_SOURCE" : "",
|
||||||
|
"TARGET_BOARD" : "ST_NUCLEO64_F401RE_NF",
|
||||||
|
"SWO_OUTPUT" : "ON",
|
||||||
|
"NF_BUILD_RTM" : "OFF",
|
||||||
|
"NF_WP_TRACE_ERRORS" : "OFF",
|
||||||
|
"NF_WP_TRACE_HEADERS" : "OFF",
|
||||||
|
"NF_WP_TRACE_STATE" : "OFF",
|
||||||
|
"NF_WP_TRACE_NODATA" : "OFF",
|
||||||
|
"NF_WP_TRACE_ALL" : "OFF",
|
||||||
|
"NF_WP_IMPLEMENTS_CRC32" : "OFF",
|
||||||
|
"NF_FEATURE_DEBUGGER" : "ON",
|
||||||
|
"NF_FEATURE_RTC" : "ON",
|
||||||
|
"NF_FEATURE_USE_APPDOMAINS" : "OFF",
|
||||||
|
"NF_FEATURE_WATCHDOG" : "ON",
|
||||||
|
"NF_FEATURE_HAS_CONFIG_BLOCK" : "OFF",
|
||||||
|
"NF_FEATURE_HAS_SDCARD" : "OFF",
|
||||||
|
"NF_FEATURE_HAS_USB_MSD" : "OFF",
|
||||||
|
"NF_PLATFORM_NO_CLR_TRACE" : "OFF",
|
||||||
|
"NF_CLR_NO_IL_INLINE" : "OFF",
|
||||||
|
"NF_INTEROP_ASSEMBLIES" : [],
|
||||||
|
"NF_NETWORKING_SNTP" : "OFF",
|
||||||
|
"NF_SECURITY_OPENSSL" : "OFF",
|
||||||
|
"NF_SECURITY_MBEDTLS" : "OFF",
|
||||||
|
"MBEDTLS_SOURCE" : "",
|
||||||
|
"API_Hardware.Esp32" : "OFF",
|
||||||
|
"API_Hardware.Stm32" : "ON",
|
||||||
|
"API_nanoFramework.Devices.Can" : "OFF",
|
||||||
|
"API_nanoFramework.Devices.OneWire" : "ON",
|
||||||
|
"API_System.Math" : "ON",
|
||||||
|
"API_System.Net" : "OFF",
|
||||||
|
"API_Windows.Devices.Adc" : "ON",
|
||||||
|
"API_Windows.Devices.Gpio" : "ON",
|
||||||
|
"API_Windows.Devices.I2c" : "ON",
|
||||||
|
"API_Windows.Devices.Pwm" : "ON",
|
||||||
|
"API_Windows.Devices.SerialCommunication" : "ON",
|
||||||
|
"API_Windows.Devices.Spi" : "ON",
|
||||||
|
"API_Windows.Devices.Wifi" : "OFF",
|
||||||
|
"API_Windows.Networking.Sockets" : "OFF",
|
||||||
|
"API_Windows.Storage" : "OFF"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -0,0 +1,109 @@
|
||||||
|
{
|
||||||
|
"version": "0.2.0",
|
||||||
|
"configurations": [
|
||||||
|
{
|
||||||
|
"name": "ST_NUCLEO64_F401RE_NF nanoBooter",
|
||||||
|
"type": "cppdbg",
|
||||||
|
"request": "launch",
|
||||||
|
"miDebuggerPath": "<absolute-path-to-the-toolchain-folder-mind-the-forward-slashes>/bin/arm-none-eabi-gdb.exe",
|
||||||
|
"targetArchitecture": "ARM",
|
||||||
|
"program": "${workspaceRoot}/build/nanoBooter.elf",
|
||||||
|
"setupCommands": [
|
||||||
|
{
|
||||||
|
"text": "target extended-remote localhost:3333"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "monitor reset_config none separate"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "monitor reset halt"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "monitor flash write_image erase \"<path-to-the-repo-root-mind-the-forward-slash>/build/nanoBooter.hex\" "
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "file <path-to-the-repo-root-mind-the-forward-slash>/build/nanoBooter.elf"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "set output-radix 16",
|
||||||
|
"description": "set the default numeric base to 16",
|
||||||
|
"ignoreFailures": false
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"customLaunchSetupCommands": [
|
||||||
|
{
|
||||||
|
"text": "monitor reset_config none separate"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "monitor reset halt"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"logging": {
|
||||||
|
"moduleLoad": false,
|
||||||
|
"trace": false,
|
||||||
|
"engineLogging": false,
|
||||||
|
"programOutput": true,
|
||||||
|
"exceptions": true
|
||||||
|
},
|
||||||
|
"launchCompleteCommand": "exec-continue",
|
||||||
|
"debugServerPath": "<absolute-path-to-openocd-mind-the-forward-slashes>/bin/openocd.exe",
|
||||||
|
"debugServerArgs": "-s \"<absolute-path-to-openocd-mind-the-forward-slashes>/scripts/\" -f board/st_nucleo_f4.cfg",
|
||||||
|
"serverStarted": "Info\\ :\\ [\\w\\d\\.]*:\\ hardware",
|
||||||
|
"filterStderr": true,
|
||||||
|
"externalConsole": true,
|
||||||
|
"cwd": "${cwd}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "ST_NUCLEO64_F401RE_NF nanoCLR",
|
||||||
|
"type": "cppdbg",
|
||||||
|
"request": "launch",
|
||||||
|
"miDebuggerPath": "<absolute-path-to-the-toolchain-folder-mind-the-forward-slashes>/bin/arm-none-eabi-gdb.exe",
|
||||||
|
"targetArchitecture": "ARM",
|
||||||
|
"program": "${workspaceRoot}/build/nanoCLR.elf",
|
||||||
|
"setupCommands": [
|
||||||
|
{
|
||||||
|
"text": "target extended-remote localhost:3333"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "monitor reset_config none separate"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "monitor reset halt"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "monitor flash write_image erase \"<path-to-the-repo-root-mind-the-forward-slash>/build/nanoCLR.hex\" "
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "file <path-to-the-repo-root-mind-the-forward-slash>/build/nanoCLR.elf"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "set output-radix 16",
|
||||||
|
"description": "set the default numeric base to 16",
|
||||||
|
"ignoreFailures": false
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"customLaunchSetupCommands": [
|
||||||
|
{
|
||||||
|
"text": "monitor reset_config none separate"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "monitor reset halt"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"logging": {
|
||||||
|
"moduleLoad": false,
|
||||||
|
"trace": false,
|
||||||
|
"engineLogging": false,
|
||||||
|
"programOutput": true,
|
||||||
|
"exceptions": true
|
||||||
|
},
|
||||||
|
"launchCompleteCommand": "exec-continue",
|
||||||
|
"debugServerPath": "<absolute-path-to-openocd-mind-the-forward-slashes>/bin/openocd.exe",
|
||||||
|
"debugServerArgs": "-s \"<absolute-path-to-openocd-mind-the-forward-slashes>/scripts/\" -f board/st_nucleo_f4.cfg",
|
||||||
|
"serverStarted": "Info\\ :\\ [\\w\\d\\.]*:\\ hardware",
|
||||||
|
"filterStderr": true,
|
||||||
|
"externalConsole": true,
|
||||||
|
"cwd": "${cwd}"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -0,0 +1,89 @@
|
||||||
|
{
|
||||||
|
"buildType": {
|
||||||
|
"default": "debug",
|
||||||
|
"choices": {
|
||||||
|
"debug": {
|
||||||
|
"short": "Debug",
|
||||||
|
"long": "Emit debug information without performing optimizations",
|
||||||
|
"buildType": "Debug"
|
||||||
|
},
|
||||||
|
"minsize": {
|
||||||
|
"short": "MinSizeRel",
|
||||||
|
"long": "Optimize for smallest binary size",
|
||||||
|
"buildType": "MinSizeRel"
|
||||||
|
},
|
||||||
|
"reldeb": {
|
||||||
|
"short": "RelWithDebInfo",
|
||||||
|
"long": "Perform optimizations AND include debugging information",
|
||||||
|
"buildType": "RelWithDebInfo"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"linkage": {
|
||||||
|
"default": "",
|
||||||
|
"choices": {
|
||||||
|
"ST_STM32F411_DISCOVERY" : {
|
||||||
|
"short" : "ST_STM32F411_DISCOVERY",
|
||||||
|
"settings" : {
|
||||||
|
"BUILD_VERSION" : "0.1263.1117.2",
|
||||||
|
"CMAKE_TOOLCHAIN_FILE" : "CMake/toolchain.arm-none-eabi.cmake",
|
||||||
|
"TOOLCHAIN_PREFIX": "<absolute-path-to-the-toolchain-folder-mind-the-forward-slashes>",
|
||||||
|
"TOOL_HEX2DFU_PREFIX": "<absolute-path-to-hex2dfu-mind-the-forward-slashes>",
|
||||||
|
"ESP32_IDF_PATH" : "",
|
||||||
|
"ESP32_LIBS_PATH" : "",
|
||||||
|
"TARGET_SERIES" : "STM32F4xx",
|
||||||
|
"USE_RNG" : "OFF",
|
||||||
|
"DP_FLOATINGPOINT" : "OFF",
|
||||||
|
"SUPPORT_ANY_BASE_CONVERSION" : "OFF",
|
||||||
|
"RTOS" : "CHIBIOS",
|
||||||
|
"RTOS_SOURCE_FOLDER" : "",
|
||||||
|
"CHIBIOS_CONTRIB_REQUIRED" : "OFF",
|
||||||
|
"CHIBIOS_CONTRIB_SOURCE" : "",
|
||||||
|
"TARGET_BOARD" : "ST_STM32F411_DISCOVERY",
|
||||||
|
"SWO_OUTPUT" : "OFF",
|
||||||
|
"NF_BUILD_RTM" : "OFF",
|
||||||
|
"NF_WP_TRACE_ERRORS" : "OFF",
|
||||||
|
"NF_WP_TRACE_HEADERS" : "OFF",
|
||||||
|
"NF_WP_TRACE_STATE" : "OFF",
|
||||||
|
"NF_WP_TRACE_NODATA" : "OFF",
|
||||||
|
"NF_WP_TRACE_ALL" : "OFF",
|
||||||
|
"NF_WP_IMPLEMENTS_CRC32" : "OFF",
|
||||||
|
"NF_FEATURE_DEBUGGER" : "ON",
|
||||||
|
"NF_FEATURE_RTC" : "ON",
|
||||||
|
"NF_FEATURE_USE_APPDOMAINS" : "OFF",
|
||||||
|
"NF_FEATURE_WATCHDOG" : "ON",
|
||||||
|
"NF_FEATURE_HAS_CONFIG_BLOCK" : "OFF",
|
||||||
|
"NF_FEATURE_HAS_SDCARD" : "OFF",
|
||||||
|
"NF_FEATURE_HAS_USB_MSD" : "OFF",
|
||||||
|
"NF_FEATURE_SUPPORT_REFLECTION": "ON",
|
||||||
|
"NF_PLATFORM_NO_CLR_TRACE" : "OFF",
|
||||||
|
"NF_CLR_NO_IL_INLINE" : "OFF",
|
||||||
|
"NF_INTEROP_ASSEMBLIES" : [],
|
||||||
|
"NF_NETWORKING_SNTP" : "OFF",
|
||||||
|
"NF_SECURITY_OPENSSL" : "OFF",
|
||||||
|
"NF_SECURITY_MBEDTLS" : "OFF",
|
||||||
|
"MBEDTLS_SOURCE" : "",
|
||||||
|
"API_Hardware.Esp32" : "OFF",
|
||||||
|
"API_Hardware.Stm32" : "ON",
|
||||||
|
"API_nanoFramework.Devices.Can" : "OFF",
|
||||||
|
"API_nanoFramework.Devices.OneWire" : "OFF",
|
||||||
|
"API_nanoFramework.System.Collections" : "ON",
|
||||||
|
"API_nanoFramework.System.Text" : "ON",
|
||||||
|
"API_System.Math" : "ON",
|
||||||
|
"API_System.Net" : "OFF",
|
||||||
|
"API_Windows.Devices.Adc" : "ON",
|
||||||
|
"API_Windows.Devices.Dac" : "OFF",
|
||||||
|
"API_Windows.Devices.Gpio" : "ON",
|
||||||
|
"API_Windows.Devices.I2c" : "ON",
|
||||||
|
"API_Windows.Devices.I2s" : "OFF",
|
||||||
|
"API_Windows.Devices.Pwm" : "ON",
|
||||||
|
"API_Windows.Devices.SerialCommunication" : "ON",
|
||||||
|
"API_Windows.Devices.Spi" : "ON",
|
||||||
|
"API_Windows.Devices.Wifi" : "OFF",
|
||||||
|
"API_Windows.Networking.Sockets" : "OFF",
|
||||||
|
"API_Windows.Storage" : "OFF"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -0,0 +1,109 @@
|
||||||
|
{
|
||||||
|
"version": "0.2.0",
|
||||||
|
"configurations": [
|
||||||
|
{
|
||||||
|
"name": "ST_STM32F411_DISCOVERY nanoBooter",
|
||||||
|
"type": "cppdbg",
|
||||||
|
"request": "launch",
|
||||||
|
"miDebuggerPath": "<absolute-path-to-the-toolchain-folder-mind-the-forward-slashes>/bin/arm-none-eabi-gdb.exe",
|
||||||
|
"targetArchitecture": "ARM",
|
||||||
|
"program": "${workspaceRoot}/build/nanoBooter.elf",
|
||||||
|
"setupCommands": [
|
||||||
|
{
|
||||||
|
"text": "target extended-remote localhost:3333"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "monitor reset_config none separate"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "monitor reset halt"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "monitor flash write_image erase \"<path-to-the-repo-root-mind-the-forward-slash>/build/nanoBooter.hex\" "
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "file <path-to-the-repo-root-mind-the-forward-slash>/build/nanoBooter.elf"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "set output-radix 16",
|
||||||
|
"description": "set the default numeric base to 16",
|
||||||
|
"ignoreFailures": false
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"customLaunchSetupCommands": [
|
||||||
|
{
|
||||||
|
"text": "monitor reset_config none separate"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "monitor reset halt"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"logging": {
|
||||||
|
"moduleLoad": false,
|
||||||
|
"trace": false,
|
||||||
|
"engineLogging": false,
|
||||||
|
"programOutput": true,
|
||||||
|
"exceptions": true
|
||||||
|
},
|
||||||
|
"launchCompleteCommand": "exec-continue",
|
||||||
|
"debugServerPath": "<absolute-path-to-openocd-mind-the-forward-slashes>/bin/openocd.exe",
|
||||||
|
"debugServerArgs": "-s \"<absolute-path-to-openocd-mind-the-forward-slashes>/scripts/\" -f board/stm32f4discovery.cfg",
|
||||||
|
"serverStarted": "Info\\ :\\ [\\w\\d\\.]*:\\ hardware",
|
||||||
|
"filterStderr": true,
|
||||||
|
"externalConsole": true,
|
||||||
|
"cwd": "${cwd}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "ST_STM32F411_DISCOVERY nanoCLR",
|
||||||
|
"type": "cppdbg",
|
||||||
|
"request": "launch",
|
||||||
|
"miDebuggerPath": "<absolute-path-to-the-toolchain-folder-mind-the-forward-slashes>/bin/arm-none-eabi-gdb.exe",
|
||||||
|
"targetArchitecture": "ARM",
|
||||||
|
"program": "${workspaceRoot}/build/nanoCLR.elf",
|
||||||
|
"setupCommands": [
|
||||||
|
{
|
||||||
|
"text": "target extended-remote localhost:3333"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "monitor reset_config none separate"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "monitor reset halt"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "monitor flash write_image erase \"<path-to-the-repo-root-mind-the-forward-slash>/build/nanoCLR.hex\" "
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "file <path-to-the-repo-root-mind-the-forward-slash>/build/nanoCLR.elf"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "set output-radix 16",
|
||||||
|
"description": "set the default numeric base to 16",
|
||||||
|
"ignoreFailures": false
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"customLaunchSetupCommands": [
|
||||||
|
{
|
||||||
|
"text": "monitor reset_config none separate"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "monitor reset halt"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"logging": {
|
||||||
|
"moduleLoad": false,
|
||||||
|
"trace": false,
|
||||||
|
"engineLogging": false,
|
||||||
|
"programOutput": true,
|
||||||
|
"exceptions": true
|
||||||
|
},
|
||||||
|
"launchCompleteCommand": "exec-continue",
|
||||||
|
"debugServerPath": "<absolute-path-to-openocd-mind-the-forward-slashes>/bin/openocd.exe",
|
||||||
|
"debugServerArgs": "-s \"<absolute-path-to-openocd-mind-the-forward-slashes>/scripts/\" -f board/stm32f4discovery.cfg",
|
||||||
|
"serverStarted": "Info\\ :\\ [\\w\\d\\.]*:\\ hardware",
|
||||||
|
"filterStderr": true,
|
||||||
|
"externalConsole": true,
|
||||||
|
"cwd": "${cwd}"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
|
@ -0,0 +1,80 @@
|
||||||
|
{
|
||||||
|
"buildType": {
|
||||||
|
"default": "debug",
|
||||||
|
"choices": {
|
||||||
|
"debug": {
|
||||||
|
"short": "Debug",
|
||||||
|
"long": "Emit debug information without performing optimizations",
|
||||||
|
"buildType": "Debug"
|
||||||
|
},
|
||||||
|
"minsize": {
|
||||||
|
"short": "MinSizeRel",
|
||||||
|
"long": "Optimize for smallest binary size",
|
||||||
|
"buildType": "MinSizeRel"
|
||||||
|
},
|
||||||
|
"reldeb": {
|
||||||
|
"short": "RelWithDebInfo",
|
||||||
|
"long": "Perform optimizations AND include debugging information",
|
||||||
|
"buildType": "RelWithDebInfo"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"linkage": {
|
||||||
|
"default": "",
|
||||||
|
"choices": {
|
||||||
|
"ST_STM32F4_DISCOVERY" : {
|
||||||
|
"short" : "ST_STM32F4_DISCOVERY",
|
||||||
|
"settings" : {
|
||||||
|
"BUILD_VERSION" : "1.2.63.407",
|
||||||
|
"TOOLCHAIN_PREFIX": "<absolute-path-to-the-toolchain-folder-mind-the-forward-slashes>",
|
||||||
|
"TOOL_HEX2DFU_PREFIX": "<absolute-path-to-hex2dfu-mind-the-forward-slashes>",
|
||||||
|
"ESP32_IDF_PATH" : "",
|
||||||
|
"ESP32_LIBS_PATH" : "",
|
||||||
|
"TARGET_SERIES" : "STM32F4xx",
|
||||||
|
"USE_RNG" : "ON",
|
||||||
|
"DP_FLOATINGPOINT" : "OFF",
|
||||||
|
"SUPPORT_ANY_BASE_CONVERSION" : "OFF",
|
||||||
|
"RTOS" : "CHIBIOS",
|
||||||
|
"RTOS_SOURCE_FOLDER" : "",
|
||||||
|
"TARGET_BOARD" : "ST_STM32F4_DISCOVERY",
|
||||||
|
"SWO_OUTPUT" : "ON",
|
||||||
|
"NF_BUILD_RTM" : "OFF",
|
||||||
|
"NF_WP_TRACE_ERRORS" : "OFF",
|
||||||
|
"NF_WP_TRACE_HEADERS" : "OFF",
|
||||||
|
"NF_WP_TRACE_STATE" : "OFF",
|
||||||
|
"NF_WP_TRACE_NODATA" : "OFF",
|
||||||
|
"NF_WP_TRACE_ALL" : "OFF",
|
||||||
|
"NF_WP_IMPLEMENTS_CRC32" : "OFF",
|
||||||
|
"NF_FEATURE_DEBUGGER" : "ON",
|
||||||
|
"NF_FEATURE_RTC" : "ON",
|
||||||
|
"NF_FEATURE_USE_APPDOMAINS" : "OFF",
|
||||||
|
"NF_FEATURE_WATCHDOG" : "ON",
|
||||||
|
"NF_FEATURE_HAS_CONFIG_BLOCK" : "OFF",
|
||||||
|
"NF_PLATFORM_NO_CLR_TRACE" : "OFF",
|
||||||
|
"NF_CLR_NO_IL_INLINE" : "OFF",
|
||||||
|
"NF_INTEROP_ASSEMBLIES" : [],
|
||||||
|
"NF_FEATURE_USE_FILESYSTEM" : "OFF",
|
||||||
|
"NF_NETWORKING_SNTP" : "OFF",
|
||||||
|
"NF_SECURITY_OPENSSL" : "OFF",
|
||||||
|
"NF_SECURITY_MBEDTLS" : "OFF",
|
||||||
|
"MBEDTLS_SOURCE" : "",
|
||||||
|
"API_Hardware.Esp32" : "OFF",
|
||||||
|
"API_Hardware.Stm32" : "ON",
|
||||||
|
"API_nanoFramework.Devices.Can" : "ON",
|
||||||
|
"API_nanoFramework.Devices.OneWire" : "ON",
|
||||||
|
"API_System.Math" : "ON",
|
||||||
|
"API_System.Net" : "OFF",
|
||||||
|
"API_Windows.Devices.Adc" : "ON",
|
||||||
|
"API_Windows.Devices.Gpio" : "ON",
|
||||||
|
"API_Windows.Devices.I2c" : "ON",
|
||||||
|
"API_Windows.Devices.Pwm" : "ON",
|
||||||
|
"API_Windows.Devices.SerialCommunication" : "ON",
|
||||||
|
"API_Windows.Devices.Spi" : "ON",
|
||||||
|
"API_Windows.Networking.Sockets" : "OFF",
|
||||||
|
"API_Windows.Storage" : "OFF"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -0,0 +1,109 @@
|
||||||
|
{
|
||||||
|
"version": "0.2.0",
|
||||||
|
"configurations": [
|
||||||
|
{
|
||||||
|
"name": "ST_STM32F4_DISCOVERY nanoBooter",
|
||||||
|
"type": "cppdbg",
|
||||||
|
"request": "launch",
|
||||||
|
"miDebuggerPath": "<absolute-path-to-the-toolchain-folder-mind-the-forward-slashes>/bin/arm-none-eabi-gdb.exe",
|
||||||
|
"targetArchitecture": "ARM",
|
||||||
|
"program": "${workspaceRoot}/build/nanoBooter.elf",
|
||||||
|
"setupCommands": [
|
||||||
|
{
|
||||||
|
"text": "target extended-remote localhost:3333"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "monitor reset_config none separate"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "monitor reset halt"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "monitor flash write_image erase \"<path-to-the-repo-root-mind-the-forward-slash>/build/nanoBooter.hex\" "
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "file <path-to-the-repo-root-mind-the-forward-slash>/build/nanoBooter.elf"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "set output-radix 16",
|
||||||
|
"description": "set the default numeric base to 16",
|
||||||
|
"ignoreFailures": false
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"customLaunchSetupCommands": [
|
||||||
|
{
|
||||||
|
"text": "monitor reset_config none separate"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "monitor reset halt"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"logging": {
|
||||||
|
"moduleLoad": false,
|
||||||
|
"trace": false,
|
||||||
|
"engineLogging": false,
|
||||||
|
"programOutput": true,
|
||||||
|
"exceptions": true
|
||||||
|
},
|
||||||
|
"launchCompleteCommand": "exec-continue",
|
||||||
|
"debugServerPath": "<absolute-path-to-openocd-mind-the-forward-slashes>/bin/openocd.exe",
|
||||||
|
"debugServerArgs": "-s \"<absolute-path-to-openocd-mind-the-forward-slashes>/scripts/\" -f board/stm32f4discovery.cfg",
|
||||||
|
"serverStarted": "Info\\ :\\ [\\w\\d\\.]*:\\ hardware",
|
||||||
|
"filterStderr": true,
|
||||||
|
"externalConsole": true,
|
||||||
|
"cwd": "${cwd}"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "ST_STM32F4_DISCOVERY nanoCLR",
|
||||||
|
"type": "cppdbg",
|
||||||
|
"request": "launch",
|
||||||
|
"miDebuggerPath": "<absolute-path-to-the-toolchain-folder-mind-the-forward-slashes>/bin/arm-none-eabi-gdb.exe",
|
||||||
|
"targetArchitecture": "ARM",
|
||||||
|
"program": "${workspaceRoot}/build/nanoCLR.elf",
|
||||||
|
"setupCommands": [
|
||||||
|
{
|
||||||
|
"text": "target extended-remote localhost:3333"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "monitor reset_config none separate"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "monitor reset halt"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "monitor flash write_image erase \"<path-to-the-repo-root-mind-the-forward-slash>/build/nanoCLR.hex\" "
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "file <path-to-the-repo-root-mind-the-forward-slash>/build/nanoCLR.elf"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "set output-radix 16",
|
||||||
|
"description": "set the default numeric base to 16",
|
||||||
|
"ignoreFailures": false
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"customLaunchSetupCommands": [
|
||||||
|
{
|
||||||
|
"text": "monitor reset_config none separate"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"text": "monitor reset halt"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"logging": {
|
||||||
|
"moduleLoad": false,
|
||||||
|
"trace": false,
|
||||||
|
"engineLogging": false,
|
||||||
|
"programOutput": true,
|
||||||
|
"exceptions": true
|
||||||
|
},
|
||||||
|
"launchCompleteCommand": "exec-continue",
|
||||||
|
"debugServerPath": "<absolute-path-to-openocd-mind-the-forward-slashes>/bin/openocd.exe",
|
||||||
|
"debugServerArgs": "-s \"<absolute-path-to-openocd-mind-the-forward-slashes>/scripts/\" -f board/stm32f4discovery.cfg",
|
||||||
|
"serverStarted": "Info\\ :\\ [\\w\\d\\.]*:\\ hardware",
|
||||||
|
"filterStderr": true,
|
||||||
|
"externalConsole": true,
|
||||||
|
"cwd": "${cwd}"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
Загрузка…
Ссылка в новой задаче