summaryrefslogtreecommitdiff
path: root/FreeRTOS
Commit message (Collapse)AuthorAgeFilesLines
* Update PIC32 demo application to remove reliance on PLIB functions.richardbarry2013-02-1821-155/+648
| | | | | | Update the default low power implementation in all the Cortex-M port layers to add a small critical section. git-svn-id: http://svn.code.sf.net/p/freertos/code/trunk@1830 1d2547de-c912-0410-9cb9-b8ca96c0e9e2
* Correct spelling of xSuspendedTaskList in eTaskConfirmSleepModeStatus().richardbarry2013-02-181-1/+1
| | | | git-svn-id: http://svn.code.sf.net/p/freertos/code/trunk@1829 1d2547de-c912-0410-9cb9-b8ca96c0e9e2
* Add default definition for configUSE_QUEUE_SETS.richardbarry2013-02-184-36/+112
| | | | | | | | | | 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: http://svn.code.sf.net/p/freertos/code/trunk@1828 1d2547de-c912-0410-9cb9-b8ca96c0e9e2
* Commit demos that have been updated for testing purposes before they are ↵richardbarry2013-02-189-14/+642
| | | | | | updated once more to test new low power features. git-svn-id: http://svn.code.sf.net/p/freertos/code/trunk@1827 1d2547de-c912-0410-9cb9-b8ca96c0e9e2
* Update the LPC1768 project to only copy across one heap_x.c file as the ↵richardbarry2013-02-136-867/+548
| | | | | | addition of heap_4.c without it being excluded from the project was breaking the build. git-svn-id: http://svn.code.sf.net/p/freertos/code/trunk@1826 1d2547de-c912-0410-9cb9-b8ca96c0e9e2
* Added more files to the Rowley and IAR LM3S demos to test building the newer ↵richardbarry2013-02-1222-455/+497
| | | | | | | | | | | 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: http://svn.code.sf.net/p/freertos/code/trunk@1825 1d2547de-c912-0410-9cb9-b8ca96c0e9e2
* Adjusted the wrap checks in the QueueSet test task.richardbarry2013-02-1213-60/+92
| | | | | | | | 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: http://svn.code.sf.net/p/freertos/code/trunk@1824 1d2547de-c912-0410-9cb9-b8ca96c0e9e2
* Reduce RAM used by trace by updating trcConfig.h.richardbarry2013-02-122-5/+5
| | | | git-svn-id: http://svn.code.sf.net/p/freertos/code/trunk@1823 1d2547de-c912-0410-9cb9-b8ca96c0e9e2
* Improve QueueSet.c test coverage by reading the queue set from an ISR to ↵richardbarry2013-02-1215-268/+1669
| | | | | | | | | 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: http://svn.code.sf.net/p/freertos/code/trunk@1822 1d2547de-c912-0410-9cb9-b8ca96c0e9e2
* Fix a few compiler warnings when compiling the QueueSet.c test code with GCC.richardbarry2013-02-085-26/+36
| | | | git-svn-id: http://svn.code.sf.net/p/freertos/code/trunk@1820 1d2547de-c912-0410-9cb9-b8ca96c0e9e2
* Add the queue set test to the SAM4S-EK Atmel Studio code.richardbarry2013-02-087-80/+103
| | | | git-svn-id: http://svn.code.sf.net/p/freertos/code/trunk@1819 1d2547de-c912-0410-9cb9-b8ca96c0e9e2
* Continue working on queue set implementation and testing.richardbarry2013-02-086-103/+329
| | | | git-svn-id: http://svn.code.sf.net/p/freertos/code/trunk@1818 1d2547de-c912-0410-9cb9-b8ca96c0e9e2
* Next revision of queue set implementation.richardbarry2013-02-0712-363/+974
| | | | | | | Make conditional compilation syntax and commenting consistent. Add common demo tasks to demonstrate queue sets. git-svn-id: http://svn.code.sf.net/p/freertos/code/trunk@1817 1d2547de-c912-0410-9cb9-b8ca96c0e9e2
* remove the additional line added to the MPU port.c as the original code was ↵richardbarry2013-01-312-10/+12
| | | | | | | | correct. Instead remove the alignment assert by adding #define portALIGNMENT_ASSERT_pxCurrentTCB ( void ) to the portmacor.h file. git-svn-id: http://svn.code.sf.net/p/freertos/code/trunk@1816 1d2547de-c912-0410-9cb9-b8ca96c0e9e2
* Added INCLUDE_xSemaphoreGetMutexHolder() default.richardbarry2013-01-3113-103/+151
| | | | | | | | | | 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: http://svn.code.sf.net/p/freertos/code/trunk@1815 1d2547de-c912-0410-9cb9-b8ca96c0e9e2
* Replace the CLZ function with a CLZ intrinsic in the Cortex-R4 port layer.richardbarry2013-01-236-83/+107
| | | | | | | | 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: http://svn.code.sf.net/p/freertos/code/trunk@1814 1d2547de-c912-0410-9cb9-b8ca96c0e9e2
* Make changes necessary to allow the latest StateViewer Eclipse plug-in ↵richardbarry2012-12-311-18/+17
| | | | | | obtain the run time stats information. git-svn-id: http://svn.code.sf.net/p/freertos/code/trunk@1813 1d2547de-c912-0410-9cb9-b8ca96c0e9e2
* Move the call that sets xTimeNow inside the loop that drains the timer queue ↵richardbarry2012-11-181-4/+11
| | | | | | 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: http://svn.code.sf.net/p/freertos/code/trunk@1812 1d2547de-c912-0410-9cb9-b8ca96c0e9e2
* Default configUSE_TICKLESS_IDLE to 0 when it is not defined.richardbarry2012-11-173-11/+9
| | | | | | | | | 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: http://svn.code.sf.net/p/freertos/code/trunk@1811 1d2547de-c912-0410-9cb9-b8ca96c0e9e2
* Ensure #error messages in FreeRTOSConfig.h files are not commented out.richardbarry2012-10-312-2/+2
| | | | git-svn-id: http://svn.code.sf.net/p/freertos/code/trunk@1809 1d2547de-c912-0410-9cb9-b8ca96c0e9e2
* Add warning suppression to IAR header.richardbarry2012-10-315-3/+15
| | | | git-svn-id: http://svn.code.sf.net/p/freertos/code/trunk@1808 1d2547de-c912-0410-9cb9-b8ca96c0e9e2
* Slow configured clock in the RM48 and TMS570 demos to 50MHz.richardbarry2012-10-314-12/+27
| | | | git-svn-id: http://svn.code.sf.net/p/freertos/code/trunk@1807 1d2547de-c912-0410-9cb9-b8ca96c0e9e2
* Make loop counters in flop_hercules.c 32-bit instead of 16-bit.richardbarry2012-10-301-24/+24
| | | | git-svn-id: http://svn.code.sf.net/p/freertos/code/trunk@1806 1d2547de-c912-0410-9cb9-b8ca96c0e9e2
* Rename CORTEX_R4_RM48_CCS5 directory as it also includes the TMS570 code.richardbarry2012-10-2933-4728/+0
| | | | git-svn-id: http://svn.code.sf.net/p/freertos/code/trunk@1805 1d2547de-c912-0410-9cb9-b8ca96c0e9e2
* Correct cut and paste error in partest.c file.richardbarry2012-10-291-13/+13
| | | | git-svn-id: http://svn.code.sf.net/p/freertos/code/trunk@1804 1d2547de-c912-0410-9cb9-b8ca96c0e9e2
* Make CM3/4 tick configuration a weak function to allow application writers ↵richardbarry2012-10-299-214/+338
| | | | | | to use an alternative tick source. git-svn-id: http://svn.code.sf.net/p/freertos/code/trunk@1803 1d2547de-c912-0410-9cb9-b8ca96c0e9e2
* Allow IAR language extensions so __weak attribute can be used.richardbarry2012-10-292-17/+138
| | | | git-svn-id: http://svn.code.sf.net/p/freertos/code/trunk@1802 1d2547de-c912-0410-9cb9-b8ca96c0e9e2
* Work around compiler bug in CCS5 by replacing the _call_swi() function with ↵richardbarry2012-10-291-2/+4
| | | | | | a #pragma SWI_ALIAS. git-svn-id: http://svn.code.sf.net/p/freertos/code/trunk@1801 1d2547de-c912-0410-9cb9-b8ca96c0e9e2
* Complete RM4x and TMS570 demo.richardbarry2012-10-2936-0/+5370
| | | | git-svn-id: http://svn.code.sf.net/p/freertos/code/trunk@1800 1d2547de-c912-0410-9cb9-b8ca96c0e9e2
* Re-jig some of the new functions to correctly assign them public or private ↵richardbarry2012-10-2216-73/+68
| | | | | | linkage, and remove some functions that were added in but never used. git-svn-id: http://svn.code.sf.net/p/freertos/code/trunk@1799 1d2547de-c912-0410-9cb9-b8ca96c0e9e2
* Prepare for V7.3.0 release.richardbarry2012-10-161024-5011/+6973
| | | | git-svn-id: http://svn.code.sf.net/p/freertos/code/trunk@1798 1d2547de-c912-0410-9cb9-b8ca96c0e9e2
* Make the timer used for the PIC32 port layer user configurable.richardbarry2012-10-162-9/+19
| | | | git-svn-id: http://svn.code.sf.net/p/freertos/code/trunk@1797 1d2547de-c912-0410-9cb9-b8ca96c0e9e2
* Add tickless idle support in Cortex-M ports.richardbarry2012-10-164-7/+11
| | | | | | Change CCS R4 directory name. git-svn-id: http://svn.code.sf.net/p/freertos/code/trunk@1796 1d2547de-c912-0410-9cb9-b8ca96c0e9e2
* Add tickless idle support in Cortex-M ports.richardbarry2012-10-1621-588/+2387
| | | | | | Change CCS R4 directory name. git-svn-id: http://svn.code.sf.net/p/freertos/code/trunk@1795 1d2547de-c912-0410-9cb9-b8ca96c0e9e2
* Set the RM48 directory structure to match the FreeRTOS convention.richardbarry2012-10-1448-18121/+77
| | | | git-svn-id: http://svn.code.sf.net/p/freertos/code/trunk@1794 1d2547de-c912-0410-9cb9-b8ca96c0e9e2
* Update FreeRTOS version used in RM48 demo.richardbarry2012-10-1418-1383/+1165
| | | | git-svn-id: http://svn.code.sf.net/p/freertos/code/trunk@1793 1d2547de-c912-0410-9cb9-b8ca96c0e9e2
* First pass at adding R4F floating point support.richardbarry2012-10-137-169/+571
| | | | git-svn-id: http://svn.code.sf.net/p/freertos/code/trunk@1792 1d2547de-c912-0410-9cb9-b8ca96c0e9e2
* RM48 port layer without FPU saving completed.richardbarry2012-10-118-849/+219
| | | | git-svn-id: http://svn.code.sf.net/p/freertos/code/trunk@1791 1d2547de-c912-0410-9cb9-b8ca96c0e9e2
* Get main_full.c working in the RM48 demo.richardbarry2012-10-1022-42/+3466
| | | | git-svn-id: http://svn.code.sf.net/p/freertos/code/trunk@1790 1d2547de-c912-0410-9cb9-b8ca96c0e9e2
* Remove whitespace only.richardbarry2012-10-103-52/+52
| | | | git-svn-id: http://svn.code.sf.net/p/freertos/code/trunk@1789 1d2547de-c912-0410-9cb9-b8ca96c0e9e2
* RM48 simply blinky demo working.richardbarry2012-10-0911-288/+1370
| | | | git-svn-id: http://svn.code.sf.net/p/freertos/code/trunk@1788 1d2547de-c912-0410-9cb9-b8ca96c0e9e2
* Added initial RM48 project files. These are not in the correct directory ↵richardbarry2012-10-0453-0/+18686
| | | | | | structure yet. git-svn-id: http://svn.code.sf.net/p/freertos/code/trunk@1787 1d2547de-c912-0410-9cb9-b8ca96c0e9e2
* Update PIC32 port to make use of configUSE_PORT_OPTIMISED_TASK_SELECTION.richardbarry2012-09-2515-401/+429
| | | | | | Make small modification in GCC CM3 port when configUSE_PORT_OPTIMISED_TASK_SELECTION is set to 1 to remove compiler warning. git-svn-id: http://svn.code.sf.net/p/freertos/code/trunk@1786 1d2547de-c912-0410-9cb9-b8ca96c0e9e2
* Correct #if( configMAX_PRIORITIES >= 32 ) check performed when ↵richardbarry2012-09-247-7/+7
| | | | | | configUSE_PORT_OPTIMISED_TASK_SELECTION == 1 to instead be #if( configMAX_PRIORITIES > 32 ). git-svn-id: http://svn.code.sf.net/p/freertos/code/trunk@1785 1d2547de-c912-0410-9cb9-b8ca96c0e9e2
* Replace the need for taskCHECK_READY_LIST() by instead making vListRemove() ↵richardbarry2012-09-245-57/+68
| | | | | | return the number of items that remain in the list once the list item has been removed. git-svn-id: http://svn.code.sf.net/p/freertos/code/trunk@1784 1d2547de-c912-0410-9cb9-b8ca96c0e9e2
* Rename listLIST_ITEM_CONTAINED to listLIST_ITEM_CONTAINER.richardbarry2012-09-242-2/+2
| | | | git-svn-id: http://svn.code.sf.net/p/freertos/code/trunk@1783 1d2547de-c912-0410-9cb9-b8ca96c0e9e2
* Added Cortex-M optimised code to the IAR, GCC and Keil Cortex-M port layers.richardbarry2012-09-2419-119/+411
| | | | | | Tested and updated a few Cortex-M projects to use configUSE_PORT_OPTIMISED_TASK_SELECTION set to 1. git-svn-id: http://svn.code.sf.net/p/freertos/code/trunk@1782 1d2547de-c912-0410-9cb9-b8ca96c0e9e2
* Introduced configUSE_PORT_OPTIMISED_TASK_SELECTION, and updated the MSVC ↵richardbarry2012-09-234-17/+112
| | | | | | simulator port as the first implementation. git-svn-id: http://svn.code.sf.net/p/freertos/code/trunk@1781 1d2547de-c912-0410-9cb9-b8ca96c0e9e2
* Add eTaskStateGet() to FreeRTOS-MPU.richardbarry2012-09-232-0/+15
| | | | git-svn-id: http://svn.code.sf.net/p/freertos/code/trunk@1780 1d2547de-c912-0410-9cb9-b8ca96c0e9e2
* Added eTaskStateGet().richardbarry2012-09-227-2/+168
| | | | | | | | Added default value for INCLUDE_eTaskStateGet. git-svn-id: http://svn.code.sf.net/p/freertos/code/trunk@1779 1d2547de-c912-0410-9cb9-b8ca96c0e9e2