]> git.sur5r.net Git - freertos/log
freertos
9 years agoFinal V8.2.1 release ready for tagging: V8.2.1
rtel [Tue, 24 Mar 2015 15:24:49 +0000 (15:24 +0000)]
Final V8.2.1 release ready for tagging:
+ Added MSP432 (ARM Cortex-M4F MSP430!) demos for IAR, Keil and CCS.
+ Renamed directory containing demo for STM32F7 ARM Cortex-M7.
+ Renamed directory containing demo for SAMV71 ARM Cortex-M7.
+ Introduced xTaskNotifyAndQuery().

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

9 years agoUpdate version number ready for V8.2.1 release.
rtel [Sat, 21 Mar 2015 21:03:42 +0000 (21:03 +0000)]
Update version number ready for V8.2.1 release.

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

9 years agoKernel changes:
rtel [Sat, 21 Mar 2015 14:01:43 +0000 (14:01 +0000)]
Kernel changes:
Exclude the entire croutine.c file when configUSE_CO_ROUTINES is 0.

New ports:
Added Cortex-M7 IAR and Keil port layers that include a minor errata workaround r0p1 Cortex-M7 devices.
Added Cortex-M4F port layer for CCS.

New demo applications:
Added demo application for STM32F7.
Added demo application for SAMv71.

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

9 years agoMinor updates relating to formatting and comments only.
rtel [Fri, 20 Mar 2015 15:43:20 +0000 (15:43 +0000)]
Minor updates relating to formatting and comments only.

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

9 years agoMinor updates to the Microblaze KC702 demo to allow easier connection from a Telnet...
rtel [Mon, 16 Mar 2015 11:22:43 +0000 (11:22 +0000)]
Minor updates to the Microblaze KC702 demo to allow easier connection from a Telnet server.

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

9 years agoAdd networking option to the Microblaze Kintex demo.
rtel [Fri, 13 Mar 2015 15:05:09 +0000 (15:05 +0000)]
Add networking option to the Microblaze Kintex demo.

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

9 years agoWork-in-progress check in of MicroBlaze Kintex7 demo.
rtel [Tue, 10 Mar 2015 15:58:19 +0000 (15:58 +0000)]
Work-in-progress check in of MicroBlaze Kintex7 demo.

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

9 years agoKernel code:
rtel [Wed, 4 Mar 2015 17:45:18 +0000 (17:45 +0000)]
Kernel code:
+ Added mtCOVERAGE_TEST_DELAY() macro to facilitate getting better code coverage during testing.
+ Update prvNotifyQueueSetContainer() so it does not call xTaskRemoveFromEventList() if it is called from an interrupt, and the queue is locked.

Demo apps:
Added QueueSetPolling.c/h demo/test functions.

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

9 years agoCorrect typeo that broke the Win32 port.
rtel [Tue, 17 Feb 2015 14:28:10 +0000 (14:28 +0000)]
Correct typeo that broke the Win32 port.

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

9 years agoKernel updates:
rtel [Wed, 11 Feb 2015 15:41:30 +0000 (15:41 +0000)]
Kernel updates:
+ Added vTimerSetTimerID() to compliment vTimerGetTimerID().  Now the timer ID can be used as timer local storage.
+ Updated comments and added some additional assert() calls.

Win32 port:
+ Some changes to allow easier 64-bit builds

PIC24/dsPIC port:
+ Added NOP after disable interrupt instruction.

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

9 years agoKernel updates:
rtel [Mon, 26 Jan 2015 17:40:35 +0000 (17:40 +0000)]
Kernel updates:
- Add user configurable thread local storage array, with get/set access function.

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

9 years agoAdd run-time stats to the Kintex7 Microblaze demo.
rtel [Mon, 19 Jan 2015 13:34:26 +0000 (13:34 +0000)]
Add run-time stats to the Kintex7 Microblaze demo.

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

9 years agoAdd the beginnings of a Microblaze project for the KC705. V8.2.0
rtel [Fri, 16 Jan 2015 19:16:12 +0000 (19:16 +0000)]
Add the beginnings of a Microblaze project for the KC705.

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

9 years agoUpdate version number in preparation for official V8.2.0 release.
rtel [Fri, 16 Jan 2015 13:20:28 +0000 (13:20 +0000)]
Update version number in preparation for official V8.2.0 release.

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

9 years agoDemo app changes:
rtel [Thu, 15 Jan 2015 21:37:32 +0000 (21:37 +0000)]
Demo app changes:
Add a "query heap" command to the standard sample CLI commands.
Remove casting from configMAX_PRIORITIES setting in Win32 simulator demos as it was preventing a clean build.

Source code changes.
General tidy up and addition of assert points.

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

9 years agoRemove casting from configMAX_PRIORITIES setting in FAT SL / CLI demo as it was preve...
rtel [Wed, 7 Jan 2015 07:02:17 +0000 (07:02 +0000)]
Remove casting from configMAX_PRIORITIES setting in FAT SL / CLI demo as it was preventing a clean build.

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

9 years agoRelease candidate - this will be tagged as FreeRTOS V8.2.0rc1 and a zip file provided. V8.2.0rc1
rtel [Wed, 24 Dec 2014 09:40:58 +0000 (09:40 +0000)]
Release candidate - this will be tagged as FreeRTOS V8.2.0rc1 and a zip file provided.
Minor lint changes.

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

9 years agoRename SAM4E demo directory to include the 'F' in 'M4F' - minor point for the sake...
rtel [Wed, 24 Dec 2014 08:55:14 +0000 (08:55 +0000)]
Rename SAM4E demo directory to include the 'F' in 'M4F' - minor point for the sake of consistency.

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

9 years agoUpdate version numbers in preparation for V8.2.0 release candidate 1.
rtel [Sun, 21 Dec 2014 19:09:18 +0000 (19:09 +0000)]
Update version numbers in preparation for V8.2.0 release candidate 1.

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

9 years agoKernel changes:
rtel [Sun, 21 Dec 2014 10:26:36 +0000 (10:26 +0000)]
Kernel changes:
+ Made xTaskNotifyGiveFromISR() its own function, rather than a macro that calls xTaskNotifyFromISR() (minor performance improvement).
+ GCC and Keil Cortex-M4F ports now use vPortRaiseBASEPRI() in place of ulPortRaiseBASEPRI() where the return value is not required (minor performance improvement).

Demo changes:
Change the [very basic] FreeRTOS+UDP SAM4E driver to use task notifications rather than a semaphore (execution time now 55% what it was in FreeRTOS V8.1.2!).
Robustness improvements to IntQueue.c standard demo task.h.
Added the latest standard demo tasks, reg test tasks and int q  tasks to the SAM4E demo.

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

9 years agoKernel changes:
rtel [Fri, 19 Dec 2014 16:27:56 +0000 (16:27 +0000)]
Kernel changes:
+ Do not attempt to free the stack of a deleted task if the stack was statically allocated.
+ Introduce configUSE_LIST_DATA_INTEGRITY_CHECK_BYTES - which optionally writes known values into the list and list item data structures in order to assist with the detection of memory corruptions.

Microblase port:
+Change occurrences of #if XPAR_MICROBLAZE_0_USE_FPU == 1 to  #if XPAR_MICROBLAZE_0_USE_FPU != 0 as the value can also be 2 or 3.

Demo app modifications:
+ Update Zynq project to use the 2014.4 tools and add in tests for the new task notification feature.
+ Update SAM4S project to include tests for the new task notification feature.

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

9 years ago+ Update demos that use FreeRTOS+Trace to work with the latest trace recorder library.
rtel [Thu, 18 Dec 2014 11:02:15 +0000 (11:02 +0000)]
+ Update demos that use FreeRTOS+Trace to work with the latest trace recorder library.
+ Fix a few compiler warnings.
+ Add TickType_t specific critical sections so critical sections are not used when accessing the tick count in cases where the access is atomic (32-bit tick count, 32-bit architecture).

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

9 years ago+ New feature added: Task notifications.
rtel [Mon, 15 Dec 2014 14:13:03 +0000 (14:13 +0000)]
+ New feature added:  Task notifications.
+ Optimise Cortex-M4F ports by inlining some critical section macros.
+ Original ports used a #define to set the path to portmacro.h - that method has been obsolete for years and now all the old definitions have been moved into a separate header files called deprecated_definitions.h.
+ Cortex-M port now check the active vector bits against 0xff when determining if a function is called from an interrupt - previously only a subset of the bits (0x1f) were checked.
+ Add in new standard demo/test files TaskNotify.c/h and include the files in the simulator demos.
+ Update trace recorder code, and some demos to use the new version (more to do).
+ Introduce uxTaskPriorityGetFromISR().
+ Minor typo corrections.
+ Update MingW simulator demo to match the MSVC simulator demo.

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

9 years agoCore kernel code:
rtel [Wed, 15 Oct 2014 21:01:31 +0000 (21:01 +0000)]
Core kernel code:

Allow the stats formatting functions to be built in without stdio.h being included inside tasks.c.

Kernel port code:
- Slight change to the Cortex-A GIC-less port to move all non portable code to the application level.

SAMA5D4 demo project:
- Update the Atmel provided library to V1.1.
- Create a DDR build configuration.
- Ensure interrupts are all edge sensitive.
- Update the regtest code to use all 32 flop registers.

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

9 years agoDemo projects only:
rtel [Thu, 9 Oct 2014 15:42:43 +0000 (15:42 +0000)]
Demo projects only:
+ Remove some #warnings messages from the Cycle 5 - which were left in the code as reminders of tests that were not yet completed but are now.

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

9 years agoCore kernel files:
rtel [Wed, 8 Oct 2014 20:31:14 +0000 (20:31 +0000)]
Core kernel files:

+ Change how queues are allocated and deleted so only one pvPortMalloc() or vPortFree() is required in place of the previous 2.
+ Where the TCB is allocated in relation to the stack is now dependent on the stack growth direction.  The stack will not grow into the TCB.
+ Introduce the configAPPLICATION_ALLOCATED_HEAP constant to allow the application to provide the array used by heap_4.c as its heap.  This allows the application writer to use qualifiers on the array to, for example, force the memory into faster RAM.

Demo application:
+ Add demo for SAMA5D4 using IAR.

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

9 years agoMSP430 Demo projects only:
rtel [Sun, 5 Oct 2014 20:43:12 +0000 (20:43 +0000)]
MSP430 Demo projects only:
Update project format to new IAR version.

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

9 years agoDemo project only:
rtel [Wed, 1 Oct 2014 17:28:42 +0000 (17:28 +0000)]
Demo project only:
Added comprehensive demo including FreeRTOS+CLI to the Cyclone V SoC project.

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

9 years agoDemo project only: Cyclone V SoC now running from external RAM.
rtel [Wed, 1 Oct 2014 09:30:35 +0000 (09:30 +0000)]
Demo project only:  Cyclone V SoC now running from external RAM.

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

9 years agoAdded project for Altera Cyclone V SoC, currently running from internal RAM.
rtel [Tue, 30 Sep 2014 15:32:19 +0000 (15:32 +0000)]
Added project for Altera Cyclone V SoC, currently running from internal RAM.

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

9 years agoCore kernel code:
rtel [Tue, 16 Sep 2014 14:54:32 +0000 (14:54 +0000)]
Core kernel code:
+ Introduce xSemaphoreGenericGiveFromISR() as an optimisation when giving semaphores and mutexes from an interrupt.

Demo applications:
+ Update IntSemTest.c to provide more code coverage in xSemaphoreGenericGiveFromISR().
+ Ensure the MMU is turned on in the RZ IAR demo.  It was already on in the RZ ARM demo.

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

9 years agoSAM4L tickless implementation: Bug fix and update the demo project to exercise the...
rtel [Tue, 16 Sep 2014 12:24:14 +0000 (12:24 +0000)]
SAM4L tickless implementation:  Bug fix and update the demo project to exercise the fix.

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

9 years agoDemo project only:
rtel [Fri, 12 Sep 2014 11:32:47 +0000 (11:32 +0000)]
Demo project only:
Add the new IntSem test/demo code into the MSVC demo project.

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

9 years agoDemo tasks only, with the aim of improving test coverage:
rtel [Thu, 11 Sep 2014 12:06:27 +0000 (12:06 +0000)]
Demo tasks only, with the aim of improving test coverage:
+ Split out the code that uses a mutex from an interrupt from GenQTest.c and add to new common demo task IntSemTest.c.

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

9 years agoUpdate version number to 8.1.2 after moving the defaulting of configUSE_PORT_OPTIMISE... V8.1.2
rtel [Tue, 2 Sep 2014 22:39:54 +0000 (22:39 +0000)]
Update version number to 8.1.2 after moving the defaulting of configUSE_PORT_OPTIMISED_TASK_SELECTION into individual port layers so it does not affect ports that do not support the definition.

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

9 years agoDemo code only:
rtel [Tue, 2 Sep 2014 16:06:57 +0000 (16:06 +0000)]
Demo code only:
Add the IntQ standard test to the SAM4S project.

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

9 years agoCorrect potential compiler warning when configUSE_MUTEXES is set to 0. V8.1.1
rtel [Sat, 30 Aug 2014 20:18:18 +0000 (20:18 +0000)]
Correct potential compiler warning when configUSE_MUTEXES is set to 0.
Add comments.

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

9 years agoUpdate version number to 8.1.1 for patch release that re-enables mutexes to be given...
rtel [Fri, 29 Aug 2014 19:14:23 +0000 (19:14 +0000)]
Update version number to 8.1.1 for patch release that re-enables mutexes to be given from an interrupt.

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

9 years agoCore kernel code:
rtel [Fri, 29 Aug 2014 13:53:58 +0000 (13:53 +0000)]
Core kernel code:
- Re-introduce the ability to give a mutex from an ISR.

Common demo code:
- Add additional tests into the GenQTest files for priority inheritance and using a mutex from an ISR.

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

9 years agoLower the minimum stack size used by the ATSAMA5 demo. V8.1.0
rtel [Tue, 26 Aug 2014 16:53:40 +0000 (16:53 +0000)]
Lower the minimum stack size used by the ATSAMA5 demo.

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

9 years agoMinor edits prior to tagging V8.1.0.
rtel [Tue, 26 Aug 2014 16:23:09 +0000 (16:23 +0000)]
Minor edits prior to tagging V8.1.0.

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

9 years ago***IMMINENT RELEASE NOTICE***
rtel [Sat, 16 Aug 2014 20:19:40 +0000 (20:19 +0000)]
***IMMINENT RELEASE NOTICE***
Update version numbers ready for FreeRTOS V8.1.0 release in about 10 days.

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

9 years agoRemove some irrelevant CyaSSL files.
rtel [Sat, 16 Aug 2014 15:43:43 +0000 (15:43 +0000)]
Remove some irrelevant CyaSSL files.

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

9 years agoDemo application related:
rtel [Sat, 16 Aug 2014 14:29:39 +0000 (14:29 +0000)]
Demo application related:
+ Update the RZ IAR project so it targets the RZ RSK rather than custom hardware.
+ Update the RZ ARM/DS-5 project so it targets the RZ RSK rather than custom hardware.
+ Updated RX64M demos to use the new iodefine.h naming.

Cortex-A9 port related:
+ Update IAR, ARM and GCC Cortex-A9 port layers to include a 'task exit error' function which is called if a task attempts to incorrectly exit its implementing function.
+ Moved the instruction which switches into system mode out of the restore context macro, as it is only needed when starting the first task.

Core kernel files related:
+ Ensure there are no references to the mutexes held count when mutexes are excluded from the build.

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

9 years agoGeneral maintenance - changing comments and correcting spellings only.
rtel [Mon, 4 Aug 2014 07:57:18 +0000 (07:57 +0000)]
General maintenance - changing comments and correcting spellings only.

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

9 years agoCommon demo tasks:
rtel [Mon, 4 Aug 2014 07:53:20 +0000 (07:53 +0000)]
Common demo tasks:
- Add additional tests to GenQTest.c to test the updated priority inheritance mechanism.
- Slightly increase some delays in recmutex.c to prevent it reporting false errors in high load test cases.

SAMA5D3 Xplained IAR demo:
- Remove space being allocated for stacks that are not used.
- Remove explicit enabling of interrupts in ISR handers as this is now done from the central ISR callback before the individual handers are invoked.
- Reduce both the allocated heap size and the stack allocated to each task.
- Enable I cache.

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

9 years agoCortex-A5 IAR port:
rtel [Sun, 3 Aug 2014 19:15:30 +0000 (19:15 +0000)]
Cortex-A5 IAR port:
- Removed SAMA5 specifics from the port layer, and instead call a generic ISR callback as per Cortex-A9 ports.

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

9 years agoCortex-A5 IAR port baseline prior to removing all SAMA5 specifics to make it generic.:
rtel [Sun, 3 Aug 2014 18:37:58 +0000 (18:37 +0000)]
Cortex-A5 IAR port baseline prior to removing all SAMA5 specifics to make it generic.:
- Slight improvement to the save context macro.
- Remove some #warning remarks.
- Enable interrupts before calling the ISR handler rather than in the ISR handler.

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

9 years agoContinue working on the GIC-less Cortex-A5 port for IAR:
rtel [Tue, 29 Jul 2014 21:31:04 +0000 (21:31 +0000)]
Continue working on the GIC-less Cortex-A5 port for IAR:
- Add in the assert when a task attempts to exit its implementing function without deleting itself.
- Remove obsolete code from the context switch asm code (obsoleted by the fact that there is no mask register).
- Attempt to make code more generic by using definitions for additional register addresses.

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

9 years agoCarry on working on SAMA5D3 demo:
rtel [Tue, 29 Jul 2014 21:28:22 +0000 (21:28 +0000)]
Carry on working on SAMA5D3 demo:
- Add full interrupt nesting tests.
- Add additional critical section/context switching tests.
- Set interrupt priorities so everything can run at once without any software watchdog errors.
- Re-enable interrupts in each IRQ handler.
- Add in run-time stats.

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

9 years agoSAMA5D3 demo: Add CDC driver code and use CDC to create a simple command console.
rtel [Wed, 23 Jul 2014 21:07:03 +0000 (21:07 +0000)]
SAMA5D3 demo:  Add CDC driver code and use CDC to create a simple command console.

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

9 years agoUpdate CyaSSL to latest version.
rtel [Fri, 18 Jul 2014 18:54:25 +0000 (18:54 +0000)]
Update CyaSSL to latest version.

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

9 years agoRe-test Zynq demo now it is using the latest tools.
rtel [Mon, 14 Jul 2014 14:01:07 +0000 (14:01 +0000)]
Re-test Zynq demo now it is using the latest tools.

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

9 years agoAdd back Zynq demo - this time using SDK V14.2.
rtel [Mon, 14 Jul 2014 13:00:18 +0000 (13:00 +0000)]
Add back Zynq demo - this time using SDK V14.2.

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

9 years agoRemove Zynq demo project ready to recreate the project using the 14.2 version of...
rtel [Mon, 14 Jul 2014 11:46:34 +0000 (11:46 +0000)]
Remove Zynq demo project ready to recreate the project using the 14.2 version of Xilinx's SDK.

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

9 years agoAdd 'full' demo to the SAMA5 Xplained demo - but so far without interrupt nesting...
rtel [Sat, 12 Jul 2014 20:40:33 +0000 (20:40 +0000)]
Add 'full' demo to the SAMA5 Xplained demo - but so far without interrupt nesting tests or CLI.

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

9 years agoRename ARM_CAx_No_GIC ARM_CA5_No_GIC and add FreeRTOSConfig setting to specify the...
rtel [Sat, 12 Jul 2014 20:39:22 +0000 (20:39 +0000)]
Rename ARM_CAx_No_GIC ARM_CA5_No_GIC and add FreeRTOSConfig setting to specify the number of registers in the FPU unit.

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

9 years agoSAMA5D3 Xplained demo blinky running.
rtel [Sat, 12 Jul 2014 19:25:18 +0000 (19:25 +0000)]
SAMA5D3 Xplained demo blinky running.

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

9 years agoAdd new port layer for Cortex-A devices without the means to mask interrupt priorities.
rtel [Sat, 12 Jul 2014 19:21:04 +0000 (19:21 +0000)]
Add new port layer for Cortex-A devices without the means to mask interrupt priorities.

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

9 years agoStart of SAMA5D3 XPlained demo.
rtel [Wed, 9 Jul 2014 21:19:01 +0000 (21:19 +0000)]
Start of SAMA5D3 XPlained demo.

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

9 years agoMake the parameters to vPortDefineHeapRegions() const.
rtel [Fri, 4 Jul 2014 13:17:21 +0000 (13:17 +0000)]
Make the parameters to vPortDefineHeapRegions() const.
Add additional asserts to the Keil CM3 and CM4F ports (other CM3/4 ports already updated).
Add the additional yield necessitated by the mutex held count to the case when configUSE_QUEUE_SETS is 0.

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

9 years agoUpdate the MSVC simulator demo to demonstrate heap_5 allocator and pdTICKS_TO_MS...
rtel [Thu, 3 Jul 2014 16:49:29 +0000 (16:49 +0000)]
Update the MSVC simulator demo to demonstrate heap_5 allocator and pdTICKS_TO_MS macro being used.

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

9 years agoSimply some of the alignment calculations in heap_4.c to match those used in heap_5.c.
rtel [Thu, 3 Jul 2014 14:44:37 +0000 (14:44 +0000)]
Simply some of the alignment calculations in heap_4.c to match those used in heap_5.c.
Remove some apparently obsolete code from xTaskPriorityDisinherit() (a task cannot be both blocked and giving bac a mutex at the same time].
Update the new "mutex held count" increment and decrement functions to allow mutexes to be created before the scheduler is started.

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

9 years agoCheck in the portable.h version required to use heap_5.c.
rtel [Wed, 2 Jul 2014 10:20:35 +0000 (10:20 +0000)]
Check in the portable.h version required to use heap_5.c.

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

9 years agoCheck in the new memory allocator that allows the heap to span multiple blocks.
rtel [Wed, 2 Jul 2014 10:19:49 +0000 (10:19 +0000)]
Check in the new memory allocator that allows the heap to span multiple blocks.

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

9 years agoUpdate FreeRTOS+ components and demos to use typedef names introduced in FreeRTOS V8.
rtel [Fri, 20 Jun 2014 20:15:20 +0000 (20:15 +0000)]
Update FreeRTOS+ components and demos to use typedef names introduced in FreeRTOS V8.

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

9 years agoUpdate timer demo in PIC32MZ demo to remove multiple extern definition created by...
rtel [Mon, 16 Jun 2014 13:07:01 +0000 (13:07 +0000)]
Update timer demo in PIC32MZ demo to remove multiple extern definition created by adding in the macro that checks non ISR safe functions are not called from ISRs.

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

9 years agoImplementation of mutex held counting in tasks.c - needs optimisation before release.
rtel [Mon, 16 Jun 2014 12:55:50 +0000 (12:55 +0000)]
Implementation of mutex held counting in tasks.c - needs optimisation before release.

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

9 years agoDefault the definition of portASSERT_IF_IN_ISR() to nothing if it is not defined.
rtel [Mon, 16 Jun 2014 12:51:35 +0000 (12:51 +0000)]
Default the definition of portASSERT_IF_IN_ISR() to nothing if it is not defined.
Helper updates to allow a count of the number of mutexes held to be added.
Updates to the CCS Cortex-R4 implementation necessitated by a change in compiler semantics.
Update PIC32MX and MZ ports to assert if a non ISR safe function is called from an ISR.

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

9 years agoAdd code to assert() if non ISR safe API function is called from ISR in Tasking CM4F...
rtel [Sun, 15 Jun 2014 09:24:08 +0000 (09:24 +0000)]
Add code to assert() if non ISR safe API function is called from ISR in Tasking CM4F ports - plus fix bug where the max syscall interrupt priority was used incorrectly in the Tasking CM4F port.

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

9 years agoAdd code to assert() if non ISR safe API function is called from ISR in IAR and GCC...
rtel [Sat, 14 Jun 2014 13:56:25 +0000 (13:56 +0000)]
Add code to assert() if non ISR safe API function is called from ISR in IAR and GCC CM3 and CM4F ports - Keil and tasking to follow.

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

9 years agoSimplify the assert that checks if a non-ISR safe function is called from an ISR...
rtel [Fri, 13 Jun 2014 14:08:28 +0000 (14:08 +0000)]
Simplify the assert that checks if a non-ISR safe function is called from an ISR in the GCC Cortex-A9 port.

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

9 years agoAdd additional comments to the Zynq lwIP demo.
rtel [Fri, 13 Jun 2014 14:06:43 +0000 (14:06 +0000)]
Add additional comments to the Zynq lwIP demo.

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

9 years agoAdded portASSERT_IF_IN_INTERRUPT() macro to the GCC Cortex A9 port layer.
rtel [Thu, 12 Jun 2014 16:28:56 +0000 (16:28 +0000)]
Added portASSERT_IF_IN_INTERRUPT() macro to the GCC Cortex A9 port layer.

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

9 years agoZynq demo: Fix Xilinx network driver by deferring the function that allocated memory...
rtel [Thu, 12 Jun 2014 16:27:35 +0000 (16:27 +0000)]
Zynq demo:  Fix Xilinx network driver by deferring the function that allocated memory from the interrupt into a task.  Add DHCP option.

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

9 years agoRemove some of the lwip asserts to allow use with 64-bit alignment.
rtel [Tue, 10 Jun 2014 16:29:32 +0000 (16:29 +0000)]
Remove some of the lwip asserts to allow use with 64-bit alignment.

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

9 years agoSwitch to using the private watchdog as the run time stats timer in the Zynq demo.
rtel [Tue, 10 Jun 2014 16:25:46 +0000 (16:25 +0000)]
Switch to using the private watchdog as the run time stats timer in the Zynq demo.

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

9 years agoReorganise Zynq project after spitting lwIP example into a separate configuration.
rtel [Mon, 9 Jun 2014 20:20:23 +0000 (20:20 +0000)]
Reorganise Zynq project after spitting lwIP example into a separate configuration.

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

9 years agoMove the Zynq's lwIP example from the Full demo into its own configuration as having...
rtel [Mon, 9 Jun 2014 19:35:08 +0000 (19:35 +0000)]
Move the Zynq's lwIP example from the Full demo into its own configuration as having the lwIP tasks at a high priority made the self checking test tasks report failures, while having the lwIP tasks at a low priority slugged the throughput.

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

9 years agoUpdate lwIP byte alignment to make Zynq pings more reliable.
rtel [Mon, 9 Jun 2014 12:43:18 +0000 (12:43 +0000)]
Update lwIP byte alignment to make Zynq pings more reliable.

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

9 years agoUpdate RL78 GCC demo application after testing with fixed compiler.
rtel [Thu, 5 Jun 2014 12:44:38 +0000 (12:44 +0000)]
Update RL78 GCC demo application after testing with fixed compiler.

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

9 years agoCheck in RL78 GCC port layer now it has been verified with the fixed compiler.
rtel [Thu, 5 Jun 2014 12:42:49 +0000 (12:42 +0000)]
Check in RL78 GCC port layer now it has been verified with the fixed compiler.

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

9 years agoComplete RX64M GCC demo.
rtel [Wed, 4 Jun 2014 09:19:16 +0000 (09:19 +0000)]
Complete RX64M GCC demo.

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

9 years agoReverse order of projdefs.h and FreeRTOSConfig.h includes in FreeRTOS.h to allow...
rtel [Wed, 4 Jun 2014 09:17:14 +0000 (09:17 +0000)]
Reverse order of projdefs.h and FreeRTOSConfig.h includes in FreeRTOS.h to allow addition of pdMS_TO_TICKS() macro.
Update RXv2 GCC port to match RXv2 Renesas port.

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

9 years agoAdd -nomessage command line option to RX64M demo to suppress warning about the yield...
rtel [Thu, 29 May 2014 13:56:16 +0000 (13:56 +0000)]
Add -nomessage command line option to RX64M demo to suppress warning about the yield function being defined when it is not called directly.

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

9 years agoEnsure demo app files are using FreeRTOS V8 names - a few were missed previously.
rtel [Thu, 29 May 2014 13:54:15 +0000 (13:54 +0000)]
Ensure demo app files are using FreeRTOS V8 names - a few were missed previously.

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

9 years agoA few additional casts to keep the Renesas RX compiler happy.
rtel [Thu, 29 May 2014 13:39:48 +0000 (13:39 +0000)]
A few additional casts to keep the Renesas RX compiler happy.

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

9 years agoAdd lwIP driver into Zynq demo - not yet fully functional.
rtel [Fri, 23 May 2014 16:38:18 +0000 (16:38 +0000)]
Add lwIP driver into Zynq demo - not yet fully functional.

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

9 years agoAdd brackets in lwIP assert statement to prevent compiler warnings.
rtel [Fri, 23 May 2014 16:36:49 +0000 (16:36 +0000)]
Add brackets in lwIP assert statement to prevent compiler warnings.

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

9 years agoAdd some missing volatiles to __asm statements in the CA9 GCC port.
rtel [Mon, 19 May 2014 13:14:02 +0000 (13:14 +0000)]
Add some missing volatiles to __asm statements in the CA9 GCC port.

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

10 years agoUpdate version number ready for release. V8.0.1
rtel [Thu, 24 Apr 2014 14:26:36 +0000 (14:26 +0000)]
Update version number ready for release.

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

10 years agoAdd xQueueGetMutexHolder() to MPU functions.
rtel [Thu, 24 Apr 2014 12:29:40 +0000 (12:29 +0000)]
Add xQueueGetMutexHolder() to MPU functions.

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

10 years agoEvent Groups: Convert the 'clear bits from ISR' function into a pended function to...
rtel [Wed, 23 Apr 2014 15:23:54 +0000 (15:23 +0000)]
Event Groups: Convert the 'clear bits from ISR' function into a pended function to fix reentrancy issue.
Event Groups: Ensure the 'wait bits' and 'sync' functions don't return values that still contain some internal control bits.

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

10 years agoUpdate demos that use FreeRTOS+FAT SL to have correct version numbers after the updat...
rtel [Wed, 23 Apr 2014 14:34:49 +0000 (14:34 +0000)]
Update demos that use FreeRTOS+FAT SL to have correct version numbers after the update of FreeRTOS+FAT SL itself.

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

10 years agoUpdate IAR XMC4200 project to fix link error that resulted from updating the IAR...
rtel [Wed, 23 Apr 2014 13:59:56 +0000 (13:59 +0000)]
Update IAR XMC4200 project to fix link error that resulted from updating the IAR version to 7.x.

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

10 years agoUpdate FreeRTOS+FAT SL to version 1.0.1.
rtel [Wed, 23 Apr 2014 13:28:21 +0000 (13:28 +0000)]
Update FreeRTOS+FAT SL to version 1.0.1.

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

10 years agoEnsure xNewLib_reent is reclaimed when a task is deleted.
rtel [Wed, 9 Apr 2014 09:07:19 +0000 (09:07 +0000)]
Ensure xNewLib_reent is reclaimed when a task is deleted.

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

10 years agoAdd test and correct code for the unusual case of a task using an event group to...
rtel [Mon, 31 Mar 2014 02:12:17 +0000 (02:12 +0000)]
Add test and correct code for the unusual case of a task using an event group to synchronise only with itself.
Add critical sections around call to prvResetNextTaskUnblockTime() that can occur from within a task.

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

10 years agoAdd the pcTimerGetTimerName() API function.
rtel [Fri, 28 Mar 2014 14:41:15 +0000 (14:41 +0000)]
Add the pcTimerGetTimerName() API function.

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

10 years agoAdd interrupt nesting test code into RX64M demo.
rtel [Fri, 28 Mar 2014 13:05:29 +0000 (13:05 +0000)]
Add interrupt nesting test code into RX64M demo.

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