diff options
| author | Old-Ding <[email protected]> | 2026-07-07 10:31:29 +0800 |
|---|---|---|
| committer | Rbb666 <[email protected]> | 2026-07-08 14:03:58 +0800 |
| commit | ac6dc197a0a032dace013efd6cae5c76ff7b692c (patch) | |
| tree | dd8554be6fda545c1cbab54ce6a2e202e92821dd /.github/workflows | |
| parent | c7f21bddeb25a37d03193054592a083e73bba37b (diff) | |
bsp: hpmicro: clear full ENET buffers
rt_hw_eth_init() clears ENET descriptor tables using element size times count, but the RX/TX data buffers used sizeof(size), which only covers the width of the size field.
Use the configured buffer count and size so the whole RX/TX buffer areas are initialized before handing them to the ENET descriptor configuration.
Make the Cppcheck intent explicit for the HPM placement macros and the LPI_CSR register read so the touched file passes static analysis.
Signed-off-by: Old-Ding <[email protected]>
Diffstat (limited to '.github/workflows')
0 files changed, 0 insertions, 0 deletions
