Home
last modified time | relevance | path

Searched +full:- +full:c (Results 1 – 25 of 733) sorted by relevance

12345678910>>...30

/Kernel-v11.1.0/
Dsbom.spdx1 SPDXVersion: SPDX-2.2
2 DataLicense: CC0-1.0
3 SPDXID: SPDXRef-DOCUMENT
4 DocumentName: FreeRTOS-Kernel
5 DocumentNamespace: https://github.com/FreeRTOS/FreeRTOS-Kernel/blob/v11.1.0/sbom.spdx
7 Created: 2024-04-22T07:38:21Z
11 PackageName: FreeRTOS-Kernel
12 SPDXID: SPDXRef-Package-FreeRTOS-Kernel
15 PackageDownloadLocation: https://github.com/FreeRTOS/FreeRTOS-Kernel/tree/v11.1.0
25 FileName: ./timers.c
[all …]
DMISRA.md3 FreeRTOS-Kernel conforms to [MISRA C:2012](https://www.misra.org.uk/misra-c)
6 designed for small-embedded devices, it needs to have a very small memory
18 grep 'MISRA Ref 8.4.1' . -rI
22 MISRA C:2012 Dir 4.7: If a function returns error information, then that error
26 - `taskENTER_CRITICAL_FROM_ISR` returns the interrupt mask and not any error
31 MISRA C:2012 Rule 8.4: A compatible declaration shall be visible when an
35 - pxCurrentTCB(s) is defined with external linkage but it is only referenced
41 - xQueueRegistry is defined with external linkage because it is accessed by the
47 MISRA C:2012 Rule 8.6: An identifier with external linkage shall have exactly
51 - This rule prohibits an identifier with external linkage to have multiple
[all …]
DHistory.txt5 + Add ARMv7-R port with Memory Protection Unit (MPU) support.
6 + Add Memory Protection Unit (MPU) support to the Cortex-M0 port.
8 buffer when a task reads from a non-empty buffer:
9 - The task reading from a non-empty stream buffer returns immediately
11 - The task reading from a non-empty steam batching buffer blocks until the
36 + Code changes to comply with MISRA C 2012.
37 + Add 64-bit support to the FreeRTOS Windows Simulator port. We thank @watsk
39 + Add support for 64-bit Microblaze processor to the MicroblazeV9 port. We
43 compilers. We thank @Forty-Bot for their contribution.
54 POSIX timers to address issues with signal handling in non-FreeRTOS
[all …]
DCMakeLists.txt9 # DEPRECATED: FREERTOS_CONFIG_FILE_DIRECTORY - but still supported if no freertos_config defined fo…
31 …message(WARNING " Using deprecated 'FREERTOS_CONFIG_FILE_DIRECTORY' - please update your project C…
44 …message(WARNING " FREERTOS_PORT is not set. Please specify it from top-level CMake file (example):…
47 " -DFREERTOS_PORT=GCC_ARM_CM4F\n"
50 " A_CUSTOM_PORT - Compiler: User Defined Target: User Defined\n"
51 " BCC_16BIT_DOS_FLSH186 - Compiler: BCC Target: 16 bit DOS Flsh186\n"
52 " BCC_16BIT_DOS_PC - Compiler: BCC Target: 16 bit DOS PC\n"
53 " CCS_ARM_CM3 - Compiler: CCS Target: ARM Cortex-M3\n"
54 … " CCS_ARM_CM4F - Compiler: CCS Target: ARM Cortex-M4 with FPU\n"
55 " CCS_ARM_CR4 - Compiler: CCS Target: ARM Cortex-R4\n"
[all …]
/Kernel-v11.1.0/portable/
DCMakeLists.txt2 include( GCC/RISC-V/chip_extensions.cmake )
6 include( IAR/RISC-V/chip_extensions.cmake )
9 # FreeRTOS internal cmake file. Do not use it in user top-level project
16 # FreeRTOS internal cmake file. Do not use it in user top-level project
21 template/port.c>
23 # 16-Bit DOS ports for BCC
25 BCC/16BitDOS/common/portcomn.c
26 BCC/16BitDOS/Flsh186/port.c>
29 BCC/16BitDOS/common/portcomn.c
30 BCC/16BitDOS/PC/port.c>
[all …]
/Kernel-v11.1.0/portable/WizC/PIC18/
DInstall.bat12 set FED=C:\Program Files\FED\PIC_C
16 echo YES, I found a fedC-installation!
19 echo I could not find a fedC-installation.
23 set FED=C:\Program Files\FED\PIXIE
27 echo YES, I found a wizC-installation!
30 echo I could not find a wizC-installation.
36 echo I could not find a FED C-compiler installation on your system.
38 echo Perhaps I got confused because you installed fedC or wizC in a non-default directory.
39 echo If this is the case, please change the path at the top of this install-script.
65 echo Press 'ctrl-c' to stop me
[all …]
DaddFreeRTOS.h3 * Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
5 * SPDX-License-Identifier: MIT
35 Uselib pragma added for Croutine.c
48 #pragma wizcpp uselib "$__PATHNAME__/libFreeRTOS/Modules/Croutine.c"
49 #pragma wizcpp uselib "$__PATHNAME__/libFreeRTOS/Modules/Tasks.c"
50 #pragma wizcpp uselib "$__PATHNAME__/libFreeRTOS/Modules/Queue.c"
51 #pragma wizcpp uselib "$__PATHNAME__/libFreeRTOS/Modules/List.c"
52 #pragma wizcpp uselib "$__PATHNAME__/libFreeRTOS/Modules/Port.c"
/Kernel-v11.1.0/portable/ThirdParty/GCC/RP2040/
Dlibrary.cmake1 # Copyright (c) 2020 Raspberry Pi (Trading) Ltd.
3 # SPDX-License-Identifier: BSD-3-Clause
7 add_library(FreeRTOS-Kernel-Core INTERFACE)
8 target_sources(FreeRTOS-Kernel-Core INTERFACE
9 ${FREERTOS_KERNEL_PATH}/croutine.c
10 ${FREERTOS_KERNEL_PATH}/event_groups.c
11 ${FREERTOS_KERNEL_PATH}/list.c
12 ${FREERTOS_KERNEL_PATH}/queue.c
13 ${FREERTOS_KERNEL_PATH}/stream_buffer.c
14 ${FREERTOS_KERNEL_PATH}/tasks.c
[all …]
/Kernel-v11.1.0/examples/cmake_example/
DCMakeLists.txt6 # Add the freertos_config for FreeRTOS-Kernel
17 add_compile_options( -DconfigNUMBER_OF_CORES=2 -DconfigUSE_PASSIVE_IDLE_HOOK=0 )
20 # Select the heap port. values between 1-4 will pick a heap.
26 # Adding the FreeRTOS-Kernel subdirectory
27 add_subdirectory(${FREERTOS_KERNEL_PATH} FreeRTOS-Kernel)
32 # Per library opt-out of things that are warnings/errors.
41 # -------------------
50 ### Gnu/Clang C Options
51 $<$<COMPILE_LANG_AND_ID:C,GNU>:-fdiagnostics-color=always>
52 $<$<COMPILE_LANG_AND_ID:C,Clang>:-fcolor-diagnostics>
[all …]
/Kernel-v11.1.0/portable/ThirdParty/XCC/Xtensa/
Dxtensa_config.h3 * Copyright (C) 2015-2019 Cadence Design Systems, Inc.
4 * Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
6 * SPDX-License-Identifier: MIT
31 * Configuration-specific information for Xtensa build. This file must be
32 * included in FreeRTOSConfig.h to properly set up the config-dependent
35 * NOTE: To enable thread-safe C library support, XT_USE_THREAD_SAFE_CLIB must
42 /* *INDENT-OFF* */
44 extern "C" {
46 /* *INDENT-ON* */
55 /*-----------------------------------------------------------------------------
[all …]
DMakefile10 CC = xt-xcc
11 AS = xt-xcc
12 AR = xt-ar
13 XT_CORE = $(patsubst %-params,%,$(notdir $(shell xt-xcc --show-config=core)))
14 CONFIGDIR = $(shell xt-xcc --show-config=config)
16 # For platform-specific commands
31 vpath %.c $(FR_SRCDIR) $(FR_SRCDIR2) $(XT_SRCDIR)
36 FR_C_FILES = $(notdir $(wildcard $(FR_SRCDIR)/*.c)) $(notdir $(wildcard $(FR_SRCDIR2)/*.c))
37 XT_C_FILES = $(notdir $(wildcard $(XT_SRCDIR)/*.c))
42 LIB_C_O = $(patsubst %.c,%.o,$(XT_C_FILES) $(FR_C_FILES))
[all …]
/Kernel-v11.1.0/portable/ThirdParty/GCC/Xtensa_ESP32/include/
Dxtensa_config.h2 * SPDX-FileCopyrightText: 2015-2019 Cadence Design Systems, Inc.
4 * SPDX-License-Identifier: MIT
6 * SPDX-FileContributor: 2016-2022 Espressif Systems (Shanghai) CO LTD
10 * Copyright (c) 2015-2019 Cadence Design Systems, Inc.
34 * Configuration-specific information for Xtensa build. This file must be
35 * included in FreeRTOSConfig.h to properly set up the config-dependent
38 * NOTE: To enable thread-safe C library support, XT_USE_THREAD_SAFE_CLIB must
46 /* *INDENT-OFF* */
48 extern "C" {
50 /* *INDENT-ON* */
[all …]
/Kernel-v11.1.0/portable/GCC/ARM_CRx_MPU/
Dportmacro_asm.h3 * Copyright (C) 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
5 * SPDX-License-Identifier: MIT
33 extern "C" {
51 * comprises of 32 floating point registers (D0-D31) and FPSCR register.
52 * Disabling FPU, therefore, reduces the per-task RAM usage by
65 /* On the ArmV7-R Architecture the Operating mode of the Processor is set
70 …on/ddi0406/cb/System-Level-Architecture/The-System-Level-Programmers--Model/ARM-processor-modes-an…
110 …loper.arm.com/documentation/ddi0363/g/System-Control/Register-descriptions/c6--MPU-memory-region-p…
114 /* MPU sub-region disable settings. This information is encoded in the MPU
127 #define portLAST_CONFIGURABLE_REGION ( portMPU_TOTAL_REGIONS - 5UL )
[all …]
/Kernel-v11.1.0/include/
Dtask.h3 * Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
5 * SPDX-License-Identifier: MIT
39 /* *INDENT-OFF* */
41 extern "C" {
43 /* *INDENT-ON* */
45 /*-----------------------------------------------------------
47 *----------------------------------------------------------*/
168 …defined by the run time stats clock. See https://www.FreeRTOS.org/rtos-run-time-stats.html. Only…
183 … or a context switch pended since portSUPPRESS_TICKS_AND_SLEEP() was called - abort entering a sle…
203 #define tskNO_AFFINITY ( ( UBaseType_t ) -1 )
[all …]
Dcroutine.h3 * Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
5 * SPDX-License-Identifier: MIT
38 /* *INDENT-OFF* */
40 extern "C" {
42 /* *INDENT-ON* */
44 /* Used to hide the implementation of the co-routine control block. The
46 * the macro implementation of the co-routine functionality. */
49 /* Defines the prototype to which co-routine functions must conform. */
58 …UBaseType_t uxPriority; /**< The priority of the co-routine in relation to other co-routines.…
59 …Index; /**< Used to distinguish between co-routines when multiple co-routines use the same…
[all …]
Dmessage_buffer.h3 * Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
5 * SPDX-License-Identifier: MIT
56 * the API function). sizeof( size_t ) is typically 4 bytes on a 32-bit
57 * architecture, so writing a 10 byte message to a message buffer on a 32-bit
73 /* *INDENT-OFF* */
75 extern "C" {
77 /* *INDENT-ON* */
88 /*-----------------------------------------------------------*/
93 * @code{c}
110 * 32-bit architecture, so on most 32-bit architectures a 10 byte message will
[all …]
Dsemphr.h3 * Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
5 * SPDX-License-Identifier: MIT
47 * @code{c}
53 * https://www.FreeRTOS.org/RTOS-task-notifications.html
64 * as we don't want to actually store any data - we just want to know if the
77 * @code{c}
109 * @code{c}
118 * https://www.FreeRTOS.org/RTOS-task-notifications.html
147 * @code{c}
172 * @code{c}
[all …]
Dqueue.h3 * Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
5 * SPDX-License-Identifier: MIT
37 /* *INDENT-OFF* */
39 extern "C" {
41 /* *INDENT-ON* */
72 /* For internal use only. These definitions *must* match those in queue.c. */
82 * @code{c}
102 * https://www.FreeRTOS.org/Embedded-RTOS-Queues.html
116 * @code{c}
154 * @code{c}
[all …]
Dstream_buffer.h3 * Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
5 * SPDX-License-Identifier: MIT
59 /* *INDENT-OFF* */
61 extern "C" {
63 /* *INDENT-ON* */
91 * @code{c}
133 * the stream buffer data structures and storage area. A non-NULL value being
134 * returned indicates that the stream buffer has been created successfully -
139 * @code{c}
177 * @code{c}
[all …]
/Kernel-v11.1.0/portable/IAR/AVR32_UC3/
Dread.c3 * Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
5 * SPDX-License-Identifier: MIT AND BSD-3-Clause
33 * \brief System-specific implementation of the \ref __read function used by
36 * - Compiler: IAR EWAVR32
37 * - Supported devices: All AVR32 devices with a USART module can be used.
38 * - AppNote:
47 * Copyright (c) 2007, Atmel Corporation All rights reserved.
96 * \return The number of bytes read, \c 0 at the end of the file, or
97 * \c _LLIO_ERROR on failure.
112 for( ; size > 0; --size ) in __read()
[all …]
/Kernel-v11.1.0/portable/ARMv8M/
Dcopy_files.py3 # * Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
5 # * SPDX-License-Identifier: MIT
64 # Files to be compiled in the Non-Secure Project
75 'ARM_CM35P' : [os.path.join('non_secure', 'portable', 'GCC', 'ARM_CM33', 'portasm.c'),
76 … os.path.join('non_secure', 'portable', 'GCC', 'ARM_CM33', 'mpu_wrappers_v2_asm.c'),
78 … 'ARM_CM35P_NTZ' : [os.path.join('non_secure', 'portable', 'GCC', 'ARM_CM33_NTZ', 'portasm.c'),
79 … os.path.join('non_secure', 'portable', 'GCC', 'ARM_CM33_NTZ', 'mpu_wrappers_v2_asm.c'),
81 'ARM_CM55' : [os.path.join('non_secure', 'portable', 'GCC', 'ARM_CM33', 'portasm.c'),
82 … os.path.join('non_secure', 'portable', 'GCC', 'ARM_CM33', 'mpu_wrappers_v2_asm.c'),
84 … 'ARM_CM55_NTZ' : [os.path.join('non_secure', 'portable', 'GCC', 'ARM_CM33_NTZ', 'portasm.c'),
[all …]
/Kernel-v11.1.0/portable/MemMang/
Dheap_1.c3 * Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
5 * SPDX-License-Identifier: MIT
34 * See heap_2.c, heap_3.c and heap_4.c for alternative implementations, and the
54 #define configADJUSTED_HEAP_SIZE ( configTOTAL_HEAP_SIZE - portBYTE_ALIGNMENT )
60 * heap - probably so it can be placed in a special segment or address. */
69 /*-----------------------------------------------------------*/
82 …if( ( xWantedSize + ( portBYTE_ALIGNMENT - ( xWantedSize & portBYTE_ALIGNMENT_MASK ) ) ) > xWanted… in pvPortMalloc()
84 xWantedSize += ( portBYTE_ALIGNMENT - ( xWantedSize & portBYTE_ALIGNMENT_MASK ) ); in pvPortMalloc()
99 … = ( uint8_t * ) ( ( ( portPOINTER_SIZE_TYPE ) & ucHeap[ portBYTE_ALIGNMENT - 1 ] ) & ( ~( ( portP… in pvPortMalloc()
128 /*-----------------------------------------------------------*/
[all …]
/Kernel-v11.1.0/.github/workflows/
Dkernel-demos.yml1 name: FreeRTOS-Kernel Demos
6 bashPass: \033[32;1mPASSED -
7 bashInfo: \033[33;1mINFO -
8 bashFail: \033[31;1mFAILED -
12 WIN32-MSVC:
14 runs-on: windows-latest
16 - name: Checkout the FreeRTOS/FreeRTOS Repository
22 fetch-depth: 1
25 - name: Checkout Pull Request
30 - name: Add msbuild to PATH
[all …]
Dunit-tests.yml6 runs-on: ubuntu-20.04
8 - name: Checkout Parent Repository
14 fetch-depth: 1
17 - name: Checkout Pull Request
22 - name: Setup Python
23 uses: actions/setup-python@master
25 python-version: 3.8
27 - name: Install packages
29 sudo apt-get install lcov cflow ruby doxygen build-essential unifdef
30 - name: Run Unit Tests with ENABLE_SANITIZER=1
[all …]
/Kernel-v11.1.0/examples/coverity/
DREADME.md1 # MISRA Compliance for FreeRTOS-Kernel
2 FreeRTOS-Kernel is MISRA C:2012 compliant. This directory contains a project to
3 … [Synopsys Coverity](https://www.synopsys.com/software-integrity/security-testing/static-analysis-
14 Deviations from the MISRA C:2012 guidelines are documented in
20 …run on any platform mentioned [here](https://sig-docs.synopsys.com/polaris/topics/c_coverity-compa…
23 1. CMake version > 3.13.0 (You can check whether you have this by typing `cmake --version`).
25 - See download and installation instructions [here](https://gcc.gnu.org/install/).
27 - `git clone https://github.com/FreeRTOS/FreeRTOS-Kernel.git ./FreeRTOS-Kernel`
30 Go to the root directory of the FreeRTOS-Kernel repo and run the following
34 cov-configure --force --compiler cc --comptype gcc
[all …]

12345678910>>...30