Richard Barry
1e26b1875f
Remove #error that attempted to catch stdint.h not being included.
...
Split the previously overloaded trmCOMMAND_nnn definitions into individual definitions to enable better logging.
11 years ago
Richard Barry
d0323e67ae
Continue working on GCC/CA_9 port layer - tick interrupt now working but needs tidy up.
11 years ago
Richard Barry
3e430b3801
Carry on working on the Cortex-A/GCC port layer - still a work in progress.
11 years ago
Richard Barry
86023aa5a6
Beginnings of GCC Cortex-A port - not yet completely converted from IAR version.
11 years ago
Richard Barry
d8c135e2dc
Add extern 'C' to FreeRTOS.h.
...
Remove obsolete extern declaration of vTaskSwitchContext() from the MPX430X IAR portmacro.h (other older portmacro.h header files contain the same declaration).
11 years ago
Richard Barry
a1b8079df1
Introduce configENABLE_BACKWARD_COMPATIBILITY to allow the #defines that provide backward compatibility with FreeRTOS version prior to V8 to be optionally omitted.
11 years ago
Richard Barry
f01bf9fdc3
Add additional NOP after EINT instruction in MSP430 ports.
11 years ago
Richard Barry
1aaa80fba6
Map portTICK_RATE_MS to portTICK_PERIOD_MS.
11 years ago
Richard Barry
a56d4b998c
Minor tidy ups that don't effect code generation, plus:
...
When a task is unblocked the need for a context switch is only signalled if the unblocked task has a priority higher than the currently running task, instead of higher than or equal to the priority of the currently running task.
11 years ago
Richard Barry
723682f1dd
Minor comment corrections prior to tagging.
11 years ago
Richard Barry
a8836b5c43
Change version numbers ready for V8.0.0 release candidate 1 tag.
11 years ago
Richard Barry
2aa19f1a14
Add xEventGroupClearBitsFromISR() and xEventGroupGetBitsFromISR() functions.
...
Move some types defines out of generic kernel headers into feature specific headers.
Convert the function prototype dypedefs to the new _t naming.
11 years ago
Richard Barry
e95b482f56
Minor updates to demo projects to ensure correct building with V8 rc1.
11 years ago
Richard Barry
2b6eb1c5ab
Revert some library files back to using standard types as they are not FreeRTOS files.
11 years ago
Richard Barry
3e20aa7d60
Replace standard types with stdint.h types.
...
Replace #define types with typedefs.
Rename all typedefs to have a _t extension.
Add #defines to automatically convert old FreeRTOS specific types to their new names (with the _t).
11 years ago
Richard Barry
b4116a7c7d
Change the type used for strings and single characters from signed char to just char.
11 years ago
Richard Barry
b3aa1e90ad
Add additional const qualifiers.
11 years ago
Richard Barry
6179690dc9
Don't free xQueue->ucHead if it is NULL.
11 years ago
Richard Barry
c861e3883d
Add coverage test markers.
11 years ago
Richard Barry
64ad1c00b5
In process of module testing event_groups.c.
...
Introduce xPortRunning variable into Win32 simulator port layer.
Add port optimised task selection macro for the GCC Win32 port layer (the MSVC version has had one for a while).
Ensure the event list item value does not get modified by code in tasks.c (priority inheritance, or priority change) when it is in use by the event group implementation.
11 years ago
Richard Barry
4b2f9dad42
Force the SysTick clock bit to be set in Cortex-M3 and Cortex-M4F bits if configSYSTICK_CLOCK_HZ is not defined, otherwise leave the bit as it is found as the SysTick may use a divided clock.
11 years ago
Richard Barry
a320d6dffd
Update the ucQueueNumber member of the queue structure (used with FreeRTOS+Trace to be an unsigned portBASE_TYPE instead of an unsigned char.
11 years ago
Richard Barry
c17c65fc09
Introduce prvResetNextTaskUnblockTime() to encapsulate functionality from various places in the code into a single function.
11 years ago
Richard Barry
acad916453
Change the way one thread deletes another in the Windows simulator port (the way one thread deleted itself was already changed in a previous check-in).
...
Reset the expected block time variable when a task is suspended or deleted in case the value held in the variables was associated with the task just suspended or deleted.
11 years ago
Richard Barry
0d1e12522b
Update Cortex-M3 and Cortex-M4F ports to allow the SysTick to be clocked at a different speed than the system clock (as is done in the recent STM32L demo. ).
...
Add additional asserts and isb instructions into the Cortex-M3 and Cortex-M4F ports.
11 years ago
Richard Barry
6b3393b4b6
Add trace macros into the event groups implementation.
...
Add a task pre-delete hook to allow the insertion of any port specific clean up when a task is deleted.
Increase use of 'const' qualifiers.
Add vPortCloseRunningThread() into the Win32 port layer to attempt to allow Windows threads to be closed more gracefully when a task deletes itself.
11 years ago
Richard Barry
00ad1a0200
Multiple tidy up, documentation corrections and typo corrections highlighted by Tamas Kleiber's diligent review.
11 years ago
Richard Barry
2e42d7690a
Continue work on new event groups functionality - fixups required by test results.
11 years ago
Richard Barry
d2c2e3ca68
Add additional asserts() to ensure certain operations are not performed when the scheduler is suspended.
...
Change the xBlockTime variables in event_groups.c/h to xTicksToWait to match the naming in other core FreeRTOS files.
11 years ago
Richard Barry
9dc39ee2a7
Add additional event group tests - and update implementation as required by test results.
11 years ago
Richard Barry
f54f21b8f6
Add event_groups.c and associated functions in other core files.
...
Added xTimerPendCallbackFromISR() to provide a centralised deferred interrupt handling mechanism.
Add xPortGetLowestEverFreeHeapSize() to heap_4.c.
11 years ago
Richard Barry
417c3d1054
Change backslashes to forward slashes for all PIC projects.
11 years ago
Richard Barry
fa002f7fdd
Final tidy up before V7.6.0 zip file creation.
11 years ago
Richard Barry
a2cfaa7cd9
Correct build of helper function for ports where the stack grows up.
11 years ago
Richard Barry
0cd79ad81d
Change version numbers in preparation for V7.6.0 release.
11 years ago
Richard Barry
b1b4b15353
Add configASSERT()s to ensure counting semaphores are not created with a max count of zero or an initial count greater than the max count.
11 years ago
Richard Barry
b181a3af99
Ensure the definition of prvTaskExitError()does not result in a compiler warning in ports where its use can be overridden (GCC Cortex-M ports).
...
Remove duplicate save/restore of r14 in Cortex-M4F ports.
11 years ago
Richard Barry
20eb03ed7d
Change behaviour when configUSE_PREEMPTION is 0 (preemption is turned off). See the change history in the next release for details.
...
Remove an erroneous const in the prototype of queue receive/peek functions.
11 years ago
Richard Barry
30bc6c01a9
Add ehb instructions back into PIC32 port layer (upon advice).
...
Add configCLEAR_TICK_TIMER_INTERRUPT into PIC32 port layer to allow the timer configuration to be changed without any edits to the port layer being required.
Add prvTaskExitError() into the PIC32 port layer to trap tasks that attempt to exit from their implementing function.
Provide the ability to trap interrupt stack overflows in the PIC32 port.
Radically improve the timing in the Win32 simulator port layer.
11 years ago
Richard Barry
dcf261a3e6
Add xSemaphoreCreateBinary() so vSemaphoreCreate() can be deprecated.
11 years ago
Richard Barry
dcd261bb8b
Update the Keil and IAR CM0 port layers to match the changes made to the GCC version.
11 years ago
Richard Barry
41fe693968
Improve how the scheduler is started in the GCC Cortex-M0 port.
11 years ago
Richard Barry
25bab250b6
Added a little intelligence to eTaskGetState() so it can distinguish between a suspended task and a task that is indefinitely blocked on an event.
11 years ago
Richard Barry
a12ea2d212
Update FreeRTOS version number to V7.5.3
...
Update FreeRTOS+CLI version number to V1.0.2
Update FreeRTOS+UDP version number to V1.0.1
11 years ago
Richard Barry
94607d83f9
Add workaround to XMC4000 silicon bug to Tasking Cortex-M4F port layer.
11 years ago
Richard Barry
0c56f5018d
Add some defensive programming in the default tickless mode in case the application supplied post tick hook takes a long time to complete.
11 years ago
Richard Barry
aedf7824cb
Introduce the prvTaskExitError() function for all ARM_CMn ports.
...
Introduce the configTASK_RETURN_ADDRESS macro for the GCC ARM_CMn ports.
Improve time slippage penalty when entering tickless mode is abandoned.
11 years ago
Richard Barry
eaacbb099a
Clear up a few compiler warnings.
...
Correct header comments in the UARTCommandConsole.c file used in the SmartFusion2 demo.
Exercise the new xQueueSpacesAvailable() function in the MSVC demo.
Add defaults for the new traceMALLOC and traceFREE trace macros.
Catch tasks trying to exit their functions in the Cortex-M0 ports.
Add additional comments to timers.c in response to a support forum question.
Initialise _impure_ptr prior to the first task being started.
Prior to V7.5.0 a yield pended in the tick hook would have occurred during the same tick interrupt. Return pdTRUE from xTaskIncrementTick() if a yield is pending to revert to that behaviour.
11 years ago
Richard Barry
7ec4773131
Add traceMALLOC() and traceFREE() macros.
11 years ago
Richard Barry
1902d2b64a
Add the uxQueueSpacesAvailable() API function.
...
Move a configASSERT() call in timers.c to prevent a "condition is always true" compiler warning.
12 years ago
Richard Barry
73606369c4
Make Cortex-M0 set/clear interrupt flag from ISR functions nestable.
...
Don't reset the stack location when starting the scheduler in Cortex-M0 ports as the vector offset register is not implemented and XMC1000 devices have their application vector address somewhere other than 0x00.
12 years ago
Richard Barry
574f5044a6
Starting point for Keil Cortex-M0 port.
12 years ago
Richard Barry
c40370e96a
Fix a few typos and remove the "register" keyword.
12 years ago
Richard Barry
63e8044d33
Allow compilation when portALT_GET_RUN_TIME_COUNTER_VALUE() is defined.
12 years ago
Richard Barry
2f754d9b0c
Add additional critical section to the default tickless implementations.
...
Update version number for maintenance release.
12 years ago
Richard Barry
3cbe0a724d
Update version number.
12 years ago
Richard Barry
8ceb665994
Void a few unused return values and make casting more C++ friendly.
12 years ago
Richard Barry
bb2093cf5d
Update the header file included in the PIC32 port_asm.S file to use the header for the latest compiler version.
12 years ago
Richard Barry
679a3c670c
Update the Cortex-M vPortValidateInterruptPriority() implementation to ensure compatibility with the STM32 standard peripheral library.
12 years ago
Richard Barry
9054485f1a
Tidy up pre-processor as final act before tagging as V7.5.0
12 years ago
Richard Barry
08057fa77f
Changes to comments only.
12 years ago
Richard Barry
203ae64600
Rename xTaskGetSystemState() uxTaskGetSystemState().
12 years ago
Richard Barry
92fae7d262
For consistency change the name of configINCLUDE_STATS_FORMATTING_FUNCTIONS to configUSE_STATS_FORMATTING_FUNCTIONS.
12 years ago
Richard Barry
7d6758ee1a
Minor updates and change version number for V7.5.0 release.
12 years ago
Richard Barry
7d1292ced2
Linting and MISRA checking
12 years ago
Richard Barry
e83b93f5fc
Tidy up comments only.
12 years ago
Richard Barry
ce9c3b7413
Variable name change in the PIC32 port layer only.
12 years ago
Richard Barry
1e17924fa8
Update doxygen comments.
12 years ago
Richard Barry
da0fff63c9
Update Cortex-M MPU version to include new API functions.
12 years ago
Richard Barry
e5d9640863
Update RX ports to only include additional check on the existing IPL (so it is not lowered) if configASSERT() is defined.
12 years ago
Richard Barry
4b964814de
Implement portASSERT_IF_INTERRUPT_PRIORITY_INVALID() for PIC32.
12 years ago
Richard Barry
ad8fa53043
Kernel optimisations.
12 years ago
Richard Barry
c9d9bddc3c
Add comments to the portASSERT_IF_INTERRUPT_PRIORITY_INVALID() calls in the core queue.c and tasks.c files.
12 years ago
Richard Barry
5d902f2b9c
Complete additions of portASSERT_IF_INTERRUPT_PRIORITY_INVALID() for all RX compiler ports.
12 years ago
Richard Barry
65704174c9
Add portASSERT_IF_INTERRUPT_PRIORITY_INVALID() implementation to the RX ports that use the Renesas compiler.
...
Add portASSERT_IF_INTERRUPT_PRIORITY_INVALID() implementation to the Cortex-A9 ports.
12 years ago
Richard Barry
0f6b0d3a59
Enhance heap_4.c to prevent blocks accidentally being freed twice, or blocks that don't have a valid block link descriptor being freed.
...
Update the Cortex-A9 port to include asserts if an ISR safe FreeRTOS function is called from an interrupt that has a higher logical priority than configMAX_SYSCALL_INTERRUPT_PRIORITY (or whatever the CA9 equivalent is called), and also assert if the binary point is not set correctly.
12 years ago
Richard Barry
c4eef61d39
Added portASSERT_IF_INTERRUPT_PRIORITY_INVALID() implementation to Cortex-M3 and Cortex-M4F ports.
12 years ago
Richard Barry
b521d70e7e
Remove compiler warnings.
12 years ago
Richard Barry
c1b4fc58d2
Add new xTaskGetSystemState() API function to return raw data on each task in the system.
...
Relegate the vTaskList() and vTaskGetRunTimeStats() functions to "sample" functions demonstrating how to use xTaskGetSystemState() to generate human readable status information.
Introduce and default configINCLUDE_STATS_FORMATTING_FUNCTIONS which must now be defined to use vTaskList() and vTaskGetRunTimeStats().
12 years ago
Richard Barry
877ce218a4
Add additional comment only.
12 years ago
Richard Barry
0c0b54c175
Refine the default tickless idle implementation in the Cortex-M3 port layers.
12 years ago
Richard Barry
b8a219b30c
Update QueueOverwrite.c to include a call to xQueuePeekFromISR().
...
Default new QueuePeekFromISR() trace macros.
12 years ago
Richard Barry
3b02b4c8f8
Add xQueueOverwriteFromISR() and update the QueueOverwrite.c to demonstrate its use.
12 years ago
Richard Barry
671949ad78
Add xQueueOverwrite() and a common demo task to demonstrate its use.
...
Update MSVC Win32 demo to include the xQueueOverwrite() common demo tasks.
12 years ago
Richard Barry
59f75a12f6
Add Newlib reent support.
12 years ago
Richard Barry
4444b4ee68
Improve efficiency and behaviour of vListInsertEnd().
12 years ago
Richard Barry
f11635ed91
Remove reliance on strncpy() function.
12 years ago
Richard Barry
a7c47131fa
Remove portALIGNMENT_ASSERT_pxCurrentTCB() macro, which serves no purpose.
12 years ago
Richard Barry
6cbbfd2eb5
Slight correction to coding standard in heap_2.c and heap_4.c.
12 years ago
Richard Barry
fb47260e80
Improve efficiency of memory allocation when the memory block is already aligned correctly.
12 years ago
Richard Barry
87049ac37c
Re-implement the LPC18xx and SmartFusion2 run time stats implementation to use the free running Cortex-M cycle counter in place of the systick.
...
Correct the run-time stats counter implementation in the RZ demo.
Guard against run time counters going backwards in tasks.c.
12 years ago
Richard Barry
cdae14a8cb
Replace the #define that maps the uxRecursiveCallCount to the pcReadFrom pointer with a union - although this is against the coding standard it seemed the best way of ensuring complete adherence to the C standard and allow correct builds with LLVM when the optimiser is on.
12 years ago
Richard Barry
e6903dac61
Add extra debug comment into list.c.
12 years ago
Richard Barry
3a507bdc0c
Add missing function prototype.
12 years ago
Richard Barry
c3f9e3c5ff
Update RVDS port layer to match IAR port layer.
12 years ago
Richard Barry
5013baa2cd
RVDS ARM Cortex-A port layer.
12 years ago
Richard Barry
04dafed839
IAR ARM Cortex-A port layer.
12 years ago
Richard Barry
2fd431e971
Modify the GCC/AVR port to make use of the xTaskIncrementTick return value.
...
Add pre-processor directives in the dsPIC and PIC24 port layers that allows both port files to be included in the same project.
12 years ago
Richard Barry
62c0ae0926
Update port layers to make better use of the xTaskIncrementTick() return value.
12 years ago
Richard Barry
c75c01ffdf
Check in implementation of xTaskIncrementTick (replaced vTaskIncrementTick()).
12 years ago
Richard Barry
59a834eb86
Update ports that have their tick configuration in an application callback to use xTaskIncrementTick() in place of vTaskIncrementTick().
12 years ago
Richard Barry
c04b074707
Convert the remaining ports to use xTaskIncrementTick() in place of vTaskIncremenTick().
12 years ago
Richard Barry
2fc9d033c6
Update the PIC32 port to use xTaskIncrementTick() and change the macro used to detect if XC is being used.
12 years ago
Richard Barry
51d9ee0c1c
Add configINCLUDE_APPLICATION_DEFINED_PRIVILEGED_FUNCTIONS mechanism to the relevant port.c file to allow the user to define functions that will execute in privileged mode.
12 years ago
Richard Barry
29ca4f1b36
Ensure queue functions go into the privileged code section when the MPU version is in use.
...
Provide a default value for configINCLUDE_APPLICATION_DEFINED_PRIVILEGED_FUNCTIONS.
Revert prvQueueUnregisterQueue() back to a public function.
12 years ago
Richard Barry
f904d26957
Convert more ports to use xTaskIncrementTick() in place of vTaskIncrementTick().
12 years ago
Richard Barry
15ec6c87f7
Convert mpre ports to use xTaskIncrementTick() in place of vTaskIncrementTick().
12 years ago
Richard Barry
686d190798
Convert some ports to use xTaskIncrementTick() in place of vTaskIncrementTick().
...
Move DSB instructions to before WFI instructions in line with ARM recommendations.
12 years ago
Richard Barry
4e9374ad90
Add default value for configUSE_TIME_SLICING
12 years ago
Richard Barry
06953169ba
Update RM48/TMS570 port to use xTaskIncrementTick in place of vTaskIncrementTick.
12 years ago
Richard Barry
2c562bd3d7
Ensure a queue or semaphore that is not empty cannot be added to a queue set.
12 years ago
Richard Barry
bb7b711ca9
Update the code that generates the run time stats strings so the pcStatsString[] array is not required.
12 years ago
Richard Barry
a03b171992
Fix compiler warning in psp_test.c when compiled with ARM compiler.
...
Add portYIELD_FROM_ISR() macros to Cortex-M ports. The new macro just calls the exiting portEND_SWITCHING_ISR() macro.
Remove code from the MSVC port layer that was left over from a previous implementation and become obsolete.
12 years ago
Richard Barry
fb9662009a
Update comments in Atmel Studio CreateProjectDirectoryStructure.bat files to remove references to replace references to Eclipse with references to Atmel Studio.
...
Update the tickless idle implementations that use up counters for tick interrupt generate to ensure they remain in low power mode for the desired time instead of one tick less than the desired time.
12 years ago
Richard Barry
e08966c7e8
Update flop.c and FreeRTOS.h to include a macro (and a default null implementation of the macro) that enables the flop tasks to register their need for a floating point context with the kernel.
12 years ago
Richard Barry
96ceae8edd
Update version number ready to release the FAT file system demo.
12 years ago
Richard Barry
a4a830c44d
Add FAT SL code and demo project.
12 years ago
Richard Barry
bbe48d31a4
Clarify license blurb at the top of the FreeRTOS+UDP and FreeRTOS+CLI source files.
12 years ago
Richard Barry
f9918345e1
Update version numbers to V7.4.1.
12 years ago
Richard Barry
2b41be4cb9
Update yield code in RX200/Renesas compiler port.
12 years ago
Richard Barry
0013028c7a
Update yield code in RX600/IAR compiler port.
12 years ago
Richard Barry
4f5f527c73
Update yield code in RX600/Renesas compiler port.
12 years ago
Richard Barry
b7487b8dc2
Update yield code in RX600/GCC port.
12 years ago
Richard Barry
a69933782d
Add RX100 Renesas compiler port layer.
12 years ago
Richard Barry
74290b4425
Add RX100 IAR port layer.
12 years ago
Richard Barry
a0056e8fd3
Add RX100 GCC port layer.
12 years ago
Richard Barry
9a15f50b00
Add memory barrier instructions to Tasking CM4F port.
12 years ago
Richard Barry
7132e88685
Add memory barrier instructions to the RVDS CM3 ports.
12 years ago
Richard Barry
895ee2bb3e
Add barrier instructions to IAR CM3 ports.
12 years ago
Richard Barry
d135e45676
Replace the read back of the software interrupt register with barrier instructions (CCS/RM48/TMS570).
12 years ago
Richard Barry
0527099b51
Add barrier instructions to the GCC CM3 ports.
12 years ago
Richard Barry
af023e8bf1
Remove infinite loop from task delete function.
12 years ago
Richard Barry
6d20e2b5cd
Add barrier instructions to GCC CM3/4 code.
12 years ago
Richard Barry
3762630f27
RL78/IAR port - Allow the end user to define their own tick interrupt configuration by defining configSETUP_TIMER_INTERRUPT().
12 years ago
Richard Barry
a9b8f0ca69
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).
12 years ago
Richard Barry
caf1fbc899
Ensure IAR RL port layer works on devices using two different naming conventions for the interval timer registers.
12 years ago
Richard Barry
8c66fdbb8c
Updated IAR RL78 port layer.
12 years ago
Richard Barry
17bba16fa6
Added YRDKRL78G14 build configuration to the IAR RL78 demo.
12 years ago
Richard Barry
a5d0e3f0c1
Prepare for V7.4.0 release.
12 years ago
Richard Barry
902f9e1a58
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.
12 years ago
Richard Barry
c519ba094d
Correct spelling of xSuspendedTaskList in eTaskConfirmSleepModeStatus().
12 years ago
Richard Barry
dcc90bb6d9
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.
12 years ago
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