void vTask1( void * pvParameters ) { UBaseType_t uxHighWaterMark; /* Inspect our own high water mark on entering the task. */ uxHighWaterMark = uxTaskGetStackHighWaterMark( NULL ); for( ;; ) { /* Call any function. */ vTaskDelay( 1000 ); /* Calling the function will have used some stack space, we would therefore now expect uxTaskGetStackHighWaterMark() to return a value lower than when it was called on entering the task. */ uxHighWaterMark = uxTaskGetStackHighWaterMark( NULL ); } }
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|
Latest News
NXP tweet showing LPC5500 (ARMv8-M Cortex-M33) running FreeRTOS. Meet Richard Barry and learn about running FreeRTOS on RISC-V at FOSDEM 2019 Version 10.1.1 of the FreeRTOS kernel is available for immediate download. MIT licensed. View a recording of the "OTA Update Security and Reliability" webinar, presented by TI and AWS. Careers
FreeRTOS and other embedded software careers at AWS. FreeRTOS Partners
|