mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2026-10-10 08:02:57 -04:00
Handle POSIX thread marker failures and add regression tests
This commit is contained in:
parent
8be86d4a24
commit
476f045fcc
6 changed files with 275 additions and 6 deletions
28
portable/ThirdParty/GCC/Posix/tests/FreeRTOSConfig.h
vendored
Normal file
28
portable/ThirdParty/GCC/Posix/tests/FreeRTOSConfig.h
vendored
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
/* SPDX-License-Identifier: MIT */
|
||||
#ifndef FREERTOS_CONFIG_H
|
||||
#define FREERTOS_CONFIG_H
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
#define configUSE_PREEMPTION 1
|
||||
#define configUSE_IDLE_HOOK 0
|
||||
#define configUSE_TICK_HOOK 0
|
||||
#define configTICK_RATE_HZ 100
|
||||
#define configMAX_PRIORITIES 4
|
||||
#define configMINIMAL_STACK_SIZE 4096
|
||||
#define configTOTAL_HEAP_SIZE ( 256 * 1024 )
|
||||
#define configMAX_TASK_NAME_LEN 16
|
||||
#define configUSE_16_BIT_TICKS 0
|
||||
#define configUSE_MUTEXES 1
|
||||
#define configUSE_TIMERS 0
|
||||
#define configSUPPORT_STATIC_ALLOCATION 0
|
||||
#define configSUPPORT_DYNAMIC_ALLOCATION 1
|
||||
#define INCLUDE_vTaskDelay 1
|
||||
#define INCLUDE_vTaskDelete 1
|
||||
#define INCLUDE_xTaskGetCurrentTaskHandle 1
|
||||
|
||||
#if TEST_ASSERT_ENABLED
|
||||
#define configASSERT( x ) do { if( !( x ) ) { abort(); } } while( 0 )
|
||||
#endif
|
||||
|
||||
#endif /* ifndef FREERTOS_CONFIG_H */
|
||||
Loading…
Add table
Add a link
Reference in a new issue