openocd icon indicating copy to clipboard operation
openocd copied to clipboard

flash/nor/rp2040: fix building with MinGW toolchain

Open donlon opened this issue 1 year ago • 0 comments

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

donlon avatar Sep 06 '24 15:09 donlon