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