Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | 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 | 2015-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. | ||
* | stmhal: Put fs_user_mount pointer in root ptr section of global state. | Damien George | 2015-07-27 |
| | | | | Should fix issue #1393. | ||
* | stmhal: Check if user block device is mounted before accessing it. | Damien George | 2015-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. | ||
* | lib/mp-readline: Add emacs-style control characters for cursor movement. | Tom Soulanille | 2015-07-26 |
| | | | | Disabled by default. Adds 108 bytes to Thumb2 arch when enabled. | ||
* | stmhal: Allow ADC.read_timed to take Timer object in place of freq. | Damien George | 2015-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 George | 2015-07-21 |
| | |||
* | stmhal: Allow DAC.write_timed to take Timer object in place of freq. | Damien George | 2015-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 George | 2015-07-21 |
| | |||
* | stmhal/boards/stm32fxx_prefix.c: Fix alt function number calculation | blmorris | 2015-07-20 |
| | | | | | This prevented pin_find_af* functions from being able to find some of the alternate functions in the pin struct | ||
* | 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 | 2015-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 George | 2015-07-20 |
| | |||
* | stmhal: Move HAL Cube files to f4/ subdir, keeping only those we use. | Damien George | 2015-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. | ||
* | stmhal: Add qstr definition for ifconfig when building for WizNet | Dave Hylands | 2015-07-14 |
| | |||
* | stmhal: Add I2S support to make-pins.py | Dave Hylands | 2015-07-07 |
| | |||
* | stmhal: Add config option for storage to use second flash segment. | Damien George | 2015-06-27 |
| | | | | | | | | 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. | ||
* | stmhal/dma.c: Modify dma_init() to accept init struct as an argument | blmorris | 2015-06-24 |
| | | | | | | | | 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. | ||
* | stmhal: Reorganise code for parsing keyword args in I2C methods. | Damien George | 2015-06-22 |
| | | | | To make it the same as SPI and UART. | ||
* | stmhal: Make I2C use DMA when interrupts are enabled. | Damien George | 2015-06-10 |
| | |||
* | stmhal: Factor out DMA initialisation code from spi.c. | Damien George | 2015-06-10 |
| | | | | This is so that the DMA can be shared by multiple peripherals. | ||
* | stmhal: Break immediately from USB CDC busy wait loop if IRQs disabled. | Damien George | 2015-06-07 |
| | | | | | | If IRQs are disabled then the USB CDC buffer will never be drained/filled and the sys-tick timer will never increase, so we should not busy wait in this case. | ||
* | stmhal: Fix slow SPI DMA transfers by removing wfi from DMA wait loop. | Damien George | 2015-06-03 |
| | | | | Addresses issue #1268. | ||
* | stmhal: Add support for UART5 | Dave Hylands | 2015-06-01 |
| | | | | I tested this on my CERB40 board and it seems to be working fine. | ||
* | stmhal: Fix off-by-one error when checking for valid I2C and SPI bus. | Damien George | 2015-05-28 |
| | |||
* | stmhal: Allow to name SPI busses, and give them names for pyboard. | Damien George | 2015-05-27 |
| | |||
* | stmhal: Allow to name I2C busses, and give them names for pyboard. | Damien George | 2015-05-27 |
| | |||
* | stmhal: Remove PYBVxx defines and use config vars for UART/CAN names. | Damien George | 2015-05-27 |
| | | | | | Now all stmhal-based boards can name their peripherals (if they want) to any string. | ||
* | stmhal: Implement sys.std{in,out,err}.buffer, for raw byte mode. | Damien George | 2015-05-24 |
| | | | | It's configurable and only enabled for stmhal port. | ||
* | stmhal: Detect disk full condition | Dave Hylands | 2015-05-24 |
| | |||
* | stmhal: Make pendsv variable non-static so gcc-5 doesn't opt it away. | Damien George | 2015-05-23 |
| | |||
* | py/binary: Make return type of mp_binary_get_size size_t instead of int. | Kaspar Schleiser | 2015-05-17 |
| | | | | Fixes sign-compare warning. | ||
* | stmhal: Add readinto and readlines methods to sys.stdin, pyb.USB_VCP(). | Damien George | 2015-05-13 |
| | | | | Addresses issue #1255. | ||
* | lib: Move time utility functions to common library. | Josef Gajdusek | 2015-05-13 |
| | |||
* | stmhal: Add os.rename function. | Steve Zatz | 2015-05-12 |
| | |||
* | py: Add mp_obj_get_int_truncated and use it where appropriate. | Damien George | 2015-05-12 |
| | | | | | | mp_obj_get_int_truncated will raise a TypeError if the argument is not an integral type. Use mp_obj_int_get_truncated only when you know the argument is a small or big int. | ||
* | sthmal/rtc.c: Add calibration() method to get/set RTC fine-tuning value. | blmorris | 2015-05-11 |
| | |||
* | stmhal: Move debug UART repl to after uart_init0 call. | Dave Hylands | 2015-05-06 |
| | |||
* | pyexec: Make raw REPL work with event-driven version of pyexec. | Damien George | 2015-05-06 |
| | | | | | | | esp8266 port now has working raw and friendly REPL, as well as working soft reset (CTRL-D at REPL, or raise SystemExit). tools/pyboard.py now works with esp8266 port. | ||
* | modstruct: Rename module to "ustruct", to allow full Python-level impl. | Paul Sokolovsky | 2015-05-04 |
| | |||
* | lib: Move some common mod_network_* functions to lib/netutils. | Josef Gajdusek | 2015-05-04 |
| | |||
* | stmhal: Allow to configure UART pins completely via mpconfigboard.h. | Eero af Heurlin | 2015-05-03 |
| | |||
* | stmhal: Automatically re-enable IRQs on the USB REPL. | Dave Hylands | 2015-04-29 |
| | | | | | This allows errors to be seen and prevents hanging the board from doing: pyb.disable_irq() | ||
* | mp-readline: Save "prompt" string in readline state. | Damien George | 2015-04-29 |
| | |||
* | py: Replace py-version.sh with makeversionhdr.py, written in Python. | Damien George | 2015-04-28 |
| | | | | Also rename py-version.h to mpversion.h for consistency with mpconfig.h. | ||
* | stmhal: Actually disable unhandled timer interrupts. | Dave Hylands | 2015-04-28 |
| | |||
* | stmhal: Reset the timer counter to zero after changing the auto reload. | Dave Hylands | 2015-04-22 |
| | | | | | Because if the counter is above the new value of the auto-reload register then it may be a long time until the timer wraps around. |