Commit Graph

498 Commits (a548ef34f83a89c56429c36801f280efcb016bc6)

Author SHA1 Message Date
Richard Barry 0a9fddb5d4 Add proper 8 byte alignment support. 16 years ago
Richard Barry 7818ed5a97 Prepare for V5.3.1 release. 16 years ago
Richard Barry a5060cd1e2 New port layer files. 16 years ago
Richard Barry 8f26ec2474 Replaced asm statements with __asm for building with CrossWorks V2. 16 years ago
Richard Barry 4bf5521db6 Prepare for V5.3.0 release. 16 years ago
Richard Barry f24533b765 Added xTaskGetApplicationTaskTag() function. 16 years ago
Richard Barry 1ead7d162a Add xTaskGetApplicationTaskTag() prototype. 16 years ago
Richard Barry cae143cbbf Add portENTER_CRITICAL() macro. Previously it was an inline asm function but it needs to be a macro for portable.h to compile. 16 years ago
Richard Barry b57e4f4c36 Change structs to unions to save a few bytes. Normally unions are against the coding standard but in this case they are permitted as their use is purely to ensure byte alignment. 16 years ago
Richard Barry a9a108a751 Correct typeo. 16 years ago
Richard Barry 53efcbb6c9 Updated description of the files in this directory. 16 years ago
Richard Barry cd7fb3fda1 Just remove compiler warnings. 16 years ago
Richard Barry 28aa468bd0 Formatting only. 16 years ago
Richard Barry 245bb81bc0 Moved the position of the traceTASK_DELETED() macro. 16 years ago
Richard Barry c66301ac9e Update the run time stats display function. 16 years ago
Richard Barry 8243645ac8 Corrected version number. 16 years ago
Richard Barry 8b4ef53b69 Added run time stats functions. 16 years ago
Richard Barry 886be58c58 Formatting only. 16 years ago
Richard Barry 4c232cdc4e Formatting only. 16 years ago
Richard Barry b76158a10d Added vTaskGetRunTimeStats() prototype. 16 years ago
Richard Barry 6ed4d1d3da Add defaults for the new run time counter stats configuration constants. 16 years ago
Richard Barry a7f134911a Just a formatting change. 16 years ago
Richard Barry f1e278e193 Added comment to assist debugging. 16 years ago
Richard Barry 794edd476e Put in "catch all" portmacro.h include to allow the path to the correct portmacro.h file to be included as a compiler option. 16 years ago
Richard Barry 2f40ad7393 Ready for V5.2.0 release. 16 years ago
Richard Barry 42b60ed69c Increment the uxTaskNumber variable when a task is deleted in addition to when a task is created. This is to assist kernel aware debuggers detecting when the task list needs refreshing. 16 years ago
Richard Barry 143c58e032 Minor changes to new queue functions plus add comments. 16 years ago
Richard Barry 55c96044b0 Some optimisations added. 16 years ago
Richard Barry aaeb4790de Optimisations - being checked in for backup - not yet complete. 16 years ago
Richard Barry 52ba0e651e Update to V5.1.2. 16 years ago
Richard Barry e31fe0ef80 Remove unnecessary semicolon. 16 years ago
Richard Barry ea209490e1 Continue 78K0R development. 16 years ago
Richard Barry 4a3e471fda Continue 78K0R development. 16 years ago
Richard Barry 035abe8707 Add code for near memory model. 16 years ago
Richard Barry e4319d7f88 Continue 78K0R development. 16 years ago
Richard Barry c1a2e601a6 Tidy up and comment. 16 years ago
Richard Barry bfd67da1e7 Continue 78K0R development. 16 years ago
Richard Barry 46425b4099 Continue 78K0R development. 16 years ago
Richard Barry c8b25f8bf2 Tidy up new port file. 16 years ago
Richard Barry 18797cb689 Change name of asm file to be consistent with other ports. 16 years ago
Richard Barry 97de395ad0 Add 78KR definition. 16 years ago
Richard Barry 7551ede806 New 78K0R first pass files added. 16 years ago
Richard Barry 667493bed2 Continued V850 development. 16 years ago
Richard Barry 4b4aecf217 Continued V850 development. 16 years ago
Richard Barry 1e29358197 Combine different part variants into a single port.c file. 16 years ago
Richard Barry 08464adb74 Combine different part variants into a single port.c file. 16 years ago
Richard Barry 99d615a7dd Add device specific versions of portasm.s85. 16 years ago
Richard Barry adc5c7142b Rename to make file name more generic. 16 years ago
Richard Barry ccb960ca8b Rename to make file name more generic. 16 years ago
Richard Barry e2e988191c Rename to make file name more generic. 16 years ago
Richard Barry 5acfec1f7c Rename to make file name more generic. 16 years ago
Richard Barry 34333e3d27 Continued V850 development. 16 years ago
Richard Barry 77fbf587ee Continued V850 development. 16 years ago
Richard Barry f622836e18 Add new port files for V850ES JJ3. 16 years ago
Richard Barry b93186e975 Rename device specific file. 16 years ago
Richard Barry 761540892b Tidy up and comment. 16 years ago
Richard Barry 0adf3d96c4 Add in the portYIELD_FROM_ISR() function. 16 years ago
Richard Barry cadd182942 More work in progress on NEC port and demo. 16 years ago
Richard Barry d811a00690 Rename file. 16 years ago
Richard Barry 8fa8b7c7a9 Correct some capitalisation issues for Linux users. 16 years ago
Richard Barry 5ebd915502 Formatting only. 16 years ago
Richard Barry 19e2d266b6 Renamed file. 16 years ago
Richard Barry d92156e85a Add in V850 include file. 16 years ago
Richard Barry f2114d04f2 New port - still a work in progress. 16 years ago
Richard Barry c1cb5dac54 Small modification to where header files are included from to make more portable. 16 years ago
Richard Barry c87cff51c2 Added the 16FX definition. 16 years ago
Richard Barry adad8eab83 Work in progress on new port - correct the configuration of the timer interrupt. 16 years ago
Richard Barry a859c59080 Minor updates only. 16 years ago
Richard Barry 2f795214d7 Continued work in progress on new demo. 16 years ago
Richard Barry c5f0933f49 Add SAM9XE definition. 16 years ago
Richard Barry e540f0abf4 New demo being added - work in progress. 16 years ago
Richard Barry 8471147b5a Remove erroneous comments. 16 years ago
Richard Barry d28eda8634 Ready for V5.1.1 release. 16 years ago
Richard Barry 03acab14b2 Fix
https://sourceforge.net/tracker/index.php?func=detail&aid=2194064&group_id=111543&atid=659633
17 years ago
Richard Barry b6e93f2e42 Update comments only. 17 years ago
Richard Barry 44b7c8b6ac Add MSP430 IAR definition. 17 years ago
Richard Barry 48a34c5fd1 Add IAR MSP430 port layer. 17 years ago
Richard Barry 758b1c7c59 Update ready for V5.1.0 release. 17 years ago
Richard Barry a91c6302e7 Remove the two separate ports, instead use two demo apps that use a conditional compilation to select the method of interrupt management to use. 17 years ago
Richard Barry cf638edfaf Setup to work with both ARM and THUMB modes. 17 years ago
Richard Barry 6ae55f3d6d Remove files that use the now defunct Keil compiler. 17 years ago
Richard Barry ce7301b3e3 Change from using the old Keil compiler definition to the new RVDS compiler definition. 17 years ago
Richard Barry 36815b949f First ARM7 port that uses the RVDS compiler. 17 years ago
Richard Barry de519dd34e Update to allow low power mode to be used with the RTOS. 17 years ago
Richard Barry 518d5e538a Update to allow low power mode to be used with the RTOS. 17 years ago
Richard Barry 3c4c58dc6d Update to allow low power mode to be used with the RTOS. 17 years ago
Richard Barry 5bccc20356 Update to allow low power mode to be used with the RTOS. 17 years ago
Richard Barry f9e47722ce Correct portSTACK_GROWTH value. 17 years ago
Richard Barry de5a4b3fb5 Added include path for V2 ColdFire/CodeWarrior. 17 years ago
Richard Barry 5e89d113be New port files for V2 ColdFire/CodeWarrior added. 17 years ago
Richard Barry 40f4287921 New file to separate out the stack checking macros which are a bit ugly to have in the main tasks.c file. 17 years ago
Richard Barry 4f631de793 Update the stack checking functions so they work for stacks that grow up from high memory (PIC24). 17 years ago
Richard Barry 799cccac42 Use the low force register. 17 years ago
Richard Barry 130e2f2c0a Prepare for V5.0.4 release. 17 years ago
Richard Barry 1d0cf84e80 Change the default vector used for context switching. 17 years ago
Richard Barry c3a33e5e7c Improve example code for xTaskCreate(). 17 years ago
Richard Barry aa7485ab0f BUG FIX: Changed
*(portNVIC_INT_CTRL) |= portNVIC_PENDSVSET;
to
*(portNVIC_INT_CTRL) = portNVIC_PENDSVSET;
17 years ago
Richard Barry a91d3d8afe Note to users only. 17 years ago
Richard Barry f8abff1e04 BUG FIX: Changed
*(portNVIC_INT_CTRL) |= portNVIC_PENDSVSET;
to
*(portNVIC_INT_CTRL) = portNVIC_PENDSVSET;
17 years ago
Richard Barry 3b34009b75 Tidy up. 17 years ago
Richard Barry 223bd9c75f BUG FIX: Changed
*(portNVIC_INT_CTRL) |= portNVIC_PENDSVSET;
to
*(portNVIC_INT_CTRL) = portNVIC_PENDSVSET;
17 years ago
Richard Barry 172114c49f Added a #error line to check that FreeRTOS.h is included before one of the subordinate header files. 17 years ago
Richard Barry cb12d3a973 Added CodeWarrior definitions. 17 years ago
Richard Barry 5116051604 Remove initialisation of xQueueRegistry. 17 years ago
Richard Barry e5d85bc87e Correct version number. 17 years ago
Richard Barry aeea09e21e Minor changes only. 17 years ago
Richard Barry 6eec108bdd Ensure a yield cannot be pended simultaneously with a critical section being entered. 17 years ago
Richard Barry f68aab980d Interrupt nesting and cache support added. 17 years ago
Richard Barry 3ea597543a Add ColdFire definitions. 17 years ago
Richard Barry 431d1c009d Update to allow interrupt nesting (not yet complete). 17 years ago
Richard Barry 181889d6b1 Basic demo up and running. 17 years ago
Richard Barry 4953c7d030 First task starting. 17 years ago
Richard Barry 35be76b9b7 Added function stubs. 17 years ago
Richard Barry 216fcb10c9 17 years ago
Richard Barry 5d60a388e0 17 years ago
Richard Barry 1c3c04f121 Prepare for V2 port. 17 years ago
Richard Barry 16b6baf10c Update to V5.0.3. 17 years ago
Richard Barry 597fbaacde Improve efficiency even further. Introduce the configMAX_SYSCALL_INTERRUPT_PRIORITY feature. 17 years ago
Richard Barry 56d5f4ac9b Just remove a comment. 17 years ago
Richard Barry 6eed669d06 Ensure statics are handled correctly when portREMOVE_STATIC_QUALIFIER is defined. 17 years ago
Richard Barry 8b02e015ba Improve efficiency even further. Introduce the configMAX_SYSCALL_INTERRUPT_PRIORITY feature. 17 years ago
Richard Barry 7580c6b817 Change ARM7 byte alignment to 8. 17 years ago
Richard Barry 794b6546b2 Improve efficiency even further. Introduce the configMAX_SYSCALL_INTERRUPT_PRIORITY feature. 17 years ago
Richard Barry 32592e1385 Improve efficiency even further. Introduce the configMAX_SYSCALL_INTERRUPT_PRIORITY feature. 17 years ago
Richard Barry 3ab4d1f87f Change projects to split the dsPIC and PIC24 taskYIELD implementations. 17 years ago
Richard Barry c3acf82f70 asm version of the yield function. Moved from port.c. 17 years ago
Richard Barry 090da3b518 Removed the manual context switch from the C file, this is now in an asm file instead. This is a workaround for a compiler bug but provides a better implementation anyway as less stack is used. 17 years ago
Richard Barry d091cf740f Allow the static qualifier to be removed and rename a list so it does not then clash with the name used in tasks.c once the static has been removed. 17 years ago
Richard Barry 1d4e319aa7 Ensure the queue registry gets initialised. 17 years ago
Richard Barry 90064444af Update to V5.0.2 17 years ago
Richard Barry 192cc29ebc Add usage of portREMOVE_STATIC_QUALIFIER. 17 years ago
Richard Barry 8ce7a79937 Add usage of portREMOVE_STATIC_QUALIFIER. 17 years ago
Richard Barry 576a25a098 Remove static qualifier from queue registry. 17 years ago
Richard Barry 4154eec4e1 Add queue registry code. 17 years ago
Richard Barry f689c709ab A little optimisation. 17 years ago
Richard Barry eb9d172082 Remove compiler warnings. 17 years ago
Richard Barry 2888b15b7e Add signed portBASE_TYPE xTaskIsTaskSuspended( xTaskHandle xTask ); Previously this was a private function. 17 years ago
Richard Barry 5a2790a998 Change the way the critical sections are handled within interrupts so the critical sections can be nested. 17 years ago
Richard Barry 4b9fe1e28a Add signed portBASE_TYPE xTaskIsTaskSuspended( xTaskHandle xTask ); 17 years ago
Richard Barry fb3b17a37c Update the default macros used for critical sections within ISRs. 17 years ago
Richard Barry b9b3e521f7 Bug fix - allocate 2 extra words at the bottom of the task stack to account for the back chain and saved LR. 17 years ago
Richard Barry 66fc3b8092 Update to use the kernel critical nesting. 17 years ago
Richard Barry 45fceb4bdd Update to include the option of saving/restoring the floating point context. 17 years ago
Richard Barry 6177c6e4a4 Add in the portSET_INTERRUPT_MASK_FROM_ISR() and portCLEAR_INTERRUPT_MASK_FROM_ISR() default (empty) macros. 17 years ago
Richard Barry 5d27f3ccf7 Add in the portSET_INTERRUPT_MASK_FROM_ISR() and portCLEAR_INTERRUPT_MASK_FROM_ISR() macros. 17 years ago
Richard Barry bafcf8901e Update to allow nesting. 17 years ago
Richard Barry b7f66b9db6 Add the usual missing -1. 17 years ago
Richard Barry 4304c07ebf Performance improvements. 17 years ago
Richard Barry 0eae0f7549 Add nesting support. 17 years ago
Richard Barry a9393b891d Remove inline keywords. 17 years ago
Richard Barry 3f620024fc Added code to allow a vTaskPrioritySet() caller to pass in the current TCB as well as NULL to indicate that the priority of the calling task is being changed. 17 years ago
Richard Barry a918bd9825 Update comments for vTaskSuspendAll() "API functions that have the potential to cause a context switch (for example, vTaskDelayUntil(), xQueueSend(), etc.) must not be called while the scheduler is suspended". 17 years ago
Richard Barry 019ab1b908 Remove inline keyword. 17 years ago
Richard Barry 9c87f922b3 Remove inline keyword. 17 years ago
Richard Barry 0d29807e93 Remove inline keyword. 17 years ago
Richard Barry b08411ec5a Correct timer calculation. 17 years ago
Richard Barry d7ca9ad0c3 Correct comments. 17 years ago
Richard Barry e939542f32 Update to V5.0.0. 17 years ago
Richard Barry 57a83227d0 Remove incorrect const qualifiers. 17 years ago
Richard Barry 7eb7201b46 Casting only. 17 years ago
Richard Barry b24032d4b0 Efficiency improvement. 17 years ago
Richard Barry a6053582fc Update the sys tick to be more efficient. 17 years ago
Richard Barry a9ed428422 Update prototypes and macros for the new xQueueSendFromISR() function and the task hook feature. 17 years ago
Richard Barry da6d27b627 Introduce the application task hook feature. 17 years ago
Richard Barry b73dafb1f4 Change the semantics of the xQueueGenericSendFromISR() function. 17 years ago
Richard Barry 2bc9dfa3f8 Ensure the first task starts with interrupts enabled. 17 years ago
Richard Barry ed543197e0 Ensure the first task starts with interrupts enabled. 17 years ago
Richard Barry 24cb048892 Ensure the first task starts with interrupts enabled. 17 years ago
Richard Barry ada4744871 Minor changes to the trace macros. 17 years ago
Richard Barry 06e8e93eb5 Added traceTASK_SWITCHED_OUT macro. 17 years ago
Richard Barry a3677612d2 Corrected SysTick interval calculation. 17 years ago
Richard Barry 2ca3985a8c Corrected SysTick interval calculation. 17 years ago
Richard Barry 7ed94acdff Corrected SysTick interval calculation. 17 years ago
Richard Barry cfcad6e78a Corrected prototypes for newly added functions that had the 'signed' qualifier missing. 17 years ago
Richard Barry d1b9463e29 Changes required to build with the latest Xilinx tools. 17 years ago
Richard Barry 3fd422ff2f Return the lock counts to their original intended behaviour. 17 years ago
Richard Barry 9596b04eff Small mods, and update file headers. 17 years ago
Richard Barry 527fb6a907 Update version numbers to V4.8.0 17 years ago
Richard Barry 3b4545cdf6 Add extra const qualifiers and casts for linting purposes. 17 years ago
Richard Barry 8704fd145b 17 years ago
Richard Barry 343a6101c2 Correct function prototype. 17 years ago
Richard Barry 5024d47769 17 years ago
Richard Barry 8502ee5b1c Introduce configKERNEL_INTERRUPT_PRIORITY and make some performance optimisations. 17 years ago
Richard Barry 87575c5cfe Re-write the queue send and queue receive functions to improve their effect on interrupt responsiveness. 17 years ago
Richard Barry ed28aa2046 Add critical section around xTaskCheckForTimeout() as the new queue code makes a call while the scheduler is not locked. 17 years ago
Richard Barry 5ebd39bfc9 Add utilities that can be used to query a queue from within an ISR. 17 years ago
Richard Barry 58905b6fb4 Performance optimisation. 17 years ago
Richard Barry a8d03f24e3 Performance optimisation. 17 years ago
Richard Barry ebfede454f Check in before attempting to remove absolute paths in PPC405 project. 17 years ago
Richard Barry 5cb4e9b5a6 Get preeprocessor working correctly. 17 years ago
Richard Barry 1aecde4efd Renaming .s to .S. 17 years ago
Richard Barry ade2da38ed Clear the interrupt prior to servicing the interrupt - previously it was the other way around. 17 years ago
Richard Barry bf5cd55c55 Comment ready for release. 17 years ago
Richard Barry f73e663411 Rename PPC405 to PPC405_Xilinx. 17 years ago
Richard Barry 643c94a5a8 Rename PPC405 to PPC405_Xilinx. 17 years ago
Richard Barry 39b68e7fc5 PPC405 work in progress. 17 years ago
Richard Barry ebcac1c4b5 PPC405 work in progress. 17 years ago
Richard Barry 8e856177c9 Modified uxTaskGetStackHighWaterMark() to take a parameter for the task to be checked, rather than just checking the stack of the calling task. 17 years ago
Richard Barry 47a7f0165b Modified uxTaskGetStackHighWaterMark() to take a parameter for the task to be checked, rather than just checking the stack of the calling task. 17 years ago
Richard Barry 60bead5003 Remove warnings generated by new features. 17 years ago
Richard Barry 39f6b0b5de Add stack check macros. 17 years ago
Richard Barry 71ef3153ea Add trace macros. 17 years ago
Richard Barry b8b70528f4 Add trace macros. 17 years ago
Richard Barry 2b174e556c Add vTaskEnterCritical() and vTaskExitCritical() functions. 17 years ago
Richard Barry ebf69dab5d More work in progress (PPC). 17 years ago
Richard Barry 9a9cd41098 Basic cooperative reg test tasks working. 17 years ago
Richard Barry 3c2306ed72 Work in progress, for backup purposes only. 17 years ago
Richard Barry fedf9c7ba0 Add initial PPC405 files - this is a work in progress not a completed port. 17 years ago
Richard Barry 8c0260568e Add PPC definition. 17 years ago
Richard Barry 3e94695fb4 Update to V4.7.2. 17 years ago
Richard Barry 95189f40d2 17 years ago
Richard Barry babd7f05f7 Remove obsolete code. 17 years ago
Richard Barry 125a9ef81d Correct cut and paste asm code. 17 years ago
Richard Barry 79dd981500 Remove casts that were generating warnings (even though the casts were added to remove warnings with some compilers). 17 years ago
Richard Barry 61efe2504c Revert critical section handling back to the original method. 17 years ago
Richard Barry 991624461f Revert to original critical section handling method. 17 years ago
Richard Barry f44fc2c665 Change to use the configKERNEL_INTERRUPT_PRIORITY setting. 17 years ago
Richard Barry 5a418b56fa Tidy up - spell check. 17 years ago
Richard Barry 961e402e12 Add Fujitsu FX definition to portable.h. 17 years ago
Richard Barry 97bee57daa Work in progress still. 17 years ago
Richard Barry 0faf33fbca Work in progress. 17 years ago
Richard Barry bdea62587e Work in progress. 17 years ago
Richard Barry 35afa63a47 Add Fujitsu 16bit port files. 17 years ago
Richard Barry 7e5450acd1 Change the critical section handling (Fujitsu 32bit port). 17 years ago
Richard Barry 7e6a2b0bd5 Update Fujitsu port files - work in progress. 17 years ago
Richard Barry eed758709c Add MB91460 port and demo files. 17 years ago
Richard Barry e6e5add7d8 Remove obsolete comment. 17 years ago
Richard Barry 05920be92a Correct sample code for recursive mutexes. 17 years ago
Richard Barry c86dcf7826 Update to V4.7.1 17 years ago
Richard Barry 354a57ed5e Update counting semaphore function prototype. 17 years ago
Richard Barry 3ddf9a4210 Correct spelling. 17 years ago
Richard Barry 79b506472d Documentation updates. 17 years ago
Richard Barry dfb8e7003b Prepare for V4.7.1 release. 17 years ago
Richard Barry 3c02bc385b Remove .bak files. 17 years ago
Richard Barry 2ac722926e Correct some documentation. 17 years ago
Richard Barry fb799b7647 Update documentation. 17 years ago
Richard Barry 6e27b6ec86 Update documentation to correct spelling. 17 years ago
Richard Barry 44911a1c48 Update to V4.7.0. 17 years ago
Richard Barry 8603259d40 Add first version of alternative API. 17 years ago
Richard Barry b6d2b739f3 Ensure warning free compilation under GCC. 17 years ago
Richard Barry 2931f43895 Missing PIC32 files. 17 years ago
Richard Barry d69d2df8d6 Counting semaphore demo added. 17 years ago
Richard Barry 48b4870c7e Add STM32 Primer demo. Remove the .lock file from the Eclipse demos. 17 years ago
Richard Barry 620d3999ef Update to V4.6.1 - including PIC32MX port. 17 years ago
Richard Barry 0a9c978f18 Changes between V4.5.0 and V4.6.0 released October 28 2007
+ Changed the method used to force a context switch within an ISR for the
	  ARM7/9 GCC ports only.  The portENTER_SWITCHING_ISR() and 
	  portEXIT_SWITCHING_ISR() macros are no longer supported.  This is to 
	  ensure correct behaviour no matter which GCC version is used, with or
	  without the -fomit-frame-pointer option, and at all optimisation levels.
	+ Corrected the prototype for xQueueGenericSend() within queue.h.
18 years ago
Richard Barry ada7fa862d Changed the way the ARM7/9 GCC ports enter interrupts that can cause a context switch. 18 years ago
Richard Barry a3921adfe1 + The macro portENTER_SWITCHING_ISR() no longer attempts to use the frame pointer. Variables declared within ISRs must now be declared static. 18 years ago
Richard Barry 98a9959a44 Update to V4.5.0 files and directory structure. 18 years ago
Richard Barry c77358491a Update the queue peek behaviour and add QPeek test files. 18 years ago
Richard Barry 5f16b0abca Fixed name of xQueueSendToFrontFromISR. 18 years ago