Skip to content

Define err_t as int8_t instead of uint32_t for compatibility with lwIP Arduino lib - #16

Open
TMRh20 wants to merge 1 commit into
Seeed-Studio:masterfrom
TMRh20:master
Open

TMRh20 wants to merge 1 commit into
Seeed-Studio:masterfrom
TMRh20:master

Conversation

@TMRh20

@TMRh20 TMRh20 commented Oct 16, 2026

Copy link
Copy Markdown

Due to a conflict with the Arduino lwIP library, redefine err_t as int8_t instead of uint32_t in wiring_constants.h

Background:
The Arduino lwIP library defines err_t as a signed, 8-bit variable and requires it to be a signed variable.
This PR aligns this core with the lwIP definition so it will compile properly.

Due to a conflict with the Arduino lwIP library, redefine err_t as int8_t instead of uint32_t
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