Skip to content
Snippets Groups Projects
  1. Aug 11, 2018
  2. Jul 04, 2018
  3. May 09, 2018
  4. May 08, 2018
  5. Nov 07, 2017
  6. Oct 30, 2017
    • Joakim Nohlgård's avatar
      cortexm_common: Correct offset for hardfault stack · 2f55fdce
      Joakim Nohlgård authored
      The required space for the hardfault handler is defined by
      HARDFAULT_HANDLER_REQUIRED_STACK_SPACE, which is given in bytes,
      this length is added to &_sram to find a lower limit on the amount of
      stack space that the hard fault handler can work with. The _sram
      variable, was mistakenly defined as a uint32_t, which makes &_sram into
      a uint32_t*, which through pointer addition, made the required space 4
      times as big as it was supposed to. By changing the type of _sram to
      uint8_t, the required stack space is correctly computed.
      
      The symptom was that the hardfault handler always reported that the
      stack pointer had been corrupted and it was impossible to get any useful
      information from the crash text.
      2f55fdce
  7. Oct 20, 2017
  8. Sep 04, 2017
  9. Jul 17, 2017
  10. Mar 17, 2017
  11. Jan 16, 2017
  12. Jul 23, 2016
  13. May 19, 2016
  14. Nov 19, 2015
  15. Aug 19, 2015
  16. May 31, 2015
  17. May 30, 2015
Loading