Alan Braithwaite
67903bfbfe
API change to remove dual loading default case for dac_load_data_buffer_single
Also change dac_data from u32 to u16
12 years ago
Ken Sarkies
84fe022609
Add usb to main index
12 years ago
Ken Sarkies
1374d2622b
Place generic USB header and source files into the documentation tree.
12 years ago
Alan Braithwaite
2288e35739
Fixed bug with dac_load_data_buffer_dual with register offsets
12 years ago
molnarkares
93007d20d9
Fixes:
CAN RX: ID conversion was incorrect
12 years ago
molnarkares
162522b3b2
can speed optimizations
12 years ago
molnarkares
9585e59df1
CAN2 on STM32F1 is slave and its filter banks are configured thru CAN1 FMR
12 years ago
molnarkares
867b57a1d2
can.c >> bug fixed in receive
12 years ago
Andrey Smirnov
6cb7d8abf3
Add a "noreturn" attribute to 'scb_reset_system'
Adding this attribute allows to avoid warnings issued by GCC in cases
when 'scb_reset_system' is used as a last call in a function with
"noreturn" attribute set(usually reset handler of some sorts)
12 years ago
Andrey Smirnov
e944876b63
Add a exception handling helper code
This commit add a structure definition that represents the stack frame
layout as it is upon entering exception handler. This is useful when
one wants to alter the exception return address, or get information
about registers state saved by the CPU.
12 years ago
John Howe
dd906c0656
Updated links to ST programming manuals
12 years ago
Ken Sarkies
1627cd60c3
Documentation structures added to place the non-STM32 families into the documentation tree.
Actual documentation has not been added. Volunteers?
12 years ago
Karl Palsson
69902568d1
[stm32-l1] Turn on the DMA code.
It appears to be the same dma peripheral as in the F1 and F3, so just
enable it as is.
12 years ago
Karl Palsson
4636eb134c
[stm32l1] Update linker scripts
Add the M+ and H density parts, and include the EEPROM sizes
12 years ago
Mikhail
4907e161e2
Added Windows installation information into README
12 years ago
Ken Sarkies
5b8953124e
This mainly moves the STM32 timers' code to the common area.
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.
12 years ago
Ken Sarkies
a9a85f080b
Add test in common headers for improper inclusion of such files in application.
(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.
12 years ago
Ken Sarkies
e2022f5884
Repair to documentation (most documented files)
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
12 years ago
Austin Palmer
31aa3b6f5a
EXTI: Added function to get flag status
12 years ago
lappi
af8c5a85d6
[stm32] Added *DECLS in stm32/common/gpio_common_all.h and stm32/l1/rcc.h
12 years ago
Michael Aherne
93f2b1ad5b
Fixing some errors introduced with #107 .
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
12 years ago
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