889d3e8667
Create a new branch and address 10.8 warnings ( #241 )
2020-09-04 12:34:30 -07:00
05b4d4fc64
Address various MISRA warnings v3 ( #240 )
...
* Add a branch and make MISRA changes
* initialize the value
* Update after Gary's comments
2020-09-03 15:20:45 -07:00
cacf4ad7f9
Address various MISRA warnings v2 ( #238 )
...
* Address some MISRA warnings
* Change the return type
* Update FreeRTOS_Sockets.c
2020-09-02 15:37:44 -07:00
0341050048
Address MISRA errors of various kinds ( #234 )
...
* MISRA 21.15 changes
* MISRA 11.8 changes
2020-09-01 12:59:50 -07:00
18d238ad5c
Address a few MISRA 2.2 violations in FreeRTOS_IP.c ( #230 )
...
* Make changes for MISRA rule 2.2
* Add comments to explain changes
* Fix a typo
* Actually fix a typo
I missed a spot in the previous commit.
2020-08-31 12:55:38 -07:00
e2ab092351
Address MISRA 21.15 violations in FreeRTOS_Sockets.c ( #229 )
...
* Use unsigned types/constants where needed.
* Address MISRA 21.15 violations in FreeRTOS_Sockets.c
Co-authored-by: Aniruddha Kanhere <60444055+AniruddhaKanhere@users.noreply.github.com>
2020-08-31 12:05:59 -07:00
7cb57324fd
TCP: Address MISRA rule 11.3 violations (Part 2) ( #227 )
2020-08-31 09:49:43 -07:00
bcd5dec6c4
Use unsigned types/constants where needed. ( #226 )
...
Co-authored-by: Aniruddha Kanhere <60444055+AniruddhaKanhere@users.noreply.github.com>
2020-08-28 16:24:25 -07:00
3fc432f7be
TCP: Address MISRA rule11.3 violations ( #225 )
2020-08-28 15:14:37 -07:00
0b48e6a3b5
Utility macros to improve readability/static analysis. ( #219 )
...
* Update FreeRTOS_IP_Private.h
* Update FreeRTOS_Sockets.h
* Update FreeRTOS_DNS.c
* Correct version number
* Update version number
* Update version number
2020-08-27 15:37:03 -07:00
638262fab1
Fix Posix demo build and remove src directory ( #213 )
...
* Fix: build errors, remove src directory and bring all files up
* Fix: Remove not needed header
* Doc: fix main comments
* Doc: fix comment
Co-authored-by: Alfred Gedeon <gedeonag@amazon.com>
2020-08-27 00:41:42 -07:00
d248555de5
Update #169 -- Percepio Tracealyzer Recorder v4.3.11 ( #201 )
...
* * Pull Request for Percepio Tracealyzer Recorder v4.3.11
* Update Tracealyzer demo config file.
Co-authored-by: Erik Tamlin <erik.tamlin@percepio.com>
2020-08-13 14:29:33 -07:00
70dcbe4527
Remove unused wolfSSL files. ( #197 )
...
* Remove unused wolfSSL files.
* Add back some removed ciphers.
* Update VS project file.
2020-08-11 17:06:59 -07:00
94aa31c3cb
Update wolfSSL to the latest version(v.4.4.0) ( #186 )
...
* deleted old version wolfSSL before updating
* updated wolfSSL to the latest version(v4.4.0)
* updated wolfSSL to the latest version(v4.4.0)
* added macros for timing resistance
Co-authored-by: RichardBarry <3073890+RichardBarry@users.noreply.github.com>
Co-authored-by: Ming Yue <mingyue86010@gmail.com>
2020-08-07 15:58:14 -07:00
08af68ef90
Remove dependency of CBMC on Patches ( #181 )
...
* Changes to DHCP
* CBMC DNS changes
* Changes for TCP_IP
* Changes to TCP_WIN
* Define away static to nothing
* Remove patches
* Changes after Mark's comments v1
* Update MakefileCommon.json
* Correction!
2020-08-01 16:38:23 -07:00
a7fec906a4
Misc changes ( #183 )
2020-07-29 17:39:36 -07:00
07cf5e07e4
MISRA compliance changes for FreeRTOS+TCP headers ( #165 )
...
* misra changes
* Update FreeRTOS_IP_Private.h
* Update FreeRTOS_IP_Private.h
2020-07-29 16:15:38 -07:00
e903ac0fed
UPD MISRA changes ( #164 )
...
Co-authored-by: Yuhui Zheng <10982575+yuhui-zheng@users.noreply.github.com>
2020-07-29 16:03:14 -07:00
97551bf44e
MISRA changes in FreeRTOS_TCP_WIN.c ( #162 )
2020-07-29 15:52:00 -07:00
f2611cc5e5
MISRA compliance changes in FreeRTOS_Sockets{.c/.h} ( #161 )
...
* MISRA changes Sockets
* add other changes
* Update FreeRTOSIPConfig.h
* Update FreeRTOSIPConfig.h
* Update FreeRTOSIPConfig.h
* Update FreeRTOSIPConfig.h
* correction
* Add 'U'
* Update FreeRTOS_Sockets.h
* Update FreeRTOS_Sockets.h
* Update FreeRTOS_Sockets.c
* Update FreeRTOS_Sockets.h
* Update after Gary's comments
* Correction reverted
2020-07-29 15:38:37 -07:00
ae4d4d38d9
MISRA compliance changes for FreeRTOS_TCP_IP.c ( #160 )
...
* MISRA tcp-ip changes
* Changes after Hein's comments on original PR
* Update FreeRTOS_TCP_IP.c
Co-authored-by: Yuhui Zheng <10982575+yuhui-zheng@users.noreply.github.com>
2020-07-29 13:56:57 -07:00
e0d62163b0
Sync with +TCP amazon-FreeRTOS ( #158 )
...
* DNS.c commit
* IP.c commit
* Add various source & header files
2020-07-22 18:06:23 -07:00
c720c18ada
FreeRTOS+TCP Adding the combined driver for SAM4E and SAME70 v2 ( #78 )
...
* Adding a combined +TCP driver for SAM4E and SAME70
* Changes after review from Aniruddha
Co-authored-by: Hein Tibosch <hein@htibosch.net>
Co-authored-by: Aniruddha Kanhere <60444055+AniruddhaKanhere@users.noreply.github.com>
2020-07-13 14:35:44 -07:00
4237049b12
Add changes from 2225-2227 amazon-FreeRTOS ( #134 )
2020-07-13 12:07:56 -07:00
d5fedeaa96
Add checks in FreeRTOS_Socket.c ( #104 )
...
* Add fail-safes to FreeRTOS_Socket.c
* Use all 'pd' errors
* Correction after Hein's comments
* Correction after Hein's comments v2
* Changes after Hein's comments
* Update after Gary's comments
2020-07-01 13:56:27 -07:00
a9b2aac4e9
Folder structure change + Fix broken Projects ( #103 )
...
* Update folder structure
* Correct project files
* Move test folder
* Some changes after Yuki's comments
2020-06-26 12:09:36 -07:00
98bfc38bf3
FreeRTOS+TCP : add memory statistics and dump packets, v3 ( #83 )
...
* FreeRTOS+TCP : add memory statistics and dump packets, v3
* Two changes as requested by Aniruddha
Co-authored-by: Hein Tibosch <hein@htibosch.net>
Co-authored-by: Aniruddha Kanhere <60444055+AniruddhaKanhere@users.noreply.github.com>
2020-06-24 22:01:45 -07:00
2df5eeef57
Feature/multiple direct to task notifications ( #73 )
...
* Add TaskNotifyArray.c with the single task tests updated to use the task notification array up to the point where the timer is created.
* Continue working on TaskNotifyArray.c to test the new task notification indexes. Next TaskNotifyArray.c will be refactored to break the tests up a bit.
* Refactor and update the comments in TaskNotifyArray.c - no functional changes.
* Change from the task notify "array" to task notification "indexed" nomenclature in the new task notification API functions that work on one particular task notification with the array of task notifications.
* Update the implementation of the taskNOTIFY_TAKE() and taskNOTIFY_WAIT() trace macros to take the array index of the task notification they are acting on.
Rename configNUMBER_OF_TASK_NOTIFICATIONS to configTASK_NOTIFICATION_ARRAY_ENTRIES.
Add FreeRTOS/Demo/Common/Minimal/TaskNotifyArray.c to the Visual Studio project - the file implements tests specific to the behaviour of the indexed task notification functions and should be used in addition to the tests already provided in FreeRTOS/Demo/Common/Minimal/TaskNotify.c.
2020-06-08 14:22:46 -07:00
f11bcc8acc
Fix a Bug and corresponding CBMC patch ( #84 )
...
* Update remove-static-in-freertos-tcp-ip.patch
* Update FreeRTOS_TCP_IP.c
* Update remove-static-in-freertos-tcp-ip.patch
* Update remove-static-in-freertos-tcp-ip.patch
Co-authored-by: Yuhui Zheng <10982575+yuhui-zheng@users.noreply.github.com>
2020-06-03 16:52:31 -07:00
6efc39f44b
Add Project for running integration tests v2 ( #80 )
...
* Project for integration tests
* relative paths in project files
* relative paths in project files-1
* relative paths in project files-2
* addressed comments
* addressed comments v2
Co-authored-by: Yuhui Zheng <10982575+yuhui-zheng@users.noreply.github.com>
2020-06-02 15:09:25 -07:00
cb7edd2323
Sync with a:FR ( #75 )
...
* AFR sync
* AFR sync: CBMC
* AFR sync: CBMC: remove .bak files
* AFR sync: CBMC: more cleanup
* Corrected CBMC proofs
* Corrected CBMC patches
* Corrected CBMC patches-1
* Corrected CBMC patches-2
* remove .bak files (3)
Co-authored-by: Yuhui Zheng <10982575+yuhui-zheng@users.noreply.github.com>
2020-05-28 10:11:58 -07:00
6557291e54
Test: Add Linux Networking support with demo application ( #71 )
...
* Test: Add Linux Networking support with demo application
* Test: revert files affected by uncrustify
* Test: revert files affected by uncrustify
Co-authored-by: Alfred Gedeon <gedeonag@amazon.com>
Co-authored-by: Yuhui Zheng <10982575+yuhui-zheng@users.noreply.github.com>
2020-05-27 14:44:33 -07:00
5003d17fed
FreeRTOS+TCP : renewing DHCP lease while network is down ( #53 )
...
Co-authored-by: Hein Tibosch <hein@htibosch.net>
Co-authored-by: Gary Wicker <14828980+gkwicker@users.noreply.github.com>
2020-05-06 11:16:56 -07:00
40a31b6d35
'uL' -> 'UL'
2020-04-13 14:08:51 -07:00
5b3a289b69
Changes after Gary's comments
2020-04-13 14:08:51 -07:00
edf68637dd
Update FreeRTOS_ARP.c
2020-04-13 14:08:51 -07:00
35f3ac32a8
correct debug output
2020-04-13 14:08:51 -07:00
5e12a70db4
Debugging flag check added
2020-04-13 14:08:51 -07:00
4e8ac8de25
Comment style consistency and Yuhui's suggestions
2020-04-13 14:08:51 -07:00
e43f7cd086
Cleanup
2020-04-13 14:08:51 -07:00
ab3b51c7a0
Update after Gary's comments
2020-04-13 14:08:51 -07:00
97f7009699
Update after richard's comments
2020-04-13 14:08:51 -07:00
a9fcafc074
Corrected the formatting
...
- visual studio had messed up the formatting
2020-04-13 14:08:51 -07:00
c381861014
commit 2 after gary's comments
2020-04-13 14:08:51 -07:00
75677a8d85
Commit after Gary's comments
2020-04-13 14:08:51 -07:00
666c0da366
Update after Yuhui's comments
...
- removed (void) from before memcpy, memset etc.
- corrected memcpy style as suggested by Yuhui
- Added logging for xNetworkInterfaceOutput. No need to configASSERT
2020-04-13 14:08:51 -07:00
4a1148d15b
Coverity + MISRA compliance
...
Modified code to conform to the MISRA directives more closely.
2020-04-13 14:08:51 -07:00
ecf0f12aa1
Sync up with Amazon-freertos repo (10th March 2020) ( #34 )
...
* Sync up with amazon-freertos
* Sync up with amazon-freertos
* Sync up with amazon-freertos
2020-03-11 10:19:48 -07:00
c40a6da2e4
pass payload length when calling UDP callback ( #30 )
...
* pass payload length when calling UDP callback
2020-03-09 11:18:48 -07:00
7e1a4bf563
Fix DHCP option Client-identifier ( #28 )
2020-03-06 15:18:09 -08:00