summaryrefslogtreecommitdiff
path: root/FreeRTOS-Plus/Source/FreeRTOS-Plus-Trace
Commit message (Collapse)AuthorAgeFilesLines
* Fix stack smashing in POSIX Demo (#901)Gaurav-Aggarwal-AWS2022-12-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | The tracelyzer code was declaring a local stack variable of type `uint32_t` and passing it as output parameter to a function which expected `uint64_t` on a 64-bit platform. This resulted in 4 byte memory corruption. The problem was that the function signature uses `TraceUnsignedBaseType_t` type for the output parameter which gets defined to `uint32_t` on a 32-bit platform and to `uint64_t` on a 64-bit platform, while the local stack variable was declared as `uint32_t`. This commit changes the type of local stack variable to `TraceUnsignedBaseType_t` to match the function parameter type. Tracelyzer creates a task internally stack size of which is controlled using TRC_CFG_CTRL_TASK_STACK_SIZE. It was earlier defined to 1024. The POSIX port requires the stack size to be minimum PTHREAD_STACK_MIN. The commit updates the TRC_CFG_CTRL_TASK_STACK_SIZE to PTHREAD_STACK_MIN. The demo directory contained one extra trcConfig.h and trcKernelPortConfig.h. This commit deletes those files. Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com> Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
* Percepio Trace Recorder v4.6.0 (#789)Erik Tamlin2022-11-03118-16287/+22877
| | | | | | | | | | | | | | | | | | | | | | | | | | * * Percepio Trace Recorder v4.6.0 * Add space between inclusion of header and comment * Fix broken posix build - part 1 * Add percepio timer implementation * Remove delted trace recorder header file * Fix Networking demo build * Fix CLI demo * Fix visual studio version number * Fix core header check * Fix more core checks * Fix last of core checks Co-authored-by: Aniruddha Kanhere <60444055+AniruddhaKanhere@users.noreply.github.com> Co-authored-by: Alfred Gedeon <alfred2g@hotmail.com>
* Updated to Percepio Tracealyzer Recorder v4.4.0 (#330)Erik Tamlin2020-10-2829-26/+373
| | | | | | * Updated to Tracealyzer Recorder v4.4.0 Added support for FreeRTOS v10.4.1 * Fixed version numbers in USB stream port
* Update #169 -- Percepio Tracealyzer Recorder v4.3.11 (#201)Ming Yue2020-08-1337-13425/+15932
| | | | | | | * * Pull Request for Percepio Tracealyzer Recorder v4.3.11 * Update Tracealyzer demo config file. Co-authored-by: Erik Tamlin <erik.tamlin@percepio.com>
* Feature/multiple direct to task notifications (#73)RichardBarry2020-06-081-4/+4
| | | | | | | | | | | | | | * Add TaskNotifyArray.c with the single task tests updated to use the task notification array up to the point where the timer is created. * Continue working on TaskNotifyArray.c to test the new task notification indexes. Next TaskNotifyArray.c will be refactored to break the tests up a bit. * Refactor and update the comments in TaskNotifyArray.c - no functional changes. * Change from the task notify "array" to task notification "indexed" nomenclature in the new task notification API functions that work on one particular task notification with the array of task notifications. * Update the implementation of the taskNOTIFY_TAKE() and taskNOTIFY_WAIT() trace macros to take the array index of the task notification they are acting on. Rename configNUMBER_OF_TASK_NOTIFICATIONS to configTASK_NOTIFICATION_ARRAY_ENTRIES. Add FreeRTOS/Demo/Common/Minimal/TaskNotifyArray.c to the Visual Studio project - the file implements tests specific to the behaviour of the indexed task notification functions and should be used in addition to the tests already provided in FreeRTOS/Demo/Common/Minimal/TaskNotify.c.
* Minor bug fix in NTPDemo.c -> use of FREERTOS_INVALID_SOCKET in place of NULL.Richard Barry2019-09-041-35/+35
| | | | | Update trace recorder code to account for uxPendedTicks renaming to xPendedTicks.
* Update trace recorder code to the latest.Richard Barry2018-09-0619-250/+345
| | | | Some minor changes to enable the configREMOVE_STATIC_QUALIFIER constant to be used by those debuggers that cannot cope with statics being used.
* Update trace recorder code.Richard Barry2018-07-0225-2356/+3974
| | | | Add TCP Echo server to the FreeR_Plus_TCP_Minimal_Window_Simulator project.
* Update trace recorder source to fix some compile time warnings.Richard Barry2017-06-012-3/+3
|
* Update to the latest trace recorder library.Richard Barry2017-05-2934-6229/+12895
|
* Update Reliance Edge fail safe file system to the latest version.Richard Barry2017-01-242-7/+4
|
* - Rework the StaticAllocation.c common demo file to reflect the changes to ↵Richard Barry2016-03-292-28/+28
| | | | | | | | the static allocation object create functions from the previous check-in. - Correct various typos in comments. - Add xTimerGetPeriod() function (feature request).
* Prepare for a FreeRTOS V9 release candidate:Richard Barry2016-02-181-39/+39
| | | | | | | - Remove the standard demo files that used the [long since deprecated] alternative API. - Add standard demo task that tests the new xTaskAbortDelay() function. - Update the Win32 Visual Studio project to use Visual Studio 2015 Community Edition. - Rename the xGenericListItem TCB member to xStateListItem as it better describes the member's purpose.
* FreeRTOS source:Richard Barry2016-02-101-6/+6
| | | | | | | - Major refactor to consolidate the multiple places where a task is removed from a ready list and placed in a delay list into a single function, reducing code size, and enabling the easy addition of up-coming functionality. - Replace the enum used for task notification states with a uint8_t to reduce the TCB struct size with some compilers, and allow additional members to be added without increasing its size. - Rearrange FreeRTOS.h so all INCLUDE_ defaults are grouped together.
* Kernel changes:Richard Barry2015-11-201-1/+1
| | | | | | | | | | | + Support tickless idle when configUSE_PREEMPTION is 0 (previously tickless idle was only supported when the pre-emptive scheduler was being used). + If a stack was statically allocated, then don't try freeing it if the TCB cannot be allocated. + Remove use of INCLUDE_xEventGroupsSetBitsFromISR() pre-processor macro, as it was not tested anyway. Demo app changes: + Updated SAM4L Atmel Studio project to use Atmel Studio 7.
* Update FreeRTOS+Trace recorder library to v3.0.2Richard Barry2015-10-0913-123/+135
| | | | Add streaming version of the FreeRTOS+Trace recorder, also V3.0.2
* Final commit before tagging - cosmetic changes only.Richard Barry2015-08-126-91/+90
|
* Final preparation for new release:Richard Barry2015-08-128-1114/+1166
| | | | | | | | | | FreeRTOS+Trace: - Add trace macros for task notifications. - Update to the latest trace recorder library. Demo projects: - Only include the CLI command to show run time states if configGENERATE_RUN_TIME_STATS is set to 1.
* Add the errno definitions used by FreeRTOS+TCP and FreeRTOS+FAT into ↵Richard Barry2015-04-131-1/+1
| | | | | | | | | FreeRTOS's projdefs.h. Remove redundant global definition vPortInstallFreeRTOSVectorTable from the GCC ARM_CA9 portASM.S file. Ensure correct sequence of start up sequence when the Windows port is used on multi-core Windows machines by starting one thread in the suspended state. Move initialisation of xNextTaskUnblockTime to the function that starts the scheduler, rather than from where the variable is declared - this fixes a compiler warning in newer IAR compilers. Fix "elif (SELECTED_PORT == PORT_MICROCHIP_PIC32MX || PORT_MICROCHIP_PIC32MZ)" in the FreeRTOS+Trace trcHardwarePort.h header file.
* Update version numbers in preparation for V8.2.0 release candidate 1.Richard Barry2014-12-211-0/+1023
|
* + New feature added: Task notifications.Richard Barry2014-12-1514-3086/+2365
| | | | | | | | | | | + Optimise Cortex-M4F ports by inlining some critical section macros. + Original ports used a #define to set the path to portmacro.h - that method has been obsolete for years and now all the old definitions have been moved into a separate header files called deprecated_definitions.h. + Cortex-M port now check the active vector bits against 0xff when determining if a function is called from an interrupt - previously only a subset of the bits (0x1f) were checked. + Add in new standard demo/test files TaskNotify.c/h and include the files in the simulator demos. + Update trace recorder code, and some demos to use the new version (more to do). + Introduce uxTaskPriorityGetFromISR(). + Minor typo corrections. + Update MingW simulator demo to match the MSVC simulator demo.
* Update FreeRTOS+ components and demos to use typedef names introduced in ↵Richard Barry2014-06-202-3/+3
| | | | FreeRTOS V8.
* Update final demos that use the trace recorder code to use the new version.Richard Barry2014-02-172-4/+4
|
* Update trace recorder to include heap tracing and new v8 features.Richard Barry2014-02-1715-616/+1226
|
* Update the ucQueueNumber member of the queue structure (used with ↵Richard Barry2013-12-142-3/+3
| | | | FreeRTOS+Trace to be an unsigned portBASE_TYPE instead of an unsigned char.
* Correct compiler warnings in trace recorder code.Richard Barry2013-07-162-1/+2
|
* Update FreeRTOS+Trace recorder code.Richard Barry2013-07-1614-160/+181
|
* Add the APPLICATION_DEFINED port type to the trcHardwarePort.h template.Richard Barry2013-06-111-0/+8
|
* Remove compiler warnings from the trace recorder code.Richard Barry2013-06-053-6/+6
|
* Update to latest FreeRTOS+Trace recorder code.Richard Barry2013-06-0517-2996/+3143
|
* Add FreeRTOS-Plus directory with new directory structure so it matches the ↵Richard Barry2013-04-1815-0/+5904
FreeRTOS directory.