Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ipconfigEMAC_TASK_HOOK macro to STMH7xx network interface #1176

Merged
merged 6 commits into from
Aug 7, 2024
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,9 @@
#define niEMAC_HANDLER_TASK_PRIORITY configMAX_PRIORITIES - 1
#endif

#ifndef ipconfigEMAC_WATCHDOG_TIMER
Copy link
Member

@aggarg aggarg Aug 6, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we name it so that it does not seem specific to watchdog? The reason is that someone may want to use it for a different purpose too. How about something like iptraceEMAC_TASK_ITERATION or iptraceEMAC_TASK_HOOK?

#define ipconfigEMAC_WATCHDOG_TIMER()
#endif

/* Bit map of outstanding ETH interrupt events for processing. */
static volatile uint32_t ulISREvents;
Expand Down Expand Up @@ -1187,6 +1190,7 @@ static void prvEMACHandlerTask( void * pvParameters )
prvEthernetUpdateConfig( pdFALSE );
}
}
ipconfigEMAC_WATCHDOG_TIMER();
}
}

Expand Down