Open
Conversation
First NXP platform support for wolfIP. Adds a bare-metal port for the LPCXpresso54S018M development board (Cortex-M4F, 96 MHz) with DHCP, ICMP ping, and TCP echo server over 100 Mbps Ethernet (LAN8720A PHY). The Ethernet driver is split into a shared lpc_enet/ component (Synopsys DesignWare Ethernet QoS with enhanced descriptors) and board-specific code in lpc54s018/, matching the existing stm32/stm32h563 structure for easy reuse across other NXP LPC boards. Tested: DHCP lease acquisition, ICMP ping (<1 ms), TCP echo on port 7.
5455fc1 to
d49de56
Compare
- Makefile: Add cppcheck comparePointers suppressions for lpc54s018 startup.c/syscalls.c - main.c: Fix non-atomic 64-bit tick_ms reads with get_tick_ms() (disable/enable interrupts) - startup.c: Restore __libc_init_array() call (matches other ports) - lpc_enet.c: Add RX_BUF_SIZE bounds check in eth_poll to prevent buffer over-read - fix_checksum.py: Auto-detect vector table offset (0x0 for RAM build, 0x200 for flash) - target_ram.ld: Clarify SRAM2 is 32KB on J4M package - flash.sh: Add flash helper script (matches N6 port's flash.sh)
d49de56 to
0a91639
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
src/port/lpc_enet/for Synopsys DW Ethernet QoS MAC.github/workflows/lpc54s018.yml