]> git.sur5r.net Git - freertos/log
freertos
11 years agoAdd volatile keyword to GenQTest loop counter for consistency.
richardbarry [Sun, 14 Apr 2013 19:07:32 +0000 (19:07 +0000)]
Add volatile keyword to GenQTest loop counter for consistency.
Remove obsolete definition from SAM4L demo.

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

11 years agoAdd barrier instructions to GCC CM3/4 code.
richardbarry [Sun, 7 Apr 2013 19:43:52 +0000 (19:43 +0000)]
Add barrier instructions to GCC CM3/4 code.

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

11 years agoPrepare to package up SAM4L demo.
richardbarry [Sun, 7 Apr 2013 19:41:45 +0000 (19:41 +0000)]
Prepare to package up SAM4L demo.

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

11 years agoUpdated the sleep function to ensure it left interrupts disabled when returning.
richardbarry [Sun, 7 Apr 2013 19:30:25 +0000 (19:30 +0000)]
Updated the sleep function to ensure it left interrupts disabled when returning.

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

11 years agoAdd SAM4L demo.
richardbarry [Sun, 7 Apr 2013 18:49:53 +0000 (18:49 +0000)]
Add SAM4L demo.

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

11 years agoRL78/IAR port - Allow the end user to define their own tick interrupt configuration...
richardbarry [Mon, 25 Mar 2013 17:00:13 +0000 (17:00 +0000)]
RL78/IAR port - Allow the end user to define their own tick interrupt configuration by defining configSETUP_TIMER_INTERRUPT().

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

11 years agoMinor mods common files to fix warnings generated by Renesas compiler.
richardbarry [Mon, 25 Mar 2013 16:30:42 +0000 (16:30 +0000)]
Minor mods common files to fix warnings generated by Renesas compiler.
Correct the header comments in het.c and het.h (RM48/TMS570 demo) which were corrupt.
Correct version numbers in RX63N Renesas compiler demo.
Ensure stacks set up for tasks in the RX200 port layer end on 8 byte boundaries (was 4, which didn't matter but didn't match the definition).
Replaced unqualified (unsigned) in calls to standard functions with (size_t).

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

11 years agoUpdate the GCC RL78 demo to include four separate build configurations, each of which...
richardbarry [Tue, 19 Mar 2013 12:24:05 +0000 (12:24 +0000)]
Update the GCC RL78 demo to include four separate build configurations, each of which targets different hardware.

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

11 years agoRename the Demo/RL78_RL78G13_Promot_Board_IAR directory to RL78_Multiple_IAR as it...
richardbarry [Mon, 18 Mar 2013 16:51:43 +0000 (16:51 +0000)]
Rename the Demo/RL78_RL78G13_Promot_Board_IAR directory to RL78_Multiple_IAR as it now targets several different devices.

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

11 years agoAdd two additional targets to the RL78 IAR project.
richardbarry [Mon, 18 Mar 2013 16:43:21 +0000 (16:43 +0000)]
Add two additional targets to the RL78 IAR project.

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

11 years agoEnsure IAR RL port layer works on devices using two different naming conventions...
richardbarry [Mon, 18 Mar 2013 16:40:47 +0000 (16:40 +0000)]
Ensure IAR RL port layer works on devices using two different naming conventions for the interval timer registers.

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

11 years agoUpdated IAR RL78 port layer.
richardbarry [Sun, 17 Mar 2013 16:54:17 +0000 (16:54 +0000)]
Updated IAR RL78 port layer.

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

11 years agoUpdate the IAR RL78 demo to include main_blinky.c and main_full.c.
richardbarry [Sun, 17 Mar 2013 16:52:39 +0000 (16:52 +0000)]
Update the IAR RL78 demo to include main_blinky.c and main_full.c.

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

11 years agoAdd an example ISR implementation into the RL78 GCC demo.
richardbarry [Sun, 17 Mar 2013 15:38:23 +0000 (15:38 +0000)]
Add an example ISR implementation into the RL78 GCC demo.

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

11 years agoComplete RL78/G14 demo.
richardbarry [Sun, 17 Mar 2013 12:12:20 +0000 (12:12 +0000)]
Complete RL78/G14 demo.

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

11 years agoRL78 GCC: Save and restore all register banks.
richardbarry [Sun, 17 Mar 2013 09:27:18 +0000 (09:27 +0000)]
RL78 GCC:  Save and restore all register banks.

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

11 years agoRL78/GCC related:
richardbarry [Wed, 6 Mar 2013 10:56:03 +0000 (10:56 +0000)]
RL78/GCC related:
+ Add RL78G14 specific linker script.
+ Move the call to the function that sets up the clocks to before the code that sets up the .data and .bss sections.

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

11 years agoFor RL78GCC port/demo:
richardbarry [Mon, 4 Mar 2013 20:04:02 +0000 (20:04 +0000)]
For RL78GCC port/demo:
- Added YRDKRL78G14 build configuration.
- Runs provided the dynamic priority tasks are not started.
- Does not run with the debugger connected.

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

11 years agoAll related to RL78 GCC demos (which are still a work in progress):
richardbarry [Mon, 4 Mar 2013 13:23:48 +0000 (13:23 +0000)]
All related to RL78 GCC demos (which are still a work in progress):
- Abstract out the IO port handling for the LED output so the same code can be used on multiple eval boards.
- Add in the RESTORE_CONTEXT macros.
- Swap to use heap_1.c instead of heap_4.c.
- Add data model macros to FreeRTOSConfig.h (may be removed if only one data model is supported by the compiler).
- Install interrupt handlers.

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

11 years agoAbstract the IO port handling to toggle the LED into LED.h so the same code can work...
richardbarry [Mon, 4 Mar 2013 13:18:19 +0000 (13:18 +0000)]
Abstract the IO port handling to toggle the LED into LED.h so the same code can work with multiple eval boards.

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

11 years agoAdd RL78 E2Studio project. Code is building, but has not yet been executed.
richardbarry [Sat, 2 Mar 2013 15:50:02 +0000 (15:50 +0000)]
Add RL78 E2Studio project.  Code is building, but has not yet been executed.

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

11 years agoAdded YRDKRL78G14 build configuration to the IAR RL78 demo.
richardbarry [Sun, 24 Feb 2013 19:48:26 +0000 (19:48 +0000)]
Added YRDKRL78G14 build configuration to the IAR RL78 demo.

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

11 years agoPrepare for V7.4.0 release. V7.4.0
richardbarry [Tue, 19 Feb 2013 18:36:58 +0000 (18:36 +0000)]
Prepare for V7.4.0 release.

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

11 years agoUpdate PIC32 demo application to remove reliance on PLIB functions.
richardbarry [Mon, 18 Feb 2013 16:41:11 +0000 (16:41 +0000)]
Update PIC32 demo application to remove reliance on PLIB functions.
Update the default low power implementation in all the Cortex-M port layers to add a small critical section.

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

11 years agoCorrect spelling of xSuspendedTaskList in eTaskConfirmSleepModeStatus().
richardbarry [Mon, 18 Feb 2013 11:28:56 +0000 (11:28 +0000)]
Correct spelling of xSuspendedTaskList in eTaskConfirmSleepModeStatus().

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

11 years agoAdd default definition for configUSE_QUEUE_SETS.
richardbarry [Mon, 18 Feb 2013 11:20:29 +0000 (11:20 +0000)]
Add default definition for configUSE_QUEUE_SETS.
Add eTaskConfirmSleepModeStatus() (not yet tested).
Only call prvQueueUnregisterQueue() when a queue or semaphore is deleted if configQUEUE_REGISTRY_SIZE > 0.
Back out change that checks the configUSE_PORT_OPTMISED_TASK_SELECTION value before uxPriorityUsedOnEntry is set in vTaskPrioritySet as it generated more warnings (with other compilers) than it fixed.

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

11 years agoCommit demos that have been updated for testing purposes before they are updated...
richardbarry [Mon, 18 Feb 2013 11:15:35 +0000 (11:15 +0000)]
Commit demos that have been updated for testing purposes before they are updated once more to test new low power features.

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

11 years agoUpdate the LPC1768 project to only copy across one heap_x.c file as the addition...
richardbarry [Wed, 13 Feb 2013 12:03:13 +0000 (12:03 +0000)]
Update the LPC1768 project to only copy across one heap_x.c file as the addition of heap_4.c without it being excluded from the project was breaking the build.

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

11 years agoAdded more files to the Rowley and IAR LM3S demos to test building the newer files...
richardbarry [Tue, 12 Feb 2013 17:35:43 +0000 (17:35 +0000)]
Added more files to the Rowley and IAR LM3S demos to test building the newer files and queue sets.
Made queue function prototypes consistent so xQueueHandle parameters are always xQueue, and xQUEUE * parameters pxQueue.
Likewise make the task API using px for pointers to TCBs, and just x for task handles.
Heap_x functions now automatically align the start of the heap without using the portDOUBLE union member.
Queue.c now includes queue.h.

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

11 years agoAdjusted the wrap checks in the QueueSet test task.
richardbarry [Tue, 12 Feb 2013 14:30:12 +0000 (14:30 +0000)]
Adjusted the wrap checks in the QueueSet test task.
Added the QueueSet test to the Rowlay Stellaris and SAM4S-EK Studio demos.
Updated the MSVC demo to use heap_4.c.

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

11 years agoReduce RAM used by trace by updating trcConfig.h.
richardbarry [Tue, 12 Feb 2013 10:59:58 +0000 (10:59 +0000)]
Reduce RAM used by trace by updating trcConfig.h.

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

11 years agoImprove QueueSet.c test coverage by reading the queue set from an ISR to force paths...
richardbarry [Tue, 12 Feb 2013 10:09:36 +0000 (10:09 +0000)]
Improve QueueSet.c test coverage by reading the queue set from an ISR to force paths through the queue locking and unlocking.
Add the FreeRTOS+Trace recorder into the Win32 MSVC demo.
Added more functions, including the queue set functions, to the MPU port.

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

11 years agoUpdate the FreeRTOS+Trace recorder and Win32 demo app.
richardbarry [Sun, 10 Feb 2013 19:33:28 +0000 (19:33 +0000)]
Update the FreeRTOS+Trace recorder and Win32 demo app.

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

11 years agoFix a few compiler warnings when compiling the QueueSet.c test code with GCC.
richardbarry [Fri, 8 Feb 2013 17:05:42 +0000 (17:05 +0000)]
Fix a few compiler warnings when compiling the QueueSet.c test code with GCC.

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

11 years agoAdd the queue set test to the SAM4S-EK Atmel Studio code.
richardbarry [Fri, 8 Feb 2013 16:10:13 +0000 (16:10 +0000)]
Add the queue set test to the SAM4S-EK Atmel Studio code.

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

11 years agoContinue working on queue set implementation and testing.
richardbarry [Fri, 8 Feb 2013 15:50:14 +0000 (15:50 +0000)]
Continue working on queue set implementation and testing.

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

11 years agoNext revision of queue set implementation.
richardbarry [Thu, 7 Feb 2013 15:10:25 +0000 (15:10 +0000)]
Next revision of queue set implementation.
Make conditional compilation syntax and commenting consistent.
Add common demo tasks to demonstrate queue sets.

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

11 years agoremove the additional line added to the MPU port.c as the original code was correct...
richardbarry [Thu, 31 Jan 2013 15:27:00 +0000 (15:27 +0000)]
remove the additional line added to the MPU port.c as the original code was correct.  Instead remove the alignment assert by adding #define portALIGNMENT_ASSERT_pxCurrentTCB ( void )
 to the portmacor.h file.

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

11 years agoAdded INCLUDE_xSemaphoreGetMutexHolder() default.
richardbarry [Thu, 31 Jan 2013 14:18:03 +0000 (14:18 +0000)]
Added INCLUDE_xSemaphoreGetMutexHolder() default.
Changed eTaskStateGet() to eTaskGetState() and added #define to ensure backward compatibility.
Added configEXPECTED_IDLE_TIME_BEFORE_SLEEP definition - was previously hard coded to 2.
Slight change to the default CM3 tickless sleep function to allow the idle time to be set to zero in the pre-sleep processing macro.
Changed stack alignment for the FreeRTOS-MPU port to ensure it didn't trigger the assert() in the generic create function.

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

11 years agoReplace the CLZ function with a CLZ intrinsic in the Cortex-R4 port layer.
richardbarry [Wed, 23 Jan 2013 16:06:45 +0000 (16:06 +0000)]
Replace the CLZ function with a CLZ intrinsic in the Cortex-R4 port layer.
Add EDS support in the PIC24 port layer.
Remove unnecessary EHB instructions from PIC32 port.
In the PIC32 port assembly code, replace the &= code with a single ins instruction.

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

11 years agoMake changes necessary to allow the latest StateViewer Eclipse plug-in obtain the...
richardbarry [Mon, 31 Dec 2012 11:09:14 +0000 (11:09 +0000)]
Make changes necessary to allow the latest StateViewer Eclipse plug-in obtain the run time stats information.

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

11 years agoMove the call that sets xTimeNow inside the loop that drains the timer queue to ensur...
richardbarry [Sun, 18 Nov 2012 09:13:39 +0000 (09:13 +0000)]
Move the call that sets xTimeNow inside the loop that drains the timer queue to ensure higher priority tasks that pre-empt the timer daemon cannot post messages that appear to be in the future to the daemon task.

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

11 years agoDefault configUSE_TICKLESS_IDLE to 0 when it is not defined.
richardbarry [Sat, 17 Nov 2012 19:23:30 +0000 (19:23 +0000)]
Default configUSE_TICKLESS_IDLE to 0 when it is not defined.
Move location of traceTASK_CREATE() macro call.
Remove obsolete handling of trmCOMMAND_PROCESS_TIMER_OVERFLOW as the command was never used in release versions.

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

12 years agoEnsure #error messages in FreeRTOSConfig.h files are not commented out. V7.3.0
richardbarry [Wed, 31 Oct 2012 13:46:17 +0000 (13:46 +0000)]
Ensure #error messages in FreeRTOSConfig.h files are not commented out.

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

12 years agoAdd warning suppression to IAR header.
richardbarry [Wed, 31 Oct 2012 13:30:44 +0000 (13:30 +0000)]
Add warning suppression to IAR header.

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

12 years agoSlow configured clock in the RM48 and TMS570 demos to 50MHz.
richardbarry [Wed, 31 Oct 2012 10:31:33 +0000 (10:31 +0000)]
Slow configured clock in the RM48 and TMS570 demos to 50MHz.

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

12 years agoMake loop counters in flop_hercules.c 32-bit instead of 16-bit.
richardbarry [Tue, 30 Oct 2012 14:56:21 +0000 (14:56 +0000)]
Make loop counters in flop_hercules.c 32-bit instead of 16-bit.

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

12 years agoRename CORTEX_R4_RM48_CCS5 directory as it also includes the TMS570 code.
richardbarry [Mon, 29 Oct 2012 16:18:20 +0000 (16:18 +0000)]
Rename CORTEX_R4_RM48_CCS5 directory as it also includes the TMS570 code.

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

12 years agoCorrect cut and paste error in partest.c file.
richardbarry [Mon, 29 Oct 2012 16:17:05 +0000 (16:17 +0000)]
Correct cut and paste error in partest.c file.

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

12 years agoMake CM3/4 tick configuration a weak function to allow application writers to use...
richardbarry [Mon, 29 Oct 2012 15:56:26 +0000 (15:56 +0000)]
Make CM3/4 tick configuration a weak function to allow application writers to use an alternative tick source.

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

12 years agoAllow IAR language extensions so __weak attribute can be used.
richardbarry [Mon, 29 Oct 2012 13:57:07 +0000 (13:57 +0000)]
Allow IAR language extensions so __weak attribute can be used.

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

12 years agoWork around compiler bug in CCS5 by replacing the _call_swi() function with a #pragma...
richardbarry [Mon, 29 Oct 2012 11:38:19 +0000 (11:38 +0000)]
Work around compiler bug in CCS5 by replacing the _call_swi() function with a #pragma SWI_ALIAS.

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

12 years agoComplete RM4x and TMS570 demo.
richardbarry [Mon, 29 Oct 2012 11:34:41 +0000 (11:34 +0000)]
Complete RM4x and TMS570 demo.

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

12 years agoRe-jig some of the new functions to correctly assign them public or private linkage...
richardbarry [Mon, 22 Oct 2012 16:40:45 +0000 (16:40 +0000)]
Re-jig some of the new functions to correctly assign them public or private linkage, and remove some functions that were added in but never used.

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

12 years agoPrepare for V7.3.0 release.
richardbarry [Tue, 16 Oct 2012 12:17:47 +0000 (12:17 +0000)]
Prepare for V7.3.0 release.

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

12 years agoMake the timer used for the PIC32 port layer user configurable.
richardbarry [Tue, 16 Oct 2012 09:48:45 +0000 (09:48 +0000)]
Make the timer used for the PIC32 port layer user configurable.

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

12 years agoAdd tickless idle support in Cortex-M ports.
richardbarry [Tue, 16 Oct 2012 07:56:55 +0000 (07:56 +0000)]
Add tickless idle support in Cortex-M ports.
Change CCS R4 directory name.

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

12 years agoAdd tickless idle support in Cortex-M ports.
richardbarry [Tue, 16 Oct 2012 07:55:40 +0000 (07:55 +0000)]
Add tickless idle support in Cortex-M ports.
Change CCS R4 directory name.

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

12 years agoSet the RM48 directory structure to match the FreeRTOS convention.
richardbarry [Sun, 14 Oct 2012 21:33:53 +0000 (21:33 +0000)]
Set the RM48 directory structure to match the FreeRTOS convention.

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

12 years agoUpdate FreeRTOS version used in RM48 demo.
richardbarry [Sun, 14 Oct 2012 21:11:01 +0000 (21:11 +0000)]
Update FreeRTOS version used in RM48 demo.

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

12 years agoFirst pass at adding R4F floating point support.
richardbarry [Sat, 13 Oct 2012 16:21:40 +0000 (16:21 +0000)]
First pass at adding R4F floating point support.

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

12 years agoRM48 port layer without FPU saving completed.
richardbarry [Thu, 11 Oct 2012 13:41:07 +0000 (13:41 +0000)]
RM48 port layer without FPU saving completed.

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

12 years agoGet main_full.c working in the RM48 demo.
richardbarry [Wed, 10 Oct 2012 13:40:36 +0000 (13:40 +0000)]
Get main_full.c working in the RM48 demo.

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

12 years agoRemove whitespace only.
richardbarry [Wed, 10 Oct 2012 09:53:44 +0000 (09:53 +0000)]
Remove whitespace only.

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

12 years agoRM48 simply blinky demo working.
richardbarry [Tue, 9 Oct 2012 13:04:17 +0000 (13:04 +0000)]
RM48 simply blinky demo working.

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

12 years agoAdded initial RM48 project files. These are not in the correct directory structure...
richardbarry [Thu, 4 Oct 2012 19:47:41 +0000 (19:47 +0000)]
Added initial RM48 project files.  These are not in the correct directory structure yet.

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

12 years agoUpdate PIC32 port to make use of configUSE_PORT_OPTIMISED_TASK_SELECTION.
richardbarry [Tue, 25 Sep 2012 18:18:37 +0000 (18:18 +0000)]
Update PIC32 port to make use of configUSE_PORT_OPTIMISED_TASK_SELECTION.
Make small modification in GCC CM3 port when configUSE_PORT_OPTIMISED_TASK_SELECTION is set to 1 to remove compiler warning.

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

12 years agoCorrect #if( configMAX_PRIORITIES >= 32 ) check performed when configUSE_PORT_OPTIMIS...
richardbarry [Mon, 24 Sep 2012 12:10:08 +0000 (12:10 +0000)]
Correct #if( configMAX_PRIORITIES >= 32 ) check performed when configUSE_PORT_OPTIMISED_TASK_SELECTION == 1 to instead be #if( configMAX_PRIORITIES > 32 ).

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

12 years agoReplace the need for taskCHECK_READY_LIST() by instead making vListRemove() return...
richardbarry [Mon, 24 Sep 2012 12:05:35 +0000 (12:05 +0000)]
Replace the need for taskCHECK_READY_LIST() by instead making vListRemove() return the number of items that remain in the list once the list item has been removed.

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

12 years agoRename listLIST_ITEM_CONTAINED to listLIST_ITEM_CONTAINER.
richardbarry [Mon, 24 Sep 2012 11:23:14 +0000 (11:23 +0000)]
Rename listLIST_ITEM_CONTAINED to listLIST_ITEM_CONTAINER.

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

12 years agoAdded Cortex-M optimised code to the IAR, GCC and Keil Cortex-M port layers.
richardbarry [Mon, 24 Sep 2012 11:01:17 +0000 (11:01 +0000)]
Added Cortex-M optimised code to the IAR, GCC and Keil Cortex-M port layers.
Tested and updated a few Cortex-M projects to use configUSE_PORT_OPTIMISED_TASK_SELECTION set to 1.

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

12 years agoIntroduced configUSE_PORT_OPTIMISED_TASK_SELECTION, and updated the MSVC simulator...
richardbarry [Sun, 23 Sep 2012 14:35:12 +0000 (14:35 +0000)]
Introduced configUSE_PORT_OPTIMISED_TASK_SELECTION, and updated the MSVC simulator port as the first implementation.

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

12 years agoAdd eTaskStateGet() to FreeRTOS-MPU.
richardbarry [Sun, 23 Sep 2012 09:35:53 +0000 (09:35 +0000)]
Add eTaskStateGet() to FreeRTOS-MPU.

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

12 years agoAdded eTaskStateGet().
richardbarry [Sat, 22 Sep 2012 20:59:27 +0000 (20:59 +0000)]
Added eTaskStateGet().
Added default value for INCLUDE_eTaskStateGet.

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

12 years agoAllow mutex type semaphores to be given from an interrupt (not a normal thing to...
richardbarry [Wed, 5 Sep 2012 14:02:16 +0000 (14:02 +0000)]
Allow mutex type semaphores to be given from an interrupt (not a normal thing to do - use a binary semaphore!).
Allow FreeRTOS+CLI commands to have spaces at the end without it being taken as a parameter.

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

12 years agoImprove command input string handling in FreeRTOS+CLI to allow allow commands to...
richardbarry [Fri, 31 Aug 2012 13:10:20 +0000 (13:10 +0000)]
Improve command input string handling in FreeRTOS+CLI to allow allow commands to be sub-strings of each other, and not to count trailing white space as a parameter.

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

12 years agoAdd demo for SAM3S-EK2.
richardbarry [Wed, 29 Aug 2012 15:02:56 +0000 (15:02 +0000)]
Add demo for SAM3S-EK2.

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

12 years agoSave the SAM4S FreeRTOSConfig.h with the #error about running the CreateProjectDirect...
richardbarry [Wed, 29 Aug 2012 09:57:25 +0000 (09:57 +0000)]
Save the SAM4S FreeRTOSConfig.h with the #error about running the CreateProjectDirectoryStructure.bat batch file in the correct state (uncommented).

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

12 years agoAdd SAM3X-EK demo.
richardbarry [Wed, 15 Aug 2012 20:38:50 +0000 (20:38 +0000)]
Add SAM3X-EK demo.

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

12 years agoPut comments in the code that give a reference to people who think that setting BASE_... V7.2.0
richardbarry [Tue, 14 Aug 2012 13:04:22 +0000 (13:04 +0000)]
Put comments in the code that give a reference to people who think that setting BASE_PRI to zero is the wrong thing to to in an ISR.

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

12 years agoPrepare for V7.2.0 release.
richardbarry [Tue, 14 Aug 2012 12:14:48 +0000 (12:14 +0000)]
Prepare for V7.2.0 release.

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

12 years agoRemove the remnants of the legacy trace functionality (since replaced with FreeRTOS...
richardbarry [Sun, 12 Aug 2012 17:05:23 +0000 (17:05 +0000)]
Remove the remnants of the legacy trace functionality (since replaced with FreeRTOS+Trace).
Replaced the #error that traps configMAX_SYSCALL_INTERRUPT_PRIORITY being set to 0 with a configASSERT() for GCC Cortex-M3/4 ports as the #error does not work if configMAX_SYSCALL_INTERRUPT_PRIORITY includes any casting.  Not a problem for other compilers as they cannot have casting anyway as that would break the assembly code.

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

12 years agoAdd warning in Cortex-M3 and Cortex-M4 FreeRTOSConfig.h header files that configMAX_S...
richardbarry [Sun, 12 Aug 2012 16:49:43 +0000 (16:49 +0000)]
Add warning in Cortex-M3 and Cortex-M4 FreeRTOSConfig.h header files that configMAX_SYSCALL_INTERRUPT_PRIORITY must not be set to 0.

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

12 years agoAdd CreateProjectDirectoryStructure.bat to the SAM4 demo.
richardbarry [Sun, 12 Aug 2012 04:25:38 +0000 (04:25 +0000)]
Add CreateProjectDirectoryStructure.bat to the SAM4 demo.

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

12 years agoRemove the files from the SAM4S demo that are copied using the CreateProjectDirectory...
richardbarry [Sun, 12 Aug 2012 04:14:58 +0000 (04:14 +0000)]
Remove the files from the SAM4S demo that are copied using the CreateProjectDirectoryStructure.bat batch file.

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

12 years agoAdd readme files to the various FreeRTOS+ directories.
richardbarry [Sat, 11 Aug 2012 22:57:53 +0000 (22:57 +0000)]
Add readme files to the various FreeRTOS+ directories.

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

12 years agoAdd FreeRTOS-Plus directory.
richardbarry [Sat, 11 Aug 2012 21:34:11 +0000 (21:34 +0000)]
Add FreeRTOS-Plus directory.

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

12 years agoStart to re-arrange files to include FreeRTOS+ in main download.
richardbarry [Sat, 11 Aug 2012 21:06:27 +0000 (21:06 +0000)]
Start to re-arrange files to include FreeRTOS+ in main download.

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

12 years agoRemove test code from heap_4.c.
richardbarry [Sat, 11 Aug 2012 20:59:14 +0000 (20:59 +0000)]
Remove test code from heap_4.c.

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

12 years agoUpdate MPS430X ports so the sleep mode bits are cleared on exit from the tick interrupt.
richardbarry [Sat, 11 Aug 2012 20:57:11 +0000 (20:57 +0000)]
Update MPS430X ports so the sleep mode bits are cleared on exit from the tick interrupt.
Update heap_4.c.

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

12 years agoAdd heap_4.c.
richardbarry [Fri, 10 Aug 2012 18:45:45 +0000 (18:45 +0000)]
Add heap_4.c.

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

12 years agoAdd vQueueDelete() to the MPU port.
richardbarry [Fri, 3 Aug 2012 15:21:21 +0000 (15:21 +0000)]
Add vQueueDelete() to the MPU port.
Added volatile key word to the queue xRxLock and xTxLock members.
Ensure the portPRIVILEGED_BIT bit is set when the timer task is being created by the kernel - as it was for the idle task.  Necessary for MPU port.

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

12 years agoRenamed the CORTEX_M4_ATSAM4S_AVR_Studio directory to the correct CORTEX_M4_ATSAM4S_A...
richardbarry [Sun, 8 Jul 2012 15:58:54 +0000 (15:58 +0000)]
Renamed the CORTEX_M4_ATSAM4S_AVR_Studio directory to the correct CORTEX_M4_ATSAM4S_Atmel_Studio.

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

12 years agoRemove the unused linker reference to the maths library.
richardbarry [Sun, 8 Jul 2012 15:52:01 +0000 (15:52 +0000)]
Remove the unused linker reference to the maths library.

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

12 years agoComplete first release candidate for the SAM4S-EK demo.
richardbarry [Sun, 8 Jul 2012 14:11:37 +0000 (14:11 +0000)]
Complete first release candidate for the SAM4S-EK demo.

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

12 years agoIn the SAM4S demo, moved FreeRTOS into the ASF/thirdparty directory.
richardbarry [Thu, 5 Jul 2012 09:41:37 +0000 (09:41 +0000)]
In the SAM4S demo, moved FreeRTOS into the ASF/thirdparty directory.
Changed some of the compiler warning configuration.

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

12 years agoChange the name of the SAM4 FreeRTOS-Source directory to just FreeRTOS in preparation...
richardbarry [Thu, 5 Jul 2012 08:35:36 +0000 (08:35 +0000)]
Change the name of the SAM4 FreeRTOS-Source directory to just FreeRTOS in preparation of moving it to the ASF/Thirdparty directory.

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

12 years agoCreate project for SAM4S. This is building but has not yet been tested on hardware.
richardbarry [Tue, 3 Jul 2012 13:49:34 +0000 (13:49 +0000)]
Create project for SAM4S.  This is building but has not yet been tested on hardware.

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

12 years agoAdd in a couple of extra list macros for use with FreeRTOS+UDP.
richardbarry [Tue, 3 Jul 2012 11:16:52 +0000 (11:16 +0000)]
Add in a couple of extra list macros for use with FreeRTOS+UDP.
Allow the ISR safe queue send and receive functions to set the higher priority task woken pointer to NULL.

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

12 years agoAdd the macro xSemaphoreTakeFromISR().
richardbarry [Tue, 3 Jul 2012 09:38:09 +0000 (09:38 +0000)]
Add the macro xSemaphoreTakeFromISR().
Add #error strings if configMAX_SYSCALL_INTERRUPT_PRIORITY is set to 0.
Corrected the prototype of vApplicationStackOverflowHook().
Changed the dimensioning of the buffer declared in prvListTaskWithinSingleList() to make use of the configMAX_TASK_NAME_LEN setting.

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