freertos
6 months agocommit 9f316c246baafa15c542a5aea81a94f26e3d6507 master
lundinc [Tue, 24 Mar 2020 21:54:22 +0000 (21:54 +0000)]
commit 9f316c246baafa15c542a5aea81a94f26e3d6507
Author: David Vrabel <david.vrabel@cambridgeconsultants.com>
Date:   Mon Mar 16 11:21:46 2020 +0000

    Demo/Posix_GCC: add demo application for Posix port using GCC

    This is largely a copy of the Windows demo application with a few key
    changes:

    - heap_3 (use malloc()/free()) so tools like valgrind "just work".

    - printf() wrapped in a mutex to prevent deadlocks on the internal
      pthread mutexes inside printf().

    SCons (https://scons.org/) is used as the build system.

    This will be built as a 64-bit application, but note that the memory
    allocation trace points only record the lower 32-bits of the address.

commit f78f919b3e2f0d707531a301a8ca07cd02bc4778
Author: Markus Rinne <markus.ka.rinne@gmail.com>
Date:   Thu Mar 19 21:00:24 2020 +0200

    Fix function comments

commit 1cd2d38d960a3576addb224582c88489bade5141
Author: David Chalco <david@chalco.io>
Date:   Fri Mar 20 10:29:05 2020 -0700

    unix separators for path and remove .exe suffix from risc compiler (works on windows/mac)

commit 938b19419eded12817737ab0644e94ed2ba7e95d
Author: Yuhui Zheng <10982575+yuhui-zheng@users.noreply.github.com>
Date:   Thu Mar 19 18:23:09 2020 -0700

    Removing ./FreeRTOS-Labs directory, since:
    - IoT libraries are now in LTS branch.
    - FAT/POSIX/Light-weight MQTT are in https://github.com/FreeRTOS/FreeRTOS-Labs.

commit 1a4abbc9e91b13fd6394464ade59d5e048320c7c
Author: Yuhui Zheng <10982575+yuhui-zheng@users.noreply.github.com>
Date:   Tue Mar 17 19:30:02 2020 -0700

    Maintenance -- clean up readme.txt and add url to GitHub. (#38)

    * Removing readme.txt, as now we have README.md in place.

    The only information missing from README.md is about FAQ.

    * Adding FAQ information in README.md.

    * Adding a .url to root to redict user to FreeRTOS github home page.

commit 47bb466aa19395b7785bcb830e2e4dd35f6bafc5
Author: Yuhui Zheng <10982575+yuhui-zheng@users.noreply.github.com>
Date:   Tue Mar 17 13:07:44 2020 -0700

    Update issue templates

    Template maintenance.

    - adding title prefix.
    - adding examples to "additional context" section.

commit f506290041f56867765f8efa70ed2862125bdb7c
Author: Yuhui Zheng <10982575+yuhui-zheng@users.noreply.github.com>
Date:   Tue Mar 17 10:15:07 2020 -0700

    Create SECURITY.md

    Apply the recommended SECURITY.md from AWS to our repo.

commit 8982a2f80a80a2a0a47cf82de07b52101bd9d606
Author: Yuhui Zheng <10982575+yuhui-zheng@users.noreply.github.com>
Date:   Fri Mar 13 12:50:10 2020 -0700

    Add ./lib directory to make sure Zynq project compiles.

commit ecf0f12aa14ad6fdafe1ef37257cbb4e03e2abd5
Author: AniruddhaKanhere <60444055+AniruddhaKanhere@users.noreply.github.com>
Date:   Wed Mar 11 10:19:48 2020 -0700

    Sync up with Amazon-freertos repo (10th March 2020) (#34)

    * Sync up with amazon-freertos

    * Sync up with amazon-freertos

    * Sync up with amazon-freertos

commit 0acffef047973e2e61c2201fd69cd9bbd317f674
Author: Yuhui Zheng <10982575+yuhui-zheng@users.noreply.github.com>
Date:   Tue Mar 10 10:20:48 2020 -0700

    GitHub PR template. (#29)

commit c40a6da2e4cb8042b56d1b174051cbbe9813781a
Author: AniruddhaKanhere <60444055+AniruddhaKanhere@users.noreply.github.com>
Date:   Mon Mar 9 11:18:48 2020 -0700

    pass payload length when calling UDP callback (#30)

    * pass payload length when calling UDP callback

commit 12d580e93d4d9074b9a867632f0681a511b4ad12
Author: Yuhui Zheng <10982575+yuhui-zheng@users.noreply.github.com>
Date:   Fri Mar 6 18:16:51 2020 -0800

    Update issue templates

    Initial issue template. Created following https://help.github.com/en/github/building-a-strong-community/configuring-issue-templates-for-your-repository#configuring-the-template-chooser.

    If change is needed, we could go another round.

commit 9debffb5e0e42ff716f58b2270b3af09652294af
Author: Yuhui Zheng <10982575+yuhui-zheng@users.noreply.github.com>
Date:   Fri Mar 6 17:27:46 2020 -0800

    Update README.md to remove dead link.

    See the conversation https://github.com/FreeRTOS/FreeRTOS/commit/42c627b2b88cb3b487fea983d8b566a8bbae54fa#comments .

    Linkage for both ```./FreeRTOS/Source``` and ```./FreeRTOS/Demo``` are removed, since it looks weird to only provide linkage to Demo.

commit 7e1a4bf563240501fc45167aee9d929c533939dd
Author: AniruddhaKanhere <60444055+AniruddhaKanhere@users.noreply.github.com>
Date:   Fri Mar 6 15:18:09 2020 -0800

    Fix DHCP option Client-identifier (#28)

commit 42c627b2b88cb3b487fea983d8b566a8bbae54fa
Author: Yuhui.Zheng <10982575+yuhui-zheng@users.noreply.github.com>
Date:   Fri Mar 6 09:15:11 2020 -0800

    Update readme and revert relative URL.  (#27)

    * Reordering: bumping cloning instruction up.

    * Rewording readme.md to be clear kernel code is a submodule of this repository.

    * Reverting relative URL, since user cannot click through on GitHub page.

    (With URL, user could still download the correct version of the code. Reverting simply due to UI issue.)

commit 5751ae9b60e248ebd0b4dd7c58df54364d2bb9d5
Author: Gaurav-Aggarwal-AWS <33462878+aggarg@users.noreply.github.com>
Date:   Fri Mar 6 09:11:42 2020 -0800

    Update CORTEX_MPU_M33F_NXP_LPC55S69_MCUXpresso project (#26)

    This commit updates the project for LPC55S69 so that it works with the
    latest version of MCUXpresso and SDK.

Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
commit a9ffffe1f01f45f79e127c15727784984077932f
Author: Carl Lundin <53273776+lundinc2@users.noreply.github.com>
Date:   Thu Mar 5 17:16:13 2020 -0800

    Using Relative URL For Submoduling. (#24)

commit 52c82076b38fe73d1dc46c97abf74ae9b803696c
Author: Carl Lundin <53273776+lundinc2@users.noreply.github.com>
Date:   Thu Mar 5 09:16:31 2020 -0800

    use relative path to point to bundled toolchain instead (#25)

commit b877e4ec478de2c24d07ab46241070d7c66f375c
Author: lundinc2 <53273776+lundinc2@users.noreply.github.com>
Date:   Tue Feb 25 13:18:38 2020 -0800

    Moved vulnerability reporting and code of conduct to top of CONTRIBUTING.md (#20)

commit bef165d46799fb8faa58aaa224f80c16b6538e69
Author: Yuhui.Zheng <10982575+yuhui-zheng@users.noreply.github.com>
Date:   Tue Feb 18 22:06:38 2020 -0800

    Linking test source file from relative path. (#19)

commit 89e7bbe292afd3912d1f0b2402cc506878bad869
Author: Yuhui.Zheng <10982575+yuhui-zheng@users.noreply.github.com>
Date:   Tue Feb 18 17:47:55 2020 -0800

    A preliminary .gitignore file, to prevent us checking in files unnecessary. (#18)

    https://github.com/github/gitignore.

commit c2a98127acb48c4562233230e66ca5c282688579
Author: RichardBarry <3073890+RichardBarry@users.noreply.github.com>
Date:   Sun Feb 16 13:19:53 2020 -0800

    Minor wording changes in the 'previous releases' section of the readme.me file. (#17)

commit 24c772d1439e5c291c0a29fce0a46996ca8afaa9
Author: Yuhui.Zheng <10982575+yuhui-zheng@users.noreply.github.com>
Date:   Fri Feb 14 12:47:01 2020 -0800

    Submodule kernel directory. (#16)

    * Removing FreeRTOS/Source in readiness for submoduling.

    * Submoduling kernel.

    * README.md update due to submoduling.

    When releasing, please follow these steps:
    1. in local directory, clean directory and check "git status" shows "nothing to commit, working tree clean" for ALL subdirectories.
    2. copy source code and instructions only to an empty folder. Git related should not be in this folder -- this covers .git, .gitignore, .github, .gitmodules, gitmessages, ......
    3. zip the folder from step 2. (create both .zip and .7z)
    4. attach .zip and .7z to the release. (e.g. attach these two in new release -- https://github.com/FreeRTOS/FreeRTOS/releases/new)
    5. PLEASE download both, unzip, diff with your local git repo. (should not see any difference other than git related.) And, sanity check a couple of projects.

commit c3f8b91652392dc55e0d7067b90a40de5f5f0837
Author: Rashed Talukder <9218468+rashedtalukder@users.noreply.github.com>
Date:   Thu Feb 13 17:47:14 2020 -0800

    Update readme. Fixed typos and cli commands (#14)

commit 4723b825f2989213c1cdb2ebf4d6793e0292e363
Author: Julian Poidevin <julian-poidevin@users.noreply.github.com>
Date:   Fri Feb 14 02:43:36 2020 +0100

    Fixed wrong git clone SSH command (#13)

    Replaced bad https URL with proper SSH URL

commit fc819b821715c42602819e58499846147a6394f5
Author: RichardBarry <3073890+RichardBarry@users.noreply.github.com>
Date:   Thu Feb 13 17:42:22 2020 -0800

    Correct the xTimerCreate() documentation which said NULL was returned if the timer period was passed into the function as 0, whereas that is not the case. (#15)

    Add a note to the documentation for both the xTimerCreate() and xTimerCreateStatic() functions that the timer period must be greater than 0.

commit 1c711ab530b5f0dbd811d7d62e0a3763706ffff4
Author: Rashed Talukder <9218468+rashedtalukder@users.noreply.github.com>
Date:   Wed Feb 12 23:00:18 2020 -0800

    Updated contributions guidelines (#12)

commit 84fcc0d5317d96c6b086034093c8c1c83e050819
Author: Cobus van Eeden <35851496+cobusve@users.noreply.github.com>
Date:   Wed Feb 12 15:05:06 2020 -0800

    Updates to Markdown files and readme.txt (#11)

commit 4b53196b71e02708ef1010a639d90236fbbd4032
Author: Cobus van Eeden <35851496+cobusve@users.noreply.github.com>
Date:   Tue Feb 11 18:23:08 2020 -0800

    Adding Contributions.md (#8)

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

7 months agoAdded back some TCP/IP stack port layer files. V10.3.0
rtel [Fri, 7 Feb 2020 21:51:48 +0000 (21:51 +0000)]
Added back some TCP/IP stack port layer files.

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

7 months agogit-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2822 1d2547de-c912-0410...
rtel [Fri, 7 Feb 2020 21:49:55 +0000 (21:49 +0000)]
git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@2822 1d2547de-c912-0410-9cb9-b8ca96c0e9e2

7 months agoUpdate version number in readiness for V10.3.0 release. Sync SVN with reviewed releas...
yuhzheng [Fri, 7 Feb 2020 20:14:50 +0000 (20:14 +0000)]
Update version number in readiness for V10.3.0 release. Sync SVN with reviewed release candidate.

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

7 months agoFix spelling issues.
yuhzheng [Fri, 7 Feb 2020 19:19:47 +0000 (19:19 +0000)]
Fix spelling issues.

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

7 months agoAdd "is inside interrupt" function to MPU ports.
rtel [Fri, 7 Feb 2020 01:56:25 +0000 (01:56 +0000)]
Add "is inside interrupt" function to MPU ports.
Make clock setup functions weak symbols in ARMv8-M ports.
Update Cortex-M33 ports to use an interrupt mask in place of globally disabling interrupts, as per the other Cortex-M ports.

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

7 months agoUpdate TCP to last release versions in preparation for kernel V10.3.0 release.
rtel [Thu, 6 Feb 2020 22:45:37 +0000 (22:45 +0000)]
Update TCP to last release versions in preparation for kernel V10.3.0 release.

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

7 months agoUpdate libraries and sundry check-ins ready for the V10.3.0 kernel release.
rtel [Thu, 6 Feb 2020 18:52:35 +0000 (18:52 +0000)]
Update libraries and sundry check-ins ready for the V10.3.0 kernel release.

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

8 months agoESP GCC port -- Added LoadStore Exception handlers.
yuhzheng [Fri, 31 Jan 2020 19:31:50 +0000 (19:31 +0000)]
ESP GCC port -- Added LoadStore Exception handlers.

https://github.com/FreeRTOS/FreeRTOS-Kernel/pull/9 -- Handles LoadStoreErrorCause and LoadStoreAlignmentCause allowing to use 32-bit memory region (IRAM) as 8-bit or 16-bit memory region

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

8 months agoSync FreeRTOS-Labs -CLI -TCP -Trace with the version in FreeRTOS-Plus.
yuhzheng [Fri, 31 Jan 2020 19:21:15 +0000 (19:21 +0000)]
Sync FreeRTOS-Labs -CLI -TCP -Trace with the version in FreeRTOS-Plus.

Projects under FreeRTOS-Labs directory are in beta, developers updating projects please make sure you are using the correct version of -CLI -TCP -Trace. If you must edit -CLI -TCP and -Trace, please ensure the copies are synced.

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

8 months agoSync FreeRTOS-Plus/Source/FreeRTOS-Plus-TCP with the version in GitHub at (23665258ca...
yuhzheng [Fri, 31 Jan 2020 00:07:53 +0000 (00:07 +0000)]
Sync FreeRTOS-Plus/Source/FreeRTOS-Plus-TCP with the version in GitHub at (23665258cabe49d5d68ba23968b6845a7c80eb34).

Notes:
- header has version 2.2.0.
- This sync did not bring in ./test directory, though we should.
- New NetworkInterfaces are introduced by this merge.
- Keil compiler support.
- FreeRTOS_IP.h new API xApplicationGetRandomNumber().
- FreeRTOS_IP_Private.h new eIPEvent_t eNetworkTxEvent.
- FreeRTOS_Stream_Buffer.h removing static xStreamBufferIsEmpty() and xStreamBufferIsFull().
- FreeRTOSConfigDefaults.h provides default ipconfigDNS_RECEIVE_BLOCK_TIME_TICKS.
- other type changes.

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

8 months agoRemoving RISC-V port under ThirdParty.
yuhzheng [Thu, 30 Jan 2020 22:23:03 +0000 (22:23 +0000)]
Removing RISC-V port under ThirdParty.

RISC-V ports for IAR and GCC can now be found under \FreeRTOS\Source\portable\GCC\RISC-V and \FreeRTOS\Source\portable\IAR\RISC-V.

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

8 months agoRemoving unnecessary ThirdParty ports -- Wiced_CY and nrf52840-dk.
yuhzheng [Thu, 30 Jan 2020 19:45:03 +0000 (19:45 +0000)]
Removing unnecessary ThirdParty ports -- Wiced_CY and nrf52840-dk.

For projects depending on either of these two ports, please update your projects according to below:
Wiced_CY -- Use GCC/ARM_CRx_No_GIC instead.
nrf52840-dk -- Use GCC/ARM_CM7/r0p1 instead. Please note that, kernel port shall only take dependency on MCU core, not MCU peripherals. (Please take out RTC related from kernel port.) For low power feature (tickless) in FreeRTOS, please follow this page https://www.freertos.org/low-power-ARM-cortex-rtos.html. In case ARM_CM7/rop1 is missing any feature, reach out to us.

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

8 months agoRemove the FreeRTOS-IoT-Libraries from FreeRTOS-Plus as it was an old copy with a...
rtel [Thu, 30 Jan 2020 00:05:23 +0000 (00:05 +0000)]
Remove the FreeRTOS-IoT-Libraries from FreeRTOS-Plus as it was an old copy with a newer copy in FreeRTOS-Labs.

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

8 months agoCorrect an err in queue.c introduced when previously updating behaviour when queue...
rtel [Wed, 29 Jan 2020 19:52:38 +0000 (19:52 +0000)]
Correct an err in queue.c introduced when previously updating behaviour when queue sets are used in combination with queue overwrites.

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

8 months agoCleaning up LPC51U68 projects:
yuhzheng [Fri, 24 Jan 2020 07:53:14 +0000 (07:53 +0000)]
Cleaning up LPC51U68 projects:
- user playable settings are all in FreeRTOSConfig.h.
- removed reference to IntQueue.h in main_full.c
- readme.txt wording.

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

8 months agoIntroduce the portSOFTWARE_BARRIER macro which thus far is only used by the Win32...
rtel [Thu, 23 Jan 2020 23:49:24 +0000 (23:49 +0000)]
Introduce the portSOFTWARE_BARRIER macro which thus far is only used by the Win32 demo to hold execution up in case a simulated interrupt is executing simultaneously.  That should never happen as all threads should execute on the same core, but we have had numerous reports that this and other Win32 port changes we have made fixed these issues - although we have not been able to replicate them ourselves.

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

8 months agoAdd MPU demo project for Nulceo-L152RE which is Coretx-M3.
gaurav-aws [Thu, 23 Jan 2020 01:56:36 +0000 (01:56 +0000)]
Add MPU demo project for Nulceo-L152RE which is Coretx-M3.

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

8 months agoUpdates to CM3_MPU GCC port
gaurav-aws [Thu, 23 Jan 2020 01:50:25 +0000 (01:50 +0000)]
Updates to CM3_MPU GCC port

- System calls are now only allowed from kernel code. This change can be turned on
  or off using configENFORCE_SYSTEM_CALLS_FROM_KERNEL_ONLY.
- MPU is disabled before reprogramming it and enabled afterwards to be compliant
  with ARM recommendations.

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

8 months agoEnsure both one-shot and auto-reload are written consistently with a hyphen in comments.
rtel [Thu, 16 Jan 2020 04:25:29 +0000 (04:25 +0000)]
Ensure both one-shot and auto-reload are written consistently with a hyphen in comments.

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

8 months agoAdded uxTimerGetReloadMode() API function.
rtel [Thu, 16 Jan 2020 04:10:18 +0000 (04:10 +0000)]
Added uxTimerGetReloadMode() API function.

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

8 months agoAdd MPU demo project for LPC54018 board.
gaurav-aws [Sun, 12 Jan 2020 12:33:17 +0000 (12:33 +0000)]
Add MPU demo project for LPC54018 board.

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

8 months agoIntroduce a port for T-HEAD CK802. A simple demo for T-HEAD CB2201 is also included.
yuhzheng [Fri, 10 Jan 2020 07:53:14 +0000 (07:53 +0000)]
Introduce a port for T-HEAD CK802. A simple demo for T-HEAD CB2201 is also included.

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

8 months agoUpdate the GCC and IAR SiFive HiFive rev-b demos to use the new configMTIME_BASE_ADDR...
rtel [Thu, 9 Jan 2020 02:28:45 +0000 (02:28 +0000)]
Update the GCC and IAR SiFive HiFive rev-b demos to use the new configMTIME_BASE_ADDRESS and configMTIMECMP_BASE_ADDRESS constants in place of the deprecated configCLINT_BASE_ADDRESS constant.
Update the IAR RISC-V HiFive demo to use the latest IAR Embedded Workbench version.

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

8 months agoReplace portasmHAS_CLINT with configMTIME_BASE_ADDRESS and configMTIMECMP_BASE_ADDRES...
rtel [Thu, 9 Jan 2020 02:23:51 +0000 (02:23 +0000)]
Replace portasmHAS_CLINT with configMTIME_BASE_ADDRESS and configMTIMECMP_BASE_ADDRESS definitions in the IAR RISC-V port - portasmHAS_CLIT will still work by deriving the new definitions from the old.

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

8 months agoWork in progress update of LPC51U68 MCUXpresso project to rearrange the folder struct...
rtel [Thu, 9 Jan 2020 00:19:36 +0000 (00:19 +0000)]
Work in progress update of LPC51U68 MCUXpresso project to rearrange the folder structure and names.

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

8 months agoReplace portasmHAS_CLINT with configMTIME_BASE_ADDRESS and configMTIMECMP_BASE_ADDRES...
rtel [Tue, 7 Jan 2020 01:14:36 +0000 (01:14 +0000)]
Replace portasmHAS_CLINT with configMTIME_BASE_ADDRESS and configMTIMECMP_BASE_ADDRESS definitions in the GCC RISC-V port - portasmHAS_CLIT will still work by deriving the new definitions from the old.

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

8 months agoAdd Source/portable/ARMClang file that directs users to the GCC port if they which...
rtel [Sat, 4 Jan 2020 00:14:18 +0000 (00:14 +0000)]
Add Source/portable/ARMClang file that directs users to the GCC port if they which to use the ARMClang compiler.

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

8 months agoIf tickless idle mode is in use then ensure prvResetNextTaskUnblockTime() is called...
rtel [Fri, 3 Jan 2020 22:50:31 +0000 (22:50 +0000)]
If tickless idle mode is in use then ensure prvResetNextTaskUnblockTime() is called after a task is unblocked due to a bit being set in an event group.  This allows the MCU to re-enter sleep mode at the earliest possible time (rather than waiting until the timeout that would occur had the task not being unblocked be the event group) and matches a similar change made for queues and derivative objects (semaphores, etc.) some time ago.

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

8 months agoCorrect #error text in multiple fat file system files.
rtel [Fri, 3 Jan 2020 20:53:27 +0000 (20:53 +0000)]
Correct #error text in multiple fat file system files.

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

8 months agoAdd xPortIsInsideInterrupt() to the IAR ARMv7-M ports.
rtel [Fri, 3 Jan 2020 01:17:29 +0000 (01:17 +0000)]
Add xPortIsInsideInterrupt() to the IAR ARMv7-M ports.

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

8 months agoAdded xTaskAbortDelayFromISR() and ulTaskNotifyValueClear() API functions.
rtel [Thu, 2 Jan 2020 18:55:20 +0000 (18:55 +0000)]
Added xTaskAbortDelayFromISR() and ulTaskNotifyValueClear() API functions.
Added tests for xTaskAbortDelayFromISR() into Demo/Common/Minimal/AbortDelay.c.
Added tests for ulTaskNotifyValueClear() into Demo/Common/Minimal/TaskNotify.c.

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

9 months agoRenamed RISC-V_RV32_SiFive_HiFive1_IAR directory to RISC-V_RV32_SiFive_HiFive1-RevB_I...
rtel [Wed, 1 Jan 2020 22:38:23 +0000 (22:38 +0000)]
Renamed RISC-V_RV32_SiFive_HiFive1_IAR directory to RISC-V_RV32_SiFive_HiFive1-RevB_IAR as it targets the RevB hardware.

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

9 months agoMinor updates to comment block for xTaskCheckForTimeOut().
rtel [Wed, 1 Jan 2020 22:24:44 +0000 (22:24 +0000)]
Minor updates to comment block for xTaskCheckForTimeOut().

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

9 months agoRename RISC-V_RV32_SiFive_HiFive1-FreedomStudio directory to RISC-V_RV32_SiFive_HiFiv...
rtel [Wed, 1 Jan 2020 22:05:35 +0000 (22:05 +0000)]
Rename RISC-V_RV32_SiFive_HiFive1-FreedomStudio directory to RISC-V_RV32_SiFive_HiFive1-RevB-FreedomStudio as it targets Rev B of the hardware.

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

9 months agoUpdate RISCC-V-RV32-SiFive_HiFive1_FreedomStudio project to latest tools and metal...
rtel [Wed, 1 Jan 2020 22:02:06 +0000 (22:02 +0000)]
Update RISCC-V-RV32-SiFive_HiFive1_FreedomStudio project to latest tools and metal library versions.

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

9 months agoRename STM32Cube to GCC for STM32L4 Discovery projects as GCC is
gaurav-aws [Wed, 1 Jan 2020 00:35:42 +0000 (00:35 +0000)]
Rename STM32Cube to GCC for STM32L4 Discovery projects as GCC is
the compiler used.

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

9 months agoMake vSetupTimerInterrupt weak in the RVDS M4 MPU port to give the
gaurav-aws [Wed, 1 Jan 2020 00:04:10 +0000 (00:04 +0000)]
Make vSetupTimerInterrupt weak in the RVDS M4 MPU port to give the
application writer a chance to override this function. This gives
the application write ability to use a different timer.

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

9 months agoUpdate documentation of xTaskCheckForTimeOut function to reflect the
gaurav-aws [Tue, 31 Dec 2019 20:49:07 +0000 (20:49 +0000)]
Update documentation of xTaskCheckForTimeOut function to reflect the
intended use of this API.

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

9 months ago- Updates to projects due to demo folder name change. (IAR source file paths and...
yuhzheng [Tue, 31 Dec 2019 08:06:33 +0000 (08:06 +0000)]
- Updates to projects due to demo folder name change. (IAR source file paths and assembler path were fixed. Keil source file paths were fixed.)
- Added back power static library for GCC and IAR. (Power management related interface definitions are in drivers/fsl_power.h. power.c is empty due to "implementation is in header file and power library")
- Note for GCC link: the command used for linking is `arm-none-eabi-gcc -nostdlib -L<additional lib search path> -Xlinker ... -o "CORTEX_M0+_LPC51U68_LPCXpresso.axf" <all *.o> -lpower`. Per GCC doc, static library name in file system is libpower.a.

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

9 months agoPreviously the STM32F0518 compiler setting was changed to enable the use of the __wea...
rtel [Mon, 30 Dec 2019 22:24:58 +0000 (22:24 +0000)]
Previously the STM32F0518 compiler setting was changed to enable the use of the __weak attribute - however changing the port layer to use #pragma weak in place of __weak means the compiler setting change is not required and removes the risk of introducing incompatibilities - so this check in reverts the compiler settings change.

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

9 months agoEnsure the CORTEX_M0_STM32F0518_IAR demo builds after updates to the Cortex-M0 port...
rtel [Mon, 30 Dec 2019 22:07:33 +0000 (22:07 +0000)]
Ensure the CORTEX_M0_STM32F0518_IAR demo builds after updates to the Cortex-M0 port layer - required an update to the project settings to allow IAR extensions as the port layer now uses the _weak qualifier.

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

9 months agoEnsure the LPC1114 demo still builds after updates to the Cortex-M0 port layer -...
rtel [Mon, 30 Dec 2019 22:00:26 +0000 (22:00 +0000)]
Ensure the LPC1114 demo still builds after updates to the Cortex-M0 port layer - includes minor update to remove compiler warning that resulted from a newer compiler version.

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

9 months agoEnsure the LPC1114 demo still builds after updates to the Cortex-M0 port layer -...
rtel [Mon, 30 Dec 2019 21:59:11 +0000 (21:59 +0000)]
Ensure the LPC1114 demo still builds after updates to the Cortex-M0 port layer - includes minor update to remove compiler warning that resulted from a newer compiler version.

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

9 months agoEnsure the XMC1000_IAR_KEIL_GCC projects still build after updates to the Cortex...
rtel [Mon, 30 Dec 2019 21:44:22 +0000 (21:44 +0000)]
Ensure the XMC1000_IAR_KEIL_GCC projects still build after updates to the Cortex-M0 port layer - minor change to remove warning related to using a newer version of the IAR tools.

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

9 months agoReplace the static prvSetupTimerInterrupt() function in the Cortex-M port layers...
rtel [Mon, 30 Dec 2019 21:16:09 +0000 (21:16 +0000)]
Replace the static prvSetupTimerInterrupt() function in the Cortex-M port layers that still used it (other than MPU ports so far) with a weakly defined function call vPortSetupTimerInterrupt() - which allows application writers to override the function with one that uses a different clock.

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

9 months agoCorrect use of xStreamBufferRead() to xStreamBufferReceive() in code comments - no...
rtel [Mon, 30 Dec 2019 20:00:49 +0000 (20:00 +0000)]
Correct use of xStreamBufferRead() to xStreamBufferReceive() in code comments - no source code changes.

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

9 months agoTidy up comments only.
rtel [Fri, 27 Dec 2019 21:22:07 +0000 (21:22 +0000)]
Tidy up comments only.

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

9 months agoEnable the Win32 comprehensive test/demo build and run when configUSE_QUEUE_SETS...
rtel [Fri, 27 Dec 2019 21:02:23 +0000 (21:02 +0000)]
Enable the Win32 comprehensive test/demo build and run when configUSE_QUEUE_SETS is set to 0.

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

9 months agoUpdate the LM3Sxxxx_IAR_Keil demo so the IAR project writes to the UART and executes...
rtel [Fri, 27 Dec 2019 20:59:57 +0000 (20:59 +0000)]
Update the LM3Sxxxx_IAR_Keil demo so the IAR project writes to the UART and executes in QEMU.

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

9 months agoUpdates to CM4_MPU RCDS port
gaurav-aws [Tue, 24 Dec 2019 22:45:32 +0000 (22:45 +0000)]
Updates to CM4_MPU RCDS port

- System calls are now only allowed from kernel code. This change can be turned on
  or off using configENFORCE_SYSTEM_CALLS_FROM_KERNEL_ONLY.
- MPU is disabled before reprogramming it and enabled afterwards to be compliant
  with ARM recommendations.

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

9 months agoRemove local paths from the URL files
gaurav-aws [Tue, 24 Dec 2019 19:16:19 +0000 (19:16 +0000)]
Remove local paths from the URL files

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

9 months agoAdd readme into the third party RISC-V port that points to the directories that conta...
rtel [Tue, 24 Dec 2019 17:24:23 +0000 (17:24 +0000)]
Add readme into the third party RISC-V port that points to the directories that contains the official ports.

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

9 months agoAdd IAR MPU project for STM32L475 Discovery Kit IoT Node
gaurav-aws [Sat, 21 Dec 2019 00:04:04 +0000 (00:04 +0000)]
Add IAR MPU project for STM32L475 Discovery Kit IoT Node

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

9 months agoUpdates to CM4_MPU IAR port
gaurav-aws [Sat, 21 Dec 2019 00:02:31 +0000 (00:02 +0000)]
Updates to CM4_MPU IAR port

- System calls are now only allowed from kernel code. This change can be turned on
  or off using configENFORCE_SYSTEM_CALLS_FROM_KERNEL_ONLY.
- MPU is disabled before reprogramming it and enabled afterwards to be compliant
  with ARM recommendations.

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

9 months agoIncrease test coverage for queue sets.
rtel [Fri, 20 Dec 2019 02:54:30 +0000 (02:54 +0000)]
Increase test coverage for queue sets.
Rename the CORTEX_M0+_LPC51U68_LPCXpresso demo to CORTEX_M0+_LPC51U68_GCC_IAR_KEIL as it supports all three compilers.

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

9 months agoRemove build files accidentally checked in.
rtel [Fri, 20 Dec 2019 02:49:15 +0000 (02:49 +0000)]
Remove build files accidentally checked in.
Remove the CMSIS math library as it is large and not used.

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

9 months agoAdd MPU projects for STM32L475 Discovery Kit IoT Node
gaurav-aws [Fri, 20 Dec 2019 02:07:09 +0000 (02:07 +0000)]
Add MPU projects for STM32L475 Discovery Kit IoT Node

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

9 months agoUpdates to CM4_MPU GCC port
gaurav-aws [Fri, 20 Dec 2019 02:05:44 +0000 (02:05 +0000)]
Updates to CM4_MPU GCC port

- System calls are now only allowed from kernel code. This change can be turned on
  or off using configENFORCE_SYSTEM_CALLS_FROM_KERNEL_ONLY.
- MPU is disabled before reprogramming it and enabled afterwards to be compliant
  with ARM recommendations.

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

9 months agoAdding GCC/Keil/IAR projects for NXP LPC51U68 (CM0+).
yuhzheng [Wed, 18 Dec 2019 10:06:30 +0000 (10:06 +0000)]
Adding GCC/Keil/IAR projects for NXP LPC51U68 (CM0+).

Please see readme.txt for todo items.

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

9 months agoCortex M0 GCC/IAR/Keil ports -- tickless support.
yuhzheng [Wed, 18 Dec 2019 09:55:08 +0000 (09:55 +0000)]
Cortex M0 GCC/IAR/Keil ports -- tickless support.

The default portMISSED_COUNTS_FACTOR is set to 45 cycles. User could override this value, if a more accurate count is available.

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

9 months agoRVDS/Keil weak linkage for vPortSetupTimerInterrupt() -- CM4F, CM3
yuhzheng [Wed, 18 Dec 2019 02:08:06 +0000 (02:08 +0000)]
RVDS/Keil weak linkage for vPortSetupTimerInterrupt() -- CM4F, CM3

Test steps are documented in this PR https://github.com/aws/amazon-freertos/pull/1141.

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

9 months agoUse linker script variables for MPU setup for Nuvoton M2351 Keil Project
gaurav-aws [Tue, 17 Dec 2019 01:45:53 +0000 (01:45 +0000)]
Use linker script variables for MPU setup for Nuvoton M2351 Keil Project

Earlier we were using hard-coded addresses for MPU setup which
were ensured to be the same as linker script setup. This change
updates the Keil uVision project for Nuvoton Numaker-PFM-M2351
to use the variables exported from the linker script. This ensures
that the MPU setup never goes out of sync with linker script.

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

9 months agoUse the linker script variables for MPU setup for Keil Simulator Demo
gaurav-aws [Tue, 17 Dec 2019 00:14:26 +0000 (00:14 +0000)]
Use the linker script variables for MPU setup for Keil Simulator Demo

Earlier we were using hard-coded addresses for MPU setup which
were ensured to be the same as linker script setup. This change
updates the Keil Simulator demo to use the variables exported
from the linker script. This ensures that the MPU setup does not
go out of sync with linker script.

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

9 months agoMove warning suppression for IAR compiler to portmacro.h for v8M ports
gaurav-aws [Sat, 7 Dec 2019 01:23:17 +0000 (01:23 +0000)]
Move warning suppression for IAR compiler to portmacro.h for v8M ports

IAR produces some warnings which can not be fixed in the source code because
then other compilers start generating warnings. We suppressed those warnings
in the project file before. This change moves the warning suppression from
project files to portmacro.h.

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

9 months agoCheck socket binding result before doing anything with socket. (This is to address...
yuhzheng [Wed, 4 Dec 2019 07:52:49 +0000 (07:52 +0000)]
Check socket binding result before doing anything with socket. (This is to address ARG findings.) Breaking the single return rule here, due to precedent violation at line 1039 and 1144.

prvTransferConnect() now returns:
- pdTRUE: everything's good. pdTRUE = 1.
- -pdFREERTOS_ERRNO_ENOMEM: FreeRTOS_socket() failed. -pdFREERTOS_ERRNO_ENOMEM = -12.
- -pdFREERTOS_ERRNO_EINVAL || -pdFREERTOS_ERRNO_ECANCELED: FreeRTOS_bind() failed. Negative values.

Thus, at line 569 and line 617, needs to check != pdTRUE instead of == pdFALSE.

This commit is done on behalf of Alfred.

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

9 months agoFix bug when xQueueOverwrite() and xQueueOverwrite() from ISR are used to overwrite...
rtel [Tue, 3 Dec 2019 01:50:07 +0000 (01:50 +0000)]
Fix bug when xQueueOverwrite() and xQueueOverwrite() from ISR are used to overwrite items in two queues that are part of the same set.
Minor queue optimisations.

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

9 months agoAdd the Labs projects provided in the V10.2.1_191129 zip file.
rtel [Mon, 2 Dec 2019 23:39:25 +0000 (23:39 +0000)]
Add the Labs projects provided in the V10.2.1_191129 zip file.

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

10 months agoRemove guards against __ARMCC_VERSION version numbers that were previously used to...
rtel [Thu, 21 Nov 2019 22:35:21 +0000 (22:35 +0000)]
Remove guards against __ARMCC_VERSION version numbers that were previously used to avoid compiler warnings in some GCC ARM Cortex ports.

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

10 months agoAdd software timer to the Win32 blinky demo.
rtel [Mon, 18 Nov 2019 17:35:40 +0000 (17:35 +0000)]
Add software timer to the Win32 blinky demo.

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

10 months agoRemove driver files that generate compiler warnings from the RISC-V_Renode_Emulator_S...
rtel [Mon, 18 Nov 2019 17:23:14 +0000 (17:23 +0000)]
Remove driver files that generate compiler warnings from the RISC-V_Renode_Emulator_SoftConsole project.
Update RISC-V ports so the interrupt stack is set to a known value before the scheduler is started if the interrupt stack is statically defined rather than re-using the main.c() stack.

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

10 months agoUpdate to the latest atomic.h.
rtel [Mon, 18 Nov 2019 16:28:03 +0000 (16:28 +0000)]
Update to the latest atomic.h.
Improve commenting in RISC-V GCC port.
Fix IAR RISC-V port so the first task starts with interrupts enabled.
Add references to third party page ref using newlib with FreeRTOS into the tasks.c file in each place newlib is referenced.
Move the position of the traceTASK_DELETE() trace macro in case of use with a memory allocator that writes over freed memory even when inside a critical section.
Efficiency improvement:  Make sure xTaskIncrementTick() does not return pdTRUE when the scheduler is locked.  This just prevents an unnecessary yield interrupt (unnecessary as it is ignored) when xYieldPending happens to be pdTRUE.

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

11 months agoRename the RISC-V_RV32_SiFive_Hifive1_GCC folder to RISC-V_RV32_SiFive_HiFive1_Freedo...
rtel [Tue, 22 Oct 2019 22:30:06 +0000 (22:30 +0000)]
Rename the RISC-V_RV32_SiFive_Hifive1_GCC folder to RISC-V_RV32_SiFive_HiFive1_FreedomStudio as it is built with Freedom Studio.

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

11 months agoAdd nano-specs linker option to HiFive1_GCC demo.
rtel [Tue, 22 Oct 2019 22:27:55 +0000 (22:27 +0000)]
Add nano-specs linker option to HiFive1_GCC demo.

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

11 months agoFix spelling mistakes copied and pasted into a couple of RISC-V demo main.c files.
rtel [Tue, 22 Oct 2019 16:31:57 +0000 (16:31 +0000)]
Fix spelling mistakes copied and pasted into a couple of RISC-V demo main.c files.

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

11 months agoChange version and license text in RISC-V_RV32_SiFive_HiFive1_GCC FreeRTOSConfig...
rtel [Tue, 22 Oct 2019 02:17:15 +0000 (02:17 +0000)]
Change version and license text in RISC-V_RV32_SiFive_HiFive1_GCC FreeRTOSConfig.h file.

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

11 months agoTidy up main_full.c and change alignment of variable accesses in RegTest.S for the...
rtel [Tue, 22 Oct 2019 02:15:28 +0000 (02:15 +0000)]
Tidy up main_full.c and change alignment of variable accesses in RegTest.S for the RISC-V_Renode_Emulator_SoftConsole demo.

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

11 months agoRework RISC-V QEMU example to use vanilla Eclipse in place of Freedom Studio. NOTE...
rtel [Tue, 22 Oct 2019 02:03:15 +0000 (02:03 +0000)]
Rework RISC-V QEMU example to use vanilla Eclipse in place of Freedom Studio.  NOTE:  RISC-V QEMU mtime interrupts are not generated consistently.

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

11 months agoAdd some asserts into the common demo tasks to catch scenarios where the tasks are...
rtel [Mon, 21 Oct 2019 17:17:34 +0000 (17:17 +0000)]
Add some asserts into the common demo tasks to catch scenarios where the tasks are not being used but the part of the demo/test that gets called from the tick hook is called resultant in an access to objects that were not created.

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

11 months agoUpdate RISK-V GCC port to ensure the first task starts with interrupts enabled -...
rtel [Mon, 21 Oct 2019 04:16:32 +0000 (04:16 +0000)]
Update RISK-V GCC port to ensure the first task starts with interrupts enabled - previously its interrupts were only enabled after it yielded for the first time.

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

11 months agoAdd the miv-basic.resc reNode script into the RISC-V_Renode_Emulator_SoftConsole...
rtel [Thu, 17 Oct 2019 20:39:40 +0000 (20:39 +0000)]
Add the miv-basic.resc reNode script into the RISC-V_Renode_Emulator_SoftConsole demo as it is no longer shipped with the Microsemi tools.

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

11 months agoRename RISC-V-Qemu-sive_e_Freedom_Studio directory to RISC-V-Qemu-sifive_e-Eclipse...
rtel [Wed, 16 Oct 2019 04:31:57 +0000 (04:31 +0000)]
Rename RISC-V-Qemu-sive_e_Freedom_Studio directory to RISC-V-Qemu-sifive_e-Eclipse-GCC as it is now using Vanilla Eclipse and vanilla GCC in place of Freedom Studio.

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

11 months agoRecreate the RISC-V-Qemu demo using Vanilla Eclipse in place of Freedom Studio as...
rtel [Wed, 16 Oct 2019 04:28:28 +0000 (04:28 +0000)]
Recreate the RISC-V-Qemu demo using Vanilla Eclipse in place of Freedom Studio as there is not a new Freedom Studio project that targets the HiFive1 board, and the updated Freedom Studio version didn't work with this project any more anyway.

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

11 months agoMove the call to traceTASK_DELETE() to before port portPRE_TASK_DELETE_HOOK() as...
rtel [Tue, 15 Oct 2019 22:14:40 +0000 (22:14 +0000)]
Move the call to traceTASK_DELETE() to before port portPRE_TASK_DELETE_HOOK() as in the Windows port portPRE_TASK_DELETE_HOOK() never returns.

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

11 months agoAdd IAR demo for the SiFive RISC-V HiFive Rev B board.
rtel [Mon, 14 Oct 2019 03:20:18 +0000 (03:20 +0000)]
Add IAR demo for the SiFive RISC-V HiFive Rev B board.

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

11 months agoUpdate the RegTest.S file used by several GCC RISC-V demos to ensure correct alignmen...
rtel [Mon, 14 Oct 2019 00:16:25 +0000 (00:16 +0000)]
Update the RegTest.S file used by several GCC RISC-V demos to ensure correct alignment of constant loads from assembly code.

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

11 months agoTidy up the RISC-V_RV32_SiFive_HiFive1_GCC demo ready for its eventual release.
rtel [Mon, 14 Oct 2019 00:04:53 +0000 (00:04 +0000)]
Tidy up the RISC-V_RV32_SiFive_HiFive1_GCC demo ready for its eventual release.

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

11 months agoAdded the "full" demo to the RISC-V_RV32_SiFive_HiFive1_GCC demo - backup check in...
rtel [Sun, 13 Oct 2019 22:53:00 +0000 (22:53 +0000)]
Added the "full" demo to the RISC-V_RV32_SiFive_HiFive1_GCC demo - backup check in only as still a work in progress.

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

11 months agoRIS-V_RV32_SiFive_HiFive1_GCC project now running the blinky demo - still a work...
rtel [Fri, 11 Oct 2019 02:59:13 +0000 (02:59 +0000)]
RIS-V_RV32_SiFive_HiFive1_GCC project now running the blinky demo - still a work in progress.

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

11 months agoFormatting changes only.
rtel [Thu, 10 Oct 2019 17:56:10 +0000 (17:56 +0000)]
Formatting changes only.

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

11 months agoRISC-V-RV32_SiFive_HiFive1_GCC project is now also building the FreeRTOS kernel code...
rtel [Thu, 10 Oct 2019 17:54:56 +0000 (17:54 +0000)]
RISC-V-RV32_SiFive_HiFive1_GCC project is now also building the FreeRTOS kernel code - but not using it yet - still a work in progress.

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

11 months agoBase project to replace existing Freedom Studio project using latest Freedom Studio...
rtel [Wed, 9 Oct 2019 04:50:11 +0000 (04:50 +0000)]
Base project to replace existing Freedom Studio project using latest Freedom Studio project format - builds and executes but does not yet include RTOS code.

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

11 months agoMinor formatting change in comment only.
rtel [Mon, 7 Oct 2019 18:56:33 +0000 (18:56 +0000)]
Minor formatting change in comment only.

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

12 months agoUpdate FreeRTOS.h with the version in GitHub. This is also to test submodule.
yuhzheng [Tue, 24 Sep 2019 22:29:35 +0000 (22:29 +0000)]
Update FreeRTOS.h with the version in GitHub. This is also to test submodule.

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

12 months agoNordic port. Notes for Richard -- the work items we discussed about for nrf52840...
yuhzheng [Tue, 24 Sep 2019 22:26:36 +0000 (22:26 +0000)]
Nordic port. Notes for Richard -- the work items we discussed about for nrf52840-dk and Wiced_CY still remain. The only reason for this commit is we want to test out submodule.

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

12 months agoRevert 2728. Not because the files are still needed, but because we want to test...
yuhzheng [Tue, 24 Sep 2019 22:19:54 +0000 (22:19 +0000)]
Revert 2728. Not because the files are still needed, but because we want to test out submodule.

Before further updating project files in GitHub, keeping an additional copy.

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

12 months agoWiced_CY port is not needed anymore. Use GCC/ARM_CRx_No_GIC instead.
yuhzheng [Tue, 24 Sep 2019 20:56:55 +0000 (20:56 +0000)]
Wiced_CY port is not needed anymore. Use GCC/ARM_CRx_No_GIC instead.

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

12 months agoAdding tickless hooks to GCC/ARM_CRx_No_GIC port.
yuhzheng [Tue, 24 Sep 2019 20:07:40 +0000 (20:07 +0000)]
Adding tickless hooks to GCC/ARM_CRx_No_GIC port.

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

12 months agoCorrect code comments that referred to taskYIELD_FROM_ISR to portYIELD_FROM_ISR.
rtel [Tue, 24 Sep 2019 16:06:21 +0000 (16:06 +0000)]
Correct code comments that referred to taskYIELD_FROM_ISR to portYIELD_FROM_ISR.
Update RV32 port to use 16 byte-alignment all the time (only strictly necessary when using FLOP instructions).

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

12 months agosync from github to svn: this version of atomic.h does not have compiler specific...
yuhzheng [Mon, 23 Sep 2019 16:51:03 +0000 (16:51 +0000)]
sync from github to svn: this version of atomic.h does not have compiler specific symbols. compiler specific optimization is to be merged in each port/<compiler>/<arch> directory.

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