aboutsummaryrefslogtreecommitdiff
path: root/stmhal/hal/f4
AgeCommit message (Collapse)Author
2017-08-29stmhal: Remove cmsis and hal files, they are now a submodule.Damien George
2016-11-16stmhal/hal: do not include <stdio.h> in HAL headersKrzysztof Blazewicz
stdio.h was included in all HAL files only to provide definition of NULL symbol "stdio.h" includes "types.h" which contains some conflicting definitions with "drivers/cc3000/inc/socket.h"
2016-11-16stmhal/dma: precalculate register base and bitshift on handle initKrzysztof Blazewicz
Current version of HAL drivers optimize IRQ handler by using precalculated DMA register address and stream bitshift instead of calculating it on every interrupt. Since we skip call to `HAL_DMA_Init` on reused DMA, fields StreamBaseAddress and StreamIndex of DMA handle are not initialized and thus leads to SegFault in `DMA_IRQHandler`. HAL_DMA_Init is a big routine and we do not need to call it on each use of DMA (ex.: series of I2C operations) and DMA_CalcBaseAndBitshift is really small and releasing it increases code size by only 8 bytes.
2016-11-16stmhal/hal/sd: reapply HAL commit 09de030 for f4Krzysztof Blazewicz
2016-11-16stmhal/hal/rcc: reapply HAL commit c568a2b for f4Krzysztof Blazewicz
2016-11-16stmhal/hal: reapply HAL commit 9db719b for f4Krzysztof Blazewicz
2016-11-16stmhal/hal/sd: reapply HAL commit 1d7fb82 for f4Krzysztof Blazewicz
2016-11-16stmhal/hal/i2c: reapply HAL commit ea040a4 for f4Krzysztof Blazewicz
2016-11-16stmhal: apply STM32CubeF4 v1.13.1 patch - upgrade HAL driver to v1.5.2Krzysztof Blazewicz
2016-11-16stmhal: upgrade to STM32CubeF4 v1.13.0 - HAL v1.5.1Krzysztof Blazewicz
2016-01-30stmhal: In HAL I2C driver, move DMA setup to after sending I2C address.Damien George
Previous to this patch the DMA was setup and then the I2C address sent. If the I2C address sending failed (eg no I2C device on the bus) then the DMA was left in an inconsistent state. This patch moves the DMA setup to after a successful sending of the I2C address(es). See issue #1765.
2015-07-21stmhal: Add stm32fxxx_hal_i2s_ex.c to hal/f2 (dummy) and hal/f4.Damien George
2015-07-20stmhal: 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.