Subversion Repositories svn.mios32

Compare Revisions

Ignore whitespace Rev 2644 → Rev 2645

/playground/antichambre/examples/mcan/mios32_mcan_basic/app.c
New file
0,0 → 1,139
// $Id: app.c 1920 2014-01-08 19:29:35Z tk $
/*
* MIOS32 Application Template
*
* ==========================================================================
*
* Copyright (C) <year> <your name> (<your email address>)
* Licensed for personal non-commercial use only.
* All other rights reserved.
*
* ==========================================================================
*/
 
/////////////////////////////////////////////////////////////////////////////
// Include files
/////////////////////////////////////////////////////////////////////////////
 
#include <mios32.h>
#include "app.h"
 
 
/////////////////////////////////////////////////////////////////////////////
// Local variables
/////////////////////////////////////////////////////////////////////////////
 
/////////////////////////////////////////////////////////////////////////////
// This hook is called after startup to initialize the application
/////////////////////////////////////////////////////////////////////////////
void APP_Init(void)
{
// initialize all LEDs
MIOS32_BOARD_LED_Init(0xffffffff);
 
 
}
 
 
/////////////////////////////////////////////////////////////////////////////
// This task is running endless in background
/////////////////////////////////////////////////////////////////////////////
void APP_Background(void)
{
 
}
 
 
/////////////////////////////////////////////////////////////////////////////
// This hook is called each mS from the main task which also handles DIN, ENC
// and AIN events. You could add more jobs here, but they shouldn't consume
// more than 300 uS to ensure the responsiveness of buttons, encoders, pots.
// Alternatively you could create a dedicated task for application specific
// jobs as explained in $MIOS32_PATH/apps/tutorials/006_rtos_tasks
/////////////////////////////////////////////////////////////////////////////
void APP_Tick(void)
{
// PWM modulate the status LED (this is a sign of life)
u32 timestamp = MIOS32_TIMESTAMP_Get();
MIOS32_BOARD_LED_Set(1, (timestamp % 20) <= ((timestamp / 100) % 10));
 
}
 
 
/////////////////////////////////////////////////////////////////////////////
// This hook is called each mS from the MIDI task which checks for incoming
// MIDI events. You could add more MIDI related jobs here, but they shouldn't
// consume more than 300 uS to ensure the responsiveness of incoming MIDI.
/////////////////////////////////////////////////////////////////////////////
void APP_MIDI_Tick(void)
{
}
 
 
/////////////////////////////////////////////////////////////////////////////
// This hook is called when a MIDI package has been received
/////////////////////////////////////////////////////////////////////////////
void APP_MIDI_NotifyPackage(mios32_midi_port_t port, mios32_midi_package_t midi_package)
{
s32 status;
if(midi_package.event>=0x8 && midi_package.event<=0xe){
if((port & 0xf0) == MCAN0){
status = MIOS32_MIDI_SendPackage(USB0 + (port & 0x0f), midi_package);
#if APP_MSG_VERBOSE >=1
DEBUG_MSG("[APP_MIDI_NotifyPackage] FW midi package [0x%02x,0x%02x,0x%02x] MCAN%d->USB%d, status: %s\n", midi_package.evnt0, midi_package.evnt1, midi_package.evnt2, port & 0x0f,port & 0x0f, (status>=0)? "Ok" : "Error");
#endif
}else if((port & 0xf0) == USB0){
status = MIOS32_MIDI_SendPackage(MCAN0 + (port & 0x0f), midi_package); // toDo
#if APP_MSG_VERBOSE >=1
DEBUG_MSG("[APP_MIDI_NotifyPackage] FW midi package [0x%02x,0x%02x,0x%02x] USB%d->MCAN%d, status: %s\n", midi_package.evnt0, midi_package.evnt1, midi_package.evnt2, port & 0x0f,port & 0x0f, (status>=0)? "Ok" : "Error");
#endif
}
}
}
 
 
/////////////////////////////////////////////////////////////////////////////
// This hook is called before the shift register chain is scanned
/////////////////////////////////////////////////////////////////////////////
void APP_SRIO_ServicePrepare(void)
{
}
 
 
/////////////////////////////////////////////////////////////////////////////
// This hook is called after the shift register chain has been scanned
/////////////////////////////////////////////////////////////////////////////
void APP_SRIO_ServiceFinish(void)
{
}
 
 
/////////////////////////////////////////////////////////////////////////////
// This hook is called when a button has been toggled
// pin_value is 1 when button released, and 0 when button pressed
/////////////////////////////////////////////////////////////////////////////
void APP_DIN_NotifyToggle(u32 pin, u32 pin_value)
{
}
 
 
/////////////////////////////////////////////////////////////////////////////
// This hook is called when an encoder has been moved
// incrementer is positive when encoder has been turned clockwise, else
// it is negative
/////////////////////////////////////////////////////////////////////////////
void APP_ENC_NotifyChange(u32 encoder, s32 incrementer)
{
}
 
 
/////////////////////////////////////////////////////////////////////////////
// This hook is called when a pot has been moved
/////////////////////////////////////////////////////////////////////////////
void APP_AIN_NotifyChange(u32 pin, u32 pin_value)
{
}
Property changes:
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Index: playground/antichambre/examples/mcan/mios32_mcan_basic/terminal.h
===================================================================
--- playground/antichambre/examples/mcan/mios32_mcan_basic/terminal.h (revision 0)
+++ playground/antichambre/examples/mcan/mios32_mcan_basic/terminal.h (revision 2645)
@@ -0,0 +1,42 @@
+// $Id: terminal.h 1824 2013-09-15 16:50:28Z tk $
+/*
+ * The command/configuration Terminal
+ *
+ * ==========================================================================
+ *
+ * Copyright (C) 2010 Thorsten Klose (tk@midibox.org)
+ * Licensed for personal non-commercial use only.
+ * All other rights reserved.
+ *
+ * ==========================================================================
+ */
+
+#ifndef _TERMINAL_H
+#define _TERMINAL_H
+
+
+/////////////////////////////////////////////////////////////////////////////
+// Global definitions
+/////////////////////////////////////////////////////////////////////////////
+
+
+/////////////////////////////////////////////////////////////////////////////
+// Global Types
+/////////////////////////////////////////////////////////////////////////////
+
+
+/////////////////////////////////////////////////////////////////////////////
+// Prototypes
+/////////////////////////////////////////////////////////////////////////////
+
+extern s32 TERMINAL_Init(u32 mode);
+extern s32 TERMINAL_Parse(mios32_midi_port_t port, char byte);
+extern s32 TERMINAL_ParseLine(char *input, void *_output_function);
+extern s32 TERMINAL_PrintReport(void *_output_function);
+
+/////////////////////////////////////////////////////////////////////////////
+// Export global variables
+/////////////////////////////////////////////////////////////////////////////
+
+
+#endif /* _TERMINAL_H */
/playground/antichambre/examples/mcan/mios32_mcan_basic/terminal.h
Property changes:
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Index: playground/antichambre/examples/mcan/mios32_mcan_basic/.project
===================================================================
--- playground/antichambre/examples/mcan/mios32_mcan_basic/.project (revision 0)
+++ playground/antichambre/examples/mcan/mios32_mcan_basic/.project (revision 2645)
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>mios32_mcan_basic</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>
/playground/antichambre/examples/mcan/mios32_mcan_basic/.project
Property changes:
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Index: playground/antichambre/examples/mcan/mios32_mcan_basic/app.h
===================================================================
--- playground/antichambre/examples/mcan/mios32_mcan_basic/app.h (revision 0)
+++ playground/antichambre/examples/mcan/mios32_mcan_basic/app.h (revision 2645)
@@ -0,0 +1,49 @@
+// $Id: app.h 1919 2014-01-08 19:13:48Z tk $
+/*
+ * Header file of application
+ *
+ * ==========================================================================
+ *
+ * Copyright (C) <year> <your name> (<your email address>)
+ * Licensed for personal non-commercial use only.
+ * All other rights reserved.
+ *
+ * ==========================================================================
+ */
+
+#ifndef _APP_H
+#define _APP_H
+
+
+/////////////////////////////////////////////////////////////////////////////
+// Global definitions
+/////////////////////////////////////////////////////////////////////////////
+
+
+/////////////////////////////////////////////////////////////////////////////
+// Global Types
+/////////////////////////////////////////////////////////////////////////////
+
+
+/////////////////////////////////////////////////////////////////////////////
+// Prototypes
+/////////////////////////////////////////////////////////////////////////////
+
+extern void APP_Init(void);
+extern void APP_Background(void);
+extern void APP_Tick(void);
+extern void APP_MIDI_Tick(void);
+extern void APP_MIDI_NotifyPackage(mios32_midi_port_t port, mios32_midi_package_t midi_package);
+extern void APP_SRIO_ServicePrepare(void);
+extern void APP_SRIO_ServiceFinish(void);
+extern void APP_DIN_NotifyToggle(u32 pin, u32 pin_value);
+extern void APP_ENC_NotifyChange(u32 encoder, s32 incrementer);
+extern void APP_AIN_NotifyChange(u32 pin, u32 pin_value);
+
+
+/////////////////////////////////////////////////////////////////////////////
+// Export global variables
+/////////////////////////////////////////////////////////////////////////////
+extern u32 can_rx_ctr, can_tx_ctr;
+
+#endif /* _APP_H */
/playground/antichambre/examples/mcan/mios32_mcan_basic/app.h
Property changes:
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Index: playground/antichambre/examples/mcan/mios32_mcan_basic/.cproject
===================================================================
--- playground/antichambre/examples/mcan/mios32_mcan_basic/.cproject (revision 0)
+++ playground/antichambre/examples/mcan/mios32_mcan_basic/.cproject (revision 2645)
@@ -0,0 +1,157 @@
+<?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.macosx.base.1031628285.1385108719.1740597557">
+ <storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="cdt.managedbuild.toolchain.gnu.macosx.base.1031628285.1385108719.1740597557" moduleId="org.eclipse.cdt.core.settings" name="dipCoreF4">
+ <macros>
+ <stringListMacro name="PATH" type="VALUE_TEXT_LIST">
+ <value name="/usr/bin"/>
+ <value name="/bin"/>
+ <value name="/usr/sbin"/>
+ <value name="/sbin"/>
+ </stringListMacro>
+ <stringMacro name="MIOS32_PATH" type="VALUE_TEXT" value="/Volumes/DATA/Bruno/eclipse-workspace/mios32/trunk"/>
+ </macros>
+ <externalSettings/>
+ <extensions>
+ <extension id="org.eclipse.cdt.core.MachO64" 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.GmakeErrorParser" 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.CWDLocator" 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}" buildProperties="" description="" id="cdt.managedbuild.toolchain.gnu.macosx.base.1031628285.1385108719.1740597557" name="dipCoreF4" optionalBuildProperties="org.eclipse.cdt.docker.launcher.containerbuild.property.selectedvolumes=,org.eclipse.cdt.docker.launcher.containerbuild.property.volumes=" parent="org.eclipse.cdt.build.core.emptycfg">
+ <folderInfo id="cdt.managedbuild.toolchain.gnu.macosx.base.1031628285.1385108719.1740597557." name="/" resourcePath="">
+ <toolChain id="cdt.managedbuild.toolchain.gnu.macosx.base.1600493096" name="MacOSX GCC" superClass="cdt.managedbuild.toolchain.gnu.macosx.base">
+ <targetPlatform archList="all" binaryParser="org.eclipse.cdt.core.MachO64" id="cdt.managedbuild.target.gnu.platform.macosx.base.1934444518" name="Debug Platform" osList="macosx" superClass="cdt.managedbuild.target.gnu.platform.macosx.base"/>
+ <builder id="cdt.managedbuild.target.gnu.builder.macosx.base.884010832" keepEnvironmentInBuildfile="false" managedBuildOn="false" name="Gnu Make Builder" superClass="cdt.managedbuild.target.gnu.builder.macosx.base"/>
+ <tool id="cdt.managedbuild.tool.macosx.c.linker.macosx.base.769597664" name="MacOS X C Linker" superClass="cdt.managedbuild.tool.macosx.c.linker.macosx.base"/>
+ <tool id="cdt.managedbuild.tool.macosx.cpp.linker.macosx.base.852271272" name="MacOS X C++ Linker" superClass="cdt.managedbuild.tool.macosx.cpp.linker.macosx.base">
+ <option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="macosx.cpp.link.option.paths.1157347659" name="Library search path (-L)" superClass="macosx.cpp.link.option.paths" valueType="libPaths">
+ <listOptionValue builtIn="false" value="&quot;${workspace_loc:/mios32/trunk/}&quot;"/>
+ </option>
+ <inputType id="cdt.managedbuild.tool.macosx.cpp.linker.input.1949959596" superClass="cdt.managedbuild.tool.macosx.cpp.linker.input">
+ <additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/>
+ <additionalInput kind="additionalinput" paths="$(LIBS)"/>
+ </inputType>
+ </tool>
+ <tool id="cdt.managedbuild.tool.gnu.assembler.macosx.base.1257408739" name="GCC Assembler" superClass="cdt.managedbuild.tool.gnu.assembler.macosx.base">
+ <option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="true" id="gnu.both.asm.option.include.paths.1247723661" name="Include paths (-I)" superClass="gnu.both.asm.option.include.paths" valueType="includePath"/>
+ <inputType id="cdt.managedbuild.tool.gnu.assembler.input.735644571" superClass="cdt.managedbuild.tool.gnu.assembler.input"/>
+ </tool>
+ <tool id="cdt.managedbuild.tool.gnu.archiver.macosx.base.1780637599" name="GCC Archiver" superClass="cdt.managedbuild.tool.gnu.archiver.macosx.base"/>
+ <tool id="cdt.managedbuild.tool.gnu.cpp.compiler.macosx.base.1018858248" name="GCC C++ Compiler" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.macosx.base">
+ <inputType id="cdt.managedbuild.tool.gnu.cpp.compiler.input.73675062" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.input"/>
+ </tool>
+ <tool id="cdt.managedbuild.tool.gnu.c.compiler.macosx.base.1970205881" name="GCC C Compiler" superClass="cdt.managedbuild.tool.gnu.c.compiler.macosx.base">
+ <option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="gnu.c.compiler.option.include.paths.1893011058" name="Include paths (-I)" superClass="gnu.c.compiler.option.include.paths" useByScannerDiscovery="false" valueType="includePath">
+ <listOptionValue builtIn="false" value="&quot;${MIOS32_PATH}&quot;"/>
+ </option>
+ <option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="gnu.c.compiler.option.preprocessor.def.symbols.183353676" name="Defined symbols (-D)" superClass="gnu.c.compiler.option.preprocessor.def.symbols" useByScannerDiscovery="false" valueType="definedSymbols">
+ <listOptionValue builtIn="false" value="&quot;MIOS32_BIN_PATH=${MIOS32_PATH}/bin&quot;"/>
+ <listOptionValue builtIn="false" value="MIOS32_FAMILY=STM32F4xx"/>
+ <listOptionValue builtIn="false" value="MIOS32_PROCESSOR=STM32F405RG"/>
+ <listOptionValue builtIn="false" value="MIOS32_BOARD=MBHP_DIPCOREF4"/>
+ </option>
+ <inputType id="cdt.managedbuild.tool.gnu.c.compiler.input.398034625" superClass="cdt.managedbuild.tool.gnu.c.compiler.input"/>
+ </tool>
+ </toolChain>
+ </folderInfo>
+ <sourceEntries>
+ <entry excluding="mios32" flags="VALUE_WORKSPACE_PATH" kind="sourcePath" name=""/>
+ <entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="mios32"/>
+ </sourceEntries>
+ </configuration>
+ </storageModule>
+ <storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
+ </cconfiguration>
+ <cconfiguration id="cdt.managedbuild.toolchain.gnu.macosx.base.1031628285.50845518.1010092768.503549782">
+ <storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="cdt.managedbuild.toolchain.gnu.macosx.base.1031628285.50845518.1010092768.503549782" moduleId="org.eclipse.cdt.core.settings" name="stm32f4">
+ <macros>
+ <stringListMacro name="PATH" type="VALUE_TEXT_LIST">
+ <value name="/usr/bin"/>
+ <value name="/bin"/>
+ <value name="/usr/sbin"/>
+ <value name="/sbin"/>
+ </stringListMacro>
+ <stringMacro name="MIOS32_PATH" type="VALUE_TEXT" value="/Volumes/DATA/Bruno/eclipse-workspace/mios32/trunk"/>
+ </macros>
+ <externalSettings/>
+ <extensions>
+ <extension id="org.eclipse.cdt.core.MachO64" point="org.eclipse.cdt.core.BinaryParser"/>
+ <extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+ <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.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.macosx.base.1031628285.50845518.1010092768.503549782" name="stm32f4" optionalBuildProperties="org.eclipse.cdt.docker.launcher.containerbuild.property.selectedvolumes=,org.eclipse.cdt.docker.launcher.containerbuild.property.volumes=" parent="org.eclipse.cdt.build.core.emptycfg">
+ <folderInfo id="cdt.managedbuild.toolchain.gnu.macosx.base.1031628285.50845518.1010092768.503549782." name="/" resourcePath="">
+ <toolChain id="cdt.managedbuild.toolchain.gnu.macosx.base.1912132914" name="MacOSX GCC" superClass="cdt.managedbuild.toolchain.gnu.macosx.base">
+ <targetPlatform archList="all" binaryParser="org.eclipse.cdt.core.MachO64" id="cdt.managedbuild.target.gnu.platform.macosx.base.1377598703" name="Debug Platform" osList="macosx" superClass="cdt.managedbuild.target.gnu.platform.macosx.base"/>
+ <builder buildPath="${workspace_loc:/mcan_basic}/" id="cdt.managedbuild.target.gnu.builder.macosx.base.828386855" keepEnvironmentInBuildfile="false" managedBuildOn="false" name="Gnu Make Builder" superClass="cdt.managedbuild.target.gnu.builder.macosx.base"/>
+ <tool id="cdt.managedbuild.tool.macosx.c.linker.macosx.base.1575431865" name="MacOS X C Linker" superClass="cdt.managedbuild.tool.macosx.c.linker.macosx.base"/>
+ <tool id="cdt.managedbuild.tool.macosx.cpp.linker.macosx.base.973408964" name="MacOS X C++ Linker" superClass="cdt.managedbuild.tool.macosx.cpp.linker.macosx.base">
+ <inputType id="cdt.managedbuild.tool.macosx.cpp.linker.input.773137693" superClass="cdt.managedbuild.tool.macosx.cpp.linker.input">
+ <additionalInput kind="additionalinputdependency" paths="$(USER_OBJS)"/>
+ <additionalInput kind="additionalinput" paths="$(LIBS)"/>
+ </inputType>
+ </tool>
+ <tool id="cdt.managedbuild.tool.gnu.assembler.macosx.base.1332528624" name="GCC Assembler" superClass="cdt.managedbuild.tool.gnu.assembler.macosx.base">
+ <inputType id="cdt.managedbuild.tool.gnu.assembler.input.1702807635" superClass="cdt.managedbuild.tool.gnu.assembler.input"/>
+ </tool>
+ <tool id="cdt.managedbuild.tool.gnu.archiver.macosx.base.792198280" name="GCC Archiver" superClass="cdt.managedbuild.tool.gnu.archiver.macosx.base"/>
+ <tool id="cdt.managedbuild.tool.gnu.cpp.compiler.macosx.base.28634040" name="GCC C++ Compiler" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.macosx.base">
+ <inputType id="cdt.managedbuild.tool.gnu.cpp.compiler.input.152304623" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.input"/>
+ </tool>
+ <tool id="cdt.managedbuild.tool.gnu.c.compiler.macosx.base.536500969" name="GCC C Compiler" superClass="cdt.managedbuild.tool.gnu.c.compiler.macosx.base">
+ <option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="gnu.c.compiler.option.include.paths.1957387427" name="Include paths (-I)" superClass="gnu.c.compiler.option.include.paths" useByScannerDiscovery="false" valueType="includePath">
+ <listOptionValue builtIn="false" value="&quot;${MIOS32_PATH}/include&quot;"/>
+ <listOptionValue builtIn="false" value="&quot;${ProjDirPath}&quot;"/>
+ </option>
+ <option IS_BUILTIN_EMPTY="false" IS_VALUE_EMPTY="false" id="gnu.c.compiler.option.preprocessor.def.symbols.960439139" name="Defined symbols (-D)" superClass="gnu.c.compiler.option.preprocessor.def.symbols" useByScannerDiscovery="false" valueType="definedSymbols">
+ <listOptionValue builtIn="false" value="&quot;MIOS32_BIN_PATH=${MIOS32_PATH}/bin&quot;"/>
+ <listOptionValue builtIn="false" value="MIOS32_FAMILY=STM32F4xx"/>
+ <listOptionValue builtIn="false" value="MIOS32_PROCESSOR=STM32F405RG"/>
+ <listOptionValue builtIn="false" value="MIOS32_BOARD=MBHP_DIPCOREF4"/>
+ </option>
+ <inputType id="cdt.managedbuild.tool.gnu.c.compiler.input.1512708861" superClass="cdt.managedbuild.tool.gnu.c.compiler.input"/>
+ </tool>
+ </toolChain>
+ </folderInfo>
+ <sourceEntries>
+ <entry excluding="programming model|Sources" flags="VALUE_WORKSPACE_PATH" kind="sourcePath" name=""/>
+ <entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="Sources"/>
+ <entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="programming model"/>
+ </sourceEntries>
+ </configuration>
+ </storageModule>
+ <storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
+ </cconfiguration>
+ </storageModule>
+ <storageModule moduleId="cdtBuildSystem" version="4.0.0">
+ <project id="mcan_basic.null.2031822144" name="mcan_basic"/>
+ </storageModule>
+ <storageModule moduleId="scannerConfiguration">
+ <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>
+ </storageModule>
+ <storageModule moduleId="org.eclipse.cdt.core.LanguageSettingsProviders"/>
+ <storageModule moduleId="refreshScope" versionNumber="2">
+ <configuration configurationName="Default">
+ <resource resourceType="PROJECT" workspacePath="/mcan_basic"/>
+ </configuration>
+ <configuration configurationName="dipCoreF4">
+ <resource resourceType="PROJECT" workspacePath="/mcan_basic"/>
+ </configuration>
+ <configuration configurationName="stm32f4">
+ <resource resourceType="PROJECT" workspacePath="/mcan_basic"/>
+ </configuration>
+ </storageModule>
+ <storageModule moduleId="org.eclipse.cdt.make.core.buildtargets"/>
+ <storageModule moduleId="org.eclipse.cdt.internal.ui.text.commentOwnerProjectMappings"/>
+</cproject>
/playground/antichambre/examples/mcan/mios32_mcan_basic/.cproject
Property changes:
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Index: playground/antichambre/examples/mcan/mios32_mcan_basic/mios32_config.h
===================================================================
--- playground/antichambre/examples/mcan/mios32_mcan_basic/mios32_config.h (revision 0)
+++ playground/antichambre/examples/mcan/mios32_mcan_basic/mios32_config.h (revision 2645)
@@ -0,0 +1,56 @@
+// $Id: mios32_config.h 502 2009-05-09 14:20:30Z tk $
+/*
+ * Local MIOS32 configuration file
+ *
+ * this file allows to disable (or re-configure) default functions of MIOS32
+ * available switches are listed in $MIOS32_PATH/modules/mios32/MIOS32_CONFIG.txt
+ *
+ */
+
+#ifndef _MIOS32_CONFIG_H
+#define _MIOS32_CONFIG_H
+
+// The boot message which is print during startup and returned on a SysEx query
+#define MIOS32_LCD_BOOT_MSG_LINE1 "MCAN[Basic] example App"
+#define MIOS32_LCD_BOOT_MSG_LINE2 "(C) 2017 TK/Antichambre"
+
+// function used to output debug messages (must be printf compatible!)
+#define DEBUG_MSG MIOS32_MIDI_SendDebugMessage
+#define APP_MSG_VERBOSE 0
+
+/* the use of MCAN must be precised. */
+#define MIOS32_USE_CAN
+
+/* CAN1 is MCAN must be precised. */
+#define MIOS32_USE_CAN_MIDI
+
+/* User input for node Id number */
+#define MIOS32_CAN_MIDI_NODE_ID 0x10
+
+/* Number MCAN MIDI Ports, default is 16 */
+#define MIOS32_CAN_MIDI_NUM_PORTS 16
+
+/* - Enhanced mode allowed (send/receive extended message)
+ if necessary (if needed and requested by an other node).
+ Note: Message type and cable filter is used in this mode.
+ - If not precised, MCAN is in Basic Mode(not able to send/receive extended message) */
+//#define MIOS32_CAN_MIDI_ENHANCED
+
+
+#define MIOS32_DONT_USE_UART
+#define MIOS32_DONT_USE_IIC
+
+#define MIOS32_DONT_USE_USB_HOST
+#define MIOS32_DONT_USE_USB_HS_HOST
+
+
+/* Number USB MIDI Ports, default is 1 */
+#define MIOS32_USB_MIDI_NUM_PORTS 8
+
+// change MCAN verbose level here, default is 0
+// note: can be changed in terminal
+#define MIOS32_CAN_MIDI_VERBOSE_LEVEL 1
+
+
+
+#endif /* _MIOS32_CONFIG_H */
/playground/antichambre/examples/mcan/mios32_mcan_basic/mios32_config.h
Property changes:
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Index: playground/antichambre/examples/mcan/mios32_mcan_basic/README.txt
===================================================================
--- playground/antichambre/examples/mcan/mios32_mcan_basic/README.txt (revision 0)
+++ playground/antichambre/examples/mcan/mios32_mcan_basic/README.txt (revision 2645)
@@ -0,0 +1,23 @@
+$Id: README.txt 1221 2011-06-15 17:47:17Z tk $
+
+<Application Title>
+===============================================================================
+Copyright (C) <year> <your name> (<your email address>)
+Licensed for personal non-commercial use only.
+All other rights reserved.
+===============================================================================
+
+Required tools:
+ -> http://www.ucapps.de/mio32_c.html
+
+===============================================================================
+
+Required hardware:
+ o 2 MBHP_CORE_STM32
+ o a CAN link between the J18 ports
+
+===============================================================================
+
+<Application Description>
+Forward USB MIDI to MCAN and MCAN to USB
+===============================================================================
/playground/antichambre/examples/mcan/mios32_mcan_basic/README.txt
Property changes:
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Index: playground/antichambre/examples/mcan/mios32_mcan_basic/terminal.c
===================================================================
--- playground/antichambre/examples/mcan/mios32_mcan_basic/terminal.c (revision 0)
+++ playground/antichambre/examples/mcan/mios32_mcan_basic/terminal.c (revision 2645)
@@ -0,0 +1,277 @@
+// $Id: terminal.c 1824 2013-09-15 16:50:28Z tk $
+/*
+ * The command/configuration Terminal
+ *
+ * ==========================================================================
+ *
+ * Copyright (C) 2010 Thorsten Klose (tk@midibox.org)
+ * Licensed for personal non-commercial use only.
+ * All other rights reserved.
+ *
+ * ==========================================================================
+ */
+
+/////////////////////////////////////////////////////////////////////////////
+// Include files
+/////////////////////////////////////////////////////////////////////////////
+
+#include <mios32.h>
+#include <string.h>
+
+#include "app.h"
+#include "terminal.h"
+
+
+
+/////////////////////////////////////////////////////////////////////////////
+// Local defines
+/////////////////////////////////////////////////////////////////////////////
+
+#define STRING_MAX 100 // recommended size for file transfers via FILE_BrowserHandler()
+
+const char err_state_str[8][32] ={
+{"Last Err: No Error "},
+{"Last Err: Stuff Error "},
+{"Last Err: Form Error "},
+{"Last Err: Acknowledgment Error"},
+{"Last Err: Bit Recessive Error "},
+{"Last Err: Bit Dominant Error "},
+{"Last Err: CRC Error "},
+{"Last Err: Software Set Error "}
+};
+
+const char bus_state_str[4][32] ={
+ {"Bus Off!!!"},
+ {"Is Passive"},
+ {"In Warning"},
+ {"Bus is Ok."}
+};
+
+/////////////////////////////////////////////////////////////////////////////
+// Local variables
+/////////////////////////////////////////////////////////////////////////////
+
+static char line_buffer[STRING_MAX];
+static u16 line_ix;
+
+
+/////////////////////////////////////////////////////////////////////////////
+// Local prototypes
+/////////////////////////////////////////////////////////////////////////////
+static s32 get_dec(char *word);
+
+/////////////////////////////////////////////////////////////////////////////
+// Initialisation
+/////////////////////////////////////////////////////////////////////////////
+s32 TERMINAL_Init(u32 mode)
+{
+ // install the callback function which is called on incoming characters from MIOS Terminal
+ MIOS32_MIDI_DebugCommandCallback_Init(TERMINAL_Parse);
+
+ // clear line buffer
+ line_buffer[0] = 0;
+ line_ix = 0;
+
+ return 0; // no error
+}
+
+
+/////////////////////////////////////////////////////////////////////////////
+// Parser
+/////////////////////////////////////////////////////////////////////////////
+s32 TERMINAL_Parse(mios32_midi_port_t port, char byte)
+{
+ // temporary change debug port (will be restored at the end of this function)
+ mios32_midi_port_t prev_debug_port = MIOS32_MIDI_DebugPortGet();
+ MIOS32_MIDI_DebugPortSet(port);
+
+ if( byte == '\r' ) {
+ // ignore
+ } else if( byte == '\n' ) {
+ //MUTEX_MIDIOUT_TAKE;
+ TERMINAL_ParseLine(line_buffer, MIOS32_MIDI_SendDebugMessage);
+ //MUTEX_MIDIOUT_GIVE;
+ line_ix = 0;
+ line_buffer[line_ix] = 0;
+ } else if( line_ix < (STRING_MAX-1) ) {
+ line_buffer[line_ix++] = byte;
+ line_buffer[line_ix] = 0;
+ }
+
+ // restore debug port
+ MIOS32_MIDI_DebugPortSet(prev_debug_port);
+
+ return 0; // no error
+}
+
+
+/////////////////////////////////////////////////////////////////////////////
+// Parser for a complete line - also used by shell.c for telnet
+/////////////////////////////////////////////////////////////////////////////
+s32 TERMINAL_ParseLine(char *input, void *_output_function)
+{
+ void (*out)(char *format, ...) = _output_function;
+ char *separators = " \t";
+ char *brkt;
+ char *parameter;
+
+ // since strtok_r works destructive (separators in *input replaced by NUL), we have to restore them
+ // on an unsuccessful call (whenever this function returns < 1)
+ int input_len = strlen(input);
+
+ if( (parameter = strtok_r(input, separators, &brkt)) ) {
+
+ if( strcasecmp(parameter, "mcan") == 0 ) {
+ //MCAN_TerminalPrintStatus(_output_function);
+ return 1; // command taken
+ } else if( strcasecmp(parameter, "mcan_reconnect") == 0 ) {
+ MIOS32_CAN_Init(0);
+ //out("Scanning for MCAN nodes...");
+ return 1; // command taken
+ } else if( strcasecmp(parameter, "mcan_report") == 0 ) {
+ TERMINAL_PrintReport(_output_function);
+ //out("Scanning for MCAN nodes...");
+ return 1; // command taken
+ } else if( strcasecmp(parameter, "mcan_last_err") == 0 ) {
+ TERMINAL_PrintReport(_output_function);
+ //out("Scanning for MCAN nodes...");
+ return 1; // command taken
+ } else if( strcasecmp(parameter, "mcan_report_reset") == 0 ) {
+ MIOS32_CAN_ReportReset(0);
+ MIOS32_CAN_ReportReset(1);
+ out("All Report informations were resetted.");
+ return 1; // command taken
+ } else if( strcasecmp(parameter, "set") == 0 ) {
+ if( !(parameter = strtok_r(NULL, separators, &brkt)) ) {
+ out("Missing parameter after 'set'!");
+ return 1; // command taken
+ }
+
+ if( strcasecmp(parameter, "mcan_id") == 0 ) {
+ s32 value = -1;
+ if( (parameter = strtok_r(NULL, separators, &brkt)) )
+ value = get_dec(parameter);
+
+ if( value < 0x00 || value > 0x7f ) {
+ out("Expecting value between 0x00..0x7f!");
+ return 1; // command taken
+ }
+
+ if( MIOS32_CAN_MIDI_NodeIDSet(value) >= 0 ) {
+ out("MCAN ID changed to 0x%02x.", MIOS32_CAN_MIDI_NodeIDGet());
+ } else {
+ out("Failed to change ID!");
+ }
+ return 1; // command taken
+
+ } else if( strcasecmp(parameter, "mcan_verbose") == 0 ) {
+ s32 value = -1;
+ if( (parameter = strtok_r(NULL, separators, &brkt)) )
+ value = get_dec(parameter);
+
+ if( value < 0 || value > 3 ) {
+ out("Expecting value between 0..3!");
+ return 1; // command taken
+ }
+
+ if( MIOS32_CAN_MIDI_VerboseSet(value) >= 0 ) {
+ out("MCAN Verbose Level set to %d.", MIOS32_CAN_MIDI_VerboseGet());
+ } else {
+ out("Failed to change verbose level!");
+ }
+ return 1; // command taken
+
+ } else {
+ // out("Unknown command - type 'help' to list available commands!");
+ }
+ }
+ }
+
+ // restore input line (replace NUL characters by spaces)
+ int i;
+ char *input_ptr = input;
+ for(i=0; i<input_len; ++i, ++input_ptr)
+ if( !*input_ptr )
+ *input_ptr = ' ';
+
+ if( (parameter = strtok_r(input, separators, &brkt)) ) {
+ if( strcmp(parameter, "help") == 0 ) {
+ out("Welcome to " MIOS32_LCD_BOOT_MSG_LINE1 "!");
+ out("Following commands are available:");
+ out(" mcan: prints status informations");
+ out(" mcan_report: prints report about MCANx informations");
+ out(" mcan_report_reset: resets report about MCANx informations");
+ out(" mcan_last_err prints last CAN bus error");
+ out(" mcan_reconnect: reconnects MCAN node to the bus");
+ out(" set mcan_id <0x00..0x7f>: changes my MCAN ID (current ID: 0x%02x)\n", MIOS32_CAN_MIDI_NodeIDGet());
+ out(" set mcan_verbose <0..4>: enables MCAN debug messages (verbose level: %d)\n", MIOS32_CAN_MIDI_VerboseGet());
+ out(" reset: resets the MIDIbox (!)\n");
+ out(" help: this page");
+ } else if( strcmp(parameter, "reset") == 0 ) {
+ MIOS32_SYS_Reset();
+ } else {
+ out("Unknown command - type 'help' to list available commands!");
+ }
+ }
+
+ return 0; // no error
+}
+
+
+/////////////////////////////////////////////////////////////////////////////
+// Keyboard Configuration (can also be called from external)
+/////////////////////////////////////////////////////////////////////////////
+s32 TERMINAL_PrintReport(void *_output_function)
+{
+ void (*out)(char *format, ...) = _output_function;
+
+ out("MCANx Node Id: 0x%02x", MIOS32_CAN_MIDI_NodeIDGet());
+
+ if( (MIOS32_MIDI_CheckAvailable(MCAN0) || MIOS32_MIDI_CheckAvailable(MCAN0+16)) == 0){
+ out("There's no MCANx available for MIDI!");
+ }else{
+ if( MIOS32_MIDI_CheckAvailable(MCAN0) ){
+ can_stat_report_t report;
+ MIOS32_CAN_ReportGetCurr(0, &report);
+ out("MCAN0 Rx Packets: %d", report.rx_packets_ctr);
+ out("MCAN0 Tx Packets: %d", report.tx_packets_ctr);
+ out("MCAN0 Rx Buffer Packets lost: %d, with err:%d", report.rx_packets_err, report.rx_last_buff_err);
+ out("MCAN0 Bus Status: %s:", bus_state_str[report.bus_state +1]);
+ out("- Rx err counter:%d,", report.bus_curr_err.rec);
+ out("- Tx err counter:%d,", report.bus_curr_err.tec);
+ out("- %s,",err_state_str[report.bus_curr_err.lec]);
+ out("- %s,",report.bus_curr_err.ewgf ? "Warning!" : "No warning");
+ out("- %s.",report.bus_curr_err.epvf ? "Passive!" : "Not passive");
+
+ }
+
+ if( MIOS32_MIDI_CheckAvailable(MCAN0+16) ){
+
+
+ }
+ }
+
+// out("MCAN Verbose Level: %d", MCAN_VerboseLevelGet());//}
+
+ return 0; // no error
+}
+
+
+/////////////////////////////////////////////////////////////////////////////
+// help function which parses a decimal or hex value
+// returns >= 0 if value is valid
+// returns -1 if value is invalid
+/////////////////////////////////////////////////////////////////////////////
+s32 get_dec(char *word)
+{
+ if( word == NULL )
+ return -1;
+
+ char *next;
+ long l = strtol(word, &next, 0);
+
+ if( word == next )
+ return -1;
+
+ return l; // value is valid
+}
/playground/antichambre/examples/mcan/mios32_mcan_basic/terminal.c
Property changes:
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Index: playground/antichambre/examples/mcan/mios32_mcan_basic/Makefile
===================================================================
--- playground/antichambre/examples/mcan/mios32_mcan_basic/Makefile (revision 0)
+++ playground/antichambre/examples/mcan/mios32_mcan_basic/Makefile (revision 2645)
@@ -0,0 +1,55 @@
+# $Id: Makefile 1820 2013-09-01 15:44:33Z tk $
+
+################################################################################
+# following setup taken from environment variables
+################################################################################
+
+PROCESSOR = $(MIOS32_PROCESSOR)
+FAMILY = $(MIOS32_FAMILY)
+BOARD = $(MIOS32_BOARD)
+LCD = $(MIOS32_LCD)
+
+
+################################################################################
+# Source Files, include paths and libraries
+################################################################################
+
+THUMB_SOURCE = app.c
+
+# (following source stubs not relevant for Cortex M3 derivatives)
+THUMB_AS_SOURCE =
+ARM_SOURCE =
+ARM_AS_SOURCE =
+
+C_INCLUDE = -I .
+A_INCLUDE = -I .
+
+LIBS =
+
+
+################################################################################
+# Remaining variables
+################################################################################
+
+LD_FILE = $(MIOS32_PATH)/etc/ld/$(FAMILY)/$(PROCESSOR).ld
+PROJECT = project
+
+DEBUG = -g
+OPTIMIZE = -Os
+
+CFLAGS = $(DEBUG) $(OPTIMIZE)
+
+
+################################################################################
+# Include source modules via additional makefiles
+################################################################################
+
+# sources of programming model
+include $(MIOS32_PATH)/programming_models/traditional/programming_model.mk
+
+# application specific LCD driver (selected via makefile variable)
+include $(MIOS32_PATH)/modules/app_lcd/$(LCD)/app_lcd.mk
+
+# common make rules
+# Please keep this include statement at the end of this Makefile. Add new modules above.
+include $(MIOS32_PATH)/include/makefile/common.mk
Index: playground/antichambre/examples/mcan/mios32_mcan_basic/.settings/language.settings.xml
===================================================================
--- playground/antichambre/examples/mcan/mios32_mcan_basic/.settings/language.settings.xml (revision 0)
+++ playground/antichambre/examples/mcan/mios32_mcan_basic/.settings/language.settings.xml (revision 2645)
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<project>
+ <configuration id="cdt.managedbuild.toolchain.gnu.macosx.base.1031628285.1385108719.1740597557" name="dipCoreF4">
+ <extension point="org.eclipse.cdt.core.LanguageSettingsProvider">
+ <provider class="org.eclipse.cdt.core.language.settings.providers.LanguageSettingsGenericProvider" id="org.eclipse.cdt.ui.UserLanguageSettingsProvider" name="CDT User Setting Entries" prefer-non-shared="true"/>
+ <provider-reference id="org.eclipse.cdt.core.ReferencedProjectsLanguageSettingsProvider" ref="shared-provider"/>
+ <provider copy-of="extension" id="org.eclipse.cdt.managedbuilder.core.GCCBuildCommandParser"/>
+ <provider class="org.eclipse.cdt.managedbuilder.language.settings.providers.GCCBuiltinSpecsDetector" console="false" env-hash="-1604274858131125351" id="org.eclipse.cdt.managedbuilder.core.GCCBuiltinSpecsDetector" keep-relative-paths="false" name="CDT GCC Built-in Compiler Settings" parameter="${COMMAND} ${FLAGS} -E -P -v -dD &quot;${INPUTS}&quot;" prefer-non-shared="true">
+ <language-scope id="org.eclipse.cdt.core.gcc"/>
+ <language-scope id="org.eclipse.cdt.core.g++"/>
+ </provider>
+ <provider-reference id="org.eclipse.cdt.managedbuilder.core.MBSLanguageSettingsProvider" ref="shared-provider"/>
+ </extension>
+ </configuration>
+ <configuration id="cdt.managedbuild.toolchain.gnu.macosx.base.1031628285.50845518.1010092768.503549782" name="stm32f4">
+ <extension point="org.eclipse.cdt.core.LanguageSettingsProvider">
+ <provider class="org.eclipse.cdt.core.language.settings.providers.LanguageSettingsGenericProvider" id="org.eclipse.cdt.ui.UserLanguageSettingsProvider" name="CDT User Setting Entries" prefer-non-shared="true"/>
+ <provider-reference id="org.eclipse.cdt.core.ReferencedProjectsLanguageSettingsProvider" ref="shared-provider"/>
+ <provider class="org.eclipse.cdt.managedbuilder.language.settings.providers.GCCBuildCommandParser" id="org.eclipse.cdt.managedbuilder.core.GCCBuildCommandParser" keep-relative-paths="false" name="CDT GCC Build Output Parser" parameter="(g?cc)|([gc]\+\+)|(clang)" prefer-non-shared="true"/>
+ <provider class="org.eclipse.cdt.managedbuilder.language.settings.providers.GCCBuiltinSpecsDetector" console="false" env-hash="-1604274858131125351" id="org.eclipse.cdt.managedbuilder.core.GCCBuiltinSpecsDetector" keep-relative-paths="false" name="CDT GCC Built-in Compiler Settings" parameter="${COMMAND} ${FLAGS} -E -P -v -dD &quot;${INPUTS}&quot;" prefer-non-shared="true">
+ <language-scope id="org.eclipse.cdt.core.gcc"/>
+ <language-scope id="org.eclipse.cdt.core.g++"/>
+ </provider>
+ <provider-reference id="org.eclipse.cdt.managedbuilder.core.MBSLanguageSettingsProvider" ref="shared-provider"/>
+ </extension>
+ </configuration>
+</project>
/playground/antichambre/examples/mcan/mios32_mcan_basic/.settings/language.settings.xml
Property changes:
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Index: playground/antichambre/examples/mcan/mios32_mcan_basic/.settings/org.eclipse.cdt.core.prefs
===================================================================
--- playground/antichambre/examples/mcan/mios32_mcan_basic/.settings/org.eclipse.cdt.core.prefs (revision 0)
+++ playground/antichambre/examples/mcan/mios32_mcan_basic/.settings/org.eclipse.cdt.core.prefs (revision 2645)
@@ -0,0 +1,65 @@
+eclipse.preferences.version=1
+environment/project/cdt.managedbuild.toolchain.gnu.macosx.base.1031628285.1385108719.1740597557/ANTICHAMBRE_PATH/delimiter=\:
+environment/project/cdt.managedbuild.toolchain.gnu.macosx.base.1031628285.1385108719.1740597557/ANTICHAMBRE_PATH/operation=append
+environment/project/cdt.managedbuild.toolchain.gnu.macosx.base.1031628285.1385108719.1740597557/ANTICHAMBRE_PATH/value=/Volumes/DATA/Bruno/eclipse-workspace/mios32/playground/antichambre
+environment/project/cdt.managedbuild.toolchain.gnu.macosx.base.1031628285.1385108719.1740597557/CWD/delimiter=\:
+environment/project/cdt.managedbuild.toolchain.gnu.macosx.base.1031628285.1385108719.1740597557/CWD/operation=replace
+environment/project/cdt.managedbuild.toolchain.gnu.macosx.base.1031628285.1385108719.1740597557/CWD/value=/Volumes/DATA/Bruno/svn_current/mios32/playground/antichambre/examples/mcan/mcan_basic/
+environment/project/cdt.managedbuild.toolchain.gnu.macosx.base.1031628285.1385108719.1740597557/MIOS32_BIN_PATH/delimiter=\:
+environment/project/cdt.managedbuild.toolchain.gnu.macosx.base.1031628285.1385108719.1740597557/MIOS32_BIN_PATH/operation=append
+environment/project/cdt.managedbuild.toolchain.gnu.macosx.base.1031628285.1385108719.1740597557/MIOS32_BIN_PATH/value=/Volumes/DATA/Bruno/eclipse-workspace/mios32/trunk/bin
+environment/project/cdt.managedbuild.toolchain.gnu.macosx.base.1031628285.1385108719.1740597557/MIOS32_BOARD/delimiter=\:
+environment/project/cdt.managedbuild.toolchain.gnu.macosx.base.1031628285.1385108719.1740597557/MIOS32_BOARD/operation=append
+environment/project/cdt.managedbuild.toolchain.gnu.macosx.base.1031628285.1385108719.1740597557/MIOS32_BOARD/value=MBHP_DIPCOREF4
+environment/project/cdt.managedbuild.toolchain.gnu.macosx.base.1031628285.1385108719.1740597557/MIOS32_FAMILY/delimiter=\:
+environment/project/cdt.managedbuild.toolchain.gnu.macosx.base.1031628285.1385108719.1740597557/MIOS32_FAMILY/operation=append
+environment/project/cdt.managedbuild.toolchain.gnu.macosx.base.1031628285.1385108719.1740597557/MIOS32_FAMILY/value=STM32F4xx
+environment/project/cdt.managedbuild.toolchain.gnu.macosx.base.1031628285.1385108719.1740597557/MIOS32_LCD/delimiter=\:
+environment/project/cdt.managedbuild.toolchain.gnu.macosx.base.1031628285.1385108719.1740597557/MIOS32_LCD/operation=append
+environment/project/cdt.managedbuild.toolchain.gnu.macosx.base.1031628285.1385108719.1740597557/MIOS32_LCD/value=universal
+environment/project/cdt.managedbuild.toolchain.gnu.macosx.base.1031628285.1385108719.1740597557/MIOS32_PATH/delimiter=\:
+environment/project/cdt.managedbuild.toolchain.gnu.macosx.base.1031628285.1385108719.1740597557/MIOS32_PATH/operation=append
+environment/project/cdt.managedbuild.toolchain.gnu.macosx.base.1031628285.1385108719.1740597557/MIOS32_PATH/value=/Volumes/DATA/Bruno/eclipse-workspace/mios32/trunk
+environment/project/cdt.managedbuild.toolchain.gnu.macosx.base.1031628285.1385108719.1740597557/MIOS32_PROCESSOR/delimiter=\:
+environment/project/cdt.managedbuild.toolchain.gnu.macosx.base.1031628285.1385108719.1740597557/MIOS32_PROCESSOR/operation=append
+environment/project/cdt.managedbuild.toolchain.gnu.macosx.base.1031628285.1385108719.1740597557/MIOS32_PROCESSOR/value=STM32F405RG
+environment/project/cdt.managedbuild.toolchain.gnu.macosx.base.1031628285.1385108719.1740597557/PATH/delimiter=\:
+environment/project/cdt.managedbuild.toolchain.gnu.macosx.base.1031628285.1385108719.1740597557/PATH/operation=replace
+environment/project/cdt.managedbuild.toolchain.gnu.macosx.base.1031628285.1385108719.1740597557/PATH/value=/usr/local/bin\:/usr/bin\:/bin\:/usr/sbin\:/sbin\:/Volumes/DATA/Bruno/gcc-arm-none-eabi-4_7-2013q3/bin
+environment/project/cdt.managedbuild.toolchain.gnu.macosx.base.1031628285.1385108719.1740597557/PWD/delimiter=\:
+environment/project/cdt.managedbuild.toolchain.gnu.macosx.base.1031628285.1385108719.1740597557/PWD/operation=replace
+environment/project/cdt.managedbuild.toolchain.gnu.macosx.base.1031628285.1385108719.1740597557/PWD/value=/Volumes/DATA/Bruno/svn_current/mios32/playground/antichambre/examples/mcan/mcan_basic/
+environment/project/cdt.managedbuild.toolchain.gnu.macosx.base.1031628285.1385108719.1740597557/append=true
+environment/project/cdt.managedbuild.toolchain.gnu.macosx.base.1031628285.1385108719.1740597557/appendContributed=true
+environment/project/cdt.managedbuild.toolchain.gnu.macosx.base.1031628285.50845518.1010092768.503549782/ANTICHAMBRE_PATH/delimiter=\:
+environment/project/cdt.managedbuild.toolchain.gnu.macosx.base.1031628285.50845518.1010092768.503549782/ANTICHAMBRE_PATH/operation=append
+environment/project/cdt.managedbuild.toolchain.gnu.macosx.base.1031628285.50845518.1010092768.503549782/ANTICHAMBRE_PATH/value=/Volumes/DATA/Bruno/eclipse-workspace/mios32/playground/antichambre
+environment/project/cdt.managedbuild.toolchain.gnu.macosx.base.1031628285.50845518.1010092768.503549782/CWD/delimiter=\:
+environment/project/cdt.managedbuild.toolchain.gnu.macosx.base.1031628285.50845518.1010092768.503549782/CWD/operation=replace
+environment/project/cdt.managedbuild.toolchain.gnu.macosx.base.1031628285.50845518.1010092768.503549782/CWD/value=/Volumes/DATA/Bruno/svn_current/mios32/playground/antichambre/examples/mcan/mcan_basic/
+environment/project/cdt.managedbuild.toolchain.gnu.macosx.base.1031628285.50845518.1010092768.503549782/MIOS32_BIN_PATH/delimiter=\:
+environment/project/cdt.managedbuild.toolchain.gnu.macosx.base.1031628285.50845518.1010092768.503549782/MIOS32_BIN_PATH/operation=append
+environment/project/cdt.managedbuild.toolchain.gnu.macosx.base.1031628285.50845518.1010092768.503549782/MIOS32_BIN_PATH/value=/Volumes/DATA/Bruno/eclipse-workspace/mios32/trunk/bin
+environment/project/cdt.managedbuild.toolchain.gnu.macosx.base.1031628285.50845518.1010092768.503549782/MIOS32_BOARD/delimiter=\:
+environment/project/cdt.managedbuild.toolchain.gnu.macosx.base.1031628285.50845518.1010092768.503549782/MIOS32_BOARD/operation=replace
+environment/project/cdt.managedbuild.toolchain.gnu.macosx.base.1031628285.50845518.1010092768.503549782/MIOS32_BOARD/value=MBHP_CORE_STM32F4
+environment/project/cdt.managedbuild.toolchain.gnu.macosx.base.1031628285.50845518.1010092768.503549782/MIOS32_FAMILY/delimiter=\:
+environment/project/cdt.managedbuild.toolchain.gnu.macosx.base.1031628285.50845518.1010092768.503549782/MIOS32_FAMILY/operation=append
+environment/project/cdt.managedbuild.toolchain.gnu.macosx.base.1031628285.50845518.1010092768.503549782/MIOS32_FAMILY/value=STM32F4xx
+environment/project/cdt.managedbuild.toolchain.gnu.macosx.base.1031628285.50845518.1010092768.503549782/MIOS32_LCD/delimiter=\:
+environment/project/cdt.managedbuild.toolchain.gnu.macosx.base.1031628285.50845518.1010092768.503549782/MIOS32_LCD/operation=append
+environment/project/cdt.managedbuild.toolchain.gnu.macosx.base.1031628285.50845518.1010092768.503549782/MIOS32_LCD/value=universal
+environment/project/cdt.managedbuild.toolchain.gnu.macosx.base.1031628285.50845518.1010092768.503549782/MIOS32_PATH/delimiter=\:
+environment/project/cdt.managedbuild.toolchain.gnu.macosx.base.1031628285.50845518.1010092768.503549782/MIOS32_PATH/operation=append
+environment/project/cdt.managedbuild.toolchain.gnu.macosx.base.1031628285.50845518.1010092768.503549782/MIOS32_PATH/value=/Volumes/DATA/Bruno/eclipse-workspace/mios32/trunk
+environment/project/cdt.managedbuild.toolchain.gnu.macosx.base.1031628285.50845518.1010092768.503549782/MIOS32_PROCESSOR/delimiter=\:
+environment/project/cdt.managedbuild.toolchain.gnu.macosx.base.1031628285.50845518.1010092768.503549782/MIOS32_PROCESSOR/operation=replace
+environment/project/cdt.managedbuild.toolchain.gnu.macosx.base.1031628285.50845518.1010092768.503549782/MIOS32_PROCESSOR/value=STM32F407VG
+environment/project/cdt.managedbuild.toolchain.gnu.macosx.base.1031628285.50845518.1010092768.503549782/PATH/delimiter=\:
+environment/project/cdt.managedbuild.toolchain.gnu.macosx.base.1031628285.50845518.1010092768.503549782/PATH/operation=replace
+environment/project/cdt.managedbuild.toolchain.gnu.macosx.base.1031628285.50845518.1010092768.503549782/PATH/value=/usr/local/bin\:/usr/bin\:/bin\:/usr/sbin\:/sbin\:/Volumes/DATA/Bruno/gcc-arm-none-eabi-4_7-2013q3/bin
+environment/project/cdt.managedbuild.toolchain.gnu.macosx.base.1031628285.50845518.1010092768.503549782/PWD/delimiter=\:
+environment/project/cdt.managedbuild.toolchain.gnu.macosx.base.1031628285.50845518.1010092768.503549782/PWD/operation=replace
+environment/project/cdt.managedbuild.toolchain.gnu.macosx.base.1031628285.50845518.1010092768.503549782/PWD/value=/Volumes/DATA/Bruno/svn_current/mios32/playground/antichambre/examples/mcan/mcan_basic/
+environment/project/cdt.managedbuild.toolchain.gnu.macosx.base.1031628285.50845518.1010092768.503549782/append=true
+environment/project/cdt.managedbuild.toolchain.gnu.macosx.base.1031628285.50845518.1010092768.503549782/appendContributed=true
/playground/antichambre/examples/mcan/mios32_mcan_basic/.settings/org.eclipse.cdt.core.prefs
Property changes:
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property