]> begriffs open source - freertos/blob - History.txt
Update SMP branch readme for port migration (#999)
[freertos] / History.txt
1 Documentation and download available at https://www.FreeRTOS.org/
2
3 Changes between FreeRTOS V10.4.2 and FreeRTOS V10.4.3 released December 14 2020
4
5         V10.4.3 is included in the 202012.00 LTS release.  Learn more at https:/freertos.org/lts-libraries.html
6
7         See https://www.FreeRTOS.org/FreeRTOS-V10.4.x.html
8
9         + Changes to improve robustness and consistency for buffer allocation in
10           the heap, queue and stream buffer.
11         + The following functions can no longer be called from unprivileged code.
12           - xTaskCreateRestricted
13           - xTaskCreateRestrictedStatic
14           - vTaskAllocateMPURegions
15
16
17 Changes between FreeRTOS V10.4.1 and FreeRTOS V10.4.2 released November 10 2020
18         
19         See https://www.FreeRTOS.org/FreeRTOS-V10.4.x.html
20
21         + Fix an issue in the ARMv8-M ports that caused BASEPRI to be masked 
22           between the first task starting to execute and that task making 
23           a FreeRTOS API call.
24         + Introduced xTaskDelayUntil(), which is functionally equivalent to
25           vTaskDelayUntil(), with the addition of returning a value to 
26           indicating whether or not the function placed the calling task into
27           the Blocked state or not.
28         + Update WolfSSL to 4.5.0 and add the FIPS ready demo.
29         + Add support for ESP IDF 4.2 to ThirdParty Xtensa port.
30         + Re-introduce uxTopUsedPriority to support OpenOCD debugging.
31         + Convert most dependent libraries in FreeRTOS/FreeRTOS to submodules.
32         + Various general maintenance and improvements to MISRA compliance.
33
34
35 Changes between FreeRTOS V10.4.0 and FreeRTOS V10.4.1 released September 17 2020
36
37         See https://www.FreeRTOS.org/FreeRTOS-V10.4.x.html
38
39         + Fixed an incorrectly named parameter that prevented the 
40           ulTaskNotifyTakeIndexed macro compiling, and the name space clash in the 
41           test code that prevented this error causing test failures.
42
43
44 Changes between FreeRTOS V10.3.1 and FreeRTOS V10.4.0 released September 10 2020
45
46         See https://www.FreeRTOS.org/FreeRTOS-V10.4.x.html
47
48         Major enhancements:
49
50         + Task notifications:  Prior to FreeRTOS V10.4.0 each created task had a
51           single direct to task notification.  From FreeRTOS V10.4.0 each task has
52           an array of notifications.  The direct to task notification API has been
53           extended with API functions postfixed with "Indexed" to enable the API to
54           operate on a task notification at any array index.  See
55           https://www.freertos.org/RTOS-task-notifications.html for more information.
56         + Kernel ports that support memory protection units (MPUs): The ARMv7-M and
57           ARMv8-M MPU ports now support a privilege access only heap. The ARMv7-M
58           MPU ports now support devices that have 16 MPU regions, have the ability
59           to override default memory attributes for privileged code and data
60           regions, and have the ability to place the FreeRTOS kernel code outside of
61           the Flash memory. The ARMv8-M MPU ports now support tickless idle mode.
62           See https://www.freertos.org/FreeRTOS-MPU-memory-protection-unit.html
63           for more information.
64
65         Additional noteworthy updates:
66
67         + Code formatting is now automated to facilitate the increase in
68           collaborative development in Git.  The auto-formated code is not identical
69           to the original formatting conventions.  Most notably spaces are now used
70           in place of tabs.
71         + The prototypes for callback functions (those that start with "Application",
72           such as vApplicationStackOverflowHook()) are now in the FreeRTOS header
73           files, removing the need for application writers to add prototypes into
74           the C files in which they define the functions.
75         + New Renesas RXv3 port layer.
76         + Updates to the Synopsys ARC code, including support for EM and HS cores,
77           and updated BSP.
78         + Added new POSIX port layer that allows FreeRTOS to run on Linux hosts in
79           the same way the Windows port layer enables FreeRTOS to run on Windows
80           hosts.
81         + Many other minor optimisations and enhancements. For full details  
82           see https://github.com/FreeRTOS/FreeRTOS-Kernel/commits/main
83
84
85 Changes between FreeRTOS V10.3.0 and FreeRTOS V10.3.1 released February 18 2020
86
87         See https://www.FreeRTOS.org/FreeRTOS-V10.3.x.html
88
89         + ./FreeRTOS-Labs directory was removed from this file. The libraries it
90         contained are now available as a separate download.
91
92 Changes between FreeRTOS V10.2.1 and FreeRTOS V10.3.0 released February 7 2020
93
94         See https://www.FreeRTOS.org/FreeRTOS-V10.3.x.html
95
96         New and updated kernel ports:
97
98         + Added RISC-V port for the IAR compiler.
99         + Update the Windows simulator port to use a synchronous object to prevent
100           a user reported error whereby a task continues to run for a short time
101           after being moved to the Blocked state.  Note we were not able to
102           replicate the reported issue and it likely depends on your CPU model.
103         + Correct alignment of stack top in RISC-V port when
104           configISR_STACK_SIZE_WORDS is defined to a non zero value, which causes
105           the interrupt stack to be statically allocated.
106         + The RISC-V machine timer compare register can now be for any HART, whereas
107           previously it was always assumed FreeRTOS was running on HART 0.
108         + Update the sequence used to update the 64-bit machine timer
109           compare register on 32-bit cores to match that suggested in RISC-V
110           documentation.
111         + Added tickless low power modes into the ARM, IAR and GCC Cortex-M0 compiler
112           ports.
113         + Updated the behaviour of the ARMv7-M MPU (Memory Protection Unit) ports to
114           match that of the ARMv8-M ports whereby privilege escalations can only
115           originate from within the kernel's own memory segment.  Added
116           configENFORCE_SYSTEM_CALLS_FROM_KERNEL_ONLY configuration constant.
117         + Update existing MPU ports to correctly disable the MPU before it is
118           updated.
119         + Added contributed port and demo application for a T-Head (formally C-SKY)
120           microcontroller.
121
122         New API functions:
123
124         + Added the vPortGetHeapStats() API function which returns information on
125           the heap_4 and heap_5 state.
126         + Added xTaskCatchUpTicks(), which corrects the tick count value after the
127           application code has held interrupts disabled for an extended period.
128         + Added xTaskNotifyValueClear() API function.
129         + Added uxTimerGetReloadMode() API function.
130
131         Other miscellaneous changes:
132         + Change type of uxPendedTicks from UBaseType_t to TickType_t to ensure it
133           has the same type as variables with which it is compared to, and therefore
134           also renamed the variable xPendingTicks.
135         + Update Keil projects that use the MPU so memory regions come from linker
136           script (scatter file) variables instead of being hard coded.
137         + Added LPC51U68 Cortex-M0+ demos for GCC (MCUXpresso), Keil and IAR
138           compilers.
139         + Added CORTEX_MPU_STM32L4_Discovery_Keil_STM32Cube demo.
140         + Added LPC54018 MPU demo.
141         + Rename xTaskGetIdleRunTimeCounter() to ulTaskGetIdleRunTimeCounter().
142
143
144 Changes between FreeRTOS V10.2.1 and FreeRTOS V10.2.0 released May 13 2019:
145
146         + Added ARM Cortex-M23 port layer to complement the pre-existing ARM
147           Cortex-M33 port layer.
148         + The RISC-V port now automatically switches between 32-bit and 64-bit
149           cores.
150         + Introduced the portMEMORY_BARRIER macro to prevent instruction re-ordering
151           when GCC link time optimisation is used.
152         + Introduced the portDONT_DISCARD macro to the ARMv8-M ports to try and
153           prevent the secure side builds from removing symbols required by the
154           non secure side build.
155         + Introduced the portARCH_NAME to provide additional data to select semi-
156           automated build environments.
157         + Cortex-M33 and Cortex-M23 ports now correctly disable the MPU before
158           updating the MPU registers.
159
160         + Added Nuvoton NuMaker-PFM-M2351 ARM Cortex-M23 demo.
161         + Added LPC55S69 ARM Cortex-M33 demo.
162         + Added an STM32 dual core AMP stress test demo.
163
164
165 Changes between FreeRTOS V10.1.1 and FreeRTOS V10.2.0 released February 25 2019:
166
167         + Added GCC RISC-V MCU port with three separate demo applications.
168         + Included pre-existing ARM Cortex-M33 (ARMv8-M) GCC/ARMclang and IAR ports
169           with Keil simulator demo.
170         + Update the method used to detect if a timer is active.  Previously the
171           timer was deemed to be inactive if it was not referenced from a list.
172           However, when a timer is updated it is temporarily removed from, then
173           re-added to a list, so now the timer's active status is stored separately.
174         + Add vTimerSetReloadMode(), xTaskGetIdleRunTimeCounter(), and
175           xTaskGetApplicationTaskTagFromISR() API functions.
176         + Updated third party Xtensa port so it is MIT licensed.
177         + Added configINCLUDE_PLATFORM_H_INSTEAD_OF_IODEFINE_H to the Renesas
178           compiler RX600v2 port to enable switching between platform.h and
179           iodefine.h includes within that port's port.c file.
180         + Removed the 'FromISR' functions from the MPU ports as ISRs run privileged
181           anyway.
182         + Added uxTaskGetStackHighWaterMark2() function to enable the return type to
183           be changed without breaking backward compatibility.
184           uxTaskGetStackHighWaterMark() returns a UBaseType_t as always,
185           uxTaskGetStackHighWaterMark2() returns configSTACK_DEPTH_TYPE to allow the
186           user to determine the return type.
187         + Fixed issues in memory protected ports related to different combinations
188           of static memory only and dynamic memory only builds.  As a result the
189           definition of tskSTATIC_AND_DYNAMIC_ALLOCATION_POSSIBLE became more
190           complex and was moved to FreeRTOS.h with a table explaining its definition.
191         + Added a 'get task tag from ISR' function.
192         + Change the method used to determine if a timer is active or not from just
193           seeing if it is referenced from the active timer list to storing its
194           active state explicitly.  The change prevents the timer reporting that it
195           is inactive while it is being moved from one list to another.
196         + The pcName parameter passed into the task create functions can be NULL,
197           previously a name had to be provided.
198         + When using tickless idle, prvResetNextTaskUnblockTime() is now only called
199           in xTaskRemoveFromEventList() if the scheduler is not suspended.
200         + Introduced portHAS_STACK_OVERFLOW_CHECKING, which should be set to 1 for
201           FreeRTOS ports that run on architectures that have stack limit registers.
202
203
204 Changes between FreeRTOS V10.1.0 and FreeRTOS V10.1.1 released 7 September 2018
205
206         + Reverted a few structure name changes that broke several kernel aware
207           debugger plug-ins.
208         + Updated to the latest trace recorder code.
209         + Fixed some formatting in the FreeRTOS+TCP TCP/IP stack code.
210         + Reverted moving some variables from file to function scope as doing so
211           broke debug scenarios that require the static qualifier to be removed.
212
213 Changes between FreeRTOS V10.0.1 and FreeRTOS V10.1.0 released 22 August 2018
214
215         FreeRTOS Kernel Changes:
216
217         + Update lint checked MISRA compliance to use the latest MISRA standard, was
218           previously using the original MISRA standard.
219         + Updated all object handles (TaskHandle_t, QueueHandle_t, etc.) to be
220           unique types instead of void pointers, improving type safety.  (this was
221           attempted some years back but had to be backed out due to bugs in some
222           debuggers).  Note this required the pvContainer member of a ListItem_t
223           struct to be renamed - set configENABLE_BACKWARD_COMPATIBILITY to 1 if
224           this causes an issue.
225         + Added configUSE_POSIX_ERRNO to enable per task POSIX style errno
226           functionality in a more user friendly way - previously the generic thread
227           local storage feature was used for this purpose.
228         + Added Xtensa port and demo application for the XCC compiler.
229         + Changed the implementation of vPortEndScheduler() for the Win32 port to
230           simply call exit( 0 ).
231         + Bug fix in vPortEnableInterrupt() for the GCC Microblaze port to protect
232           the read modify write access to an internal Microblaze register.
233         + Fix minor niggles when the MPU is used with regards to prototype
234           differences, static struct size differences, etc.
235         + The usStackHighWaterMark member of the TaskStatus_t structure now has type
236           configSTACK_DEPTH_TYPE in place of uint16_t - that change should have been
237           made when the configSTACK_DEPTH_TYPE type (which gets around the previous
238           16-bit limit on stack size specifications) was introduced.
239         + Added the xMessageBufferNextLengthBytes() API function and likewise stream
240           buffer equivalent.
241         + Introduce configMESSAGE_BUFFER_LENGTH_TYPE to allow the number of bytes
242           used to hold the length of a message in the message buffer to be reduced.
243           configMESSAGE_BUFFER_LENGTH_TYPE default to size_t, but if, for example,
244           messages can never be more than 255 bytes it could be set to uint8_t,
245           saving 3 bytes each time a message is written into the message buffer
246           (assuming sizeof( size_t ) is 4).
247         + Updated the StaticTimer_t structure to ensure it matches the size of the
248           Timer_t structure when the size of TaskFunction_t does not equal the size
249           of void *.
250         + Update various Xilinx demos to use 2018.1 version of the SDK tools.
251         + Various updates to demo tasks to maintain test coverage.
252         + FreeRTOS+UDP was removed in FreeRTOS V10.1.0 as it was replaced by
253           FreeRTOS+TCP, which was brought into the main download in FreeRTOS
254           V10.0.0.  FreeRTOS+TCP can be configured as a UDP only stack, and
255           FreeRTOS+UDP does not contain the patches applied to FreeRTOS+TCP.
256
257         FreeRTOS+TCP Changes:
258
259         + Multiple security improvements and fixes in packet parsing routines, DNS
260           caching, and TCP sequence number and ID generation.
261         + Disable NBNS and LLMNR by default.
262         + Add TCP hang protection by default.
263
264         We thank Ori Karliner of Zimperium zLabs Team for reporting these issues.
265
266
267 Changes between FreeRTOS V10.0.0 and FreeRTOS V10.0.1, released December 20 2017
268
269         + Fix position of "#if defined( __cplusplus )" in stream_buffer.h.
270         + Correct declarations of MPU_xQueuePeek() and MPU_xQueueSemaphoreTake() in
271           mpu_prototypes.h.
272         + Correct formatting in vTaskList() helper function when it prints the state
273           of the currently executing task.
274         + Introduce #error if stream_buffer.c is built without
275           configUSE_TASK_NOTIFICATIONS set to 1.
276         + Update FreeRTOS+TCP to V2.0.0
277                 - Improve the formatting of text that displays the available netword
278                   interfaces when FreeRTOS+TCP is used on Windows with WinPCap.
279                 - Introduce ipconfigSOCKET_HAS_USER_WAKE_CALLBACK option to enable a user
280                   definable callback to execute when data arrives on a socket.
281
282 Changes between FreeRTOS V9.0.1 and FreeRTOS V10.0.0:
283
284         The FreeRTOS kernel is now MIT licensed: https://www.FreeRTOS.org/license
285
286         New Features and components:
287
288         + Stream Buffers - see https://www.FreeRTOS.org/RTOS-stream-buffer-example.html
289         + Message Buffers - see https://www.FreeRTOS.org//RTOS-message-buffer-example.html
290         + Move FreeRTOS+TCP into the main repository, along with the basic Win32
291           TCP demo FreeRTOS_Plus_TCP_Minimal_Windows_Simulator.
292
293         New ports or demos:
294
295         + Added demo for TI SimpleLink CC3220 MCU.
296         + Added MPU and non MPU projects for Microchip CEC and MEC 17xx and 51xx
297           MCUs.
298         + Added CORTEX_MPU_Static_Simulator_Keil_GCC demo to test static allocation
299           in the MPU port.
300
301         Fixes or enhancements:
302
303         + Cortex-M ports push additional register prior to calling
304           vTaskSwitchContext to ensure 8-byte alignment is maintained.  Only
305           important if a user defined tick hook function performs an operation that
306           requires 8-byte alignment.
307         + Optimisations to the implementation of the standard tickless idle mode on
308           Cortex-M devices.
309         + Improvements to the Win32 port including using higher priority threads.
310         + Ensure interrupt stack alignment on PIC32 ports.
311         + Updated GCC TriCore port to build with later compiler versions.
312         + Update mpu_wrappers.c to support static allocation.
313         + The uxNumberOfItems member of List_t is now volatile - solving an issue
314           when the IAR compiler was used with maximum optimization.
315         + Introduced configRECORD_STACK_HIGH_ADDRESS.  When set to 1 the stack start
316           address is saved into each task's TCB (assuming stack grows down).
317         + Introduced configINCLUDE_FREERTOS_TASK_C_ADDITIONS_H to allow user defined
318           functionality, and user defined initialisation, to be added to FreeRTOS's
319           tasks.c source file.  When configINCLUDE_FREERTOS_TASK_C_ADDITIONS_H is
320           set to 1 a user provided header file called freertos_task_c_additions.h
321           will be included at the bottom of tasks.c.  Functions defined in that
322           header file can call freertos_tasks_c_additions_init(), which in turn
323           calls a macro called FREERTOS_TASKS_C_ADDITIONS_INIT(), if it is defined.
324           FREERTOS_TASKS_C_ADDITIONS_INIT() can be defined in FreeRTOSConfig.h.
325         + Introduced configPRE_SUPPRESS_TICKS_AND_SLEEP_PROCESSING( x ) which can be
326           defined by a user in FreeRTOSConfig.h.  The macro is called before
327           assessing whether to enter tickless idle mode or not.  If the macro sets
328           x to zero then tickless idle mode will not be entered.  This allows users
329           to abort tickless idle mode entry before the tickless idle function is
330           even called - previously it was only possible to abort from within the
331           tickless idle function itself.
332         + Added configPRINTF(), which can be defined by users to allow all libraries
333           to use the same print formatter.
334         + Introduced configMAX() and configMIN() macros which default to standard
335           max( x, y ) and min( x, y ) macro behaviour, but can be overridden if the
336           application writer defines the same macros in FreeRTOSConfig.h.
337         + Corrected the definition of StaticTask_t in the case where
338           INCLUDE_xTaskAbortDelay is set to 1.
339         + Introduced configTIMER_SERVICE_TASK_NAME and configIDLE_TASK_NAME, both of
340           which can be defined to strings in FreeRTOSConfig.h to change the default
341           names of the timer service and idle tasks respectively.
342         + Only fill the stack of a newly created task with a known value if stack
343           checking, or high water mark checking/viewing, is in use - removing the
344           dependency on memset() in other cases.
345         + Introduced xTaskCreateRestrictedStatic() so static allocation can be used
346           with the MPU.
347         + Ensure suspended tasks cannot be unsuspended by a received task
348           notification.
349         + Fix race condition in vTaskSetTimeOutState().
350         + Updated trace recorder files to the latest version.
351
352 Changes since FreeRTOS V9.0.0:
353
354         + Priority dis-inheritance behaviour has been enhanced in the case where a
355           task that attempted to take a mutex that was held by a lower priority task
356           timed out before it was able to obtain the mutex (causing the task that
357           holds the mutex to have its priority raised, then lowered again, in
358           accordance with the priority inheritance protocol).
359         + Split the overloaded xQueueGenericReceive() function into three separate
360           dedicated functions.
361         + Allow the default human readable text names given to the Idle and Timer
362           tasks to be overridden by defining the configIDLE_TASK_NAME and
363           configTIMER_SERVICE_TASK_NAME definitions respectively in FreeRTOSConfig.h.
364         + Introduced configINITIAL_TICK_COUNT to allow the tick count to take a
365           value of than than 0 when the system boots.  This can be useful for
366           testing purposes - although setting configUSE_16_BIT_TICKS to 1 can also
367           be used to test frequent tick overflows.
368         + Ensure the Cortex-M SysTick count is cleared to zero before starting the
369           first task.
370         + Add configASSERT() into ARM Cortex-M ports to check the number of priority
371           bit settings.
372         + Clear the 'control' register before starting ARM Cortex-M4F ports in case
373           the FPU is used before the scheduler is started.  This just saves a few
374           bytes on the main stack as it prevents space being left for a later save
375           of FPU registers.
376         + Added xSemaphoreGetMutexHolderFromISR().
377         + Corrected use of portNVIC_PENDSVSET to portNVIC_PENDSVSET_BIT in MPU ports.
378         + Introduced configSTACK_DEPTH_TYPE to allow users to change the type used
379           to specify the stack size when using xTaskCreate().  For historic reasons,
380           when FreeRTOS was only used on small MCUs, the type was set to uint16_t,
381           but that can be too restrictive when FreeRTOS is used on larger
382           processors.  configSTACK_DEPTH_TYPE defaults to uint16_t.
383           xTaskCreateStatic(), being a newer function, used a uint32_t.
384         + Increase the priority of the Windows threads used by the Win32 port.  As
385           all the threads run on the same core, and the threads run with very high
386           priority, there is a risk that the host will become unresponsive, so also
387           prevent the Windows port executing on single core hosts.
388
389 Changes between FreeRTOS V9.0.0 and FreeRTOS V9.0.0rc2 released May 25 2016:
390
391         See https://www.FreeRTOS.org/FreeRTOS-V9.html
392
393         RTOS kernel updates:
394
395         + The prototype of the new xTaskCreateStatic() API function was modified to
396           remove a parameter and improve compatibility with other new
397           "CreateStatic()" API functions.  The stack size parameter in
398           xTaskCreateStatic() is now uint32_t, which changes the prototype of the
399           callback functions.  See the following URL:
400           https://www.FreeRTOS.org/xTaskCreateStatic.html
401         + GCC ARM Cortex-A port:  Introduced the configUSE_TASK_FPU_SUPPORT
402           constant.  When configUSE_TASK_FPU_SUPPORT is set to 2 every task is
403           automatically given a floating point (FPU) context.
404         + GCC ARM Cortex-A port:  It is now possible to automatically save and
405           restore all floating point (FPU) registers on entry to each potentially
406           nested interrupt by defining vApplicationFPUSafeIRQHandler() instead of
407           vApplicationIRQHandler().
408         + All ARM Cortex-M3/4F/7 ports:  Clear the least significant bit of the task
409           entry address placed onto the stack of a task when the task is created for
410           strict compliance with the ARM Cortex-M3/4/7 architecture documentation
411           (no noticeable effect unless using the QMEU emulator).
412         + Added GCC and Keil ARM Cortex-M4F MPU ports - previously the MPU was only
413           supported on ARM Cortex-M3.
414         + ARM Cortex-M3/4F MPU ports:  Update to fully support the FreeRTOS V9.0.0
415           API (other than static object creation) and added the
416           FreeRTOS/Demo/CORTEX_MPU_Simulator_Keil_GCC demo application to
417           demonstrate how to use the updated MPU port.
418         + All ARM Cortex-M3/4F/7 ports:  Add additional barrier instructions to the
419           default low power tickless implementation.
420         + All ARM Cortex-M0 ports:  Prevent an item being left on the stack of the
421           first task that executes.
422         + Win32 ports:  Reduce the amount of stack used and change the way Windows
423           threads are deleted to increase the maximum execution time.
424         + Add an ARM Cortex-M4F port for the MikroC compiler.  Ensure to read the
425           documentation page for this port before use.
426         + MPS430X IAR port:  Update to be compatible with the latest EW430 tools
427           release.
428         + IAR32 GCC port:  Correct vPortExitCritical() when
429           configMAX_API_CALL_INTERRUPT_PRIORITY == portMAX_PRIORITY.
430         + For consistency vTaskGetTaskInfo() now has the alias vTaskGetInfo(),
431           xTaskGetTaskHandle() now has the alias xTaskGetHandle() and
432           pcQueueGetQueueName() now has an alias pcQueueGetName().
433         + Fix various errors in comments and compiler warnings.
434
435         Demo application updates:
436
437         + Update Atmel Studio projects to use Atmel Studio 7.
438         + Update Xilinx SDK projects to use the 2016.1 version of the SDK.
439         + Remove dependency on legacy IO libraries from the PIC32 demos.
440         + Move the Xilinx UltraScale Cortex-R5 demo into the main distribution.
441         + Update the MSP432 libraries to the latest version.
442         + Add Microchip CEC1302 (ARM Cortex-M4F) demos for GCC, Keil and MikroC
443           compilers.
444         + Move the Atmel SAMA5D2 demo into the main distribution.
445
446 Changes between FreeRTOS V9.0.0rc1 and FreeRTOS V9.0.0rc2 (release candidate 2)
447 released March 30 2016:
448
449         NOTE - See https://www.FreeRTOS.org/FreeRTOS-V9.html for details
450
451         + The functions that create RTOS objects using static memory allocation have
452           been simplified and will not revert to using dynamic allocation if a
453           buffer is passed into a function as NULL.
454         + Introduced the configSUPPORT_DYNAMIC_ALLOCATION configuration constant to
455           allow a FreeRTOS application to be built without a heap even being being
456           defined. The Win32 example located in the
457           /FreeRTOS/demo/WIN32-MSVC-Static-Allocation-Only directory is provided as
458           a reference for projects that do not include a FreeRTOS heap.
459         + Minor run-time optimisations.
460         + Two new low power tickless implementations that target Silicon Labs EFM32
461           microcontrollers.
462         + Addition of the xTimerGetPeriod() and xTimerGetExpireTime() API functions.
463
464 Changes between FreeRTOS V8.2.3 and FreeRTOS V9.0.0rc1 (release candidate 1)
465 released February 19 2016:
466
467         RTOS Kernel Updates:
468
469         + Major new feature - tasks, semaphores, queues, timers and event groups can
470           now be created using statically allocated memory, so without any calls to
471           pvPortMalloc().
472         + Major new features - Added the xTaskAbortDelay() API function which allows
473           one task to force another task to immediately leave the Blocked state,
474           even if the event the blocked task is waiting for has not occurred, or the
475           blocked task's timeout has not expired.
476         + Updates necessary to allow FreeRTOS to run on 64-bit architectures.
477         + Added vApplicationDaemonTaskStartupHook() which executes when the RTOS
478           daemon task (which used to be called the timer service task) starts
479           running.  This is useful if the application includes initialisation code
480           that would benefit from executing after the scheduler has been started.
481         + Added the xTaskGetTaskHandle() API function, which obtains a task handle
482           from the task's name.  xTaskGetTaskHandle() uses multiple string compare
483           operations, so it is recommended that it is called only once per task.
484           The handle returned by xTaskGetTaskHandle() can then be stored locally for
485           later re-use.
486         + Added the pcQueueGetQueueName() API function, which obtains the name of
487           a queue from the queue's handle.
488         + Tickless idling (for low power applications) can now also be used when
489           configUSE_PREEMPTION is 0.
490         + If one task deletes another task, then the stack and TCB of the deleted
491           task is now freed immediately.  If a task deletes itself, then the stack
492           and TCB of the deleted task are freed by the Idle task as before.
493         + If a task notification is used to unblock a task from an ISR, but the
494           xHigherPriorityTaskWoken parameter is not used, then pend a context switch
495           that will then occur during the next tick interrupt.
496         + Heap_1.c and Heap_2.c now use the configAPPLICATION_ALLOCATED_HEAP
497           settings, which previously was only used by heap_4.c.
498           configAPPLICATION_ALLOCATED_HEAP allows the application writer to declare
499           the array that will be used as the FreeRTOS heap, and in-so-doing, place
500           the heap at a specific memory location.
501         + TaskStatus_t structures are used to obtain details of a task.
502           TaskStatus_t now includes the bae address of the task's stack.
503         + Added the vTaskGetTaskInfo() API function, which returns a TaskStatus_t
504           structure that contains information about a single task.  Previously this
505           information could only be obtained for all the tasks at once, as an array
506           of TaskStatus_t structures.
507         + Added the uxSemaphoreGetCount() API function.
508         + Replicate previous Cortex-M4F and Cortex-M7 optimisations in some
509           Cortex-M3 port layers.
510
511         Demo Application Updates:
512
513         Further demo applications will be added prior to the final FreeRTOS V9
514         release.
515
516         + Updated SAM4L Atmel Studio project to use Atmel Studio 7.
517         + Added ARM Cortex-A53 64-bit port.
518         + Added a port and demo for the ARM Cortex-A53 64-bit cores on the Xilinx
519           Ultrascale MPSoC.
520         + Added Cortex-M7 SAME70 GCC demo.
521         + Added EFM32 Giant and Wonder Gecko demos.
522
523
524 Changes between V8.2.2 and V8.2.3 released October 16, 2015
525
526         RTOS kernel updates:
527
528         + Fix bug identified in a modification made in V8.2.2 to the software timer
529           code that allows tickless low power applications to sleep indefinitely
530           when software timers are used.
531         + Simplify and improve efficiency of stack overflow checking.
532         + Add xTaskNotifyStateClear() API function.
533         + New IAR and GCC Cortex-R ports for microprocessors that do not use an ARM
534           generic interrupt controller (GIC).
535         + New PIC32MEC14xx port.
536         + Add support for PIC32MZ EF parts (with floating point) into the PIC32MZ
537           port.
538         + Zynq7000 port layer now declares the functions that setup and clear the
539           tick interrupt as weak symbols so they can be overridden by the
540           application, and uses a global XScuGic object so the same object can be
541           used by the application code.
542         + Introduced configUSE_TASK_FPU_SUPPORT, although the PIC32MZ EF port is
543           currently the only port that uses it.
544         + Updates to RL78 and 78K0 IAR port layers to improve support for
545           combinations of memory models.
546         + Minor updates to heap_5.c to remove compiler warnings generated by some
547           compilers.
548         + License simplifications.  See /FreeRTOS/License/license.txt in the
549           official distribution.
550
551         FreeRTOS+ updates:
552
553         + Update directory names to use WolfSSL instead of CyaSSL, inline with
554           WolfSSL's re-branding.
555         + Update to latest WolfSSL code.
556         + Update to latest FreeRTOS+Trace recorder code.
557         + Add in the FreeRTOS+Trace recorder library required for streaming trace.
558
559         Demo application changes:
560
561         + Add demo applications for Renesas RZ/T (Cortex-R), PIC32MZ EF (PIC32 with
562           floating point hardware), PIC32MEC14xx, RX71M, RX113 and RX231.
563         + General tidy up of spelling and compiler warnings.
564
565
566 Changes between V8.2.1 and V8.2.2 released August 12, 2015
567
568         RTOS kernel updates:
569
570         + Added Intel IA32/x86 32-bit port.
571         + General maintenance.
572         + PRIVILEGED_FUNCTION and PRIVILEGED_DATA macros, which are used in memory
573           protected systems, have been added to the newer event group and software
574           timer functions.
575         + Add the errno definitions used by FreeRTOS+ components into projdefs.h.
576         + Remove the restriction that prevented tick-less idle implementations
577           waiting indefinitely when software timers were used in the same
578           application.
579         + Introduce xTaskNotifyAndQueryFromISR() as the interrupt safe version of
580           xTaskNotifyAndQuery().
581         + Add additional NOPs to the MSP430X port layers to ensure strict compliance
582           with the hardware documentation.
583         + Microblaze port: Added option for port optimised task selection.
584         + Microblaze port: Previously tasks inherited the exception enable state
585           at the time the task was created.  Now all tasks are created with
586           exceptions enabled if the Microblaze design supports exceptions.
587         + Windows port: Add additional safe guards to ensure the correct start up
588           sequence and thread switching timing.
589         + Windows port: Improve the implementation of the port optimised task
590           selection assembly code.
591         + Update heap_4 and heap_5 to allow use on 64-bit processors.
592         + Simplify the code that creates a queue.
593         + General improved tick-less idle behaviour.
594         + Ensure none of the variables in the common kernel files are initialised to
595           anything other than zero.
596         + Correct calculation of xHeapStructSize in heap_4 and heap_5.
597
598         Demo application updates:
599
600         + Added demo project for the new IA32/x86 port that targets the Galileo
601           hardware.
602         + Added MSP430FR5969 demos (previously provided as a separate download).
603         + Added FreeRTOS BSP repository for automatic creation of FreeRTOS
604           applications in the Xilinx SDK.
605         + Added Atmel Studio / GCC project for the SAMV71 (ARM Cortex-M7)
606         + Update Xilinx SDK projects to use version 2015.2 of the SDK.
607         + Remove Microblaze demos that were using obsolete tools.
608         + Add MSP43FR5969 IAR and CCS demos.
609
610         FreeRTOS+ Updates:
611
612         + Updated FreeRTOS+Trace recorder library, which requires an update to the
613           FreeRTOS+Trace application.
614         + Added Reliance Edge source code and demo application.  Reliance edge is
615           a fail safe transactional file system ideal for applications that require
616           file storage, and especially when high reliability is essential.
617         + Introduce configAPPLICATION_PROVIDES_cOutputBuffer to allow FreeRTOS+CLI
618           users to place the output buffer at a fixed memory address.
619         + Improve the NetworkInterface.c file provided for the Windows port of
620           FreeRTOS+UDP.
621
622 Changes between V8.2.0 and V8.2.1 released 24th March 2015.
623
624         RTOS kernel updates:
625
626         + Added user definable and flexible thread local storage facility.
627         + Added vTimerSetTimerID() API function to complement the pvTimerGetTimerID()
628           function to allow the timer's ID to be used as timer local storage.
629         + Fixed a potential issue related to the use of queue sets from an ISR.
630         + Some updates to the Xilinx Microblaze GCC port.
631         + Added ARM Cortex-M4F port for Texas Instruments Code Composer Studio.
632         + Added ARM Cortex-M7 r0p1 port layer for IAR, GCC and Keil which contains a
633           minor errata work around.  All other ARM Cortex-M7 core revisions should
634           use the ARM Cortex-M4F port.
635         + Exclude the whole of croutine.c if configUSE_CO_ROUTINES is set to 0.
636         + Change some data types from uint32_t to size_t in preparation for 64-bit
637           Windows port.
638         + Update the PIC32 port to remove deprecation warnings output by the latest
639           XC32 compilers.
640         + Fix bug when xQueueOverwrite() and xQueueOverwrite() from ISR are used to
641           overwrite items in two queues that are part of the same set.
642
643         Demo application updates:
644
645         + Added demo application for TI's ARM Cortex-M4F based MSP432
646           microcontroller using IAR, Keil and CCS compilers.
647         + Added demo application for STM32F ARM Cortex-M7 based microcontroller
648           using IAR and Keil.
649         + Added demo application for Atmel SAMV71 ARM Cortex-M7 based
650           microcontroller using IAR and Keil.
651         + Added Microblaze demo that uses the 2014.4 version of the Xilinx SDK and
652           runs on the KC705 evaluation board (Kintex FPGA).
653
654 Changes between V8.1.2 and V8.2.0 released 16th January 2015
655
656         Changes between release candidate 1 and the official release are restricted
657         to maintenance only.
658
659         Significant RTOS kernel updates:
660
661         + MAJOR NEW FEATURE!  Task notifications.  Please see the following URL for
662           details: https://www.FreeRTOS.org/RTOS-task-notifications.html
663         + NEW HEADER FILE REQUIRED!  Obsolete definitions have been separated into
664           a new header file called FreeRTOS/Source/include/deprecated_definitions.h.
665           This header file must be present to build.  Note some of the obsolete
666           definitions are still used by very old demo application projects.
667
668         Other RTOS kernel updates:
669
670         + Made xSemaphoreGiveFromISR() a function rather than a macro that calls
671           xQueueGenericSendFromISR().  This allows for major performance
672           enhancements at the expense of some additional code size if both functions
673           are used in the same application.  NOTE:  In most uses cases such use of
674           a semaphore can now be replaced with a task notification which is smaller
675           and faster still.
676         + The TCB is now always allocated such that the task's stack grows away from
677           the TCB (improves debugging of stack overflows as the overflow will not
678           overwrite the task's name).
679         + GCC, IAR and Keil Cortex-M4F ports now use more inlining (performance
680           enhancements at the cost of a little additional code space).
681         + Queues are now allocated with a single call to pvPortMalloc() which
682           allocates both the queue structure and the queue storage area.
683         + Introduced a new critical section macro for reading the tick count that
684           defines away to nothing in cases where the width of the tick allows the
685           tick count to be read atomically (performance benefits - especially when
686           optimisation is on).
687         + Introduced configAPPLICATION_ALLOCATED_HEAP in heap_4.c to allow the
688           application writer to provide their own heap array - and in so doing
689           control the location of the heap.
690         + Introduced configUSE_LIST_DATA_INTEGRITY_CHECK_BYTES which, when set, will
691           include known values in both list and list item structures.  The values
692           are intended to assist debugging.  If the values get overwritten then it
693           is likely application code has written over RAM used by the kernel.
694         + configASSERT()s in all Cortex-M ports used to test the lowest 5 bits of
695           the interrupt control register to detect taskENTER_CRITICAL() being called
696           from an interrupt.  This has been changed to test all 8 bits.
697         + Introduced uxTaskPriorityGetFromISR().
698         + Microblze V8 port now tests XPAR_MICROBLAZE_0_USE_FPU for inequality to 0
699           rather than equality to 1, and 2 and 3 are also valid values.
700         + Cortex-A5 GIC-less port no longer passes the address of the interrupting
701           peripheral into the interrupt handler.
702         + Fix an issue in FreeRTOS-MPU where an attempt was made to free the stack
703           belonging to a task when the task was deleted, even when the stack was
704           allocated statically.
705         + Utility (helper) functions that format task statistic information into
706           human readable tables now pad task names with spaces to ensure columns
707           line up correctly even where task name lengths vary greatly.
708         + Update FreeRTOS+Trace recorder library to version 2.7.0.
709
710         Demo application updates:
711
712         + Added two new standard demo task sets:  IntSemTest and TaskNotify.
713         + Added port and demo application for Atmel SAMA5D4 Cortex-A5 MPU.
714         + Added demo application for Altera Cyclone V Cortex-A9 MPU.
715         + Updated Zynq demo to use version 2014.4 of Xilinx's SDK and added in
716           demo tasks for new RTOS features.
717         + Updated Atmel SAM4E and SAM4S demos to include a lot of additional test
718           and demo tasks.
719         + Fixed a corner case issue in Atmel SAM4L low power tickless
720           implementation, and added button interrupt handling.
721         + Make the interrupt queue tests more tolerant to heave CPU loads.
722         + Updated MSVC FreeRTOS simulator demo to include the latest standard test
723           and demo tasks.
724         + Updated MingW/Eclipse FreeRTOS simulator demo to match the FreeRTOS MSVC
725           simulator demo.
726         + Updated all demos that use FreeRTOS+Trace to work with the latest trace
727           recorder code.
728
729
730 Changes between V8.1.1 and V8.1.2 released September 2nd 2014
731
732         Move the defaulting of configUSE_PORT_OPTIMISED_TASK_SELECTION into the
733         individual port layers where necessary so it does not affect ports that do
734         not support the definition.
735
736 Changes between V8.1.0 and V8.1.1 released August 29th 2014
737
738         By popular requests - a minor patch to V8.1.0 to re-instate the ability to
739         give a mutex type semaphore (with priority inheritance) from an interrupt
740         handler.
741
742 Changes between V8.0.1 and V8.1.0 released August 26th 2014
743
744         FreeRTOS scheduler, kernel, demo and test updates:
745
746         + Improved the priority inheritance algorithms to assist integration with
747           off the shelf middleware that may hold multiple mutexes simultaneously.
748         + Introduce heap_5.c, which is similar to heap_4.c but allows the heap to
749           span multiple non-contiguous memory regions.
750         + Updated all Cortex-A9 ports to help trap a couple of common usage errors -
751           the first being when a task incorrectly attempts to exit its implementing
752           function and the second being when a non interrupt safe API function is
753           called from an interrupt.
754         + Update all Cortex-A9 ports to remove obsolete mode switches prior to
755           restoring a task context.
756         + configUSE_PORT_OPTIMISED_TASK_SELECTION now defaults to 1 instead of 0.
757         + Update all Cortex-M3/4F ports to trap a non interrupt safe API function
758           being called from an interrupt handler.
759         + Simplify the alignment checks in heap_4.c.
760         + Update the MSVC Windows simulator demo to use heap_5.c in place of
761           heap_4.c to ensure end users have an example to refer to.
762         + Updated standard demo test code to test the new priority inheritance
763           algorithms.
764         + Updated the standard demo tasks to make use of stdint and the FreeRTOS
765           specific typedefs that were introduced in FreeRTOS V8.0.0.
766         + Introduce the pdMS_TO_TICKS() macro as a more user friendly and intuitive
767           alternative to pdTICKS_PER_MS - both of which can be used to convert a
768           time specified in milliseconds to a time specified in RTOS ticks.
769         + Fix a bug in the Tasking compiler's Cortex-M port that resulted in an
770           incorrect value being written to the basepri register.  This only effects
771           users of the Tasking compiler.
772         + Update the Zynq demo to use version 2014.2 of the SDK and add in an lwIP
773           example that demonstrates lwIP being used with both its raw and sockets
774           interfaces.
775         + Updated the CCS Cortex-R4 port to enable it to be built with the latest
776           CCS compiler.
777
778         New ports and demo applications:
779
780         + Two Renesas RX64M ports (RXv2 core) and demos introduced, one for the GCC
781           compiler and one for the Renesas compiler.  Both demos use e2 studio.
782         + Generic IAR Cortex-A5 port (without any reliance on a GIC) introduced.
783           The new port is demonstrated on an Atmel SAMA5D3 XPlained board.
784
785         FreeRTOS+ component updates:
786
787         + Update CyaSSL to the latest version.
788         + Updated the FreeRTOS+ components supplied directly by Real Time Engineers
789           Ltd. to make use of stdint and the FreeRTOS specific typedefs that were
790           introduced in FreeRTOS V8.0.0.
791         + Rework and simplify the FreeRTOS+FAT SL RAM disk driver.
792
793         Miscellaneous updates and maintenance:
794
795         + Update the IAR and DS-5/ARM RZ demos to target the official RZ RSK
796           hardware in place of the previously targeted Renesas internal (not
797           publicly available) hardware.
798         + Various other maintenance tasks.
799
800
801 Changes between V8.0.0 and V8.0.1 released 2nd May 2014
802
803         + Minor fixes to the event group functionality that was released in V8.0.0.
804           The 'clear bits from ISR' functionality is now implemented using a
805           deferred interrupt callback instead of a function, and the 'wait bits' and
806           'task sync' functions now correctly clear internal control bits before
807           returning a value in every possible path through the respective functions.
808         + Ensure the updating of internal control data is protected by a critical
809           section after a task is deleted or suspended.
810         + Minor fixes to FreeRTOS+FAT SL - namely seeking beyond the end of a file
811           when the offset was not a multiple of the sector size.
812         + Ensure Cortex-A9 system registers are only ever accessed as 32-bit values,
813           even when only the lest significant byte of the register is implemented.
814
815         Other updates:
816
817         + Updated the XMC4200 IAR project so it links with version 7.x of the IAR
818           tools.
819         + Add RL78L1C demo.
820         + Add pcTimerGetName() API function.
821         + Call _reclaim_reent() when a task is deleted if configUSE_NEWLIB_REENTRANT
822           is defined.
823
824 Changes between V7.6.0 and V8.0.0 released 19th Feb 2014
825
826         https://www.FreeRTOS.org/upgrading-to-FreeRTOS-V8.html
827
828         FreeRTOS V8.x.x is a drop-in compatible replacement for FreeRTOS V7.x.x,
829         although a change to the type used to reference character strings may result
830         in application code generating a few (easily clearable) compiler warnings
831         after the upgrade, and an updated typedef naming convention means use of the
832         old typedef names is now discouraged.
833         See https://www.FreeRTOS.org/upgrading-to-FreeRTOS-V8.html for full
834         information.
835
836         New features and functionality:
837
838         + Event groups - see https://www.FreeRTOS.org/FreeRTOS-Event-Groups.html
839         + Centralised deferred interrupt processing - see
840           https://www.FreeRTOS.org/xTimerPendFunctionCallFromISR.html
841
842         Other updates:
843
844         + Previously, when a task left the Blocked state, a context switch was
845           performed if the priority of the unblocked task was greater than or equal
846           to the priority of the Running task.  Now a context switch is only
847           performed if the priority of the unblocked task is greater than the
848           priority of the Running task.
849         + New low power tickless demonstration project that targets the ST STM32L
850           microcontroller - see
851           https://www.FreeRTOS.org/STM32L-discovery-low-power-tickless-RTOS-demo.html
852         + Add xPortGetMinimumEverFreeHeapSize() to heap_4.c.
853         + Small change to the tickless low power implementation on the SAM4L to
854           ensure the alarm value (compare match value) cannot be set to zero when a
855           tickless period is exited due to an interrupt originating from a source
856           other than the RTOS tick.
857         + Update the GCC/Eclipse Win32 simulator demo to make better use of Eclipse
858           resource filters and match the functionality of the MSVC equivalent.
859         + xTaskIsTaskSuspended() is no longer a public function.  Use
860           eTaskGetState() in its place.
861         + Improved trace macros, including tracing of heap usage.
862         + Remove one level of indirection when accepting interrupts on the PIC32MZ.
863         + Add Cortex-A9 GCC port layer.
864         + Add Xilinx Zynq demo application.
865
866
867 Changes between V7.5.3 and V7.6.0 released 18th November 2013
868
869         V7.6.0 changes some behaviour when the co-operative scheduler is used (when
870         configUSE_PREEMPTION is set to 0).  It is important to note that the
871         behaviour of the pre-emptive scheduler is unchanged - the following
872         description only applies when configUSE_PREEMPTION is set to 0:
873
874         WHEN configUSE_PREEMPTION IS SET TO 0 (which is in a small minority of
875         cases) a context switch will now only occur when a task places itself into
876         the Blocked state, or explicitly calls taskYIELD().  This differs from
877         previous versions, where a context switch would also occur when implicitly
878         moving a higher priority task out of the Blocked state.  For example,
879         previously, WHEN PREEMPTION WAS TURNED OFF, if task A unblocks task B by
880         writing to a queue, then the scheduler would switch to the higher priority
881         task.  Now, WHEN PREEMPTION IS TURNED OFF, if task A unblocks task B by
882         writing to a queue, task B will not start running until task A enters the
883         Blocked state or task A calls taskYIELD().  [If configUSE_PREEMPTION is not
884         set to 0, so the normal pre-emptive scheduler is being used, then task B
885         will start running immediately that it is moved out of the Blocked state].
886
887         Other changes:
888
889         + Added a port layer and a demo project for the new PIC32MZ architecture.
890         + Update the PIC32MX port layer to re-introduce some ehb instructions that
891           were previously removed, add the ability to catch interrupt stack
892           overflows (previously only task stack overflows were trapped), and also
893           add the ability to catch an application task incorrectly attempting to
894           return from its implementing function.
895         + Make dramatic improvements to the performance of the Win32 simulator port
896           layer.
897         + Ensure tasks that are blocked indefinitely report their state as Blocked
898           instead of Suspended.
899         + Slight improvement to the Cortex-M4F port layers where previously one
900           register was inadvertently being saved twice.
901         + Introduce the xSemaphoreCreateBinary() API function to ensure consistency
902           in the semantics of how each semaphore type is created.  It is no longer
903           recommended to use vSemaphoreCreateBinary() (the version prefixed with a
904           'v'), although it will remain in the code for backward compatibility.
905         + Update the Cortex-M0 port layers to allow the scheduler to be started
906           without using the SVC handler.
907         + Added a build configuration to the PIC32MX MPLAB X demo project that
908           targets the PIC32 USB II starter kit.  Previously all the build
909           configurations required the Explorer 16 hardware.
910         + Some of the standard demo tasks have been updated to ensure they execute
911           correctly with the updated co-operative scheduling behaviour.
912         + Added comprehensive demo for the Atmel SAM4E, including use of
913           FreeRTOS+UDP, FreeRTOS+FAT SL and FreeRTOS+CLI.
914
915         FreeRTOS+ Changes:
916
917         + Minor maintenance on FreeRTOS+UDP.
918
919 Changes between V7.5.2 and V7.5.3 released October 14 2013
920
921         Kernel changes:
922
923         + Prior to V7.5.x yields requested from the tick hook would occur in the
924           same tick interrupt - revert to that original behaviour.
925         + New API function uxQueueSpacesAvailable().
926         + Introduced the prvTaskExitError() function to Cortex-M0, Cortex-M3/4
927           and Cortex-M4F ports.  prvTaskExitError() is used to trap tasks that
928           attempt to return from their implementing functions (tasks should call
929           vTaskDelete( NULL ); if they want to exit).
930         + The Cortex-M0 version of portSET_INTERRUPT_MASK_FROM_ISR and
931           portCLEAR_INTERRUPT_MASK_FROM_ISR are now fully nestable.
932         + Improved behaviour and robustness of the default Cortex-M tickless idle
933           behaviour.
934         + Add workaround for silicon errata PMU_CM001 in Infineon XMC4000 devices to
935           all Cortex-M4F ports.
936         + Add Cortex-M0 port for Keil.
937         + Updated Cortus port.
938         + Ensure _impure_ptr is initialised before the scheduler is started.
939           Previously it was not set until the first context switch.
940
941         FreeRTOS+ changes:
942
943         + Update FreeRTOS+UDP to V1.0.1 - including direct integration of the
944           FreeRTOS+Nabto task, improvements to the DHCP behaviour, and a correction
945           to the test that prevents the network event hook being called on the first
946           network down event.  The FreeRTOS+UDP change history is maintained
947           separately.
948         + Correct the __NVIC_PRIO_BITS setting in the LPC18xx.h header files
949           provided in the NXP CMSIS library, then update the interrupts used by the
950           LPC18xx demos accordingly.
951         + Replace double quotes (") with single quotes (') in FreeRTOS+CLI help
952           strings to ensure the strings can be used with the JSON descriptions used
953           in the FreeRTOS+Nabto demos.
954
955         Demo and miscellaneous changes:
956
957         + Added demo for the Atmel SAMD20 Cortex-M0+.  The demo includes
958           FreeRTOS+CLI
959         + Added a demo for the Infineon Cortex-M0 that can be built with the IAR
960           Keil and GCC tools.
961         + Updated the Infineon XMC4000 demos for IAR, Keil, GCC and Tasking tools,
962           with additional build configurations to directly support the XMC4200 and
963           XMC4400 devices, in addition to the previously supported XMC4500.
964         + Updated the demo application.
965         + Added additional trace macros traceMALLOC and traceFREE to track heap
966           usage.
967
968 Changes between V7.5.0 and V7.5.2 released July 24 2013
969
970         V7.5.2 makes the new Cortex-M vPortCheckInterruptPriority() function
971         compatible with the STM32 standard peripheral driver library, and adds
972         an extra critical section to the default low power tickless mode
973         implementation.  Only users of the STM32 peripheral library or the default
974         tickless implementation need update from version 7.5.0.
975
976 Changes between V7.4.2 and V7.5.0 released July 19 2013
977
978         V7.5.0 is a major upgrade that includes multiple scheduling and efficiency
979         improvements, and some new API functions.
980
981         Compatibility information for FreeRTOS users:
982           FreeRTOS V7.5.0 is backward compatible with FreeRTOS V7.4.0 with one
983           exception; the vTaskList() and vTaskGetRunTimeStats() functions are now
984           considered legacy, having been replaced by the single uxTaskGetSystemState()
985           function.  configUSE_STATS_FORMATTING_FUNCTIONS must be set to 1 in
986           FreeRTOSConfig.h for vTaskList() and vTaskGetRunTimeStats() to be
987           available.
988
989         Compatibility information for FreeRTOS port writers:
990           vTaskIncrementTick() is now called xTaskIncrementTick() (because it now
991           returns a value).
992
993         Headline changes:
994
995         + Multiple scheduling and efficiency improvements.
996         + Core kernel files now pass PC-Lint V8 static checking without outputting
997           any warnings (information on the test conditions will follow).
998
999         New API functions:
1000
1001         + uxTaskGetSystemState() https://www.FreeRTOS.org/uxTaskGetSystemState.html
1002         + xQueueOverwrite() https://www.FreeRTOS.org/xQueueOverwrite.html
1003         + xQueueOverwriteFromISR()
1004         + xQueuePeekFromISR()
1005
1006         The following ports and demos, which were previously available separately,
1007         are now incorporated into the main FreeRTOS zip file download:
1008
1009         + ARM Cortex-A9 IAR
1010         + ARM Cortex-A9 ARM compiler
1011         + Renesas RZ
1012         + Microsemi SmartFusion2
1013
1014         New FreeRTOSConfig.h settings
1015         https://freertos.org/a00110.html
1016
1017         + configUSE_TIME_SLICING
1018         + configUSE_NEWLIB_REENTRANT
1019         + configUSE_STATS_FORMATTING_FUNCTIONS
1020         + configINCLUDE_APPLICATION_DEFINED_PRIVILEGED_FUNCTIONS
1021
1022         Other changes:
1023
1024         + (MPU port only) The configINCLUDE_APPLICATION_DEFINED_PRIVILEGED_FUNCTIONS
1025           options provides a mechanism that allows application writers to execute
1026           certain functions in privileged mode even when a task is running in user
1027           mode.
1028         + Ports that support interrupt nesting now include a configASSERT() that
1029           will trigger if an interrupt safe FreeRTOS function is called from an
1030           interrupt that has a priority designated as above the maximum system/API
1031           call interrupt priority.
1032         + The included FreeRTOS+Trace recorder code has been updated to the latest
1033           version, and the demo applications that use the trace recorder code have
1034           been updated accordingly.
1035         + The FreeRTOS Windows Simulator (MSVC version only) has been updated to
1036           include a new basic 'blinky' build option in addition to the original
1037           comprehensive build option.
1038         + Improve RAM usage efficiency of heap_4.c and heap_2.c.
1039         + Prevent heap_4.c from attempting to free memory blocks that were not
1040           allocated by heap_4.c, or have already been freed.
1041         + As FreeRTOS now comes with FreeRTOS+FAT SL (donated by HCC) the Chan FATfs
1042           files have been removed from FreeRTOS/Demo/Common.
1043         + Fix build error when R4 port is build in co-operative mode.
1044         + Multiple port and demo application maintenance activities.
1045
1046 Changes between V7.4.1 and V7.4.2 released May 1 2013
1047
1048         NOTE: There are no changes in the FreeRTOS kernel between V7.4.1 and V7.4.2
1049
1050         + Added FreeRTOS+FAT SL source code and demo project.  The demo project
1051           runs in the FreeRTOS Windows simulator for easy and hardware independent
1052           experimentation and evaluation.  See https://www.FreeRTOS.org/fat_sl
1053
1054 Changes between V7.4.0 and V7.4.1 released April 18 2013
1055
1056         + To ensure strict conformance with the spec and ensure compatibility with
1057           future chips data and instruction barrier instructions have been added to
1058           the yield macros of Cortex-M and Cortex-R port layers.  For efficiency
1059           the Cortex-M port layer "yield" and "yield" from ISR are now implemented
1060           separately as the barrier instructions are not required in the ISR case.
1061         + Added FreeRTOS+UDP into main download.
1062         + Reorganised the FreeRTOS+ directory so it now matches the FreeRTOS
1063           directory with Source and Demo subdirectories.
1064         + Implemented the Berkeley sockets select() function in FreeRTOS+UDP.
1065         + Changed (unsigned) casting in calls to standard library functions with
1066           (size_t) casting.
1067         + Added the Atmel SAM4L and Renesas RX100 demos that demonstrates the
1068           tickless (tick suppression) low power FreeRTOS features.
1069         + Add a new RL78 IAR demo that targets numerous new RL78 chips and
1070           evaluation boards.
1071         + Adjusted stack alignment on RX200 ports to ensure an assert was not
1072           falsely triggered when configASSERT() is defined.
1073         + Updated the Cortex_M4F_Infineon_XMC4500_IAR demo to build with the latest
1074           version of EWARM.
1075         + Corrected header comments in the het.c and het.h files (RM48/TMS570 demo).
1076
1077
1078 Changes between V7.3.0 and V7.4.0 released February 20 2013
1079
1080         + New feature:  Queue sets.  See:
1081           https://www.FreeRTOS.org/Pend-on-multiple-rtos-objects.html
1082         + Overhauled the default tickless idle mode implementation provided with the
1083           ARM Cortex-M3 port layers.
1084         + Enhanced tickless support in the core kernel code with the introduction of
1085           the configEXPECTED_IDLE_TIME_BEFORE_SLEEP macro and the
1086           eTaskConfirmSleepModeStatus() function.
1087         + Added the QueueSet.c common demo/test file.  Several demo applications
1088           have been updated to use the new demo/test tasks.
1089         + Removed reliance on the PLIB libraries from the MPLAB PIC32 port layer and
1090           demo applications.
1091         + Added the FreeRTOS+Trace recorder code to the MSVC Win32 demo.
1092         + Renamed eTaskStateGet() to eTaskGetState() for consistency, and added a
1093           pre-processor macro for backward compatibility with the previous name.
1094         + Updated functions implemented in the core queue.c source file to allow
1095           queue.h to be included from the .c file directly (this prevents compiler
1096           warnings that were generated by some compilers).
1097         + Updated the CCS Cortex-R4 port layer to replace the CLZ assembler function
1098           with the CLZ compiler intrinsic that is provided by the latest versions of
1099           the CCS ARM compiler.
1100         + Updated all heap_x.c implementations to replace the structure that was
1101           used to ensure the start of the heap was aligned with a more portable
1102           direct C code implementation.
1103         + Added support for PIC24 devices that include EDS.
1104         + Minor optimisations to the PIC32 port layer.
1105         + Minor changes to tasks.c that allow the state viewer plug-ins to display
1106           additional information.
1107         + Bug fix:  Update prvProcessReceivedCommands() in timers.c to remove an
1108           issue that could occur if the priority of the timer daemon task was set
1109           below the priority of tasks that used timer services.
1110         + Update the FreeRTOS+Trace recorder code to the latest version.
1111
1112 Changes between V7.2.0 and V7.3.0 released October 31 2012
1113
1114         + Added ability to override the default scheduler task selection mechanism
1115           with implementations that make use of architecture specific instructions.
1116         + Added ability to suppress tick interrupts during idle time, and in so
1117           doing, provide the ability to make use of architecture specific low power
1118           functionality.
1119         + Added the portSUPPRESS_TICKS_AND_SLEEP() macro and vTaskStepTick() helper
1120           function.
1121         + Added the configSYSTICK_CLOCK_HZ configuration constant.
1122         + Reworked the Cortex-M3 and Cortex-M4F port layers for GCC, Keil and IAR to
1123           directly support basic power saving functionality.
1124         + Added hooks to allow basic power saving to be augmented in the application
1125           by making use of chip specific functionality.
1126         + Minor change to allow mutex type semaphores to be used from interrupts
1127           (which would not be a normal usage model for a mutex).
1128         + Change the behaviour of the interrupt safe interrupt mask save and restore
1129           macros in the Cortex-M ports.  The save macro now returns the previous
1130           mask value.  The restore macro now uses the previous mask value.  These
1131           changes are not necessary for the kernel's own implementation, and are
1132           made purely because the macros were being used by application writers.
1133         + Added eTaskStateGet() API function.
1134         + Added port specific optimisations to the PIC32 port layer, and updated the
1135           PIC32 demo applications to make use of this new feature.
1136         + Added port specific optimisations to the Win32 simulator port.
1137         + Added new ports and demo applications for the TI Hercules RM48 and TMS570
1138           safety microcontrollers.
1139         + Added SAM3 demos targeting the ATSAM3S-EK2 and ATSAM3X-EK evaluation
1140           boards.
1141         + Updated the PIC32 MPLAB X project to manually set the compiler include
1142           paths instead of using the IDE entry box following reports that the
1143           include paths were somehow being deleted.
1144         + Improved character handling in FreeRTOS+CLI.
1145
1146 Changes between V7.1.1 and V7.2.0 released 14 August 2012
1147
1148         FreeRTOS V7.2.0 is backward compatible with FreeRTOS V7.1.2.
1149
1150         + Added a FreeRTOS+ sub-directory.  The directory contains some FreeRTOS+
1151           source code, and example projects that use the FreeRTOS Win32 simulator.
1152         + Added a new example heap allocation implementation (heap_4.c) that
1153           includes memory block coalescence.
1154         + Added a demo that targets the Atmel SAM4S Cortex-M4 based microcontroller.
1155           The demo is preconfigured to build using the free Atmel Studio 6 IDE and
1156           GCC compiler.
1157         + Added xSemaphoreTakeFromISR() implementation.
1158         + The last parameter in ISR safe FreeRTOS queue and semaphore functions
1159           (xHigherPriorityTaskWoken) is now optional and can be set to NULL if it
1160           is not required.
1161         + Update the IAR and MSP430X ports to clear all lower power mode bits before
1162           exiting the tick interrupt [bug fix].
1163         + Allow xQueueReset() to be used, even when the queues event lists are not
1164           empty.
1165         + Added a vQueueDelete() handler for the FreeRTOS MPU port (this was
1166           previously missing).
1167         + Updated the vPortSVCHandler() functions in the FreeRTOS MPU port layer to
1168           ensure it compiles with the latest ARM GCC compilers from Linaro.
1169         + Updated the prvReadGP() function in the NIOS II port to ensure the compiler
1170           can choose any register for the functions parameter (required at high
1171           compiler optimisation levels).
1172         + Add #error macros into the Keil and IAR Cortex-M ports to ensure they
1173           cannot be built if the user has set configMAX_SYSCALL_INTERRUPT_PRIORITY
1174           to 0.
1175         + Added comments in the FreeRTOSConfig.h files associated with Cortex-M3 and
1176           Cortex-M4 demos stating that the configMAX_SYSCALL_INTERRUPT_PRIORITY
1177           parameter must not be set to 0.
1178         + Introduce new INCLUDE_xQueueGetMutexHolder configuration constant
1179           (defaulted to 0).
1180         + Added two new list handling macros - for internal use only in upcoming new
1181           products.
1182         + Removed all mention of the legacy vTaskStartTrace and ulTaskEndTrace
1183           macros.  FreeRTOS+Trace supersedes the legacy trace.
1184         + Added a configASSERT() into the vPortFree() function in heap_1.c as it is
1185           invalid for the function to be called.
1186         + Made the xRxLock and xTxLock members of the queue structure volatile.
1187           This is probably not necessary, and is included as a precautionary
1188           measure.
1189         + Modify the assert() that checks to see if the priority passed into an
1190           xTaskCreate() function is within valid bounds to permit the assert to be
1191           used in the FreeRTOS MPU port.
1192         + The software timer service (daemon) task is now created in a way that
1193           to ensure compatibility with FreeRTOS MPU.
1194
1195 Changes between V7.1.0 and V7.1.1 released May 1 2012
1196
1197         New ports:
1198
1199         The following ports are brand new:
1200         + Cortex-M3 Tasking
1201
1202         The following ports have been available as separate downloads for a number
1203         of months, but are now included in the main FreeRTOS download.
1204         + Cortex-M0 IAR
1205         + Cortex-M0 GCC
1206         + Cortex-M4F GCC (with full floating point support)
1207
1208
1209         New demos:
1210
1211         The following demos are brand new:
1212         + Renesas RX63N RDK (Renesas compiler)
1213
1214         The following demos have been available as separate downloads for a number
1215         of months, but are now included in the main FreeRTOS download.
1216         + NXP LPC1114 GCC/LPCXpresso
1217         + ST STM32F0518 IAR
1218         + Infineon XMC4500 GCC/Atollic
1219         + Infineon XMC4500 IAR
1220         + Infineon XMC4500 Keil
1221         + Infineon XMC4500 Tasking
1222
1223
1224         Kernel miscellaneous / maintenance:
1225
1226         + Introduced the portSETUP_TCB() macro to remove the requirement for the
1227           Windows simulator to use the traceTASK_CREATE() macro, leaving the trace
1228           macro available for use by FreeRTOS+Trace (https://www.FreeRTOS.org/trace).
1229         + Added a new trace macro, traceMOVE_TASK_TO_READY_STATE(), to allow future
1230           FreeRTOS+Trace versions to provide even more information to users.
1231         + Updated the FreeRTOS MPU port to be correct for changes that were
1232           introduced in FreeRTOS V7.1.0.
1233         + Introduced the xQueueReset() API function.
1234         + Introduced the xSemaphoreGetMutexHolder() API function.
1235         + Tidy up various port implementations to add the static key word where
1236           appropriate, and remove obsolete code.
1237         + Slight change to the initial stack frame given to the RX600 ports to allow
1238           them to be used in the Eclipse based E2Studio IDE without confusing GDB.
1239         + Correct the alignment given to the initial stack of Cortex-M4F tasks.
1240         + Added a NOP following each DINT instruction on MSP430 devices for strict
1241           conformance with the instructions on using DINT.
1242         + Changed the implementation of thread deletes in the Win32 port to prevent
1243           the port making use of the traceTASK_DELETE() trace macros - leaving this
1244           macro free for use by FreeRTOS+Trace.
1245         + Made some benign changes to the RX600 Renesas compiler port layer to
1246           ensure the code can be built to a library without essential code being
1247           removed by the linker.
1248         + Reverted the change in the name of the uxTaskNumber variable made in
1249           V7.1.0 as it broke the IAR plug-in.
1250
1251
1252         Demo miscellaneous / maintenance:
1253
1254         + The command interpreter has now been formally released as FreeRTOS+CLI,
1255           and been moved out of the main FreeRTOS download, to instead be available
1256           from the FreeRTOS+ Ecosystem site https://www.FreeRTOS.org/plus.
1257         + flash_timer.c/h has been added to the list of standard demo tasks.  This
1258           performs the same functionality as the flash.c tasks, but using software
1259           timers in place of tasks.
1260         + Upgraded the PIC32 demo as follows:  Changes to how the library functions
1261           are called necessitated by the new compiler version, addition of MPLAB X
1262           project with PIC32MX360, PIC32MX460 and PIC32MX795 configurations,
1263           addition of simply blinky demo, updated FreeRTOSConfig.h to include more
1264           parameters, addition of hook function stubs.
1265         + The MSP430X IAR and CCS demos have been updated to ensure the power
1266           settings are correct for the configured CPU frequency.
1267         + Rowley CrossWorks projects have been updated to correct the "multiple
1268           definition of ..." warnings introduced when the toolchain was updated.
1269         + Updated various FreeRTOSConfig.h header files associated with projects
1270           that build with Eclipse to include a #error statement informing the user
1271           that the CreateProjectDirectoryStructure.bat batch file needs to be
1272           executed before the projects can be opened.
1273         + Renamed directories that included "CCS4" in their name to remove the '4'
1274           and instead just be "CCS".  This is because the demo was updated and
1275           tested to also work with later Code Composer Studio versions.
1276         + Updated the TCP/IP periodic timer frequency in numerous uIP demos to be
1277           50ms instead of 500ms.
1278
1279 Changes between V7.0.2 and V7.1.0 released December 13 2011
1280
1281         New ports:
1282
1283         + Cortex-M4F IAR port.
1284         + Cortex-M4F Keil/RVDS port.
1285         + TriCore GCC port.
1286
1287         New demos:
1288
1289         + NXP LPC4350 using the Keil MDK, and demonstrated on a Hitex development
1290           board.
1291         + ST STM32F407 using the IAR Embedded Workbench for ARM, and demonstrated on
1292           the IAR STM32F407ZG-SK starter kit.
1293         + Infineon TriCore TC1782, using the GCC compiler, demonstrated on the
1294           TriBoard TC1782 evaluation board.
1295         + Renesas RX630, using the Renesas compiler and HEW, demonstrated on an
1296           RX630 RSK (Renesas Starter Kit).
1297
1298         Miscellaneous / maintenance:
1299
1300         + Removed all calls to printf() from the K60/IAR Kinetis demo so the project
1301           can execute stand alone - without being connected to the debugger.
1302         + Completed the command interpreter framework.  Command handlers now receive
1303           the entire command string, giving them direct access to parameters.
1304           Utility functions are provided to check the number of parameters, and
1305           return parameter sub-strings.
1306         + The previously documented fix for the bug in xTaskResumeFromISR() that
1307           effected (only) ports supporting interrupt nesting has now been
1308           incorporated into the main release.
1309         + The portALIGNMENT_ASSERT_pxCurrentTCB() definition has been added to allow
1310           specific ports to skip the second stack alignment check when a task is
1311           created.  This is because the second check is not appropriate for some
1312           ports - including the new TriCore port where the checked pointer does not
1313           actually point to a stack.
1314         + The portCLEAN_UP_TCB() macro has been added to allow port specific clean
1315           up when a task is deleted - again this is required by the TriCore port.
1316         + Various other minor changes to ensure warning free builds on a growing
1317           number of microcontroller and toolchain platforms.  This includes a
1318           (benign) correction to the prototype of the
1319           vApplicationStackOverflowHook() definition found in lots of recent demos.
1320
1321         Trace system:
1322
1323         + The legacy trace mechanism has been completely removed - it has been
1324           obsolete for the years since the trace macros were introduced.  The
1325           configuration constant configUSE_TRACE_FACILITY is now used to optionally
1326           include additional queue and task information.  The additional information
1327           is intended to make the trace mechanism more generic, and allow the trace
1328           output to provide more information.  When configUSE_TRACE_FACILITY is set
1329           to 1:
1330                 - the queue structure includes an additional member to hold the queue
1331                   type, which can be base, mutex, counting semaphore, binary semaphore
1332                   or recursive mutex.
1333                 - the queue structure includes an additional member to hold a queue
1334                   number.  A trace tool can set and query the queue number for its own
1335                   purposes.  The kernel does not use the queue number itself.
1336                 - the TCB structure includes an additional member to hold a task number
1337                   number.  A trace tool can set and query the task number for its own
1338                   purposes.  The kernel does not use the task number itself.
1339         + Queues and all types of semaphores are now automatically allocated their
1340           type as they are created.
1341         + Added two new trace macros - traceTASK_PRIORITY_INHERIT() and
1342           traskTASK_PRIORITY_DISINHERIT().
1343         + Updated the traceQUEUE_CREATE_FAILED() macro to take a parameter that
1344           indicates the type of queue, mutex, or semaphore that failed to be
1345           created.
1346         + The position from which traceCREATE_MUTEX() is called has been moved from
1347           after the call to xQueueGenericSend() [within the same function] to before
1348           the call.  This ensures the trace events occur in the correct order.
1349         + The value passed into tracePRIORITY_SET() has been corrected for the case
1350           where vTaskPrioritySet() is called with a null parameter.
1351
1352 Changes between V7.0.1 and V7.0.2 released September 20 2011
1353
1354         New ports:
1355
1356         + The official FreeRTOS Renesas RX200 port and demo application have been
1357           incorporated into the main FreeRTOS zip file download.
1358         + The official FreeRTOS Renesas RL78 port and demo application have been
1359           incorporated into the main FreeRTOS zip file download.
1360         + The official FreeRTOS Freescale Kinetis K60 tower demo application has
1361           been incorporated into the main FreeRTOS zip file download.  This includes
1362           an embedded web server example.
1363         + A new Microblaze V8 port layer has been created to replace the older, now
1364           deprecated, port layer.  The V8 port supports V8.x of the Microblaze IP,
1365           including exceptions, caches, and the floating point unit.  A new
1366           Microblaze demo has also been added to demonstrate the new Microblaze V8
1367           port layer.  The demo application was created using V13.1 of the Xilinx
1368           EDK, and includes a basic embedded web server that uses lwIP V1.4.0.
1369         + The official FreeRTOS Fujitsu FM3 MB9A310 demo application has been
1370           incorporated into the main FreeRTOS zip file download.  Projects are
1371           provided for both the IAR and Keil toolchains.
1372
1373
1374         API additions:
1375
1376         + xTaskGetIdleTaskHandle() has been added.
1377         + xTaskGetTimerDaemonTaskHandle() has been added.
1378         + pcTaskGetTaskName() has been added.
1379         + vSemaphoreDelete() macro has been added to make it obvious how to delete
1380           a semaphore.  In previous versions vQueueDelete() had to be used.
1381         + vTaskCleanUpResources() has been removed.  It has been obsolete for a
1382           while.
1383         + portPOINTER_SIZE_TYPE has been introduced to prevent compiler warnings
1384           being generated when the size of a pointer does not match the size of
1385           the stack type.  This will (has already) be used in new ports, but will
1386           not be retrofitted to existing ports until the existing port itself is
1387           updated.
1388
1389         Other updates and news:
1390
1391         + The core files have all been modified to tighten the coding standard even
1392           further.  These are style, not functional changes.
1393         + All ARM7 port layers have been slightly modified to prevent erroneous
1394           assert() failures when tasks are created and configASSERT() is defined.
1395         + All ARM IAR projects have been updated to build with the latest V6.2.x
1396           versions of the IAR Embedded Workbench for ARM tools (EWARM).  This was
1397           necessary due to a change in the way EWARM uses the CMSIS libraries.
1398         + The PIC32 port layer has been updated in preparation for V2 of the C32
1399           compiler.
1400         + The old Virtex-4 Microblaze demo has been marked as deprecated.  Please
1401           use the brand new Spartan-6 port and demo in its place.
1402         + The bones of a new generic command interpreter is located in
1403           FreeRTOS/Demo/Common/Utils/CommandInterpreter.c.  This is still a work in
1404           progress, and not documented.  It is however already in use.  It will be
1405           documented in full when the projects that are already using it are
1406           completed.
1407         + A couple of new standard demos have been included.  First, a version of
1408           flop.c called sp_flop.c.  This is similar to flop.c, but uses single
1409           precision floats in place of double precision doubles.  This allows the
1410           for testing ports to processors that have only single precision floating
1411           point units, and revert to using emulated calculations whenever a double
1412           is used.  Second, comtest_strings.c has been included to allow the test
1413           of UART drivers when an entire string is transmitted at once.  The
1414           previous comtest.c only used single character transmission and reception.
1415         + lwIP V1.4.0 is now included in the FreeRTOS/Demo/Common directory, and
1416           used by a couple of new demos.
1417
1418 Changes between V7.0.0 and V7.0.1 released May 13 2011
1419
1420         + Added a Fujitsu FM3 demo application for both the IAR and Keil tool
1421           chains.
1422         + Added a SmartFusion demo application for all of the IAR, Keil and
1423           SoftConsole (GCC/Eclipse) tool chains.
1424         + Updated the RX600 port and demo applications to take into account the
1425           different semantics required when using the latest (V1.0.2.0) version of
1426           the Renesas compiler.
1427         + Modified the RX600 Ethernet driver slightly to make it more robust under
1428           heavy load, and updated the uIP handling task to make use of the FreeRTOS
1429           software timers.
1430         + Slightly changed the PIC32 port layer to move an ehb instruction in line
1431           with the recommendations of the MIPS core manual, and ensure 8 byte stack
1432           alignment is truly always obtained.
1433         + Changed the behaviour when tasks are suspended before the scheduler has
1434           been started.  Before, there needed to be at least one task that was not
1435           in the suspended state.  This is no longer the case.
1436
1437 Changes between V6.1.1 and V7.0.0 released April 8 2011
1438
1439         FreeRTOS V7.0.0 is backward compatible with FreeRTOS V6.x.x
1440
1441         Main changes:
1442
1443         + Introduced a new software timer implementation.
1444         + Introduced a new common demo application file to exercise the new timer
1445           implementation.
1446         + Updated the Win32/MSVC simulator project to include the new software timer
1447           demo tasks and software timer tick hook test.  Much simpler software timer
1448           demonstrations are included in the demo projects for both of the new ports
1449           (MSP430X with CCS4 and STM32 with TrueStudio).
1450         + Various enhancements to the kernel implementation in tasks.c.  These are
1451           transparent to users and do not effect the pre-existing API.
1452         + Added calls to configASSERT() within the kernel code.  configASSERT() is
1453           functionally equivalent to the standard C assert() macro, but does not
1454           rely on the compiler providing assert.h.
1455
1456         Other changes:
1457
1458         + Updated the MSP430X IAR port and demo project to include support for the
1459           medium memory model.
1460         + Added a demo project for the MSP430X that targets the MSP430X Discovery
1461           board and uses the Code Composer Studio 4 tools.  This demo includes use
1462           of the new software timer implementation.
1463         + Added an STM32F100RB demo project that targets the STM32 Discovery Board
1464           and uses the TrueStudio Eclipse based IDE from Atollic.
1465         + Removed some compiler warnings from the PSoC demo application.
1466         + Updated the PIC32 port layer to ensure the
1467           configMAX_SYSCALL_INTERRUPT_PRIORITY constant works as expected no matter
1468           what its value is (within the valid range set by the microcontroller
1469           kernel).
1470         + Updated the PIC24, dsPIC and PIC32 projects so they work with the latest
1471           MPLAB compiler versions from Microchip.
1472         + Various cosmetic changes to prepare for a standards compliance statement
1473           that will be published after the software release.
1474
1475
1476 Changes between V6.1.0 and V6.1.1 released January 14 2011
1477
1478         + Added two new Windows simulator ports.  One uses the free Microsoft Visual
1479           Studio 2010 express edition, and the other the free MingW/Eclipse
1480           environment.  Demo projects are provided for both.
1481         + Added three demo projects for the PSoC 5 (CYAC5588).  These are for the
1482           GCC, Keil, and RVDS build tools, and all use the PSoC Creator IDE.
1483         + Added a demo for the low power STM32L152 microcontroller using the IAR
1484           Embedded Workbench.
1485         + Added a new port for the MSP430X core using the IAR Embedded Workbench.
1486         + Updated all the RX62N demo projects that target the Renesas Demonstration
1487           Kit (RDK) to take into account the revered LED wiring on later hardware
1488           revisions, and the new J-Link debug interface DLL.
1489         + Updated all the RX62N demo projects so the IO page served by the example
1490           embedded web server works with all web browsers.
1491         + Updated the Red Suite projects to work with the up coming Red Suite
1492           release, and to use a more recent version of the CMSIS libraries.
1493         + Added the traceTAKE_MUTEX_RECURSIVE_FAILED() trace macro.
1494         + Removed the (pointless) parameter from the traceTASK_CREATE_FAILED()
1495           trace macro.
1496         + Introduced the portALT_GET_RUN_TIME_COUNTER_VALUE() macro to compliment
1497           the already existing portGET_RUN_TIME_COUNTER_VALUE().  This allows for
1498           more flexibility in how the time base for the run time statistics feature
1499           can be implemented.
1500         + Added a "cpsie i" instruction before the "svc 0" instruction used to start
1501           the scheduler in each of the Cortex M3 ports.  This is to ensure that
1502           interrupts are globally enabled prior to the "svc 0" instruction being
1503           executed in cases where interrupts are left disabled by the C start up
1504           code.
1505         + Slight optimisation in the run time stats calculation.
1506
1507 Changes between V6.0.5 and V6.1.0 released October 6 2010
1508
1509         + Added xTaskGetTickCountFromISR() function.
1510         + Modified vTaskSuspend() to allow tasks that have just been created to be
1511           immediately suspended even when the kernel has not been started.  This
1512           allows them to effectively start in the Suspended state - a feature that
1513           has been asked for on numerous occasions to assist with initialisation
1514           procedures.
1515         + Added ports for the Renesas RX62N using IAR, GCC and Renesas tool suites.
1516         + Added a STM32F103 demo application that uses the Rowley tools.
1517         + Under specific conditions xFreeBytesRemaining within heap_2.c could end up
1518           with an incorrect     value.  This has been fixed.
1519         + xTaskCreateGeneric() has a parameter that can be used to pass the handle
1520           of the task just created out to the calling task.  The assignment to this
1521           parameter has been moved to ensure it is assigned prior to the newly
1522           created having any possibility of executing.  This takes into account the
1523           case where the assignment is made to a global variable that is accessed by
1524           the newly created task.
1525         + Fixed some build time compiler warnings in various FreeTCPIP (based on
1526           uIP) files.
1527         + Fixed some build time compiler warnings in Demo/Common/Minimal/IntQueue.c.
1528
1529 Changes between V6.0.4 and V6.0.5 released May 17 2010
1530
1531         + Added port and demo application for the Cortus APS3 processor.
1532
1533 Changes between V6.0.3 and V6.0.4 released March 14 2010
1534
1535         + All the contributed files that were located in the Demo/Unsupported_Demos
1536           directory have been removed.  These files are instead now available in the
1537           new  Community Contributions section of the FreeRTOS website.  See
1538           https://www.FreeRTOS.org/RTOS-contributed-ports.html
1539         + The project file located in the Demo/CORTEX_STM32F107_GCC_Rowley directory
1540           has been upgraded to use V2.x of the Rowley Crossworks STM32 support
1541           package.
1542         + An initial Energy Micro EFM32 demo has been included.  This will be
1543           updated over the coming months to make better use of the low power modes
1544           the EFM32 provides.
1545
1546 Changes between V6.0.2 and V6.0.3 released February 26 2010
1547
1548         + SuperH SH7216 (SH2A-FPU) port and demo application added.
1549         + Slight modification made to the default implementation of
1550           pvPortMallocAligned() and vPortFreeAligned() macros so by default they
1551           just call pvPortMalloc() and vPortFree().  The macros are only needed to
1552           be defined when a memory protection unit (MPU) is being used - and then
1553           only depending on other configuration settings.
1554
1555 Changes between V6.0.1 and V6.0.2 released January 9th 2010
1556
1557         + Changed all GCC ARM 7 ports to use 0 as the SWI instruction parameter.
1558           Previously the parameter was blank and therefore only an implicit 0 but
1559           newer GCC releases do not permit this.
1560         + Updated IAR SAM7S and SAM7X ports to work with IAR V5.40.
1561         + Changed the stack alignment requirement for PIC32 from 4 bytes to 8 bytes.
1562         + Updated prvListTaskWithinSingleList() is it works on processors where the
1563           stack grows up from low memory.
1564         + Corrected some comments.
1565         + Updated the startup file for the RVDS LPC21xx demo.
1566
1567 Changes between V6.0.0 and V6.0.1 released November 15th 2009
1568
1569         + Altered pxPortInitialiseStack() for all Cortex-M3 ports to ensure the
1570           stack pointer is where the compiler expects it to be when a task first
1571           starts executing.
1572
1573           The following minor changes only effect the Cortex-M3 MPU port:
1574
1575         + portRESET_PRIVILEGE() assembly macro updated to include a clobber list.
1576         + Added prototypes for all the privileged function wrappers to ensure no
1577           compile time warnings are generated no matter what the warning level
1578           setting.
1579         + Corrected the name of portSVC_prvRaisePrivilege to
1580           portSVC_RAISE_PRIVILEGE.
1581         + Added conditional compilation into xTaskGenericCreate() to prevent some
1582           compilers issuing warnings when portPRIVILEGE_BIT is defined as zero.
1583
1584
1585 Changes between V5.4.2 and V6.0.0 released October 16th 2009
1586
1587         FreeRTOS V6 is backward compatible with FreeRTOS V5.x.
1588
1589         Main changes:
1590
1591         + FreeRTOS V6 is the first version to include memory protection unit (MPU)
1592           support.  Two ports now exist for the Cortex M3, the standard FreeRTOS
1593           which does not include MPU support, and FreeRTOS-MPU which does.
1594         + xTaskCreateRestricted() and vTaskAllocateMPURegions() API functions added
1595           in support of FreeRTOS-MPU.
1596         + Wording for the GPL exception has been (hopefully) clarified.  Also the
1597           license.txt file included in the download has been fixed (the previous
1598           version contained some corruption).
1599
1600         Other changes:
1601
1602         + New API function xPortGetFreeHeapSize() added to heap_1.c and heap_2.c.
1603         + ARM7 GCC demo interrupt service routines wrappers have been modified to
1604           call the C portion using an __asm statement.  This prevents the function
1605           call being inlined at higher optimisation levels.
1606         + ARM7 ports now automatically set the THUMB bit if necessary when
1607           setting up the initial stack of a task - removing the need for
1608           THUMB_INTERWORK to be defined.  This also allows THUMB mode and ARM mode
1609           tasks to be mixed more easily.
1610         + All ARM7/9 ports now have portBYTE_ALIGNMENT set to 8 by default.
1611         + Various demo application project files have been updated to be up to date
1612           with the latest IDE versions.
1613         + The linker scripts used with command line GCC demos have been updated to
1614           include an eh_frame section to allow their use with the latest Yagarto
1615           release.  Likewise the demo makefiles have been updated to include
1616           command line options to reduce or eliminate the eh_frame section all
1617           together.
1618         + The definition of portBYTE_ALIGNMENT_MASK has been moved out of the
1619           various memory allocation files and into the common portable.h header
1620           file.
1621         + Removed unnecessary use of portLONG, portSHORT and portCHAR.
1622         + Added LM3Sxxxx demo for Rowley CrossWorks.
1623         + Posix simulator has been upgraded - see the corresponding WEB page on the
1624           FreeRTOS.org site.
1625
1626
1627 Changes between V5.4.1 and V5.4.2 released August 9th 2009
1628
1629         + Added a new port and demo app for the Altera Nios2 soft core.
1630         + Added LPC1768 demo for IAR.
1631         + Added a USB CDC demo to all LPC1768 demos (Code Red, CrossWorks and IAR).
1632         + Changed clock frequency of LPC1768 demos to 99MHz.
1633
1634 Changes between V5.4.0 and V5.4.1 released July 25th 2009
1635
1636         + New hook function added.  vApplicationMallocFailedHook() is (optionally)
1637           called if pvPortMalloc() returns NULL.
1638         + Additional casting added to xTaskCheckForTimeOut().  This prevents
1639           problems that can arise should configUSE_16_BIT_TICKS be set to 1 on a
1640           32 bit architecture (which would probably be a mistake, anyway).
1641         + Corrected the parameter passed to NVIC_SetPriority() to set the MAC
1642           interrupt priority in both LPC1768 demos.
1643         + Decreased the default setting of configMINIMAL_STACK_SIZE in the PIC32
1644           demo application to ensure the heap space was not completely consumed
1645           before the scheduler was started.
1646
1647 Changes between V5.3.1 and V5.4.0 released July 13th 2009
1648
1649         + Added Virtex5 / PPC440 port and demos.
1650         + Replaced the LPC1766 Red Suite demo with an LPC1768 Red Suite demo.  The
1651           original demo was configured to use engineering samples of the CPU.  The
1652           new demo has an improved Ethernet driver.
1653         + Added LPC1768 Rowley demo with zero copy Ethernet driver.
1654         + Reworked byte alignment code to ensure 8 byte alignment works correctly.
1655         + Set configUSE_16_BIT_TICKS to 0 in the PPC405 demo projects.
1656         + Changed the initial stack setup for the PPC405 to ensure the small data
1657           area pointers are setup correctly.
1658
1659 Changes between V5.3.0 and V5.3.1 released June 21st 2009
1660
1661         + Added ColdFire V1 MCF51CN128 port and WEB server demo.
1662         + Added STM32 Connectivity Line STM32107 Cortex M3 WEB server demo.
1663         + Changed the Cortex M3 port.c asm statements to __asm so it can be
1664           compiled using Rowley CrossWorks V2 in its default configuration.
1665         + Updated the Posix/Linux simulator contributed port.
1666
1667 Changes between V5.2.0 and V5.3.0 released June 1st 2009
1668
1669         Main changes:
1670
1671         + Added new (optional) feature that gathers statistics on the amount of CPU
1672           time used by each task.
1673         + Added a new demo application for the Atmel AT91SAM3U Cortex-M3 based
1674           microcontroller.
1675         + Added a new demo application for the NXP LPC1766 Cortex-M3 based
1676           microcontroller.
1677         + Added a contributed port/demo that allows FreeRTOS to be 'simulated' in a
1678           Linux environment.
1679
1680         Minor changes:
1681         + Updated the Stellaris uIP WEB server demos to include the new run time
1682           statistics gathering feature - and include a served WEB page that
1683           presents the information in a tabular format.
1684         + Added in the lwIP port layer for the Coldfire MCF52259.
1685         + Updated the CrossWorks LPC2368 WEB server to include an image in the
1686           served content.
1687         + Changed some of the timing in the initialisation of the LPC2368 MAC to
1688           permit its use on all part revisions.
1689         + Minor modifications to the core uIP code to remove some compiler warnings.
1690         + Added xTaskGetApplicationTaskTag() function and updated the OpenWatcom
1691           demo to make use of the new function.
1692         + Added contributed demos for AVR32 AP7000, STM32 Primer 2 and STM32 using
1693           Rowley Crossworks.
1694         + Heap_1.c and Heap_2.c used to define structures for the purpose of data
1695           alignment.  These have been converted to unions to save a few bytes of
1696           RAM that would otherwise be wasted.
1697         + Remove the call to strncpy() used to copy the task name into the TCB when
1698           the maximum task name is configured to be 1 byte long.
1699
1700 Changes between V5.1.2 and V5.2.0 released March 14th 2009
1701
1702         + Optimised the queue send and receive functions (also used by semaphores).
1703         + Replaced the standard critical sections used to protect BIOS calls in the
1704           PC port to instead use scheduler locks.  This is because the BIOS calls
1705           always return with interrupts enabled.
1706         + Corrected unclosed comments in boot.s.
1707
1708 Changes between V5.1.1 and V5.1.2 released February 9th 2009
1709
1710         + Added NEC V850ES port and demo.
1711         + Added NEC 78K0R port and demo.
1712         + Added MCF52259 port and demo.
1713         + Added the AT91SAM9XE port and demo.
1714         + Updated the MCF52233 FEC driver to work around a silicon bug that
1715           prevents the part auto negotiating some network parameters.
1716         + Minor modifications to the MCF52233 makefile to permit it to be used
1717           on Linux hosts.
1718         + Updated the STM32 primer files to allow them to be built with the latest
1719           version of the RIDE tools.
1720         + Updated the threads.js Java script used for kernel aware debugging in
1721           the Rowley CrossWorks IDE.
1722
1723
1724 Changes between V5.1.0 and V5.1.1 released November 20, 2008
1725
1726         + Added Coldfire MCF52233 WEB server demo using GCC and Eclipse.
1727         + Added IAR MSP430 port and demo.
1728         + Corrected several compiler time issues that had crept in as tool versions
1729           change.
1730         + Included FreeRTOS-uIP - a faster uIP.  This is not yet complete.
1731
1732 Changes between V5.0.4 and V5.1.0 released October 24, 2008
1733
1734         + Added a new port and demo application for the ColdFire V2 core using the
1735           CodeWarrior development tools.
1736         + Replaced the ARM7 demo that used the old (and now no longer supported)
1737           Keil compiler with a new port that uses the new Keil/RVDS combo.
1738         + Stack overflow checking now works for stacks that grow up from low
1739           memory (PIC24 and dsPIC).
1740         + BUG FIX - set the PIC32 definition of portSTACK_GROWTH to the correct
1741           value of -1.
1742         + MSP430 port layers have been updated to permit tasks to place the
1743           microcontroller into power down modes 1 to 3.  The demo applications have
1744           likewise been updated to demonstrate the new feature.
1745         + Replaced the two separate MSP430/Rowley port layers with a single and more
1746           flexible version.
1747         + Added more contributed ports, including ports for NEC and SAM9
1748           microcontrollers.
1749         + Changed the linker script used in the LPC2368 Eclipse demo.
1750
1751 Changes between V5.0.3 and V5.0.4 released September 22, 2008
1752
1753         + Completely re-written port for ColdFire GCC.
1754         + Bug fix:  All Cortex M3 ports have a minor change to the code that sets
1755           the pending interrupt.
1756         + Some header files require that FreeRTOS.h be included prior to their
1757           inclusion.  #error message have been added to all such header file
1758           informing users to the cause of the compilation error should the headers
1759           not be included in the correct order.
1760
1761 Changes between V5.0.2 and V5.0.3 released July 31, 2008
1762
1763         Changes relating to the Cortex M3:
1764
1765         + Added configMAX_SYSCALL_INTERRUPT_PRIORITY usage to all the Cortex M3
1766           ports and demos.  See the port documentation pages on the FreeRTOS.org
1767           WEB site for full usage information.
1768         + Improved efficiency of Cortex M3 port even further.
1769         + Ensure the Cortex M3 port works no matter where the vector table is
1770           located.
1771         + Added the IntQTimer demo/test tasks to a demo project for each CM3 port
1772           (Keil, GCC and IAR) to test the new configMAX_SYSCALL_INTERRUPT_PRIORITY
1773           functionality.
1774         + Added the mainINCLUDE_WEB_SERVER definition to the LM3SXXXX IAR and Keil
1775           projects to allow the WEB server to be conditionally excluded from the
1776           build and therefore allow use of the KickStart (code size limited)
1777           compiler version.
1778
1779         Other changes:
1780
1781         + Moved the PIC24 and dsPIC versions of vPortYield() from the C file to
1782           an assembly file to allow use with all MPLAB compiler versions.  This also
1783           allows the omit-frame-pointer optimisation to be turned off.
1784
1785 Changes between V5.0.0 and V5.0.2 released May 30, 2008
1786
1787         + Updated the PIC32 port to allow queue API calls to be used from
1788           interrupts above the kernel interrupt priority, and to allow full
1789           interrupt nesting.  Task stack usages has also been reduced.
1790         + Added a new PowerPC port that demonstrates how the trace macros can be
1791           used to allow the use of a floating point co-processor.  The
1792           traceTASK_SWITCHED_OUT() and traceTASK_SWITCHED_INT() macros are used to
1793           save and restore the floating point context respectively for those tasks
1794           that actually use floating point operations.
1795         + BUG FIX:  The first PPC405 port contained a bug in that it did not leave
1796           adequate space above the stack for the backchain to be saved when a task
1797           started to execute for the first time.
1798         + Updated queue.c to add in the means to allow interrupt nesting and for
1799           queue API functions to be called from interrupts that have a priority
1800           above the kernel priority.  This is only supported on PIC32 ports thus
1801           far.
1802         + Fixed the compiler warnings that were generated when the latest version
1803           of WinAVR was used.
1804         + Remove all inline usage of 'inline' from the core kernel code.
1805         + Added the queue registry feature.  The queue registry is provided as a
1806           means for kernel aware debuggers to locate queue definitions.  It has no
1807           purpose unless you are using a kernel aware debugger.  The queue registry
1808           will only be used when configQUEUE_REGISTRY_SIZE is greater than zero.
1809         + Added the ST Cortex-M3 drivers into the Demo/Common/Drivers directory to
1810           prevent them from having to be included in multiple demos.
1811         + Added a Keil STM32 demo application.
1812         + Changed the blocktim.c test files as it is no longer legitimate for all
1813           ports to call queue API functions from within a critical section.
1814         + Added the IntQueue.c test file to test the calling of queue API functions
1815           from different interrupt priority levels, and test interrupt nesting.
1816
1817 Changes between V5.0.0 and V5.0.1
1818
1819         + V5.0.1 was a customer specific release.
1820
1821 Changes between V4.8.0 and V5.0.0 released April 15, 2008
1822
1823         *** VERY IMPORTANT INFORMATION ON UPGRADING TO FREERTOS.ORG V5.0.0 ***
1824
1825         The parameters to the functions xQueueSendFromISR(), xQueueSendToFrontFromISR(),
1826         xQueueSendToBackFromISR() and xSemaphoreGiveFromISR() have changed.  You must
1827         update all calls to these functions to use the new calling convention!  Your
1828         compiler might not issue any type mismatch warnings!
1829
1830
1831         Other changes:
1832
1833         + Support added for the new Luminary Micro LM3S3768 and LM3S3748 Cortex-M3
1834           microcontrollers.
1835         + New task hook feature added.
1836         + PowerPC demo updated to use version 10.1 of the Xilinx EDK.
1837         + Efficiency gains within the PIC32 port layer.
1838
1839 Changes between V4.7.2 and V4.8.0 released March 26 2008
1840
1841         + Added a Virtex4 PowerPC 405 port and demo application.
1842         + Added optional stack overflow checking and new
1843           uxTaskGetStackHighWaterMark() function.
1844         + Added new xQueueIsQueueEmptyFromISR(), xQueueIsQueueFullFromISR() and
1845           uxQueueMessagesWaitingFromISR() API functions.
1846         + Efficiency improvements to the Cortex-M3 port layer.  NOTE: This
1847           requires that an SVC handler be installed in the application.
1848         + Efficiency improvements to the queue send and receive functions.
1849         + Added new trace macros.  These are application definable to provide
1850           a flexible trace facility.
1851         + Implemented the configKERNEL_INTERRUPT_PRIORITY within the Keil Cortex
1852           M3 port layer (bringing it up to the same standard as the IAR and GCC
1853           versions).
1854         + Ports that used the arm-stellaris-eabi-gcc tools have been converted to
1855           use the arm-non-eabi-gcc tools.
1856
1857 Changes between V4.7.1 and V4.7.2 released February 21, 2008
1858
1859         + Added Fujitsu MB91460 port and demo.
1860         + Added Fujitsu MB96340 port and demo.
1861         + Tidied up the capitalisation of include files to facilitate builds on
1862           Linux hosts.
1863         + Removed some redundant casting that was generating warnings - but was
1864           included to remove warnings on other compilers.
1865
1866 Changes between V4.7.0 and V4.7.1 released February 3, 2008
1867
1868         + Updated all IAR ARM projects to use V5.11 of the IAR Embedded Workbench
1869           for ARM.
1870         + Introduced recursive semaphore feature.
1871         + Updated LPC2368 demos to take into account silicon bugs in old chip
1872           revisions.
1873         + Updated STR9 uIP port to manually set the net mask and gateway addresses.
1874         + Updating demos to allow more to run with the co-operative scheduler.
1875         + Fixed co-operative scheduler behaviour upon the occurrence of a tick
1876           interrupt while the scheduler was suspended.
1877         + Updated documentation contained within semphr.h.
1878         + ARM7 GCC ports no longer use the IRQ attribute.
1879
1880 Changes between V4.6.1 and V4.7.0 released December 6, 2007
1881
1882         + Introduced the counting semaphore macros and demo source files.  The
1883           Open Watcom PC project has been updated to include the new demo.  See
1884           the online documentation for more information.
1885         + Introduced the 'alternative' queue handling API and demo source files.
1886           The Open Watcom PC project has been updated to include the new demo
1887           source files.  See the online documentation for more information.
1888         + Added AT91SAM7X Eclipse demo project.
1889         + Added the STM32 primer demo project for the GCC compiler and Ride IDE.
1890         + Removed the .lock files that were mistakenly included in the V4.6.1
1891           eclipse workspaces.
1892
1893 Changes between V4.6.0 and V4.6.1 released November 5 2007
1894
1895         + Added support for the MIPS M4K based PIC32.
1896         + Added 'extern "C"' to all the header files to facilitate use with C++.
1897
1898 Changes between V4.5.0 and V4.6.0 released October 28 2007
1899
1900         + Changed the method used to force a context switch within an ISR for the
1901           ARM7/9 GCC ports only.  The portENTER_SWITCHING_ISR() and
1902           portEXIT_SWITCHING_ISR() macros are no longer supported.  This is to
1903           ensure correct behaviour no matter which GCC version is used, with or
1904           without the -fomit-frame-pointer option, and at all optimisation levels.
1905         + Corrected the prototype for xQueueGenericSend() within queue.h.
1906
1907 Changes between V4.4.0 and V4.5.0 released September 17 2007
1908
1909         + Added the xQueueSendToFront(), xQueueSendToBack() and xQueuePeek()
1910           functionality.  These should now be used in preference to the old
1911           xQueueSend() function - which is maintained for backward compatibility.
1912         + Added Mutex functionality.  The behaviour of mutexes is subtly different
1913           to the already existing binary semaphores as mutexes automatically
1914           include a priority inheritance mechanism.
1915         + Added the GenQTest.c and QPeek.c to test and demonstrate the behaviour
1916           of the new functionality.
1917         + Updated the LM3Sxxxx and PC ports to include the new GenQTest.c and
1918           QPeek.c files.
1919         + Updated the GCC port for the Cortex M3 to include the
1920           configKERNEL_INTERRUPT_PRIORITY functionality.  This was previously only
1921           included in the IAR port.
1922         + Optimised the GCC and IAR port layer code - specifically the context
1923           switch code.
1924         + Consolidated the LM3Sxxxx EK demos for all development tools into a
1925           single project that automatically detects which version of the EK the
1926           application is executing on.
1927         + Added Eclipse support for LM3Sxxxx evaluation kits.
1928         + Added Eclipse support for the Keil LPC2368 evaluation kit.
1929         + Added the Demo/Drivers directory to hold code that is common to multiple
1930           demo application projects.
1931         + Included some minor bug fixes in the uIP 1.0 code.
1932         + Added an lwIP demo for the STR9 - thanks ST for assistance.
1933         + Updated the AVR32 port to ensure correct behaviour with full compiler
1934           optimisation.
1935         + Included binaries for OpenOCD FTDI and parallel port interfaces.
1936
1937 Changes between V4.4.0 and V4.3.1 released July 31, 2007
1938
1939         + Added AVR32 UC3B demo application.
1940         + Updated AVR32 UC3A port and demo applications.
1941         + Added IAR lwIP demo for AVR32 UC3A.
1942         + Updated listGET_OWNER_OF_NEXT_ENTRY() to assist compiler optimisation
1943           (thanks Niu Yong for making the suggestion).
1944         + Added xTaskGetSchedulerState() API function.
1945         + BUG FIX:  Corrected behaviour when tasks that are blocked indefinitely
1946           have their block time adjusted (within xQueueSend() and xQueueReceive()),
1947           and are the subject of a call the vTaskResume() when they are not
1948           actually in the Suspended state (thanks Dan Searles for reporting the
1949           issues).
1950
1951
1952 Changes between V4.3.0 and V4.3.1 released June 11, 2007
1953
1954         + Added STMicroelectronics STM32 Cortex-M3 demo application.
1955         + Updated ustdlib.c for the GCC LM3S6965 demo.
1956
1957 Changes between V4.2.1 and V4.3.0 released June 5, 2007
1958
1959         + Introduced configKERNEL_INTERRUPT_PRIORITY to the IAR Cortex-M3, PIC24
1960           and dsPIC ports.  See the LM3S6965 and PIC24 demo application
1961           documentation pages for more information.
1962         + Updated the PIC24 and dsPIC demos to build with V3.0 of the PIC30 GCC
1963           tools, and changed the demo applications.
1964         + Added demos for the new Ethernet and CAN enabled Luminary Micro Stellaris
1965           microcontrollers.
1966         + Corrected bug in uIP the demos that prevented frames of approximately 1480
1967           bytes and over from being transmitted.
1968         + Included the LPC2368/uIP/Rowley demo into the main FreeRTOS.org
1969           download.
1970         + Update to WizC PIC18 port to permit its use with version 14 of the
1971           compiler.  Thanks Marcel!
1972
1973 Changes between V4.2.1 and V4.2.0 released April 2, 2007
1974
1975         + Added AVR32 AT32UC3A ports for GCC and IAR.
1976         + Added -fomit-frame-pointer option to lwIP SAM7X demo makefile.
1977         + Moved location of call to LCD_Init() in STR9 demo to ensure it is only
1978           called after the scheduler has been started.
1979
1980 Changes between V4.1.3 and V4.2.0 released February 8, 2007
1981
1982         + Changes to both task.c and queue.c as a result of testing performed on
1983           the SafeRTOS code base.
1984         + Added Cortex-M3 LM3S811 demos for GCC and IAR tools.
1985
1986 Changes between V4.1.2 and V4.1.3 released November 19, 2006
1987
1988         + Added STR750 ARM7 port using the Raisonance RIDE/GCC tools.
1989         + Added -fomit-frame-pointer option to Rowley ARM7 demos as work around
1990           to GCC bug at some optimisation levels.
1991         + Altered the way the heap is defined in the LM3S811 Keil demo to prevent
1992           the RAM usage from counting toward the code size limit calculation.
1993         + CO-ROUTINE BUG FIX:  Removed the call to prvIsQueueEmpty from within
1994           xQueueCRReceive as it exited with interrupts enabled.  Thanks Paul Katz.
1995         + Tasks that block on events with a timeout of portMAX_DELAY are now
1996           blocked indefinitely if configINCLUDE_vTaskSuspend is defined.
1997           Previously portMAX_DELAY was just the longest block time possible. This
1998           is still the case if configINCLUDE_vTaskSuspend is not defined.
1999         + Minor changes to some demo application files.
2000
2001 Changes between V4.1.1 and V4.1.2 released October 21, 2006
2002
2003         + Added 16bit PIC ports and demos.
2004         + Added STR750 port and demo.
2005
2006
2007 Changes between V4.1.0 and V4.1.1 released September 24, 2006
2008
2009         + Added the Luminary Micro Stellaris LM3S811 demo application.
2010
2011 Changes between V4.0.5 and V4.1.0 released August 28, 2006
2012
2013         + Prior to V4.1.0, under certain documented circumstances, it was possible
2014           for xQueueSend() and xQueueReceive() to return without having completed
2015           and without their block time expiring.  The block time effectively
2016           stated a maximum block time, and the return value of the function needed
2017           to be checked to determine the reason for returning.  This is no longer
2018           the case as the functions will only return once the block time has
2019           expired or they are able to complete their operation.  It is therefore no
2020           longer necessary to wrap calls within loops.
2021         + Changed the critical section handling in the IAR AVR port to correct the
2022           behaviour when used with later compiler versions.
2023         + Added the LPC2138 CrossWorks demo into the zip file.  Previously this was
2024           only available as a separate download.
2025         + Modified the AVR demo applications to demonstrate the use of co-routines.
2026
2027 Changes between V4.0.4 and V4.0.5 released August 13, 2006
2028
2029         + Introduced API function xTaskResumeFromISR().  Same functionality as
2030           xTaskResume(), but can be called from within an interrupt service routine.
2031         + Optimised vListInsert() in the case when the wake time is the maximum
2032           tick count value.
2033         + Bug fix:  The 'value' of the event list item is updated when the priority
2034           of a task is changed.  Previously only the priority of the TCB itself was
2035           changed.
2036         + vTaskPrioritySet() and vTaskResume() no longer use the event list item.
2037           This has not been necessary since V4.0.1 when the xMissedYield handling
2038           was added.
2039         + Lowered the PCLK setting on the ARM9 STR9 demo from 96MHz to 48MHz.
2040         + When ending the scheduler - do not try to attempt a context switch when
2041           deleting the current task.
2042         + SAM7X EMAC drivers:  Corrected the Rx frame length mask when obtaining
2043           the length from the rx descriptor.
2044
2045
2046 Changes between V4.0.3 and V4.0.4 released June 22, 2006
2047
2048         + Added a port and demo application for the STR9 ARM9 based processors from
2049           ST.
2050         + Slight optimisation to the vTaskPrioritySet() function.
2051         + Included the latest uIP version (1.0) in the demo/common/ethernet
2052           directory.
2053
2054 Changes between V4.0.2 and V4.0.3 released June 7, 2006
2055
2056         + Added a port and demo application for the Cortex-M3 target using the IAR
2057           development tools.
2058         + The ARM Cortex-m3 Rowley projects have been updated to use V1.6 of the
2059           CrossStudio tools.
2060         + The heap size defined for the lwIP Rowley demo has been reduced so that
2061           the project will link correctly when using the command line GCC tools
2062           also.  The makefile has also been modified to allow debugging.
2063         + The lwIP Rowley demo not includes a 'kernel aware' debug window.
2064         + The uIP Rowley project has been updated to build with V1.6 of CrossWorks.
2065         + The second set of tasks in the blockQ demo were created the wrong way
2066           around (inconsistent to the description in the file).  This has been
2067           corrected.
2068
2069 Changes between V4.0.1 and V4.0.2 released May 28, 2006
2070
2071         + Port and demo application added for the Tern Ethernet Engine controller.
2072         + Port and demo application added for MC9S12 using GCC, thanks to
2073           Jefferson "imajeff" Smith.
2074         + The function vTaskList() now suspends the scheduler rather than disabling
2075           interrupts during the creation of the task list.
2076         + Allow a task to delete itself by passing in its own handle.  Previously
2077           this could only be done by passing in NULL.
2078         + Corrected the value passed to the WDG_PeriodValueConfig() library
2079           function in the STR71x demo.
2080         + The tick hook function is now called only within a tick isr.  Previously
2081           it was also called when the tick function was called during the scheduler
2082           unlocking process.
2083         + The EMAC driver in the SAM7X lwIP demo has been made more robust as per
2084           the thread: https://sourceforge.net/forum/message.php?msg_id=3714405
2085         + In the PC ports:  Add function prvSetTickFrequencyDefault() to set the
2086           DOS tick back to its proper value when the scheduler exits.  Thanks
2087           Raynald!
2088         + In the Borland x86 ports there was a mistake in the portFIRST_CONTEXT
2089           macro where the BP register was not popped from the stack correctly.  The
2090           BP value would never get used so this did not cause a problem, but it has
2091           been corrected all the same.
2092
2093
2094 Changes between V4.0.0 and V4.0.1 released April 7 2006
2095
2096         + Improved the ARM CORTEX M3 ports so they now only have to service
2097           pendSV interrupts.
2098         + Added a Luminary Micro port and demo for use with Rowley CrossWorks.
2099         + Added the xMissedYield handling to tasks.c.
2100
2101 Changes between V3.2.4 and V4.0.0
2102
2103         Major changes:
2104
2105         + Added new RTOS port for Luminary Micros ARM CORTEX M3 microcontrollers.
2106         + Added new co-routine functionality.
2107
2108         Other kernel changes:
2109
2110         + An optional tick hook call is now included in the tick function.
2111         + Introduced the xMiniListItem structure and removed the list pxHead
2112           member in order to reduce RAM usage.
2113         + Added the following definitions to the FreeRTOSConfig.h file included
2114           with every port:
2115                 configUSE_TICK_HOOK
2116                 configUSE_CO_ROUTINES
2117                 configMAX_CO_ROUTINE_PRIORITIES
2118         + The volatile qualification has been changed on the list members to allow
2119           the task.c code to be tidied up a bit.
2120         + The scheduler can now be started even if no tasks have been created!
2121           This is to allow co-routines to run when there are no tasks.
2122         + A task being woken by an event will now preempt the currently running task
2123           even if its priority is only equal to the currently running task.
2124
2125         Port and demo application changes:
2126
2127         + Updated the WinAVR demo to compile with the latest version of WinAVR
2128           with no warnings generated.
2129         + Changed the WinAVR makefile to make chars signed - needed for the
2130           co-routine code if BaseType_t is set to char.
2131         + Added new demo application file crflash.c.  This demonstrates co-routine
2132           functionality including passing data between co-routines.
2133         + Added new demo application file crhook.c.  This demonstrates co-routine
2134           and tick hook functionality including passing data between and ISR and
2135           a co-routine.
2136         + Some NOP's were missing following stmdb{}^ instructions in various ARM7
2137           ports.  These have been added.
2138         + Updated the Open Watcom PC demo project to include the crflash and crhook
2139           demo co-routines as an example of their use.
2140         + Updated the H8S demo to compile with the latest version of GCC.
2141         + Updated the SAM7X EMAC drivers to take into account the hardware errata
2142           regarding lost packets.
2143         + Changed the default MAC address used by some WEB server demos as the
2144           original addresses used was not liked by some routers.
2145         + Modified the SAM7X/IAR startup code slightly to prevent it hanging on
2146           some systems when the code is executed using a j-link debugger.  The
2147           j-link macro file configures the PLL before the code executes so
2148           attempting to configure it again in the startup code was causing a
2149           problem for some user.  Now a check is performed first to see if the
2150           PLL is already set up.
2151         + GCC port now contain all assembler code in a single asm block rather than
2152           individual blocks as before.
2153         + GCC LPC2000 code now explicitly uses R0 rather than letting the assembler
2154           choose the register to use as a temporary register during the context
2155           switch.
2156         + Added portNOP() macro.
2157         + The compare match load value on LPC2000 ports now has 1 added to correct
2158           the value used.
2159         + The minimal stack depth has been increased slightly on the WIZC PIC18
2160           port.
2161
2162 Changes between V3.2.3 and V3.2.4
2163
2164         + Modified the GCC ARM7 port layer to allow use with GCC V4.0.0 and above.
2165           Many thanks to Glen Biagioni for the provided update.
2166         + Added a new Microblaze port and demo application.
2167         + Modified the SAM7X EMAC demo to default to use the MII interface rather
2168           than the RMII interface.
2169         + Modified the startup sequence of the SAM7X demo slightly to allow the
2170           EMAC longer to auto negotiate.
2171
2172 Changes between V3.2.2 and V3.2.3
2173
2174         + Added MII interface support to the SAM7X EMAC peripheral driver.
2175           Previously versions worked with the RMII interface only.
2176         + Added command line GCC support to the SAM7X lwIP demo.  Previously the
2177           project could only be built using the CrossWorks IDE.  Modifications to
2178           this end include the addition of a standard makefile and linker script to
2179           the download, and some adjustments to the stacks allocated to each task.
2180         + Changed the page returned by the lwIP WEB server demo to display the
2181           task status table rather than the TCP/IP statistics.
2182         + Corrected the capitalisation of some header file includes and makefile
2183           dependencies to facilitate use on Linux host computers.
2184         + The various LPC2000 ports had a mistake in the timer setup where the
2185           prescale value was written to T0_PC instead of T0_PR.  This would have
2186           no effect unless a prescale value was actually required.  This has been
2187           corrected.
2188
2189 Changes between V3.2.1 and V3.2.2 - Released 23 September, 2005
2190
2191         + Added an IAR port for the Philips LPC2129
2192         + The Atmel ARM7 IAR demo project files are now saved in the IAR Embedded
2193           Workbench V4.30a format.
2194         + Updated the J-Link macro file included with the SAM7X uIP demo project
2195           to allow the demo board to be reset over the J-Link.
2196
2197 Changes between V3.2.0 and V3.2.1 - Released 1 September, 2005
2198
2199         + Added lwIP demo for AT91SAM7X using Rowley tools.
2200         + Added uIP demo for AT91SAM7X using IAR tools.
2201         + Added function xTaskGetCurrentTaskHandle().
2202         + Renamed events.h to mevents.h to prevent it conflicting with the events.h
2203           generated automatically by the HCS12 processor expert utility.  events.h
2204           is only used by the PC demo application.
2205         + Both PIC18 ports now initialise the TBLPTRU to 0 as this is the value
2206           expected by the compiler, and the compilers do not write to this
2207           register.
2208         + The HCS12 banked model demo now creates the 'suicide' tasks immediately
2209           prior to starting the scheduler.  These tasks should be the last tasks to
2210           get started in order for the test to function correctly.
2211
2212 Changes between V3.1.1 and V3.2.0 - Released 29 June, 2005
2213
2214         V3.2.0 introduces two new MSP430 ports and corrects a minor kernel
2215         issues.  Thanks to Ares.qi for his input.
2216
2217         + Added two MSP430 ports that use the Rowley CrossWorks development tools.
2218           One port just mirrors the existing GCC port.  The other port was provided
2219           by Milos Prokic.  Thanks!
2220         + V3.2.0 corrects the behavior when vTaskPrioritySet() or vTaskResume()
2221           are called while the scheduler is locked (by a call to
2222           vTaskSuspendAll()).  When this is done the subject task now starts to
2223           execute immediately when the scheduler is unlocked if it has the highest
2224           priority that is ready to run.  Previously there was a possibility that
2225           the task would not run until the next RTOS tick or call to portYIELD().
2226         + Another similar small correction ensures that in the case where more than
2227           one task is blocked on a semaphore or queue, the task with the highest
2228           priority is guaranteed to be unblocked first.
2229         + Added a couple of more test tasks to the PC demo which cover the points
2230           above.
2231
2232 Changes between V3.1.0 and V3.1.1 - Released 21st June, 2005
2233
2234         This release updates the HCS12 port.  The common kernel code
2235         remains unchanged.
2236
2237         + Updated the HCS12 port to support banking and introduced a demo
2238           application for the MC9S12DP256.  The new demo application is
2239           located in the Demo/HCS12_CodeWarrior_banked directory.
2240         + The name of the directory containing the MC9S12F32 demo application
2241           has been changed to Demo/HCS12_CodeWarrior_small (as in 'small'
2242           memory model).
2243         + MC9S12F32 demo updated slightly to use the PLL.  The CPU speed for the
2244           demo application is now 24MHz.  Previously it was 8MHz.
2245         + The demo application file Demo/Common/Minimal/death.c has a slight
2246           alteration to prevent it using floating point variables.
2247
2248
2249 Changes between V3.0.0 and V3.1.0 - Released 11th June, 2005
2250
2251         + Added new ports for ST Microsystems STR71x, and Freescale HCS12
2252           microcontrollers.  Currently the HCS12 port is limited to the small
2253           memory model.  Large memory models will be supported in the next
2254           release.
2255         + PIC18 wizC port updated.  Thanks to Marcel van Lieshout for his
2256           continuing contribution.
2257         + The accuracy of the AVR port timer setup has been improved.  Thanks to
2258           Thomas Krutmann for this contribution.
2259         + Added a new conditional compilation macro configIDLE_SHOULD_YIELD.
2260           See the WEB documentation for details.
2261         + Updated the CrossWorks uIP demo to build with V1.4 of CrossWorks.
2262         + Slight modification to the SAM7 release build configuration to correct
2263           an include path definition.
2264         + Updated the MPLAB PIC18 documentation to provide extra details on linker
2265           file configuration.
2266
2267 Changes between V3.0.0 and V2.6.1 - Released 23rd April, 2005
2268
2269         V3.0.0 includes many enhancements, so this history list is broken into
2270         subsections as follows:
2271
2272                 API changes
2273                 New ports
2274                 Directory name changes
2275                 Kernel and miscellaneous changes changes
2276
2277         - API changes
2278
2279                 + Each port now defines BaseType_t as the data type that is most
2280                   efficient for that architecture.  The type BaseType_t is used
2281                   extensively in API calls necessitating the following changes to the
2282                   FreeRTOS API function prototypes.
2283
2284                   See the "New for V3.0.0" section of the FreeRTOS online
2285                   documentation for full details of API changes.
2286
2287         - New ports
2288
2289                 + The AT91FR40008 ARM7 port contributed by John Feller is now included
2290                   in the download (thanks John!).
2291                 + The PIC18 port for the wizC/fedC compiler contributed by Marcel van
2292                   Lieshout is now included in the download (thanks Marcel!).
2293                 + The IAR port for the AVR microcontroller has been upgraded to V3.0.0
2294                   and is now a supported port.
2295
2296         - Directory name changes
2297
2298                 For consistency, and to allow integration of the new ports, the
2299                 following directory names have been changed.
2300
2301                 + The source/portable/GCC/ARM7 directory has been renamed
2302                   source/portable/GCC/ARM7_LPC2000 so it is compatible with the naming
2303                   of other GCC ARM7 ports.
2304                 + The Demo/PIC directory has been renamed Demo/PIC18_MPLAB to
2305                   accommodate the wizC/fedC PIC port.
2306                 + The demo applications for the two AVR ports no longer share the same
2307                   directory.  The WinAVR demo is in the Demo/AVR_ATMega323_WinAVR
2308                   directory and the IAR port in the Demo/AVR_ATMega323_IAR directory.
2309
2310
2311         - Kernel and miscellaneous changes changes
2312
2313                   See the "New for V3.0.0" section of the FreeRTOS online
2314                   documentation for more information.
2315
2316                 + Previously 'portmacro.h' contained some user editable definitions
2317                   relating to the user application, and some fixed definitions relating
2318                   specifically to the port being used.  The application specific
2319                   definitions have been removed from 'portmacro.h' and placed inside a
2320                   new header file called 'FreeRTOSConfig.h'.  'portmacro.h' should now
2321                   never be modified by the user.  A 'FreeRTOSConfig.h' is now included
2322                   in each of FreeRTOS/Demo subdirectories - as it's settings relate to
2323                   the demo application rather than being specific to the port.
2324                 + Introduced configUSE_IDLE_HOOK in idle task.
2325                 + The idle task will yield when another idle priority task is ready to
2326                   run. Previously the idle task would run to the end of its time slice
2327                   regardless.
2328                 + The idle task is now created when the scheduler is started.  This
2329                   requires less stack than the previous scheme where it was created upon
2330                   creation of the first application task.
2331                 + The function usPortCheckFreeStackSpace() has been renamed
2332                   usTaskCheckFreeStackSpace() and moved from the portable layer to
2333                   tasks.c.
2334                 + Corrected spelling of portMINMAL_STACK_SIZE to portMINIMAL_STACK_SIZE.
2335                 + The portheap.c file included with the AVR port has been deleted.  The
2336                   AVR demo now uses the standard heap1 sample memory allocator.
2337                 + The GCC AVR port is now build using the standard make utility.  The
2338                   batch files used previously have been deleted.  This means a recent
2339                   version of WinAVR is required in order to create a binary suitable for
2340                   source level debugging.
2341                 + vTaskStartScheduler() no longer takes the configUSE_PREEMPTION
2342                   constant as a parameter.  Instead the constant is used directly within
2343                   tasks.c  and no parameter is required.
2344                 + The header file 'FreeRTOS.h' has been created and is used to include
2345                   'projdefs.h', 'FreeRTOSConfig.h' and 'portable.h' in the necessary
2346                   order.  FreeRTOS.h can now be included in place of these other
2347                   headers.
2348                 + The header file 'errors.h' has been deleted.  The definitions it
2349                   contained are now located within 'projdefs.h'.
2350                 + pvPortMalloc() now takes a size_t parameter as per the ANSI malloc().
2351                   Previously an unsigned short was used.
2352                 + When resuming the scheduler a yield is performed if either a tick has
2353                   been missed, or a task is moved from the pending ready list into a
2354                   ready list.  Previously a yield was not performed on this second
2355                   condition.
2356                 + In heap1.c an overflow check has been added to ensure the next free
2357                   byte variable does not wrap around.
2358                 + Introduced the portTASK_FUNCTION() and portTASK_FUNCTION_PROTO()
2359                   macros.
2360                 + The MPLAB PIC port now saved the TABLAT register in interrupt service
2361                   routines.
2362
2363 Changes between V2.6.0 and V2.6.1 - Released Feb 22, 2005
2364
2365         This version adds support for the H8 processor.
2366
2367         Other changes:
2368
2369         + tskMAX_TASK_NAME_LEN removed from the task.h header and added to each
2370           individual portmacro.h file as portMAX_TASK_NAME_LEN.  This allows RAM
2371           limited ports to allocate fewer characters to the task name.
2372         + AVR port - Replaced the inb() and outb() functions with direct memory
2373           access.  This allows the port to be built with the 20050414 build of
2374           WinAVR.
2375         + GCC LPC2106 port - removed the 'static' from the definition of
2376           vNonPreemptiveTick() to allow the demo to link when using the cooperative
2377           scheduler.
2378         + GCC LPC2106 port - Corrected the optimisation options in the batch files
2379           ROM_THUMB.bat, RAM_THUMB.bat, ROM_ARM.bat and RAM_ARM.bat.  The lower case
2380           -o is replaced by an uppercase -O.
2381         + Tasks.c - The strcpy call has been removed when copying across the task
2382           name into the TCB.
2383         + Updated the trace visualisation to always be 4 byte aligned so it can be
2384           used on ARM architectures.
2385         + There are now two tracecon executables (that convert the trace file binary
2386           into an ASCII file).  One for big endian targets and one for little endian
2387           targets.
2388         + Added ucTasksDeleted variable to prevent vTaskSuspendAll() being called
2389           too often in the idle task.
2390         + SAM7 USB driver - Replaced the duplicated RX_DATA_BK0 in the interrupt
2391           mask with the RX_DATA_BK1.
2392
2393
2394 Changes between V2.5.5 and V2.6.0 - Released January 16, 2005
2395
2396         + Added the API function vTaskDelayUntil().  The demo app file
2397           Demo/Common/Minimal/flash.c has been updated to demonstrate its use.
2398         + Added INCLUDE_vTaskDelay conditional compilation.
2399         + Changed the name of the Demo/ARM7_AtmelSAM7S64_IAR directory to
2400           Demo/ARM7_AT91SAM7S64_IAR for consistency.
2401         + Modified the AT91SAM7S USB driver to allow descriptors that have
2402           a length that is an exact multiple of the FIFO to be transmitted.
2403
2404 Changes between V2.5.4 and V2.5.5 - Released January 3, 2005
2405
2406         This version adds support for the Atmel SAM7 ARM7 microcontrollers
2407         along with the IAR development tools.
2408
2409         Other changes:
2410
2411         + Renamed the Demo/ARM7 directory to Demo/ARM7_LPC2106_GCC.
2412         + Renamed the Demo/ARM7_Keil directory to Demo/ARM7_LPC2129_Keil.
2413         + Modified the Philips ARM7 serial interrupt service routines to only
2414           process one interrupt per call.  This seems to enable the ISR to
2415           operate more quickly.
2416         + Removed the 'far' keyword from the Open Watcom portable layer source
2417           files.  This allows their use with V1.3 of Open Watcom.
2418         + Minor modifications to the SDCC build files to allow their use under
2419           Linux.  Thanks to Frieder Ferlemann for this contribution.
2420         + Small change to sTaskCreate() to allow a context switch even when
2421           pxCreatedTask is NULL.  Thanks to Kamil for this contribution.
2422         + inline keyword removed from vTaskSwitchContext() and VTaskIncrementTick()
2423           definitions.
2424
2425 Changes between V2.5.3 and V2.5.4 - Released Dec 1, 2004
2426
2427         This is an important maintenance release.
2428
2429         The function cTaskResumeAll() has been modified so it can be used safely
2430         prior to the kernel being initialised.  This was an issue as
2431         cTaskResumeAll() is called from pvPortMalloc().  Thanks to Daniel Braun
2432         for highlighting this issue.
2433
2434 Changes between V2.5.2 and V2.5.3 - Released Nov 2, 2004
2435
2436         The critical section handling functions have been changed for the GCC ARM7
2437         port.   Some optimisation levels use the stack differently to others.  This
2438         means the interrupt flags cannot always be stored on the stack and are
2439         instead now stored in a variable, which is then saved as part of the
2440         tasks context.  This allows the GCC ARM7 port to be used at all
2441         optimisation levels - including -Os.
2442
2443         Other minor changes:
2444
2445         + MSP430 definition of usCriticalNesting now uses the volatile qualifier.
2446           This is probably not required but added just in case.
2447
2448 Changes between V2.5.1 and V2.5.2 - Released Oct 26, 2004
2449
2450         + Added the Keil ARM7 port.
2451         + Slight modification to comtest.c to make the delay periods more random.
2452           This creates a better test condition.
2453
2454 Changes between V2.5.0 and V2.5.1 - Released Oct 9, 2004
2455
2456         + Added the MSP430 port.
2457         + Extra comments added to the GCC ARM7 port.c and portISR.c files.
2458         + The memory pool allocated within heap_1.c has been placed within a
2459           structure to ensure correct memory alignment on 32bit systems.
2460         + Within the GCC ARM7 serial drivers an extra check is made to ensure
2461           the post to the queue was successful if then attempting immediately
2462           retrieve the posted character.
2463         + Changed the name of the constant portTICKS_PER_MS to portTICK_PERIOD_MS
2464           as the old name was misleading.
2465
2466
2467 Changes between V2.4.2 and V2.5.0 - Released Aug 12, 2004
2468
2469         The RTOS source code download now includes three separate memory allocation
2470         schemes - so you can choose the most appropriate for your application.
2471         These are found in the Source/Portable/MemMang directory.  The demo
2472         application projects have also been updated to demonstrate the new schemes.
2473         See the "Memory Management" page of the API documentation for more details.
2474
2475         + Added heap_1.c, heap_2.c and heap_3.c in the Source/Portable/MemMang
2476           directory.
2477         + Replaced the portheap.c files for each demo application with one of the
2478           new memory allocation files.
2479         + Updated the portmacro.h file for each demo application to include the
2480           constants required for the new memory allocators: portTOTAL_HEAP_SIZE and
2481           portBYTE_ALIGNMENT.
2482         + Added a new test to the ARM7 demo application that tests the operation
2483           of the heap_2 memory allocator.
2484
2485
2486 Changes between V2.4.1 and V2.4.2 - Released July 14, 2004
2487
2488         + The ARM7 port now supports THUMB mode.
2489         + Modification to the ARM7 demo application serial port driver.
2490
2491 Changes between V2.4.0 and V2.4.1 - Released July 2, 2004
2492
2493         + Rationalised the ARM7 port version of portEXIT_CRITICAL() -
2494           improvements provided by Bill Knight.
2495         + Made demo serial driver more complete and robust.
2496
2497
2498 Changes between V2.4.0 and V2.3.1 - Released June 30, 2004
2499
2500         + Added the first ARM7 port - thanks to Bill Knight for the assistance
2501           provided.
2502         + Added extra files to the Demo/Common/Minimal directory.  These are
2503           equivalent to their Demo/Common/Full counterparts but with the
2504           calls to the functions defined in print.c removed.
2505         + Added TABLAT to the list of registers saved as part of a PIC18 context.
2506
2507 Changes between V2.3.0 and V2.3.1 - Released June 25, 2004
2508
2509         + Changed the way the vector table is defined to be more portable.
2510         + Corrected the definitions of SPH and SPL in portmacro.s90.
2511           The previous definitions prevented V2.3.0 operating if the iom323.h
2512           header file was included in portmacro.s90.
2513
2514 Changes between V2.2.0 and V2.3.0 - Released June 19, 2004
2515
2516         + Added an AVR port that uses the IAR compiler.
2517         + Explicit use of 'signed' qualifier on plain char types.
2518         + Modified the Open Watcom project files to use 'signed' as the
2519           default char type.
2520         + Changed odd calculation of initial pxTopOfStack value when
2521           portSTACK_GROWTH < 0.
2522         + Added inline qualifier to context switch functions within task.c.
2523           Ports that do not support the (non ANSI) inline keyword have the
2524           inline #define'd away in  their respective portmacro.h files.
2525
2526 Changes between V2.1.1 and V2.2.0 - Released May 18, 2004
2527
2528         + Added Cygnal 8051 port.
2529         + PCLATU and PCLATH are now saved as part of the PIC18 context.  This
2530           allows function pointers to be used within tasks.  Thanks to Javier
2531           Espeche for the enhancement.
2532         + Minor changes to demo application files to reduce stack usage.
2533         + Minor changes to prevent compiler warnings when compiling the new port.
2534
2535 Changes between V2.1.0 and V2.1.1 - Released March 12, 2004
2536
2537         + Bug fix - pxCurrentTCB is now initialised before the call to
2538           prvInitialiseTaskLists().  Previously pxCurrentTCB could be accessed
2539           while null during the initialisation sequence.  Thanks to Giuseppe
2540           Franco for the correction.
2541
2542 Changes between V2.0.0 and V2.1.0 - Released Feb 29, 2004
2543
2544         V2.1.0 has significant reworks that greatly reduce the amount of time
2545         the kernel has interrupts disabled.  The first section of modifications
2546         listed here must be taken into account by users.  The second section
2547         are related to the kernel implementation and as such are transparent.
2548
2549         Section1 :
2550
2551         + The typedef TickType_t has been introduced.  All delay times should
2552           now use a variable of type TickType_t in place of the unsigned long's
2553           used previously.  API function prototypes have been updated
2554           appropriately.
2555         + The configuration macro USE_16_BIT_TICKS has been introduced.  If set
2556           to 1 TickType_t is defined as an unsigned short.  If set to 0
2557           TickType_t is defined as an unsigned long.  See the configuration
2558           section of the API documentation for more details.
2559         + The configuration macro INCLUDE_vTaskSuspendAll is now obsolete.
2560         + vTaskResumeAll() has been renamed cTaskResumeAll() as it now returns a
2561           value (see the API documentation).
2562         + ulTaskGetTickCount() has been renamed xTaskGetTickCount() as the type
2563           it returns now depends on the USE_16_BIT_TICKS definition.
2564         + cQueueReceive() must now >never< be used from within an ISR.  Use the new
2565           cQueueReceiveFromISR() function instead.
2566
2567         Section 2:
2568
2569         + A mechanism has been introduced that allows a queue to be accessed by
2570           a task and ISR simultaneously.
2571         + A "pending ready" queue has been introduced that enables interrupts to
2572           be processed when the scheduler is suspended.
2573         + The list implementation has been improved to provide faster item
2574           removal.
2575         + The scheduler now makes use of the scheduler suspend mechanism in places
2576           where previously interrupts were disabled.
2577
2578 Changes between V1.2.6 and V2.0.0 - Released Jan 31, 2004
2579
2580         + Introduced new API functions:
2581                 vTaskPriorityGet ()
2582                 vTaskPrioritySet ()
2583                 vTaskSuspend ()
2584                 vTaskResume ()
2585                 vTaskSuspendAll ()
2586                 vTaskResumeAll ()
2587         + Added conditional compilation options that allow the components of the
2588           kernel that are unused by an application to be excluded from the build.
2589           See the Configuration section on the WEB site for more information (on
2590           the API pages).  The macros have been added to each portmacro.h file (
2591           sometimes called prtmacro.h).
2592         + Rearranged tasks.c.
2593         + Added demo application file dynamic.c.
2594         + Updated the PC demo application to make use of dynamic.c.
2595         + Updated the documentation contained in the kernel header files.
2596         + Creating a task now causes a context switch if the task being created
2597           has a higher priority than the calling task - assuming the kernel is
2598           running.
2599         + vTaskDelete() now only causes a context switch if the calling task is
2600           the task being deleted.
2601
2602 Changes between V1.2.5 and V1.2.6 - Released December 31, 2003
2603
2604         Barring the change to the interrupt vector (PIC port) these are minor
2605         enhancements.
2606
2607         + The interrupt vector used for the PIC master ISR has been changed from
2608           0x18 to 0x08 - where it should have always been.  The incorrect address
2609           still works but probably executes a number of NOP's before getting to the
2610           ISR.
2611         + Changed the baud rate used by the AVR demo application to 38400.  This
2612           has an error percentage of less than one percent with an 8MHz clock.
2613         + Raised the priority of the Rx task in demo\full\comtest.c.  This only
2614           affects the Flashlite and PC ports.  This was done to prevent the Rx
2615           buffer becoming full.
2616         + Reverted the Flashlite COM port driver back so it does not use the DMA.
2617           The DMA appears to miss characters under stress.  The Borland Flashlite
2618           port was also calculating a register value incorrectly resulting in the
2619           wrong DMA source address being used.  The same code worked fine when
2620           compiling with Open Watcom.  Other minor enhancements were made to the
2621           interrupt handling.
2622         + Modified the PIC serial Rx ISR to check for and clear overrun errors.
2623           Overrun errors seem to prevent any further characters being received.
2624         + The PIC demo projects now have some optimisation switched on.
2625
2626
2627 Changes between V1.2.4 and V1.2.5
2628
2629         Small fix made to the PIC specific port.c file described below.
2630
2631         + Introduced portGLOBAL_INTERRUPT_FLAG definition to test the global
2632           interrupt flag setting.  Using the two bits defined within
2633           portINITAL_INTERRUPT_STATE was causing the w register to get clobbered
2634           before the test was performed.
2635
2636 Changes between V1.2.3 and V1.2.4
2637
2638         V1.2.4 contains a release version of the PIC18 port.
2639         An optional exception has been included with the GPL.  See the licensing
2640         section of www.FreeRTOS.org for details.
2641
2642         + The function xPortInitMinimal() has been renamed to
2643           xSerialPortInitMinimal() and the function xPortInit() has been renamed
2644           to xSerialPortInit().
2645         + The function sSerialPutChar() has been renamed cSerialPutChar() and
2646           the function return type chaned to portCHAR.
2647         + The integer and flop tasks now include calls to tskYIELD(), allowing
2648           them to be used with the cooperative scheduler.
2649         + All the demo applications now use the integer and comtest tasks when the
2650           cooperative scheduler is being used.  Previously they were only used with
2651           the preemptive scheduler.
2652         + Minor changes made to operation of minimal versions of comtest.c and
2653           integer.c.
2654         + The ATMega port definition of portCPU_CLOSK_HZ definition changed to
2655           8MHz base 10, previously it base 16.
2656
2657
2658
2659 Changes between V1.2.2a and V1.2.3
2660
2661         The only change of any significance is to the license, which has changed
2662         from the Open Software License to the GNU GPL.
2663
2664         The zip file also contains a pre-release version of the PIC18 port.  This
2665         has not yet completed testing and as such does not constitute part of the
2666         V1.2.3 release.  It is still however covered by the GNU GPL.
2667
2668         There are minor source code changes to accommodate the PIC C compiler.
2669         These mainly involve more explicit casting.
2670
2671         + sTaskCreate() has been modified slightly to make use of the
2672           portSTACK_GROWTH macro.  This is required for the PIC port where the
2673           stack grows in the opposite direction to the other existing ports.
2674         + prvCheckTasksWaitingTermination() has been modified slightly to bring
2675           the decrementing of usCurrentNumberOfTasks within the critical section,
2676           where it should have been since the creation of an eight bit port.
2677
2678 Changes between V1.2.2 and V1.2.2a
2679
2680         The makefile and buildcoff.bat files included with the AVR demo application
2681         have been modified for use with the September 2003 build of WinAVR.  No
2682         source files have changed.
2683
2684 Changes between V1.2.1 and V1.2.2
2685
2686         There are only minor changes here to allow the PC and Flashlite 186 ports
2687         to use the Borland V4.52 compiler, as supplied with the Flashlite 186
2688         development kit.
2689
2690         + Introduced a BCC directory under source\portable.  This contains all the
2691           files specific to the Borland compiler port.
2692         + Corrected the macro naming of portMS_PER_TICK to portTICKS_PER_MS.
2693         + Modified comtest.c to increase the rate at which the string is
2694           transmitted and received on the serial port.  The Flashlite 186 demo
2695           app baud rate has also been increased.
2696         + The values of the constants used in both integer.c files have been
2697           increased to force the Borland compiler to use 32 bit values.  The
2698           Borland optimiser placed the previous values in 16 bit registers, and in
2699           So doing invalidated the test.
2700
2701 Changes between V1.2.0 and V1.2.1
2702
2703         This version includes some minor changes to the list implementation aimed
2704         at improving the context switch time - with is now approximately 10% faster.
2705         Changes include the removal of some null pointer assignment checks.  These
2706         were redundant where the scheduler uses the list functions, but means any
2707         user application choosing to use the same list functions must now check
2708         that no NULL pointers are passed as a parameter.
2709
2710         The Flashlite 186 serial port driver has also been modified to use a DMA
2711         channel for transmissions.  The serial driver is fully functional but still
2712         under development.  Flashlite users may prefer to use V1.2.0 for now.
2713
2714         Details:
2715
2716         + Changed the baud rate for the ATMega323 serial test from 19200 to 57600.
2717         + Use vSerialPutString() instead of single character puts in
2718           Demo\Full\Comtest.c.  This allows the use of the flashlite DMA serial
2719           driver.  Also the check variable only stops incrementing after two
2720           consecutive failures.
2721         + semtest.c creates four tasks, two of which operate at the idle priority.
2722           The tasks that operate at the idle priority now use a lower expected
2723           count than those running at a higher priority.  This prevents the low
2724           priority tasks from signalling an error because they have not been
2725           scheduled enough time for each of them to count the shared variable to
2726           the higher original value.
2727         + The flashlite 186 serial driver now uses a DMA channel for transmissions.
2728         + Removed the volatile modifier from the list function parameters.  This was
2729           only ever included to prevent compiler warnings.  Now warnings are
2730           removed by casting parameters where the calls are made.
2731         + prvListGetOwnerOfNextEntry() and prvListGetOwnerOfHeadEntry() have been
2732           removed from list.c and added as macros in list.h.
2733         + usNumberOfItems has been added to the list structure.  This removes the
2734           need for a pointer comparison when checking if a list is empty, and so
2735           is slightly faster.
2736         + Removed the NULL check in vListRemove().  This makes the call faster but
2737           necessitates any application code utilising the list implementation to
2738           ensure NULL pointers are not passed.
2739         + Renamed portTICKS_PER_MS definition to portMS_PER_TICK (milli seconds
2740           per tick).  This is what it always should have been.
2741
2742 Changes between V1.01 and V1.2.0
2743
2744         The majority of these changes were made to accommodate the 8bit AVR port.
2745         The scheduler workings have not changed, but some of the data types used
2746         have been made more friendly to an eight bit environment.
2747
2748         Details:
2749
2750         + Changed the version numbering format.
2751         + Added AVR port.
2752         + Split the directory demo\common into demo\common\minimal and
2753           demo\common\full.  The files in the full directory are for systems with
2754           a display (currently PC and Flashlite 186 demo's).  The files in the
2755           minimal directory are for systems with limited RAM and no display
2756           (currently MegaAVR).
2757         + Minor changes to demo application function prototypes to make more use
2758           of 8bit data types.
2759         + Within the scheduler itself the following functions have slightly
2760           modified declarations to make use of 8bit data types where possible:
2761                 xQueueCreate(),
2762                 sQueueReceive(),
2763                 sQUeueReceive(),
2764                 usQueueMessageWaiting(),
2765                 sQueueSendFromISR(),
2766                 sSemaphoreTake(),
2767                 sSemaphoreGive(),
2768                 sSemaphoreGiveFromISR(),
2769                 sTaskCreate(),
2770                 sTaskMoveFromEventList().
2771
2772           Where the return type has changed the function name has also changed in
2773           accordance with the naming convention.  For example
2774           usQueueMessageWaiting() has become ucQueueMessageWaiting().
2775         + The definition tskMAX_PRIORITIES has been moved from task.h to
2776           portmacro.h and renamed portMAX_PRIORITIES.  This allows different
2777           ports to allocate a different maximum number of priorities.
2778         + By default the trace facility is off, previously USE_TRACE_FACILITY
2779           was defined.
2780         + comtest.c now uses a psuedo random delay between sends.  This allows for
2781           better testing as the interrupts do not arrive at regular intervals.
2782         + Minor change to the Flashlite serial port driver.  The driver is written
2783           to demonstrate the scheduler and is not written to be efficient.
2784
2785
2786
2787 Changes between V1.00 and V1.01
2788
2789         These changes improve the ports.  The scheduler itself has not changed.
2790
2791         Improved context switch mechanism used when performing a context
2792         switch from an ISR (both the tick ISR and the serial comms ISR's within
2793         the demo application).  The new mechanism is faster and uses less stack.
2794
2795         The assembler file portasm.asm has been replaced by a header file
2796         portasm.h.  This includes a few assembler macro definitions.
2797
2798         All saving and restoring of registers onto/off of the stack is now handled
2799         by the compiler.  This means the initial stack setup for a task has to
2800         mimic the stack used by the compiler, which is different for debug and
2801         release builds.
2802
2803         Slightly changed the operation of the demo application, details below.
2804
2805         Details:
2806
2807         + portSWITCH_CONTEXT() replaced by vPortFirstContext().
2808         + pxPortInitialiseStack() modified to replicate the stack used by the
2809           compiler.
2810         + portasm.asm file removed.
2811         + portasm.h introduced.  This contains macro definitions for
2812           portSWITCH_CONTEXT() and portFIRST_CONTEXT().
2813         + Context switch from ISR now uses the compiler generated interrupt
2814           mechanism.  This is done simply by calling portSWITCH_CONTEXT and leaving
2815           the save/restore to compiler generated code.
2816         + Calls to taskYIELD() during ISR's have been replaced by calling the
2817           simpler and faster portSWITCH_CONTEXT().
2818         + The Flashlite 186 port now uses 186 instruction set (used to use 80x86
2819           instructions only).
2820         + The blocking queue tasks within the demo application did not operate
2821           quite as described.  This has been corrected.
2822         + The priority of the comtest Rx task within the demo application has been
2823           lowered.  Received characters are now processed (read from the queue) at
2824           the idle priority, allowing low priority tasks to run evenly at times of
2825           a high communications overhead.
2826         + Prevent the call to kbhit() in main.c for debug builds as the debugger
2827           seems to have problems stepping over the call.  This if for the PC port
2828           only.
2829
2830
2831