Skip to content

Wrong CMSIS mpu definitions? #1027

Open

Description

@WestfW

as part of the CMSIS add, there exists a file:
.../src/rp2_common/cmsis/stub/CMSIS/Core/Include/mpu_armv7.h
containing the memory protection unit definitions for "ARM v7m" cpus.

But the rp2040 is a Cortex M0, which is a v6m cpu.

(Nothing currently uses this file, as far as I can tell, and I don't know if there even exists an mpu_armv6.h)

Activity

  1. lurch commented on Sep 17, 2022

    @lurch
    Contributor

    I don't know if there even exists an mpu_armv6.h

    Even the upstream CMSIS "only" has mpu_armv7.h and mpu_armv8.h.

    But there does appear to be a bunch of MPU defines inside core_cm0plus.h ?

  2. added this to the back burner milestone on Oct 21, 2022
  3. kilograham commented on Oct 21, 2022

    @kilograham
    Contributor

    We just package what they have; keeping this around though as we look at more CMSIS integration

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions