Stack overflow encountered while adding functions to read and write mnemonic to eeprom - possibly caused by use of printf in test framework