Commit Graph

197 Commits (203ae646009bc5f3fe79b26c86facb03cc54b185)

Author SHA1 Message Date
Richard Barry f038fd6a86 Improve the error detection in some of the standard demo tasks. 12 years ago
Richard Barry 62c0ae0926 Update port layers to make better use of the xTaskIncrementTick() return value. 12 years ago
Richard Barry c75c01ffdf Check in implementation of xTaskIncrementTick (replaced vTaskIncrementTick()). 12 years ago
Richard Barry c9b30b9fe7 Add MPLAB X project for PIC24.
Remove PIC24 demo warnings when XC16 is used as the compiler.
12 years ago
Richard Barry 2089f31f18 Update include paths in Rowley MSP430 project file. 12 years ago
Richard Barry a1ef5d6fa9 Add UV4 project to old RVDS LPC2129 UV2 directory. 12 years ago
Richard Barry 59a834eb86 Update ports that have their tick configuration in an application callback to use xTaskIncrementTick() in place of vTaskIncrementTick(). 12 years ago
Richard Barry c04b074707 Convert the remaining ports to use xTaskIncrementTick() in place of vTaskIncremenTick(). 12 years ago
Richard Barry 2fc9d033c6 Update the PIC32 port to use xTaskIncrementTick() and change the macro used to detect if XC is being used. 12 years ago
Richard Barry 51d9ee0c1c Add configINCLUDE_APPLICATION_DEFINED_PRIVILEGED_FUNCTIONS mechanism to the relevant port.c file to allow the user to define functions that will execute in privileged mode. 12 years ago
Richard Barry 29ca4f1b36 Ensure queue functions go into the privileged code section when the MPU version is in use.
Provide a default value for configINCLUDE_APPLICATION_DEFINED_PRIVILEGED_FUNCTIONS.
Revert prvQueueUnregisterQueue() back to a public function.
12 years ago
Richard Barry 0f3ae55e5d Add configINCLUDE_APPLICATION_DEFINED_PRIVILEGED_FUNCTIONS mechanism to allow the user to define functions that will execute in privileged mode.
Update the Rowley MPU demo to use a version of debug_printf that runs in privileged mode to get around the problem of the RAM it uses not being under the control of the kernel.
12 years ago
Richard Barry f904d26957 Convert more ports to use xTaskIncrementTick() in place of vTaskIncrementTick(). 12 years ago
Richard Barry 15ec6c87f7 Convert mpre ports to use xTaskIncrementTick() in place of vTaskIncrementTick(). 12 years ago
Richard Barry 686d190798 Convert some ports to use xTaskIncrementTick() in place of vTaskIncrementTick().
Move DSB instructions to before WFI instructions in line with ARM recommendations.
12 years ago
Richard Barry 4e9374ad90 Add default value for configUSE_TIME_SLICING 12 years ago
Richard Barry 06953169ba Update RM48/TMS570 port to use xTaskIncrementTick in place of vTaskIncrementTick. 12 years ago
Richard Barry 0673f63e8d Ensure RM48 demo compiles in co-operative mode. 12 years ago
Richard Barry 66734268f5 Update SAM4L_low_power_tick_management.c to use xTaskIncrementTick() in place of vTaskIncrementTick(). 12 years ago
Richard Barry 2e5d812022 Tidy up the comments and use of static function prototypes in the SAM4L_low_power_tick_management.c implementation. 12 years ago
Richard Barry 3fbee4f0a8 Place DSB instruction before WFI instruction in EFMG890F128 demo. 12 years ago
Richard Barry 64bd0689c7 Update the standard Win32 demo to use the latest version of the trace recorder code. 12 years ago
Richard Barry fda145278e Remove the Chan FATfs code as FreeRTOS now ships with a proprietary file system. 12 years ago
Richard Barry 2c562bd3d7 Ensure a queue or semaphore that is not empty cannot be added to a queue set. 12 years ago
Richard Barry bb7b711ca9 Update the code that generates the run time stats strings so the pcStatsString[] array is not required. 12 years ago
Richard Barry a03b171992 Fix compiler warning in psp_test.c when compiled with ARM compiler.
Add portYIELD_FROM_ISR() macros to Cortex-M ports.  The new macro just calls the exiting portEND_SWITCHING_ISR() macro.
Remove code from the MSVC port layer that was left over from a previous implementation and become obsolete.
12 years ago
Richard Barry 9b153b3e06 Ensure the SmartFusion2 interrupt driven UART drivers are not passed a zero length buffer. 12 years ago
Richard Barry 94f178c8d1 Move SmartFusion configuration options into FreeRTOSConfig.h. 12 years ago
Richard Barry 5c5c1c406d Rename the SmartFusion2 demo directory. 12 years ago
Richard Barry 961928b0f9 Combine the SmartFusion2 starter kit and development kits demos into a single directory. 12 years ago
Richard Barry 82995fd4fd Update SmartFustion2 starter kit partest.c. 12 years ago
Richard Barry 4d966adc8b Add SmartFusion2 demo for the SmartFustion2 development kit. 12 years ago
Richard Barry 063c05ccad Convert SmartFusion2 CLI to use the interrupt UART driver functions instead of the polled UART driver functions. 12 years ago
Richard Barry 5ff880fee8 SmartFusion2 CLI working with polled UART, about to convert to interrupt driven UART. 12 years ago
Richard Barry fb9662009a Update comments in Atmel Studio CreateProjectDirectoryStructure.bat files to remove references to replace references to Eclipse with references to Atmel Studio.
Update the tickless idle implementations that use up counters for tick interrupt generate to ensure they remain in low power mode for the desired time instead of one tick less than the desired time.
12 years ago
Richard Barry e08966c7e8 Update flop.c and FreeRTOS.h to include a macro (and a default null implementation of the macro) that enables the flop tasks to register their need for a floating point context with the kernel. 12 years ago
Richard Barry b4efc0439f Update Win32 simulator so it references the FreeRTOS+Trace code from the updated FreeRTOS+ directory structure. 12 years ago
Richard Barry 410f5d45eb SmartFusion2: Change linker file to run from NVM. Add in FreeRTOS+CLI and FreeRTOS+FAT SL demo. 12 years ago
Richard Barry e3a868ca58 Blinky and full demos working on SmartFusion2. 12 years ago
Richard Barry b8d265f57f Starting point for SmartFustion2 starter kit demo. 12 years ago
Richard Barry 39147e83a0 Update version numbers in a couple of files that got left behind. 12 years ago
Richard Barry 96ceae8edd Update version number ready to release the FAT file system demo. 12 years ago
Richard Barry a4a830c44d Add FAT SL code and demo project. 12 years ago
Richard Barry bbe48d31a4 Clarify license blurb at the top of the FreeRTOS+UDP and FreeRTOS+CLI source files. 12 years ago
Richard Barry f9918345e1 Update version numbers to V7.4.1. 12 years ago
Richard Barry 2bd7d0c1f5 Commit 3 RX100 low power demos. 12 years ago
Richard Barry 2b41be4cb9 Update yield code in RX200/Renesas compiler port. 12 years ago
Richard Barry 352949af42 Update RX600 IAR RX62N demo to use latest IAR tools. 12 years ago
Richard Barry 0013028c7a Update yield code in RX600/IAR compiler port. 12 years ago
Richard Barry 4f5f527c73 Update yield code in RX600/Renesas compiler port. 12 years ago
Richard Barry b7487b8dc2 Update yield code in RX600/GCC port. 12 years ago
Richard Barry a69933782d Add RX100 Renesas compiler port layer. 12 years ago
Richard Barry 74290b4425 Add RX100 IAR port layer. 12 years ago
Richard Barry a0056e8fd3 Add RX100 GCC port layer. 12 years ago
Richard Barry 9a15f50b00 Add memory barrier instructions to Tasking CM4F port. 12 years ago
Richard Barry 7132e88685 Add memory barrier instructions to the RVDS CM3 ports. 12 years ago
Richard Barry 895ee2bb3e Add barrier instructions to IAR CM3 ports. 12 years ago
Richard Barry be7cae575d Ensure XMC demo builds with the latest IAR version. 12 years ago
Richard Barry d135e45676 Replace the read back of the software interrupt register with barrier instructions (CCS/RM48/TMS570). 12 years ago
Richard Barry 0527099b51 Add barrier instructions to the GCC CM3 ports. 12 years ago
Richard Barry 67cc013ac3 Remove duplicate #error informing people to run the CreateProjectDirectoryStructure.bat. 12 years ago
Richard Barry af023e8bf1 Remove infinite loop from task delete function. 12 years ago
Richard Barry 01202246da Add volatile keyword to GenQTest loop counter for consistency.
Remove obsolete definition from SAM4L demo.
12 years ago
Richard Barry 6d20e2b5cd Add barrier instructions to GCC CM3/4 code. 12 years ago
Richard Barry a7fb62cb9c Prepare to package up SAM4L demo. 12 years ago
Richard Barry af623460a6 Updated the sleep function to ensure it left interrupts disabled when returning. 12 years ago
Richard Barry 2cf9f1ac8c Add SAM4L demo. 12 years ago
Richard Barry 3762630f27 RL78/IAR port - Allow the end user to define their own tick interrupt configuration by defining configSETUP_TIMER_INTERRUPT(). 12 years ago
Richard Barry a9b8f0ca69 Minor mods common files to fix warnings generated by Renesas compiler.
Correct the header comments in het.c and het.h (RM48/TMS570 demo) which were corrupt.
Correct version numbers in RX63N Renesas compiler demo.
Ensure stacks set up for tasks in the RX200 port layer end on 8 byte boundaries (was 4, which didn't matter but didn't match the definition).
Replaced unqualified (unsigned) in calls to standard functions with (size_t).
12 years ago
Richard Barry 236683d74d Update the GCC RL78 demo to include four separate build configurations, each of which targets different hardware. 12 years ago
Richard Barry 3a1a500950 Rename the Demo/RL78_RL78G13_Promot_Board_IAR directory to RL78_Multiple_IAR as it now targets several different devices. 12 years ago
Richard Barry c08a0558c8 Add two additional targets to the RL78 IAR project. 12 years ago
Richard Barry caf1fbc899 Ensure IAR RL port layer works on devices using two different naming conventions for the interval timer registers. 12 years ago
Richard Barry 8c66fdbb8c Updated IAR RL78 port layer. 12 years ago
Richard Barry b78fa80fbe Update the IAR RL78 demo to include main_blinky.c and main_full.c. 12 years ago
Richard Barry 7fb22e27da Add an example ISR implementation into the RL78 GCC demo. 12 years ago
Richard Barry c79a5fe50c Complete RL78/G14 demo. 12 years ago
Richard Barry 3b1ff85222 RL78 GCC: Save and restore all register banks. 12 years ago
Richard Barry 3b9d0819c9 RL78/GCC related:
+ Add RL78G14 specific linker script.
+ Move the call to the function that sets up the clocks to before the code that sets up the .data and .bss sections.
12 years ago
Richard Barry 08b959f143 For RL78GCC port/demo:
- Added YRDKRL78G14 build configuration.
- Runs provided the dynamic priority tasks are not started.
- Does not run with the debugger connected.
12 years ago
Richard Barry fba04057ec All related to RL78 GCC demos (which are still a work in progress):
- Abstract out the IO port handling for the LED output so the same code can be used on multiple eval boards.
- Add in the RESTORE_CONTEXT macros.
- Swap to use heap_1.c instead of heap_4.c.
- Add data model macros to FreeRTOSConfig.h (may be removed if only one data model is supported by the compiler).
- Install interrupt handlers.
12 years ago
Richard Barry 37d302b8ee Abstract the IO port handling to toggle the LED into LED.h so the same code can work with multiple eval boards. 12 years ago
Richard Barry 83fa827935 Add RL78 E2Studio project. Code is building, but has not yet been executed. 12 years ago
Richard Barry 17bba16fa6 Added YRDKRL78G14 build configuration to the IAR RL78 demo. 12 years ago
Richard Barry a5d0e3f0c1 Prepare for V7.4.0 release. 12 years ago
Richard Barry 902f9e1a58 Update PIC32 demo application to remove reliance on PLIB functions.
Update the default low power implementation in all the Cortex-M port layers to add a small critical section.
12 years ago
Richard Barry c519ba094d Correct spelling of xSuspendedTaskList in eTaskConfirmSleepModeStatus(). 12 years ago
Richard Barry dcc90bb6d9 Add default definition for configUSE_QUEUE_SETS.
Add eTaskConfirmSleepModeStatus() (not yet tested).
Only call prvQueueUnregisterQueue() when a queue or semaphore is deleted if configQUEUE_REGISTRY_SIZE > 0.
Back out change that checks the configUSE_PORT_OPTMISED_TASK_SELECTION value before uxPriorityUsedOnEntry is set in vTaskPrioritySet as it generated more warnings (with other compilers) than it fixed.
12 years ago
Richard Barry 2b835ccb48 Commit demos that have been updated for testing purposes before they are updated once more to test new low power features. 12 years ago
Richard Barry b85c071a79 Update the LPC1768 project to only copy across one heap_x.c file as the addition of heap_4.c without it being excluded from the project was breaking the build. 12 years ago
Richard Barry a7eae6bed3 Added more files to the Rowley and IAR LM3S demos to test building the newer files and queue sets.
Made queue function prototypes consistent so xQueueHandle parameters are always xQueue, and xQUEUE * parameters pxQueue.
Likewise make the task API using px for pointers to TCBs, and just x for task handles.
Heap_x functions now automatically align the start of the heap without using the portDOUBLE union member.
Queue.c now includes queue.h.
12 years ago
Richard Barry 9b26071eb8 Adjusted the wrap checks in the QueueSet test task.
Added the QueueSet test to the Rowlay Stellaris and SAM4S-EK Studio demos.
Updated the MSVC demo to use heap_4.c.
12 years ago
Richard Barry 0262f4a6cd Reduce RAM used by trace by updating trcConfig.h. 12 years ago
Richard Barry b671bf368a Improve QueueSet.c test coverage by reading the queue set from an ISR to force paths through the queue locking and unlocking.
Add the FreeRTOS+Trace recorder into the Win32 MSVC demo.
Added more functions, including the queue set functions, to the MPU port.
12 years ago
Richard Barry 96218c34a1 Fix a few compiler warnings when compiling the QueueSet.c test code with GCC. 12 years ago
Richard Barry d328ae3bfc Add the queue set test to the SAM4S-EK Atmel Studio code. 12 years ago
Richard Barry 232a5b3433 Continue working on queue set implementation and testing. 12 years ago
Richard Barry 4e5090e061 Next revision of queue set implementation.
Make conditional compilation syntax and commenting consistent.
Add common demo tasks to demonstrate queue sets.
12 years ago
Richard Barry b5b518571e remove the additional line added to the MPU port.c as the original code was correct. Instead remove the alignment assert by adding #define portALIGNMENT_ASSERT_pxCurrentTCB ( void )
to the portmacor.h file.
12 years ago
Richard Barry ac78adae4b Added INCLUDE_xSemaphoreGetMutexHolder() default.
Changed eTaskStateGet() to eTaskGetState() and added #define to ensure backward compatibility.
Added configEXPECTED_IDLE_TIME_BEFORE_SLEEP definition - was previously hard coded to 2.
Slight change to the default CM3 tickless sleep function to allow the idle time to be set to zero in the pre-sleep processing macro.
Changed stack alignment for the FreeRTOS-MPU port to ensure it didn't trigger the assert() in the generic create function.
12 years ago