From d627bf2d1f2a3737e1adbc0dae1739ef2bc3b60a Mon Sep 17 00:00:00 2001 From: mbedNoobNinja Date: Tue, 31 Jan 2017 10:23:21 +0200 Subject: [PATCH] Export IDE support added --- targets/targets.json | 3 +- tools/export/ds5_5/vk_rz_a1h.cproject.tmpl | 115 +++++++ tools/export/ds5_5/vk_rz_a1h.launch.tmpl | 111 ++++++ tools/export/ds5_5/vk_rz_a1h.project.tmpl | 83 +++++ tools/export/e2studio/vk_rz_a1h_cproject.tmpl | 318 ++++++++++++++++++ tools/export/e2studio/vk_rz_a1h_gdbinit.tmpl | 29 ++ tools/export/e2studio/vk_rz_a1h_project.tmpl | 27 ++ tools/export/iar/iar_definitions.json | 7 + 8 files changed, 692 insertions(+), 1 deletion(-) create mode 100644 tools/export/ds5_5/vk_rz_a1h.cproject.tmpl create mode 100644 tools/export/ds5_5/vk_rz_a1h.launch.tmpl create mode 100644 tools/export/ds5_5/vk_rz_a1h.project.tmpl create mode 100644 tools/export/e2studio/vk_rz_a1h_cproject.tmpl create mode 100644 tools/export/e2studio/vk_rz_a1h_gdbinit.tmpl create mode 100644 tools/export/e2studio/vk_rz_a1h_project.tmpl diff --git a/targets/targets.json b/targets/targets.json index c6c453a3044..d9d6b93b7b7 100644 --- a/targets/targets.json +++ b/targets/targets.json @@ -1852,7 +1852,8 @@ "device_has": ["ANALOGIN", "CAN", "ERROR_PATTERN", "ETHERNET", "I2C", "I2CSLAVE", "INTERRUPTIN", "PORTIN", "PORTINOUT", "PORTOUT", "PWMOUT", "RTC", "SERIAL", "SERIAL_FC", "SPI", "SPISLAVE", "STDIO_MESSAGES"], "features": ["LWIP"], "default_lib": "std", - "release_versions": ["2", "5"] + "release_versions": ["2", "5"], + "device_name": "r7s721000" }, "MAXWSNENV": { "inherits": ["Target"], diff --git a/tools/export/ds5_5/vk_rz_a1h.cproject.tmpl b/tools/export/ds5_5/vk_rz_a1h.cproject.tmpl new file mode 100644 index 00000000000..04a6254c2a0 --- /dev/null +++ b/tools/export/ds5_5/vk_rz_a1h.cproject.tmpl @@ -0,0 +1,115 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tools/export/ds5_5/vk_rz_a1h.launch.tmpl b/tools/export/ds5_5/vk_rz_a1h.launch.tmpl new file mode 100644 index 00000000000..4978e953f70 --- /dev/null +++ b/tools/export/ds5_5/vk_rz_a1h.launch.tmpl @@ -0,0 +1,111 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tools/export/ds5_5/vk_rz_a1h.project.tmpl b/tools/export/ds5_5/vk_rz_a1h.project.tmpl new file mode 100644 index 00000000000..ad5694893b7 --- /dev/null +++ b/tools/export/ds5_5/vk_rz_a1h.project.tmpl @@ -0,0 +1,83 @@ + + + {{name}}_ds5_vk_rz_a1h + + + + + + org.eclipse.cdt.managedbuilder.core.genmakebuilder + clean,full,incremental, + + + ?name? + + + + org.eclipse.cdt.make.core.append_environment + true + + + org.eclipse.cdt.make.core.autoBuildTarget + all + + + org.eclipse.cdt.make.core.buildArguments + + + + org.eclipse.cdt.make.core.buildCommand + make + + + org.eclipse.cdt.make.core.buildLocation + ${workspace_loc:/ds5_vk_rz_a1h/Build} + + + org.eclipse.cdt.make.core.cleanBuildTarget + clean + + + org.eclipse.cdt.make.core.contents + org.eclipse.cdt.make.core.activeConfigSettings + + + org.eclipse.cdt.make.core.enableAutoBuild + false + + + org.eclipse.cdt.make.core.enableCleanBuild + true + + + org.eclipse.cdt.make.core.enableFullBuild + true + + + org.eclipse.cdt.make.core.fullBuildTarget + all + + + org.eclipse.cdt.make.core.stopOnError + true + + + org.eclipse.cdt.make.core.useDefaultBuildCmd + true + + + + + org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder + full,incremental, + + + + + + org.eclipse.cdt.core.cnature + org.eclipse.cdt.core.ccnature + org.eclipse.cdt.managedbuilder.core.managedBuildNature + org.eclipse.cdt.managedbuilder.core.ScannerConfigNature + + diff --git a/tools/export/e2studio/vk_rz_a1h_cproject.tmpl b/tools/export/e2studio/vk_rz_a1h_cproject.tmpl new file mode 100644 index 00000000000..85dcd994245 --- /dev/null +++ b/tools/export/e2studio/vk_rz_a1h_cproject.tmpl @@ -0,0 +1,318 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tools/export/e2studio/vk_rz_a1h_gdbinit.tmpl b/tools/export/e2studio/vk_rz_a1h_gdbinit.tmpl new file mode 100644 index 00000000000..a59f78c10cd --- /dev/null +++ b/tools/export/e2studio/vk_rz_a1h_gdbinit.tmpl @@ -0,0 +1,29 @@ +define hook-step +mon cortex_a maskisr on +end + +define hook-stepi +mon cortex_a maskisr on +end + +define hook-next +mon cortex_a maskisr on +end + +define hook-nexti +mon cortex_a maskisr on +end + +define hook-finish +mon cortex_a maskisr on +end + +define hook-stop +mon cortex_a maskisr off +end + +define hook-kill +mon reset init +end + +set mem inaccessible-by-default off \ No newline at end of file diff --git a/tools/export/e2studio/vk_rz_a1h_project.tmpl b/tools/export/e2studio/vk_rz_a1h_project.tmpl new file mode 100644 index 00000000000..0bab8dd408e --- /dev/null +++ b/tools/export/e2studio/vk_rz_a1h_project.tmpl @@ -0,0 +1,27 @@ + + + {{name}} + This file was automagically generated by mbed.org. For more information, see http://mbed.org/handbook/Exporting-To-e2studio + + + + + org.eclipse.cdt.managedbuilder.core.genmakebuilder + clean,full,incremental, + + + + + org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder + full,incremental, + + + + + + org.eclipse.cdt.core.cnature + org.eclipse.cdt.core.ccnature + org.eclipse.cdt.managedbuilder.core.managedBuildNature + org.eclipse.cdt.managedbuilder.core.ScannerConfigNature + + diff --git a/tools/export/iar/iar_definitions.json b/tools/export/iar/iar_definitions.json index 9ca7eb80446..e4e5851029d 100644 --- a/tools/export/iar/iar_definitions.json +++ b/tools/export/iar/iar_definitions.json @@ -140,6 +140,13 @@ "GBECoreSlave": 37, "NEON":1 }, + "r7s721000": { + "OGChipSelectEditMenu": "R7S721000\tRenesas R7S721000", + "CoreVariant": 37, + "GFPUCoreSlave": 37, + "GBECoreSlave": 37, + "NEON":1 + }, "MKL05Z32xxx4": { "OGChipSelectEditMenu": "MKL05Z32xxx4\tFreescale MKL05Z32xxx4" },