platform: disable FreeRTOS+TCP verbose logging on Zynq-A9#80
Merged
Conversation
FreeRTOS+TCP debug prints (DHCP, ARP, TCP state, GEM TX) flood the shell output making interactive use impossible. - Set ipconfigHAS_PRINTF=0 and ipconfigHAS_DEBUG_PRINTF=0 - Remove GEM TX debug printf from NetworkInterface.c - Remove verbose [net] and [init] prints from main.c The [net] network up callback with IP address is preserved. Signed-off-by: Chao Liu <chao.liu.zevorn@gmail.com>
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.
Summary
Disable FreeRTOS+TCP verbose debug logging that floods the interactive shell output on Zynq-A9 QEMU.
Problem
Shell output was polluted with TCP/IP internals:
Fix
ipconfigHAS_PRINTF=0,ipconfigHAS_DEBUG_PRINTF=0in FreeRTOSIPConfig.h[net]and[init]prints from main.c[net] network up: x.x.x.xon DHCP successAfter
Test plan
make build-zynq-a9-qemucompilesmake run-zynq-a9-qemu— clean shell output, no TCP/ARP spam