BrewPi / firmware

Brewing temperature control firmware for the BrewPi Spark (Particle Photon inside)
http://www.brewpi.com
GNU Affero General Public License v3.0
97 stars 55 forks source link

Feature/interruptable calibration #32

Closed m-mcgowan closed 8 years ago

m-mcgowan commented 9 years ago

Interrupts the calibration screen after 60s.

This PR includes:

m-mcgowan commented 9 years ago

Testing:

elcojacobs commented 9 years ago

I just tried building/flashing feature/interruptable_calibration on the photon. make all program-dfu PLATFORM=photon in spark-firmware/modules on branch latest make all program-dfu PLATFORM=photon SPARK_CLOUD=n USE_PRINTF_FLOAT=n in firmware/platform/spark

An SOS occurs when entering touch screen calibration, by pressing the screen during the logo. If I don't trigger it by tapping the screen during the logo and skip touch screen calibration, I don't get the SOS.

m-mcgowan commented 9 years ago

Be sure to flash the latest system firmware:

cd platform/spark
pushd firmware/modules
make PLATFORM=photon all program-dfu
popd

make PLATFORM=photon all program-dfu

For SWD support, add USE_SWD=y to the system modules build. (and be sure to do a clean build.)

elcojacobs commented 9 years ago

now flashed system modules from subdir, instead of from spark repo. No SOS this time. I think my spark firmware repo was newer than the local subtree, which was used in the build. 3 things: