Home
last modified time | relevance | path

Searched full:c (Results 1 – 25 of 735) sorted by relevance

12345678910>>...30

/Kernel-v11.1.0/
Dsbom.spdx25 FileName: ./timers.c
26 SPDXID: SPDXRef-File-timers.c
32 FileName: ./croutine.c
33 SPDXID: SPDXRef-File-croutine.c
39 FileName: ./queue.c
40 SPDXID: SPDXRef-File-queue.c
46 FileName: ./stream_buffer.c
47 SPDXID: SPDXRef-File-streambuffer.c
53 FileName: ./tasks.c
54 SPDXID: SPDXRef-File-tasks.c
[all …]
DMISRA.md3 FreeRTOS-Kernel conforms to [MISRA C:2012](https://www.misra.org.uk/misra-c)
22 MISRA C:2012 Dir 4.7: If a function returns error information, then that error
31 MISRA C:2012 Rule 8.4: A compatible declaration shall be visible when an
47 MISRA C:2012 Rule 8.6: An identifier with external linkage shall have exactly
56 MISRA C:2012 Rule 11.1: Conversions shall not be performed between a pointer to
66 MISRA C:2012 Rule 11.3: A cast shall not be performed between a pointer to
84 MISRA C:2012 Rule 11.5: A conversion should not be performed from pointer to
120 MISRA C-2012 Rule 21.6: The Standard Library input/output functions shall not
DHistory.txt36 + Code changes to comply with MISRA C 2012.
94 MISRA C:2004 to MISRA C:2012.
101 heap_4.c and heap_5.c to help catch pointer corruptions. The application can
146 + Improve the speed of pvPortMalloc in heap_4.c and heap_5.c by removing
149 + Shorten the critical section in pvPortMalloc in heap_2.c, heap_4.c and
150 heap_5.c by moving the size calculation out of the critical section. We thank
163 + Fix pxTopOfStack calculation in configINIT_TLS_BLOCK when picolib C is
164 selected as the C library implementation to ensure that
174 + Add the following improvements to the new MPU wrapper (mpu_wrappers_v2.c)
187 + Add runtime parameter checks to functions in mpu_wrappers_v2.c file.
[all …]
DCMakeLists.txt218 " port.c\n"
224 " port.c\n"
242 croutine.c
243 event_groups.c
244 list.c
245 queue.c
246 stream_buffer.c
247 tasks.c
248 timers.c
255 …ILTER:${FREERTOS_HEAP},EXCLUDE,^[1-5]$>>,${FREERTOS_HEAP},portable/MemMang/heap_${FREERTOS_HEAP}.c>
/Kernel-v11.1.0/portable/
DCMakeLists.txt21 template/port.c>
25 BCC/16BitDOS/common/portcomn.c
26 BCC/16BitDOS/Flsh186/port.c>
29 BCC/16BitDOS/common/portcomn.c
30 BCC/16BitDOS/PC/port.c>
34 CCS/ARM_CM3/port.c
39 CCS/ARM_CM4F/port.c
44 CCS/ARM_Cortex-R4/port.c
49 CCS/MSP430X/port.c
54 CodeWarrior/ColdFire_V1/port.c
[all …]
/Kernel-v11.1.0/portable/WizC/PIC18/
DInstall.bat12 set FED=C:\Program Files\FED\PIC_C
23 set FED=C:\Program Files\FED\PIXIE
36 echo I could not find a FED C-compiler installation on your system.
65 echo Press 'ctrl-c' to stop me
74 attrib -R "%FEDLIBSUSER%\libFreeRTOS\Modules\Croutine.c" >nul
75 attrib -R "%FEDLIBSUSER%\libFreeRTOS\Modules\Port.c" >nul
76 attrib -R "%FEDLIBSUSER%\libFreeRTOS\Modules\List.c" >nul
77 attrib -R "%FEDLIBSUSER%\libFreeRTOS\Modules\Queue.c" >nul
78 attrib -R "%FEDLIBSUSER%\libFreeRTOS\Modules\Tasks.c" >nul
79 attrib -R "%FEDLIBSUSER%\libFreeRTOS\Drivers\Tick\Tick.c" >nul
[all …]
DaddFreeRTOS.h3 * Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
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.
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
15 ${FREERTOS_KERNEL_PATH}/timers.c
26 ${CMAKE_CURRENT_LIST_DIR}/port.c
55 target_sources(FreeRTOS-Kernel-Heap1 INTERFACE ${FREERTOS_KERNEL_PATH}/portable/MemMang/heap_1.c)
[all …]
/Kernel-v11.1.0/examples/cmake_example/
DCMakeLists.txt50 ### Gnu/Clang C Options
51 $<$<COMPILE_LANG_AND_ID:C,GNU>:-fdiagnostics-color=always>
52 $<$<COMPILE_LANG_AND_ID:C,Clang>:-fcolor-diagnostics>
54 $<$<COMPILE_LANG_AND_ID:C,Clang,GNU>:-Wall>
55 $<$<COMPILE_LANG_AND_ID:C,Clang,GNU>:-Wextra>
56 $<$<COMPILE_LANG_AND_ID:C,Clang,GNU>:-Wpedantic>
57 $<$<COMPILE_LANG_AND_ID:C,Clang,GNU>:-Werror>
58 $<$<COMPILE_LANG_AND_ID:C,Clang,GNU>:-Wconversion>
59 $<$<COMPILE_LANG_AND_ID:C,Clang>:-Weverything>
62 $<$<COMPILE_LANG_AND_ID:C,Clang>:-Wno-unused-macros>
[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.
35 * NOTE: To enable thread-safe C library support, XT_USE_THREAD_SAFE_CLIB must
44 extern "C" {
59 * be allocated for saving coprocessor state and/or C library state information
60 * (if thread safety is enabled for the C library). The sizes are in bytes.
73 * If thread safety is enabled for the C runtime library, (XT_USE_THREAD_SAFE_CLIB
74 * is defined) then space is allocated to save the C library context in the TCB.
82 * use of the C library. This will require extra stack
83 * space to be allocated for tasks that use the C library
[all …]
DMakefile31 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))
85 $(BLDDIR)/%.o : %.c
86 $(CC) $(CCFLAGS) $(IFLAGS) -MD -MF $(subst .o,.d,$@) -c -o $@ $<
89 $(CC) $(ASFLAGS) $(IFLAGS) -MD -MF $(subst .o,.d,$@) -c -o $@ $<
/Kernel-v11.1.0/portable/ThirdParty/GCC/Xtensa_ESP32/include/
Dxtensa_config.h10 * Copyright (c) 2015-2019 Cadence Design Systems, Inc.
38 * NOTE: To enable thread-safe C library support, XT_USE_THREAD_SAFE_CLIB must
48 extern "C" {
63 * be allocated for saving coprocessor state and/or C library state information
64 * (if thread safety is enabled for the C library). The sizes are in bytes.
77 * If thread safety is enabled for the C runtime library, (XT_USE_THREAD_SAFE_CLIB
78 * is defined) then space is allocated to save the C library context in the TCB.
86 * use of the C library. This will require extra stack
87 * space to be allocated for tasks that use the C library
90 * NOTE: The Xtensa toolchain supports multiple C libraries and not all of them
[all …]
/Kernel-v11.1.0/portable/ARMv8M/
Dcopy_files.py3 # * Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
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'),
85 … os.path.join('non_secure', 'portable', 'GCC', 'ARM_CM33_NTZ', 'mpu_wrappers_v2_asm.c'),
87 'ARM_CM85' : [os.path.join('non_secure', 'portable', 'GCC', 'ARM_CM33', 'portasm.c'),
[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.
33 extern "C" {
168 /* MPU memory types. This information is encoded in the TEX, S, C and B bits
170 #define portMPU_REGION_STRONGLY_ORDERED_SHAREABLE ( 0x00UL ) /* TEX=000, S=NA, C=0, B=0. */
171 #define portMPU_REGION_DEVICE_SHAREABLE ( 0x01UL ) /* TEX=000, S=NA, C=0, B=1. */
172 #define portMPU_REGION_NORMAL_OIWTNOWA_NONSHARED ( 0x02UL ) /* TEX=000, S=0, C=1, B=0. */
173 #define portMPU_REGION_NORMAL_OIWTNOWA_SHARED ( 0x06UL ) /* TEX=000, S=1, C=1, B=0. */
174 #define portMPU_REGION_NORMAL_OIWBNOWA_NONSHARED ( 0x03UL ) /* TEX=000, S=0, C=1, B=1. */
175 #define portMPU_REGION_NORMAL_OIWBNOWA_SHARED ( 0x07UL ) /* TEX=000, S=1, C=1, B=1. */
176 #define portMPU_REGION_NORMAL_OINC_NONSHARED ( 0x08UL ) /* TEX=001, S=0, C=0, B=0. */
[all …]
/Kernel-v11.1.0/include/
Dsemphr.h3 * Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
47 * @code{c}
77 * @code{c}
109 * @code{c}
147 * @code{c}
172 * @code{c}
207 * @code{c}
233 * @code{c}
257 * @code{c}
302 * @code{c}
[all …]
Dtask.h3 * Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
41 extern "C" {
289 * @code{c}
348 * @code{c}
402 * @code{c}
455 * @code{c}
531 * @code{c}
559 * @code{c}
615 * @code{c}
649 * @code{c}
[all …]
Dqueue.h3 * Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
39 extern "C" {
72 /* For internal use only. These definitions *must* match those in queue.c. */
82 * @code{c}
116 * @code{c}
154 * @code{c}
198 * @code{c}
240 * @code{c}
269 * @code{c}
298 * @code{c}
[all …]
Dstream_buffer.h3 * Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
61 extern "C" {
91 * @code{c}
139 * @code{c}
177 * @code{c}
231 * @code{c}
277 * @code{c}
325 * @code{c}
363 * @code{c}
418 * @code{c}
[all …]
Dcroutine.h3 * Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
40 extern "C" {
65 * @code{c}
91 * @code{c}
143 * @code{c}
159 * @code{c}
185 * @code{c}
192 * @code{c}
220 * @code{c}
227 * @code{c}
[all …]
Dmessage_buffer.h3 * Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
75 extern "C" {
93 * @code{c}
133 * @code{c}
171 * @code{c}
213 * @code{c}
256 * @code{c}
290 * @code{c}
355 * @code{c}
393 * @code{c}
[all …]
Devent_groups.h3 * Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
61 extern "C" {
117 * @code{c}
150 * @code{c}
177 * @code{c}
213 * @code{c}
234 * @code{c}
288 * @code{c}
336 * @code{c}
355 * @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.
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.
114 int c = usart_getchar( stdio_usart_base ); in __read() local
116 if( c < 0 ) in __read()
121 *buffer++ = c; in __read()
/Kernel-v11.1.0/portable/MemMang/
Dheap_1.c3 * Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
34 * See heap_2.c, heap_3.c and heap_4.c for alternative implementations, and the
132 /* Memory cannot be freed using this scheme. See heap_2.c, heap_3.c and in vPortFree()
133 * heap_4.c for alternative implementations, and the memory management pages of in vPortFree()
/Kernel-v11.1.0/.github/workflows/
Dkernel-demos.yml234 mb-gcc -mcpu=v9.5 -c \
235 FreeRTOS/Source/portable/GCC/MicroBlazeV9/port.c \
237 FreeRTOS/Source/portable/GCC/MicroBlazeV9/port_exceptions.c \
238 FreeRTOS/Source/tasks.c \
239 FreeRTOS/Source/list.c \
290 run: cmake -S . -B build && make -j -C build all
295 run: cmake -S . -B build && make -j -C build all
313 ninja -C build --verbose
318 run: make -C build/gcc -j
/Kernel-v11.1.0/examples/coverity/
DREADME.md2 FreeRTOS-Kernel is MISRA C:2012 compliant. This directory contains a project to
14 Deviations from the MISRA C:2012 guidelines are documented in
57 --tu-pattern "file('[A-Za-z_]+\.c') && ( ! file('main.c') ) && ( ! file('port.c') )"

12345678910>>...30