| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2015-10-08 | stmhal: Fix RTC.wakeup so it correctly calculates WUT for large periods. | Damien George | |
| Thanks to Peter Hinch. Addresses issue #1488. | |||
| 2015-10-06 | stmhal: In RTC.wakeup, fix setting of wucksel to get correct period. | Damien George | |
| Thanks to Peter Hinch. See issue #1490. | |||
| 2015-10-02 | py: Allocate parse nodes in chunks to reduce fragmentation and RAM use. | Damien George | |
| With this patch parse nodes are allocated sequentially in chunks. This reduces fragmentation of the heap and prevents waste at the end of individually allocated parse nodes. Saves roughly 20% of RAM during parse stage. | |||
| 2015-09-15 | py/objslice: Make slice attributes (start/stop/step) readable. | Tom Soulanille | |
| Configurable with MICROPY_PY_BUILTINS_SLICE_ATTRS. Disabled by default. | |||
| 2015-09-15 | stmhal: Use polling, not DMA, for 1 byte SPI transfers. | Damien George | |
| There is an issue sending 1 byte on the SPI bus using DMA, but it only occurs when the transmit is done for the first time after initialising the SPI and DMA peripherals. All other cases (sending 2 or more bytes, doing send_recv, doing recv first) work okay. We sidestep this issue by using polling (not DMA) for all 1 byte transfers. This is fine because a 1 byte transfer can't be interrupted and doesn't need the benefits of DMA (and using polling for this case is more efficient). Resolves #1456. | |||
| 2015-09-12 | stmhal: Add "opt" arg to pyb.main, to set mp_optimise_value. | Tom Soulanille | |
| Use this to set the global optimisation value when executing the main script (and all scripts it imports). | |||
| 2015-09-03 | stmhal: add option to query for the current usb mode | Tony Abboud | |
| Fetch the current usb mode and return a string representation when pyb.usb_mode() is called with no args. The possible string values are interned as qstr's. None will be returned if an incorrect mode is set. | |||
| 2015-08-29 | stmhal: Add support for STM32F411 Discovery Board (STM32F411E-DISCO). | Bob Clough | |
| 2015-08-17 | stmhal: Fixed some typos in stm32f411_af.csv. | tobbad | |
| 2015-08-15 | stmhal: Enable I & D caches for M7 | Dave Hylands | |
| 2015-08-13 | py: Add stream_tell method, and use for unix and stmhal file tell. | blmorris | |
| 2015-08-07 | stmhal: Use CMSIS_MCU definition from mpconfigboard.mk | Dave Hylands | |
| This needs to land afte #1407 lands, since #1407 is where the CMSIS_MCU was defined. | |||
| 2015-08-07 | stamhal: Add definitions for MCU_SERIES_F4 and MCU_SERIES_F7 | Dave Hylands | |
| 2015-08-07 | stmhal: Generate modstm constants per build | Dave Hylands | |
| This causes unnecessary constants to no longer be generated. Some constants (like UART_BRR) are different between the F4 and F7 | |||
| 2015-08-07 | stmhal/cmsis: Replace non-ascii apostrophe with ascii apostrophe. | Damien George | |
| 2015-08-05 | stmhal: Fix hardfault when configured as a SPI slave | Dave Hylands | |
| 2015-08-05 | stmhal: Enable SPI support for F7 MCUs. | Dave Hylands | |
| 2015-08-05 | stmhal: Enable I2C support for F7 MCUs. | Dave Hylands | |
| 2015-08-03 | stmhal: Add HALCOMMITS file with list of commits that touch the hal. | Damien George | |
| This file should be kept up to date with list of hal commits. | |||
| 2015-08-03 | stmhal: Port of f4 hal commit 1d7fb82 to f7 hal | Dave Hylands | |
| 2015-08-03 | stmhal: Port of f4 hal commit 09de030 to f7 hal | Dave Hylands | |
| 2015-08-03 | stmhal: Port of f4 hal commit c568a2b to f7 hal | Dave Hylands | |
| 2015-08-03 | stmhal: M7 Reset clocksources changed by DFU bootloader | Dave Hylands | |
| 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. | |||
| 2015-08-03 | stmhal: Add STM32F7 support for USB serial and storage. | Dave Hylands | |
| 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. | |||
| 2015-08-03 | stmhal: Add support for USART1 and conditional pins in make-pins.py. | Damien George | |
| Thanks to Dave Hylands for the patch. | |||
| 2015-08-03 | stmhal: Add better support for UART having Tx and Rx on different ports. | Damien George | |
| Thanks to Dave Hylands for the patch. | |||
| 2015-08-03 | stmhal: Fix make-pins.py to allow Port K. | Damien George | |
| Thanks to Dave Hylands for the patch. | |||
| 2015-08-03 | stmhal: Add debug capability to print out info about a hard fault. | Damien George | |
| Capability is #if'd off by default. Thanks to Dave Hylands for the patch. | |||
| 2015-08-03 | stmhal: Factor GPIO clock enable logic into mp_hal_gpio_clock_enable. | Damien George | |
| 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. | |||
| 2015-08-03 | stmhal: Factor out USRSW boot-up code and support boards with 1 LED. | Damien George | |
| Thanks to Dave Hylands for the patch. | |||
| 2015-07-30 | stmhal: Add STM32F7DISC and associated changes. | Dave Hylands | |
| 2015-07-30 | stmhal: Renamed startup/system/_it.[ch] file to generic names. | Dave Hylands | |
| 2015-07-30 | stmhal: Replace #include "stm32f4xx_hal.h" with #include STM32_HAL_H. | Dave Hylands | |
| 2015-07-30 | stmhal: Expose uwTick in f7 hal. | Damien George | |
| 2015-07-30 | stmhal: Add hal and cmsis files from STM32Cube_FW_F7_V1.1.0. | Dave Hylands | |
| 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. | |||
| 2015-07-27 | stmhal: Put fs_user_mount pointer in root ptr section of global state. | Damien George | |
| Should fix issue #1393. | |||
| 2015-07-27 | stmhal: Check if user block device is mounted before accessing it. | Damien George | |
| 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. | |||
| 2015-07-26 | lib/mp-readline: Add emacs-style control characters for cursor movement. | Tom Soulanille | |
| Disabled by default. Adds 108 bytes to Thumb2 arch when enabled. | |||
| 2015-07-22 | stmhal: Allow ADC.read_timed to take Timer object in place of freq. | Damien George | |
| This allows a user-specified Timer for the triggering of the ADC read, mirroring the new behaviour of DAC.write_timed. Addresses issue #1129. | |||
| 2015-07-21 | stmhal: Add stm32fxxx_hal_i2s_ex.c to hal/f2 (dummy) and hal/f4. | Damien George | |
| 2015-07-21 | stmhal: Allow DAC.write_timed to take Timer object in place of freq. | Damien George | |
| 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. | |||
| 2015-07-21 | stmhal: Clean up DAC code a little. | Damien George | |
| 2015-07-20 | stmhal/boards/stm32fxx_prefix.c: Fix alt function number calculation | blmorris | |
| This prevented pin_find_af* functions from being able to find some of the alternate functions in the pin struct | |||
| 2015-07-20 | stmhal: Add CMSIS device header files for STM32F2xx series. | Damien George | |
| 2015-07-20 | stmhal: Add STM32CubeF2 version 1.1.0, in hal/f2 directory. | Wojtek Siudzinski | |
| 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. | |||
| 2015-07-20 | stmhal: Update Makefile and board configs to compile with relocated hal. | Damien George | |
| 2015-07-20 | stmhal: Move HAL Cube files to f4/ subdir, keeping only those we use. | Damien George | |
| 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. | |||
| 2015-07-14 | stmhal: Add qstr definition for ifconfig when building for WizNet | Dave Hylands | |
| 2015-07-07 | stmhal: Add I2S support to make-pins.py | Dave Hylands | |
| 2015-06-27 | stmhal: Add config option for storage to use second flash segment. | Damien George | |
| When enabled this allows the internal storage to be split over 2 contiguous regions of flash (two segments), and so the storage can be increased. This option is disabled by default, giving original behaviour. | |||
