test repository is ready

This commit is contained in:
Виктор Лобов 2024-01-19 12:18:27 +03:00
parent 5b1f1a86a4
commit 21531c9f3b
395 changed files with 75189 additions and 0 deletions

100
.cproject Normal file
View File

@ -0,0 +1,100 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?fileVersion 4.0.0?><cproject storage_type_id="org.eclipse.cdt.core.XmlProjectDescriptionStorage">
<storageModule moduleId="org.eclipse.cdt.core.settings">
<cconfiguration id="de.marw.cmake.cdt.lsp.config.debug.1419953775">
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="de.marw.cmake.cdt.lsp.config.debug.1419953775" moduleId="org.eclipse.cdt.core.settings" name="Debug">
<externalSettings/>
<extensions>
<extension id="org.eclipse.cdt.core.MachO64" point="org.eclipse.cdt.core.BinaryParser"/>
<extension id="org.eclipse.cdt.core.Cygwin_PE" point="org.eclipse.cdt.core.BinaryParser"/>
<extension id="org.eclipse.cdt.core.PE" point="org.eclipse.cdt.core.BinaryParser"/>
<extension id="org.eclipse.cdt.core.GNU_ELF" point="org.eclipse.cdt.core.BinaryParser"/>
<extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/>
<extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.cdt.core.GLDErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="com.ti.ccstudio.errorparser.CoffErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.cdt.core.MakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="com.ti.ccstudio.errorparser.AsmErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.rtsc.xdctools.parsers.ErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.cdt.core.VCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="com.ti.ccstudio.errorparser.SysConfigErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="com.ti.ccstudio.errorparser.LinkErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
</extensions>
</storageModule>
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
<configuration artifactName="${ProjName}" buildArtefactType="de.marw.cmake.cdt.lsp.buildArtefactType.cmake" buildProperties="org.eclipse.cdt.build.core.buildArtefactType=de.marw.cmake.cdt.lsp.buildArtefactType.cmake,org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.debug" description="" id="de.marw.cmake.cdt.lsp.config.debug.1419953775" name="Debug" parent="de.marw.cmake.cdt.lsp.config.debug">
<folderInfo id="de.marw.cmake.cdt.lsp.config.debug.1419953775." name="/" resourcePath="">
<toolChain id="de.marw.cmake.cdt.lsp.config.debug.toolChain.931152035" name="CMake driven" superClass="de.marw.cmake.cdt.lsp.config.debug.toolChain">
<targetPlatform id="de.marw.cmake.cdt.lsp.targetPlatform.cmake.772475832" name="Any Platform" superClass="de.marw.cmake.cdt.lsp.targetPlatform.cmake"/>
<builder buildPath="/cmake_test/build/Debug" id="de.marw.cmake.cdt.lsp.builder.portable.1626611489" managedBuildOn="true" name="CMake Builder.Debug" superClass="de.marw.cmake.cdt.lsp.builder.portable"/>
<tool id="de.marw.cmake.cdt.lsp.toolchain.tool.dummy.1115493425" name="CMake driven Languages Proxy" superClass="de.marw.cmake.cdt.lsp.toolchain.tool.dummy">
<inputType id="de.marw.cmake.cdt.lsp.inputType.c.1937988088" superClass="de.marw.cmake.cdt.lsp.inputType.c"/>
<inputType id="de.marw.cmake.cdt.lsp.inputType.cpp.1150843084" superClass="de.marw.cmake.cdt.lsp.inputType.cpp"/>
</tool>
</toolChain>
</folderInfo>
</configuration>
</storageModule>
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
<storageModule moduleId="de.marw.cdt.cmake.core.settings">
<linux command="cmake" generator="UnixMakefiles" use-default="true">
<defs/>
<undefs>
<undef name="CMAKE_CXX_COMPILER"/>
</undefs>
</linux>
</storageModule>
</cconfiguration>
<cconfiguration id="de.marw.cmake.cdt.lsp.config.release.1722340443">
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="de.marw.cmake.cdt.lsp.config.release.1722340443" moduleId="org.eclipse.cdt.core.settings" name="Release">
<externalSettings/>
<extensions>
<extension id="org.eclipse.cdt.core.MachO64" point="org.eclipse.cdt.core.BinaryParser"/>
<extension id="org.eclipse.cdt.core.Cygwin_PE" point="org.eclipse.cdt.core.BinaryParser"/>
<extension id="org.eclipse.cdt.core.PE" point="org.eclipse.cdt.core.BinaryParser"/>
<extension id="org.eclipse.cdt.core.GNU_ELF" point="org.eclipse.cdt.core.BinaryParser"/>
<extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/>
<extension id="org.eclipse.cdt.core.GASErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.cdt.core.GLDErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="com.ti.ccstudio.errorparser.CoffErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.cdt.core.MakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="com.ti.ccstudio.errorparser.AsmErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.rtsc.xdctools.parsers.ErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.cdt.core.VCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="com.ti.ccstudio.errorparser.SysConfigErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="com.ti.ccstudio.errorparser.LinkErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
<extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
</extensions>
</storageModule>
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
<configuration artifactName="${ProjName}" buildArtefactType="de.marw.cmake.cdt.lsp.buildArtefactType.cmake" buildProperties="org.eclipse.cdt.build.core.buildArtefactType=de.marw.cmake.cdt.lsp.buildArtefactType.cmake,org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.release" description="" id="de.marw.cmake.cdt.lsp.config.release.1722340443" name="Release" parent="de.marw.cmake.cdt.lsp.config.release">
<folderInfo id="de.marw.cmake.cdt.lsp.config.release.1722340443." name="/" resourcePath="">
<toolChain id="de.marw.cmake.cdt.lsp.config.release.toolChain.1825933559" name="CMake driven" superClass="de.marw.cmake.cdt.lsp.config.release.toolChain">
<targetPlatform id="de.marw.cmake.cdt.lsp.targetPlatform.cmake.1883221847" name="Any Platform" superClass="de.marw.cmake.cdt.lsp.targetPlatform.cmake"/>
<builder buildPath="/cmake_test/build/Release" id="de.marw.cmake.cdt.lsp.builder.portable.805895683" managedBuildOn="true" name="CMake Builder.Release" superClass="de.marw.cmake.cdt.lsp.builder.portable"/>
<tool id="de.marw.cmake.cdt.lsp.toolchain.tool.dummy.1915139358" name="CMake driven Languages Proxy" superClass="de.marw.cmake.cdt.lsp.toolchain.tool.dummy">
<inputType id="de.marw.cmake.cdt.lsp.inputType.c.701688621" superClass="de.marw.cmake.cdt.lsp.inputType.c"/>
<inputType id="de.marw.cmake.cdt.lsp.inputType.cpp.1365939918" superClass="de.marw.cmake.cdt.lsp.inputType.cpp"/>
</tool>
</toolChain>
</folderInfo>
</configuration>
</storageModule>
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
</cconfiguration>
</storageModule>
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
<project id="cmake_test.de.marw.cmake.cdt.lsp.projectType.797243142" name="CMake driven" projectType="de.marw.cmake.cdt.lsp.projectType"/>
</storageModule>
<storageModule moduleId="scannerConfiguration">
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>
</storageModule>
<storageModule moduleId="org.eclipse.cdt.core.LanguageSettingsProviders"/>
<storageModule moduleId="refreshScope"/>
<storageModule moduleId="org.eclipse.cdt.make.core.buildtargets"/>
</cproject>

27
.project Normal file
View File

@ -0,0 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>cmake_test</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name>
<triggers>clean,full,incremental,</triggers>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder</name>
<triggers>full,incremental,</triggers>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.cdt.core.cnature</nature>
<nature>org.eclipse.cdt.core.ccnature</nature>
<nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature>
<nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature>
</natures>
</projectDescription>

48
CMakeLists.txt Normal file
View File

@ -0,0 +1,48 @@
cmake_minimum_required( VERSION 3.5)
SET (TARGET_NAME test_project)
#message( STATUS "CMAKE_INSTALL_PREFIX = ${CMAKE_INSTALL_PREFIX}" )
set(CGT_TOOLCHAIN_DIR /home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS)
SET(CL2000_LINK ${CGT_TOOLCHAIN_DIR}/bin/cl2000)
SET(CMAKE_CXX_COMPILER ${CL2000_LINK} )
SET(CMAKE_C_COMPILER ${CL2000_LINK} )
SET(CMAKE_CXX_LINK_EXECUTABLE ${CL2000_LINK})
project(cmake_test)
SET (FLAGS -v28 -ml -mt --float_support=fpu32 -Ooff --opt_for_speed=5
--fp_mode=relaxed -advice:performance=all --define=_INLINE --define=bmin='0.397824735f' --define=amax='0.960433870f'
--float_operations_allowed=32 --printf_support=minimal
--include_path="/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/lib/"
--include_path="/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/include/" )
include_directories( "${PROJECT_BINARY_DIR}")
add_executable(${TARGET_NAME} main.cpp
./f2833x/common/source/DSP2833x_ADC_cal.asm
./f2833x/common/source/DSP2833x_CodeStartBranch.asm
./f2833x/common/source/DSP2833x_DefaultIsr.c
./f2833x/headers/source/DSP2833x_GlobalVariableDefs.c
./f2833x/common/source/DSP2833x_PieCtrl.c
./f2833x/common/source/DSP2833x_PieVect.c
./f2833x/common/source/DSP2833x_SysCtrl.c
./f2833x/common/source/DSP2833x_usDelay.asm
)
set(INCLUDES
./f2833x
./f2833x/common/include
./f2833x/headers/include
)
target_compile_options (${TARGET_NAME} PRIVATE ${FLAGS}
)
target_include_directories(${TARGET_NAME} PRIVATE ${INCLUDES}
)

View File

@ -0,0 +1 @@
{"requests":[{"kind":"cache","version":2},{"kind":"codemodel","version":2},{"kind":"toolchains","version":1},{"kind":"cmakeFiles","version":1}]}

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,136 @@
{
"inputs" :
[
{
"path" : "CMakeLists.txt"
},
{
"isGenerated" : true,
"path" : "build/CMakeFiles/3.22.1/CMakeSystem.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "/usr/share/cmake-3.22/Modules/CMakeSystemSpecificInitialize.cmake"
},
{
"isGenerated" : true,
"path" : "build/CMakeFiles/3.22.1/CMakeCCompiler.cmake"
},
{
"isGenerated" : true,
"path" : "build/CMakeFiles/3.22.1/CMakeCXXCompiler.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "/usr/share/cmake-3.22/Modules/CMakeSystemSpecificInformation.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "/usr/share/cmake-3.22/Modules/CMakeGenericSystem.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "/usr/share/cmake-3.22/Modules/CMakeInitializeConfigs.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "/usr/share/cmake-3.22/Modules/Platform/Linux.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "/usr/share/cmake-3.22/Modules/Platform/UnixPaths.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "/usr/share/cmake-3.22/Modules/CMakeCInformation.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "/usr/share/cmake-3.22/Modules/CMakeLanguageInformation.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "/usr/share/cmake-3.22/Modules/Compiler/TI-C.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "/usr/share/cmake-3.22/Modules/Compiler/TI.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "/usr/share/cmake-3.22/Modules/Compiler/CMakeCommonCompilerMacros.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "/usr/share/cmake-3.22/Modules/Platform/Linux.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "/usr/share/cmake-3.22/Modules/Platform/UnixPaths.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "/usr/share/cmake-3.22/Modules/CMakeCommonLanguageInclude.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "/usr/share/cmake-3.22/Modules/CMakeCXXInformation.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "/usr/share/cmake-3.22/Modules/CMakeLanguageInformation.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "/usr/share/cmake-3.22/Modules/Compiler/TI-CXX.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "/usr/share/cmake-3.22/Modules/Compiler/TI.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "/usr/share/cmake-3.22/Modules/Platform/Linux.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "/usr/share/cmake-3.22/Modules/Platform/UnixPaths.cmake"
},
{
"isCMake" : true,
"isExternal" : true,
"path" : "/usr/share/cmake-3.22/Modules/CMakeCommonLanguageInclude.cmake"
}
],
"kind" : "cmakeFiles",
"paths" :
{
"build" : "/home/lobov/workspace/ccs12.5/cmake_test/build",
"source" : "/home/lobov/workspace/ccs12.5/cmake_test"
},
"version" :
{
"major" : 1,
"minor" : 0
}
}

View File

@ -0,0 +1,60 @@
{
"configurations" :
[
{
"directories" :
[
{
"build" : ".",
"jsonFile" : "directory-.-Debug-f5ebdc15457944623624.json",
"minimumCMakeVersion" :
{
"string" : "3.5"
},
"projectIndex" : 0,
"source" : ".",
"targetIndexes" :
[
0
]
}
],
"name" : "Debug",
"projects" :
[
{
"directoryIndexes" :
[
0
],
"name" : "cmake_test",
"targetIndexes" :
[
0
]
}
],
"targets" :
[
{
"directoryIndex" : 0,
"id" : "test_project::@6890427a1f51a3e7e1df",
"jsonFile" : "target-test_project-Debug-bef79452e8ea086479b2.json",
"name" : "test_project",
"projectIndex" : 0
}
]
}
],
"kind" : "codemodel",
"paths" :
{
"build" : "/home/lobov/workspace/ccs12.5/cmake_test/build",
"source" : "/home/lobov/workspace/ccs12.5/cmake_test"
},
"version" :
{
"major" : 2,
"minor" : 3
}
}

View File

@ -0,0 +1,14 @@
{
"backtraceGraph" :
{
"commands" : [],
"files" : [],
"nodes" : []
},
"installers" : [],
"paths" :
{
"build" : ".",
"source" : "."
}
}

View File

@ -0,0 +1,132 @@
{
"cmake" :
{
"generator" :
{
"multiConfig" : false,
"name" : "Unix Makefiles"
},
"paths" :
{
"cmake" : "/usr/bin/cmake",
"cpack" : "/usr/bin/cpack",
"ctest" : "/usr/bin/ctest",
"root" : "/usr/share/cmake-3.22"
},
"version" :
{
"isDirty" : false,
"major" : 3,
"minor" : 22,
"patch" : 1,
"string" : "3.22.1",
"suffix" : ""
}
},
"objects" :
[
{
"jsonFile" : "codemodel-v2-08b5dd6ad53f07ebd3c6.json",
"kind" : "codemodel",
"version" :
{
"major" : 2,
"minor" : 3
}
},
{
"jsonFile" : "cache-v2-0e52c74274576c2bd4e8.json",
"kind" : "cache",
"version" :
{
"major" : 2,
"minor" : 0
}
},
{
"jsonFile" : "cmakeFiles-v1-2a481a7a1f8814d7229f.json",
"kind" : "cmakeFiles",
"version" :
{
"major" : 1,
"minor" : 0
}
},
{
"jsonFile" : "toolchains-v1-7e6a9faffa7b0e0102fa.json",
"kind" : "toolchains",
"version" :
{
"major" : 1,
"minor" : 0
}
}
],
"reply" :
{
"client-vscode" :
{
"query.json" :
{
"requests" :
[
{
"kind" : "cache",
"version" : 2
},
{
"kind" : "codemodel",
"version" : 2
},
{
"kind" : "toolchains",
"version" : 1
},
{
"kind" : "cmakeFiles",
"version" : 1
}
],
"responses" :
[
{
"jsonFile" : "cache-v2-0e52c74274576c2bd4e8.json",
"kind" : "cache",
"version" :
{
"major" : 2,
"minor" : 0
}
},
{
"jsonFile" : "codemodel-v2-08b5dd6ad53f07ebd3c6.json",
"kind" : "codemodel",
"version" :
{
"major" : 2,
"minor" : 3
}
},
{
"jsonFile" : "toolchains-v1-7e6a9faffa7b0e0102fa.json",
"kind" : "toolchains",
"version" :
{
"major" : 1,
"minor" : 0
}
},
{
"jsonFile" : "cmakeFiles-v1-2a481a7a1f8814d7229f.json",
"kind" : "cmakeFiles",
"version" :
{
"major" : 1,
"minor" : 0
}
}
]
}
}
}
}

View File

@ -0,0 +1,336 @@
{
"artifacts" :
[
{
"path" : "test_project"
}
],
"backtrace" : 1,
"backtraceGraph" :
{
"commands" :
[
"add_executable",
"target_compile_options",
"include_directories",
"target_include_directories"
],
"files" :
[
"CMakeLists.txt"
],
"nodes" :
[
{
"file" : 0
},
{
"command" : 0,
"file" : 0,
"line" : 28,
"parent" : 0
},
{
"command" : 1,
"file" : 0,
"line" : 45,
"parent" : 0
},
{
"command" : 2,
"file" : 0,
"line" : 26,
"parent" : 0
},
{
"command" : 3,
"file" : 0,
"line" : 47,
"parent" : 0
}
]
},
"compileGroups" :
[
{
"compileCommandFragments" :
[
{
"backtrace" : 2,
"fragment" : "-v28"
},
{
"backtrace" : 2,
"fragment" : "-ml"
},
{
"backtrace" : 2,
"fragment" : "-mt"
},
{
"backtrace" : 2,
"fragment" : "--float_support=fpu32"
},
{
"backtrace" : 2,
"fragment" : "-Ooff"
},
{
"backtrace" : 2,
"fragment" : "--opt_for_speed=5"
},
{
"backtrace" : 2,
"fragment" : "--fp_mode=relaxed"
},
{
"backtrace" : 2,
"fragment" : "-advice:performance=all"
},
{
"backtrace" : 2,
"fragment" : "--define=_INLINE"
},
{
"backtrace" : 2,
"fragment" : "\"--define=bmin='0.397824735f'\""
},
{
"backtrace" : 2,
"fragment" : "\"--define=amax='0.960433870f'\""
},
{
"backtrace" : 2,
"fragment" : "--float_operations_allowed=32"
},
{
"backtrace" : 2,
"fragment" : "--printf_support=minimal"
},
{
"backtrace" : 2,
"fragment" : "--include_path=\\\"/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/lib/\\\""
},
{
"backtrace" : 2,
"fragment" : "--include_path=\\\"/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/include/\\\""
}
],
"includes" :
[
{
"backtrace" : 3,
"path" : "/home/lobov/workspace/ccs12.5/cmake_test/build"
},
{
"backtrace" : 4,
"path" : "/home/lobov/workspace/ccs12.5/cmake_test/./f2833x"
},
{
"backtrace" : 4,
"path" : "/home/lobov/workspace/ccs12.5/cmake_test/./f2833x/common/include"
},
{
"backtrace" : 4,
"path" : "/home/lobov/workspace/ccs12.5/cmake_test/./f2833x/headers/include"
}
],
"language" : "CXX",
"sourceIndexes" :
[
0
]
},
{
"compileCommandFragments" :
[
{
"backtrace" : 2,
"fragment" : "-v28"
},
{
"backtrace" : 2,
"fragment" : "-ml"
},
{
"backtrace" : 2,
"fragment" : "-mt"
},
{
"backtrace" : 2,
"fragment" : "--float_support=fpu32"
},
{
"backtrace" : 2,
"fragment" : "-Ooff"
},
{
"backtrace" : 2,
"fragment" : "--opt_for_speed=5"
},
{
"backtrace" : 2,
"fragment" : "--fp_mode=relaxed"
},
{
"backtrace" : 2,
"fragment" : "-advice:performance=all"
},
{
"backtrace" : 2,
"fragment" : "--define=_INLINE"
},
{
"backtrace" : 2,
"fragment" : "\"--define=bmin='0.397824735f'\""
},
{
"backtrace" : 2,
"fragment" : "\"--define=amax='0.960433870f'\""
},
{
"backtrace" : 2,
"fragment" : "--float_operations_allowed=32"
},
{
"backtrace" : 2,
"fragment" : "--printf_support=minimal"
},
{
"backtrace" : 2,
"fragment" : "--include_path=\\\"/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/lib/\\\""
},
{
"backtrace" : 2,
"fragment" : "--include_path=\\\"/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/include/\\\""
}
],
"includes" :
[
{
"backtrace" : 3,
"path" : "/home/lobov/workspace/ccs12.5/cmake_test/build"
},
{
"backtrace" : 4,
"path" : "/home/lobov/workspace/ccs12.5/cmake_test/./f2833x"
},
{
"backtrace" : 4,
"path" : "/home/lobov/workspace/ccs12.5/cmake_test/./f2833x/common/include"
},
{
"backtrace" : 4,
"path" : "/home/lobov/workspace/ccs12.5/cmake_test/./f2833x/headers/include"
}
],
"language" : "C",
"sourceIndexes" :
[
3,
4,
5,
6,
7
]
}
],
"id" : "test_project::@6890427a1f51a3e7e1df",
"link" :
{
"commandFragments" :
[
{
"fragment" : "",
"role" : "flags"
}
],
"language" : "CXX"
},
"name" : "test_project",
"nameOnDisk" : "test_project",
"paths" :
{
"build" : ".",
"source" : "."
},
"sourceGroups" :
[
{
"name" : "Source Files",
"sourceIndexes" :
[
0,
3,
4,
5,
6,
7
]
},
{
"name" : "",
"sourceIndexes" :
[
1,
2,
8
]
}
],
"sources" :
[
{
"backtrace" : 1,
"compileGroupIndex" : 0,
"path" : "main.cpp",
"sourceGroupIndex" : 0
},
{
"backtrace" : 1,
"path" : "f2833x/common/source/DSP2833x_ADC_cal.asm",
"sourceGroupIndex" : 1
},
{
"backtrace" : 1,
"path" : "f2833x/common/source/DSP2833x_CodeStartBranch.asm",
"sourceGroupIndex" : 1
},
{
"backtrace" : 1,
"compileGroupIndex" : 1,
"path" : "f2833x/common/source/DSP2833x_DefaultIsr.c",
"sourceGroupIndex" : 0
},
{
"backtrace" : 1,
"compileGroupIndex" : 1,
"path" : "f2833x/headers/source/DSP2833x_GlobalVariableDefs.c",
"sourceGroupIndex" : 0
},
{
"backtrace" : 1,
"compileGroupIndex" : 1,
"path" : "f2833x/common/source/DSP2833x_PieCtrl.c",
"sourceGroupIndex" : 0
},
{
"backtrace" : 1,
"compileGroupIndex" : 1,
"path" : "f2833x/common/source/DSP2833x_PieVect.c",
"sourceGroupIndex" : 0
},
{
"backtrace" : 1,
"compileGroupIndex" : 1,
"path" : "f2833x/common/source/DSP2833x_SysCtrl.c",
"sourceGroupIndex" : 0
},
{
"backtrace" : 1,
"path" : "f2833x/common/source/DSP2833x_usDelay.asm",
"sourceGroupIndex" : 1
}
],
"type" : "EXECUTABLE"
}

View File

@ -0,0 +1,68 @@
{
"kind" : "toolchains",
"toolchains" :
[
{
"compiler" :
{
"id" : "TI",
"implicit" :
{
"includeDirectories" :
[
"/usr/include"
],
"linkDirectories" : [],
"linkFrameworkDirectories" : [],
"linkLibraries" : []
},
"path" : "/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000",
"version" : "22.6.1"
},
"language" : "C",
"sourceFileExtensions" :
[
"c",
"m"
]
},
{
"compiler" :
{
"id" : "TI",
"implicit" :
{
"includeDirectories" :
[
"/usr/include"
],
"linkDirectories" : [],
"linkFrameworkDirectories" : [],
"linkLibraries" : []
},
"path" : "/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000",
"version" : "22.6.1"
},
"language" : "CXX",
"sourceFileExtensions" :
[
"C",
"M",
"c++",
"cc",
"cpp",
"cxx",
"mm",
"mpp",
"CPP",
"ixx",
"cppm"
]
}
],
"version" :
{
"major" : 1,
"minor" : 0
}
}

332
build/CMakeCache.txt Normal file
View File

@ -0,0 +1,332 @@
# This is the CMakeCache file.
# For build in directory: /home/lobov/workspace/ccs12.5/cmake_test/build
# It was generated by CMake: /usr/bin/cmake
# You can edit this file to change values found and used by cmake.
# If you do not want to change any of the values, simply exit the editor.
# If you do want to change a value, simply edit, save, and exit the editor.
# The syntax for the file is as follows:
# KEY:TYPE=VALUE
# KEY is the name of a variable in the cache.
# TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!.
# VALUE is the current value for the KEY.
########################
# EXTERNAL cache entries
########################
//Path to a program.
CMAKE_ADDR2LINE:FILEPATH=/usr/bin/addr2line
//Path to a program.
CMAKE_AR:FILEPATH=/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/ar2000
//No help, variable specified on the command line.
CMAKE_BUILD_TYPE:STRING=Debug
//Enable/Disable color output during build.
CMAKE_COLOR_MAKEFILE:BOOL=ON
//Flags used by the CXX compiler during all build types.
CMAKE_CXX_FLAGS:STRING=
//Flags used by the CXX compiler during DEBUG builds.
CMAKE_CXX_FLAGS_DEBUG:STRING=
//Flags used by the CXX compiler during MINSIZEREL builds.
CMAKE_CXX_FLAGS_MINSIZEREL:STRING=
//Flags used by the CXX compiler during RELEASE builds.
CMAKE_CXX_FLAGS_RELEASE:STRING=
//Flags used by the CXX compiler during RELWITHDEBINFO builds.
CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=
//Flags used by the C compiler during all build types.
CMAKE_C_FLAGS:STRING=
//Flags used by the C compiler during DEBUG builds.
CMAKE_C_FLAGS_DEBUG:STRING=
//Flags used by the C compiler during MINSIZEREL builds.
CMAKE_C_FLAGS_MINSIZEREL:STRING=
//Flags used by the C compiler during RELEASE builds.
CMAKE_C_FLAGS_RELEASE:STRING=
//Flags used by the C compiler during RELWITHDEBINFO builds.
CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=
//Path to a program.
CMAKE_DLLTOOL:FILEPATH=CMAKE_DLLTOOL-NOTFOUND
//Flags used by the linker during all build types.
CMAKE_EXE_LINKER_FLAGS:STRING=
//Flags used by the linker during DEBUG builds.
CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=
//Flags used by the linker during MINSIZEREL builds.
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=
//Flags used by the linker during RELEASE builds.
CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING=
//Flags used by the linker during RELWITHDEBINFO builds.
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
//No help, variable specified on the command line.
CMAKE_EXPORT_COMPILE_COMMANDS:BOOL=TRUE
//Install path prefix, prepended onto install directories.
CMAKE_INSTALL_PREFIX:PATH=/usr/local
//Path to a program.
CMAKE_LINKER:FILEPATH=/usr/bin/ld
//Path to a program.
CMAKE_MAKE_PROGRAM:FILEPATH=/usr/bin/gmake
//Flags used by the linker during the creation of modules during
// all build types.
CMAKE_MODULE_LINKER_FLAGS:STRING=
//Flags used by the linker during the creation of modules during
// DEBUG builds.
CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=
//Flags used by the linker during the creation of modules during
// MINSIZEREL builds.
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=
//Flags used by the linker during the creation of modules during
// RELEASE builds.
CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING=
//Flags used by the linker during the creation of modules during
// RELWITHDEBINFO builds.
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
//Path to a program.
CMAKE_NM:FILEPATH=/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/nm2000
//Path to a program.
CMAKE_OBJCOPY:FILEPATH=/usr/bin/objcopy
//Path to a program.
CMAKE_OBJDUMP:FILEPATH=/usr/bin/objdump
//Value Computed by CMake
CMAKE_PROJECT_DESCRIPTION:STATIC=
//Value Computed by CMake
CMAKE_PROJECT_HOMEPAGE_URL:STATIC=
//Value Computed by CMake
CMAKE_PROJECT_NAME:STATIC=cmake_test
//Path to a program.
CMAKE_RANLIB:FILEPATH=/usr/bin/ranlib
//Path to a program.
CMAKE_READELF:FILEPATH=/usr/bin/readelf
//Flags used by the linker during the creation of shared libraries
// during all build types.
CMAKE_SHARED_LINKER_FLAGS:STRING=
//Flags used by the linker during the creation of shared libraries
// during DEBUG builds.
CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING=
//Flags used by the linker during the creation of shared libraries
// during MINSIZEREL builds.
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING=
//Flags used by the linker during the creation of shared libraries
// during RELEASE builds.
CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING=
//Flags used by the linker during the creation of shared libraries
// during RELWITHDEBINFO builds.
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING=
//If set, runtime paths are not added when installing shared libraries,
// but are added when building.
CMAKE_SKIP_INSTALL_RPATH:BOOL=NO
//If set, runtime paths are not added when using shared libraries.
CMAKE_SKIP_RPATH:BOOL=NO
//Flags used by the linker during the creation of static libraries
// during all build types.
CMAKE_STATIC_LINKER_FLAGS:STRING=
//Flags used by the linker during the creation of static libraries
// during DEBUG builds.
CMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING=
//Flags used by the linker during the creation of static libraries
// during MINSIZEREL builds.
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:STRING=
//Flags used by the linker during the creation of static libraries
// during RELEASE builds.
CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING=
//Flags used by the linker during the creation of static libraries
// during RELWITHDEBINFO builds.
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING=
//Path to a program.
CMAKE_STRIP:FILEPATH=/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/strip2000
//If this value is on, makefiles will be generated without the
// .SILENT directive, and all commands will be echoed to the console
// during the make. This is useful for debugging only. With Visual
// Studio IDE projects all commands are done without /nologo.
CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE
//Value Computed by CMake
cmake_test_BINARY_DIR:STATIC=/home/lobov/workspace/ccs12.5/cmake_test/build
//Value Computed by CMake
cmake_test_IS_TOP_LEVEL:STATIC=ON
//Value Computed by CMake
cmake_test_SOURCE_DIR:STATIC=/home/lobov/workspace/ccs12.5/cmake_test
########################
# INTERNAL cache entries
########################
//ADVANCED property for variable: CMAKE_ADDR2LINE
CMAKE_ADDR2LINE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_AR
CMAKE_AR-ADVANCED:INTERNAL=1
//This is the directory where this CMakeCache.txt was created
CMAKE_CACHEFILE_DIR:INTERNAL=/home/lobov/workspace/ccs12.5/cmake_test/build
//Major version of cmake used to create the current loaded cache
CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3
//Minor version of cmake used to create the current loaded cache
CMAKE_CACHE_MINOR_VERSION:INTERNAL=22
//Patch version of cmake used to create the current loaded cache
CMAKE_CACHE_PATCH_VERSION:INTERNAL=1
//ADVANCED property for variable: CMAKE_COLOR_MAKEFILE
CMAKE_COLOR_MAKEFILE-ADVANCED:INTERNAL=1
//Path to CMake executable.
CMAKE_COMMAND:INTERNAL=/usr/bin/cmake
//Path to cpack program executable.
CMAKE_CPACK_COMMAND:INTERNAL=/usr/bin/cpack
//Path to ctest program executable.
CMAKE_CTEST_COMMAND:INTERNAL=/usr/bin/ctest
//ADVANCED property for variable: CMAKE_CXX_FLAGS
CMAKE_CXX_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_DEBUG
CMAKE_CXX_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_MINSIZEREL
CMAKE_CXX_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELEASE
CMAKE_CXX_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELWITHDEBINFO
CMAKE_CXX_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS
CMAKE_C_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_DEBUG
CMAKE_C_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_MINSIZEREL
CMAKE_C_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_RELEASE
CMAKE_C_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_RELWITHDEBINFO
CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_DLLTOOL
CMAKE_DLLTOOL-ADVANCED:INTERNAL=1
//Executable file format
CMAKE_EXECUTABLE_FORMAT:INTERNAL=Unknown
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS
CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG
CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE
CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//Name of external makefile project generator.
CMAKE_EXTRA_GENERATOR:INTERNAL=
//Name of generator.
CMAKE_GENERATOR:INTERNAL=Unix Makefiles
//Generator instance identifier.
CMAKE_GENERATOR_INSTANCE:INTERNAL=
//Name of generator platform.
CMAKE_GENERATOR_PLATFORM:INTERNAL=
//Name of generator toolset.
CMAKE_GENERATOR_TOOLSET:INTERNAL=
//Source directory with the top level CMakeLists.txt file for this
// project
CMAKE_HOME_DIRECTORY:INTERNAL=/home/lobov/workspace/ccs12.5/cmake_test
//Install .so files without execute permission.
CMAKE_INSTALL_SO_NO_EXE:INTERNAL=1
//ADVANCED property for variable: CMAKE_LINKER
CMAKE_LINKER-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MAKE_PROGRAM
CMAKE_MAKE_PROGRAM-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS
CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG
CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE
CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_NM
CMAKE_NM-ADVANCED:INTERNAL=1
//number of local generators
CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=1
//ADVANCED property for variable: CMAKE_OBJCOPY
CMAKE_OBJCOPY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_OBJDUMP
CMAKE_OBJDUMP-ADVANCED:INTERNAL=1
//Platform information initialized
CMAKE_PLATFORM_INFO_INITIALIZED:INTERNAL=1
//ADVANCED property for variable: CMAKE_RANLIB
CMAKE_RANLIB-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_READELF
CMAKE_READELF-ADVANCED:INTERNAL=1
//Path to CMake installation.
CMAKE_ROOT:INTERNAL=/usr/share/cmake-3.22
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS
CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG
CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE
CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SKIP_INSTALL_RPATH
CMAKE_SKIP_INSTALL_RPATH-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SKIP_RPATH
CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS
CMAKE_STATIC_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_DEBUG
CMAKE_STATIC_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELEASE
CMAKE_STATIC_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STRIP
CMAKE_STRIP-ADVANCED:INTERNAL=1
//uname command
CMAKE_UNAME:INTERNAL=/usr/bin/uname
//ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE
CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1

View File

@ -0,0 +1,72 @@
set(CMAKE_C_COMPILER "/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000")
set(CMAKE_C_COMPILER_ARG1 "")
set(CMAKE_C_COMPILER_ID "TI")
set(CMAKE_C_COMPILER_VERSION "22.6.1")
set(CMAKE_C_COMPILER_VERSION_INTERNAL "")
set(CMAKE_C_COMPILER_WRAPPER "")
set(CMAKE_C_STANDARD_COMPUTED_DEFAULT "90")
set(CMAKE_C_EXTENSIONS_COMPUTED_DEFAULT "ON")
set(CMAKE_C_COMPILE_FEATURES "c_std_90;c_std_99;c_std_11")
set(CMAKE_C90_COMPILE_FEATURES "c_std_90")
set(CMAKE_C99_COMPILE_FEATURES "c_std_99")
set(CMAKE_C11_COMPILE_FEATURES "c_std_11")
set(CMAKE_C17_COMPILE_FEATURES "")
set(CMAKE_C23_COMPILE_FEATURES "")
set(CMAKE_C_PLATFORM_ID "")
set(CMAKE_C_SIMULATE_ID "")
set(CMAKE_C_COMPILER_FRONTEND_VARIANT "")
set(CMAKE_C_SIMULATE_VERSION "")
set(CMAKE_C_COMPILER_ARCHITECTURE_ID TMS320C28x)
set(MSVC_C_ARCHITECTURE_ID TMS320C28x)
set(CMAKE_AR "/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/ar2000")
set(CMAKE_C_COMPILER_AR "")
set(CMAKE_RANLIB "/usr/bin/ranlib")
set(CMAKE_C_COMPILER_RANLIB "")
set(CMAKE_LINKER "/usr/bin/ld")
set(CMAKE_MT "")
set(CMAKE_COMPILER_IS_GNUCC )
set(CMAKE_C_COMPILER_LOADED 1)
set(CMAKE_C_COMPILER_WORKS TRUE)
set(CMAKE_C_ABI_COMPILED TRUE)
set(CMAKE_C_COMPILER_ENV_VAR "CC")
set(CMAKE_C_COMPILER_ID_RUN 1)
set(CMAKE_C_SOURCE_FILE_EXTENSIONS c;m)
set(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC)
set(CMAKE_C_LINKER_PREFERENCE 10)
# Save compiler ABI information.
set(CMAKE_C_SIZEOF_DATA_PTR "")
set(CMAKE_C_COMPILER_ABI "")
set(CMAKE_C_BYTE_ORDER "")
set(CMAKE_C_LIBRARY_ARCHITECTURE "")
if(CMAKE_C_SIZEOF_DATA_PTR)
set(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}")
endif()
if(CMAKE_C_COMPILER_ABI)
set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}")
endif()
if(CMAKE_C_LIBRARY_ARCHITECTURE)
set(CMAKE_LIBRARY_ARCHITECTURE "")
endif()
set(CMAKE_C_CL_SHOWINCLUDES_PREFIX "")
if(CMAKE_C_CL_SHOWINCLUDES_PREFIX)
set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_C_CL_SHOWINCLUDES_PREFIX}")
endif()
set(CMAKE_C_IMPLICIT_INCLUDE_DIRECTORIES "/usr/include")
set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "")
set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "")
set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "")

View File

@ -0,0 +1,83 @@
set(CMAKE_CXX_COMPILER "/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000")
set(CMAKE_CXX_COMPILER_ARG1 "")
set(CMAKE_CXX_COMPILER_ID "TI")
set(CMAKE_CXX_COMPILER_VERSION "22.6.1")
set(CMAKE_CXX_COMPILER_VERSION_INTERNAL "")
set(CMAKE_CXX_COMPILER_WRAPPER "")
set(CMAKE_CXX_STANDARD_COMPUTED_DEFAULT "98")
set(CMAKE_CXX_EXTENSIONS_COMPUTED_DEFAULT "ON")
set(CMAKE_CXX_COMPILE_FEATURES "cxx_std_98")
set(CMAKE_CXX98_COMPILE_FEATURES "cxx_std_98")
set(CMAKE_CXX11_COMPILE_FEATURES "")
set(CMAKE_CXX14_COMPILE_FEATURES "")
set(CMAKE_CXX17_COMPILE_FEATURES "")
set(CMAKE_CXX20_COMPILE_FEATURES "")
set(CMAKE_CXX23_COMPILE_FEATURES "")
set(CMAKE_CXX_PLATFORM_ID "")
set(CMAKE_CXX_SIMULATE_ID "")
set(CMAKE_CXX_COMPILER_FRONTEND_VARIANT "")
set(CMAKE_CXX_SIMULATE_VERSION "")
set(CMAKE_CXX_COMPILER_ARCHITECTURE_ID TMS320C28x)
set(MSVC_CXX_ARCHITECTURE_ID TMS320C28x)
set(CMAKE_AR "/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/ar2000")
set(CMAKE_CXX_COMPILER_AR "")
set(CMAKE_RANLIB "/usr/bin/ranlib")
set(CMAKE_CXX_COMPILER_RANLIB "")
set(CMAKE_LINKER "/usr/bin/ld")
set(CMAKE_MT "")
set(CMAKE_COMPILER_IS_GNUCXX )
set(CMAKE_CXX_COMPILER_LOADED 1)
set(CMAKE_CXX_COMPILER_WORKS TRUE)
set(CMAKE_CXX_ABI_COMPILED TRUE)
set(CMAKE_CXX_COMPILER_ENV_VAR "CXX")
set(CMAKE_CXX_COMPILER_ID_RUN 1)
set(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;m;mm;mpp;CPP;ixx;cppm)
set(CMAKE_CXX_IGNORE_EXTENSIONS inl;h;hpp;HPP;H;o;O;obj;OBJ;def;DEF;rc;RC)
foreach (lang C OBJC OBJCXX)
if (CMAKE_${lang}_COMPILER_ID_RUN)
foreach(extension IN LISTS CMAKE_${lang}_SOURCE_FILE_EXTENSIONS)
list(REMOVE_ITEM CMAKE_CXX_SOURCE_FILE_EXTENSIONS ${extension})
endforeach()
endif()
endforeach()
set(CMAKE_CXX_LINKER_PREFERENCE 30)
set(CMAKE_CXX_LINKER_PREFERENCE_PROPAGATES 1)
# Save compiler ABI information.
set(CMAKE_CXX_SIZEOF_DATA_PTR "")
set(CMAKE_CXX_COMPILER_ABI "")
set(CMAKE_CXX_BYTE_ORDER "")
set(CMAKE_CXX_LIBRARY_ARCHITECTURE "")
if(CMAKE_CXX_SIZEOF_DATA_PTR)
set(CMAKE_SIZEOF_VOID_P "${CMAKE_CXX_SIZEOF_DATA_PTR}")
endif()
if(CMAKE_CXX_COMPILER_ABI)
set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_CXX_COMPILER_ABI}")
endif()
if(CMAKE_CXX_LIBRARY_ARCHITECTURE)
set(CMAKE_LIBRARY_ARCHITECTURE "")
endif()
set(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX "")
if(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX)
set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_CXX_CL_SHOWINCLUDES_PREFIX}")
endif()
set(CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES "/usr/include")
set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "")
set(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "")
set(CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "")

View File

@ -0,0 +1,15 @@
set(CMAKE_HOST_SYSTEM "Linux-6.2.0-39-generic")
set(CMAKE_HOST_SYSTEM_NAME "Linux")
set(CMAKE_HOST_SYSTEM_VERSION "6.2.0-39-generic")
set(CMAKE_HOST_SYSTEM_PROCESSOR "x86_64")
set(CMAKE_SYSTEM "Linux-6.2.0-39-generic")
set(CMAKE_SYSTEM_NAME "Linux")
set(CMAKE_SYSTEM_VERSION "6.2.0-39-generic")
set(CMAKE_SYSTEM_PROCESSOR "x86_64")
set(CMAKE_CROSSCOMPILING "FALSE")
set(CMAKE_SYSTEM_LOADED 1)

View File

@ -0,0 +1,803 @@
#ifdef __cplusplus
# error "A C++ compiler has been selected for C."
#endif
#if defined(__18CXX)
# define ID_VOID_MAIN
#endif
#if defined(__CLASSIC_C__)
/* cv-qualifiers did not exist in K&R C */
# define const
# define volatile
#endif
#if !defined(__has_include)
/* If the compiler does not have __has_include, pretend the answer is
always no. */
# define __has_include(x) 0
#endif
/* Version number components: V=Version, R=Revision, P=Patch
Version date components: YYYY=Year, MM=Month, DD=Day */
#if defined(__INTEL_COMPILER) || defined(__ICC)
# define COMPILER_ID "Intel"
# if defined(_MSC_VER)
# define SIMULATE_ID "MSVC"
# endif
# if defined(__GNUC__)
# define SIMULATE_ID "GNU"
# endif
/* __INTEL_COMPILER = VRP prior to 2021, and then VVVV for 2021 and later,
except that a few beta releases use the old format with V=2021. */
# if __INTEL_COMPILER < 2021 || __INTEL_COMPILER == 202110 || __INTEL_COMPILER == 202111
# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100)
# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10)
# if defined(__INTEL_COMPILER_UPDATE)
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE)
# else
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10)
# endif
# else
# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER)
# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER_UPDATE)
/* The third version component from --version is an update index,
but no macro is provided for it. */
# define COMPILER_VERSION_PATCH DEC(0)
# endif
# if defined(__INTEL_COMPILER_BUILD_DATE)
/* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */
# define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE)
# endif
# if defined(_MSC_VER)
/* _MSC_VER = VVRR */
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
# endif
# if defined(__GNUC__)
# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
# elif defined(__GNUG__)
# define SIMULATE_VERSION_MAJOR DEC(__GNUG__)
# endif
# if defined(__GNUC_MINOR__)
# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
# endif
# if defined(__GNUC_PATCHLEVEL__)
# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
# endif
#elif (defined(__clang__) && defined(__INTEL_CLANG_COMPILER)) || defined(__INTEL_LLVM_COMPILER)
# define COMPILER_ID "IntelLLVM"
#if defined(_MSC_VER)
# define SIMULATE_ID "MSVC"
#endif
#if defined(__GNUC__)
# define SIMULATE_ID "GNU"
#endif
/* __INTEL_LLVM_COMPILER = VVVVRP prior to 2021.2.0, VVVVRRPP for 2021.2.0 and
* later. Look for 6 digit vs. 8 digit version number to decide encoding.
* VVVV is no smaller than the current year when a version is released.
*/
#if __INTEL_LLVM_COMPILER < 1000000L
# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/100)
# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/10 % 10)
# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 10)
#else
# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/10000)
# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/100 % 100)
# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 100)
#endif
#if defined(_MSC_VER)
/* _MSC_VER = VVRR */
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
#endif
#if defined(__GNUC__)
# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
#elif defined(__GNUG__)
# define SIMULATE_VERSION_MAJOR DEC(__GNUG__)
#endif
#if defined(__GNUC_MINOR__)
# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
#endif
#if defined(__GNUC_PATCHLEVEL__)
# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
#endif
#elif defined(__PATHCC__)
# define COMPILER_ID "PathScale"
# define COMPILER_VERSION_MAJOR DEC(__PATHCC__)
# define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__)
# if defined(__PATHCC_PATCHLEVEL__)
# define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__)
# endif
#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__)
# define COMPILER_ID "Embarcadero"
# define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF)
# define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF)
# define COMPILER_VERSION_PATCH DEC(__CODEGEARC_VERSION__ & 0xFFFF)
#elif defined(__BORLANDC__)
# define COMPILER_ID "Borland"
/* __BORLANDC__ = 0xVRR */
# define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8)
# define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF)
#elif defined(__WATCOMC__) && __WATCOMC__ < 1200
# define COMPILER_ID "Watcom"
/* __WATCOMC__ = VVRR */
# define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100)
# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
# if (__WATCOMC__ % 10) > 0
# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
# endif
#elif defined(__WATCOMC__)
# define COMPILER_ID "OpenWatcom"
/* __WATCOMC__ = VVRP + 1100 */
# define COMPILER_VERSION_MAJOR DEC((__WATCOMC__ - 1100) / 100)
# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
# if (__WATCOMC__ % 10) > 0
# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
# endif
#elif defined(__SUNPRO_C)
# define COMPILER_ID "SunPro"
# if __SUNPRO_C >= 0x5100
/* __SUNPRO_C = 0xVRRP */
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>12)
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xFF)
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF)
# else
/* __SUNPRO_CC = 0xVRP */
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>8)
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xF)
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF)
# endif
#elif defined(__HP_cc)
# define COMPILER_ID "HP"
/* __HP_cc = VVRRPP */
# define COMPILER_VERSION_MAJOR DEC(__HP_cc/10000)
# define COMPILER_VERSION_MINOR DEC(__HP_cc/100 % 100)
# define COMPILER_VERSION_PATCH DEC(__HP_cc % 100)
#elif defined(__DECC)
# define COMPILER_ID "Compaq"
/* __DECC_VER = VVRRTPPPP */
# define COMPILER_VERSION_MAJOR DEC(__DECC_VER/10000000)
# define COMPILER_VERSION_MINOR DEC(__DECC_VER/100000 % 100)
# define COMPILER_VERSION_PATCH DEC(__DECC_VER % 10000)
#elif defined(__IBMC__) && defined(__COMPILER_VER__)
# define COMPILER_ID "zOS"
/* __IBMC__ = VRP */
# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
#elif defined(__ibmxl__) && defined(__clang__)
# define COMPILER_ID "XLClang"
# define COMPILER_VERSION_MAJOR DEC(__ibmxl_version__)
# define COMPILER_VERSION_MINOR DEC(__ibmxl_release__)
# define COMPILER_VERSION_PATCH DEC(__ibmxl_modification__)
# define COMPILER_VERSION_TWEAK DEC(__ibmxl_ptf_fix_level__)
#elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ >= 800
# define COMPILER_ID "XL"
/* __IBMC__ = VRP */
# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
#elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ < 800
# define COMPILER_ID "VisualAge"
/* __IBMC__ = VRP */
# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
#elif defined(__NVCOMPILER)
# define COMPILER_ID "NVHPC"
# define COMPILER_VERSION_MAJOR DEC(__NVCOMPILER_MAJOR__)
# define COMPILER_VERSION_MINOR DEC(__NVCOMPILER_MINOR__)
# if defined(__NVCOMPILER_PATCHLEVEL__)
# define COMPILER_VERSION_PATCH DEC(__NVCOMPILER_PATCHLEVEL__)
# endif
#elif defined(__PGI)
# define COMPILER_ID "PGI"
# define COMPILER_VERSION_MAJOR DEC(__PGIC__)
# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__)
# if defined(__PGIC_PATCHLEVEL__)
# define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__)
# endif
#elif defined(_CRAYC)
# define COMPILER_ID "Cray"
# define COMPILER_VERSION_MAJOR DEC(_RELEASE_MAJOR)
# define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR)
#elif defined(__TI_COMPILER_VERSION__)
# define COMPILER_ID "TI"
/* __TI_COMPILER_VERSION__ = VVVRRRPPP */
# define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000)
# define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000)
# define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000)
#elif defined(__CLANG_FUJITSU)
# define COMPILER_ID "FujitsuClang"
# define COMPILER_VERSION_MAJOR DEC(__FCC_major__)
# define COMPILER_VERSION_MINOR DEC(__FCC_minor__)
# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__)
# define COMPILER_VERSION_INTERNAL_STR __clang_version__
#elif defined(__FUJITSU)
# define COMPILER_ID "Fujitsu"
# if defined(__FCC_version__)
# define COMPILER_VERSION __FCC_version__
# elif defined(__FCC_major__)
# define COMPILER_VERSION_MAJOR DEC(__FCC_major__)
# define COMPILER_VERSION_MINOR DEC(__FCC_minor__)
# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__)
# endif
# if defined(__fcc_version)
# define COMPILER_VERSION_INTERNAL DEC(__fcc_version)
# elif defined(__FCC_VERSION)
# define COMPILER_VERSION_INTERNAL DEC(__FCC_VERSION)
# endif
#elif defined(__ghs__)
# define COMPILER_ID "GHS"
/* __GHS_VERSION_NUMBER = VVVVRP */
# ifdef __GHS_VERSION_NUMBER
# define COMPILER_VERSION_MAJOR DEC(__GHS_VERSION_NUMBER / 100)
# define COMPILER_VERSION_MINOR DEC(__GHS_VERSION_NUMBER / 10 % 10)
# define COMPILER_VERSION_PATCH DEC(__GHS_VERSION_NUMBER % 10)
# endif
#elif defined(__TINYC__)
# define COMPILER_ID "TinyCC"
#elif defined(__BCC__)
# define COMPILER_ID "Bruce"
#elif defined(__SCO_VERSION__)
# define COMPILER_ID "SCO"
#elif defined(__ARMCC_VERSION) && !defined(__clang__)
# define COMPILER_ID "ARMCC"
#if __ARMCC_VERSION >= 1000000
/* __ARMCC_VERSION = VRRPPPP */
# define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/1000000)
# define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 100)
# define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
#else
/* __ARMCC_VERSION = VRPPPP */
# define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/100000)
# define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 10)
# define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
#endif
#elif defined(__clang__) && defined(__apple_build_version__)
# define COMPILER_ID "AppleClang"
# if defined(_MSC_VER)
# define SIMULATE_ID "MSVC"
# endif
# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
# if defined(_MSC_VER)
/* _MSC_VER = VVRR */
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
# endif
# define COMPILER_VERSION_TWEAK DEC(__apple_build_version__)
#elif defined(__clang__) && defined(__ARMCOMPILER_VERSION)
# define COMPILER_ID "ARMClang"
# define COMPILER_VERSION_MAJOR DEC(__ARMCOMPILER_VERSION/1000000)
# define COMPILER_VERSION_MINOR DEC(__ARMCOMPILER_VERSION/10000 % 100)
# define COMPILER_VERSION_PATCH DEC(__ARMCOMPILER_VERSION % 10000)
# define COMPILER_VERSION_INTERNAL DEC(__ARMCOMPILER_VERSION)
#elif defined(__clang__)
# define COMPILER_ID "Clang"
# if defined(_MSC_VER)
# define SIMULATE_ID "MSVC"
# endif
# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
# if defined(_MSC_VER)
/* _MSC_VER = VVRR */
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
# endif
#elif defined(__GNUC__)
# define COMPILER_ID "GNU"
# define COMPILER_VERSION_MAJOR DEC(__GNUC__)
# if defined(__GNUC_MINOR__)
# define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__)
# endif
# if defined(__GNUC_PATCHLEVEL__)
# define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
# endif
#elif defined(_MSC_VER)
# define COMPILER_ID "MSVC"
/* _MSC_VER = VVRR */
# define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100)
# define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100)
# if defined(_MSC_FULL_VER)
# if _MSC_VER >= 1400
/* _MSC_FULL_VER = VVRRPPPPP */
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000)
# else
/* _MSC_FULL_VER = VVRRPPPP */
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000)
# endif
# endif
# if defined(_MSC_BUILD)
# define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD)
# endif
#elif defined(__VISUALDSPVERSION__) || defined(__ADSPBLACKFIN__) || defined(__ADSPTS__) || defined(__ADSP21000__)
# define COMPILER_ID "ADSP"
#if defined(__VISUALDSPVERSION__)
/* __VISUALDSPVERSION__ = 0xVVRRPP00 */
# define COMPILER_VERSION_MAJOR HEX(__VISUALDSPVERSION__>>24)
# define COMPILER_VERSION_MINOR HEX(__VISUALDSPVERSION__>>16 & 0xFF)
# define COMPILER_VERSION_PATCH HEX(__VISUALDSPVERSION__>>8 & 0xFF)
#endif
#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
# define COMPILER_ID "IAR"
# if defined(__VER__) && defined(__ICCARM__)
# define COMPILER_VERSION_MAJOR DEC((__VER__) / 1000000)
# define COMPILER_VERSION_MINOR DEC(((__VER__) / 1000) % 1000)
# define COMPILER_VERSION_PATCH DEC((__VER__) % 1000)
# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__)
# elif defined(__VER__) && (defined(__ICCAVR__) || defined(__ICCRX__) || defined(__ICCRH850__) || defined(__ICCRL78__) || defined(__ICC430__) || defined(__ICCRISCV__) || defined(__ICCV850__) || defined(__ICC8051__) || defined(__ICCSTM8__))
# define COMPILER_VERSION_MAJOR DEC((__VER__) / 100)
# define COMPILER_VERSION_MINOR DEC((__VER__) - (((__VER__) / 100)*100))
# define COMPILER_VERSION_PATCH DEC(__SUBVERSION__)
# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__)
# endif
#elif defined(__SDCC_VERSION_MAJOR) || defined(SDCC)
# define COMPILER_ID "SDCC"
# if defined(__SDCC_VERSION_MAJOR)
# define COMPILER_VERSION_MAJOR DEC(__SDCC_VERSION_MAJOR)
# define COMPILER_VERSION_MINOR DEC(__SDCC_VERSION_MINOR)
# define COMPILER_VERSION_PATCH DEC(__SDCC_VERSION_PATCH)
# else
/* SDCC = VRP */
# define COMPILER_VERSION_MAJOR DEC(SDCC/100)
# define COMPILER_VERSION_MINOR DEC(SDCC/10 % 10)
# define COMPILER_VERSION_PATCH DEC(SDCC % 10)
# endif
/* These compilers are either not known or too old to define an
identification macro. Try to identify the platform and guess that
it is the native compiler. */
#elif defined(__hpux) || defined(__hpua)
# define COMPILER_ID "HP"
#else /* unknown compiler */
# define COMPILER_ID ""
#endif
/* Construct the string literal in pieces to prevent the source from
getting matched. Store it in a pointer rather than an array
because some compilers will just produce instructions to fill the
array rather than assigning a pointer to a static array. */
char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]";
#ifdef SIMULATE_ID
char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]";
#endif
#ifdef __QNXNTO__
char const* qnxnto = "INFO" ":" "qnxnto[]";
#endif
#if defined(__CRAYXT_COMPUTE_LINUX_TARGET)
char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]";
#endif
#define STRINGIFY_HELPER(X) #X
#define STRINGIFY(X) STRINGIFY_HELPER(X)
/* Identify known platforms by name. */
#if defined(__linux) || defined(__linux__) || defined(linux)
# define PLATFORM_ID "Linux"
#elif defined(__MSYS__)
# define PLATFORM_ID "MSYS"
#elif defined(__CYGWIN__)
# define PLATFORM_ID "Cygwin"
#elif defined(__MINGW32__)
# define PLATFORM_ID "MinGW"
#elif defined(__APPLE__)
# define PLATFORM_ID "Darwin"
#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
# define PLATFORM_ID "Windows"
#elif defined(__FreeBSD__) || defined(__FreeBSD)
# define PLATFORM_ID "FreeBSD"
#elif defined(__NetBSD__) || defined(__NetBSD)
# define PLATFORM_ID "NetBSD"
#elif defined(__OpenBSD__) || defined(__OPENBSD)
# define PLATFORM_ID "OpenBSD"
#elif defined(__sun) || defined(sun)
# define PLATFORM_ID "SunOS"
#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__)
# define PLATFORM_ID "AIX"
#elif defined(__hpux) || defined(__hpux__)
# define PLATFORM_ID "HP-UX"
#elif defined(__HAIKU__)
# define PLATFORM_ID "Haiku"
#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS)
# define PLATFORM_ID "BeOS"
#elif defined(__QNX__) || defined(__QNXNTO__)
# define PLATFORM_ID "QNX"
#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__)
# define PLATFORM_ID "Tru64"
#elif defined(__riscos) || defined(__riscos__)
# define PLATFORM_ID "RISCos"
#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__)
# define PLATFORM_ID "SINIX"
#elif defined(__UNIX_SV__)
# define PLATFORM_ID "UNIX_SV"
#elif defined(__bsdos__)
# define PLATFORM_ID "BSDOS"
#elif defined(_MPRAS) || defined(MPRAS)
# define PLATFORM_ID "MP-RAS"
#elif defined(__osf) || defined(__osf__)
# define PLATFORM_ID "OSF1"
#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv)
# define PLATFORM_ID "SCO_SV"
#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX)
# define PLATFORM_ID "ULTRIX"
#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX)
# define PLATFORM_ID "Xenix"
#elif defined(__WATCOMC__)
# if defined(__LINUX__)
# define PLATFORM_ID "Linux"
# elif defined(__DOS__)
# define PLATFORM_ID "DOS"
# elif defined(__OS2__)
# define PLATFORM_ID "OS2"
# elif defined(__WINDOWS__)
# define PLATFORM_ID "Windows3x"
# elif defined(__VXWORKS__)
# define PLATFORM_ID "VxWorks"
# else /* unknown platform */
# define PLATFORM_ID
# endif
#elif defined(__INTEGRITY)
# if defined(INT_178B)
# define PLATFORM_ID "Integrity178"
# else /* regular Integrity */
# define PLATFORM_ID "Integrity"
# endif
#else /* unknown platform */
# define PLATFORM_ID
#endif
/* For windows compilers MSVC and Intel we can determine
the architecture of the compiler being used. This is because
the compilers do not have flags that can change the architecture,
but rather depend on which compiler is being used
*/
#if defined(_WIN32) && defined(_MSC_VER)
# if defined(_M_IA64)
# define ARCHITECTURE_ID "IA64"
# elif defined(_M_ARM64EC)
# define ARCHITECTURE_ID "ARM64EC"
# elif defined(_M_X64) || defined(_M_AMD64)
# define ARCHITECTURE_ID "x64"
# elif defined(_M_IX86)
# define ARCHITECTURE_ID "X86"
# elif defined(_M_ARM64)
# define ARCHITECTURE_ID "ARM64"
# elif defined(_M_ARM)
# if _M_ARM == 4
# define ARCHITECTURE_ID "ARMV4I"
# elif _M_ARM == 5
# define ARCHITECTURE_ID "ARMV5I"
# else
# define ARCHITECTURE_ID "ARMV" STRINGIFY(_M_ARM)
# endif
# elif defined(_M_MIPS)
# define ARCHITECTURE_ID "MIPS"
# elif defined(_M_SH)
# define ARCHITECTURE_ID "SHx"
# else /* unknown architecture */
# define ARCHITECTURE_ID ""
# endif
#elif defined(__WATCOMC__)
# if defined(_M_I86)
# define ARCHITECTURE_ID "I86"
# elif defined(_M_IX86)
# define ARCHITECTURE_ID "X86"
# else /* unknown architecture */
# define ARCHITECTURE_ID ""
# endif
#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
# if defined(__ICCARM__)
# define ARCHITECTURE_ID "ARM"
# elif defined(__ICCRX__)
# define ARCHITECTURE_ID "RX"
# elif defined(__ICCRH850__)
# define ARCHITECTURE_ID "RH850"
# elif defined(__ICCRL78__)
# define ARCHITECTURE_ID "RL78"
# elif defined(__ICCRISCV__)
# define ARCHITECTURE_ID "RISCV"
# elif defined(__ICCAVR__)
# define ARCHITECTURE_ID "AVR"
# elif defined(__ICC430__)
# define ARCHITECTURE_ID "MSP430"
# elif defined(__ICCV850__)
# define ARCHITECTURE_ID "V850"
# elif defined(__ICC8051__)
# define ARCHITECTURE_ID "8051"
# elif defined(__ICCSTM8__)
# define ARCHITECTURE_ID "STM8"
# else /* unknown architecture */
# define ARCHITECTURE_ID ""
# endif
#elif defined(__ghs__)
# if defined(__PPC64__)
# define ARCHITECTURE_ID "PPC64"
# elif defined(__ppc__)
# define ARCHITECTURE_ID "PPC"
# elif defined(__ARM__)
# define ARCHITECTURE_ID "ARM"
# elif defined(__x86_64__)
# define ARCHITECTURE_ID "x64"
# elif defined(__i386__)
# define ARCHITECTURE_ID "X86"
# else /* unknown architecture */
# define ARCHITECTURE_ID ""
# endif
#elif defined(__TI_COMPILER_VERSION__)
# if defined(__TI_ARM__)
# define ARCHITECTURE_ID "ARM"
# elif defined(__MSP430__)
# define ARCHITECTURE_ID "MSP430"
# elif defined(__TMS320C28XX__)
# define ARCHITECTURE_ID "TMS320C28x"
# elif defined(__TMS320C6X__) || defined(_TMS320C6X)
# define ARCHITECTURE_ID "TMS320C6x"
# else /* unknown architecture */
# define ARCHITECTURE_ID ""
# endif
#else
# define ARCHITECTURE_ID
#endif
/* Convert integer to decimal digit literals. */
#define DEC(n) \
('0' + (((n) / 10000000)%10)), \
('0' + (((n) / 1000000)%10)), \
('0' + (((n) / 100000)%10)), \
('0' + (((n) / 10000)%10)), \
('0' + (((n) / 1000)%10)), \
('0' + (((n) / 100)%10)), \
('0' + (((n) / 10)%10)), \
('0' + ((n) % 10))
/* Convert integer to hex digit literals. */
#define HEX(n) \
('0' + ((n)>>28 & 0xF)), \
('0' + ((n)>>24 & 0xF)), \
('0' + ((n)>>20 & 0xF)), \
('0' + ((n)>>16 & 0xF)), \
('0' + ((n)>>12 & 0xF)), \
('0' + ((n)>>8 & 0xF)), \
('0' + ((n)>>4 & 0xF)), \
('0' + ((n) & 0xF))
/* Construct a string literal encoding the version number. */
#ifdef COMPILER_VERSION
char const* info_version = "INFO" ":" "compiler_version[" COMPILER_VERSION "]";
/* Construct a string literal encoding the version number components. */
#elif defined(COMPILER_VERSION_MAJOR)
char const info_version[] = {
'I', 'N', 'F', 'O', ':',
'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[',
COMPILER_VERSION_MAJOR,
# ifdef COMPILER_VERSION_MINOR
'.', COMPILER_VERSION_MINOR,
# ifdef COMPILER_VERSION_PATCH
'.', COMPILER_VERSION_PATCH,
# ifdef COMPILER_VERSION_TWEAK
'.', COMPILER_VERSION_TWEAK,
# endif
# endif
# endif
']','\0'};
#endif
/* Construct a string literal encoding the internal version number. */
#ifdef COMPILER_VERSION_INTERNAL
char const info_version_internal[] = {
'I', 'N', 'F', 'O', ':',
'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','_',
'i','n','t','e','r','n','a','l','[',
COMPILER_VERSION_INTERNAL,']','\0'};
#elif defined(COMPILER_VERSION_INTERNAL_STR)
char const* info_version_internal = "INFO" ":" "compiler_version_internal[" COMPILER_VERSION_INTERNAL_STR "]";
#endif
/* Construct a string literal encoding the version number components. */
#ifdef SIMULATE_VERSION_MAJOR
char const info_simulate_version[] = {
'I', 'N', 'F', 'O', ':',
's','i','m','u','l','a','t','e','_','v','e','r','s','i','o','n','[',
SIMULATE_VERSION_MAJOR,
# ifdef SIMULATE_VERSION_MINOR
'.', SIMULATE_VERSION_MINOR,
# ifdef SIMULATE_VERSION_PATCH
'.', SIMULATE_VERSION_PATCH,
# ifdef SIMULATE_VERSION_TWEAK
'.', SIMULATE_VERSION_TWEAK,
# endif
# endif
# endif
']','\0'};
#endif
/* Construct the string literal in pieces to prevent the source from
getting matched. Store it in a pointer rather than an array
because some compilers will just produce instructions to fill the
array rather than assigning a pointer to a static array. */
char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]";
char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]";
#if !defined(__STDC__) && !defined(__clang__)
# if defined(_MSC_VER) || defined(__ibmxl__) || defined(__IBMC__)
# define C_VERSION "90"
# else
# define C_VERSION
# endif
#elif __STDC_VERSION__ > 201710L
# define C_VERSION "23"
#elif __STDC_VERSION__ >= 201710L
# define C_VERSION "17"
#elif __STDC_VERSION__ >= 201000L
# define C_VERSION "11"
#elif __STDC_VERSION__ >= 199901L
# define C_VERSION "99"
#else
# define C_VERSION "90"
#endif
const char* info_language_standard_default =
"INFO" ":" "standard_default[" C_VERSION "]";
const char* info_language_extensions_default = "INFO" ":" "extensions_default["
/* !defined(_MSC_VER) to exclude Clang's MSVC compatibility mode. */
#if (defined(__clang__) || defined(__GNUC__) || \
defined(__TI_COMPILER_VERSION__)) && \
!defined(__STRICT_ANSI__) && !defined(_MSC_VER)
"ON"
#else
"OFF"
#endif
"]";
/*--------------------------------------------------------------------------*/
#ifdef ID_VOID_MAIN
void main() {}
#else
# if defined(__CLASSIC_C__)
int main(argc, argv) int argc; char *argv[];
# else
int main(int argc, char* argv[])
# endif
{
int require = 0;
require += info_compiler[argc];
require += info_platform[argc];
require += info_arch[argc];
#ifdef COMPILER_VERSION_MAJOR
require += info_version[argc];
#endif
#ifdef COMPILER_VERSION_INTERNAL
require += info_version_internal[argc];
#endif
#ifdef SIMULATE_ID
require += info_simulate[argc];
#endif
#ifdef SIMULATE_VERSION_MAJOR
require += info_simulate_version[argc];
#endif
#if defined(__CRAYXT_COMPUTE_LINUX_TARGET)
require += info_cray[argc];
#endif
require += info_language_standard_default[argc];
require += info_language_extensions_default[argc];
(void)argv;
return require;
}
#endif

View File

@ -0,0 +1,791 @@
/* This source file must have a .cpp extension so that all C++ compilers
recognize the extension without flags. Borland does not know .cxx for
example. */
#ifndef __cplusplus
# error "A C compiler has been selected for C++."
#endif
#if !defined(__has_include)
/* If the compiler does not have __has_include, pretend the answer is
always no. */
# define __has_include(x) 0
#endif
/* Version number components: V=Version, R=Revision, P=Patch
Version date components: YYYY=Year, MM=Month, DD=Day */
#if defined(__COMO__)
# define COMPILER_ID "Comeau"
/* __COMO_VERSION__ = VRR */
# define COMPILER_VERSION_MAJOR DEC(__COMO_VERSION__ / 100)
# define COMPILER_VERSION_MINOR DEC(__COMO_VERSION__ % 100)
#elif defined(__INTEL_COMPILER) || defined(__ICC)
# define COMPILER_ID "Intel"
# if defined(_MSC_VER)
# define SIMULATE_ID "MSVC"
# endif
# if defined(__GNUC__)
# define SIMULATE_ID "GNU"
# endif
/* __INTEL_COMPILER = VRP prior to 2021, and then VVVV for 2021 and later,
except that a few beta releases use the old format with V=2021. */
# if __INTEL_COMPILER < 2021 || __INTEL_COMPILER == 202110 || __INTEL_COMPILER == 202111
# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100)
# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10)
# if defined(__INTEL_COMPILER_UPDATE)
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE)
# else
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10)
# endif
# else
# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER)
# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER_UPDATE)
/* The third version component from --version is an update index,
but no macro is provided for it. */
# define COMPILER_VERSION_PATCH DEC(0)
# endif
# if defined(__INTEL_COMPILER_BUILD_DATE)
/* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */
# define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE)
# endif
# if defined(_MSC_VER)
/* _MSC_VER = VVRR */
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
# endif
# if defined(__GNUC__)
# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
# elif defined(__GNUG__)
# define SIMULATE_VERSION_MAJOR DEC(__GNUG__)
# endif
# if defined(__GNUC_MINOR__)
# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
# endif
# if defined(__GNUC_PATCHLEVEL__)
# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
# endif
#elif (defined(__clang__) && defined(__INTEL_CLANG_COMPILER)) || defined(__INTEL_LLVM_COMPILER)
# define COMPILER_ID "IntelLLVM"
#if defined(_MSC_VER)
# define SIMULATE_ID "MSVC"
#endif
#if defined(__GNUC__)
# define SIMULATE_ID "GNU"
#endif
/* __INTEL_LLVM_COMPILER = VVVVRP prior to 2021.2.0, VVVVRRPP for 2021.2.0 and
* later. Look for 6 digit vs. 8 digit version number to decide encoding.
* VVVV is no smaller than the current year when a version is released.
*/
#if __INTEL_LLVM_COMPILER < 1000000L
# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/100)
# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/10 % 10)
# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 10)
#else
# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/10000)
# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/100 % 100)
# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 100)
#endif
#if defined(_MSC_VER)
/* _MSC_VER = VVRR */
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
#endif
#if defined(__GNUC__)
# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
#elif defined(__GNUG__)
# define SIMULATE_VERSION_MAJOR DEC(__GNUG__)
#endif
#if defined(__GNUC_MINOR__)
# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
#endif
#if defined(__GNUC_PATCHLEVEL__)
# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
#endif
#elif defined(__PATHCC__)
# define COMPILER_ID "PathScale"
# define COMPILER_VERSION_MAJOR DEC(__PATHCC__)
# define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__)
# if defined(__PATHCC_PATCHLEVEL__)
# define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__)
# endif
#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__)
# define COMPILER_ID "Embarcadero"
# define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF)
# define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF)
# define COMPILER_VERSION_PATCH DEC(__CODEGEARC_VERSION__ & 0xFFFF)
#elif defined(__BORLANDC__)
# define COMPILER_ID "Borland"
/* __BORLANDC__ = 0xVRR */
# define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8)
# define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF)
#elif defined(__WATCOMC__) && __WATCOMC__ < 1200
# define COMPILER_ID "Watcom"
/* __WATCOMC__ = VVRR */
# define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100)
# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
# if (__WATCOMC__ % 10) > 0
# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
# endif
#elif defined(__WATCOMC__)
# define COMPILER_ID "OpenWatcom"
/* __WATCOMC__ = VVRP + 1100 */
# define COMPILER_VERSION_MAJOR DEC((__WATCOMC__ - 1100) / 100)
# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
# if (__WATCOMC__ % 10) > 0
# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
# endif
#elif defined(__SUNPRO_CC)
# define COMPILER_ID "SunPro"
# if __SUNPRO_CC >= 0x5100
/* __SUNPRO_CC = 0xVRRP */
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>12)
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xFF)
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC & 0xF)
# else
/* __SUNPRO_CC = 0xVRP */
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>8)
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xF)
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC & 0xF)
# endif
#elif defined(__HP_aCC)
# define COMPILER_ID "HP"
/* __HP_aCC = VVRRPP */
# define COMPILER_VERSION_MAJOR DEC(__HP_aCC/10000)
# define COMPILER_VERSION_MINOR DEC(__HP_aCC/100 % 100)
# define COMPILER_VERSION_PATCH DEC(__HP_aCC % 100)
#elif defined(__DECCXX)
# define COMPILER_ID "Compaq"
/* __DECCXX_VER = VVRRTPPPP */
# define COMPILER_VERSION_MAJOR DEC(__DECCXX_VER/10000000)
# define COMPILER_VERSION_MINOR DEC(__DECCXX_VER/100000 % 100)
# define COMPILER_VERSION_PATCH DEC(__DECCXX_VER % 10000)
#elif defined(__IBMCPP__) && defined(__COMPILER_VER__)
# define COMPILER_ID "zOS"
/* __IBMCPP__ = VRP */
# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100)
# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10)
# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10)
#elif defined(__ibmxl__) && defined(__clang__)
# define COMPILER_ID "XLClang"
# define COMPILER_VERSION_MAJOR DEC(__ibmxl_version__)
# define COMPILER_VERSION_MINOR DEC(__ibmxl_release__)
# define COMPILER_VERSION_PATCH DEC(__ibmxl_modification__)
# define COMPILER_VERSION_TWEAK DEC(__ibmxl_ptf_fix_level__)
#elif defined(__IBMCPP__) && !defined(__COMPILER_VER__) && __IBMCPP__ >= 800
# define COMPILER_ID "XL"
/* __IBMCPP__ = VRP */
# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100)
# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10)
# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10)
#elif defined(__IBMCPP__) && !defined(__COMPILER_VER__) && __IBMCPP__ < 800
# define COMPILER_ID "VisualAge"
/* __IBMCPP__ = VRP */
# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100)
# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10)
# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10)
#elif defined(__NVCOMPILER)
# define COMPILER_ID "NVHPC"
# define COMPILER_VERSION_MAJOR DEC(__NVCOMPILER_MAJOR__)
# define COMPILER_VERSION_MINOR DEC(__NVCOMPILER_MINOR__)
# if defined(__NVCOMPILER_PATCHLEVEL__)
# define COMPILER_VERSION_PATCH DEC(__NVCOMPILER_PATCHLEVEL__)
# endif
#elif defined(__PGI)
# define COMPILER_ID "PGI"
# define COMPILER_VERSION_MAJOR DEC(__PGIC__)
# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__)
# if defined(__PGIC_PATCHLEVEL__)
# define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__)
# endif
#elif defined(_CRAYC)
# define COMPILER_ID "Cray"
# define COMPILER_VERSION_MAJOR DEC(_RELEASE_MAJOR)
# define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR)
#elif defined(__TI_COMPILER_VERSION__)
# define COMPILER_ID "TI"
/* __TI_COMPILER_VERSION__ = VVVRRRPPP */
# define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000)
# define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000)
# define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000)
#elif defined(__CLANG_FUJITSU)
# define COMPILER_ID "FujitsuClang"
# define COMPILER_VERSION_MAJOR DEC(__FCC_major__)
# define COMPILER_VERSION_MINOR DEC(__FCC_minor__)
# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__)
# define COMPILER_VERSION_INTERNAL_STR __clang_version__
#elif defined(__FUJITSU)
# define COMPILER_ID "Fujitsu"
# if defined(__FCC_version__)
# define COMPILER_VERSION __FCC_version__
# elif defined(__FCC_major__)
# define COMPILER_VERSION_MAJOR DEC(__FCC_major__)
# define COMPILER_VERSION_MINOR DEC(__FCC_minor__)
# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__)
# endif
# if defined(__fcc_version)
# define COMPILER_VERSION_INTERNAL DEC(__fcc_version)
# elif defined(__FCC_VERSION)
# define COMPILER_VERSION_INTERNAL DEC(__FCC_VERSION)
# endif
#elif defined(__ghs__)
# define COMPILER_ID "GHS"
/* __GHS_VERSION_NUMBER = VVVVRP */
# ifdef __GHS_VERSION_NUMBER
# define COMPILER_VERSION_MAJOR DEC(__GHS_VERSION_NUMBER / 100)
# define COMPILER_VERSION_MINOR DEC(__GHS_VERSION_NUMBER / 10 % 10)
# define COMPILER_VERSION_PATCH DEC(__GHS_VERSION_NUMBER % 10)
# endif
#elif defined(__SCO_VERSION__)
# define COMPILER_ID "SCO"
#elif defined(__ARMCC_VERSION) && !defined(__clang__)
# define COMPILER_ID "ARMCC"
#if __ARMCC_VERSION >= 1000000
/* __ARMCC_VERSION = VRRPPPP */
# define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/1000000)
# define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 100)
# define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
#else
/* __ARMCC_VERSION = VRPPPP */
# define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/100000)
# define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 10)
# define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
#endif
#elif defined(__clang__) && defined(__apple_build_version__)
# define COMPILER_ID "AppleClang"
# if defined(_MSC_VER)
# define SIMULATE_ID "MSVC"
# endif
# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
# if defined(_MSC_VER)
/* _MSC_VER = VVRR */
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
# endif
# define COMPILER_VERSION_TWEAK DEC(__apple_build_version__)
#elif defined(__clang__) && defined(__ARMCOMPILER_VERSION)
# define COMPILER_ID "ARMClang"
# define COMPILER_VERSION_MAJOR DEC(__ARMCOMPILER_VERSION/1000000)
# define COMPILER_VERSION_MINOR DEC(__ARMCOMPILER_VERSION/10000 % 100)
# define COMPILER_VERSION_PATCH DEC(__ARMCOMPILER_VERSION % 10000)
# define COMPILER_VERSION_INTERNAL DEC(__ARMCOMPILER_VERSION)
#elif defined(__clang__)
# define COMPILER_ID "Clang"
# if defined(_MSC_VER)
# define SIMULATE_ID "MSVC"
# endif
# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
# if defined(_MSC_VER)
/* _MSC_VER = VVRR */
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
# endif
#elif defined(__GNUC__) || defined(__GNUG__)
# define COMPILER_ID "GNU"
# if defined(__GNUC__)
# define COMPILER_VERSION_MAJOR DEC(__GNUC__)
# else
# define COMPILER_VERSION_MAJOR DEC(__GNUG__)
# endif
# if defined(__GNUC_MINOR__)
# define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__)
# endif
# if defined(__GNUC_PATCHLEVEL__)
# define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
# endif
#elif defined(_MSC_VER)
# define COMPILER_ID "MSVC"
/* _MSC_VER = VVRR */
# define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100)
# define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100)
# if defined(_MSC_FULL_VER)
# if _MSC_VER >= 1400
/* _MSC_FULL_VER = VVRRPPPPP */
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000)
# else
/* _MSC_FULL_VER = VVRRPPPP */
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000)
# endif
# endif
# if defined(_MSC_BUILD)
# define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD)
# endif
#elif defined(__VISUALDSPVERSION__) || defined(__ADSPBLACKFIN__) || defined(__ADSPTS__) || defined(__ADSP21000__)
# define COMPILER_ID "ADSP"
#if defined(__VISUALDSPVERSION__)
/* __VISUALDSPVERSION__ = 0xVVRRPP00 */
# define COMPILER_VERSION_MAJOR HEX(__VISUALDSPVERSION__>>24)
# define COMPILER_VERSION_MINOR HEX(__VISUALDSPVERSION__>>16 & 0xFF)
# define COMPILER_VERSION_PATCH HEX(__VISUALDSPVERSION__>>8 & 0xFF)
#endif
#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
# define COMPILER_ID "IAR"
# if defined(__VER__) && defined(__ICCARM__)
# define COMPILER_VERSION_MAJOR DEC((__VER__) / 1000000)
# define COMPILER_VERSION_MINOR DEC(((__VER__) / 1000) % 1000)
# define COMPILER_VERSION_PATCH DEC((__VER__) % 1000)
# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__)
# elif defined(__VER__) && (defined(__ICCAVR__) || defined(__ICCRX__) || defined(__ICCRH850__) || defined(__ICCRL78__) || defined(__ICC430__) || defined(__ICCRISCV__) || defined(__ICCV850__) || defined(__ICC8051__) || defined(__ICCSTM8__))
# define COMPILER_VERSION_MAJOR DEC((__VER__) / 100)
# define COMPILER_VERSION_MINOR DEC((__VER__) - (((__VER__) / 100)*100))
# define COMPILER_VERSION_PATCH DEC(__SUBVERSION__)
# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__)
# endif
/* These compilers are either not known or too old to define an
identification macro. Try to identify the platform and guess that
it is the native compiler. */
#elif defined(__hpux) || defined(__hpua)
# define COMPILER_ID "HP"
#else /* unknown compiler */
# define COMPILER_ID ""
#endif
/* Construct the string literal in pieces to prevent the source from
getting matched. Store it in a pointer rather than an array
because some compilers will just produce instructions to fill the
array rather than assigning a pointer to a static array. */
char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]";
#ifdef SIMULATE_ID
char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]";
#endif
#ifdef __QNXNTO__
char const* qnxnto = "INFO" ":" "qnxnto[]";
#endif
#if defined(__CRAYXT_COMPUTE_LINUX_TARGET)
char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]";
#endif
#define STRINGIFY_HELPER(X) #X
#define STRINGIFY(X) STRINGIFY_HELPER(X)
/* Identify known platforms by name. */
#if defined(__linux) || defined(__linux__) || defined(linux)
# define PLATFORM_ID "Linux"
#elif defined(__MSYS__)
# define PLATFORM_ID "MSYS"
#elif defined(__CYGWIN__)
# define PLATFORM_ID "Cygwin"
#elif defined(__MINGW32__)
# define PLATFORM_ID "MinGW"
#elif defined(__APPLE__)
# define PLATFORM_ID "Darwin"
#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
# define PLATFORM_ID "Windows"
#elif defined(__FreeBSD__) || defined(__FreeBSD)
# define PLATFORM_ID "FreeBSD"
#elif defined(__NetBSD__) || defined(__NetBSD)
# define PLATFORM_ID "NetBSD"
#elif defined(__OpenBSD__) || defined(__OPENBSD)
# define PLATFORM_ID "OpenBSD"
#elif defined(__sun) || defined(sun)
# define PLATFORM_ID "SunOS"
#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__)
# define PLATFORM_ID "AIX"
#elif defined(__hpux) || defined(__hpux__)
# define PLATFORM_ID "HP-UX"
#elif defined(__HAIKU__)
# define PLATFORM_ID "Haiku"
#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS)
# define PLATFORM_ID "BeOS"
#elif defined(__QNX__) || defined(__QNXNTO__)
# define PLATFORM_ID "QNX"
#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__)
# define PLATFORM_ID "Tru64"
#elif defined(__riscos) || defined(__riscos__)
# define PLATFORM_ID "RISCos"
#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__)
# define PLATFORM_ID "SINIX"
#elif defined(__UNIX_SV__)
# define PLATFORM_ID "UNIX_SV"
#elif defined(__bsdos__)
# define PLATFORM_ID "BSDOS"
#elif defined(_MPRAS) || defined(MPRAS)
# define PLATFORM_ID "MP-RAS"
#elif defined(__osf) || defined(__osf__)
# define PLATFORM_ID "OSF1"
#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv)
# define PLATFORM_ID "SCO_SV"
#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX)
# define PLATFORM_ID "ULTRIX"
#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX)
# define PLATFORM_ID "Xenix"
#elif defined(__WATCOMC__)
# if defined(__LINUX__)
# define PLATFORM_ID "Linux"
# elif defined(__DOS__)
# define PLATFORM_ID "DOS"
# elif defined(__OS2__)
# define PLATFORM_ID "OS2"
# elif defined(__WINDOWS__)
# define PLATFORM_ID "Windows3x"
# elif defined(__VXWORKS__)
# define PLATFORM_ID "VxWorks"
# else /* unknown platform */
# define PLATFORM_ID
# endif
#elif defined(__INTEGRITY)
# if defined(INT_178B)
# define PLATFORM_ID "Integrity178"
# else /* regular Integrity */
# define PLATFORM_ID "Integrity"
# endif
#else /* unknown platform */
# define PLATFORM_ID
#endif
/* For windows compilers MSVC and Intel we can determine
the architecture of the compiler being used. This is because
the compilers do not have flags that can change the architecture,
but rather depend on which compiler is being used
*/
#if defined(_WIN32) && defined(_MSC_VER)
# if defined(_M_IA64)
# define ARCHITECTURE_ID "IA64"
# elif defined(_M_ARM64EC)
# define ARCHITECTURE_ID "ARM64EC"
# elif defined(_M_X64) || defined(_M_AMD64)
# define ARCHITECTURE_ID "x64"
# elif defined(_M_IX86)
# define ARCHITECTURE_ID "X86"
# elif defined(_M_ARM64)
# define ARCHITECTURE_ID "ARM64"
# elif defined(_M_ARM)
# if _M_ARM == 4
# define ARCHITECTURE_ID "ARMV4I"
# elif _M_ARM == 5
# define ARCHITECTURE_ID "ARMV5I"
# else
# define ARCHITECTURE_ID "ARMV" STRINGIFY(_M_ARM)
# endif
# elif defined(_M_MIPS)
# define ARCHITECTURE_ID "MIPS"
# elif defined(_M_SH)
# define ARCHITECTURE_ID "SHx"
# else /* unknown architecture */
# define ARCHITECTURE_ID ""
# endif
#elif defined(__WATCOMC__)
# if defined(_M_I86)
# define ARCHITECTURE_ID "I86"
# elif defined(_M_IX86)
# define ARCHITECTURE_ID "X86"
# else /* unknown architecture */
# define ARCHITECTURE_ID ""
# endif
#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
# if defined(__ICCARM__)
# define ARCHITECTURE_ID "ARM"
# elif defined(__ICCRX__)
# define ARCHITECTURE_ID "RX"
# elif defined(__ICCRH850__)
# define ARCHITECTURE_ID "RH850"
# elif defined(__ICCRL78__)
# define ARCHITECTURE_ID "RL78"
# elif defined(__ICCRISCV__)
# define ARCHITECTURE_ID "RISCV"
# elif defined(__ICCAVR__)
# define ARCHITECTURE_ID "AVR"
# elif defined(__ICC430__)
# define ARCHITECTURE_ID "MSP430"
# elif defined(__ICCV850__)
# define ARCHITECTURE_ID "V850"
# elif defined(__ICC8051__)
# define ARCHITECTURE_ID "8051"
# elif defined(__ICCSTM8__)
# define ARCHITECTURE_ID "STM8"
# else /* unknown architecture */
# define ARCHITECTURE_ID ""
# endif
#elif defined(__ghs__)
# if defined(__PPC64__)
# define ARCHITECTURE_ID "PPC64"
# elif defined(__ppc__)
# define ARCHITECTURE_ID "PPC"
# elif defined(__ARM__)
# define ARCHITECTURE_ID "ARM"
# elif defined(__x86_64__)
# define ARCHITECTURE_ID "x64"
# elif defined(__i386__)
# define ARCHITECTURE_ID "X86"
# else /* unknown architecture */
# define ARCHITECTURE_ID ""
# endif
#elif defined(__TI_COMPILER_VERSION__)
# if defined(__TI_ARM__)
# define ARCHITECTURE_ID "ARM"
# elif defined(__MSP430__)
# define ARCHITECTURE_ID "MSP430"
# elif defined(__TMS320C28XX__)
# define ARCHITECTURE_ID "TMS320C28x"
# elif defined(__TMS320C6X__) || defined(_TMS320C6X)
# define ARCHITECTURE_ID "TMS320C6x"
# else /* unknown architecture */
# define ARCHITECTURE_ID ""
# endif
#else
# define ARCHITECTURE_ID
#endif
/* Convert integer to decimal digit literals. */
#define DEC(n) \
('0' + (((n) / 10000000)%10)), \
('0' + (((n) / 1000000)%10)), \
('0' + (((n) / 100000)%10)), \
('0' + (((n) / 10000)%10)), \
('0' + (((n) / 1000)%10)), \
('0' + (((n) / 100)%10)), \
('0' + (((n) / 10)%10)), \
('0' + ((n) % 10))
/* Convert integer to hex digit literals. */
#define HEX(n) \
('0' + ((n)>>28 & 0xF)), \
('0' + ((n)>>24 & 0xF)), \
('0' + ((n)>>20 & 0xF)), \
('0' + ((n)>>16 & 0xF)), \
('0' + ((n)>>12 & 0xF)), \
('0' + ((n)>>8 & 0xF)), \
('0' + ((n)>>4 & 0xF)), \
('0' + ((n) & 0xF))
/* Construct a string literal encoding the version number. */
#ifdef COMPILER_VERSION
char const* info_version = "INFO" ":" "compiler_version[" COMPILER_VERSION "]";
/* Construct a string literal encoding the version number components. */
#elif defined(COMPILER_VERSION_MAJOR)
char const info_version[] = {
'I', 'N', 'F', 'O', ':',
'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[',
COMPILER_VERSION_MAJOR,
# ifdef COMPILER_VERSION_MINOR
'.', COMPILER_VERSION_MINOR,
# ifdef COMPILER_VERSION_PATCH
'.', COMPILER_VERSION_PATCH,
# ifdef COMPILER_VERSION_TWEAK
'.', COMPILER_VERSION_TWEAK,
# endif
# endif
# endif
']','\0'};
#endif
/* Construct a string literal encoding the internal version number. */
#ifdef COMPILER_VERSION_INTERNAL
char const info_version_internal[] = {
'I', 'N', 'F', 'O', ':',
'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','_',
'i','n','t','e','r','n','a','l','[',
COMPILER_VERSION_INTERNAL,']','\0'};
#elif defined(COMPILER_VERSION_INTERNAL_STR)
char const* info_version_internal = "INFO" ":" "compiler_version_internal[" COMPILER_VERSION_INTERNAL_STR "]";
#endif
/* Construct a string literal encoding the version number components. */
#ifdef SIMULATE_VERSION_MAJOR
char const info_simulate_version[] = {
'I', 'N', 'F', 'O', ':',
's','i','m','u','l','a','t','e','_','v','e','r','s','i','o','n','[',
SIMULATE_VERSION_MAJOR,
# ifdef SIMULATE_VERSION_MINOR
'.', SIMULATE_VERSION_MINOR,
# ifdef SIMULATE_VERSION_PATCH
'.', SIMULATE_VERSION_PATCH,
# ifdef SIMULATE_VERSION_TWEAK
'.', SIMULATE_VERSION_TWEAK,
# endif
# endif
# endif
']','\0'};
#endif
/* Construct the string literal in pieces to prevent the source from
getting matched. Store it in a pointer rather than an array
because some compilers will just produce instructions to fill the
array rather than assigning a pointer to a static array. */
char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]";
char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]";
#if defined(__INTEL_COMPILER) && defined(_MSVC_LANG) && _MSVC_LANG < 201403L
# if defined(__INTEL_CXX11_MODE__)
# if defined(__cpp_aggregate_nsdmi)
# define CXX_STD 201402L
# else
# define CXX_STD 201103L
# endif
# else
# define CXX_STD 199711L
# endif
#elif defined(_MSC_VER) && defined(_MSVC_LANG)
# define CXX_STD _MSVC_LANG
#else
# define CXX_STD __cplusplus
#endif
const char* info_language_standard_default = "INFO" ":" "standard_default["
#if CXX_STD > 202002L
"23"
#elif CXX_STD > 201703L
"20"
#elif CXX_STD >= 201703L
"17"
#elif CXX_STD >= 201402L
"14"
#elif CXX_STD >= 201103L
"11"
#else
"98"
#endif
"]";
const char* info_language_extensions_default = "INFO" ":" "extensions_default["
/* !defined(_MSC_VER) to exclude Clang's MSVC compatibility mode. */
#if (defined(__clang__) || defined(__GNUC__) || \
defined(__TI_COMPILER_VERSION__)) && \
!defined(__STRICT_ANSI__) && !defined(_MSC_VER)
"ON"
#else
"OFF"
#endif
"]";
/*--------------------------------------------------------------------------*/
int main(int argc, char* argv[])
{
int require = 0;
require += info_compiler[argc];
require += info_platform[argc];
#ifdef COMPILER_VERSION_MAJOR
require += info_version[argc];
#endif
#ifdef COMPILER_VERSION_INTERNAL
require += info_version_internal[argc];
#endif
#ifdef SIMULATE_ID
require += info_simulate[argc];
#endif
#ifdef SIMULATE_VERSION_MAJOR
require += info_simulate_version[argc];
#endif
#if defined(__CRAYXT_COMPUTE_LINUX_TARGET)
require += info_cray[argc];
#endif
require += info_language_standard_default[argc];
require += info_language_extensions_default[argc];
(void)argv;
return require;
}

View File

@ -0,0 +1,16 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.22
# Relative path conversion top directories.
set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home/lobov/workspace/ccs12.5/cmake_test")
set(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/lobov/workspace/ccs12.5/cmake_test/build")
# Force unix paths in dependencies.
set(CMAKE_FORCE_UNIX_PATHS 1)
# The C and CXX include file regular expressions for this directory.
set(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$")
set(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$")
set(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN})
set(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN})

View File

@ -0,0 +1,125 @@
The system is: Linux - 6.2.0-39-generic - x86_64
Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
Compiler: /home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000
Build flags:
Id flags:
The output was:
0
Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CMakeCCompilerId.obj"
The C compiler identification is TI, found in "/home/lobov/workspace/ccs12.5/cmake_test/build/CMakeFiles/3.22.1/CompilerIdC/CMakeCCompilerId.obj"
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded.
Compiler: /home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000
Build flags:
Id flags:
The output was:
0
Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "CMakeCXXCompilerId.obj"
The CXX compiler identification is TI, found in "/home/lobov/workspace/ccs12.5/cmake_test/build/CMakeFiles/3.22.1/CompilerIdCXX/CMakeCXXCompilerId.obj"
Detecting C compiler ABI info compiled with the following output:
Change Dir: /home/lobov/workspace/ccs12.5/cmake_test/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_f783a/fast && /usr/bin/gmake -f CMakeFiles/cmTC_f783a.dir/build.make CMakeFiles/cmTC_f783a.dir/build
gmake[1]: Entering directory '/home/lobov/workspace/ccs12.5/cmake_test/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_f783a.dir/CMakeCCompilerABI.c.o
/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000 --compile_only --c_file=/usr/share/cmake-3.22/Modules/CMakeCCompilerABI.c --output_file=CMakeFiles/cmTC_f783a.dir/CMakeCCompilerABI.c.o
Linking C executable cmTC_f783a
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_f783a.dir/link.txt --verbose=1
/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000 --run_linker --output_file=cmTC_f783a --map_file=cmTC_f783a.map CMakeFiles/cmTC_f783a.dir/CMakeCCompilerABI.c.o
<Linking>
gmake[1]: Leaving directory '/home/lobov/workspace/ccs12.5/cmake_test/build/CMakeFiles/CMakeTmp'
Detecting C [--c11;--strict_ansi] compiler features compiled with the following output:
Change Dir: /home/lobov/workspace/ccs12.5/cmake_test/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_0302d/fast && /usr/bin/gmake -f CMakeFiles/cmTC_0302d.dir/build.make CMakeFiles/cmTC_0302d.dir/build
gmake[1]: Entering directory '/home/lobov/workspace/ccs12.5/cmake_test/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_0302d.dir/feature_tests.c.o
/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000 --compile_only --c_file=/home/lobov/workspace/ccs12.5/cmake_test/build/CMakeFiles/feature_tests.c --c11 --strict_ansi --output_file=CMakeFiles/cmTC_0302d.dir/feature_tests.c.o
Linking C executable cmTC_0302d
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_0302d.dir/link.txt --verbose=1
/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000 --run_linker --output_file=cmTC_0302d --map_file=cmTC_0302d.map CMakeFiles/cmTC_0302d.dir/feature_tests.c.o
<Linking>
gmake[1]: Leaving directory '/home/lobov/workspace/ccs12.5/cmake_test/build/CMakeFiles/CMakeTmp'
Detecting C [--c99;--strict_ansi] compiler features compiled with the following output:
Change Dir: /home/lobov/workspace/ccs12.5/cmake_test/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_c170b/fast && /usr/bin/gmake -f CMakeFiles/cmTC_c170b.dir/build.make CMakeFiles/cmTC_c170b.dir/build
gmake[1]: Entering directory '/home/lobov/workspace/ccs12.5/cmake_test/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_c170b.dir/feature_tests.c.o
/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000 --compile_only --c_file=/home/lobov/workspace/ccs12.5/cmake_test/build/CMakeFiles/feature_tests.c --c99 --strict_ansi --output_file=CMakeFiles/cmTC_c170b.dir/feature_tests.c.o
Linking C executable cmTC_c170b
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_c170b.dir/link.txt --verbose=1
/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000 --run_linker --output_file=cmTC_c170b --map_file=cmTC_c170b.map CMakeFiles/cmTC_c170b.dir/feature_tests.c.o
<Linking>
gmake[1]: Leaving directory '/home/lobov/workspace/ccs12.5/cmake_test/build/CMakeFiles/CMakeTmp'
Detecting C [--c89;--strict_ansi] compiler features compiled with the following output:
Change Dir: /home/lobov/workspace/ccs12.5/cmake_test/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_3ab19/fast && /usr/bin/gmake -f CMakeFiles/cmTC_3ab19.dir/build.make CMakeFiles/cmTC_3ab19.dir/build
gmake[1]: Entering directory '/home/lobov/workspace/ccs12.5/cmake_test/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_3ab19.dir/feature_tests.c.o
/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000 --compile_only --c_file=/home/lobov/workspace/ccs12.5/cmake_test/build/CMakeFiles/feature_tests.c --c89 --strict_ansi --output_file=CMakeFiles/cmTC_3ab19.dir/feature_tests.c.o
Linking C executable cmTC_3ab19
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_3ab19.dir/link.txt --verbose=1
/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000 --run_linker --output_file=cmTC_3ab19 --map_file=cmTC_3ab19.map CMakeFiles/cmTC_3ab19.dir/feature_tests.c.o
<Linking>
gmake[1]: Leaving directory '/home/lobov/workspace/ccs12.5/cmake_test/build/CMakeFiles/CMakeTmp'
Detecting CXX compiler ABI info compiled with the following output:
Change Dir: /home/lobov/workspace/ccs12.5/cmake_test/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_7c04d/fast && /usr/bin/gmake -f CMakeFiles/cmTC_7c04d.dir/build.make CMakeFiles/cmTC_7c04d.dir/build
gmake[1]: Entering directory '/home/lobov/workspace/ccs12.5/cmake_test/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_7c04d.dir/CMakeCXXCompilerABI.cpp.o
/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000 --compile_only --cpp_file=/usr/share/cmake-3.22/Modules/CMakeCXXCompilerABI.cpp --output_file=CMakeFiles/cmTC_7c04d.dir/CMakeCXXCompilerABI.cpp.o
Linking CXX executable cmTC_7c04d
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_7c04d.dir/link.txt --verbose=1
/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000 --run_linker --output_file=cmTC_7c04d --map_file=cmTC_7c04d.map CMakeFiles/cmTC_7c04d.dir/CMakeCXXCompilerABI.cpp.o
<Linking>
gmake[1]: Leaving directory '/home/lobov/workspace/ccs12.5/cmake_test/build/CMakeFiles/CMakeTmp'
Detecting CXX [--c++03;--strict_ansi] compiler features compiled with the following output:
Change Dir: /home/lobov/workspace/ccs12.5/cmake_test/build/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_cb3f4/fast && /usr/bin/gmake -f CMakeFiles/cmTC_cb3f4.dir/build.make CMakeFiles/cmTC_cb3f4.dir/build
gmake[1]: Entering directory '/home/lobov/workspace/ccs12.5/cmake_test/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_cb3f4.dir/feature_tests.cxx.o
/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000 --compile_only --cpp_file=/home/lobov/workspace/ccs12.5/cmake_test/build/CMakeFiles/feature_tests.cxx --c++03 --strict_ansi --output_file=CMakeFiles/cmTC_cb3f4.dir/feature_tests.cxx.o
Linking CXX executable cmTC_cb3f4
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_cb3f4.dir/link.txt --verbose=1
/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000 --run_linker --output_file=cmTC_cb3f4 --map_file=cmTC_cb3f4.map CMakeFiles/cmTC_cb3f4.dir/feature_tests.cxx.o
<Linking>
gmake[1]: Leaving directory '/home/lobov/workspace/ccs12.5/cmake_test/build/CMakeFiles/CMakeTmp'

View File

@ -0,0 +1,44 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.22
# The generator used is:
set(CMAKE_DEPENDS_GENERATOR "Unix Makefiles")
# The top level Makefile was generated from the following files:
set(CMAKE_MAKEFILE_DEPENDS
"CMakeCache.txt"
"../CMakeLists.txt"
"CMakeFiles/3.22.1/CMakeCCompiler.cmake"
"CMakeFiles/3.22.1/CMakeCXXCompiler.cmake"
"CMakeFiles/3.22.1/CMakeSystem.cmake"
"/usr/share/cmake-3.22/Modules/CMakeCInformation.cmake"
"/usr/share/cmake-3.22/Modules/CMakeCXXInformation.cmake"
"/usr/share/cmake-3.22/Modules/CMakeCommonLanguageInclude.cmake"
"/usr/share/cmake-3.22/Modules/CMakeGenericSystem.cmake"
"/usr/share/cmake-3.22/Modules/CMakeInitializeConfigs.cmake"
"/usr/share/cmake-3.22/Modules/CMakeLanguageInformation.cmake"
"/usr/share/cmake-3.22/Modules/CMakeSystemSpecificInformation.cmake"
"/usr/share/cmake-3.22/Modules/CMakeSystemSpecificInitialize.cmake"
"/usr/share/cmake-3.22/Modules/Compiler/CMakeCommonCompilerMacros.cmake"
"/usr/share/cmake-3.22/Modules/Compiler/TI-C.cmake"
"/usr/share/cmake-3.22/Modules/Compiler/TI-CXX.cmake"
"/usr/share/cmake-3.22/Modules/Compiler/TI.cmake"
"/usr/share/cmake-3.22/Modules/Platform/Linux.cmake"
"/usr/share/cmake-3.22/Modules/Platform/UnixPaths.cmake"
)
# The corresponding makefile is:
set(CMAKE_MAKEFILE_OUTPUTS
"Makefile"
"CMakeFiles/cmake.check_cache"
)
# Byproducts of CMake generate step:
set(CMAKE_MAKEFILE_PRODUCTS
"CMakeFiles/CMakeDirectoryInformation.cmake"
)
# Dependency information for all targets:
set(CMAKE_DEPEND_INFO_FILES
"CMakeFiles/test_project.dir/DependInfo.cmake"
)

112
build/CMakeFiles/Makefile2 Normal file
View File

@ -0,0 +1,112 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.22
# Default target executed when no arguments are given to make.
default_target: all
.PHONY : default_target
#=============================================================================
# Special targets provided by cmake.
# Disable implicit rules so canonical targets will work.
.SUFFIXES:
# Disable VCS-based implicit rules.
% : %,v
# Disable VCS-based implicit rules.
% : RCS/%
# Disable VCS-based implicit rules.
% : RCS/%,v
# Disable VCS-based implicit rules.
% : SCCS/s.%
# Disable VCS-based implicit rules.
% : s.%
.SUFFIXES: .hpux_make_needs_suffix_list
# Command-line flag to silence nested $(MAKE).
$(VERBOSE)MAKESILENT = -s
#Suppress display of executed commands.
$(VERBOSE).SILENT:
# A target that is always out of date.
cmake_force:
.PHONY : cmake_force
#=============================================================================
# Set environment variables for the build.
# The shell in which to execute make rules.
SHELL = /bin/sh
# The CMake executable.
CMAKE_COMMAND = /usr/bin/cmake
# The command to remove a file.
RM = /usr/bin/cmake -E rm -f
# Escaping for special characters.
EQUALS = =
# The top-level source directory on which CMake was run.
CMAKE_SOURCE_DIR = /home/lobov/workspace/ccs12.5/cmake_test
# The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = /home/lobov/workspace/ccs12.5/cmake_test/build
#=============================================================================
# Directory level rules for the build root directory
# The main recursive "all" target.
all: CMakeFiles/test_project.dir/all
.PHONY : all
# The main recursive "preinstall" target.
preinstall:
.PHONY : preinstall
# The main recursive "clean" target.
clean: CMakeFiles/test_project.dir/clean
.PHONY : clean
#=============================================================================
# Target rules for target CMakeFiles/test_project.dir
# All Build rule for target.
CMakeFiles/test_project.dir/all:
$(MAKE) $(MAKESILENT) -f CMakeFiles/test_project.dir/build.make CMakeFiles/test_project.dir/depend
$(MAKE) $(MAKESILENT) -f CMakeFiles/test_project.dir/build.make CMakeFiles/test_project.dir/build
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/lobov/workspace/ccs12.5/cmake_test/build/CMakeFiles --progress-num=1,2,3,4,5,6,7 "Built target test_project"
.PHONY : CMakeFiles/test_project.dir/all
# Build rule for subdir invocation for target.
CMakeFiles/test_project.dir/rule: cmake_check_build_system
$(CMAKE_COMMAND) -E cmake_progress_start /home/lobov/workspace/ccs12.5/cmake_test/build/CMakeFiles 7
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 CMakeFiles/test_project.dir/all
$(CMAKE_COMMAND) -E cmake_progress_start /home/lobov/workspace/ccs12.5/cmake_test/build/CMakeFiles 0
.PHONY : CMakeFiles/test_project.dir/rule
# Convenience name for target.
test_project: CMakeFiles/test_project.dir/rule
.PHONY : test_project
# clean rule for target.
CMakeFiles/test_project.dir/clean:
$(MAKE) $(MAKESILENT) -f CMakeFiles/test_project.dir/build.make CMakeFiles/test_project.dir/clean
.PHONY : CMakeFiles/test_project.dir/clean
#=============================================================================
# Special targets to cleanup operation of make.
# Special rule to run CMake to check the build system integrity.
# No rule that depends on this can have commands that come from listfiles
# because they might be regenerated.
cmake_check_build_system:
$(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
.PHONY : cmake_check_build_system

View File

@ -0,0 +1 @@

View File

@ -0,0 +1,2 @@
#include "foo.h"
int main(){}

View File

@ -0,0 +1,3 @@
/home/lobov/workspace/ccs12.5/cmake_test/build/CMakeFiles/test_project.dir
/home/lobov/workspace/ccs12.5/cmake_test/build/CMakeFiles/edit_cache.dir
/home/lobov/workspace/ccs12.5/cmake_test/build/CMakeFiles/rebuild_cache.dir

View File

@ -0,0 +1 @@
# This file is generated by cmake for dependency checking of the CMakeCache.txt file

Binary file not shown.

View File

@ -0,0 +1,6 @@
const char features[] = {"\n"
};
int main(int argc, char** argv) { (void)argv; return features[argc]; }

View File

@ -0,0 +1,6 @@
const char features[] = {"\n"
};
int main(int argc, char** argv) { (void)argv; return features[argc]; }

View File

@ -0,0 +1 @@
7

View File

@ -0,0 +1,49 @@
# Consider dependencies only in project.
set(CMAKE_DEPENDS_IN_PROJECT_ONLY OFF)
# The set of languages for which implicit dependencies are needed:
set(CMAKE_DEPENDS_LANGUAGES
"C"
"CXX"
)
# The set of files for implicit dependencies of each language:
set(CMAKE_DEPENDS_CHECK_C
"/home/lobov/workspace/ccs12.5/cmake_test/f2833x/common/source/DSP2833x_DefaultIsr.c" "/home/lobov/workspace/ccs12.5/cmake_test/build/CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_DefaultIsr.c.o"
"/home/lobov/workspace/ccs12.5/cmake_test/f2833x/common/source/DSP2833x_PieCtrl.c" "/home/lobov/workspace/ccs12.5/cmake_test/build/CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_PieCtrl.c.o"
"/home/lobov/workspace/ccs12.5/cmake_test/f2833x/common/source/DSP2833x_PieVect.c" "/home/lobov/workspace/ccs12.5/cmake_test/build/CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_PieVect.c.o"
"/home/lobov/workspace/ccs12.5/cmake_test/f2833x/common/source/DSP2833x_SysCtrl.c" "/home/lobov/workspace/ccs12.5/cmake_test/build/CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_SysCtrl.c.o"
"/home/lobov/workspace/ccs12.5/cmake_test/f2833x/headers/source/DSP2833x_GlobalVariableDefs.c" "/home/lobov/workspace/ccs12.5/cmake_test/build/CMakeFiles/test_project.dir/f2833x/headers/source/DSP2833x_GlobalVariableDefs.c.o"
)
set(CMAKE_C_COMPILER_ID "TI")
# The include file search paths:
set(CMAKE_C_TARGET_INCLUDE_PATH
"."
".././f2833x"
".././f2833x/common/include"
".././f2833x/headers/include"
)
set(CMAKE_DEPENDS_CHECK_CXX
"/home/lobov/workspace/ccs12.5/cmake_test/main.cpp" "/home/lobov/workspace/ccs12.5/cmake_test/build/CMakeFiles/test_project.dir/main.cpp.o"
)
set(CMAKE_CXX_COMPILER_ID "TI")
# The include file search paths:
set(CMAKE_CXX_TARGET_INCLUDE_PATH
"."
".././f2833x"
".././f2833x/common/include"
".././f2833x/headers/include"
)
# The set of dependency files which are needed:
set(CMAKE_DEPENDS_DEPENDENCY_FILES
)
# Targets to which this target links.
set(CMAKE_TARGET_LINKED_INFO_FILES
)
# Fortran module output directory.
set(CMAKE_Fortran_TARGET_MODULE_DIR "")

View File

@ -0,0 +1,184 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.22
# Delete rule output on recipe failure.
.DELETE_ON_ERROR:
#=============================================================================
# Special targets provided by cmake.
# Disable implicit rules so canonical targets will work.
.SUFFIXES:
# Disable VCS-based implicit rules.
% : %,v
# Disable VCS-based implicit rules.
% : RCS/%
# Disable VCS-based implicit rules.
% : RCS/%,v
# Disable VCS-based implicit rules.
% : SCCS/s.%
# Disable VCS-based implicit rules.
% : s.%
.SUFFIXES: .hpux_make_needs_suffix_list
# Command-line flag to silence nested $(MAKE).
$(VERBOSE)MAKESILENT = -s
#Suppress display of executed commands.
$(VERBOSE).SILENT:
# A target that is always out of date.
cmake_force:
.PHONY : cmake_force
#=============================================================================
# Set environment variables for the build.
# The shell in which to execute make rules.
SHELL = /bin/sh
# The CMake executable.
CMAKE_COMMAND = /usr/bin/cmake
# The command to remove a file.
RM = /usr/bin/cmake -E rm -f
# Escaping for special characters.
EQUALS = =
# The top-level source directory on which CMake was run.
CMAKE_SOURCE_DIR = /home/lobov/workspace/ccs12.5/cmake_test
# The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = /home/lobov/workspace/ccs12.5/cmake_test/build
# Include any dependencies generated for this target.
include CMakeFiles/test_project.dir/depend.make
# Include any dependencies generated by the compiler for this target.
include CMakeFiles/test_project.dir/compiler_depend.make
# Include the progress variables for this target.
include CMakeFiles/test_project.dir/progress.make
# Include the compile flags for this target's objects.
include CMakeFiles/test_project.dir/flags.make
CMakeFiles/test_project.dir/main.cpp.o: CMakeFiles/test_project.dir/flags.make
CMakeFiles/test_project.dir/main.cpp.o: ../main.cpp
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/lobov/workspace/ccs12.5/cmake_test/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Building CXX object CMakeFiles/test_project.dir/main.cpp.o"
/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000 --compile_only --cpp_file=/home/lobov/workspace/ccs12.5/cmake_test/main.cpp $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) --output_file=CMakeFiles/test_project.dir/main.cpp.o
CMakeFiles/test_project.dir/main.cpp.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/test_project.dir/main.cpp.i"
/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000 --preproc_only --cpp_file=/home/lobov/workspace/ccs12.5/cmake_test/main.cpp $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) --output_file=CMakeFiles/test_project.dir/main.cpp.i
CMakeFiles/test_project.dir/main.cpp.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/test_project.dir/main.cpp.s"
/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000 --compile_only --skip_assembler --cpp_file=/home/lobov/workspace/ccs12.5/cmake_test/main.cpp $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) --output_file=CMakeFiles/test_project.dir/main.cpp.s
CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_DefaultIsr.c.o: CMakeFiles/test_project.dir/flags.make
CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_DefaultIsr.c.o: ../f2833x/common/source/DSP2833x_DefaultIsr.c
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/lobov/workspace/ccs12.5/cmake_test/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Building C object CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_DefaultIsr.c.o"
/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000 --compile_only --c_file=/home/lobov/workspace/ccs12.5/cmake_test/f2833x/common/source/DSP2833x_DefaultIsr.c $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) --output_file=CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_DefaultIsr.c.o
CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_DefaultIsr.c.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_DefaultIsr.c.i"
/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000 --preproc_only --c_file=/home/lobov/workspace/ccs12.5/cmake_test/f2833x/common/source/DSP2833x_DefaultIsr.c $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) --output_file=CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_DefaultIsr.c.i
CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_DefaultIsr.c.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_DefaultIsr.c.s"
/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000 --compile_only --skip_assembler --c_file=/home/lobov/workspace/ccs12.5/cmake_test/f2833x/common/source/DSP2833x_DefaultIsr.c $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) --output_file=CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_DefaultIsr.c.s
CMakeFiles/test_project.dir/f2833x/headers/source/DSP2833x_GlobalVariableDefs.c.o: CMakeFiles/test_project.dir/flags.make
CMakeFiles/test_project.dir/f2833x/headers/source/DSP2833x_GlobalVariableDefs.c.o: ../f2833x/headers/source/DSP2833x_GlobalVariableDefs.c
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/lobov/workspace/ccs12.5/cmake_test/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_3) "Building C object CMakeFiles/test_project.dir/f2833x/headers/source/DSP2833x_GlobalVariableDefs.c.o"
/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000 --compile_only --c_file=/home/lobov/workspace/ccs12.5/cmake_test/f2833x/headers/source/DSP2833x_GlobalVariableDefs.c $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) --output_file=CMakeFiles/test_project.dir/f2833x/headers/source/DSP2833x_GlobalVariableDefs.c.o
CMakeFiles/test_project.dir/f2833x/headers/source/DSP2833x_GlobalVariableDefs.c.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/test_project.dir/f2833x/headers/source/DSP2833x_GlobalVariableDefs.c.i"
/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000 --preproc_only --c_file=/home/lobov/workspace/ccs12.5/cmake_test/f2833x/headers/source/DSP2833x_GlobalVariableDefs.c $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) --output_file=CMakeFiles/test_project.dir/f2833x/headers/source/DSP2833x_GlobalVariableDefs.c.i
CMakeFiles/test_project.dir/f2833x/headers/source/DSP2833x_GlobalVariableDefs.c.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/test_project.dir/f2833x/headers/source/DSP2833x_GlobalVariableDefs.c.s"
/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000 --compile_only --skip_assembler --c_file=/home/lobov/workspace/ccs12.5/cmake_test/f2833x/headers/source/DSP2833x_GlobalVariableDefs.c $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) --output_file=CMakeFiles/test_project.dir/f2833x/headers/source/DSP2833x_GlobalVariableDefs.c.s
CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_PieCtrl.c.o: CMakeFiles/test_project.dir/flags.make
CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_PieCtrl.c.o: ../f2833x/common/source/DSP2833x_PieCtrl.c
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/lobov/workspace/ccs12.5/cmake_test/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_4) "Building C object CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_PieCtrl.c.o"
/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000 --compile_only --c_file=/home/lobov/workspace/ccs12.5/cmake_test/f2833x/common/source/DSP2833x_PieCtrl.c $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) --output_file=CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_PieCtrl.c.o
CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_PieCtrl.c.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_PieCtrl.c.i"
/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000 --preproc_only --c_file=/home/lobov/workspace/ccs12.5/cmake_test/f2833x/common/source/DSP2833x_PieCtrl.c $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) --output_file=CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_PieCtrl.c.i
CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_PieCtrl.c.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_PieCtrl.c.s"
/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000 --compile_only --skip_assembler --c_file=/home/lobov/workspace/ccs12.5/cmake_test/f2833x/common/source/DSP2833x_PieCtrl.c $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) --output_file=CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_PieCtrl.c.s
CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_PieVect.c.o: CMakeFiles/test_project.dir/flags.make
CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_PieVect.c.o: ../f2833x/common/source/DSP2833x_PieVect.c
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/lobov/workspace/ccs12.5/cmake_test/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_5) "Building C object CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_PieVect.c.o"
/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000 --compile_only --c_file=/home/lobov/workspace/ccs12.5/cmake_test/f2833x/common/source/DSP2833x_PieVect.c $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) --output_file=CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_PieVect.c.o
CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_PieVect.c.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_PieVect.c.i"
/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000 --preproc_only --c_file=/home/lobov/workspace/ccs12.5/cmake_test/f2833x/common/source/DSP2833x_PieVect.c $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) --output_file=CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_PieVect.c.i
CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_PieVect.c.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_PieVect.c.s"
/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000 --compile_only --skip_assembler --c_file=/home/lobov/workspace/ccs12.5/cmake_test/f2833x/common/source/DSP2833x_PieVect.c $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) --output_file=CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_PieVect.c.s
CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_SysCtrl.c.o: CMakeFiles/test_project.dir/flags.make
CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_SysCtrl.c.o: ../f2833x/common/source/DSP2833x_SysCtrl.c
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/lobov/workspace/ccs12.5/cmake_test/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_6) "Building C object CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_SysCtrl.c.o"
/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000 --compile_only --c_file=/home/lobov/workspace/ccs12.5/cmake_test/f2833x/common/source/DSP2833x_SysCtrl.c $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) --output_file=CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_SysCtrl.c.o
CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_SysCtrl.c.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_SysCtrl.c.i"
/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000 --preproc_only --c_file=/home/lobov/workspace/ccs12.5/cmake_test/f2833x/common/source/DSP2833x_SysCtrl.c $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) --output_file=CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_SysCtrl.c.i
CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_SysCtrl.c.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_SysCtrl.c.s"
/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000 --compile_only --skip_assembler --c_file=/home/lobov/workspace/ccs12.5/cmake_test/f2833x/common/source/DSP2833x_SysCtrl.c $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) --output_file=CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_SysCtrl.c.s
# Object files for target test_project
test_project_OBJECTS = \
"CMakeFiles/test_project.dir/main.cpp.o" \
"CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_DefaultIsr.c.o" \
"CMakeFiles/test_project.dir/f2833x/headers/source/DSP2833x_GlobalVariableDefs.c.o" \
"CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_PieCtrl.c.o" \
"CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_PieVect.c.o" \
"CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_SysCtrl.c.o"
# External object files for target test_project
test_project_EXTERNAL_OBJECTS =
test_project: CMakeFiles/test_project.dir/main.cpp.o
test_project: CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_DefaultIsr.c.o
test_project: CMakeFiles/test_project.dir/f2833x/headers/source/DSP2833x_GlobalVariableDefs.c.o
test_project: CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_PieCtrl.c.o
test_project: CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_PieVect.c.o
test_project: CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_SysCtrl.c.o
test_project: CMakeFiles/test_project.dir/build.make
test_project: CMakeFiles/test_project.dir/link.txt
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --bold --progress-dir=/home/lobov/workspace/ccs12.5/cmake_test/build/CMakeFiles --progress-num=$(CMAKE_PROGRESS_7) "Linking CXX executable test_project"
$(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/test_project.dir/link.txt --verbose=$(VERBOSE)
# Rule to build all files generated by this target.
CMakeFiles/test_project.dir/build: test_project
.PHONY : CMakeFiles/test_project.dir/build
CMakeFiles/test_project.dir/clean:
$(CMAKE_COMMAND) -P CMakeFiles/test_project.dir/cmake_clean.cmake
.PHONY : CMakeFiles/test_project.dir/clean
CMakeFiles/test_project.dir/depend:
cd /home/lobov/workspace/ccs12.5/cmake_test/build && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/lobov/workspace/ccs12.5/cmake_test /home/lobov/workspace/ccs12.5/cmake_test /home/lobov/workspace/ccs12.5/cmake_test/build /home/lobov/workspace/ccs12.5/cmake_test/build /home/lobov/workspace/ccs12.5/cmake_test/build/CMakeFiles/test_project.dir/DependInfo.cmake --color=$(COLOR)
.PHONY : CMakeFiles/test_project.dir/depend

View File

@ -0,0 +1,15 @@
file(REMOVE_RECURSE
"CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_DefaultIsr.c.o"
"CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_PieCtrl.c.o"
"CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_PieVect.c.o"
"CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_SysCtrl.c.o"
"CMakeFiles/test_project.dir/f2833x/headers/source/DSP2833x_GlobalVariableDefs.c.o"
"CMakeFiles/test_project.dir/main.cpp.o"
"test_project"
"test_project.pdb"
)
# Per-language clean rules from dependency scanning.
foreach(lang C CXX)
include(CMakeFiles/test_project.dir/cmake_clean_${lang}.cmake OPTIONAL)
endforeach()

View File

@ -0,0 +1,2 @@
# Empty compiler generated dependencies file for test_project.
# This may be replaced when dependencies are built.

View File

@ -0,0 +1,2 @@
# CMAKE generated file: DO NOT EDIT!
# Timestamp file for compiler generated dependencies management for test_project.

View File

@ -0,0 +1,2 @@
# Empty dependencies file for test_project.
# This may be replaced when dependencies are built.

View File

@ -0,0 +1,17 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.22
# compile C with /home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000
# compile CXX with /home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000
C_DEFINES =
C_INCLUDES = --include_path=/home/lobov/workspace/ccs12.5/cmake_test/build --include_path=/home/lobov/workspace/ccs12.5/cmake_test/./f2833x --include_path=/home/lobov/workspace/ccs12.5/cmake_test/./f2833x/common/include --include_path=/home/lobov/workspace/ccs12.5/cmake_test/./f2833x/headers/include
C_FLAGS = -v28 -ml -mt --float_support=fpu32 -Ooff --opt_for_speed=5 --fp_mode=relaxed -advice:performance=all --define=_INLINE "--define=bmin='0.397824735f'" "--define=amax='0.960433870f'" --float_operations_allowed=32 --printf_support=minimal --include_path=\"/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/lib/\" --include_path=\"/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/include/\"
CXX_DEFINES =
CXX_INCLUDES = --include_path=/home/lobov/workspace/ccs12.5/cmake_test/build --include_path=/home/lobov/workspace/ccs12.5/cmake_test/./f2833x --include_path=/home/lobov/workspace/ccs12.5/cmake_test/./f2833x/common/include --include_path=/home/lobov/workspace/ccs12.5/cmake_test/./f2833x/headers/include
CXX_FLAGS = -v28 -ml -mt --float_support=fpu32 -Ooff --opt_for_speed=5 --fp_mode=relaxed -advice:performance=all --define=_INLINE "--define=bmin='0.397824735f'" "--define=amax='0.960433870f'" --float_operations_allowed=32 --printf_support=minimal --include_path=\"/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/lib/\" --include_path=\"/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/include/\"

View File

@ -0,0 +1 @@
/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000 --run_linker --output_file=test_project --map_file=test_project.map CMakeFiles/test_project.dir/main.cpp.o CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_DefaultIsr.c.o CMakeFiles/test_project.dir/f2833x/headers/source/DSP2833x_GlobalVariableDefs.c.o CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_PieCtrl.c.o CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_PieVect.c.o CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_SysCtrl.c.o

View File

@ -0,0 +1,8 @@
CMAKE_PROGRESS_1 = 1
CMAKE_PROGRESS_2 = 2
CMAKE_PROGRESS_3 = 3
CMAKE_PROGRESS_4 = 4
CMAKE_PROGRESS_5 = 5
CMAKE_PROGRESS_6 = 6
CMAKE_PROGRESS_7 = 7

332
build/Debug/CMakeCache.txt Normal file
View File

@ -0,0 +1,332 @@
# This is the CMakeCache file.
# For build in directory: /home/lobov/workspace/ccs12.5/cmake_test/build/Debug
# It was generated by CMake: /usr/bin/cmake
# You can edit this file to change values found and used by cmake.
# If you do not want to change any of the values, simply exit the editor.
# If you do want to change a value, simply edit, save, and exit the editor.
# The syntax for the file is as follows:
# KEY:TYPE=VALUE
# KEY is the name of a variable in the cache.
# TYPE is a hint to GUIs for the type of VALUE, DO NOT EDIT TYPE!.
# VALUE is the current value for the KEY.
########################
# EXTERNAL cache entries
########################
//Path to a program.
CMAKE_ADDR2LINE:FILEPATH=/usr/bin/addr2line
//Path to a program.
CMAKE_AR:FILEPATH=/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/ar2000
//No help, variable specified on the command line.
CMAKE_BUILD_TYPE:STRING=Debug
//Enable/Disable color output during build.
CMAKE_COLOR_MAKEFILE:BOOL=ON
//Flags used by the CXX compiler during all build types.
CMAKE_CXX_FLAGS:STRING=
//Flags used by the CXX compiler during DEBUG builds.
CMAKE_CXX_FLAGS_DEBUG:STRING=
//Flags used by the CXX compiler during MINSIZEREL builds.
CMAKE_CXX_FLAGS_MINSIZEREL:STRING=
//Flags used by the CXX compiler during RELEASE builds.
CMAKE_CXX_FLAGS_RELEASE:STRING=
//Flags used by the CXX compiler during RELWITHDEBINFO builds.
CMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=
//Flags used by the C compiler during all build types.
CMAKE_C_FLAGS:STRING=
//Flags used by the C compiler during DEBUG builds.
CMAKE_C_FLAGS_DEBUG:STRING=
//Flags used by the C compiler during MINSIZEREL builds.
CMAKE_C_FLAGS_MINSIZEREL:STRING=
//Flags used by the C compiler during RELEASE builds.
CMAKE_C_FLAGS_RELEASE:STRING=
//Flags used by the C compiler during RELWITHDEBINFO builds.
CMAKE_C_FLAGS_RELWITHDEBINFO:STRING=
//Path to a program.
CMAKE_DLLTOOL:FILEPATH=CMAKE_DLLTOOL-NOTFOUND
//Flags used by the linker during all build types.
CMAKE_EXE_LINKER_FLAGS:STRING=
//Flags used by the linker during DEBUG builds.
CMAKE_EXE_LINKER_FLAGS_DEBUG:STRING=
//Flags used by the linker during MINSIZEREL builds.
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:STRING=
//Flags used by the linker during RELEASE builds.
CMAKE_EXE_LINKER_FLAGS_RELEASE:STRING=
//Flags used by the linker during RELWITHDEBINFO builds.
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
//No help, variable specified on the command line.
CMAKE_EXPORT_COMPILE_COMMANDS:BOOL=ON
//Install path prefix, prepended onto install directories.
CMAKE_INSTALL_PREFIX:PATH=/usr/local
//Path to a program.
CMAKE_LINKER:FILEPATH=/usr/bin/ld
//Path to a program.
CMAKE_MAKE_PROGRAM:FILEPATH=/usr/bin/gmake
//Flags used by the linker during the creation of modules during
// all build types.
CMAKE_MODULE_LINKER_FLAGS:STRING=
//Flags used by the linker during the creation of modules during
// DEBUG builds.
CMAKE_MODULE_LINKER_FLAGS_DEBUG:STRING=
//Flags used by the linker during the creation of modules during
// MINSIZEREL builds.
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:STRING=
//Flags used by the linker during the creation of modules during
// RELEASE builds.
CMAKE_MODULE_LINKER_FLAGS_RELEASE:STRING=
//Flags used by the linker during the creation of modules during
// RELWITHDEBINFO builds.
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:STRING=
//Path to a program.
CMAKE_NM:FILEPATH=/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/nm2000
//Path to a program.
CMAKE_OBJCOPY:FILEPATH=/usr/bin/objcopy
//Path to a program.
CMAKE_OBJDUMP:FILEPATH=/usr/bin/objdump
//Value Computed by CMake
CMAKE_PROJECT_DESCRIPTION:STATIC=
//Value Computed by CMake
CMAKE_PROJECT_HOMEPAGE_URL:STATIC=
//Value Computed by CMake
CMAKE_PROJECT_NAME:STATIC=cmake_test
//Path to a program.
CMAKE_RANLIB:FILEPATH=/usr/bin/ranlib
//Path to a program.
CMAKE_READELF:FILEPATH=/usr/bin/readelf
//Flags used by the linker during the creation of shared libraries
// during all build types.
CMAKE_SHARED_LINKER_FLAGS:STRING=
//Flags used by the linker during the creation of shared libraries
// during DEBUG builds.
CMAKE_SHARED_LINKER_FLAGS_DEBUG:STRING=
//Flags used by the linker during the creation of shared libraries
// during MINSIZEREL builds.
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:STRING=
//Flags used by the linker during the creation of shared libraries
// during RELEASE builds.
CMAKE_SHARED_LINKER_FLAGS_RELEASE:STRING=
//Flags used by the linker during the creation of shared libraries
// during RELWITHDEBINFO builds.
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:STRING=
//If set, runtime paths are not added when installing shared libraries,
// but are added when building.
CMAKE_SKIP_INSTALL_RPATH:BOOL=NO
//If set, runtime paths are not added when using shared libraries.
CMAKE_SKIP_RPATH:BOOL=NO
//Flags used by the linker during the creation of static libraries
// during all build types.
CMAKE_STATIC_LINKER_FLAGS:STRING=
//Flags used by the linker during the creation of static libraries
// during DEBUG builds.
CMAKE_STATIC_LINKER_FLAGS_DEBUG:STRING=
//Flags used by the linker during the creation of static libraries
// during MINSIZEREL builds.
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:STRING=
//Flags used by the linker during the creation of static libraries
// during RELEASE builds.
CMAKE_STATIC_LINKER_FLAGS_RELEASE:STRING=
//Flags used by the linker during the creation of static libraries
// during RELWITHDEBINFO builds.
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:STRING=
//Path to a program.
CMAKE_STRIP:FILEPATH=/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/strip2000
//If this value is on, makefiles will be generated without the
// .SILENT directive, and all commands will be echoed to the console
// during the make. This is useful for debugging only. With Visual
// Studio IDE projects all commands are done without /nologo.
CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE
//Value Computed by CMake
cmake_test_BINARY_DIR:STATIC=/home/lobov/workspace/ccs12.5/cmake_test/build/Debug
//Value Computed by CMake
cmake_test_IS_TOP_LEVEL:STATIC=ON
//Value Computed by CMake
cmake_test_SOURCE_DIR:STATIC=/home/lobov/workspace/ccs12.5/cmake_test
########################
# INTERNAL cache entries
########################
//ADVANCED property for variable: CMAKE_ADDR2LINE
CMAKE_ADDR2LINE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_AR
CMAKE_AR-ADVANCED:INTERNAL=1
//This is the directory where this CMakeCache.txt was created
CMAKE_CACHEFILE_DIR:INTERNAL=/home/lobov/workspace/ccs12.5/cmake_test/build/Debug
//Major version of cmake used to create the current loaded cache
CMAKE_CACHE_MAJOR_VERSION:INTERNAL=3
//Minor version of cmake used to create the current loaded cache
CMAKE_CACHE_MINOR_VERSION:INTERNAL=22
//Patch version of cmake used to create the current loaded cache
CMAKE_CACHE_PATCH_VERSION:INTERNAL=1
//ADVANCED property for variable: CMAKE_COLOR_MAKEFILE
CMAKE_COLOR_MAKEFILE-ADVANCED:INTERNAL=1
//Path to CMake executable.
CMAKE_COMMAND:INTERNAL=/usr/bin/cmake
//Path to cpack program executable.
CMAKE_CPACK_COMMAND:INTERNAL=/usr/bin/cpack
//Path to ctest program executable.
CMAKE_CTEST_COMMAND:INTERNAL=/usr/bin/ctest
//ADVANCED property for variable: CMAKE_CXX_FLAGS
CMAKE_CXX_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_DEBUG
CMAKE_CXX_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_MINSIZEREL
CMAKE_CXX_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELEASE
CMAKE_CXX_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_CXX_FLAGS_RELWITHDEBINFO
CMAKE_CXX_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS
CMAKE_C_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_DEBUG
CMAKE_C_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_MINSIZEREL
CMAKE_C_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_RELEASE
CMAKE_C_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_C_FLAGS_RELWITHDEBINFO
CMAKE_C_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_DLLTOOL
CMAKE_DLLTOOL-ADVANCED:INTERNAL=1
//Executable file format
CMAKE_EXECUTABLE_FORMAT:INTERNAL=Unknown
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS
CMAKE_EXE_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_DEBUG
CMAKE_EXE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_MINSIZEREL
CMAKE_EXE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELEASE
CMAKE_EXE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//Name of external makefile project generator.
CMAKE_EXTRA_GENERATOR:INTERNAL=
//Name of generator.
CMAKE_GENERATOR:INTERNAL=Unix Makefiles
//Generator instance identifier.
CMAKE_GENERATOR_INSTANCE:INTERNAL=
//Name of generator platform.
CMAKE_GENERATOR_PLATFORM:INTERNAL=
//Name of generator toolset.
CMAKE_GENERATOR_TOOLSET:INTERNAL=
//Source directory with the top level CMakeLists.txt file for this
// project
CMAKE_HOME_DIRECTORY:INTERNAL=/home/lobov/workspace/ccs12.5/cmake_test
//Install .so files without execute permission.
CMAKE_INSTALL_SO_NO_EXE:INTERNAL=1
//ADVANCED property for variable: CMAKE_LINKER
CMAKE_LINKER-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MAKE_PROGRAM
CMAKE_MAKE_PROGRAM-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS
CMAKE_MODULE_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_DEBUG
CMAKE_MODULE_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL
CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELEASE
CMAKE_MODULE_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_NM
CMAKE_NM-ADVANCED:INTERNAL=1
//number of local generators
CMAKE_NUMBER_OF_MAKEFILES:INTERNAL=1
//ADVANCED property for variable: CMAKE_OBJCOPY
CMAKE_OBJCOPY-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_OBJDUMP
CMAKE_OBJDUMP-ADVANCED:INTERNAL=1
//Platform information initialized
CMAKE_PLATFORM_INFO_INITIALIZED:INTERNAL=1
//ADVANCED property for variable: CMAKE_RANLIB
CMAKE_RANLIB-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_READELF
CMAKE_READELF-ADVANCED:INTERNAL=1
//Path to CMake installation.
CMAKE_ROOT:INTERNAL=/usr/share/cmake-3.22
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS
CMAKE_SHARED_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_DEBUG
CMAKE_SHARED_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL
CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELEASE
CMAKE_SHARED_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SKIP_INSTALL_RPATH
CMAKE_SKIP_INSTALL_RPATH-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_SKIP_RPATH
CMAKE_SKIP_RPATH-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS
CMAKE_STATIC_LINKER_FLAGS-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_DEBUG
CMAKE_STATIC_LINKER_FLAGS_DEBUG-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL
CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELEASE
CMAKE_STATIC_LINKER_FLAGS_RELEASE-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO
CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO-ADVANCED:INTERNAL=1
//ADVANCED property for variable: CMAKE_STRIP
CMAKE_STRIP-ADVANCED:INTERNAL=1
//uname command
CMAKE_UNAME:INTERNAL=/usr/bin/uname
//ADVANCED property for variable: CMAKE_VERBOSE_MAKEFILE
CMAKE_VERBOSE_MAKEFILE-ADVANCED:INTERNAL=1

View File

@ -0,0 +1,72 @@
set(CMAKE_C_COMPILER "/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000")
set(CMAKE_C_COMPILER_ARG1 "")
set(CMAKE_C_COMPILER_ID "TI")
set(CMAKE_C_COMPILER_VERSION "22.6.1")
set(CMAKE_C_COMPILER_VERSION_INTERNAL "")
set(CMAKE_C_COMPILER_WRAPPER "")
set(CMAKE_C_STANDARD_COMPUTED_DEFAULT "90")
set(CMAKE_C_EXTENSIONS_COMPUTED_DEFAULT "ON")
set(CMAKE_C_COMPILE_FEATURES "c_std_90;c_std_99;c_std_11")
set(CMAKE_C90_COMPILE_FEATURES "c_std_90")
set(CMAKE_C99_COMPILE_FEATURES "c_std_99")
set(CMAKE_C11_COMPILE_FEATURES "c_std_11")
set(CMAKE_C17_COMPILE_FEATURES "")
set(CMAKE_C23_COMPILE_FEATURES "")
set(CMAKE_C_PLATFORM_ID "")
set(CMAKE_C_SIMULATE_ID "")
set(CMAKE_C_COMPILER_FRONTEND_VARIANT "")
set(CMAKE_C_SIMULATE_VERSION "")
set(CMAKE_C_COMPILER_ARCHITECTURE_ID TMS320C28x)
set(MSVC_C_ARCHITECTURE_ID TMS320C28x)
set(CMAKE_AR "/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/ar2000")
set(CMAKE_C_COMPILER_AR "")
set(CMAKE_RANLIB "/usr/bin/ranlib")
set(CMAKE_C_COMPILER_RANLIB "")
set(CMAKE_LINKER "/usr/bin/ld")
set(CMAKE_MT "")
set(CMAKE_COMPILER_IS_GNUCC )
set(CMAKE_C_COMPILER_LOADED 1)
set(CMAKE_C_COMPILER_WORKS TRUE)
set(CMAKE_C_ABI_COMPILED TRUE)
set(CMAKE_C_COMPILER_ENV_VAR "CC")
set(CMAKE_C_COMPILER_ID_RUN 1)
set(CMAKE_C_SOURCE_FILE_EXTENSIONS c;m)
set(CMAKE_C_IGNORE_EXTENSIONS h;H;o;O;obj;OBJ;def;DEF;rc;RC)
set(CMAKE_C_LINKER_PREFERENCE 10)
# Save compiler ABI information.
set(CMAKE_C_SIZEOF_DATA_PTR "")
set(CMAKE_C_COMPILER_ABI "")
set(CMAKE_C_BYTE_ORDER "")
set(CMAKE_C_LIBRARY_ARCHITECTURE "")
if(CMAKE_C_SIZEOF_DATA_PTR)
set(CMAKE_SIZEOF_VOID_P "${CMAKE_C_SIZEOF_DATA_PTR}")
endif()
if(CMAKE_C_COMPILER_ABI)
set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_C_COMPILER_ABI}")
endif()
if(CMAKE_C_LIBRARY_ARCHITECTURE)
set(CMAKE_LIBRARY_ARCHITECTURE "")
endif()
set(CMAKE_C_CL_SHOWINCLUDES_PREFIX "")
if(CMAKE_C_CL_SHOWINCLUDES_PREFIX)
set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_C_CL_SHOWINCLUDES_PREFIX}")
endif()
set(CMAKE_C_IMPLICIT_INCLUDE_DIRECTORIES "/usr/include")
set(CMAKE_C_IMPLICIT_LINK_LIBRARIES "")
set(CMAKE_C_IMPLICIT_LINK_DIRECTORIES "")
set(CMAKE_C_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "")

View File

@ -0,0 +1,83 @@
set(CMAKE_CXX_COMPILER "/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000")
set(CMAKE_CXX_COMPILER_ARG1 "")
set(CMAKE_CXX_COMPILER_ID "TI")
set(CMAKE_CXX_COMPILER_VERSION "22.6.1")
set(CMAKE_CXX_COMPILER_VERSION_INTERNAL "")
set(CMAKE_CXX_COMPILER_WRAPPER "")
set(CMAKE_CXX_STANDARD_COMPUTED_DEFAULT "98")
set(CMAKE_CXX_EXTENSIONS_COMPUTED_DEFAULT "ON")
set(CMAKE_CXX_COMPILE_FEATURES "cxx_std_98")
set(CMAKE_CXX98_COMPILE_FEATURES "cxx_std_98")
set(CMAKE_CXX11_COMPILE_FEATURES "")
set(CMAKE_CXX14_COMPILE_FEATURES "")
set(CMAKE_CXX17_COMPILE_FEATURES "")
set(CMAKE_CXX20_COMPILE_FEATURES "")
set(CMAKE_CXX23_COMPILE_FEATURES "")
set(CMAKE_CXX_PLATFORM_ID "")
set(CMAKE_CXX_SIMULATE_ID "")
set(CMAKE_CXX_COMPILER_FRONTEND_VARIANT "")
set(CMAKE_CXX_SIMULATE_VERSION "")
set(CMAKE_CXX_COMPILER_ARCHITECTURE_ID TMS320C28x)
set(MSVC_CXX_ARCHITECTURE_ID TMS320C28x)
set(CMAKE_AR "/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/ar2000")
set(CMAKE_CXX_COMPILER_AR "")
set(CMAKE_RANLIB "/usr/bin/ranlib")
set(CMAKE_CXX_COMPILER_RANLIB "")
set(CMAKE_LINKER "/usr/bin/ld")
set(CMAKE_MT "")
set(CMAKE_COMPILER_IS_GNUCXX )
set(CMAKE_CXX_COMPILER_LOADED 1)
set(CMAKE_CXX_COMPILER_WORKS TRUE)
set(CMAKE_CXX_ABI_COMPILED TRUE)
set(CMAKE_CXX_COMPILER_ENV_VAR "CXX")
set(CMAKE_CXX_COMPILER_ID_RUN 1)
set(CMAKE_CXX_SOURCE_FILE_EXTENSIONS C;M;c++;cc;cpp;cxx;m;mm;mpp;CPP;ixx;cppm)
set(CMAKE_CXX_IGNORE_EXTENSIONS inl;h;hpp;HPP;H;o;O;obj;OBJ;def;DEF;rc;RC)
foreach (lang C OBJC OBJCXX)
if (CMAKE_${lang}_COMPILER_ID_RUN)
foreach(extension IN LISTS CMAKE_${lang}_SOURCE_FILE_EXTENSIONS)
list(REMOVE_ITEM CMAKE_CXX_SOURCE_FILE_EXTENSIONS ${extension})
endforeach()
endif()
endforeach()
set(CMAKE_CXX_LINKER_PREFERENCE 30)
set(CMAKE_CXX_LINKER_PREFERENCE_PROPAGATES 1)
# Save compiler ABI information.
set(CMAKE_CXX_SIZEOF_DATA_PTR "")
set(CMAKE_CXX_COMPILER_ABI "")
set(CMAKE_CXX_BYTE_ORDER "")
set(CMAKE_CXX_LIBRARY_ARCHITECTURE "")
if(CMAKE_CXX_SIZEOF_DATA_PTR)
set(CMAKE_SIZEOF_VOID_P "${CMAKE_CXX_SIZEOF_DATA_PTR}")
endif()
if(CMAKE_CXX_COMPILER_ABI)
set(CMAKE_INTERNAL_PLATFORM_ABI "${CMAKE_CXX_COMPILER_ABI}")
endif()
if(CMAKE_CXX_LIBRARY_ARCHITECTURE)
set(CMAKE_LIBRARY_ARCHITECTURE "")
endif()
set(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX "")
if(CMAKE_CXX_CL_SHOWINCLUDES_PREFIX)
set(CMAKE_CL_SHOWINCLUDES_PREFIX "${CMAKE_CXX_CL_SHOWINCLUDES_PREFIX}")
endif()
set(CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES "/usr/include")
set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES "")
set(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES "")
set(CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES "")

View File

@ -0,0 +1,15 @@
set(CMAKE_HOST_SYSTEM "Linux-6.2.0-39-generic")
set(CMAKE_HOST_SYSTEM_NAME "Linux")
set(CMAKE_HOST_SYSTEM_VERSION "6.2.0-39-generic")
set(CMAKE_HOST_SYSTEM_PROCESSOR "x86_64")
set(CMAKE_SYSTEM "Linux-6.2.0-39-generic")
set(CMAKE_SYSTEM_NAME "Linux")
set(CMAKE_SYSTEM_VERSION "6.2.0-39-generic")
set(CMAKE_SYSTEM_PROCESSOR "x86_64")
set(CMAKE_CROSSCOMPILING "FALSE")
set(CMAKE_SYSTEM_LOADED 1)

View File

@ -0,0 +1,803 @@
#ifdef __cplusplus
# error "A C++ compiler has been selected for C."
#endif
#if defined(__18CXX)
# define ID_VOID_MAIN
#endif
#if defined(__CLASSIC_C__)
/* cv-qualifiers did not exist in K&R C */
# define const
# define volatile
#endif
#if !defined(__has_include)
/* If the compiler does not have __has_include, pretend the answer is
always no. */
# define __has_include(x) 0
#endif
/* Version number components: V=Version, R=Revision, P=Patch
Version date components: YYYY=Year, MM=Month, DD=Day */
#if defined(__INTEL_COMPILER) || defined(__ICC)
# define COMPILER_ID "Intel"
# if defined(_MSC_VER)
# define SIMULATE_ID "MSVC"
# endif
# if defined(__GNUC__)
# define SIMULATE_ID "GNU"
# endif
/* __INTEL_COMPILER = VRP prior to 2021, and then VVVV for 2021 and later,
except that a few beta releases use the old format with V=2021. */
# if __INTEL_COMPILER < 2021 || __INTEL_COMPILER == 202110 || __INTEL_COMPILER == 202111
# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100)
# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10)
# if defined(__INTEL_COMPILER_UPDATE)
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE)
# else
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10)
# endif
# else
# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER)
# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER_UPDATE)
/* The third version component from --version is an update index,
but no macro is provided for it. */
# define COMPILER_VERSION_PATCH DEC(0)
# endif
# if defined(__INTEL_COMPILER_BUILD_DATE)
/* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */
# define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE)
# endif
# if defined(_MSC_VER)
/* _MSC_VER = VVRR */
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
# endif
# if defined(__GNUC__)
# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
# elif defined(__GNUG__)
# define SIMULATE_VERSION_MAJOR DEC(__GNUG__)
# endif
# if defined(__GNUC_MINOR__)
# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
# endif
# if defined(__GNUC_PATCHLEVEL__)
# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
# endif
#elif (defined(__clang__) && defined(__INTEL_CLANG_COMPILER)) || defined(__INTEL_LLVM_COMPILER)
# define COMPILER_ID "IntelLLVM"
#if defined(_MSC_VER)
# define SIMULATE_ID "MSVC"
#endif
#if defined(__GNUC__)
# define SIMULATE_ID "GNU"
#endif
/* __INTEL_LLVM_COMPILER = VVVVRP prior to 2021.2.0, VVVVRRPP for 2021.2.0 and
* later. Look for 6 digit vs. 8 digit version number to decide encoding.
* VVVV is no smaller than the current year when a version is released.
*/
#if __INTEL_LLVM_COMPILER < 1000000L
# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/100)
# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/10 % 10)
# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 10)
#else
# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/10000)
# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/100 % 100)
# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 100)
#endif
#if defined(_MSC_VER)
/* _MSC_VER = VVRR */
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
#endif
#if defined(__GNUC__)
# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
#elif defined(__GNUG__)
# define SIMULATE_VERSION_MAJOR DEC(__GNUG__)
#endif
#if defined(__GNUC_MINOR__)
# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
#endif
#if defined(__GNUC_PATCHLEVEL__)
# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
#endif
#elif defined(__PATHCC__)
# define COMPILER_ID "PathScale"
# define COMPILER_VERSION_MAJOR DEC(__PATHCC__)
# define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__)
# if defined(__PATHCC_PATCHLEVEL__)
# define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__)
# endif
#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__)
# define COMPILER_ID "Embarcadero"
# define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF)
# define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF)
# define COMPILER_VERSION_PATCH DEC(__CODEGEARC_VERSION__ & 0xFFFF)
#elif defined(__BORLANDC__)
# define COMPILER_ID "Borland"
/* __BORLANDC__ = 0xVRR */
# define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8)
# define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF)
#elif defined(__WATCOMC__) && __WATCOMC__ < 1200
# define COMPILER_ID "Watcom"
/* __WATCOMC__ = VVRR */
# define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100)
# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
# if (__WATCOMC__ % 10) > 0
# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
# endif
#elif defined(__WATCOMC__)
# define COMPILER_ID "OpenWatcom"
/* __WATCOMC__ = VVRP + 1100 */
# define COMPILER_VERSION_MAJOR DEC((__WATCOMC__ - 1100) / 100)
# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
# if (__WATCOMC__ % 10) > 0
# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
# endif
#elif defined(__SUNPRO_C)
# define COMPILER_ID "SunPro"
# if __SUNPRO_C >= 0x5100
/* __SUNPRO_C = 0xVRRP */
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>12)
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xFF)
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF)
# else
/* __SUNPRO_CC = 0xVRP */
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_C>>8)
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_C>>4 & 0xF)
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_C & 0xF)
# endif
#elif defined(__HP_cc)
# define COMPILER_ID "HP"
/* __HP_cc = VVRRPP */
# define COMPILER_VERSION_MAJOR DEC(__HP_cc/10000)
# define COMPILER_VERSION_MINOR DEC(__HP_cc/100 % 100)
# define COMPILER_VERSION_PATCH DEC(__HP_cc % 100)
#elif defined(__DECC)
# define COMPILER_ID "Compaq"
/* __DECC_VER = VVRRTPPPP */
# define COMPILER_VERSION_MAJOR DEC(__DECC_VER/10000000)
# define COMPILER_VERSION_MINOR DEC(__DECC_VER/100000 % 100)
# define COMPILER_VERSION_PATCH DEC(__DECC_VER % 10000)
#elif defined(__IBMC__) && defined(__COMPILER_VER__)
# define COMPILER_ID "zOS"
/* __IBMC__ = VRP */
# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
#elif defined(__ibmxl__) && defined(__clang__)
# define COMPILER_ID "XLClang"
# define COMPILER_VERSION_MAJOR DEC(__ibmxl_version__)
# define COMPILER_VERSION_MINOR DEC(__ibmxl_release__)
# define COMPILER_VERSION_PATCH DEC(__ibmxl_modification__)
# define COMPILER_VERSION_TWEAK DEC(__ibmxl_ptf_fix_level__)
#elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ >= 800
# define COMPILER_ID "XL"
/* __IBMC__ = VRP */
# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
#elif defined(__IBMC__) && !defined(__COMPILER_VER__) && __IBMC__ < 800
# define COMPILER_ID "VisualAge"
/* __IBMC__ = VRP */
# define COMPILER_VERSION_MAJOR DEC(__IBMC__/100)
# define COMPILER_VERSION_MINOR DEC(__IBMC__/10 % 10)
# define COMPILER_VERSION_PATCH DEC(__IBMC__ % 10)
#elif defined(__NVCOMPILER)
# define COMPILER_ID "NVHPC"
# define COMPILER_VERSION_MAJOR DEC(__NVCOMPILER_MAJOR__)
# define COMPILER_VERSION_MINOR DEC(__NVCOMPILER_MINOR__)
# if defined(__NVCOMPILER_PATCHLEVEL__)
# define COMPILER_VERSION_PATCH DEC(__NVCOMPILER_PATCHLEVEL__)
# endif
#elif defined(__PGI)
# define COMPILER_ID "PGI"
# define COMPILER_VERSION_MAJOR DEC(__PGIC__)
# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__)
# if defined(__PGIC_PATCHLEVEL__)
# define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__)
# endif
#elif defined(_CRAYC)
# define COMPILER_ID "Cray"
# define COMPILER_VERSION_MAJOR DEC(_RELEASE_MAJOR)
# define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR)
#elif defined(__TI_COMPILER_VERSION__)
# define COMPILER_ID "TI"
/* __TI_COMPILER_VERSION__ = VVVRRRPPP */
# define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000)
# define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000)
# define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000)
#elif defined(__CLANG_FUJITSU)
# define COMPILER_ID "FujitsuClang"
# define COMPILER_VERSION_MAJOR DEC(__FCC_major__)
# define COMPILER_VERSION_MINOR DEC(__FCC_minor__)
# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__)
# define COMPILER_VERSION_INTERNAL_STR __clang_version__
#elif defined(__FUJITSU)
# define COMPILER_ID "Fujitsu"
# if defined(__FCC_version__)
# define COMPILER_VERSION __FCC_version__
# elif defined(__FCC_major__)
# define COMPILER_VERSION_MAJOR DEC(__FCC_major__)
# define COMPILER_VERSION_MINOR DEC(__FCC_minor__)
# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__)
# endif
# if defined(__fcc_version)
# define COMPILER_VERSION_INTERNAL DEC(__fcc_version)
# elif defined(__FCC_VERSION)
# define COMPILER_VERSION_INTERNAL DEC(__FCC_VERSION)
# endif
#elif defined(__ghs__)
# define COMPILER_ID "GHS"
/* __GHS_VERSION_NUMBER = VVVVRP */
# ifdef __GHS_VERSION_NUMBER
# define COMPILER_VERSION_MAJOR DEC(__GHS_VERSION_NUMBER / 100)
# define COMPILER_VERSION_MINOR DEC(__GHS_VERSION_NUMBER / 10 % 10)
# define COMPILER_VERSION_PATCH DEC(__GHS_VERSION_NUMBER % 10)
# endif
#elif defined(__TINYC__)
# define COMPILER_ID "TinyCC"
#elif defined(__BCC__)
# define COMPILER_ID "Bruce"
#elif defined(__SCO_VERSION__)
# define COMPILER_ID "SCO"
#elif defined(__ARMCC_VERSION) && !defined(__clang__)
# define COMPILER_ID "ARMCC"
#if __ARMCC_VERSION >= 1000000
/* __ARMCC_VERSION = VRRPPPP */
# define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/1000000)
# define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 100)
# define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
#else
/* __ARMCC_VERSION = VRPPPP */
# define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/100000)
# define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 10)
# define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
#endif
#elif defined(__clang__) && defined(__apple_build_version__)
# define COMPILER_ID "AppleClang"
# if defined(_MSC_VER)
# define SIMULATE_ID "MSVC"
# endif
# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
# if defined(_MSC_VER)
/* _MSC_VER = VVRR */
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
# endif
# define COMPILER_VERSION_TWEAK DEC(__apple_build_version__)
#elif defined(__clang__) && defined(__ARMCOMPILER_VERSION)
# define COMPILER_ID "ARMClang"
# define COMPILER_VERSION_MAJOR DEC(__ARMCOMPILER_VERSION/1000000)
# define COMPILER_VERSION_MINOR DEC(__ARMCOMPILER_VERSION/10000 % 100)
# define COMPILER_VERSION_PATCH DEC(__ARMCOMPILER_VERSION % 10000)
# define COMPILER_VERSION_INTERNAL DEC(__ARMCOMPILER_VERSION)
#elif defined(__clang__)
# define COMPILER_ID "Clang"
# if defined(_MSC_VER)
# define SIMULATE_ID "MSVC"
# endif
# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
# if defined(_MSC_VER)
/* _MSC_VER = VVRR */
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
# endif
#elif defined(__GNUC__)
# define COMPILER_ID "GNU"
# define COMPILER_VERSION_MAJOR DEC(__GNUC__)
# if defined(__GNUC_MINOR__)
# define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__)
# endif
# if defined(__GNUC_PATCHLEVEL__)
# define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
# endif
#elif defined(_MSC_VER)
# define COMPILER_ID "MSVC"
/* _MSC_VER = VVRR */
# define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100)
# define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100)
# if defined(_MSC_FULL_VER)
# if _MSC_VER >= 1400
/* _MSC_FULL_VER = VVRRPPPPP */
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000)
# else
/* _MSC_FULL_VER = VVRRPPPP */
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000)
# endif
# endif
# if defined(_MSC_BUILD)
# define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD)
# endif
#elif defined(__VISUALDSPVERSION__) || defined(__ADSPBLACKFIN__) || defined(__ADSPTS__) || defined(__ADSP21000__)
# define COMPILER_ID "ADSP"
#if defined(__VISUALDSPVERSION__)
/* __VISUALDSPVERSION__ = 0xVVRRPP00 */
# define COMPILER_VERSION_MAJOR HEX(__VISUALDSPVERSION__>>24)
# define COMPILER_VERSION_MINOR HEX(__VISUALDSPVERSION__>>16 & 0xFF)
# define COMPILER_VERSION_PATCH HEX(__VISUALDSPVERSION__>>8 & 0xFF)
#endif
#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
# define COMPILER_ID "IAR"
# if defined(__VER__) && defined(__ICCARM__)
# define COMPILER_VERSION_MAJOR DEC((__VER__) / 1000000)
# define COMPILER_VERSION_MINOR DEC(((__VER__) / 1000) % 1000)
# define COMPILER_VERSION_PATCH DEC((__VER__) % 1000)
# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__)
# elif defined(__VER__) && (defined(__ICCAVR__) || defined(__ICCRX__) || defined(__ICCRH850__) || defined(__ICCRL78__) || defined(__ICC430__) || defined(__ICCRISCV__) || defined(__ICCV850__) || defined(__ICC8051__) || defined(__ICCSTM8__))
# define COMPILER_VERSION_MAJOR DEC((__VER__) / 100)
# define COMPILER_VERSION_MINOR DEC((__VER__) - (((__VER__) / 100)*100))
# define COMPILER_VERSION_PATCH DEC(__SUBVERSION__)
# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__)
# endif
#elif defined(__SDCC_VERSION_MAJOR) || defined(SDCC)
# define COMPILER_ID "SDCC"
# if defined(__SDCC_VERSION_MAJOR)
# define COMPILER_VERSION_MAJOR DEC(__SDCC_VERSION_MAJOR)
# define COMPILER_VERSION_MINOR DEC(__SDCC_VERSION_MINOR)
# define COMPILER_VERSION_PATCH DEC(__SDCC_VERSION_PATCH)
# else
/* SDCC = VRP */
# define COMPILER_VERSION_MAJOR DEC(SDCC/100)
# define COMPILER_VERSION_MINOR DEC(SDCC/10 % 10)
# define COMPILER_VERSION_PATCH DEC(SDCC % 10)
# endif
/* These compilers are either not known or too old to define an
identification macro. Try to identify the platform and guess that
it is the native compiler. */
#elif defined(__hpux) || defined(__hpua)
# define COMPILER_ID "HP"
#else /* unknown compiler */
# define COMPILER_ID ""
#endif
/* Construct the string literal in pieces to prevent the source from
getting matched. Store it in a pointer rather than an array
because some compilers will just produce instructions to fill the
array rather than assigning a pointer to a static array. */
char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]";
#ifdef SIMULATE_ID
char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]";
#endif
#ifdef __QNXNTO__
char const* qnxnto = "INFO" ":" "qnxnto[]";
#endif
#if defined(__CRAYXT_COMPUTE_LINUX_TARGET)
char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]";
#endif
#define STRINGIFY_HELPER(X) #X
#define STRINGIFY(X) STRINGIFY_HELPER(X)
/* Identify known platforms by name. */
#if defined(__linux) || defined(__linux__) || defined(linux)
# define PLATFORM_ID "Linux"
#elif defined(__MSYS__)
# define PLATFORM_ID "MSYS"
#elif defined(__CYGWIN__)
# define PLATFORM_ID "Cygwin"
#elif defined(__MINGW32__)
# define PLATFORM_ID "MinGW"
#elif defined(__APPLE__)
# define PLATFORM_ID "Darwin"
#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
# define PLATFORM_ID "Windows"
#elif defined(__FreeBSD__) || defined(__FreeBSD)
# define PLATFORM_ID "FreeBSD"
#elif defined(__NetBSD__) || defined(__NetBSD)
# define PLATFORM_ID "NetBSD"
#elif defined(__OpenBSD__) || defined(__OPENBSD)
# define PLATFORM_ID "OpenBSD"
#elif defined(__sun) || defined(sun)
# define PLATFORM_ID "SunOS"
#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__)
# define PLATFORM_ID "AIX"
#elif defined(__hpux) || defined(__hpux__)
# define PLATFORM_ID "HP-UX"
#elif defined(__HAIKU__)
# define PLATFORM_ID "Haiku"
#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS)
# define PLATFORM_ID "BeOS"
#elif defined(__QNX__) || defined(__QNXNTO__)
# define PLATFORM_ID "QNX"
#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__)
# define PLATFORM_ID "Tru64"
#elif defined(__riscos) || defined(__riscos__)
# define PLATFORM_ID "RISCos"
#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__)
# define PLATFORM_ID "SINIX"
#elif defined(__UNIX_SV__)
# define PLATFORM_ID "UNIX_SV"
#elif defined(__bsdos__)
# define PLATFORM_ID "BSDOS"
#elif defined(_MPRAS) || defined(MPRAS)
# define PLATFORM_ID "MP-RAS"
#elif defined(__osf) || defined(__osf__)
# define PLATFORM_ID "OSF1"
#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv)
# define PLATFORM_ID "SCO_SV"
#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX)
# define PLATFORM_ID "ULTRIX"
#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX)
# define PLATFORM_ID "Xenix"
#elif defined(__WATCOMC__)
# if defined(__LINUX__)
# define PLATFORM_ID "Linux"
# elif defined(__DOS__)
# define PLATFORM_ID "DOS"
# elif defined(__OS2__)
# define PLATFORM_ID "OS2"
# elif defined(__WINDOWS__)
# define PLATFORM_ID "Windows3x"
# elif defined(__VXWORKS__)
# define PLATFORM_ID "VxWorks"
# else /* unknown platform */
# define PLATFORM_ID
# endif
#elif defined(__INTEGRITY)
# if defined(INT_178B)
# define PLATFORM_ID "Integrity178"
# else /* regular Integrity */
# define PLATFORM_ID "Integrity"
# endif
#else /* unknown platform */
# define PLATFORM_ID
#endif
/* For windows compilers MSVC and Intel we can determine
the architecture of the compiler being used. This is because
the compilers do not have flags that can change the architecture,
but rather depend on which compiler is being used
*/
#if defined(_WIN32) && defined(_MSC_VER)
# if defined(_M_IA64)
# define ARCHITECTURE_ID "IA64"
# elif defined(_M_ARM64EC)
# define ARCHITECTURE_ID "ARM64EC"
# elif defined(_M_X64) || defined(_M_AMD64)
# define ARCHITECTURE_ID "x64"
# elif defined(_M_IX86)
# define ARCHITECTURE_ID "X86"
# elif defined(_M_ARM64)
# define ARCHITECTURE_ID "ARM64"
# elif defined(_M_ARM)
# if _M_ARM == 4
# define ARCHITECTURE_ID "ARMV4I"
# elif _M_ARM == 5
# define ARCHITECTURE_ID "ARMV5I"
# else
# define ARCHITECTURE_ID "ARMV" STRINGIFY(_M_ARM)
# endif
# elif defined(_M_MIPS)
# define ARCHITECTURE_ID "MIPS"
# elif defined(_M_SH)
# define ARCHITECTURE_ID "SHx"
# else /* unknown architecture */
# define ARCHITECTURE_ID ""
# endif
#elif defined(__WATCOMC__)
# if defined(_M_I86)
# define ARCHITECTURE_ID "I86"
# elif defined(_M_IX86)
# define ARCHITECTURE_ID "X86"
# else /* unknown architecture */
# define ARCHITECTURE_ID ""
# endif
#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
# if defined(__ICCARM__)
# define ARCHITECTURE_ID "ARM"
# elif defined(__ICCRX__)
# define ARCHITECTURE_ID "RX"
# elif defined(__ICCRH850__)
# define ARCHITECTURE_ID "RH850"
# elif defined(__ICCRL78__)
# define ARCHITECTURE_ID "RL78"
# elif defined(__ICCRISCV__)
# define ARCHITECTURE_ID "RISCV"
# elif defined(__ICCAVR__)
# define ARCHITECTURE_ID "AVR"
# elif defined(__ICC430__)
# define ARCHITECTURE_ID "MSP430"
# elif defined(__ICCV850__)
# define ARCHITECTURE_ID "V850"
# elif defined(__ICC8051__)
# define ARCHITECTURE_ID "8051"
# elif defined(__ICCSTM8__)
# define ARCHITECTURE_ID "STM8"
# else /* unknown architecture */
# define ARCHITECTURE_ID ""
# endif
#elif defined(__ghs__)
# if defined(__PPC64__)
# define ARCHITECTURE_ID "PPC64"
# elif defined(__ppc__)
# define ARCHITECTURE_ID "PPC"
# elif defined(__ARM__)
# define ARCHITECTURE_ID "ARM"
# elif defined(__x86_64__)
# define ARCHITECTURE_ID "x64"
# elif defined(__i386__)
# define ARCHITECTURE_ID "X86"
# else /* unknown architecture */
# define ARCHITECTURE_ID ""
# endif
#elif defined(__TI_COMPILER_VERSION__)
# if defined(__TI_ARM__)
# define ARCHITECTURE_ID "ARM"
# elif defined(__MSP430__)
# define ARCHITECTURE_ID "MSP430"
# elif defined(__TMS320C28XX__)
# define ARCHITECTURE_ID "TMS320C28x"
# elif defined(__TMS320C6X__) || defined(_TMS320C6X)
# define ARCHITECTURE_ID "TMS320C6x"
# else /* unknown architecture */
# define ARCHITECTURE_ID ""
# endif
#else
# define ARCHITECTURE_ID
#endif
/* Convert integer to decimal digit literals. */
#define DEC(n) \
('0' + (((n) / 10000000)%10)), \
('0' + (((n) / 1000000)%10)), \
('0' + (((n) / 100000)%10)), \
('0' + (((n) / 10000)%10)), \
('0' + (((n) / 1000)%10)), \
('0' + (((n) / 100)%10)), \
('0' + (((n) / 10)%10)), \
('0' + ((n) % 10))
/* Convert integer to hex digit literals. */
#define HEX(n) \
('0' + ((n)>>28 & 0xF)), \
('0' + ((n)>>24 & 0xF)), \
('0' + ((n)>>20 & 0xF)), \
('0' + ((n)>>16 & 0xF)), \
('0' + ((n)>>12 & 0xF)), \
('0' + ((n)>>8 & 0xF)), \
('0' + ((n)>>4 & 0xF)), \
('0' + ((n) & 0xF))
/* Construct a string literal encoding the version number. */
#ifdef COMPILER_VERSION
char const* info_version = "INFO" ":" "compiler_version[" COMPILER_VERSION "]";
/* Construct a string literal encoding the version number components. */
#elif defined(COMPILER_VERSION_MAJOR)
char const info_version[] = {
'I', 'N', 'F', 'O', ':',
'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[',
COMPILER_VERSION_MAJOR,
# ifdef COMPILER_VERSION_MINOR
'.', COMPILER_VERSION_MINOR,
# ifdef COMPILER_VERSION_PATCH
'.', COMPILER_VERSION_PATCH,
# ifdef COMPILER_VERSION_TWEAK
'.', COMPILER_VERSION_TWEAK,
# endif
# endif
# endif
']','\0'};
#endif
/* Construct a string literal encoding the internal version number. */
#ifdef COMPILER_VERSION_INTERNAL
char const info_version_internal[] = {
'I', 'N', 'F', 'O', ':',
'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','_',
'i','n','t','e','r','n','a','l','[',
COMPILER_VERSION_INTERNAL,']','\0'};
#elif defined(COMPILER_VERSION_INTERNAL_STR)
char const* info_version_internal = "INFO" ":" "compiler_version_internal[" COMPILER_VERSION_INTERNAL_STR "]";
#endif
/* Construct a string literal encoding the version number components. */
#ifdef SIMULATE_VERSION_MAJOR
char const info_simulate_version[] = {
'I', 'N', 'F', 'O', ':',
's','i','m','u','l','a','t','e','_','v','e','r','s','i','o','n','[',
SIMULATE_VERSION_MAJOR,
# ifdef SIMULATE_VERSION_MINOR
'.', SIMULATE_VERSION_MINOR,
# ifdef SIMULATE_VERSION_PATCH
'.', SIMULATE_VERSION_PATCH,
# ifdef SIMULATE_VERSION_TWEAK
'.', SIMULATE_VERSION_TWEAK,
# endif
# endif
# endif
']','\0'};
#endif
/* Construct the string literal in pieces to prevent the source from
getting matched. Store it in a pointer rather than an array
because some compilers will just produce instructions to fill the
array rather than assigning a pointer to a static array. */
char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]";
char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]";
#if !defined(__STDC__) && !defined(__clang__)
# if defined(_MSC_VER) || defined(__ibmxl__) || defined(__IBMC__)
# define C_VERSION "90"
# else
# define C_VERSION
# endif
#elif __STDC_VERSION__ > 201710L
# define C_VERSION "23"
#elif __STDC_VERSION__ >= 201710L
# define C_VERSION "17"
#elif __STDC_VERSION__ >= 201000L
# define C_VERSION "11"
#elif __STDC_VERSION__ >= 199901L
# define C_VERSION "99"
#else
# define C_VERSION "90"
#endif
const char* info_language_standard_default =
"INFO" ":" "standard_default[" C_VERSION "]";
const char* info_language_extensions_default = "INFO" ":" "extensions_default["
/* !defined(_MSC_VER) to exclude Clang's MSVC compatibility mode. */
#if (defined(__clang__) || defined(__GNUC__) || \
defined(__TI_COMPILER_VERSION__)) && \
!defined(__STRICT_ANSI__) && !defined(_MSC_VER)
"ON"
#else
"OFF"
#endif
"]";
/*--------------------------------------------------------------------------*/
#ifdef ID_VOID_MAIN
void main() {}
#else
# if defined(__CLASSIC_C__)
int main(argc, argv) int argc; char *argv[];
# else
int main(int argc, char* argv[])
# endif
{
int require = 0;
require += info_compiler[argc];
require += info_platform[argc];
require += info_arch[argc];
#ifdef COMPILER_VERSION_MAJOR
require += info_version[argc];
#endif
#ifdef COMPILER_VERSION_INTERNAL
require += info_version_internal[argc];
#endif
#ifdef SIMULATE_ID
require += info_simulate[argc];
#endif
#ifdef SIMULATE_VERSION_MAJOR
require += info_simulate_version[argc];
#endif
#if defined(__CRAYXT_COMPUTE_LINUX_TARGET)
require += info_cray[argc];
#endif
require += info_language_standard_default[argc];
require += info_language_extensions_default[argc];
(void)argv;
return require;
}
#endif

View File

@ -0,0 +1,791 @@
/* This source file must have a .cpp extension so that all C++ compilers
recognize the extension without flags. Borland does not know .cxx for
example. */
#ifndef __cplusplus
# error "A C compiler has been selected for C++."
#endif
#if !defined(__has_include)
/* If the compiler does not have __has_include, pretend the answer is
always no. */
# define __has_include(x) 0
#endif
/* Version number components: V=Version, R=Revision, P=Patch
Version date components: YYYY=Year, MM=Month, DD=Day */
#if defined(__COMO__)
# define COMPILER_ID "Comeau"
/* __COMO_VERSION__ = VRR */
# define COMPILER_VERSION_MAJOR DEC(__COMO_VERSION__ / 100)
# define COMPILER_VERSION_MINOR DEC(__COMO_VERSION__ % 100)
#elif defined(__INTEL_COMPILER) || defined(__ICC)
# define COMPILER_ID "Intel"
# if defined(_MSC_VER)
# define SIMULATE_ID "MSVC"
# endif
# if defined(__GNUC__)
# define SIMULATE_ID "GNU"
# endif
/* __INTEL_COMPILER = VRP prior to 2021, and then VVVV for 2021 and later,
except that a few beta releases use the old format with V=2021. */
# if __INTEL_COMPILER < 2021 || __INTEL_COMPILER == 202110 || __INTEL_COMPILER == 202111
# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER/100)
# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER/10 % 10)
# if defined(__INTEL_COMPILER_UPDATE)
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER_UPDATE)
# else
# define COMPILER_VERSION_PATCH DEC(__INTEL_COMPILER % 10)
# endif
# else
# define COMPILER_VERSION_MAJOR DEC(__INTEL_COMPILER)
# define COMPILER_VERSION_MINOR DEC(__INTEL_COMPILER_UPDATE)
/* The third version component from --version is an update index,
but no macro is provided for it. */
# define COMPILER_VERSION_PATCH DEC(0)
# endif
# if defined(__INTEL_COMPILER_BUILD_DATE)
/* __INTEL_COMPILER_BUILD_DATE = YYYYMMDD */
# define COMPILER_VERSION_TWEAK DEC(__INTEL_COMPILER_BUILD_DATE)
# endif
# if defined(_MSC_VER)
/* _MSC_VER = VVRR */
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
# endif
# if defined(__GNUC__)
# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
# elif defined(__GNUG__)
# define SIMULATE_VERSION_MAJOR DEC(__GNUG__)
# endif
# if defined(__GNUC_MINOR__)
# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
# endif
# if defined(__GNUC_PATCHLEVEL__)
# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
# endif
#elif (defined(__clang__) && defined(__INTEL_CLANG_COMPILER)) || defined(__INTEL_LLVM_COMPILER)
# define COMPILER_ID "IntelLLVM"
#if defined(_MSC_VER)
# define SIMULATE_ID "MSVC"
#endif
#if defined(__GNUC__)
# define SIMULATE_ID "GNU"
#endif
/* __INTEL_LLVM_COMPILER = VVVVRP prior to 2021.2.0, VVVVRRPP for 2021.2.0 and
* later. Look for 6 digit vs. 8 digit version number to decide encoding.
* VVVV is no smaller than the current year when a version is released.
*/
#if __INTEL_LLVM_COMPILER < 1000000L
# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/100)
# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/10 % 10)
# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 10)
#else
# define COMPILER_VERSION_MAJOR DEC(__INTEL_LLVM_COMPILER/10000)
# define COMPILER_VERSION_MINOR DEC(__INTEL_LLVM_COMPILER/100 % 100)
# define COMPILER_VERSION_PATCH DEC(__INTEL_LLVM_COMPILER % 100)
#endif
#if defined(_MSC_VER)
/* _MSC_VER = VVRR */
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
#endif
#if defined(__GNUC__)
# define SIMULATE_VERSION_MAJOR DEC(__GNUC__)
#elif defined(__GNUG__)
# define SIMULATE_VERSION_MAJOR DEC(__GNUG__)
#endif
#if defined(__GNUC_MINOR__)
# define SIMULATE_VERSION_MINOR DEC(__GNUC_MINOR__)
#endif
#if defined(__GNUC_PATCHLEVEL__)
# define SIMULATE_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
#endif
#elif defined(__PATHCC__)
# define COMPILER_ID "PathScale"
# define COMPILER_VERSION_MAJOR DEC(__PATHCC__)
# define COMPILER_VERSION_MINOR DEC(__PATHCC_MINOR__)
# if defined(__PATHCC_PATCHLEVEL__)
# define COMPILER_VERSION_PATCH DEC(__PATHCC_PATCHLEVEL__)
# endif
#elif defined(__BORLANDC__) && defined(__CODEGEARC_VERSION__)
# define COMPILER_ID "Embarcadero"
# define COMPILER_VERSION_MAJOR HEX(__CODEGEARC_VERSION__>>24 & 0x00FF)
# define COMPILER_VERSION_MINOR HEX(__CODEGEARC_VERSION__>>16 & 0x00FF)
# define COMPILER_VERSION_PATCH DEC(__CODEGEARC_VERSION__ & 0xFFFF)
#elif defined(__BORLANDC__)
# define COMPILER_ID "Borland"
/* __BORLANDC__ = 0xVRR */
# define COMPILER_VERSION_MAJOR HEX(__BORLANDC__>>8)
# define COMPILER_VERSION_MINOR HEX(__BORLANDC__ & 0xFF)
#elif defined(__WATCOMC__) && __WATCOMC__ < 1200
# define COMPILER_ID "Watcom"
/* __WATCOMC__ = VVRR */
# define COMPILER_VERSION_MAJOR DEC(__WATCOMC__ / 100)
# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
# if (__WATCOMC__ % 10) > 0
# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
# endif
#elif defined(__WATCOMC__)
# define COMPILER_ID "OpenWatcom"
/* __WATCOMC__ = VVRP + 1100 */
# define COMPILER_VERSION_MAJOR DEC((__WATCOMC__ - 1100) / 100)
# define COMPILER_VERSION_MINOR DEC((__WATCOMC__ / 10) % 10)
# if (__WATCOMC__ % 10) > 0
# define COMPILER_VERSION_PATCH DEC(__WATCOMC__ % 10)
# endif
#elif defined(__SUNPRO_CC)
# define COMPILER_ID "SunPro"
# if __SUNPRO_CC >= 0x5100
/* __SUNPRO_CC = 0xVRRP */
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>12)
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xFF)
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC & 0xF)
# else
/* __SUNPRO_CC = 0xVRP */
# define COMPILER_VERSION_MAJOR HEX(__SUNPRO_CC>>8)
# define COMPILER_VERSION_MINOR HEX(__SUNPRO_CC>>4 & 0xF)
# define COMPILER_VERSION_PATCH HEX(__SUNPRO_CC & 0xF)
# endif
#elif defined(__HP_aCC)
# define COMPILER_ID "HP"
/* __HP_aCC = VVRRPP */
# define COMPILER_VERSION_MAJOR DEC(__HP_aCC/10000)
# define COMPILER_VERSION_MINOR DEC(__HP_aCC/100 % 100)
# define COMPILER_VERSION_PATCH DEC(__HP_aCC % 100)
#elif defined(__DECCXX)
# define COMPILER_ID "Compaq"
/* __DECCXX_VER = VVRRTPPPP */
# define COMPILER_VERSION_MAJOR DEC(__DECCXX_VER/10000000)
# define COMPILER_VERSION_MINOR DEC(__DECCXX_VER/100000 % 100)
# define COMPILER_VERSION_PATCH DEC(__DECCXX_VER % 10000)
#elif defined(__IBMCPP__) && defined(__COMPILER_VER__)
# define COMPILER_ID "zOS"
/* __IBMCPP__ = VRP */
# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100)
# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10)
# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10)
#elif defined(__ibmxl__) && defined(__clang__)
# define COMPILER_ID "XLClang"
# define COMPILER_VERSION_MAJOR DEC(__ibmxl_version__)
# define COMPILER_VERSION_MINOR DEC(__ibmxl_release__)
# define COMPILER_VERSION_PATCH DEC(__ibmxl_modification__)
# define COMPILER_VERSION_TWEAK DEC(__ibmxl_ptf_fix_level__)
#elif defined(__IBMCPP__) && !defined(__COMPILER_VER__) && __IBMCPP__ >= 800
# define COMPILER_ID "XL"
/* __IBMCPP__ = VRP */
# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100)
# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10)
# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10)
#elif defined(__IBMCPP__) && !defined(__COMPILER_VER__) && __IBMCPP__ < 800
# define COMPILER_ID "VisualAge"
/* __IBMCPP__ = VRP */
# define COMPILER_VERSION_MAJOR DEC(__IBMCPP__/100)
# define COMPILER_VERSION_MINOR DEC(__IBMCPP__/10 % 10)
# define COMPILER_VERSION_PATCH DEC(__IBMCPP__ % 10)
#elif defined(__NVCOMPILER)
# define COMPILER_ID "NVHPC"
# define COMPILER_VERSION_MAJOR DEC(__NVCOMPILER_MAJOR__)
# define COMPILER_VERSION_MINOR DEC(__NVCOMPILER_MINOR__)
# if defined(__NVCOMPILER_PATCHLEVEL__)
# define COMPILER_VERSION_PATCH DEC(__NVCOMPILER_PATCHLEVEL__)
# endif
#elif defined(__PGI)
# define COMPILER_ID "PGI"
# define COMPILER_VERSION_MAJOR DEC(__PGIC__)
# define COMPILER_VERSION_MINOR DEC(__PGIC_MINOR__)
# if defined(__PGIC_PATCHLEVEL__)
# define COMPILER_VERSION_PATCH DEC(__PGIC_PATCHLEVEL__)
# endif
#elif defined(_CRAYC)
# define COMPILER_ID "Cray"
# define COMPILER_VERSION_MAJOR DEC(_RELEASE_MAJOR)
# define COMPILER_VERSION_MINOR DEC(_RELEASE_MINOR)
#elif defined(__TI_COMPILER_VERSION__)
# define COMPILER_ID "TI"
/* __TI_COMPILER_VERSION__ = VVVRRRPPP */
# define COMPILER_VERSION_MAJOR DEC(__TI_COMPILER_VERSION__/1000000)
# define COMPILER_VERSION_MINOR DEC(__TI_COMPILER_VERSION__/1000 % 1000)
# define COMPILER_VERSION_PATCH DEC(__TI_COMPILER_VERSION__ % 1000)
#elif defined(__CLANG_FUJITSU)
# define COMPILER_ID "FujitsuClang"
# define COMPILER_VERSION_MAJOR DEC(__FCC_major__)
# define COMPILER_VERSION_MINOR DEC(__FCC_minor__)
# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__)
# define COMPILER_VERSION_INTERNAL_STR __clang_version__
#elif defined(__FUJITSU)
# define COMPILER_ID "Fujitsu"
# if defined(__FCC_version__)
# define COMPILER_VERSION __FCC_version__
# elif defined(__FCC_major__)
# define COMPILER_VERSION_MAJOR DEC(__FCC_major__)
# define COMPILER_VERSION_MINOR DEC(__FCC_minor__)
# define COMPILER_VERSION_PATCH DEC(__FCC_patchlevel__)
# endif
# if defined(__fcc_version)
# define COMPILER_VERSION_INTERNAL DEC(__fcc_version)
# elif defined(__FCC_VERSION)
# define COMPILER_VERSION_INTERNAL DEC(__FCC_VERSION)
# endif
#elif defined(__ghs__)
# define COMPILER_ID "GHS"
/* __GHS_VERSION_NUMBER = VVVVRP */
# ifdef __GHS_VERSION_NUMBER
# define COMPILER_VERSION_MAJOR DEC(__GHS_VERSION_NUMBER / 100)
# define COMPILER_VERSION_MINOR DEC(__GHS_VERSION_NUMBER / 10 % 10)
# define COMPILER_VERSION_PATCH DEC(__GHS_VERSION_NUMBER % 10)
# endif
#elif defined(__SCO_VERSION__)
# define COMPILER_ID "SCO"
#elif defined(__ARMCC_VERSION) && !defined(__clang__)
# define COMPILER_ID "ARMCC"
#if __ARMCC_VERSION >= 1000000
/* __ARMCC_VERSION = VRRPPPP */
# define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/1000000)
# define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 100)
# define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
#else
/* __ARMCC_VERSION = VRPPPP */
# define COMPILER_VERSION_MAJOR DEC(__ARMCC_VERSION/100000)
# define COMPILER_VERSION_MINOR DEC(__ARMCC_VERSION/10000 % 10)
# define COMPILER_VERSION_PATCH DEC(__ARMCC_VERSION % 10000)
#endif
#elif defined(__clang__) && defined(__apple_build_version__)
# define COMPILER_ID "AppleClang"
# if defined(_MSC_VER)
# define SIMULATE_ID "MSVC"
# endif
# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
# if defined(_MSC_VER)
/* _MSC_VER = VVRR */
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
# endif
# define COMPILER_VERSION_TWEAK DEC(__apple_build_version__)
#elif defined(__clang__) && defined(__ARMCOMPILER_VERSION)
# define COMPILER_ID "ARMClang"
# define COMPILER_VERSION_MAJOR DEC(__ARMCOMPILER_VERSION/1000000)
# define COMPILER_VERSION_MINOR DEC(__ARMCOMPILER_VERSION/10000 % 100)
# define COMPILER_VERSION_PATCH DEC(__ARMCOMPILER_VERSION % 10000)
# define COMPILER_VERSION_INTERNAL DEC(__ARMCOMPILER_VERSION)
#elif defined(__clang__)
# define COMPILER_ID "Clang"
# if defined(_MSC_VER)
# define SIMULATE_ID "MSVC"
# endif
# define COMPILER_VERSION_MAJOR DEC(__clang_major__)
# define COMPILER_VERSION_MINOR DEC(__clang_minor__)
# define COMPILER_VERSION_PATCH DEC(__clang_patchlevel__)
# if defined(_MSC_VER)
/* _MSC_VER = VVRR */
# define SIMULATE_VERSION_MAJOR DEC(_MSC_VER / 100)
# define SIMULATE_VERSION_MINOR DEC(_MSC_VER % 100)
# endif
#elif defined(__GNUC__) || defined(__GNUG__)
# define COMPILER_ID "GNU"
# if defined(__GNUC__)
# define COMPILER_VERSION_MAJOR DEC(__GNUC__)
# else
# define COMPILER_VERSION_MAJOR DEC(__GNUG__)
# endif
# if defined(__GNUC_MINOR__)
# define COMPILER_VERSION_MINOR DEC(__GNUC_MINOR__)
# endif
# if defined(__GNUC_PATCHLEVEL__)
# define COMPILER_VERSION_PATCH DEC(__GNUC_PATCHLEVEL__)
# endif
#elif defined(_MSC_VER)
# define COMPILER_ID "MSVC"
/* _MSC_VER = VVRR */
# define COMPILER_VERSION_MAJOR DEC(_MSC_VER / 100)
# define COMPILER_VERSION_MINOR DEC(_MSC_VER % 100)
# if defined(_MSC_FULL_VER)
# if _MSC_VER >= 1400
/* _MSC_FULL_VER = VVRRPPPPP */
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 100000)
# else
/* _MSC_FULL_VER = VVRRPPPP */
# define COMPILER_VERSION_PATCH DEC(_MSC_FULL_VER % 10000)
# endif
# endif
# if defined(_MSC_BUILD)
# define COMPILER_VERSION_TWEAK DEC(_MSC_BUILD)
# endif
#elif defined(__VISUALDSPVERSION__) || defined(__ADSPBLACKFIN__) || defined(__ADSPTS__) || defined(__ADSP21000__)
# define COMPILER_ID "ADSP"
#if defined(__VISUALDSPVERSION__)
/* __VISUALDSPVERSION__ = 0xVVRRPP00 */
# define COMPILER_VERSION_MAJOR HEX(__VISUALDSPVERSION__>>24)
# define COMPILER_VERSION_MINOR HEX(__VISUALDSPVERSION__>>16 & 0xFF)
# define COMPILER_VERSION_PATCH HEX(__VISUALDSPVERSION__>>8 & 0xFF)
#endif
#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
# define COMPILER_ID "IAR"
# if defined(__VER__) && defined(__ICCARM__)
# define COMPILER_VERSION_MAJOR DEC((__VER__) / 1000000)
# define COMPILER_VERSION_MINOR DEC(((__VER__) / 1000) % 1000)
# define COMPILER_VERSION_PATCH DEC((__VER__) % 1000)
# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__)
# elif defined(__VER__) && (defined(__ICCAVR__) || defined(__ICCRX__) || defined(__ICCRH850__) || defined(__ICCRL78__) || defined(__ICC430__) || defined(__ICCRISCV__) || defined(__ICCV850__) || defined(__ICC8051__) || defined(__ICCSTM8__))
# define COMPILER_VERSION_MAJOR DEC((__VER__) / 100)
# define COMPILER_VERSION_MINOR DEC((__VER__) - (((__VER__) / 100)*100))
# define COMPILER_VERSION_PATCH DEC(__SUBVERSION__)
# define COMPILER_VERSION_INTERNAL DEC(__IAR_SYSTEMS_ICC__)
# endif
/* These compilers are either not known or too old to define an
identification macro. Try to identify the platform and guess that
it is the native compiler. */
#elif defined(__hpux) || defined(__hpua)
# define COMPILER_ID "HP"
#else /* unknown compiler */
# define COMPILER_ID ""
#endif
/* Construct the string literal in pieces to prevent the source from
getting matched. Store it in a pointer rather than an array
because some compilers will just produce instructions to fill the
array rather than assigning a pointer to a static array. */
char const* info_compiler = "INFO" ":" "compiler[" COMPILER_ID "]";
#ifdef SIMULATE_ID
char const* info_simulate = "INFO" ":" "simulate[" SIMULATE_ID "]";
#endif
#ifdef __QNXNTO__
char const* qnxnto = "INFO" ":" "qnxnto[]";
#endif
#if defined(__CRAYXT_COMPUTE_LINUX_TARGET)
char const *info_cray = "INFO" ":" "compiler_wrapper[CrayPrgEnv]";
#endif
#define STRINGIFY_HELPER(X) #X
#define STRINGIFY(X) STRINGIFY_HELPER(X)
/* Identify known platforms by name. */
#if defined(__linux) || defined(__linux__) || defined(linux)
# define PLATFORM_ID "Linux"
#elif defined(__MSYS__)
# define PLATFORM_ID "MSYS"
#elif defined(__CYGWIN__)
# define PLATFORM_ID "Cygwin"
#elif defined(__MINGW32__)
# define PLATFORM_ID "MinGW"
#elif defined(__APPLE__)
# define PLATFORM_ID "Darwin"
#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
# define PLATFORM_ID "Windows"
#elif defined(__FreeBSD__) || defined(__FreeBSD)
# define PLATFORM_ID "FreeBSD"
#elif defined(__NetBSD__) || defined(__NetBSD)
# define PLATFORM_ID "NetBSD"
#elif defined(__OpenBSD__) || defined(__OPENBSD)
# define PLATFORM_ID "OpenBSD"
#elif defined(__sun) || defined(sun)
# define PLATFORM_ID "SunOS"
#elif defined(_AIX) || defined(__AIX) || defined(__AIX__) || defined(__aix) || defined(__aix__)
# define PLATFORM_ID "AIX"
#elif defined(__hpux) || defined(__hpux__)
# define PLATFORM_ID "HP-UX"
#elif defined(__HAIKU__)
# define PLATFORM_ID "Haiku"
#elif defined(__BeOS) || defined(__BEOS__) || defined(_BEOS)
# define PLATFORM_ID "BeOS"
#elif defined(__QNX__) || defined(__QNXNTO__)
# define PLATFORM_ID "QNX"
#elif defined(__tru64) || defined(_tru64) || defined(__TRU64__)
# define PLATFORM_ID "Tru64"
#elif defined(__riscos) || defined(__riscos__)
# define PLATFORM_ID "RISCos"
#elif defined(__sinix) || defined(__sinix__) || defined(__SINIX__)
# define PLATFORM_ID "SINIX"
#elif defined(__UNIX_SV__)
# define PLATFORM_ID "UNIX_SV"
#elif defined(__bsdos__)
# define PLATFORM_ID "BSDOS"
#elif defined(_MPRAS) || defined(MPRAS)
# define PLATFORM_ID "MP-RAS"
#elif defined(__osf) || defined(__osf__)
# define PLATFORM_ID "OSF1"
#elif defined(_SCO_SV) || defined(SCO_SV) || defined(sco_sv)
# define PLATFORM_ID "SCO_SV"
#elif defined(__ultrix) || defined(__ultrix__) || defined(_ULTRIX)
# define PLATFORM_ID "ULTRIX"
#elif defined(__XENIX__) || defined(_XENIX) || defined(XENIX)
# define PLATFORM_ID "Xenix"
#elif defined(__WATCOMC__)
# if defined(__LINUX__)
# define PLATFORM_ID "Linux"
# elif defined(__DOS__)
# define PLATFORM_ID "DOS"
# elif defined(__OS2__)
# define PLATFORM_ID "OS2"
# elif defined(__WINDOWS__)
# define PLATFORM_ID "Windows3x"
# elif defined(__VXWORKS__)
# define PLATFORM_ID "VxWorks"
# else /* unknown platform */
# define PLATFORM_ID
# endif
#elif defined(__INTEGRITY)
# if defined(INT_178B)
# define PLATFORM_ID "Integrity178"
# else /* regular Integrity */
# define PLATFORM_ID "Integrity"
# endif
#else /* unknown platform */
# define PLATFORM_ID
#endif
/* For windows compilers MSVC and Intel we can determine
the architecture of the compiler being used. This is because
the compilers do not have flags that can change the architecture,
but rather depend on which compiler is being used
*/
#if defined(_WIN32) && defined(_MSC_VER)
# if defined(_M_IA64)
# define ARCHITECTURE_ID "IA64"
# elif defined(_M_ARM64EC)
# define ARCHITECTURE_ID "ARM64EC"
# elif defined(_M_X64) || defined(_M_AMD64)
# define ARCHITECTURE_ID "x64"
# elif defined(_M_IX86)
# define ARCHITECTURE_ID "X86"
# elif defined(_M_ARM64)
# define ARCHITECTURE_ID "ARM64"
# elif defined(_M_ARM)
# if _M_ARM == 4
# define ARCHITECTURE_ID "ARMV4I"
# elif _M_ARM == 5
# define ARCHITECTURE_ID "ARMV5I"
# else
# define ARCHITECTURE_ID "ARMV" STRINGIFY(_M_ARM)
# endif
# elif defined(_M_MIPS)
# define ARCHITECTURE_ID "MIPS"
# elif defined(_M_SH)
# define ARCHITECTURE_ID "SHx"
# else /* unknown architecture */
# define ARCHITECTURE_ID ""
# endif
#elif defined(__WATCOMC__)
# if defined(_M_I86)
# define ARCHITECTURE_ID "I86"
# elif defined(_M_IX86)
# define ARCHITECTURE_ID "X86"
# else /* unknown architecture */
# define ARCHITECTURE_ID ""
# endif
#elif defined(__IAR_SYSTEMS_ICC__) || defined(__IAR_SYSTEMS_ICC)
# if defined(__ICCARM__)
# define ARCHITECTURE_ID "ARM"
# elif defined(__ICCRX__)
# define ARCHITECTURE_ID "RX"
# elif defined(__ICCRH850__)
# define ARCHITECTURE_ID "RH850"
# elif defined(__ICCRL78__)
# define ARCHITECTURE_ID "RL78"
# elif defined(__ICCRISCV__)
# define ARCHITECTURE_ID "RISCV"
# elif defined(__ICCAVR__)
# define ARCHITECTURE_ID "AVR"
# elif defined(__ICC430__)
# define ARCHITECTURE_ID "MSP430"
# elif defined(__ICCV850__)
# define ARCHITECTURE_ID "V850"
# elif defined(__ICC8051__)
# define ARCHITECTURE_ID "8051"
# elif defined(__ICCSTM8__)
# define ARCHITECTURE_ID "STM8"
# else /* unknown architecture */
# define ARCHITECTURE_ID ""
# endif
#elif defined(__ghs__)
# if defined(__PPC64__)
# define ARCHITECTURE_ID "PPC64"
# elif defined(__ppc__)
# define ARCHITECTURE_ID "PPC"
# elif defined(__ARM__)
# define ARCHITECTURE_ID "ARM"
# elif defined(__x86_64__)
# define ARCHITECTURE_ID "x64"
# elif defined(__i386__)
# define ARCHITECTURE_ID "X86"
# else /* unknown architecture */
# define ARCHITECTURE_ID ""
# endif
#elif defined(__TI_COMPILER_VERSION__)
# if defined(__TI_ARM__)
# define ARCHITECTURE_ID "ARM"
# elif defined(__MSP430__)
# define ARCHITECTURE_ID "MSP430"
# elif defined(__TMS320C28XX__)
# define ARCHITECTURE_ID "TMS320C28x"
# elif defined(__TMS320C6X__) || defined(_TMS320C6X)
# define ARCHITECTURE_ID "TMS320C6x"
# else /* unknown architecture */
# define ARCHITECTURE_ID ""
# endif
#else
# define ARCHITECTURE_ID
#endif
/* Convert integer to decimal digit literals. */
#define DEC(n) \
('0' + (((n) / 10000000)%10)), \
('0' + (((n) / 1000000)%10)), \
('0' + (((n) / 100000)%10)), \
('0' + (((n) / 10000)%10)), \
('0' + (((n) / 1000)%10)), \
('0' + (((n) / 100)%10)), \
('0' + (((n) / 10)%10)), \
('0' + ((n) % 10))
/* Convert integer to hex digit literals. */
#define HEX(n) \
('0' + ((n)>>28 & 0xF)), \
('0' + ((n)>>24 & 0xF)), \
('0' + ((n)>>20 & 0xF)), \
('0' + ((n)>>16 & 0xF)), \
('0' + ((n)>>12 & 0xF)), \
('0' + ((n)>>8 & 0xF)), \
('0' + ((n)>>4 & 0xF)), \
('0' + ((n) & 0xF))
/* Construct a string literal encoding the version number. */
#ifdef COMPILER_VERSION
char const* info_version = "INFO" ":" "compiler_version[" COMPILER_VERSION "]";
/* Construct a string literal encoding the version number components. */
#elif defined(COMPILER_VERSION_MAJOR)
char const info_version[] = {
'I', 'N', 'F', 'O', ':',
'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','[',
COMPILER_VERSION_MAJOR,
# ifdef COMPILER_VERSION_MINOR
'.', COMPILER_VERSION_MINOR,
# ifdef COMPILER_VERSION_PATCH
'.', COMPILER_VERSION_PATCH,
# ifdef COMPILER_VERSION_TWEAK
'.', COMPILER_VERSION_TWEAK,
# endif
# endif
# endif
']','\0'};
#endif
/* Construct a string literal encoding the internal version number. */
#ifdef COMPILER_VERSION_INTERNAL
char const info_version_internal[] = {
'I', 'N', 'F', 'O', ':',
'c','o','m','p','i','l','e','r','_','v','e','r','s','i','o','n','_',
'i','n','t','e','r','n','a','l','[',
COMPILER_VERSION_INTERNAL,']','\0'};
#elif defined(COMPILER_VERSION_INTERNAL_STR)
char const* info_version_internal = "INFO" ":" "compiler_version_internal[" COMPILER_VERSION_INTERNAL_STR "]";
#endif
/* Construct a string literal encoding the version number components. */
#ifdef SIMULATE_VERSION_MAJOR
char const info_simulate_version[] = {
'I', 'N', 'F', 'O', ':',
's','i','m','u','l','a','t','e','_','v','e','r','s','i','o','n','[',
SIMULATE_VERSION_MAJOR,
# ifdef SIMULATE_VERSION_MINOR
'.', SIMULATE_VERSION_MINOR,
# ifdef SIMULATE_VERSION_PATCH
'.', SIMULATE_VERSION_PATCH,
# ifdef SIMULATE_VERSION_TWEAK
'.', SIMULATE_VERSION_TWEAK,
# endif
# endif
# endif
']','\0'};
#endif
/* Construct the string literal in pieces to prevent the source from
getting matched. Store it in a pointer rather than an array
because some compilers will just produce instructions to fill the
array rather than assigning a pointer to a static array. */
char const* info_platform = "INFO" ":" "platform[" PLATFORM_ID "]";
char const* info_arch = "INFO" ":" "arch[" ARCHITECTURE_ID "]";
#if defined(__INTEL_COMPILER) && defined(_MSVC_LANG) && _MSVC_LANG < 201403L
# if defined(__INTEL_CXX11_MODE__)
# if defined(__cpp_aggregate_nsdmi)
# define CXX_STD 201402L
# else
# define CXX_STD 201103L
# endif
# else
# define CXX_STD 199711L
# endif
#elif defined(_MSC_VER) && defined(_MSVC_LANG)
# define CXX_STD _MSVC_LANG
#else
# define CXX_STD __cplusplus
#endif
const char* info_language_standard_default = "INFO" ":" "standard_default["
#if CXX_STD > 202002L
"23"
#elif CXX_STD > 201703L
"20"
#elif CXX_STD >= 201703L
"17"
#elif CXX_STD >= 201402L
"14"
#elif CXX_STD >= 201103L
"11"
#else
"98"
#endif
"]";
const char* info_language_extensions_default = "INFO" ":" "extensions_default["
/* !defined(_MSC_VER) to exclude Clang's MSVC compatibility mode. */
#if (defined(__clang__) || defined(__GNUC__) || \
defined(__TI_COMPILER_VERSION__)) && \
!defined(__STRICT_ANSI__) && !defined(_MSC_VER)
"ON"
#else
"OFF"
#endif
"]";
/*--------------------------------------------------------------------------*/
int main(int argc, char* argv[])
{
int require = 0;
require += info_compiler[argc];
require += info_platform[argc];
#ifdef COMPILER_VERSION_MAJOR
require += info_version[argc];
#endif
#ifdef COMPILER_VERSION_INTERNAL
require += info_version_internal[argc];
#endif
#ifdef SIMULATE_ID
require += info_simulate[argc];
#endif
#ifdef SIMULATE_VERSION_MAJOR
require += info_simulate_version[argc];
#endif
#if defined(__CRAYXT_COMPUTE_LINUX_TARGET)
require += info_cray[argc];
#endif
require += info_language_standard_default[argc];
require += info_language_extensions_default[argc];
(void)argv;
return require;
}

View File

@ -0,0 +1,16 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.22
# Relative path conversion top directories.
set(CMAKE_RELATIVE_PATH_TOP_SOURCE "/home/lobov/workspace/ccs12.5/cmake_test")
set(CMAKE_RELATIVE_PATH_TOP_BINARY "/home/lobov/workspace/ccs12.5/cmake_test/build/Debug")
# Force unix paths in dependencies.
set(CMAKE_FORCE_UNIX_PATHS 1)
# The C and CXX include file regular expressions for this directory.
set(CMAKE_C_INCLUDE_REGEX_SCAN "^.*$")
set(CMAKE_C_INCLUDE_REGEX_COMPLAIN "^$")
set(CMAKE_CXX_INCLUDE_REGEX_SCAN ${CMAKE_C_INCLUDE_REGEX_SCAN})
set(CMAKE_CXX_INCLUDE_REGEX_COMPLAIN ${CMAKE_C_INCLUDE_REGEX_COMPLAIN})

View File

@ -0,0 +1,125 @@
The system is: Linux - 6.2.0-39-generic - x86_64
Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
Compiler: /home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000
Build flags:
Id flags:
The output was:
0
Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CMakeCCompilerId.obj"
The C compiler identification is TI, found in "/home/lobov/workspace/ccs12.5/cmake_test/build/Debug/CMakeFiles/3.22.1/CompilerIdC/CMakeCCompilerId.obj"
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded.
Compiler: /home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000
Build flags:
Id flags:
The output was:
0
Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "CMakeCXXCompilerId.obj"
The CXX compiler identification is TI, found in "/home/lobov/workspace/ccs12.5/cmake_test/build/Debug/CMakeFiles/3.22.1/CompilerIdCXX/CMakeCXXCompilerId.obj"
Detecting C compiler ABI info compiled with the following output:
Change Dir: /home/lobov/workspace/ccs12.5/cmake_test/build/Debug/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_041c8/fast && /usr/bin/gmake -f CMakeFiles/cmTC_041c8.dir/build.make CMakeFiles/cmTC_041c8.dir/build
gmake[1]: Entering directory '/home/lobov/workspace/ccs12.5/cmake_test/build/Debug/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_041c8.dir/CMakeCCompilerABI.c.o
/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000 --compile_only --c_file=/usr/share/cmake-3.22/Modules/CMakeCCompilerABI.c --output_file=CMakeFiles/cmTC_041c8.dir/CMakeCCompilerABI.c.o
Linking C executable cmTC_041c8
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_041c8.dir/link.txt --verbose=1
/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000 --run_linker --output_file=cmTC_041c8 --map_file=cmTC_041c8.map CMakeFiles/cmTC_041c8.dir/CMakeCCompilerABI.c.o
<Linking>
gmake[1]: Leaving directory '/home/lobov/workspace/ccs12.5/cmake_test/build/Debug/CMakeFiles/CMakeTmp'
Detecting C [--c11;--strict_ansi] compiler features compiled with the following output:
Change Dir: /home/lobov/workspace/ccs12.5/cmake_test/build/Debug/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_3d78d/fast && /usr/bin/gmake -f CMakeFiles/cmTC_3d78d.dir/build.make CMakeFiles/cmTC_3d78d.dir/build
gmake[1]: Entering directory '/home/lobov/workspace/ccs12.5/cmake_test/build/Debug/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_3d78d.dir/feature_tests.c.o
/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000 --compile_only --c_file=/home/lobov/workspace/ccs12.5/cmake_test/build/Debug/CMakeFiles/feature_tests.c --c11 --strict_ansi --output_file=CMakeFiles/cmTC_3d78d.dir/feature_tests.c.o
Linking C executable cmTC_3d78d
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_3d78d.dir/link.txt --verbose=1
/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000 --run_linker --output_file=cmTC_3d78d --map_file=cmTC_3d78d.map CMakeFiles/cmTC_3d78d.dir/feature_tests.c.o
<Linking>
gmake[1]: Leaving directory '/home/lobov/workspace/ccs12.5/cmake_test/build/Debug/CMakeFiles/CMakeTmp'
Detecting C [--c99;--strict_ansi] compiler features compiled with the following output:
Change Dir: /home/lobov/workspace/ccs12.5/cmake_test/build/Debug/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_d1251/fast && /usr/bin/gmake -f CMakeFiles/cmTC_d1251.dir/build.make CMakeFiles/cmTC_d1251.dir/build
gmake[1]: Entering directory '/home/lobov/workspace/ccs12.5/cmake_test/build/Debug/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_d1251.dir/feature_tests.c.o
/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000 --compile_only --c_file=/home/lobov/workspace/ccs12.5/cmake_test/build/Debug/CMakeFiles/feature_tests.c --c99 --strict_ansi --output_file=CMakeFiles/cmTC_d1251.dir/feature_tests.c.o
Linking C executable cmTC_d1251
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_d1251.dir/link.txt --verbose=1
/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000 --run_linker --output_file=cmTC_d1251 --map_file=cmTC_d1251.map CMakeFiles/cmTC_d1251.dir/feature_tests.c.o
<Linking>
gmake[1]: Leaving directory '/home/lobov/workspace/ccs12.5/cmake_test/build/Debug/CMakeFiles/CMakeTmp'
Detecting C [--c89;--strict_ansi] compiler features compiled with the following output:
Change Dir: /home/lobov/workspace/ccs12.5/cmake_test/build/Debug/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_16d3b/fast && /usr/bin/gmake -f CMakeFiles/cmTC_16d3b.dir/build.make CMakeFiles/cmTC_16d3b.dir/build
gmake[1]: Entering directory '/home/lobov/workspace/ccs12.5/cmake_test/build/Debug/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_16d3b.dir/feature_tests.c.o
/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000 --compile_only --c_file=/home/lobov/workspace/ccs12.5/cmake_test/build/Debug/CMakeFiles/feature_tests.c --c89 --strict_ansi --output_file=CMakeFiles/cmTC_16d3b.dir/feature_tests.c.o
Linking C executable cmTC_16d3b
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_16d3b.dir/link.txt --verbose=1
/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000 --run_linker --output_file=cmTC_16d3b --map_file=cmTC_16d3b.map CMakeFiles/cmTC_16d3b.dir/feature_tests.c.o
<Linking>
gmake[1]: Leaving directory '/home/lobov/workspace/ccs12.5/cmake_test/build/Debug/CMakeFiles/CMakeTmp'
Detecting CXX compiler ABI info compiled with the following output:
Change Dir: /home/lobov/workspace/ccs12.5/cmake_test/build/Debug/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_0b44b/fast && /usr/bin/gmake -f CMakeFiles/cmTC_0b44b.dir/build.make CMakeFiles/cmTC_0b44b.dir/build
gmake[1]: Entering directory '/home/lobov/workspace/ccs12.5/cmake_test/build/Debug/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_0b44b.dir/CMakeCXXCompilerABI.cpp.o
/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000 --compile_only --cpp_file=/usr/share/cmake-3.22/Modules/CMakeCXXCompilerABI.cpp --output_file=CMakeFiles/cmTC_0b44b.dir/CMakeCXXCompilerABI.cpp.o
Linking CXX executable cmTC_0b44b
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_0b44b.dir/link.txt --verbose=1
/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000 --run_linker --output_file=cmTC_0b44b --map_file=cmTC_0b44b.map CMakeFiles/cmTC_0b44b.dir/CMakeCXXCompilerABI.cpp.o
<Linking>
gmake[1]: Leaving directory '/home/lobov/workspace/ccs12.5/cmake_test/build/Debug/CMakeFiles/CMakeTmp'
Detecting CXX [--c++03;--strict_ansi] compiler features compiled with the following output:
Change Dir: /home/lobov/workspace/ccs12.5/cmake_test/build/Debug/CMakeFiles/CMakeTmp
Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_6dd94/fast && /usr/bin/gmake -f CMakeFiles/cmTC_6dd94.dir/build.make CMakeFiles/cmTC_6dd94.dir/build
gmake[1]: Entering directory '/home/lobov/workspace/ccs12.5/cmake_test/build/Debug/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_6dd94.dir/feature_tests.cxx.o
/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000 --compile_only --cpp_file=/home/lobov/workspace/ccs12.5/cmake_test/build/Debug/CMakeFiles/feature_tests.cxx --c++03 --strict_ansi --output_file=CMakeFiles/cmTC_6dd94.dir/feature_tests.cxx.o
Linking CXX executable cmTC_6dd94
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_6dd94.dir/link.txt --verbose=1
/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000 --run_linker --output_file=cmTC_6dd94 --map_file=cmTC_6dd94.map CMakeFiles/cmTC_6dd94.dir/feature_tests.cxx.o
<Linking>
gmake[1]: Leaving directory '/home/lobov/workspace/ccs12.5/cmake_test/build/Debug/CMakeFiles/CMakeTmp'

View File

@ -0,0 +1,44 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.22
# The generator used is:
set(CMAKE_DEPENDS_GENERATOR "Unix Makefiles")
# The top level Makefile was generated from the following files:
set(CMAKE_MAKEFILE_DEPENDS
"CMakeCache.txt"
"../../CMakeLists.txt"
"CMakeFiles/3.22.1/CMakeCCompiler.cmake"
"CMakeFiles/3.22.1/CMakeCXXCompiler.cmake"
"CMakeFiles/3.22.1/CMakeSystem.cmake"
"/usr/share/cmake-3.22/Modules/CMakeCInformation.cmake"
"/usr/share/cmake-3.22/Modules/CMakeCXXInformation.cmake"
"/usr/share/cmake-3.22/Modules/CMakeCommonLanguageInclude.cmake"
"/usr/share/cmake-3.22/Modules/CMakeGenericSystem.cmake"
"/usr/share/cmake-3.22/Modules/CMakeInitializeConfigs.cmake"
"/usr/share/cmake-3.22/Modules/CMakeLanguageInformation.cmake"
"/usr/share/cmake-3.22/Modules/CMakeSystemSpecificInformation.cmake"
"/usr/share/cmake-3.22/Modules/CMakeSystemSpecificInitialize.cmake"
"/usr/share/cmake-3.22/Modules/Compiler/CMakeCommonCompilerMacros.cmake"
"/usr/share/cmake-3.22/Modules/Compiler/TI-C.cmake"
"/usr/share/cmake-3.22/Modules/Compiler/TI-CXX.cmake"
"/usr/share/cmake-3.22/Modules/Compiler/TI.cmake"
"/usr/share/cmake-3.22/Modules/Platform/Linux.cmake"
"/usr/share/cmake-3.22/Modules/Platform/UnixPaths.cmake"
)
# The corresponding makefile is:
set(CMAKE_MAKEFILE_OUTPUTS
"Makefile"
"CMakeFiles/cmake.check_cache"
)
# Byproducts of CMake generate step:
set(CMAKE_MAKEFILE_PRODUCTS
"CMakeFiles/CMakeDirectoryInformation.cmake"
)
# Dependency information for all targets:
set(CMAKE_DEPEND_INFO_FILES
"CMakeFiles/test_project.dir/DependInfo.cmake"
)

View File

@ -0,0 +1,112 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.22
# Default target executed when no arguments are given to make.
default_target: all
.PHONY : default_target
#=============================================================================
# Special targets provided by cmake.
# Disable implicit rules so canonical targets will work.
.SUFFIXES:
# Disable VCS-based implicit rules.
% : %,v
# Disable VCS-based implicit rules.
% : RCS/%
# Disable VCS-based implicit rules.
% : RCS/%,v
# Disable VCS-based implicit rules.
% : SCCS/s.%
# Disable VCS-based implicit rules.
% : s.%
.SUFFIXES: .hpux_make_needs_suffix_list
# Command-line flag to silence nested $(MAKE).
$(VERBOSE)MAKESILENT = -s
#Suppress display of executed commands.
$(VERBOSE).SILENT:
# A target that is always out of date.
cmake_force:
.PHONY : cmake_force
#=============================================================================
# Set environment variables for the build.
# The shell in which to execute make rules.
SHELL = /bin/sh
# The CMake executable.
CMAKE_COMMAND = /usr/bin/cmake
# The command to remove a file.
RM = /usr/bin/cmake -E rm -f
# Escaping for special characters.
EQUALS = =
# The top-level source directory on which CMake was run.
CMAKE_SOURCE_DIR = /home/lobov/workspace/ccs12.5/cmake_test
# The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = /home/lobov/workspace/ccs12.5/cmake_test/build/Debug
#=============================================================================
# Directory level rules for the build root directory
# The main recursive "all" target.
all: CMakeFiles/test_project.dir/all
.PHONY : all
# The main recursive "preinstall" target.
preinstall:
.PHONY : preinstall
# The main recursive "clean" target.
clean: CMakeFiles/test_project.dir/clean
.PHONY : clean
#=============================================================================
# Target rules for target CMakeFiles/test_project.dir
# All Build rule for target.
CMakeFiles/test_project.dir/all:
$(MAKE) $(MAKESILENT) -f CMakeFiles/test_project.dir/build.make CMakeFiles/test_project.dir/depend
$(MAKE) $(MAKESILENT) -f CMakeFiles/test_project.dir/build.make CMakeFiles/test_project.dir/build
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --progress-dir=/home/lobov/workspace/ccs12.5/cmake_test/build/Debug/CMakeFiles --progress-num=1,2,3,4,5,6,7 "Built target test_project"
.PHONY : CMakeFiles/test_project.dir/all
# Build rule for subdir invocation for target.
CMakeFiles/test_project.dir/rule: cmake_check_build_system
$(CMAKE_COMMAND) -E cmake_progress_start /home/lobov/workspace/ccs12.5/cmake_test/build/Debug/CMakeFiles 7
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 CMakeFiles/test_project.dir/all
$(CMAKE_COMMAND) -E cmake_progress_start /home/lobov/workspace/ccs12.5/cmake_test/build/Debug/CMakeFiles 0
.PHONY : CMakeFiles/test_project.dir/rule
# Convenience name for target.
test_project: CMakeFiles/test_project.dir/rule
.PHONY : test_project
# clean rule for target.
CMakeFiles/test_project.dir/clean:
$(MAKE) $(MAKESILENT) -f CMakeFiles/test_project.dir/build.make CMakeFiles/test_project.dir/clean
.PHONY : CMakeFiles/test_project.dir/clean
#=============================================================================
# Special targets to cleanup operation of make.
# Special rule to run CMake to check the build system integrity.
# No rule that depends on this can have commands that come from listfiles
# because they might be regenerated.
cmake_check_build_system:
$(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
.PHONY : cmake_check_build_system

View File

@ -0,0 +1 @@

View File

@ -0,0 +1,2 @@
#include "foo.h"
int main(){}

View File

@ -0,0 +1,3 @@
/home/lobov/workspace/ccs12.5/cmake_test/build/Debug/CMakeFiles/test_project.dir
/home/lobov/workspace/ccs12.5/cmake_test/build/Debug/CMakeFiles/edit_cache.dir
/home/lobov/workspace/ccs12.5/cmake_test/build/Debug/CMakeFiles/rebuild_cache.dir

View File

@ -0,0 +1 @@
# This file is generated by cmake for dependency checking of the CMakeCache.txt file

Binary file not shown.

View File

@ -0,0 +1,6 @@
const char features[] = {"\n"
};
int main(int argc, char** argv) { (void)argv; return features[argc]; }

View File

@ -0,0 +1,6 @@
const char features[] = {"\n"
};
int main(int argc, char** argv) { (void)argv; return features[argc]; }

View File

@ -0,0 +1 @@
7

View File

@ -0,0 +1,132 @@
#IncludeRegexLine: ^[ ]*[#%][ ]*(include|import)[ ]*[<"]([^">]+)([">])
#IncludeRegexScan: ^.*$
#IncludeRegexComplain: ^$
#IncludeRegexTransform:
../../f2833x/common/include/DSP2833x_DefaultIsr.h
../../f2833x/common/include/DSP2833x_Dma_defines.h
../../f2833x/common/include/DSP2833x_EPwm_defines.h
../../f2833x/common/include/DSP2833x_Examples.h
DSP2833x_GlobalPrototypes.h
../../f2833x/common/include/DSP2833x_GlobalPrototypes.h
DSP2833x_EPwm_defines.h
../../f2833x/common/include/DSP2833x_EPwm_defines.h
DSP2833x_Dma_defines.h
../../f2833x/common/include/DSP2833x_Dma_defines.h
DSP2833x_I2c_defines.h
../../f2833x/common/include/DSP2833x_I2c_defines.h
DSP2833x_DefaultIsr.h
../../f2833x/common/include/DSP2833x_DefaultIsr.h
../../f2833x/common/include/DSP2833x_GlobalPrototypes.h
../../f2833x/common/include/DSP2833x_I2c_defines.h
../../f2833x/headers/include/DSP2833x_Adc.h
../../f2833x/headers/include/DSP2833x_CpuTimers.h
../../f2833x/headers/include/DSP2833x_DMA.h
../../f2833x/headers/include/DSP2833x_DevEmu.h
../../f2833x/headers/include/DSP2833x_Device.h
DSP2833x_Adc.h
../../f2833x/headers/include/DSP2833x_Adc.h
DSP2833x_DevEmu.h
../../f2833x/headers/include/DSP2833x_DevEmu.h
DSP2833x_CpuTimers.h
../../f2833x/headers/include/DSP2833x_CpuTimers.h
DSP2833x_ECan.h
../../f2833x/headers/include/DSP2833x_ECan.h
DSP2833x_ECap.h
../../f2833x/headers/include/DSP2833x_ECap.h
DSP2833x_DMA.h
../../f2833x/headers/include/DSP2833x_DMA.h
DSP2833x_EPwm.h
../../f2833x/headers/include/DSP2833x_EPwm.h
DSP2833x_EQep.h
../../f2833x/headers/include/DSP2833x_EQep.h
DSP2833x_Gpio.h
../../f2833x/headers/include/DSP2833x_Gpio.h
DSP2833x_I2c.h
../../f2833x/headers/include/DSP2833x_I2c.h
DSP2833x_Mcbsp.h
../../f2833x/headers/include/DSP2833x_Mcbsp.h
DSP2833x_PieCtrl.h
../../f2833x/headers/include/DSP2833x_PieCtrl.h
DSP2833x_PieVect.h
../../f2833x/headers/include/DSP2833x_PieVect.h
DSP2833x_Spi.h
../../f2833x/headers/include/DSP2833x_Spi.h
DSP2833x_Sci.h
../../f2833x/headers/include/DSP2833x_Sci.h
DSP2833x_SysCtrl.h
../../f2833x/headers/include/DSP2833x_SysCtrl.h
DSP2833x_XIntrupt.h
../../f2833x/headers/include/DSP2833x_XIntrupt.h
DSP2833x_Xintf.h
../../f2833x/headers/include/DSP2833x_Xintf.h
../../f2833x/headers/include/DSP2833x_ECan.h
../../f2833x/headers/include/DSP2833x_ECap.h
../../f2833x/headers/include/DSP2833x_EPwm.h
../../f2833x/headers/include/DSP2833x_EQep.h
../../f2833x/headers/include/DSP2833x_Gpio.h
../../f2833x/headers/include/DSP2833x_I2c.h
../../f2833x/headers/include/DSP2833x_Mcbsp.h
../../f2833x/headers/include/DSP2833x_PieCtrl.h
../../f2833x/headers/include/DSP2833x_PieVect.h
../../f2833x/headers/include/DSP2833x_Sci.h
../../f2833x/headers/include/DSP2833x_Spi.h
../../f2833x/headers/include/DSP2833x_SysCtrl.h
../../f2833x/headers/include/DSP2833x_XIntrupt.h
../../f2833x/headers/include/DSP2833x_Xintf.h
/home/lobov/workspace/ccs12.5/cmake_test/f2833x/common/source/DSP2833x_DefaultIsr.c
DSP2833x_Device.h
/home/lobov/workspace/ccs12.5/cmake_test/f2833x/common/source/DSP2833x_Device.h
DSP2833x_Examples.h
/home/lobov/workspace/ccs12.5/cmake_test/f2833x/common/source/DSP2833x_Examples.h
/home/lobov/workspace/ccs12.5/cmake_test/f2833x/common/source/DSP2833x_PieCtrl.c
DSP2833x_Device.h
/home/lobov/workspace/ccs12.5/cmake_test/f2833x/common/source/DSP2833x_Device.h
DSP2833x_Examples.h
/home/lobov/workspace/ccs12.5/cmake_test/f2833x/common/source/DSP2833x_Examples.h
/home/lobov/workspace/ccs12.5/cmake_test/f2833x/common/source/DSP2833x_PieVect.c
DSP2833x_Device.h
/home/lobov/workspace/ccs12.5/cmake_test/f2833x/common/source/DSP2833x_Device.h
DSP2833x_Examples.h
/home/lobov/workspace/ccs12.5/cmake_test/f2833x/common/source/DSP2833x_Examples.h
/home/lobov/workspace/ccs12.5/cmake_test/f2833x/common/source/DSP2833x_SysCtrl.c
DSP2833x_Device.h
/home/lobov/workspace/ccs12.5/cmake_test/f2833x/common/source/DSP2833x_Device.h
DSP2833x_Examples.h
/home/lobov/workspace/ccs12.5/cmake_test/f2833x/common/source/DSP2833x_Examples.h
/home/lobov/workspace/ccs12.5/cmake_test/f2833x/headers/source/DSP2833x_GlobalVariableDefs.c
DSP2833x_Device.h
/home/lobov/workspace/ccs12.5/cmake_test/f2833x/headers/source/DSP2833x_Device.h

View File

@ -0,0 +1,114 @@
#IncludeRegexLine: ^[ ]*[#%][ ]*(include|import)[ ]*[<"]([^">]+)([">])
#IncludeRegexScan: ^.*$
#IncludeRegexComplain: ^$
#IncludeRegexTransform:
../../f2833x/common/include/DSP2833x_DefaultIsr.h
../../f2833x/common/include/DSP2833x_Dma_defines.h
../../f2833x/common/include/DSP2833x_EPwm_defines.h
../../f2833x/common/include/DSP2833x_Examples.h
DSP2833x_GlobalPrototypes.h
../../f2833x/common/include/DSP2833x_GlobalPrototypes.h
DSP2833x_EPwm_defines.h
../../f2833x/common/include/DSP2833x_EPwm_defines.h
DSP2833x_Dma_defines.h
../../f2833x/common/include/DSP2833x_Dma_defines.h
DSP2833x_I2c_defines.h
../../f2833x/common/include/DSP2833x_I2c_defines.h
DSP2833x_DefaultIsr.h
../../f2833x/common/include/DSP2833x_DefaultIsr.h
../../f2833x/common/include/DSP2833x_GlobalPrototypes.h
../../f2833x/common/include/DSP2833x_I2c_defines.h
../../f2833x/common/include/DSP28x_Project.h
DSP2833x_Device.h
../../f2833x/common/include/DSP2833x_Device.h
DSP2833x_Examples.h
../../f2833x/common/include/DSP2833x_Examples.h
../../f2833x/headers/include/DSP2833x_Adc.h
../../f2833x/headers/include/DSP2833x_CpuTimers.h
../../f2833x/headers/include/DSP2833x_DMA.h
../../f2833x/headers/include/DSP2833x_DevEmu.h
../../f2833x/headers/include/DSP2833x_Device.h
DSP2833x_Adc.h
../../f2833x/headers/include/DSP2833x_Adc.h
DSP2833x_DevEmu.h
../../f2833x/headers/include/DSP2833x_DevEmu.h
DSP2833x_CpuTimers.h
../../f2833x/headers/include/DSP2833x_CpuTimers.h
DSP2833x_ECan.h
../../f2833x/headers/include/DSP2833x_ECan.h
DSP2833x_ECap.h
../../f2833x/headers/include/DSP2833x_ECap.h
DSP2833x_DMA.h
../../f2833x/headers/include/DSP2833x_DMA.h
DSP2833x_EPwm.h
../../f2833x/headers/include/DSP2833x_EPwm.h
DSP2833x_EQep.h
../../f2833x/headers/include/DSP2833x_EQep.h
DSP2833x_Gpio.h
../../f2833x/headers/include/DSP2833x_Gpio.h
DSP2833x_I2c.h
../../f2833x/headers/include/DSP2833x_I2c.h
DSP2833x_Mcbsp.h
../../f2833x/headers/include/DSP2833x_Mcbsp.h
DSP2833x_PieCtrl.h
../../f2833x/headers/include/DSP2833x_PieCtrl.h
DSP2833x_PieVect.h
../../f2833x/headers/include/DSP2833x_PieVect.h
DSP2833x_Spi.h
../../f2833x/headers/include/DSP2833x_Spi.h
DSP2833x_Sci.h
../../f2833x/headers/include/DSP2833x_Sci.h
DSP2833x_SysCtrl.h
../../f2833x/headers/include/DSP2833x_SysCtrl.h
DSP2833x_XIntrupt.h
../../f2833x/headers/include/DSP2833x_XIntrupt.h
DSP2833x_Xintf.h
../../f2833x/headers/include/DSP2833x_Xintf.h
../../f2833x/headers/include/DSP2833x_ECan.h
../../f2833x/headers/include/DSP2833x_ECap.h
../../f2833x/headers/include/DSP2833x_EPwm.h
../../f2833x/headers/include/DSP2833x_EQep.h
../../f2833x/headers/include/DSP2833x_Gpio.h
../../f2833x/headers/include/DSP2833x_I2c.h
../../f2833x/headers/include/DSP2833x_Mcbsp.h
../../f2833x/headers/include/DSP2833x_PieCtrl.h
../../f2833x/headers/include/DSP2833x_PieVect.h
../../f2833x/headers/include/DSP2833x_Sci.h
../../f2833x/headers/include/DSP2833x_Spi.h
../../f2833x/headers/include/DSP2833x_SysCtrl.h
../../f2833x/headers/include/DSP2833x_XIntrupt.h
../../f2833x/headers/include/DSP2833x_Xintf.h
/home/lobov/workspace/ccs12.5/cmake_test/main.cpp
DSP28x_Project.h
/home/lobov/workspace/ccs12.5/cmake_test/DSP28x_Project.h

View File

@ -0,0 +1,49 @@
# Consider dependencies only in project.
set(CMAKE_DEPENDS_IN_PROJECT_ONLY OFF)
# The set of languages for which implicit dependencies are needed:
set(CMAKE_DEPENDS_LANGUAGES
"C"
"CXX"
)
# The set of files for implicit dependencies of each language:
set(CMAKE_DEPENDS_CHECK_C
"/home/lobov/workspace/ccs12.5/cmake_test/f2833x/common/source/DSP2833x_DefaultIsr.c" "/home/lobov/workspace/ccs12.5/cmake_test/build/Debug/CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_DefaultIsr.c.o"
"/home/lobov/workspace/ccs12.5/cmake_test/f2833x/common/source/DSP2833x_PieCtrl.c" "/home/lobov/workspace/ccs12.5/cmake_test/build/Debug/CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_PieCtrl.c.o"
"/home/lobov/workspace/ccs12.5/cmake_test/f2833x/common/source/DSP2833x_PieVect.c" "/home/lobov/workspace/ccs12.5/cmake_test/build/Debug/CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_PieVect.c.o"
"/home/lobov/workspace/ccs12.5/cmake_test/f2833x/common/source/DSP2833x_SysCtrl.c" "/home/lobov/workspace/ccs12.5/cmake_test/build/Debug/CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_SysCtrl.c.o"
"/home/lobov/workspace/ccs12.5/cmake_test/f2833x/headers/source/DSP2833x_GlobalVariableDefs.c" "/home/lobov/workspace/ccs12.5/cmake_test/build/Debug/CMakeFiles/test_project.dir/f2833x/headers/source/DSP2833x_GlobalVariableDefs.c.o"
)
set(CMAKE_C_COMPILER_ID "TI")
# The include file search paths:
set(CMAKE_C_TARGET_INCLUDE_PATH
"."
"../.././f2833x"
"../.././f2833x/common/include"
"../.././f2833x/headers/include"
)
set(CMAKE_DEPENDS_CHECK_CXX
"/home/lobov/workspace/ccs12.5/cmake_test/main.cpp" "/home/lobov/workspace/ccs12.5/cmake_test/build/Debug/CMakeFiles/test_project.dir/main.cpp.o"
)
set(CMAKE_CXX_COMPILER_ID "TI")
# The include file search paths:
set(CMAKE_CXX_TARGET_INCLUDE_PATH
"."
"../.././f2833x"
"../.././f2833x/common/include"
"../.././f2833x/headers/include"
)
# The set of dependency files which are needed:
set(CMAKE_DEPENDS_DEPENDENCY_FILES
)
# Targets to which this target links.
set(CMAKE_TARGET_LINKED_INFO_FILES
)
# Fortran module output directory.
set(CMAKE_Fortran_TARGET_MODULE_DIR "")

View File

@ -0,0 +1,184 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.22
# Delete rule output on recipe failure.
.DELETE_ON_ERROR:
#=============================================================================
# Special targets provided by cmake.
# Disable implicit rules so canonical targets will work.
.SUFFIXES:
# Disable VCS-based implicit rules.
% : %,v
# Disable VCS-based implicit rules.
% : RCS/%
# Disable VCS-based implicit rules.
% : RCS/%,v
# Disable VCS-based implicit rules.
% : SCCS/s.%
# Disable VCS-based implicit rules.
% : s.%
.SUFFIXES: .hpux_make_needs_suffix_list
# Command-line flag to silence nested $(MAKE).
$(VERBOSE)MAKESILENT = -s
#Suppress display of executed commands.
$(VERBOSE).SILENT:
# A target that is always out of date.
cmake_force:
.PHONY : cmake_force
#=============================================================================
# Set environment variables for the build.
# The shell in which to execute make rules.
SHELL = /bin/sh
# The CMake executable.
CMAKE_COMMAND = /usr/bin/cmake
# The command to remove a file.
RM = /usr/bin/cmake -E rm -f
# Escaping for special characters.
EQUALS = =
# The top-level source directory on which CMake was run.
CMAKE_SOURCE_DIR = /home/lobov/workspace/ccs12.5/cmake_test
# The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = /home/lobov/workspace/ccs12.5/cmake_test/build/Debug
# Include any dependencies generated for this target.
include CMakeFiles/test_project.dir/depend.make
# Include any dependencies generated by the compiler for this target.
include CMakeFiles/test_project.dir/compiler_depend.make
# Include the progress variables for this target.
include CMakeFiles/test_project.dir/progress.make
# Include the compile flags for this target's objects.
include CMakeFiles/test_project.dir/flags.make
CMakeFiles/test_project.dir/main.cpp.o: CMakeFiles/test_project.dir/flags.make
CMakeFiles/test_project.dir/main.cpp.o: ../../main.cpp
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/lobov/workspace/ccs12.5/cmake_test/build/Debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_1) "Building CXX object CMakeFiles/test_project.dir/main.cpp.o"
/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000 --compile_only --cpp_file=/home/lobov/workspace/ccs12.5/cmake_test/main.cpp $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) --output_file=CMakeFiles/test_project.dir/main.cpp.o
CMakeFiles/test_project.dir/main.cpp.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing CXX source to CMakeFiles/test_project.dir/main.cpp.i"
/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000 --preproc_only --cpp_file=/home/lobov/workspace/ccs12.5/cmake_test/main.cpp $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) --output_file=CMakeFiles/test_project.dir/main.cpp.i
CMakeFiles/test_project.dir/main.cpp.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling CXX source to assembly CMakeFiles/test_project.dir/main.cpp.s"
/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000 --compile_only --skip_assembler --cpp_file=/home/lobov/workspace/ccs12.5/cmake_test/main.cpp $(CXX_DEFINES) $(CXX_INCLUDES) $(CXX_FLAGS) --output_file=CMakeFiles/test_project.dir/main.cpp.s
CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_DefaultIsr.c.o: CMakeFiles/test_project.dir/flags.make
CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_DefaultIsr.c.o: ../../f2833x/common/source/DSP2833x_DefaultIsr.c
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/lobov/workspace/ccs12.5/cmake_test/build/Debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_2) "Building C object CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_DefaultIsr.c.o"
/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000 --compile_only --c_file=/home/lobov/workspace/ccs12.5/cmake_test/f2833x/common/source/DSP2833x_DefaultIsr.c $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) --output_file=CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_DefaultIsr.c.o
CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_DefaultIsr.c.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_DefaultIsr.c.i"
/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000 --preproc_only --c_file=/home/lobov/workspace/ccs12.5/cmake_test/f2833x/common/source/DSP2833x_DefaultIsr.c $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) --output_file=CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_DefaultIsr.c.i
CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_DefaultIsr.c.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_DefaultIsr.c.s"
/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000 --compile_only --skip_assembler --c_file=/home/lobov/workspace/ccs12.5/cmake_test/f2833x/common/source/DSP2833x_DefaultIsr.c $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) --output_file=CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_DefaultIsr.c.s
CMakeFiles/test_project.dir/f2833x/headers/source/DSP2833x_GlobalVariableDefs.c.o: CMakeFiles/test_project.dir/flags.make
CMakeFiles/test_project.dir/f2833x/headers/source/DSP2833x_GlobalVariableDefs.c.o: ../../f2833x/headers/source/DSP2833x_GlobalVariableDefs.c
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/lobov/workspace/ccs12.5/cmake_test/build/Debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_3) "Building C object CMakeFiles/test_project.dir/f2833x/headers/source/DSP2833x_GlobalVariableDefs.c.o"
/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000 --compile_only --c_file=/home/lobov/workspace/ccs12.5/cmake_test/f2833x/headers/source/DSP2833x_GlobalVariableDefs.c $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) --output_file=CMakeFiles/test_project.dir/f2833x/headers/source/DSP2833x_GlobalVariableDefs.c.o
CMakeFiles/test_project.dir/f2833x/headers/source/DSP2833x_GlobalVariableDefs.c.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/test_project.dir/f2833x/headers/source/DSP2833x_GlobalVariableDefs.c.i"
/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000 --preproc_only --c_file=/home/lobov/workspace/ccs12.5/cmake_test/f2833x/headers/source/DSP2833x_GlobalVariableDefs.c $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) --output_file=CMakeFiles/test_project.dir/f2833x/headers/source/DSP2833x_GlobalVariableDefs.c.i
CMakeFiles/test_project.dir/f2833x/headers/source/DSP2833x_GlobalVariableDefs.c.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/test_project.dir/f2833x/headers/source/DSP2833x_GlobalVariableDefs.c.s"
/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000 --compile_only --skip_assembler --c_file=/home/lobov/workspace/ccs12.5/cmake_test/f2833x/headers/source/DSP2833x_GlobalVariableDefs.c $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) --output_file=CMakeFiles/test_project.dir/f2833x/headers/source/DSP2833x_GlobalVariableDefs.c.s
CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_PieCtrl.c.o: CMakeFiles/test_project.dir/flags.make
CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_PieCtrl.c.o: ../../f2833x/common/source/DSP2833x_PieCtrl.c
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/lobov/workspace/ccs12.5/cmake_test/build/Debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_4) "Building C object CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_PieCtrl.c.o"
/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000 --compile_only --c_file=/home/lobov/workspace/ccs12.5/cmake_test/f2833x/common/source/DSP2833x_PieCtrl.c $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) --output_file=CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_PieCtrl.c.o
CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_PieCtrl.c.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_PieCtrl.c.i"
/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000 --preproc_only --c_file=/home/lobov/workspace/ccs12.5/cmake_test/f2833x/common/source/DSP2833x_PieCtrl.c $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) --output_file=CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_PieCtrl.c.i
CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_PieCtrl.c.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_PieCtrl.c.s"
/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000 --compile_only --skip_assembler --c_file=/home/lobov/workspace/ccs12.5/cmake_test/f2833x/common/source/DSP2833x_PieCtrl.c $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) --output_file=CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_PieCtrl.c.s
CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_PieVect.c.o: CMakeFiles/test_project.dir/flags.make
CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_PieVect.c.o: ../../f2833x/common/source/DSP2833x_PieVect.c
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/lobov/workspace/ccs12.5/cmake_test/build/Debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_5) "Building C object CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_PieVect.c.o"
/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000 --compile_only --c_file=/home/lobov/workspace/ccs12.5/cmake_test/f2833x/common/source/DSP2833x_PieVect.c $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) --output_file=CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_PieVect.c.o
CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_PieVect.c.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_PieVect.c.i"
/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000 --preproc_only --c_file=/home/lobov/workspace/ccs12.5/cmake_test/f2833x/common/source/DSP2833x_PieVect.c $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) --output_file=CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_PieVect.c.i
CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_PieVect.c.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_PieVect.c.s"
/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000 --compile_only --skip_assembler --c_file=/home/lobov/workspace/ccs12.5/cmake_test/f2833x/common/source/DSP2833x_PieVect.c $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) --output_file=CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_PieVect.c.s
CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_SysCtrl.c.o: CMakeFiles/test_project.dir/flags.make
CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_SysCtrl.c.o: ../../f2833x/common/source/DSP2833x_SysCtrl.c
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --progress-dir=/home/lobov/workspace/ccs12.5/cmake_test/build/Debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_6) "Building C object CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_SysCtrl.c.o"
/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000 --compile_only --c_file=/home/lobov/workspace/ccs12.5/cmake_test/f2833x/common/source/DSP2833x_SysCtrl.c $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) --output_file=CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_SysCtrl.c.o
CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_SysCtrl.c.i: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Preprocessing C source to CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_SysCtrl.c.i"
/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000 --preproc_only --c_file=/home/lobov/workspace/ccs12.5/cmake_test/f2833x/common/source/DSP2833x_SysCtrl.c $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) --output_file=CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_SysCtrl.c.i
CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_SysCtrl.c.s: cmake_force
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green "Compiling C source to assembly CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_SysCtrl.c.s"
/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000 --compile_only --skip_assembler --c_file=/home/lobov/workspace/ccs12.5/cmake_test/f2833x/common/source/DSP2833x_SysCtrl.c $(C_DEFINES) $(C_INCLUDES) $(C_FLAGS) --output_file=CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_SysCtrl.c.s
# Object files for target test_project
test_project_OBJECTS = \
"CMakeFiles/test_project.dir/main.cpp.o" \
"CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_DefaultIsr.c.o" \
"CMakeFiles/test_project.dir/f2833x/headers/source/DSP2833x_GlobalVariableDefs.c.o" \
"CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_PieCtrl.c.o" \
"CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_PieVect.c.o" \
"CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_SysCtrl.c.o"
# External object files for target test_project
test_project_EXTERNAL_OBJECTS =
test_project: CMakeFiles/test_project.dir/main.cpp.o
test_project: CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_DefaultIsr.c.o
test_project: CMakeFiles/test_project.dir/f2833x/headers/source/DSP2833x_GlobalVariableDefs.c.o
test_project: CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_PieCtrl.c.o
test_project: CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_PieVect.c.o
test_project: CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_SysCtrl.c.o
test_project: CMakeFiles/test_project.dir/build.make
test_project: CMakeFiles/test_project.dir/link.txt
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --green --bold --progress-dir=/home/lobov/workspace/ccs12.5/cmake_test/build/Debug/CMakeFiles --progress-num=$(CMAKE_PROGRESS_7) "Linking CXX executable test_project"
$(CMAKE_COMMAND) -E cmake_link_script CMakeFiles/test_project.dir/link.txt --verbose=$(VERBOSE)
# Rule to build all files generated by this target.
CMakeFiles/test_project.dir/build: test_project
.PHONY : CMakeFiles/test_project.dir/build
CMakeFiles/test_project.dir/clean:
$(CMAKE_COMMAND) -P CMakeFiles/test_project.dir/cmake_clean.cmake
.PHONY : CMakeFiles/test_project.dir/clean
CMakeFiles/test_project.dir/depend:
cd /home/lobov/workspace/ccs12.5/cmake_test/build/Debug && $(CMAKE_COMMAND) -E cmake_depends "Unix Makefiles" /home/lobov/workspace/ccs12.5/cmake_test /home/lobov/workspace/ccs12.5/cmake_test /home/lobov/workspace/ccs12.5/cmake_test/build/Debug /home/lobov/workspace/ccs12.5/cmake_test/build/Debug /home/lobov/workspace/ccs12.5/cmake_test/build/Debug/CMakeFiles/test_project.dir/DependInfo.cmake --color=$(COLOR)
.PHONY : CMakeFiles/test_project.dir/depend

View File

@ -0,0 +1,15 @@
file(REMOVE_RECURSE
"CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_DefaultIsr.c.o"
"CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_PieCtrl.c.o"
"CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_PieVect.c.o"
"CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_SysCtrl.c.o"
"CMakeFiles/test_project.dir/f2833x/headers/source/DSP2833x_GlobalVariableDefs.c.o"
"CMakeFiles/test_project.dir/main.cpp.o"
"test_project"
"test_project.pdb"
)
# Per-language clean rules from dependency scanning.
foreach(lang C CXX)
include(CMakeFiles/test_project.dir/cmake_clean_${lang}.cmake OPTIONAL)
endforeach()

View File

@ -0,0 +1,2 @@
# Empty compiler generated dependencies file for test_project.
# This may be replaced when dependencies are built.

View File

@ -0,0 +1,2 @@
# CMAKE generated file: DO NOT EDIT!
# Timestamp file for compiler generated dependencies management for test_project.

View File

@ -0,0 +1,160 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.22
CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_DefaultIsr.c.o
../../f2833x/common/include/DSP2833x_DefaultIsr.h
../../f2833x/common/include/DSP2833x_Dma_defines.h
../../f2833x/common/include/DSP2833x_EPwm_defines.h
../../f2833x/common/include/DSP2833x_Examples.h
../../f2833x/common/include/DSP2833x_GlobalPrototypes.h
../../f2833x/common/include/DSP2833x_I2c_defines.h
../../f2833x/headers/include/DSP2833x_Adc.h
../../f2833x/headers/include/DSP2833x_CpuTimers.h
../../f2833x/headers/include/DSP2833x_DMA.h
../../f2833x/headers/include/DSP2833x_DevEmu.h
../../f2833x/headers/include/DSP2833x_Device.h
../../f2833x/headers/include/DSP2833x_ECan.h
../../f2833x/headers/include/DSP2833x_ECap.h
../../f2833x/headers/include/DSP2833x_EPwm.h
../../f2833x/headers/include/DSP2833x_EQep.h
../../f2833x/headers/include/DSP2833x_Gpio.h
../../f2833x/headers/include/DSP2833x_I2c.h
../../f2833x/headers/include/DSP2833x_Mcbsp.h
../../f2833x/headers/include/DSP2833x_PieCtrl.h
../../f2833x/headers/include/DSP2833x_PieVect.h
../../f2833x/headers/include/DSP2833x_Sci.h
../../f2833x/headers/include/DSP2833x_Spi.h
../../f2833x/headers/include/DSP2833x_SysCtrl.h
../../f2833x/headers/include/DSP2833x_XIntrupt.h
../../f2833x/headers/include/DSP2833x_Xintf.h
/home/lobov/workspace/ccs12.5/cmake_test/f2833x/common/source/DSP2833x_DefaultIsr.c
CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_PieCtrl.c.o
../../f2833x/common/include/DSP2833x_DefaultIsr.h
../../f2833x/common/include/DSP2833x_Dma_defines.h
../../f2833x/common/include/DSP2833x_EPwm_defines.h
../../f2833x/common/include/DSP2833x_Examples.h
../../f2833x/common/include/DSP2833x_GlobalPrototypes.h
../../f2833x/common/include/DSP2833x_I2c_defines.h
../../f2833x/headers/include/DSP2833x_Adc.h
../../f2833x/headers/include/DSP2833x_CpuTimers.h
../../f2833x/headers/include/DSP2833x_DMA.h
../../f2833x/headers/include/DSP2833x_DevEmu.h
../../f2833x/headers/include/DSP2833x_Device.h
../../f2833x/headers/include/DSP2833x_ECan.h
../../f2833x/headers/include/DSP2833x_ECap.h
../../f2833x/headers/include/DSP2833x_EPwm.h
../../f2833x/headers/include/DSP2833x_EQep.h
../../f2833x/headers/include/DSP2833x_Gpio.h
../../f2833x/headers/include/DSP2833x_I2c.h
../../f2833x/headers/include/DSP2833x_Mcbsp.h
../../f2833x/headers/include/DSP2833x_PieCtrl.h
../../f2833x/headers/include/DSP2833x_PieVect.h
../../f2833x/headers/include/DSP2833x_Sci.h
../../f2833x/headers/include/DSP2833x_Spi.h
../../f2833x/headers/include/DSP2833x_SysCtrl.h
../../f2833x/headers/include/DSP2833x_XIntrupt.h
../../f2833x/headers/include/DSP2833x_Xintf.h
/home/lobov/workspace/ccs12.5/cmake_test/f2833x/common/source/DSP2833x_PieCtrl.c
CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_PieVect.c.o
../../f2833x/common/include/DSP2833x_DefaultIsr.h
../../f2833x/common/include/DSP2833x_Dma_defines.h
../../f2833x/common/include/DSP2833x_EPwm_defines.h
../../f2833x/common/include/DSP2833x_Examples.h
../../f2833x/common/include/DSP2833x_GlobalPrototypes.h
../../f2833x/common/include/DSP2833x_I2c_defines.h
../../f2833x/headers/include/DSP2833x_Adc.h
../../f2833x/headers/include/DSP2833x_CpuTimers.h
../../f2833x/headers/include/DSP2833x_DMA.h
../../f2833x/headers/include/DSP2833x_DevEmu.h
../../f2833x/headers/include/DSP2833x_Device.h
../../f2833x/headers/include/DSP2833x_ECan.h
../../f2833x/headers/include/DSP2833x_ECap.h
../../f2833x/headers/include/DSP2833x_EPwm.h
../../f2833x/headers/include/DSP2833x_EQep.h
../../f2833x/headers/include/DSP2833x_Gpio.h
../../f2833x/headers/include/DSP2833x_I2c.h
../../f2833x/headers/include/DSP2833x_Mcbsp.h
../../f2833x/headers/include/DSP2833x_PieCtrl.h
../../f2833x/headers/include/DSP2833x_PieVect.h
../../f2833x/headers/include/DSP2833x_Sci.h
../../f2833x/headers/include/DSP2833x_Spi.h
../../f2833x/headers/include/DSP2833x_SysCtrl.h
../../f2833x/headers/include/DSP2833x_XIntrupt.h
../../f2833x/headers/include/DSP2833x_Xintf.h
/home/lobov/workspace/ccs12.5/cmake_test/f2833x/common/source/DSP2833x_PieVect.c
CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_SysCtrl.c.o
../../f2833x/common/include/DSP2833x_DefaultIsr.h
../../f2833x/common/include/DSP2833x_Dma_defines.h
../../f2833x/common/include/DSP2833x_EPwm_defines.h
../../f2833x/common/include/DSP2833x_Examples.h
../../f2833x/common/include/DSP2833x_GlobalPrototypes.h
../../f2833x/common/include/DSP2833x_I2c_defines.h
../../f2833x/headers/include/DSP2833x_Adc.h
../../f2833x/headers/include/DSP2833x_CpuTimers.h
../../f2833x/headers/include/DSP2833x_DMA.h
../../f2833x/headers/include/DSP2833x_DevEmu.h
../../f2833x/headers/include/DSP2833x_Device.h
../../f2833x/headers/include/DSP2833x_ECan.h
../../f2833x/headers/include/DSP2833x_ECap.h
../../f2833x/headers/include/DSP2833x_EPwm.h
../../f2833x/headers/include/DSP2833x_EQep.h
../../f2833x/headers/include/DSP2833x_Gpio.h
../../f2833x/headers/include/DSP2833x_I2c.h
../../f2833x/headers/include/DSP2833x_Mcbsp.h
../../f2833x/headers/include/DSP2833x_PieCtrl.h
../../f2833x/headers/include/DSP2833x_PieVect.h
../../f2833x/headers/include/DSP2833x_Sci.h
../../f2833x/headers/include/DSP2833x_Spi.h
../../f2833x/headers/include/DSP2833x_SysCtrl.h
../../f2833x/headers/include/DSP2833x_XIntrupt.h
../../f2833x/headers/include/DSP2833x_Xintf.h
/home/lobov/workspace/ccs12.5/cmake_test/f2833x/common/source/DSP2833x_SysCtrl.c
CMakeFiles/test_project.dir/f2833x/headers/source/DSP2833x_GlobalVariableDefs.c.o
../../f2833x/headers/include/DSP2833x_Adc.h
../../f2833x/headers/include/DSP2833x_CpuTimers.h
../../f2833x/headers/include/DSP2833x_DMA.h
../../f2833x/headers/include/DSP2833x_DevEmu.h
../../f2833x/headers/include/DSP2833x_Device.h
../../f2833x/headers/include/DSP2833x_ECan.h
../../f2833x/headers/include/DSP2833x_ECap.h
../../f2833x/headers/include/DSP2833x_EPwm.h
../../f2833x/headers/include/DSP2833x_EQep.h
../../f2833x/headers/include/DSP2833x_Gpio.h
../../f2833x/headers/include/DSP2833x_I2c.h
../../f2833x/headers/include/DSP2833x_Mcbsp.h
../../f2833x/headers/include/DSP2833x_PieCtrl.h
../../f2833x/headers/include/DSP2833x_PieVect.h
../../f2833x/headers/include/DSP2833x_Sci.h
../../f2833x/headers/include/DSP2833x_Spi.h
../../f2833x/headers/include/DSP2833x_SysCtrl.h
../../f2833x/headers/include/DSP2833x_XIntrupt.h
../../f2833x/headers/include/DSP2833x_Xintf.h
/home/lobov/workspace/ccs12.5/cmake_test/f2833x/headers/source/DSP2833x_GlobalVariableDefs.c
CMakeFiles/test_project.dir/main.cpp.o
../../f2833x/common/include/DSP2833x_DefaultIsr.h
../../f2833x/common/include/DSP2833x_Dma_defines.h
../../f2833x/common/include/DSP2833x_EPwm_defines.h
../../f2833x/common/include/DSP2833x_Examples.h
../../f2833x/common/include/DSP2833x_GlobalPrototypes.h
../../f2833x/common/include/DSP2833x_I2c_defines.h
../../f2833x/common/include/DSP28x_Project.h
../../f2833x/headers/include/DSP2833x_Adc.h
../../f2833x/headers/include/DSP2833x_CpuTimers.h
../../f2833x/headers/include/DSP2833x_DMA.h
../../f2833x/headers/include/DSP2833x_DevEmu.h
../../f2833x/headers/include/DSP2833x_Device.h
../../f2833x/headers/include/DSP2833x_ECan.h
../../f2833x/headers/include/DSP2833x_ECap.h
../../f2833x/headers/include/DSP2833x_EPwm.h
../../f2833x/headers/include/DSP2833x_EQep.h
../../f2833x/headers/include/DSP2833x_Gpio.h
../../f2833x/headers/include/DSP2833x_I2c.h
../../f2833x/headers/include/DSP2833x_Mcbsp.h
../../f2833x/headers/include/DSP2833x_PieCtrl.h
../../f2833x/headers/include/DSP2833x_PieVect.h
../../f2833x/headers/include/DSP2833x_Sci.h
../../f2833x/headers/include/DSP2833x_Spi.h
../../f2833x/headers/include/DSP2833x_SysCtrl.h
../../f2833x/headers/include/DSP2833x_XIntrupt.h
../../f2833x/headers/include/DSP2833x_Xintf.h
/home/lobov/workspace/ccs12.5/cmake_test/main.cpp

View File

@ -0,0 +1,160 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.22
CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_DefaultIsr.c.o: \
../../f2833x/common/include/DSP2833x_DefaultIsr.h \
../../f2833x/common/include/DSP2833x_Dma_defines.h \
../../f2833x/common/include/DSP2833x_EPwm_defines.h \
../../f2833x/common/include/DSP2833x_Examples.h \
../../f2833x/common/include/DSP2833x_GlobalPrototypes.h \
../../f2833x/common/include/DSP2833x_I2c_defines.h \
../../f2833x/headers/include/DSP2833x_Adc.h \
../../f2833x/headers/include/DSP2833x_CpuTimers.h \
../../f2833x/headers/include/DSP2833x_DMA.h \
../../f2833x/headers/include/DSP2833x_DevEmu.h \
../../f2833x/headers/include/DSP2833x_Device.h \
../../f2833x/headers/include/DSP2833x_ECan.h \
../../f2833x/headers/include/DSP2833x_ECap.h \
../../f2833x/headers/include/DSP2833x_EPwm.h \
../../f2833x/headers/include/DSP2833x_EQep.h \
../../f2833x/headers/include/DSP2833x_Gpio.h \
../../f2833x/headers/include/DSP2833x_I2c.h \
../../f2833x/headers/include/DSP2833x_Mcbsp.h \
../../f2833x/headers/include/DSP2833x_PieCtrl.h \
../../f2833x/headers/include/DSP2833x_PieVect.h \
../../f2833x/headers/include/DSP2833x_Sci.h \
../../f2833x/headers/include/DSP2833x_Spi.h \
../../f2833x/headers/include/DSP2833x_SysCtrl.h \
../../f2833x/headers/include/DSP2833x_XIntrupt.h \
../../f2833x/headers/include/DSP2833x_Xintf.h \
../../f2833x/common/source/DSP2833x_DefaultIsr.c
CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_PieCtrl.c.o: \
../../f2833x/common/include/DSP2833x_DefaultIsr.h \
../../f2833x/common/include/DSP2833x_Dma_defines.h \
../../f2833x/common/include/DSP2833x_EPwm_defines.h \
../../f2833x/common/include/DSP2833x_Examples.h \
../../f2833x/common/include/DSP2833x_GlobalPrototypes.h \
../../f2833x/common/include/DSP2833x_I2c_defines.h \
../../f2833x/headers/include/DSP2833x_Adc.h \
../../f2833x/headers/include/DSP2833x_CpuTimers.h \
../../f2833x/headers/include/DSP2833x_DMA.h \
../../f2833x/headers/include/DSP2833x_DevEmu.h \
../../f2833x/headers/include/DSP2833x_Device.h \
../../f2833x/headers/include/DSP2833x_ECan.h \
../../f2833x/headers/include/DSP2833x_ECap.h \
../../f2833x/headers/include/DSP2833x_EPwm.h \
../../f2833x/headers/include/DSP2833x_EQep.h \
../../f2833x/headers/include/DSP2833x_Gpio.h \
../../f2833x/headers/include/DSP2833x_I2c.h \
../../f2833x/headers/include/DSP2833x_Mcbsp.h \
../../f2833x/headers/include/DSP2833x_PieCtrl.h \
../../f2833x/headers/include/DSP2833x_PieVect.h \
../../f2833x/headers/include/DSP2833x_Sci.h \
../../f2833x/headers/include/DSP2833x_Spi.h \
../../f2833x/headers/include/DSP2833x_SysCtrl.h \
../../f2833x/headers/include/DSP2833x_XIntrupt.h \
../../f2833x/headers/include/DSP2833x_Xintf.h \
../../f2833x/common/source/DSP2833x_PieCtrl.c
CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_PieVect.c.o: \
../../f2833x/common/include/DSP2833x_DefaultIsr.h \
../../f2833x/common/include/DSP2833x_Dma_defines.h \
../../f2833x/common/include/DSP2833x_EPwm_defines.h \
../../f2833x/common/include/DSP2833x_Examples.h \
../../f2833x/common/include/DSP2833x_GlobalPrototypes.h \
../../f2833x/common/include/DSP2833x_I2c_defines.h \
../../f2833x/headers/include/DSP2833x_Adc.h \
../../f2833x/headers/include/DSP2833x_CpuTimers.h \
../../f2833x/headers/include/DSP2833x_DMA.h \
../../f2833x/headers/include/DSP2833x_DevEmu.h \
../../f2833x/headers/include/DSP2833x_Device.h \
../../f2833x/headers/include/DSP2833x_ECan.h \
../../f2833x/headers/include/DSP2833x_ECap.h \
../../f2833x/headers/include/DSP2833x_EPwm.h \
../../f2833x/headers/include/DSP2833x_EQep.h \
../../f2833x/headers/include/DSP2833x_Gpio.h \
../../f2833x/headers/include/DSP2833x_I2c.h \
../../f2833x/headers/include/DSP2833x_Mcbsp.h \
../../f2833x/headers/include/DSP2833x_PieCtrl.h \
../../f2833x/headers/include/DSP2833x_PieVect.h \
../../f2833x/headers/include/DSP2833x_Sci.h \
../../f2833x/headers/include/DSP2833x_Spi.h \
../../f2833x/headers/include/DSP2833x_SysCtrl.h \
../../f2833x/headers/include/DSP2833x_XIntrupt.h \
../../f2833x/headers/include/DSP2833x_Xintf.h \
../../f2833x/common/source/DSP2833x_PieVect.c
CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_SysCtrl.c.o: \
../../f2833x/common/include/DSP2833x_DefaultIsr.h \
../../f2833x/common/include/DSP2833x_Dma_defines.h \
../../f2833x/common/include/DSP2833x_EPwm_defines.h \
../../f2833x/common/include/DSP2833x_Examples.h \
../../f2833x/common/include/DSP2833x_GlobalPrototypes.h \
../../f2833x/common/include/DSP2833x_I2c_defines.h \
../../f2833x/headers/include/DSP2833x_Adc.h \
../../f2833x/headers/include/DSP2833x_CpuTimers.h \
../../f2833x/headers/include/DSP2833x_DMA.h \
../../f2833x/headers/include/DSP2833x_DevEmu.h \
../../f2833x/headers/include/DSP2833x_Device.h \
../../f2833x/headers/include/DSP2833x_ECan.h \
../../f2833x/headers/include/DSP2833x_ECap.h \
../../f2833x/headers/include/DSP2833x_EPwm.h \
../../f2833x/headers/include/DSP2833x_EQep.h \
../../f2833x/headers/include/DSP2833x_Gpio.h \
../../f2833x/headers/include/DSP2833x_I2c.h \
../../f2833x/headers/include/DSP2833x_Mcbsp.h \
../../f2833x/headers/include/DSP2833x_PieCtrl.h \
../../f2833x/headers/include/DSP2833x_PieVect.h \
../../f2833x/headers/include/DSP2833x_Sci.h \
../../f2833x/headers/include/DSP2833x_Spi.h \
../../f2833x/headers/include/DSP2833x_SysCtrl.h \
../../f2833x/headers/include/DSP2833x_XIntrupt.h \
../../f2833x/headers/include/DSP2833x_Xintf.h \
../../f2833x/common/source/DSP2833x_SysCtrl.c
CMakeFiles/test_project.dir/f2833x/headers/source/DSP2833x_GlobalVariableDefs.c.o: \
../../f2833x/headers/include/DSP2833x_Adc.h \
../../f2833x/headers/include/DSP2833x_CpuTimers.h \
../../f2833x/headers/include/DSP2833x_DMA.h \
../../f2833x/headers/include/DSP2833x_DevEmu.h \
../../f2833x/headers/include/DSP2833x_Device.h \
../../f2833x/headers/include/DSP2833x_ECan.h \
../../f2833x/headers/include/DSP2833x_ECap.h \
../../f2833x/headers/include/DSP2833x_EPwm.h \
../../f2833x/headers/include/DSP2833x_EQep.h \
../../f2833x/headers/include/DSP2833x_Gpio.h \
../../f2833x/headers/include/DSP2833x_I2c.h \
../../f2833x/headers/include/DSP2833x_Mcbsp.h \
../../f2833x/headers/include/DSP2833x_PieCtrl.h \
../../f2833x/headers/include/DSP2833x_PieVect.h \
../../f2833x/headers/include/DSP2833x_Sci.h \
../../f2833x/headers/include/DSP2833x_Spi.h \
../../f2833x/headers/include/DSP2833x_SysCtrl.h \
../../f2833x/headers/include/DSP2833x_XIntrupt.h \
../../f2833x/headers/include/DSP2833x_Xintf.h \
../../f2833x/headers/source/DSP2833x_GlobalVariableDefs.c
CMakeFiles/test_project.dir/main.cpp.o: \
../../f2833x/common/include/DSP2833x_DefaultIsr.h \
../../f2833x/common/include/DSP2833x_Dma_defines.h \
../../f2833x/common/include/DSP2833x_EPwm_defines.h \
../../f2833x/common/include/DSP2833x_Examples.h \
../../f2833x/common/include/DSP2833x_GlobalPrototypes.h \
../../f2833x/common/include/DSP2833x_I2c_defines.h \
../../f2833x/common/include/DSP28x_Project.h \
../../f2833x/headers/include/DSP2833x_Adc.h \
../../f2833x/headers/include/DSP2833x_CpuTimers.h \
../../f2833x/headers/include/DSP2833x_DMA.h \
../../f2833x/headers/include/DSP2833x_DevEmu.h \
../../f2833x/headers/include/DSP2833x_Device.h \
../../f2833x/headers/include/DSP2833x_ECan.h \
../../f2833x/headers/include/DSP2833x_ECap.h \
../../f2833x/headers/include/DSP2833x_EPwm.h \
../../f2833x/headers/include/DSP2833x_EQep.h \
../../f2833x/headers/include/DSP2833x_Gpio.h \
../../f2833x/headers/include/DSP2833x_I2c.h \
../../f2833x/headers/include/DSP2833x_Mcbsp.h \
../../f2833x/headers/include/DSP2833x_PieCtrl.h \
../../f2833x/headers/include/DSP2833x_PieVect.h \
../../f2833x/headers/include/DSP2833x_Sci.h \
../../f2833x/headers/include/DSP2833x_Spi.h \
../../f2833x/headers/include/DSP2833x_SysCtrl.h \
../../f2833x/headers/include/DSP2833x_XIntrupt.h \
../../f2833x/headers/include/DSP2833x_Xintf.h \
../../main.cpp

View File

@ -0,0 +1,17 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.22
# compile C with /home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000
# compile CXX with /home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000
C_DEFINES =
C_INCLUDES = --include_path=/home/lobov/workspace/ccs12.5/cmake_test/build/Debug --include_path=/home/lobov/workspace/ccs12.5/cmake_test/./f2833x --include_path=/home/lobov/workspace/ccs12.5/cmake_test/./f2833x/common/include --include_path=/home/lobov/workspace/ccs12.5/cmake_test/./f2833x/headers/include
C_FLAGS = -v28 -ml -mt --float_support=fpu32 -Ooff --opt_for_speed=5 --fp_mode=relaxed -advice:performance=all --define=_INLINE "--define=bmin='0.397824735f'" "--define=amax='0.960433870f'" --float_operations_allowed=32 --printf_support=minimal --include_path=\"/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/lib/\" --include_path=\"/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/include/\"
CXX_DEFINES =
CXX_INCLUDES = --include_path=/home/lobov/workspace/ccs12.5/cmake_test/build/Debug --include_path=/home/lobov/workspace/ccs12.5/cmake_test/./f2833x --include_path=/home/lobov/workspace/ccs12.5/cmake_test/./f2833x/common/include --include_path=/home/lobov/workspace/ccs12.5/cmake_test/./f2833x/headers/include
CXX_FLAGS = -v28 -ml -mt --float_support=fpu32 -Ooff --opt_for_speed=5 --fp_mode=relaxed -advice:performance=all --define=_INLINE "--define=bmin='0.397824735f'" "--define=amax='0.960433870f'" --float_operations_allowed=32 --printf_support=minimal --include_path=\"/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/lib/\" --include_path=\"/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/include/\"

View File

@ -0,0 +1 @@
/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000 --run_linker --output_file=test_project --map_file=test_project.map CMakeFiles/test_project.dir/main.cpp.o CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_DefaultIsr.c.o CMakeFiles/test_project.dir/f2833x/headers/source/DSP2833x_GlobalVariableDefs.c.o CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_PieCtrl.c.o CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_PieVect.c.o CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_SysCtrl.c.o

Binary file not shown.

View File

@ -0,0 +1,8 @@
CMAKE_PROGRESS_1 = 1
CMAKE_PROGRESS_2 = 2
CMAKE_PROGRESS_3 = 3
CMAKE_PROGRESS_4 = 4
CMAKE_PROGRESS_5 = 5
CMAKE_PROGRESS_6 = 6
CMAKE_PROGRESS_7 = 7

316
build/Debug/Makefile Normal file
View File

@ -0,0 +1,316 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.22
# Default target executed when no arguments are given to make.
default_target: all
.PHONY : default_target
# Allow only one "make -f Makefile2" at a time, but pass parallelism.
.NOTPARALLEL:
#=============================================================================
# Special targets provided by cmake.
# Disable implicit rules so canonical targets will work.
.SUFFIXES:
# Disable VCS-based implicit rules.
% : %,v
# Disable VCS-based implicit rules.
% : RCS/%
# Disable VCS-based implicit rules.
% : RCS/%,v
# Disable VCS-based implicit rules.
% : SCCS/s.%
# Disable VCS-based implicit rules.
% : s.%
.SUFFIXES: .hpux_make_needs_suffix_list
# Command-line flag to silence nested $(MAKE).
$(VERBOSE)MAKESILENT = -s
#Suppress display of executed commands.
$(VERBOSE).SILENT:
# A target that is always out of date.
cmake_force:
.PHONY : cmake_force
#=============================================================================
# Set environment variables for the build.
# The shell in which to execute make rules.
SHELL = /bin/sh
# The CMake executable.
CMAKE_COMMAND = /usr/bin/cmake
# The command to remove a file.
RM = /usr/bin/cmake -E rm -f
# Escaping for special characters.
EQUALS = =
# The top-level source directory on which CMake was run.
CMAKE_SOURCE_DIR = /home/lobov/workspace/ccs12.5/cmake_test
# The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = /home/lobov/workspace/ccs12.5/cmake_test/build/Debug
#=============================================================================
# Targets provided globally by CMake.
# Special rule for the target edit_cache
edit_cache:
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "No interactive CMake dialog available..."
/usr/bin/cmake -E echo No\ interactive\ CMake\ dialog\ available.
.PHONY : edit_cache
# Special rule for the target edit_cache
edit_cache/fast: edit_cache
.PHONY : edit_cache/fast
# Special rule for the target rebuild_cache
rebuild_cache:
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
/usr/bin/cmake --regenerate-during-build -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
.PHONY : rebuild_cache
# Special rule for the target rebuild_cache
rebuild_cache/fast: rebuild_cache
.PHONY : rebuild_cache/fast
# The main all target
all: cmake_check_build_system
$(CMAKE_COMMAND) -E cmake_progress_start /home/lobov/workspace/ccs12.5/cmake_test/build/Debug/CMakeFiles /home/lobov/workspace/ccs12.5/cmake_test/build/Debug//CMakeFiles/progress.marks
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 all
$(CMAKE_COMMAND) -E cmake_progress_start /home/lobov/workspace/ccs12.5/cmake_test/build/Debug/CMakeFiles 0
.PHONY : all
# The main clean target
clean:
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 clean
.PHONY : clean
# The main clean target
clean/fast: clean
.PHONY : clean/fast
# Prepare targets for installation.
preinstall: all
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 preinstall
.PHONY : preinstall
# Prepare targets for installation.
preinstall/fast:
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 preinstall
.PHONY : preinstall/fast
# clear depends
depend:
$(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
.PHONY : depend
#=============================================================================
# Target rules for targets named test_project
# Build rule for target.
test_project: cmake_check_build_system
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 test_project
.PHONY : test_project
# fast build rule for target.
test_project/fast:
$(MAKE) $(MAKESILENT) -f CMakeFiles/test_project.dir/build.make CMakeFiles/test_project.dir/build
.PHONY : test_project/fast
f2833x/common/source/DSP2833x_DefaultIsr.o: f2833x/common/source/DSP2833x_DefaultIsr.c.o
.PHONY : f2833x/common/source/DSP2833x_DefaultIsr.o
# target to build an object file
f2833x/common/source/DSP2833x_DefaultIsr.c.o:
$(MAKE) $(MAKESILENT) -f CMakeFiles/test_project.dir/build.make CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_DefaultIsr.c.o
.PHONY : f2833x/common/source/DSP2833x_DefaultIsr.c.o
f2833x/common/source/DSP2833x_DefaultIsr.i: f2833x/common/source/DSP2833x_DefaultIsr.c.i
.PHONY : f2833x/common/source/DSP2833x_DefaultIsr.i
# target to preprocess a source file
f2833x/common/source/DSP2833x_DefaultIsr.c.i:
$(MAKE) $(MAKESILENT) -f CMakeFiles/test_project.dir/build.make CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_DefaultIsr.c.i
.PHONY : f2833x/common/source/DSP2833x_DefaultIsr.c.i
f2833x/common/source/DSP2833x_DefaultIsr.s: f2833x/common/source/DSP2833x_DefaultIsr.c.s
.PHONY : f2833x/common/source/DSP2833x_DefaultIsr.s
# target to generate assembly for a file
f2833x/common/source/DSP2833x_DefaultIsr.c.s:
$(MAKE) $(MAKESILENT) -f CMakeFiles/test_project.dir/build.make CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_DefaultIsr.c.s
.PHONY : f2833x/common/source/DSP2833x_DefaultIsr.c.s
f2833x/common/source/DSP2833x_PieCtrl.o: f2833x/common/source/DSP2833x_PieCtrl.c.o
.PHONY : f2833x/common/source/DSP2833x_PieCtrl.o
# target to build an object file
f2833x/common/source/DSP2833x_PieCtrl.c.o:
$(MAKE) $(MAKESILENT) -f CMakeFiles/test_project.dir/build.make CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_PieCtrl.c.o
.PHONY : f2833x/common/source/DSP2833x_PieCtrl.c.o
f2833x/common/source/DSP2833x_PieCtrl.i: f2833x/common/source/DSP2833x_PieCtrl.c.i
.PHONY : f2833x/common/source/DSP2833x_PieCtrl.i
# target to preprocess a source file
f2833x/common/source/DSP2833x_PieCtrl.c.i:
$(MAKE) $(MAKESILENT) -f CMakeFiles/test_project.dir/build.make CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_PieCtrl.c.i
.PHONY : f2833x/common/source/DSP2833x_PieCtrl.c.i
f2833x/common/source/DSP2833x_PieCtrl.s: f2833x/common/source/DSP2833x_PieCtrl.c.s
.PHONY : f2833x/common/source/DSP2833x_PieCtrl.s
# target to generate assembly for a file
f2833x/common/source/DSP2833x_PieCtrl.c.s:
$(MAKE) $(MAKESILENT) -f CMakeFiles/test_project.dir/build.make CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_PieCtrl.c.s
.PHONY : f2833x/common/source/DSP2833x_PieCtrl.c.s
f2833x/common/source/DSP2833x_PieVect.o: f2833x/common/source/DSP2833x_PieVect.c.o
.PHONY : f2833x/common/source/DSP2833x_PieVect.o
# target to build an object file
f2833x/common/source/DSP2833x_PieVect.c.o:
$(MAKE) $(MAKESILENT) -f CMakeFiles/test_project.dir/build.make CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_PieVect.c.o
.PHONY : f2833x/common/source/DSP2833x_PieVect.c.o
f2833x/common/source/DSP2833x_PieVect.i: f2833x/common/source/DSP2833x_PieVect.c.i
.PHONY : f2833x/common/source/DSP2833x_PieVect.i
# target to preprocess a source file
f2833x/common/source/DSP2833x_PieVect.c.i:
$(MAKE) $(MAKESILENT) -f CMakeFiles/test_project.dir/build.make CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_PieVect.c.i
.PHONY : f2833x/common/source/DSP2833x_PieVect.c.i
f2833x/common/source/DSP2833x_PieVect.s: f2833x/common/source/DSP2833x_PieVect.c.s
.PHONY : f2833x/common/source/DSP2833x_PieVect.s
# target to generate assembly for a file
f2833x/common/source/DSP2833x_PieVect.c.s:
$(MAKE) $(MAKESILENT) -f CMakeFiles/test_project.dir/build.make CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_PieVect.c.s
.PHONY : f2833x/common/source/DSP2833x_PieVect.c.s
f2833x/common/source/DSP2833x_SysCtrl.o: f2833x/common/source/DSP2833x_SysCtrl.c.o
.PHONY : f2833x/common/source/DSP2833x_SysCtrl.o
# target to build an object file
f2833x/common/source/DSP2833x_SysCtrl.c.o:
$(MAKE) $(MAKESILENT) -f CMakeFiles/test_project.dir/build.make CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_SysCtrl.c.o
.PHONY : f2833x/common/source/DSP2833x_SysCtrl.c.o
f2833x/common/source/DSP2833x_SysCtrl.i: f2833x/common/source/DSP2833x_SysCtrl.c.i
.PHONY : f2833x/common/source/DSP2833x_SysCtrl.i
# target to preprocess a source file
f2833x/common/source/DSP2833x_SysCtrl.c.i:
$(MAKE) $(MAKESILENT) -f CMakeFiles/test_project.dir/build.make CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_SysCtrl.c.i
.PHONY : f2833x/common/source/DSP2833x_SysCtrl.c.i
f2833x/common/source/DSP2833x_SysCtrl.s: f2833x/common/source/DSP2833x_SysCtrl.c.s
.PHONY : f2833x/common/source/DSP2833x_SysCtrl.s
# target to generate assembly for a file
f2833x/common/source/DSP2833x_SysCtrl.c.s:
$(MAKE) $(MAKESILENT) -f CMakeFiles/test_project.dir/build.make CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_SysCtrl.c.s
.PHONY : f2833x/common/source/DSP2833x_SysCtrl.c.s
f2833x/headers/source/DSP2833x_GlobalVariableDefs.o: f2833x/headers/source/DSP2833x_GlobalVariableDefs.c.o
.PHONY : f2833x/headers/source/DSP2833x_GlobalVariableDefs.o
# target to build an object file
f2833x/headers/source/DSP2833x_GlobalVariableDefs.c.o:
$(MAKE) $(MAKESILENT) -f CMakeFiles/test_project.dir/build.make CMakeFiles/test_project.dir/f2833x/headers/source/DSP2833x_GlobalVariableDefs.c.o
.PHONY : f2833x/headers/source/DSP2833x_GlobalVariableDefs.c.o
f2833x/headers/source/DSP2833x_GlobalVariableDefs.i: f2833x/headers/source/DSP2833x_GlobalVariableDefs.c.i
.PHONY : f2833x/headers/source/DSP2833x_GlobalVariableDefs.i
# target to preprocess a source file
f2833x/headers/source/DSP2833x_GlobalVariableDefs.c.i:
$(MAKE) $(MAKESILENT) -f CMakeFiles/test_project.dir/build.make CMakeFiles/test_project.dir/f2833x/headers/source/DSP2833x_GlobalVariableDefs.c.i
.PHONY : f2833x/headers/source/DSP2833x_GlobalVariableDefs.c.i
f2833x/headers/source/DSP2833x_GlobalVariableDefs.s: f2833x/headers/source/DSP2833x_GlobalVariableDefs.c.s
.PHONY : f2833x/headers/source/DSP2833x_GlobalVariableDefs.s
# target to generate assembly for a file
f2833x/headers/source/DSP2833x_GlobalVariableDefs.c.s:
$(MAKE) $(MAKESILENT) -f CMakeFiles/test_project.dir/build.make CMakeFiles/test_project.dir/f2833x/headers/source/DSP2833x_GlobalVariableDefs.c.s
.PHONY : f2833x/headers/source/DSP2833x_GlobalVariableDefs.c.s
main.o: main.cpp.o
.PHONY : main.o
# target to build an object file
main.cpp.o:
$(MAKE) $(MAKESILENT) -f CMakeFiles/test_project.dir/build.make CMakeFiles/test_project.dir/main.cpp.o
.PHONY : main.cpp.o
main.i: main.cpp.i
.PHONY : main.i
# target to preprocess a source file
main.cpp.i:
$(MAKE) $(MAKESILENT) -f CMakeFiles/test_project.dir/build.make CMakeFiles/test_project.dir/main.cpp.i
.PHONY : main.cpp.i
main.s: main.cpp.s
.PHONY : main.s
# target to generate assembly for a file
main.cpp.s:
$(MAKE) $(MAKESILENT) -f CMakeFiles/test_project.dir/build.make CMakeFiles/test_project.dir/main.cpp.s
.PHONY : main.cpp.s
# Help Target
help:
@echo "The following are some of the valid targets for this Makefile:"
@echo "... all (the default if no target is provided)"
@echo "... clean"
@echo "... depend"
@echo "... edit_cache"
@echo "... rebuild_cache"
@echo "... test_project"
@echo "... f2833x/common/source/DSP2833x_DefaultIsr.o"
@echo "... f2833x/common/source/DSP2833x_DefaultIsr.i"
@echo "... f2833x/common/source/DSP2833x_DefaultIsr.s"
@echo "... f2833x/common/source/DSP2833x_PieCtrl.o"
@echo "... f2833x/common/source/DSP2833x_PieCtrl.i"
@echo "... f2833x/common/source/DSP2833x_PieCtrl.s"
@echo "... f2833x/common/source/DSP2833x_PieVect.o"
@echo "... f2833x/common/source/DSP2833x_PieVect.i"
@echo "... f2833x/common/source/DSP2833x_PieVect.s"
@echo "... f2833x/common/source/DSP2833x_SysCtrl.o"
@echo "... f2833x/common/source/DSP2833x_SysCtrl.i"
@echo "... f2833x/common/source/DSP2833x_SysCtrl.s"
@echo "... f2833x/headers/source/DSP2833x_GlobalVariableDefs.o"
@echo "... f2833x/headers/source/DSP2833x_GlobalVariableDefs.i"
@echo "... f2833x/headers/source/DSP2833x_GlobalVariableDefs.s"
@echo "... main.o"
@echo "... main.i"
@echo "... main.s"
.PHONY : help
#=============================================================================
# Special targets to cleanup operation of make.
# Special rule to run CMake to check the build system integrity.
# No rule that depends on this can have commands that come from listfiles
# because they might be regenerated.
cmake_check_build_system:
$(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
.PHONY : cmake_check_build_system

View File

@ -0,0 +1,54 @@
# Install script for directory: /home/lobov/workspace/ccs12.5/cmake_test
# Set the install prefix
if(NOT DEFINED CMAKE_INSTALL_PREFIX)
set(CMAKE_INSTALL_PREFIX "/usr/local")
endif()
string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
# Set the install configuration name.
if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
if(BUILD_TYPE)
string(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
else()
set(CMAKE_INSTALL_CONFIG_NAME "Debug")
endif()
message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
endif()
# Set the component getting installed.
if(NOT CMAKE_INSTALL_COMPONENT)
if(COMPONENT)
message(STATUS "Install component: \"${COMPONENT}\"")
set(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
else()
set(CMAKE_INSTALL_COMPONENT)
endif()
endif()
# Install shared libraries without execute permission?
if(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
set(CMAKE_INSTALL_SO_NO_EXE "1")
endif()
# Is this installation the result of a crosscompile?
if(NOT DEFINED CMAKE_CROSSCOMPILING)
set(CMAKE_CROSSCOMPILING "FALSE")
endif()
# Set default install directory permissions.
if(NOT DEFINED CMAKE_OBJDUMP)
set(CMAKE_OBJDUMP "/usr/bin/objdump")
endif()
if(CMAKE_INSTALL_COMPONENT)
set(CMAKE_INSTALL_MANIFEST "install_manifest_${CMAKE_INSTALL_COMPONENT}.txt")
else()
set(CMAKE_INSTALL_MANIFEST "install_manifest.txt")
endif()
string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT
"${CMAKE_INSTALL_MANIFEST_FILES}")
file(WRITE "/home/lobov/workspace/ccs12.5/cmake_test/build/Debug/${CMAKE_INSTALL_MANIFEST}"
"${CMAKE_INSTALL_MANIFEST_CONTENT}")

View File

@ -0,0 +1,32 @@
[
{
"directory": "/home/lobov/workspace/ccs12.5/cmake_test/build/Debug",
"command": "/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000 --compile_only --cpp_file=/home/lobov/workspace/ccs12.5/cmake_test/main.cpp --include_path=/home/lobov/workspace/ccs12.5/cmake_test/build/Debug --include_path=/home/lobov/workspace/ccs12.5/cmake_test/./f2833x --include_path=/home/lobov/workspace/ccs12.5/cmake_test/./f2833x/common/include --include_path=/home/lobov/workspace/ccs12.5/cmake_test/./f2833x/headers/include -v28 -ml -mt --float_support=fpu32 -Ooff --opt_for_speed=5 --fp_mode=relaxed -advice:performance=all --define=_INLINE \"--define=bmin='0.397824735f'\" \"--define=amax='0.960433870f'\" --float_operations_allowed=32 --printf_support=minimal --include_path=\\\"/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/lib/\\\" --include_path=\\\"/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/include/\\\" --output_file=CMakeFiles/test_project.dir/main.cpp.o",
"file": "/home/lobov/workspace/ccs12.5/cmake_test/main.cpp"
},
{
"directory": "/home/lobov/workspace/ccs12.5/cmake_test/build/Debug",
"command": "/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000 --compile_only --c_file=/home/lobov/workspace/ccs12.5/cmake_test/f2833x/common/source/DSP2833x_DefaultIsr.c --include_path=/home/lobov/workspace/ccs12.5/cmake_test/build/Debug --include_path=/home/lobov/workspace/ccs12.5/cmake_test/./f2833x --include_path=/home/lobov/workspace/ccs12.5/cmake_test/./f2833x/common/include --include_path=/home/lobov/workspace/ccs12.5/cmake_test/./f2833x/headers/include -v28 -ml -mt --float_support=fpu32 -Ooff --opt_for_speed=5 --fp_mode=relaxed -advice:performance=all --define=_INLINE \"--define=bmin='0.397824735f'\" \"--define=amax='0.960433870f'\" --float_operations_allowed=32 --printf_support=minimal --include_path=\\\"/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/lib/\\\" --include_path=\\\"/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/include/\\\" --output_file=CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_DefaultIsr.c.o",
"file": "/home/lobov/workspace/ccs12.5/cmake_test/f2833x/common/source/DSP2833x_DefaultIsr.c"
},
{
"directory": "/home/lobov/workspace/ccs12.5/cmake_test/build/Debug",
"command": "/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000 --compile_only --c_file=/home/lobov/workspace/ccs12.5/cmake_test/f2833x/headers/source/DSP2833x_GlobalVariableDefs.c --include_path=/home/lobov/workspace/ccs12.5/cmake_test/build/Debug --include_path=/home/lobov/workspace/ccs12.5/cmake_test/./f2833x --include_path=/home/lobov/workspace/ccs12.5/cmake_test/./f2833x/common/include --include_path=/home/lobov/workspace/ccs12.5/cmake_test/./f2833x/headers/include -v28 -ml -mt --float_support=fpu32 -Ooff --opt_for_speed=5 --fp_mode=relaxed -advice:performance=all --define=_INLINE \"--define=bmin='0.397824735f'\" \"--define=amax='0.960433870f'\" --float_operations_allowed=32 --printf_support=minimal --include_path=\\\"/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/lib/\\\" --include_path=\\\"/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/include/\\\" --output_file=CMakeFiles/test_project.dir/f2833x/headers/source/DSP2833x_GlobalVariableDefs.c.o",
"file": "/home/lobov/workspace/ccs12.5/cmake_test/f2833x/headers/source/DSP2833x_GlobalVariableDefs.c"
},
{
"directory": "/home/lobov/workspace/ccs12.5/cmake_test/build/Debug",
"command": "/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000 --compile_only --c_file=/home/lobov/workspace/ccs12.5/cmake_test/f2833x/common/source/DSP2833x_PieCtrl.c --include_path=/home/lobov/workspace/ccs12.5/cmake_test/build/Debug --include_path=/home/lobov/workspace/ccs12.5/cmake_test/./f2833x --include_path=/home/lobov/workspace/ccs12.5/cmake_test/./f2833x/common/include --include_path=/home/lobov/workspace/ccs12.5/cmake_test/./f2833x/headers/include -v28 -ml -mt --float_support=fpu32 -Ooff --opt_for_speed=5 --fp_mode=relaxed -advice:performance=all --define=_INLINE \"--define=bmin='0.397824735f'\" \"--define=amax='0.960433870f'\" --float_operations_allowed=32 --printf_support=minimal --include_path=\\\"/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/lib/\\\" --include_path=\\\"/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/include/\\\" --output_file=CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_PieCtrl.c.o",
"file": "/home/lobov/workspace/ccs12.5/cmake_test/f2833x/common/source/DSP2833x_PieCtrl.c"
},
{
"directory": "/home/lobov/workspace/ccs12.5/cmake_test/build/Debug",
"command": "/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000 --compile_only --c_file=/home/lobov/workspace/ccs12.5/cmake_test/f2833x/common/source/DSP2833x_PieVect.c --include_path=/home/lobov/workspace/ccs12.5/cmake_test/build/Debug --include_path=/home/lobov/workspace/ccs12.5/cmake_test/./f2833x --include_path=/home/lobov/workspace/ccs12.5/cmake_test/./f2833x/common/include --include_path=/home/lobov/workspace/ccs12.5/cmake_test/./f2833x/headers/include -v28 -ml -mt --float_support=fpu32 -Ooff --opt_for_speed=5 --fp_mode=relaxed -advice:performance=all --define=_INLINE \"--define=bmin='0.397824735f'\" \"--define=amax='0.960433870f'\" --float_operations_allowed=32 --printf_support=minimal --include_path=\\\"/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/lib/\\\" --include_path=\\\"/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/include/\\\" --output_file=CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_PieVect.c.o",
"file": "/home/lobov/workspace/ccs12.5/cmake_test/f2833x/common/source/DSP2833x_PieVect.c"
},
{
"directory": "/home/lobov/workspace/ccs12.5/cmake_test/build/Debug",
"command": "/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000 --compile_only --c_file=/home/lobov/workspace/ccs12.5/cmake_test/f2833x/common/source/DSP2833x_SysCtrl.c --include_path=/home/lobov/workspace/ccs12.5/cmake_test/build/Debug --include_path=/home/lobov/workspace/ccs12.5/cmake_test/./f2833x --include_path=/home/lobov/workspace/ccs12.5/cmake_test/./f2833x/common/include --include_path=/home/lobov/workspace/ccs12.5/cmake_test/./f2833x/headers/include -v28 -ml -mt --float_support=fpu32 -Ooff --opt_for_speed=5 --fp_mode=relaxed -advice:performance=all --define=_INLINE \"--define=bmin='0.397824735f'\" \"--define=amax='0.960433870f'\" --float_operations_allowed=32 --printf_support=minimal --include_path=\\\"/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/lib/\\\" --include_path=\\\"/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/include/\\\" --output_file=CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_SysCtrl.c.o",
"file": "/home/lobov/workspace/ccs12.5/cmake_test/f2833x/common/source/DSP2833x_SysCtrl.c"
}
]

BIN
build/Debug/test_project Normal file

Binary file not shown.

View File

@ -0,0 +1,650 @@
******************************************************************************
TMS320C2000 Linker Unix v22.6.1
******************************************************************************
>> Linked Fri Jan 19 11:29:33 2024
OUTPUT FILE NAME: <test_project>
ENTRY POINT SYMBOL: "_main" address: 00000000
MEMORY CONFIGURATION
name origin length used unused attr fill
---------------------- -------- --------- -------- -------- ---- --------
PAGE 0:
PROG 00000040 003fffc0 00000316 003ffcaa RWIX
PAGE 1:
DATA 00000000 00010000 00000a77 0000f589 RW
DATA1 00010000 003f0000 00000000 003f0000 RW
SECTION ALLOCATION MAP
output attributes/
section page origin length input sections
-------- ---- ---------- ---------- ----------------
.text 0 00000040 00000316
00000040 00000316 DSP2833x_DefaultIsr.c.o (.text:retain)
.data 0 00000040 00000000 UNINITIALIZED
.bss 1 00000000 00000000 UNINITIALIZED
ECanaMboxesFile
* 1 00000000 00000100 UNINITIALIZED
00000000 00000100 DSP2833x_GlobalVariableDefs.c.o (ECanaMboxesFile)
ECanbMboxesFile
* 1 00000100 00000100 UNINITIALIZED
00000100 00000100 DSP2833x_GlobalVariableDefs.c.o (ECanbMboxesFile)
PieVectTableFile
* 1 00000200 00000100 UNINITIALIZED
00000200 00000100 DSP2833x_GlobalVariableDefs.c.o (PieVectTableFile)
DmaRegsFile
* 1 00000300 000000e0 UNINITIALIZED
00000300 000000e0 DSP2833x_GlobalVariableDefs.c.o (DmaRegsFile)
ECap1RegsFile
* 1 000003e0 00000020 UNINITIALIZED
000003e0 00000020 DSP2833x_GlobalVariableDefs.c.o (ECap1RegsFile)
DevEmuRegsFile
* 1 00000400 000000d0 UNINITIALIZED
00000400 000000d0 DSP2833x_GlobalVariableDefs.c.o (DevEmuRegsFile)
GpioCtrlRegsFile
* 1 000004d0 0000002e UNINITIALIZED
000004d0 0000002e DSP2833x_GlobalVariableDefs.c.o (GpioCtrlRegsFile)
PartIdRegsFile
* 1 000004fe 00000001 UNINITIALIZED
000004fe 00000001 DSP2833x_GlobalVariableDefs.c.o (PartIdRegsFile)
ECanaLAMRegsFile
* 1 00000500 00000040 UNINITIALIZED
00000500 00000040 DSP2833x_GlobalVariableDefs.c.o (ECanaLAMRegsFile)
ECanaMOTORegsFile
* 1 00000540 00000040 UNINITIALIZED
00000540 00000040 DSP2833x_GlobalVariableDefs.c.o (ECanaMOTORegsFile)
ECanaMOTSRegsFile
* 1 00000580 00000040 UNINITIALIZED
00000580 00000040 DSP2833x_GlobalVariableDefs.c.o (ECanaMOTSRegsFile)
ECanbLAMRegsFile
* 1 000005c0 00000040 UNINITIALIZED
000005c0 00000040 DSP2833x_GlobalVariableDefs.c.o (ECanbLAMRegsFile)
ECanbMOTORegsFile
* 1 00000600 00000040 UNINITIALIZED
00000600 00000040 DSP2833x_GlobalVariableDefs.c.o (ECanbMOTORegsFile)
ECanbMOTSRegsFile
* 1 00000640 00000040 UNINITIALIZED
00000640 00000040 DSP2833x_GlobalVariableDefs.c.o (ECanbMOTSRegsFile)
EQep1RegsFile
* 1 00000680 00000040 UNINITIALIZED
00000680 00000040 DSP2833x_GlobalVariableDefs.c.o (EQep1RegsFile)
EQep2RegsFile
* 1 000006c0 00000040 UNINITIALIZED
000006c0 00000040 DSP2833x_GlobalVariableDefs.c.o (EQep2RegsFile)
ECanaRegsFile
* 1 00000700 00000034 UNINITIALIZED
00000700 00000034 DSP2833x_GlobalVariableDefs.c.o (ECanaRegsFile)
GpioIntRegsFile
* 1 00000734 0000000a UNINITIALIZED
00000734 0000000a DSP2833x_GlobalVariableDefs.c.o (GpioIntRegsFile)
ECanbRegsFile
* 1 00000740 00000034 UNINITIALIZED
00000740 00000034 DSP2833x_GlobalVariableDefs.c.o (ECanbRegsFile)
CpuTimer0RegsFile
* 1 00000774 00000008 UNINITIALIZED
00000774 00000008 DSP2833x_GlobalVariableDefs.c.o (CpuTimer0RegsFile)
McbspaRegsFile
* 1 00000780 00000025 UNINITIALIZED
00000780 00000025 DSP2833x_GlobalVariableDefs.c.o (McbspaRegsFile)
PieCtrlRegsFile
* 1 000007a5 0000001a UNINITIALIZED
000007a5 0000001a DSP2833x_GlobalVariableDefs.c.o (PieCtrlRegsFile)
McbspbRegsFile
* 1 000007c0 00000025 UNINITIALIZED
000007c0 00000025 DSP2833x_GlobalVariableDefs.c.o (McbspbRegsFile)
AdcMirrorFile
* 1 000007e5 00000010 UNINITIALIZED
000007e5 00000010 DSP2833x_GlobalVariableDefs.c.o (AdcMirrorFile)
CpuTimer1RegsFile
* 1 000007f6 00000008 UNINITIALIZED
000007f6 00000008 DSP2833x_GlobalVariableDefs.c.o (CpuTimer1RegsFile)
EPwm1RegsFile
* 1 00000800 00000022 UNINITIALIZED
00000800 00000022 DSP2833x_GlobalVariableDefs.c.o (EPwm1RegsFile)
AdcRegsFile
* 1 00000822 0000001e UNINITIALIZED
00000822 0000001e DSP2833x_GlobalVariableDefs.c.o (AdcRegsFile)
EPwm2RegsFile
* 1 00000840 00000022 UNINITIALIZED
00000840 00000022 DSP2833x_GlobalVariableDefs.c.o (EPwm2RegsFile)
XintfRegsFile
* 1 00000862 0000001e UNINITIALIZED
00000862 0000001e DSP2833x_GlobalVariableDefs.c.o (XintfRegsFile)
EPwm3RegsFile
* 1 00000880 00000022 UNINITIALIZED
00000880 00000022 DSP2833x_GlobalVariableDefs.c.o (EPwm3RegsFile)
CsmRegsFile
* 1 000008a2 00000010 UNINITIALIZED
000008a2 00000010 DSP2833x_GlobalVariableDefs.c.o (CsmRegsFile)
CpuTimer2RegsFile
* 1 000008b2 00000008 UNINITIALIZED
000008b2 00000008 DSP2833x_GlobalVariableDefs.c.o (CpuTimer2RegsFile)
EPwm4RegsFile
* 1 000008c0 00000022 UNINITIALIZED
000008c0 00000022 DSP2833x_GlobalVariableDefs.c.o (EPwm4RegsFile)
SciaRegsFile
* 1 000008e2 00000010 UNINITIALIZED
000008e2 00000010 DSP2833x_GlobalVariableDefs.c.o (SciaRegsFile)
CsmPwlFile
* 1 000008f2 00000008 UNINITIALIZED
000008f2 00000008 DSP2833x_GlobalVariableDefs.c.o (CsmPwlFile)
EPwm5RegsFile
* 1 00000900 00000022 UNINITIALIZED
00000900 00000022 DSP2833x_GlobalVariableDefs.c.o (EPwm5RegsFile)
ScibRegsFile
* 1 00000922 00000010 UNINITIALIZED
00000922 00000010 DSP2833x_GlobalVariableDefs.c.o (ScibRegsFile)
FlashRegsFile
* 1 00000932 00000008 UNINITIALIZED
00000932 00000008 DSP2833x_GlobalVariableDefs.c.o (FlashRegsFile)
EPwm6RegsFile
* 1 00000940 00000022 UNINITIALIZED
00000940 00000022 DSP2833x_GlobalVariableDefs.c.o (EPwm6RegsFile)
ScicRegsFile
* 1 00000962 00000010 UNINITIALIZED
00000962 00000010 DSP2833x_GlobalVariableDefs.c.o (ScicRegsFile)
I2caRegsFile
* 1 00000980 00000022 UNINITIALIZED
00000980 00000022 DSP2833x_GlobalVariableDefs.c.o (I2caRegsFile)
SpiaRegsFile
* 1 000009a2 00000010 UNINITIALIZED
000009a2 00000010 DSP2833x_GlobalVariableDefs.c.o (SpiaRegsFile)
ECap2RegsFile
* 1 000009c0 00000020 UNINITIALIZED
000009c0 00000020 DSP2833x_GlobalVariableDefs.c.o (ECap2RegsFile)
ECap3RegsFile
* 1 000009e0 00000020 UNINITIALIZED
000009e0 00000020 DSP2833x_GlobalVariableDefs.c.o (ECap3RegsFile)
ECap4RegsFile
* 1 00000a00 00000020 UNINITIALIZED
00000a00 00000020 DSP2833x_GlobalVariableDefs.c.o (ECap4RegsFile)
ECap5RegsFile
* 1 00000a20 00000020 UNINITIALIZED
00000a20 00000020 DSP2833x_GlobalVariableDefs.c.o (ECap5RegsFile)
ECap6RegsFile
* 1 00000a40 00000020 UNINITIALIZED
00000a40 00000020 DSP2833x_GlobalVariableDefs.c.o (ECap6RegsFile)
GpioDataRegsFile
* 1 00000a60 00000020 UNINITIALIZED
00000a60 00000020 DSP2833x_GlobalVariableDefs.c.o (GpioDataRegsFile)
SysCtrlRegsFile
* 1 00000a80 00000020 UNINITIALIZED
00000a80 00000020 DSP2833x_GlobalVariableDefs.c.o (SysCtrlRegsFile)
XIntruptRegsFile
* 1 00000aa0 00000010 UNINITIALIZED
00000aa0 00000010 DSP2833x_GlobalVariableDefs.c.o (XIntruptRegsFile)
MODULE SUMMARY
Module code initialized data uninitialized data
------ ---- ---------------- ------------------
CMakeFiles/test_project.dir/f2833x/common/source/
DSP2833x_DefaultIsr.c.o 790 0 0
+--+---------------------------------+------+------------------+--------------------+
Total: 790 0 0
CMakeFiles/test_project.dir/f2833x/headers/source/
DSP2833x_GlobalVariableDefs.c.o 0 0 2679
+--+---------------------------------+------+------------------+--------------------+
Total: 0 0 2679
+--+---------------------------------+------+------------------+--------------------+
Grand Total: 790 0 2679
GLOBAL DATA SYMBOLS: SORTED BY DATA PAGE
address data page name
-------- ---------------- ----
00000000 0 (00000000) _ECanaMboxes
00000100 4 (00000100) _ECanbMboxes
00000200 8 (00000200) _PieVectTable
00000300 c (00000300) _DmaRegs
000003e0 f (000003c0) _ECap1Regs
00000400 10 (00000400) _DevEmuRegs
000004d0 13 (000004c0) _GpioCtrlRegs
000004fe 13 (000004c0) _PartIdRegs
00000500 14 (00000500) _ECanaLAMRegs
00000540 15 (00000540) _ECanaMOTORegs
00000580 16 (00000580) _ECanaMOTSRegs
000005c0 17 (000005c0) _ECanbLAMRegs
00000600 18 (00000600) _ECanbMOTORegs
00000640 19 (00000640) _ECanbMOTSRegs
00000680 1a (00000680) _EQep1Regs
000006c0 1b (000006c0) _EQep2Regs
00000700 1c (00000700) _ECanaRegs
00000734 1c (00000700) _GpioIntRegs
00000740 1d (00000740) _ECanbRegs
00000774 1d (00000740) _CpuTimer0Regs
00000780 1e (00000780) _McbspaRegs
000007a5 1e (00000780) _PieCtrlRegs
000007c0 1f (000007c0) _McbspbRegs
000007e5 1f (000007c0) _AdcMirror
000007f6 1f (000007c0) _CpuTimer1Regs
00000800 20 (00000800) _EPwm1Regs
00000822 20 (00000800) _AdcRegs
00000840 21 (00000840) _EPwm2Regs
00000862 21 (00000840) _XintfRegs
00000880 22 (00000880) _EPwm3Regs
000008a2 22 (00000880) _CsmRegs
000008b2 22 (00000880) _CpuTimer2Regs
000008c0 23 (000008c0) _EPwm4Regs
000008e2 23 (000008c0) _SciaRegs
000008f2 23 (000008c0) _CsmPwl
00000900 24 (00000900) _EPwm5Regs
00000922 24 (00000900) _ScibRegs
00000932 24 (00000900) _FlashRegs
00000940 25 (00000940) _EPwm6Regs
00000962 25 (00000940) _ScicRegs
00000980 26 (00000980) _I2caRegs
000009a2 26 (00000980) _SpiaRegs
000009c0 27 (000009c0) _ECap2Regs
000009e0 27 (000009c0) _ECap3Regs
00000a00 28 (00000a00) _ECap4Regs
00000a20 28 (00000a00) _ECap5Regs
00000a40 29 (00000a40) _ECap6Regs
00000a60 29 (00000a40) _GpioDataRegs
00000a80 2a (00000a80) _SysCtrlRegs
00000aa0 2a (00000a80) _XIntruptRegs
GLOBAL SYMBOLS: SORTED ALPHABETICALLY BY Name
page address name
---- ------- ----
1 00000000 .bss
0 00000040 .data
0 00000040 .text
0 00000126 _ADCINT_ISR
1 000007e5 _AdcMirror
1 00000822 _AdcRegs
1 00000774 _CpuTimer0Regs
1 000007f6 _CpuTimer1Regs
1 000008b2 _CpuTimer2Regs
1 000008f2 _CsmPwl
1 000008a2 _CsmRegs
0 00000054 _DATALOG_ISR
0 00000248 _DINTCH1_ISR
0 00000252 _DINTCH2_ISR
0 0000025c _DINTCH3_ISR
0 00000266 _DINTCH4_ISR
0 00000270 _DINTCH5_ISR
0 0000027a _DINTCH6_ISR
1 00000400 _DevEmuRegs
1 00000300 _DmaRegs
0 000002d4 _ECAN0INTA_ISR
0 000002e8 _ECAN0INTB_ISR
0 000002de _ECAN1INTA_ISR
0 000002f2 _ECAN1INTB_ISR
0 000001bc _ECAP1_INT_ISR
0 000001c6 _ECAP2_INT_ISR
0 000001d0 _ECAP3_INT_ISR
0 000001da _ECAP4_INT_ISR
0 000001e4 _ECAP5_INT_ISR
0 000001ee _ECAP6_INT_ISR
1 00000500 _ECanaLAMRegs
1 00000540 _ECanaMOTORegs
1 00000580 _ECanaMOTSRegs
1 00000000 _ECanaMboxes
1 00000700 _ECanaRegs
1 000005c0 _ECanbLAMRegs
1 00000600 _ECanbMOTORegs
1 00000640 _ECanbMOTSRegs
1 00000100 _ECanbMboxes
1 00000740 _ECanbRegs
1 000003e0 _ECap1Regs
1 000009c0 _ECap2Regs
1 000009e0 _ECap3Regs
1 00000a00 _ECap4Regs
1 00000a20 _ECap5Regs
1 00000a40 _ECap6Regs
0 00000068 _EMUINT_ISR
0 00000180 _EPWM1_INT_ISR
0 00000144 _EPWM1_TZINT_ISR
0 0000018a _EPWM2_INT_ISR
0 0000014e _EPWM2_TZINT_ISR
0 00000194 _EPWM3_INT_ISR
0 00000158 _EPWM3_TZINT_ISR
0 0000019e _EPWM4_INT_ISR
0 00000162 _EPWM4_TZINT_ISR
0 000001a8 _EPWM5_INT_ISR
0 0000016c _EPWM5_TZINT_ISR
0 000001b2 _EPWM6_INT_ISR
0 00000176 _EPWM6_TZINT_ISR
1 00000800 _EPwm1Regs
1 00000840 _EPwm2Regs
1 00000880 _EPwm3Regs
1 000008c0 _EPwm4Regs
1 00000900 _EPwm5Regs
1 00000940 _EPwm6Regs
0 000001f8 _EQEP1_INT_ISR
0 00000202 _EQEP2_INT_ISR
1 00000680 _EQep1Regs
1 000006c0 _EQep2Regs
1 00000932 _FlashRegs
1 000004d0 _GpioCtrlRegs
1 00000a60 _GpioDataRegs
1 00000734 _GpioIntRegs
0 00000284 _I2CINT1A_ISR
0 0000028e _I2CINT2A_ISR
1 00000980 _I2caRegs
0 0000007c _ILLEGAL_ISR
0 00000040 _INT13_ISR
0 0000004a _INT14_ISR
0 00000338 _LUF_ISR
0 0000032e _LVF_ISR
0 00000234 _MRINTA_ISR
0 00000220 _MRINTB_ISR
0 0000023e _MXINTA_ISR
0 0000022a _MXINTB_ISR
1 00000780 _McbspaRegs
1 000007c0 _McbspbRegs
0 00000072 _NMI_ISR
0 00000342 _PIE_RESERVED
1 000004fe _PartIdRegs
1 000007a5 _PieCtrlRegs
1 00000200 _PieVectTable
0 0000005e _RTOSINT_ISR
0 000002ac _SCIRXINTA_ISR
0 000002c0 _SCIRXINTB_ISR
0 00000298 _SCIRXINTC_ISR
0 000002b6 _SCITXINTA_ISR
0 000002ca _SCITXINTB_ISR
0 000002a2 _SCITXINTC_ISR
0 000000fe _SEQ1INT_ISR
0 00000108 _SEQ2INT_ISR
0 0000020c _SPIRXINTA_ISR
0 00000216 _SPITXINTA_ISR
1 000008e2 _SciaRegs
1 00000922 _ScibRegs
1 00000962 _ScicRegs
1 000009a2 _SpiaRegs
1 00000a80 _SysCtrlRegs
0 00000130 _TINT0_ISR
0 000000e0 _USER10_ISR
0 000000ea _USER11_ISR
0 000000f4 _USER12_ISR
0 00000086 _USER1_ISR
0 00000090 _USER2_ISR
0 0000009a _USER3_ISR
0 000000a4 _USER4_ISR
0 000000ae _USER5_ISR
0 000000b8 _USER6_ISR
0 000000c2 _USER7_ISR
0 000000cc _USER8_ISR
0 000000d6 _USER9_ISR
0 0000013a _WAKEINT_ISR
0 00000112 _XINT1_ISR
0 0000011c _XINT2_ISR
0 000002fc _XINT3_ISR
0 00000306 _XINT4_ISR
0 00000310 _XINT5_ISR
0 0000031a _XINT6_ISR
0 00000324 _XINT7_ISR
1 00000aa0 _XIntruptRegs
1 00000862 _XintfRegs
abs ffffffff ___TI_pprof_out_hndl
abs ffffffff ___TI_prof_data_size
abs ffffffff ___TI_prof_data_start
abs ffffffff ___binit__
1 00000000 ___bss__
abs ffffffff ___c_args__
abs ffffffff ___cinit__
0 00000040 ___data__
0 00000040 ___edata__
1 00000000 ___end__
0 00000356 ___etext__
abs ffffffff ___pinit__
0 00000040 ___text__
0 0000034c _rsvd_ISR
abs ffffffff binit
abs ffffffff cinit
0 00000040 edata
1 00000000 end
0 00000356 etext
abs ffffffff pinit
GLOBAL SYMBOLS: SORTED BY Symbol Address
page address name
---- ------- ----
0 00000040 .data
0 00000040 .text
0 00000040 _INT13_ISR
0 00000040 ___data__
0 00000040 ___edata__
0 00000040 ___text__
0 00000040 edata
0 0000004a _INT14_ISR
0 00000054 _DATALOG_ISR
0 0000005e _RTOSINT_ISR
0 00000068 _EMUINT_ISR
0 00000072 _NMI_ISR
0 0000007c _ILLEGAL_ISR
0 00000086 _USER1_ISR
0 00000090 _USER2_ISR
0 0000009a _USER3_ISR
0 000000a4 _USER4_ISR
0 000000ae _USER5_ISR
0 000000b8 _USER6_ISR
0 000000c2 _USER7_ISR
0 000000cc _USER8_ISR
0 000000d6 _USER9_ISR
0 000000e0 _USER10_ISR
0 000000ea _USER11_ISR
0 000000f4 _USER12_ISR
0 000000fe _SEQ1INT_ISR
0 00000108 _SEQ2INT_ISR
0 00000112 _XINT1_ISR
0 0000011c _XINT2_ISR
0 00000126 _ADCINT_ISR
0 00000130 _TINT0_ISR
0 0000013a _WAKEINT_ISR
0 00000144 _EPWM1_TZINT_ISR
0 0000014e _EPWM2_TZINT_ISR
0 00000158 _EPWM3_TZINT_ISR
0 00000162 _EPWM4_TZINT_ISR
0 0000016c _EPWM5_TZINT_ISR
0 00000176 _EPWM6_TZINT_ISR
0 00000180 _EPWM1_INT_ISR
0 0000018a _EPWM2_INT_ISR
0 00000194 _EPWM3_INT_ISR
0 0000019e _EPWM4_INT_ISR
0 000001a8 _EPWM5_INT_ISR
0 000001b2 _EPWM6_INT_ISR
0 000001bc _ECAP1_INT_ISR
0 000001c6 _ECAP2_INT_ISR
0 000001d0 _ECAP3_INT_ISR
0 000001da _ECAP4_INT_ISR
0 000001e4 _ECAP5_INT_ISR
0 000001ee _ECAP6_INT_ISR
0 000001f8 _EQEP1_INT_ISR
0 00000202 _EQEP2_INT_ISR
0 0000020c _SPIRXINTA_ISR
0 00000216 _SPITXINTA_ISR
0 00000220 _MRINTB_ISR
0 0000022a _MXINTB_ISR
0 00000234 _MRINTA_ISR
0 0000023e _MXINTA_ISR
0 00000248 _DINTCH1_ISR
0 00000252 _DINTCH2_ISR
0 0000025c _DINTCH3_ISR
0 00000266 _DINTCH4_ISR
0 00000270 _DINTCH5_ISR
0 0000027a _DINTCH6_ISR
0 00000284 _I2CINT1A_ISR
0 0000028e _I2CINT2A_ISR
0 00000298 _SCIRXINTC_ISR
0 000002a2 _SCITXINTC_ISR
0 000002ac _SCIRXINTA_ISR
0 000002b6 _SCITXINTA_ISR
0 000002c0 _SCIRXINTB_ISR
0 000002ca _SCITXINTB_ISR
0 000002d4 _ECAN0INTA_ISR
0 000002de _ECAN1INTA_ISR
0 000002e8 _ECAN0INTB_ISR
0 000002f2 _ECAN1INTB_ISR
0 000002fc _XINT3_ISR
0 00000306 _XINT4_ISR
0 00000310 _XINT5_ISR
0 0000031a _XINT6_ISR
0 00000324 _XINT7_ISR
0 0000032e _LVF_ISR
0 00000338 _LUF_ISR
0 00000342 _PIE_RESERVED
0 0000034c _rsvd_ISR
0 00000356 ___etext__
0 00000356 etext
1 00000000 .bss
1 00000000 _ECanaMboxes
1 00000000 ___bss__
1 00000000 ___end__
1 00000000 end
1 00000100 _ECanbMboxes
1 00000200 _PieVectTable
1 00000300 _DmaRegs
1 000003e0 _ECap1Regs
1 00000400 _DevEmuRegs
1 000004d0 _GpioCtrlRegs
1 000004fe _PartIdRegs
1 00000500 _ECanaLAMRegs
1 00000540 _ECanaMOTORegs
1 00000580 _ECanaMOTSRegs
1 000005c0 _ECanbLAMRegs
1 00000600 _ECanbMOTORegs
1 00000640 _ECanbMOTSRegs
1 00000680 _EQep1Regs
1 000006c0 _EQep2Regs
1 00000700 _ECanaRegs
1 00000734 _GpioIntRegs
1 00000740 _ECanbRegs
1 00000774 _CpuTimer0Regs
1 00000780 _McbspaRegs
1 000007a5 _PieCtrlRegs
1 000007c0 _McbspbRegs
1 000007e5 _AdcMirror
1 000007f6 _CpuTimer1Regs
1 00000800 _EPwm1Regs
1 00000822 _AdcRegs
1 00000840 _EPwm2Regs
1 00000862 _XintfRegs
1 00000880 _EPwm3Regs
1 000008a2 _CsmRegs
1 000008b2 _CpuTimer2Regs
1 000008c0 _EPwm4Regs
1 000008e2 _SciaRegs
1 000008f2 _CsmPwl
1 00000900 _EPwm5Regs
1 00000922 _ScibRegs
1 00000932 _FlashRegs
1 00000940 _EPwm6Regs
1 00000962 _ScicRegs
1 00000980 _I2caRegs
1 000009a2 _SpiaRegs
1 000009c0 _ECap2Regs
1 000009e0 _ECap3Regs
1 00000a00 _ECap4Regs
1 00000a20 _ECap5Regs
1 00000a40 _ECap6Regs
1 00000a60 _GpioDataRegs
1 00000a80 _SysCtrlRegs
1 00000aa0 _XIntruptRegs
abs ffffffff ___TI_pprof_out_hndl
abs ffffffff ___TI_prof_data_size
abs ffffffff ___TI_prof_data_start
abs ffffffff ___binit__
abs ffffffff ___c_args__
abs ffffffff ___cinit__
abs ffffffff ___pinit__
abs ffffffff binit
abs ffffffff cinit
abs ffffffff pinit
[151 symbols]

316
build/Makefile Normal file
View File

@ -0,0 +1,316 @@
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.22
# Default target executed when no arguments are given to make.
default_target: all
.PHONY : default_target
# Allow only one "make -f Makefile2" at a time, but pass parallelism.
.NOTPARALLEL:
#=============================================================================
# Special targets provided by cmake.
# Disable implicit rules so canonical targets will work.
.SUFFIXES:
# Disable VCS-based implicit rules.
% : %,v
# Disable VCS-based implicit rules.
% : RCS/%
# Disable VCS-based implicit rules.
% : RCS/%,v
# Disable VCS-based implicit rules.
% : SCCS/s.%
# Disable VCS-based implicit rules.
% : s.%
.SUFFIXES: .hpux_make_needs_suffix_list
# Command-line flag to silence nested $(MAKE).
$(VERBOSE)MAKESILENT = -s
#Suppress display of executed commands.
$(VERBOSE).SILENT:
# A target that is always out of date.
cmake_force:
.PHONY : cmake_force
#=============================================================================
# Set environment variables for the build.
# The shell in which to execute make rules.
SHELL = /bin/sh
# The CMake executable.
CMAKE_COMMAND = /usr/bin/cmake
# The command to remove a file.
RM = /usr/bin/cmake -E rm -f
# Escaping for special characters.
EQUALS = =
# The top-level source directory on which CMake was run.
CMAKE_SOURCE_DIR = /home/lobov/workspace/ccs12.5/cmake_test
# The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = /home/lobov/workspace/ccs12.5/cmake_test/build
#=============================================================================
# Targets provided globally by CMake.
# Special rule for the target edit_cache
edit_cache:
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "No interactive CMake dialog available..."
/usr/bin/cmake -E echo No\ interactive\ CMake\ dialog\ available.
.PHONY : edit_cache
# Special rule for the target edit_cache
edit_cache/fast: edit_cache
.PHONY : edit_cache/fast
# Special rule for the target rebuild_cache
rebuild_cache:
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
/usr/bin/cmake --regenerate-during-build -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
.PHONY : rebuild_cache
# Special rule for the target rebuild_cache
rebuild_cache/fast: rebuild_cache
.PHONY : rebuild_cache/fast
# The main all target
all: cmake_check_build_system
$(CMAKE_COMMAND) -E cmake_progress_start /home/lobov/workspace/ccs12.5/cmake_test/build/CMakeFiles /home/lobov/workspace/ccs12.5/cmake_test/build//CMakeFiles/progress.marks
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 all
$(CMAKE_COMMAND) -E cmake_progress_start /home/lobov/workspace/ccs12.5/cmake_test/build/CMakeFiles 0
.PHONY : all
# The main clean target
clean:
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 clean
.PHONY : clean
# The main clean target
clean/fast: clean
.PHONY : clean/fast
# Prepare targets for installation.
preinstall: all
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 preinstall
.PHONY : preinstall
# Prepare targets for installation.
preinstall/fast:
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 preinstall
.PHONY : preinstall/fast
# clear depends
depend:
$(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
.PHONY : depend
#=============================================================================
# Target rules for targets named test_project
# Build rule for target.
test_project: cmake_check_build_system
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 test_project
.PHONY : test_project
# fast build rule for target.
test_project/fast:
$(MAKE) $(MAKESILENT) -f CMakeFiles/test_project.dir/build.make CMakeFiles/test_project.dir/build
.PHONY : test_project/fast
f2833x/common/source/DSP2833x_DefaultIsr.o: f2833x/common/source/DSP2833x_DefaultIsr.c.o
.PHONY : f2833x/common/source/DSP2833x_DefaultIsr.o
# target to build an object file
f2833x/common/source/DSP2833x_DefaultIsr.c.o:
$(MAKE) $(MAKESILENT) -f CMakeFiles/test_project.dir/build.make CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_DefaultIsr.c.o
.PHONY : f2833x/common/source/DSP2833x_DefaultIsr.c.o
f2833x/common/source/DSP2833x_DefaultIsr.i: f2833x/common/source/DSP2833x_DefaultIsr.c.i
.PHONY : f2833x/common/source/DSP2833x_DefaultIsr.i
# target to preprocess a source file
f2833x/common/source/DSP2833x_DefaultIsr.c.i:
$(MAKE) $(MAKESILENT) -f CMakeFiles/test_project.dir/build.make CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_DefaultIsr.c.i
.PHONY : f2833x/common/source/DSP2833x_DefaultIsr.c.i
f2833x/common/source/DSP2833x_DefaultIsr.s: f2833x/common/source/DSP2833x_DefaultIsr.c.s
.PHONY : f2833x/common/source/DSP2833x_DefaultIsr.s
# target to generate assembly for a file
f2833x/common/source/DSP2833x_DefaultIsr.c.s:
$(MAKE) $(MAKESILENT) -f CMakeFiles/test_project.dir/build.make CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_DefaultIsr.c.s
.PHONY : f2833x/common/source/DSP2833x_DefaultIsr.c.s
f2833x/common/source/DSP2833x_PieCtrl.o: f2833x/common/source/DSP2833x_PieCtrl.c.o
.PHONY : f2833x/common/source/DSP2833x_PieCtrl.o
# target to build an object file
f2833x/common/source/DSP2833x_PieCtrl.c.o:
$(MAKE) $(MAKESILENT) -f CMakeFiles/test_project.dir/build.make CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_PieCtrl.c.o
.PHONY : f2833x/common/source/DSP2833x_PieCtrl.c.o
f2833x/common/source/DSP2833x_PieCtrl.i: f2833x/common/source/DSP2833x_PieCtrl.c.i
.PHONY : f2833x/common/source/DSP2833x_PieCtrl.i
# target to preprocess a source file
f2833x/common/source/DSP2833x_PieCtrl.c.i:
$(MAKE) $(MAKESILENT) -f CMakeFiles/test_project.dir/build.make CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_PieCtrl.c.i
.PHONY : f2833x/common/source/DSP2833x_PieCtrl.c.i
f2833x/common/source/DSP2833x_PieCtrl.s: f2833x/common/source/DSP2833x_PieCtrl.c.s
.PHONY : f2833x/common/source/DSP2833x_PieCtrl.s
# target to generate assembly for a file
f2833x/common/source/DSP2833x_PieCtrl.c.s:
$(MAKE) $(MAKESILENT) -f CMakeFiles/test_project.dir/build.make CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_PieCtrl.c.s
.PHONY : f2833x/common/source/DSP2833x_PieCtrl.c.s
f2833x/common/source/DSP2833x_PieVect.o: f2833x/common/source/DSP2833x_PieVect.c.o
.PHONY : f2833x/common/source/DSP2833x_PieVect.o
# target to build an object file
f2833x/common/source/DSP2833x_PieVect.c.o:
$(MAKE) $(MAKESILENT) -f CMakeFiles/test_project.dir/build.make CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_PieVect.c.o
.PHONY : f2833x/common/source/DSP2833x_PieVect.c.o
f2833x/common/source/DSP2833x_PieVect.i: f2833x/common/source/DSP2833x_PieVect.c.i
.PHONY : f2833x/common/source/DSP2833x_PieVect.i
# target to preprocess a source file
f2833x/common/source/DSP2833x_PieVect.c.i:
$(MAKE) $(MAKESILENT) -f CMakeFiles/test_project.dir/build.make CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_PieVect.c.i
.PHONY : f2833x/common/source/DSP2833x_PieVect.c.i
f2833x/common/source/DSP2833x_PieVect.s: f2833x/common/source/DSP2833x_PieVect.c.s
.PHONY : f2833x/common/source/DSP2833x_PieVect.s
# target to generate assembly for a file
f2833x/common/source/DSP2833x_PieVect.c.s:
$(MAKE) $(MAKESILENT) -f CMakeFiles/test_project.dir/build.make CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_PieVect.c.s
.PHONY : f2833x/common/source/DSP2833x_PieVect.c.s
f2833x/common/source/DSP2833x_SysCtrl.o: f2833x/common/source/DSP2833x_SysCtrl.c.o
.PHONY : f2833x/common/source/DSP2833x_SysCtrl.o
# target to build an object file
f2833x/common/source/DSP2833x_SysCtrl.c.o:
$(MAKE) $(MAKESILENT) -f CMakeFiles/test_project.dir/build.make CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_SysCtrl.c.o
.PHONY : f2833x/common/source/DSP2833x_SysCtrl.c.o
f2833x/common/source/DSP2833x_SysCtrl.i: f2833x/common/source/DSP2833x_SysCtrl.c.i
.PHONY : f2833x/common/source/DSP2833x_SysCtrl.i
# target to preprocess a source file
f2833x/common/source/DSP2833x_SysCtrl.c.i:
$(MAKE) $(MAKESILENT) -f CMakeFiles/test_project.dir/build.make CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_SysCtrl.c.i
.PHONY : f2833x/common/source/DSP2833x_SysCtrl.c.i
f2833x/common/source/DSP2833x_SysCtrl.s: f2833x/common/source/DSP2833x_SysCtrl.c.s
.PHONY : f2833x/common/source/DSP2833x_SysCtrl.s
# target to generate assembly for a file
f2833x/common/source/DSP2833x_SysCtrl.c.s:
$(MAKE) $(MAKESILENT) -f CMakeFiles/test_project.dir/build.make CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_SysCtrl.c.s
.PHONY : f2833x/common/source/DSP2833x_SysCtrl.c.s
f2833x/headers/source/DSP2833x_GlobalVariableDefs.o: f2833x/headers/source/DSP2833x_GlobalVariableDefs.c.o
.PHONY : f2833x/headers/source/DSP2833x_GlobalVariableDefs.o
# target to build an object file
f2833x/headers/source/DSP2833x_GlobalVariableDefs.c.o:
$(MAKE) $(MAKESILENT) -f CMakeFiles/test_project.dir/build.make CMakeFiles/test_project.dir/f2833x/headers/source/DSP2833x_GlobalVariableDefs.c.o
.PHONY : f2833x/headers/source/DSP2833x_GlobalVariableDefs.c.o
f2833x/headers/source/DSP2833x_GlobalVariableDefs.i: f2833x/headers/source/DSP2833x_GlobalVariableDefs.c.i
.PHONY : f2833x/headers/source/DSP2833x_GlobalVariableDefs.i
# target to preprocess a source file
f2833x/headers/source/DSP2833x_GlobalVariableDefs.c.i:
$(MAKE) $(MAKESILENT) -f CMakeFiles/test_project.dir/build.make CMakeFiles/test_project.dir/f2833x/headers/source/DSP2833x_GlobalVariableDefs.c.i
.PHONY : f2833x/headers/source/DSP2833x_GlobalVariableDefs.c.i
f2833x/headers/source/DSP2833x_GlobalVariableDefs.s: f2833x/headers/source/DSP2833x_GlobalVariableDefs.c.s
.PHONY : f2833x/headers/source/DSP2833x_GlobalVariableDefs.s
# target to generate assembly for a file
f2833x/headers/source/DSP2833x_GlobalVariableDefs.c.s:
$(MAKE) $(MAKESILENT) -f CMakeFiles/test_project.dir/build.make CMakeFiles/test_project.dir/f2833x/headers/source/DSP2833x_GlobalVariableDefs.c.s
.PHONY : f2833x/headers/source/DSP2833x_GlobalVariableDefs.c.s
main.o: main.cpp.o
.PHONY : main.o
# target to build an object file
main.cpp.o:
$(MAKE) $(MAKESILENT) -f CMakeFiles/test_project.dir/build.make CMakeFiles/test_project.dir/main.cpp.o
.PHONY : main.cpp.o
main.i: main.cpp.i
.PHONY : main.i
# target to preprocess a source file
main.cpp.i:
$(MAKE) $(MAKESILENT) -f CMakeFiles/test_project.dir/build.make CMakeFiles/test_project.dir/main.cpp.i
.PHONY : main.cpp.i
main.s: main.cpp.s
.PHONY : main.s
# target to generate assembly for a file
main.cpp.s:
$(MAKE) $(MAKESILENT) -f CMakeFiles/test_project.dir/build.make CMakeFiles/test_project.dir/main.cpp.s
.PHONY : main.cpp.s
# Help Target
help:
@echo "The following are some of the valid targets for this Makefile:"
@echo "... all (the default if no target is provided)"
@echo "... clean"
@echo "... depend"
@echo "... edit_cache"
@echo "... rebuild_cache"
@echo "... test_project"
@echo "... f2833x/common/source/DSP2833x_DefaultIsr.o"
@echo "... f2833x/common/source/DSP2833x_DefaultIsr.i"
@echo "... f2833x/common/source/DSP2833x_DefaultIsr.s"
@echo "... f2833x/common/source/DSP2833x_PieCtrl.o"
@echo "... f2833x/common/source/DSP2833x_PieCtrl.i"
@echo "... f2833x/common/source/DSP2833x_PieCtrl.s"
@echo "... f2833x/common/source/DSP2833x_PieVect.o"
@echo "... f2833x/common/source/DSP2833x_PieVect.i"
@echo "... f2833x/common/source/DSP2833x_PieVect.s"
@echo "... f2833x/common/source/DSP2833x_SysCtrl.o"
@echo "... f2833x/common/source/DSP2833x_SysCtrl.i"
@echo "... f2833x/common/source/DSP2833x_SysCtrl.s"
@echo "... f2833x/headers/source/DSP2833x_GlobalVariableDefs.o"
@echo "... f2833x/headers/source/DSP2833x_GlobalVariableDefs.i"
@echo "... f2833x/headers/source/DSP2833x_GlobalVariableDefs.s"
@echo "... main.o"
@echo "... main.i"
@echo "... main.s"
.PHONY : help
#=============================================================================
# Special targets to cleanup operation of make.
# Special rule to run CMake to check the build system integrity.
# No rule that depends on this can have commands that come from listfiles
# because they might be regenerated.
cmake_check_build_system:
$(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
.PHONY : cmake_check_build_system

54
build/cmake_install.cmake Normal file
View File

@ -0,0 +1,54 @@
# Install script for directory: /home/lobov/workspace/ccs12.5/cmake_test
# Set the install prefix
if(NOT DEFINED CMAKE_INSTALL_PREFIX)
set(CMAKE_INSTALL_PREFIX "/usr/local")
endif()
string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")
# Set the install configuration name.
if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
if(BUILD_TYPE)
string(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
else()
set(CMAKE_INSTALL_CONFIG_NAME "Debug")
endif()
message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
endif()
# Set the component getting installed.
if(NOT CMAKE_INSTALL_COMPONENT)
if(COMPONENT)
message(STATUS "Install component: \"${COMPONENT}\"")
set(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
else()
set(CMAKE_INSTALL_COMPONENT)
endif()
endif()
# Install shared libraries without execute permission?
if(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
set(CMAKE_INSTALL_SO_NO_EXE "1")
endif()
# Is this installation the result of a crosscompile?
if(NOT DEFINED CMAKE_CROSSCOMPILING)
set(CMAKE_CROSSCOMPILING "FALSE")
endif()
# Set default install directory permissions.
if(NOT DEFINED CMAKE_OBJDUMP)
set(CMAKE_OBJDUMP "/usr/bin/objdump")
endif()
if(CMAKE_INSTALL_COMPONENT)
set(CMAKE_INSTALL_MANIFEST "install_manifest_${CMAKE_INSTALL_COMPONENT}.txt")
else()
set(CMAKE_INSTALL_MANIFEST "install_manifest.txt")
endif()
string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT
"${CMAKE_INSTALL_MANIFEST_FILES}")
file(WRITE "/home/lobov/workspace/ccs12.5/cmake_test/build/${CMAKE_INSTALL_MANIFEST}"
"${CMAKE_INSTALL_MANIFEST_CONTENT}")

View File

@ -0,0 +1,32 @@
[
{
"directory": "/home/lobov/workspace/ccs12.5/cmake_test/build",
"command": "/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000 --compile_only --cpp_file=/home/lobov/workspace/ccs12.5/cmake_test/main.cpp --include_path=/home/lobov/workspace/ccs12.5/cmake_test/build --include_path=/home/lobov/workspace/ccs12.5/cmake_test/./f2833x --include_path=/home/lobov/workspace/ccs12.5/cmake_test/./f2833x/common/include --include_path=/home/lobov/workspace/ccs12.5/cmake_test/./f2833x/headers/include -v28 -ml -mt --float_support=fpu32 -Ooff --opt_for_speed=5 --fp_mode=relaxed -advice:performance=all --define=_INLINE \"--define=bmin='0.397824735f'\" \"--define=amax='0.960433870f'\" --float_operations_allowed=32 --printf_support=minimal --include_path=\\\"/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/lib/\\\" --include_path=\\\"/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/include/\\\" --output_file=CMakeFiles/test_project.dir/main.cpp.o",
"file": "/home/lobov/workspace/ccs12.5/cmake_test/main.cpp"
},
{
"directory": "/home/lobov/workspace/ccs12.5/cmake_test/build",
"command": "/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000 --compile_only --c_file=/home/lobov/workspace/ccs12.5/cmake_test/f2833x/common/source/DSP2833x_DefaultIsr.c --include_path=/home/lobov/workspace/ccs12.5/cmake_test/build --include_path=/home/lobov/workspace/ccs12.5/cmake_test/./f2833x --include_path=/home/lobov/workspace/ccs12.5/cmake_test/./f2833x/common/include --include_path=/home/lobov/workspace/ccs12.5/cmake_test/./f2833x/headers/include -v28 -ml -mt --float_support=fpu32 -Ooff --opt_for_speed=5 --fp_mode=relaxed -advice:performance=all --define=_INLINE \"--define=bmin='0.397824735f'\" \"--define=amax='0.960433870f'\" --float_operations_allowed=32 --printf_support=minimal --include_path=\\\"/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/lib/\\\" --include_path=\\\"/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/include/\\\" --output_file=CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_DefaultIsr.c.o",
"file": "/home/lobov/workspace/ccs12.5/cmake_test/f2833x/common/source/DSP2833x_DefaultIsr.c"
},
{
"directory": "/home/lobov/workspace/ccs12.5/cmake_test/build",
"command": "/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000 --compile_only --c_file=/home/lobov/workspace/ccs12.5/cmake_test/f2833x/headers/source/DSP2833x_GlobalVariableDefs.c --include_path=/home/lobov/workspace/ccs12.5/cmake_test/build --include_path=/home/lobov/workspace/ccs12.5/cmake_test/./f2833x --include_path=/home/lobov/workspace/ccs12.5/cmake_test/./f2833x/common/include --include_path=/home/lobov/workspace/ccs12.5/cmake_test/./f2833x/headers/include -v28 -ml -mt --float_support=fpu32 -Ooff --opt_for_speed=5 --fp_mode=relaxed -advice:performance=all --define=_INLINE \"--define=bmin='0.397824735f'\" \"--define=amax='0.960433870f'\" --float_operations_allowed=32 --printf_support=minimal --include_path=\\\"/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/lib/\\\" --include_path=\\\"/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/include/\\\" --output_file=CMakeFiles/test_project.dir/f2833x/headers/source/DSP2833x_GlobalVariableDefs.c.o",
"file": "/home/lobov/workspace/ccs12.5/cmake_test/f2833x/headers/source/DSP2833x_GlobalVariableDefs.c"
},
{
"directory": "/home/lobov/workspace/ccs12.5/cmake_test/build",
"command": "/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000 --compile_only --c_file=/home/lobov/workspace/ccs12.5/cmake_test/f2833x/common/source/DSP2833x_PieCtrl.c --include_path=/home/lobov/workspace/ccs12.5/cmake_test/build --include_path=/home/lobov/workspace/ccs12.5/cmake_test/./f2833x --include_path=/home/lobov/workspace/ccs12.5/cmake_test/./f2833x/common/include --include_path=/home/lobov/workspace/ccs12.5/cmake_test/./f2833x/headers/include -v28 -ml -mt --float_support=fpu32 -Ooff --opt_for_speed=5 --fp_mode=relaxed -advice:performance=all --define=_INLINE \"--define=bmin='0.397824735f'\" \"--define=amax='0.960433870f'\" --float_operations_allowed=32 --printf_support=minimal --include_path=\\\"/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/lib/\\\" --include_path=\\\"/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/include/\\\" --output_file=CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_PieCtrl.c.o",
"file": "/home/lobov/workspace/ccs12.5/cmake_test/f2833x/common/source/DSP2833x_PieCtrl.c"
},
{
"directory": "/home/lobov/workspace/ccs12.5/cmake_test/build",
"command": "/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000 --compile_only --c_file=/home/lobov/workspace/ccs12.5/cmake_test/f2833x/common/source/DSP2833x_PieVect.c --include_path=/home/lobov/workspace/ccs12.5/cmake_test/build --include_path=/home/lobov/workspace/ccs12.5/cmake_test/./f2833x --include_path=/home/lobov/workspace/ccs12.5/cmake_test/./f2833x/common/include --include_path=/home/lobov/workspace/ccs12.5/cmake_test/./f2833x/headers/include -v28 -ml -mt --float_support=fpu32 -Ooff --opt_for_speed=5 --fp_mode=relaxed -advice:performance=all --define=_INLINE \"--define=bmin='0.397824735f'\" \"--define=amax='0.960433870f'\" --float_operations_allowed=32 --printf_support=minimal --include_path=\\\"/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/lib/\\\" --include_path=\\\"/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/include/\\\" --output_file=CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_PieVect.c.o",
"file": "/home/lobov/workspace/ccs12.5/cmake_test/f2833x/common/source/DSP2833x_PieVect.c"
},
{
"directory": "/home/lobov/workspace/ccs12.5/cmake_test/build",
"command": "/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000 --compile_only --c_file=/home/lobov/workspace/ccs12.5/cmake_test/f2833x/common/source/DSP2833x_SysCtrl.c --include_path=/home/lobov/workspace/ccs12.5/cmake_test/build --include_path=/home/lobov/workspace/ccs12.5/cmake_test/./f2833x --include_path=/home/lobov/workspace/ccs12.5/cmake_test/./f2833x/common/include --include_path=/home/lobov/workspace/ccs12.5/cmake_test/./f2833x/headers/include -v28 -ml -mt --float_support=fpu32 -Ooff --opt_for_speed=5 --fp_mode=relaxed -advice:performance=all --define=_INLINE \"--define=bmin='0.397824735f'\" \"--define=amax='0.960433870f'\" --float_operations_allowed=32 --printf_support=minimal --include_path=\\\"/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/lib/\\\" --include_path=\\\"/home/lobov/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/include/\\\" --output_file=CMakeFiles/test_project.dir/f2833x/common/source/DSP2833x_SysCtrl.c.o",
"file": "/home/lobov/workspace/ccs12.5/cmake_test/f2833x/common/source/DSP2833x_SysCtrl.c"
}
]

6
f2833x/.vscode/settings.json vendored Normal file
View File

@ -0,0 +1,6 @@
{
"files.associations": {
"dsp28x_project.h": "c",
"dsp2833x_device.h": "c"
}
}

View File

@ -0,0 +1,216 @@
/*
// TI File $Revision: /main/10 $
// Checkin $Date: April 15, 2009 09:57:22 $
//###########################################################################
//
// FILE: 28332_RAM_lnk.cmd
//
// TITLE: Linker Command File For 28332 examples that run out of RAM
//
// This ONLY includes all SARAM blocks on the 28332 device.
// This does not include flash or OTP.
//
// Keep in mind that L0 and L1 are protected by the code
// security module.
//
// What this means is in most cases you will want to move to
// another memory map file which has more memory defined.
//
//###########################################################################
// $TI Release: 2833x/2823x Header Files V1.32 $
// $Release Date: June 28, 2010 $
// $Copyright:
// Copyright (C) 2009-2023 Texas Instruments Incorporated - http://www.ti.com/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
//
// Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
//
// Redistributions in binary form must reproduce the above copyright
// notice, this list of conditions and the following disclaimer in the
// documentation and/or other materials provided with the
// distribution.
//
// Neither the name of Texas Instruments Incorporated nor the names of
// its contributors may be used to endorse or promote products derived
// from this software without specific prior written permission.
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
// $
//###########################################################################
*/
/* ======================================================
// For Code Composer Studio V2.2 and later
// ---------------------------------------
// In addition to this memory linker command file,
// add the header linker command file directly to the project.
// The header linker command file is required to link the
// peripheral structures to the proper locations within
// the memory map.
//
// The header linker files are found in <base>\headers\cmd
//
// For BIOS applications add: DSP2833x_Headers_BIOS.cmd
// For nonBIOS applications add: DSP2833x_Headers_nonBIOS.cmd
========================================================= */
/* ======================================================
// For Code Composer Studio prior to V2.2
// --------------------------------------
// 1) Use one of the following -l statements to include the
// header linker command file in the project. The header linker
// file is required to link the peripheral structures to the proper
// locations within the memory map */
/* Uncomment this line to include file only for non-BIOS applications */
/* -l DSP2833x_Headers_nonBIOS.cmd */
/* Uncomment this line to include file only for BIOS applications */
/* -l DSP2833x_Headers_BIOS.cmd */
/* 2) In your project add the path to <base>\headers\cmd to the
library search path under project->build options, linker tab,
library search path (-i).
/*========================================================= */
/* Define the memory block start/length for the F28332
PAGE 0 will be used to organize program sections
PAGE 1 will be used to organize data sections
Notes:
Memory blocks on F28332 are uniform (ie same
physical memory) in both PAGE 0 and PAGE 1.
That is the same memory region should not be
defined for both PAGE 0 and PAGE 1.
Doing so will result in corruption of program
and/or data.
L0/L1/L2 and L3 memory blocks are mirrored - that is
they can be accessed in high memory or low memory.
For simplicity only one instance is used in this
linker file.
Contiguous SARAM memory blocks can be combined
if required to create a larger memory block.
*/
MEMORY
{
PAGE 0 :
/* BEGIN is used for the "boot to SARAM" bootloader mode */
BEGIN : origin = 0x000000, length = 0x000002 /* Boot to M0 will go here */
RAMM0 : origin = 0x000050, length = 0x0003B0
RAML0 : origin = 0x008000, length = 0x001000
RAML1 : origin = 0x009000, length = 0x001000
RAML2 : origin = 0x00A000, length = 0x001000
RAML3 : origin = 0x00B000, length = 0x001000
ZONE7A : origin = 0x200000, length = 0x00FC00 /* XINTF zone 7 - program space */
CSM_RSVD : origin = 0x33FF80, length = 0x000076 /* Part of FLASHA. Program with all 0x0000 when CSM is in use. */
CSM_PWL : origin = 0x33FFF8, length = 0x000008 /* Part of FLASHA. CSM password locations in FLASHA */
ADC_CAL : origin = 0x380080, length = 0x000009
RESET : origin = 0x3FFFC0, length = 0x000002
IQTABLES : origin = 0x3FE000, length = 0x000b50
IQTABLES2 : origin = 0x3FEB50, length = 0x00008c
FPUTABLES : origin = 0x3FEBDC, length = 0x0006A0
BOOTROM : origin = 0x3FF27C, length = 0x000D44
PAGE 1 :
/* BOOT_RSVD is used by the boot ROM for stack. */
/* This section is only reserved to keep the BOOT ROM from */
/* corrupting this area during the debug process */
BOOT_RSVD : origin = 0x000002, length = 0x00004E /* Part of M0, BOOT rom will use this for stack */
RAMM1 : origin = 0x000400, length = 0x000400 /* on-chip RAM block M1 */
RAML4 : origin = 0x00C000, length = 0x001000
RAML5 : origin = 0x00D000, length = 0x001000
ZONE7B : origin = 0x20FC00, length = 0x000400 /* XINTF zone 7 - data space */
}
SECTIONS
{
/* Setup for "boot to SARAM" mode:
The codestart section (found in DSP28_CodeStartBranch.asm)
re-directs execution to the start of user code. */
codestart : > BEGIN, PAGE = 0
#ifdef __TI_COMPILER_VERSION__
#if __TI_COMPILER_VERSION__ >= 15009000
.TI.ramfunc : > RAML0, PAGE = 0
#else
ramfuncs : > RAML0, PAGE = 0
#endif
#endif
.text : > RAML1, PAGE = 0
.cinit : > RAML0, PAGE = 0
.pinit : > RAML0, PAGE = 0
.switch : > RAML0, PAGE = 0
.stack : > RAMM1, PAGE = 1
.ebss : > RAML4, PAGE = 1
.econst : > RAML5, PAGE = 1
.esysmem : > RAMM1, PAGE = 1
IQmath : > RAML1, PAGE = 0
IQmathTables : > IQTABLES, PAGE = 0, TYPE = NOLOAD
/* Uncomment the section below if calling the IQNexp() or IQexp()
functions from the IQMath.lib library in order to utilize the
relevant IQ Math table in Boot ROM (This saves space and Boot ROM
is 1 wait-state). If this section is not uncommented, IQmathTables2
will be loaded into other memory (SARAM, Flash, etc.) and will take
up space, but 0 wait-state is possible.
*/
/*
IQmathTables2 : > IQTABLES2, PAGE = 0, TYPE = NOLOAD
{
IQmath.lib<IQNexpTable.obj> (IQmathTablesRam)
}
*/
FPUmathTables : > FPUTABLES, PAGE = 0, TYPE = NOLOAD
DMARAML4 : > RAML4, PAGE = 1
DMARAML5 : > RAML5, PAGE = 1
ZONE7DATA : > ZONE7B, PAGE = 1
.reset : > RESET, PAGE = 0, TYPE = DSECT /* not used */
csm_rsvd : > CSM_RSVD PAGE = 0, TYPE = DSECT /* not used for SARAM examples */
csmpasswds : > CSM_PWL PAGE = 0, TYPE = DSECT /* not used for SARAM examples */
/* Allocate ADC_cal function (pre-programmed by factory into TI reserved memory) */
.adc_cal : load = ADC_CAL, PAGE = 0, TYPE = NOLOAD
}
/*
//===========================================================================
// End of file.
//===========================================================================
*/

View File

@ -0,0 +1,216 @@
/*
// TI File $Revision: /main/11 $
// Checkin $Date: April 15, 2009 09:57:28 $
//###########################################################################
//
// FILE: 28333_RAM_lnk.cmd
//
// TITLE: Linker Command File For 28333 examples that run out of RAM
//
// This ONLY includes all SARAM blocks on the 28333 device.
// This does not include flash or OTP.
//
// Keep in mind that L0 and L1 are protected by the code
// security module.
//
// What this means is in most cases you will want to move to
// another memory map file which has more memory defined.
//
//###########################################################################
// $TI Release: 2833x/2823x Header Files V1.32 $
// $Release Date: June 28, 2010 $
// $Copyright:
// Copyright (C) 2009-2023 Texas Instruments Incorporated - http://www.ti.com/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
//
// Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
//
// Redistributions in binary form must reproduce the above copyright
// notice, this list of conditions and the following disclaimer in the
// documentation and/or other materials provided with the
// distribution.
//
// Neither the name of Texas Instruments Incorporated nor the names of
// its contributors may be used to endorse or promote products derived
// from this software without specific prior written permission.
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
// $
//###########################################################################
*/
/* ======================================================
// For Code Composer Studio V2.2 and later
// ---------------------------------------
// In addition to this memory linker command file,
// add the header linker command file directly to the project.
// The header linker command file is required to link the
// peripheral structures to the proper locations within
// the memory map.
//
// The header linker files are found in <base>\DSP2833x_Headers\cmd
//
// For BIOS applications add: DSP2833x_Headers_BIOS.cmd
// For nonBIOS applications add: DSP2833x_Headers_nonBIOS.cmd
========================================================= */
/* ======================================================
// For Code Composer Studio prior to V2.2
// --------------------------------------
// 1) Use one of the following -l statements to include the
// header linker command file in the project. The header linker
// file is required to link the peripheral structures to the proper
// locations within the memory map */
/* Uncomment this line to include file only for non-BIOS applications */
/* -l DSP2833x_Headers_nonBIOS.cmd */
/* Uncomment this line to include file only for BIOS applications */
/* -l DSP2833x_Headers_BIOS.cmd */
/* 2) In your project add the path to <base>\DSP2833x_headers\cmd to the
library search path under project->build options, linker tab,
library search path (-i).
/*========================================================= */
/* Define the memory block start/length for the F28333
PAGE 0 will be used to organize program sections
PAGE 1 will be used to organize data sections
Notes:
Memory blocks on F28333 are uniform (ie same
physical memory) in both PAGE 0 and PAGE 1.
That is the same memory region should not be
defined for both PAGE 0 and PAGE 1.
Doing so will result in corruption of program
and/or data.
L0/L1/L2 and L3 memory blocks are mirrored - that is
they can be accessed in high memory or low memory.
For simplicity only one instance is used in this
linker file.
Contiguous SARAM memory blocks can be combined
if required to create a larger memory block.
*/
MEMORY
{
PAGE 0 :
/* BEGIN is used for the "boot to SARAM" bootloader mode */
BEGIN : origin = 0x000000, length = 0x000002 /* Boot to M0 will go here */
RAMM0 : origin = 0x000050, length = 0x0003B0
RAML0 : origin = 0x008000, length = 0x001000
RAML1 : origin = 0x009000, length = 0x001000
RAML2 : origin = 0x00A000, length = 0x001000
RAML3 : origin = 0x00B000, length = 0x001000
ZONE7A : origin = 0x200000, length = 0x00FC00 /* XINTF zone 7 - program space */
CSM_RSVD : origin = 0x33FF80, length = 0x000076 /* Part of FLASHA. Program with all 0x0000 when CSM is in use. */
CSM_PWL : origin = 0x33FFF8, length = 0x000008 /* Part of FLASHA. CSM password locations in FLASHA */
ADC_CAL : origin = 0x380080, length = 0x000009
RESET : origin = 0x3FFFC0, length = 0x000002
IQTABLES : origin = 0x3FE000, length = 0x000b50
IQTABLES2 : origin = 0x3FEB50, length = 0x00008c
FPUTABLES : origin = 0x3FEBDC, length = 0x0006A0
BOOTROM : origin = 0x3FF27C, length = 0x000D44
PAGE 1 :
/* BOOT_RSVD is used by the boot ROM for stack. */
/* This section is only reserved to keep the BOOT ROM from */
/* corrupting this area during the debug process */
BOOT_RSVD : origin = 0x000002, length = 0x00004E /* Part of M0, BOOT rom will use this for stack */
RAMM1 : origin = 0x000400, length = 0x000400 /* on-chip RAM block M1 */
RAML4 : origin = 0x00C000, length = 0x001000
RAML5 : origin = 0x00D000, length = 0x001000
RAML6 : origin = 0x00E000, length = 0x001000
RAML7 : origin = 0x00F000, length = 0x001000
ZONE7B : origin = 0x20FC00, length = 0x000400 /* XINTF zone 7 - data space */
}
SECTIONS
{
/* Setup for "boot to SARAM" mode:
The codestart section (found in DSP28_CodeStartBranch.asm)
re-directs execution to the start of user code. */
codestart : > BEGIN, PAGE = 0
#ifdef __TI_COMPILER_VERSION__
#if __TI_COMPILER_VERSION__ >= 15009000
.TI.ramfunc : > RAML0, PAGE = 0
#else
ramfuncs : > RAML0, PAGE = 0
#endif
#endif
.text : > RAML1, PAGE = 0
.InitBoot : > RAML1, PAGE = 0
.cinit : > RAML0, PAGE = 0
.pinit : > RAML0, PAGE = 0
.switch : > RAML0, PAGE = 0
.stack : > RAMM1, PAGE = 1
.ebss : > RAML4, PAGE = 1
.econst : > RAML5, PAGE = 1
.esysmem : > RAMM1, PAGE = 1
IQmath : > RAML1, PAGE = 0
IQmathTables : > IQTABLES, PAGE = 0, TYPE = NOLOAD
/* Uncomment the section below if calling the IQNexp() or IQexp()
functions from the IQMath.lib library in order to utilize the
relevant IQ Math table in Boot ROM (This saves space and Boot ROM
is 1 wait-state). If this section is not uncommented, IQmathTables2
will be loaded into other memory (SARAM, Flash, etc.) and will take
up space, but 0 wait-state is possible.
*/
/*
IQmathTables2 : > IQTABLES2, PAGE = 0, TYPE = NOLOAD
{
IQmath.lib<IQNexpTable.obj> (IQmathTablesRam)
}
*/
FPUmathTables : > FPUTABLES, PAGE = 0, TYPE = NOLOAD
DMARAML4 : > RAML4, PAGE = 1
DMARAML5 : > RAML5, PAGE = 1
DMARAML6 : > RAML6, PAGE = 1
DMARAML7 : > RAML7, PAGE = 1
ZONE7DATA : > ZONE7B, PAGE = 1
.reset : > RESET, PAGE = 0, TYPE = DSECT /* not used */
csm_rsvd : > CSM_RSVD PAGE = 0, TYPE = DSECT /* not used for SARAM examples */
csmpasswds : > CSM_PWL PAGE = 0, TYPE = DSECT /* not used for SARAM examples */
/* Allocate ADC_cal function (pre-programmed by factory into TI reserved memory) */
.adc_cal : load = ADC_CAL, PAGE = 0, TYPE = NOLOAD
}
/*
//===========================================================================
// End of file.
//===========================================================================
*/

View File

@ -0,0 +1,218 @@
/*
// TI File $Revision: /main/9 $
// Checkin $Date: April 15, 2009 09:57:24 $
//###########################################################################
//
// FILE: 28334_RAM_lnk.cmd
//
// TITLE: Linker Command File For 28334 examples that run out of RAM
//
// This ONLY includes all SARAM blocks on the 28334 device.
// This does not include flash or OTP.
//
// Keep in mind that L0 and L1 are protected by the code
// security module.
//
// What this means is in most cases you will want to move to
// another memory map file which has more memory defined.
//
//###########################################################################
// $TI Release: 2833x/2823x Header Files V1.32 $
// $Release Date: June 28, 2010 $
// $Copyright:
// Copyright (C) 2009-2023 Texas Instruments Incorporated - http://www.ti.com/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
//
// Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
//
// Redistributions in binary form must reproduce the above copyright
// notice, this list of conditions and the following disclaimer in the
// documentation and/or other materials provided with the
// distribution.
//
// Neither the name of Texas Instruments Incorporated nor the names of
// its contributors may be used to endorse or promote products derived
// from this software without specific prior written permission.
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
// $
//###########################################################################
*/
/* ======================================================
// For Code Composer Studio V2.2 and later
// ---------------------------------------
// In addition to this memory linker command file,
// add the header linker command file directly to the project.
// The header linker command file is required to link the
// peripheral structures to the proper locations within
// the memory map.
//
// The header linker files are found in <base>\headers\cmd
//
// For BIOS applications add: DSP2833x_Headers_BIOS.cmd
// For nonBIOS applications add: DSP2833x_Headers_nonBIOS.cmd
========================================================= */
/* ======================================================
// For Code Composer Studio prior to V2.2
// --------------------------------------
// 1) Use one of the following -l statements to include the
// header linker command file in the project. The header linker
// file is required to link the peripheral structures to the proper
// locations within the memory map */
/* Uncomment this line to include file only for non-BIOS applications */
/* -l DSP2833x_Headers_nonBIOS.cmd */
/* Uncomment this line to include file only for BIOS applications */
/* -l DSP2833x_Headers_BIOS.cmd */
/* 2) In your project add the path to <base>\headers\cmd to the
library search path under project->build options, linker tab,
library search path (-i).
/*========================================================= */
/* Define the memory block start/length for the F28334
PAGE 0 will be used to organize program sections
PAGE 1 will be used to organize data sections
Notes:
Memory blocks on F28334 are uniform (ie same
physical memory) in both PAGE 0 and PAGE 1.
That is the same memory region should not be
defined for both PAGE 0 and PAGE 1.
Doing so will result in corruption of program
and/or data.
L0/L1/L2 and L3 memory blocks are mirrored - that is
they can be accessed in high memory or low memory.
For simplicity only one instance is used in this
linker file.
Contiguous SARAM memory blocks can be combined
if required to create a larger memory block.
*/
MEMORY
{
PAGE 0 :
/* BEGIN is used for the "boot to SARAM" bootloader mode */
BEGIN : origin = 0x000000, length = 0x000002 /* Boot to M0 will go here */
RAMM0 : origin = 0x000050, length = 0x0003B0
RAML0 : origin = 0x008000, length = 0x001000
RAML1 : origin = 0x009000, length = 0x001000
RAML2 : origin = 0x00A000, length = 0x001000
RAML3 : origin = 0x00B000, length = 0x001000
ZONE7A : origin = 0x200000, length = 0x00FC00 /* XINTF zone 7 - program space */
CSM_RSVD : origin = 0x33FF80, length = 0x000076 /* Part of FLASHA. Program with all 0x0000 when CSM is in use. */
CSM_PWL : origin = 0x33FFF8, length = 0x000008 /* Part of FLASHA. CSM password locations in FLASHA */
ADC_CAL : origin = 0x380080, length = 0x000009
RESET : origin = 0x3FFFC0, length = 0x000002
IQTABLES : origin = 0x3FE000, length = 0x000b50
IQTABLES2 : origin = 0x3FEB50, length = 0x00008c
FPUTABLES : origin = 0x3FEBDC, length = 0x0006A0
BOOTROM : origin = 0x3FF27C, length = 0x000D44
PAGE 1 :
/* BOOT_RSVD is used by the boot ROM for stack. */
/* This section is only reserved to keep the BOOT ROM from */
/* corrupting this area during the debug process */
BOOT_RSVD : origin = 0x000002, length = 0x00004E /* Part of M0, BOOT rom will use this for stack */
RAMM1 : origin = 0x000400, length = 0x000400 /* on-chip RAM block M1 */
RAML4 : origin = 0x00C000, length = 0x001000
RAML5 : origin = 0x00D000, length = 0x001000
RAML6 : origin = 0x00E000, length = 0x001000
RAML7 : origin = 0x00F000, length = 0x001000
ZONE7B : origin = 0x20FC00, length = 0x000400 /* XINTF zone 7 - data space */
}
SECTIONS
{
/* Setup for "boot to SARAM" mode:
The codestart section (found in DSP28_CodeStartBranch.asm)
re-directs execution to the start of user code. */
codestart : > BEGIN, PAGE = 0
#ifdef __TI_COMPILER_VERSION__
#if __TI_COMPILER_VERSION__ >= 15009000
.TI.ramfunc : > RAML0, PAGE = 0
#else
ramfuncs : > RAML0, PAGE = 0
#endif
#endif
.text : > RAML1, PAGE = 0
.cinit : > RAML0, PAGE = 0
.pinit : > RAML0, PAGE = 0
.switch : > RAML0, PAGE = 0
.stack : > RAMM1, PAGE = 1
.ebss : > RAML4, PAGE = 1
.econst : > RAML5, PAGE = 1
.esysmem : > RAMM1, PAGE = 1
IQmath : > RAML1, PAGE = 0
IQmathTables : > IQTABLES, PAGE = 0, TYPE = NOLOAD
/* Uncomment the section below if calling the IQNexp() or IQexp()
functions from the IQMath.lib library in order to utilize the
relevant IQ Math table in Boot ROM (This saves space and Boot ROM
is 1 wait-state). If this section is not uncommented, IQmathTables2
will be loaded into other memory (SARAM, Flash, etc.) and will take
up space, but 0 wait-state is possible.
*/
/*
IQmathTables2 : > IQTABLES2, PAGE = 0, TYPE = NOLOAD
{
IQmath.lib<IQNexpTable.obj> (IQmathTablesRam)
}
*/
FPUmathTables : > FPUTABLES, PAGE = 0, TYPE = NOLOAD
DMARAML4 : > RAML4, PAGE = 1
DMARAML5 : > RAML5, PAGE = 1
DMARAML6 : > RAML6, PAGE = 1
DMARAML7 : > RAML7, PAGE = 1
ZONE7DATA : > ZONE7B, PAGE = 1
.reset : > RESET, PAGE = 0, TYPE = DSECT /* not used */
csm_rsvd : > CSM_RSVD PAGE = 0, TYPE = DSECT /* not used for SARAM examples */
csmpasswds : > CSM_PWL PAGE = 0, TYPE = DSECT /* not used for SARAM examples */
/* Allocate ADC_cal function (pre-programmed by factory into TI reserved memory) */
.adc_cal : load = ADC_CAL, PAGE = 0, TYPE = NOLOAD
}
/*
//===========================================================================
// End of file.
//===========================================================================
*/

View File

@ -0,0 +1,216 @@
/*
// TI File $Revision: /main/11 $
// Checkin $Date: April 15, 2009 09:57:28 $
//###########################################################################
//
// FILE: 28335_RAM_lnk.cmd
//
// TITLE: Linker Command File For 28335 examples that run out of RAM
//
// This ONLY includes all SARAM blocks on the 28335 device.
// This does not include flash or OTP.
//
// Keep in mind that L0 and L1 are protected by the code
// security module.
//
// What this means is in most cases you will want to move to
// another memory map file which has more memory defined.
//
//###########################################################################
// $TI Release: 2833x/2823x Header Files V1.32 $
// $Release Date: June 28, 2010 $
// $Copyright:
// Copyright (C) 2009-2023 Texas Instruments Incorporated - http://www.ti.com/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
//
// Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
//
// Redistributions in binary form must reproduce the above copyright
// notice, this list of conditions and the following disclaimer in the
// documentation and/or other materials provided with the
// distribution.
//
// Neither the name of Texas Instruments Incorporated nor the names of
// its contributors may be used to endorse or promote products derived
// from this software without specific prior written permission.
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
// $
//###########################################################################
*/
/* ======================================================
// For Code Composer Studio V2.2 and later
// ---------------------------------------
// In addition to this memory linker command file,
// add the header linker command file directly to the project.
// The header linker command file is required to link the
// peripheral structures to the proper locations within
// the memory map.
//
// The header linker files are found in <base>\headers\cmd
//
// For BIOS applications add: DSP2833x_Headers_BIOS.cmd
// For nonBIOS applications add: DSP2833x_Headers_nonBIOS.cmd
========================================================= */
/* ======================================================
// For Code Composer Studio prior to V2.2
// --------------------------------------
// 1) Use one of the following -l statements to include the
// header linker command file in the project. The header linker
// file is required to link the peripheral structures to the proper
// locations within the memory map */
/* Uncomment this line to include file only for non-BIOS applications */
/* -l DSP2833x_Headers_nonBIOS.cmd */
/* Uncomment this line to include file only for BIOS applications */
/* -l DSP2833x_Headers_BIOS.cmd */
/* 2) In your project add the path to <base>\headers\cmd to the
library search path under project->build options, linker tab,
library search path (-i).
/*========================================================= */
/* Define the memory block start/length for the F28335
PAGE 0 will be used to organize program sections
PAGE 1 will be used to organize data sections
Notes:
Memory blocks on F28335 are uniform (ie same
physical memory) in both PAGE 0 and PAGE 1.
That is the same memory region should not be
defined for both PAGE 0 and PAGE 1.
Doing so will result in corruption of program
and/or data.
L0/L1/L2 and L3 memory blocks are mirrored - that is
they can be accessed in high memory or low memory.
For simplicity only one instance is used in this
linker file.
Contiguous SARAM memory blocks can be combined
if required to create a larger memory block.
*/
MEMORY
{
PAGE 0 :
/* BEGIN is used for the "boot to SARAM" bootloader mode */
BEGIN : origin = 0x000000, length = 0x000002 /* Boot to M0 will go here */
RAMM0 : origin = 0x000050, length = 0x0003B0
RAML0 : origin = 0x008000, length = 0x001000
RAML1 : origin = 0x009000, length = 0x001000
RAML2 : origin = 0x00A000, length = 0x001000
RAML3 : origin = 0x00B000, length = 0x001000
ZONE7A : origin = 0x200000, length = 0x00FC00 /* XINTF zone 7 - program space */
CSM_RSVD : origin = 0x33FF80, length = 0x000076 /* Part of FLASHA. Program with all 0x0000 when CSM is in use. */
CSM_PWL : origin = 0x33FFF8, length = 0x000008 /* Part of FLASHA. CSM password locations in FLASHA */
ADC_CAL : origin = 0x380080, length = 0x000009
RESET : origin = 0x3FFFC0, length = 0x000002
IQTABLES : origin = 0x3FE000, length = 0x000b50
IQTABLES2 : origin = 0x3FEB50, length = 0x00008c
FPUTABLES : origin = 0x3FEBDC, length = 0x0006A0
BOOTROM : origin = 0x3FF27C, length = 0x000D44
PAGE 1 :
/* BOOT_RSVD is used by the boot ROM for stack. */
/* This section is only reserved to keep the BOOT ROM from */
/* corrupting this area during the debug process */
BOOT_RSVD : origin = 0x000002, length = 0x00004E /* Part of M0, BOOT rom will use this for stack */
RAMM1 : origin = 0x000400, length = 0x000400 /* on-chip RAM block M1 */
RAML4 : origin = 0x00C000, length = 0x001000
RAML5 : origin = 0x00D000, length = 0x001000
RAML6 : origin = 0x00E000, length = 0x001000
RAML7 : origin = 0x00F000, length = 0x001000
ZONE7B : origin = 0x20FC00, length = 0x000400 /* XINTF zone 7 - data space */
}
SECTIONS
{
/* Setup for "boot to SARAM" mode:
The codestart section (found in DSP28_CodeStartBranch.asm)
re-directs execution to the start of user code. */
codestart : > BEGIN, PAGE = 0
#ifdef __TI_COMPILER_VERSION__
#if __TI_COMPILER_VERSION__ >= 15009000
.TI.ramfunc : > RAML0, PAGE = 0
#else
ramfuncs : > RAML0, PAGE = 0
#endif
#endif
.text : >> RAML1 | RAML2, PAGE = 0
.InitBoot : > RAML1, PAGE = 0
.cinit : > RAML0, PAGE = 0
.pinit : > RAML0, PAGE = 0
.switch : > RAML0, PAGE = 0
.stack : > RAMM1, PAGE = 1
.ebss : > RAML4, PAGE = 1
.econst : > RAML5, PAGE = 1
.esysmem : > RAMM1, PAGE = 1
IQmath : > RAML1, PAGE = 0
IQmathTables : > IQTABLES, PAGE = 0, TYPE = NOLOAD
/* Uncomment the section below if calling the IQNexp() or IQexp()
functions from the IQMath.lib library in order to utilize the
relevant IQ Math table in Boot ROM (This saves space and Boot ROM
is 1 wait-state). If this section is not uncommented, IQmathTables2
will be loaded into other memory (SARAM, Flash, etc.) and will take
up space, but 0 wait-state is possible.
*/
/*
IQmathTables2 : > IQTABLES2, PAGE = 0, TYPE = NOLOAD
{
IQmath.lib<IQNexpTable.obj> (IQmathTablesRam)
}
*/
FPUmathTables : > FPUTABLES, PAGE = 0, TYPE = NOLOAD
DMARAML4 : > RAML4, PAGE = 1
DMARAML5 : > RAML5, PAGE = 1
DMARAML6 : > RAML6, PAGE = 1
DMARAML7 : > RAML7, PAGE = 1
ZONE7DATA : > ZONE7B, PAGE = 1
.reset : > RESET, PAGE = 0, TYPE = DSECT /* not used */
csm_rsvd : > CSM_RSVD PAGE = 0, TYPE = DSECT /* not used for SARAM examples */
csmpasswds : > CSM_PWL PAGE = 0, TYPE = DSECT /* not used for SARAM examples */
/* Allocate ADC_cal function (pre-programmed by factory into TI reserved memory) */
.adc_cal : load = ADC_CAL, PAGE = 0, TYPE = NOLOAD
}
/*
//===========================================================================
// End of file.
//===========================================================================
*/

View File

@ -0,0 +1,241 @@
/*
// TI File $Revision: /main/9 $
// Checkin $Date: July 9, 2008 13:43:41 $
//###########################################################################
//
// FILE: F28332.cmd
//
// TITLE: Linker Command File For F28332 Device
//
//###########################################################################
// $TI Release: 2833x/2823x Header Files V1.32 $
// $Release Date: June 28, 2010 $
// $Copyright:
// Copyright (C) 2009-2023 Texas Instruments Incorporated - http://www.ti.com/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
//
// Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
//
// Redistributions in binary form must reproduce the above copyright
// notice, this list of conditions and the following disclaimer in the
// documentation and/or other materials provided with the
// distribution.
//
// Neither the name of Texas Instruments Incorporated nor the names of
// its contributors may be used to endorse or promote products derived
// from this software without specific prior written permission.
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
// $
//###########################################################################
*/
/* ======================================================
// For Code Composer Studio V2.2 and later
// ---------------------------------------
// In addition to this memory linker command file,
// add the header linker command file directly to the project.
// The header linker command file is required to link the
// peripheral structures to the proper locations within
// the memory map.
//
// The header linker files are found in <base>\headers\cmd
//
// For BIOS applications add: DSP2833x_Headers_BIOS.cmd
// For nonBIOS applications add: DSP2833x_Headers_nonBIOS.cmd
========================================================= */
/* ======================================================
// For Code Composer Studio prior to V2.2
// --------------------------------------
// 1) Use one of the following -l statements to include the
// header linker command file in the project. The header linker
// file is required to link the peripheral structures to the proper
// locations within the memory map */
/* Uncomment this line to include file only for non-BIOS applications */
/* -l DSP2833x_Headers_nonBIOS.cmd */
/* Uncomment this line to include file only for BIOS applications */
/* -l DSP2833x_Headers_BIOS.cmd */
/* 2) In your project add the path to <base>\headers\cmd to the
library search path under project->build options, linker tab,
library search path (-i).
/*========================================================= */
/* Define the memory block start/length for the F28332
PAGE 0 will be used to organize program sections
PAGE 1 will be used to organize data sections
Notes:
Memory blocks on F28332 are uniform (ie same
physical memory) in both PAGE 0 and PAGE 1.
That is the same memory region should not be
defined for both PAGE 0 and PAGE 1.
Doing so will result in corruption of program
and/or data.
L0/L1/L2 and L3 memory blocks are mirrored - that is
they can be accessed in high memory or low memory.
For simplicity only one instance is used in this
linker file.
Contiguous SARAM memory blocks can be combined
if required to create a larger memory block.
*/
MEMORY
{
PAGE 0: /* Program Memory */
/* Memory (RAM/FLASH/OTP) blocks can be moved to PAGE1 for data allocation */
ZONE0 : origin = 0x004000, length = 0x001000 /* XINTF zone 0 */
RAML0 : origin = 0x008000, length = 0x001000 /* on-chip RAM block L0 */
RAML1 : origin = 0x009000, length = 0x001000 /* on-chip RAM block L1 */
RAML2 : origin = 0x00A000, length = 0x001000 /* on-chip RAM block L2 */
RAML3 : origin = 0x00B000, length = 0x001000 /* on-chip RAM block L3 */
ZONE6 : origin = 0x100000, length = 0x100000 /* XINTF zone 6 */
ZONE7A : origin = 0x200000, length = 0x00FC00 /* XINTF zone 7 - program space */
FLASHD : origin = 0x330000, length = 0x004000 /* on-chip FLASH */
FLASHC : origin = 0x334000, length = 0x004000 /* on-chip FLASH */
FLASHA : origin = 0x33C000, length = 0x003F80 /* on-chip FLASH */
CSM_RSVD : origin = 0x33FF80, length = 0x000076 /* Part of FLASHA. Program with all 0x0000 when CSM is in use. */
BEGIN : origin = 0x33FFF6, length = 0x000002 /* Part of FLASHA. Used for "boot to Flash" bootloader mode. */
CSM_PWL : origin = 0x33FFF8, length = 0x000008 /* Part of FLASHA. CSM password locations in FLASHA */
OTP : origin = 0x380400, length = 0x000400 /* on-chip OTP */
ADC_CAL : origin = 0x380080, length = 0x000009 /* ADC_cal function in Reserved memory */
IQTABLES : origin = 0x3FE000, length = 0x000b50 /* IQ Math Tables in Boot ROM */
IQTABLES2 : origin = 0x3FEB50, length = 0x00008c /* IQ Math Tables in Boot ROM */
FPUTABLES : origin = 0x3FEBDC, length = 0x0006A0 /* FPU Tables in Boot ROM */
ROM : origin = 0x3FF27C, length = 0x000D44 /* Boot ROM */
RESET : origin = 0x3FFFC0, length = 0x000002 /* part of boot ROM */
VECTORS : origin = 0x3FFFC2, length = 0x00003E /* part of boot ROM */
PAGE 1 : /* Data Memory */
/* Memory (RAM/FLASH/OTP) blocks can be moved to PAGE0 for program allocation */
/* Registers remain on PAGE1 */
BOOT_RSVD : origin = 0x000000, length = 0x000050 /* Part of M0, BOOT rom will use this for stack */
RAMM0 : origin = 0x000050, length = 0x0003B0 /* on-chip RAM block M0 */
RAMM1 : origin = 0x000400, length = 0x000400 /* on-chip RAM block M1 */
RAML4 : origin = 0x00C000, length = 0x001000 /* on-chip RAM block L1 */
RAML5 : origin = 0x00D000, length = 0x001000 /* on-chip RAM block L1 */
ZONE7B : origin = 0x20FC00, length = 0x0000400 /* XINTF zone 7 - data space */
FLASHB : origin = 0x338000, length = 0x004000 /* on-chip FLASH */
}
/* Allocate sections to memory blocks.
Note:
codestart user defined section in DSP28_CodeStartBranch.asm used to redirect code
execution when booting to flash
ramfuncs user defined section to store functions that will be copied from Flash into RAM
*/
SECTIONS
{
/* Allocate program areas: */
.cinit : > FLASHA PAGE = 0
.pinit : > FLASHA, PAGE = 0
.text : > FLASHA PAGE = 0
codestart : > BEGIN PAGE = 0
#ifdef __TI_COMPILER_VERSION__
#if __TI_COMPILER_VERSION__ >= 15009000
.TI.ramfunc : {} LOAD = FLASHD,
RUN = RAML0,
LOAD_START(_RamfuncsLoadStart),
LOAD_END(_RamfuncsLoadEnd),
RUN_START(_RamfuncsRunStart),
LOAD_SIZE(_RamfuncsLoadSize),
PAGE = 0
#else
ramfuncs : LOAD = FLASHD,
RUN = RAML0,
LOAD_START(_RamfuncsLoadStart),
LOAD_END(_RamfuncsLoadEnd),
RUN_START(_RamfuncsRunStart),
LOAD_SIZE(_RamfuncsLoadSize),
PAGE = 0
#endif
#endif
csmpasswds : > CSM_PWL PAGE = 0
csm_rsvd : > CSM_RSVD PAGE = 0
/* Allocate uninitalized data sections: */
.stack : > RAMM1 PAGE = 1
.ebss : > RAML4 PAGE = 1
.esysmem : > RAMM1 PAGE = 1
/* Initalized sections go in Flash */
/* For SDFlash to program these, they must be allocated to page 0 */
.econst : > FLASHA PAGE = 0
.switch : > FLASHA PAGE = 0
/* Allocate IQ math areas: */
IQmath : > FLASHC PAGE = 0 /* Math Code */
IQmathTables : > IQTABLES, PAGE = 0, TYPE = NOLOAD
/* Uncomment the section below if calling the IQNexp() or IQexp()
functions from the IQMath.lib library in order to utilize the
relevant IQ Math table in Boot ROM (This saves space and Boot ROM
is 1 wait-state). If this section is not uncommented, IQmathTables2
will be loaded into other memory (SARAM, Flash, etc.) and will take
up space, but 0 wait-state is possible.
*/
/*
IQmathTables2 : > IQTABLES2, PAGE = 0, TYPE = NOLOAD
{
IQmath.lib<IQNexpTable.obj> (IQmathTablesRam)
}
*/
FPUmathTables : > FPUTABLES, PAGE = 0, TYPE = NOLOAD
/* Allocate DMA-accessible RAM sections: */
DMARAML4 : > RAML4, PAGE = 1
DMARAML5 : > RAML5, PAGE = 1
/* Allocate 0x400 of XINTF Zone 7 to storing data */
ZONE7DATA : > ZONE7B, PAGE = 1
/* .reset is a standard section used by the compiler. It contains the */
/* the address of the start of _c_int00 for C Code. /*
/* When using the boot ROM this section and the CPU vector */
/* table is not needed. Thus the default type is set here to */
/* DSECT */
.reset : > RESET, PAGE = 0, TYPE = DSECT
vectors : > VECTORS PAGE = 0, TYPE = DSECT
/* Allocate ADC_cal function (pre-programmed by factory into TI reserved memory) */
.adc_cal : load = ADC_CAL, PAGE = 0, TYPE = NOLOAD
}
/*
//===========================================================================
// End of file.
//===========================================================================
*/

View File

@ -0,0 +1,245 @@
/*
//###########################################################################
//
// FILE: F28333.cmd
//
// TITLE: Linker Command File For F28333 Device
//
//###########################################################################
// $TI Release: 2833x/2823x Header Files V1.32 $
// $Release Date: June 28, 2010 $
// $Copyright:
// Copyright (C) 2009-2023 Texas Instruments Incorporated - http://www.ti.com/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
//
// Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
//
// Redistributions in binary form must reproduce the above copyright
// notice, this list of conditions and the following disclaimer in the
// documentation and/or other materials provided with the
// distribution.
//
// Neither the name of Texas Instruments Incorporated nor the names of
// its contributors may be used to endorse or promote products derived
// from this software without specific prior written permission.
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
// $
//###########################################################################
*/
/* ======================================================
// For Code Composer Studio V2.2 and later
// ---------------------------------------
// In addition to this memory linker command file,
// add the header linker command file directly to the project.
// The header linker command file is required to link the
// peripheral structures to the proper locations within
// the memory map.
//
// The header linker files are found in <base>\DSP2833x_Headers\cmd
//
// For BIOS applications add: DSP2833x_Headers_BIOS.cmd
// For nonBIOS applications add: DSP2833x_Headers_nonBIOS.cmd
========================================================= */
/* ======================================================
// For Code Composer Studio prior to V2.2
// --------------------------------------
// 1) Use one of the following -l statements to include the
// header linker command file in the project. The header linker
// file is required to link the peripheral structures to the proper
// locations within the memory map */
/* Uncomment this line to include file only for non-BIOS applications */
/* -l DSP2833x_Headers_nonBIOS.cmd */
/* Uncomment this line to include file only for BIOS applications */
/* -l DSP2833x_Headers_BIOS.cmd */
/* 2) In your project add the path to <base>\DSP2833x_headers\cmd to the
library search path under project->build options, linker tab,
library search path (-i).
/*========================================================= */
/* Define the memory block start/length for the F28333
PAGE 0 will be used to organize program sections
PAGE 1 will be used to organize data sections
Notes:
Memory blocks on F28333 are uniform (ie same
physical memory) in both PAGE 0 and PAGE 1.
That is the same memory region should not be
defined for both PAGE 0 and PAGE 1.
Doing so will result in corruption of program
and/or data.
L0/L1/L2 and L3 memory blocks are mirrored - that is
they can be accessed in high memory or low memory.
For simplicity only one instance is used in this
linker file.
Contiguous SARAM memory blocks can be combined
if required to create a larger memory block.
*/
MEMORY
{
PAGE 0: /* Program Memory */
/* Memory (RAM/FLASH/OTP) blocks can be moved to PAGE1 for data allocation */
ZONE0 : origin = 0x004000, length = 0x001000 /* XINTF zone 0 */
RAML0 : origin = 0x008000, length = 0x001000 /* on-chip RAM block L0 */
RAML1 : origin = 0x009000, length = 0x001000 /* on-chip RAM block L1 */
RAML2 : origin = 0x00A000, length = 0x001000 /* on-chip RAM block L2 */
RAML3 : origin = 0x00B000, length = 0x001000 /* on-chip RAM block L3 */
ZONE6 : origin = 0x0100000, length = 0x100000 /* XINTF zone 6 */
ZONE7A : origin = 0x0200000, length = 0x00FC00 /* XINTF zone 7 - program space */
FLASHH : origin = 0x300000, length = 0x008000 /* on-chip FLASH */
FLASHG : origin = 0x308000, length = 0x008000 /* on-chip FLASH */
FLASHF : origin = 0x310000, length = 0x008000 /* on-chip FLASH */
FLASHE : origin = 0x318000, length = 0x008000 /* on-chip FLASH */
FLASHD : origin = 0x320000, length = 0x008000 /* on-chip FLASH */
FLASHC : origin = 0x328000, length = 0x008000 /* on-chip FLASH */
FLASHA : origin = 0x338000, length = 0x007F80 /* on-chip FLASH */
CSM_RSVD : origin = 0x33FF80, length = 0x000076 /* Part of FLASHA. Program with all 0x0000 when CSM is in use. */
BEGIN : origin = 0x33FFF6, length = 0x000002 /* Part of FLASHA. Used for "boot to Flash" bootloader mode. */
CSM_PWL : origin = 0x33FFF8, length = 0x000008 /* Part of FLASHA. CSM password locations in FLASHA */
OTP : origin = 0x380400, length = 0x000400 /* on-chip OTP */
ADC_CAL : origin = 0x380080, length = 0x000009 /* ADC_cal function in Reserved memory */
IQTABLES : origin = 0x3FE000, length = 0x000b50 /* IQ Math Tables in Boot ROM */
IQTABLES2 : origin = 0x3FEB50, length = 0x00008c /* IQ Math Tables in Boot ROM */
FPUTABLES : origin = 0x3FEBDC, length = 0x0006A0 /* FPU Tables in Boot ROM */
ROM : origin = 0x3FF27C, length = 0x000D44 /* Boot ROM */
RESET : origin = 0x3FFFC0, length = 0x000002 /* part of boot ROM */
VECTORS : origin = 0x3FFFC2, length = 0x00003E /* part of boot ROM */
PAGE 1 : /* Data Memory */
/* Memory (RAM/FLASH/OTP) blocks can be moved to PAGE0 for program allocation */
/* Registers remain on PAGE1 */
BOOT_RSVD : origin = 0x000000, length = 0x000050 /* Part of M0, BOOT rom will use this for stack */
RAMM0 : origin = 0x000050, length = 0x0003B0 /* on-chip RAM block M0 */
RAMM1 : origin = 0x000400, length = 0x000400 /* on-chip RAM block M1 */
RAML4 : origin = 0x00C000, length = 0x001000 /* on-chip RAM block L1 */
RAML5 : origin = 0x00D000, length = 0x001000 /* on-chip RAM block L1 */
RAML6 : origin = 0x00E000, length = 0x001000 /* on-chip RAM block L1 */
RAML7 : origin = 0x00F000, length = 0x001000 /* on-chip RAM block L1 */
ZONE7B : origin = 0x20FC00, length = 0x000400 /* XINTF zone 7 - data space */
FLASHB : origin = 0x330000, length = 0x008000 /* on-chip FLASH */
}
/* Allocate sections to memory blocks.
Note:
codestart user defined section in DSP28_CodeStartBranch.asm used to redirect code
execution when booting to flash
ramfuncs user defined section to store functions that will be copied from Flash into RAM
*/
SECTIONS
{
/* Allocate program areas: */
.cinit : > FLASHA PAGE = 0
.pinit : > FLASHA, PAGE = 0
.text : > FLASHA PAGE = 0
codestart : > BEGIN PAGE = 0
#ifdef __TI_COMPILER_VERSION__
#if __TI_COMPILER_VERSION__ >= 15009000
.TI.ramfunc : {} LOAD = FLASHD,
RUN = RAML0,
LOAD_START(_RamfuncsLoadStart),
LOAD_END(_RamfuncsLoadEnd),
RUN_START(_RamfuncsRunStart),
LOAD_SIZE(_RamfuncsLoadSize),
PAGE = 0
#else
ramfuncs : LOAD = FLASHD,
RUN = RAML0,
LOAD_START(_RamfuncsLoadStart),
LOAD_END(_RamfuncsLoadEnd),
RUN_START(_RamfuncsRunStart),
LOAD_SIZE(_RamfuncsLoadSize),
PAGE = 0
#endif
#endif
csmpasswds : > CSM_PWL PAGE = 0
csm_rsvd : > CSM_RSVD PAGE = 0
/* Allocate uninitalized data sections: */
.stack : > RAMM1 PAGE = 1
.ebss : > RAML4 PAGE = 1
.esysmem : > RAMM1 PAGE = 1
/* Initalized sections go in Flash */
/* For SDFlash to program these, they must be allocated to page 0 */
.econst : > FLASHA PAGE = 0
.switch : > FLASHA PAGE = 0
/* Allocate IQ math areas: */
IQmath : > FLASHC PAGE = 0 /* Math Code */
IQmathTables : > IQTABLES, PAGE = 0, TYPE = NOLOAD
/* Uncomment the section below if calling the IQNexp() or IQexp()
functions from the IQMath.lib library in order to utilize the
relevant IQ Math table in Boot ROM (This saves space and Boot ROM
is 1 wait-state). If this section is not uncommented, IQmathTables2
will be loaded into other memory (SARAM, Flash, etc.) and will take
up space, but 0 wait-state is possible.
*/
/*
IQmathTables2 : > IQTABLES2, PAGE = 0, TYPE = NOLOAD
{
IQmath.lib<IQNexpTable.obj> (IQmathTablesRam)
}
*/
FPUmathTables : > FPUTABLES, PAGE = 0, TYPE = NOLOAD
/* Allocate DMA-accessible RAM sections: */
DMARAML4 : > RAML4, PAGE = 1
DMARAML5 : > RAML5, PAGE = 1
DMARAML6 : > RAML6, PAGE = 1
DMARAML7 : > RAML7, PAGE = 1
/* Allocate 0x400 of XINTF Zone 7 to storing data */
ZONE7DATA : > ZONE7B, PAGE = 1
/* .reset is a standard section used by the compiler. It contains the */
/* the address of the start of _c_int00 for C Code. /*
/* When using the boot ROM this section and the CPU vector */
/* table is not needed. Thus the default type is set here to */
/* DSECT */
.reset : > RESET, PAGE = 0, TYPE = DSECT
vectors : > VECTORS PAGE = 0, TYPE = DSECT
/* Allocate ADC_cal function (pre-programmed by factory into TI reserved memory) */
.adc_cal : load = ADC_CAL, PAGE = 0, TYPE = NOLOAD
}
/*
//===========================================================================
// End of file.
//===========================================================================
*/

View File

@ -0,0 +1,247 @@
/*
// TI File $Revision: /main/9 $
// Checkin $Date: July 9, 2008 13:43:49 $
//###########################################################################
//
// FILE: F28334.cmd
//
// TITLE: Linker Command File For F28334 Device
//
//###########################################################################
// $TI Release: 2833x/2823x Header Files V1.32 $
// $Release Date: June 28, 2010 $
// $Copyright:
// Copyright (C) 2009-2023 Texas Instruments Incorporated - http://www.ti.com/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
//
// Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
//
// Redistributions in binary form must reproduce the above copyright
// notice, this list of conditions and the following disclaimer in the
// documentation and/or other materials provided with the
// distribution.
//
// Neither the name of Texas Instruments Incorporated nor the names of
// its contributors may be used to endorse or promote products derived
// from this software without specific prior written permission.
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
// $
//###########################################################################
*/
/* ======================================================
// For Code Composer Studio V2.2 and later
// ---------------------------------------
// In addition to this memory linker command file,
// add the header linker command file directly to the project.
// The header linker command file is required to link the
// peripheral structures to the proper locations within
// the memory map.
//
// The header linker files are found in <base>\headers\cmd
//
// For BIOS applications add: DSP2833x_Headers_BIOS.cmd
// For nonBIOS applications add: DSP2833x_Headers_nonBIOS.cmd
========================================================= */
/* ======================================================
// For Code Composer Studio prior to V2.2
// --------------------------------------
// 1) Use one of the following -l statements to include the
// header linker command file in the project. The header linker
// file is required to link the peripheral structures to the proper
// locations within the memory map */
/* Uncomment this line to include file only for non-BIOS applications */
/* -l DSP2833x_Headers_nonBIOS.cmd */
/* Uncomment this line to include file only for BIOS applications */
/* -l DSP2833x_Headers_BIOS.cmd */
/* 2) In your project add the path to <base>\headers\cmd to the
library search path under project->build options, linker tab,
library search path (-i).
/*========================================================= */
/* Define the memory block start/length for the F28334
PAGE 0 will be used to organize program sections
PAGE 1 will be used to organize data sections
Notes:
Memory blocks on F28334 are uniform (ie same
physical memory) in both PAGE 0 and PAGE 1.
That is the same memory region should not be
defined for both PAGE 0 and PAGE 1.
Doing so will result in corruption of program
and/or data.
L0/L1/L2 and L3 memory blocks are mirrored - that is
they can be accessed in high memory or low memory.
For simplicity only one instance is used in this
linker file.
Contiguous SARAM memory blocks can be combined
if required to create a larger memory block.
*/
MEMORY
{
PAGE 0: /* Program Memory */
/* Memory (RAM/FLASH/OTP) blocks can be moved to PAGE1 for data allocation */
ZONE0 : origin = 0x004000, length = 0x001000 /* XINTF zone 0 */
RAML0 : origin = 0x008000, length = 0x001000 /* on-chip RAM block L0 */
RAML1 : origin = 0x009000, length = 0x001000 /* on-chip RAM block L1 */
RAML2 : origin = 0x00A000, length = 0x001000 /* on-chip RAM block L2 */
RAML3 : origin = 0x00B000, length = 0x001000 /* on-chip RAM block L3 */
ZONE6 : origin = 0x100000, length = 0x0100000 /* XINTF zone 6 */
ZONE7A : origin = 0x200000, length = 0x000FC00 /* XINTF zone 7 - program space */
FLASHH : origin = 0x320000, length = 0x004000 /* on-chip FLASH */
FLASHG : origin = 0x324000, length = 0x004000 /* on-chip FLASH */
FLASHF : origin = 0x328000, length = 0x004000 /* on-chip FLASH */
FLASHE : origin = 0x32C000, length = 0x004000 /* on-chip FLASH */
FLASHD : origin = 0x330000, length = 0x004000 /* on-chip FLASH */
FLASHC : origin = 0x334000, length = 0x004000 /* on-chip FLASH */
FLASHA : origin = 0x33C000, length = 0x003F80 /* on-chip FLASH */
CSM_RSVD : origin = 0x33FF80, length = 0x000076 /* Part of FLASHA. Program with all 0x0000 when CSM is in use. */
BEGIN : origin = 0x33FFF6, length = 0x000002 /* Part of FLASHA. Used for "boot to Flash" bootloader mode. */
CSM_PWL : origin = 0x33FFF8, length = 0x000008 /* Part of FLASHA. CSM password locations in FLASHA */
OTP : origin = 0x380400, length = 0x000400 /* on-chip OTP */
ADC_CAL : origin = 0x380080, length = 0x000009 /* ADC_cal function in Reserved memory */
IQTABLES : origin = 0x3FE000, length = 0x000b50 /* IQ Math Tables in Boot ROM */
IQTABLES2 : origin = 0x3FEB50, length = 0x00008c /* IQ Math Tables in Boot ROM */
FPUTABLES : origin = 0x3FEBDC, length = 0x0006A0 /* FPU Tables in Boot ROM */
ROM : origin = 0x3FF27C, length = 0x000D44 /* Boot ROM */
RESET : origin = 0x3FFFC0, length = 0x000002 /* part of boot ROM */
VECTORS : origin = 0x3FFFC2, length = 0x00003E /* part of boot ROM */
PAGE 1 : /* Data Memory */
/* Memory (RAM/FLASH/OTP) blocks can be moved to PAGE0 for program allocation */
/* Registers remain on PAGE1 */
BOOT_RSVD : origin = 0x000000, length = 0x000050 /* Part of M0, BOOT rom will use this for stack */
RAMM0 : origin = 0x000050, length = 0x0003B0 /* on-chip RAM block M0 */
RAMM1 : origin = 0x000400, length = 0x000400 /* on-chip RAM block M1 */
RAML4 : origin = 0x00C000, length = 0x001000 /* on-chip RAM block L1 */
RAML5 : origin = 0x00D000, length = 0x001000 /* on-chip RAM block L1 */
RAML6 : origin = 0x00E000, length = 0x001000 /* on-chip RAM block L1 */
RAML7 : origin = 0x00F000, length = 0x001000 /* on-chip RAM block L1 */
ZONE7B : origin = 0x20FC00, length = 0x000400 /* XINTF zone 7 - data space */
FLASHB : origin = 0x338000, length = 0x004000 /* on-chip FLASH */
}
/* Allocate sections to memory blocks.
Note:
codestart user defined section in DSP28_CodeStartBranch.asm used to redirect code
execution when booting to flash
ramfuncs user defined section to store functions that will be copied from Flash into RAM
*/
SECTIONS
{
/* Allocate program areas: */
.cinit : > FLASHA PAGE = 0
.pinit : > FLASHA, PAGE = 0
.text : > FLASHA PAGE = 0
codestart : > BEGIN PAGE = 0
#ifdef __TI_COMPILER_VERSION__
#if __TI_COMPILER_VERSION__ >= 15009000
.TI.ramfunc : {} LOAD = FLASHD,
RUN = RAML0,
LOAD_START(_RamfuncsLoadStart),
LOAD_END(_RamfuncsLoadEnd),
RUN_START(_RamfuncsRunStart),
LOAD_SIZE(_RamfuncsLoadSize),
PAGE = 0
#else
ramfuncs : LOAD = FLASHD,
RUN = RAML0,
LOAD_START(_RamfuncsLoadStart),
LOAD_END(_RamfuncsLoadEnd),
RUN_START(_RamfuncsRunStart),
LOAD_SIZE(_RamfuncsLoadSize),
PAGE = 0
#endif
#endif
csmpasswds : > CSM_PWL PAGE = 0
csm_rsvd : > CSM_RSVD PAGE = 0
/* Allocate uninitalized data sections: */
.stack : > RAMM1 PAGE = 1
.ebss : > RAML4 PAGE = 1
.esysmem : > RAMM1 PAGE = 1
/* Initalized sections go in Flash */
/* For SDFlash to program these, they must be allocated to page 0 */
.econst : > FLASHA PAGE = 0
.switch : > FLASHA PAGE = 0
/* Allocate IQ math areas: */
IQmath : > FLASHC PAGE = 0 /* Math Code */
IQmathTables : > IQTABLES, PAGE = 0, TYPE = NOLOAD
/* Uncomment the section below if calling the IQNexp() or IQexp()
functions from the IQMath.lib library in order to utilize the
relevant IQ Math table in Boot ROM (This saves space and Boot ROM
is 1 wait-state). If this section is not uncommented, IQmathTables2
will be loaded into other memory (SARAM, Flash, etc.) and will take
up space, but 0 wait-state is possible.
*/
/*
IQmathTables2 : > IQTABLES2, PAGE = 0, TYPE = NOLOAD
{
IQmath.lib<IQNexpTable.obj> (IQmathTablesRam)
}
*/
FPUmathTables : > FPUTABLES, PAGE = 0, TYPE = NOLOAD
/* Allocate DMA-accessible RAM sections: */
DMARAML4 : > RAML4, PAGE = 1
DMARAML5 : > RAML5, PAGE = 1
DMARAML6 : > RAML6, PAGE = 1
DMARAML7 : > RAML7, PAGE = 1
/* Allocate 0x400 of XINTF Zone 7 to storing data */
ZONE7DATA : > ZONE7B, PAGE = 1
/* .reset is a standard section used by the compiler. It contains the */
/* the address of the start of _c_int00 for C Code. /*
/* When using the boot ROM this section and the CPU vector */
/* table is not needed. Thus the default type is set here to */
/* DSECT */
.reset : > RESET, PAGE = 0, TYPE = DSECT
vectors : > VECTORS PAGE = 0, TYPE = DSECT
/* Allocate ADC_cal function (pre-programmed by factory into TI reserved memory) */
.adc_cal : load = ADC_CAL, PAGE = 0, TYPE = NOLOAD
}
/*
//===========================================================================
// End of file.
//===========================================================================
*/

View File

@ -0,0 +1,247 @@
/*
// TI File $Revision: /main/10 $
// Checkin $Date: July 9, 2008 13:43:56 $
//###########################################################################
//
// FILE: F28335.cmd
//
// TITLE: Linker Command File For F28335 Device
//
//###########################################################################
// $TI Release: $
// $Release Date: $
// $Copyright:
// Copyright (C) 2009-2023 Texas Instruments Incorporated - http://www.ti.com/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
//
// Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
//
// Redistributions in binary form must reproduce the above copyright
// notice, this list of conditions and the following disclaimer in the
// documentation and/or other materials provided with the
// distribution.
//
// Neither the name of Texas Instruments Incorporated nor the names of
// its contributors may be used to endorse or promote products derived
// from this software without specific prior written permission.
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
// $
//###########################################################################
*/
/* ======================================================
// For Code Composer Studio V2.2 and later
// ---------------------------------------
// In addition to this memory linker command file,
// add the header linker command file directly to the project.
// The header linker command file is required to link the
// peripheral structures to the proper locations within
// the memory map.
//
// The header linker files are found in <base>\headers\cmd
//
// For BIOS applications add: DSP2833x_Headers_BIOS.cmd
// For nonBIOS applications add: DSP2833x_Headers_nonBIOS.cmd
========================================================= */
/* ======================================================
// For Code Composer Studio prior to V2.2
// --------------------------------------
// 1) Use one of the following -l statements to include the
// header linker command file in the project. The header linker
// file is required to link the peripheral structures to the proper
// locations within the memory map */
/* Uncomment this line to include file only for non-BIOS applications */
/* -l DSP2833x_Headers_nonBIOS.cmd */
/* Uncomment this line to include file only for BIOS applications */
/* -l DSP2833x_Headers_BIOS.cmd */
/* 2) In your project add the path to <base>\headers\cmd to the
library search path under project->build options, linker tab,
library search path (-i).
/*========================================================= */
/* Define the memory block start/length for the F28335
PAGE 0 will be used to organize program sections
PAGE 1 will be used to organize data sections
Notes:
Memory blocks on F28335 are uniform (ie same
physical memory) in both PAGE 0 and PAGE 1.
That is the same memory region should not be
defined for both PAGE 0 and PAGE 1.
Doing so will result in corruption of program
and/or data.
L0/L1/L2 and L3 memory blocks are mirrored - that is
they can be accessed in high memory or low memory.
For simplicity only one instance is used in this
linker file.
Contiguous SARAM memory blocks can be combined
if required to create a larger memory block.
*/
MEMORY
{
PAGE 0: /* Program Memory */
/* Memory (RAM/FLASH/OTP) blocks can be moved to PAGE1 for data allocation */
ZONE0 : origin = 0x004000, length = 0x001000 /* XINTF zone 0 */
RAML0 : origin = 0x008000, length = 0x001000 /* on-chip RAM block L0 */
RAML1 : origin = 0x009000, length = 0x001000 /* on-chip RAM block L1 */
RAML2 : origin = 0x00A000, length = 0x001000 /* on-chip RAM block L2 */
RAML3 : origin = 0x00B000, length = 0x001000 /* on-chip RAM block L3 */
ZONE6 : origin = 0x0100000, length = 0x100000 /* XINTF zone 6 */
ZONE7A : origin = 0x0200000, length = 0x00FC00 /* XINTF zone 7 - program space */
FLASHH : origin = 0x300000, length = 0x008000 /* on-chip FLASH */
FLASHG : origin = 0x308000, length = 0x008000 /* on-chip FLASH */
FLASHF : origin = 0x310000, length = 0x008000 /* on-chip FLASH */
FLASHE : origin = 0x318000, length = 0x008000 /* on-chip FLASH */
FLASHD : origin = 0x320000, length = 0x008000 /* on-chip FLASH */
FLASHC : origin = 0x328000, length = 0x008000 /* on-chip FLASH */
FLASHA : origin = 0x338000, length = 0x007F80 /* on-chip FLASH */
CSM_RSVD : origin = 0x33FF80, length = 0x000076 /* Part of FLASHA. Program with all 0x0000 when CSM is in use. */
BEGIN : origin = 0x33FFF6, length = 0x000002 /* Part of FLASHA. Used for "boot to Flash" bootloader mode. */
CSM_PWL : origin = 0x33FFF8, length = 0x000008 /* Part of FLASHA. CSM password locations in FLASHA */
OTP : origin = 0x380400, length = 0x000400 /* on-chip OTP */
ADC_CAL : origin = 0x380080, length = 0x000009 /* ADC_cal function in Reserved memory */
IQTABLES : origin = 0x3FE000, length = 0x000b50 /* IQ Math Tables in Boot ROM */
IQTABLES2 : origin = 0x3FEB50, length = 0x00008c /* IQ Math Tables in Boot ROM */
FPUTABLES : origin = 0x3FEBDC, length = 0x0006A0 /* FPU Tables in Boot ROM */
ROM : origin = 0x3FF27C, length = 0x000D44 /* Boot ROM */
RESET : origin = 0x3FFFC0, length = 0x000002 /* part of boot ROM */
VECTORS : origin = 0x3FFFC2, length = 0x00003E /* part of boot ROM */
PAGE 1 : /* Data Memory */
/* Memory (RAM/FLASH/OTP) blocks can be moved to PAGE0 for program allocation */
/* Registers remain on PAGE1 */
BOOT_RSVD : origin = 0x000000, length = 0x000050 /* Part of M0, BOOT rom will use this for stack */
RAMM0 : origin = 0x000050, length = 0x0003B0 /* on-chip RAM block M0 */
RAMM1 : origin = 0x000400, length = 0x000400 /* on-chip RAM block M1 */
RAML4 : origin = 0x00C000, length = 0x001000 /* on-chip RAM block L1 */
RAML5 : origin = 0x00D000, length = 0x001000 /* on-chip RAM block L1 */
RAML6 : origin = 0x00E000, length = 0x001000 /* on-chip RAM block L1 */
RAML7 : origin = 0x00F000, length = 0x001000 /* on-chip RAM block L1 */
ZONE7B : origin = 0x20FC00, length = 0x000400 /* XINTF zone 7 - data space */
FLASHB : origin = 0x330000, length = 0x008000 /* on-chip FLASH */
}
/* Allocate sections to memory blocks.
Note:
codestart user defined section in DSP28_CodeStartBranch.asm used to redirect code
execution when booting to flash
ramfuncs user defined section to store functions that will be copied from Flash into RAM
*/
SECTIONS
{
/* Allocate program areas: */
.cinit : > FLASHA PAGE = 0
.pinit : > FLASHA, PAGE = 0
.text : > FLASHA PAGE = 0
codestart : > BEGIN PAGE = 0
#ifdef __TI_COMPILER_VERSION__
#if __TI_COMPILER_VERSION__ >= 15009000
.TI.ramfunc : {} LOAD = FLASHD,
RUN = RAML0,
LOAD_START(_RamfuncsLoadStart),
LOAD_END(_RamfuncsLoadEnd),
RUN_START(_RamfuncsRunStart),
LOAD_SIZE(_RamfuncsLoadSize),
PAGE = 0
#else
ramfuncs : LOAD = FLASHD,
RUN = RAML0,
LOAD_START(_RamfuncsLoadStart),
LOAD_END(_RamfuncsLoadEnd),
RUN_START(_RamfuncsRunStart),
LOAD_SIZE(_RamfuncsLoadSize),
PAGE = 0
#endif
#endif
csmpasswds : > CSM_PWL PAGE = 0
csm_rsvd : > CSM_RSVD PAGE = 0
/* Allocate uninitalized data sections: */
.stack : > RAMM1 PAGE = 1
.ebss : > RAML4 PAGE = 1
.esysmem : > RAMM1 PAGE = 1
/* Initalized sections go in Flash */
/* For SDFlash to program these, they must be allocated to page 0 */
.econst : > FLASHA PAGE = 0
.switch : > FLASHA PAGE = 0
/* Allocate IQ math areas: */
IQmath : > FLASHC PAGE = 0 /* Math Code */
IQmathTables : > IQTABLES, PAGE = 0, TYPE = NOLOAD
/* Uncomment the section below if calling the IQNexp() or IQexp()
functions from the IQMath.lib library in order to utilize the
relevant IQ Math table in Boot ROM (This saves space and Boot ROM
is 1 wait-state). If this section is not uncommented, IQmathTables2
will be loaded into other memory (SARAM, Flash, etc.) and will take
up space, but 0 wait-state is possible.
*/
/*
IQmathTables2 : > IQTABLES2, PAGE = 0, TYPE = NOLOAD
{
IQmath.lib<IQNexpTable.obj> (IQmathTablesRam)
}
*/
FPUmathTables : > FPUTABLES, PAGE = 0, TYPE = NOLOAD
/* Allocate DMA-accessible RAM sections: */
DMARAML4 : > RAML4, PAGE = 1
DMARAML5 : > RAML5, PAGE = 1
DMARAML6 : > RAML6, PAGE = 1
DMARAML7 : > RAML7, PAGE = 1
/* Allocate 0x400 of XINTF Zone 7 to storing data */
ZONE7DATA : > ZONE7B, PAGE = 1
/* .reset is a standard section used by the compiler. It contains the */
/* the address of the start of _c_int00 for C Code. /*
/* When using the boot ROM this section and the CPU vector */
/* table is not needed. Thus the default type is set here to */
/* DSECT */
.reset : > RESET, PAGE = 0, TYPE = DSECT
vectors : > VECTORS PAGE = 0, TYPE = DSECT
/* Allocate ADC_cal function (pre-programmed by factory into TI reserved memory) */
.adc_cal : load = ADC_CAL, PAGE = 0, TYPE = NOLOAD
}
/*
//===========================================================================
// End of file.
//===========================================================================
*/

View File

@ -0,0 +1,206 @@
// TI File $Revision: /main/1 $
// Checkin $Date: August 18, 2006 13:45:37 $
//###########################################################################
//
// FILE: DSP2833x_DefaultIsr.h
//
// TITLE: DSP2833x Devices Default Interrupt Service Routines Definitions.
//
//###########################################################################
// $TI Release: $
// $Release Date: $
// $Copyright:
// Copyright (C) 2009-2023 Texas Instruments Incorporated - http://www.ti.com/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
// are met:
//
// Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
//
// Redistributions in binary form must reproduce the above copyright
// notice, this list of conditions and the following disclaimer in the
// documentation and/or other materials provided with the
// distribution.
//
// Neither the name of Texas Instruments Incorporated nor the names of
// its contributors may be used to endorse or promote products derived
// from this software without specific prior written permission.
//
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
// "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
// $
//###########################################################################
#ifndef DSP2833x_DEFAULT_ISR_H
#define DSP2833x_DEFAULT_ISR_H
#ifdef __cplusplus
extern "C" {
#endif
//
// Default Interrupt Service Routine Declarations:
//
// The following function prototypes are for the
// default ISR routines used with the default PIE vector table.
// This default vector table is found in the DSP2833x_PieVect.h
// file.
//
//
// Non-Peripheral Interrupts
//
interrupt void INT13_ISR(void); // XINT13 or CPU-Timer 1
interrupt void INT14_ISR(void); // CPU-Timer2
interrupt void DATALOG_ISR(void); // Datalogging interrupt
interrupt void RTOSINT_ISR(void); // RTOS interrupt
interrupt void EMUINT_ISR(void); // Emulation interrupt
interrupt void NMI_ISR(void); // Non-maskable interrupt
interrupt void ILLEGAL_ISR(void); // Illegal operation TRAP
interrupt void USER1_ISR(void); // User Defined trap 1
interrupt void USER2_ISR(void); // User Defined trap 2
interrupt void USER3_ISR(void); // User Defined trap 3
interrupt void USER4_ISR(void); // User Defined trap 4
interrupt void USER5_ISR(void); // User Defined trap 5
interrupt void USER6_ISR(void); // User Defined trap 6
interrupt void USER7_ISR(void); // User Defined trap 7
interrupt void USER8_ISR(void); // User Defined trap 8
interrupt void USER9_ISR(void); // User Defined trap 9
interrupt void USER10_ISR(void); // User Defined trap 10
interrupt void USER11_ISR(void); // User Defined trap 11
interrupt void USER12_ISR(void); // User Defined trap 12
//
// Group 1 PIE Interrupt Service Routines
//
interrupt void SEQ1INT_ISR(void); // ADC Sequencer 1 ISR
interrupt void SEQ2INT_ISR(void); // ADC Sequencer 2 ISR
interrupt void XINT1_ISR(void); // External interrupt 1
interrupt void XINT2_ISR(void); // External interrupt 2
interrupt void ADCINT_ISR(void); // ADC
interrupt void TINT0_ISR(void); // Timer 0
interrupt void WAKEINT_ISR(void); // WD
//
// Group 2 PIE Interrupt Service Routines
//
interrupt void EPWM1_TZINT_ISR(void); // EPWM-1
interrupt void EPWM2_TZINT_ISR(void); // EPWM-2
interrupt void EPWM3_TZINT_ISR(void); // EPWM-3
interrupt void EPWM4_TZINT_ISR(void); // EPWM-4
interrupt void EPWM5_TZINT_ISR(void); // EPWM-5
interrupt void EPWM6_TZINT_ISR(void); // EPWM-6
//
// Group 3 PIE Interrupt Service Routines
//
interrupt void EPWM1_INT_ISR(void); // EPWM-1
interrupt void EPWM2_INT_ISR(void); // EPWM-2
interrupt void EPWM3_INT_ISR(void); // EPWM-3
interrupt void EPWM4_INT_ISR(void); // EPWM-4
interrupt void EPWM5_INT_ISR(void); // EPWM-5
interrupt void EPWM6_INT_ISR(void); // EPWM-6
//
// Group 4 PIE Interrupt Service Routines
//
interrupt void ECAP1_INT_ISR(void); // ECAP-1
interrupt void ECAP2_INT_ISR(void); // ECAP-2
interrupt void ECAP3_INT_ISR(void); // ECAP-3
interrupt void ECAP4_INT_ISR(void); // ECAP-4
interrupt void ECAP5_INT_ISR(void); // ECAP-5
interrupt void ECAP6_INT_ISR(void); // ECAP-6
//
// Group 5 PIE Interrupt Service Routines
//
interrupt void EQEP1_INT_ISR(void); // EQEP-1
interrupt void EQEP2_INT_ISR(void); // EQEP-2
//
// Group 6 PIE Interrupt Service Routines
//
interrupt void SPIRXINTA_ISR(void); // SPI-A
interrupt void SPITXINTA_ISR(void); // SPI-A
interrupt void MRINTA_ISR(void); // McBSP-A
interrupt void MXINTA_ISR(void); // McBSP-A
interrupt void MRINTB_ISR(void); // McBSP-B
interrupt void MXINTB_ISR(void); // McBSP-B
//
// Group 7 PIE Interrupt Service Routines
//
interrupt void DINTCH1_ISR(void); // DMA-Channel 1
interrupt void DINTCH2_ISR(void); // DMA-Channel 2
interrupt void DINTCH3_ISR(void); // DMA-Channel 3
interrupt void DINTCH4_ISR(void); // DMA-Channel 4
interrupt void DINTCH5_ISR(void); // DMA-Channel 5
interrupt void DINTCH6_ISR(void); // DMA-Channel 6
//
// Group 8 PIE Interrupt Service Routines
//
interrupt void I2CINT1A_ISR(void); // I2C-A
interrupt void I2CINT2A_ISR(void); // I2C-A
interrupt void SCIRXINTC_ISR(void); // SCI-C
interrupt void SCITXINTC_ISR(void); // SCI-C
//
// Group 9 PIE Interrupt Service Routines
//
interrupt void SCIRXINTA_ISR(void); // SCI-A
interrupt void SCITXINTA_ISR(void); // SCI-A
interrupt void SCIRXINTB_ISR(void); // SCI-B
interrupt void SCITXINTB_ISR(void); // SCI-B
interrupt void ECAN0INTA_ISR(void); // eCAN-A
interrupt void ECAN1INTA_ISR(void); // eCAN-A
interrupt void ECAN0INTB_ISR(void); // eCAN-B
interrupt void ECAN1INTB_ISR(void); // eCAN-B
//
// Group 10 PIE Interrupt Service Routines
//
//
// Group 11 PIE Interrupt Service Routines
//
//
// Group 12 PIE Interrupt Service Routines
//
interrupt void XINT3_ISR(void); // External interrupt 3
interrupt void XINT4_ISR(void); // External interrupt 4
interrupt void XINT5_ISR(void); // External interrupt 5
interrupt void XINT6_ISR(void); // External interrupt 6
interrupt void XINT7_ISR(void); // External interrupt 7
interrupt void LVF_ISR(void); // Latched overflow flag
interrupt void LUF_ISR(void); // Latched underflow flag
//
// Catch-all for Reserved Locations For testing purposes
//
interrupt void PIE_RESERVED(void); // Reserved for test
interrupt void rsvd_ISR(void); // for test
interrupt void INT_NOTUSED_ISR(void); // for unused interrupts
#ifdef __cplusplus
}
#endif /* extern "C" */
#endif // end of DSP2833x_DEFAULT_ISR_H definition
//
// End of file
//

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