1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

240 Commits

Author SHA1 Message Date
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
Oleg Hahm
650d297890 stm32f1: rtt: declare functions static 2017-07-28 11:24:03 +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
smlng
692cf96297 doc: fix doxygen grouping of cpu periph drivers 2017-06-26 14:42:11 +02:00
Hauke Petersen
9e995dde81 cpu/stm32f1: remove unused cpu_clock_scale 2017-06-01 18:52:15 +02:00
7fb528ef76 cpu/stm32f1: fix build issue with iotlab-m3 (arm-none-eabi-gcc 4.9.3) 2017-05-03 15:01:09 +02:00
Hauke Petersen
c866634469 cpu/stm32f1: reworked clock initialization code 2017-04-27 11:06:48 +02:00
Joakim Nohlgård
339a4da9dc Makefiles: move to new directory /makefiles 2017-04-04 15:11:54 +02:00
Hauke Petersen
5c7ed2228d pm_layerd: fix initial value for PM_BLOCKER_INITIAL
the current value was a debugging left-over and should
actually be 0.
2017-03-28 19:32:32 +02:00
Hauke Petersen
37d4f44379 cpus: mv vendor headers to include/vendor/. 2017-03-07 08:55:15 +01:00