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

Fix use of removed macro in ATSAME5x network interface #1138

Conversation

apcountryman
Copy link
Contributor

Description

The ipCAST_CONST_PTR_TO_CONST_TYPE_PTR() macro was removed by a412460 but was still used in the ATSAME5x network interface which resulted in a compilation errors. This PR replaces the uses of the macro with direct casts (#491 (review)).

Test Steps

The compilation errors were encountered in a project that is using the ATSAME5x network interface. The compilation errors have been resolved by the changes made in this PR.

The instructions from https://github.com/FreeRTOS/FreeRTOS-Plus-TCP/blob/main/test/build-combination/README.md#unix-linux-and-mac have also been executed and no errors were encountered.

Checklist:

  • I have tested my changes. No regression in existing tests.
  • I have modified and/or added unit-tests to cover the code changes in this Pull Request.

Related Issue

None.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@apcountryman apcountryman requested a review from a team as a code owner April 19, 2024 04:10
@tony-josi-aws tony-josi-aws merged commit 86b16eb into FreeRTOS:main Apr 22, 2024
10 checks passed
@apcountryman apcountryman deleted the fix_use_of_removed_macro_in_atsame5x_network_interface branch April 22, 2024 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants