]> git.sur5r.net Git - freertos/log
freertos
6 years agoFix issues whereby vStreamBufferReset() clobbered the flag that indicated the stream...
rtel [Wed, 20 Jun 2018 21:21:55 +0000 (21:21 +0000)]
Fix issues whereby vStreamBufferReset() clobbered the flag that indicated the stream buffer was statically allocated.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2554 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

6 years agoAdd starting point for IGLOO2 RISV-V demo project.
rtel [Wed, 20 Jun 2018 21:18:14 +0000 (21:18 +0000)]
Add starting point for IGLOO2 RISV-V demo project.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2553 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

6 years agoSmall change to the directory name in which the RISC-V port is stored.
rtel [Wed, 20 Jun 2018 21:15:04 +0000 (21:15 +0000)]
Small change to the directory name in which the RISC-V port is stored.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2552 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

6 years agoAdd RISCV port layer.
rtel [Wed, 20 Jun 2018 19:21:18 +0000 (19:21 +0000)]
Add RISCV port layer.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2551 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

6 years agoRemove period from the URL that links to the web page that describes the FreeRTOSConf...
rtel [Fri, 15 Jun 2018 00:03:20 +0000 (00:03 +0000)]
Remove period from the URL that links to the web page that describes the FreeRTOSConfig.h parameters.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2550 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

6 years agoAdd Xtensa port
gaurav-aws [Thu, 14 Jun 2018 19:43:17 +0000 (19:43 +0000)]
Add Xtensa port

The project file is for Xtensa Xplorer simulator.
Also add tests for one size stream buffer.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2549 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

6 years agoSync with TCP version from AWS, including:
rtel [Wed, 13 Jun 2018 21:16:22 +0000 (21:16 +0000)]
Sync with TCP version from AWS, including:
+ Add FreeRTOS_UpdateMACAddress().
+ Fix bug in lTCPWindowRxCheck() that manifested itself when flooded with lots of very small packets.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2548 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

6 years agoAdd the option to specify a stack size in the standard demo MessageBuffer tests.
rtel [Wed, 13 Jun 2018 16:50:16 +0000 (16:50 +0000)]
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.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2547 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

6 years agoFix misra violations in queue.c by introducing a union that allows the correct data...
rtel [Mon, 11 Jun 2018 18:51:53 +0000 (18:51 +0000)]
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.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2546 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

6 years agoTimerHandle_t is now type safe instead of void *.
rtel [Mon, 11 Jun 2018 04:43:12 +0000 (04:43 +0000)]
TimerHandle_t is now type safe instead of void *.
Remove casts that are no longer required not type safe handles are used.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2545 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

6 years agoContinue updating to MISRA 2012 from 2004 - currently working on queue.c and committi...
rtel [Mon, 11 Jun 2018 01:56:32 +0000 (01:56 +0000)]
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 *.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2544 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

6 years agoRemove casts from EventGroupHandle_t to EventGroup_t, and corresponding lint comments...
rtel [Mon, 4 Jun 2018 04:02:57 +0000 (04:02 +0000)]
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).

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2543 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

6 years agoFirst pass at updating from MISRA 2004 to MISRA 2012:
rtel [Sun, 3 Jun 2018 22:57:46 +0000 (22:57 +0000)]
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.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2542 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

6 years agoMinor updates to comments only.
rtel [Thu, 17 May 2018 17:50:14 +0000 (17:50 +0000)]
Minor updates to comments only.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2541 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

6 years agoUpdate definition of StaticTimer_t so its size is correct on MSP403X large memory...
rtel [Mon, 7 May 2018 16:31:50 +0000 (16:31 +0000)]
Update definition of StaticTimer_t so its size is correct on MSP403X large memory model builds.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2540 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

6 years agoPreviously the MPSoC Cortex-A53 demo was updated to the latest Xilinx SDK tools to...
rtel [Fri, 4 May 2018 15:06:50 +0000 (15:06 +0000)]
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.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2539 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

6 years agoUpdate Zynq, MPSoc Cortex-A53 and MPSoc Cortex-R5 demo projects to build with the...
rtel [Wed, 2 May 2018 04:04:54 +0000 (04:04 +0000)]
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.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2538 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

6 years agoxTaskGenericNotify() now sets xYieldPending to pdTRUE even when the 'higher priority...
rtel [Sun, 29 Apr 2018 18:15:38 +0000 (18:15 +0000)]
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.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2537 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

6 years agoFix regressions introduced by introduction of configMESSAGE_BUFFER_LENGTH_TYPE consta...
rtel [Thu, 15 Mar 2018 18:31:02 +0000 (18:31 +0000)]
Fix regressions introduced by introduction of configMESSAGE_BUFFER_LENGTH_TYPE constant - specifically enabling big endian support and updates to xStreamBufferNextMessageLengthBytes.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2536 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

6 years agoIntroduce sbBYTES_TO_STORE_MESSAGE_LENGTH to allow the number of bytes used to hold...
rtel [Thu, 15 Mar 2018 15:51:22 +0000 (15:51 +0000)]
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).

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2535 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

6 years agoImport the code coverage test additions from the (unpublished) Visual Studio project...
rtel [Wed, 14 Mar 2018 15:58:47 +0000 (15:58 +0000)]
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.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2534 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

6 years agoStart moving code coverage tests from VisualStudio (not checked in) to the MingW...
rtel [Tue, 6 Mar 2018 17:23:55 +0000 (17:23 +0000)]
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.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2533 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

6 years agoComplete testing of changes that allow xQueueOverwrite() to be used on a queue that...
rtel [Mon, 5 Mar 2018 21:35:50 +0000 (21:35 +0000)]
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.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2532 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

6 years agoIntroduce xMessageBufferNextLengthBytes() and tests for the same.
rtel [Sun, 4 Mar 2018 19:25:14 +0000 (19:25 +0000)]
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.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2531 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

6 years agoFix buffer clean up in \FreeRTOS_Plus_TCP_Minimal_Windows_Simulator\demo_logging.c.
rtel [Mon, 26 Feb 2018 21:22:44 +0000 (21:22 +0000)]
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.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2530 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

6 years agoAllow IP address to be passed into gethostbyname().
rtel [Sun, 18 Feb 2018 19:58:26 +0000 (19:58 +0000)]
Allow IP address to be passed into gethostbyname().
Ensure xNetworkBuffersInitialise() doesn't use a semaphore before it has been tested against NULL.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2529 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

6 years agoMicroblaze port: Place critical section around XIntc_Enable() to protect read/modify...
rtel [Tue, 30 Jan 2018 17:42:12 +0000 (17:42 +0000)]
Microblaze port:  Place critical section around XIntc_Enable() to protect read/modify/write operation performed inside the library.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2528 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

6 years agoEnsure data cannot be sent to a TCP socket if the socket is in the process of closing.
rtel [Tue, 30 Jan 2018 17:39:14 +0000 (17:39 +0000)]
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.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2527 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

6 years agoCorrect out of date comment in tasks.c.
rtel [Thu, 28 Dec 2017 20:20:26 +0000 (20:20 +0000)]
Correct out of date comment in tasks.c.
Fix typo in comment in queue.h.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2526 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

6 years agoRoll up the minor changes checked into svn since V10.0.0 into new V10.0.1 ready for... V10.0.1
rtel [Mon, 18 Dec 2017 22:54:18 +0000 (22:54 +0000)]
Roll up the minor changes checked into svn since V10.0.0 into new V10.0.1 ready for release.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2524 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

6 years agoUpdate license information text files for the CLI, TCP and UDP products to be correct...
rtel [Wed, 13 Dec 2017 17:00:13 +0000 (17:00 +0000)]
Update license information text files for the CLI, TCP and UDP products to be correct for V10.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2523 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

6 years agoFreeRTOS+TCP: Added ipconfigSOCKET_HAS_USER_WAKE_CALLBACK configuration option so...
rtel [Tue, 12 Dec 2017 17:47:56 +0000 (17:47 +0000)]
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().

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2522 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

6 years agoUpdate to MIT licensed FreeRTOS V10.0.0 - see https://www.freertos.org/History.txt V10.0.0
rtel [Wed, 29 Nov 2017 16:53:26 +0000 (16:53 +0000)]
Update to MIT licensed FreeRTOS V10.0.0 - see https://www.freertos.org/History.txt

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2519 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

7 years agoAdd missing +TCP code.
rtel [Thu, 17 Aug 2017 12:26:43 +0000 (12:26 +0000)]
Add missing +TCP code.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2518 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

7 years agoAdded +TCP code to main repo.
rtel [Thu, 17 Aug 2017 12:18:14 +0000 (12:18 +0000)]
Added +TCP code to main repo.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2517 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

7 years agoUpdate TriCore port to work with latest GCC compiler.
rtel [Wed, 9 Aug 2017 16:57:35 +0000 (16:57 +0000)]
Update TriCore port to work with latest GCC compiler.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2516 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

7 years agoUpdate trace recorder source to fix some compile time warnings.
rtel [Thu, 1 Jun 2017 14:16:16 +0000 (14:16 +0000)]
Update trace recorder source to fix some compile time warnings.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2515 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

7 years agoAdd MSVC .vs directory to keep the IDE's windows layout.
rtel [Thu, 1 Jun 2017 14:15:24 +0000 (14:15 +0000)]
Add MSVC .vs directory to keep the IDE's windows layout.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2514 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

7 years agoCorrect long time mis-spelled portINITIAL_EXEC_RETURN to portINITIAL_EXC_RETURN
rtel [Tue, 30 May 2017 00:36:09 +0000 (00:36 +0000)]
Correct long time mis-spelled portINITIAL_EXEC_RETURN to portINITIAL_EXC_RETURN

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2513 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

7 years agoUpdate linker script so main stack starts on 8-byte alignment.
rtel [Tue, 30 May 2017 00:17:14 +0000 (00:17 +0000)]
Update linker script so main stack starts on 8-byte alignment.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2512 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

7 years agoUpdate IAR project for MSP432 to IAR version 8.11.
rtel [Tue, 30 May 2017 00:03:31 +0000 (00:03 +0000)]
Update IAR project for MSP432 to IAR version 8.11.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2511 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

7 years agoFreeRTOS.h changes to go with the last tasks.c checkin.
rtel [Mon, 29 May 2017 23:08:34 +0000 (23:08 +0000)]
FreeRTOS.h changes to go with the last tasks.c checkin.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2510 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

7 years agoRemove obsolete code from prvCheckTasksWaitingTermination().
rtel [Mon, 29 May 2017 22:55:09 +0000 (22:55 +0000)]
Remove obsolete code from prvCheckTasksWaitingTermination().

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2509 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

7 years agoFix typo in comment that got copied into multiple main.c file.s
rtel [Mon, 29 May 2017 22:06:54 +0000 (22:06 +0000)]
Fix typo in comment that got copied into multiple main.c file.s

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2508 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

7 years agoUpdate the FreeRTOS_Plus_CLI_with_Trace_Windows_Simulator demo to use the latest...
rtel [Mon, 29 May 2017 22:05:25 +0000 (22:05 +0000)]
Update the FreeRTOS_Plus_CLI_with_Trace_Windows_Simulator demo to use the latest FreeRTOS+Trace recorder code.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2507 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

7 years agoUpdate the MSVC and MingW demos to use the latest FreeRTOS+Trace recorder library.
rtel [Mon, 29 May 2017 21:45:31 +0000 (21:45 +0000)]
Update the MSVC and MingW demos to use the latest FreeRTOS+Trace recorder library.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2506 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

7 years agoUpdate to the latest trace recorder library.
rtel [Mon, 29 May 2017 21:43:07 +0000 (21:43 +0000)]
Update to the latest trace recorder library.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2505 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

7 years agoRemove configurations other than 'debug' from the Win32 demo.
rtel [Sun, 7 May 2017 18:22:31 +0000 (18:22 +0000)]
Remove configurations other than 'debug' from the Win32 demo.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2504 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

7 years agoCosmetic changes only.
rtel [Wed, 26 Apr 2017 00:23:57 +0000 (00:23 +0000)]
Cosmetic changes only.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2503 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

7 years agoUpdated name of CORTEX_MPU_CEC_MEC_17xx_Keil_GCC to CORTEX_MPU_CEC_MEC_17xx_51xx_Keil...
rtel [Thu, 20 Apr 2017 05:33:05 +0000 (05:33 +0000)]
Updated name of CORTEX_MPU_CEC_MEC_17xx_Keil_GCC to CORTEX_MPU_CEC_MEC_17xx_51xx_Keil_GCC.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2502 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

7 years agoAdded traceQUEUE_CREATE_FAILED() trace macros into the queue create functions.
rtel [Mon, 10 Apr 2017 01:58:58 +0000 (01:58 +0000)]
Added traceQUEUE_CREATE_FAILED() trace macros into the queue create functions.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2501 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

7 years agoAdd more "memory" clobbers into the MPU ports to make them robust to more aggressive...
rtel [Mon, 10 Apr 2017 01:58:01 +0000 (01:58 +0000)]
Add more "memory" clobbers into the MPU ports to make them robust to more aggressive optimisation in newer GCC version.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2500 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

7 years agoAdd more "memory" clobbers into asm code of GCC/ARM_CRx_No_GIC port to make it robust...
rtel [Mon, 10 Apr 2017 01:01:11 +0000 (01:01 +0000)]
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.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2499 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

7 years agoUpdates to prevent warnings when compiled with LLVM.
rtel [Mon, 10 Apr 2017 00:26:22 +0000 (00:26 +0000)]
Updates to prevent warnings when compiled with LLVM.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2498 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

7 years agoEnsure the PIC32 interrupt stack is 8 byte aligned for all values of configISR_STACK_...
rtel [Sun, 9 Apr 2017 20:13:48 +0000 (20:13 +0000)]
Ensure the PIC32 interrupt stack is 8 byte aligned for all values of configISR_STACK_SIZE.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2497 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

7 years agoPIC32MZ project using later MPLAB X tools.
rtel [Sun, 9 Apr 2017 19:35:32 +0000 (19:35 +0000)]
PIC32MZ project using later MPLAB X tools.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2496 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

7 years agoChange name of the CEC and MEC directory to CORTEX_CEC_MEC_17xx_51xx_Keil_GCC as...
rtel [Tue, 4 Apr 2017 20:21:40 +0000 (20:21 +0000)]
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.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2495 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

7 years agoChange name of the CEC and MEC directory to CORTEX_MPU_CEC_MEC_17xx_51xx_Keil_GCC...
rtel [Tue, 4 Apr 2017 20:16:37 +0000 (20:16 +0000)]
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.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2494 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

7 years agoUpdates to the Cortex-M tickless idle code to reduce clock slippage.
rtel [Tue, 28 Mar 2017 03:13:48 +0000 (03:13 +0000)]
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.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2493 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

7 years agoEnable button interrupts in the MSP432 demos in order to test code paths when an...
rtel [Tue, 28 Mar 2017 03:12:20 +0000 (03:12 +0000)]
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.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2492 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

7 years agoEnsure vTaskGetInfo() sets the sate of the currently running task to eRunning - previ...
rtel [Mon, 27 Mar 2017 20:31:03 +0000 (20:31 +0000)]
Ensure vTaskGetInfo() sets the sate of the currently running task to eRunning - previously it was set to eReady.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2491 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

7 years agoMaintenance on MSP432 demo.
rtel [Thu, 9 Mar 2017 02:13:40 +0000 (02:13 +0000)]
Maintenance on MSP432 demo.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2490 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

7 years agoHousekeeping check-in, no code changes.
rtel [Wed, 8 Mar 2017 22:19:14 +0000 (22:19 +0000)]
Housekeeping check-in, no code changes.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2489 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

7 years agoAdd CEC and MEC 17xx demo that is completely statically allocated. NOT FULLY TESTED...
rtel [Wed, 8 Mar 2017 18:38:02 +0000 (18:38 +0000)]
Add CEC and MEC 17xx demo that is completely statically allocated.  NOT FULLY TESTED YET.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2488 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

7 years agoAdd additional memory barriers into ARM GCC asm code to ensure no re-ordering across...
rtel [Tue, 7 Mar 2017 04:06:10 +0000 (04:06 +0000)]
Add additional memory barriers into ARM GCC asm code to ensure no re-ordering across asm code as optimisers get more aggressive.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2487 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

7 years agoIntroduce vTaskInternalSetTimeOutState() which does not have a critical section,...
rtel [Fri, 24 Feb 2017 02:16:54 +0000 (02:16 +0000)]
Introduce vTaskInternalSetTimeOutState() which does not have a critical section, and add a critical section to the public version of the same.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2486 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

7 years agoAdd SimpleLink CC3220SF demo.
rtel [Fri, 24 Feb 2017 02:12:27 +0000 (02:12 +0000)]
Add SimpleLink CC3220SF demo.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2485 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

7 years agoUpdate Reliance Edge fail safe file system to the latest version.
rtel [Tue, 24 Jan 2017 00:20:35 +0000 (00:20 +0000)]
Update Reliance Edge fail safe file system to the latest version.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2484 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

7 years agoUpdate version number in preparation for maintenance release.
rtel [Sun, 22 Jan 2017 05:28:13 +0000 (05:28 +0000)]
Update version number in preparation for maintenance release.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2483 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

7 years agoUpdate UltraScale R5 hardware definition and BSP for 2016.4 SDK tools.
rtel [Sat, 21 Jan 2017 21:59:25 +0000 (21:59 +0000)]
Update UltraScale R5 hardware definition and BSP for 2016.4 SDK tools.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2482 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

7 years agoUpdate Zynq MPSoC hardware definition and BSP files to be those shipped with the...
rtel [Thu, 19 Jan 2017 16:33:13 +0000 (16:33 +0000)]
Update Zynq MPSoC hardware definition and BSP files to be those shipped with the 2016.4 SDK.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2481 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

7 years agoUpdate BSP source files for UltraScale Cortex-A53 and Cortex-R5 and Microblaze to...
rtel [Thu, 19 Jan 2017 04:11:21 +0000 (04:11 +0000)]
Update BSP source files for UltraScale Cortex-A53 and Cortex-R5 and Microblaze to the 2016.4 versions.
Correct alignment issue in GCC Cortex-R port that was preventing full floating point usage in interrupts (other ports will be updated likewise).
Update the UltraScale R5 demo to test the GCC Cortex-A9 port layer modification mentioned on the line above.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2480 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

7 years agoCorrect alignment issue in GCC and RVDS Cortex-A9 port that was preventing full float...
rtel [Wed, 18 Jan 2017 18:33:48 +0000 (18:33 +0000)]
Correct alignment issue in GCC and RVDS Cortex-A9 port that was preventing full floating point usage in interrupts (other ports will be updated likewise).
Update the Zynq demo to test the GCC Cortex-A9 port layer modification mentioned on the line above.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2479 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

7 years agoEnhanced priority dis-inheritance functionality in the case where a task that caused...
rtel [Mon, 16 Jan 2017 03:58:51 +0000 (03:58 +0000)]
Enhanced priority dis-inheritance functionality in the case where a task that caused another task to inherit its priority times out before obtain a mutex.
Added test code to GenQTest to test the new priority dis-inheritance functionality.
Allow the default names given to the Idle and Timer tasks to be overwridden by definitions in FreeRTOSConfig.h.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2478 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

7 years agoRename the CORTEX_MPU_MEC17xx_KEIL_GCC directory to CORTEX_MPU_CEC_MEC_Keil_GCC as...
rtel [Mon, 9 Jan 2017 21:29:42 +0000 (21:29 +0000)]
Rename the CORTEX_MPU_MEC17xx_KEIL_GCC directory to CORTEX_MPU_CEC_MEC_Keil_GCC as it is also applicable to the CEC17xx parts.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2477 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

7 years agoChange how volatile is used in some of the standard demos to remove compiler warnings...
rtel [Wed, 4 Jan 2017 05:07:12 +0000 (05:07 +0000)]
Change how volatile is used in some of the standard demos to remove compiler warnings in the latest GCC versions.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2476 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

7 years agoIncrease the priority of the Windows threads used by the FreeRTOS Windows port, and...
rtel [Wed, 4 Jan 2017 04:48:22 +0000 (04:48 +0000)]
Increase the priority of the Windows threads used by the FreeRTOS Windows port, and, because the threads have high priority and run on the same core, prevent the port running on single core hosts so as to avoid locking up the host.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2475 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

7 years agoAdd MPU project for multiple MEC17xx devices.
rtel [Sun, 11 Dec 2016 22:56:30 +0000 (22:56 +0000)]
Add MPU project for multiple MEC17xx devices.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2474 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

7 years agoUpdate TaskNotify.c to test the condition where a direct to task notification is...
rtel [Fri, 25 Nov 2016 21:07:56 +0000 (21:07 +0000)]
Update TaskNotify.c to test the condition where a direct to task notification is sent to a suspended task.
Introduce configSTACK_DEPTH_TYPE so the application writer change the type used to specify a stack size from uint16_t to whatever they like.  Defaults to uint16_t if not defined.
Introduce configINITIAL_TICK_COUNT to allow users to start the tick count at something other than 0.  Used for testing, but overflows can be better tested by setting configUSE_16_BIT_TICKS to 1.
Split xQueueGenericReceive() into xQueueReceive(), xQueuePeek() and xQueueSemaphoreTake() as the first step in refactoring xQueueGenericReceive().
Add Cortex-M3 port layer for Code Composer Studio - previously there was only a Cortex-M4F port.
Introduce configPRE_SUPPRESS_TICKS_AND_SLEEP_PROCESSING() to allow applications to prevent portSUPPRESS_TICKS_AND_SLEEP() being called.  Previously the portPRE_SLEEP_PROCESSING() macro could only be used to abort entry into sleep time after clocks had been re-programmed for the distant wake time.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2473 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

8 years agoUpdate version of Reliance Edge.
rtel [Mon, 21 Nov 2016 04:30:49 +0000 (04:30 +0000)]
Update version of Reliance Edge.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2472 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

8 years agoAdd support for statically allocated memory protected tasks - previously only dynamic...
rtel [Tue, 20 Sep 2016 13:54:28 +0000 (13:54 +0000)]
Add support for statically allocated memory protected tasks - previously only dynamically allocated tasks could be memory protected.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2471 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

8 years agoCorrect the definition of StaticTask_t and add additional configASSERT() statements...
rtel [Wed, 14 Sep 2016 08:21:24 +0000 (08:21 +0000)]
Correct the definition of StaticTask_t and add additional configASSERT() statements to catch future errors.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2470 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

8 years agoIntroduce configRECORD_STACK_HIGH_ADDRESS, which when set will result in both limits...
rtel [Sun, 4 Sep 2016 15:46:34 +0000 (15:46 +0000)]
Introduce configRECORD_STACK_HIGH_ADDRESS, which when set will result in both limits of the stack being saved in the TCB to allow enhanced debug capabilities.
Introduce configINCLUDE_FREERTOS_TASK_C_ADDITIONS_H, which allows a user provided header file to be included at the bottom of the tasks.c source file, which can add user functions and access file scope data.
Replace global on/off switches used for lint errors with save/restore switches.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2469 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

8 years agoClean up lint errors.
rtel [Tue, 16 Aug 2016 13:44:30 +0000 (13:44 +0000)]
Clean up lint errors.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2468 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

8 years agoChanges to core code and port layer:
rtel [Tue, 16 Aug 2016 11:38:58 +0000 (11:38 +0000)]
Changes to core code and port layer:
    + Add configASSERT() into ARM Cortex-M ports to check the number of priority
      bit settings.
    + Clear the 'control' register before starting ARM Cortex-M4F ports in case
      the FPU is used before the scheduler is started.  This just saves a few
      bytes on the main stack as it prevents space being left for a later save
      of FPU registers.
    + Added xSemaphoreGetMutexHolderFromISR().
    + Corrected use of portNVIC_PENDSVSET to portNVIC_PENDSVSET_BIT in MPU ports.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2467 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

8 years agoRemove clrex instruction from Cortex-M ports again as it is implicit in interrupt...
rtel [Tue, 28 Jun 2016 10:39:25 +0000 (10:39 +0000)]
Remove clrex instruction from Cortex-M ports again as it is implicit in interrupt entry.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2466 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

8 years agoImprovements to the Cortex-M ports:
rtel [Mon, 27 Jun 2016 13:13:05 +0000 (13:13 +0000)]
Improvements to the Cortex-M ports:
- Clear the SysTick current value register before starting the SysTick (only required if something uses SysTick before starting the scheduler).
- Ensure atomic operations are thread safe by executing clrex in the context switch.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2465 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

8 years agoFinal check in before tagging V9.0.0. V9.0.0
rtel [Wed, 25 May 2016 11:47:42 +0000 (11:47 +0000)]
Final check in before tagging V9.0.0.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2463 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

8 years agoPrepare for V9.0.0 release:
rtel [Fri, 20 May 2016 18:05:46 +0000 (18:05 +0000)]
Prepare for V9.0.0 release:
+ Change version number from V9.0.0rc2 to V9.0.0.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2462 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

8 years agoPreparing for V9.0.0 formal release:
rtel [Fri, 20 May 2016 12:18:59 +0000 (12:18 +0000)]
Preparing for V9.0.0 formal release:
+ Update various projects to use the latest versions of their build tools.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2461 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

8 years agoPrepare for V9.0.0 release.
rtel [Thu, 19 May 2016 13:28:12 +0000 (13:28 +0000)]
Prepare for V9.0.0 release.
+ Set flash wait states on MSP432 demos.
+ Remove use of obsolete IO library in PIC32 demos.
+ Remove obsolete item left on stack of first task to run in the Cortex-M0 ports.
+ Correct IA32 GCC vPortExitCritical() implementation when configMAX_API_CALL_INTERRUPT_PRIORITY == portMAX_PRIORITY.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2460 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

8 years agoIncrease the test coverage of the GCC MPU demo that runs in the Keil simulator.
rtel [Wed, 18 May 2016 19:51:14 +0000 (19:51 +0000)]
Increase the test coverage of the GCC MPU demo that runs in the Keil simulator.
Add an MPU demo that uses the Keil simulator that also uses the Keil compiler.
Correct a few version numbers for files recently added to the repository.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2459 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

8 years agoAdd GCC ARM Cortex-M4F MPU port.
rtel [Wed, 18 May 2016 10:41:28 +0000 (10:41 +0000)]
Add GCC ARM Cortex-M4F MPU port.
Add RVDS ARM Cortex-M4F MPU port.
Increase the size of each buffer allocated to pbufs in the Microblaze lwIP demo to prevent pbufs chaining.
Use _start as the top of the stack for each Microblaze task, rather than NULL, as NULL was causing the Xilinx SDK to try and unwind the stack too far.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2458 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

8 years agoRecreated MicroBlaze example using Vivado 2016.1 - the Microblaze project is still...
rtel [Tue, 10 May 2016 14:05:22 +0000 (14:05 +0000)]
Recreated MicroBlaze example using Vivado 2016.1 - the Microblaze project is still a work in progress - not yet fully functional.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2457 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

8 years agoUpdate the Microblaze hardware design and BSP to the latest IP and tool versions.
rtel [Mon, 9 May 2016 15:55:51 +0000 (15:55 +0000)]
Update the Microblaze hardware design and BSP to the latest IP and tool versions.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2456 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

8 years agoUpdate some more standard demos for use on 64-bit architectures.
rtel [Fri, 6 May 2016 12:40:27 +0000 (12:40 +0000)]
Update some more standard demos for use on 64-bit architectures.
Update the Xilinx Ultrascale+ Cortex-A53 (64-bit) and Cortex-R5 (32-bit) demos to use version 2016.1 of the SDK.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2455 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

8 years agoUpdate the Xilinx UltraScale+ demo project to use the BSP and hardware platform gener...
rtel [Thu, 28 Apr 2016 12:49:19 +0000 (12:49 +0000)]
Update the Xilinx UltraScale+ demo project to use the BSP and hardware platform generated by the 2016.1 version of the SDK.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2454 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

8 years agoUpdate the Xilinx UltraScale+ 64-bit demo to use the hardware definition and BSP...
rtel [Thu, 28 Apr 2016 12:23:52 +0000 (12:23 +0000)]
Update the Xilinx UltraScale+ 64-bit demo to use the hardware definition and BSP from version 2016.1 of the SDK.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2453 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

8 years agoCompletely re-generate the Zynq 7000 demo using the 2016.1 SDK tools.
rtel [Mon, 25 Apr 2016 17:24:54 +0000 (17:24 +0000)]
Completely re-generate the Zynq 7000 demo using the 2016.1 SDK tools.
Introduce configUSE_TASK_FPU_SUPPORT into the GCC Cortex-A9 port to allow tasks to have an FPU context by default.
Add MikroC Cortex-M4F port.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2452 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

8 years agoRemove Zynq 7000 project so it can be re-created using the 2016.1 edition of the...
rtel [Mon, 25 Apr 2016 13:37:57 +0000 (13:37 +0000)]
Remove Zynq 7000 project so it can be re-created using the 2016.1 edition of the SDK.

git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2451 1d2547de-c912-0410-9cb9-b8ca96c0e9e2