aboutsummaryrefslogtreecommitdiff
path: root/stmhal/hal
AgeCommit message (Collapse)Author
2015-08-03stmhal: 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-03stmhal: Port of f4 hal commit 1d7fb82 to f7 halDave Hylands
2015-08-03stmhal: Port of f4 hal commit 09de030 to f7 halDave Hylands
2015-08-03stmhal: Port of f4 hal commit c568a2b to f7 halDave Hylands
2015-07-30stmhal: Expose uwTick in f7 hal.Damien George
2015-07-30stmhal: 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-21stmhal: Add stm32fxxx_hal_i2s_ex.c to hal/f2 (dummy) and hal/f4.Damien George
2015-07-20stmhal: 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-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.
2014-10-04stmhal: Adjust computation of SYSCLK to retain precision.Damien George
2014-09-15stmhal: Change 64-bit arithmetic to 32-bit for SD card block addressing.Damien George
By measuring SD card addresses in blocks and not bytes, one can get away with using 32-bit numbers. This patch also uses proper atomic lock/unlock around SD card read/write, adds SD.info() function, and gives error code for failed read/writes.
2014-09-15stmhal/hal/src/stm32f4xx_hal_sd.c: fix SDHC card capacityFelix Domke
2014-08-25stmhal: Improve efficiency of SysTick IRQ and HAL_Delay.Damien George
SysTick IRQ now increases millisecond counter directly (ie without calling HAL_IncTick). Provide our own version of HAL_Delay that does a wfi while waiting. This more than halves power consumption when running a loop containing a pyb.delay call. It used to be like this, but new version of HAL library regressed this feature.
2014-08-06stmhal: Update STM32Cube F4 HAL driver to V1.3.0.Damien George
This patch updates ST's HAL to the latest version, V1.3.0, dated 19 June 2014. Files were copied verbatim from the ST package. Only change was to suppress compiler warning of unused variables in 4 places. A lot of the changes from ST are cosmetic: comments and white space. Some small code changes here and there, and addition of F411 header. Main code change is how SysTick interrupt is set: it now has a configuration variable to set the priority, so we no longer need to work around this (originall in system_stm32f4xx.c).
2014-04-20stmhal: Add SPI class.Damien George
Also some updates to compile with latest changes to core py.
2014-03-13stmhal - More systick cleanup. Fix HAL_DelayDave Hylands
2014-03-11Initial checkin with STM HALDave Hylands
This compiles and links, but hasn't been tested on a board yet and even if it was run, it doesn't currently do anything.