aboutsummaryrefslogtreecommitdiff
path: root/lib/stm32
AgeCommit message (Collapse)Author
2013-01-08Move DAC to common areaKen Sarkies
(Note there are now dummy source files dac.c (and others) that are not compiled but are needed for documentation).
2013-01-08STM32: Moved SPI code into the common area.Ken Sarkies
Updated the documentation so that it appears in all families Also added it to the L1 area, but is untested. An addition to the memorymap allows commonality and a #ifdef added to the spi_common_all code to exclude the case of SPI3 for L1 and F0 as SPI3 doesn't exist in those. An rcc dispatch header was added to remove same code from the spi header.
2013-01-06Merging pull request #67 L1 support: flash, power basics, timersPiotr Esden-Tempski
Merge remote-tracking branch 'karlp/pr_l1_flash-rcc-pwr-timers'
2013-01-06Merging pull request #64 Various changesPiotr Esden-Tempski
Merge remote-tracking branch 'bgamari/master'
2013-01-06Merging pull request #63 Improvements to STM32F1 I2C, CAN, RCC, and USB (f107)Piotr Esden-Tempski
Merge remote-tracking branch 'icd/master'
2012-11-14stm32/f4/adc: DMA can always be used with ADC2Ben Gamari
I can't find any evidence in the manual to support this comment's claim.
2012-11-14[l1] Add common timer code support.Karl Palsson
This has only been tested functionally with basic timers, and basic operations. Advanced timer support has been #ifdefed to compile, but this probably needs more testing.
2012-11-14[l1] Add rcc clock setup helper routinesKarl Palsson
Despite the L1 being a low power device, my initial focus is on making it basically compatible with existing devices. To that end, provide clock setup helper routines that configure it for maximum performance, allowing some similar clock speeds to F1 devices to help with testing. This requires adding the power chipset routines to set the voltage range. Clock setup style is similar to the F4 code, which seems nicer than the overflow of different routines used on the F1 code. NOTE: Both the F4 existing pwr code, and this code don't actually include the f1 core power code, even though it should be compatible
2012-11-14[l1] Add Flash Memory Controller Register defns for L1.Karl Palsson
Also, some of the most basic essential helper functions.
2012-11-13Merge branch 'master' of git://github.com/libopencm3/libopencm3 into ↵Jeff Ciesielski
upstream-merge
2012-11-13Change to make L1 series fit with common filesKen Sarkies
2012-11-13Adjustments to fix documentationKen Sarkies
2012-11-13rebase and fixKen Sarkies
2012-11-13Proposed deduplication of peripherals, GPIO exampleKen Sarkies
See rambling post on dev list for justification
2012-11-12[doc] Added preliminary STM32 CAN documentation.Piotr Esden-Tempski
2012-11-12[doc] Cosmetic.Piotr Esden-Tempski
2012-11-12Merge pull request #62 "Documentation updates for new devices"Piotr Esden-Tempski
Merge remote-tracking branch 'ksarkies/doc'
2012-11-12Documentation updatesKen Sarkies
2012-11-08Merging pull request #60 Miscellaneous DMA fixes for F4Piotr Esden-Tempski
Merge remote-tracking branch 'bgamari/master'
2012-11-08stm32/usart: Add enable_/disable_error_interruptBen Gamari
2012-11-08stm32f4/dma: Fix cut-and-paste errorBen Gamari
2012-11-08stm32f4: Add dma.oBen Gamari
2012-11-07Eliminate redundant gpio code from f2/f4/l1Karl Palsson
Implemented as per exti2
2012-11-07Enable nvic and exti support for L1Karl Palsson
And include an example that uses it.
2012-11-07Add usart support for L1.Karl Palsson
Only tested with basic tx blocking, ie, the same example code as on F2/F4, but the description of the block is almost identical.
2012-11-07STM32L1 support, rebased onto upstream generalizations branch.Karl Palsson
Working example again.
2012-11-07Add most of the rcc functions.Karl Palsson
(Add the forgotten gpio.c file from before)
2012-11-07More progress towards L1 support.Karl Palsson
Believe gpio is complete, but untested without finishing at least the RCC defines. RCC defines are a work in progress
2012-11-07Vectors and Memory Map for STM32L1 seriesKarl Palsson
2012-11-06Add a desig_get_unique_id_as_stringAndrey Smirnov
This commit adds desig_get_unique_id_as_string which is useful if one wants to use device ID as USB serial number(iSerialNumber), for example.
2012-11-01stm32/f1/can: Add clearing of can timing bits on initJeff Ciesielski
This corrects a bug introduced with the addition of allowing loopback and silent parameters in the init function.
2012-10-31stm32/f1/can: clean up can_available_mailbox ->fewer 'if' statementsJeff Ciesielski
2012-10-31Merge pull request #57 F2/F4 timer merging actionPiotr Esden-Tempski
Merge remote-tracking branch 'tdaede/f4-timer'
2012-10-31Added new f4 adc module to the library makefile.Piotr Esden-Tempski
2012-10-31Merge pull request #55 STM32F4: New adc modulePiotr Esden-Tempski
Merge remote-tracking branch 'ksarkies/adc-f4'
2012-10-31Merge pull request #53 CAN fixesPiotr Esden-Tempski
Merge remote-tracking branch 'tdaede/master'
2012-10-31STM32F4 New: headers and source code for DMAKen Sarkies
This has been tested with some dac, timer and (as yet uncommitted) adc examples.
2012-10-31STM32F1 Addition to DMA to add interrupt flag read and clear.Ken Sarkies
Additional macros and defines added to header for the purpose. Also disable of increment modes (seem to have been omitted originally).
2012-10-31Merge pull request #22 fixing usb and f4 alignment issuesPiotr Esden-Tempski
Merge remote-tracking branch 'jdk/master' Conflicts: lib/stm32/f1/Makefile lib/stm32/f4/Makefile
2012-10-31F2 timers are the same as F4 timers, so make the same changes to themThomas Daede
2012-10-31Add back timer_set_option for STM32F4, and document.Thomas Daede
2012-10-31Update comments and copy author from F4 version.Thomas Daede
2012-10-30Move timer.c to be common to all stm32 seriesThomas Daede
2012-10-30STM32F4: New adc moduleKen Sarkies
Note adc.h was provided by Matthew Lai but was never merged. adc.c is new.
2012-10-29Merge branch 'generalizations'chrysn
this merges common c and header files of different architectures, adds a dispatch mechanism and yaml descriptions of interrupt handlers from which the whole interrupt table setup c code is generated.
2012-10-28Release the correct fifo in can_receive()Thomas Daede
2012-10-28Add CAN support for F2 and F4 series.Thomas Daede
All stm32 series currently released share the same bxCAN hardware, so share can.c among all the families.
2012-10-22stm32/i2c: Add DOXYGEN strings for i2c helper functions.Jeff Ciesielski
Also: Define i2c_dutycycle group in i2c header
2012-10-22Missing EXTI ports and flag numbers for F4Karl Palsson
(Also missing for forthcoming L1)
2012-10-22stm32/f1: Add user_reset_hook to reset_handler w/ jump_to_dfu presetJeff Ciesielski
This allows for pragramatic jumping to the DFU bootloader on CL devices, or could be used for things like CRC checking of the firmware before boot