summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-06-25CODECONVENTIONS.md: add documentation on putting comments in code.Garrett Berg
2015-06-25tests: Split out json float tests to separate files.Damien George
2015-06-25tests: Add support for the WiPy in run-tests script.Daniel Campora
The --pyboard param has been replaced by --target which defaults to 'unix'. Possible values at this moment are 'unix', 'pyboard' and 'wipy'. Now is also possible to select the baud rate of the serial device when calling the script.
2015-06-25docs: Add link in references index to Thumb2 assembler docs.Damien George
2015-06-25docs: Add reference for Thumb2 inline assembler.Damien George
Thanks to Peter Hinch for contributing this.
2015-06-25docs: Add "reference" directory for putting docs about the language.Damien George
2015-06-24tests: Adapt misc/features.py tests for ports without floating point.Daniel Campora
2015-06-24stmhal/dma.c: Modify dma_init() to accept init struct as an argumentblmorris
This removes hard-coded DMA init params from dma_init(), instead defining these parameters in a DMA_InitTypeDef struct that gets passed as an argument to dma_init() This makes dma_init more generic so it can be used for I2S and SD Card, which require different initialization parameters.
2015-06-24CODECONVENTIONS.md: Mention macro and enum names.Damien George
2015-06-24CODECONVENTIONS.md: Add function/variable/argument naming conventionstijn
2015-06-24cc3200: Add deploy target and improve robustness of update-wipy.py.Daniel Campora
2015-06-24tests: Adapt basics/memoryerror.py for ports with lower heap sizes.Daniel Campora
2015-06-24cc3200: Create tools folder and add update-wipy.py script.Daniel Campora
This script is used by Jenkins to update the WiPy with the newly built firmware before running the tests. It's not placed in the common tools folder because it is very WiPy specific.
2015-06-23py: Clarify comment in parsenum.c about ValueError vs SyntaxError.Damien George
2015-06-23py: Change exception type to ValueError when error reporting is terse.Daniel Campora
Addresses issue #1347
2015-06-22stmhal: Reorganise code for parsing keyword args in I2C methods.Damien George
To make it the same as SPI and UART.
2015-06-22esp8266: Make pyb.RTC a type, and pyb.RTC() constructs an RTC object.Damien George
This is the standard way of doing things, one should construct a peripheral object (even if it's a singleton). See issue #1330.
2015-06-22bare-arm, minimal, qemu-arm: Make do_str() take parse-input-kind as arg.Damien George
The do_str() function is provided essentially as documentation to show how to compile and execute a string. This patch makes do_str take an extra arg to specify how the string should be interpreted: either as a single line (ie from a REPL) or as multiple lines (ie from a file).
2015-06-22README: Add quick information about builtin upip package manager.Paul Sokolovsky
Also, simplify dependencies info now that we no longer require GNU readline.
2015-06-22py: Cast argument for printf to int, to be compatible with more ports.Damien George
This allows stmhal to be compiled with MICROPY_DEBUG_PRINTERS.
2015-06-21tests: Add testcase for open(..., "a").Paul Sokolovsky
2015-06-21unix: Add O_WRONLY | O_CREAT to open call when opening file for append ("a").Ari Suutari
To comply with Python semantics.
2015-06-20esp8266: Move status() from esp module to networkBill Owens
2015-06-20py: Use a wrapper to explicitly check self argument of builtin methods.Damien George
Previous to this patch a call such as list.append(1, 2) would lead to a seg fault. This is because list.append is a builtin method and the first argument to such methods is always assumed to have the correct type. Now, when a builtin method is extracted like this it is wrapped in a checker object which checks the the type of the first argument before calling the builtin function. This feature is contrelled by MICROPY_BUILTIN_METHOD_CHECK_SELF_ARG and is enabled by default. See issue #1216.
2015-06-19esp8266: README: Typo fix.Paul Sokolovsky
2015-06-18py: Make showbc decode UNPACK_EX, and use correct range for unop/binop.Damien George
2015-06-18esp8266: Explicit warning that port is experimental and subject to change.Paul Sokolovsky
2015-06-18README: Mention esp8266 port.Paul Sokolovsky
2015-06-18ESP8266: Update the README.md to reflect what worksRadomir Dopieralski
2015-06-18CODECONVENTIONS.md: 16-bit ports exist now.Paul Sokolovsky
2015-06-18CODECONVENTIONS.md: Header files no longer follow Plan 9 conventions.Paul Sokolovsky
2015-06-18cc3200: Remove --specs=nano.specs linker flag.Daniel Campora
2015-06-17esp8266: Updated documentation for scan() and moved to networkBill Owens
2015-06-17esp8266: Move scan from esp module to networkBill Owens
2015-06-16docs: Add more documentation for the CC3200 in the pyb module.Daniel Campora
2015-06-16cc3200: In Timer.callback() only use value param if in edge count mode.Daniel Campora
2015-06-15docs: Bump version to 1.4.4.v1.4.4Damien George
2015-06-15tests: Check that machine module exists and print SKIP if it doesn't.Damien George
2015-06-15tools/pyboard.py: Change logic for when raw ">" prompt is parsed.Damien George
In raw REPL ">" indicates the prompt. We originally read this character upon entering the raw REPL, and after reading the last bit of the output. This patch changes the logic so the ">" is read only just before trying to send the next command. To make this work (and as an added feature) the input buffer is now flushed upon entering raw REPL. The main reason for this change is so that pyboard.py recognises the EOF when sys.exit() is called on the pyboard. Ie, if you run pyboard.py with a script that calls sys.exit(), then pyboard.py will exit after the sys.exit() is called.
2015-06-14esp8266: Changed esp_scan to keep the current WiFi operating mode but throw ↵Bill Owens
an exception if WiFi is in AP only mode
2015-06-13py: Implement divmod for mpz bignum.Damien George
2015-06-13py: Add MP_BINARY_OP_DIVMOD to simplify and consolidate divmod builtin.Damien George
2015-06-13py: Implement second arg for math.log (optional value for base).Damien George
2015-06-13esp8266: Fix the documentation for esp.connect() and esp.disconnect()Radomir Dopieralski
Since the commit that moved those two functions failed to update the documentation, this is a fix for that.
2015-06-13pip-micropython: Add deprecation notice, but still leave for reference.Paul Sokolovsky
2015-06-12esp8266: Move connect/disconnect from "esp" module to network.Paul Sokolovsky
2015-06-12esp8266: Add skeleton "network" module.Paul Sokolovsky
MicroPython "network" module interface requires it to contains classes to instantiate. But as we have a static network interace, make WLAN() "constructor" just return module itself, and just make all methods module-global functions.
2015-06-12esp8266: esp_connect(): The function is now vararg.Paul Sokolovsky
Fixes regression from a previous commit.
2015-06-11py: Rebuild port if mpconfigport.mk changed (if any).Paul Sokolovsky
mpconfigport.mk contains configuration options which affect the way MicroPython is linked. In this regard, it's "stronger" configuration dependency than even mpconfigport.h, so if we rebuild everything on mpconfigport.h change, we certianly should of that on mpconfigport.mk change too.
2015-06-11cc3200/README.md: Specify the board name in the build command.Daniel Campora