Home
last modified time | relevance | path

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

12345678910>>...30

/Kernel-v11.0.1/
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.0.1/sbom.spdx
7 Created: 2023-12-21T06:16:21Z
11 PackageName: FreeRTOS-Kernel
12 SPDXID: SPDXRef-Package-FreeRTOS-Kernel
14 PackageDownloadLocation: https://github.com/FreeRTOS/FreeRTOS-Kernel/tree/v11.0.1
24 FileName: ./queue.c
[all …]
DHistory.txt17 MISRA C:2004 to MISRA C:2012.
24 heap_4.c and heap_5.c to help catch pointer corruptions. The application can
35 was last assigned to the task - which due to priority inheritance, may not
42 FreeRTOSConfig.h. We thank @mdnr-g for their contribution.
46 vTaskResume or vTaskResumeFromISR. We thank @Moral-Hao for their
49 FreeRTOS handlers for PendSV and SVCall interrupts on Cortex-M devices.
54 + Add CMake support to allow the application writer to select the RISC-V
58 + Make taskYIELD available to unprivileged tasks for ARMv8-M ports.
59 + Update Cortex-M23 ports to not use PSPLIM_NS. We thank @urutva for their
61 + Update the SysTick setup code for ARMv8-M ports to first configure the clock
[all …]
DMISRA.md3 FreeRTOS-Kernel conforms to [MISRA C:2012](https://www.misra.org.uk/misra-c)
6 small-embedded devices, it needs to have a very small memory footprint and
18 grep 'MISRA Ref 8.4.1' . -rI
23 MISRA C:2012 Rule 8.4: A compatible declaration shall be visible when an
27 - pxCurrentTCB(s) is defined with external linkage but it is only referenced
33 - xQueueRegistry is defined with external linkage because it is accessed by the
39 MISRA C:2012 Rule 8.6: An identifier with external linkage shall have exactly
43 - This rule prohibits an identifier with external linkage to have multiple
48 MISRA C:2012 Rule 11.1: Conversions shall not be performed between a pointer to
52 - The pointer to function is casted into void to avoid unused parameter
[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.0.1/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.0.1/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.0.1/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.0.1/examples/cmake_example/
DCMakeLists.txt7 # Add the freertos_config for FreeRTOS-Kernel
18 add_compile_options( -DconfigNUMBER_OF_CORES=2 -DconfigUSE_PASSIVE_IDLE_HOOK=0 )
21 # Select the heap port. values between 1-4 will pick a heap.
27 # Adding the FreeRTOS-Kernel subdirectory
28 add_subdirectory(${FREERTOS_KERNEL_PATH} FreeRTOS-Kernel)
33 # Per library opt-out of things that are warnings/errors.
42 # -------------------
51 ### Gnu/Clang C Options
52 $<$<COMPILE_LANG_AND_ID:C,GNU>:-fdiagnostics-color=always>
53 $<$<COMPILE_LANG_AND_ID:C,Clang>:-fcolor-diagnostics>
[all …]
/Kernel-v11.0.1/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 …]
Dportmacro.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
33 /* *INDENT-OFF* */
35 extern "C" {
37 /* *INDENT-ON* */
51 /*-----------------------------------------------------------
58 *-----------------------------------------------------------
84 /*-----------------------------------------------------------*/
89 /* Critical section management. NW-TODO: replace XTOS_SET_INTLEVEL with more efficient version, if …
[all …]
Dreadme_xtensa.txt8 ------------
18 --------------------------------------------------
26 NOTE: It may be possible to build and run this with the open-source
27 xtensa-linux tools provided you have the correct overlay for your Xtensa
32 'xclib' C runtime libraries distributed with Xtensa Tools, providing
33 thread-safety on a per task basis (for use in tasks only, not interrupt
36 NOTE: At this time only 'newlib' and 'xclib' C libraries are supported
48 - Timer interrupt option with at least one interruptible timer.
49 - Interrupt option (implied by the timer interrupt option).
50 - Exception Architecture 2 (XEA2). Please note that XEA1 is NOT supported.
[all …]
/Kernel-v11.0.1/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.0.1/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…
202 #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}
108 * 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 …]
/Kernel-v11.0.1/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.0.1/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.0.1/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.0.1/.github/workflows/
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.0.1/portable/Softune/MB91460/
D__STD_LIB_sbrk.c3 * Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
5 * SPDX-License-Identifier: MIT
32 /* (C) Fujitsu Microelectronics Europe GmbH */
33 /*---------------------------------------------------------------------------
34 __STD_LIB_sbrk.C
35 - Used by heap_3.c for memory allocation and deletion.
37 /*---------------------------------------------------------------------------*/
44 #define ROUNDUP(s) (((s)+sizeof(_heep_t)-1)&~(sizeof(_heep_t)-1))
52 return((char*)-1); in sbrk()
54 return( (char*)_heep + brk_siz - size); in sbrk()
/Kernel-v11.0.1/portable/Softune/MB96340/
D__STD_LIB_sbrk.c3 * Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
5 * SPDX-License-Identifier: MIT
32 /* (C) Fujitsu Microelectronics Europe GmbH */
33 /*---------------------------------------------------------------------------
34 __STD_LIB_sbrk.C
35 - Used by heap_3.c for memory allocation and deletion.
37 /*---------------------------------------------------------------------------*/
44 #define ROUNDUP(s) (((s)+sizeof(_heep_t)-1)&~(sizeof(_heep_t)-1))
52 return((char*)-1); in sbrk()
54 return( (char*)_heep + brk_siz - size); in sbrk()

12345678910>>...30