CMake changes from main branch [PR: #557, PR: #742]#803
Merged
tony-josi-aws merged 28 commits intoFreeRTOS:dev/IPv6_integrationfrom Mar 27, 2023
Merged
Conversation
…ectly from network packets
6625e59 to
12256f0
Compare
…k as they are not defined in kernel
Member
Author
|
/bot run uncrustify |
Member
Author
|
/bot run uncrustify |
8bbe140 to
edec1c9
Compare
Member
Author
|
/bot run uncrustify |
b22c45c to
65d7121
Compare
ActoryOu
suggested changes
Mar 22, 2023
Member
Author
|
/bot run uncrustify |
07f3255 to
e0b9162
Compare
ActoryOu
approved these changes
Mar 23, 2023
htibosch
approved these changes
Mar 23, 2023
Member
Author
|
/bot run uncrustify |
a4f9a46 to
c5dc60d
Compare
aggarg
reviewed
Mar 26, 2023
| else | ||
| { | ||
| FreeRTOS_printf( ( "vDHCPv6Process: malloc failed %u byt4es\n", sizeof( *pxEndPoint->pxDHCPMessage ) ) ); | ||
| FreeRTOS_printf( ( "vDHCPv6Process: malloc failed %u bytes\n", ( unsigned ) sizeof( *pxEndPoint->pxDHCPMessage ) ) ); |
Member
There was a problem hiding this comment.
Just for consistency -
Suggested change
| FreeRTOS_printf( ( "vDHCPv6Process: malloc failed %u bytes\n", ( unsigned ) sizeof( *pxEndPoint->pxDHCPMessage ) ) ); | |
| FreeRTOS_printf( ( "vDHCPv6Process: malloc failed %u bytes\n", ( unsigned int ) sizeof( *pxEndPoint->pxDHCPMessage ) ) ); | |
| xSet.usPortNumber = usPort; | ||
| xSet.ppxLastAddress = &( xSet.pxLastAddress ); | ||
|
|
||
| #if ( ipconfigUSE_LLMNR == 1 ) |
Member
There was a problem hiding this comment.
Would the right change be to replace #ifndef _lint with #if ( ipconfigUSE_LLMNR == 1 )?
|
|
||
| /* Not used for now */ | ||
| ( void ) uxBufferLength; | ||
| ( void ) uxBytesNeeded; |
Member
There was a problem hiding this comment.
We can remove the local variables if they are not used.
| uint32_t ulMSS = ipconfigTCP_MSS; | ||
|
|
||
| #if ( ipconfigHAS_DEBUG_PRINTF == 1 ) | ||
| char cBuffer[ 40 ]; |
Member
There was a problem hiding this comment.
Would cIPv6Address be a better name?
|
|
||
| #endif | ||
|
|
||
| extern const struct xIPv6_Address FreeRTOS_in6addr_any; |
| } | ||
| /*-----------------------------------------------------------*/ | ||
|
|
||
| void vLoggingPrintf( const char * pcFormat, |
Member
There was a problem hiding this comment.
Is this still needed as configPRINTF is defined to empty?
|
|
||
| void vAssertCalled( const char * pcFile, | ||
| uint32_t ulLine ) | ||
| unsigned long ulLine ) |
Member
There was a problem hiding this comment.
Is this function needed given the configASEERT is not defined?
Member
Author
|
/bot run uncrustify |
7417153 to
6e056ee
Compare
aggarg
approved these changes
Mar 27, 2023
HTRamsey
pushed a commit
to HTRamsey/FreeRTOS-Plus-TCP
that referenced
this pull request
Jun 19, 2023
…reeRTOS#803) * 556 Initial Cmake Module definition. FreeRTOS#557 * renaming variables that have conflicting names with MSC and *nix headers * fix build issue for posix port * Fix warning: -Waddress-of-packed-member when calculating checksum directly from network packets * fix warnings with prvInitialiseTCPFields declaration * removing macros that hides the structure fields * Updating build check enable all config to enable all config macros * CMake: Fix GIT_REPOSITORY and GIT_TAG (FreeRTOS#742) * moving ipTRUE_BOOL and ipFALSE_BOOL out of #ifndef pdTRUE_SIGNED check as they are not defined in kernel * minor fix to the cmake files and main file * Uncrustify: triggered by comment. * adding doxygen comments to new functions * Uncrustify: triggered by comment * Add more warnings check and fix warnings * Uncrustify: triggered by comment * fix review feedback and more debug printf warnings fix * more warnings fix * fix misra issues * Uncrustify: triggered by comment * replace sin_addr with sin_address.ulIP_IPv4 in +TCP demos * replace sin_addr6 with sin_address.xIP_IPv6 in +TCP demos * replace freertos_sockaddr6 with freertos_sockaddr in +TCP demos * review feedback changes * removing duplicate def for prvStreamBufferAdd from winpcap * fix more warnings from MSVC * Uncrustify: triggered by comment * review feedback changes * Uncrustify: triggered by comment --------- Co-authored-by: phelter <paulheltera@gmail.com> Co-authored-by: Nikhil Kamath <110539926+amazonKamath@users.noreply.github.com> Co-authored-by: GitHub Action <action@github.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.
Description
This PR updates the cmake changes added to the main branch to the dev/IPv6_integration branch and related fix for warnings and build errors.
PRs:
Checklist:
Related Issue
Updating dev/IPv6_integration branch wrt. main.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.