1
0
mirror of https://github.com/FreeRTOS/FreeRTOS-Plus-TCP synced 2025-10-21 06:40:08 +08:00
Commit Graph

21 Commits

Author SHA1 Message Date
Aniruddha Kanhere
1ab6eb8885 Update version numbers and licensing info (#541)
* Update source location for coverity

* Add coverage checker

* Add build check with default configuration

* Fix build combination and DNS error

* uncrustified and fixed cmakelists

* This commit updates version number in all files to Development-Branch

* Update version number macros

* This commit fixes a typo in version number macro

* Added a 'critical section' to prevent a race condition in stream buffers

* Uncrustify: triggered by comment.

* Fixed unit-tests by adding mocked functions

* Initial commit of file README.md

* Update README.md

* Fix the title of README file in coverity

* Addressed issue comments

* Update command

* Add details about remaining exception

* Move file to original location

* Remove use of sudo in commands

* Fix links; added coverity version note

* Update README.md

* Remove CMake installation instructions

* Update manifest/history and copyright year

* Update kernel version to 10.4.5

* Update remaining copyright year instances

* Update the version number macros

* Update license header titles

* Remove kernel license header and add TCP header

Co-authored-by: GitHub Action <action@github.com>
Co-authored-by: Gaurav-Aggarwal-AWS <33462878+aggarg@users.noreply.github.com>
2022-08-12 16:21:44 -07:00
alfred gedeon
4ac10c84a3 Misra fix or suppress remaining violations (#529)
* Fix Remaning misra issues

* Suppress rule 8.6

* Fix/Suppress more misra violations

* Style: for formatting

* Style: fix formatting

* Style: fix spelling

* Fix Rule 11.1

* Fix undeteced suppressions

* Enable 32 bits

* Fix more misra leftover violations

* Add justification for a missed violation

* Fix comment for rule 8.13

* Fix comment

* fix misra comments

* Update MISRA.md

Co-authored-by: Aniruddha Kanhere <60444055+AniruddhaKanhere@users.noreply.github.com>

* Update source/FreeRTOS_Sockets.c

Co-authored-by: Aniruddha Kanhere <60444055+AniruddhaKanhere@users.noreply.github.com>

* Update source/portable/BufferManagement/BufferAllocation_2.c

Co-authored-by: Aniruddha Kanhere <60444055+AniruddhaKanhere@users.noreply.github.com>

* Update MISRA.md

Co-authored-by: Aniruddha Kanhere <60444055+AniruddhaKanhere@users.noreply.github.com>

* Update MISRA.md

Co-authored-by: Aniruddha Kanhere <60444055+AniruddhaKanhere@users.noreply.github.com>

* Suppress Rule 8.9

* Fix build error

* fix build error

* Fix coverity supression bugs

Co-authored-by: Aniruddha Kanhere <60444055+AniruddhaKanhere@users.noreply.github.com>
2022-08-08 10:45:09 -07:00
xuelix
f8c72717cd MISRA violation fix 17.7, 1.2, 8.9 (#530)
* MISRA violation fix 17.7, 1.2, 8.9

* Fixing spell check error

* Added comment for PR review

Co-authored-by: gitwallit <56273942+gitwallit@users.noreply.github.com>
2022-08-02 12:20:51 -07:00
xuelix
b81e0ae4b0 Fixing MISRA violation 4.6, 10.4 (#527)
* Fixing MISRA violation 4.6, 10.4

* Remove snprintf cast
2022-07-28 17:19:08 -07:00
alfred gedeon
80876f5301 Consolidate all misra inline violation justifications into a single file (#521)
* Consolidate all misra inline violation justification into a single file

* Style: fix formatting error

* Style: fix formatting error

* Fix build error

* fix merge errors

* fix merge conflicts

* Style: improve misra exception file

* Updated the justification for MISRA rule 2.2 violation

* Fix comments and justification for MISRA rule 8.9

* Update justification for MISRA rule 11.3

* Updated wording of violation of rule 11.4 ref 5

* Updated the justification of rule 11.4 ref 29

* Fixed comment and justification for ref 31

* Update rule 11.6

* Fix some violations

* Update justifications of various violations

* Fix formatting

* Remove the previous verison of violation table

* Update formatting to separate reference numbers from the text

* Update ref for rule 2.2 and 8.9

* Update rule 11.3 references

* Added rule 11.4

* Added rule 11.6

* Added rule 11.8

* Update refs in MISRA.md

* Add rule 14.3

* Fix 21.6, 17.2 and 20.10

* Fix spell check

* Fix mis-spelled words and address review comments

* Add link to 8.9

* Add 11.3 link

* Add link for 11.4

* Add links for 14.3

* Add remaining links

* Updated some justifications and simplified code to remove deviation

* Fixed spelling errors

* Fix justification for rule 11.3 violation

* Update the link to be a hyperlink

* Update comments for misaligned access

* Add link to project wide suppression file

* Updated wording in MISRA config

* Fix grammar and reorder file

* Address comments

Co-authored-by: Aniruddha Kanhere <60444055+AniruddhaKanhere@users.noreply.github.com>
2022-07-26 11:30:42 -07:00
alfred gedeon
9a4bd5f21b Code: remove macro cast and replace with direct cast (#523)
* Code: remove macro cast and replace with direct cast

* Style: fix formatting
2022-07-22 10:11:29 -07:00
alfred gedeon
170ef60b98 Misra: supressing rule 18.3 (#496)
* Misra: supressing rule 18.3

* test misra fix

* misra rule 18.3 remove violation

* testig coredump

* invetigate test failing locally only

* modified code

* Bring some changes back

* off by one bug

* off by one or 2 error

* Fix ut

* trigger github actions

* Fix Unit test

* Fix ut

* Fix ut

* UT fix ut

* Fix UT

* Fix UT

* Style: fix formatting

* Fix UT

* Remove printf

* Remove dead code

* Address PR comments

* Change cast type
2022-07-15 17:30:12 -07:00
alfred gedeon
4e151a0dc6 MISRA: fix rule 8.9 violations (#511)
* MISRA: fix rule 8.9 violations

* Style: Fix format error and build error

* Style: format error and build error

* Fix build error

* Doc: fix doxygen error

* Retrigger the CI

* Comment: make comment follow the code move

Co-authored-by: Aniruddha Kanhere <60444055+AniruddhaKanhere@users.noreply.github.com>
2022-07-14 00:18:57 -07:00
alfred gedeon
bf885f1f6c MISRA: fix rule 11.8 (#502)
* MISRA: fix rule 11.8

* Fix PR comments

* Style fix formatting

* Update source/FreeRTOS_IP_Utils.c

Co-authored-by: Paul Bartell <paul.bartell@gmail.com>

* Update source/FreeRTOS_IP_Utils.c

Co-authored-by: Paul Bartell <paul.bartell@gmail.com>

Co-authored-by: Paul Bartell <paul.bartell@gmail.com>
2022-07-13 15:23:15 -07:00
alfred gedeon
8c74d2e823 Fix MISRA 11.6 violations (#484)
* Fix MISRA 11.6 violations

* Add exceptions

* Fix formatting

* Fix formatting error

* Format: fix errors

* Fix Mira rule number suppression

* Format errors

* Fix formatting

* Add lost statement statement

* Fix comment message

* Fix spell

* Add justification for misra 11.6

* Spell: fix error

* Style: fix formatting erros
2022-07-13 14:57:49 -07:00
xuelix
ab519329f4 Misra rule 11.3, 11.4 suppression and 4.6 fix (#512)
* Misra rule 11.3 inline suppression

* Added several MISRA deviations

* MISRA Rule 11.4 inline suppression

* Misra violation fix 4.6

* Misra rule 1.2 suppression
2022-07-12 14:20:52 -07:00
alfred gedeon
f0eb3b96e6 MISRA: fix rule 10.8 (#498) 2022-07-08 14:00:37 -07:00
alfred gedeon
6b84c44e07 Misra: Fix Rule 8.13 violations (#507)
* MISRA: fix rule 8.13 violations

* Fix more 8.3 rules violation

* Misra rule 8.13 fixes

* Fix Unit Test
2022-07-08 10:06:10 -07:00
alfred gedeon
c8e98d323d Misra: Supress misra rule 21.6 (#497) 2022-07-06 16:02:21 -07:00
alfred gedeon
3df8a759fe Misra: rule 2.2 fix and suppression (#504)
Co-authored-by: Paul Bartell <paul.bartell@gmail.com>
2022-07-06 15:15:51 -07:00
Aniruddha Kanhere
f44d36d5ce Update version number of TCP to development (#516)
* Update source location for coverity

* Add coverage checker

* Add build check with default configuration

* Fix build combination and DNS error

* uncrustified and fixed cmakelists

* This commit updates version number in all files to Development-Branch

* Update version number macros

* This commit fixes a typo in version number macro
2022-07-06 10:29:48 -07:00
alfred gedeon
aeac4fa9ed Misra: Rule 10.4 violations (#495)
* Misra: Rule 10.4 violations

* Style: Fix formatting
2022-07-01 13:28:37 -07:00
alfred gedeon
590bc27fb9 Mirsa Rule 10.3 violations (#492)
* MISRA: fix Rule 10.3 vilations

* MISRA: Fix more Rule 10.3 vilations

* Style: fix format errors

* Spell: fix variable name

* Fix PR comments

* Fix: variable names

* Style: fix format

* Fix PR comments

* Fix variable check in cache

* Remove non needed check

* Coverage: fix coverage

* test commit

* Test commit

* Remove print statements

* Initialize some memeory

* Testing workflow

* Testing on workflow

* Fix: ut coverage

* Revert workflow changes

* Style: fix format error
2022-06-25 05:26:42 -07:00
holden-zenith
b6a4e40eb4 Fix various compiler warnings (#494)
* Fix various compiler warnings

Co-authored-by: GitHub Action <action@github.com>
Co-authored-by: Aniruddha Kanhere <60444055+AniruddhaKanhere@users.noreply.github.com>
2022-06-24 15:22:10 -07:00
xuelix
4fb9674de0 Misra check fix and update (#476)
* Misra check fix and update
2022-06-06 17:47:09 -07:00
Aniruddha Kanhere
a4124602cc Merge changes to main.
This commit brings in the refactoring and restructuring changes
from IntegrationTesting1 branch to the main branch.
It also includes additional unit tests for 100% coverage.
The rationale behind not creating a PR is that the conflicts were too
huge to be resolved correctly. Thus, a force push to the main branch is
being done.
2022-05-26 12:42:45 -07:00