aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-11-08stm32f4/dma: Fix cut-and-paste errorBen Gamari
2012-11-08stm32f4/dma: Fix DMA_ISR_OFFSET definitionBen Gamari
2012-11-08stm32f4: Add dma.oBen Gamari
2012-11-07Added directories with autogenerated files to the ignore list.Piotr Esden-Tempski
2012-11-07Adjusted path to nvic.h.Piotr Esden-Tempski
2012-11-07Eliminate redundant gpio code from f2/f4/l1Karl Palsson
Implemented as per exti2
2012-11-07Update documentation to reflect realityKarl Palsson
2012-11-07Remove debug code.Karl Palsson
2012-11-07Enable nvic and exti support for L1Karl Palsson
And include an example that uses it.
2012-11-07Add L1 to nvic, now that it's all generatedKarl Palsson
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-07Ignore generated filesKarl Palsson
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-07Finish RCC definitions => Working example!Karl Palsson
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-07Use make flags to help control where the library is installedKarl Palsson
Where the library is installed has quite an affect on what -L and -I flags are used. If you install into the toolchain, you don't want to use them at all, but if you install out of tree (/opt/mycm3 for example) you need to specify the -L and -I flags. Update the documentation and the example makefiles to support this
2012-11-07Merge pull request #2 from ndreys/stagingJeff Ciesielski
Fix for USB string descriptors/USB iSerialNumber helper functions
2012-11-07Further re-factor USB string handling codeAndrey Smirnov
This commit refactors USB string code, making it, hopefully, less buggy and more easier to understand. It also removes "magic" bit manipulation and "magic" numbers;
2012-11-07Extend control hook frameworkAndrey Smirnov
This commits adds a new error code that can be return from a registered control callback: USBD_REQ_NEXT_CALLBACK. This return code signifies that the callback is done processing the data successfully, but user would like to have all matching callbacks down the callback chain to be executed too. This change allows for example to intercept standard requests like GET_DESCRIPTOR, do some small action upon receiving of one, but still have the standard callback executed and do it's job. This way user doesn't have to re-implement standard GET_DESCRIPTOR functionality if they want to intercept that request to do some small thing.
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-06Change USB strings handling codeAndrey Smirnov
This commit add an extra field to the _usbd_device, that allows to keep track of the number of USB strings which allows simplify boundaries checking code in usb_standard_get_descriptor. This commit also changes the index base for strings in usb_standard_get_descriptor which allows to get rid of necessity to have a dummy one-character string in a strings array.
2012-11-06Enable OTG clock during initializationAndrey Smirnov
Add a call to enable USB clock, otherwise the dive will not enumerate.
2012-11-02stm32/f1/rcc: expose method for selecting MCO sourceJeff Ciesielski
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-31stm32/can: add 'shift' defines for can timing bitsJeff Ciesielski
Useful whe you want to return min/max values of timing parameters
2012-10-31Merge pull request #57 F2/F4 timer merging actionPiotr Esden-Tempski
Merge remote-tracking branch 'tdaede/f4-timer'
2012-10-31Fixed header clean target find call for Darwin BSD find too.Piotr Esden-Tempski
2012-10-31Merge pull request #56 Allow make to build libs/examples in parallel.Piotr Esden-Tempski
Merge remote-tracking branch 'karlp/pr_parallel_makes'
2012-10-31Fixed stm32f4-discovery/usb_cdcacm example for deduplication patches.Piotr Esden-Tempski
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-31Fixed find call for Darwin BSD find.Piotr Esden-Tempski
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-30Allow make to build libs/examples in parallel.Karl Palsson
You cannot issue make inside a for loop if you want to let it run in parallel. Performance increases seen: 10:03 < zyp> I tested make all -j8 without your change, it takes 8.7s 10:03 < zyp> so on my cpu, your change gives >2x speedup My own cpu gives more modest speed increases, of only about 20%.
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 'efm32'chrysn
this adds support for energy micro's efm32 tiny gecko, gecko, leopard gecko and giant gecko series. also, the experimental libopencmsis is included in this branch, as it is required for full operation of the free energymicro standard library
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-28Fix CAN standard ID mask to be 11 bits.Thomas Daede
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.