Skip to content
  1. Apr 16, 2015
  2. Apr 15, 2015
  3. Apr 12, 2015
  4. Apr 11, 2015
  5. Apr 10, 2015
  6. Apr 09, 2015
  7. Apr 08, 2015
  8. Apr 06, 2015
  9. Apr 05, 2015
  10. Apr 04, 2015
  11. Apr 03, 2015
  12. Apr 01, 2015
  13. Mar 31, 2015
  14. Mar 29, 2015
    • Gregory Nutt's avatar
    • Gregory Nutt's avatar
      The STM32F4Discovery board doesn't come with a Low speed external oscillator... · f073092f
      Gregory Nutt authored
      The STM32F4Discovery board doesn't come with a Low speed external oscillator so the default LSE source for the RTC doesn't work.
      
      In stm32_rtcc.c the up_rtcinitialize() logic doesn't work with the LSI. The check on RTC_MAGIC on the BK0R register lead to rtc_setup() call that rightfully enables the lsi clock; but the next times, when the rtc is already setup, the rtc_resume() call does NOT start the lsi clock!
      
      The right place to put LSE/LSI initialisation is inside stm32_stdclockconfig() in stm32fxxxxx_rcc.c.  Doing this I checked the possible uses of the LSI and the LSE sources: the LSI can be used for RTC and/or the IWDG, while the LSE only for the RTC (and to output the MCO1 pin)..
      
      This change is not verifed for any other platforms.
      
      From Leo Aloe3132
      f073092f
    • Gregory Nutt's avatar
      Cortex-M7: Add support for enabled the D-Cache in write only mode. · d3beea96
      Gregory Nutt authored
      SAMV7 Ethernet:  I- and D-Cache are now enabled in the netnsh/ configuration.  D-Cache is enabled in write-though mode.  This mode is necessary because the DMA descriptors are each 8-bytes in size but the D-Cache cache line is 32-bits in size. So it is impossible make coherency for every 8-byte DMA descriptor without write-through.
      d3beea96