Richard Barry
a7eae6bed3
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.
12 years ago
Richard Barry
b671bf368a
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.
12 years ago
Richard Barry
96218c34a1
Fix a few compiler warnings when compiling the QueueSet.c test code with GCC.
12 years ago
Richard Barry
232a5b3433
Continue working on queue set implementation and testing.
12 years ago
Richard Barry
4e5090e061
Next revision of queue set implementation.
...
Make conditional compilation syntax and commenting consistent.
Add common demo tasks to demonstrate queue sets.
12 years ago
Richard Barry
b5b518571e
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.
12 years ago
Richard Barry
ac78adae4b
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.
12 years ago
Richard Barry
4e7b460eaf
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.
12 years ago
Richard Barry
b5cf299df1
Make changes necessary to allow the latest StateViewer Eclipse plug-in obtain the run time stats information.
12 years ago
Richard Barry
2e24f1b789
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.
12 years ago
Richard Barry
0d421482d8
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.
12 years ago
Richard Barry
96f93690ce
Add warning suppression to IAR header.
12 years ago
Richard Barry
ba686260ca
Make CM3/4 tick configuration a weak function to allow application writers to use an alternative tick source.
12 years ago
Richard Barry
9fe5156b53
Work around compiler bug in CCS5 by replacing the _call_swi() function with a #pragma SWI_ALIAS.
12 years ago
Richard Barry
f5c52bdb1d
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.
12 years ago
Richard Barry
f06a945444
Prepare for V7.3.0 release.
12 years ago
Richard Barry
f446f77fd4
Make the timer used for the PIC32 port layer user configurable.
12 years ago
Richard Barry
e03ab659f3
Add tickless idle support in Cortex-M ports.
...
Change CCS R4 directory name.
12 years ago
Richard Barry
05c17e7e6d
Remove whitespace only.
12 years ago
Richard Barry
c403e974ee
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.
13 years ago
Richard Barry
87f663a461
Correct #if( configMAX_PRIORITIES >= 32 ) check performed when configUSE_PORT_OPTIMISED_TASK_SELECTION == 1 to instead be #if( configMAX_PRIORITIES > 32 ).
13 years ago
Richard Barry
42a11edef8
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.
13 years ago
Richard Barry
18a4b00a18
Rename listLIST_ITEM_CONTAINED to listLIST_ITEM_CONTAINER.
13 years ago
Richard Barry
92f1699055
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.
13 years ago
Richard Barry
670d172cfc
Introduced configUSE_PORT_OPTIMISED_TASK_SELECTION, and updated the MSVC simulator port as the first implementation.
13 years ago
Richard Barry
8ef7f03536
Add eTaskStateGet() to FreeRTOS-MPU.
13 years ago
Richard Barry
eb1f7bc166
Added eTaskStateGet().
...
Added default value for INCLUDE_eTaskStateGet.
13 years ago
Richard Barry
48a307ff5f
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.
13 years ago
Richard Barry
0c7af1c2d3
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.
13 years ago
Richard Barry
e0bab5981a
Prepare for V7.2.0 release.
13 years ago
Richard Barry
73ad4387e2
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.
13 years ago
Richard Barry
f508a5f653
Add FreeRTOS-Plus directory.
13 years ago