aboutsummaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2012-08-20STM32F1xx: Changed markup to get more control over documentation, eachKen Sarkies
file having its own group module rather than using @file. No code changes except for the following: gpio: Added function to map the eventout signal plus two Remap functions dma: Prevent changing base addresses while channel enabled (see datasheet) pwr: Added pwr.c (new file) timer: Removed the last function that I introduced recently; there is already an equivalent function present. Changed some parameter names for consistency.
2012-08-11Merging pull request #19 "STM32F timers. Doxygen markup added, and some code ↵Piotr Esden-Tempski
changes" by Ken Sarkies. Merge remote-tracking branch 'ksarkies/timer'
2012-07-10STM32F timers. Doxygen markup added, and some code changes:Ken Sarkies
1. Remove the extra mask (TIM_DIER(timer_peripheral) & flag) in timer_get_flag. Not all flags in SR relate to IRQs and the flags that do might be useful even if interrupts not enabled. 2. In a number of functions (e.g. timer_set_output_idle_state) that only apply to advanced timers, add test for TIM1 and TIM8, as done in some others. 3. Added timer_force_event to manipulate the EG register TBD DMA burst - can't get my head around why this would be useful. Someone must have thought so!
2012-06-30Code for DAC module STM32Fxxx seriesKen Sarkies
Add prototypes to dac.h and small change to simplify alignment enum
2012-06-29Add linker scripts with memory maps for F100 series.Karl Palsson
These definitions are a physical property of the device for most purposes. No reason not to supply them premade.
2012-06-29Basic helper routines for CRCKarl Palsson
Note, the CRC block is pretty useless for interoperability. It only operates on 32bit chunks, and in a different bit order. No attempt to make full helpers for compatibility with other implementations has been done. https://my.st.com/public/STe2ecommunities/mcu/Lists/cortex_mx_stm32/Flat.aspx?RootFolder=%2Fpublic%2FSTe2ecommunities%2Fmcu%2FLists%2Fcortex_mx_stm32%2FCRC%20computation&FolderCTID=0x01200200770978C69A1141439FE559EB459D7580009C4E14902C3CDE46A77F0FFD06506F5B&currentviews=2006
2012-06-27Merge pull request #13 "Code for iwdg module STM32F series"Piotr Esden-Tempski
Merge remote-tracking branch 'ksarkies/iwdg-dev'
2012-06-27Merge pull request #11 "Add helper function for max clock on HSI for f100"Piotr Esden-Tempski
Merge remote-tracking branch 'karlp/hsi_f1_24'
2012-06-27Merge pull request #10 "Add Device Electronic Signature support."Piotr Esden-Tempski
Merge remote-tracking branch 'karlp/desig'
2012-06-27Merging pull request #7 "Use ODR instead of IDR to toggle an output GPIO"Piotr Esden-Tempski
Merge remote-tracking branch 'schodet/gpio-toggle'
2012-06-27Merge pull request #6 "Doxygen markup and grouping structrue"Piotr Esden-Tempski
Merge remote-tracking branch 'ksarkies/doc' Conflicts: include/libopencm3/cm3/common.h
2012-06-25* Updated GPIO added gpio_toggle() function.TitanMKD
* Fixed ROM to RAM Linker script (libopencm3_lpc43xx/libopencm3_lpc43xx_rom_to_ram.ld).
2012-06-16Merge branch 'master' of git://github.com/jboone/libopencm3TitanMKD
2012-06-15Modified SSP driver to wait for data to be sent before returning. This is ↵Jared Boone
critical when controlling device CS# pins via GPIO. Long-term, it might be better to have a different API that permits this level of control.
2012-06-14Fix TypoKen Sarkies
2012-06-13Code for iwdg module STM32F seriesKen Sarkies
2012-06-13Fix Linker bug copy ROM to RAM & exec from RAM (need more test).TitanMKD
2012-06-12Add helper function for max clock on HSI for f100Karl Palsson
Based on existing HSI code. Tested with f100c8, on custom board with no external crystals or resonators.
2012-06-12Add Device Electronic Signature support.Karl Palsson
Working unique id support, but not 100% convinced that this is the "least surprise" path. ST's docs provide the bits from low to high, in 2xu16 and 2xu32. But to get it back as a "u96" the highest bits should be first?
2012-06-10Added ROM to RAM code copy & exec with example of how to use it ↵TitanMKD
(miniblink_rom_to_ram).
2012-06-09Work on scs.h register and also nvic.h.TitanMKD
ARM Interrupt API (see nvic.h). ARM SysTick API (see systick.h). Example using both Interrupt and SysTick and blink LED1/2/3 see systickdemo.c.
2012-06-06changed I2C to run directly from IRCMichael Ossmann
2012-06-06Fixed SSP, tested with Oscilloscope Write work fine (tested SPI Mode).TitanMKD
For more details on tests see ssp/README.
2012-06-04resolved minor conflictMichael Ossmann
2012-06-04added i2c.c that I forgot earlierMichael Ossmann
2012-06-05* Added SSP Driver (Not Tested).TitanMKD
* Replaced leading space by tabulations.
2012-06-04moved stuff out of i2cdemo.c and into drivers/headersMichael Ossmann
2012-06-04Minor fixTitanMKD
2012-06-03Merge branch 'master' of git://github.com/libopencm3/libopencm3TitanMKD
2012-06-02Merge branch 'master' of git://github.com/libopencm3/libopencm3TitanMKD
2012-06-02Added JellyBean Configuration for PinMux, GPIO In/Out (work in progress).TitanMKD
Added scu driver file scu.c. Modified Makefile/Makefile.include to generate .map file and use -O2 as optimization. Modified hackrf-jellybean miniblink.c to enable 1V8 and blink LED1,2&3 with configuration of PinMux and GPIO.
2012-05-31Use ODR instead of IDR to toggle an output GPIONicolas Schodet
IDR represents the level on pin input while ODR is the value requested by the programmer. This makes a difference for example when using the output as open drain.
2012-05-28Header files for Doxygen group structure, layout changes to headings, ↵Ken Sarkies
example markup in stm32f1/ rcc
2012-05-27replaced linker script I accidentally deletedMichael Ossmann
2012-05-27trying to rm againMichael Ossmann
2012-05-27rm renamed fileMichael Ossmann
2012-05-26Fixed setting of interrupt priorities.Gareth McMullin
2012-05-25Mark reg32 variables as used. So that the compiler does not complain.Piotr Esden-Tempski
2012-05-22renamed linker scriptMichael Ossmann
2012-05-22semicolons might helpMichael Ossmann
2012-05-22Makefile updatesMichael Ossmann
2012-05-22updated linker scriptMichael Ossmann
2012-05-22gpio.c, vector.c updated for LPC43xxMichael Ossmann
2012-05-22new lib/lpc43xx, starting with copy of lpc17xxMichael Ossmann
2012-04-25Fixed the linker scripts to be the way Tomaz Solc proposed.Piotr Esden-Tempski
Something went wrong when cherrypicking his commits in the pull request. Sorry about that. :(
2012-04-24Removed the load address statement from the .bss section.Piotr Esden-Tempski
Otherwise the linker will complain: "section has both a load address and a load region"
2012-04-24Support for exception handling in linker scripts.Tomaz Solc
This is needed even in plain C when 64 bit variable (e.g. long long int) arithmetic is used. For example it is required when newlib is compiled with --enable-newlib-io-long-long. Conflicts: lib/stm32/f1/libopencm3_stm32f1.ld lib/stm32/f2/libopencm3_stm32f2.ld
2012-04-24Wait for writes to finish upon exiting RTC configTomaz Solc
This fixes race condition when rtc_get_counter_val() call immediately follows rtc_set_counter_val().
2012-04-20Merge remote-tracking branch 'gsmcmullin/timer_input'Piotr Esden-Tempski
2012-04-08Added functions for configuring timers in slave mode.Gareth McMullin