Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | stmhal: Add I2S2EXT and I2S3EXT constants to stm module. | Damien George | 2015-03-01 |
| | |||
* | tests: Add test for micropython const feature when it has a SyntaxError. | Damien George | 2015-03-01 |
| | |||
* | py: Set compiler scope before folding constants so error messages work. | Damien George | 2015-03-01 |
| | | | | Addresses issue #1140. | ||
* | cc3200: Add heartbeat signal on system led. | danicampora | 2015-02-28 |
| | |||
* | cc3200: Create separate release/debug build directories | Johan Hendriks | 2015-02-28 |
| | |||
* | py: Combine complie functions for or_test/and_test to reduce code size. | Damien George | 2015-02-28 |
| | | | | Saves around 60 bytes code on Thumb2 archs. | ||
* | py: Combine emit functions for jump true/false to reduce code size. | Damien George | 2015-02-28 |
| | | | | Saves 116 bytes for stmhal and 56 bytes for cc3200 port. | ||
* | py: Combine logic for compiling and/or tests, to reduce code size. | Damien George | 2015-02-28 |
| | | | | Reduces code size by 72 bytes on Thumb2 archs. | ||
* | qemu-arm: Handle sys.exit() to allow skip tests in testsuite. | Paul Sokolovsky | 2015-02-28 |
| | |||
* | tests: Add test for array slice assignment. | Paul Sokolovsky | 2015-02-27 |
| | |||
* | objarray: Implement array slice assignment. | Paul Sokolovsky | 2015-02-27 |
| | | | | | | | | | | | | | | | | This is rarely used feature which takes enough code to implement, so is controlled by MICROPY_PY_ARRAY_SLICE_ASSIGN config setting, default off. But otherwise it may be useful, as allows to update arbitrary-sized data buffers in-place. Slice is yet to implement, and actually, slice assignment implemented in such a way that RHS of assignment should be array of the exact same item typecode as LHS. CPython has it more relaxed, where RHS can be any sequence of compatible types (e.g. it's possible to assign list of int's to a bytearray slice). Overall, when all "slice write" features are implemented, it may cost ~1KB of code. | ||
* | py: Transform assert logic in compiler to save code space. | Damien George | 2015-02-27 |
| | | | | Saves about 250 code bytes for Thumb2 archs. | ||
* | py: Use m_{new,renew,del} consistently. | Damien George | 2015-02-27 |
| | | | | This is so all memory requests go through the same interface. | ||
* | travis: Use CPython3.4 instead of 3.3. | Damien George | 2015-02-27 |
| | |||
* | tests: Update pyb/uart.py test since baudrate of 1200 is too low. | Damien George | 2015-02-27 |
| | |||
* | py: Fix adding of traceback so that it appends to existing info. | Damien George | 2015-02-27 |
| | | | | | | | | This makes exception traceback info self contained (ie doesn't rely on list object, which was a bit of a hack), reduces code size, and reduces RAM footprint of exception by eliminating the list object. Addresses part of issue #1126. | ||
* | README.md: Update subdir descriptions. | Paul Sokolovsky | 2015-02-26 |
| | |||
* | py: Small optimisation of logic flow in BC_WITH_CLEANUP bytecode. | Damien George | 2015-02-26 |
| | | | | | Slightly smaller code, and does not need to use C stack to save temporaries. | ||
* | cc3200: Move code that disables/enables servers to wlan_sl_enable(). | danicampora | 2015-02-26 |
| | |||
* | cc3200: Modify simplelink FreeRTOS OSI layer to only use semaphores. | danicampora | 2015-02-26 |
| | | | | | | Before, both mutexes and semaphores were used. Using only the latter and with a bit of cleanup to remove some code bloat, we save ~600 bytes of code. | ||
* | cc3200: Change PRCM_PeriphRegs_t fields to unsigned char. | danicampora | 2015-02-25 |
| | | | | This helps saving ~300 bytes. Thanks to dpgeorge. | ||
* | cc3200: Implement safe boot pin and system led behaviour. | danicampora | 2015-02-25 |
| | | | | | | | The safe boot pin, when pulled high during reset rolls back the firmware to the "factory" image and skips execution of 'boot.py' and 'main.py'. This is useful to recover from a crash condition. The system led is used mostly to signal errors. | ||
* | cc3200: Fix md5 application signing, add missing accents. | danicampora | 2015-02-25 |
| | |||
* | modffi: Implement 'O' type handling for func arguments. | Paul Sokolovsky | 2015-02-25 |
| | |||
* | py: Make inline assembler raise exception when branch not in range. | Damien George | 2015-02-25 |
| | | | | Addresses issue #1132. | ||
* | cc3200: Add WDT functionality as part of the pyb module. | danicampora | 2015-02-25 |
| | | | | | | Also improve pybsd, and make it save it's pin configuration. This is a necessary step towards supporting the CC3200 low power deep sleep (LPDS) mode. | ||
* | cc3200: Update README.md to add step for flashing the bootloader. | danicampora | 2015-02-25 |
| | |||
* | py: In inline assembler, add return statement to fix flow logic. | Damien George | 2015-02-24 |
| | |||
* | py: Factor some code in inline thumb assembler to reduce code size. | Damien George | 2015-02-24 |
| | |||
* | py: Make more asmthumb functions inline to reduce code size. | Damien George | 2015-02-24 |
| | |||
* | py: Reduce code size of inline thumb assembler by using static tables. | Damien George | 2015-02-24 |
| | | | | Reduces stmhal by about 300 bytes ROM. | ||
* | README.md: Update list of supported Python types. | Paul Sokolovsky | 2015-02-24 |
| | |||
* | README.md: Promote project status from "early beta" to just "beta". | Paul Sokolovsky | 2015-02-24 |
| | | | | | Also, reword purpose to avoid impression that uPy supports just one microcontroller. | ||
* | docs: Correct the documentation for math.frexp. | Damien George | 2015-02-23 |
| | |||
* | docs: Update timer tutorial to reflect new behaviour of timer. | Damien George | 2015-02-23 |
| | |||
* | py: Update parse.c&mpconfig.h to reflect rename of mp_lexer_show_token. | nhtshot | 2015-02-23 |
| | | | | | This function is only used when DEBUG_PRINTERS and USE_RULE_NAME are enabled. | ||
* | py: Implement UnicodeError. | Paul Sokolovsky | 2015-02-23 |
| | | | | | Still too shy to implement UnicodeEncodeError which was really needed for micropython-lib case. | ||
* | cc3200: Introduce MICROPY_PORT_HAS_TELNET and MICROPY_PORT_HAS_FTP. | danicampora | 2015-02-23 |
| | | | | | These definitions help on making modwlan.c usable by other ports with the CC3100. | ||
* | cc3200: Change UART.print() to make it consistent with the rest. | danicampora | 2015-02-23 |
| | |||
* | cc3200: Replace WLAN.get_ip() with WLAN.ifconfig(). | danicampora | 2015-02-23 |
| | | | | Also change other methods' names to make them consistent. | ||
* | tests: Add more tests for pyb.Timer class. | Damien George | 2015-02-23 |
| | |||
* | stmhal: Reset state of timer when deinit is called. | Damien George | 2015-02-23 |
| | |||
* | stmhal: Fix problem when passing callback= to timer init function. | Dave Hylands | 2015-02-22 |
| | | | | | | In particular, make sure that the globals are all initialized before enabling the interrupt, and also make sure that the timer interrupt has been initialied before enabling the NVIC. | ||
* | cc3200: Add simplelink non-os task calls. | danicampora | 2015-02-22 |
| | |||
* | cc3200: Add wlan_urn() thanks to Nadim El-Fata and Bryan Morrissey. | danicampora | 2015-02-22 |
| | |||
* | cc3200: Add optimization flags to drivers/cc3100 in the debug build. | danicampora | 2015-02-22 |
| | |||
* | drivers/cc3100: Remove simplelink trace messages completely. | danicampora | 2015-02-22 |
| | | | | | Those trace messages have never proven to be useful and they make the code 9K bigger. | ||
* | cc3200: Remove dependencies from FreeRTOS. | danicampora | 2015-02-22 |
| | | | | | Use the simplelink wrappers instead. This is one step further towards having a single module for the cc3200 and the cc3100. | ||
* | tests: Add test for math special functions. | Damien George | 2015-02-22 |
| | |||
* | py: Make math special functions configurable and disabled by default. | Damien George | 2015-02-22 |
| | | | | | | | The implementation of these functions is very large (order 4k) and they are rarely used, so we don't enable them by default. They are however enabled in stmhal and unix, since we have the room. |