-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#27 - Changes required to make the generated code work properly. Also
deleted some unused, older code associated with the animated watch.
- Loading branch information
John Wolfe
committed
Jul 17, 2014
1 parent
a1eb4d2
commit 98460e0
Showing
38 changed files
with
1,020 additions
and
630 deletions.
There are no files selected for viewing
7 changes: 4 additions & 3 deletions
7
applications/gps/GPS Watch/.externalToolBuilders/Model Compiler.launch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,15 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="no"?><launchConfiguration type="org.eclipse.ui.externaltools.ProgramBuilderLaunchConfigurationType"> | ||
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | ||
<launchConfiguration type="org.eclipse.ui.externaltools.ProgramBuilderLaunchConfigurationType"> | ||
<stringAttribute key="org.eclipse.debug.core.ATTR_REFRESH_SCOPE" value="${working_set:<?xml version="1.0" encoding="UTF-8"?> <launchConfigurationWorkingSet factoryID="org.eclipse.ui.internal.WorkingSetFactory" id="1349978509510_8" label="working set" name="working set"> <item factoryID="org.eclipse.ui.internal.model.ResourceFactory" path="/GPS Watch" type="4"/> </launchConfigurationWorkingSet>}"/> | ||
<booleanAttribute key="org.eclipse.debug.core.appendEnvironmentVariables" value="true"/> | ||
<mapAttribute key="org.eclipse.debug.core.environmentVariables"> | ||
<mapEntry key="" value="Console"/> | ||
</mapAttribute> | ||
<booleanAttribute key="org.eclipse.debug.ui.ATTR_LAUNCH_IN_BACKGROUND" value="false"/> | ||
<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_BUILDER_ENABLED" value="false"/> | ||
<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_BUILDER_ENABLED" value="true"/> | ||
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="C:/MGC4112/BridgePoint/eclipse_extensions/BridgePoint/eclipse/plugins/com.mentor.nucleus.bp.mc.c.binary_4.1.12/mc3020/bin/xtumlmc_build.exe"/> | ||
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_RUN_BUILD_KINDS" value="full,incremental,"/> | ||
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_TOOL_ARGUMENTS" value=" -home "C:/MGC4112/BridgePoint/eclipse_extensions/BridgePoint/eclipse/plugins/com.mentor.nucleus.bp.mc.c.binary_4.1.12/" -l3b -e -d code_generation -O ../../src/"/> | ||
<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_TRIGGERS_CONFIGURED" value="true"/> | ||
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_WORKING_DIRECTORY" value="${build_project}/gen"/> | ||
</launchConfiguration> | ||
</launchConfiguration> |
7 changes: 0 additions & 7 deletions
7
...s/GPS Watch/.externalToolBuilders/com.mentor.nucleus.bp.mc.c.binary.export_builder.launch
This file was deleted.
Oops, something went wrong.
7 changes: 0 additions & 7 deletions
7
...tch/.externalToolBuilders/org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder.launch
This file was deleted.
Oops, something went wrong.
19 changes: 0 additions & 19 deletions
19
...GPS Watch/.externalToolBuilders/org.eclipse.cdt.managedbuilder.core.genmakebuilder.launch
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
/*---------------------------------------------------------------------------- | ||
* File: MATH_bridge.c | ||
* | ||
* Description: | ||
* Methods for bridging to an external entity. | ||
* | ||
* External Entity: Math (MATH) | ||
* | ||
* your copyright statement can go here (from te_copyright.body) | ||
*--------------------------------------------------------------------------*/ | ||
|
||
#include "GPSWatch_sys_types.h" | ||
#include "LOG_bridge.h" | ||
#include "MATH_bridge.h" | ||
#include "TIM_bridge.h" | ||
#include "MATH_bridge.h" | ||
#include "GPSWatch_sys_types.h" | ||
#include <math.h> | ||
|
||
/* | ||
* Bridge: sqrt | ||
*/ | ||
r_t | ||
MATH_sqrt( const r_t p_x ) | ||
{ | ||
return( sqrt( p_x ) ); | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.