George Hopkins
ebd525306a
cpu/stm32_common: consider timer multiplier for PWM
2017-11-10 17:25:13 +01:00
Hauke Petersen
87200c4803
cpu/stm32: removed file guards from periph drivers
2017-11-09 16:27:24 +01:00
f697d0d859
cpu: stm32_common: rename rtt_lptim.c -> rtt.c
...
This ensures that the rtt code is made available by depending on
periph_rtt.
2017-11-06 12:01:19 +01:00
a20745b6c5
cpu: make use of Makefile.periph
2017-11-06 12:01:19 +01:00
bf6269e12b
cpu: stm32: reorganize Makefile.features
2017-11-02 12:59:45 +01:00
Hauke Petersen
5920d99752
pm: fix weak-based default implementations
...
Instead of using `weak` function definitions, this PR handles
default implementations using `PROVIDES_x` defines, allowing
for cpus/pm realted modules to use their own implementations.
2017-10-16 14:27:35 +02:00
508547d1bd
Merge pull request #7385 from OTAkeys/pr/stm32_pm
...
cpu/stm32_common: fix stm32f1/2/4 pm
2017-10-16 13:52:12 +02:00
Hauke Petersen
05e13cdef8
Merge pull request #7731 from haukepetersen/opt_stm32_cpuid
...
cpu/stm32: optimized definition of CPUID_ADDR
2017-10-13 16:12:41 +02:00
Hauke Petersen
5a35517787
cpu/stm32: optimized definition of CPUID_ADDR
2017-10-13 16:03:32 +02:00
Martine Lenders
12bf670ac4
Merge pull request #7665 from aabadie/pr/stm32/periph_dox_fix
...
cpu/stm32_common/periph: fix doxygen parent group
2017-10-13 13:10:49 +02:00
Tristan Bruns
1b21eac448
cpu/stm32_common: fix clk_conf
2017-10-11 12:39:02 +02:00
Vincent Dupont
be588c2f0e
cpu/stm32_common: use pseudomodule for UART HW FC
2017-10-10 14:09:05 +02:00
Vincent Dupont
2170f47a66
cpu/stm32_common: re-enable PLL when leaving stop
2017-10-06 17:40:47 +02:00
Hauke Petersen
b08188efd2
cpu/stm32/gpio: do not clear pin on init
2017-10-04 12:12:16 +02:00
2a1a7395f8
cpu/stm32_common/periph: fix doxygen grouping
2017-10-01 21:55:59 +02:00
Joakim Nohlgård
b720c304bb
Merge pull request #7502 from kaspar030/stmclk_remove_ifdef
...
cpu: stm32: convert preprocessor if to compiler if statement
2017-09-20 10:48:15 +02:00
6d18a51769
cpu:_stm32_common: #ifdef -> if
2017-09-19 22:46:53 +02:00
Vincent Dupont
05c731125c
cpu/stm32_common: fix extra PLL enabling
2017-09-01 10:26:04 +02:00
Vincent Dupont
38b2167f55
cpu/stm32_common: add R factors for PLLs
2017-09-01 10:26:04 +02:00
Vincent Dupont
e005554b48
cpu/stm32_common: update doc
2017-09-01 10:15:26 +02:00
Vincent Dupont
60be58ea6d
cpu/stm32_common: unify stmclk for stm32f[0|1|3] with f[2|4|7]
2017-09-01 10:14:18 +02:00
Vincent Dupont
c11544279a
cpu/stm32_common: adapt clk_conf for f0, f1 and f3
2017-09-01 10:14:08 +02:00
Vincent Dupont
33e8a419be
cpu/stm32_common: add clock config documentation
2017-08-28 17:51:00 +02:00
Vincent Dupont
d2a4acecd9
cpu/stm32_common: unify stmclk for stm32f[2|4|7] and adapt to use clk_conf
2017-08-28 17:51:00 +02:00
Vincent Dupont
400158537f
cpu/stm32_common: add a tool to generate clock settings
2017-08-28 17:51:00 +02:00
Martine Lenders
952682b32c
Merge pull request #7508 from aabadie/cpu_samd21_doc
...
cpu: fix missing doxygen group definitions + cleanup
2017-08-24 16:37:02 +02:00
Hauke Petersen
8b150624ed
cpu/stm32: reworked the RTC driver implementation
2017-08-24 15:32:27 +02:00
d2938a3a34
cpu/stm32_common: add missing doxygen group definition
2017-08-24 14:54:47 +02:00
Hauke Petersen
265173806e
cpu/stm32: added model specific LSI clock speeds
2017-08-23 15:39:16 +02:00
Hauke Petersen
82485cf7c6
cpu/stm32: fixed lfclk functions for L0 and L1
2017-08-23 15:39:16 +02:00
Hauke Petersen
5422f0da72
stm32: unified parts of stmclk implementations
...
- unified dbp, hsi, and lfclk functions
- all of them now work for all STM32 CPUs
- renamed from bdp to dbp as this is the expression used
in the reference manuals (old naming was a typo...)
2017-08-21 17:40:22 +02:00
Hauke Petersen
768459d6c1
Merge pull request #7420 from MichelRottleuthner/rtc_stm32l4
...
periph/rtc: add support for stm32l4
2017-08-21 10:10:26 +02:00
Vincent Dupont
e2099ebc66
Merge pull request #7454 from MichelRottleuthner/stm32_rtc_sync_fix
...
stm32_common/periph/rtc: fix wrong read order of rtc regs
2017-08-07 17:34:20 +02:00
MichelRottleuthner
0a9383228e
stm32_common/periph/rtc: fix wrong read order of rtc regs, add wait for calender sync to rtc_set_time
2017-08-07 16:35:56 +02:00
Francisco Acosta
f2efd88f98
Merge pull request #7129 from haukepetersen/opt_periph_sharetimerset
...
cpu: add and use shared code for timer_set()
2017-08-01 15:09:48 +02:00
MichelRottleuthner
87c1c96a13
stm32_common/periph/rtc: fix RTSR_TR17 reg name
2017-07-31 13:43:45 +02:00
MichelRottleuthner
ffd4d9280e
stm32_common/periph/rtc: add support for stm32l4
2017-07-26 21:52:35 +02:00
smlng
01af6d94c4
cpu, periph: retain constness in spi_transfer_bytes
2017-06-29 15:47:13 +02:00
Hauke Petersen
73ede74cd8
cpu/stm32: unified and cleaned up DAC driver
...
- removed neccessity to define empty `DAC_NUMOF 0` for each STM
base board
- adapted all board configs to this
- joined stm32f2 to use common DAC driver
- improved code of DAC driver
2017-06-29 13:03:12 +02:00
Hauke Petersen
a2bc258af0
drivers/dac: clarified doc and named return values
...
- added more comprehensive doc to dac_init and dac_set
- named return values for dac_init
- use named return values in existing implementations
2017-06-27 12:52:12 +02:00
smlng
692cf96297
doc: fix doxygen grouping of cpu periph drivers
2017-06-26 14:42:11 +02:00
joris
6a5da1c1f7
cpu/stm32-common: add RTC support to stm32l0
...
Signed-off-by: joris <laborde.joris@gmail.com>
2017-06-02 20:03:09 +02:00
Hauke Petersen
a1499f4190
cpu: add and use shared code for timer_set()
2017-06-02 12:21:56 +02:00
dce3015e0c
Merge pull request #7051 from OTAkeys/pr/stm32f7discovery
...
boards: add stm32f769 discovery
2017-05-17 19:24:03 +02:00
Vincent Dupont
460608cc7a
cpu/stm32_common: add support of stm32f7 to RTC driver
2017-05-17 15:32:42 +02:00
8501a03cbc
cleanup: apply enable_debug_false.cocci to codebase (coccinelle)
...
Skipped sys/cbor/cbor.c, examples/microcoap_server/microcoap_sock.c,
as they use different semantics.
2017-05-15 18:45:43 +02:00
8f239e4c61
Merge pull request #6812 from haukepetersen/fix_cortexm_usecommonsleep
...
cpu/sam0|stm32: use common cortexm_sleep()
2017-05-11 14:44:05 +02:00
Hauke Petersen
7079d481c7
cpu/stm32: added support for STM32F7
2017-05-08 09:16:12 +02:00
Hauke Petersen
4b9935b4f2
cpu/stm32_common: added common clk interface
2017-04-26 12:50:43 +02:00
Hauke Petersen
56c3d3e5bf
cpu/stm32_common: added LPTIM1 based rtt impl.
2017-04-06 09:57:30 +02:00