Commit graph

494 commits

Author SHA1 Message Date
Kody Stribrny
54d4eeaa26
Add Vectored Interrupt Support To SiFive RISC-V Demo (#871)
Update SiFive IAR demo to support vectored interrupts. This is a near copy of https://github.com/FreeRTOS/FreeRTOS/pull/797.

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
Co-authored-by: Gaurav Aggarwal <aggarg@amazon.com>
2022-11-09 10:34:04 -08:00
Erik Tamlin
c568ba8c44
Percepio Trace Recorder v4.6.0 (#789)
* * Percepio Trace Recorder v4.6.0

* Add space between inclusion of header and comment

* Fix broken posix build - part 1

* Add percepio timer implementation

* Remove delted trace recorder header file

* Fix Networking demo  build

* Fix CLI demo

* Fix visual studio version number

* Fix core header check

* Fix more core checks

* Fix last of core checks

Co-authored-by: Aniruddha Kanhere <60444055+AniruddhaKanhere@users.noreply.github.com>
Co-authored-by: Alfred Gedeon <alfred2g@hotmail.com>
2022-11-03 13:58:38 -07:00
ActoryOu
fc4e9a147c Update cellular interface to v1.3.0. 2022-10-19 15:18:21 -07:00
ActoryOu
6cce3a6764 Update cellular submodules 2022-10-19 15:18:21 -07:00
ActoryOu
2f366a837d Set and update submodule pointer correctly. 2022-10-19 15:18:21 -07:00
ActoryOu
324718d640 Rename module to reduce the file path. 2022-10-19 15:18:21 -07:00
ActoryOu
4ee3d12adf Rename module to reduce the file path. 2022-10-19 15:18:21 -07:00
ActoryOu
70f0685be1 Add cellular modules into repo. 2022-10-19 15:18:21 -07:00
ActoryOu
958e040dfe Change cellular to personal forked repo 2022-10-19 15:18:21 -07:00
Paul Bartell
2c60930238 Update the coreSNTP revision 2022-10-04 14:51:46 -07:00
chinglee-iot
51def4683f
Update comm_if_windows for cellular interface (#851)
* Use mutex to protect rxEvent between different threads
* Update naming for static private function
* Update cellular interface submodule pointer
2022-09-26 15:35:31 +08:00
Paul Bartell
0a46f479b9 cellular-demos: Fix alpn strings for use with mbedtls 2022-08-26 09:58:39 -07:00
Paul Bartell
5ac2925d05 winsim-mqtt: Fix ALPN strings in coreMQTT demos 2022-08-26 09:58:39 -07:00
Paul Bartell
bf89af210c winsim-ota: Fix ALPN strings in OTA winsim demos 2022-08-26 09:58:39 -07:00
Paul Bartell
9f7979145a mqtt_demo_helpers: Fix ALPN strings for mbedtls use 2022-08-26 09:58:39 -07:00
chinglee-iot
0fc242b7db
Update transport interface for compatibility (#844)
Update transport interface for compatibility

* Update the network transport that using socket wrapper to depend on socket wrapper only.
* AT command timeout should not be changed for cellular socket buffer access mode.
* mbedTLS config include using MBEDTLS_CONFIG_FILE macro.
* Remove strnlen usage in using_mbedtls_pkcs11.
2022-08-26 10:10:15 +08:00
Paul Bartell
5d68fdb5cc winsim-ota-demos: Move checks out of demo_config.h
Move checks for undefined democonfig settings from demo_config.h to
each demo task file.
2022-08-17 15:43:21 -07:00
Paul Bartell
2ffe3de4b5 mqtt-multitask-demo: Move demo_config.h checks 2022-08-17 15:43:21 -07:00
Paul Bartell
8f21b61908 Update coreHTTP submodule and revision in manifest 2022-08-17 15:43:21 -07:00
Paul Bartell
c51f6a08af FreeRTOS+CLI Demos: Update to target VS 2019 v142 2022-08-17 15:43:21 -07:00
Paul Bartell
4391920cdc coreSNTP Demo: Update file headers 2022-08-17 15:43:21 -07:00
Paul Bartell
a977a8bca0 Fix paths in corePKCS11/coreMQTT demo 2022-08-17 15:43:21 -07:00
Paul Bartell
c8f9dbef58 Remove unneeded execute permissions 2022-08-17 15:43:21 -07:00
Paul Bartell
466ee59830 winsim-mqtt-demos: Update VS project files 2022-08-17 15:43:21 -07:00
Paul Bartell
06e5417ff1 winsim-mqtt-demos: Remove duplicate config files 2022-08-17 15:43:21 -07:00
Paul Bartell
2ef7770bec coremqtt-winsim: Remove duplicate copy of WinPCap 2022-08-17 15:43:21 -07:00
Paul Bartell
a685e63049 winpcap: Fix ip6_misc.h header file name. 2022-08-17 15:43:21 -07:00
Paul Bartell
e0e488263e cellular: Update Visual Studio project files 2022-08-17 15:43:21 -07:00
Paul Bartell
7d43b62c9d cellular: Remove duplicate files 2022-08-17 15:43:21 -07:00
alfred gedeon
4242c47a8d
Demo: qemu mps2 echo client cleanup (#833) 2022-08-02 15:05:14 -07:00
johnrhen
f062becb34
Create Fleet Provisioning Demo AWS Setup Script in Python (#778)
* Create CloudFormation template for demo setup

* Add CF_ prefix to CloudFormation-created resources to avoid collisions

* Update lexicon.txt

* Create initial python setup script

* Create separate demo_cleanup.py file

* Move setup items to DemoSetup folder

* Add demo_config.h setup to the demo_setup.py script

* Modify error logging on demo_setup.py

* Add file cleanup to demo_cleanup.py

* Rename convert_pem_to_der.py to convert_credentials_to_der.py

* Adjust comment wording on demo_cleanup.py

* added configUSE_TICKLESS_IDLE (#764)

* Fix tests needed for https://github.com/FreeRTOS/FreeRTOS-Kernel/pull/435 (#766)

* Fix tests needed for https://github.com/FreeRTOS/FreeRTOS-Kernel/pull/435

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>

* Add tests to cover https://github.com/FreeRTOS/FreeRTOS-Kernel/pull/435 (#768)

Add tests to cover https://github.com/FreeRTOS/FreeRTOS-Kernel/pull/435

This ensures that the coverage does not go down with the PR
https://github.com/FreeRTOS/FreeRTOS-Kernel/pull/435.

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>

* Add tests to increase queue code coverage (#770)

These tests cover the following portion in the queue code:

static void prvUnlockQueue( Queue_t * const pxQueue )
{
    ...

    if( prvNotifyQueueSetContainer( pxQueue ) != pdFALSE )
    {
        /* The queue is a member of a queue set, and posting to
            * the queue set caused a higher priority task to unblock.
            * A context switch is required. */
        vTaskMissedYield();
    }
    else
    {
        mtCOVERAGE_TEST_MARKER();
    }

    ...
}

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>

* Update FreeRTOS-Kernel submodule pointer (#771)

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>

* Add new names to spell check dictionary (#772)

* Return error if invalid input detected in transport layer (Send/Recv) (#773)

* return error if invalid input detected in transport layer

* Create mqtt_pkcs11_demo_helpers for AWS demos (#769)

* Create mqtt_pkcs11_demo_helpers by modifying mqtt_demo_helpers

* Update formatting and variable naming

* Fix multi-line parameter formatting

* Update file headers to match latest release version

* GCC/Rx100 Demo project files update to e2 Studio v8 (#776)

* Upgrade GCC project files for e2 studio v7.8.0 in Demo/RX100-RSK_GCC_e2studio folder

* Update Demo project file to e2 Studio v8 and remove the .bat file.

* Update the choice of toolchain version.

* Update the link in file header.

Co-authored-by: NoMaY (a user of Japan.RenesasRulz.com) <NoMaY-jp@outlook.com>

* Update FreeRTOS-Cellular-Interface submodule pointer (#775)

* Update cellular sub-module pointer
* Add more log in cellular_setup.c to indicate error
* Adjust cellular transport timeout value for demo application
* Add default cellular module specific config in cellular_config.h

* Create separate demo_cleanup.py file

* Move setup items to DemoSetup folder

* Add demo_config.h setup to the demo_setup.py script

* Modify error logging on demo_setup.py

* Add file cleanup to demo_cleanup.py

* Rename convert_pem_to_der.py to convert_credentials_to_der.py

* Adjust comment wording on demo_cleanup.py

* Adjust comment wording on demo_config.h

* Format files and reduce code redundancy

* Update lexicon.txt

* Remove preconfigured fields from demo_config,h

* Update convert_credentials_to_der.py

Co-authored-by: Archit Gupta <71798289+archigup@users.noreply.github.com>

* Make python files executable

Co-authored-by: Joseph Julicher <jjulicher@mac.com>
Co-authored-by: Gaurav-Aggarwal-AWS <33462878+aggarg@users.noreply.github.com>
Co-authored-by: Ravishankar Bhagavandas <bhagavar@amazon.com>
Co-authored-by: ActoryOu <jay2002824@gmail.com>
Co-authored-by: Ming Yue <mingyue86010@gmail.com>
Co-authored-by: NoMaY (a user of Japan.RenesasRulz.com) <NoMaY-jp@outlook.com>
Co-authored-by: chinglee-iot <61685396+chinglee-iot@users.noreply.github.com>
Co-authored-by: Archit Gupta <71798289+archigup@users.noreply.github.com>
2022-07-20 13:35:59 -07:00
chinglee-iot
5a2c56bf9c
Cancel all command when MQTT command failed (#814)
* Use MQTT Agent provided API, MQTTAgent_CancelAll, to clear queue when
  MQTT command failed.
2022-05-17 08:37:37 +08:00
RichardBarry
da3a1371db
Fix mpu simulator demo (#805)
* All for the Demo/Cortex_MPU_Simulator_Keil_GCC GCC demo:
+ Update the linker script so the project builds now the heap is part of the privileged data.
+ Add simulator.ini to setup the simulator memory map when the debugger starts to prevent invalid access errors.
+ Set configENFORCE_SYSTEM_CALLS_FROM_KERNEL_ONLY to 1 in FreeRTOSConfig.h, then fix up resultant build errors.
+ Set configALLOW_UNPRIVILEGED_CRITICAL_SECTIONS to 0 in FreeRTOSConfig.h, then fix up resultant build errors.

* Fix compiler warning in Arm startup file.

* Update comments in the file headers to pass the git checkin tests.

* Update header comments to pass git checkin tests.

* Second attempt to get file header comments correct for the check-in tests.

* Third attempt to get the header comments correct.

* Fix spelling.

* Fix manifest check

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>

Co-authored-by: none <>
Co-authored-by: Gaurav Aggarwal <aggarg@amazon.com>
2022-04-05 10:09:56 +05:30
Muneeb Ahmed
c75769438a
Update coreHTTP submodule for llhttp (#803)
* Use dev branch of coreHTTP

* Update included http parser source files
2022-03-14 16:16:16 -07:00
Aniruddha Kanhere
07c7ba7aa9
Remove deprecated macro (ipconfigRAND32) references (#781)
* Remove ipconfigRAND32 referances from demos

* Fix license header
2022-01-31 11:18:55 -08:00
chinglee-iot
1ce4d784cc
Update FreeRTOS-Cellular-Interface submodule pointer (#775)
* Update cellular sub-module pointer
* Add more log in cellular_setup.c to indicate error
* Adjust cellular transport timeout value for demo application
* Add default cellular module specific config in cellular_config.h
2022-01-14 17:53:05 +08:00
johnrhen
348ebbcbf1
Create mqtt_pkcs11_demo_helpers for AWS demos (#769)
* Create mqtt_pkcs11_demo_helpers by modifying mqtt_demo_helpers

* Update formatting and variable naming

* Fix multi-line parameter formatting

* Update file headers to match latest release version
2022-01-11 11:34:39 -08:00
ActoryOu
9b27a5de4e
Return error if invalid input detected in transport layer (Send/Recv) (#773)
* return error if invalid input detected in transport layer
2022-01-11 11:08:43 +08:00
johnrhen
4e450d39d4
Update Fleet Provisioning Demo comments (#762) 2022-01-03 12:12:21 -08:00
johnrhen
43defa566c
Apply release changes to main branch (#759)
* Update History.txt and README.md for December release (#744)

* Update History.txt and README.md for release

* Bump mbedtls submodule to v2.28.0 (#745)

* Patch project files for mbedtls (#751)

* Apply group 1 patches

* Apply patches for group 2

* Update project files for mbedTLS new version

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>

* Fix warnings in projects

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>

* Fix warnings in HTTP_S3_Download demo

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>

Co-authored-by: Gaurav Aggarwal <aggarg@amazon.com>

* Update changelog and history for corePKCS11 update (#752)

* Update submodule pointer and manifest.yml for corePKCS11 (#754)

* Update readme and history.txt to show that Sigv4 is a newly added library (#756)

* Revert update to v143 of VS toolset (#757)

* [AUTO][RELEASE]: Bump file header version to "202112.00"

* Update file headers to satisfy core checks

Co-authored-by: Muneeb Ahmed <54290492+muneebahmed10@users.noreply.github.com>
Co-authored-by: Gaurav Aggarwal <aggarg@amazon.com>
Co-authored-by: johnrhen <johnrhen@users.noreply.github.com>
2021-12-23 10:16:27 -08:00
Bhaumik Jain
b44f5932fe
update submodule pointer in P3 (#737) 2021-12-16 10:44:25 -08:00
chinglee-iot
8f5740a67c
Update the submodule pointer of FreeRTOS-Cellular-Interface (#739)
* Update manifest and submodule pointer of FreeRTOS-Cellular-Interface
2021-12-16 10:43:24 -08:00
Oscar Michael Abrina
3da495ccf8
Update sigv4 submodule pointer to latest release tag (#735)
* Update sigv4 submodule pointer to latest release tag

* Update manifest.yml sigv4 entry to v1.1.0
2021-12-15 17:55:52 -08:00
johnrhen
eefc603422
Update fleet provisioning submodule and pointer to release tag (#736) 2021-12-15 16:39:52 -08:00
johnrhen
92c5f8fe50
Add default Claim template to fleet provisioning example (#734) 2021-12-14 15:29:10 -08:00
Aniruddha Kanhere
65fd843787
Update the submodule pointer of FreeRTOS+TCP (#733)
* Update manifest and submodule pointer of TCP

* Update TCP submodule pointer and manifest
2021-12-14 15:22:13 -08:00
johnrhen
56394747d4
Add default thing policy name to Fleet Provisioning example template (#732)
* Add default thing policy name to the example template

* Rename default Thing policy
2021-12-14 13:11:03 -08:00
johnrhen
a727061dc2
Create example IoT Thing policy (#731)
* Create example claim policy and update formatting on previous examples

* Add trailing linebreak
2021-12-14 11:31:41 -08:00
Bhaumik Jain
4610b37ade
Update server root CA certificate (#730)
* update server root CA certificate for http demo

* update comments
2021-12-13 10:37:24 -08:00
johnrhen
c1266ddb60
Port the AWS Fleet Provisioning demo from the CSDK (#724)
* Add fleet provisioning and tinycbor submodules

* Copy demo files from FP in CSDK and the Defender Demo

* Modify FP demo files to function in FreeRTOS

* Update styling and formatting of demo files to match FreeRTOS conventions

Co-authored-by: Archit Gupta <71798289+archigup@users.noreply.github.com>
2021-12-08 13:17:00 -08:00