New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unix: toggle for fatfs, since djgpp/freedos does not support this #1956
Conversation
There shouldn't be a reason why FatFs doesn't work with djgpp, so I'd suggest better working in the direction of supporting it. |
djgpp have no |
You can easily define it as a workaround, though we with @dpgeorge decided that there should be mperrno.h with consistent error list and numbering. |
Having consistent numbering will only work if you're running bare metal. If you're running on an OS (i.e. linux) then you still have to deal with the fact that the values change depeding on the underlying architectures. For example ETIMEDOUT has a different values on say mips-linux versus x86-linux. And the values also change across platforms (windows, mac, linux, unix). |
Right, that's why we'll use it only for bare-metal and will base numbering on linux-x86 as the most common. Here, for djgpp, indeed just defining missing symbols (to the values of linux-x86 whenever possible) is the only choice. |
So how will you deal with the fact that say ETIMEDOUT is different between Or are you just saying that bare-metal will use linux-x86 and all of the OS On Sat, Apr 2, 2016 at 10:38 AM, Paul Sokolovsky notifications@github.com
Dave Hylands |
Yes. |
Ok, so continue in #1959 |
This also improves Palette so it stores the original RGB888 colors. Lastly, it adds I2CDisplay as a display bus to talk over I2C. Particularly useful for the SSD1306. Fixes micropython#1828. Fixes micropython#1956
@dhylands was the original author of this patch, but @pohmelie made
changes to implement toggle.
http://forum.micropython.org/viewtopic.php?f=2&t=1718&p=9829#p9829
dhylands@b16d5d8