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
Richard Barry
7fc04bfebe
Change name of the CEC and MEC directory to CORTEX_MPU_CEC_MEC_17xx_51xx_Keil_GCC as it is also applicable to the MEC5105 part.
8 years ago
Richard Barry
464c2660ad
Updates to the Cortex-M tickless idle code to reduce clock slippage.
...
Updates to prevent the vTaskSwitchContext() function being removed from GCC builds when link time optimisation is used.
8 years ago
Richard Barry
7ee26c1b5e
Enable button interrupts in the MSP432 demos in order to test code paths when an MCU exits low power mode for a reason other than a tick interrupt.
8 years ago
Richard Barry
aa810cb926
Ensure vTaskGetInfo() sets the sate of the currently running task to eRunning - previously it was set to eReady.
8 years ago
Richard Barry
3b2bbcb56a
Maintenance on MSP432 demo.
8 years ago
Richard Barry
ad5659e93d
Housekeeping check-in, no code changes.
8 years ago
Richard Barry
34b194150e
Add CEC and MEC 17xx demo that is completely statically allocated. NOT FULLY TESTED YET.
8 years ago
Richard Barry
b9fe24962e
Add additional memory barriers into ARM GCC asm code to ensure no re-ordering across asm code as optimisers get more aggressive.
8 years ago
Richard Barry
c3acc441ac
Introduce vTaskInternalSetTimeOutState() which does not have a critical section, and add a critical section to the public version of the same.
8 years ago
Richard Barry
9b213e8c34
Add SimpleLink CC3220SF demo.
8 years ago
Richard Barry
67def3c14b
Update Reliance Edge fail safe file system to the latest version.
8 years ago