[riot-commits] [RIOT-OS/RIOT] 2b37d3: stm32_common: add delay when turn on peripheral cl...

Hauke Petersen devel at haukepetersen.de
Fri Dec 16 21:23:15 CET 2016


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: 2b37d369a06c436af99125e81e2c86afd58f2da9
      https://github.com/RIOT-OS/RIOT/commit/2b37d369a06c436af99125e81e2c86afd58f2da9
  Author: Pieter Willemsen <pieter.willemsen at altran.com>
  Date:   2016-12-16 (Fri, 16 Dec 2016)

  Changed paths:
    M cpu/stm32_common/cpu_common.c
    M cpu/stm32_common/include/periph_cpu_common.h
    M cpu/stm32_common/periph/dac.c

  Log Message:
  -----------
  stm32_common: add delay when turn on peripheral clock

Implements workaround 1 (use __DSB()) proposed in the stm32 errata
It was possible to lose data when you configure a peripheral
right after enabling its clock


  Commit: a0835ccb1dffb4d5c299289734f5804b3a8446bd
      https://github.com/RIOT-OS/RIOT/commit/a0835ccb1dffb4d5c299289734f5804b3a8446bd
  Author: Pieter Willemsen <pieter.willemsen at altran.com>
  Date:   2016-12-16 (Fri, 16 Dec 2016)

  Changed paths:
    M boards/fox/include/periph_conf.h
    M boards/iotlab-a8-m3/include/periph_conf.h
    M boards/iotlab-common/include/periph_conf_common.h
    M boards/iotlab-m3/include/periph_conf.h
    M boards/limifrog-v1/include/periph_conf.h
    M boards/msbiot/board.c
    M boards/msbiot/include/periph_conf.h
    M boards/nucleo-f030/include/periph_conf.h
    M boards/nucleo-f070/include/periph_conf.h
    M boards/nucleo-f072/include/periph_conf.h
    M boards/nucleo-f091/include/periph_conf.h
    M boards/nucleo-f103/include/periph_conf.h
    M boards/nucleo-f207/include/periph_conf.h
    M boards/nucleo-f303/include/periph_conf.h
    M boards/nucleo-f334/include/periph_conf.h
    M boards/nucleo-f401/include/periph_conf.h
    M boards/nucleo-f446/include/periph_conf.h
    M boards/nucleo-l1/include/periph_conf.h
    M boards/spark-core/include/periph_conf.h
    M boards/stm32f0discovery/include/periph_conf.h
    M boards/stm32f3discovery/include/periph_conf.h
    M boards/stm32f4discovery/include/periph_conf.h
    M cpu/stm32f0/periph/adc.c
    M cpu/stm32f0/periph/gpio.c
    M cpu/stm32f0/periph/rtc.c
    M cpu/stm32f1/periph/adc.c
    M cpu/stm32f1/periph/gpio.c
    M cpu/stm32f1/periph/rtt.c
    M cpu/stm32f1/periph/uart.c
    M cpu/stm32f2/include/periph_cpu.h
    M cpu/stm32f2/periph/adc.c
    M cpu/stm32f2/periph/dac.c
    M cpu/stm32f2/periph/gpio.c
    M cpu/stm32f2/periph/hwrng.c
    M cpu/stm32f2/periph/rtc.c
    M cpu/stm32f2/periph/uart.c
    M cpu/stm32f3/periph/gpio.c
    M cpu/stm32f4/cpu.c
    M cpu/stm32f4/include/periph_cpu.h
    M cpu/stm32f4/periph/adc.c
    M cpu/stm32f4/periph/gpio.c
    M cpu/stm32f4/periph/hwrng.c
    M cpu/stm32l1/cpu.c
    M cpu/stm32l1/periph/gpio.c
    M cpu/stm32l1/periph/i2c.c
    M cpu/stm32l1/periph/rtc.c

  Log Message:
  -----------
  stm32: use periph_clk_en/dis functions for clock changes


  Commit: 96fb9bfbdc0aef56f52987f8d6cb608aea8a7c26
      https://github.com/RIOT-OS/RIOT/commit/96fb9bfbdc0aef56f52987f8d6cb608aea8a7c26
  Author: Hauke Petersen <devel at haukepetersen.de>
  Date:   2016-12-16 (Fri, 16 Dec 2016)

  Changed paths:
    M boards/fox/include/periph_conf.h
    M boards/iotlab-a8-m3/include/periph_conf.h
    M boards/iotlab-common/include/periph_conf_common.h
    M boards/iotlab-m3/include/periph_conf.h
    M boards/limifrog-v1/include/periph_conf.h
    M boards/msbiot/board.c
    M boards/msbiot/include/periph_conf.h
    M boards/nucleo-f030/include/periph_conf.h
    M boards/nucleo-f070/include/periph_conf.h
    M boards/nucleo-f072/include/periph_conf.h
    M boards/nucleo-f091/include/periph_conf.h
    M boards/nucleo-f103/include/periph_conf.h
    M boards/nucleo-f207/include/periph_conf.h
    M boards/nucleo-f303/include/periph_conf.h
    M boards/nucleo-f334/include/periph_conf.h
    M boards/nucleo-f401/include/periph_conf.h
    M boards/nucleo-f446/include/periph_conf.h
    M boards/nucleo-l1/include/periph_conf.h
    M boards/spark-core/include/periph_conf.h
    M boards/stm32f0discovery/include/periph_conf.h
    M boards/stm32f3discovery/include/periph_conf.h
    M boards/stm32f4discovery/include/periph_conf.h
    M cpu/stm32_common/cpu_common.c
    M cpu/stm32_common/include/periph_cpu_common.h
    M cpu/stm32_common/periph/dac.c
    M cpu/stm32f0/periph/adc.c
    M cpu/stm32f0/periph/gpio.c
    M cpu/stm32f0/periph/rtc.c
    M cpu/stm32f1/periph/adc.c
    M cpu/stm32f1/periph/gpio.c
    M cpu/stm32f1/periph/rtt.c
    M cpu/stm32f1/periph/uart.c
    M cpu/stm32f2/include/periph_cpu.h
    M cpu/stm32f2/periph/adc.c
    M cpu/stm32f2/periph/dac.c
    M cpu/stm32f2/periph/gpio.c
    M cpu/stm32f2/periph/hwrng.c
    M cpu/stm32f2/periph/rtc.c
    M cpu/stm32f2/periph/uart.c
    M cpu/stm32f3/periph/gpio.c
    M cpu/stm32f4/cpu.c
    M cpu/stm32f4/include/periph_cpu.h
    M cpu/stm32f4/periph/adc.c
    M cpu/stm32f4/periph/gpio.c
    M cpu/stm32f4/periph/hwrng.c
    M cpu/stm32l1/cpu.c
    M cpu/stm32l1/periph/gpio.c
    M cpu/stm32l1/periph/i2c.c
    M cpu/stm32l1/periph/rtc.c

  Log Message:
  -----------
  Merge pull request #5842 from OTAkeys/pr/stm32_rcc_fix

cpu/stm32(_common & f2): implement delay after RCC peripheral clock enable


Compare: https://github.com/RIOT-OS/RIOT/compare/310e1934945c...96fb9bfbdc0a


More information about the commits mailing list