Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FreeRTOS/FreeRTOS-Kernel.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-10-31aarch64: Rename ARM_CA53_64_BIT/_SRE to Arm_AARCH64/_SRE (#822)Devaraj Ranganna
The Cortex-A53 ports are generic and can be used as a starting point for other Armv8-A application processors. Therefore, rename `ARM_CA53_64_BIT` to `Arm_AARCH64` and `ARM_CA53_64_BIT_SRE` to `Arm_AARCH64_SRE`. With this renaming, existing projects that use old port, should migrate to renamed port as follows: * `ARM_CA53_64_BIT` -> `Arm_AARCH64` * `ARM_CA53_64_BIT_SRE` -> `Arm_AARCH64_SRE` Signed-off-by: Devaraj Ranganna <devaraj.ranganna@arm.com> Co-authored-by: Gaurav-Aggarwal-AWS <33462878+aggarg@users.noreply.github.com>
2023-10-30Move cmake compile options to the example project (#872)ActoryOu
* Move GCC compile option to GCC folder with toolchain option * Add CI flow to build cmake example * Fix CI * formatting && enable Werror * Add useless variable to test CI * revert useless variable * Add comments as examples. * Remove default compile options. * Formatting * Remove compile option in kernel cmake and put the sample in examples/cmake_example --------- Co-authored-by: Joseph Julicher <jjulicher@mac.com>
2023-10-27Support configurable RISC-V chip extension (#773)Joe Benczarski
* Support configurable RISC-V chip extension Added the FREERTOS_RISCV_EXTENSION option to allow the user to select which chip extension they want included. Removed the port for pulpino to instead use the new option. * Add port GCC_RISC_V_GENERIC and IAR_RISC_V_GENERIC * Add two rics-v generic ports to support FREERTOS_RISCV_EXTENSION config --------- Co-authored-by: Joe Benczarski <jbenczarski@trijicon.com> Co-authored-by: chinglee-iot <61685396+chinglee-iot@users.noreply.github.com> Co-authored-by: Ching-Hsin Lee <chinglee@amazon.com> Co-authored-by: kar-rahul-aws <118818625+kar-rahul-aws@users.noreply.github.com> Co-authored-by: Soren Ptak <ptaksoren@gmail.com>
2023-10-23Remove default behaviour of FREERTOS_HEAP. (#807)Boris van der Meer
To build a complete static application (configSUPPORT_DYNAMIC_ALLOCATION set to 0) an ugly workaround is necessary, because when FREERTOS_HEAP is not set, heap 4 is automatically selected in the current CMake. Co-authored-by: kar-rahul-aws <118818625+kar-rahul-aws@users.noreply.github.com> Co-authored-by: chinglee-iot <61685396+chinglee-iot@users.noreply.github.com> Co-authored-by: Gaurav-Aggarwal-AWS <33462878+aggarg@users.noreply.github.com> Co-authored-by: Soren Ptak <ptaksoren@gmail.com>
2023-09-30Sample FreeRTOSConfig.h and template port (#812)Joseph Julicher
* config file experiments * adding a config file for an example * Added a template port and updated the CMakeLists * template and default configuration build * finalising the sample FreeRTOSConfig.h header file * removed .config hidden file * further reductions in the template port * Uncrustify: triggered by comment. * Uncrustify: triggered by comment. * minor readme updates * fixed spelling error in HTTP * fixed a type and added a link to the sample readme * uncrustified FreeRTOSConfig.h * Uncrustify: triggered by comment. * Revert "Uncrustify: triggered by comment." This reverts commit e534f46f2d772068fe787130ef615d2aea65a2df. * Revert "Revert "Uncrustify: triggered by comment."" This reverts commit c9058dd383ad475315c7867933dc9412918be81a. * excluding the FreeRTOSConfig.h from copyright+license check because this file is intended to be incorporated into user code * Removed the copyright and license from the template files * put license copy in the template and sample files * Uncrustify: triggered by comment. --------- Co-authored-by: GitHub Action <action@github.com>
2023-09-06CI-CD Updates (#768)Soren Ptak
* Use new version of CI-CD Actions * Use cSpell spell check, and use ubuntu-20.04 for formatting check * Format and spell check all files in the portable directory * Remove the https:// from #errors and #warnings as uncrustify attempts to change it to /* * Use checkout@v3 instead of checkout@v2 on all jobs ---------
2023-07-20Add `-Wconversion` in CMakeLists.txt (#712)Gaurav-Aggarwal-AWS
Also fix warnings generated by this flag. Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
2023-07-19Fic clang compiler warnings (#711)Gaurav-Aggarwal-AWS
Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
2023-07-16Fixed compile options polluting project (#694)Mr. Jake
* Fixed compile options polluting project Moved add_library higher * Apply suggestions from code review Co-authored-by: Paul Bartell <paul.bartell@gmail.com> * fixed cmakelists keeping in mind the suggestions --------- Co-authored-by: Paul Bartell <paul.bartell@gmail.com> Co-authored-by: Gaurav-Aggarwal-AWS <33462878+aggarg@users.noreply.github.com> Co-authored-by: Aniruddha Kanhere <60444055+AniruddhaKanhere@users.noreply.github.com>
2023-07-11Fix circular dependency in CMake project (#700)Patrick Cook
* Fix circular dependency in cmake project Fix for https://github.com/FreeRTOS/FreeRTOS-Kernel/issues/687 In order for custom ports to also break the cycle, they must link against freertos_kernel_include instead of freertos_kernel. * Simplify include path
2023-06-02Add back croutines by reverting PR#590 (#685)Aniruddha Kanhere
* Add croutines to the code base * Add croutine changes to cmake, lexicon and readme * Add croutine file to portable cmake file * Add back more references from PR 591
2023-03-28Remove C90 requirement from CMakeLists (#649)Gaurav-Aggarwal-AWS
This is needed as it is breaking projects - https://forums.freertos.org/t/freertos-gcc-cmake/16984 We will re-evaluate and accordingly add this later. Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
2023-03-07Fix freertos_kernel cmake property, Posix Port (#640)Kody Stribrny
* Fix freertos_kernel cmake property, Posix Port * Moves the `set_property()` call below the target definition in top level CMakeLists file * Corrects billion value from `ULL` suffix (not C90 compliant) to `UL` suffix with cast to uint64_t * Add blank line to CMakeLists.txt
2023-03-02Remove C99 requirement from CMake file (#633)Gaurav-Aggarwal-AWS
* Remove C99 requirement from CMake file The kernel source is C89 compliant and does not need C99. Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com> * Explicitly set C89 requirement for kernel Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com> --------- Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
2023-02-28Cortex-M35P: Add Cortex-M35P port (#631)Devaraj Ranganna
* Cortex-M35P: Add Cortex-M35P port The Cortex-M35P support added to kernel. The port hasn't been validated yet with TF-M. Hence TF-M support is not included in this port. Signed-off-by: Devaraj Ranganna <devaraj.ranganna@arm.com> * Add portNORETURN to the newly added portmacro.h Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com> --------- Signed-off-by: Devaraj Ranganna <devaraj.ranganna@arm.com> Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com> Co-authored-by: Gaurav-Aggarwal-AWS <33462878+aggarg@users.noreply.github.com> Co-authored-by: Gaurav Aggarwal <aggarg@amazon.com> Co-authored-by: kar-rahul-aws <118818625+kar-rahul-aws@users.noreply.github.com>
2023-02-23Feature/fixing clang gnu compiler warnings (#620)phelter
* Adding in ability to support a library for freertos_config and a custom freertos_kernel_port (#558) * Using single name definition for libraries everywhere. (#558) * Supporting backwards compatibility with FREERTOS_CONFIG_FILE_DIRECTORY (#571) * Removing compiler warnings for GNU and Clang. (#571) * Added in documentation on how to consume from a main project. Added default PORT selection for native POSIX and MINGW platforms. * Only adding freertos_config if it exists. Removing auto generation of it from a FREERTOS_CONFIG_FILE_DIRECTORY. * Fixing clang and gnu compiler warnings. * Adding in project information and how to compile for GNU/clang * Fixing compiler issue with unused variable - no need to declare variable. * Adding in compile warnings for linux builds that kernel is okay with using. * Fixing more extra-semi-stmt clang warnings. * Moving definition of hooks into header files if features are enabled. * Fixing formatting with uncrustify. * Fixing merge conflicts with main merge. * Fixing compiler errors due to merge issues and formatting. * Fixing Line feeds. * Adding 'portNORETURN' into portmacros.h. Other Updates based on PR request * Further clean-up of clang and clang-tidy issues. * Removing compiler specific pragmas from common c files. * Fixing missing lexicon entry and uncrustify formatting changes. * Resolving merge issue multiple defnitions of proto for prvIdleTask * Fixing formatting issues that are not covered by uncrustify. Use clang-tidy instead if you want this level of control. * More uncrustify formatting issues. * Fixing extra bracket in #if statement. --------- Co-authored-by: Gaurav-Aggarwal-AWS <33462878+aggarg@users.noreply.github.com>
2023-01-23Fix some CMake documentation typos (#616)David J. Fiddes
The quick start instructions for CMake mention the "master" git branch which has been replaced by "main" in the current repo. The main CMakeLists.txt documents how to integrate a custom port. Fix a typo in the suggested CMake code.
2022-11-23CMakeLists.txt: Remove croutine.c from CMakeLists.txtPaul Bartell
CMakeLists.txt: Remove croutine.c
2022-11-18Only adding freertos_config if it exists. Removing auto generation of it ↵Paul Helter
from a FREERTOS_CONFIG_FILE_DIRECTORY.
2022-11-18Added in documentation on how to consume from a main project. Added default ↵Paul Helter
PORT selection for native POSIX and MINGW platforms.
2022-11-18Removing compiler warnings for GNU and Clang. (#571)Paul Helter
2022-11-18Supporting backwards compatibility with FREERTOS_CONFIG_FILE_DIRECTORY (#571)Paul Helter
2022-11-18Using single name definition for libraries everywhere. (#558)Paul Helter
2022-11-18Adding in ability to support a library for freertos_config and a custom ↵Paul Helter
freertos_kernel_port (#558)
2022-09-16Update CMakeLists.txt for Cortex-M55 and Cortex-M85 ports (#560)Paul Bartell
* Annotate ports CMakeLists.txt with port details * CMake: Add Cortex-M55 and Cortex-M85 ports
2022-02-22CMake: Move mpu_wrapper to ports library. (#459)imi415
2022-01-20Add CMake build (#421)yhsb2k
* Add CMake build Allows to build and link FreeRTOS using CMake build system. From top-level project it looks like this: set(FREERTOS_PORT_GCC_ARM_CM4F ON) set(FREERTOS_CONFIG_FILE_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} CACHE STRING "") add_subdirectory(third_party/FreeRTOS-Kernel) Where FREERTOS_PORT_GCC_ARM_CM4F is FreeRTOS port name. freertos is target name, which can be used in target_link_libraries() * Add feature to set custom heap source file Example how to set it from top-level project: set(FREERTOS_HEAP ${CMAKE_CURRENT_LIST_DIR}/path_to/my_heap.c CACHE STRING "") * Set cmake_minimum_required to 3.15 * Fail build when FREERTOS_CONFIG_FILE_DIRECTORY not set * Rename library to freertos_kernel * Rework FREERTOS_PORT option to act as combobox * Use freertos_kernel_port cmake target * Split port sources multiline Co-authored-by: Aniruddha Kanhere <60444055+AniruddhaKanhere@users.noreply.github.com> Co-authored-by: Paul Bartell <pbartell@amazon.com>