Richard Barry
d6fcd5dbba
Add the option to specify a stack size in the standard demo MessageBuffer tests.
...
Add stream and message buffer tests into the Zynq demo project.
7 years ago
Richard Barry
4fbcdbf13b
Fix misra violations in queue.c by introducing a union that allows the correct data types to be used in place of void *, then tidy up where the union is used.
7 years ago
Richard Barry
4a8c4c9eaf
TimerHandle_t is now type safe instead of void *.
...
Remove casts that are no longer required not type safe handles are used.
7 years ago
Richard Barry
3d8681de9e
Continue updating to MISRA 2012 from 2004 - currently working on queue.c and committing as working copy prior to making larger change.
...
Change QueueHandle_t to be typesafe from void *.
Change StreamBuffer_t to be typesafe from void *.
7 years ago
Richard Barry
7a9f453f96
Remove casts from EventGroupHandle_t to EventGroup_t, and corresponding lint comments, which are not required now EventGroupHandle_t is type safe.
...
Fix the prototype of prvTimerCallback() in the MPU simulator demo (caught due to the new type safety in tasks.c).
7 years ago
Richard Barry
390fb06b49
First pass at updating from MISRA 2004 to MISRA 2012:
...
Updated pvContainer member of list items to List_t * rather than void * as they are always contained in a list if anywhere.
Made EventGroupHandle_t typesafe pointer to forward referenced struct rather than void pointer.
Made TaskHandle_t typesafe pointer to forward referenced struct, rather than a void pointer.
7 years ago
Richard Barry
5bebf10fa4
Minor updates to comments only.
7 years ago
Richard Barry
585b16a39f
Update definition of StaticTimer_t so its size is correct on MSP403X large memory model builds.
7 years ago
Richard Barry
d30249789b
Previously the MPSoC Cortex-A53 demo was updated to the latest Xilinx SDK tools to the point where it was building, but not tested. This check in modifies the project files slightly following testing.
7 years ago
Richard Barry
26d8c76996
Update Zynq, MPSoc Cortex-A53 and MPSoc Cortex-R5 demo projects to build with the 18.1 version of the Xilinx SDK - building BUT NOT YET TESTED.
7 years ago
Richard Barry
a3148ba638
xTaskGenericNotify() now sets xYieldPending to pdTRUE even when the 'higher priority task woken' parameter is provided - making its behaviour consistent with event objects.
...
Ensure tasks that are blocked indefinitely on a direct to task notification return their state as eBlocked, previously was returned as eSuspended - making its behaviour consistent with event objects.
Fix typo in stream_buffer.c where "size_t xBytesAvailable ); PRIVILEGED_FUNCTION" had the semicolon in the wrong place.
Add testing of Stream Buffers to the AbortDelay.c tests.
Guard inclusion of C code when FreeRTOSConfig.h is included from an assembly file in the ARM7_LPC2129_IAR demo.
Fix minor typos in the Windows demo comment blocks.
7 years ago
Richard Barry
025088c280
Fix regressions introduced by introduction of configMESSAGE_BUFFER_LENGTH_TYPE constant - specifically enabling big endian support and updates to xStreamBufferNextMessageLengthBytes.
7 years ago
Richard Barry
3ec86b7a98
Introduce sbBYTES_TO_STORE_MESSAGE_LENGTH to allow the number of bytes used to hold a message length in a message buffer to be reduced if 4 bytes is always too many (save a little RAM).
7 years ago
Richard Barry
aec45f2479
Import the code coverage test additions from the (unpublished) Visual Studio project to the (published) MingW/Eclipse project.
...
Update the MingW/Eclipse project to add a code coverage build configuration in addition to the existing Debug build configuration.
Update StreamBufferDemo.c so functions are called directly, rather than via configASSERT(), so their code coverage can be measured when configASSERT() is not defined.
In the Win32 port, replace the call to TerminateProcess() in vPortEndScheduler() with exit( 0 ) - which triggers the writing of the code coverage data to the disk.
Fix bug in ucStreamBufferGetStreamBufferType() - which is only used by the Percepio trace tool.
Update the line within vTaskStartScheduler() that was setting xTickCount to 0 to instead set it to configINITIAL_TICK_COUNT.
7 years ago
Richard Barry
bf8d9f4726
Start moving code coverage tests from VisualStudio (not checked in) to the MingW project (checked in) by creating a second build configuration in the Windows Eclipse project that includes the code coverage command line options. Additionally make minor code updates to ensure configASSERT() is not defined, and the application runs for a finite time, when the code coverage build configuration is used.
7 years ago
Richard Barry
c156522695
Complete testing of changes that allow xQueueOverwrite() to be used on a queue that is part of a queue set.
...
Fix some compiler warnings in stream_buffer.c.
Update the MingW/Eclipse project so it also includes static allocation tests.
7 years ago
Richard Barry
f9bef06ec0
Introduce xMessageBufferNextLengthBytes() and tests for the same.
...
Add call to traceTASK_SWITCHED_IN() in vTaskStartScheduler() so trace tools can see the first task to run.
7 years ago
Richard Barry
9ed3a9fe18
Fix buffer clean up in \FreeRTOS_Plus_TCP_Minimal_Windows_Simulator\demo_logging.c.
...
Update queue code to allow an overwrite operation on a queue that is in a queue set, and add prvTestQueueOverwriteWithQueueSet() to test function.
Update Eclipse Win32 project to bring it closer the the Visual Studio equivalent.
7 years ago
Richard Barry
ff74e7aa63
Allow IP address to be passed into gethostbyname().
...
Ensure xNetworkBuffersInitialise() doesn't use a semaphore before it has been tested against NULL.
7 years ago
Richard Barry
7ddb8b342d
Microblaze port: Place critical section around XIntc_Enable() to protect read/modify/write operation performed inside the library.
7 years ago
Richard Barry
208cc18a90
Ensure data cannot be sent to a TCP socket if the socket is in the process of closing.
...
Correct definition of StaticTask_t in the case that portUSE_MPU_WRAPPERS is set to 1.
prvTaskCheckFreeStackSpace() now returns configSTACK_DEPTH_TYPE to allow return values greater than max uint16_t value if required.
xStreamBufferSend() and xStreamBufferReceive() no longer clear task notification bits - clearing was unnecessary as only the task notification state is used.
7 years ago
Richard Barry
0fe82b4d91
Correct out of date comment in tasks.c.
...
Fix typo in comment in queue.h.
7 years ago
Richard Barry
13651934be
Roll up the minor changes checked into svn since V10.0.0 into new V10.0.1 ready for release.
7 years ago
Richard Barry
f998c8119a
Update license information text files for the CLI, TCP and UDP products to be correct for V10.
7 years ago
Richard Barry
0d903cf2d6
FreeRTOS+TCP: Added ipconfigSOCKET_HAS_USER_WAKE_CALLBACK configuration option so the user can specify a callback to execute when data arrives.
...
FreeRTOS+TCP: Improve print output when using WinPCap to assist in selecting the correct network interface.
FreeRTOS kernel: Fix extern "C" { in stream_buffer.h.
FreeRTOS kernel: Correct tskKERNEL_VERSION_NUMBER and tskKERNEL_VERSION_MAJOR constants for V10.
Ensure the currently executing task is printed correctly in vTaskList().
7 years ago
Richard Barry
cfc268814a
Update to MIT licensed FreeRTOS V10.0.0 - see https://www.freertos.org/History.txt
7 years ago
Richard Barry
e42a701e99
Add missing +TCP code.
8 years ago
Richard Barry
77e95538dc
Added +TCP code to main repo.
8 years ago
Richard Barry
037abdddf2
Update TriCore port to work with latest GCC compiler.
8 years ago
Richard Barry
b6f2402f3f
Update trace recorder source to fix some compile time warnings.
8 years ago
Richard Barry
2307bc9dfa
Add MSVC .vs directory to keep the IDE's windows layout.
8 years ago
Richard Barry
6eea3d8d4b
Correct long time mis-spelled portINITIAL_EXEC_RETURN to portINITIAL_EXC_RETURN
8 years ago
Richard Barry
3f74cd483b
Update linker script so main stack starts on 8-byte alignment.
8 years ago
Richard Barry
6b8eb1e936
Update IAR project for MSP432 to IAR version 8.11.
8 years ago
Richard Barry
2887612f27
FreeRTOS.h changes to go with the last tasks.c checkin.
8 years ago
Richard Barry
b5d8be2209
Remove obsolete code from prvCheckTasksWaitingTermination().
8 years ago
Richard Barry
533b533820
Fix typo in comment that got copied into multiple main.c file.s
8 years ago
Richard Barry
504d9c8bab
Update the FreeRTOS_Plus_CLI_with_Trace_Windows_Simulator demo to use the latest FreeRTOS+Trace recorder code.
8 years ago
Richard Barry
35f5990e7a
Update the MSVC and MingW demos to use the latest FreeRTOS+Trace recorder library.
8 years ago
Richard Barry
f289bfb388
Update to the latest trace recorder library.
8 years ago
Richard Barry
9f84f353d0
Remove configurations other than 'debug' from the Win32 demo.
8 years ago
Richard Barry
2e89c13c1c
Cosmetic changes only.
8 years ago
Richard Barry
a99cd32208
Updated name of CORTEX_MPU_CEC_MEC_17xx_Keil_GCC to CORTEX_MPU_CEC_MEC_17xx_51xx_Keil_GCC.
8 years ago
Richard Barry
59925359ed
Added traceQUEUE_CREATE_FAILED() trace macros into the queue create functions.
8 years ago
Richard Barry
b080f13543
Add more "memory" clobbers into the MPU ports to make them robust to more aggressive optimisation in newer GCC version.
8 years ago
Richard Barry
0f85ead175
Add more "memory" clobbers into asm code of GCC/ARM_CRx_No_GIC port to make it robust with higher optimisation in newer versions of GCC.
8 years ago
Richard Barry
0a7a0a79d6
Updates to prevent warnings when compiled with LLVM.
8 years ago
Richard Barry
8ca40d80a9
Ensure the PIC32 interrupt stack is 8 byte aligned for all values of configISR_STACK_SIZE.
8 years ago
Richard Barry
96db5a3600
PIC32MZ project using later MPLAB X tools.
8 years ago
Richard Barry
ffb228e448
Change name of the CEC and MEC directory to CORTEX_CEC_MEC_17xx_51xx_Keil_GCC as it is also applicable to the MEC5105 part.
8 years ago