parent
6b3ea217e0
commit
e5843fae56
@ -1,123 +0,0 @@
|
||||
<?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="cdt.managedbuild.config.gnu.mingw.exe.debug.37615557">
|
||||
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="cdt.managedbuild.config.gnu.mingw.exe.debug.37615557" moduleId="org.eclipse.cdt.core.settings" name="Debug">
|
||||
<externalSettings/>
|
||||
<extensions>
|
||||
<extension id="org.eclipse.cdt.core.PE" 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="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
</extensions>
|
||||
</storageModule>
|
||||
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
|
||||
<configuration artifactName="${ProjName}" buildArtefactType="org.eclipse.cdt.build.core.buildArtefactType.exe" buildProperties="org.eclipse.cdt.build.core.buildArtefactType=org.eclipse.cdt.build.core.buildArtefactType.exe,org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.debug" cleanCommand="rm -rf" description="" id="cdt.managedbuild.config.gnu.mingw.exe.debug.37615557" name="Debug" parent="cdt.managedbuild.config.gnu.mingw.exe.debug">
|
||||
<folderInfo id="cdt.managedbuild.config.gnu.mingw.exe.debug.37615557." name="/" resourcePath="">
|
||||
<toolChain id="cdt.managedbuild.toolchain.gnu.mingw.exe.debug.1187644489" name="MinGW GCC" superClass="cdt.managedbuild.toolchain.gnu.mingw.exe.debug">
|
||||
<targetPlatform id="cdt.managedbuild.target.gnu.platform.mingw.exe.debug.1224900573" name="Debug Platform" superClass="cdt.managedbuild.target.gnu.platform.mingw.exe.debug"/>
|
||||
<builder buildPath="${workspace_loc:/init}/Debug" id="cdt.managedbuild.tool.gnu.builder.mingw.base.1972952659" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="CDT Internal Builder" superClass="cdt.managedbuild.tool.gnu.builder.mingw.base"/>
|
||||
<tool id="cdt.managedbuild.tool.gnu.assembler.mingw.exe.debug.719457647" name="GCC Assembler" superClass="cdt.managedbuild.tool.gnu.assembler.mingw.exe.debug">
|
||||
<inputType id="cdt.managedbuild.tool.gnu.assembler.input.2108219427" superClass="cdt.managedbuild.tool.gnu.assembler.input"/>
|
||||
</tool>
|
||||
<tool id="cdt.managedbuild.tool.gnu.archiver.mingw.base.1038871772" name="GCC Archiver" superClass="cdt.managedbuild.tool.gnu.archiver.mingw.base"/>
|
||||
<tool id="cdt.managedbuild.tool.gnu.cpp.compiler.mingw.exe.debug.296737746" name="GCC C++ Compiler" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.mingw.exe.debug">
|
||||
<option id="gnu.cpp.compiler.mingw.exe.debug.option.optimization.level.1917686395" name="Optimization Level" superClass="gnu.cpp.compiler.mingw.exe.debug.option.optimization.level" useByScannerDiscovery="false" value="gnu.cpp.compiler.optimization.level.none" valueType="enumerated"/>
|
||||
<option id="gnu.cpp.compiler.mingw.exe.debug.option.debugging.level.1748810377" name="Debug Level" superClass="gnu.cpp.compiler.mingw.exe.debug.option.debugging.level" useByScannerDiscovery="false" value="gnu.cpp.compiler.debugging.level.max" valueType="enumerated"/>
|
||||
</tool>
|
||||
<tool id="cdt.managedbuild.tool.gnu.c.compiler.mingw.exe.debug.1946520579" name="GCC C Compiler" superClass="cdt.managedbuild.tool.gnu.c.compiler.mingw.exe.debug">
|
||||
<option defaultValue="gnu.c.optimization.level.none" id="gnu.c.compiler.mingw.exe.debug.option.optimization.level.1244319535" name="Optimization Level" superClass="gnu.c.compiler.mingw.exe.debug.option.optimization.level" useByScannerDiscovery="false" valueType="enumerated"/>
|
||||
<option id="gnu.c.compiler.mingw.exe.debug.option.debugging.level.1544637377" name="Debug Level" superClass="gnu.c.compiler.mingw.exe.debug.option.debugging.level" useByScannerDiscovery="false" value="gnu.c.debugging.level.max" valueType="enumerated"/>
|
||||
<option id="gnu.c.compiler.option.include.paths.644153206" name="Include paths (-I)" superClass="gnu.c.compiler.option.include.paths" useByScannerDiscovery="false" valueType="includePath">
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/ax5043}""/>
|
||||
</option>
|
||||
<option id="gnu.c.compiler.option.warnings.extrawarn.537057540" name="Extra warnings (-Wextra)" superClass="gnu.c.compiler.option.warnings.extrawarn" useByScannerDiscovery="false" value="true" valueType="boolean"/>
|
||||
<option id="gnu.c.compiler.option.warnings.pedantic.482160004" name="Pedantic (-pedantic)" superClass="gnu.c.compiler.option.warnings.pedantic" useByScannerDiscovery="false" value="true" valueType="boolean"/>
|
||||
<option id="gnu.c.compiler.option.warnings.wconversion.727631077" superClass="gnu.c.compiler.option.warnings.wconversion" useByScannerDiscovery="false" value="true" valueType="boolean"/>
|
||||
<inputType id="cdt.managedbuild.tool.gnu.c.compiler.input.1794187139" superClass="cdt.managedbuild.tool.gnu.c.compiler.input"/>
|
||||
</tool>
|
||||
<tool id="cdt.managedbuild.tool.gnu.c.linker.mingw.exe.debug.1204448902" name="MinGW C Linker" superClass="cdt.managedbuild.tool.gnu.c.linker.mingw.exe.debug">
|
||||
<option id="gnu.c.link.option.libs.1199303341" name="Libraries (-l)" superClass="gnu.c.link.option.libs" useByScannerDiscovery="false" valueType="libs">
|
||||
<listOptionValue builtIn="false" value="ax5043"/>
|
||||
</option>
|
||||
<option id="gnu.c.link.option.paths.1527706542" name="Library search path (-L)" superClass="gnu.c.link.option.paths" useByScannerDiscovery="false" valueType="libPaths">
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/ax5043/Debug}""/>
|
||||
</option>
|
||||
<inputType id="cdt.managedbuild.tool.gnu.c.linker.input.1168112220" superClass="cdt.managedbuild.tool.gnu.c.linker.input">
|
||||
<additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/>
|
||||
<additionalInput kind="additionalinput" paths="$(LIBS)"/>
|
||||
</inputType>
|
||||
</tool>
|
||||
<tool id="cdt.managedbuild.tool.gnu.cpp.linker.mingw.exe.debug.836423271" name="MinGW C++ Linker" superClass="cdt.managedbuild.tool.gnu.cpp.linker.mingw.exe.debug"/>
|
||||
</toolChain>
|
||||
</folderInfo>
|
||||
</configuration>
|
||||
</storageModule>
|
||||
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
|
||||
</cconfiguration>
|
||||
<cconfiguration id="cdt.managedbuild.config.gnu.mingw.exe.release.1807325075">
|
||||
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="cdt.managedbuild.config.gnu.mingw.exe.release.1807325075" moduleId="org.eclipse.cdt.core.settings" name="Release">
|
||||
<externalSettings/>
|
||||
<extensions>
|
||||
<extension id="org.eclipse.cdt.core.PE" 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="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
</extensions>
|
||||
</storageModule>
|
||||
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
|
||||
<configuration artifactName="${ProjName}" buildArtefactType="org.eclipse.cdt.build.core.buildArtefactType.exe" buildProperties="org.eclipse.cdt.build.core.buildArtefactType=org.eclipse.cdt.build.core.buildArtefactType.exe,org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.release" cleanCommand="rm -rf" description="" id="cdt.managedbuild.config.gnu.mingw.exe.release.1807325075" name="Release" parent="cdt.managedbuild.config.gnu.mingw.exe.release">
|
||||
<folderInfo id="cdt.managedbuild.config.gnu.mingw.exe.release.1807325075." name="/" resourcePath="">
|
||||
<toolChain id="cdt.managedbuild.toolchain.gnu.mingw.exe.release.820581127" name="MinGW GCC" superClass="cdt.managedbuild.toolchain.gnu.mingw.exe.release">
|
||||
<targetPlatform id="cdt.managedbuild.target.gnu.platform.mingw.exe.release.867544041" name="Debug Platform" superClass="cdt.managedbuild.target.gnu.platform.mingw.exe.release"/>
|
||||
<builder buildPath="${workspace_loc:/init}/Release" id="cdt.managedbuild.tool.gnu.builder.mingw.base.2124140547" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="CDT Internal Builder" superClass="cdt.managedbuild.tool.gnu.builder.mingw.base"/>
|
||||
<tool id="cdt.managedbuild.tool.gnu.assembler.mingw.exe.release.1395550553" name="GCC Assembler" superClass="cdt.managedbuild.tool.gnu.assembler.mingw.exe.release">
|
||||
<inputType id="cdt.managedbuild.tool.gnu.assembler.input.1999708616" superClass="cdt.managedbuild.tool.gnu.assembler.input"/>
|
||||
</tool>
|
||||
<tool id="cdt.managedbuild.tool.gnu.archiver.mingw.base.1485281640" name="GCC Archiver" superClass="cdt.managedbuild.tool.gnu.archiver.mingw.base"/>
|
||||
<tool id="cdt.managedbuild.tool.gnu.cpp.compiler.mingw.exe.release.1615983146" name="GCC C++ Compiler" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.mingw.exe.release">
|
||||
<option id="gnu.cpp.compiler.mingw.exe.release.option.optimization.level.1999378452" name="Optimization Level" superClass="gnu.cpp.compiler.mingw.exe.release.option.optimization.level" useByScannerDiscovery="false" value="gnu.cpp.compiler.optimization.level.most" valueType="enumerated"/>
|
||||
<option id="gnu.cpp.compiler.mingw.exe.release.option.debugging.level.289960585" name="Debug Level" superClass="gnu.cpp.compiler.mingw.exe.release.option.debugging.level" useByScannerDiscovery="false" value="gnu.cpp.compiler.debugging.level.none" valueType="enumerated"/>
|
||||
</tool>
|
||||
<tool id="cdt.managedbuild.tool.gnu.c.compiler.mingw.exe.release.749337375" name="GCC C Compiler" superClass="cdt.managedbuild.tool.gnu.c.compiler.mingw.exe.release">
|
||||
<option defaultValue="gnu.c.optimization.level.most" id="gnu.c.compiler.mingw.exe.release.option.optimization.level.703171899" name="Optimization Level" superClass="gnu.c.compiler.mingw.exe.release.option.optimization.level" useByScannerDiscovery="false" valueType="enumerated"/>
|
||||
<option id="gnu.c.compiler.mingw.exe.release.option.debugging.level.2022477628" name="Debug Level" superClass="gnu.c.compiler.mingw.exe.release.option.debugging.level" useByScannerDiscovery="false" value="gnu.c.debugging.level.none" valueType="enumerated"/>
|
||||
<inputType id="cdt.managedbuild.tool.gnu.c.compiler.input.1553090057" superClass="cdt.managedbuild.tool.gnu.c.compiler.input"/>
|
||||
</tool>
|
||||
<tool id="cdt.managedbuild.tool.gnu.c.linker.mingw.exe.release.1560602491" name="MinGW C Linker" superClass="cdt.managedbuild.tool.gnu.c.linker.mingw.exe.release">
|
||||
<inputType id="cdt.managedbuild.tool.gnu.c.linker.input.1849674853" superClass="cdt.managedbuild.tool.gnu.c.linker.input">
|
||||
<additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/>
|
||||
<additionalInput kind="additionalinput" paths="$(LIBS)"/>
|
||||
</inputType>
|
||||
</tool>
|
||||
<tool id="cdt.managedbuild.tool.gnu.cpp.linker.mingw.exe.release.761256833" name="MinGW C++ Linker" superClass="cdt.managedbuild.tool.gnu.cpp.linker.mingw.exe.release"/>
|
||||
</toolChain>
|
||||
</folderInfo>
|
||||
</configuration>
|
||||
</storageModule>
|
||||
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
|
||||
</cconfiguration>
|
||||
</storageModule>
|
||||
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
|
||||
<project id="init.cdt.managedbuild.target.gnu.mingw.exe.934045702" name="Executable" projectType="cdt.managedbuild.target.gnu.mingw.exe"/>
|
||||
</storageModule>
|
||||
<storageModule moduleId="scannerConfiguration">
|
||||
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>
|
||||
<scannerConfigBuildInfo instanceId="cdt.managedbuild.config.gnu.mingw.exe.debug.37615557;cdt.managedbuild.config.gnu.mingw.exe.debug.37615557.;cdt.managedbuild.tool.gnu.c.compiler.mingw.exe.debug.1946520579;cdt.managedbuild.tool.gnu.c.compiler.input.1794187139">
|
||||
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>
|
||||
</scannerConfigBuildInfo>
|
||||
<scannerConfigBuildInfo instanceId="cdt.managedbuild.config.gnu.mingw.exe.release.1807325075;cdt.managedbuild.config.gnu.mingw.exe.release.1807325075.;cdt.managedbuild.tool.gnu.c.compiler.mingw.exe.release.749337375;cdt.managedbuild.tool.gnu.c.compiler.input.1553090057">
|
||||
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>
|
||||
</scannerConfigBuildInfo>
|
||||
</storageModule>
|
||||
<storageModule moduleId="org.eclipse.cdt.core.LanguageSettingsProviders"/>
|
||||
<storageModule moduleId="refreshScope" versionNumber="2">
|
||||
<configuration configurationName="Debug">
|
||||
<resource resourceType="PROJECT" workspacePath="/init"/>
|
||||
</configuration>
|
||||
<configuration configurationName="Release">
|
||||
<resource resourceType="PROJECT" workspacePath="/init"/>
|
||||
</configuration>
|
||||
</storageModule>
|
||||
<storageModule moduleId="org.eclipse.cdt.make.core.buildtargets"/>
|
||||
</cproject>
|
||||
@ -1 +0,0 @@
|
||||
/Debug/
|
||||
@ -1,26 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<projectDescription>
|
||||
<name>init</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.managedbuilder.core.managedBuildNature</nature>
|
||||
<nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature>
|
||||
</natures>
|
||||
</projectDescription>
|
||||
@ -1,25 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<project>
|
||||
<configuration id="cdt.managedbuild.config.gnu.mingw.exe.debug.37615557" name="Debug">
|
||||
<extension point="org.eclipse.cdt.core.LanguageSettingsProvider">
|
||||
<provider copy-of="extension" id="org.eclipse.cdt.ui.UserLanguageSettingsProvider"/>
|
||||
<provider-reference id="org.eclipse.cdt.core.ReferencedProjectsLanguageSettingsProvider" ref="shared-provider"/>
|
||||
<provider-reference id="org.eclipse.cdt.managedbuilder.core.MBSLanguageSettingsProvider" ref="shared-provider"/>
|
||||
<provider class="org.eclipse.cdt.managedbuilder.internal.language.settings.providers.GCCBuiltinSpecsDetectorMinGW" console="false" env-hash="1896922210155201054" id="org.eclipse.cdt.managedbuilder.core.GCCBuiltinSpecsDetectorMinGW" keep-relative-paths="false" name="CDT GCC Built-in Compiler Settings MinGW" parameter="${COMMAND} ${FLAGS} -E -P -v -dD "${INPUTS}"" prefer-non-shared="true">
|
||||
<language-scope id="org.eclipse.cdt.core.gcc"/>
|
||||
<language-scope id="org.eclipse.cdt.core.g++"/>
|
||||
</provider>
|
||||
</extension>
|
||||
</configuration>
|
||||
<configuration id="cdt.managedbuild.config.gnu.mingw.exe.release.1807325075" name="Release">
|
||||
<extension point="org.eclipse.cdt.core.LanguageSettingsProvider">
|
||||
<provider copy-of="extension" id="org.eclipse.cdt.ui.UserLanguageSettingsProvider"/>
|
||||
<provider-reference id="org.eclipse.cdt.core.ReferencedProjectsLanguageSettingsProvider" ref="shared-provider"/>
|
||||
<provider-reference id="org.eclipse.cdt.managedbuilder.core.MBSLanguageSettingsProvider" ref="shared-provider"/>
|
||||
<provider class="org.eclipse.cdt.managedbuilder.internal.language.settings.providers.GCCBuiltinSpecsDetectorMinGW" console="false" env-hash="1896922210155201054" id="org.eclipse.cdt.managedbuilder.core.GCCBuiltinSpecsDetectorMinGW" keep-relative-paths="false" name="CDT GCC Built-in Compiler Settings MinGW" parameter="${COMMAND} ${FLAGS} -E -P -v -dD "${INPUTS}"" prefer-non-shared="true">
|
||||
<language-scope id="org.eclipse.cdt.core.gcc"/>
|
||||
<language-scope id="org.eclipse.cdt.core.g++"/>
|
||||
</provider>
|
||||
</extension>
|
||||
</configuration>
|
||||
</project>
|
||||
@ -1,11 +0,0 @@
|
||||
eclipse.preferences.version=1
|
||||
environment/buildEnvironmentInclude/cdt.managedbuild.config.gnu.mingw.exe.debug.37615557/CPATH/delimiter=;
|
||||
environment/buildEnvironmentInclude/cdt.managedbuild.config.gnu.mingw.exe.debug.37615557/CPATH/operation=remove
|
||||
environment/buildEnvironmentInclude/cdt.managedbuild.config.gnu.mingw.exe.debug.37615557/C_INCLUDE_PATH/delimiter=;
|
||||
environment/buildEnvironmentInclude/cdt.managedbuild.config.gnu.mingw.exe.debug.37615557/C_INCLUDE_PATH/operation=remove
|
||||
environment/buildEnvironmentInclude/cdt.managedbuild.config.gnu.mingw.exe.debug.37615557/append=true
|
||||
environment/buildEnvironmentInclude/cdt.managedbuild.config.gnu.mingw.exe.debug.37615557/appendContributed=true
|
||||
environment/buildEnvironmentLibrary/cdt.managedbuild.config.gnu.mingw.exe.debug.37615557/LIBRARY_PATH/delimiter=;
|
||||
environment/buildEnvironmentLibrary/cdt.managedbuild.config.gnu.mingw.exe.debug.37615557/LIBRARY_PATH/operation=remove
|
||||
environment/buildEnvironmentLibrary/cdt.managedbuild.config.gnu.mingw.exe.debug.37615557/append=true
|
||||
environment/buildEnvironmentLibrary/cdt.managedbuild.config.gnu.mingw.exe.debug.37615557/appendContributed=true
|
||||
@ -1,81 +0,0 @@
|
||||
// Copyright (c) 2018 Brandenburg Tech, LLC
|
||||
// All right reserved.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY BRANDENBURG TECH, LLC 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 BRANDENBURT TECH, LLC
|
||||
// AND 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.
|
||||
//
|
||||
// Copyright (c) 2007,2008,2009,2010,2011,2012,2013, 2014 AXSEM AG
|
||||
// All rights reserved.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
// modification, are permitted provided that the following conditions are met:
|
||||
//
|
||||
// 1.Redistributions of source code must retain the above copyright
|
||||
// notice, this list of conditions and the following disclaimer.
|
||||
// 2.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.
|
||||
// 3.Neither the name of AXSEM AG, Duebendorf nor the
|
||||
// names of its contributors may be used to endorse or promote products
|
||||
// derived from this software without specific prior written permission.
|
||||
// 4.All advertising materials mentioning features or use of this software
|
||||
// must display the following acknowledgement:
|
||||
// This product includes software developed by AXSEM AG and its contributors.
|
||||
// 5.The usage of this source code is only granted for operation with AX5043
|
||||
// and AX8052F143. Porting to other radio or communication devices is
|
||||
// strictly prohibited.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY AXSEM AG 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 AXSEM AG AND 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.
|
||||
|
||||
#include <axradio/axradioinit.h>
|
||||
#include <axradio/axradioinit_p.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <stdint.h>
|
||||
#include <unistd.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "spi/ax5043spi.h"
|
||||
|
||||
int main(void)
|
||||
{
|
||||
uint8_t retVal;
|
||||
|
||||
setSpiChannel(SPI_CHANNEL);
|
||||
setSpiSpeed(SPI_SPEED);
|
||||
initializeSpi();
|
||||
|
||||
retVal = axradio_init();
|
||||
if (retVal == AXRADIO_ERR_NOCHIP) {
|
||||
fprintf(stderr, "ERROR: No AX5043 RF chip found\n");
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
if (retVal != AXRADIO_ERR_NOERROR) {
|
||||
fprintf(stderr, "ERROR: Unable to initialize AX5043\n");
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
|
||||
printf("INFO: Found and initialized AX5043\n");
|
||||
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@ -1,94 +0,0 @@
|
||||
<Qucs Schematic 0.0.19>
|
||||
<Properties>
|
||||
<View=0,-136,1905,753,1,0,0>
|
||||
<Grid=10,10,1>
|
||||
<DataSet=Balun.dat>
|
||||
<DataDisplay=Balun.dpl>
|
||||
<OpenDisplay=0>
|
||||
<Script=Balun.m>
|
||||
<RunScript=0>
|
||||
<showFrame=0>
|
||||
<FrameText0=Title>
|
||||
<FrameText1=Drawn By:>
|
||||
<FrameText2=Date:>
|
||||
<FrameText3=Revision:>
|
||||
</Properties>
|
||||
<Symbol>
|
||||
</Symbol>
|
||||
<Components>
|
||||
<.SP SP1 1 80 -90 0 79 0 0 "lin" 1 "10 MHz" 1 "1300 MHz" 1 "10001" 1 "no" 0 "1" 0 "2" 0 "no" 0 "no" 0>
|
||||
<L LB1 1 1090 320 -26 10 0 0 "68 nH" 1 "" 0>
|
||||
<L LT1 1 790 320 -26 10 0 0 "120 nH" 1 "" 0>
|
||||
<L LC1 1 460 250 10 -26 0 1 "150 nH" 1 "" 0>
|
||||
<GND * 1 460 200 0 0 0 2>
|
||||
<GND * 1 860 200 0 0 0 2>
|
||||
<L LB2 1 960 530 10 -26 0 1 "68 nH" 1 "" 0>
|
||||
<L LT2 1 790 460 -26 10 0 0 "120 nH" 1 "" 0>
|
||||
<L LC2 1 460 530 10 -26 0 1 "150 nH" 1 "" 0>
|
||||
<GND * 1 460 580 0 0 0 0>
|
||||
<GND * 1 960 580 0 0 0 0>
|
||||
<sTr Tr1 1 330 390 -29 -135 0 2 "0.5" 1 "0.5" 1>
|
||||
<GND * 1 400 400 0 0 0 0>
|
||||
<GND * 1 300 460 0 0 0 0>
|
||||
<GND * 1 1320 320 0 0 0 1>
|
||||
<GND * 1 160 360 0 0 0 3>
|
||||
<Pac P2 1 1250 320 -26 -75 0 2 "2" 1 "50 Ohm" 1 "0 dBm" 0 "1 GHz" 0 "26.85" 0>
|
||||
<Pac P1 1 230 360 -26 18 0 0 "1" 1 "100 Ohm" 1 "0 dBm" 0 "1 GHz" 0 "26.85" 0>
|
||||
<C CC1 1 560 250 17 -26 0 1 "10 pF" 1 "" 0 "neutral" 0>
|
||||
<C CC2 1 560 530 17 -26 0 1 "10 pF" 1 "" 0 "neutral" 0>
|
||||
<C CT1 1 690 320 -26 17 0 0 "10 pF" 1 "" 0 "neutral" 0>
|
||||
<C CT2 1 690 460 -26 17 0 0 "10 pF" 1 "" 0 "neutral" 0>
|
||||
<C CM1 1 860 250 17 -26 0 1 "12 pF" 1 "" 0 "neutral" 0>
|
||||
<C CB2 1 1090 460 -26 17 0 0 "12 pF" 1 "" 0 "neutral" 0>
|
||||
<Eqn Eqn1 1 300 -80 -30 16 0 0 "S21=dB(S[2,1])" 1 "S11=dB(S[1,1])" 1 "yes" 0>
|
||||
</Components>
|
||||
<Wires>
|
||||
<820 320 860 320 "" 0 0 0 "">
|
||||
<860 320 1060 320 "" 0 0 0 "">
|
||||
<860 280 860 320 "" 0 0 0 "">
|
||||
<860 200 860 220 "" 0 0 0 "">
|
||||
<720 320 760 320 "" 0 0 0 "">
|
||||
<560 320 660 320 "" 0 0 0 "">
|
||||
<560 280 560 320 "" 0 0 0 "">
|
||||
<360 320 460 320 "" 0 0 0 "">
|
||||
<460 320 560 320 "" 0 0 0 "">
|
||||
<460 280 460 320 "" 0 0 0 "">
|
||||
<460 220 560 220 "" 0 0 0 "">
|
||||
<460 200 460 220 "" 0 0 0 "">
|
||||
<1120 320 1160 320 "" 0 0 0 "">
|
||||
<1160 320 1220 320 "" 0 0 0 "">
|
||||
<1160 320 1160 460 "" 0 0 0 "">
|
||||
<720 460 760 460 "" 0 0 0 "">
|
||||
<820 460 860 460 "" 0 0 0 "">
|
||||
<860 460 860 500 "" 0 0 0 "">
|
||||
<860 460 960 460 "" 0 0 0 "">
|
||||
<960 460 1060 460 "" 0 0 0 "">
|
||||
<960 460 960 500 "" 0 0 0 "">
|
||||
<860 560 960 560 "" 0 0 0 "">
|
||||
<960 560 960 580 "" 0 0 0 "">
|
||||
<360 460 460 460 "" 0 0 0 "">
|
||||
<460 460 460 500 "" 0 0 0 "">
|
||||
<460 460 560 460 "" 0 0 0 "">
|
||||
<560 460 660 460 "" 0 0 0 "">
|
||||
<560 460 560 500 "" 0 0 0 "">
|
||||
<460 560 560 560 "" 0 0 0 "">
|
||||
<460 560 460 580 "" 0 0 0 "">
|
||||
<1120 460 1160 460 "" 0 0 0 "">
|
||||
<360 380 400 380 "" 0 0 0 "">
|
||||
<400 380 400 400 "" 0 0 0 "">
|
||||
<360 400 400 400 "" 0 0 0 "">
|
||||
<300 420 300 460 "" 0 0 0 "">
|
||||
<1280 320 1320 320 "" 0 0 0 "">
|
||||
<260 360 300 360 "" 0 0 0 "">
|
||||
<160 360 200 360 "" 0 0 0 "">
|
||||
</Wires>
|
||||
<Diagrams>
|
||||
<Rect 521 142 1321 258 3 #c0c0c0 1 00 0 0 1e+08 1.3e+09 1 -45.6735 10 4.15181 1 -1 0.5 1 315 0 225 "frequency" "" "">
|
||||
<"S21" #0000ff 0 3 0 0 0>
|
||||
<"S11" #ff0000 0 3 0 0 0>
|
||||
<Mkr 1.78345e+08 202 -159 5 0 0>
|
||||
<Mkr 1.21198e+08 133 -96 5 0 0>
|
||||
</Rect>
|
||||
</Diagrams>
|
||||
<Paintings>
|
||||
</Paintings>
|
||||
@ -1,93 +0,0 @@
|
||||
<Qucs Schematic 0.0.19>
|
||||
<Properties>
|
||||
<View=0,-120,1860,793,1,0,0>
|
||||
<Grid=10,10,1>
|
||||
<DataSet=Balun.dat>
|
||||
<DataDisplay=Balun.dpl>
|
||||
<OpenDisplay=0>
|
||||
<Script=Balun.m>
|
||||
<RunScript=0>
|
||||
<showFrame=0>
|
||||
<FrameText0=Title>
|
||||
<FrameText1=Drawn By:>
|
||||
<FrameText2=Date:>
|
||||
<FrameText3=Revision:>
|
||||
</Properties>
|
||||
<Symbol>
|
||||
</Symbol>
|
||||
<Components>
|
||||
<.SP SP1 1 80 -90 0 79 0 0 "lin" 1 "10 MHz" 1 "1300 MHz" 1 "10001" 1 "no" 0 "1" 0 "2" 0 "no" 0 "no" 0>
|
||||
<L LB1 1 1070 320 -26 10 0 0 "27 nH" 1 "" 0>
|
||||
<L LT1 1 770 320 -26 10 0 0 "43 nH" 1 "" 0>
|
||||
<L LC1 1 440 250 10 -26 0 1 "100 nH" 1 "" 0>
|
||||
<GND * 1 440 200 0 0 0 2>
|
||||
<GND * 1 840 200 0 0 0 2>
|
||||
<L LB2 1 940 530 10 -26 0 1 "27 nH" 1 "" 0>
|
||||
<L LT2 1 770 460 -26 10 0 0 "43 nH" 1 "" 0>
|
||||
<L LC2 1 440 530 10 -26 0 1 "100 nH" 1 "" 0>
|
||||
<GND * 1 440 580 0 0 0 0>
|
||||
<GND * 1 940 580 0 0 0 0>
|
||||
<sTr Tr1 1 310 390 -29 -135 0 2 "0.5" 1 "0.5" 1>
|
||||
<GND * 1 380 400 0 0 0 0>
|
||||
<GND * 1 280 460 0 0 0 0>
|
||||
<GND * 1 1300 320 0 0 0 1>
|
||||
<GND * 1 140 360 0 0 0 3>
|
||||
<Pac P2 1 1230 320 -26 -75 0 2 "2" 1 "50 Ohm" 1 "0 dBm" 0 "1 GHz" 0 "26.85" 0>
|
||||
<Pac P1 1 210 360 -26 18 0 0 "1" 1 "100 Ohm" 1 "0 dBm" 0 "1 GHz" 0 "26.85" 0>
|
||||
<C CT1 1 670 320 -26 17 0 0 "4.3 pF" 1 "" 0 "neutral" 0>
|
||||
<C CT2 1 670 460 -26 17 0 0 "4.3 pF" 1 "" 0 "neutral" 0>
|
||||
<C CM1 1 840 250 17 -26 0 1 "11 pF" 1 "" 0 "neutral" 0>
|
||||
<C CM2 1 840 530 17 -26 0 1 "5.6 pF" 1 "" 0 "neutral" 0>
|
||||
<C CB2 1 1070 460 -26 17 0 0 "5.1 pF" 1 "" 0 "neutral" 0>
|
||||
<Eqn Eqn1 1 300 -80 -30 16 0 0 "S21=dB(S[2,1])" 1 "S11=dB(S[1,1])" 1 "yes" 0>
|
||||
</Components>
|
||||
<Wires>
|
||||
<1100 320 1140 320 "" 0 0 0 "">
|
||||
<800 320 840 320 "" 0 0 0 "">
|
||||
<840 320 1040 320 "" 0 0 0 "">
|
||||
<840 280 840 320 "" 0 0 0 "">
|
||||
<840 200 840 220 "" 0 0 0 "">
|
||||
<700 320 740 320 "" 0 0 0 "">
|
||||
<540 320 640 320 "" 0 0 0 "">
|
||||
<540 280 540 320 "" 0 0 0 "">
|
||||
<340 320 440 320 "" 0 0 0 "">
|
||||
<440 320 540 320 "" 0 0 0 "">
|
||||
<440 280 440 320 "" 0 0 0 "">
|
||||
<440 220 540 220 "" 0 0 0 "">
|
||||
<440 200 440 220 "" 0 0 0 "">
|
||||
<1140 320 1200 320 "" 0 0 0 "">
|
||||
<1140 320 1140 460 "" 0 0 0 "">
|
||||
<700 460 740 460 "" 0 0 0 "">
|
||||
<800 460 840 460 "" 0 0 0 "">
|
||||
<840 460 840 500 "" 0 0 0 "">
|
||||
<840 460 940 460 "" 0 0 0 "">
|
||||
<940 460 1040 460 "" 0 0 0 "">
|
||||
<940 460 940 500 "" 0 0 0 "">
|
||||
<840 560 940 560 "" 0 0 0 "">
|
||||
<940 560 940 580 "" 0 0 0 "">
|
||||
<340 460 440 460 "" 0 0 0 "">
|
||||
<440 460 440 500 "" 0 0 0 "">
|
||||
<440 460 540 460 "" 0 0 0 "">
|
||||
<540 460 640 460 "" 0 0 0 "">
|
||||
<540 460 540 500 "" 0 0 0 "">
|
||||
<440 560 540 560 "" 0 0 0 "">
|
||||
<440 560 440 580 "" 0 0 0 "">
|
||||
<1100 460 1140 460 "" 0 0 0 "">
|
||||
<340 380 380 380 "" 0 0 0 "">
|
||||
<380 380 380 400 "" 0 0 0 "">
|
||||
<340 400 380 400 "" 0 0 0 "">
|
||||
<280 420 280 460 "" 0 0 0 "">
|
||||
<1260 320 1300 320 "" 0 0 0 "">
|
||||
<240 360 280 360 "" 0 0 0 "">
|
||||
<140 360 180 360 "" 0 0 0 "">
|
||||
</Wires>
|
||||
<Diagrams>
|
||||
<Rect 504 148 1309 248 3 #c0c0c0 1 00 0 0 1e+08 1.3e+09 1 -66.3605 20 5.4873 1 -1 0.5 1 315 0 225 "frequency" "" "">
|
||||
<"S21" #0000ff 0 3 0 0 0>
|
||||
<"S11" #ff0000 0 3 0 0 0>
|
||||
<Mkr 4.43182e+08 508 -161 5 0 0>
|
||||
<Mkr 3.48883e+08 370 -82 5 0 0>
|
||||
</Rect>
|
||||
</Diagrams>
|
||||
<Paintings>
|
||||
</Paintings>
|
||||
@ -1,92 +0,0 @@
|
||||
<Qucs Schematic 0.0.19>
|
||||
<Properties>
|
||||
<View=0,-120,1843,793,1,0,0>
|
||||
<Grid=10,10,1>
|
||||
<DataSet=Balun.dat>
|
||||
<DataDisplay=Balun.dpl>
|
||||
<OpenDisplay=0>
|
||||
<Script=Balun.m>
|
||||
<RunScript=0>
|
||||
<showFrame=0>
|
||||
<FrameText0=Title>
|
||||
<FrameText1=Drawn By:>
|
||||
<FrameText2=Date:>
|
||||
<FrameText3=Revision:>
|
||||
</Properties>
|
||||
<Symbol>
|
||||
</Symbol>
|
||||
<Components>
|
||||
<.SP SP1 1 80 -90 0 79 0 0 "lin" 1 "10 MHz" 1 "1300 MHz" 1 "10001" 1 "no" 0 "1" 0 "2" 0 "no" 0 "no" 0>
|
||||
<L LB1 1 1070 320 -26 10 0 0 "22 nH" 1 "" 0>
|
||||
<L LT1 1 770 320 -26 10 0 0 "33 nH" 1 "" 0>
|
||||
<L LC1 1 440 250 10 -26 0 1 "100 nH" 1 "" 0>
|
||||
<GND * 1 440 200 0 0 0 2>
|
||||
<GND * 1 840 200 0 0 0 2>
|
||||
<L LB2 1 940 530 10 -26 0 1 "22 nH" 1 "" 0>
|
||||
<L LT2 1 770 460 -26 10 0 0 "33 nH" 1 "" 0>
|
||||
<L LC2 1 440 530 10 -26 0 1 "100 nH" 1 "" 0>
|
||||
<GND * 1 440 580 0 0 0 0>
|
||||
<GND * 1 940 580 0 0 0 0>
|
||||
<sTr Tr1 1 310 390 -29 -135 0 2 "0.5" 1 "0.5" 1>
|
||||
<GND * 1 380 400 0 0 0 0>
|
||||
<GND * 1 280 460 0 0 0 0>
|
||||
<GND * 1 1300 320 0 0 0 1>
|
||||
<GND * 1 140 360 0 0 0 3>
|
||||
<Pac P2 1 1230 320 -26 -75 0 2 "2" 1 "50 Ohm" 1 "0 dBm" 0 "1 GHz" 0 "26.85" 0>
|
||||
<Pac P1 1 210 360 -26 18 0 0 "1" 1 "100 Ohm" 1 "0 dBm" 0 "1 GHz" 0 "26.85" 0>
|
||||
<C CT2 1 670 460 -26 17 0 0 "3.9 pF" 1 "" 0 "neutral" 0>
|
||||
<C CT1 1 670 320 -26 17 0 0 "3.9 pF" 1 "" 0 "neutral" 0>
|
||||
<C CM1 1 840 250 17 -26 0 1 "4.7 pF" 1 "" 0 "neutral" 0>
|
||||
<C CB2 1 1070 460 -26 17 0 0 "4.7 pF" 1 "" 0 "neutral" 0>
|
||||
<Eqn Eqn1 1 300 -80 -30 16 0 0 "S21=dB(S[2,1])" 1 "S11=dB(S[1,1])" 1 "yes" 0>
|
||||
</Components>
|
||||
<Wires>
|
||||
<1100 320 1140 320 "" 0 0 0 "">
|
||||
<800 320 840 320 "" 0 0 0 "">
|
||||
<840 320 1040 320 "" 0 0 0 "">
|
||||
<840 280 840 320 "" 0 0 0 "">
|
||||
<840 200 840 220 "" 0 0 0 "">
|
||||
<700 320 740 320 "" 0 0 0 "">
|
||||
<540 320 640 320 "" 0 0 0 "">
|
||||
<540 280 540 320 "" 0 0 0 "">
|
||||
<340 320 440 320 "" 0 0 0 "">
|
||||
<440 320 540 320 "" 0 0 0 "">
|
||||
<440 280 440 320 "" 0 0 0 "">
|
||||
<440 220 540 220 "" 0 0 0 "">
|
||||
<440 200 440 220 "" 0 0 0 "">
|
||||
<1140 320 1200 320 "" 0 0 0 "">
|
||||
<1140 320 1140 460 "" 0 0 0 "">
|
||||
<700 460 740 460 "" 0 0 0 "">
|
||||
<800 460 840 460 "" 0 0 0 "">
|
||||
<840 460 840 500 "" 0 0 0 "">
|
||||
<840 460 940 460 "" 0 0 0 "">
|
||||
<940 460 1040 460 "" 0 0 0 "">
|
||||
<940 460 940 500 "" 0 0 0 "">
|
||||
<840 560 940 560 "" 0 0 0 "">
|
||||
<940 560 940 580 "" 0 0 0 "">
|
||||
<340 460 440 460 "" 0 0 0 "">
|
||||
<440 460 440 500 "" 0 0 0 "">
|
||||
<440 460 540 460 "" 0 0 0 "">
|
||||
<540 460 640 460 "" 0 0 0 "">
|
||||
<540 460 540 500 "" 0 0 0 "">
|
||||
<440 560 540 560 "" 0 0 0 "">
|
||||
<440 560 440 580 "" 0 0 0 "">
|
||||
<1100 460 1140 460 "" 0 0 0 "">
|
||||
<340 380 380 380 "" 0 0 0 "">
|
||||
<380 380 380 400 "" 0 0 0 "">
|
||||
<340 400 380 400 "" 0 0 0 "">
|
||||
<280 420 280 460 "" 0 0 0 "">
|
||||
<1260 320 1300 320 "" 0 0 0 "">
|
||||
<240 360 280 360 "" 0 0 0 "">
|
||||
<140 360 180 360 "" 0 0 0 "">
|
||||
</Wires>
|
||||
<Diagrams>
|
||||
<Rect 524 156 1262 256 3 #c0c0c0 1 00 0 0 1e+08 1.3e+09 1 -62.6248 20 5.69315 1 -1 0.5 1 315 0 225 "frequency" "" "">
|
||||
<"S21" #0000ff 0 3 0 0 0>
|
||||
<"S11" #ff0000 0 3 0 0 0>
|
||||
<Mkr 5.0536e+08 545 -182 5 0 0>
|
||||
<Mkr 3.57139e+08 367 -87 5 0 0>
|
||||
</Rect>
|
||||
</Diagrams>
|
||||
<Paintings>
|
||||
</Paintings>
|
||||
@ -1,93 +0,0 @@
|
||||
<Qucs Schematic 0.0.19>
|
||||
<Properties>
|
||||
<View=0,-120,1842,793,1,0,0>
|
||||
<Grid=10,10,1>
|
||||
<DataSet=Balun.dat>
|
||||
<DataDisplay=Balun.dpl>
|
||||
<OpenDisplay=0>
|
||||
<Script=Balun.m>
|
||||
<RunScript=0>
|
||||
<showFrame=0>
|
||||
<FrameText0=Title>
|
||||
<FrameText1=Drawn By:>
|
||||
<FrameText2=Date:>
|
||||
<FrameText3=Revision:>
|
||||
</Properties>
|
||||
<Symbol>
|
||||
</Symbol>
|
||||
<Components>
|
||||
<.SP SP1 1 80 -90 0 79 0 0 "lin" 1 "10 MHz" 1 "1300 MHz" 1 "10001" 1 "no" 0 "1" 0 "2" 0 "no" 0 "no" 0>
|
||||
<L LB1 1 1010 320 -26 10 0 0 "12 nH" 1 "" 0>
|
||||
<L LT1 1 710 320 -26 10 0 0 "18 nH" 1 "" 0>
|
||||
<L LC1 1 380 250 10 -26 0 1 "18 nH" 1 "" 0>
|
||||
<GND * 1 380 200 0 0 0 2>
|
||||
<GND * 1 780 200 0 0 0 2>
|
||||
<L LB2 1 880 530 10 -26 0 1 "12 nH" 1 "" 0>
|
||||
<L LT2 1 710 460 -26 10 0 0 "18 nH" 1 "" 0>
|
||||
<L LC2 1 380 530 10 -26 0 1 "18 nH" 1 "" 0>
|
||||
<GND * 1 380 580 0 0 0 0>
|
||||
<GND * 1 880 580 0 0 0 0>
|
||||
<sTr Tr1 1 250 390 -29 -135 0 2 "0.5" 1 "0.5" 1>
|
||||
<GND * 1 320 400 0 0 0 0>
|
||||
<GND * 1 220 460 0 0 0 0>
|
||||
<GND * 1 1240 320 0 0 0 1>
|
||||
<GND * 1 80 360 0 0 0 3>
|
||||
<Pac P2 1 1170 320 -26 -75 0 2 "2" 1 "50 Ohm" 1 "0 dBm" 0 "1 GHz" 0 "26.85" 0>
|
||||
<Pac P1 1 150 360 -26 18 0 0 "1" 1 "100 Ohm" 1 "0 dBm" 0 "1 GHz" 0 "26.85" 0>
|
||||
<C CM1 1 780 250 17 -26 0 1 "6.2 pF" 1 "" 0 "neutral" 0>
|
||||
<C CM2 1 780 530 17 -26 0 1 "3.6 pF" 1 "" 0 "neutral" 0>
|
||||
<Eqn Eqn1 1 300 -80 -30 16 0 0 "S21=dB(S[2,1])" 1 "S11=dB(S[1,1])" 1 "yes" 0>
|
||||
<C CT1 1 610 320 -26 17 0 0 "2.7 pF" 1 "" 0 "neutral" 0>
|
||||
<C CT2 1 610 460 -26 17 0 0 "2.7 pF" 1 "" 0 "neutral" 0>
|
||||
<C CB2 1 1010 460 -26 17 0 0 "2.7 pF" 1 "" 0 "neutral" 0>
|
||||
</Components>
|
||||
<Wires>
|
||||
<1040 320 1080 320 "" 0 0 0 "">
|
||||
<740 320 780 320 "" 0 0 0 "">
|
||||
<780 320 980 320 "" 0 0 0 "">
|
||||
<780 280 780 320 "" 0 0 0 "">
|
||||
<780 200 780 220 "" 0 0 0 "">
|
||||
<640 320 680 320 "" 0 0 0 "">
|
||||
<480 320 580 320 "" 0 0 0 "">
|
||||
<480 280 480 320 "" 0 0 0 "">
|
||||
<280 320 380 320 "" 0 0 0 "">
|
||||
<380 320 480 320 "" 0 0 0 "">
|
||||
<380 280 380 320 "" 0 0 0 "">
|
||||
<380 220 480 220 "" 0 0 0 "">
|
||||
<380 200 380 220 "" 0 0 0 "">
|
||||
<1080 320 1140 320 "" 0 0 0 "">
|
||||
<1080 320 1080 460 "" 0 0 0 "">
|
||||
<640 460 680 460 "" 0 0 0 "">
|
||||
<740 460 780 460 "" 0 0 0 "">
|
||||
<780 460 780 500 "" 0 0 0 "">
|
||||
<780 460 880 460 "" 0 0 0 "">
|
||||
<880 460 980 460 "" 0 0 0 "">
|
||||
<880 460 880 500 "" 0 0 0 "">
|
||||
<780 560 880 560 "" 0 0 0 "">
|
||||
<880 560 880 580 "" 0 0 0 "">
|
||||
<280 460 380 460 "" 0 0 0 "">
|
||||
<380 460 380 500 "" 0 0 0 "">
|
||||
<380 460 480 460 "" 0 0 0 "">
|
||||
<480 460 580 460 "" 0 0 0 "">
|
||||
<480 460 480 500 "" 0 0 0 "">
|
||||
<380 560 480 560 "" 0 0 0 "">
|
||||
<380 560 380 580 "" 0 0 0 "">
|
||||
<1040 460 1080 460 "" 0 0 0 "">
|
||||
<280 380 320 380 "" 0 0 0 "">
|
||||
<320 380 320 400 "" 0 0 0 "">
|
||||
<280 400 320 400 "" 0 0 0 "">
|
||||
<220 420 220 460 "" 0 0 0 "">
|
||||
<1200 320 1240 320 "" 0 0 0 "">
|
||||
<180 360 220 360 "" 0 0 0 "">
|
||||
<80 360 120 360 "" 0 0 0 "">
|
||||
</Wires>
|
||||
<Diagrams>
|
||||
<Rect 518 139 1267 249 3 #c0c0c0 1 00 0 0 1e+08 1.3e+09 1 -80 20 7.13297 1 -1 0.5 1 315 0 225 "frequency" "" "">
|
||||
<"S21" #0000ff 0 3 0 0 0>
|
||||
<"S11" #ff0000 0 3 0 0 0>
|
||||
<Mkr 8.10445e+08 900 -118 5 0 0>
|
||||
<Mkr 6.37069e+08 641 -120 5 0 0>
|
||||
</Rect>
|
||||
</Diagrams>
|
||||
<Paintings>
|
||||
</Paintings>
|
||||
@ -1,116 +0,0 @@
|
||||
<?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="cdt.managedbuild.config.gnu.mingw.exe.debug.1946124791">
|
||||
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="cdt.managedbuild.config.gnu.mingw.exe.debug.1946124791" moduleId="org.eclipse.cdt.core.settings" name="Debug">
|
||||
<externalSettings/>
|
||||
<extensions>
|
||||
<extension id="org.eclipse.cdt.core.PE" 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="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
</extensions>
|
||||
</storageModule>
|
||||
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
|
||||
<configuration artifactName="${ProjName}" buildArtefactType="org.eclipse.cdt.build.core.buildArtefactType.exe" buildProperties="org.eclipse.cdt.build.core.buildArtefactType=org.eclipse.cdt.build.core.buildArtefactType.exe,org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.debug" cleanCommand="rm -rf" description="" id="cdt.managedbuild.config.gnu.mingw.exe.debug.1946124791" name="Debug" parent="cdt.managedbuild.config.gnu.mingw.exe.debug">
|
||||
<folderInfo id="cdt.managedbuild.config.gnu.mingw.exe.debug.1946124791." name="/" resourcePath="">
|
||||
<toolChain id="cdt.managedbuild.toolchain.gnu.mingw.exe.debug.1155453568" name="MinGW GCC" superClass="cdt.managedbuild.toolchain.gnu.mingw.exe.debug">
|
||||
<targetPlatform id="cdt.managedbuild.target.gnu.platform.mingw.exe.debug.363267655" name="Debug Platform" superClass="cdt.managedbuild.target.gnu.platform.mingw.exe.debug"/>
|
||||
<builder buildPath="${workspace_loc:/sandbox}/Debug" id="cdt.managedbuild.tool.gnu.builder.mingw.base.1526510410" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="CDT Internal Builder" superClass="cdt.managedbuild.tool.gnu.builder.mingw.base"/>
|
||||
<tool id="cdt.managedbuild.tool.gnu.assembler.mingw.exe.debug.268436705" name="GCC Assembler" superClass="cdt.managedbuild.tool.gnu.assembler.mingw.exe.debug">
|
||||
<inputType id="cdt.managedbuild.tool.gnu.assembler.input.1240177371" superClass="cdt.managedbuild.tool.gnu.assembler.input"/>
|
||||
</tool>
|
||||
<tool id="cdt.managedbuild.tool.gnu.archiver.mingw.base.207650686" name="GCC Archiver" superClass="cdt.managedbuild.tool.gnu.archiver.mingw.base"/>
|
||||
<tool id="cdt.managedbuild.tool.gnu.cpp.compiler.mingw.exe.debug.2118495904" name="GCC C++ Compiler" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.mingw.exe.debug">
|
||||
<option id="gnu.cpp.compiler.mingw.exe.debug.option.optimization.level.935731391" name="Optimization Level" superClass="gnu.cpp.compiler.mingw.exe.debug.option.optimization.level" useByScannerDiscovery="false" value="gnu.cpp.compiler.optimization.level.none" valueType="enumerated"/>
|
||||
<option id="gnu.cpp.compiler.mingw.exe.debug.option.debugging.level.2061983534" name="Debug Level" superClass="gnu.cpp.compiler.mingw.exe.debug.option.debugging.level" useByScannerDiscovery="false" value="gnu.cpp.compiler.debugging.level.max" valueType="enumerated"/>
|
||||
</tool>
|
||||
<tool id="cdt.managedbuild.tool.gnu.c.compiler.mingw.exe.debug.1919958308" name="GCC C Compiler" superClass="cdt.managedbuild.tool.gnu.c.compiler.mingw.exe.debug">
|
||||
<option defaultValue="gnu.c.optimization.level.none" id="gnu.c.compiler.mingw.exe.debug.option.optimization.level.1930810934" name="Optimization Level" superClass="gnu.c.compiler.mingw.exe.debug.option.optimization.level" useByScannerDiscovery="false" valueType="enumerated"/>
|
||||
<option id="gnu.c.compiler.mingw.exe.debug.option.debugging.level.1342056589" name="Debug Level" superClass="gnu.c.compiler.mingw.exe.debug.option.debugging.level" useByScannerDiscovery="false" value="gnu.c.debugging.level.max" valueType="enumerated"/>
|
||||
<option id="gnu.c.compiler.option.include.paths.1344228394" name="Include paths (-I)" superClass="gnu.c.compiler.option.include.paths" useByScannerDiscovery="false" valueType="includePath">
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/ax5043}""/>
|
||||
</option>
|
||||
<option id="gnu.c.compiler.option.warnings.extrawarn.1739048861" name="Extra warnings (-Wextra)" superClass="gnu.c.compiler.option.warnings.extrawarn" useByScannerDiscovery="false" value="true" valueType="boolean"/>
|
||||
<option id="gnu.c.compiler.option.warnings.pedantic.835644384" name="Pedantic (-pedantic)" superClass="gnu.c.compiler.option.warnings.pedantic" useByScannerDiscovery="false" value="true" valueType="boolean"/>
|
||||
<option id="gnu.c.compiler.option.warnings.wconversion.171590475" superClass="gnu.c.compiler.option.warnings.wconversion" useByScannerDiscovery="false" value="true" valueType="boolean"/>
|
||||
<inputType id="cdt.managedbuild.tool.gnu.c.compiler.input.1458684021" superClass="cdt.managedbuild.tool.gnu.c.compiler.input"/>
|
||||
</tool>
|
||||
<tool id="cdt.managedbuild.tool.gnu.c.linker.mingw.exe.debug.764915390" name="MinGW C Linker" superClass="cdt.managedbuild.tool.gnu.c.linker.mingw.exe.debug">
|
||||
<option id="gnu.c.link.option.libs.1258080129" name="Libraries (-l)" superClass="gnu.c.link.option.libs" useByScannerDiscovery="false" valueType="libs">
|
||||
<listOptionValue builtIn="false" value="ax5043"/>
|
||||
</option>
|
||||
<option id="gnu.c.link.option.paths.2275063" name="Library search path (-L)" superClass="gnu.c.link.option.paths" useByScannerDiscovery="false" valueType="libPaths">
|
||||
<listOptionValue builtIn="false" value=""${workspace_loc:/ax5043/Debug}""/>
|
||||
</option>
|
||||
<inputType id="cdt.managedbuild.tool.gnu.c.linker.input.711312804" superClass="cdt.managedbuild.tool.gnu.c.linker.input">
|
||||
<additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/>
|
||||
<additionalInput kind="additionalinput" paths="$(LIBS)"/>
|
||||
</inputType>
|
||||
</tool>
|
||||
<tool id="cdt.managedbuild.tool.gnu.cpp.linker.mingw.exe.debug.1304799799" name="MinGW C++ Linker" superClass="cdt.managedbuild.tool.gnu.cpp.linker.mingw.exe.debug"/>
|
||||
</toolChain>
|
||||
</folderInfo>
|
||||
</configuration>
|
||||
</storageModule>
|
||||
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
|
||||
</cconfiguration>
|
||||
<cconfiguration id="cdt.managedbuild.config.gnu.mingw.exe.release.1829505146">
|
||||
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="cdt.managedbuild.config.gnu.mingw.exe.release.1829505146" moduleId="org.eclipse.cdt.core.settings" name="Release">
|
||||
<externalSettings/>
|
||||
<extensions>
|
||||
<extension id="org.eclipse.cdt.core.PE" 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="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
|
||||
</extensions>
|
||||
</storageModule>
|
||||
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
|
||||
<configuration artifactName="${ProjName}" buildArtefactType="org.eclipse.cdt.build.core.buildArtefactType.exe" buildProperties="org.eclipse.cdt.build.core.buildArtefactType=org.eclipse.cdt.build.core.buildArtefactType.exe,org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.release" cleanCommand="rm -rf" description="" id="cdt.managedbuild.config.gnu.mingw.exe.release.1829505146" name="Release" parent="cdt.managedbuild.config.gnu.mingw.exe.release">
|
||||
<folderInfo id="cdt.managedbuild.config.gnu.mingw.exe.release.1829505146." name="/" resourcePath="">
|
||||
<toolChain id="cdt.managedbuild.toolchain.gnu.mingw.exe.release.534427162" name="MinGW GCC" superClass="cdt.managedbuild.toolchain.gnu.mingw.exe.release">
|
||||
<targetPlatform id="cdt.managedbuild.target.gnu.platform.mingw.exe.release.403538024" name="Debug Platform" superClass="cdt.managedbuild.target.gnu.platform.mingw.exe.release"/>
|
||||
<builder buildPath="${workspace_loc:/sandbox}/Release" id="cdt.managedbuild.tool.gnu.builder.mingw.base.1378236522" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="CDT Internal Builder" superClass="cdt.managedbuild.tool.gnu.builder.mingw.base"/>
|
||||
<tool id="cdt.managedbuild.tool.gnu.assembler.mingw.exe.release.277741358" name="GCC Assembler" superClass="cdt.managedbuild.tool.gnu.assembler.mingw.exe.release">
|
||||
<inputType id="cdt.managedbuild.tool.gnu.assembler.input.1418741306" superClass="cdt.managedbuild.tool.gnu.assembler.input"/>
|
||||
</tool>
|
||||
<tool id="cdt.managedbuild.tool.gnu.archiver.mingw.base.1737914988" name="GCC Archiver" superClass="cdt.managedbuild.tool.gnu.archiver.mingw.base"/>
|
||||
<tool id="cdt.managedbuild.tool.gnu.cpp.compiler.mingw.exe.release.1418138477" name="GCC C++ Compiler" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.mingw.exe.release">
|
||||
<option id="gnu.cpp.compiler.mingw.exe.release.option.optimization.level.462063082" name="Optimization Level" superClass="gnu.cpp.compiler.mingw.exe.release.option.optimization.level" useByScannerDiscovery="false" value="gnu.cpp.compiler.optimization.level.most" valueType="enumerated"/>
|
||||
<option id="gnu.cpp.compiler.mingw.exe.release.option.debugging.level.1453003183" name="Debug Level" superClass="gnu.cpp.compiler.mingw.exe.release.option.debugging.level" useByScannerDiscovery="false" value="gnu.cpp.compiler.debugging.level.none" valueType="enumerated"/>
|
||||
</tool>
|
||||
<tool id="cdt.managedbuild.tool.gnu.c.compiler.mingw.exe.release.1956100753" name="GCC C Compiler" superClass="cdt.managedbuild.tool.gnu.c.compiler.mingw.exe.release">
|
||||
<option defaultValue="gnu.c.optimization.level.most" id="gnu.c.compiler.mingw.exe.release.option.optimization.level.965840706" name="Optimization Level" superClass="gnu.c.compiler.mingw.exe.release.option.optimization.level" useByScannerDiscovery="false" valueType="enumerated"/>
|
||||
<option id="gnu.c.compiler.mingw.exe.release.option.debugging.level.460501640" name="Debug Level" superClass="gnu.c.compiler.mingw.exe.release.option.debugging.level" useByScannerDiscovery="false" value="gnu.c.debugging.level.none" valueType="enumerated"/>
|
||||
<inputType id="cdt.managedbuild.tool.gnu.c.compiler.input.2119836219" superClass="cdt.managedbuild.tool.gnu.c.compiler.input"/>
|
||||
</tool>
|
||||
<tool id="cdt.managedbuild.tool.gnu.c.linker.mingw.exe.release.710141750" name="MinGW C Linker" superClass="cdt.managedbuild.tool.gnu.c.linker.mingw.exe.release">
|
||||
<inputType id="cdt.managedbuild.tool.gnu.c.linker.input.1825330548" superClass="cdt.managedbuild.tool.gnu.c.linker.input">
|
||||
<additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/>
|
||||
<additionalInput kind="additionalinput" paths="$(LIBS)"/>
|
||||
</inputType>
|
||||
</tool>
|
||||
<tool id="cdt.managedbuild.tool.gnu.cpp.linker.mingw.exe.release.863345421" name="MinGW C++ Linker" superClass="cdt.managedbuild.tool.gnu.cpp.linker.mingw.exe.release"/>
|
||||
</toolChain>
|
||||
</folderInfo>
|
||||
</configuration>
|
||||
</storageModule>
|
||||
<storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
|
||||
</cconfiguration>
|
||||
</storageModule>
|
||||
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
|
||||
<project id="sandbox.cdt.managedbuild.target.gnu.mingw.exe.1840830941" name="Executable" projectType="cdt.managedbuild.target.gnu.mingw.exe"/>
|
||||
</storageModule>
|
||||
<storageModule moduleId="scannerConfiguration">
|
||||
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>
|
||||
<scannerConfigBuildInfo instanceId="cdt.managedbuild.config.gnu.mingw.exe.debug.1946124791;cdt.managedbuild.config.gnu.mingw.exe.debug.1946124791.;cdt.managedbuild.tool.gnu.c.compiler.mingw.exe.debug.1919958308;cdt.managedbuild.tool.gnu.c.compiler.input.1458684021">
|
||||
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>
|
||||
</scannerConfigBuildInfo>
|
||||
<scannerConfigBuildInfo instanceId="cdt.managedbuild.config.gnu.mingw.exe.release.1829505146;cdt.managedbuild.config.gnu.mingw.exe.release.1829505146.;cdt.managedbuild.tool.gnu.c.compiler.mingw.exe.release.1956100753;cdt.managedbuild.tool.gnu.c.compiler.input.2119836219">
|
||||
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>
|
||||
</scannerConfigBuildInfo>
|
||||
</storageModule>
|
||||
<storageModule moduleId="org.eclipse.cdt.core.LanguageSettingsProviders"/>
|
||||
<storageModule moduleId="refreshScope"/>
|
||||
<storageModule moduleId="org.eclipse.cdt.make.core.buildtargets"/>
|
||||
</cproject>
|
||||
@ -1 +0,0 @@
|
||||
/Debug/
|
||||
@ -1,26 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<projectDescription>
|
||||
<name>sandbox</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.managedbuilder.core.managedBuildNature</nature>
|
||||
<nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature>
|
||||
</natures>
|
||||
</projectDescription>
|
||||
@ -1,25 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<project>
|
||||
<configuration id="cdt.managedbuild.config.gnu.mingw.exe.debug.1946124791" name="Debug">
|
||||
<extension point="org.eclipse.cdt.core.LanguageSettingsProvider">
|
||||
<provider copy-of="extension" id="org.eclipse.cdt.ui.UserLanguageSettingsProvider"/>
|
||||
<provider-reference id="org.eclipse.cdt.core.ReferencedProjectsLanguageSettingsProvider" ref="shared-provider"/>
|
||||
<provider-reference id="org.eclipse.cdt.managedbuilder.core.MBSLanguageSettingsProvider" ref="shared-provider"/>
|
||||
<provider class="org.eclipse.cdt.managedbuilder.internal.language.settings.providers.GCCBuiltinSpecsDetectorMinGW" console="false" env-hash="1896922210155201054" id="org.eclipse.cdt.managedbuilder.core.GCCBuiltinSpecsDetectorMinGW" keep-relative-paths="false" name="CDT GCC Built-in Compiler Settings MinGW" parameter="${COMMAND} ${FLAGS} -E -P -v -dD "${INPUTS}"" prefer-non-shared="true">
|
||||
<language-scope id="org.eclipse.cdt.core.gcc"/>
|
||||
<language-scope id="org.eclipse.cdt.core.g++"/>
|
||||
</provider>
|
||||
</extension>
|
||||
</configuration>
|
||||
<configuration id="cdt.managedbuild.config.gnu.mingw.exe.release.1829505146" name="Release">
|
||||
<extension point="org.eclipse.cdt.core.LanguageSettingsProvider">
|
||||
<provider copy-of="extension" id="org.eclipse.cdt.ui.UserLanguageSettingsProvider"/>
|
||||
<provider-reference id="org.eclipse.cdt.core.ReferencedProjectsLanguageSettingsProvider" ref="shared-provider"/>
|
||||
<provider-reference id="org.eclipse.cdt.managedbuilder.core.MBSLanguageSettingsProvider" ref="shared-provider"/>
|
||||
<provider class="org.eclipse.cdt.managedbuilder.internal.language.settings.providers.GCCBuiltinSpecsDetectorMinGW" console="false" env-hash="1896922210155201054" id="org.eclipse.cdt.managedbuilder.core.GCCBuiltinSpecsDetectorMinGW" keep-relative-paths="false" name="CDT GCC Built-in Compiler Settings MinGW" parameter="${COMMAND} ${FLAGS} -E -P -v -dD "${INPUTS}"" prefer-non-shared="true">
|
||||
<language-scope id="org.eclipse.cdt.core.gcc"/>
|
||||
<language-scope id="org.eclipse.cdt.core.g++"/>
|
||||
</provider>
|
||||
</extension>
|
||||
</configuration>
|
||||
</project>
|
||||
@ -1,11 +0,0 @@
|
||||
eclipse.preferences.version=1
|
||||
environment/buildEnvironmentInclude/cdt.managedbuild.config.gnu.mingw.exe.debug.1946124791/CPATH/delimiter=;
|
||||
environment/buildEnvironmentInclude/cdt.managedbuild.config.gnu.mingw.exe.debug.1946124791/CPATH/operation=remove
|
||||
environment/buildEnvironmentInclude/cdt.managedbuild.config.gnu.mingw.exe.debug.1946124791/C_INCLUDE_PATH/delimiter=;
|
||||
environment/buildEnvironmentInclude/cdt.managedbuild.config.gnu.mingw.exe.debug.1946124791/C_INCLUDE_PATH/operation=remove
|
||||
environment/buildEnvironmentInclude/cdt.managedbuild.config.gnu.mingw.exe.debug.1946124791/append=true
|
||||
environment/buildEnvironmentInclude/cdt.managedbuild.config.gnu.mingw.exe.debug.1946124791/appendContributed=true
|
||||
environment/buildEnvironmentLibrary/cdt.managedbuild.config.gnu.mingw.exe.debug.1946124791/LIBRARY_PATH/delimiter=;
|
||||
environment/buildEnvironmentLibrary/cdt.managedbuild.config.gnu.mingw.exe.debug.1946124791/LIBRARY_PATH/operation=remove
|
||||
environment/buildEnvironmentLibrary/cdt.managedbuild.config.gnu.mingw.exe.debug.1946124791/append=true
|
||||
environment/buildEnvironmentLibrary/cdt.managedbuild.config.gnu.mingw.exe.debug.1946124791/appendContributed=true
|
||||
@ -1,69 +0,0 @@
|
||||
// Copyright (c) 2018 Brandenburg Tech, LLC
|
||||
// All right reserved.
|
||||
//
|
||||
// THIS SOFTWARE IS PROVIDED BY BRANDENBURG TECH, LLC 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 BRANDENBURT TECH, LLC
|
||||
// AND 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.
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdio.h>
|
||||
#include "generated/config.h"
|
||||
|
||||
uint32_t calc1(int32_t freq);
|
||||
uint32_t calc2(int32_t freq);
|
||||
|
||||
int main(void)
|
||||
{
|
||||
//int32_t axradio_conv_freq_fromhz(int32_t f)
|
||||
|
||||
int32_t f = 435300000;
|
||||
|
||||
uint32_t f1 = calc1(f);
|
||||
printf("calc1 f1 = 0x%08x\n", f1);
|
||||
|
||||
uint32_t f2 = calc2(f);
|
||||
printf("calc1 f2 = 0x%08x\n", f2);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
uint32_t calc1(int32_t freq)
|
||||
{
|
||||
uint64_t w;
|
||||
|
||||
/* Multiply, first, to preserve accuracy */
|
||||
w = (uint64_t)freq;
|
||||
w <<= 24;
|
||||
|
||||
/* Divide by crystal frequency, assumed to be 16 MHz */
|
||||
w /= 16000000;
|
||||
|
||||
/* Set LSB, per AX5043 documentation, to prevent synthesizer spurs */
|
||||
w |= 1;
|
||||
|
||||
/* Upper bits should be zero, otherwise error */
|
||||
if (w >> 32) {
|
||||
/* Do not change freq. */
|
||||
return (uint32_t)-1;
|
||||
}
|
||||
|
||||
return (uint32_t)w;
|
||||
}
|
||||
|
||||
uint32_t calc2(int32_t f)
|
||||
{
|
||||
f = axradio_conv_freq_fromhz(f);
|
||||
|
||||
/* Set LSB, per AX5043 documentation, to prevent synthesizer spurs */
|
||||
f |= 1;
|
||||
|
||||
return (uint32_t)f;
|
||||
}
|
||||
Loading…
Reference in new issue