Commit Graph

  • 3cde02a046 RVDS/Keil weak linkage for vPortSetupTimerInterrupt() -- CM4F, CM3 Yuhui.Zheng 2019-12-18 02:08:06 +00:00
  • d58e6a7b09 Use linker script variables for MPU setup for Nuvoton M2351 Keil Project Gaurav Aggarwal 2019-12-17 01:45:53 +00:00
  • d449c8979d Use the linker script variables for MPU setup for Keil Simulator Demo Gaurav Aggarwal 2019-12-17 00:14:26 +00:00
  • 66ce9f7d72 Move warning suppression for IAR compiler to portmacro.h for v8M ports Gaurav Aggarwal 2019-12-07 01:23:17 +00:00
  • 1deeb6dd84 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. Yuhui.Zheng 2019-12-04 07:52:49 +00:00
  • 9491af1fd7 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. Richard Barry 2019-12-03 01:50:07 +00:00
  • e5708b38e9 Add the Labs projects provided in the V10.2.1_191129 zip file. Richard Barry 2019-12-02 23:39:25 +00:00
  • 46e5937529 Remove guards against __ARMCC_VERSION version numbers that were previously used to avoid compiler warnings in some GCC ARM Cortex ports. Richard Barry 2019-11-21 22:35:21 +00:00
  • d1fb8907ab Add software timer to the Win32 blinky demo. Richard Barry 2019-11-18 17:35:40 +00:00
  • 07622ed3ee 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. Richard Barry 2019-11-18 17:23:14 +00:00
  • 16639d2d63 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. Richard Barry 2019-11-18 16:28:03 +00:00
  • 18916d5820 Rename the RISC-V_RV32_SiFive_Hifive1_GCC folder to RISC-V_RV32_SiFive_HiFive1_FreedomStudio as it is built with Freedom Studio. Richard Barry 2019-10-22 22:30:06 +00:00
  • 5306ba245d Add nano-specs linker option to HiFive1_GCC demo. Richard Barry 2019-10-22 22:27:55 +00:00
  • c0741e36ed Fix spelling mistakes copied and pasted into a couple of RISC-V demo main.c files. Richard Barry 2019-10-22 16:31:57 +00:00
  • fccc445865 Change version and license text in RISC-V_RV32_SiFive_HiFive1_GCC FreeRTOSConfig.h file. Richard Barry 2019-10-22 02:17:15 +00:00
  • 11c391dfb3 Tidy up main_full.c and change alignment of variable accesses in RegTest.S for the RISC-V_Renode_Emulator_SoftConsole demo. Richard Barry 2019-10-22 02:15:28 +00:00
  • 343fbe795f Rework RISC-V QEMU example to use vanilla Eclipse in place of Freedom Studio. NOTE: RISC-V QEMU mtime interrupts are not generated consistently. Richard Barry 2019-10-22 02:03:15 +00:00
  • ef31243396 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. Richard Barry 2019-10-21 17:17:34 +00:00
  • 61a003088d 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. Richard Barry 2019-10-21 04:16:32 +00:00
  • a83244a37e 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. Richard Barry 2019-10-17 20:39:40 +00:00
  • c7c60cff15 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. Richard Barry 2019-10-16 04:31:57 +00:00
  • f78ccd077a 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. Richard Barry 2019-10-16 04:28:28 +00:00
  • d435a7b62d Move the call to traceTASK_DELETE() to before port portPRE_TASK_DELETE_HOOK() as in the Windows port portPRE_TASK_DELETE_HOOK() never returns. Richard Barry 2019-10-15 22:14:40 +00:00
  • 4922cff4ce Add IAR demo for the SiFive RISC-V HiFive Rev B board. Richard Barry 2019-10-14 03:20:18 +00:00
  • f6edf4adf9 Update the RegTest.S file used by several GCC RISC-V demos to ensure correct alignment of constant loads from assembly code. Richard Barry 2019-10-14 00:16:25 +00:00
  • 96e61a10a5 Tidy up the RISC-V_RV32_SiFive_HiFive1_GCC demo ready for its eventual release. Richard Barry 2019-10-14 00:04:53 +00:00
  • d4216903d9 Added the "full" demo to the RISC-V_RV32_SiFive_HiFive1_GCC demo - backup check in only as still a work in progress. Richard Barry 2019-10-13 22:53:00 +00:00
  • 71d9450836 RIS-V_RV32_SiFive_HiFive1_GCC project now running the blinky demo - still a work in progress. Richard Barry 2019-10-11 02:59:13 +00:00
  • dbac79045c Formatting changes only. Richard Barry 2019-10-10 17:56:10 +00:00
  • dbbebbfcbc 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. Richard Barry 2019-10-10 17:54:56 +00:00
  • 9bb072a2ab Base project to replace existing Freedom Studio project using latest Freedom Studio project format - builds and executes but does not yet include RTOS code. Richard Barry 2019-10-09 04:50:11 +00:00
  • fd118f1888 Minor formatting change in comment only. Richard Barry 2019-10-07 18:56:33 +00:00
  • eb5c60c60b Update FreeRTOS.h with the version in GitHub. This is also to test submodule. Yuhui.Zheng 2019-09-24 22:29:35 +00:00
  • 0fe36e497d 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. Yuhui.Zheng 2019-09-24 22:26:36 +00:00
  • 35bc9d7938 Revert 2728. Not because the files are still needed, but because we want to test out submodule. Yuhui.Zheng 2019-09-24 22:19:54 +00:00
  • f001126ea8 Wiced_CY port is not needed anymore. Use GCC/ARM_CRx_No_GIC instead. Yuhui.Zheng 2019-09-24 20:56:55 +00:00
  • 9052882500 Adding tickless hooks to GCC/ARM_CRx_No_GIC port. Yuhui.Zheng 2019-09-24 20:07:40 +00:00
  • 80c1cb5de1 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). Richard Barry 2019-09-24 16:06:21 +00:00
  • c217b68d38 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. Yuhui.Zheng 2019-09-23 16:51:03 +00:00
  • 6f958bbf80 sync from github to svn: Xtensa GCC as-is. Yuhui.Zheng 2019-09-20 22:09:21 +00:00
  • 1c5fcc7f05 sync from github to svn: Wiced_CY for AFR Cypress ports. Yuhui.Zheng 2019-09-20 20:52:30 +00:00
  • 74df636c78 sync from github to svn: documentation for RISC-V. This may be a temporary parking location. Yuhui.Zheng 2019-09-20 20:47:29 +00:00
  • cc0aee651e sync from github to svn: Renasas/RX100 #pragma _VECT() Yuhui.Zheng 2019-09-20 20:41:32 +00:00
  • da3d370ff7 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. Richard Barry 2019-09-04 15:46:45 +00:00
  • 96bad0f6c3 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. Richard Barry 2019-09-04 00:13:17 +00:00
  • ab41d89285 Add IAR RISC-V port to SVN - a work in progress. Richard Barry 2019-09-03 01:39:29 +00:00
  • 2b546b1984 Atollic project update for CORTEX_M0_Infineon_XMC1000_IAR_Keil_GCC, GCC port. Yuhui Zheng 2019-08-30 00:18:41 +00:00
  • 973a4f9869 Correct alignment of stack top in RISC-V port when configISR_STACK_SIZE_WORDS is defined to a non zero value. Richard Barry 2019-08-27 15:57:45 +00:00
  • 7d285f3dcb + 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. Richard Barry 2019-08-25 19:35:59 +00:00
  • 72af51cd86 Starting point for IAR RISC-V project created some time ago - checking in now so it can be completed - currently work in progress. Richard Barry 2019-08-04 15:24:15 +00:00
  • 5352cb4f45 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. Richard Barry 2019-08-04 01:14:43 +00:00
  • b1e35551c4 Update the FreeRTOS version number in task.h Gaurav Aggarwal 2019-07-29 23:48:11 +00:00
  • 6bad7d2055 Add the default definition of configPRECONDITION to FreeRTOS.h. Gaurav Aggarwal 2019-07-27 23:03:23 +00:00
  • b7be189b4e PartialReleases Richard Barry 2019-07-25 20:23:26 +00:00
  • 7b70a2c6bb Richard Barry 2019-07-25 20:22:39 +00:00
  • b4c06085e1 Files as per 190725_FreeRTOS_IoT_Libs_Task_Pool_and_MQTT_Preview interim release. Richard Barry 2019-07-25 20:20:24 +00:00
  • b24ab46d39 Delete obsolete makefiles that were causing confusion from RISC-V-Qemu-sifive_e-FreedomStudio demo. Richard Barry 2019-07-25 20:11:37 +00:00
  • 10b7b52995 Remove unnecessary include path from the MQTT demo. Richard Barry 2019-07-24 02:01:43 +00:00
  • 38b6553abd Cosmetic changes in the MQTT demo - mostly comment updates. Gaurav Aggarwal 2019-07-24 01:29:01 +00:00
  • fe4511b35e Continued to work on the MQTT demo project. A few review comments added into the MQTT implementation. Richard Barry 2019-07-24 00:27:14 +00:00
  • 53842d4cac 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. Richard Barry 2019-07-23 19:23:12 +00:00
  • 95f60318d5 Cosmetic changes in the MQTT demo Gaurav Aggarwal 2019-07-23 18:20:06 +00:00
  • 17b18c8b7e Reduce warning level in Visual Studio project as it generates lots of warnings in the library files. Richard Barry 2019-07-23 17:30:18 +00:00
  • d1dd8da12e Revert a couple of changes in Win32 demo that should not have been checked in. Richard Barry 2019-07-23 17:02:59 +00:00
  • 05e7d9cc08 Remove dependency on secure sockets Gaurav Aggarwal 2019-07-23 06:55:54 +00:00
  • 68fd276886 Remove IotMqtt_Assert( pTaskPool == IOT_SYSTEM_TASKPOOL ) from MQTT code Gaurav Aggarwal 2019-07-23 04:49:24 +00:00
  • 8ea501ef11 Update projects to use the new directory name Gaurav Aggarwal 2019-07-23 04:16:32 +00:00
  • 9dd72d4b44 Rename \FreeRTOS-Plus\Source\FreeRTOS-Plus-IoT-SDK to \FreeRTOS-Plus\Source\FreeRTOS-IoT-Libraries. Gaurav Aggarwal 2019-07-23 03:41:27 +00:00
  • 7af8756c97 Update task pool so tasks and timer are allocated statically. Richard Barry 2019-07-23 01:46:59 +00:00
  • 1840d38abf Another backup check-in during process of optimising task pool for FreeRTOS. This checkin is prior to making the task pool statically allocated. Richard Barry 2019-07-23 00:00:37 +00:00
  • 63c87504a0 Backup checking on - part way through optimising task pool. Richard Barry 2019-07-22 21:46:13 +00:00
  • 4c775574eb Fix DNS resolution failure for test.mosquitto.org Gaurav Aggarwal 2019-07-22 18:27:45 +00:00
  • 06f9278de3 The MQTT example now works with the local MQTT broker. Gaurav Aggarwal 2019-07-21 23:26:54 +00:00
  • a7ef9c3b61 Add first draft of mqtt example Gaurav Aggarwal 2019-07-21 22:14:13 +00:00
  • 238a23e4d5 Add the files from the MQTT project that were not check in. Richard Barry 2019-07-19 01:39:42 +00:00
  • 5dd6cf1295 Add missing files so base MQTT project builds. Richard Barry 2019-07-19 00:37:33 +00:00
  • d708efe997 Update the task pool demo to show re-use of recyclable jobs Gaurav Aggarwal 2019-07-19 00:02:45 +00:00
  • 2b295f9015 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. Richard Barry 2019-07-17 20:50:15 +00:00
  • d362efca8d Add MQTT project that builds on the task pool project - currently the library is building but not being used. Richard Barry 2019-07-17 19:44:13 +00:00
  • 3c3b32b8e4 Rename the FreeRTOS_Plus_IoT_SDK directory to FreeRTOS_IoT_Libraries. Richard Barry 2019-07-16 18:21:42 +00:00
  • 290c8cedfd Function rename in task pool demo. Richard Barry 2019-07-16 18:19:44 +00:00
  • bb0e1f356d 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. Richard Barry 2019-07-14 23:33:05 +00:00
  • 2e18203bb7 Update TCP/IP tack to latest form Git. Richard Barry 2019-07-14 22:07:41 +00:00
  • a6a0403fd6 Synch IoT libraries with latest versions. Richard Barry 2019-07-14 19:29:16 +00:00
  • e4e86a464e New MSVC task pool demo now building both the task pool and TCP libraries. Richard Barry 2019-07-14 19:13:51 +00:00
  • 3afd918ecd Rename the task pool version of FreeRTOS_Plus_TCP_Minimal.sln to task_pool_demo.sln. Richard Barry 2019-07-14 18:04:40 +00:00
  • 232a94c3f0 Restart the task pool demo, this time using the minimal FreeRTOS+TCP project as a base. Richard Barry 2019-07-14 18:01:57 +00:00
  • d8a3ad3c6f Minor modification to the WIn32 simple TCP/IP stack example only. Richard Barry 2019-07-14 16:06:31 +00:00
  • 8bd1813446 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. Richard Barry 2019-07-12 01:52:22 +00:00
  • e60f71855a 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. Richard Barry 2019-07-08 15:48:21 +00:00
  • 4d6570b009 Exercise the new vPortGetHeapStats() function from the Win32 demo projects. Richard Barry 2019-07-05 20:21:59 +00:00
  • fa404422b9 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. Richard Barry 2019-07-04 21:18:36 +00:00
  • 246bb6e806 Add vPortGetHeapStats() function to query heap statistics. Richard Barry 2019-07-04 19:34:48 +00:00
  • 7235743749 Only check once before re-setting ready priority Gaurav Aggarwal 2019-07-03 00:08:16 +00:00
  • 004e2b637e Use ARMCM33_DSP_FP_TZ_config.txt which comes with the MDS installation Gaurav Aggarwal 2019-07-02 18:47:36 +00:00
  • e75b609c74 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(). Richard Barry 2019-07-01 17:05:20 +00:00
  • 76cc2a00c6 Add the first and most basic task pool example. Richard Barry 2019-06-28 23:20:52 +00:00
  • 87eb37342f 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. Richard Barry 2019-06-19 18:42:58 +00:00
  • 0b0a02b76a Bring in a minimum subset of the IoT SDK - at this time just a subset of the library dependencies rather than the libraries themselves. Richard Barry 2019-06-19 18:41:21 +00:00
  • 5d78b82acb V10.2.1 Richard Barry 2019-05-13 15:36:01 +00:00