summaryrefslogtreecommitdiffstatshomepage
Commit message (Collapse)AuthorAge
* esp8266/modesp: Add flash_size() function.Paul Sokolovsky2016-04-18
| | | | | Returns FlashROM size in bytes from vendor SDK's point of view, not physical size.
* esp8266/scripts/flashbdev: Use all available space in 1MB FlashROM for FS.Paul Sokolovsky2016-04-18
|
* esp8266/modesp: Allow esp.deepsleep to take 2nd arg for RF wake opt.Damien George2016-04-17
|
* esp8266/README.md: Update feature list for current state of affairs.Paul Sokolovsky2016-04-17
|
* esp8266/README.md: Typo fix.Paul Sokolovsky2016-04-17
|
* esp8266/esp_mphal: Protect dupterm_task_handler() from recursive exec.Paul Sokolovsky2016-04-17
|
* 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.
* extmod/modlwip: Add ability to run callback on "recv" and "accept" events.Paul Sokolovsky2016-04-17
| | | | | | To use: .setsockopt(SOL_SOCKET, 20, lambda sock: print(sock)). There's a single underlying callback slot. For normal sockets, it serves as data received callback, for listening sockets - connection arrived callback.
* docs/machine: reset_cause() has been implemented for esp8266.Paul Sokolovsky2016-04-17
|
* py/mkenv.mk: Optimize Python startup type during make process.Paul Sokolovsky2016-04-17
| | | | By skipping loading site.py, etc.
* py/frozenmod: Pass the source name of the frozen module to the lexer.Damien George2016-04-17
| | | | | This allows for better error messages, since the name of the file (sans .py) can now be printed when an exception occurs within a frozen script.
* stmhal: Fix machine.unique_id() function to work for all MCUs.Damien George2016-04-17
|
* stmhal: L4: Modify timer.c to support L4 MCU.Tobias Badertscher2016-04-17
|
* stmhal: L4: Modify rtc.c to support L4 MCU.Tobias Badertscher2016-04-17
|
* stmhal: L4: Modify usbd_conf.c to support L4 MCU.Damien George2016-04-17
| | | | | Original patch was authored by Tobias Badertscher / @tobbad, but it was reworked to split UART edits from USB edits.
* stmhal: L4: Modify uart.c to support L4 MCU.Damien George2016-04-17
| | | | | | | L4 does not have UART6, and has similar registers to the F7. Original patch was authored by Tobias Badertscher / @tobbad, but it was reworked to split UART edits from USB edits.
* extmod/modlwip: lwip_tcp_receive(): Full error handling.Paul Sokolovsky2016-04-17
|
* extmod/modlwip: lwip_tcp_send(): Full error handling.Paul Sokolovsky2016-04-17
|
* stmhal: L4: Modify adc.c to add support for STM32L4 series.Tobias Badertscher2016-04-16
|
* stmhal: L4: Add line to Makefile for building L4 series.Tobias Badertscher2016-04-16
|
* stmhal: L4: Add board definition files for STM32L476DISC.Tobias Badertscher2016-04-16
|
* stmhal: Update HALCOMMITS due to change to hal.Damien George2016-04-16
|
* stmhal: L4: Adapt UART HAL to avoid 64-bit integer division.Tobias Badertscher2016-04-16
| | | | | | 64-bit integer division brings a dependency on library functions. It is avoided here by dividing fck and baud by a common divisior. The error is the better (1/(2*0x300)) as with 64 bit division (1/(0x300)).
* stmhal: L4: Add basic STM32L4xx HAL files.Tobias Badertscher2016-04-16
| | | | | | These files come from STM32Cube_FW_L4_V1.3.0, with Windows line endings converted to unix. Only basic HAL files are added. In addition the QSPI support is included to support later external QSPI flash as mass storage.
* stmhal: L4: Add CMSIS files to support STM32L476.Tobias Badertscher2016-04-16
|
* stmhal: For frozen bytecode generation, add dependency of qstr file.Damien George2016-04-16
|
* minimal: For frozen bytecode generation, add dependency of qstr file.Damien George2016-04-16
|
* esp8266: Adapt port to use new auto-qstr generation.Damien George2016-04-16
|
* py/mkrules.mk: Suppress line-no output from CPP for qstr auto-gen.Jan Čapek2016-04-16
|
* py/py.mk: Add makefile variable for qstr autogeneration control.Jan Čapek2016-04-16
| | | | | | | - any architecture may explicitely build with qstring make QSTR_AUTOGEN_DISABLE=1 autogeneration disabled and provide its own list of qstrings by the standard mechanisms (qstrdefsport.h).
* windows/msvc: Implement automatic qstr generation using makeqstrdefs.stijn2016-04-16
| | | | | | Note this still needs some work: currently all source files are always preprocessed no matter which one actually changed, moreover that happens file by file without any parallellism so builds are painstakingly slow.
* py/mkrules.mk: Add mpconfig[port].h dependency to qstr generating rule.Jan Čapek2016-04-16
|
* py: Add rules for automated extraction of qstrs from sources.Jan Čapek2016-04-16
| | | | | | | | | | | | | | | | | | | | | - add template rule that converts a specified source file into a qstring file - add special rule for generating a central header that contains all extracted/autogenerated strings - defined by QSTR_DEFS_COLLECTED variable. Each platform appends a list of sources that may contain qstrings into a new build variable: SRC_QSTR. Any autogenerated prerequisities are should be appened to SRC_QSTR_AUTO_DEPS variable. - remove most qstrings from py/qstrdefs, keep only qstrings that contain special characters - these cannot be easily detected in the sources without additional annotations - remove most manual qstrdefs, use qstrdef autogen for: py, cc3200, stmhal, teensy, unix, windows, pic16bit: - remove all micropython generic qstrdefs except for the special strings that contain special characters (e.g. /,+,<,> etc.) - remove all port specific qstrdefs except for special strings - append sources for qstr generation in platform makefiles (SRC_QSTR)
* py/makeqstrdefs: Add script to automate extraction of qstr from sources.Pavel Moravec2016-04-16
| | | | | | | | | | This script will search for patterns of the form Q(...) and generate a list of them. The original code by Pavel Moravec has been significantly simplified to remove the part that searched for C preprocessor directives (eg #if). This is because all source is now run through CPP before being fed into this script.
* esp8266/modmachine: Add reset_cause() function.Paul Sokolovsky2016-04-15
|
* docs/speed_python: Add article.Paul Sokolovsky2016-04-15
|
* tests: Fix dict1.py so it doesn't rely on the order of dict elems.Damien George2016-04-15
|
* py/map: Change hash-table allocation policy to be less aggressive.Damien George2016-04-15
| | | | | | | | | | Small hash tables (eg those used in user class instances that only have a few members) now only use the minimum amount of memory necessary to hold the key/value pairs. This can reduce performance for instances that have many members (because then there are many reallocations/rehashings of the table), but helps to conserve memory. See issue #1760.
* docs/speed_python: Add many more details on memoryviews.Paul Sokolovsky2016-04-15
|
* docs/speed_python: Generalize "Floating point" subsection.Paul Sokolovsky2016-04-15
| | | | | Don't describe just single port's peculiarities, note aboute possible array of issues with floating-point.
* docs/speed_python: Clarify/generalize "Buffers" subsection.Paul Sokolovsky2016-04-15
|
* docs/machine: Start to update for esp8266 port.Paul Sokolovsky2016-04-15
|
* docs/esp: Enumerate flash access functions.Paul Sokolovsky2016-04-15
|
* tools/mpy-tool.py: Add support for Python 2.7.Damien George2016-04-15
|
* esp8266/moduos: Add uos.mkdir function.Damien George2016-04-14
|
* extmod/fsusermount: In mount/mkfs, deregister VFS object on error.Damien George2016-04-14
| | | | Should fix issue #1947.
* esp8266/scripts/_boot: Mount block device on "" instead of "/".Damien George2016-04-14
| | | | | | "" is the correct name of the root directory when mounting a device there (as opposed to "/"). One can now do os.listdir('/') and open('/abc'), as well as os.listdir() and open('abc').
* extmod/modlwip: More debug messages for various edge conditions.Paul Sokolovsky2016-04-15
|
* esp8266/qstrdefsport.h: Mark qstr's for "esp" module.Paul Sokolovsky2016-04-15
|
* esp8266: Enable input() builtin.Paul Sokolovsky2016-04-15
|