Skip to content

flash/nor/rp2040: fix building with MinGW toolchain #108

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: sdk-2.0.0
Choose a base branch
from

Conversation

donlon
Copy link

@donlon donlon commented Sep 6, 2024

Hi, this patch fixes the errors when building with MinGW toolchain (x86_64-w64-mingw32)

../src/flash/nor/rp2040.c: In function 'rp2040_lookup_rom_symbol':
../src/flash/nor/rp2040.c:192:15: error: unknown type name 'uint'; did you mean 'u_int'?
  192 |         const uint offset_magic_to_table_ptr = flags == RT_FLAG_DATA ? 6 : 4;
      |               ^~~~
      |               u_int
...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant