27 Commits (854bb322bf9e20f1c5afe5e8a796ebeca238fa95)

Author SHA1 Message Date
Damien George 9d3ad75b39 stmhal/moduos: Remove duplicated chdir. 8 years ago
Damien George 84c614e729 stmhal: Convert to use VFS sub-system and new ooFatFs component. 8 years ago
Damien George 32a1138b9f extmod: Rename vfs_fat_file.h to vfs_fat.h. 8 years ago
Damien George f7545b200e stmhal/moduos: Implement POSIX behaviour of rename, allow to overwrite. 8 years ago
Damien George a2bfcbe029 stmhal: Use mp_raise_OSError helper function. 8 years ago
Damien George b89ac9db78 stmhal/moduos: Implement total-number-of-blocks field in statvfs. 8 years ago
Damien George 93c4a6a3f7 all: Remove 'name' member from mp_obj_module_t struct. 8 years ago
Paul Sokolovsky 2503b59592 stmhal/moduos: getcwd(): Use mp_obj_new_exception_arg1(). 9 years ago
Paul Sokolovsky cd6d189f48 extmod/vfs_fat: Move listdir() method from stmhal for reuse. 9 years ago
Paul Sokolovsky 6b0c88256b extmod/vfs_fat_file: Reusable FatFs module, move from stmhal/file. 9 years ago
Damien George b33a770596 extmod/fsusermount: Support mounting of multiple block devices. 9 years ago
Damien George 34023eb673 stmhal: Add mount/umount/mkfs to os module. 9 years ago
Dave Hylands f22844b4e5 stmhal: Add os.statvfs 9 years ago
Paul Sokolovsky 3a1bbcc2ef extmod: Move fsusermount.c from stmhal for cross-port reuse. 9 years ago
Damien George 83158e0e7f stmhal: Implement os.dupterm (was pyb.repl_uart). 9 years ago
Damien George f5d04750db stmhal: Put fs_user_mount pointer in root ptr section of global state. 9 years ago
Josef Gajdusek 1db4253886 lib: Move time utility functions to common library. 10 years ago
Steve Zatz c7df9c6c47 stmhal: Add os.rename function. 10 years ago
Damien George 95f53461c2 py: Replace py-version.sh with makeversionhdr.py, written in Python. 10 years ago
Damien George d8837cea6f stmhal: Implement os.uname() to get details of OS and hardware. 10 years ago
Damien George 48ef64a729 stmhal: Make os.sync use disk_ioctl exclusively; reuse os.sync in pyb. 10 years ago
Damien George 4f94d90d4d stmhal: Include fatfs headers using lib/fatfs prefix. 10 years ago
Damien George 05005f679e py: Remove mp_obj_str_builder and use vstr instead. 10 years ago
Damien George 2cf6dfa280 stmhal: Prefix includes with py/; remove need for -I../py. 10 years ago
Damien George 7690b13953 stmhal: Add ability to mount custom block device. 10 years ago
Damien George 3b603f29ec Use MP_DEFINE_CONST_DICT macro to define module dicts. 10 years ago
Damien George 136b5cbd76 stmhal: Rename module files to keep consistency with module name. 10 years ago
Damien George 0107e90328 stmhal: Enable module weak links. 10 years ago
Damien George ecc88e949c Change some parts of the core API to use mp_uint_t instead of uint/int. 10 years ago
Damien George ea439e59d9 stmhal: Start of documentation for modos and modtime. 10 years ago
Damien George 8a11d693cf stmhal: Ability to stat /flash and /sd. 10 years ago
Damien George 7cc20e7e99 stmhal: Wrap DAC module and os.urandom in relevant #if's. 10 years ago
Dave Hylands f8f963a14a Fix modos.c to compile for the STM32F4Discovery board (which doesn't have an sdcard) 10 years ago
Damien George 65dd7bc13d stmhal: Change 0:/ and 1:/ to /flash and /sd; add CWD support. 10 years ago
Damien George 02bc882c3d stmhal: Add file.flush and os.stat. 10 years ago
Damien George 40f3c02682 Rename machine_(u)int_t to mp_(u)int_t. 11 years ago
Emmanuel Blot f6932d6506 Prefix ARRAY_SIZE with micropython prefix MP_ 11 years ago
Damien George 04b9147e15 Add license header to (almost) all files. 11 years ago
Damien George 5874c1c92b stmhal: Remove #include <stdint.h> from mpconfigport.h. 11 years ago
Paul Sokolovsky 9b71b16a94 unix,stmhal: Make "mpconfig.h" be first included, as other headers depend on it. 11 years ago
Damien George 6d3c5e4301 Add ARRAY_SIZE macro, and use it where possible. 11 years ago
Damien George 8b0535e23f py: Change module globals from mp_map_t* to mp_obj_dict_t*. 11 years ago
Damien George ea13f407a3 py: Change nlr_jump to nlr_raise, to aid in debugging. 11 years ago
Damien George df6567e634 Merge map.h into obj.h. 11 years ago
Damien George 3e1a5c10c5 py: Rename old const type objects to mp_type_* for consistency. 11 years ago
Damien George caac542b23 Proper support for registering builtin modules in ROM. 11 years ago
Damien George ad7b84a7b9 stmhal: Add os module with a few basic functions. 11 years ago