Marian Buschsieweke
e326acfc78
cpu/{stm32r1,stm32_common}: Allow exposing JTAG pins as GPIOs
...
- cpu/stm32f1: Removed previous code in gpio_init() to provide PB4 on the
Nucleo-F103RB only
- cpu/stm32_common: Introduced STM32F1_DISABLE_JTAG which, if defined in
board.h, exposes the JTAG only pins as GPIOs. This keeps the SWD pins, so that
SWD debugging remains possible
2020-03-08 13:05:35 +01:00
Benjamin Valentin
33d03e7b3f
cpu/stm32f1: make RTC Y2038 safe
...
Use rtc_* functions with custom EPOCH.
This buys us about 118 years.
2020-02-29 17:45:16 +01:00
d7c0102115
cpu/cortexm: move CPU_ARCH/FAM to Makefile.features
2020-02-17 16:02:48 +01:00
a32c1074ad
cpu/stm32: move all dependencies to Makefile.dep
2020-01-28 13:18:39 +01:00
Marian Buschsieweke
05d1ce6b58
cpu/stm32f1/periph: adc_sample() now returns int32_t
2020-01-10 14:13:15 +01:00
Hoernchen20
3b966cc260
cpu/stm32f1: improve rtc irq
2020-01-04 19:59:14 +01:00
Alexei Bezborodov
88c429af5b
cpu/stm32f1: FEATURES_PROVIDED += periph_rtc
2019-12-06 12:48:04 +03:00
Alexei Bezborodov
239fc2b791
cpu: RTC implementation for STM32F1
...
Works get_time, set_time, alarm and wakeup after set power mode STM32_PM_STOP
2019-12-06 12:47:22 +03:00
Francois Berder
4a31f94cfc
many typo fixes
...
Signed-off-by: Francois Berder <18538310+francois-berder@users.noreply.github.com>
2019-11-23 22:39:07 +01:00
Francisco Molina
347a0fc804
cpu/ boards/: remove exports for CPU_FAM
2019-10-18 08:55:33 +02:00
Francisco Molina
5e9b92a326
cpu: remove CPU_ARCH exports
2019-10-18 08:55:33 +02:00
db9b341a36
cpu/stm32f1-l0: remove redundant PM_BLOCKER_INITIAL define
2019-04-12 11:10:48 +02:00
Michel Rottleuthner
4b9866b289
cpu/stm32f103: add workaround to make gpio B4 usable as output pin
...
->> by default the pin B4 is used as SWJRST. This remaps the pin when it is initialized with gpio_init.
currently its only enabled for stm32f104rb
2019-03-26 21:43:35 +01:00
2e0a818502
cpu/stm32: all stm32 families now provide pm support
2019-03-21 19:39:16 +01:00
Vincent Dupont
1cea9871e0
cpu/stm32f1: remove ErrorStatus enum from vendor header
...
This enum conflicts with macro definitions from ccn-lite pkg.
2018-12-21 09:17:30 +01:00
Vincent Dupont
8cdc219e50
cpu/stm32f1: make use of CPU_LINE_
2018-12-21 09:17:30 +01:00
Vincent Dupont
d133baca2c
cpu/stm32f1: use STM32_FLASHSIZE to generate FLASHPAGE_NUMOF
2018-12-21 09:17:30 +01:00
Peter Kietzmann
b2c791c6cb
Merge pull request #10135 from miri64/cpu/enh/periph-gpio-irq-closing-endif
...
cpu, periph_gpio: mark closing #endif for MODULE_PERIPH_GPIO_IRQ
2018-10-15 13:41:02 +02:00
cladmi
e0a5860bb7
cpu/stm32_common: remove inadapted periph_flash_common
...
The `periph_flash_common` feature was only defined here to trigger
inclusion of a source file with common functions.
It even only defines private symbols `_lock` and `_unlock` so no reason
to expose it to the build system.
And in practice, all stm cpus providing `periph_flashpage` or
`periph_eeprom` were required to provide `periph_flash_common` to allow
including it.
The previous implementation was only parsing in the modules were in
`FEATURES_REQUIRED` wich did not take cases of `FEATURES_OPTIONAL` into
account.
And also, in the same time, as the dependencies was declared in
`Makefile.include` it was processed before `Makefile.dep` so never handled
cases where a module could depend on `periph_flashpage` or
`periph_eeprom` feature.
It is replaced by selecting the common source file when module using it
are included.
The now useless feature `periph_flash_common` is removed from
`FEATURES_PROVIDED`.
2018-10-11 15:20:44 +02:00
Martine Lenders
7994f35c7a
stm32f1: mark closing #endif for MODULE_PERIPH_GPIO_IRQ
2018-10-09 15:11:01 +02:00
Hauke Petersen
25e901ef73
cpu/stm32f1/gpio: use gpio_irq feature
2018-09-21 08:20:04 +02:00
06e11c5586
cpu/stm32_common: adapt i2c driver to stm32f1
2018-07-25 12:01:37 +02:00
331ad0970d
cpu/stm32{f,l}{0,1}: provide flash common feature
2018-05-24 14:07:55 +02:00
06392bbfd3
cpu/stm32f1: add flashpage_raw support
2018-03-13 16:30:04 +01:00
58e172e4df
cpu/stm32_common: always enable PWR module
2018-03-06 14:55:32 +01:00
3b42fb49b5
cpu/stm32: unify cpu_init()
2018-03-05 12:35:00 +01:00
Tristan Bruns
d4de629c34
stm32f1: fix gpio mode GPIO_IN_PU
2018-01-12 16:11:58 +01:00
Daniel Frejek
2925ef9ab5
cpu/stm32f1: fixed flash page sizes
2018-01-09 22:06:27 +01:00
George Hopkins
e3d42681b7
cpu/stm32f1: add support for STM32F103ZE
2017-12-01 21:20:56 +01:00
kYc0o
ab60f9dc47
cpu/stm32*/ldscripts: remove all stm32 family linker scripts
2017-11-30 14:11:07 +01:00
Hauke Petersen
87200c4803
cpu/stm32: removed file guards from periph drivers
2017-11-09 16:27:24 +01:00
3ec8126c84
cpu: cortexm: provide periph_pm for all cortexm
2017-11-06 12:01:19 +01:00
a20745b6c5
cpu: make use of Makefile.periph
2017-11-06 12:01:19 +01:00
Cenk Gündoğan
1ea1fe9060
Merge pull request #7928 from smlng/board/bluepill/dfu
...
bluepill: dfu-util support
2017-11-03 13:22:40 +01:00
bf6269e12b
cpu: stm32: reorganize Makefile.features
2017-11-02 12:59:45 +01:00
smlng
f0ef22232b
bluepill: dfu-util support
2017-11-01 23:32:31 +01:00
Sebastian Meiling
2e0917cd81
Merge pull request #7727 from beduino-project/bluepill-rebased
...
boards: add support for bluepill board
2017-10-27 20:33:07 +02:00
Sören Tempel
9b3714b0c4
add support for bluepill board
2017-10-27 16:06:50 +02:00
416ac62fbf
pm: unify and set safe default pm_blocker
2017-10-16 14:32:27 +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
Sebastian Meiling
ca154a70d9
Merge pull request #7680 from haukepetersen/opt_stm32f1_isrvectors
...
cpu/stm32f1: optimized isr vector definitions
2017-10-13 20:36:25 +02:00
Hauke Petersen
5a35517787
cpu/stm32: optimized definition of CPUID_ADDR
2017-10-13 16:03:32 +02:00
Vincent Dupont
2170f47a66
cpu/stm32_common: re-enable PLL when leaving stop
2017-10-06 17:40:47 +02:00
Hauke Petersen
e589b403b2
cpu/stm32f1: optimized isr vector definitions
2017-10-06 16:40:11 +02:00
Hauke Petersen
b08188efd2
cpu/stm32/gpio: do not clear pin on init
2017-10-04 12:12:16 +02:00
Hauke Petersen
3ede8e9d95
cpu: force size of CPU specific vector table
2017-09-04 15:13:43 +02:00
Hauke Petersen
1a20ef8223
cpu: unified cortex-m base interrupt vector
2017-09-04 15:13:32 +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
cde93ffc39
cpu/stm32f1: cleanup interrupt vectors definitions
2017-08-23 22:20:25 +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