STM32 network interface bug fixes #1253
Open
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.
STM32 network interface bug fixes
Description
All modifications are isolated to the STM32 networkinterface.c file.
A documented bug in the STM32 HAL drivers has since been fixed for the F7 port (STMicroelectronics/stm32f7xx-hal-driver@2770385).
I removed warnings and asserts related to said target (F7), but kept enforcing them for F4.
In the network driver traceISR_ENTER() is called but isn't defined anywhere, not in TCP or in FreeRTOS.
I have removed it, but defining an empty macro in the appropriate file would also work.
As it wasn't respecting the
iptraceXXX
I sepcifically didn't add it to the ip default macros.Test Steps
Compiling for STM32F7
Checklist:
Related Issue
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.