]> git.sur5r.net Git - freertos/log
freertos
4 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years 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

5 years agosync from github to svn: Xtensa GCC as-is.
yuhzheng [Fri, 20 Sep 2019 22:09:21 +0000 (22:09 +0000)]
sync from github to svn: Xtensa GCC as-is.

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

5 years agosync from github to svn: Wiced_CY for AFR Cypress ports.
yuhzheng [Fri, 20 Sep 2019 20:52:30 +0000 (20:52 +0000)]
sync from github to svn: Wiced_CY for AFR Cypress ports.

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

5 years agosync from github to svn: documentation for RISC-V. This may be a temporary parking...
yuhzheng [Fri, 20 Sep 2019 20:47:29 +0000 (20:47 +0000)]
sync from github to svn: documentation for RISC-V. This may be a temporary parking location.

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

5 years agosync from github to svn: Renasas/RX100 #pragma _VECT()
yuhzheng [Fri, 20 Sep 2019 20:41:32 +0000 (20:41 +0000)]
sync from github to svn: Renasas/RX100 #pragma _VECT()

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

5 years agoRISC-V port updates: The machine timer compare register can now be for any HART...
rtel [Wed, 4 Sep 2019 15:46:45 +0000 (15:46 +0000)]
RISC-V port updates:  The machine timer compare register can now be for any HART, and correct the sequence used to update the 64-bit machine timer compare register on 32-bit cores.

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

5 years agoMinor bug fix in NTPDemo.c -> use of FREERTOS_INVALID_SOCKET in place of NULL.
rtel [Wed, 4 Sep 2019 00:13:17 +0000 (00:13 +0000)]
Minor bug fix in NTPDemo.c -> use of FREERTOS_INVALID_SOCKET in place of NULL.
Update trace recorder code to account for uxPendedTicks renaming to xPendedTicks.

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

5 years agoAdd IAR RISC-V port to SVN - a work in progress.
rtel [Tue, 3 Sep 2019 01:39:29 +0000 (01:39 +0000)]
Add IAR RISC-V port to SVN - a work in progress.

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

5 years agoAtollic project update for CORTEX_M0_Infineon_XMC1000_IAR_Keil_GCC, GCC port.
yuhzheng [Fri, 30 Aug 2019 00:18:41 +0000 (00:18 +0000)]
Atollic project update for CORTEX_M0_Infineon_XMC1000_IAR_Keil_GCC, GCC port.

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

5 years agoCorrect alignment of stack top in RISC-V port when configISR_STACK_SIZE_WORDS is...
rtel [Tue, 27 Aug 2019 15:57:45 +0000 (15:57 +0000)]
Correct alignment of stack top in RISC-V port when configISR_STACK_SIZE_WORDS is defined to a non zero value.

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

5 years ago+ Moved the History.txt file from the website git repo into the source code SVN repo.
rtel [Sun, 25 Aug 2019 19:35:59 +0000 (19:35 +0000)]
+ Moved the History.txt file from the website git repo into the source code SVN repo.
+ Added xTaskCatchUpTicks() which corrects the tick count value after the application code has held interrupts disabled for an extended period.
+ Updated the xTaskResumeAll() implementation so it uses the new xTaskCatchUpTicks() function mentioned above to unwind ticks that were pended while the scheduler was suspended.
+ Various maintenance on the message buffer, stream buffer and abort delay demos.
+ Change type of uxPendedTicks from UBaseType_t to TickType_t to ensure it has same type as variables it is compared to, and therefore also rename the variable xPendingTicks.
+ Correct spelling mistake within a comment that was common to all the ARMv7-M ports.

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

5 years agoStarting point for IAR RISC-V project created some time ago - checking in now so...
rtel [Sun, 4 Aug 2019 15:24:15 +0000 (15:24 +0000)]
Starting point for IAR RISC-V project created some time ago - checking in now so it can be completed - currently work in progress.

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

5 years agoTidy up Win32 port layer - include addition of new variable that prevents recursive...
rtel [Sun, 4 Aug 2019 01:14:43 +0000 (01:14 +0000)]
Tidy up Win32 port layer - include addition of new variable that prevents recursive attempts to obtain a mutex when the trace recorder is used inside an interrupt.

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

5 years agoUpdate the FreeRTOS version number in task.h
gaurav-aws [Mon, 29 Jul 2019 23:48:11 +0000 (23:48 +0000)]
Update the FreeRTOS version number in task.h

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

5 years agoAdd the default definition of configPRECONDITION to FreeRTOS.h.
gaurav-aws [Sat, 27 Jul 2019 23:03:23 +0000 (23:03 +0000)]
Add the default definition of configPRECONDITION to FreeRTOS.h.

This is needed for CBMC proofs.

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

5 years agoFiles as per 190725_FreeRTOS_IoT_Libs_Task_Pool_and_MQTT_Preview interim release.
rtel [Thu, 25 Jul 2019 20:20:24 +0000 (20:20 +0000)]
Files as per 190725_FreeRTOS_IoT_Libs_Task_Pool_and_MQTT_Preview interim release.

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

5 years agoDelete obsolete makefiles that were causing confusion from RISC-V-Qemu-sifive_e-Freed...
rtel [Thu, 25 Jul 2019 20:11:37 +0000 (20:11 +0000)]
Delete obsolete makefiles that were causing confusion from RISC-V-Qemu-sifive_e-FreedomStudio demo.

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

5 years agoRemove unnecessary include path from the MQTT demo.
rtel [Wed, 24 Jul 2019 02:01:43 +0000 (02:01 +0000)]
Remove unnecessary include path from the MQTT demo.

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

5 years agoCosmetic changes in the MQTT demo - mostly comment updates.
gaurav-aws [Wed, 24 Jul 2019 01:29:01 +0000 (01:29 +0000)]
Cosmetic changes in the MQTT demo - mostly comment updates.

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

5 years agoContinued to work on the MQTT demo project.
rtel [Wed, 24 Jul 2019 00:27:14 +0000 (00:27 +0000)]
Continued to work on the MQTT demo project.
A few review comments added into the MQTT implementation.

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

5 years agoRemove the simple UDP client/server tasks from the MQTT demo as the demo's network...
rtel [Tue, 23 Jul 2019 19:23:12 +0000 (19:23 +0000)]
Remove the simple UDP client/server tasks from the MQTT demo as the demo's network connection can be tested more easily just by pinging it.
Tidy up the iot_config.h header files a little.

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

5 years agoCosmetic changes in the MQTT demo
gaurav-aws [Tue, 23 Jul 2019 18:20:06 +0000 (18:20 +0000)]
Cosmetic changes in the MQTT demo

- Fix warnings in the MQTT code.
- Update comments in the iot_config.h.

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

5 years agoReduce warning level in Visual Studio project as it generates lots of warnings in...
rtel [Tue, 23 Jul 2019 17:30:18 +0000 (17:30 +0000)]
Reduce warning level in Visual Studio project as it generates lots of warnings in the library files.

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

5 years agoRevert a couple of changes in Win32 demo that should not have been checked in.
rtel [Tue, 23 Jul 2019 17:02:59 +0000 (17:02 +0000)]
Revert a couple of changes in Win32 demo that should not have been checked in.

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

5 years agoRemove dependency on secure sockets
gaurav-aws [Tue, 23 Jul 2019 06:55:54 +0000 (06:55 +0000)]
Remove dependency on secure sockets

Network interface implementation for FreeRTOS now directly calls into
FreeRTOS+TCP instead of going via secure sockets.

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

5 years agoRemove IotMqtt_Assert( pTaskPool == IOT_SYSTEM_TASKPOOL ) from MQTT code
gaurav-aws [Tue, 23 Jul 2019 04:49:24 +0000 (04:49 +0000)]
Remove IotMqtt_Assert( pTaskPool == IOT_SYSTEM_TASKPOOL ) from MQTT code

The cut down version of the task pool has only one task pool, namely,
system task pool. All the task pool API functions accept NULL as a
valid parameter for IotTaskPool_t and use the system task pool when
NULL is passed for the system task pool.

IOT_SYSTEM_TASKPOOL is defined to NULL to use system task pool and
therefore the above assert is no longer valid.

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

5 years agoUpdate projects to use the new directory name
gaurav-aws [Tue, 23 Jul 2019 04:16:32 +0000 (04:16 +0000)]
Update projects to use the new directory name

IotTaskPool_GetSystemTaskPool has been removed from the cut down version
of the task pool. define IOT_SYSTEM_TASKPOOL to NULL so that the MQTT library
builds successfully.

Use the new #defines in the iot_config.h.

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

5 years agoRename \FreeRTOS-Plus\Source\FreeRTOS-Plus-IoT-SDK to \FreeRTOS-Plus\Source\FreeRTOS...
gaurav-aws [Tue, 23 Jul 2019 03:41:27 +0000 (03:41 +0000)]
Rename \FreeRTOS-Plus\Source\FreeRTOS-Plus-IoT-SDK to \FreeRTOS-Plus\Source\FreeRTOS-IoT-Libraries.

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

5 years agoUpdate task pool so tasks and timer are allocated statically.
rtel [Tue, 23 Jul 2019 01:46:59 +0000 (01:46 +0000)]
Update task pool so tasks and timer are allocated statically.

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

5 years agoAnother backup check-in during process of optimising task pool for FreeRTOS. This...
rtel [Tue, 23 Jul 2019 00:00:37 +0000 (00:00 +0000)]
Another backup check-in during process of optimising task pool for FreeRTOS.  This checkin is prior to making the task pool statically allocated.

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

5 years agoBackup checking on - part way through optimising task pool.
rtel [Mon, 22 Jul 2019 21:46:13 +0000 (21:46 +0000)]
Backup checking on - part way through optimising task pool.

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

5 years agoFix DNS resolution failure for test.mosquitto.org
gaurav-aws [Mon, 22 Jul 2019 18:27:45 +0000 (18:27 +0000)]
Fix DNS resolution failure for test.mosquitto.org

The DNS cache entry size was not big enough to fit the DNS name and
as a result the DNS reply parsing code returned error. Increased the
size of the entry to ensure that the DNS name can fit in.

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

5 years agoThe MQTT example now works with the local MQTT broker.
gaurav-aws [Sun, 21 Jul 2019 23:26:54 +0000 (23:26 +0000)]
The MQTT example now works with the local MQTT broker.

It still needs to be tested with the public mosquitto broker.

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

5 years agoAdd first draft of mqtt example
gaurav-aws [Sun, 21 Jul 2019 22:14:13 +0000 (22:14 +0000)]
Add first draft of mqtt example

Note that it is still work in progress and not working as of now.

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

5 years agoAdd the files from the MQTT project that were not check in.
rtel [Fri, 19 Jul 2019 01:39:42 +0000 (01:39 +0000)]
Add the files from the MQTT project that were not check in.

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

5 years agoAdd missing files so base MQTT project builds.
rtel [Fri, 19 Jul 2019 00:37:33 +0000 (00:37 +0000)]
Add missing files so base MQTT project builds.

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

5 years agoUpdate the task pool demo to show re-use of recyclable jobs
gaurav-aws [Fri, 19 Jul 2019 00:02:45 +0000 (00:02 +0000)]
Update the task pool demo to show re-use of recyclable jobs

The example now creates a recyclable job, schedules it and returns it
back to the task pool when it is done. It then again creates a
recyclable job and ensures that the task pool the same job present
it its cache.

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

5 years agoAdded simple UDP demo into the mqtt project to enable the network connectivity to...
rtel [Wed, 17 Jul 2019 20:50:15 +0000 (20:50 +0000)]
Added simple UDP demo into the mqtt project to enable the network connectivity to be tested in a simple way prior to performing any MQTT operations.

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

5 years agoAdd MQTT project that builds on the task pool project - currently the library is...
rtel [Wed, 17 Jul 2019 19:44:13 +0000 (19:44 +0000)]
Add MQTT project that builds on the task pool project - currently the library is building but not being used.

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

5 years agoRename the FreeRTOS_Plus_IoT_SDK directory to FreeRTOS_IoT_Libraries.
rtel [Tue, 16 Jul 2019 18:21:42 +0000 (18:21 +0000)]
Rename the FreeRTOS_Plus_IoT_SDK directory to FreeRTOS_IoT_Libraries.

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

5 years agoFunction rename in task pool demo.
rtel [Tue, 16 Jul 2019 18:19:44 +0000 (18:19 +0000)]
Function rename in task pool demo.

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

5 years agoRemove any TCP/IP functionality from the task pool demo - the TCP/IP stack is still...
rtel [Sun, 14 Jul 2019 23:33:05 +0000 (23:33 +0000)]
Remove any TCP/IP functionality from the task pool demo - the TCP/IP stack is still built as it will be used in later revisions.

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

5 years agoUpdate TCP/IP tack to latest form Git.
rtel [Sun, 14 Jul 2019 22:07:41 +0000 (22:07 +0000)]
Update TCP/IP tack to latest form Git.

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

5 years agoSynch IoT libraries with latest versions.
rtel [Sun, 14 Jul 2019 19:29:16 +0000 (19:29 +0000)]
Synch IoT libraries with latest versions.

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

5 years agoNew MSVC task pool demo now building both the task pool and TCP libraries.
rtel [Sun, 14 Jul 2019 19:13:51 +0000 (19:13 +0000)]
New MSVC task pool demo now building both the task pool and TCP libraries.

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

5 years agoRename the task pool version of FreeRTOS_Plus_TCP_Minimal.sln to task_pool_demo.sln.
rtel [Sun, 14 Jul 2019 18:04:40 +0000 (18:04 +0000)]
Rename the task pool version of FreeRTOS_Plus_TCP_Minimal.sln to task_pool_demo.sln.

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

5 years agoRestart the task pool demo, this time using the minimal FreeRTOS+TCP project as a...
rtel [Sun, 14 Jul 2019 18:01:57 +0000 (18:01 +0000)]
Restart the task pool demo, this time using the minimal FreeRTOS+TCP project as a base.

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

5 years agoMinor modification to the WIn32 simple TCP/IP stack example only.
rtel [Sun, 14 Jul 2019 16:06:31 +0000 (16:06 +0000)]
Minor modification to the WIn32 simple TCP/IP stack example only.

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

5 years agoOnly partially implemented and may get reverted - updates to the Win32 port that...
rtel [Fri, 12 Jul 2019 01:52:22 +0000 (01:52 +0000)]
Only partially implemented and  may get reverted - updates to the Win32 port that uses a per-task event to prevent the task proceeding past its yield point if the SuspendThread() call used to stop the task does not take effect immediately.  This is intended to fix issues reported by users, although we have been unable to replicate them ourselves.

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

5 years agoRemove IotTaskPool_CreateRecyclableSystemJob() and IotTaskPool_ScheduleSystemJob...
rtel [Mon, 8 Jul 2019 15:48:21 +0000 (15:48 +0000)]
Remove IotTaskPool_CreateRecyclableSystemJob() and IotTaskPool_ScheduleSystemJob() again, which were intended to be alternative APIs that only access the system task pool, and instead update IotTaskPool_CreateRecyclableJob() and IotTaskPool_ScheduleJob() to allow the parameter used to pass in the task pool handle to be NULL if the system task pool is the only one available.
Update the task pool demo app to include a lot more functionality.

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

5 years agoExercise the new vPortGetHeapStats() function from the Win32 demo projects.
rtel [Fri, 5 Jul 2019 20:21:59 +0000 (20:21 +0000)]
Exercise the new vPortGetHeapStats() function from the Win32 demo projects.

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

5 years agoAdd link to dual core blog post into STM32H745I demo.
rtel [Thu, 4 Jul 2019 21:18:36 +0000 (21:18 +0000)]
Add link to dual core blog post into STM32H745I demo.
Doxygen corrections in list.h.
Use #error to check FreeRTOS.h is included before message_buffer.h and stream_buffer.h.

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

5 years agoAdd vPortGetHeapStats() function to query heap statistics.
rtel [Thu, 4 Jul 2019 19:34:48 +0000 (19:34 +0000)]
Add vPortGetHeapStats() function to query heap statistics.

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

5 years agoOnly check once before re-setting ready priority
gaurav-aws [Wed, 3 Jul 2019 00:08:16 +0000 (00:08 +0000)]
Only check once before re-setting ready priority

The macro taskRESET_READY_PRIORITY checks if the task being removed from the
ready list is the last one and only then resets the top ready priority
by calling portRESET_READY_PRIORITY. If we already know that it is the
last ready task being removed then there is no need to perform the check
again and the macro portRESET_READY_PRIORITY can be called directly. We were
doing the unnecessary check at two places and this commit fixes them.

This commit also increases the time period of check task to ensure that all
the demo tasks get a chance to run before the check is performed.

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

5 years agoUse ARMCM33_DSP_FP_TZ_config.txt which comes with the MDS installation
gaurav-aws [Tue, 2 Jul 2019 18:47:36 +0000 (18:47 +0000)]
Use ARMCM33_DSP_FP_TZ_config.txt which comes with the MDS installation

We had a copy of ARMCM33_DSP_FP_TZ_config.txt file within the project directory
and it used to get outdated with each release of MDK because of non-backward
compatible changes in MDK. This change removes the copy in the project and
instead uses the one shipped with the MDK installation.

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

5 years agoIn small FreeRTOS applications it is unlikely there will be any task pools other...
rtel [Mon, 1 Jul 2019 17:05:20 +0000 (17:05 +0000)]
In small FreeRTOS applications it is unlikely there will be any task pools other than the system task pool.  IotTaskPool_CreateRecyclableSystemJob() is therefore introduced to complement IotTaskPool_CreateRecyclableJob() that does not require the handle of the target task pool to be specified as a parameter.  Likewise IotTaskPool_ScheduleSystemJob() is introduced to complement IotTaskPool_ScheduleJob() for the same reason.
IotTaskPool_CreateSystemTaskPool() calls synchronisation primitives, so cannot be called before the scheduler starts.  Add a configASSERT() to ensure the scheduler is running when it executes.
IotTaskPool_CreateSystemTaskPool() can conceivably be called from multiple different libraries that depend on the thread pool.  In this version _IotSystemTaskPool.running can be used to check the system task pool has not already been created.  If the task pool has been created simply return from IotTaskPool_CreateSystemTaskPool() instead of re-creating it (which would leak memory and leave orphaned tasks).
Call taskENTER_CRITICAL() and taskEXIT_CRITICAL() directly in place of mapping them to TASKPOOL_ENTER_CRITICAL() and TASKPOOL_EXIT_CRITICAL() in the same file.
Rename _timerThread() _timerCallback(), as it is a callback function and not a thread.
Remove the unused flags parameter from _scheduleInternal().

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

5 years agoAdd the first and most basic task pool example.
rtel [Fri, 28 Jun 2019 23:20:52 +0000 (23:20 +0000)]
Add the first and most basic task pool example.

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

5 years agoCreate a project that builds a subset of the dependencies of the IoT SDK that have...
rtel [Wed, 19 Jun 2019 18:42:58 +0000 (18:42 +0000)]
Create a project that builds a subset of the dependencies of the IoT SDK that have been brought into SVN thus far.  The application does nothing other than build at this time.

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

5 years agoBring in a minimum subset of the IoT SDK - at this time just a subset of the library...
rtel [Wed, 19 Jun 2019 18:41:21 +0000 (18:41 +0000)]
Bring in a minimum subset of the IoT SDK - at this time just a subset of the library dependencies rather than the libraries themselves.

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

5 years agoAdded additional xMessageBufferSpacesAvailable() (plural) to existing xMessageBufferS... V10.2.1
rtel [Mon, 13 May 2019 03:14:05 +0000 (03:14 +0000)]
Added additional xMessageBufferSpacesAvailable() (plural) to existing xMessageBufferSpaceAvailable() (singular) macro as the documentation muddled both.
Added #define portPOINTER_SIZE_TYPE  uint64_t to the 64-bit RISC-V port layer.

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

5 years agoUpdate version number ready for next release.
rtel [Sat, 11 May 2019 01:47:37 +0000 (01:47 +0000)]
Update version number ready for next release.

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

5 years agoDelete the Release configuration from the NXP project.
gaurav-aws [Sat, 11 May 2019 00:53:34 +0000 (00:53 +0000)]
Delete the Release configuration from the NXP project.

Also, some cosmetic changes.

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

5 years agoRemoving obsolete code and files only.
rtel [Fri, 10 May 2019 22:19:18 +0000 (22:19 +0000)]
Removing obsolete code and files only.

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

5 years agoAdd M7/M4 AMP demo.
rtel [Fri, 10 May 2019 18:25:10 +0000 (18:25 +0000)]
Add M7/M4 AMP demo.

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

5 years agoAdd NXP libs needed to build the project
gaurav-aws [Thu, 9 May 2019 22:27:44 +0000 (22:27 +0000)]
Add NXP libs needed to build the project

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

5 years agoDelete the not needed file missed in last commit
gaurav-aws [Thu, 9 May 2019 22:09:12 +0000 (22:09 +0000)]
Delete the not needed file missed in last commit

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

5 years agoDo not strip required symbols when LTO is on
gaurav-aws [Thu, 9 May 2019 22:04:29 +0000 (22:04 +0000)]
Do not strip required symbols when LTO is on

Link time optimization was stripping off some symbols which were
accessed from assembly code.

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

5 years agoEnsure that fault handlers are declared naked.
gaurav-aws [Sun, 5 May 2019 02:26:42 +0000 (02:26 +0000)]
Ensure that fault handlers are declared naked.

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