]> git.sur5r.net Git - freertos/log
freertos
8 years agoFinal commit before tagging - cosmetic changes only. V8.2.2
rtel [Wed, 12 Aug 2015 16:45:24 +0000 (16:45 +0000)]
Final commit before tagging - cosmetic changes only.

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

8 years agoFinal preparation for new release:
rtel [Wed, 12 Aug 2015 10:34:30 +0000 (10:34 +0000)]
Final preparation for new release:

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.

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

8 years agoUpdate version numbers in preparation for new release.
rtel [Wed, 5 Aug 2015 12:59:42 +0000 (12:59 +0000)]
Update version numbers in preparation for new release.

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

8 years agoAdd FreeRTOS BSP for Xilinx SDK.
rtel [Wed, 5 Aug 2015 10:21:59 +0000 (10:21 +0000)]
Add FreeRTOS BSP for Xilinx SDK.

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

8 years agoCommon scheduler code:
rtel [Tue, 4 Aug 2015 17:36:55 +0000 (17:36 +0000)]
Common scheduler code:

- Back out changes that allow mutexes to be given from a semaphore after tests showed issues that would not be fast to fix.

Demo projects:

- Update the Microblaze Kintex 7 project and BSP to use version 2015.2 of the Xilinx SDK.

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

8 years agoPreparing for next release...
rtel [Sat, 1 Aug 2015 15:00:22 +0000 (15:00 +0000)]
Preparing for next release...

Zynq ZC702 demo application:
Update the memcpy, memset and memcmp implementations so they don't err with -O3 optimisation.
Update to use the 2015.2 version of the SDK.

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

8 years agoPreparing for new release...
rtel [Sat, 1 Aug 2015 07:03:32 +0000 (07:03 +0000)]
Preparing for new release...

Kernel changes:
- Remove an assert that was preventing xQueueSendFromISR() being used to give a mutex from an ISR (mutexes cannot be given using xSemaphoreGiveFromISR()).
- Introduce xTaskNotifyAndQueryFromISR() as the interrupt safe version of xTaskNotifyAndQuery().

Common demo task changes:
- Update IntSemTest.c to prove the theory that it is safe to give a mutex type semaphore from an interrupt using xQueueSendFromISR() instead of xSemaphoreGiveFromISR().
- Update TaskNotify.c to test the new xTaskNotifyAndQuery() from ISR fuction.

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

8 years agoAdd resource filters to the Eclipse project used to build the Galileo demo.
rtel [Thu, 30 Jul 2015 21:13:03 +0000 (21:13 +0000)]
Add resource filters to the Eclipse project used to build the Galileo demo.

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

8 years agoPreparing for the next release...
rtel [Thu, 30 Jul 2015 11:46:30 +0000 (11:46 +0000)]
Preparing for the next release...
New port and demo project:  Intel Galileo.

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

8 years agoPreparing for the next release...
rtel [Thu, 30 Jul 2015 11:37:33 +0000 (11:37 +0000)]
Preparing for the next release...

PIC32MZ demo application:
- Update to use the latest XC32 compiler.

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

8 years agoStarting to prepare for the next release...
rtel [Thu, 30 Jul 2015 11:30:05 +0000 (11:30 +0000)]
Starting to prepare for the next release...

Core FreeRTOS code:
+ Added PRIVILEGED_FUNCTION qualifier to those functions from which it was previously missing.

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

8 years agoMSP430:
rtel [Sun, 26 Jul 2015 16:41:12 +0000 (16:41 +0000)]
MSP430:
Add additional NOPs as required by hardware manual.

Microblaze:
Previously a task inherited the exception enable state from the context from which xTaskCreate() was called.  Now tasks all have exceptions enabled if they are enabled in the hardware.

Windows/GCC:
Improve the implementation of portGET_HIGHEST_PRIORITY.

Common code:
Simplify the pointer use in xQueueGenericCreate()

Demo apps:
Remove jpg images that were used to create web pages.
Fix capitalisation issues in some demos where some header files are incldued with the wrong case, preventing building on Linux.
Remove the Microblaze demos that are using obsolete tools.
Update main_blinky for the Windows port demo to include a software timer example.

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

8 years agoCorrect calculation of xHeapStructSize in heap_4 and heap_5.
rtel [Thu, 25 Jun 2015 12:14:54 +0000 (12:14 +0000)]
Correct calculation of xHeapStructSize in heap_4 and heap_5.
Convert uint32_t types to size_t types in heap_5.c, as was previously done for heap_4.c.

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

8 years agoAdd back some files essential for the PIC32MZ build.
rtel [Wed, 24 Jun 2015 16:49:21 +0000 (16:49 +0000)]
Add back some files essential for the PIC32MZ build.

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

8 years agoMicroblaze: Add a port optimised task selection implementation to the Microblaze...
rtel [Wed, 24 Jun 2015 15:10:03 +0000 (15:10 +0000)]
Microblaze:  Add a port optimised task selection implementation to the Microblaze port.
Windows port:  Add code to ensure Windows threads are truely suspended before resuming another thread.
Typo correction to the task notification standard demo task.
Correct case of some include file names to fix build issues on Linux.

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

8 years agoAdd SAMV7 (Cortex-M7) demo for Atmel Studio.
rtel [Tue, 16 Jun 2015 12:38:35 +0000 (12:38 +0000)]
Add SAMV7 (Cortex-M7) demo for Atmel Studio.

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

8 years agoUpdate library files used in STM32F7 demo to the latest version released by ST.
rtel [Thu, 4 Jun 2015 15:35:12 +0000 (15:35 +0000)]
Update library files used in STM32F7 demo to the latest version released by ST.

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

8 years agoKernel changes to improve power saving:
rtel [Wed, 20 May 2015 15:46:40 +0000 (15:46 +0000)]
Kernel changes to improve power saving:
+ The timer task now blocks indefinitely if there are no timers active, allowing eTaskConfirmSleepModeStatus to return eNoTasksWaitingTimeout when configUSE_TIMERS is set to 1.
+ The next unblock time is calculated automatically after a task unblocks when waiting for a notification, allowing deep sleep to be entered earlier.

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

8 years agoFinalise MSP43FR5969 IAR and CCS demos (hopefully).
rtel [Tue, 28 Apr 2015 13:53:30 +0000 (13:53 +0000)]
Finalise MSP43FR5969 IAR and CCS demos (hopefully).

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

8 years agoAdd CCS project for MSP430FR5969 demo.
rtel [Mon, 27 Apr 2015 15:23:29 +0000 (15:23 +0000)]
Add CCS project for MSP430FR5969 demo.

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

8 years agoChange some data types in heap_4.c to allow it to be used on hardware that has 16...
rtel [Mon, 27 Apr 2015 11:14:11 +0000 (11:14 +0000)]
Change some data types in heap_4.c to allow it to be used on hardware that has 16-bit pointers without generating compiler warnings.
Add a small data model configuration to the MSP43FR5969 IAR demo.
Correct some code comments in the SAMA5D4 demo.

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

8 years agoRename /Demo/MSP430FR5969_LaunchPad to /Demo/MSP430X_MSP430FR5969_LaunchPad for consi...
rtel [Fri, 24 Apr 2015 11:42:25 +0000 (11:42 +0000)]
Rename /Demo/MSP430FR5969_LaunchPad to /Demo/MSP430X_MSP430FR5969_LaunchPad for consistency with other MSP430 demo directory names.
Fixed typos in comments repeated in multiple source files.

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

8 years agoComplete large memory model MSP430FR5969 demo - including CLI and run-time stats.
rtel [Fri, 24 Apr 2015 11:34:19 +0000 (11:34 +0000)]
Complete large memory model MSP430FR5969 demo - including CLI and run-time stats.

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

9 years agoStart of an MSP430FR5969 IAR project - currently running Blinky only.
rtel [Wed, 22 Apr 2015 15:36:44 +0000 (15:36 +0000)]
Start of an MSP430FR5969 IAR project - currently running Blinky only.

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

9 years agoUpdate TimerDemo.c to test the new vTimerSetTimerID() function.
rtel [Mon, 13 Apr 2015 19:58:51 +0000 (19:58 +0000)]
Update TimerDemo.c to test the new vTimerSetTimerID() function.
Update WinPCap NetworkInterface.c for FreeRTOS+UDP to correctly store a pointer to the network buffer structure at the beginning of the network buffer.

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

9 years agoAdd the errno definitions used by FreeRTOS+TCP and FreeRTOS+FAT into FreeRTOS's projd...
rtel [Mon, 13 Apr 2015 18:45:02 +0000 (18:45 +0000)]
Add the errno definitions used by FreeRTOS+TCP and FreeRTOS+FAT into 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.

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

9 years agoFinal V8.2.1 release ready for tagging: V8.2.1
rtel [Tue, 24 Mar 2015 15:24:49 +0000 (15:24 +0000)]
Final V8.2.1 release ready for tagging:
+ Added MSP432 (ARM Cortex-M4F MSP430!) demos for IAR, Keil and CCS.
+ Renamed directory containing demo for STM32F7 ARM Cortex-M7.
+ Renamed directory containing demo for SAMV71 ARM Cortex-M7.
+ Introduced xTaskNotifyAndQuery().

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

9 years agoUpdate version number ready for V8.2.1 release.
rtel [Sat, 21 Mar 2015 21:03:42 +0000 (21:03 +0000)]
Update version number ready for V8.2.1 release.

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

9 years agoKernel changes:
rtel [Sat, 21 Mar 2015 14:01:43 +0000 (14:01 +0000)]
Kernel changes:
Exclude the entire croutine.c file when configUSE_CO_ROUTINES is 0.

New ports:
Added Cortex-M7 IAR and Keil port layers that include a minor errata workaround r0p1 Cortex-M7 devices.
Added Cortex-M4F port layer for CCS.

New demo applications:
Added demo application for STM32F7.
Added demo application for SAMv71.

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

9 years agoMinor updates relating to formatting and comments only.
rtel [Fri, 20 Mar 2015 15:43:20 +0000 (15:43 +0000)]
Minor updates relating to formatting and comments only.

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

9 years agoMinor updates to the Microblaze KC702 demo to allow easier connection from a Telnet...
rtel [Mon, 16 Mar 2015 11:22:43 +0000 (11:22 +0000)]
Minor updates to the Microblaze KC702 demo to allow easier connection from a Telnet server.

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

9 years agoAdd networking option to the Microblaze Kintex demo.
rtel [Fri, 13 Mar 2015 15:05:09 +0000 (15:05 +0000)]
Add networking option to the Microblaze Kintex demo.

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

9 years agoWork-in-progress check in of MicroBlaze Kintex7 demo.
rtel [Tue, 10 Mar 2015 15:58:19 +0000 (15:58 +0000)]
Work-in-progress check in of MicroBlaze Kintex7 demo.

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

9 years agoKernel code:
rtel [Wed, 4 Mar 2015 17:45:18 +0000 (17:45 +0000)]
Kernel code:
+ Added mtCOVERAGE_TEST_DELAY() macro to facilitate getting better code coverage during testing.
+ Update prvNotifyQueueSetContainer() so it does not call xTaskRemoveFromEventList() if it is called from an interrupt, and the queue is locked.

Demo apps:
Added QueueSetPolling.c/h demo/test functions.

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

9 years agoCorrect typeo that broke the Win32 port.
rtel [Tue, 17 Feb 2015 14:28:10 +0000 (14:28 +0000)]
Correct typeo that broke the Win32 port.

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

9 years agoKernel updates:
rtel [Wed, 11 Feb 2015 15:41:30 +0000 (15:41 +0000)]
Kernel updates:
+ Added vTimerSetTimerID() to compliment vTimerGetTimerID().  Now the timer ID can be used as timer local storage.
+ Updated comments and added some additional assert() calls.

Win32 port:
+ Some changes to allow easier 64-bit builds

PIC24/dsPIC port:
+ Added NOP after disable interrupt instruction.

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

9 years agoKernel updates:
rtel [Mon, 26 Jan 2015 17:40:35 +0000 (17:40 +0000)]
Kernel updates:
- Add user configurable thread local storage array, with get/set access function.

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

9 years agoAdd run-time stats to the Kintex7 Microblaze demo.
rtel [Mon, 19 Jan 2015 13:34:26 +0000 (13:34 +0000)]
Add run-time stats to the Kintex7 Microblaze demo.

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

9 years agoAdd the beginnings of a Microblaze project for the KC705. V8.2.0
rtel [Fri, 16 Jan 2015 19:16:12 +0000 (19:16 +0000)]
Add the beginnings of a Microblaze project for the KC705.

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

9 years agoUpdate version number in preparation for official V8.2.0 release.
rtel [Fri, 16 Jan 2015 13:20:28 +0000 (13:20 +0000)]
Update version number in preparation for official V8.2.0 release.

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

9 years agoDemo app changes:
rtel [Thu, 15 Jan 2015 21:37:32 +0000 (21:37 +0000)]
Demo app changes:
Add a "query heap" command to the standard sample CLI commands.
Remove casting from configMAX_PRIORITIES setting in Win32 simulator demos as it was preventing a clean build.

Source code changes.
General tidy up and addition of assert points.

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

9 years agoRemove casting from configMAX_PRIORITIES setting in FAT SL / CLI demo as it was preve...
rtel [Wed, 7 Jan 2015 07:02:17 +0000 (07:02 +0000)]
Remove casting from configMAX_PRIORITIES setting in FAT SL / CLI demo as it was preventing a clean build.

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

9 years agoRelease candidate - this will be tagged as FreeRTOS V8.2.0rc1 and a zip file provided. V8.2.0rc1
rtel [Wed, 24 Dec 2014 09:40:58 +0000 (09:40 +0000)]
Release candidate - this will be tagged as FreeRTOS V8.2.0rc1 and a zip file provided.
Minor lint changes.

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

9 years agoRename SAM4E demo directory to include the 'F' in 'M4F' - minor point for the sake...
rtel [Wed, 24 Dec 2014 08:55:14 +0000 (08:55 +0000)]
Rename SAM4E demo directory to include the 'F' in 'M4F' - minor point for the sake of consistency.

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

9 years agoUpdate version numbers in preparation for V8.2.0 release candidate 1.
rtel [Sun, 21 Dec 2014 19:09:18 +0000 (19:09 +0000)]
Update version numbers in preparation for V8.2.0 release candidate 1.

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

9 years agoKernel changes:
rtel [Sun, 21 Dec 2014 10:26:36 +0000 (10:26 +0000)]
Kernel changes:
+ Made xTaskNotifyGiveFromISR() its own function, rather than a macro that calls xTaskNotifyFromISR() (minor performance improvement).
+ GCC and Keil Cortex-M4F ports now use vPortRaiseBASEPRI() in place of ulPortRaiseBASEPRI() where the return value is not required (minor performance improvement).

Demo changes:
Change the [very basic] FreeRTOS+UDP SAM4E driver to use task notifications rather than a semaphore (execution time now 55% what it was in FreeRTOS V8.1.2!).
Robustness improvements to IntQueue.c standard demo task.h.
Added the latest standard demo tasks, reg test tasks and int q  tasks to the SAM4E demo.

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

9 years agoKernel changes:
rtel [Fri, 19 Dec 2014 16:27:56 +0000 (16:27 +0000)]
Kernel changes:
+ Do not attempt to free the stack of a deleted task if the stack was statically allocated.
+ Introduce configUSE_LIST_DATA_INTEGRITY_CHECK_BYTES - which optionally writes known values into the list and list item data structures in order to assist with the detection of memory corruptions.

Microblase port:
+Change occurrences of #if XPAR_MICROBLAZE_0_USE_FPU == 1 to  #if XPAR_MICROBLAZE_0_USE_FPU != 0 as the value can also be 2 or 3.

Demo app modifications:
+ Update Zynq project to use the 2014.4 tools and add in tests for the new task notification feature.
+ Update SAM4S project to include tests for the new task notification feature.

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

9 years ago+ Update demos that use FreeRTOS+Trace to work with the latest trace recorder library.
rtel [Thu, 18 Dec 2014 11:02:15 +0000 (11:02 +0000)]
+ Update demos that use FreeRTOS+Trace to work with the latest trace recorder library.
+ Fix a few compiler warnings.
+ Add TickType_t specific critical sections so critical sections are not used when accessing the tick count in cases where the access is atomic (32-bit tick count, 32-bit architecture).

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

9 years ago+ New feature added: Task notifications.
rtel [Mon, 15 Dec 2014 14:13:03 +0000 (14:13 +0000)]
+ New feature added:  Task notifications.
+ 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.

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

9 years agoCore kernel code:
rtel [Wed, 15 Oct 2014 21:01:31 +0000 (21:01 +0000)]
Core kernel code:

Allow the stats formatting functions to be built in without stdio.h being included inside tasks.c.

Kernel port code:
- Slight change to the Cortex-A GIC-less port to move all non portable code to the application level.

SAMA5D4 demo project:
- Update the Atmel provided library to V1.1.
- Create a DDR build configuration.
- Ensure interrupts are all edge sensitive.
- Update the regtest code to use all 32 flop registers.

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

9 years agoDemo projects only:
rtel [Thu, 9 Oct 2014 15:42:43 +0000 (15:42 +0000)]
Demo projects only:
+ Remove some #warnings messages from the Cycle 5 - which were left in the code as reminders of tests that were not yet completed but are now.

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

9 years agoCore kernel files:
rtel [Wed, 8 Oct 2014 20:31:14 +0000 (20:31 +0000)]
Core kernel files:

+ Change how queues are allocated and deleted so only one pvPortMalloc() or vPortFree() is required in place of the previous 2.
+ Where the TCB is allocated in relation to the stack is now dependent on the stack growth direction.  The stack will not grow into the TCB.
+ Introduce the configAPPLICATION_ALLOCATED_HEAP constant to allow the application to provide the array used by heap_4.c as its heap.  This allows the application writer to use qualifiers on the array to, for example, force the memory into faster RAM.

Demo application:
+ Add demo for SAMA5D4 using IAR.

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

9 years agoMSP430 Demo projects only:
rtel [Sun, 5 Oct 2014 20:43:12 +0000 (20:43 +0000)]
MSP430 Demo projects only:
Update project format to new IAR version.

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

9 years agoDemo project only:
rtel [Wed, 1 Oct 2014 17:28:42 +0000 (17:28 +0000)]
Demo project only:
Added comprehensive demo including FreeRTOS+CLI to the Cyclone V SoC project.

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

9 years agoDemo project only: Cyclone V SoC now running from external RAM.
rtel [Wed, 1 Oct 2014 09:30:35 +0000 (09:30 +0000)]
Demo project only:  Cyclone V SoC now running from external RAM.

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

9 years agoAdded project for Altera Cyclone V SoC, currently running from internal RAM.
rtel [Tue, 30 Sep 2014 15:32:19 +0000 (15:32 +0000)]
Added project for Altera Cyclone V SoC, currently running from internal RAM.

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

9 years agoCore kernel code:
rtel [Tue, 16 Sep 2014 14:54:32 +0000 (14:54 +0000)]
Core kernel code:
+ Introduce xSemaphoreGenericGiveFromISR() as an optimisation when giving semaphores and mutexes from an interrupt.

Demo applications:
+ Update IntSemTest.c to provide more code coverage in xSemaphoreGenericGiveFromISR().
+ Ensure the MMU is turned on in the RZ IAR demo.  It was already on in the RZ ARM demo.

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

9 years agoSAM4L tickless implementation: Bug fix and update the demo project to exercise the...
rtel [Tue, 16 Sep 2014 12:24:14 +0000 (12:24 +0000)]
SAM4L tickless implementation:  Bug fix and update the demo project to exercise the fix.

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

9 years agoDemo project only:
rtel [Fri, 12 Sep 2014 11:32:47 +0000 (11:32 +0000)]
Demo project only:
Add the new IntSem test/demo code into the MSVC demo project.

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

9 years agoDemo tasks only, with the aim of improving test coverage:
rtel [Thu, 11 Sep 2014 12:06:27 +0000 (12:06 +0000)]
Demo tasks only, with the aim of improving test coverage:
+ Split out the code that uses a mutex from an interrupt from GenQTest.c and add to new common demo task IntSemTest.c.

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

9 years agoUpdate version number to 8.1.2 after moving the defaulting of configUSE_PORT_OPTIMISE... V8.1.2
rtel [Tue, 2 Sep 2014 22:39:54 +0000 (22:39 +0000)]
Update version number to 8.1.2 after moving the defaulting of configUSE_PORT_OPTIMISED_TASK_SELECTION into individual port layers so it does not affect ports that do not support the definition.

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

9 years agoDemo code only:
rtel [Tue, 2 Sep 2014 16:06:57 +0000 (16:06 +0000)]
Demo code only:
Add the IntQ standard test to the SAM4S project.

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

9 years agoCorrect potential compiler warning when configUSE_MUTEXES is set to 0. V8.1.1
rtel [Sat, 30 Aug 2014 20:18:18 +0000 (20:18 +0000)]
Correct potential compiler warning when configUSE_MUTEXES is set to 0.
Add comments.

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

9 years agoUpdate version number to 8.1.1 for patch release that re-enables mutexes to be given...
rtel [Fri, 29 Aug 2014 19:14:23 +0000 (19:14 +0000)]
Update version number to 8.1.1 for patch release that re-enables mutexes to be given from an interrupt.

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

9 years agoCore kernel code:
rtel [Fri, 29 Aug 2014 13:53:58 +0000 (13:53 +0000)]
Core kernel code:
- Re-introduce the ability to give a mutex from an ISR.

Common demo code:
- Add additional tests into the GenQTest files for priority inheritance and using a mutex from an ISR.

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

9 years agoLower the minimum stack size used by the ATSAMA5 demo. V8.1.0
rtel [Tue, 26 Aug 2014 16:53:40 +0000 (16:53 +0000)]
Lower the minimum stack size used by the ATSAMA5 demo.

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

9 years agoMinor edits prior to tagging V8.1.0.
rtel [Tue, 26 Aug 2014 16:23:09 +0000 (16:23 +0000)]
Minor edits prior to tagging V8.1.0.

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

9 years ago***IMMINENT RELEASE NOTICE***
rtel [Sat, 16 Aug 2014 20:19:40 +0000 (20:19 +0000)]
***IMMINENT RELEASE NOTICE***
Update version numbers ready for FreeRTOS V8.1.0 release in about 10 days.

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

9 years agoRemove some irrelevant CyaSSL files.
rtel [Sat, 16 Aug 2014 15:43:43 +0000 (15:43 +0000)]
Remove some irrelevant CyaSSL files.

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

9 years agoDemo application related:
rtel [Sat, 16 Aug 2014 14:29:39 +0000 (14:29 +0000)]
Demo application related:
+ Update the RZ IAR project so it targets the RZ RSK rather than custom hardware.
+ Update the RZ ARM/DS-5 project so it targets the RZ RSK rather than custom hardware.
+ Updated RX64M demos to use the new iodefine.h naming.

Cortex-A9 port related:
+ Update IAR, ARM and GCC Cortex-A9 port layers to include a 'task exit error' function which is called if a task attempts to incorrectly exit its implementing function.
+ Moved the instruction which switches into system mode out of the restore context macro, as it is only needed when starting the first task.

Core kernel files related:
+ Ensure there are no references to the mutexes held count when mutexes are excluded from the build.

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

9 years agoGeneral maintenance - changing comments and correcting spellings only.
rtel [Mon, 4 Aug 2014 07:57:18 +0000 (07:57 +0000)]
General maintenance - changing comments and correcting spellings only.

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

9 years agoCommon demo tasks:
rtel [Mon, 4 Aug 2014 07:53:20 +0000 (07:53 +0000)]
Common demo tasks:
- Add additional tests to GenQTest.c to test the updated priority inheritance mechanism.
- Slightly increase some delays in recmutex.c to prevent it reporting false errors in high load test cases.

SAMA5D3 Xplained IAR demo:
- Remove space being allocated for stacks that are not used.
- Remove explicit enabling of interrupts in ISR handers as this is now done from the central ISR callback before the individual handers are invoked.
- Reduce both the allocated heap size and the stack allocated to each task.
- Enable I cache.

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

9 years agoCortex-A5 IAR port:
rtel [Sun, 3 Aug 2014 19:15:30 +0000 (19:15 +0000)]
Cortex-A5 IAR port:
- Removed SAMA5 specifics from the port layer, and instead call a generic ISR callback as per Cortex-A9 ports.

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

9 years agoCortex-A5 IAR port baseline prior to removing all SAMA5 specifics to make it generic.:
rtel [Sun, 3 Aug 2014 18:37:58 +0000 (18:37 +0000)]
Cortex-A5 IAR port baseline prior to removing all SAMA5 specifics to make it generic.:
- Slight improvement to the save context macro.
- Remove some #warning remarks.
- Enable interrupts before calling the ISR handler rather than in the ISR handler.

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

9 years agoContinue working on the GIC-less Cortex-A5 port for IAR:
rtel [Tue, 29 Jul 2014 21:31:04 +0000 (21:31 +0000)]
Continue working on the GIC-less Cortex-A5 port for IAR:
- Add in the assert when a task attempts to exit its implementing function without deleting itself.
- Remove obsolete code from the context switch asm code (obsoleted by the fact that there is no mask register).
- Attempt to make code more generic by using definitions for additional register addresses.

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

9 years agoCarry on working on SAMA5D3 demo:
rtel [Tue, 29 Jul 2014 21:28:22 +0000 (21:28 +0000)]
Carry on working on SAMA5D3 demo:
- Add full interrupt nesting tests.
- Add additional critical section/context switching tests.
- Set interrupt priorities so everything can run at once without any software watchdog errors.
- Re-enable interrupts in each IRQ handler.
- Add in run-time stats.

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

9 years agoSAMA5D3 demo: Add CDC driver code and use CDC to create a simple command console.
rtel [Wed, 23 Jul 2014 21:07:03 +0000 (21:07 +0000)]
SAMA5D3 demo:  Add CDC driver code and use CDC to create a simple command console.

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

9 years agoUpdate CyaSSL to latest version.
rtel [Fri, 18 Jul 2014 18:54:25 +0000 (18:54 +0000)]
Update CyaSSL to latest version.

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

9 years agoRe-test Zynq demo now it is using the latest tools.
rtel [Mon, 14 Jul 2014 14:01:07 +0000 (14:01 +0000)]
Re-test Zynq demo now it is using the latest tools.

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

9 years agoAdd back Zynq demo - this time using SDK V14.2.
rtel [Mon, 14 Jul 2014 13:00:18 +0000 (13:00 +0000)]
Add back Zynq demo - this time using SDK V14.2.

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

9 years agoRemove Zynq demo project ready to recreate the project using the 14.2 version of...
rtel [Mon, 14 Jul 2014 11:46:34 +0000 (11:46 +0000)]
Remove Zynq demo project ready to recreate the project using the 14.2 version of Xilinx's SDK.

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

9 years agoAdd 'full' demo to the SAMA5 Xplained demo - but so far without interrupt nesting...
rtel [Sat, 12 Jul 2014 20:40:33 +0000 (20:40 +0000)]
Add 'full' demo to the SAMA5 Xplained demo - but so far without interrupt nesting tests or CLI.

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

9 years agoRename ARM_CAx_No_GIC ARM_CA5_No_GIC and add FreeRTOSConfig setting to specify the...
rtel [Sat, 12 Jul 2014 20:39:22 +0000 (20:39 +0000)]
Rename ARM_CAx_No_GIC ARM_CA5_No_GIC and add FreeRTOSConfig setting to specify the number of registers in the FPU unit.

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

9 years agoSAMA5D3 Xplained demo blinky running.
rtel [Sat, 12 Jul 2014 19:25:18 +0000 (19:25 +0000)]
SAMA5D3 Xplained demo blinky running.

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

9 years agoAdd new port layer for Cortex-A devices without the means to mask interrupt priorities.
rtel [Sat, 12 Jul 2014 19:21:04 +0000 (19:21 +0000)]
Add new port layer for Cortex-A devices without the means to mask interrupt priorities.

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

9 years agoStart of SAMA5D3 XPlained demo.
rtel [Wed, 9 Jul 2014 21:19:01 +0000 (21:19 +0000)]
Start of SAMA5D3 XPlained demo.

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

9 years agoMake the parameters to vPortDefineHeapRegions() const.
rtel [Fri, 4 Jul 2014 13:17:21 +0000 (13:17 +0000)]
Make the parameters to vPortDefineHeapRegions() const.
Add additional asserts to the Keil CM3 and CM4F ports (other CM3/4 ports already updated).
Add the additional yield necessitated by the mutex held count to the case when configUSE_QUEUE_SETS is 0.

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

9 years agoUpdate the MSVC simulator demo to demonstrate heap_5 allocator and pdTICKS_TO_MS...
rtel [Thu, 3 Jul 2014 16:49:29 +0000 (16:49 +0000)]
Update the MSVC simulator demo to demonstrate heap_5 allocator and pdTICKS_TO_MS macro being used.

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

9 years agoSimply some of the alignment calculations in heap_4.c to match those used in heap_5.c.
rtel [Thu, 3 Jul 2014 14:44:37 +0000 (14:44 +0000)]
Simply some of the alignment calculations in heap_4.c to match those used in heap_5.c.
Remove some apparently obsolete code from xTaskPriorityDisinherit() (a task cannot be both blocked and giving bac a mutex at the same time].
Update the new "mutex held count" increment and decrement functions to allow mutexes to be created before the scheduler is started.

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

9 years agoCheck in the portable.h version required to use heap_5.c.
rtel [Wed, 2 Jul 2014 10:20:35 +0000 (10:20 +0000)]
Check in the portable.h version required to use heap_5.c.

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

9 years agoCheck in the new memory allocator that allows the heap to span multiple blocks.
rtel [Wed, 2 Jul 2014 10:19:49 +0000 (10:19 +0000)]
Check in the new memory allocator that allows the heap to span multiple blocks.

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

9 years agoUpdate FreeRTOS+ components and demos to use typedef names introduced in FreeRTOS V8.
rtel [Fri, 20 Jun 2014 20:15:20 +0000 (20:15 +0000)]
Update FreeRTOS+ components and demos to use typedef names introduced in FreeRTOS V8.

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

9 years agoUpdate timer demo in PIC32MZ demo to remove multiple extern definition created by...
rtel [Mon, 16 Jun 2014 13:07:01 +0000 (13:07 +0000)]
Update timer demo in PIC32MZ demo to remove multiple extern definition created by adding in the macro that checks non ISR safe functions are not called from ISRs.

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

9 years agoImplementation of mutex held counting in tasks.c - needs optimisation before release.
rtel [Mon, 16 Jun 2014 12:55:50 +0000 (12:55 +0000)]
Implementation of mutex held counting in tasks.c - needs optimisation before release.

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

9 years agoDefault the definition of portASSERT_IF_IN_ISR() to nothing if it is not defined.
rtel [Mon, 16 Jun 2014 12:51:35 +0000 (12:51 +0000)]
Default the definition of portASSERT_IF_IN_ISR() to nothing if it is not defined.
Helper updates to allow a count of the number of mutexes held to be added.
Updates to the CCS Cortex-R4 implementation necessitated by a change in compiler semantics.
Update PIC32MX and MZ ports to assert if a non ISR safe function is called from an ISR.

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

9 years agoAdd code to assert() if non ISR safe API function is called from ISR in Tasking CM4F...
rtel [Sun, 15 Jun 2014 09:24:08 +0000 (09:24 +0000)]
Add code to assert() if non ISR safe API function is called from ISR in Tasking CM4F ports - plus fix bug where the max syscall interrupt priority was used incorrectly in the Tasking CM4F port.

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

9 years agoAdd code to assert() if non ISR safe API function is called from ISR in IAR and GCC...
rtel [Sat, 14 Jun 2014 13:56:25 +0000 (13:56 +0000)]
Add code to assert() if non ISR safe API function is called from ISR in IAR and GCC CM3 and CM4F ports - Keil and tasking to follow.

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

9 years agoSimplify the assert that checks if a non-ISR safe function is called from an ISR...
rtel [Fri, 13 Jun 2014 14:08:28 +0000 (14:08 +0000)]
Simplify the assert that checks if a non-ISR safe function is called from an ISR in the GCC Cortex-A9 port.

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

9 years agoAdd additional comments to the Zynq lwIP demo.
rtel [Fri, 13 Jun 2014 14:06:43 +0000 (14:06 +0000)]
Add additional comments to the Zynq lwIP demo.

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

9 years agoAdded portASSERT_IF_IN_INTERRUPT() macro to the GCC Cortex A9 port layer.
rtel [Thu, 12 Jun 2014 16:28:56 +0000 (16:28 +0000)]
Added portASSERT_IF_IN_INTERRUPT() macro to the GCC Cortex A9 port layer.

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