aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-03-19Add support for static constructors and destructorsinit-fini-2Nicolas Schodet
2013-03-19Synchronise linker scripts which are supposed to be identicalNicolas Schodet
This also report bug fixes about data alignment and bss storage to EFM32 & LM3S targets. Note: removed chrysn copyright statement as the file is a verbatim copy of previous files.
2013-03-09This mainly moves the STM32 timers' code to the common area.Ken Sarkies
F2 and F4 have a common section to deal with the options register (TIM2 and TIM5 only) L1 has been made common with timer_common_all as its options register has very different settings to F2/F4. Code is in the L1/timer.c L1/timer.h files Note that F3 and F05 timers should fit into this scheme, with F3 having additional features. Bundled with this is L1/pwr.h to change a documentation setting Also all the Doxyfiles have added "ENABLE_PREPROCESSING = NO" to fix a problem introduced by commit 118.
2013-03-07Add test in common headers for improper inclusion of such files in application.Ken Sarkies
(prevents inclusion and also issues warning) Changes to some source files to remove references to common headers. Changes to rng.h to make guard symbols the same in f2 and f4.
2013-03-07Repair to documentation (most documented files)Ken Sarkies
to remove errors, duplications and inconsistencies. File lib/stm32/f1/pwr.c - all code removed as it duplicates that in common/pwr_common.c Remaining changes do not affect code. Compiles OK. TODO efm32 has no code so generates no modules TODO F2 needs pwr.c TODO L1 needs dma.h and dma.c
2013-03-01EXTI: Added function to get flag statusAustin Palmer
2013-03-01[stm32] Added *DECLS in stm32/common/gpio_common_all.h and stm32/l1/rcc.hlappi
2013-02-27Fixing some errors introduced with #107.Michael Aherne
Namely: - I never added rtc to the makefile, so it wasn't getting compiled - I missed 2 includes that are needed once it's actually compiling
2013-02-26Adding some useful functions for wakeup timer interruptsMichael Aherne
2013-02-26Adding f4-specific rtc functionsMichael Aherne
These should also work with the f2
2013-02-26Formatting and commentingMichael Aherne
- No changes to content - Lots of comments added - Tabs --> spaces and uniform spacing
2013-02-26Minor fixes to RTC definitionsMichael Aherne
2013-02-26[stm32] [lib] Fixed declaration of spi_clean_disable to match implementation.Piotr Esden-Tempski
2013-02-26Implement SPI clean disable from TODO commentZachary Crockett
2013-02-26[examples] [maple] Fixed all warnings in the new leaf maple examples.Piotr Esden-Tempski
2013-02-26Add a few example programs for the Leaf Maple / IteadMaple boards.Weston Schmidt
2013-02-26SPIEX: Fixed warnings in the new SPI examples.Piotr Esden-Tempski
2013-02-26[examples] added simple spi and dma based spi examples for stm32 f1 on ↵Stephen Dwyer
Lisa/M v2 board
2013-02-26Fixed all warnings for examples.Piotr Esden-Tempski
2013-02-26Fix all remaining lib warnings.Piotr Esden-Tempski
2013-02-26Fixed all warnings in stm32l1 lib.Piotr Esden-Tempski
2013-02-26Fix all warnings for stm32f4 lib.Piotr Esden-Tempski
2013-02-26Fix all warnings for stm32f2 lib.Piotr Esden-Tempski
2013-02-26Fix all warnings for stm32f1 lib.Piotr Esden-Tempski
2013-02-26Added more warning CFLAGS to all makefiles.Piotr Esden-Tempski
2013-02-26Remove duplicate declarationMichael Aherne
2013-02-26COMMON: Fix a tiny macro typo!Piotr Esden-Tempski
2013-02-26FLASH: Make sure that the flash unlock register state is cleared before ↵Piotr Esden-Tempski
trying to unlock the flash.
2013-02-26Fixed gpio_primary_remap; swjdisable is pre-shifted and therefore needs to ↵Vegard Storheil Eriksen
be u32.
2013-02-25ADC: Fix CR usage in adc_enable_discontinuous_mode_regular. Fixes #101Piotr Esden-Tempski
2013-02-25Merge pull request #100 from alex-n-/masterKarl Palsson
stm32f4 forgotten can.o in Makefile. fix sdio base adress stm32f2/stm32f4
2013-02-25fix stm32f2 sdio base adressalexn
2013-02-25fix stm32f4 sdio base adressalexn
2013-02-25CAN support STM32F4alexn
2013-02-24[cm3] add missing declaration for systick_get_reloadFelix Ruess
2013-02-19Merge remote-tracking branch 'github/deprecationmacro'Piotr Esden-Tempski
2013-02-19[cm3] fix doxygen for systick_get_value, add systick_get_reloadFelix Ruess
Fix the reload value in the examples: to get a SysTick interrupt every N clock pulses: set reload to N-1 see http://infocenter.arm.com/help/topic/com.arm.doc.dui0552a/BGBEEJHC.html#BABGACGG
2013-02-18Merge pull request #88 "Fix logical operator error in tim_ic_set_input ↵Piotr Esden-Tempski
reported by hmjack2008" Merge remote-tracking branch 'ksarkies/timer'
2013-02-18Merge pull request #92 "DMA tidyup"Piotr Esden-Tempski
Merge remote-tracking branch 'karlp/dma_tidy'
2013-02-18Adjusted code for l1 to the new api introduced by karlp in pr #84Piotr Esden-Tempski
2013-02-18Merge pull request #85 "Add notes on build prerequisites"Piotr Esden-Tempski
Merge remote-tracking branch 'karlp/pr_prereq_docs'
2013-02-18Merge pull request #84 "Pr flash reg rename"Piotr Esden-Tempski
Merge remote-tracking branch 'karlp/pr_flash-reg-rename' Conflicts: include/libopencm3/stm32/l1/flash.h
2013-02-18Merge pull request #81 "[examples f1] ADC+DAC very basic example"Piotr Esden-Tempski
Merge remote-tracking branch 'karlp/pr_f1_adc_dac'
2013-02-18Merge pull request #79 "More L1 support (and f2/f4 rtc)"Piotr Esden-Tempski
Merge remote-tracking branch 'karlp/pr_more_l1_rtc'
2013-02-18Merging pull request #78 "Remove assembly forcing stack."Piotr Esden-Tempski
Merge remote-tracking branch 'karlp/destroy-all-the-asm'
2013-02-18Merging pull request #76 "LM4F clock api"Piotr Esden-Tempski
Merge remote-tracking branch 'mrnuke/lm4f_clock_api'
2013-02-15Fixes #93 copypasta error in RCC_CSR_BORRSTF definition.Piotr Esden-Tempski
2013-02-06[stm32] Use common memorymap include for consistencyKarl Palsson
Most peripheral headers simply include <libopencm3/stm32/memorymap.h> which, like the rest of libopencm3 requires the correct compiler define flag to be set. A few peripherals were directly including the platform include, libopencm3/stm32/xx/memorymap.h, and in some of those cases it wasn't even correctly including the correct platform. (Likely the result of copy/paste errors) These direct includes have been eliminated
2013-02-06[stm32-dma] Eliminate redundant write.Karl Palsson
Clearing a single bit in DMA_CCR, then immediately writing a 0 over the entire register is completely redundant on the F1, F3 and L1 DMA peripherals. (Unlike the F2 & F4 DMA Peripheral, where this is required)
2013-02-01Fix logical operator error in tim_ic_set_input reported by hmjack2008Ken Sarkies