1 Star 4 Fork 1

蛋蛋/CSScriptBuilder

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Test.cs 1.67 KB
一键复制 编辑 原始数据 按行查看 历史
蛋蛋 提交于 2016-12-20 19:37 . 初步成果
//css_import ArmNoneEabiGccCppModule
using System;
using System.Threading;
using Build;
using CppBuild;
namespace testDll
{
public class host
{
public static void Main(string[] d)
{
ArmNoneEabiGccCppModule armncc = new ArmNoneEabiGccCppModule();
armncc.IsDebugBuilderLibrary = true;
armncc.AddCIncludePath(@"F:\VSProject\RTTVS2\RTTVS2\Drivers\CMSIS\Device\ST\STM32F1xx\Include",
@"F:\VSProject\RTTVS2\RTTVS2\Drivers\CMSIS\Include",
@"F:\VSProject\RTTVS2\RTTVS2\Drivers\STM32F1xx_HAL_Driver\Inc",
@"F:\VSProject\RTTVS2\RTTVS2\Drivers\STM32F1xx_HAL_Driver\Inc\Legacy",
@"F:\VSProject\RTTVS2\RTTVS2\Inc",
@"F:\VSProject\RTTVS2\RTTVS2\RTThread\Kernel\include",
@"F:\VSProject\RTTVS2\RTTVS2\RTThread\Port\inc");
armncc.AddCDefineList("STM32F103xE", "ARM_MATH_CM3", "STM32F103ZE");
armncc.AddCFile("main.c");
armncc.AddCFile("gpio.c");
armncc.AddCFile("mainTemplate.c");
armncc.AddCFile("RtThreadInit.c");
armncc.AddCFile("stm32f1xx_hal_msp.c");
armncc.AddCFile("stm32f1xx_it.c");
armncc.AddCFile("usart.c");
armncc.AddCFile("startup_stm32f103xg.s");
armncc.ArmThumb = ArmNoneEabiGccCppModule.ArmThumbs.Thumb;
armncc.ToolsPath = "E:/gcc-arm-none-eabi-4_9_win32";
armncc.Chip = ArmNoneEabiGccCppModule.Chips.Cortex_M3;
armncc.CStandard = Build.CppBuild.CStandardTypes.GNUC99;
armncc.OutBuildPath = "F:/VSProject/RTTVS2/RTTVS2/OutPut";
armncc.Building();
}
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C#
1
https://gitee.com/snikeguo/CSScriptBuilder.git
[email protected]:snikeguo/CSScriptBuilder.git
snikeguo
CSScriptBuilder
CSScriptBuilder
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385