rtel [Tue, 11 Feb 2014 15:15:36 +0000 (15:15 +0000)]
Follow instructions on http://blogs.msdn.com/b/vsproject/archive/2009/07/21/enable-c-project-system-logging.aspx to manually prevent MSVC from incorrectly reporting the MSVC demo project as being out of date.
rtel [Tue, 11 Feb 2014 09:24:33 +0000 (09:24 +0000)]
Add event groups demo to Zynq demo.
Add C implementations of some standard library functions to the Zynq demo to prevent the GCC libraries (which use floating point registers as scratch registers) being linked in.
rtel [Mon, 10 Feb 2014 17:02:37 +0000 (17:02 +0000)]
Make xTaskIsTaskSuspended() a private function as it should only be called from within critical sections.
Fix issue in and simplify the xTaskRemoveFromUnorderedEventList() function. The function is new to the V8 release candidates so does not effect official released code.
rtel [Mon, 10 Feb 2014 14:21:17 +0000 (14:21 +0000)]
Third attempt: Improve how TimerDemo.c manages differences between the tick count and its own internal tick count, which can temporarily differ when the tick hook is called while the scheduler is suspended.
rtel [Tue, 4 Feb 2014 17:02:52 +0000 (17:02 +0000)]
Add configCLEAR_TICK_INTERRUPT() to the IAR and RVDS Cortex-A9 ports.
Replace LDMFD with POP instructions in IAR and RVDS Cortex-A9 ports.
Replace branch to address with indirect branch and exchange to address in register in the IAR and RVDS Cortex-A9 ports.
rtel [Tue, 4 Feb 2014 15:51:48 +0000 (15:51 +0000)]
Second attempt: Improve how TimerDemo.c manages differences between the tick count and its own internal tick count, which can temporarily differ when the tick hook is called while the scheduler is suspended.
rtel [Tue, 4 Feb 2014 14:55:53 +0000 (14:55 +0000)]
Improve how TimerDemo.c manages differences between the tick count and its own internal tick count, which can temporarily differ when the tick hook is called while the scheduler is suspended.
rtel [Tue, 4 Feb 2014 14:53:17 +0000 (14:53 +0000)]
Related to Zynq demo: Remove compiler warnings when configASSERT() is not defined and set the type of the assembly functions to allow them to be called when the C code is compiled to THUMB instructions.
rtel [Tue, 28 Jan 2014 12:32:03 +0000 (12:32 +0000)]
vQueueAddToRegistry() now takes a const char * instead of a char *.
tmrCOMMAND_CHANGE_PERIOD_FROM_ISR constant added for the "FromISR" version of the software timer change period API function.
rtel [Mon, 27 Jan 2014 10:33:57 +0000 (10:33 +0000)]
Uncheck the "Do not search standard system directories for header files" compiler option in two RX600 project to ensure stdint.h can be found correctly.
rtel [Sat, 25 Jan 2014 17:01:41 +0000 (17:01 +0000)]
Introduce xTimerPendFunctionCall().
Change INCLUDE_xTimerPendFunctionCallFromISR to INCLUDE_xTimerPendFunctionCall
Update event group trace macros to match the new trace recorder code.
Ensure parameter name consistency by renaming any occurrences of xBlockTime and xBlockTimeTicks to xTicksToWait.
Continue work on GCC/RL78 port - still a work in progress.
Adjust how the critical section was used in xQueueAddToSet.
rtel [Thu, 23 Jan 2014 14:51:53 +0000 (14:51 +0000)]
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.
rtel [Fri, 17 Jan 2014 09:45:02 +0000 (09:45 +0000)]
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).
rtel [Mon, 13 Jan 2014 20:26:47 +0000 (20:26 +0000)]
Introduce configENABLE_BACKWARD_COMPATIBILITY to allow the #defines that provide backward compatibility with FreeRTOS version prior to V8 to be optionally omitted.
rtel [Sun, 5 Jan 2014 20:12:20 +0000 (20:12 +0000)]
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.
rtel [Tue, 31 Dec 2013 16:45:49 +0000 (16:45 +0000)]
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.
rtel [Sun, 29 Dec 2013 14:06:04 +0000 (14:06 +0000)]
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).
rtel [Mon, 23 Dec 2013 16:02:03 +0000 (16:02 +0000)]
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.
rtel [Sun, 15 Dec 2013 10:27:37 +0000 (10:27 +0000)]
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.
rtel [Thu, 12 Dec 2013 16:07:24 +0000 (16:07 +0000)]
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.
rtel [Thu, 12 Dec 2013 14:07:20 +0000 (14:07 +0000)]
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.
rtel [Thu, 12 Dec 2013 10:19:07 +0000 (10:19 +0000)]
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.
rtel [Sun, 24 Nov 2013 10:11:16 +0000 (10:11 +0000)]
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.