]>
git.sur5r.net Git - freertos/log
rtel [Tue, 24 Dec 2013 10:47:52 +0000 (10:47 +0000)]
Don't free xQueue->ucHead if it is NULL.
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2140
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2
rtel [Mon, 23 Dec 2013 18:13:29 +0000 (18:13 +0000)]
Move the event groups single tasks test out of the common demo file (they are now part of the module tests).
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2139
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2
rtel [Mon, 23 Dec 2013 18:11:15 +0000 (18:11 +0000)]
Add coverage test markers.
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2138
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2
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.
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2137
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2
rtel [Fri, 20 Dec 2013 11:35:16 +0000 (11:35 +0000)]
Change some task priorities in the MingW simulator demo.
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2136
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2
rtel [Thu, 19 Dec 2013 13:40:37 +0000 (13:40 +0000)]
Update GCC/Eclipse Win32 simulator port to make better use of Eclipse resource filters and match the functionality of the MSVC equivalent.
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2135
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2
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.
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2134
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2
rtel [Sun, 15 Dec 2013 10:17:02 +0000 (10:17 +0000)]
Change the configCPU_CLOCK_HZ setting in the SAM4E demo to use the SystemCoreClock variable.
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2133
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2
rtel [Sat, 14 Dec 2013 13:16:05 +0000 (13:16 +0000)]
Update the ucQueueNumber member of the queue structure (used with FreeRTOS+Trace to be an unsigned portBASE_TYPE instead of an unsigned char.
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2132
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2
rtel [Fri, 13 Dec 2013 10:35:11 +0000 (10:35 +0000)]
Introduce prvResetNextTaskUnblockTime() to encapsulate functionality from various places in the code into a single function.
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2131
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2
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.
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2130
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2
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.
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2129
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2
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.
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2128
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2
rtel [Wed, 11 Dec 2013 17:56:07 +0000 (17:56 +0000)]
Comment typo correction only.
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2127
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2
rtel [Wed, 11 Dec 2013 11:35:03 +0000 (11:35 +0000)]
Complete STM32L low power demo.
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2126
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2
rtel [Wed, 11 Dec 2013 10:46:17 +0000 (10:46 +0000)]
Remove [unused] touch library files from the STM32L discovery demo.
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2125
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2
rtel [Tue, 10 Dec 2013 17:16:45 +0000 (17:16 +0000)]
Remove unused files from STM32L discovery board demo directory structure and build.
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2124
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2
rtel [Tue, 10 Dec 2013 16:20:43 +0000 (16:20 +0000)]
Tidy up STM32L low power demo and add 'comprehensive demo' option.
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2123
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2
rtel [Tue, 10 Dec 2013 11:24:41 +0000 (11:24 +0000)]
Remove duplication of comments at the top of the file.
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2122
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2
rtel [Tue, 10 Dec 2013 10:07:53 +0000 (10:07 +0000)]
STM32L discovery demo is now demonstrating three low power modes - still needs clean up.
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2121
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2
rtel [Sun, 8 Dec 2013 06:32:38 +0000 (06:32 +0000)]
Minor change to SAM4L_low_power_tick_management.c to ensure the alarm value cannot be set to zero.
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2120
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2
rtel [Thu, 28 Nov 2013 13:24:05 +0000 (13:24 +0000)]
Spelling corrections in comments only.
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2119
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2
rtel [Thu, 28 Nov 2013 10:48:33 +0000 (10:48 +0000)]
Multiple tidy up, documentation corrections and typo corrections highlighted by Tamas Kleiber's diligent review.
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2118
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2
rtel [Wed, 27 Nov 2013 20:29:33 +0000 (20:29 +0000)]
Continue work on new event groups functionality - fixups required by test results.
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2117
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2
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.
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2116
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2
richardbarry [Fri, 22 Nov 2013 11:05:24 +0000 (11:05 +0000)]
Checked in header file missed form previous checkin.
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2115
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2
richardbarry [Fri, 22 Nov 2013 10:58:25 +0000 (10:58 +0000)]
Add additional event group tests - and update implementation as required by test results.
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2114
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2
richardbarry [Thu, 21 Nov 2013 22:08:06 +0000 (22:08 +0000)]
Add event groups test/demo tasks.
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2113
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2
richardbarry [Thu, 21 Nov 2013 21:46:08 +0000 (21:46 +0000)]
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.
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2112
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2
richardbarry [Thu, 21 Nov 2013 16:08:11 +0000 (16:08 +0000)]
Continue work on STM32L demo.
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2111
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2
richardbarry [Wed, 20 Nov 2013 13:33:30 +0000 (13:33 +0000)]
Add STM32L Discovery board project as a starting point to adapt to an RTOS demo.
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2110
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2
richardbarry [Mon, 18 Nov 2013 16:00:27 +0000 (16:00 +0000)]
Change backslashes to forward slashes for all PIC projects.
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2109
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2
richardbarry [Sun, 17 Nov 2013 22:19:54 +0000 (22:19 +0000)]
Tidy up SAM4E NetworkInterface.c.
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2107
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2
richardbarry [Sun, 17 Nov 2013 22:15:45 +0000 (22:15 +0000)]
Change conf_eth.h to provide additional Rx buffers in SAM4E demo.
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2106
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2
richardbarry [Sun, 17 Nov 2013 15:46:08 +0000 (15:46 +0000)]
Final tidy up before V7.6.0 zip file creation.
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2105
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2
richardbarry [Sun, 17 Nov 2013 15:42:08 +0000 (15:42 +0000)]
Make SAM4E network driver a little more robust.
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2104
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2
richardbarry [Sun, 17 Nov 2013 15:40:56 +0000 (15:40 +0000)]
Add link to documentation page inside main_full() of the SAM4E demo.
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2103
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2
richardbarry [Sun, 17 Nov 2013 14:14:22 +0000 (14:14 +0000)]
Add additional comments to SAM4E demo.
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2102
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2
richardbarry [Sun, 17 Nov 2013 14:12:41 +0000 (14:12 +0000)]
Update version numbers in FreeRTOS-Plus demo files.
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2101
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2
richardbarry [Sun, 17 Nov 2013 14:09:17 +0000 (14:09 +0000)]
Add basic SAM4E driver.
Add ipconfigETHERNET_DRIVER_ADDS_UDP_CHECKSUM, ipconfigETHERNET_DRIVER_ADDS_IP_CHECKSUM, ipconfigETHERNET_DRIVER_CHECKS_IP_CHECKSUM and ipconfigETHERNET_DRIVER_CHECKS_UDP_CHECKSUM definitions.
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2100
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2
richardbarry [Sat, 16 Nov 2013 22:33:51 +0000 (22:33 +0000)]
Add graphics to the SAM4E demo.
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2099
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2
richardbarry [Sat, 16 Nov 2013 19:19:18 +0000 (19:19 +0000)]
Add UDP related commands to SAM4E demo.
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2098
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2
richardbarry [Sat, 16 Nov 2013 18:06:57 +0000 (18:06 +0000)]
Add standard demo tasks to SAM4E demo.
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2097
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2
richardbarry [Sat, 16 Nov 2013 13:27:44 +0000 (13:27 +0000)]
Add SAM4E-EK demo with UDP and CLI. Not yet complete.
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2096
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2
richardbarry [Tue, 12 Nov 2013 17:26:08 +0000 (17:26 +0000)]
Reorder the license text wording so the exception text is at the top rather than the bottom.
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2095
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2
richardbarry [Tue, 12 Nov 2013 13:06:18 +0000 (13:06 +0000)]
Correct build of helper function for ports where the stack grows up.
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2094
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2
richardbarry [Mon, 11 Nov 2013 14:49:36 +0000 (14:49 +0000)]
Update the SAM4L low power demo to use the ASF enable/disable interrupts functions rather than manipulating the PIRMASK directly - and in so doing allow other ASF functions to be called with the interrupt enable bit nesting.
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2093
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2
richardbarry [Fri, 8 Nov 2013 11:47:35 +0000 (11:47 +0000)]
Change version numbers in preparation for V7.6.0 release.
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2092
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2
richardbarry [Fri, 8 Nov 2013 10:11:46 +0000 (10:11 +0000)]
Ensure the Win32 demo runs in co-operative mode.
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2091
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2
richardbarry [Thu, 7 Nov 2013 16:45:30 +0000 (16:45 +0000)]
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.
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2090
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2
richardbarry [Thu, 7 Nov 2013 16:43:54 +0000 (16:43 +0000)]
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.
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2089
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2
richardbarry [Thu, 7 Nov 2013 14:58:14 +0000 (14:58 +0000)]
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.
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2088
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2
richardbarry [Thu, 7 Nov 2013 14:16:32 +0000 (14:16 +0000)]
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.
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2087
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2
richardbarry [Thu, 7 Nov 2013 14:04:05 +0000 (14:04 +0000)]
Update some standard demo task implementations so they can be used with the cooperative scheduler.
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2086
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2
richardbarry [Thu, 7 Nov 2013 11:11:18 +0000 (11:11 +0000)]
Update semtest.c to use xSemaphoreCreateBinary() in place of vSemaphoreCreateBinary.
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2085
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2
richardbarry [Thu, 7 Nov 2013 10:53:23 +0000 (10:53 +0000)]
Add xSemaphoreCreateBinary() so vSemaphoreCreate() can be deprecated.
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2084
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2
richardbarry [Thu, 7 Nov 2013 10:16:15 +0000 (10:16 +0000)]
Ensure PIC32MX MPLAB 8 project builds with XC.
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2083
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2
richardbarry [Thu, 7 Nov 2013 10:11:06 +0000 (10:11 +0000)]
Update PIC32 MPLAB8 project so it builds with the new partest file names.
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2082
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2
richardbarry [Thu, 7 Nov 2013 09:54:13 +0000 (09:54 +0000)]
Update PIC32MX demo:
Change configCHECK_FOR_STACK_OVERFLOW to 3 to also check the interrupt stack.
Add a build configuration to allow use on the PIC32 USBII starter kit.
Increase some delays when talking to the LCD to ensure it always displays correctly.
Rewrite the register test tasks.
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2081
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2
richardbarry [Tue, 29 Oct 2013 12:40:12 +0000 (12:40 +0000)]
Set the MSVC Win32 demo back to create the simply blinky demo by default.
Set the MingW Wind32 demo back to include the #error to remind people to run the CreateProjectDirectoryStructure batch file.
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2080
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2
richardbarry [Tue, 29 Oct 2013 12:32:04 +0000 (12:32 +0000)]
Update the Eclipse/MingW project to account for the new Win32 simulator port layer (which has better timing).
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2079
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2
richardbarry [Tue, 29 Oct 2013 11:43:41 +0000 (11:43 +0000)]
Update the FreeRTOS+ Win32 MSVC demos to account for the changes to the Win32 port layer (more accurate timing).
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2078
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2
richardbarry [Tue, 29 Oct 2013 11:14:54 +0000 (11:14 +0000)]
Update the main Win32 MSVC demo to account for the changes to the Win32 port layer (more accurate timing).
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2077
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2
richardbarry [Sat, 26 Oct 2013 13:34:50 +0000 (13:34 +0000)]
Add missing header file to the UDP BufferAllocation_1.c scheme.
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2076
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2
richardbarry [Wed, 23 Oct 2013 13:59:51 +0000 (13:59 +0000)]
Second attempt - Ensure the private port number wrap check is inside the critical section in prvGetPrivatePortNumber() (UDP).
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2075
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2
richardbarry [Wed, 23 Oct 2013 10:28:17 +0000 (10:28 +0000)]
Ensure the private port number wrap check is inside the critical section in prvGetPrivatePortNumber() (UDP).
Add missing default values for some of the trace macros.
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2074
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2
richardbarry [Tue, 22 Oct 2013 11:27:43 +0000 (11:27 +0000)]
Remove the SVC handler from the XMC1000 demo as it is no longer used by the Cortex-M0 port layer.
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2073
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2
richardbarry [Tue, 22 Oct 2013 11:26:16 +0000 (11:26 +0000)]
Update the Keil and IAR CM0 port layers to match the changes made to the GCC version.
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2072
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2
richardbarry [Tue, 22 Oct 2013 10:58:23 +0000 (10:58 +0000)]
Remove the SVC handler from the SAMD20 FreeRTOSConfig.h as the GCC Cortex-M0 port no longer uses it.
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2071
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2
richardbarry [Tue, 22 Oct 2013 09:50:20 +0000 (09:50 +0000)]
Improve how the scheduler is started in the GCC Cortex-M0 port.
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2070
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2
richardbarry [Tue, 22 Oct 2013 09:33:49 +0000 (09:33 +0000)]
Added an additional configASSERT() to test the new eTaskGetState() behaviour (see previous checking comment).
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2069
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2
richardbarry [Tue, 22 Oct 2013 09:30:58 +0000 (09:30 +0000)]
Added a little intelligence to eTaskGetState() so it can distinguish between a suspended task and a task that is indefinitely blocked on an event.
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2068
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2
richardbarry [Mon, 14 Oct 2013 20:12:48 +0000 (20:12 +0000)]
Remove maths library dependency form SAMD20 project.
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2066
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2
richardbarry [Mon, 14 Oct 2013 19:56:47 +0000 (19:56 +0000)]
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
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2065
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2
richardbarry [Mon, 14 Oct 2013 14:35:53 +0000 (14:35 +0000)]
Add a configASSERT() that checks the gateway address is on the same subnet as the device in FreeRTOS+UDP.
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2064
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2
richardbarry [Mon, 14 Oct 2013 14:03:05 +0000 (14:03 +0000)]
Add workaround to XMC4000 silicon bug to Tasking Cortex-M4F port layer.
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2063
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2
richardbarry [Mon, 14 Oct 2013 13:46:47 +0000 (13:46 +0000)]
Complete XMC4000 Tasking project.
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2062
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2
richardbarry [Sat, 12 Oct 2013 10:09:10 +0000 (10:09 +0000)]
Fix broken link in Atmel Studio SAMD20 project.
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2061
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2
richardbarry [Wed, 9 Oct 2013 18:46:08 +0000 (18:46 +0000)]
Increase minimal stack size for the SAMD20 demo.
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2060
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2
richardbarry [Wed, 9 Oct 2013 13:26:34 +0000 (13:26 +0000)]
Complete tidy up of SAMD20 demo.
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2059
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2
richardbarry [Tue, 8 Oct 2013 15:56:06 +0000 (15:56 +0000)]
Complete SAMD20 demo - still needs tidy up.
Add comments to the XMC1000 reg test files.
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2058
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2
richardbarry [Tue, 8 Oct 2013 12:33:46 +0000 (12:33 +0000)]
Add some defensive programming in the default tickless mode in case the application supplied post tick hook takes a long time to complete.
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2057
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2
richardbarry [Tue, 8 Oct 2013 11:30:40 +0000 (11:30 +0000)]
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.
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2056
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2
richardbarry [Tue, 8 Oct 2013 09:08:29 +0000 (09:08 +0000)]
Ensure the statically configured gateway address is on the same subnet.
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2055
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2
richardbarry [Mon, 7 Oct 2013 20:17:28 +0000 (20:17 +0000)]
Take out nonsensical #if configMAC_INTERRUPT_PRIORITY > configMAC_INTERRUPT_PRIORITY check from the LPC18xx Ethernet driver.
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2054
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2
richardbarry [Mon, 7 Oct 2013 20:13:02 +0000 (20:13 +0000)]
Update FreeRTOS_FD_SET() to check there is enough space in the queue before adding the socket to the socket set.
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2053
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2
richardbarry [Mon, 7 Oct 2013 16:49:31 +0000 (16:49 +0000)]
Make corrections to the interrupt priority configuration in the LPC1800 UDP demo that resulted from an incorrect NVIC_PRIOR_BITS setting in the LPC18xx.h header file.
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2052
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2
richardbarry [Mon, 7 Oct 2013 12:06:17 +0000 (12:06 +0000)]
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.
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2051
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2
richardbarry [Mon, 7 Oct 2013 11:49:17 +0000 (11:49 +0000)]
Improve DCHP handling by removing the yiaddr field from outgoing DHCP packets and adding the broadcast bit in the flags field.
Correct the check to ensure the application network event hook is not called when the first network down event is sent.
Add in defaults for the Nabto task stack and priority.
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2050
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2
richardbarry [Fri, 4 Oct 2013 20:56:45 +0000 (20:56 +0000)]
Add traceMALLOC() and traceFREE() macros.
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2049
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2
richardbarry [Thu, 3 Oct 2013 15:41:33 +0000 (15:41 +0000)]
Complete CLI demo on SAMD20.
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2048
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2
richardbarry [Wed, 2 Oct 2013 14:24:38 +0000 (14:24 +0000)]
Get CLI functioning in SAMD20 demo.
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2047
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2
richardbarry [Wed, 2 Oct 2013 10:41:40 +0000 (10:41 +0000)]
Starting point for the SAMD20 demo.
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2046
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2
richardbarry [Tue, 1 Oct 2013 12:47:27 +0000 (12:47 +0000)]
Finalise XMC4000 GCC demos.
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2045
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2
richardbarry [Tue, 1 Oct 2013 10:10:15 +0000 (10:10 +0000)]
Finalise XMC4000 IAR demos.
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2044
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2
richardbarry [Tue, 1 Oct 2013 09:53:12 +0000 (09:53 +0000)]
Finalise XMC4000 Keil demos.
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2043
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2
richardbarry [Tue, 17 Sep 2013 09:48:51 +0000 (09:48 +0000)]
Add the configUSE_STATS_FORMATTING_FUNCTIONS parameter to a couple of FreeRTOSConfig.h header files that got missed out when the parameter was introduced.
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2042
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2
richardbarry [Tue, 17 Sep 2013 09:05:31 +0000 (09:05 +0000)]
Remove the math library as a build dependency in the SAM4L demo.
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2041
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2
richardbarry [Tue, 10 Sep 2013 13:58:09 +0000 (13:58 +0000)]
Move the #error message about running the CreateProjectDirectoryStructure batch file from FreeRTOSConfig.h to main.c so it shows when the batch file has not been executed (XMC4000 Dave and Tasking projects).
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2040
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2
richardbarry [Tue, 10 Sep 2013 13:19:12 +0000 (13:19 +0000)]
Add the uxQueueSpacesAvailable() API function.
Move a configASSERT() call in timers.c to prevent a "condition is always true" compiler warning.
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2039
1d2547de -c912-0410-9cb9-
b8ca96c0e9e2