PaxInstruments / t400-firmware

Firmware for the Pax Instruments T400 temperature datalogger
22 stars 5 forks source link

SD logging as option #201

Closed charlespax closed 8 years ago

charlespax commented 8 years ago

"For those at home, I've made a change to the t400 firmware that optionally alows you to disable all the SDCard functionality, freeing up a bunch of space, as discussed above. see https://github.com/PaxInstruments/t400-firmware/pull/1982" -davidbuzz

See http://community.paxinstruments.com/t/customising-the-firmware-to-do-other-things/138/2

charlespax commented 8 years ago

Closes with pull https://github.com/PaxInstruments/t400-firmware/pull/198#issuecomment-180703374

charlespax commented 8 years ago

With SD_LOGGING_ENABLED 1 we have only 16 bytes available.

Sketch uses 28,656 bytes (99%) of program storage space. Maximum is 28,672 bytes. Global variables use 1,886 bytes (73%) of dynamic memory, leaving 674 bytes for local variables. Maximum is 2,560 bytes.

And with SD_LOGGING_ENABLED 0 we have 8,622 bytes available. That's an extra 8,606 bytes!

Sketch uses 20,050 bytes (69%) of program storage space. Maximum is 28,672 bytes. Global variables use 1,204 bytes (47%) of dynamic memory, leaving 1,356 bytes for local variables. Maximum is 2,560 bytes.