I thought i'd take a look at getting the host side of my I2C eeprom programmer code compiled for Windows. As i said in the first post, it works fine for Linux & OSX, & wasn't sure about Windows. Not having ever worked on Windows, i'd assumed it would compile fine, after all it's all Posix calls. Oh how wrong i was. It relies on termios which Windows doesn't have & theres no easy way to get.
Having spent an hour or so investigating this, it looks like the options for anyone who wants to use my eeprom programmer on windows are:
(a) use an alternative method to upload banks to the eeprom. There's plenty of I2C eeprom programmers out there that can do this. You'd need matching hardware. Pick one & try it. Just ensure whatever hardware you use runs the I2C bus at 3.3V.
(b) the host side of my I2C eeprom programmer is ported to use the Windows serial API. I don't have a Windows box here to do this, or test it on. I'm not sure how much work it'd be, having never worked with the Windows serial API. TBH this is at the bottom of the priority pile for me, i want/need to get other stuff done like the docs
(If anyone can help do this, please PM me).
(c) install Cygwin on your Windows system, which does provide termios. It should compile fine under Cygwin.
(d) use a Linux VM hosted on your windows box. A vagrant image such as the Mutable one would work. You just need to set up a vagrant rule to pass through the Teensy USB device to the VM, & then a udev rule to create the tty node in the image.
Not exactly show stoppers, but none are pretty.