summaryrefslogtreecommitdiffstatshomepage
Commit message (Collapse)AuthorAge
* stamhal: Add definitions for MCU_SERIES_F4 and MCU_SERIES_F7Dave Hylands2015-08-07
|
* stmhal: Generate modstm constants per buildDave Hylands2015-08-07
| | | | | This causes unnecessary constants to no longer be generated. Some constants (like UART_BRR) are different between the F4 and F7
* stmhal/cmsis: Replace non-ascii apostrophe with ascii apostrophe.Damien George2015-08-07
|
* run-tests: Test REPL emacs keys, but only if present.Tom Soulanille2015-08-06
| | | | | Uses cmdline/repl_emacs_check.py to check for presence of emacs keys in repl before doing full feature test.
* tests: Add test for pyboard SPI in slave mode, recv with no master.Damien George2015-08-05
| | | | See PR #1414.
* stmhal: Fix hardfault when configured as a SPI slaveDave Hylands2015-08-05
|
* stmhal: Enable SPI support for F7 MCUs.Dave Hylands2015-08-05
|
* stmhal: Enable I2C support for F7 MCUs.Dave Hylands2015-08-05
|
* unix/mpconfigport.h: set MICROPY_PY_SYS_PLATFORM to "darwin" if compiled on OSXblmorris2015-08-05
| | | | This change allows micropython to return the same value as CPython for sys.platform
* stmhal: Add HALCOMMITS file with list of commits that touch the hal.Damien George2015-08-03
| | | | This file should be kept up to date with list of hal commits.
* stmhal: Port of f4 hal commit 1d7fb82 to f7 halDave Hylands2015-08-03
|
* stmhal: Port of f4 hal commit 09de030 to f7 halDave Hylands2015-08-03
|
* stmhal: Port of f4 hal commit c568a2b to f7 halDave Hylands2015-08-03
|
* stmhal: M7 Reset clocksources changed by DFU bootloaderDave Hylands2015-08-03
| | | | | | | The DFU bootloader on the ST32F7 chip changes the clocksource for various possible boot sources (UART1, UART3, I2C1-3). This commit resets those clock sources back to their cold reset values.
* stmhal: Add STM32F7 support for USB serial and storage.Dave Hylands2015-08-03
| | | | | | | | | | | | USB serial is now working for F7. Internal file storage is now working for F7. The flash is laid out a bit differently to the F4 - 4 x 32K, 1 x 128K with the rest 256K, so the internal storage is 96K. Added more pind definitions for STM32F7DISC board. Made USART1 be the default HWUART repl. The STLINK usb connector also looks like a USB serial port which is attached to USART1 on the STM32F7DISC.
* stmhal: Add support for USART1 and conditional pins in make-pins.py.Damien George2015-08-03
| | | | Thanks to Dave Hylands for the patch.
* stmhal: Add better support for UART having Tx and Rx on different ports.Damien George2015-08-03
| | | | Thanks to Dave Hylands for the patch.
* stmhal: Fix make-pins.py to allow Port K.Damien George2015-08-03
| | | | Thanks to Dave Hylands for the patch.
* stmhal: Add debug capability to print out info about a hard fault.Damien George2015-08-03
| | | | | | Capability is #if'd off by default. Thanks to Dave Hylands for the patch.
* stmhal: Factor GPIO clock enable logic into mp_hal_gpio_clock_enable.Damien George2015-08-03
| | | | | | | | Extracted GPIO clock enable logic into mp_hal_gpio_clock_enable and called from anyplace which might need to use GPIO functions on ports other than A-D. Thanks to Dave Hylands for the patch.
* stmhal: Factor out USRSW boot-up code and support boards with 1 LED.Damien George2015-08-03
| | | | Thanks to Dave Hylands for the patch.
* bare-arm: Disable enumerate and reversed builtins to make port more bare.Damien George2015-08-02
|
* minimal: Use 1 byte for qstr hash, to make port more minimal.Damien George2015-08-02
|
* py/objlist: Make list += accept all arguments and add test.Damien George2015-08-02
|
* cc3200: Make I2C and SPI API the same as in stmhal.Daniel Campora2015-08-02
|
* makeqstrdata.py: Typo fix in comment.Paul Sokolovsky2015-07-31
|
* drivers/onewire: Fix ds18x20.read_temp so it works when no rom given.Damien George2015-07-30
|
* 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.