fix based on https://gist.github.com/timbrom/1942280
eeprom.h must be lowercase, as used in source
remove -fpromote-loop-indices to fix gcc error
DSO138_SourceCodes_v037.rar