]> git.sur5r.net Git - freertos/log
freertos
5 years agoAdd vTimerSetReloadMode() calls to the code coverage tests.
rtel [Mon, 17 Dec 2018 23:19:23 +0000 (23:19 +0000)]
Add vTimerSetReloadMode() calls to the code coverage tests.

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

5 years agoUpdate the the MPU simulator project to exercise the timer API.
rtel [Mon, 17 Dec 2018 22:06:58 +0000 (22:06 +0000)]
Update the the MPU simulator project to exercise the timer API.

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

5 years agoRemove "FromISR' functions from the list of functions that switch to a privileged...
rtel [Mon, 17 Dec 2018 22:04:18 +0000 (22:04 +0000)]
Remove "FromISR' functions from the list of functions that switch to a privileged mode as IRQs are privileged already.
Add the vTimerSetReloadMode() API function.

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

5 years agoUpdate RISC-V_IGLOO2_Creative_SoftConsole demo to make use of new RISC-V porting...
rtel [Mon, 17 Dec 2018 00:01:36 +0000 (00:01 +0000)]
Update RISC-V_IGLOO2_Creative_SoftConsole demo to make use of new RISC-V porting layer structure and exercise some external interrupts - all tests currently passing in Renode.

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

5 years agoRework RISC-V portASM.S to make it easier to add in chip specific RISC-V extensions...
rtel [Sun, 16 Dec 2018 23:59:49 +0000 (23:59 +0000)]
Rework RISC-V portASM.S to make it easier to add in chip specific RISC-V extensions and accommodate chips that don't include the CLINT.

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

5 years agoSave changes to the RISC-V port layer before making changes necessary to support...
rtel [Sun, 16 Dec 2018 20:21:29 +0000 (20:21 +0000)]
Save changes to the RISC-V port layer before making changes necessary to support pulpino too:
+ Switch positions of the asm functions used to start the kernel and handle traps to enable one to reference to the other.
+ Handle external interrupts (working with Renode emulator).
+ The _sp linker variable is now called __freertos_irq_stack_top.

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

5 years agoMicrosemi RISC-V project:
rtel [Mon, 10 Dec 2018 20:55:32 +0000 (20:55 +0000)]
Microsemi RISC-V project:
    Reorganize project to separate Microsemi code into its own directory.
    Add many more demo and tests.

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

5 years agoBackup checkin of MiFive demo running in ReNode emulator.
rtel [Mon, 10 Dec 2018 05:28:05 +0000 (05:28 +0000)]
Backup checkin of MiFive demo running in ReNode emulator.

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

5 years agoBackup check in of the Microsemi IGLOO2 Creative Board RISC-V demo - still a work...
rtel [Tue, 4 Dec 2018 01:27:06 +0000 (01:27 +0000)]
Backup check in of the Microsemi IGLOO2 Creative Board RISC-V demo - still a work in progress.

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

5 years agoBackup checking of the Freedom Studio RISC-V project - still a work in progress.
rtel [Tue, 4 Dec 2018 01:25:53 +0000 (01:25 +0000)]
Backup checking of the Freedom Studio RISC-V project - still a work in progress.

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

5 years agoUpdate RISC-V port to use a separate interrupt stack.
rtel [Tue, 4 Dec 2018 01:23:41 +0000 (01:23 +0000)]
Update RISC-V port to use a separate interrupt stack.

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

5 years agoSome efficiency improvements in Risc-V port.
rtel [Wed, 28 Nov 2018 19:35:40 +0000 (19:35 +0000)]
Some efficiency improvements in Risc-V port.

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

6 years agoFirst task running in RISC-V-Qemu-sifive_e-FreedomStudio demo.
rtel [Sat, 24 Nov 2018 20:59:07 +0000 (20:59 +0000)]
First task running in RISC-V-Qemu-sifive_e-FreedomStudio demo.

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

6 years agoAdd kernel code to the RISC-V-Qemu-sifive_e-FreedomStudio demo.
rtel [Sat, 24 Nov 2018 04:42:20 +0000 (04:42 +0000)]
Add kernel code to the RISC-V-Qemu-sifive_e-FreedomStudio demo.

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

6 years agoAdd a starting point for a Freedom Studio Risc V project.
rtel [Sat, 24 Nov 2018 03:48:55 +0000 (03:48 +0000)]
Add a starting point for a Freedom Studio Risc V project.

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

6 years agoProvide each Risc V task with an initial mstatus register value.
rtel [Tue, 20 Nov 2018 20:12:35 +0000 (20:12 +0000)]
Provide each Risc V task with an initial mstatus register value.

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

6 years agoUpdate Risc-V port to use environment call in place of software interrupt - still...
rtel [Mon, 19 Nov 2018 06:01:29 +0000 (06:01 +0000)]
Update Risc-V port to use environment call in place of software interrupt - still very much a work in progress.

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

6 years agoContinue work on Risc V port.
rtel [Tue, 6 Nov 2018 02:04:28 +0000 (02:04 +0000)]
Continue work on Risc V port.

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

6 years agoUpdate xTaskRemoveFromEventList() so when tickless idle is used prvResetNextTaskUnblo...
rtel [Mon, 5 Nov 2018 19:35:54 +0000 (19:35 +0000)]
Update xTaskRemoveFromEventList() so when tickless idle is used prvResetNextTaskUnblockTime() only gets called if the scheduler is not locked, as it would get called when the scheduler is unlocked in any case.

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

6 years agoUpdate the method used to detect if a timer is active. Previously the timer was...
rtel [Wed, 24 Oct 2018 21:37:59 +0000 (21:37 +0000)]
Update the method used to detect if a timer is active.  Previously the timer was deemed to be inactive if it was not referenced from a list.  However, when a timer is updated it is temporarily removed from, then re-added to a list, so now the timer's active status is stored separately.

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

6 years agoAdd xTaskGetApplicationTaskTagFromISR(), which is an interrupt safe version of xTaskG...
rtel [Mon, 8 Oct 2018 15:10:18 +0000 (15:10 +0000)]
Add xTaskGetApplicationTaskTagFromISR(), which is an interrupt safe version of xTaskGetApplicationTaskTagFrom().

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

6 years agoFix Xtensa project file and some documentation improvements.
gaurav-aws [Tue, 2 Oct 2018 23:54:51 +0000 (23:54 +0000)]
Fix Xtensa project file and some documentation improvements.

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

6 years agoAdded uxTaskGetStackHighWaterMark2(), which is the same as uxTaskGetStackHighWaterMar...
rtel [Sun, 30 Sep 2018 21:50:05 +0000 (21:50 +0000)]
Added uxTaskGetStackHighWaterMark2(), which is the same as uxTaskGetStackHighWaterMark() other than the return type.
Allows the task name parameter passed into xTaskCreate() to be NULL.

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

6 years agoRISC-V tasks now context switching to each other using taskYIELD() - not fully tested...
rtel [Thu, 27 Sep 2018 17:25:17 +0000 (17:25 +0000)]
RISC-V tasks now context switching to each other using taskYIELD() - not fully tested yet.

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

6 years agoAdd trap handler to RISC-V port so there is no dependency on third party code.
rtel [Sun, 23 Sep 2018 03:52:23 +0000 (03:52 +0000)]
Add trap handler to RISC-V port so there is no dependency on third party code.

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

6 years agoRISC-V:
rtel [Wed, 12 Sep 2018 16:33:05 +0000 (16:33 +0000)]
RISC-V:
Added code to setup the timer interrupt - not tested yet.
Added the taskYIELD() implementation - so far just checked it generates an interrupt.

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

6 years agoRISC-V work in progress:
rtel [Mon, 10 Sep 2018 20:50:05 +0000 (20:50 +0000)]
RISC-V work in progress:
    + Initialise task stack.
    + Successfully jump to start of first task.

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

6 years agoMinor synching - no functional changes. V10.1.1
rtel [Fri, 7 Sep 2018 22:24:51 +0000 (22:24 +0000)]
Minor synching - no functional changes.

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

6 years agoVery minor formatting changes, and remove legacy link to V8 upgrade information.
rtel [Fri, 7 Sep 2018 21:35:05 +0000 (21:35 +0000)]
Very minor formatting changes, and remove legacy link to V8 upgrade information.

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

6 years agoUpdate version numbers ready for release.
rtel [Fri, 7 Sep 2018 18:13:20 +0000 (18:13 +0000)]
Update version numbers ready for release.

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

6 years agoUpdate trace configuration files for the updated trace recorder code.
rtel [Thu, 6 Sep 2018 18:52:45 +0000 (18:52 +0000)]
Update trace configuration files for the updated trace recorder code.

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

6 years agoUpdate trace recorder code to the latest.
rtel [Thu, 6 Sep 2018 03:23:03 +0000 (03:23 +0000)]
Update trace recorder code to the latest.
Some minor changes to enable the configREMOVE_STATIC_QUALIFIER constant to be used by those debuggers that cannot cope with statics being used.

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

6 years agoTwo minor updates in the comments to fix html formatting that was preventing doxygen...
rtel [Sat, 1 Sep 2018 02:42:34 +0000 (02:42 +0000)]
Two minor updates in the comments to fix html formatting that was preventing doxygen creating documents correctly.

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

6 years agoFix mixed tabs and spaces in the latest TCP patches.
rtel [Thu, 30 Aug 2018 18:25:53 +0000 (18:25 +0000)]
Fix mixed tabs and spaces in the latest TCP patches.

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

6 years agoCase unused return values for memset and memcpy to void in stream_buffer.c to avoid...
rtel [Wed, 29 Aug 2018 15:43:41 +0000 (15:43 +0000)]
Case unused return values for memset and memcpy to void in stream_buffer.c to avoid compiler warnings when the warning level is turned up.
Remove duplicate comment in heap_1.c.

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

6 years agoMinor updates to fix issues with the Segger kernel aware plug since V10.1.0.
rtel [Tue, 28 Aug 2018 18:10:42 +0000 (18:10 +0000)]
Minor updates to fix issues with the Segger kernel aware plug since V10.1.0.

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

6 years agoFix build issues in the FreeRTOS_Plus_TCP_Minimal_Windows_Simulator project:
rtel [Tue, 28 Aug 2018 16:58:21 +0000 (16:58 +0000)]
Fix build issues in the FreeRTOS_Plus_TCP_Minimal_Windows_Simulator project:
+ Set configENABLE_BACKWARD_COMPATIBILITY to 1 in FreeRTOSConfig.h to account for the fact that a member of the List_t structure has been renamed.
+ Provide a dummy implementation of ulApplicationGetNextSequenceNumber() to prevent linker warnings.

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

6 years agoChanges required for the IAR StateViewer plug-in to work with FreeRTOS V10.1.0.
rtel [Mon, 27 Aug 2018 23:11:28 +0000 (23:11 +0000)]
Changes required for the IAR StateViewer plug-in to work with FreeRTOS V10.1.0.

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

6 years agoMove some variables from function scope back to being file scope for the benefit...
rtel [Mon, 27 Aug 2018 21:59:26 +0000 (21:59 +0000)]
Move some variables from function scope back to being file scope for the benefit of some kernel aware debuggers that were left working in a non-functioning mode after the V10.1.0 release - not last change for this purpose.

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

6 years agoFreeRTOS+UDP was removed in FreeRTOS V10.1.0 as it was replaced by FreeRTOS+TCP, V10.1.0
rtel [Thu, 23 Aug 2018 00:00:20 +0000 (00:00 +0000)]
FreeRTOS+UDP was removed in FreeRTOS V10.1.0 as it was replaced by FreeRTOS+TCP,
which was brought into the main download in FreeRTOS V10.0.0.  FreeRTOS+TCP can
be configured as a UDP only stack, and FreeRTOS+UDP does not contain the patches
applied to FreeRTOS+TCP.

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

6 years agoUpdate copyright date ready for tagging V10.1.0.
rtel [Wed, 22 Aug 2018 23:23:03 +0000 (23:23 +0000)]
Update copyright date ready for tagging V10.1.0.

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

6 years agoFix some build issues in older kernel demo projects.
rtel [Wed, 22 Aug 2018 21:29:21 +0000 (21:29 +0000)]
Fix some build issues in older kernel demo projects.

Update to V2.0.7 of the TCP/IP stack:
   + Multiple security improvements and fixes in packet parsing routines, DNS
     caching, and TCP sequence number and ID generation.
   + Disable NBNS and LLMNR by default.
   + Add TCP hang protection by default.

We thank Ori Karliner of Zimperium zLabs Team for reporting these issues.

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

6 years agoUpdate version numbers in preparation for a new release.
rtel [Tue, 21 Aug 2018 19:50:48 +0000 (19:50 +0000)]
Update version numbers in preparation for a new release.

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

6 years agoUpdate demo project for Tensilita - work in progres..
rtel [Tue, 21 Aug 2018 19:37:04 +0000 (19:37 +0000)]
Update demo project for Tensilita - work in progres..
Add support for POSIX style errno - work in progress.

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

6 years agoOnly include the static definition of freertos_tasks_c_additions_init if FREERTOS_TAS...
rtel [Mon, 20 Aug 2018 15:08:35 +0000 (15:08 +0000)]
Only include the static definition of freertos_tasks_c_additions_init if FREERTOS_TASKS_C_ADDITIONS_INIT is defined, matching the guide used to include the function's prototype.

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

6 years agoMerge bug fixes from Cadence
gaurav-aws [Tue, 7 Aug 2018 07:21:07 +0000 (07:21 +0000)]
Merge bug fixes from Cadence

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

6 years agoUpdate RISC-V project to used official port stubs in place of third party port.
rtel [Sat, 7 Jul 2018 21:54:41 +0000 (21:54 +0000)]
Update RISC-V project to used official port stubs in place of third party port.

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

6 years agoAdd stubs for official RISC-V RV32 port.
rtel [Sat, 7 Jul 2018 21:47:31 +0000 (21:47 +0000)]
Add stubs for official RISC-V RV32 port.

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

6 years agoUpdate trace recorder code.
rtel [Mon, 2 Jul 2018 22:29:02 +0000 (22:29 +0000)]
Update trace recorder code.
Add TCP Echo server to the FreeR_Plus_TCP_Minimal_Window_Simulator project.

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

6 years agoUpdate stream buffer tests to try resetting a statically allocated stream buffer...
rtel [Mon, 2 Jul 2018 21:58:28 +0000 (21:58 +0000)]
Update stream buffer tests to try resetting a statically allocated stream buffer before deleting it (tests fix in code).
Update trace recorder library.

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

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