Skip to content

Commit

Permalink
refactor for xmos app,module project layout
Browse files Browse the repository at this point in the history
  • Loading branch information
teachop committed Mar 16, 2014
1 parent 82323bc commit da65bb9
Show file tree
Hide file tree
Showing 12 changed files with 503 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
.DS_Store
.build*
.settings
.metadata
bin

6 changes: 6 additions & 0 deletions .cproject → app_strandtest/.cproject
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@
<listOptionValue builtIn="false" value="&quot;${XMOS_TOOL_PATH}/target/include/xc&quot;"/>
<listOptionValue builtIn="false" value="&quot;${XMOS_TOOL_PATH}/target/include&quot;"/>
<listOptionValue builtIn="false" value="&quot;${XMOS_TOOL_PATH}/target/include/gcc&quot;"/>
<listOptionValue builtIn="false" value="&quot;${workspace_loc:/module_neopixel}&quot;"/>
</option>
<inputType id="com.xmos.cdt.xc.compiler.input.451351876" name="XC" superClass="com.xmos.cdt.xc.compiler.input"/>
</tool>
Expand Down Expand Up @@ -270,6 +271,7 @@
<option id="com.xmos.c.compiler.option.include.paths.76830074" name="com.xmos.c.compiler.option.include.paths" superClass="com.xmos.c.compiler.option.include.paths" valueType="includePath">
<listOptionValue builtIn="false" value="&quot;${XMOS_TOOL_PATH}/target/include&quot;"/>
<listOptionValue builtIn="false" value="&quot;${XMOS_TOOL_PATH}/target/include/gcc&quot;"/>
<listOptionValue builtIn="false" value="&quot;${workspace_loc:/module_neopixel}&quot;"/>
</option>
<inputType id="com.xmos.cdt.c.compiler.input.c.1404392820" name="C" superClass="com.xmos.cdt.c.compiler.input.c"/>
</tool>
Expand Down Expand Up @@ -387,6 +389,7 @@
<listOptionValue builtIn="false" value="&quot;${XMOS_TOOL_PATH}/target/include/gcc&quot;"/>
<listOptionValue builtIn="false" value="&quot;${XMOS_TOOL_PATH}/target/include/c++/4.2.1&quot;"/>
<listOptionValue builtIn="false" value="&quot;${XMOS_TOOL_PATH}/target/include/c++/4.2.1/xcore-xmos-elf&quot;"/>
<listOptionValue builtIn="false" value="&quot;${workspace_loc:/module_neopixel}&quot;"/>
</option>
<inputType id="com.xmos.cdt.cxx.compiler.input.cpp.644660192" name="C++" superClass="com.xmos.cdt.cxx.compiler.input.cpp"/>
</tool>
Expand Down Expand Up @@ -575,6 +578,7 @@
<listOptionValue builtIn="false" value="&quot;${XMOS_TOOL_PATH}/target/include/xc&quot;"/>
<listOptionValue builtIn="false" value="&quot;${XMOS_TOOL_PATH}/target/include&quot;"/>
<listOptionValue builtIn="false" value="&quot;${XMOS_TOOL_PATH}/target/include/gcc&quot;"/>
<listOptionValue builtIn="false" value="&quot;${workspace_loc:/module_neopixel}&quot;"/>
</option>
<inputType id="com.xmos.cdt.xc.compiler.input.454577215" name="XC" superClass="com.xmos.cdt.xc.compiler.input"/>
</tool>
Expand Down Expand Up @@ -686,6 +690,7 @@
<option id="com.xmos.c.compiler.option.include.paths.1901488835" name="com.xmos.c.compiler.option.include.paths" superClass="com.xmos.c.compiler.option.include.paths" valueType="includePath">
<listOptionValue builtIn="false" value="&quot;${XMOS_TOOL_PATH}/target/include&quot;"/>
<listOptionValue builtIn="false" value="&quot;${XMOS_TOOL_PATH}/target/include/gcc&quot;"/>
<listOptionValue builtIn="false" value="&quot;${workspace_loc:/module_neopixel}&quot;"/>
</option>
<inputType id="com.xmos.cdt.c.compiler.input.c.200727552" name="C" superClass="com.xmos.cdt.c.compiler.input.c"/>
</tool>
Expand Down Expand Up @@ -803,6 +808,7 @@
<listOptionValue builtIn="false" value="&quot;${XMOS_TOOL_PATH}/target/include/gcc&quot;"/>
<listOptionValue builtIn="false" value="&quot;${XMOS_TOOL_PATH}/target/include/c++/4.2.1&quot;"/>
<listOptionValue builtIn="false" value="&quot;${XMOS_TOOL_PATH}/target/include/c++/4.2.1/xcore-xmos-elf&quot;"/>
<listOptionValue builtIn="false" value="&quot;${workspace_loc:/module_neopixel}&quot;"/>
</option>
<inputType id="com.xmos.cdt.cxx.compiler.input.cpp.2127909450" name="C++" superClass="com.xmos.cdt.cxx.compiler.input.cpp"/>
</tool>
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions Makefile → app_strandtest/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ TARGET = STARTKIT
# The APP_NAME variable determines the name of the final .xe file. It should
# not include the .xe postfix. If left blank the name will default to
# the project name
APP_NAME = xcore_neopixel_buffered
APP_NAME = app_strandtest

# The USED_MODULES variable lists other module used by the application.
USED_MODULES =
USED_MODULES = module_neopixel

# The flags passed to xcc when building the application
# You can also set the following to override flags for a particular language:
Expand Down
2 changes: 1 addition & 1 deletion neopixel_buffered.xc → app_strandtest/strandtest.xc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//---------------------------------------------------------
// Buffered NeoPixel driver test application
// Adafruit NeoPixel driver test application
// by teachop
//

Expand Down
Loading

0 comments on commit da65bb9

Please sign in to comment.