Skip to content

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

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

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
Copy Markdown

@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
...

@P33M
Copy link
Copy Markdown
Contributor

P33M commented Mar 18, 2026

Superseded by the upstream version of the flash driver, which doesn't have this bug.

@P33M P33M closed this Mar 18, 2026
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.

2 participants