Commit Graph

147 Commits (a691c6199eebd1f8a8c434ac3e658337bfda6bf6)

Author SHA1 Message Date
Ming Yue d248555de5
Update -- Percepio Tracealyzer Recorder v4.3.11 ()
* * Pull Request for Percepio Tracealyzer Recorder v4.3.11

* Update Tracealyzer demo config file.

Co-authored-by: Erik Tamlin <erik.tamlin@percepio.com>
Ming Yue 70dcbe4527
Remove unused wolfSSL files. ()
* Remove unused wolfSSL files.

* Add back some removed ciphers.

* Update VS project file.
TakayukiMatsuo 94aa31c3cb
Update wolfSSL to the latest version(v.4.4.0) ()
* 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>
Aniruddha Kanhere 08af68ef90
Remove dependency of CBMC on Patches ()
* 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!
Aniruddha Kanhere a7fec906a4
Misc changes ()
Aniruddha Kanhere 07cf5e07e4
MISRA compliance changes for FreeRTOS+TCP headers ()
* misra changes

* Update FreeRTOS_IP_Private.h

* Update FreeRTOS_IP_Private.h
Aniruddha Kanhere e903ac0fed
UPD MISRA changes ()
Co-authored-by: Yuhui Zheng <10982575+yuhui-zheng@users.noreply.github.com>
Aniruddha Kanhere 97551bf44e
MISRA changes in FreeRTOS_TCP_WIN.c ()
Aniruddha Kanhere f2611cc5e5
MISRA compliance changes in FreeRTOS_Sockets{.c/.h} ()
* 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
Aniruddha Kanhere ae4d4d38d9
MISRA compliance changes for FreeRTOS_TCP_IP.c ()
* 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>
Aniruddha Kanhere e0d62163b0
Sync with +TCP amazon-FreeRTOS ()
* DNS.c commit

* IP.c commit

* Add various source & header files
Hein Tibosch c720c18ada
FreeRTOS+TCP Adding the combined driver for SAM4E and SAME70 v2 ()
* 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>
Aniruddha Kanhere 4237049b12
Add changes from 2225-2227 amazon-FreeRTOS ()
Aniruddha Kanhere d5fedeaa96
Add checks in FreeRTOS_Socket.c ()
* 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
Aniruddha Kanhere a9b2aac4e9
Folder structure change + Fix broken Projects ()
* Update folder structure

* Correct project files

* Move test folder

* Some changes after Yuki's comments
Hein Tibosch 98bfc38bf3
FreeRTOS+TCP : add memory statistics and dump packets, v3 ()
* 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>
RichardBarry 2df5eeef57
Feature/multiple direct to task notifications ()
* 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.
Aniruddha Kanhere f11bcc8acc
Fix a Bug and corresponding CBMC patch ()
* 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>
Aniruddha Kanhere 6efc39f44b
Add Project for running integration tests v2 ()
* 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>
Aniruddha Kanhere cb7edd2323
Sync with a:FR ()
* 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>
alfred gedeon 6557291e54
Test: Add Linux Networking support with demo application ()
* 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>
Hein Tibosch 5003d17fed
FreeRTOS+TCP : renewing DHCP lease while network is down ()
Co-authored-by: Hein Tibosch <hein@htibosch.net>
Co-authored-by: Gary Wicker <14828980+gkwicker@users.noreply.github.com>
AniruddhaKanhere 40a31b6d35 'uL' -> 'UL'
AniruddhaKanhere 5b3a289b69 Changes after Gary's comments
AniruddhaKanhere edf68637dd Update FreeRTOS_ARP.c
AniruddhaKanhere 35f3ac32a8 correct debug output
AniruddhaKanhere 5e12a70db4 Debugging flag check added
AniruddhaKanhere 4e8ac8de25 Comment style consistency and Yuhui's suggestions
AniruddhaKanhere e43f7cd086 Cleanup
AniruddhaKanhere ab3b51c7a0 Update after Gary's comments
AniruddhaKanhere 97f7009699 Update after richard's comments
AniruddhaKanhere a9fcafc074 Corrected the formatting
- visual studio had messed up the formatting
AniruddhaKanhere c381861014 commit 2 after gary's comments
AniruddhaKanhere 75677a8d85 Commit after Gary's comments
AniruddhaKanhere 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
AniruddhaKanhere 4a1148d15b Coverity + MISRA compliance
Modified code to conform to the MISRA directives more closely.
AniruddhaKanhere ecf0f12aa1
Sync up with Amazon-freertos repo (10th March 2020) ()
* Sync up with amazon-freertos

* Sync up with amazon-freertos

* Sync up with amazon-freertos
AniruddhaKanhere c40a6da2e4
pass payload length when calling UDP callback ()
* pass payload length when calling UDP callback
AniruddhaKanhere 7e1a4bf563
Fix DHCP option Client-identifier ()
Richard Barry 9c0c37ab9b Added back some TCP/IP stack port layer files.
Richard Barry 7cf721ccf7
Yuhui.Zheng 589dd9f149 Update version number in readiness for V10.3.0 release. Sync SVN with reviewed release candidate.
Richard Barry 8e5addee1e Update TCP to last release versions in preparation for kernel V10.3.0 release.
Yuhui.Zheng ec6f3d77c3 Sync FreeRTOS-Plus/Source/FreeRTOS-Plus-TCP with the version in GitHub at (23665258cabe49d5d68ba23968b6845a7c80eb34).
Notes: 
- header has version 2.2.0. 
- This sync did not bring in ./test directory, though we should. 
- New NetworkInterfaces are introduced by this merge.
- Keil compiler support. 
- FreeRTOS_IP.h new API xApplicationGetRandomNumber().
- FreeRTOS_IP_Private.h new eIPEvent_t eNetworkTxEvent. 
- FreeRTOS_Stream_Buffer.h removing static xStreamBufferIsEmpty() and xStreamBufferIsFull().
- FreeRTOSConfigDefaults.h provides default ipconfigDNS_RECEIVE_BLOCK_TIME_TICKS. 
- other type changes.
Richard Barry 4d4493e61a Remove the FreeRTOS-IoT-Libraries from FreeRTOS-Plus as it was an old copy with a newer copy in FreeRTOS-Labs.
Richard Barry 96bad0f6c3 Minor bug fix in NTPDemo.c -> use of FREERTOS_INVALID_SOCKET in place of NULL.
Update trace recorder code to account for uxPendedTicks renaming to xPendedTicks.
Richard Barry b4c06085e1 Files as per 190725_FreeRTOS_IoT_Libs_Task_Pool_and_MQTT_Preview interim release.
Richard Barry fe4511b35e Continued to work on the MQTT demo project.
A few review comments added into the MQTT implementation.
Richard Barry 53842d4cac Remove the simple UDP client/server tasks from the MQTT demo as the demo's network connection can be tested more easily just by pinging it.
Tidy up the iot_config.h header files a little.
Gaurav Aggarwal 95f60318d5 Cosmetic changes in the MQTT demo
- Fix warnings in the MQTT code.
- Update comments in the iot_config.h.