Commit graph

334 commits

Author SHA1 Message Date
Richard Barry 1aed974822 Change name of constant to match coding standard. 2010-03-24 11:06:33 +00:00
Richard Barry 0d8229a087 The start of an APS3 port. 2010-03-19 14:22:34 +00:00
Richard Barry 2596728679 Initialised xFreeBytesRemaining where it is declared so xPortGetFreeHeapSize() returns a valid value even before the heap has been initialised. 2010-03-19 09:45:12 +00:00
Richard Barry 808bb8e159 Update the V6.0.4. The primary difference being that the unsupported demos have now been removed from the download, and instead placed in their own forums. 2010-03-14 11:55:16 +00:00
Richard Barry e262d95404 Ready for V6.0.3 release. 2010-02-25 13:41:09 +00:00
Richard Barry 9b27b75715 Continue work on the SH2A port. 2010-02-15 17:16:38 +00:00
Richard Barry 9849c9ccab General tidy up of SH files. 2010-01-17 16:32:43 +00:00
Richard Barry 094945625d Add flop support. 2010-01-17 13:12:54 +00:00
Richard Barry b60eba005a Change interrupt mask in yield function. 2010-01-16 11:40:41 +00:00
Richard Barry 188a2c0cc1 Still a work in progress. Need to add flop support. 2010-01-15 17:18:47 +00:00
Richard Barry 68074c03d6 Work in progress. 2010-01-14 12:23:07 +00:00
Richard Barry 4f59d550c6 Update to V6.0.2. 2010-01-09 14:31:39 +00:00
Richard Barry bf9b20e6b8 Change "SWI" to "SWI 0". 2010-01-08 14:25:12 +00:00
Richard Barry e170cdef52 Skeleton for new port added. 2009-12-28 15:06:11 +00:00
Richard Barry 0840882d46 Change PIC32 stack byte alignment from 4 to 8. 2009-12-10 18:17:37 +00:00
Richard Barry 9ec30de7f4 Update Cortex M3 ports to ensure 8 byte alignment. 2009-11-15 21:47:15 +00:00
Richard Barry db87c0ac06 Correct byte alignment on CM3 port layers. 2009-11-15 15:01:59 +00:00
Richard Barry a9625ce462 Change the function that sets up the initial stack on CM3 ports to account for the post decrement used by the MCU when it alters the stack on the way into/out of interrupts. 2009-11-14 19:02:12 +00:00
Richard Barry 7c09eb2da7 Correct cut and paste comment error. 2009-10-25 10:33:01 +00:00
Richard Barry a75aec78ed Correct the auto reload value. 2009-10-15 11:57:49 +00:00
Richard Barry 0db3b5c258 Correct the auto reload value. 2009-10-15 11:56:48 +00:00
Richard Barry 11ed4d6fba Change to the file headers only. 2009-10-13 10:54:32 +00:00
Richard Barry 7dbf3304b3 Tidy up only. 2009-10-13 09:17:39 +00:00
Richard Barry e00afda1b1 Correct compiler warnings when a certain configuration is set in FreeRTOSConfig.h. 2009-10-13 09:12:30 +00:00
Richard Barry 9557f14233 Add missing cast where one of the static MPU blocks are configured. 2009-10-10 18:45:46 +00:00
Richard Barry 9c349886af Add clobber lists to inline asm code. 2009-10-06 08:48:34 +00:00
Richard Barry d3f5c5348c Change where the free heap space variable is initialised. 2009-10-06 08:46:22 +00:00
Richard Barry 176aafbe00 Add portBYTE_ALIGNMENT definition to PC demos. 2009-10-05 12:17:50 +00:00
Richard Barry e90ba3e57f Add xPortGetFreeHeapSize() function. 2009-10-05 11:16:38 +00:00
Richard Barry 506dd1b7c8 Remove unnecessary use of portLONG, portCHAR and portSHORT.
Change version number in headers.
2009-10-05 09:46:11 +00:00
Richard Barry 26f0258688 Remove unnecessary use of portLONG, portCHAR and portSHORT. 2009-10-04 18:34:36 +00:00
Richard Barry ee5608ddc2 Tidy up, starting to get ready for next release. 2009-10-04 17:59:49 +00:00
Richard Barry d138104369 Reinstate privileged only RAM region when a task is running that does not otherwise make use of the MPU. 2009-10-03 19:56:09 +00:00
Richard Barry b7da8d7a1b Remove the portBYTE_ALIGNMENT_MASK definitions as they are now in the common portable.h file. 2009-09-29 20:07:44 +00:00
Richard Barry ad441634f0 Allow auto switching between creating tasks in ARM mode and THUMB mode. 2009-09-29 20:03:55 +00:00
Richard Barry afaa3321ba Allow auto switching between creating tasks in ARM mode and THUMB mode. 2009-09-29 20:03:09 +00:00
Richard Barry b500ab8be2 Allow auto switching between creating tasks in ARM mode and THUMB mode. 2009-09-29 20:02:16 +00:00
Richard Barry 2cb1578b30 Set ARM byte alignment to 8. 2009-09-29 20:01:17 +00:00
Richard Barry 2d958d3d2c Set ARM byte alignment to 8. 2009-09-29 19:58:05 +00:00
Richard Barry 4640196beb Add CM3 MPU port. 2009-09-28 14:23:45 +00:00
Richard Barry ed06a0400a Update to V5.4.2. See http://www.freertos.org/History.txt . 2009-08-09 19:10:57 +00:00
Richard Barry d2a9f9624b Rename Nios2 to NiosII. 2009-08-06 20:15:39 +00:00
Richard Barry 5d6acacd7a Correct spelling error in comment only. 2009-08-06 19:33:06 +00:00
Richard Barry 6358344ea1 Added new Nios2 port layer. 2009-08-06 18:23:40 +00:00
Richard Barry 3a883a776c Update to V5.4.1 2009-07-25 20:14:06 +00:00
Richard Barry 4a1fbbca99 Added a call to vApplicationMallocFailedHook() when pvPortMalloc() returns NULL. 2009-07-21 17:25:55 +00:00
Richard Barry f312118bf9 Ensure LPC1768 demos are correct prior to V5.4.0 release. 2009-07-12 19:00:28 +00:00
Richard Barry fdcc3676cd Update version number. 2009-07-07 09:41:29 +00:00
Richard Barry e36ece8d42 Add support for double precision floating point. 2009-06-30 19:24:32 +00:00
Richard Barry 09f991277e Add PPC440 port layer code. 2009-06-30 17:38:58 +00:00
Richard Barry 0a9fddb5d4 Add proper 8 byte alignment support. 2009-06-30 16:32:36 +00:00
Richard Barry 7818ed5a97 Prepare for V5.3.1 release. 2009-06-21 19:07:47 +00:00
Richard Barry a5060cd1e2 New port layer files. 2009-06-20 19:53:16 +00:00
Richard Barry 8f26ec2474 Replaced asm statements with __asm for building with CrossWorks V2. 2009-06-20 16:39:47 +00:00
Richard Barry 4bf5521db6 Prepare for V5.3.0 release. 2009-05-30 15:51:41 +00:00
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. 2009-05-30 13:26:38 +00:00
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. 2009-05-30 13:25:16 +00:00
Richard Barry 4c232cdc4e Formatting only. 2009-05-19 10:34:04 +00:00
Richard Barry 2f40ad7393 Ready for V5.2.0 release. 2009-03-14 19:20:12 +00:00
Richard Barry 52ba0e651e Update to V5.1.2. 2009-02-09 20:21:35 +00:00
Richard Barry e31fe0ef80 Remove unnecessary semicolon. 2009-02-06 13:30:39 +00:00
Richard Barry 4a3e471fda Continue 78K0R development. 2009-02-06 13:23:23 +00:00
Richard Barry 035abe8707 Add code for near memory model. 2009-02-05 21:11:24 +00:00
Richard Barry e4319d7f88 Continue 78K0R development. 2009-02-05 13:02:27 +00:00
Richard Barry c1a2e601a6 Tidy up and comment. 2009-02-04 16:53:52 +00:00
Richard Barry bfd67da1e7 Continue 78K0R development. 2009-02-04 13:08:12 +00:00
Richard Barry 46425b4099 Continue 78K0R development. 2009-02-03 21:09:16 +00:00
Richard Barry c8b25f8bf2 Tidy up new port file. 2009-02-03 15:20:05 +00:00
Richard Barry 18797cb689 Change name of asm file to be consistent with other ports. 2009-02-02 18:38:48 +00:00
Richard Barry 7551ede806 New 78K0R first pass files added. 2009-01-30 10:47:35 +00:00
Richard Barry 4b4aecf217 Continued V850 development. 2009-01-29 21:26:43 +00:00
Richard Barry 1e29358197 Combine different part variants into a single port.c file. 2009-01-29 20:00:56 +00:00
Richard Barry 08464adb74 Combine different part variants into a single port.c file. 2009-01-29 19:55:14 +00:00
Richard Barry 99d615a7dd Add device specific versions of portasm.s85. 2009-01-29 19:51:11 +00:00
Richard Barry adc5c7142b Rename to make file name more generic. 2009-01-29 17:32:19 +00:00
Richard Barry ccb960ca8b Rename to make file name more generic. 2009-01-29 17:30:54 +00:00
Richard Barry e2e988191c Rename to make file name more generic. 2009-01-29 17:29:10 +00:00
Richard Barry 5acfec1f7c Rename to make file name more generic. 2009-01-29 17:28:39 +00:00
Richard Barry 77fbf587ee Continued V850 development. 2009-01-29 16:20:25 +00:00
Richard Barry f622836e18 Add new port files for V850ES JJ3. 2009-01-29 14:49:47 +00:00
Richard Barry b93186e975 Rename device specific file. 2009-01-28 17:50:49 +00:00
Richard Barry 761540892b Tidy up and comment. 2009-01-28 12:37:04 +00:00
Richard Barry 0adf3d96c4 Add in the portYIELD_FROM_ISR() function. 2009-01-28 11:08:01 +00:00
Richard Barry cadd182942 More work in progress on NEC port and demo. 2009-01-26 17:29:01 +00:00
Richard Barry d811a00690 Rename file. 2009-01-23 16:50:43 +00:00
Richard Barry 5ebd915502 Formatting only. 2009-01-22 17:26:04 +00:00
Richard Barry 19e2d266b6 Renamed file. 2009-01-22 11:08:21 +00:00
Richard Barry f2114d04f2 New port - still a work in progress. 2009-01-22 11:02:09 +00:00
Richard Barry c1cb5dac54 Small modification to where header files are included from to make more portable. 2009-01-18 13:05:26 +00:00
Richard Barry adad8eab83 Work in progress on new port - correct the configuration of the timer interrupt. 2009-01-07 11:00:48 +00:00
Richard Barry a859c59080 Minor updates only. 2008-12-06 13:35:43 +00:00
Richard Barry 2f795214d7 Continued work in progress on new demo. 2008-11-28 16:08:59 +00:00
Richard Barry e540f0abf4 New demo being added - work in progress. 2008-11-28 15:41:07 +00:00
Richard Barry d28eda8634 Ready for V5.1.1 release. 2008-11-20 16:10:46 +00:00
Richard Barry 48a34c5fd1 Add IAR MSP430 port layer. 2008-10-26 14:56:06 +00:00
Richard Barry 758b1c7c59 Update ready for V5.1.0 release. 2008-10-24 18:07:39 +00:00
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. 2008-10-23 19:14:45 +00:00
Richard Barry cf638edfaf Setup to work with both ARM and THUMB modes. 2008-10-23 15:58:17 +00:00
Richard Barry 6ae55f3d6d Remove files that use the now defunct Keil compiler. 2008-10-23 11:06:20 +00:00
Richard Barry 36815b949f First ARM7 port that uses the RVDS compiler. 2008-10-23 11:03:25 +00:00
Richard Barry de519dd34e Update to allow low power mode to be used with the RTOS. 2008-10-19 18:52:04 +00:00
Richard Barry 518d5e538a Update to allow low power mode to be used with the RTOS. 2008-10-19 18:08:53 +00:00
Richard Barry 3c4c58dc6d Update to allow low power mode to be used with the RTOS. 2008-10-19 17:45:21 +00:00
Richard Barry 5bccc20356 Update to allow low power mode to be used with the RTOS. 2008-10-19 17:44:56 +00:00
Richard Barry f9e47722ce Correct portSTACK_GROWTH value. 2008-10-19 11:06:38 +00:00
Richard Barry 5e89d113be New port files for V2 ColdFire/CodeWarrior added. 2008-10-17 13:18:49 +00:00
Richard Barry 799cccac42 Use the low force register. 2008-09-22 18:08:29 +00:00
Richard Barry 130e2f2c0a Prepare for V5.0.4 release. 2008-09-22 15:48:40 +00:00
Richard Barry 1d0cf84e80 Change the default vector used for context switching. 2008-09-22 13:48:45 +00:00
Richard Barry aa7485ab0f BUG FIX: Changed
*(portNVIC_INT_CTRL) |= portNVIC_PENDSVSET;
to
*(portNVIC_INT_CTRL) = portNVIC_PENDSVSET;
2008-09-17 16:04:31 +00:00
Richard Barry a91d3d8afe Note to users only. 2008-09-17 16:03:42 +00:00
Richard Barry f8abff1e04 BUG FIX: Changed
*(portNVIC_INT_CTRL) |= portNVIC_PENDSVSET;
to
*(portNVIC_INT_CTRL) = portNVIC_PENDSVSET;
2008-09-17 16:01:56 +00:00
Richard Barry 3b34009b75 Tidy up. 2008-09-17 15:58:45 +00:00
Richard Barry 223bd9c75f BUG FIX: Changed
*(portNVIC_INT_CTRL) |= portNVIC_PENDSVSET;
to
*(portNVIC_INT_CTRL) = portNVIC_PENDSVSET;
2008-09-17 15:52:54 +00:00
Richard Barry aeea09e21e Minor changes only. 2008-08-14 11:07:50 +00:00
Richard Barry 6eec108bdd Ensure a yield cannot be pended simultaneously with a critical section being entered. 2008-08-14 11:04:54 +00:00
Richard Barry f68aab980d Interrupt nesting and cache support added. 2008-08-10 21:14:08 +00:00
Richard Barry 431d1c009d Update to allow interrupt nesting (not yet complete). 2008-08-08 15:52:41 +00:00
Richard Barry 181889d6b1 Basic demo up and running. 2008-08-08 12:50:22 +00:00
Richard Barry 4953c7d030 First task starting. 2008-08-08 09:41:33 +00:00
Richard Barry 35be76b9b7 Added function stubs. 2008-08-07 19:10:25 +00:00
Richard Barry 216fcb10c9 2008-08-07 19:03:24 +00:00
Richard Barry 5d60a388e0 2008-08-07 19:02:43 +00:00
Richard Barry 1c3c04f121 Prepare for V2 port. 2008-08-07 18:51:34 +00:00
Richard Barry 16b6baf10c Update to V5.0.3. 2008-07-30 20:04:29 +00:00
Richard Barry 597fbaacde Improve efficiency even further. Introduce the configMAX_SYSCALL_INTERRUPT_PRIORITY feature. 2008-07-30 09:36:40 +00:00
Richard Barry 56d5f4ac9b Just remove a comment. 2008-07-30 09:35:03 +00:00
Richard Barry 8b02e015ba Improve efficiency even further. Introduce the configMAX_SYSCALL_INTERRUPT_PRIORITY feature. 2008-07-25 02:40:35 +00:00
Richard Barry 7580c6b817 Change ARM7 byte alignment to 8. 2008-07-25 02:35:50 +00:00
Richard Barry 794b6546b2 Improve efficiency even further. Introduce the configMAX_SYSCALL_INTERRUPT_PRIORITY feature. 2008-07-25 02:34:31 +00:00
Richard Barry 32592e1385 Improve efficiency even further. Introduce the configMAX_SYSCALL_INTERRUPT_PRIORITY feature. 2008-07-25 02:33:56 +00:00
Richard Barry 3ab4d1f87f Change projects to split the dsPIC and PIC24 taskYIELD implementations. 2008-07-16 10:08:24 +00:00
Richard Barry c3acf82f70 asm version of the yield function. Moved from port.c. 2008-07-16 09:26:22 +00:00
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. 2008-07-16 09:12:54 +00:00
Richard Barry 90064444af Update to V5.0.2 2008-05-30 15:34:42 +00:00
Richard Barry 192cc29ebc Add usage of portREMOVE_STATIC_QUALIFIER. 2008-05-24 18:56:04 +00:00
Richard Barry f689c709ab A little optimisation. 2008-05-23 15:16:25 +00:00
Richard Barry eb9d172082 Remove compiler warnings. 2008-05-20 18:27:59 +00:00
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. 2008-05-19 19:11:08 +00:00
Richard Barry 66fc3b8092 Update to use the kernel critical nesting. 2008-05-18 17:28:30 +00:00
Richard Barry 45fceb4bdd Update to include the option of saving/restoring the floating point context. 2008-05-11 09:15:22 +00:00
Richard Barry bafcf8901e Update to allow nesting. 2008-05-06 11:51:13 +00:00
Richard Barry b7f66b9db6 Add the usual missing -1. 2008-05-05 08:41:25 +00:00
Richard Barry 4304c07ebf Performance improvements. 2008-05-04 20:04:52 +00:00
Richard Barry 0eae0f7549 Add nesting support. 2008-05-04 17:36:23 +00:00
Richard Barry 019ab1b908 Remove inline keyword. 2008-05-01 09:06:26 +00:00
Richard Barry b08411ec5a Correct timer calculation. 2008-04-16 16:29:28 +00:00
Richard Barry e939542f32 Update to V5.0.0. 2008-04-16 07:47:02 +00:00
Richard Barry b24032d4b0 Efficiency improvement. 2008-04-12 23:26:01 +00:00
Richard Barry a6053582fc Update the sys tick to be more efficient. 2008-04-12 23:25:17 +00:00