summaryrefslogtreecommitdiffstatshomepage
path: root/esp8266/moduos.c
Commit message (Collapse)AuthorAge
* all: Use the name MicroPython consistently in commentsAlexander Steffen2017-07-31
| | | | | There were several different spellings of MicroPython present in comments, when there should be only one.
* ports: Add ilistdir in uos module.Damien George2017-05-10
|
* esp8266/moduos: Populate release field of uname in case it was GC'd.Damien George2017-02-13
|
* esp8266: Change to use new generic VFS sub-system.Damien George2017-01-27
| | | | | | The VFS sub-system supports mounting of an arbitrary number of devices (limited only by available RAM). The internal flash is now mounted at "/flash".
* extmod: Rename vfs_fat_file.h to vfs_fat.h.Damien George2017-01-27
| | | | And move declaration of mp_fat_vfs_type to this file.
* esp8266: Use mp_raise_OSError helper function.Damien George2016-10-07
|
* esp8266/moduos: Move stat/statvfs funcs to sit within #if VFS guard.Damien George2016-10-03
|
* esp8266: Add uos.statvfs() to get filesystem status.Alex March2016-09-27
|
* all: Remove 'name' member from mp_obj_module_t struct.Damien George2016-09-22
| | | | One can instead lookup __name__ in the modules dict to get the value.
* esp8266/modous: Add os.umount method to unmount a filesystem.Radomir Dopieralski2016-08-26
| | | | | | | | This is an object-oriented approach, where uos is only a proxy for the methods on the vfs object. Some internals had to be exposed (the STATIC keyword removed) for this to work. Fixes #2338.
* esp8266/moduos: Add rmdir() function.Paul Sokolovsky2016-07-16
|
* esp8266/moduos.c: Add stat() to the module uos of esp8266.Robert HH2016-05-31
| | | | | | | This implementation makes use of vfs.stat() and therefore has the same properties. Known issues for all ports: uos.stat(".") on the top level returns the error code 22, EINVAL. The same happens with uos.stat("dirname/") where dirname IS the name of a directory.
* esp8266/moduos: Add chdir() and getcwd() functions.Paul Sokolovsky2016-05-29
|
* esp8266/moduos.c: Addition of the rename method to module uos.Robert HH2016-05-16
| | | | | | | | | | | | | | That one was missing in the module, even if it was available in the vfs object. The change consist of adding the name and preparing the call to the underlying vfs module, similar to what was already implemented e.g. for remove. Rename is useful by itself, or for instance for a safe file replace, consisting of the sequence: write to a temp file delete the original file rename the temp file to the original file's name
* esp8266: Convert to use new MP_Exxx errno symbols.Damien George2016-05-10
| | | | | | | These symbols are still defined in terms of the system Exxx symbols, and can be switched to internal numeric definitions at a later stage. Note that extmod/modlwip still uses many system Exxx symbols.
* esp8266/moduos: Add dupterm_notify() function.Paul Sokolovsky2016-04-17
| | | | | Should be called to notify that current dupterm object has more input data to read.
* esp8266/moduos: Add uos.mkdir function.Damien George2016-04-14
|
* esp8266/main: mp_builtin_open(): Implement, using vfs_proxy_call().Paul Sokolovsky2016-04-10
|
* esp8266: Enable uos.dupterm() method.Paul Sokolovsky2016-03-29
|
* esp8266: Implement os.urandom function.Damien George2016-03-29
| | | | Uses what is suspected to be a hardware random number generator.
* esp8266: Allow to build without FatFs support again.Paul Sokolovsky2016-03-28
|
* esp8266/moduos: Add os.remove(), proxying to VFS object.Paul Sokolovsky2016-03-28
|
* esp8266/moduos: Factor out VFS method proxy helper.Paul Sokolovsky2016-03-28
|
* esp8266/moduos: Add listdir() proxy for MP_STATE_PORT(fs_user_mount)[0].Paul Sokolovsky2016-03-28
| | | | | I.e. os.listdir(...) will redirect to MP_STATE_PORT(fs_user_mount)[0].listdir(...).
* esp8266/moduos: Use mp_rom_map_elem_t for static const dictionary.Damien George2016-03-28
|
* esp8266: Enable FatFs support.Paul Sokolovsky2016-03-27
|
* esp8266: Add uos moduleJosef Gajdusek2015-05-26
Currently implements only .uname()