Now currently the build is a little ("lot bad"). Partly because there will be a huge influx of .C files that i didn't want to have to list them all. So currently i have a lot of #includes(**.c) files. This will include all the files, but each file will be covered with define to enable or disable it.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Now currently the build is a little ("lot bad"). Partly because there will be a huge influx of .C files that i didn't want to have to list them all. So currently i have a lot of #includes(**.c) files. This will include all the files, but each file will be covered with define to enable or disable it.
In the board file i need to add a line to grab all the hardware specific defines.
Then this grabs all the hardware implemenation files.
I have a #include(**.c) as well in the jswrap_bangle.c.
I'm guessing there's probably a way to handle this in the makefile. Just haven't looked into it yet.