Test code which wants to customize config.h can do so without touching config.h itself by wrapping config.h in a macro variable which is passed in to the compiler. It defaults to "config.h" if no override is provided. This change would break makefile dependency checking since the selection of a different header file on the command line is not noticed by make as a build-trigger. To solve this, we add a layer to the BUILDDIR path so build products are now specific to the USER_CONFIG choice if it is not "config.h". |
||
|---|---|---|
| .. | ||
| Makefile | ||
| README | ||
| ThermistorTable.h | ||
| analog.c | ||
| analog.h | ||
| arduino.h | ||
| arduino_168_328p.h | ||
| config.h.dist | ||
| crc.c | ||
| crc.h | ||
| debug.h | ||
| delay.c | ||
| delay.h | ||
| extruder.c | ||
| extruder.pde | ||
| heater.c | ||
| heater.h | ||
| intercom.c | ||
| intercom.h | ||
| temp.c | ||
| temp.h | ||
| timer.c | ||
| timer.h | ||
| watchdog.c | ||
| watchdog.h | ||
README
Reprap Gen3 extruder controller support for Triffid_Hunter's Teacup firmware by jakepoz