Skip to content

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

Open
donlon wants to merge 1 commit intoraspberrypi:sdk-2.0.0from
donlon:sdk-2.0.0
Open

flash/nor/rp2040: fix building with MinGW toolchain#108
donlon wants to merge 1 commit intoraspberrypi:sdk-2.0.0from
donlon:sdk-2.0.0

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