Search found 55 matches
- Wed Dec 16, 2015 10:46 pm
- Forum: Development of MicroPython
- Topic: Extend syntax
- Replies: 15
- Views: 18705
Extend syntax
Hi, I want to extend syntax with async def/await. At first, just as sugar for mark function as generator and replace yield from with await. If so I will understand how hard it should be to implement async for/async with/awaitable objects etc. Lets say I want async def: 1. Add MP_TOKEN_KW_ASYNC, to l...
- Thu Dec 10, 2015 7:22 am
- Forum: General Discussion and Questions
- Topic: FreeDOS support
- Replies: 60
- Views: 47601
Re: FreeDOS support
Awesome, it looks like everything is ok after updates. I'm end with pull https://github.com/micropython/micropython/pull/1705
- Wed Dec 09, 2015 8:41 pm
- Forum: General Discussion and Questions
- Topic: FreeDOS support
- Replies: 60
- Views: 47601
Re: FreeDOS support
Yep, you are right (http://www.delorie.com/djgpp/doc/incs/termios.h) 38400 is high bound.pfalcon wrote:Because 35 years ago SystemV/BSD didn't have speeds beyond 38400 or so
- Wed Dec 09, 2015 8:37 am
- Forum: General Discussion and Questions
- Topic: FreeDOS support
- Replies: 60
- Views: 47601
Re: FreeDOS support
Trying to build termios module. And have some issues: CC modtermios.c modtermios.c: In function 'mod_termios_tcgetattr': modtermios.c:63:45: error: passing argument 1 of 'mp_obj_new_bytes' from incompatible pointer type [-Werror=incompatible-pointer-types] cc->items[i] = mp_obj_new_bytes(&term.c_cc[...
- Tue Dec 08, 2015 7:30 am
- Forum: General Discussion and Questions
- Topic: FreeDOS support
- Replies: 60
- Views: 47601
Re: FreeDOS support
I need to disable "MICROPY_STREAMS_NON_BLOCK", it is defined in "mpconfigport.h". How to do that? Cause in "mpconfigport.h" there is no check about it is already defined.
- Mon Dec 07, 2015 5:12 pm
- Forum: General Discussion and Questions
- Topic: FreeDOS support
- Replies: 60
- Views: 47601
Re: FreeDOS support
Agree.dhylands wrote:Personally I think using the DJGPP env var seems awkward, and makes it a lot more difficult lt to switch back and forth between unix and freedoms builds.
Great! I forgot about wikipfalcon wrote:It's in review state currently: https://github.com/micropython/micropyt ... rdware-API
- Mon Dec 07, 2015 12:25 pm
- Forum: General Discussion and Questions
- Topic: FreeDOS support
- Replies: 60
- Views: 47601
Re: FreeDOS support
dhylands
Since freedos build based on djgpp, and in the last version of https://github.com/pohmelie/micropython-freedos I had reduce env variables count to one. Just DJGPP=/path/to/djgpp-folder. So maybe use this env variable (DJGPP) as condition for branching in makefile?
Since freedos build based on djgpp, and in the last version of https://github.com/pohmelie/micropython-freedos I had reduce env variables count to one. Just DJGPP=/path/to/djgpp-folder. So maybe use this env variable (DJGPP) as condition for branching in makefile?
- Sun Dec 06, 2015 1:00 pm
- Forum: General Discussion and Questions
- Topic: FreeDOS support
- Replies: 60
- Views: 47601
Re: FreeDOS support
That's the difference between machine.mem8/16/32 - this allows to access "physical" memory. uctypes.bytes_at/uctypes.bytearray_at() work with "virtual" (per-process) memory. This might cover your usecases, if not, we'd like to know details to see if it would be possible to cover them. How about blo...
- Sat Dec 05, 2015 2:59 pm
- Forum: General Discussion and Questions
- Topic: FreeDOS support
- Replies: 60
- Views: 47601
Re: FreeDOS support
if any of files in unix/ are updated (e.g., bugs fixed), duplicates in your repo will stay old and broken True. looking at the contents of your module, you duplicated functionality of standard "time" module there (time-related functions), and functionality of MicroPython standard "machine" and "uct...
- Thu Dec 03, 2015 1:34 pm
- Forum: General Discussion and Questions
- Topic: FreeDOS support
- Replies: 60
- Views: 47601
Re: FreeDOS support
Really can't realize why this wont work with Arch, but if djgpp stdlib file missed, then it's djgpp issue.