]> git.sur5r.net Git - freertos/log
freertos
5 years agoRemove unnecessary include path from the MQTT demo.
rtel [Wed, 24 Jul 2019 02:01:43 +0000 (02:01 +0000)]
Remove unnecessary include path from the MQTT demo.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2706 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

5 years agoCosmetic changes in the MQTT demo - mostly comment updates.
gaurav-aws [Wed, 24 Jul 2019 01:29:01 +0000 (01:29 +0000)]
Cosmetic changes in the MQTT demo - mostly comment updates.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2705 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

5 years agoContinued to work on the MQTT demo project.
rtel [Wed, 24 Jul 2019 00:27:14 +0000 (00:27 +0000)]
Continued to work on the MQTT demo project.
A few review comments added into the MQTT implementation.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2704 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

5 years agoRemove the simple UDP client/server tasks from the MQTT demo as the demo's network...
rtel [Tue, 23 Jul 2019 19:23:12 +0000 (19:23 +0000)]
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.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2703 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

5 years agoCosmetic changes in the MQTT demo
gaurav-aws [Tue, 23 Jul 2019 18:20:06 +0000 (18:20 +0000)]
Cosmetic changes in the MQTT demo

- Fix warnings in the MQTT code.
- Update comments in the iot_config.h.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2702 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

5 years agoReduce warning level in Visual Studio project as it generates lots of warnings in...
rtel [Tue, 23 Jul 2019 17:30:18 +0000 (17:30 +0000)]
Reduce warning level in Visual Studio project as it generates lots of warnings in the library files.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2701 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

5 years agoRevert a couple of changes in Win32 demo that should not have been checked in.
rtel [Tue, 23 Jul 2019 17:02:59 +0000 (17:02 +0000)]
Revert a couple of changes in Win32 demo that should not have been checked in.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2700 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

5 years agoRemove dependency on secure sockets
gaurav-aws [Tue, 23 Jul 2019 06:55:54 +0000 (06:55 +0000)]
Remove dependency on secure sockets

Network interface implementation for FreeRTOS now directly calls into
FreeRTOS+TCP instead of going via secure sockets.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2699 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

5 years agoRemove IotMqtt_Assert( pTaskPool == IOT_SYSTEM_TASKPOOL ) from MQTT code
gaurav-aws [Tue, 23 Jul 2019 04:49:24 +0000 (04:49 +0000)]
Remove IotMqtt_Assert( pTaskPool == IOT_SYSTEM_TASKPOOL ) from MQTT code

The cut down version of the task pool has only one task pool, namely,
system task pool. All the task pool API functions accept NULL as a
valid parameter for IotTaskPool_t and use the system task pool when
NULL is passed for the system task pool.

IOT_SYSTEM_TASKPOOL is defined to NULL to use system task pool and
therefore the above assert is no longer valid.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2698 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

5 years agoUpdate projects to use the new directory name
gaurav-aws [Tue, 23 Jul 2019 04:16:32 +0000 (04:16 +0000)]
Update projects to use the new directory name

IotTaskPool_GetSystemTaskPool has been removed from the cut down version
of the task pool. define IOT_SYSTEM_TASKPOOL to NULL so that the MQTT library
builds successfully.

Use the new #defines in the iot_config.h.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2697 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

5 years agoRename \FreeRTOS-Plus\Source\FreeRTOS-Plus-IoT-SDK to \FreeRTOS-Plus\Source\FreeRTOS...
gaurav-aws [Tue, 23 Jul 2019 03:41:27 +0000 (03:41 +0000)]
Rename \FreeRTOS-Plus\Source\FreeRTOS-Plus-IoT-SDK to \FreeRTOS-Plus\Source\FreeRTOS-IoT-Libraries.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2696 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

5 years agoUpdate task pool so tasks and timer are allocated statically.
rtel [Tue, 23 Jul 2019 01:46:59 +0000 (01:46 +0000)]
Update task pool so tasks and timer are allocated statically.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2695 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

5 years agoAnother backup check-in during process of optimising task pool for FreeRTOS. This...
rtel [Tue, 23 Jul 2019 00:00:37 +0000 (00:00 +0000)]
Another backup check-in during process of optimising task pool for FreeRTOS.  This checkin is prior to making the task pool statically allocated.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2694 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

5 years agoBackup checking on - part way through optimising task pool.
rtel [Mon, 22 Jul 2019 21:46:13 +0000 (21:46 +0000)]
Backup checking on - part way through optimising task pool.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2693 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

5 years agoFix DNS resolution failure for test.mosquitto.org
gaurav-aws [Mon, 22 Jul 2019 18:27:45 +0000 (18:27 +0000)]
Fix DNS resolution failure for test.mosquitto.org

The DNS cache entry size was not big enough to fit the DNS name and
as a result the DNS reply parsing code returned error. Increased the
size of the entry to ensure that the DNS name can fit in.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2692 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

5 years agoThe MQTT example now works with the local MQTT broker.
gaurav-aws [Sun, 21 Jul 2019 23:26:54 +0000 (23:26 +0000)]
The MQTT example now works with the local MQTT broker.

It still needs to be tested with the public mosquitto broker.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2691 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

5 years agoAdd first draft of mqtt example
gaurav-aws [Sun, 21 Jul 2019 22:14:13 +0000 (22:14 +0000)]
Add first draft of mqtt example

Note that it is still work in progress and not working as of now.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2690 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

5 years agoAdd the files from the MQTT project that were not check in.
rtel [Fri, 19 Jul 2019 01:39:42 +0000 (01:39 +0000)]
Add the files from the MQTT project that were not check in.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2689 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

5 years agoAdd missing files so base MQTT project builds.
rtel [Fri, 19 Jul 2019 00:37:33 +0000 (00:37 +0000)]
Add missing files so base MQTT project builds.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2688 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

5 years agoUpdate the task pool demo to show re-use of recyclable jobs
gaurav-aws [Fri, 19 Jul 2019 00:02:45 +0000 (00:02 +0000)]
Update the task pool demo to show re-use of recyclable jobs

The example now creates a recyclable job, schedules it and returns it
back to the task pool when it is done. It then again creates a
recyclable job and ensures that the task pool the same job present
it its cache.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2687 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

5 years agoAdded simple UDP demo into the mqtt project to enable the network connectivity to...
rtel [Wed, 17 Jul 2019 20:50:15 +0000 (20:50 +0000)]
Added simple UDP demo into the mqtt project to enable the network connectivity to be tested in a simple way prior to performing any MQTT operations.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2686 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

5 years agoAdd MQTT project that builds on the task pool project - currently the library is...
rtel [Wed, 17 Jul 2019 19:44:13 +0000 (19:44 +0000)]
Add MQTT project that builds on the task pool project - currently the library is building but not being used.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2685 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

5 years agoRename the FreeRTOS_Plus_IoT_SDK directory to FreeRTOS_IoT_Libraries.
rtel [Tue, 16 Jul 2019 18:21:42 +0000 (18:21 +0000)]
Rename the FreeRTOS_Plus_IoT_SDK directory to FreeRTOS_IoT_Libraries.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2684 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

5 years agoFunction rename in task pool demo.
rtel [Tue, 16 Jul 2019 18:19:44 +0000 (18:19 +0000)]
Function rename in task pool demo.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2683 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

5 years agoRemove any TCP/IP functionality from the task pool demo - the TCP/IP stack is still...
rtel [Sun, 14 Jul 2019 23:33:05 +0000 (23:33 +0000)]
Remove any TCP/IP functionality from the task pool demo - the TCP/IP stack is still built as it will be used in later revisions.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2682 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

5 years agoUpdate TCP/IP tack to latest form Git.
rtel [Sun, 14 Jul 2019 22:07:41 +0000 (22:07 +0000)]
Update TCP/IP tack to latest form Git.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2681 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

5 years agoSynch IoT libraries with latest versions.
rtel [Sun, 14 Jul 2019 19:29:16 +0000 (19:29 +0000)]
Synch IoT libraries with latest versions.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2680 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

5 years agoNew MSVC task pool demo now building both the task pool and TCP libraries.
rtel [Sun, 14 Jul 2019 19:13:51 +0000 (19:13 +0000)]
New MSVC task pool demo now building both the task pool and TCP libraries.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2679 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

5 years agoRename the task pool version of FreeRTOS_Plus_TCP_Minimal.sln to task_pool_demo.sln.
rtel [Sun, 14 Jul 2019 18:04:40 +0000 (18:04 +0000)]
Rename the task pool version of FreeRTOS_Plus_TCP_Minimal.sln to task_pool_demo.sln.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2678 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

5 years agoRestart the task pool demo, this time using the minimal FreeRTOS+TCP project as a...
rtel [Sun, 14 Jul 2019 18:01:57 +0000 (18:01 +0000)]
Restart the task pool demo, this time using the minimal FreeRTOS+TCP project as a base.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2677 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

5 years agoMinor modification to the WIn32 simple TCP/IP stack example only.
rtel [Sun, 14 Jul 2019 16:06:31 +0000 (16:06 +0000)]
Minor modification to the WIn32 simple TCP/IP stack example only.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2676 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

5 years agoOnly partially implemented and may get reverted - updates to the Win32 port that...
rtel [Fri, 12 Jul 2019 01:52:22 +0000 (01:52 +0000)]
Only partially implemented and  may get reverted - updates to the Win32 port that uses a per-task event to prevent the task proceeding past its yield point if the SuspendThread() call used to stop the task does not take effect immediately.  This is intended to fix issues reported by users, although we have been unable to replicate them ourselves.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2675 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

5 years agoRemove IotTaskPool_CreateRecyclableSystemJob() and IotTaskPool_ScheduleSystemJob...
rtel [Mon, 8 Jul 2019 15:48:21 +0000 (15:48 +0000)]
Remove IotTaskPool_CreateRecyclableSystemJob() and IotTaskPool_ScheduleSystemJob() again, which were intended to be alternative APIs that only access the system task pool, and instead update IotTaskPool_CreateRecyclableJob() and IotTaskPool_ScheduleJob() to allow the parameter used to pass in the task pool handle to be NULL if the system task pool is the only one available.
Update the task pool demo app to include a lot more functionality.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2674 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

5 years agoExercise the new vPortGetHeapStats() function from the Win32 demo projects.
rtel [Fri, 5 Jul 2019 20:21:59 +0000 (20:21 +0000)]
Exercise the new vPortGetHeapStats() function from the Win32 demo projects.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2673 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

5 years agoAdd link to dual core blog post into STM32H745I demo.
rtel [Thu, 4 Jul 2019 21:18:36 +0000 (21:18 +0000)]
Add link to dual core blog post into STM32H745I demo.
Doxygen corrections in list.h.
Use #error to check FreeRTOS.h is included before message_buffer.h and stream_buffer.h.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2672 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

5 years agoAdd vPortGetHeapStats() function to query heap statistics.
rtel [Thu, 4 Jul 2019 19:34:48 +0000 (19:34 +0000)]
Add vPortGetHeapStats() function to query heap statistics.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2671 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

5 years agoOnly check once before re-setting ready priority
gaurav-aws [Wed, 3 Jul 2019 00:08:16 +0000 (00:08 +0000)]
Only check once before re-setting ready priority

The macro taskRESET_READY_PRIORITY checks if the task being removed from the
ready list is the last one and only then resets the top ready priority
by calling portRESET_READY_PRIORITY. If we already know that it is the
last ready task being removed then there is no need to perform the check
again and the macro portRESET_READY_PRIORITY can be called directly. We were
doing the unnecessary check at two places and this commit fixes them.

This commit also increases the time period of check task to ensure that all
the demo tasks get a chance to run before the check is performed.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2670 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

5 years agoUse ARMCM33_DSP_FP_TZ_config.txt which comes with the MDS installation
gaurav-aws [Tue, 2 Jul 2019 18:47:36 +0000 (18:47 +0000)]
Use ARMCM33_DSP_FP_TZ_config.txt which comes with the MDS installation

We had a copy of ARMCM33_DSP_FP_TZ_config.txt file within the project directory
and it used to get outdated with each release of MDK because of non-backward
compatible changes in MDK. This change removes the copy in the project and
instead uses the one shipped with the MDK installation.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2669 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

5 years agoIn small FreeRTOS applications it is unlikely there will be any task pools other...
rtel [Mon, 1 Jul 2019 17:05:20 +0000 (17:05 +0000)]
In small FreeRTOS applications it is unlikely there will be any task pools other than the system task pool.  IotTaskPool_CreateRecyclableSystemJob() is therefore introduced to complement IotTaskPool_CreateRecyclableJob() that does not require the handle of the target task pool to be specified as a parameter.  Likewise IotTaskPool_ScheduleSystemJob() is introduced to complement IotTaskPool_ScheduleJob() for the same reason.
IotTaskPool_CreateSystemTaskPool() calls synchronisation primitives, so cannot be called before the scheduler starts.  Add a configASSERT() to ensure the scheduler is running when it executes.
IotTaskPool_CreateSystemTaskPool() can conceivably be called from multiple different libraries that depend on the thread pool.  In this version _IotSystemTaskPool.running can be used to check the system task pool has not already been created.  If the task pool has been created simply return from IotTaskPool_CreateSystemTaskPool() instead of re-creating it (which would leak memory and leave orphaned tasks).
Call taskENTER_CRITICAL() and taskEXIT_CRITICAL() directly in place of mapping them to TASKPOOL_ENTER_CRITICAL() and TASKPOOL_EXIT_CRITICAL() in the same file.
Rename _timerThread() _timerCallback(), as it is a callback function and not a thread.
Remove the unused flags parameter from _scheduleInternal().

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2668 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

5 years agoAdd the first and most basic task pool example.
rtel [Fri, 28 Jun 2019 23:20:52 +0000 (23:20 +0000)]
Add the first and most basic task pool example.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2667 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

5 years agoCreate a project that builds a subset of the dependencies of the IoT SDK that have...
rtel [Wed, 19 Jun 2019 18:42:58 +0000 (18:42 +0000)]
Create a project that builds a subset of the dependencies of the IoT SDK that have been brought into SVN thus far.  The application does nothing other than build at this time.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2666 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

5 years agoBring in a minimum subset of the IoT SDK - at this time just a subset of the library...
rtel [Wed, 19 Jun 2019 18:41:21 +0000 (18:41 +0000)]
Bring in a minimum subset of the IoT SDK - at this time just a subset of the library dependencies rather than the libraries themselves.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2665 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

5 years agoAdded additional xMessageBufferSpacesAvailable() (plural) to existing xMessageBufferS... V10.2.1
rtel [Mon, 13 May 2019 03:14:05 +0000 (03:14 +0000)]
Added additional xMessageBufferSpacesAvailable() (plural) to existing xMessageBufferSpaceAvailable() (singular) macro as the documentation muddled both.
Added #define portPOINTER_SIZE_TYPE  uint64_t to the 64-bit RISC-V port layer.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2663 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

5 years agoUpdate version number ready for next release.
rtel [Sat, 11 May 2019 01:47:37 +0000 (01:47 +0000)]
Update version number ready for next release.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2662 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

5 years agoDelete the Release configuration from the NXP project.
gaurav-aws [Sat, 11 May 2019 00:53:34 +0000 (00:53 +0000)]
Delete the Release configuration from the NXP project.

Also, some cosmetic changes.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2661 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

5 years agoRemoving obsolete code and files only.
rtel [Fri, 10 May 2019 22:19:18 +0000 (22:19 +0000)]
Removing obsolete code and files only.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2660 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

5 years agoAdd M7/M4 AMP demo.
rtel [Fri, 10 May 2019 18:25:10 +0000 (18:25 +0000)]
Add M7/M4 AMP demo.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2659 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

5 years agoAdd NXP libs needed to build the project
gaurav-aws [Thu, 9 May 2019 22:27:44 +0000 (22:27 +0000)]
Add NXP libs needed to build the project

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2658 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

5 years agoDelete the not needed file missed in last commit
gaurav-aws [Thu, 9 May 2019 22:09:12 +0000 (22:09 +0000)]
Delete the not needed file missed in last commit

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2657 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

5 years agoDo not strip required symbols when LTO is on
gaurav-aws [Thu, 9 May 2019 22:04:29 +0000 (22:04 +0000)]
Do not strip required symbols when LTO is on

Link time optimization was stripping off some symbols which were
accessed from assembly code.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2656 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

5 years agoEnsure that fault handlers are declared naked.
gaurav-aws [Sun, 5 May 2019 02:26:42 +0000 (02:26 +0000)]
Ensure that fault handlers are declared naked.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2655 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

5 years agoAdd ARMv8M demo project for NXP LPC55S69.
gaurav-aws [Sun, 5 May 2019 02:15:55 +0000 (02:15 +0000)]
Add ARMv8M demo project for NXP LPC55S69.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2654 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

5 years agoAdd Cortex M23 GCC and IAR ports. Add demo projects for Nuvoton NuMaker-PFM-2351.
gaurav-aws [Thu, 2 May 2019 21:08:28 +0000 (21:08 +0000)]
Add Cortex M23 GCC and IAR ports. Add demo projects for Nuvoton NuMaker-PFM-2351.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2653 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

5 years agoBasic 64-bit RISC-V port now functional. RISC-V port layer automatically switches...
rtel [Mon, 29 Apr 2019 00:57:14 +0000 (00:57 +0000)]
Basic 64-bit RISC-V port now functional.  RISC-V port layer automatically switches between 32-bit and 64-bit.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2652 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

5 years agoAdded portMEMORY_BARRIER() implemented as __asm volatile( "" ::: "memory" ) into...
rtel [Thu, 25 Apr 2019 19:49:50 +0000 (19:49 +0000)]
Added portMEMORY_BARRIER() implemented as __asm volatile( "" ::: "memory" ) into ARM Cortex-M33 ports to assist with link time optimisation.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2651 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

5 years agoAdded portMEMORY_BARRIER() implemented as __asm volatile( "" ::: "memory" ) into...
rtel [Sun, 21 Apr 2019 20:15:34 +0000 (20:15 +0000)]
Added portMEMORY_BARRIER() implemented as __asm volatile( "" ::: "memory" ) into ARM GCC ports to assist with link time optimisation.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2650 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

5 years agoFix potential memory leak in the Win32 FreeRTOS+TCP network interface initialisation...
rtel [Wed, 17 Apr 2019 17:16:04 +0000 (17:16 +0000)]
Fix potential memory leak in the Win32 FreeRTOS+TCP network interface initialisation sequence.
Introduce portMEMORY_BARRIER() macro to assist with memory access ordering when suspending the scheduler if link time optimization is used.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2649 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

5 years agoExport port architecture name for COrtex-M33. This can be used by debuggers to find...
gaurav-aws [Thu, 28 Mar 2019 00:00:46 +0000 (00:00 +0000)]
Export port architecture name for COrtex-M33. This can be used by debuggers to find the port in-use to be able to correctly decode the context stored on the stack.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2648 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

5 years agoFix spelling of priority in comments.
gaurav-aws [Mon, 18 Mar 2019 23:28:03 +0000 (23:28 +0000)]
Fix spelling of priority in comments.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2647 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

5 years agoFix warning portHAS_STACK_OVERFLOW_CHECKING not defined
gaurav-aws [Wed, 13 Mar 2019 21:10:44 +0000 (21:10 +0000)]
Fix warning portHAS_STACK_OVERFLOW_CHECKING not defined

portHAS_STACK_OVERFLOW_CHECKING was getting defined too late before
being used in portable.h for the platforms that do not have stack
overflow checking registers. This commit ensures that it is defined
before it is used.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2646 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

5 years agoCorrecting spelling mistakes in comments only.
rtel [Fri, 8 Mar 2019 17:30:49 +0000 (17:30 +0000)]
Correcting spelling mistakes in comments only.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2645 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

5 years agoPrepare the RISC-V port layer for addition of 64-bit port.
rtel [Fri, 8 Mar 2019 17:03:43 +0000 (17:03 +0000)]
Prepare the RISC-V port layer for addition of 64-bit port.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2644 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

5 years agoUpdate version number in +TCP code. V10.2.0
rtel [Thu, 21 Feb 2019 18:08:36 +0000 (18:08 +0000)]
Update version number in +TCP code.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2642 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

5 years agoChange type of usStackDepth to configSTACK_DEPTH_TYPE.
gaurav-aws [Thu, 21 Feb 2019 03:25:30 +0000 (03:25 +0000)]
Change type of usStackDepth to configSTACK_DEPTH_TYPE.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2641 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

5 years agoFix Build and Links failure in MPU projects. Minor cosmetic changes in some V8M files.
gaurav-aws [Wed, 20 Feb 2019 20:27:07 +0000 (20:27 +0000)]
Fix Build and Links failure in MPU projects. Minor cosmetic changes in some V8M files.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2640 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

5 years agoAdd instructions on building the Cortex-M33 secure and non secure projects into the...
rtel [Wed, 20 Feb 2019 17:55:59 +0000 (17:55 +0000)]
Add instructions on building the Cortex-M33 secure and non secure projects into the comments of that project and into a readme.txt file.
Enable configUSE_LIST_DATA_INTEGRITY_CHECK_BYTES setting to be used in statically allocated systems.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2639 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

5 years agoSet default value of configRUN_FREERTOS_SECURE_ONLY to 0.
gaurav-aws [Wed, 20 Feb 2019 00:40:46 +0000 (00:40 +0000)]
Set default value of configRUN_FREERTOS_SECURE_ONLY to 0.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2638 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

5 years agoAdd support for running FreeRTOS on Secure Side only in Cortex M33 port. Also, change...
gaurav-aws [Wed, 20 Feb 2019 00:25:45 +0000 (00:25 +0000)]
Add support for running FreeRTOS on Secure Side only in Cortex M33 port. Also, change spaces to tabs.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2637 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

5 years agoUpdate the common demo death.c to use the updated macro name to give it a secure...
rtel [Tue, 19 Feb 2019 02:57:44 +0000 (02:57 +0000)]
Update the common demo death.c to use the updated macro name to give it a secure context.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2636 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

5 years agoFirst Official Release of ARMV8M Support. This release removes Pre-Release from all...
gaurav-aws [Tue, 19 Feb 2019 02:30:32 +0000 (02:30 +0000)]
First Official Release of ARMV8M Support. This release removes Pre-Release from all the ARMv8M files licensees.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2635 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

5 years agoUpdate version number in readiness for V10.2.0 release.
rtel [Sun, 17 Feb 2019 22:36:16 +0000 (22:36 +0000)]
Update version number in readiness for V10.2.0 release.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2634 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

5 years agoSync the Renesas port to AFR Git Repo
gaurav-aws [Sun, 17 Feb 2019 01:27:16 +0000 (01:27 +0000)]
Sync the Renesas port to AFR Git Repo

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2633 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

5 years agoFix definition of tskSTATIC_AND_DYNAMIC_ALLOCATION_POSSIBLE
gaurav-aws [Sun, 17 Feb 2019 01:24:58 +0000 (01:24 +0000)]
Fix definition of tskSTATIC_AND_DYNAMIC_ALLOCATION_POSSIBLE

tskSTATIC_AND_DYNAMIC_ALLOCATION_POSSIBLE was not correctly defined resulting in
dynamically allocated TCB not being freed when MPU was enabled. This commit fixes
the definition to ensure that dynamically allocated RAM (Stack and TCB) is freed
always.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2632 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

5 years agoFix build failure when dynamic allocation is not enabled.
gaurav-aws [Sat, 16 Feb 2019 20:21:47 +0000 (20:21 +0000)]
Fix build failure when dynamic allocation is not enabled.

When dynamic allocation is not enabled, vPortFree is not available. The current code used
vPortFree and this resulted in linker error. This commit removes the use of vPortFree when
dynamic allocation is not enabled.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2631 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

5 years agoReplace the pdf RISC-V documentation with links to the documentation web pages.
rtel [Sat, 16 Feb 2019 01:15:33 +0000 (01:15 +0000)]
Replace the pdf RISC-V documentation with links to the documentation web pages.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2630 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

5 years agoFix bug in core_cm3.c atomic macros.
rtel [Sat, 16 Feb 2019 01:08:38 +0000 (01:08 +0000)]
Fix bug in core_cm3.c atomic macros.
Rename the portable/GCC/RISC-V-RV32 directory to just RISC-V as also adding support for 64-bit cores.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2629 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

5 years agoAdd Dornerworks attribution to makefiles that build the Freedom Studio RISC-V project.
rtel [Tue, 12 Feb 2019 02:43:28 +0000 (02:43 +0000)]
Add Dornerworks attribution to makefiles that build the Freedom Studio RISC-V project.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2628 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

5 years agoAdd makefiles that build the FreedomStudio project (provided by Dornerworks - thanks).
rtel [Mon, 11 Feb 2019 19:44:13 +0000 (19:44 +0000)]
Add makefiles that build the FreedomStudio project (provided by Dornerworks - thanks).

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2627 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

5 years agoEnsure eTaskGetState() is brought in automatically if INCLUDE_xTaskAbortDelay is...
rtel [Fri, 8 Feb 2019 01:18:08 +0000 (01:18 +0000)]
Ensure eTaskGetState() is brought in automatically if INCLUDE_xTaskAbortDelay is set to 1, as it is a dependency of eTaskGetState().
Added the portTASK_FUNCTION_PROTO macros around the timer task, as the macros are already used by the idle task.
Add a PDF of the RISC-V documentation into the repo as the web page is not yet live.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2626 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

5 years agoAdd xTaskGetIdleRunTimeCounter() API function to return the run time stats counter...
rtel [Mon, 21 Jan 2019 23:39:48 +0000 (23:39 +0000)]
Add xTaskGetIdleRunTimeCounter() API function to return the run time stats counter for the idle task - useful for POSIX time implementations.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2625 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

5 years agoCopyright updates from Cadence.
gaurav-aws [Wed, 16 Jan 2019 19:01:25 +0000 (19:01 +0000)]
Copyright updates from Cadence.

https://github.com/foss-xtensa/amazon-freertos/commit/e1df8947523629c864ad80388429fe5e4d88024a

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2624 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

5 years agoUpdate main.c() for the WIN32-MingW project so the trace recorder is initialized...
rtel [Mon, 7 Jan 2019 19:40:13 +0000 (19:40 +0000)]
Update main.c() for the WIN32-MingW project so the trace recorder is initialized even when the simple blinky demo is used - otherwise the trace recorder causes an exception as it is used without first being initialized.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2623 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

5 years agoUpdate the pin mux setup on the Vega board demo to enable the LED.
rtel [Mon, 31 Dec 2018 20:14:34 +0000 (20:14 +0000)]
Update the pin mux setup on the Vega board demo to enable the LED.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2622 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

5 years agoMove the 'generic' version of freertos_risc_v_chip_specific_extensions.h back to...
rtel [Mon, 31 Dec 2018 18:19:52 +0000 (18:19 +0000)]
Move the 'generic' version of freertos_risc_v_chip_specific_extensions.h back to a sub-directory as having it in the RISC-V port's base directory was causing SoftConsole to pick up the wrong version (for an unknown reason).
Add a project for the Vega board's RI5CY core.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2621 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

5 years agoRe-org of RISC-V file structure and naming step 2.
rtel [Sun, 30 Dec 2018 23:53:47 +0000 (23:53 +0000)]
Re-org of RISC-V file structure and naming step 2.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2620 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

5 years agoRe-org of RISC-V file structure and naming step 1.
rtel [Sun, 30 Dec 2018 23:20:26 +0000 (23:20 +0000)]
Re-org of RISC-V file structure and naming step 1.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2619 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

5 years agoCreate folder to hold RISC-V chip specific extensions.
rtel [Sun, 30 Dec 2018 23:15:37 +0000 (23:15 +0000)]
Create folder to hold RISC-V chip specific extensions.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2618 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

5 years agoUpdate RSIC-V port layer after testing saving and receiving of chip specific registers.
rtel [Sun, 30 Dec 2018 23:11:40 +0000 (23:11 +0000)]
Update RSIC-V port layer after testing saving and receiving of chip specific registers.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2617 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

5 years agoMove the RISC-V pxPortInitialiseStack() implementation to the assembly port file...
rtel [Sun, 30 Dec 2018 20:00:43 +0000 (20:00 +0000)]
Move the RISC-V pxPortInitialiseStack() implementation to the assembly port file from the C port file so it can have access to the number of chip specific registers it needs to save space for on the stack.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2616 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

5 years agoCorrect accidental deletion in GenQTest.c.
rtel [Fri, 28 Dec 2018 03:38:27 +0000 (03:38 +0000)]
Correct accidental deletion in GenQTest.c.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2615 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

5 years agoAllow the size of the stack used by many of the standard demo/test tasks to be overri...
rtel [Fri, 28 Dec 2018 00:44:18 +0000 (00:44 +0000)]
Allow the size of the stack used by many of the standard demo/test tasks to be overridden by FreeRTOSConfig.h settings.
Update the Freedom Studio RISC-V project so the 'full' build configuration is now functional.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2614 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

5 years agoUpdate the Freedom Studio RISC-V project so the gdbinit options are now specified...
rtel [Thu, 27 Dec 2018 04:57:49 +0000 (04:57 +0000)]
Update the Freedom Studio RISC-V project so the gdbinit options are now specified on the command line.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2613 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

5 years agoUpdate Freedom Studio RISC-V demo for the latest GCC RISC-V port - not yet tested.
rtel [Thu, 27 Dec 2018 04:34:08 +0000 (04:34 +0000)]
Update Freedom Studio RISC-V demo for the latest GCC RISC-V port - not yet tested.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2612 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

5 years agoRetarget Softconsole RISC-V demo from IGLOO2 to Renode as it can have more RAM and...
rtel [Mon, 24 Dec 2018 17:48:10 +0000 (17:48 +0000)]
Retarget Softconsole RISC-V demo from IGLOO2 to Renode as it can have more RAM and therefore have more test tasks running.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2611 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

5 years agoRename directories in the RISC-V port.
rtel [Mon, 24 Dec 2018 17:37:02 +0000 (17:37 +0000)]
Rename directories in the RISC-V port.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2610 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

5 years agoBackup Microsemi Renode project before adding a build configuration for the target...
rtel [Wed, 19 Dec 2018 02:56:13 +0000 (02:56 +0000)]
Backup Microsemi Renode project before adding a build configuration for the target hardware.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2609 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

5 years agoAdd vTimerSetReloadMode() calls to the code coverage tests.
rtel [Mon, 17 Dec 2018 23:19:23 +0000 (23:19 +0000)]
Add vTimerSetReloadMode() calls to the code coverage tests.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2608 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

5 years agoUpdate the the MPU simulator project to exercise the timer API.
rtel [Mon, 17 Dec 2018 22:06:58 +0000 (22:06 +0000)]
Update the the MPU simulator project to exercise the timer API.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2607 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

5 years agoRemove "FromISR' functions from the list of functions that switch to a privileged...
rtel [Mon, 17 Dec 2018 22:04:18 +0000 (22:04 +0000)]
Remove "FromISR' functions from the list of functions that switch to a privileged mode as IRQs are privileged already.
Add the vTimerSetReloadMode() API function.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2606 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

5 years agoUpdate RISC-V_IGLOO2_Creative_SoftConsole demo to make use of new RISC-V porting...
rtel [Mon, 17 Dec 2018 00:01:36 +0000 (00:01 +0000)]
Update RISC-V_IGLOO2_Creative_SoftConsole demo to make use of new RISC-V porting layer structure and exercise some external interrupts - all tests currently passing in Renode.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2605 1d2547de-c912-0410-9cb9-b8ca96c0e9e2