support for having application sources outside the firmware folder.
typo in spark_wiring_random.h  min -> max