aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2013-01-29Fixing gpio_set_af now really...Piotr Esden-Tempski
2013-01-29Fix gpio_set_af register usage.Piotr Esden-Tempski
2013-01-29Added IRQ USART example for the f4 discovery board.Piotr Esden-Tempski
2013-01-23Add notes on build prerequisitesKarl Palsson
2013-01-23[flash] f4: use "proper" bit definition naming.Karl Palsson
Part 4 of 4: updated f4 to use flash_<reg>_bit instead of just flash_bit
2013-01-23[flash] f2: use "proper" bit definition naming.Karl Palsson
Part 3 of 4: updated f2 to use flash_<reg>_bit instead of just flash_bit
2013-01-23[flash] f1: use "proper" bit definition naming.Karl Palsson
Part 2 of 4: updated f1 to use flash_<reg>_bit instead of just flash_bit
2013-01-23[flash] l1: use "proper" bit definition naming.Karl Palsson
Part 1 of 4: updated l1 to use flash_<reg>_bit instead of just flash_bit
2013-01-23Add examples making use of the RTCKarl Palsson
Add an example using the RTC to help with a lower power design. This is a sister example to the existing "button-irq-printf", which is functionally identical, but uses far less power. There's more tricks that can be done to lower the power even further, but this shows a few of the early steps that can be done, using the RTC wakeup instead of a timer.
2013-01-22[stm32] Support the "new" BCD style RTC peripheralKarl Palsson
Add the register definitions and some of the most basic helper functions for the new style BCD RTC module found on the F2, F4, L1, F3 and F0. This tries to keep as close to HACKING_COMMON_DOC as possible, while maintaining sane names.
2013-01-22[l1] rcc: support MSI clockingKarl Palsson
Some new definitions and helpers. Main change really that the list of preconfigured clock configs is no longer restricted to HSI/PLL
2013-01-22[l1] Update to newest ref man definitionsKarl Palsson
Support for the Medium+ and High density parts, mostly by way of extra irqs and register definitions.
2013-01-22[l1] PWR: fix style for common codeKarl Palsson
Code added for L1 to support the PWR Control block didn't properly follow the HACKING_COMMON_DOC guidelines. The naming was wrong, and some headers were missing. This commit has no functional changes, it only addresses the style and structure problems.
2013-01-22[l1] fix whitespace and missing license infoKarl Palsson
Earlier additions to the L1 support were not correctly using linux coding guidelines as specified in /HACKING. Some examples were also missing license information.
2013-01-22[examples f1] ADC+DAC very basic exampleKarl Palsson
Just shows some basic working examples of using the DAC with the ADC. No special features, but very little hardware required to demonstrate.
2013-01-16Remove assembly forcing stack.Karl Palsson
Fixes #51 There should be no reason for manually trying to load the stack. Cortex devices can be programmed with only C, and any code that needed this would indicate broken vectors.
2013-01-10efm32gg990f1024: added linker scriptchrysn
2013-01-10platform-independent makefile: fix old "stm32" referencechrysn
the "make clean" target showed a constant "stm32/f1" debug message instead of the current relative directory. this is fixed by showing the relevant portion of the current directory instead, relevant being determined by evaluating the current makefile's relative position and stripping that part off.
2013-01-09Merging pull request #72 DocPiotr Esden-Tempski
Merge remote-tracking branch 'ksarkies/doc' Conflicts: doc/stm32f1/Doxyfile doc/stm32f2/Doxyfile doc/stm32f4/Doxyfile lib/stm32/f1/Makefile lib/stm32/f2/Makefile lib/stm32/f4/Makefile
2013-01-09Removed dummy character string from examples due to api change in: 7a5da60Piotr Esden-Tempski
2013-01-09lm4f: Update miniblink example to demonstrate clock APIAlexandru Gagniuc
Flashes the Red, Green and Blue diodes on the board, in order. The system clock starts at 80MHz. Pressing SW2 toggles the system clock between 80MHz, 57MHz, 40MHz ,20MHz, and 16MHz by changing the PLL divisor. Pressing SW1 bypasses the PLL completely, and runs off the raw 16MHz clock provided by the external crystal oscillator. The LEDs will toggle at different speeds, depending on the system clock. The system clock changes are handled within the interrupt service routine. Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>