32 Commits (94aeba0427cc80e43b59c4155e02e8cb7c327951)

Author SHA1 Message Date
Paul Sokolovsky d86cac4b82 extmod/utime_mphal: Implement ticks_add(), add to all maintained ports. 8 years ago
Paul Sokolovsky 3cc87b1e2a unix/modtime: Switch ticks/sleep_ms/us() to utime_mphal. 8 years ago
Paul Sokolovsky e381efed4a unix/modtime: Use ticks_diff() implementation from extmod/utime_mphal.c. 8 years ago
Damien George 93c4a6a3f7 all: Remove 'name' member from mp_obj_module_t struct. 8 years ago
Damien George 94d2919b77 unix/modtime: Release the GIL when sleeping. 9 years ago
Paul Sokolovsky 6f8880d0ab unix: Move "utime" module config to C level instead of make level. 9 years ago
Damien George 4b72b3a133 py: Change type signature of builtin funs that take variable or kw args. 9 years ago
Paul Sokolovsky 8175877ad6 unix/modtime: strftime(): Support 2nd argument, but as time_t value. 9 years ago
Paul Sokolovsky 8fb255dc34 unix/modtime: Add strftime() function (only single argument is supported). 9 years ago
Paul Sokolovsky 3376875bc8 unix/modtime: sleep(): Return early if KeyboardInterrupt is pending 9 years ago
Damien George cbf7674025 py: Add MP_ROM_* macros and mp_rom_* types and use them. 9 years ago
Paul Sokolovsky fad7d9317b unix/modtime: Unbreak Windows build after changes to check select() result. 9 years ago
Paul Sokolovsky 0bb57bf5bf unix/modtime: sleep(): Automatically restart after receiving EINTR. 9 years ago
Paul Sokolovsky 8ee153f234 unix/modtime: Implement ticks_ms(), ticks_us() and ticks_diff(). 9 years ago
Paul Sokolovsky fd379db286 unix/modtime: Implement sleep_ms(), sleep_us(). 9 years ago
Damien George abc1959e2c py, unix, lib: Allow to compile with -Wold-style-definition. 10 years ago
Damien George 0178aa9a11 py, unix: Allow to compile with -Wdouble-promotion. 10 years ago
Damien George 6d7e47087f unix: Prefix includes with py/; remove need for -I../py. 10 years ago
Paul Sokolovsky 9d944c7fb2 unix: Rename "time" module to "utime" to allow extensibility. 10 years ago
Damien George 3b603f29ec Use MP_DEFINE_CONST_DICT macro to define module dicts. 10 years ago
Damien George 40f3c02682 Rename machine_(u)int_t to mp_(u)int_t. 11 years ago
stijn 5478ed18ea unix: Fix mpconfig.h not being included before misc.h 11 years ago
Emmanuel Blot f6932d6506 Prefix ARRAY_SIZE with micropython prefix MP_ 11 years ago
Marcus von Appen 585a3394df - Cast the struct stat sb.st_ino field to machine_int_t explicitly to avoid a 11 years ago
Damien George fb510b3bf9 Rename bultins config variables to MICROPY_PY_BUILTINS_*. 11 years ago
stijn f45a83d7fc mingw: Fix compilation issues 11 years ago
stijn 5ed284a15e windows: Add modtime implementation 11 years ago
Damien George 04b9147e15 Add license header to (almost) all files. 11 years ago
Damien George 6d3c5e4301 Add ARRAY_SIZE macro, and use it where possible. 11 years ago
Paul Sokolovsky eb2fc9787a unix modtime: Convert to static module structures. 11 years ago
Paul Sokolovsky de8292202e unix modtime: Adhere to MICROPY_ENABLE_FLOAT better. 11 years ago
Paul Sokolovsky c39368427c unix: Rename module sources per latest naming conventions (mod*.c). 11 years ago
Paul Sokolovsky cd31d826bf unix: Use STATIC modifier to enable code size analysis via map file. 11 years ago
Damien George d17926db71 Rename rt_* to mp_*. 11 years ago
xbe c93a22197b unix: Clean up includes. 11 years ago
Damien George 0c36da0b59 Implement ROMable modules. Add math module. 11 years ago
Paul Sokolovsky f766264582 unix: Implement time.sleep(). 11 years ago
Paul Sokolovsky 6964422cf4 unix time.clock(): Actually return float value. 11 years ago
Paul Sokolovsky a9459bc723 unix: Add basic time module (with time() and clock() functions). 11 years ago