aboutsummaryrefslogtreecommitdiff
path: root/stmhal/system_stm32f4xx.c
AgeCommit message (Collapse)Author
2015-07-30stmhal: Renamed startup/system/_it.[ch] file to generic names.Dave Hylands
2015-07-30stmhal: Replace #include "stm32f4xx_hal.h" with #include STM32_HAL_H.Dave Hylands
2015-04-18stmhal: Make HSE PLL parameters configurable per board.Damien George
2014-10-04stmhal: Allow pyb.freq() function to change SYSCLK frequency.Damien George
Eg pyb.freq(120000000) sets the CPU to 120MHz. The frequency can be set at any point in the code, and can be changed as many times as you like. Note that any active timers will need to be reconfigured after a freq change. Valid range is 24MHz to 168MHz (but not all freqs are supported). The code maintains a 48MHz clock for the USB at all times and it's possible to change the frequency at a USB REPL and keep the REPL alive (well, most of the time it stays, sometimes it resets the USB for some reason). Note that USB does not work with pyb.freq of 24MHz.
2014-09-25stmhal: Enable 8-byte stack alignment for IRQ handlers.Damien George
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-05-03Add license header to (almost) all files.Damien George
Blanket wide to all .c and .h files. Some files originating from ST are difficult to deal with (license wise) so it was left out of those. Also merged modpyb.h, modos.h, modstm.h and modtime.h in stmhal/.
2014-03-15stmhal: Disable redundant SystemCoreClockUpdate function.Damien George
2014-03-14stmhal - add led support. Add netduino_plus_2 supportDave Hylands
Tweaked a couple of the USB files to compile if neither dev nor host was defined. Tested on netduiono plus 2 and stm32f4discovery boards
2014-03-13Cleanup systick for stmhalDave Hylands
2014-03-12REPl working on UART6 with STMHALDave 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.