summaryrefslogtreecommitdiffstatshomepage
path: root/esp8266/moduos.c
Commit message (Collapse)AuthorAge
* 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()