Skip to content

[BUG] rp2040: up_cpu_pause and up_cpu_resume are referenced (these functions were removed before) #16203

Description

@sumpfralle

Description / Steps to reproduce the issue

The functions up_cpu_pause and up_cpu_resume were removed in #13863 by @xiaoxiang781216.

But there are still two remaining calls of both functions left in rp2040_flash_mtd.c.

Thus compilation with enabled SMP support fails at the moment:

chip/rp2040_flash_mtd.c: In function 'rp2040_flash_erase':
chip/rp2040_flash_mtd.c:273:3: error: implicit declaration of function 'up_cpu_pause' [-Wimplicit-function-declaration]
  273 |   up_cpu_pause(OTHER_CPU);
      |   ^~~~~~~~~~~~
chip/rp2040_flash_mtd.c:280:3: error: implicit declaration of function 'up_cpu_resume' [-Wimplicit-function-declaration]
  280 |   up_cpu_resume(OTHER_CPU);
      |   ^~~~~~~~~~~~~

I tried to understand #13863, but I failed to derive the changes necessary to replace the above remaining calls.

Maybe someone can give me a hint?

On which OS does this issue occur?

[OS: Linux]

What is the version of your OS?

Debian Trixie

NuttX Version

master

Issue Architecture

[Arch: arm]

Issue Area

[Area: File System]

Host information

No response

Verification

  • I have verified before submitting the report.

Activity

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

    Arch: armIssues related to ARM (32-bit) architectureArea: File SystemFile System issuesOS: LinuxIssues related to Linux (building system, etc)Type: BugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions