When trying to compile my SketchBuffet, I've faced some undefined at link time.
I've figured out that the new file "si2c.c" should be renamed "si2c.cpp" to satisfy the linker ...
![Surprised :o](./images/smilies/icon_e_surprised.gif)
Edit :
But after success at link time, I've faced another issue with esptool :
/home/martin/esp8266/arduino-1.6.1/hardware/tools/esp8266/esptool -eo /tmp/build7809035453887228528.tmp/Sketch_Buffet.cpp.elf -bo /tmp/build7809035453887228528.tmp/Sketch_Buffet.cpp_00000.bin -bm qio -bf 40 -bz 512K -bs .text -bs .data -bs .rodata -bc -ec -eo /tmp/build7809035453887228528.tmp/Sketch_Buffet.cpp.elf -es .irom0.text /tmp/build7809035453887228528.tmp/Sketch_Buffet.cpp_40000.bin -ec
/home/martin/esp8266/arduino-1.6.1/hardware/tools/esp8266/esptool returned 255
Error compiling.
... and the *40000.bin isn't generated at all, and the *00000.bin is only 16 bytes ...
![Confused :?](./images/smilies/icon_e_confused.gif)
Edit2 :
I got it ! I've updated my esptool from IGRR tree from https://github.com/igrr/esptool-ck ...
![Wink ;)](./images/smilies/icon_e_wink.gif)
But, unfortunately, it seems that the I2C is broken at runtime ...
![Sad :(](./images/smilies/icon_e_sad.gif)