To create a new module or application:
1. Create a new project in eclipse (or a new top-level directory if
using the command line tools).
2. Add the relevant source files
3. Copy either Makefile.template or module_build_info.template from
the templates directory of this module to Makefile or
module_build_info in your new application/module.
4. Edit the Makefile/module_build_info and set the Makefile
variables accordingly.
A problem with the first one.
The new project includes directories and the xn files.
I would like to never include them from the beginning.
"a new project", does that mean a new XC project or a new (general) project.
The xn file can be deleted, but when I tried to get rid of the Includes in the Project->Properties
- JAVA started to complain about NULL pointers.
What is the "clean" way to create a new module project.
Code: Select all
Project type: Makefile project
Toolchains: XMOS Compiler Collection (xcc)
Configuration: Default
XMOS Compiler Collection.
With Default config mode the code builds and runs, but when running the code I get the error-warning window. I also get the error icon on the source catalogue of the module.
I found a workaround to the configuration, by importing the configuration setup from the XMOS commmon module.
But anyway I cannot get rid of the Include directories. (The delete-button is shadowed)
Have I messed up my XDE or how to create the clean new module ??