Michael Aherne
dd75633245
Adding some useful functions for wakeup timer interrupts
12 years ago
Michael Aherne
a121769785
Adding f4-specific rtc functions
These should also work with the f2
12 years ago
Michael Aherne
8c8b6440e7
Formatting and commenting
- No changes to content
- Lots of comments added
- Tabs --> spaces and uniform spacing
12 years ago
Michael Aherne
8498b54c66
Minor fixes to RTC definitions
12 years ago
Piotr Esden-Tempski
5b596c72d6
[stm32] [lib] Fixed declaration of spi_clean_disable to match implementation.
12 years ago
Zachary Crockett
9d24a480ae
Implement SPI clean disable from TODO comment
12 years ago
Piotr Esden-Tempski
8a0b8fa9d8
[examples] [maple] Fixed all warnings in the new leaf maple examples.
12 years ago
Weston Schmidt
6ce2c6e13d
Add a few example programs for the Leaf Maple / IteadMaple boards.
12 years ago
Piotr Esden-Tempski
b3d895bc64
SPIEX: Fixed warnings in the new SPI examples.
12 years ago
Stephen Dwyer
cf87aeb714
[examples] added simple spi and dma based spi examples for stm32 f1 on Lisa/M v2 board
12 years ago
Piotr Esden-Tempski
3d3ddc7014
Fixed all warnings for examples.
12 years ago
Piotr Esden-Tempski
9c552e7585
Fix all remaining lib warnings.
12 years ago
Piotr Esden-Tempski
ea67d6a36a
Fixed all warnings in stm32l1 lib.
12 years ago
Piotr Esden-Tempski
1a025b5379
Fix all warnings for stm32f4 lib.
12 years ago
Piotr Esden-Tempski
7cd9b43529
Fix all warnings for stm32f2 lib.
12 years ago
Piotr Esden-Tempski
80fd23580a
Fix all warnings for stm32f1 lib.
12 years ago
Piotr Esden-Tempski
b0233ae6fb
Added more warning CFLAGS to all makefiles.
12 years ago
Michael Aherne
c51e01e0fe
Remove duplicate declaration
12 years ago
Piotr Esden-Tempski
e56f4194a6
COMMON: Fix a tiny macro typo!
12 years ago
Piotr Esden-Tempski
5e7ec39440
FLASH: Make sure that the flash unlock register state is cleared before trying to unlock the flash.
12 years ago
Vegard Storheil Eriksen
bc853e7ebd
Fixed gpio_primary_remap; swjdisable is pre-shifted and therefore needs to be u32.
12 years ago
Piotr Esden-Tempski
1e1859e8c7
ADC: Fix CR usage in adc_enable_discontinuous_mode_regular. Fixes #101
12 years ago
Karl Palsson
e62f0e10f3
Merge pull request #100 from alex-n-/master
stm32f4 forgotten can.o in Makefile. fix sdio base adress stm32f2/stm32f4
12 years ago
alexn
0dbcf69d41
fix stm32f2 sdio base adress
12 years ago
alexn
3e587dce68
fix stm32f4 sdio base adress
12 years ago
alexn
aa54eae5be
CAN support STM32F4
12 years ago
Felix Ruess
9e24b33d90
[cm3] add missing declaration for systick_get_reload
12 years ago
Piotr Esden-Tempski
3277c58550
Merge remote-tracking branch 'github/deprecationmacro'
12 years ago
Felix Ruess
3ef44bff54
[cm3] fix doxygen for systick_get_value, add systick_get_reload
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
12 years ago
Piotr Esden-Tempski
46263e90b4
Merge pull request #88 "Fix logical operator error in tim_ic_set_input reported by hmjack2008"
Merge remote-tracking branch 'ksarkies/timer'
12 years ago
Piotr Esden-Tempski
b4634ba8ff
Merge pull request #92 "DMA tidyup"
Merge remote-tracking branch 'karlp/dma_tidy'
12 years ago
Piotr Esden-Tempski
b13e55da8c
Adjusted code for l1 to the new api introduced by karlp in pr #84
12 years ago
Piotr Esden-Tempski
3c110fec8e
Merge pull request #85 "Add notes on build prerequisites"
Merge remote-tracking branch 'karlp/pr_prereq_docs'
12 years ago
Piotr Esden-Tempski
6eef01ce26
Merge pull request #84 "Pr flash reg rename"
Merge remote-tracking branch 'karlp/pr_flash-reg-rename'
Conflicts:
include/libopencm3/stm32/l1/flash.h
12 years ago
Piotr Esden-Tempski
f980f197ca
Merge pull request #81 "[examples f1] ADC+DAC very basic example"
Merge remote-tracking branch 'karlp/pr_f1_adc_dac'
12 years ago
Piotr Esden-Tempski
9095f58fa3
Merge pull request #79 "More L1 support (and f2/f4 rtc)"
Merge remote-tracking branch 'karlp/pr_more_l1_rtc'
12 years ago
Piotr Esden-Tempski
b903ae75d8
Merging pull request #78 "Remove assembly forcing stack."
Merge remote-tracking branch 'karlp/destroy-all-the-asm'
12 years ago
Piotr Esden-Tempski
daf4cc0feb
Merging pull request #76 "LM4F clock api"
Merge remote-tracking branch 'mrnuke/lm4f_clock_api'
12 years ago
Piotr Esden-Tempski
9193d3d273
Fixes #93 copypasta error in RCC_CSR_BORRSTF definition.
12 years ago
Karl Palsson
7afc13930f
[stm32] Use common memorymap include for consistency
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
12 years ago
Karl Palsson
e4c0a50286
[stm32-dma] Eliminate redundant write.
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)
12 years ago
Ken Sarkies
e20ef7a416
Fix logical operator error in tim_ic_set_input reported by hmjack2008
12 years ago
Piotr Esden-Tempski
c9276b7aa2
Fixing gpio_set_af now really...
12 years ago
Piotr Esden-Tempski
ae55194d4a
Fix gpio_set_af register usage.
12 years ago
Piotr Esden-Tempski
8b062bb659
Added IRQ USART example for the f4 discovery board.
12 years ago
Karl Palsson
b2722a010b
Add notes on build prerequisites
12 years ago
Karl Palsson
40d9d630f0
[flash] f4: use "proper" bit definition naming.
Part 4 of 4: updated f4 to use flash_<reg>_bit instead of just
flash_bit
12 years ago
Karl Palsson
316b068cb4
[flash] f2: use "proper" bit definition naming.
Part 3 of 4: updated f2 to use flash_<reg>_bit instead of just
flash_bit
12 years ago
Karl Palsson
1eb4e6ed29
[flash] f1: use "proper" bit definition naming.
Part 2 of 4: updated f1 to use flash_<reg>_bit instead of just
flash_bit
12 years ago
Karl Palsson
c0ea749452
[flash] l1: use "proper" bit definition naming.
Part 1 of 4: updated l1 to use flash_<reg>_bit instead of just flash_bit
12 years ago