Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | esp8266/modesp: flash_user_start: Use value from linker script. | Paul Sokolovsky | 2017-05-12 |
| | | | | | Make esp8266_common.ld export size reserved to all code segments, and use that in esp.flash_user_start() implementation. | ||
* | esp8266/esp8266.ld, esp8266_ota.ld: Grow main firmware size by 32KB. | Paul Sokolovsky | 2017-05-12 |
| | | | | To accommodate both system and user frozen modules. | ||
* | ports: Add ilistdir in uos module. | Damien George | 2017-05-10 |
| | |||
* | esp8266: Change default settings to mount flash at root dir. | Damien George | 2017-05-05 |
| | |||
* | esp8266/README: Add notice about 512K version. | Paul Sokolovsky | 2017-04-14 |
| | |||
* | esp8266/README: Replace reference of alpha status to beta status. | Paul Sokolovsky | 2017-04-14 |
| | |||
* | extmod/machine_signal: Support all Pin's arguments to the constructor. | Paul Sokolovsky | 2017-04-11 |
| | | | | | | | | | | | | | | | | | This implements the orginal idea is that Signal is a subclass of Pin, and thus can accept all the same argument as Pin, and additionally, "inverted" param. On the practical side, it allows to avoid many enclosed parenses for a typical declararion, e.g. for Zephyr: Signal(Pin(("GPIO_0", 1))). Of course, passing a Pin to Signal constructor is still supported and is the most generic form (e.g. Unix port will only support such form, as it doesn't have "builtin" Pins), what's introduces here is just practical readability optimization. "value" kwarg is treated as applying to a Signal (i.e. accounts for possible inversion). | ||
* | esp8266: Remove unused entry in port root pointers. | Damien George | 2017-04-03 |
| | |||
* | all: Move BYTES_PER_WORD definition from ports to py/mpconfig.h | Damien George | 2017-04-01 |
| | | | | | It can still be overwritten by a port in mpconfigport.h but for almost all cases one can use the provided default. | ||
* | all: Use full path name when including mp-readline/timeutils/netutils. | Damien George | 2017-03-31 |
| | | | | | | | This follows the pattern of how all other headers are now included, and makes it explicit where the header file comes from. This patch also removes -I options from Makefile's that specify the mp-readline/timeutils/ netutils directories, which are no longer needed. | ||
* | esp8266: Update for changes to mp_obj_str_get_data. | Damien George | 2017-03-29 |
| | |||
* | esp8266: Update to use size_t for tuple/list accessors. | Damien George | 2017-03-29 |
| | |||
* | esp8266/modesp: Remove long-obsolete and unused espconn bindings. | Damien George | 2017-03-27 |
| | |||
* | esp8266/modesp: Use mp_obj_str_get_str instead of mp_obj_str_get_data. | Damien George | 2017-03-26 |
| | |||
* | py/modbuiltins: For round() builtin use nearbyint instead of round. | Damien George | 2017-03-24 |
| | | | | | | | | | | | | | | The C nearbyint function has exactly the semantics that Python's round() requires, whereas C's round() requires extra steps to handle rounding of numbers half way between integers. So using nearbyint reduces code size and potentially eliminates any source of errors in the handling of half-way numbers. Also, bare-metal implementations of nearbyint can be more efficient than round, so further code size is saved (and efficiency improved). nearbyint is provided in the C99 standard so it should be available on all supported platforms. | ||
* | all/Makefile: Remove -ansi from GCC flags, its ignored anyway. | Krzysztof Blazewicz | 2017-03-23 |
| | | | | | | The -ansi flag is used for C dialect selection and it is equivalent to -std=c90. Because it goes right before -std=gnu99 it is ignored as for conflicting flags GCC always uses the last one. | ||
* | esp8266/machine_pin: Fix pin.irq() to work when all args are keywords. | Damien George | 2017-03-21 |
| | |||
* | esp8266/machine_pin: Fix memset size for zeroing of pin_irq_is_hard. | Damien George | 2017-03-21 |
| | | | | Thanks to @robert-hh. | ||
* | esp8266/machine_pin: Make pin.irq arguments positional. | Damien George | 2017-03-20 |
| | | | | | | | | All arguments to pin.irq are converted from keyword-only to positional, and can still be specified by keyword so it's a backwards compatible change. The default value for the "trigger" arg is changed from 0 (no trigger) to rising+falling edge. | ||
* | esp8266/machine_pin: Add "hard" parameter to pin.irq, soft by default. | Damien George | 2017-03-20 |
| | |||
* | esp8266: Change machine.Timer callback to soft callback. | Damien George | 2017-03-20 |
| | |||
* | esp8266: Enable micropython.schedule() with locking in pin callback. | Damien George | 2017-03-20 |
| | |||
* | esp8266: Only execute main.py if in friendly REPL mode. | Damien George | 2017-03-14 |
| | |||
* | esp8266: Update lexer constructors so they can raise exceptions. | Damien George | 2017-03-14 |
| | |||
* | esp8266/mpconfigport.h: Enable help('modules') feature. | Damien George | 2017-02-24 |
| | |||
* | py: Add iter_buf to getiter type method. | Damien George | 2017-02-16 |
| | | | | | | | | | | | | | | | Allows to iterate over the following without allocating on the heap: - tuple - list - string, bytes - bytearray, array - dict (not dict.keys, dict.values, dict.items) - set, frozenset Allows to call the following without heap memory: - all, any, min, max, sum TODO: still need to allocate stack memory in bytecode for iter_buf. | ||
* | esp8266/moduos: Populate release field of uname in case it was GC'd. | Damien George | 2017-02-13 |
| | |||
* | esp8266/uart: Add support for polling uart device. | marc hoffman | 2017-02-03 |
| | |||
* | extmod/vfs_fat: Remove MICROPY_FATFS_OO config option. | Damien George | 2017-01-30 |
| | | | | | Everyone should now be using the new ooFatFs library. The old one is no longer supported and will be removed. | ||
* | esp8266/mpconfigport.h: Remove obsolete MICROPY_FATFS_VOLUMES config. | Damien George | 2017-01-30 |
| | |||
* | esp8266/modmachine: Add Signal class. | Paul Sokolovsky | 2017-01-29 |
| | |||
* | esp8266/machine_pin: Implement pin ioctl protocol. | Paul Sokolovsky | 2017-01-29 |
| | | | | For polymorphic interfacing on C level. | ||
* | esp8266/fatfs_port: Include new oofatfs header. | Damien George | 2017-01-27 |
| | |||
* | esp8266: Change to use new generic VFS sub-system. | Damien George | 2017-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 George | 2017-01-27 |
| | | | | And move declaration of mp_fat_vfs_type to this file. | ||
* | esp8266: Switch to use OO version of FatFs library. | Damien George | 2017-01-27 |
| | |||
* | esp8266: Factor out common linker code to esp8266_common.ld. | Damien George | 2017-01-25 |
| | |||
* | esp8266: Convert to use builtin help function. | Damien George | 2017-01-22 |
| | |||
* | esp8266/modules/flashbdev: Change RESERVED_SECS to 0. | Damien George | 2017-01-06 |
| | | | | | | | | | This effectively reverts the change that introduced this new constant. The reason is so that users do not need to rebuild the filesystem on their modules when upgrading the firmware. Users can change RESERVED_SECS by hand if they need the feature, and in future firmware it may default to a non-zero value. | ||
* | esp8266/modules/flashbdev: Remove now-unused function set_bl_flash_size. | Damien George | 2017-01-06 |
| | |||
* | esp8266/modules/flashbdev: Remove code to patch bootloader flash size. | Paul Sokolovsky | 2017-01-05 |
| | | | | | | | This code is no longer pertinent for some time - since switchover to SDK2.0, there must be correct flash size set for bootloader, or there's a risk of flash data corruption. And indeed, the correct flash size is by default auto-detected by esptool.py 1.2. | ||
* | all: Consistently update signatures of .make_new and .call methods. | Paul Sokolovsky | 2017-01-04 |
| | | | | | Otherwise, they serve reoccurring source of copy-paste mistakes and breaking nanbox build. | ||
* | esp8266/modules/flashbdev: Add RESERVED_SECS before the filesystem. | Damien George | 2017-01-04 |
| | | | | | | Starting at esp.flash_user_start(), the reserved sectors are for general purpose use, for example for native code generation. There is currently one sector reserved as such. | ||
* | esp8266/Makefile: Put firmware-ota.bin in build/, for consistency. | Paul Sokolovsky | 2017-01-04 |
| | |||
* | esp8266/modesp: Fix a typo, print -> printf. | TheSpooler | 2017-01-03 |
| | |||
* | esp8266/modesp: Make check_fw() work with OTA firmware. | Paul Sokolovsky | 2017-01-03 |
| | |||
* | esp8266/Makefile: Produce OTA firmware as firmware-ota.bin. | Paul Sokolovsky | 2017-01-02 |
| | |||
* | esp8266/scripts/inisetup: Dump FS starting sector/size on error. | Paul Sokolovsky | 2017-01-02 |
| | | | | Should allow to diagnose/try to recover FS easier. | ||
* | stmhal, esp8266: Enable utimeq module. | Paul Sokolovsky | 2016-12-23 |
| | |||
* | esp8266: Force relinking OTA firmware image if built after normal one. | Paul Sokolovsky | 2016-12-20 |
| |