added tirtos
This commit is contained in:
parent
40aa61ba98
commit
c318ec3f35
30 changed files with 2172 additions and 1062 deletions
1
.config/xconfig_rtos/.buildtime
Normal file
1
.config/xconfig_rtos/.buildtime
Normal file
|
|
@ -0,0 +1 @@
|
|||
C:\Users\gene\OneDrive - Worcester Polytechnic Institute (wpi.edu)\ECE3849\workspace_v9\ece3849_lab2_starter\.config\xconfig_rtos\.buildtime
|
||||
0
.config/xconfig_rtos/.interfaces
Normal file
0
.config/xconfig_rtos/.interfaces
Normal file
16
.config/xconfig_rtos/.xdcenv.mak
Normal file
16
.config/xconfig_rtos/.xdcenv.mak
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
#
|
||||
_XDCBUILDCOUNT = 0
|
||||
ifneq (,$(findstring path,$(_USEXDCENV_)))
|
||||
override XDCPATH = C:/ti/tirtos_tivac_2_16_01_14/packages;C:/ti/tirtos_tivac_2_16_01_14/products/tidrivers_tivac_2_16_01_13/packages;C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages;C:/ti/tirtos_tivac_2_16_01_14/products/ndk_2_25_00_09/packages;C:/ti/tirtos_tivac_2_16_01_14/products/uia_2_00_05_50/packages;C:/ti/tirtos_tivac_2_16_01_14/products/ns_1_11_00_10/packages;C:/ti/ccs930/ccs/ccs_base;C:/Users/gene/ONEDRI~1.EDU/ECE3849/workspace_v9/ece3849_lab2_starter/.config
|
||||
override XDCROOT = C:/ti/xdctools_3_32_00_06_core
|
||||
override XDCBUILDCFG = ./config.bld
|
||||
endif
|
||||
ifneq (,$(findstring args,$(_USEXDCENV_)))
|
||||
override XDCARGS =
|
||||
override XDCTARGETS =
|
||||
endif
|
||||
#
|
||||
ifeq (0,1)
|
||||
PKGPATH = C:/ti/tirtos_tivac_2_16_01_14/packages;C:/ti/tirtos_tivac_2_16_01_14/products/tidrivers_tivac_2_16_01_13/packages;C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages;C:/ti/tirtos_tivac_2_16_01_14/products/ndk_2_25_00_09/packages;C:/ti/tirtos_tivac_2_16_01_14/products/uia_2_00_05_50/packages;C:/ti/tirtos_tivac_2_16_01_14/products/ns_1_11_00_10/packages;C:/ti/ccs930/ccs/ccs_base;C:/Users/gene/ONEDRI~1.EDU/ECE3849/workspace_v9/ece3849_lab2_starter/.config;C:/ti/xdctools_3_32_00_06_core/packages;..
|
||||
HOSTOS = Windows
|
||||
endif
|
||||
1
.config/xconfig_rtos/compiler.opt
Normal file
1
.config/xconfig_rtos/compiler.opt
Normal file
|
|
@ -0,0 +1 @@
|
|||
--endian=little -mv7M4 --abi=eabi --float_support=fpv4spd16 -I"C:/ti/tirtos_tivac_2_16_01_14/packages" -I"C:/ti/tirtos_tivac_2_16_01_14/products/tidrivers_tivac_2_16_01_13/packages" -I"C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages" -I"C:/ti/tirtos_tivac_2_16_01_14/products/ndk_2_25_00_09/packages" -I"C:/ti/tirtos_tivac_2_16_01_14/products/uia_2_00_05_50/packages" -I"C:/ti/tirtos_tivac_2_16_01_14/products/ns_1_11_00_10/packages" -I"C:/ti/ccs930/ccs/ccs_base" -I"C:/Users/gene/ONEDRI~1.EDU/ECE3849/workspace_v9/ece3849_lab2_starter/.config" -I"C:/ti/xdctools_3_32_00_06_core/packages" -I"C:/Users/gene/OneDrive - Worcester Polytechnic Institute (wpi.edu)/ECE3849/workspace_v9/ece3849_lab2_starter/.config/xconfig_rtos/.." -IC:/ti/ccs930/ccs/tools/compiler/ti-cgt-arm_18.12.5.LTS/include/rts -IC:/ti/ccs930/ccs/tools/compiler/ti-cgt-arm_18.12.5.LTS/include -Dxdc_target_types__="ti/targets/arm/elf/std.h" -Dxdc_target_name__=M4F -Dxdc_cfg__xheader__="\"C:/Users/gene/OneDrive - Worcester Polytechnic Institute (wpi.edu)/ECE3849/workspace_v9/ece3849_lab2_starter/.config/xconfig_rtos/package/cfg/rtos_pem4f.h\""
|
||||
1
.config/xconfig_rtos/compiler.opt.defs
Normal file
1
.config/xconfig_rtos/compiler.opt.defs
Normal file
|
|
@ -0,0 +1 @@
|
|||
-I"C:/ti/tirtos_tivac_2_16_01_14/packages" -I"C:/ti/tirtos_tivac_2_16_01_14/products/tidrivers_tivac_2_16_01_13/packages" -I"C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages" -I"C:/ti/tirtos_tivac_2_16_01_14/products/ndk_2_25_00_09/packages" -I"C:/ti/tirtos_tivac_2_16_01_14/products/uia_2_00_05_50/packages" -I"C:/ti/tirtos_tivac_2_16_01_14/products/ns_1_11_00_10/packages" -I"C:/ti/ccs930/ccs/ccs_base" -I"C:/Users/gene/ONEDRI~1.EDU/ECE3849/workspace_v9/ece3849_lab2_starter/.config" -I"C:/ti/xdctools_3_32_00_06_core/packages" -I"C:/Users/gene/OneDrive - Worcester Polytechnic Institute (wpi.edu)/ECE3849/workspace_v9/ece3849_lab2_starter/.config/xconfig_rtos/.." -IC:/ti/ccs930/ccs/tools/compiler/ti-cgt-arm_18.12.5.LTS/include/rts -IC:/ti/ccs930/ccs/tools/compiler/ti-cgt-arm_18.12.5.LTS/include -Dxdc_target_types__="ti/targets/arm/elf/std.h" -Dxdc_target_name__=M4F -Dxdc_cfg__xheader__="\"C:/Users/gene/OneDrive - Worcester Polytechnic Institute (wpi.edu)/ECE3849/workspace_v9/ece3849_lab2_starter/.config/xconfig_rtos/package/cfg/rtos_pem4f.h\""
|
||||
24
.config/xconfig_rtos/config.bld
Normal file
24
.config/xconfig_rtos/config.bld
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
/* THIS IS A GENERATED FILE -- DO NOT EDIT */
|
||||
|
||||
var target; /* the target used for this build */
|
||||
|
||||
/* configuro was passed the target's name explicitly */
|
||||
try {
|
||||
target = xdc.module('ti.targets.arm.elf.M4F');
|
||||
}
|
||||
catch (e) {
|
||||
throw new Error("Can't find the target named '" + 'ti.targets.arm.elf.M4F'
|
||||
+ "' along the path '" + environment["xdc.path"]
|
||||
+ "': please check the spelling of the target's name and that it exists along this path.");
|
||||
}
|
||||
if (!(target instanceof xdc.module("xdc.bld.ITarget").Module)) {
|
||||
throw new Error("The module named 'ti.targets.arm.elf.M4F' exists but it's not a target: please check the spelling of the target's name");
|
||||
}
|
||||
|
||||
/* configuro was passed compiler options explicitly */
|
||||
target.ccOpts.prefix = unescape("-mv7M4%20--code_state%3D16%20--float_support%3DFPv4SPD16%20-me%20-O1%20--opt_for_speed%3D2%20--include_path%3D%22C%3A/Users/gene/OneDrive%20-%20Worcester%20Polytechnic%20Institute%20%28wpi.edu%29/ECE3849/workspace_v9/ece3849_lab2_starter%22%20--include_path%3D%22C%3A/Users/gene/OneDrive%20-%20Worcester%20Polytechnic%20Institute%20%28wpi.edu%29/ECE3849/workspace_v9/ece3849_lab2_starter%22%20--include_path%3D%22C%3A/ti/tirtos_tivac_2_16_01_14/products/TivaWare_C_Series-2.1.1.71b%22%20--include_path%3D%22C%3A/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_01_29/packages/ti/sysbios/posix%22%20--include_path%3D%22C%3A/ti/ccs930/ccs/tools/compiler/ti-cgt-arm_18.12.5.LTS/include%22%20--define%3Dccs%3D%22ccs%22%20--define%3DPART_TM4C1294NCPDT%20--define%3Dccs%20--define%3DTIVAWARE%20-g%20--gcc%20--diag_warning%3D225%20--diag_warning%3D255%20--diag_wrap%3Doff%20--display_error_number%20--gen_func_subsections%3Don%20--abi%3Deabi%20%20%20") + target.ccOpts.prefix;
|
||||
|
||||
/* configuro was passed the target's rootDir explicitly */
|
||||
target.rootDir = 'C:/ti/ccs930/ccs/tools/compiler/ti-cgt-arm_18.12.5.LTS';
|
||||
|
||||
Build.targets = [target];
|
||||
11
.config/xconfig_rtos/custom.mak
Normal file
11
.config/xconfig_rtos/custom.mak
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
## THIS IS A GENERATED FILE -- DO NOT EDIT
|
||||
.configuro: .libraries,em4f linker.cmd package/cfg/rtos_pem4f.oem4f
|
||||
|
||||
# To simplify configuro usage in makefiles:
|
||||
# o create a generic linker command file name
|
||||
# o set modification times of compiler.opt* files to be greater than
|
||||
# or equal to the generated config header
|
||||
#
|
||||
linker.cmd: package/cfg/rtos_pem4f.xdl
|
||||
$(SED) 's"^\"\(package/cfg/rtos_pem4fcfg.cmd\)\"$""\"C:/Users/gene/OneDrive - Worcester Polytechnic Institute (wpi.edu)/ECE3849/workspace_v9/ece3849_lab2_starter/.config/xconfig_rtos/\1\""' package/cfg/rtos_pem4f.xdl > $@
|
||||
-$(SETDATE) -r:max package/cfg/rtos_pem4f.h compiler.opt compiler.opt.defs
|
||||
78
.config/xconfig_rtos/package.bld
Normal file
78
.config/xconfig_rtos/package.bld
Normal file
|
|
@ -0,0 +1,78 @@
|
|||
/* THIS IS A GENERATED FILE -- DO NOT EDIT */
|
||||
|
||||
var targ = xdc.module('ti.targets.arm.elf.M4F');
|
||||
/* configuro was told the platform explicitly */
|
||||
var platform = 'ti.platforms.tiva:TM4C1294NCPDT';
|
||||
|
||||
/* decide whether to make an assembly or an executable */
|
||||
var makeAssembly = false;
|
||||
|
||||
|
||||
var Executable = xdc.module('xdc.bld.Executable');
|
||||
|
||||
var exeOpts = new Executable.Attrs({
|
||||
cfgScript: 'C:/Users/gene/OneDrive - Worcester Polytechnic Institute (wpi.edu)/ECE3849/workspace_v9/ece3849_lab2_starter/rtos.cfg',
|
||||
profile: 'release',
|
||||
cfgHome: 'xconfig_rtos',
|
||||
});
|
||||
|
||||
exeOpts.cfgArgs = 'null';
|
||||
exeOpts.cfgArgsEncoded = true;
|
||||
|
||||
var exe = Pkg[makeAssembly ? 'addAssembly': 'addExecutable'](
|
||||
'rtos',
|
||||
targ,
|
||||
platform,
|
||||
exeOpts
|
||||
);
|
||||
|
||||
/*
|
||||
* Generate the compiler.opt file
|
||||
* Do this here instead of during the initial creation of the configuro
|
||||
* package, because the contents of any config.bld script are unknown
|
||||
* at that time. Config.bld can't be executed until the XDC build phase.
|
||||
*/
|
||||
if (makeAssembly) {
|
||||
var suffix = targ.dllExt || '.p' + targ.suffix;
|
||||
}
|
||||
else {
|
||||
var suffix = '.p' + targ.suffix;
|
||||
}
|
||||
|
||||
var thisObj = {
|
||||
cfg: 'C:/Users/gene/OneDrive - Worcester Polytechnic Institute (wpi.edu)/ECE3849/workspace_v9/ece3849_lab2_starter/rtos.cfg',
|
||||
outputPath: 'C:/Users/gene/OneDrive - Worcester Polytechnic Institute (wpi.edu)/ECE3849/workspace_v9/ece3849_lab2_starter/.config/xconfig_rtos',
|
||||
exeName: 'rtos' + suffix,
|
||||
exeIntName: 'rtos' + suffix.replace('.', '_'),
|
||||
targ: targ,
|
||||
linkerCommandFile: 'linker.cmd',
|
||||
compilerOptFile: 'compiler.opt',
|
||||
compilerDefsFile: 'compiler.opt' + ".defs",
|
||||
makeAssembly: makeAssembly
|
||||
};
|
||||
var tmpl = xdc.loadTemplate('xdc/tools/configuro/template/compiler.opt.xdt');
|
||||
tmpl.genFile('compiler.opt', thisObj, [], false);
|
||||
|
||||
/*
|
||||
* Generate the custom makefile.
|
||||
*/
|
||||
var tmpl = xdc.loadTemplate('xdc/tools/configuro/template/' +
|
||||
(makeAssembly? 'custom.mak.asm.xdt' : 'custom.mak.exe.xdt'));
|
||||
tmpl.genFile('custom.mak', thisObj, [], false);
|
||||
Pkg.makeEpilogue = "include custom.mak";
|
||||
|
||||
/*
|
||||
* Generate the package script.
|
||||
*/
|
||||
var tmpl = xdc.loadTemplate('xdc/tools/configuro/template/package.xs.xdt');
|
||||
tmpl.genFile('package.xs', thisObj, [], false);
|
||||
|
||||
if (makeAssembly) {
|
||||
/*
|
||||
* Generate the linker options into a staging file, so that the presence or
|
||||
* age of the advertised linker command file can be the makefile trigger to
|
||||
* rebuild the package from the user's config script.
|
||||
*/
|
||||
var tmpl = xdc.loadTemplate('xdc/tools/configuro/template/linker.cmd.asm.xdt');
|
||||
tmpl.genFile('linker.cmd.cp', thisObj, [], false);
|
||||
}
|
||||
256
.config/xconfig_rtos/package.mak
Normal file
256
.config/xconfig_rtos/package.mak
Normal file
|
|
@ -0,0 +1,256 @@
|
|||
#
|
||||
# Do not edit this file. This file is generated from
|
||||
# package.bld. Any modifications to this file will be
|
||||
# overwritten whenever makefiles are re-generated.
|
||||
#
|
||||
|
||||
unexport MAKEFILE_LIST
|
||||
MK_NOGENDEPS := $(filter clean,$(MAKECMDGOALS))
|
||||
override PKGDIR = xconfig_rtos
|
||||
XDCINCS = -I. -I$(strip $(subst ;, -I,$(subst $(space),\$(space),$(XPKGPATH))))
|
||||
XDCCFGDIR = package/cfg/
|
||||
|
||||
#
|
||||
# The following dependencies ensure package.mak is rebuilt
|
||||
# in the event that some included BOM script changes.
|
||||
#
|
||||
ifneq (clean,$(MAKECMDGOALS))
|
||||
C:/ti/xdctools_3_32_00_06_core/packages/xdc/utils.js:
|
||||
package.mak: C:/ti/xdctools_3_32_00_06_core/packages/xdc/utils.js
|
||||
C:/ti/xdctools_3_32_00_06_core/packages/xdc/xdc.tci:
|
||||
package.mak: C:/ti/xdctools_3_32_00_06_core/packages/xdc/xdc.tci
|
||||
C:/ti/xdctools_3_32_00_06_core/packages/xdc/template.xs:
|
||||
package.mak: C:/ti/xdctools_3_32_00_06_core/packages/xdc/template.xs
|
||||
C:/ti/xdctools_3_32_00_06_core/packages/xdc/om2.xs:
|
||||
package.mak: C:/ti/xdctools_3_32_00_06_core/packages/xdc/om2.xs
|
||||
C:/ti/xdctools_3_32_00_06_core/packages/xdc/xmlgen.xs:
|
||||
package.mak: C:/ti/xdctools_3_32_00_06_core/packages/xdc/xmlgen.xs
|
||||
C:/ti/xdctools_3_32_00_06_core/packages/xdc/xmlgen2.xs:
|
||||
package.mak: C:/ti/xdctools_3_32_00_06_core/packages/xdc/xmlgen2.xs
|
||||
C:/ti/xdctools_3_32_00_06_core/packages/xdc/Warnings.xs:
|
||||
package.mak: C:/ti/xdctools_3_32_00_06_core/packages/xdc/Warnings.xs
|
||||
C:/ti/xdctools_3_32_00_06_core/packages/xdc/IPackage.xs:
|
||||
package.mak: C:/ti/xdctools_3_32_00_06_core/packages/xdc/IPackage.xs
|
||||
C:/ti/xdctools_3_32_00_06_core/packages/xdc/package.xs:
|
||||
package.mak: C:/ti/xdctools_3_32_00_06_core/packages/xdc/package.xs
|
||||
C:/ti/xdctools_3_32_00_06_core/packages/xdc/services/global/Clock.xs:
|
||||
package.mak: C:/ti/xdctools_3_32_00_06_core/packages/xdc/services/global/Clock.xs
|
||||
C:/ti/xdctools_3_32_00_06_core/packages/xdc/services/global/Trace.xs:
|
||||
package.mak: C:/ti/xdctools_3_32_00_06_core/packages/xdc/services/global/Trace.xs
|
||||
C:/ti/xdctools_3_32_00_06_core/packages/xdc/bld/bld.js:
|
||||
package.mak: C:/ti/xdctools_3_32_00_06_core/packages/xdc/bld/bld.js
|
||||
C:/ti/xdctools_3_32_00_06_core/packages/xdc/bld/BuildEnvironment.xs:
|
||||
package.mak: C:/ti/xdctools_3_32_00_06_core/packages/xdc/bld/BuildEnvironment.xs
|
||||
C:/ti/xdctools_3_32_00_06_core/packages/xdc/bld/PackageContents.xs:
|
||||
package.mak: C:/ti/xdctools_3_32_00_06_core/packages/xdc/bld/PackageContents.xs
|
||||
C:/ti/xdctools_3_32_00_06_core/packages/xdc/bld/_gen.xs:
|
||||
package.mak: C:/ti/xdctools_3_32_00_06_core/packages/xdc/bld/_gen.xs
|
||||
C:/ti/xdctools_3_32_00_06_core/packages/xdc/bld/Library.xs:
|
||||
package.mak: C:/ti/xdctools_3_32_00_06_core/packages/xdc/bld/Library.xs
|
||||
C:/ti/xdctools_3_32_00_06_core/packages/xdc/bld/Executable.xs:
|
||||
package.mak: C:/ti/xdctools_3_32_00_06_core/packages/xdc/bld/Executable.xs
|
||||
C:/ti/xdctools_3_32_00_06_core/packages/xdc/bld/Repository.xs:
|
||||
package.mak: C:/ti/xdctools_3_32_00_06_core/packages/xdc/bld/Repository.xs
|
||||
C:/ti/xdctools_3_32_00_06_core/packages/xdc/bld/Configuration.xs:
|
||||
package.mak: C:/ti/xdctools_3_32_00_06_core/packages/xdc/bld/Configuration.xs
|
||||
C:/ti/xdctools_3_32_00_06_core/packages/xdc/bld/Script.xs:
|
||||
package.mak: C:/ti/xdctools_3_32_00_06_core/packages/xdc/bld/Script.xs
|
||||
C:/ti/xdctools_3_32_00_06_core/packages/xdc/bld/Manifest.xs:
|
||||
package.mak: C:/ti/xdctools_3_32_00_06_core/packages/xdc/bld/Manifest.xs
|
||||
C:/ti/xdctools_3_32_00_06_core/packages/xdc/bld/Utils.xs:
|
||||
package.mak: C:/ti/xdctools_3_32_00_06_core/packages/xdc/bld/Utils.xs
|
||||
C:/ti/xdctools_3_32_00_06_core/packages/xdc/bld/ITarget.xs:
|
||||
package.mak: C:/ti/xdctools_3_32_00_06_core/packages/xdc/bld/ITarget.xs
|
||||
C:/ti/xdctools_3_32_00_06_core/packages/xdc/bld/ITarget2.xs:
|
||||
package.mak: C:/ti/xdctools_3_32_00_06_core/packages/xdc/bld/ITarget2.xs
|
||||
C:/ti/xdctools_3_32_00_06_core/packages/xdc/bld/ITarget3.xs:
|
||||
package.mak: C:/ti/xdctools_3_32_00_06_core/packages/xdc/bld/ITarget3.xs
|
||||
C:/ti/xdctools_3_32_00_06_core/packages/xdc/bld/ITargetFilter.xs:
|
||||
package.mak: C:/ti/xdctools_3_32_00_06_core/packages/xdc/bld/ITargetFilter.xs
|
||||
C:/ti/xdctools_3_32_00_06_core/packages/xdc/bld/package.xs:
|
||||
package.mak: C:/ti/xdctools_3_32_00_06_core/packages/xdc/bld/package.xs
|
||||
package.mak: config.bld
|
||||
C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/targets/ITarget.xs:
|
||||
package.mak: C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/targets/ITarget.xs
|
||||
C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/targets/C28_large.xs:
|
||||
package.mak: C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/targets/C28_large.xs
|
||||
C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/targets/C28_float.xs:
|
||||
package.mak: C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/targets/C28_float.xs
|
||||
C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/targets/package.xs:
|
||||
package.mak: C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/targets/package.xs
|
||||
C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/targets/arm/elf/IArm.xs:
|
||||
package.mak: C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/targets/arm/elf/IArm.xs
|
||||
C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/targets/arm/elf/package.xs:
|
||||
package.mak: C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/targets/arm/elf/package.xs
|
||||
package.mak: package.bld
|
||||
C:/ti/xdctools_3_32_00_06_core/packages/xdc/tools/configuro/template/compiler.opt.xdt:
|
||||
package.mak: C:/ti/xdctools_3_32_00_06_core/packages/xdc/tools/configuro/template/compiler.opt.xdt
|
||||
C:/ti/xdctools_3_32_00_06_core/packages/xdc/services/io/File.xs:
|
||||
package.mak: C:/ti/xdctools_3_32_00_06_core/packages/xdc/services/io/File.xs
|
||||
C:/ti/xdctools_3_32_00_06_core/packages/xdc/services/io/package.xs:
|
||||
package.mak: C:/ti/xdctools_3_32_00_06_core/packages/xdc/services/io/package.xs
|
||||
C:/ti/xdctools_3_32_00_06_core/packages/xdc/tools/configuro/template/compiler.defs.xdt:
|
||||
package.mak: C:/ti/xdctools_3_32_00_06_core/packages/xdc/tools/configuro/template/compiler.defs.xdt
|
||||
C:/ti/xdctools_3_32_00_06_core/packages/xdc/tools/configuro/template/custom.mak.exe.xdt:
|
||||
package.mak: C:/ti/xdctools_3_32_00_06_core/packages/xdc/tools/configuro/template/custom.mak.exe.xdt
|
||||
C:/ti/xdctools_3_32_00_06_core/packages/xdc/tools/configuro/template/package.xs.xdt:
|
||||
package.mak: C:/ti/xdctools_3_32_00_06_core/packages/xdc/tools/configuro/template/package.xs.xdt
|
||||
endif
|
||||
|
||||
ti.targets.arm.elf.M4F.rootDir ?= C:/ti/ccs930/ccs/tools/compiler/ti-cgt-arm_18.12.5.LTS
|
||||
ti.targets.arm.elf.packageBase ?= C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_02_31/packages/ti/targets/arm/elf/
|
||||
.PRECIOUS: $(XDCCFGDIR)/%.oem4f
|
||||
.PHONY: all,em4f .dlls,em4f .executables,em4f test,em4f
|
||||
all,em4f: .executables,em4f
|
||||
.executables,em4f: .libraries,em4f
|
||||
.executables,em4f: .dlls,em4f
|
||||
.dlls,em4f: .libraries,em4f
|
||||
.libraries,em4f: .interfaces
|
||||
@$(RM) $@
|
||||
@$(TOUCH) "$@"
|
||||
|
||||
.help::
|
||||
@$(ECHO) xdc test,em4f
|
||||
@$(ECHO) xdc .executables,em4f
|
||||
@$(ECHO) xdc .libraries,em4f
|
||||
@$(ECHO) xdc .dlls,em4f
|
||||
|
||||
|
||||
all: .executables
|
||||
.executables: .libraries .dlls
|
||||
.libraries: .interfaces
|
||||
|
||||
PKGCFGS := $(wildcard package.xs) package/build.cfg
|
||||
.interfaces: package/package.xdc.inc package/package.defs.h package.xdc $(PKGCFGS)
|
||||
|
||||
-include package/package.xdc.dep
|
||||
package/%.xdc.inc package/%_xconfig_rtos.c package/%.defs.h: %.xdc $(PKGCFGS)
|
||||
@$(MSG) generating interfaces for package xconfig_rtos" (because $@ is older than $(firstword $?))" ...
|
||||
$(XSRUN) -f xdc/services/intern/cmd/build.xs $(MK_IDLOPTS) -m package/package.xdc.dep -i package/package.xdc.inc package.xdc
|
||||
|
||||
.dlls,em4f .dlls: rtos.pem4f
|
||||
|
||||
-include package/cfg/rtos_pem4f.mak
|
||||
-include package/cfg/rtos_pem4f.cfg.mak
|
||||
ifeq (,$(MK_NOGENDEPS))
|
||||
-include package/cfg/rtos_pem4f.dep
|
||||
endif
|
||||
rtos.pem4f: package/cfg/rtos_pem4f.xdl
|
||||
@
|
||||
|
||||
|
||||
ifeq (,$(wildcard .libraries,em4f))
|
||||
rtos.pem4f package/cfg/rtos_pem4f.c: .libraries,em4f
|
||||
endif
|
||||
|
||||
package/cfg/rtos_pem4f.c package/cfg/rtos_pem4f.h package/cfg/rtos_pem4f.xdl: override _PROG_NAME := rtos.xem4f
|
||||
package/cfg/rtos_pem4f.c: package/cfg/rtos_pem4f.cfg
|
||||
package/cfg/rtos_pem4f.xdc.inc: package/cfg/rtos_pem4f.xdl
|
||||
package/cfg/rtos_pem4f.xdl package/cfg/rtos_pem4f.c: .interfaces
|
||||
|
||||
clean:: clean,em4f
|
||||
-$(RM) package/cfg/rtos_pem4f.cfg
|
||||
-$(RM) package/cfg/rtos_pem4f.dep
|
||||
-$(RM) package/cfg/rtos_pem4f.c
|
||||
-$(RM) package/cfg/rtos_pem4f.xdc.inc
|
||||
|
||||
clean,em4f::
|
||||
-$(RM) rtos.pem4f
|
||||
.executables,em4f .executables: rtos.xem4f
|
||||
|
||||
rtos.xem4f: |rtos.pem4f
|
||||
|
||||
-include package/cfg/rtos.xem4f.mak
|
||||
rtos.xem4f: package/cfg/rtos_pem4f.oem4f
|
||||
$(RM) $@
|
||||
@$(MSG) lnkem4f $@ ...
|
||||
$(RM) $(XDCCFGDIR)/$@.map
|
||||
$(ti.targets.arm.elf.M4F.rootDir)/bin/armcl -fs $(XDCCFGDIR)$(dir $@). -q -u _c_int00 --silicon_version=7M4 -z --strict_compatibility=on -o $@ package/cfg/rtos_pem4f.oem4f package/cfg/rtos_pem4f.xdl -w -c -m $(XDCCFGDIR)/$@.map -l $(ti.targets.arm.elf.M4F.rootDir)/lib/libc.a
|
||||
|
||||
rtos.xem4f: export C_DIR=
|
||||
rtos.xem4f: PATH:=$(ti.targets.arm.elf.M4F.rootDir)/bin/;$(PATH)
|
||||
rtos.xem4f: Path:=$(ti.targets.arm.elf.M4F.rootDir)/bin/;$(PATH)
|
||||
|
||||
rtos.test test,em4f test: rtos.xem4f.test
|
||||
|
||||
rtos.xem4f.test:: rtos.xem4f
|
||||
ifeq (,$(_TESTLEVEL))
|
||||
@$(MAKE) -R -r --no-print-directory -f $(XDCROOT)/packages/xdc/bld/xdc.mak _TESTLEVEL=1 rtos.xem4f.test
|
||||
else
|
||||
@$(MSG) running $< ...
|
||||
$(call EXEC.rtos.xem4f, )
|
||||
endif
|
||||
|
||||
clean,em4f::
|
||||
-$(RM) $(wildcard .tmp,rtos.xem4f,*)
|
||||
|
||||
|
||||
clean:: clean,em4f
|
||||
|
||||
clean,em4f::
|
||||
-$(RM) rtos.xem4f
|
||||
%,copy:
|
||||
@$(if $<,,$(MSG) don\'t know how to build $*; exit 1)
|
||||
@$(MSG) cp $< $@
|
||||
$(RM) $@
|
||||
$(CP) $< $@
|
||||
rtos_pem4f.oem4f,copy : package/cfg/rtos_pem4f.oem4f
|
||||
rtos_pem4f.sem4f,copy : package/cfg/rtos_pem4f.sem4f
|
||||
|
||||
$(XDCCFGDIR)%.c $(XDCCFGDIR)%.h $(XDCCFGDIR)%.xdl: $(XDCCFGDIR)%.cfg $(XDCROOT)/packages/xdc/cfg/Main.xs | .interfaces
|
||||
@$(MSG) "configuring $(_PROG_NAME) from $< ..."
|
||||
$(CONFIG) $(_PROG_XSOPTS) xdc.cfg $(_PROG_NAME) $(XDCCFGDIR)$*.cfg $(XDCCFGDIR)$*
|
||||
|
||||
.PHONY: release,xconfig_rtos
|
||||
ifeq (,$(MK_NOGENDEPS))
|
||||
-include package/rel/xconfig_rtos.tar.dep
|
||||
endif
|
||||
package/rel/xconfig_rtos/xconfig_rtos/package/package.rel.xml: package/package.bld.xml
|
||||
package/rel/xconfig_rtos/xconfig_rtos/package/package.rel.xml: package/build.cfg
|
||||
package/rel/xconfig_rtos/xconfig_rtos/package/package.rel.xml: package/package.xdc.inc
|
||||
package/rel/xconfig_rtos/xconfig_rtos/package/package.rel.xml: .force
|
||||
@$(MSG) generating external release references $@ ...
|
||||
$(XS) $(JSENV) -f $(XDCROOT)/packages/xdc/bld/rel.js $(MK_RELOPTS) . $@
|
||||
|
||||
xconfig_rtos.tar: package/rel/xconfig_rtos.xdc.inc package/rel/xconfig_rtos/xconfig_rtos/package/package.rel.xml
|
||||
@$(MSG) making release file $@ "(because of $(firstword $?))" ...
|
||||
-$(RM) $@
|
||||
$(call MKRELTAR,package/rel/xconfig_rtos.xdc.inc,package/rel/xconfig_rtos.tar.dep)
|
||||
|
||||
|
||||
release release,xconfig_rtos: all xconfig_rtos.tar
|
||||
clean:: .clean
|
||||
-$(RM) xconfig_rtos.tar
|
||||
-$(RM) package/rel/xconfig_rtos.xdc.inc
|
||||
-$(RM) package/rel/xconfig_rtos.tar.dep
|
||||
|
||||
clean:: .clean
|
||||
-$(RM) .libraries $(wildcard .libraries,*)
|
||||
clean::
|
||||
-$(RM) .dlls $(wildcard .dlls,*)
|
||||
#
|
||||
# The following clean rule removes user specified
|
||||
# generated files or directories.
|
||||
#
|
||||
|
||||
ifneq (clean,$(MAKECMDGOALS))
|
||||
ifeq (,$(wildcard package))
|
||||
$(shell $(MKDIR) package)
|
||||
endif
|
||||
ifeq (,$(wildcard package/cfg))
|
||||
$(shell $(MKDIR) package/cfg)
|
||||
endif
|
||||
ifeq (,$(wildcard package/lib))
|
||||
$(shell $(MKDIR) package/lib)
|
||||
endif
|
||||
ifeq (,$(wildcard package/rel))
|
||||
$(shell $(MKDIR) package/rel)
|
||||
endif
|
||||
ifeq (,$(wildcard package/internal))
|
||||
$(shell $(MKDIR) package/internal)
|
||||
endif
|
||||
endif
|
||||
clean::
|
||||
-$(RMDIR) package
|
||||
|
||||
include custom.mak
|
||||
7
.config/xconfig_rtos/package.xdc
Normal file
7
.config/xconfig_rtos/package.xdc
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
/*!
|
||||
* Package generated by xdc.tools.configuro
|
||||
*
|
||||
* @_nodoc
|
||||
*/
|
||||
package xconfig_rtos {
|
||||
}
|
||||
20
.config/xconfig_rtos/package.xs
Normal file
20
.config/xconfig_rtos/package.xs
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
/* THIS IS A GENERATED FILE -- DO NOT EDIT */
|
||||
|
||||
/* return the names of the generated config objects */
|
||||
function getLibs(prog) {
|
||||
/* for programs, push the generated config object file into the
|
||||
* generated linker command file.
|
||||
*/
|
||||
/* replace the last period in the name by an underscore */
|
||||
var name = "package/cfg/" + prog.name.replace(/\.([^.]*)$/, "_$1");
|
||||
/* base is a hack until we add cfgName to Program */
|
||||
var base = "package/cfg/" + prog.name.replace(/\.([^.]*)$/, "");
|
||||
var suffix = prog.build.target.suffix;
|
||||
|
||||
var libs = [
|
||||
// name + '.o' + suffix,
|
||||
base + '_p' + suffix + '.o' + suffix
|
||||
];
|
||||
|
||||
return libs.join(';');
|
||||
}
|
||||
0
.config/xconfig_rtos/package/.vers_b160
Normal file
0
.config/xconfig_rtos/package/.vers_b160
Normal file
0
.config/xconfig_rtos/package/.vers_g180
Normal file
0
.config/xconfig_rtos/package/.vers_g180
Normal file
0
.config/xconfig_rtos/package/.vers_r170
Normal file
0
.config/xconfig_rtos/package/.vers_r170
Normal file
0
.config/xconfig_rtos/package/.xdc-B06
Normal file
0
.config/xconfig_rtos/package/.xdc-B06
Normal file
9
.config/xconfig_rtos/package/build.cfg
Normal file
9
.config/xconfig_rtos/package/build.cfg
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
if (pkg.$vers.length >= 3) {
|
||||
pkg.$vers.push(Packages.xdc.services.global.Vers.getDate(xdc.csd() + '/..'));
|
||||
}
|
||||
|
||||
pkg.build.libraries = [
|
||||
];
|
||||
|
||||
pkg.build.libDesc = [
|
||||
];
|
||||
11
.config/xconfig_rtos/package/cfg/rtos.xem4f.mak
Normal file
11
.config/xconfig_rtos/package/cfg/rtos.xem4f.mak
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
#
|
||||
# Do not edit this file. This file is generated from
|
||||
# package.bld. Any modifications to this file will be
|
||||
# overwritten whenever makefiles are re-generated.
|
||||
#
|
||||
# target compatibility key = ti.targets.arm.elf.M4F{1,0,18.12,5
|
||||
#
|
||||
rtos.xem4f: package/cfg/rtos.xem4f.mak
|
||||
|
||||
clean::
|
||||
-$(RM) package/cfg/rtos.xem4f.mak
|
||||
268
.config/xconfig_rtos/package/cfg/rtos_pem4f.cfg
Normal file
268
.config/xconfig_rtos/package/cfg/rtos_pem4f.cfg
Normal file
|
|
@ -0,0 +1,268 @@
|
|||
/*
|
||||
* ======== package/cfg/rtos_pem4f.cfg ========
|
||||
* This generated configuration script runs the user's configuration script
|
||||
* the context of a specific target and platform in order to generate
|
||||
* all the files necessary to create an executable; e.g., linker command
|
||||
* files, static C/C++ data structures, etc.
|
||||
*/
|
||||
|
||||
/*
|
||||
* ======== _applyChanges ========
|
||||
* Changes that bring the build target to the state at the end of the build
|
||||
* model
|
||||
*/
|
||||
function _applyChanges(obj, chgObj) {
|
||||
var wasSealed = false;
|
||||
if (obj.$sealed) {
|
||||
wasSealed = true;
|
||||
obj.$unseal();
|
||||
}
|
||||
for (var prop in chgObj) {
|
||||
if (typeof obj[prop] == 'object' && obj[prop] != undefined) {
|
||||
if ("$category" in obj[prop] && obj[prop].$category == "Vector") {
|
||||
obj[prop].length = chgObj[prop].length;
|
||||
for (var i = 0; i < chgObj[prop].length; i++) {
|
||||
if (obj[prop].length < i + 1) {
|
||||
obj[prop].length++;
|
||||
}
|
||||
obj[prop][i] = chgObj[prop][i];
|
||||
}
|
||||
}
|
||||
else {
|
||||
_applyChanges(obj[prop], chgObj[prop]);
|
||||
}
|
||||
}
|
||||
else {
|
||||
obj[prop] = chgObj[prop];
|
||||
}
|
||||
}
|
||||
if (wasSealed) {
|
||||
obj.$seal();
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* ======== _runescape ========
|
||||
* Recursive unescape to decode serialized strings
|
||||
*/
|
||||
function _runescape(obj) {
|
||||
for (var i in obj) {
|
||||
if (obj[i] != null) {
|
||||
if (typeof obj[i] == 'string') {
|
||||
obj[i] = unescape(obj[i]);
|
||||
}
|
||||
else if (typeof obj[i] == 'object') {
|
||||
_runescape(obj[i]);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* ======== _getPlatCfg ========
|
||||
*/
|
||||
function _getPlatCfg() {
|
||||
var tmp = {};
|
||||
_runescape(tmp);
|
||||
return (tmp);
|
||||
}
|
||||
/*
|
||||
* ======== _cfginit ========
|
||||
*/
|
||||
function _cfginit() {
|
||||
xdc.loadPackage('xdc.services.intern.cmd');
|
||||
var prog = xdc.om['xdc.cfg.Program'];
|
||||
|
||||
/* initialize prog attrs from build model */
|
||||
var build = {
|
||||
profile: "release",
|
||||
cfgScript: "C%3A/Users/gene/OneDrive%20-%20Worcester%20Polytechnic%20Institute%20%28wpi.edu%29/ECE3849/workspace_v9/ece3849_lab2_starter/rtos.cfg",
|
||||
cfgHome: "xconfig_rtos",
|
||||
cfgArgs: "null",
|
||||
cfgArgsEncoded: true,
|
||||
releases: {
|
||||
0: {
|
||||
name: "xconfig_rtos",
|
||||
attrs: {
|
||||
prefix: "",
|
||||
label: "default"
|
||||
},
|
||||
otherFiles: {},
|
||||
excludeDirs: {}
|
||||
}
|
||||
},
|
||||
prelink: false
|
||||
};
|
||||
_runescape(build);
|
||||
build.cfgArgs = null;
|
||||
build.target = xdc.module("ti.targets.arm.elf.M4F");
|
||||
var targChange = {
|
||||
platforms: [
|
||||
"ti.platforms.tiva%3ATM4C1294NCPDT%3A1"
|
||||
],
|
||||
version: "ti.targets.arm.elf.M4F%7B1%2C0%2C18.12%2C5",
|
||||
extensions: {
|
||||
".sem4fe": {
|
||||
suf: ".sem4fe",
|
||||
typ: "asm"
|
||||
},
|
||||
".sem4f": {
|
||||
suf: ".sem4f",
|
||||
typ: "asm"
|
||||
},
|
||||
".sv7M4": {
|
||||
suf: ".sv7M4",
|
||||
typ: "asm"
|
||||
},
|
||||
".sv7M": {
|
||||
suf: ".sv7M",
|
||||
typ: "asm"
|
||||
}
|
||||
},
|
||||
rootDir: "C%3A/ti/ccs930/ccs/tools/compiler/ti-cgt-arm_18.12.5.LTS",
|
||||
ccOpts: {
|
||||
prefix: "-mv7M4%20--code_state%3D16%20--float_support%3DFPv4SPD16%20-me%20-O1%20--opt_for_speed%3D2%20--include_path%3D%22C%3A/Users/gene/OneDrive%20-%20Worcester%20Polytechnic%20Institute%20%28wpi.edu%29/ECE3849/workspace_v9/ece3849_lab2_starter%22%20--include_path%3D%22C%3A/Users/gene/OneDrive%20-%20Worcester%20Polytechnic%20Institute%20%28wpi.edu%29/ECE3849/workspace_v9/ece3849_lab2_starter%22%20--include_path%3D%22C%3A/ti/tirtos_tivac_2_16_01_14/products/TivaWare_C_Series-2.1.1.71b%22%20--include_path%3D%22C%3A/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_01_29/packages/ti/sysbios/posix%22%20--include_path%3D%22C%3A/ti/ccs930/ccs/tools/compiler/ti-cgt-arm_18.12.5.LTS/include%22%20--define%3Dccs%3D%22ccs%22%20--define%3DPART_TM4C1294NCPDT%20--define%3Dccs%20--define%3DTIVAWARE%20-g%20--gcc%20--diag_warning%3D225%20--diag_warning%3D255%20--diag_wrap%3Doff%20--display_error_number%20--gen_func_subsections%3Don%20--abi%3Deabi%20%20%20-qq%20-pdsw225"
|
||||
},
|
||||
rawVersion: "18.12.5"
|
||||
};
|
||||
_runescape(targChange);
|
||||
_applyChanges(build.target, targChange);
|
||||
|
||||
prog.build = build;
|
||||
|
||||
prog.name = "rtos.xem4f";
|
||||
prog.cfgBase = "package/cfg/rtos_pem4f";
|
||||
|
||||
prog.endian = prog.build.target.model.endian;
|
||||
prog.codeModel = prog.build.target.model.codeModel;
|
||||
|
||||
/* use the platform package's Platform module */
|
||||
var Platform = xdc.useModule("ti.platforms.tiva.Platform");
|
||||
var platParams = _getPlatCfg();
|
||||
var invalidParams = [];
|
||||
for (var prop in platParams) {
|
||||
if (!(prop in Platform.PARAMS)) {
|
||||
delete platParams[prop];
|
||||
invalidParams.push(prop);
|
||||
}
|
||||
}
|
||||
prog.platformName = "ti.platforms.tiva:TM4C1294NCPDT";
|
||||
prog.platform = Platform.create("TM4C1294NCPDT", platParams);
|
||||
for (var i = 0; i < invalidParams.length; i++) {
|
||||
Platform.$logWarning("The parameter '" + invalidParams[i] + "' is " +
|
||||
"passed to this platform instance through Build.platformTable, " +
|
||||
"but the instance does not have a configuration parameter with " +
|
||||
"that name.", prog.platform, "TM4C1294NCPDT");
|
||||
}
|
||||
|
||||
/* record the executable's package name */
|
||||
prog.buildPackage = "xconfig_rtos";
|
||||
|
||||
/* record build-model information required during config generation */
|
||||
prog.$$bind("$$isasm", 0);
|
||||
prog.$$bind("$$isrom", 0);
|
||||
prog.$$bind("$$gentab", [
|
||||
]);
|
||||
|
||||
/* bind prog to an appropriate execution context */
|
||||
prog.cpu = prog.platform.getExeContext(prog);
|
||||
|
||||
/* import the target's run-time support pkg */
|
||||
xdc.loadPackage("ti.targets.arm.rtsarm");
|
||||
}
|
||||
|
||||
/* function to import the cfg script's package */
|
||||
function _userscript(script) {
|
||||
var home;
|
||||
var spath;
|
||||
home = xdc.loadPackage("xconfig_rtos");
|
||||
|
||||
xdc.om.$$bind('$homepkg', home);
|
||||
|
||||
var cfgScript = "C:/Users/gene/OneDrive - Worcester Polytechnic Institute (wpi.edu)/ECE3849/workspace_v9/ece3849_lab2_starter/rtos.cfg";
|
||||
if (!script) {
|
||||
utils.loadCapsule(cfgScript, false, spath);
|
||||
}
|
||||
else {
|
||||
/* set up the same environment that loadCapsule would */
|
||||
var $saveCsd = utils.csd;
|
||||
var $cfgFile = utils.findFile(cfgScript, spath);
|
||||
var cname = cfgScript;
|
||||
if ($cfgFile) {
|
||||
$cfgFile = java.io.File($cfgFile);
|
||||
utils.csd = $cfgFile.getParentFile().getCanonicalPath();
|
||||
cname = "" + $cfgFile.getCanonicalPath();
|
||||
}
|
||||
|
||||
/* create the capsule object */
|
||||
var cap = {
|
||||
prototype: utils.global,
|
||||
$path: cname,
|
||||
$private: {path: cname},
|
||||
$capsule: undefined, /* set to cap below */
|
||||
};
|
||||
|
||||
/* 'this.$capsule' is always cap object */
|
||||
cap.$capsule = cap;
|
||||
|
||||
/* save the capsule object */
|
||||
utils.$$capmap[cname] = cap;
|
||||
|
||||
try {
|
||||
var cx =
|
||||
Packages.org.mozilla.javascript.Context.getCurrentContext();
|
||||
var rdr = new
|
||||
java.io.BufferedReader(new java.io.StringReader(script));
|
||||
Packages.config.Shell.evaluateLoad(cx, cap, rdr, cname, 1);
|
||||
}
|
||||
finally {
|
||||
rdr.close();
|
||||
utils.csd = $saveCsd;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function _postinit() {
|
||||
var cout = null;
|
||||
|
||||
var Program = xdc.om['xdc.cfg.Program'];
|
||||
/* get the exec command for this executable */
|
||||
if (Program.execCmd == null) {
|
||||
Program.execCmd = Program.platform.getExecCmd(Program,
|
||||
xdc.om["ti.platforms.tiva"].packageBase);
|
||||
}
|
||||
cout = "define EXEC." + Program.name + '\n\n';
|
||||
cout += Program.execCmd;
|
||||
cout += "\nendef\n\n";
|
||||
|
||||
/* if SourceDir generates a makefile, we need to run it */
|
||||
_genSourceDirMak("package/cfg/rtos_pem4f", "rtos.pem4f");
|
||||
|
||||
utils.genDep("package/cfg/rtos_pem4f", "xconfig_rtos", utils.loadedFiles, cout, null);
|
||||
}
|
||||
|
||||
function _genSourceDirMak(cfgBase, cfgName)
|
||||
{
|
||||
var SourceDir = xdc.om['xdc.cfg.SourceDir'];
|
||||
|
||||
if (SourceDir && SourceDir.$instances.length > 0) {
|
||||
/* construct rule to run SourceDir generated makefile */
|
||||
var make = "\t$(MAKE) -f "
|
||||
+ SourceDir.outputDir + "/" + SourceDir.makefileName;
|
||||
|
||||
/* this file is included by package.mak (if it exists) */
|
||||
var file = new java.io.File(cfgBase + ".cfg.mak");
|
||||
file["delete"]();
|
||||
var out = new java.io.BufferedWriter(new java.io.FileWriter(file));
|
||||
|
||||
/* add rules to run SourceDir generated makefile */
|
||||
out.write("# invoke SourceDir generated makefile for " + cfgName
|
||||
+ "\n" + cfgName + ": .libraries," + cfgName
|
||||
+ "\n.libraries," + cfgName + ": " + cfgBase + ".xdl\n"
|
||||
+ make + "\n\n"
|
||||
+ "clean::\n" + make + " clean\n\n"
|
||||
);
|
||||
out.close();
|
||||
out = null;
|
||||
}
|
||||
}
|
||||
46
.config/xconfig_rtos/package/cfg/rtos_pem4f.mak
Normal file
46
.config/xconfig_rtos/package/cfg/rtos_pem4f.mak
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
#
|
||||
# Do not edit this file. This file is generated from
|
||||
# package.bld. Any modifications to this file will be
|
||||
# overwritten whenever makefiles are re-generated.
|
||||
#
|
||||
# target compatibility key = ti.targets.arm.elf.M4F{1,0,18.12,5
|
||||
#
|
||||
ifeq (,$(MK_NOGENDEPS))
|
||||
-include package/cfg/rtos_pem4f.oem4f.dep
|
||||
package/cfg/rtos_pem4f.oem4f.dep: ;
|
||||
endif
|
||||
|
||||
package/cfg/rtos_pem4f.oem4f: | .interfaces
|
||||
package/cfg/rtos_pem4f.oem4f: package/cfg/rtos_pem4f.c package/cfg/rtos_pem4f.mak
|
||||
@$(RM) $@.dep
|
||||
$(RM) $@
|
||||
@$(MSG) clem4f $< ...
|
||||
$(ti.targets.arm.elf.M4F.rootDir)/bin/armcl -c -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me -O1 --opt_for_speed=2 --include_path="C:/Users/gene/OneDrive - Worcester Polytechnic Institute (wpi.edu)/ECE3849/workspace_v9/ece3849_lab2_starter" --include_path="C:/Users/gene/OneDrive - Worcester Polytechnic Institute (wpi.edu)/ECE3849/workspace_v9/ece3849_lab2_starter" --include_path="C:/ti/tirtos_tivac_2_16_01_14/products/TivaWare_C_Series-2.1.1.71b" --include_path="C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_01_29/packages/ti/sysbios/posix" --include_path="C:/ti/ccs930/ccs/tools/compiler/ti-cgt-arm_18.12.5.LTS/include" --define=ccs="ccs" --define=PART_TM4C1294NCPDT --define=ccs --define=TIVAWARE -g --gcc --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi -qq -pdsw225 -ms --fp_mode=strict --endian=little -mv7M4 --abi=eabi --float_support=fpv4spd16 -eo.oem4f -ea.sem4f -Dxdc_cfg__xheader__='"xconfig_rtos/package/cfg/rtos_pem4f.h"' -Dxdc_target_name__=M4F -Dxdc_target_types__=ti/targets/arm/elf/std.h -Dxdc_bld__profile_release -Dxdc_bld__vers_1_0_18_12_5 -O2 $(XDCINCS) -I$(ti.targets.arm.elf.M4F.rootDir)/include/rts -I$(ti.targets.arm.elf.M4F.rootDir)/include -fs=./package/cfg -fr=./package/cfg -fc $<
|
||||
$(MKDEP) -a $@.dep -p package/cfg -s oem4f $< -C -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me -O1 --opt_for_speed=2 --include_path="C:/Users/gene/OneDrive - Worcester Polytechnic Institute (wpi.edu)/ECE3849/workspace_v9/ece3849_lab2_starter" --include_path="C:/Users/gene/OneDrive - Worcester Polytechnic Institute (wpi.edu)/ECE3849/workspace_v9/ece3849_lab2_starter" --include_path="C:/ti/tirtos_tivac_2_16_01_14/products/TivaWare_C_Series-2.1.1.71b" --include_path="C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_01_29/packages/ti/sysbios/posix" --include_path="C:/ti/ccs930/ccs/tools/compiler/ti-cgt-arm_18.12.5.LTS/include" --define=ccs="ccs" --define=PART_TM4C1294NCPDT --define=ccs --define=TIVAWARE -g --gcc --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi -qq -pdsw225 -ms --fp_mode=strict --endian=little -mv7M4 --abi=eabi --float_support=fpv4spd16 -eo.oem4f -ea.sem4f -Dxdc_cfg__xheader__='"xconfig_rtos/package/cfg/rtos_pem4f.h"' -Dxdc_target_name__=M4F -Dxdc_target_types__=ti/targets/arm/elf/std.h -Dxdc_bld__profile_release -Dxdc_bld__vers_1_0_18_12_5 -O2 $(XDCINCS) -I$(ti.targets.arm.elf.M4F.rootDir)/include/rts -I$(ti.targets.arm.elf.M4F.rootDir)/include -fs=./package/cfg -fr=./package/cfg
|
||||
-@$(FIXDEP) $@.dep $@.dep
|
||||
|
||||
package/cfg/rtos_pem4f.oem4f: export C_DIR=
|
||||
package/cfg/rtos_pem4f.oem4f: PATH:=$(ti.targets.arm.elf.M4F.rootDir)/bin/;$(PATH)
|
||||
package/cfg/rtos_pem4f.oem4f: Path:=$(ti.targets.arm.elf.M4F.rootDir)/bin/;$(PATH)
|
||||
|
||||
package/cfg/rtos_pem4f.sem4f: | .interfaces
|
||||
package/cfg/rtos_pem4f.sem4f: package/cfg/rtos_pem4f.c package/cfg/rtos_pem4f.mak
|
||||
@$(RM) $@.dep
|
||||
$(RM) $@
|
||||
@$(MSG) clem4f -n $< ...
|
||||
$(ti.targets.arm.elf.M4F.rootDir)/bin/armcl -c -n -s --symdebug:none -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me -O1 --opt_for_speed=2 --include_path="C:/Users/gene/OneDrive - Worcester Polytechnic Institute (wpi.edu)/ECE3849/workspace_v9/ece3849_lab2_starter" --include_path="C:/Users/gene/OneDrive - Worcester Polytechnic Institute (wpi.edu)/ECE3849/workspace_v9/ece3849_lab2_starter" --include_path="C:/ti/tirtos_tivac_2_16_01_14/products/TivaWare_C_Series-2.1.1.71b" --include_path="C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_01_29/packages/ti/sysbios/posix" --include_path="C:/ti/ccs930/ccs/tools/compiler/ti-cgt-arm_18.12.5.LTS/include" --define=ccs="ccs" --define=PART_TM4C1294NCPDT --define=ccs --define=TIVAWARE -g --gcc --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi -qq -pdsw225 --endian=little -mv7M4 --abi=eabi --float_support=fpv4spd16 -eo.oem4f -ea.sem4f -Dxdc_cfg__xheader__='"xconfig_rtos/package/cfg/rtos_pem4f.h"' -Dxdc_target_name__=M4F -Dxdc_target_types__=ti/targets/arm/elf/std.h -Dxdc_bld__profile_release -Dxdc_bld__vers_1_0_18_12_5 -O2 $(XDCINCS) -I$(ti.targets.arm.elf.M4F.rootDir)/include/rts -I$(ti.targets.arm.elf.M4F.rootDir)/include -fs=./package/cfg -fr=./package/cfg -fc $<
|
||||
$(MKDEP) -a $@.dep -p package/cfg -s oem4f $< -C -n -s --symdebug:none -mv7M4 --code_state=16 --float_support=FPv4SPD16 -me -O1 --opt_for_speed=2 --include_path="C:/Users/gene/OneDrive - Worcester Polytechnic Institute (wpi.edu)/ECE3849/workspace_v9/ece3849_lab2_starter" --include_path="C:/Users/gene/OneDrive - Worcester Polytechnic Institute (wpi.edu)/ECE3849/workspace_v9/ece3849_lab2_starter" --include_path="C:/ti/tirtos_tivac_2_16_01_14/products/TivaWare_C_Series-2.1.1.71b" --include_path="C:/ti/tirtos_tivac_2_16_01_14/products/bios_6_45_01_29/packages/ti/sysbios/posix" --include_path="C:/ti/ccs930/ccs/tools/compiler/ti-cgt-arm_18.12.5.LTS/include" --define=ccs="ccs" --define=PART_TM4C1294NCPDT --define=ccs --define=TIVAWARE -g --gcc --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi -qq -pdsw225 --endian=little -mv7M4 --abi=eabi --float_support=fpv4spd16 -eo.oem4f -ea.sem4f -Dxdc_cfg__xheader__='"xconfig_rtos/package/cfg/rtos_pem4f.h"' -Dxdc_target_name__=M4F -Dxdc_target_types__=ti/targets/arm/elf/std.h -Dxdc_bld__profile_release -Dxdc_bld__vers_1_0_18_12_5 -O2 $(XDCINCS) -I$(ti.targets.arm.elf.M4F.rootDir)/include/rts -I$(ti.targets.arm.elf.M4F.rootDir)/include -fs=./package/cfg -fr=./package/cfg
|
||||
-@$(FIXDEP) $@.dep $@.dep
|
||||
|
||||
package/cfg/rtos_pem4f.sem4f: export C_DIR=
|
||||
package/cfg/rtos_pem4f.sem4f: PATH:=$(ti.targets.arm.elf.M4F.rootDir)/bin/;$(PATH)
|
||||
package/cfg/rtos_pem4f.sem4f: Path:=$(ti.targets.arm.elf.M4F.rootDir)/bin/;$(PATH)
|
||||
|
||||
clean,em4f ::
|
||||
-$(RM) package/cfg/rtos_pem4f.oem4f
|
||||
-$(RM) package/cfg/rtos_pem4f.sem4f
|
||||
|
||||
rtos.pem4f: package/cfg/rtos_pem4f.oem4f package/cfg/rtos_pem4f.mak
|
||||
|
||||
clean::
|
||||
-$(RM) package/cfg/rtos_pem4f.mak
|
||||
84
.config/xconfig_rtos/package/package.bld.xml
Normal file
84
.config/xconfig_rtos/package/package.bld.xml
Normal file
|
|
@ -0,0 +1,84 @@
|
|||
<?xml version="1.0" encoding="windows-1252"?>
|
||||
<!-- This file conforms to the DTD xdc/bld/build.dtd -->
|
||||
<package name="xconfig_rtos" version="" producerId="undefined">
|
||||
<units>
|
||||
</units>
|
||||
<sources>
|
||||
<srcFile name="package/cfg/rtos_pem4f.c"/>
|
||||
</sources>
|
||||
<configscripts>
|
||||
<srcFile name="C:/Users/gene/OneDrive - Worcester Polytechnic Institute (wpi.edu)/ECE3849/workspace_v9/ece3849_lab2_starter/rtos.cfg"/>
|
||||
</configscripts>
|
||||
<makefiles>
|
||||
<srcFile name="package.mak" src="package.bld"/>
|
||||
<srcFile name="package/package.xdc.dep" src="package.xdc"/>
|
||||
<srcFile name="package/cfg/rtos_pem4f.mak" src="package.bld"/>
|
||||
<srcFile name="package/cfg/rtos_pem4f.oem4f.dep" src="package/cfg/rtos_pem4f.c"/>
|
||||
<srcFile name="package/cfg/rtos_pem4f.dep" src="package/cfg/rtos_pem4f.cfg"/>
|
||||
<srcFile name="package/cfg/rtos.xem4f.mak" src="package.bld"/>
|
||||
<srcFile name="package/rel/xconfig_rtos.tar.dep" src="package/rel/xconfig_rtos.xdc.inc"/>
|
||||
</makefiles>
|
||||
<targets>
|
||||
<target name="ti.targets.arm.elf.M4F"
|
||||
version="ti.targets.arm.elf.M4F{1,0,18.12,5"
|
||||
rawVersion="18.12.5"
|
||||
platform="ti.platforms.tiva:TM4C1294NCPDT:1"
|
||||
isa="v7M4"
|
||||
suffix="em4f"
|
||||
rootDir="C:/ti/ccs930/ccs/tools/compiler/ti-cgt-arm_18.12.5.LTS"
|
||||
os="undefined"
|
||||
rts="ti.targets.arm.rtsarm">
|
||||
<model endian="little"
|
||||
codeModel="thumb2"
|
||||
dataModel="undefined"/>
|
||||
</target>
|
||||
</targets>
|
||||
<libraries>
|
||||
</libraries>
|
||||
<configurations>
|
||||
<configuration name="rtos"
|
||||
pname="rtos.pem4f"
|
||||
target="ti.targets.arm.elf.M4F"
|
||||
platform="ti.platforms.tiva:TM4C1294NCPDT"
|
||||
profile="release"
|
||||
isPartial="false"
|
||||
xCfgScript="package/cfg/rtos_pem4f.cfg"
|
||||
xCfgPrefix="package/cfg/rtos_pem4f"
|
||||
cfgScript="C:/Users/gene/OneDrive - Worcester Polytechnic Institute (wpi.edu)/ECE3849/workspace_v9/ece3849_lab2_starter/rtos.cfg"
|
||||
cfgArgs="null"
|
||||
/>
|
||||
</configurations>
|
||||
<executables>
|
||||
<executable name="rtos"
|
||||
pname="rtos.xem4f"
|
||||
target="ti.targets.arm.elf.M4F"
|
||||
platform="ti.platforms.tiva:TM4C1294NCPDT"
|
||||
profile="release"
|
||||
xCfgScript="package/cfg/rtos_pem4f.cfg"
|
||||
xCfgPrefix="package/cfg/rtos_pem4f"
|
||||
cfgScript="C:/Users/gene/OneDrive - Worcester Polytechnic Institute (wpi.edu)/ECE3849/workspace_v9/ece3849_lab2_starter/rtos.cfg"
|
||||
cfgArgs="null"
|
||||
/>
|
||||
</executables>
|
||||
<tests>
|
||||
<test exeName="rtos.xem4f"
|
||||
args=""
|
||||
groupName="rtos.xem4f"
|
||||
refOutput="undefined"
|
||||
refExitCode="0"
|
||||
execArgs=""
|
||||
/>
|
||||
</tests>
|
||||
<releases relDir="package/rel/">
|
||||
<release name="xconfig_rtos"
|
||||
pname="xconfig_rtos.tar"
|
||||
label="default"
|
||||
>
|
||||
<file name="package/package.bld.xml"/>
|
||||
<file name="package/build.cfg"/>
|
||||
<file name="package/package.xdc.inc"/>
|
||||
</release>
|
||||
</releases>
|
||||
<repositories>
|
||||
</repositories>
|
||||
</package>
|
||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue