summaryrefslogtreecommitdiffstatshomepage
Commit message (Collapse)AuthorAge
* stmhal: Add STM32F7DISC and associated changes.Dave Hylands2015-07-30
|
* stmhal: Renamed startup/system/_it.[ch] file to generic names.Dave Hylands2015-07-30
|
* stmhal: Replace #include "stm32f4xx_hal.h" with #include STM32_HAL_H.Dave Hylands2015-07-30
|
* stmhal: Expose uwTick in f7 hal.Damien George2015-07-30
|
* stmhal: Add hal and cmsis files from STM32Cube_FW_F7_V1.1.0.Dave Hylands2015-07-30
| | | | | | | | All files were converted to linux line endings. All trailing whitespace was removed using: for f in f7/inc/* f7/src/*; do sed --in-place 's/[[:space:]]\+$//' $f; done All non-ascii chars in comments were replaced with ascii equivalents or removed.
* cc3200: Append last 2 bytes of the MAC address to the default SSID.Daniel Campora2015-07-30
|
* cc3200: On ssl.read() or ssl.readall() ignore ssl layer closed error.Daniel Campora2015-07-30
|
* cc3200: Switch to 1 byte hash for QSTRs.Daniel Campora2015-07-30
|
* docs/wipy: Correct nic.ifconfig() quickref example.Daniel Campora2015-07-30
|
* cc3200: Add socket.makefile()Daniel Campora2015-07-30
|
* cc3200: Rename pins from GPIO to just GP.Daniel Campora2015-07-30
| | | | | | This is how the names will be printed on the sticker that goes on top of the EMI shield. The shorter names also help saving a few bytes of RAM and ROM.
* py/compile: Give more precise line number for compile errors.Damien George2015-07-29
| | | | | | | | | | | | | | Previous to this patch there were some cases where line numbers for errors were 0 (unknown). Now the compiler attempts to give a better line number where possible, in some cases giving the line number of the closest statement, and other cases the line number of the inner-most scope of the error (eg the line number of the start of the function). This helps to give good (and sometimes exact) line numbers for ViperTypeError exceptions. This patch also makes sure that the first compile error (eg SyntaxError) that is encountered is reported (previously it was the last one that was reported).
* py/repl: Don't look inside strings for unmatched brackets/quotes.Damien George2015-07-29
| | | | | | | When looking to see if the REPL input needs to be continued on the next line, don't look inside strings for unmatched ()[]{} ''' or """. Addresses issue #1387.
* tools/pyboard.py: Fix read timeout calc to work with shorter sleep.Damien George2015-07-29
|
* stmhal: Put fs_user_mount pointer in root ptr section of global state.Damien George2015-07-27
| | | | Should fix issue #1393.
* stmhal: Check if user block device is mounted before accessing it.Damien George2015-07-27
| | | | | In particular this fixes a bug where pyb.sync (and os.sync) fail because they try to sync the user mounted device even if it's not mounted.
* py: For viper compile errors, add traceback with function and filename.Damien George2015-07-27
| | | | | | | | | ViperTypeError now includes filename and function name where the error occurred. The line number is the line number of the start of the function definition, which is the best that can be done without a lot more work. Partially addresses issue #1381.
* py: Disable REPL EMACS key bindings by default.Damien George2015-07-26
|
* run-tests: Use PTY when running REPL tests.Tom Soulanille2015-07-26
|
* lib/mp-readline: Add emacs-style control characters for cursor movement.Tom Soulanille2015-07-26
| | | | Disabled by default. Adds 108 bytes to Thumb2 arch when enabled.
* tools: Add telnet support to pyboard.py.Daniel Campora2015-07-26
| | | | | | | The adapter class "TelnetToSerial" is used to access the Telnet connection using the same API as with the serial connection. The function pyboard.run-test() has been removed to made the module generic and because this small test is no longer needed.
* tools/pyboard.py: Speed up reading of chars by decreasing sleep period.Damien George2015-07-25
|
* tools/pyboard.py: Make enter_raw_repl stricter and more reliable.Damien George2015-07-25
| | | | | | | | | When looking for chars to indicate raw repl is active, look for the full string of chars to improve reliability of entering raw repl correctly. Previous to this patch there was the possibility that raw repl was entered in a dirty state, where not all input chars from previous invocation were drained.
* tools/pyboard.py: Fix parsing of returned error so last chr is not lost.Damien George2015-07-25
|
* tests: Skip parser test if "compile" builtin is not available.Damien George2015-07-24
|
* py/parse: Fix handling of empty input so it raises an exception.Damien George2015-07-24
|
* py/parse: De-duplicate and simplify code for parser "or" rule.Damien George2015-07-24
|
* py/lexer: Raise SyntaxError when str hex escape sequence is malformed.Damien George2015-07-23
| | | | Addresses issue #1390.
* py: Issue an error when compiling Viper functions with more than 4 args.Damien George2015-07-23
| | | | Otherwise it can be very hard to track down bugs.
* py: Allow viper functions to take up to 4 arguments.Damien George2015-07-23
| | | | Addresses issue #1380.
* stmhal: Allow ADC.read_timed to take Timer object in place of freq.Damien George2015-07-22
| | | | | | | This allows a user-specified Timer for the triggering of the ADC read, mirroring the new behaviour of DAC.write_timed. Addresses issue #1129.
* stmhal: Add stm32fxxx_hal_i2s_ex.c to hal/f2 (dummy) and hal/f4.Damien George2015-07-21
|
* stmhal: Allow DAC.write_timed to take Timer object in place of freq.Damien George2015-07-21
| | | | | | | | This allows the DAC to use a user-specified Timer for the triggering (instead of the default Timer(6)), while still supporting original behaviour. Addresses issues #1129 and #1388.
* stmhal: Clean up DAC code a little.Damien George2015-07-21
|
* py: reduce array slice assignment code sizeDelio Brignoli2015-06-06
|
* stmhal/boards/stm32fxx_prefix.c: Fix alt function number calculationblmorris2015-07-20
| | | | | This prevented pin_find_af* functions from being able to find some of the alternate functions in the pin struct
* py: Small code space optimisations for memoryview slice assigment.Damien George2015-07-20
| | | | | Also adds #if guards to allow uPy core to compile without memoryview enabled, but with slice assignment enabled.
* qemu-arm: Enable array slice assignment to get memoryview1 test to pass.Delio Brignoli2015-07-20
|
* py: Implement memoryview slice assignment.Delio Brignoli2015-07-20
| | | | | Adds ability to do "memcpy" with memoryview objects, such as: m1[0:3] = m2[2:5].
* stmhal: Add CMSIS device header files for STM32F2xx series.Damien George2015-07-20
|
* stmhal: Add STM32CubeF2 version 1.1.0, in hal/f2 directory.Wojtek Siudzinski2015-07-20
| | | | | | | Only those files which are needed by the stmhal port are added. Also includes a dummy file (stm32f2xx_hal_pcd_ex.c) to keep the build system the same for f4 and f2 MCU series.
* stmhal: Update Makefile and board configs to compile with relocated hal.Damien George2015-07-20
|
* stmhal: Move HAL Cube files to f4/ subdir, keeping only those we use.Damien George2015-07-20
| | | | | | | | | This is in preparation for supporting other MCU series, such as STM32F2xx. Directory structure for the HAL is now hal/f4/{inc,src}, where "f4" will in the future be different for other series. HAL source/header files that are not use are removed to reduce the size of the code.
* CODECONVENTIONS: Add a short section about how to allocate heap memory.Damien George2015-07-20
|
* esp8266: Use m_new/m_renew/m_del funcs instead of private gc_xxx.Damien George2015-07-20
|
* py: Make qstr hash size configurable, defaults to 2 bytes.Damien George2015-07-20
| | | | | | | This patch makes configurable, via MICROPY_QSTR_BYTES_IN_HASH, the number of bytes used for a qstr hash. It was originally fixed at 2 bytes, and now defaults to 2 bytes. Setting it to 1 byte will save ROM and RAM at a small expense of hash collisions.
* modbuiltins: Implement round() to precision.Sebastian Plamauer2015-07-19
|
* esp8266: modesp: Update for gc_realloc() refactor.Paul Sokolovsky2015-07-19
| | | | TODO: Contributed code in modesp incorrectly uses private gc_* API.
* cc3200: Add socket.sendall() (aliases to send()).Daniel Campora2015-07-17
| | | | | Simplelink's socket send checks for the size of the packet and sends it in chunks if the size is too large.
* cc3200: Make socket stream methods return POSIX error codes.Daniel Campora2015-07-16
|