added tirtos

This commit is contained in:
Andy Killorin 2025-04-10 10:29:04 -04:00
commit c318ec3f35
Signed by: ank
GPG key ID: 23F9463ECB67FE8C
48 changed files with 2172 additions and 1062 deletions

View file

@ -7,13 +7,11 @@
<deviceEndianness value="little"/> <deviceEndianness value="little"/>
<codegenToolVersion value="16.9.4.LTS"/> <codegenToolVersion value="16.9.4.LTS"/>
<isElfFormat value="true"/> <isElfFormat value="true"/>
<connection value="common/targetdb/connections/Stellaris_ICDI_Connection.xml"/>
<linkerCommandFile value="tm4c1294ncpdt.cmd"/>
<rts value="libc.a"/> <rts value="libc.a"/>
<createSlaveProjects value=""/> <createSlaveProjects value=""/>
<templateProperties value="id=com.ti.common.project.core.emptyProjectWithMainTemplate,"/> <templateProperties value="id=com_ti_rtsc_tirtostivac_example_141.projectspec.empty_EK_TM4C1294XL_TI,type=rtsc,products=com.ti.rtsc.TIRTOStivac,xdcToolsVersion=3_32_00_06_core,target=ti.targets.arm.elf.M4F,platform=ti.platforms.tiva:TM4C1294NCPDT,buildProfile=release,isHybrid=true,configuroOptions= --compileOptions &quot;${COMPILER_FLAGS} &quot;,"/>
<filesToOpen value="main.c,"/> <origin value="C:/Users/gene/Documents/Work/ECE 3849/workspace_v8/ece3849_lab2_starter"/>
<filesToOpen value=""/>
<connection value="common/targetdb/connections/Stellaris_ICDI_Connection.xml"/>
<isTargetManual value="false"/> <isTargetManual value="false"/>
<origin value="C:/Users/gene/Documents/Work/ECE 3849/workspace_v8/ece3849_lab0_starter"/>
<activeTargetConfiguration value="targetConfigs/Tiva TM4C1294NCPDT.ccxml"/>
</projectOptions> </projectOptions>

11
.clangd
View file

@ -1,11 +0,0 @@
# This is an auto-generated file - do not add it to source-control
CompileFlags:
CompilationDatabase: Debug/.clangd
Diagnostics:
Suppress: '*'
InlayHints:
Enabled: No

BIN
.config/.productview.dat Normal file

Binary file not shown.

View file

@ -0,0 +1 @@
C:\Users\gene\OneDrive - Worcester Polytechnic Institute (wpi.edu)\ECE3849\workspace_v9\ece3849_lab2_starter\.config\xconfig_rtos\.buildtime

View file

View 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

View 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\""

View 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\""

View 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];

View 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

View 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);
}

View 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

View file

@ -0,0 +1,7 @@
/*!
* Package generated by xdc.tools.configuro
*
* @_nodoc
*/
package xconfig_rtos {
}

View 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(';');
}

View file

View file

View file

View file

View 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 = [
];

View 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

Some files were not shown because too many files have changed in this diff Show more