[riot-commits] [RIOT-OS/RIOT] b9744f: cortexm_common: don't try to set MEMFAULTENA on AR...

Joakim Nohlgård joakim.nohlgard at eistec.se
Tue Mar 13 21:06:24 CET 2018


  Branch: refs/heads/master
  Home:   https://github.com/RIOT-OS/RIOT
  Commit: b9744f698fb590b4c773d4821b1bfa4afad43d63
      https://github.com/RIOT-OS/RIOT/commit/b9744f698fb590b4c773d4821b1bfa4afad43d63
  Author: Girts Folkmanis <girtsf at users.noreply.github.com>
  Date:   2018-03-12 (Mon, 12 Mar 2018)

  Changed paths:
    M cpu/cortexm_common/mpu.c

  Log Message:
  -----------
  cortexm_common: don't try to set MEMFAULTENA on ARMv6-M

Before this change, if one tried to build a Cortex-M0+ target that had
an MPU, compilation would fail due to missing
'SCB_SHCSR_MEMFAULTENA_Msk' in SCB structure. Cortex-M0+ is a ARMv6-M
arch (unlike most other targets that have MPU support). ARMv6-M has more
limited support for fault conditions, see ARMv6-M Architecture Reference
Manual, D3.6.2.


  Commit: 078104223a35722deb4953c73bc1141294378744
      https://github.com/RIOT-OS/RIOT/commit/078104223a35722deb4953c73bc1141294378744
  Author: Joakim Nohlgård <joakim.nohlgard at eistec.se>
  Date:   2018-03-13 (Tue, 13 Mar 2018)

  Changed paths:
    M cpu/cortexm_common/mpu.c

  Log Message:
  -----------
  Merge pull request #8732 from girtsf/cortexm-fix-no-mpu

cortexm_common: don't try to set MEMFAULTENA on ARMv6-M


Compare: https://github.com/RIOT-OS/RIOT/compare/5a05f1b956df...078104223a35


More information about the commits mailing list