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