diff --git a/board/ARC_NSIM_EM/GCC/hello_world/.cproject b/board/ARC_NSIM_EM/GCC/hello_world/.cproject new file mode 100644 index 00000000..c34a0fc6 --- /dev/null +++ b/board/ARC_NSIM_EM/GCC/hello_world/.cproject @@ -0,0 +1,259 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/board/ARC_NSIM_EM/GCC/hello_world/.project b/board/ARC_NSIM_EM/GCC/hello_world/.project new file mode 100644 index 00000000..4ab3d89a --- /dev/null +++ b/board/ARC_NSIM_EM/GCC/hello_world/.project @@ -0,0 +1,84 @@ + + + blinky + + + + + + 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.managedbuilder.core.managedBuildNature + org.eclipse.cdt.managedbuilder.core.ScannerConfigNature + + + + Makefile + 1 + C:/Users/jingru/Documents/git/embarc/TencentOS-tiny/board/ARC_NSIM_EM/GCC/hello_world/Makefile + + + tencentos + 2 + virtual:/virtual + + + tencentos/arch + 2 + C:/Users/jingru/Documents/git/embarc/TencentOS-tiny/arch + + + tencentos/board + 2 + C:/Users/jingru/Documents/git/embarc/TencentOS-tiny/board + + + tencentos/components + 2 + C:/Users/jingru/Documents/git/embarc/TencentOS-tiny/components + + + tencentos/devices + 2 + C:/Users/jingru/Documents/git/embarc/TencentOS-tiny/devices + + + tencentos/kernel + 2 + C:/Users/jingru/Documents/git/embarc/TencentOS-tiny/kernel + + + tencentos/net + 2 + C:/Users/jingru/Documents/git/embarc/TencentOS-tiny/net + + + tencentos/osal + 2 + C:/Users/jingru/Documents/git/embarc/TencentOS-tiny/osal + + + tencentos/platform + 2 + C:/Users/jingru/Documents/git/embarc/TencentOS-tiny/platform + + + + + TencentOS_ROOT + file:/C:/Users/jingru/Documents/git/tencentos/TencentOS-tiny + + + diff --git a/board/ARC_NSIM_EM/GCC/hello_world/IDE调试步骤.md b/board/ARC_NSIM_EM/GCC/hello_world/IDE调试步骤.md new file mode 100644 index 00000000..6533512d --- /dev/null +++ b/board/ARC_NSIM_EM/GCC/hello_world/IDE调试步骤.md @@ -0,0 +1,14 @@ +### 运行IDE步骤 + +1. 修改文件`.project`中tencentos-tiny的路径 + +``` + + + TencentOS_ROOT + file:/C:/Users/jingru/Documents/git/tencentos/TencentOS-tiny + + +``` +2. 打开ide,点击**File->Open Projects From File system**, 添加`hello_world`根路径。 +3. 点击**Denug**启动调试 \ No newline at end of file diff --git a/board/ARC_NSIM_EM/GCC/hello_world/blinky-arcem.launch b/board/ARC_NSIM_EM/GCC/hello_world/blinky-arcem.launch new file mode 100644 index 00000000..fc5527c1 --- /dev/null +++ b/board/ARC_NSIM_EM/GCC/hello_world/blinky-arcem.launch @@ -0,0 +1,92 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +