rpp_sci_printf((const char*)
"ERROR: Problem spawning the test task. "
- "Error code: %d\r\n", task_created
+ "Error code: %d\r\n", (uint32_t)task_created
);
wait_for_quit();
return;
rpp_sci_printf((const char*)
"\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b"
- "Samples: %d", samples
+ "Samples: %lu", samples
);
}
rpp_sci_printf((const char*)
"ERROR: Problem spawning the test task. "
- "Error code: %d\r\n", task_created
+ "Error code: %d\r\n", (uint32_t)task_created
);
wait_for_quit();
return;
rpp_sci_printf((const char*)
"ERROR: Problem spawning the test task. "
- "Error code: %d\r\n", task_created
+ "Error code: %d\r\n", (uint32_t)task_created
);
wait_for_quit();
return;
rpp_sci_printf(
"\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b"
- "Samples: %d", samples
+ "Samples: %lu", samples
);
}
rpp_sci_printf((const char*)
"ERROR: Problem spawning the test task. "
- "Error code: %d\r\n", task_created
+ "Error code: %d\r\n", (uint32_t)task_created
);
wait_for_quit();
return;
rpp_sci_printf((const char*)
"ERROR: Problem spawning the test task. "
- "Error code: %d\r\n", task_created
+ "Error code: %d\r\n", (uint32_t)task_created
);
wait_for_quit();
return;
*
* This function is called after startup.
*/
-void main(void)
+int main(void)
{
// Initialize library
rpp_init();
if(task_created != pdPASS) {
rpp_sci_printf((const char*)
"ERROR: Problem allocating memory for command processor to "
- "start. Error code: %d\r\n", task_created
+ "start. Error code: %d\r\n", (uint32_t)task_created
);
busy_infinite_loop();
}
"ERROR: Problem allocating memory for scheduler to start.\r\n"
);
busy_infinite_loop();
+
+ return 0;
}
rpp_sci_printf((const char*)
"ERROR: Problem spawning the test task. "
- "Error code: %d\r\n", task_created
+ "Error code: %d\r\n", (uint32_t)task_created
);
wait_for_quit();
--- /dev/null
+<?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.toolchain.gnu.base.307175498">
+ <storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="cdt.managedbuild.toolchain.gnu.base.307175498" moduleId="org.eclipse.cdt.core.settings" name="Default">
+ <externalSettings/>
+ <extensions>
+ <extension id="org.eclipse.cdt.core.ELF" point="org.eclipse.cdt.core.BinaryParser"/>
+ <extension id="org.eclipse.cdt.core.GmakeErrorParser" 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.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+ <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"/>
+ </extensions>
+ </storageModule>
+ <storageModule moduleId="cdtBuildSystem" version="4.0.0">
+ <configuration artifactName="${ProjName}" buildProperties="" description="" id="cdt.managedbuild.toolchain.gnu.base.307175498" name="Default" parent="org.eclipse.cdt.build.core.emptycfg">
+ <folderInfo id="cdt.managedbuild.toolchain.gnu.base.307175498.1939840090" name="/" resourcePath="">
+ <toolChain id="cdt.managedbuild.toolchain.gnu.base.1771895254" name="cdt.managedbuild.toolchain.gnu.base" superClass="cdt.managedbuild.toolchain.gnu.base">
+ <targetPlatform archList="all" binaryParser="org.eclipse.cdt.core.ELF" id="cdt.managedbuild.target.gnu.platform.base.1872178374" name="Debug Platform" osList="linux,hpux,aix,qnx" superClass="cdt.managedbuild.target.gnu.platform.base"/>
+ <builder buildPath="${workspace_loc:/rpp-test-suite_posix/Default}" id="cdt.managedbuild.target.gnu.builder.base.712159644" keepEnvironmentInBuildfile="false" managedBuildOn="true" name="Gnu Make Builder" superClass="cdt.managedbuild.target.gnu.builder.base"/>
+ <tool id="cdt.managedbuild.tool.gnu.archiver.base.749776317" name="GCC Archiver" superClass="cdt.managedbuild.tool.gnu.archiver.base"/>
+ <tool id="cdt.managedbuild.tool.gnu.cpp.compiler.base.921125778" name="GCC C++ Compiler" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.base"/>
+ <tool id="cdt.managedbuild.tool.gnu.c.compiler.base.607280630" name="GCC C Compiler" superClass="cdt.managedbuild.tool.gnu.c.compiler.base">
+ <option id="gnu.c.compiler.option.include.paths.807574401" name="Include paths (-I)" superClass="gnu.c.compiler.option.include.paths" valueType="includePath">
+ <listOptionValue builtIn="false" value=""${workspace_loc:/${ProjName}/include}""/>
+ <listOptionValue builtIn="false" value="../../../os/6.0.4_posix/include/"/>
+ <listOptionValue builtIn="false" value="../../rpp-test-suite/include/"/>
+ <listOptionValue builtIn="false" value="../../../rpp/include/"/>
+ </option>
+ <option id="gnu.c.compiler.option.misc.other.1082435022" name="Other flags" superClass="gnu.c.compiler.option.misc.other" value="-pthread -c -fmessage-length=0" valueType="string"/>
+ <inputType id="cdt.managedbuild.tool.gnu.c.compiler.input.497561818" superClass="cdt.managedbuild.tool.gnu.c.compiler.input"/>
+ </tool>
+ <tool id="cdt.managedbuild.tool.gnu.c.linker.base.853552706" name="GCC C Linker" superClass="cdt.managedbuild.tool.gnu.c.linker.base">
+ <option id="gnu.c.link.option.libs.1254500065" name="Libraries (-l)" superClass="gnu.c.link.option.libs" valueType="libs">
+ <listOptionValue builtIn="false" value="pthread"/>
+ <listOptionValue builtIn="false" value="m"/>
+ </option>
+ <inputType id="cdt.managedbuild.tool.gnu.c.linker.input.1451368053" 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.base.753872778" name="GCC C++ Linker" superClass="cdt.managedbuild.tool.gnu.cpp.linker.base"/>
+ <tool id="cdt.managedbuild.tool.gnu.assembler.base.1932184853" name="GCC Assembler" superClass="cdt.managedbuild.tool.gnu.assembler.base">
+ <inputType id="cdt.managedbuild.tool.gnu.assembler.input.2129269263" superClass="cdt.managedbuild.tool.gnu.assembler.input"/>
+ </tool>
+ </toolChain>
+ </folderInfo>
+ <sourceEntries>
+ <entry excluding="src|lib" flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name=""/>
+ <entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="lib"/>
+ <entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="src"/>
+ </sourceEntries>
+ </configuration>
+ </storageModule>
+ <storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
+ </cconfiguration>
+ </storageModule>
+ <storageModule moduleId="cdtBuildSystem" version="4.0.0">
+ <project id="rpp-test-suite_posix.null.1593524691" name="rpp-test-suite_posix"/>
+ </storageModule>
+ <storageModule moduleId="org.eclipse.cdt.core.LanguageSettingsProviders"/>
+ <storageModule moduleId="refreshScope" versionNumber="2">
+ <configuration configurationName="Default">
+ <resource resourceType="PROJECT" workspacePath="/rpp-test-suite_posix"/>
+ </configuration>
+ </storageModule>
+ <storageModule moduleId="scannerConfiguration">
+ <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>
+ <scannerConfigBuildInfo instanceId="cdt.managedbuild.toolchain.gnu.base.307175498;cdt.managedbuild.toolchain.gnu.base.307175498.1939840090;cdt.managedbuild.tool.gnu.c.compiler.base.607280630;cdt.managedbuild.tool.gnu.c.compiler.input.497561818">
+ <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>
+ </scannerConfigBuildInfo>
+ </storageModule>
+</cproject>
-Debug
-Release
+Default
.settings/*
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>rpp-test-suite_posix</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>
+ <linkedResources>
+ <link>
+ <name>lib/os</name>
+ <type>2</type>
+ <locationURI>virtual:/virtual</locationURI>
+ </link>
+ <link>
+ <name>lib/rpp</name>
+ <type>2</type>
+ <locationURI>virtual:/virtual</locationURI>
+ </link>
+ <link>
+ <name>src/ain.c</name>
+ <type>1</type>
+ <locationURI>PARENT-1-PROJECT_LOC/rpp-test-suite/src/ain.c</locationURI>
+ </link>
+ <link>
+ <name>src/aout.c</name>
+ <type>1</type>
+ <locationURI>PARENT-1-PROJECT_LOC/rpp-test-suite/src/aout.c</locationURI>
+ </link>
+ <link>
+ <name>src/can.c</name>
+ <type>1</type>
+ <locationURI>PARENT-1-PROJECT_LOC/rpp-test-suite/src/can.c</locationURI>
+ </link>
+ <link>
+ <name>src/din.c</name>
+ <type>1</type>
+ <locationURI>PARENT-1-PROJECT_LOC/rpp-test-suite/src/din.c</locationURI>
+ </link>
+ <link>
+ <name>src/eth.c</name>
+ <type>1</type>
+ <locationURI>PARENT-1-PROJECT_LOC/rpp-test-suite/src/eth.c</locationURI>
+ </link>
+ <link>
+ <name>src/fr.c</name>
+ <type>1</type>
+ <locationURI>PARENT-1-PROJECT_LOC/rpp-test-suite/src/fr.c</locationURI>
+ </link>
+ <link>
+ <name>src/hbr.c</name>
+ <type>1</type>
+ <locationURI>PARENT-1-PROJECT_LOC/rpp-test-suite/src/hbr.c</locationURI>
+ </link>
+ <link>
+ <name>src/hout.c</name>
+ <type>1</type>
+ <locationURI>PARENT-1-PROJECT_LOC/rpp-test-suite/src/hout.c</locationURI>
+ </link>
+ <link>
+ <name>src/lin.c</name>
+ <type>1</type>
+ <locationURI>PARENT-1-PROJECT_LOC/rpp-test-suite/src/lin.c</locationURI>
+ </link>
+ <link>
+ <name>src/lout.c</name>
+ <type>1</type>
+ <locationURI>PARENT-1-PROJECT_LOC/rpp-test-suite/src/lout.c</locationURI>
+ </link>
+ <link>
+ <name>src/main.c</name>
+ <type>1</type>
+ <locationURI>PARENT-1-PROJECT_LOC/rpp-test-suite/src/main.c</locationURI>
+ </link>
+ <link>
+ <name>src/mout.c</name>
+ <type>1</type>
+ <locationURI>PARENT-1-PROJECT_LOC/rpp-test-suite/src/mout.c</locationURI>
+ </link>
+ <link>
+ <name>src/sci.c</name>
+ <type>1</type>
+ <locationURI>PARENT-1-PROJECT_LOC/rpp-test-suite/src/sci.c</locationURI>
+ </link>
+ <link>
+ <name>src/sdc.c</name>
+ <type>1</type>
+ <locationURI>PARENT-1-PROJECT_LOC/rpp-test-suite/src/sdc.c</locationURI>
+ </link>
+ <link>
+ <name>src/sdr.c</name>
+ <type>1</type>
+ <locationURI>PARENT-1-PROJECT_LOC/rpp-test-suite/src/sdr.c</locationURI>
+ </link>
+ <link>
+ <name>lib/os/croutine.c</name>
+ <type>1</type>
+ <locationURI>PARENT-2-PROJECT_LOC/os/6.0.4_posix/src/os/croutine.c</locationURI>
+ </link>
+ <link>
+ <name>lib/os/heap.c</name>
+ <type>1</type>
+ <locationURI>PARENT-2-PROJECT_LOC/os/6.0.4_posix/src/os/heap.c</locationURI>
+ </link>
+ <link>
+ <name>lib/os/list.c</name>
+ <type>1</type>
+ <locationURI>PARENT-2-PROJECT_LOC/os/6.0.4_posix/src/os/list.c</locationURI>
+ </link>
+ <link>
+ <name>lib/os/port.c</name>
+ <type>1</type>
+ <locationURI>PARENT-2-PROJECT_LOC/os/6.0.4_posix/src/os/port.c</locationURI>
+ </link>
+ <link>
+ <name>lib/os/queue.c</name>
+ <type>1</type>
+ <locationURI>PARENT-2-PROJECT_LOC/os/6.0.4_posix/src/os/queue.c</locationURI>
+ </link>
+ <link>
+ <name>lib/os/tasks.c</name>
+ <type>1</type>
+ <locationURI>PARENT-2-PROJECT_LOC/os/6.0.4_posix/src/os/tasks.c</locationURI>
+ </link>
+ <link>
+ <name>lib/rpp/ain.c</name>
+ <type>1</type>
+ <locationURI>PARENT-2-PROJECT_LOC/rpp/src/rpp/ain.c</locationURI>
+ </link>
+ <link>
+ <name>lib/rpp/aout.c</name>
+ <type>1</type>
+ <locationURI>PARENT-2-PROJECT_LOC/rpp/src/rpp/aout.c</locationURI>
+ </link>
+ <link>
+ <name>lib/rpp/can.c</name>
+ <type>1</type>
+ <locationURI>PARENT-2-PROJECT_LOC/rpp/src/rpp/can.c</locationURI>
+ </link>
+ <link>
+ <name>lib/rpp/din.c</name>
+ <type>1</type>
+ <locationURI>PARENT-2-PROJECT_LOC/rpp/src/rpp/din.c</locationURI>
+ </link>
+ <link>
+ <name>lib/rpp/eth.c</name>
+ <type>1</type>
+ <locationURI>PARENT-2-PROJECT_LOC/rpp/src/rpp/eth.c</locationURI>
+ </link>
+ <link>
+ <name>lib/rpp/fr.c</name>
+ <type>1</type>
+ <locationURI>PARENT-2-PROJECT_LOC/rpp/src/rpp/fr.c</locationURI>
+ </link>
+ <link>
+ <name>lib/rpp/hbr.c</name>
+ <type>1</type>
+ <locationURI>PARENT-2-PROJECT_LOC/rpp/src/rpp/hbr.c</locationURI>
+ </link>
+ <link>
+ <name>lib/rpp/hout.c</name>
+ <type>1</type>
+ <locationURI>PARENT-2-PROJECT_LOC/rpp/src/rpp/hout.c</locationURI>
+ </link>
+ <link>
+ <name>lib/rpp/lin.c</name>
+ <type>1</type>
+ <locationURI>PARENT-2-PROJECT_LOC/rpp/src/rpp/lin.c</locationURI>
+ </link>
+ <link>
+ <name>lib/rpp/lout.c</name>
+ <type>1</type>
+ <locationURI>PARENT-2-PROJECT_LOC/rpp/src/rpp/lout.c</locationURI>
+ </link>
+ <link>
+ <name>lib/rpp/mout.c</name>
+ <type>1</type>
+ <locationURI>PARENT-2-PROJECT_LOC/rpp/src/rpp/mout.c</locationURI>
+ </link>
+ <link>
+ <name>lib/rpp/rpp.c</name>
+ <type>1</type>
+ <locationURI>PARENT-2-PROJECT_LOC/rpp/src/rpp/rpp.c</locationURI>
+ </link>
+ <link>
+ <name>lib/rpp/sci.c</name>
+ <type>1</type>
+ <locationURI>PARENT-2-PROJECT_LOC/rpp/src/rpp/sci.c</locationURI>
+ </link>
+ <link>
+ <name>lib/rpp/sci_posix.c</name>
+ <type>1</type>
+ <locationURI>PARENT-2-PROJECT_LOC/os/6.0.4_posix/src/rpp/sci_posix.c</locationURI>
+ </link>
+ <link>
+ <name>lib/rpp/sdc.c</name>
+ <type>1</type>
+ <locationURI>PARENT-2-PROJECT_LOC/rpp/src/rpp/sdc.c</locationURI>
+ </link>
+ <link>
+ <name>lib/rpp/sdr.c</name>
+ <type>1</type>
+ <locationURI>PARENT-2-PROJECT_LOC/rpp/src/rpp/sdr.c</locationURI>
+ </link>
+ </linkedResources>
+</projectDescription>