| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359 |
- /*
- * FreeRTOS Kernel <DEVELOPMENT BRANCH>
- * Copyright (C) 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved.
- *
- * SPDX-License-Identifier: MIT
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy of
- * this software and associated documentation files (the "Software"), to deal in
- * the Software without restriction, including without limitation the rights to
- * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
- * the Software, and to permit persons to whom the Software is furnished to do so,
- * subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
- * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
- * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
- * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
- * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
- *
- * https://www.FreeRTOS.org
- * https://github.com/FreeRTOS
- *
- */
- #ifndef INC_FREERTOS_H
- #define INC_FREERTOS_H
- /*
- * Include the generic headers required for the FreeRTOS port being used.
- */
- #include <stddef.h>
- /*
- * If stdint.h cannot be located then:
- * + If using GCC ensure the -nostdint options is *not* being used.
- * + Ensure the project's include path includes the directory in which your
- * compiler stores stdint.h.
- * + Set any compiler options necessary for it to support C99, as technically
- * stdint.h is only mandatory with C99 (FreeRTOS does not require C99 in any
- * other way).
- * + The FreeRTOS download includes a simple stdint.h definition that can be
- * used in cases where none is provided by the compiler. The files only
- * contains the typedefs required to build FreeRTOS. Read the instructions
- * in FreeRTOS/source/stdint.readme for more information.
- */
- #include <stdint.h> /* READ COMMENT ABOVE. */
- /* Acceptable values for configTICK_TYPE_WIDTH_IN_BITS. */
- #define TICK_TYPE_WIDTH_16_BITS 0
- #define TICK_TYPE_WIDTH_32_BITS 1
- #define TICK_TYPE_WIDTH_64_BITS 2
- /* Application specific configuration options. */
- #include "FreeRTOSConfig.h"
- #if !defined( configUSE_16_BIT_TICKS ) && !defined( configTICK_TYPE_WIDTH_IN_BITS )
- #error Missing definition: One of configUSE_16_BIT_TICKS and configTICK_TYPE_WIDTH_IN_BITS must be defined in FreeRTOSConfig.h. See the Configuration section of the FreeRTOS API documentation for details.
- #endif
- #if defined( configUSE_16_BIT_TICKS ) && defined( configTICK_TYPE_WIDTH_IN_BITS )
- #error Only one of configUSE_16_BIT_TICKS and configTICK_TYPE_WIDTH_IN_BITS must be defined in FreeRTOSConfig.h. See the Configuration section of the FreeRTOS API documentation for details.
- #endif
- /* Define configTICK_TYPE_WIDTH_IN_BITS according to the
- * value of configUSE_16_BIT_TICKS for backward compatibility. */
- #ifndef configTICK_TYPE_WIDTH_IN_BITS
- #if ( configUSE_16_BIT_TICKS == 1 )
- #define configTICK_TYPE_WIDTH_IN_BITS TICK_TYPE_WIDTH_16_BITS
- #else
- #define configTICK_TYPE_WIDTH_IN_BITS TICK_TYPE_WIDTH_32_BITS
- #endif
- #endif
- /* Set configUSE_MPU_WRAPPERS_V1 to 1 to use MPU wrappers v1. */
- #ifndef configUSE_MPU_WRAPPERS_V1
- #define configUSE_MPU_WRAPPERS_V1 0
- #endif
- /* Set configENABLE_ACCESS_CONTROL_LIST to 1 to enable access control list support. */
- #ifndef configENABLE_ACCESS_CONTROL_LIST
- #define configENABLE_ACCESS_CONTROL_LIST 0
- #endif
- /* Set default value of configNUMBER_OF_CORES to 1 to use single core FreeRTOS. */
- #ifndef configNUMBER_OF_CORES
- #define configNUMBER_OF_CORES 1
- #endif
- #ifndef configUSE_MALLOC_FAILED_HOOK
- #define configUSE_MALLOC_FAILED_HOOK 0
- #endif
- #ifndef configASSERT
- #define configASSERT( x )
- #define configASSERT_DEFINED 0
- #else
- #define configASSERT_DEFINED 1
- #endif
- /* Set configENABLE_PAC and/or configENABLE_BTI to 1 to enable PAC and/or BTI
- * support and 0 to disable them. These are currently used in ARMv8.1-M ports. */
- #ifndef configENABLE_PAC
- #define configENABLE_PAC 0
- #endif
- #ifndef configENABLE_BTI
- #define configENABLE_BTI 0
- #endif
- /* Basic FreeRTOS definitions. */
- #include "projdefs.h"
- /* Definitions specific to the port being used. */
- #include "portable.h"
- /* Must be defaulted before configUSE_NEWLIB_REENTRANT is used below. */
- #ifndef configUSE_NEWLIB_REENTRANT
- #define configUSE_NEWLIB_REENTRANT 0
- #endif
- /* Required if struct _reent is used. */
- #if ( configUSE_NEWLIB_REENTRANT == 1 )
- #include "newlib-freertos.h"
- #endif /* if ( configUSE_NEWLIB_REENTRANT == 1 ) */
- /* Must be defaulted before configUSE_PICOLIBC_TLS is used below. */
- #ifndef configUSE_PICOLIBC_TLS
- #define configUSE_PICOLIBC_TLS 0
- #endif
- #if ( configUSE_PICOLIBC_TLS == 1 )
- #include "picolibc-freertos.h"
- #endif /* if ( configUSE_PICOLIBC_TLS == 1 ) */
- /* *INDENT-OFF* */
- #ifdef __cplusplus
- extern "C" {
- #endif
- /* *INDENT-ON* */
- #ifndef configUSE_C_RUNTIME_TLS_SUPPORT
- #define configUSE_C_RUNTIME_TLS_SUPPORT 0
- #endif
- #if ( configUSE_C_RUNTIME_TLS_SUPPORT == 1 )
- #ifndef configTLS_BLOCK_TYPE
- #error Missing definition: configTLS_BLOCK_TYPE must be defined in FreeRTOSConfig.h when configUSE_C_RUNTIME_TLS_SUPPORT is set to 1.
- #endif
- #ifndef configINIT_TLS_BLOCK
- #error Missing definition: configINIT_TLS_BLOCK must be defined in FreeRTOSConfig.h when configUSE_C_RUNTIME_TLS_SUPPORT is set to 1.
- #endif
- #ifndef configSET_TLS_BLOCK
- #error Missing definition: configSET_TLS_BLOCK must be defined in FreeRTOSConfig.h when configUSE_C_RUNTIME_TLS_SUPPORT is set to 1.
- #endif
- #ifndef configDEINIT_TLS_BLOCK
- #error Missing definition: configDEINIT_TLS_BLOCK must be defined in FreeRTOSConfig.h when configUSE_C_RUNTIME_TLS_SUPPORT is set to 1.
- #endif
- #endif /* if ( configUSE_C_RUNTIME_TLS_SUPPORT == 1 ) */
- /*
- * Check all the required application specific macros have been defined.
- * These macros are application specific and (as downloaded) are defined
- * within FreeRTOSConfig.h.
- */
- #ifndef configMINIMAL_STACK_SIZE
- #error Missing definition: configMINIMAL_STACK_SIZE must be defined in FreeRTOSConfig.h. configMINIMAL_STACK_SIZE defines the size (in words) of the stack allocated to the idle task. Refer to the demo project provided for your port for a suitable value.
- #endif
- #ifndef configMAX_PRIORITIES
- #error Missing definition: configMAX_PRIORITIES must be defined in FreeRTOSConfig.h. See the Configuration section of the FreeRTOS API documentation for details.
- #endif
- #if configMAX_PRIORITIES < 1
- #error configMAX_PRIORITIES must be defined to be greater than or equal to 1.
- #endif
- #ifndef configUSE_PREEMPTION
- #error Missing definition: configUSE_PREEMPTION must be defined in FreeRTOSConfig.h as either 1 or 0. See the Configuration section of the FreeRTOS API documentation for details.
- #endif
- #ifndef configUSE_IDLE_HOOK
- #error Missing definition: configUSE_IDLE_HOOK must be defined in FreeRTOSConfig.h as either 1 or 0. See the Configuration section of the FreeRTOS API documentation for details.
- #endif
- #if ( configNUMBER_OF_CORES > 1 )
- #ifndef configUSE_PASSIVE_IDLE_HOOK
- #error Missing definition: configUSE_PASSIVE_IDLE_HOOK must be defined in FreeRTOSConfig.h as either 1 or 0. See the Configuration section of the FreeRTOS API documentation for details.
- #endif
- #endif
- #ifndef configUSE_TICK_HOOK
- #error Missing definition: configUSE_TICK_HOOK must be defined in FreeRTOSConfig.h as either 1 or 0. See the Configuration section of the FreeRTOS API documentation for details.
- #endif
- #if ( ( configTICK_TYPE_WIDTH_IN_BITS != TICK_TYPE_WIDTH_16_BITS ) && \
- ( configTICK_TYPE_WIDTH_IN_BITS != TICK_TYPE_WIDTH_32_BITS ) && \
- ( configTICK_TYPE_WIDTH_IN_BITS != TICK_TYPE_WIDTH_64_BITS ) )
- #error Macro configTICK_TYPE_WIDTH_IN_BITS is defined to incorrect value. See the Configuration section of the FreeRTOS API documentation for details.
- #endif
- #ifndef configUSE_CO_ROUTINES
- #define configUSE_CO_ROUTINES 0
- #endif
- #ifndef INCLUDE_vTaskPrioritySet
- #define INCLUDE_vTaskPrioritySet 0
- #endif
- #ifndef INCLUDE_uxTaskPriorityGet
- #define INCLUDE_uxTaskPriorityGet 0
- #endif
- #ifndef INCLUDE_vTaskDelete
- #define INCLUDE_vTaskDelete 0
- #endif
- #ifndef INCLUDE_vTaskSuspend
- #define INCLUDE_vTaskSuspend 0
- #endif
- #ifdef INCLUDE_xTaskDelayUntil
- #ifdef INCLUDE_vTaskDelayUntil
- /* INCLUDE_vTaskDelayUntil was replaced by INCLUDE_xTaskDelayUntil. Backward
- * compatibility is maintained if only one or the other is defined, but
- * there is a conflict if both are defined. */
- #error INCLUDE_vTaskDelayUntil and INCLUDE_xTaskDelayUntil are both defined. INCLUDE_vTaskDelayUntil is no longer required and should be removed
- #endif
- #endif
- #ifndef INCLUDE_xTaskDelayUntil
- #ifdef INCLUDE_vTaskDelayUntil
- /* If INCLUDE_vTaskDelayUntil is set but INCLUDE_xTaskDelayUntil is not then
- * the project's FreeRTOSConfig.h probably pre-dates the introduction of
- * xTaskDelayUntil and setting INCLUDE_xTaskDelayUntil to whatever
- * INCLUDE_vTaskDelayUntil is set to will ensure backward compatibility.
- */
- #define INCLUDE_xTaskDelayUntil INCLUDE_vTaskDelayUntil
- #endif
- #endif
- #ifndef INCLUDE_xTaskDelayUntil
- #define INCLUDE_xTaskDelayUntil 0
- #endif
- #ifndef INCLUDE_vTaskDelay
- #define INCLUDE_vTaskDelay 0
- #endif
- #ifndef INCLUDE_xTaskGetIdleTaskHandle
- #define INCLUDE_xTaskGetIdleTaskHandle 0
- #endif
- #ifndef INCLUDE_xTaskAbortDelay
- #define INCLUDE_xTaskAbortDelay 0
- #endif
- #ifndef INCLUDE_xQueueGetMutexHolder
- #define INCLUDE_xQueueGetMutexHolder 0
- #endif
- #ifndef INCLUDE_xSemaphoreGetMutexHolder
- #define INCLUDE_xSemaphoreGetMutexHolder INCLUDE_xQueueGetMutexHolder
- #endif
- #ifndef INCLUDE_xTaskGetHandle
- #define INCLUDE_xTaskGetHandle 0
- #endif
- #ifndef INCLUDE_uxTaskGetStackHighWaterMark
- #define INCLUDE_uxTaskGetStackHighWaterMark 0
- #endif
- #ifndef INCLUDE_uxTaskGetStackHighWaterMark2
- #define INCLUDE_uxTaskGetStackHighWaterMark2 0
- #endif
- #ifndef INCLUDE_eTaskGetState
- #define INCLUDE_eTaskGetState 0
- #endif
- #ifndef INCLUDE_xTaskResumeFromISR
- #define INCLUDE_xTaskResumeFromISR 1
- #endif
- #ifndef INCLUDE_xTimerPendFunctionCall
- #define INCLUDE_xTimerPendFunctionCall 0
- #endif
- #ifndef INCLUDE_xTaskGetSchedulerState
- #define INCLUDE_xTaskGetSchedulerState 0
- #endif
- #ifndef INCLUDE_xTaskGetCurrentTaskHandle
- #define INCLUDE_xTaskGetCurrentTaskHandle 1
- #endif
- #if configUSE_CO_ROUTINES != 0
- #ifndef configMAX_CO_ROUTINE_PRIORITIES
- #error configMAX_CO_ROUTINE_PRIORITIES must be greater than or equal to 1.
- #endif
- #endif
- #ifndef configUSE_APPLICATION_TASK_TAG
- #define configUSE_APPLICATION_TASK_TAG 0
- #endif
- #ifndef configNUM_THREAD_LOCAL_STORAGE_POINTERS
- #define configNUM_THREAD_LOCAL_STORAGE_POINTERS 0
- #endif
- #ifndef configUSE_RECURSIVE_MUTEXES
- #define configUSE_RECURSIVE_MUTEXES 0
- #endif
- #ifndef configUSE_MUTEXES
- #define configUSE_MUTEXES 0
- #endif
- #ifndef configUSE_TIMERS
- #define configUSE_TIMERS 0
- #endif
- #ifndef configUSE_EVENT_GROUPS
- #define configUSE_EVENT_GROUPS 1
- #endif
- #ifndef configUSE_STREAM_BUFFERS
- #define configUSE_STREAM_BUFFERS 1
- #endif
- #ifndef configUSE_DAEMON_TASK_STARTUP_HOOK
- #define configUSE_DAEMON_TASK_STARTUP_HOOK 0
- #endif
- #if ( configUSE_DAEMON_TASK_STARTUP_HOOK != 0 )
- #if ( configUSE_TIMERS == 0 )
- #error configUSE_DAEMON_TASK_STARTUP_HOOK is set, but the daemon task is not created because configUSE_TIMERS is 0.
- #endif
- #endif
- #ifndef configUSE_COUNTING_SEMAPHORES
- #define configUSE_COUNTING_SEMAPHORES 0
- #endif
- #ifndef configUSE_TASK_PREEMPTION_DISABLE
- #define configUSE_TASK_PREEMPTION_DISABLE 0
- #endif
- #ifndef configUSE_ALTERNATIVE_API
- #define configUSE_ALTERNATIVE_API 0
- #endif
- #ifndef portCRITICAL_NESTING_IN_TCB
- #define portCRITICAL_NESTING_IN_TCB 0
- #endif
- #ifndef configMAX_TASK_NAME_LEN
- #define configMAX_TASK_NAME_LEN 16
- #endif
- #ifndef configIDLE_SHOULD_YIELD
- #define configIDLE_SHOULD_YIELD 1
- #endif
- #if configMAX_TASK_NAME_LEN < 1
- #error configMAX_TASK_NAME_LEN must be set to a minimum of 1 in FreeRTOSConfig.h
- #endif
- /* configPRECONDITION should be defined as configASSERT.
- * The CBMC proofs need a way to track assumptions and assertions.
- * A configPRECONDITION statement should express an implicit invariant or
- * assumption made. A configASSERT statement should express an invariant that must
- * hold explicit before calling the code. */
- #ifndef configPRECONDITION
- #define configPRECONDITION( X ) configASSERT( X )
- #define configPRECONDITION_DEFINED 0
- #else
- #define configPRECONDITION_DEFINED 1
- #endif
- #ifndef configCHECK_HANDLER_INSTALLATION
- #define configCHECK_HANDLER_INSTALLATION 1
- #else
- /* The application has explicitly defined configCHECK_HANDLER_INSTALLATION
- * to 1. The checks requires configASSERT() to be defined. */
- #if ( ( configCHECK_HANDLER_INSTALLATION == 1 ) && ( configASSERT_DEFINED == 0 ) )
- #error You must define configASSERT() when configCHECK_HANDLER_INSTALLATION is 1.
- #endif
- #endif
- #ifndef portMEMORY_BARRIER
- #define portMEMORY_BARRIER()
- #endif
- #ifndef portSOFTWARE_BARRIER
- #define portSOFTWARE_BARRIER()
- #endif
- #ifndef configRUN_MULTIPLE_PRIORITIES
- #define configRUN_MULTIPLE_PRIORITIES 0
- #endif
- #ifndef portGET_CORE_ID
- #if ( configNUMBER_OF_CORES == 1 )
- #define portGET_CORE_ID() 0
- #else
- #error configNUMBER_OF_CORES is set to more than 1 then portGET_CORE_ID must also be defined.
- #endif /* configNUMBER_OF_CORES */
- #endif /* portGET_CORE_ID */
- #ifndef portYIELD_CORE
- #if ( configNUMBER_OF_CORES == 1 )
- #define portYIELD_CORE( x ) portYIELD()
- #else
- #error configNUMBER_OF_CORES is set to more than 1 then portYIELD_CORE must also be defined.
- #endif /* configNUMBER_OF_CORES */
- #endif /* portYIELD_CORE */
- #ifndef portSET_INTERRUPT_MASK
- #if ( configNUMBER_OF_CORES > 1 )
- #error portSET_INTERRUPT_MASK is required in SMP
- #endif
- #endif /* portSET_INTERRUPT_MASK */
- #ifndef portCLEAR_INTERRUPT_MASK
- #if ( configNUMBER_OF_CORES > 1 )
- #error portCLEAR_INTERRUPT_MASK is required in SMP
- #endif
- #endif /* portCLEAR_INTERRUPT_MASK */
- #ifndef portRELEASE_TASK_LOCK
- #if ( configNUMBER_OF_CORES == 1 )
- #define portRELEASE_TASK_LOCK( xCoreID )
- #else
- #error portRELEASE_TASK_LOCK is required in SMP
- #endif
- #endif /* portRELEASE_TASK_LOCK */
- #ifndef portGET_TASK_LOCK
- #if ( configNUMBER_OF_CORES == 1 )
- #define portGET_TASK_LOCK( xCoreID )
- #else
- #error portGET_TASK_LOCK is required in SMP
- #endif
- #endif /* portGET_TASK_LOCK */
- #ifndef portRELEASE_ISR_LOCK
- #if ( configNUMBER_OF_CORES == 1 )
- #define portRELEASE_ISR_LOCK( xCoreID )
- #else
- #error portRELEASE_ISR_LOCK is required in SMP
- #endif
- #endif /* portRELEASE_ISR_LOCK */
- #ifndef portGET_ISR_LOCK
- #if ( configNUMBER_OF_CORES == 1 )
- #define portGET_ISR_LOCK( xCoreID )
- #else
- #error portGET_ISR_LOCK is required in SMP
- #endif
- #endif /* portGET_ISR_LOCK */
- #ifndef portENTER_CRITICAL_FROM_ISR
- #if ( configNUMBER_OF_CORES > 1 )
- #error portENTER_CRITICAL_FROM_ISR is required in SMP
- #endif
- #endif
- #ifndef portEXIT_CRITICAL_FROM_ISR
- #if ( configNUMBER_OF_CORES > 1 )
- #error portEXIT_CRITICAL_FROM_ISR is required in SMP
- #endif
- #endif
- #ifndef configUSE_CORE_AFFINITY
- #define configUSE_CORE_AFFINITY 0
- #endif /* configUSE_CORE_AFFINITY */
- #if ( ( configNUMBER_OF_CORES > 1 ) && ( configUSE_CORE_AFFINITY == 1 ) )
- #ifndef configTASK_DEFAULT_CORE_AFFINITY
- #define configTASK_DEFAULT_CORE_AFFINITY tskNO_AFFINITY
- #endif
- #endif
- #ifndef configUSE_PASSIVE_IDLE_HOOK
- #define configUSE_PASSIVE_IDLE_HOOK 0
- #endif /* configUSE_PASSIVE_IDLE_HOOK */
- /* The timers module relies on xTaskGetSchedulerState(). */
- #if configUSE_TIMERS == 1
- #ifndef configTIMER_TASK_PRIORITY
- #error If configUSE_TIMERS is set to 1 then configTIMER_TASK_PRIORITY must also be defined.
- #endif /* configTIMER_TASK_PRIORITY */
- #ifndef configTIMER_QUEUE_LENGTH
- #error If configUSE_TIMERS is set to 1 then configTIMER_QUEUE_LENGTH must also be defined.
- #endif /* configTIMER_QUEUE_LENGTH */
- #ifndef configTIMER_TASK_STACK_DEPTH
- #error If configUSE_TIMERS is set to 1 then configTIMER_TASK_STACK_DEPTH must also be defined.
- #endif /* configTIMER_TASK_STACK_DEPTH */
- #ifndef portTIMER_CALLBACK_ATTRIBUTE
- #define portTIMER_CALLBACK_ATTRIBUTE
- #endif /* portTIMER_CALLBACK_ATTRIBUTE */
- #endif /* configUSE_TIMERS */
- #ifndef portHAS_NESTED_INTERRUPTS
- #if defined( portSET_INTERRUPT_MASK_FROM_ISR ) && defined( portCLEAR_INTERRUPT_MASK_FROM_ISR )
- #define portHAS_NESTED_INTERRUPTS 1
- #else
- #define portHAS_NESTED_INTERRUPTS 0
- #endif
- #endif
- #ifndef portSET_INTERRUPT_MASK_FROM_ISR
- #if ( portHAS_NESTED_INTERRUPTS == 1 )
- #error portSET_INTERRUPT_MASK_FROM_ISR must be defined for ports that support nested interrupts (i.e. portHAS_NESTED_INTERRUPTS is set to 1)
- #else
- #define portSET_INTERRUPT_MASK_FROM_ISR() 0
- #endif
- #else
- #if ( portHAS_NESTED_INTERRUPTS == 0 )
- #error portSET_INTERRUPT_MASK_FROM_ISR must not be defined for ports that do not support nested interrupts (i.e. portHAS_NESTED_INTERRUPTS is set to 0)
- #endif
- #endif
- #ifndef portCLEAR_INTERRUPT_MASK_FROM_ISR
- #if ( portHAS_NESTED_INTERRUPTS == 1 )
- #error portCLEAR_INTERRUPT_MASK_FROM_ISR must be defined for ports that support nested interrupts (i.e. portHAS_NESTED_INTERRUPTS is set to 1)
- #else
- #define portCLEAR_INTERRUPT_MASK_FROM_ISR( uxSavedStatusValue ) ( void ) ( uxSavedStatusValue )
- #endif
- #else
- #if ( portHAS_NESTED_INTERRUPTS == 0 )
- #error portCLEAR_INTERRUPT_MASK_FROM_ISR must not be defined for ports that do not support nested interrupts (i.e. portHAS_NESTED_INTERRUPTS is set to 0)
- #endif
- #endif
- #ifndef portCLEAN_UP_TCB
- #define portCLEAN_UP_TCB( pxTCB ) ( void ) ( pxTCB )
- #endif
- #ifndef portPRE_TASK_DELETE_HOOK
- #define portPRE_TASK_DELETE_HOOK( pvTaskToDelete, pxYieldPending )
- #endif
- #ifndef portSETUP_TCB
- #define portSETUP_TCB( pxTCB ) ( void ) ( pxTCB )
- #endif
- #ifndef portTASK_SWITCH_HOOK
- #define portTASK_SWITCH_HOOK( pxTCB ) ( void ) ( pxTCB )
- #endif
- #ifndef configQUEUE_REGISTRY_SIZE
- #define configQUEUE_REGISTRY_SIZE 0U
- #endif
- #if ( configQUEUE_REGISTRY_SIZE < 1 )
- #define vQueueAddToRegistry( xQueue, pcName )
- #define vQueueUnregisterQueue( xQueue )
- #define pcQueueGetName( xQueue )
- #endif
- #ifndef configUSE_MINI_LIST_ITEM
- #define configUSE_MINI_LIST_ITEM 1
- #endif
- #ifndef portPOINTER_SIZE_TYPE
- #define portPOINTER_SIZE_TYPE uint32_t
- #endif
- /* Remove any unused trace macros. */
- #ifndef traceSTART
- /* Used to perform any necessary initialisation - for example, open a file
- * into which trace is to be written. */
- #define traceSTART()
- #endif
- #ifndef traceEND
- /* Use to close a trace, for example close a file into which trace has been
- * written. */
- #define traceEND()
- #endif
- #ifndef traceTASK_SWITCHED_IN
- /* Called after a task has been selected to run. pxCurrentTCB holds a pointer
- * to the task control block of the selected task. */
- #define traceTASK_SWITCHED_IN()
- #endif
- #ifndef traceSTARTING_SCHEDULER
- /* Called after all idle tasks and timer task (if enabled) have been created
- * successfully, just before the scheduler is started. */
- #define traceSTARTING_SCHEDULER( xIdleTaskHandles )
- #endif
- #ifndef traceINCREASE_TICK_COUNT
- /* Called before stepping the tick count after waking from tickless idle
- * sleep. */
- #define traceINCREASE_TICK_COUNT( x )
- #endif
- #ifndef traceLOW_POWER_IDLE_BEGIN
- /* Called immediately before entering tickless idle. */
- #define traceLOW_POWER_IDLE_BEGIN()
- #endif
- #ifndef traceLOW_POWER_IDLE_END
- /* Called when returning to the Idle task after a tickless idle. */
- #define traceLOW_POWER_IDLE_END()
- #endif
- #ifndef traceTASK_SWITCHED_OUT
- /* Called before a task has been selected to run. pxCurrentTCB holds a pointer
- * to the task control block of the task being switched out. */
- #define traceTASK_SWITCHED_OUT()
- #endif
- #ifndef traceTASK_PRIORITY_INHERIT
- /* Called when a task attempts to take a mutex that is already held by a
- * lower priority task. pxTCBOfMutexHolder is a pointer to the TCB of the task
- * that holds the mutex. uxInheritedPriority is the priority the mutex holder
- * will inherit (the priority of the task that is attempting to obtain the
- * muted. */
- #define traceTASK_PRIORITY_INHERIT( pxTCBOfMutexHolder, uxInheritedPriority )
- #endif
- #ifndef traceTASK_PRIORITY_DISINHERIT
- /* Called when a task releases a mutex, the holding of which had resulted in
- * the task inheriting the priority of a higher priority task.
- * pxTCBOfMutexHolder is a pointer to the TCB of the task that is releasing the
- * mutex. uxOriginalPriority is the task's configured (base) priority. */
- #define traceTASK_PRIORITY_DISINHERIT( pxTCBOfMutexHolder, uxOriginalPriority )
- #endif
- #ifndef traceBLOCKING_ON_QUEUE_RECEIVE
- /* Task is about to block because it cannot read from a
- * queue/mutex/semaphore. pxQueue is a pointer to the queue/mutex/semaphore
- * upon which the read was attempted. pxCurrentTCB points to the TCB of the
- * task that attempted the read. */
- #define traceBLOCKING_ON_QUEUE_RECEIVE( pxQueue )
- #endif
- #ifndef traceBLOCKING_ON_QUEUE_PEEK
- /* Task is about to block because it cannot read from a
- * queue/mutex/semaphore. pxQueue is a pointer to the queue/mutex/semaphore
- * upon which the read was attempted. pxCurrentTCB points to the TCB of the
- * task that attempted the read. */
- #define traceBLOCKING_ON_QUEUE_PEEK( pxQueue )
- #endif
- #ifndef traceBLOCKING_ON_QUEUE_SEND
- /* Task is about to block because it cannot write to a
- * queue/mutex/semaphore. pxQueue is a pointer to the queue/mutex/semaphore
- * upon which the write was attempted. pxCurrentTCB points to the TCB of the
- * task that attempted the write. */
- #define traceBLOCKING_ON_QUEUE_SEND( pxQueue )
- #endif
- #ifndef configCHECK_FOR_STACK_OVERFLOW
- #define configCHECK_FOR_STACK_OVERFLOW 0
- #endif
- #ifndef configRECORD_STACK_HIGH_ADDRESS
- #define configRECORD_STACK_HIGH_ADDRESS 0
- #endif
- #ifndef configINCLUDE_FREERTOS_TASK_C_ADDITIONS_H
- #define configINCLUDE_FREERTOS_TASK_C_ADDITIONS_H 0
- #endif
- /* The following event macros are embedded in the kernel API calls. */
- #ifndef traceMOVED_TASK_TO_READY_STATE
- #define traceMOVED_TASK_TO_READY_STATE( pxTCB )
- #endif
- #ifndef tracePOST_MOVED_TASK_TO_READY_STATE
- #define tracePOST_MOVED_TASK_TO_READY_STATE( pxTCB )
- #endif
- #ifndef traceMOVED_TASK_TO_DELAYED_LIST
- #define traceMOVED_TASK_TO_DELAYED_LIST()
- #endif
- #ifndef traceMOVED_TASK_TO_OVERFLOW_DELAYED_LIST
- #define traceMOVED_TASK_TO_OVERFLOW_DELAYED_LIST()
- #endif
- #ifndef traceQUEUE_CREATE
- #define traceQUEUE_CREATE( pxNewQueue )
- #endif
- #ifndef traceQUEUE_CREATE_FAILED
- #define traceQUEUE_CREATE_FAILED( ucQueueType )
- #endif
- #ifndef traceCREATE_MUTEX
- #define traceCREATE_MUTEX( pxNewQueue )
- #endif
- #ifndef traceCREATE_MUTEX_FAILED
- #define traceCREATE_MUTEX_FAILED()
- #endif
- #ifndef traceGIVE_MUTEX_RECURSIVE
- #define traceGIVE_MUTEX_RECURSIVE( pxMutex )
- #endif
- #ifndef traceGIVE_MUTEX_RECURSIVE_FAILED
- #define traceGIVE_MUTEX_RECURSIVE_FAILED( pxMutex )
- #endif
- #ifndef traceTAKE_MUTEX_RECURSIVE
- #define traceTAKE_MUTEX_RECURSIVE( pxMutex )
- #endif
- #ifndef traceTAKE_MUTEX_RECURSIVE_FAILED
- #define traceTAKE_MUTEX_RECURSIVE_FAILED( pxMutex )
- #endif
- #ifndef traceCREATE_COUNTING_SEMAPHORE
- #define traceCREATE_COUNTING_SEMAPHORE()
- #endif
- #ifndef traceCREATE_COUNTING_SEMAPHORE_FAILED
- #define traceCREATE_COUNTING_SEMAPHORE_FAILED()
- #endif
- #ifndef traceQUEUE_SET_SEND
- #define traceQUEUE_SET_SEND traceQUEUE_SEND
- #endif
- #ifndef traceQUEUE_SEND
- #define traceQUEUE_SEND( pxQueue )
- #endif
- #ifndef traceQUEUE_SEND_FAILED
- #define traceQUEUE_SEND_FAILED( pxQueue )
- #endif
- #ifndef traceQUEUE_RECEIVE
- #define traceQUEUE_RECEIVE( pxQueue )
- #endif
- #ifndef traceQUEUE_PEEK
- #define traceQUEUE_PEEK( pxQueue )
- #endif
- #ifndef traceQUEUE_PEEK_FAILED
- #define traceQUEUE_PEEK_FAILED( pxQueue )
- #endif
- #ifndef traceQUEUE_PEEK_FROM_ISR
- #define traceQUEUE_PEEK_FROM_ISR( pxQueue )
- #endif
- #ifndef traceQUEUE_RECEIVE_FAILED
- #define traceQUEUE_RECEIVE_FAILED( pxQueue )
- #endif
- #ifndef traceQUEUE_SEND_FROM_ISR
- #define traceQUEUE_SEND_FROM_ISR( pxQueue )
- #endif
- #ifndef traceQUEUE_SEND_FROM_ISR_FAILED
- #define traceQUEUE_SEND_FROM_ISR_FAILED( pxQueue )
- #endif
- #ifndef traceQUEUE_RECEIVE_FROM_ISR
- #define traceQUEUE_RECEIVE_FROM_ISR( pxQueue )
- #endif
- #ifndef traceQUEUE_RECEIVE_FROM_ISR_FAILED
- #define traceQUEUE_RECEIVE_FROM_ISR_FAILED( pxQueue )
- #endif
- #ifndef traceQUEUE_PEEK_FROM_ISR_FAILED
- #define traceQUEUE_PEEK_FROM_ISR_FAILED( pxQueue )
- #endif
- #ifndef traceQUEUE_DELETE
- #define traceQUEUE_DELETE( pxQueue )
- #endif
- #ifndef traceTASK_CREATE
- #define traceTASK_CREATE( pxNewTCB )
- #endif
- #ifndef traceTASK_CREATE_FAILED
- #define traceTASK_CREATE_FAILED()
- #endif
- #ifndef traceTASK_DELETE
- #define traceTASK_DELETE( pxTaskToDelete )
- #endif
- #ifndef traceTASK_DELAY_UNTIL
- #define traceTASK_DELAY_UNTIL( x )
- #endif
- #ifndef traceTASK_DELAY
- #define traceTASK_DELAY()
- #endif
- #ifndef traceTASK_PRIORITY_SET
- #define traceTASK_PRIORITY_SET( pxTask, uxNewPriority )
- #endif
- #ifndef traceTASK_SUSPEND
- #define traceTASK_SUSPEND( pxTaskToSuspend )
- #endif
- #ifndef traceTASK_RESUME
- #define traceTASK_RESUME( pxTaskToResume )
- #endif
- #ifndef traceTASK_RESUME_FROM_ISR
- #define traceTASK_RESUME_FROM_ISR( pxTaskToResume )
- #endif
- #ifndef traceTASK_INCREMENT_TICK
- #define traceTASK_INCREMENT_TICK( xTickCount )
- #endif
- #ifndef traceTIMER_CREATE
- #define traceTIMER_CREATE( pxNewTimer )
- #endif
- #ifndef traceTIMER_CREATE_FAILED
- #define traceTIMER_CREATE_FAILED()
- #endif
- #ifndef traceTIMER_COMMAND_SEND
- #define traceTIMER_COMMAND_SEND( xTimer, xMessageID, xMessageValueValue, xReturn )
- #endif
- #ifndef traceTIMER_EXPIRED
- #define traceTIMER_EXPIRED( pxTimer )
- #endif
- #ifndef traceTIMER_COMMAND_RECEIVED
- #define traceTIMER_COMMAND_RECEIVED( pxTimer, xMessageID, xMessageValue )
- #endif
- #ifndef traceMALLOC
- #define traceMALLOC( pvAddress, uiSize )
- #endif
- #ifndef traceFREE
- #define traceFREE( pvAddress, uiSize )
- #endif
- #ifndef traceEVENT_GROUP_CREATE
- #define traceEVENT_GROUP_CREATE( xEventGroup )
- #endif
- #ifndef traceEVENT_GROUP_CREATE_FAILED
- #define traceEVENT_GROUP_CREATE_FAILED()
- #endif
- #ifndef traceEVENT_GROUP_SYNC_BLOCK
- #define traceEVENT_GROUP_SYNC_BLOCK( xEventGroup, uxBitsToSet, uxBitsToWaitFor )
- #endif
- #ifndef traceEVENT_GROUP_SYNC_END
- #define traceEVENT_GROUP_SYNC_END( xEventGroup, uxBitsToSet, uxBitsToWaitFor, xTimeoutOccurred ) ( void ) ( xTimeoutOccurred )
- #endif
- #ifndef traceEVENT_GROUP_WAIT_BITS_BLOCK
- #define traceEVENT_GROUP_WAIT_BITS_BLOCK( xEventGroup, uxBitsToWaitFor )
- #endif
- #ifndef traceEVENT_GROUP_WAIT_BITS_END
- #define traceEVENT_GROUP_WAIT_BITS_END( xEventGroup, uxBitsToWaitFor, xTimeoutOccurred ) ( void ) ( xTimeoutOccurred )
- #endif
- #ifndef traceEVENT_GROUP_CLEAR_BITS
- #define traceEVENT_GROUP_CLEAR_BITS( xEventGroup, uxBitsToClear )
- #endif
- #ifndef traceEVENT_GROUP_CLEAR_BITS_FROM_ISR
- #define traceEVENT_GROUP_CLEAR_BITS_FROM_ISR( xEventGroup, uxBitsToClear )
- #endif
- #ifndef traceEVENT_GROUP_SET_BITS
- #define traceEVENT_GROUP_SET_BITS( xEventGroup, uxBitsToSet )
- #endif
- #ifndef traceEVENT_GROUP_SET_BITS_FROM_ISR
- #define traceEVENT_GROUP_SET_BITS_FROM_ISR( xEventGroup, uxBitsToSet )
- #endif
- #ifndef traceEVENT_GROUP_DELETE
- #define traceEVENT_GROUP_DELETE( xEventGroup )
- #endif
- #ifndef tracePEND_FUNC_CALL
- #define tracePEND_FUNC_CALL( xFunctionToPend, pvParameter1, ulParameter2, ret )
- #endif
- #ifndef tracePEND_FUNC_CALL_FROM_ISR
- #define tracePEND_FUNC_CALL_FROM_ISR( xFunctionToPend, pvParameter1, ulParameter2, ret )
- #endif
- #ifndef traceQUEUE_REGISTRY_ADD
- #define traceQUEUE_REGISTRY_ADD( xQueue, pcQueueName )
- #endif
- #ifndef traceTASK_NOTIFY_TAKE_BLOCK
- #define traceTASK_NOTIFY_TAKE_BLOCK( uxIndexToWait )
- #endif
- #ifndef traceTASK_NOTIFY_TAKE
- #define traceTASK_NOTIFY_TAKE( uxIndexToWait )
- #endif
- #ifndef traceTASK_NOTIFY_WAIT_BLOCK
- #define traceTASK_NOTIFY_WAIT_BLOCK( uxIndexToWait )
- #endif
- #ifndef traceTASK_NOTIFY_WAIT
- #define traceTASK_NOTIFY_WAIT( uxIndexToWait )
- #endif
- #ifndef traceTASK_NOTIFY
- #define traceTASK_NOTIFY( uxIndexToNotify )
- #endif
- #ifndef traceTASK_NOTIFY_FROM_ISR
- #define traceTASK_NOTIFY_FROM_ISR( uxIndexToNotify )
- #endif
- #ifndef traceTASK_NOTIFY_GIVE_FROM_ISR
- #define traceTASK_NOTIFY_GIVE_FROM_ISR( uxIndexToNotify )
- #endif
- #ifndef traceISR_EXIT_TO_SCHEDULER
- #define traceISR_EXIT_TO_SCHEDULER()
- #endif
- #ifndef traceISR_EXIT
- #define traceISR_EXIT()
- #endif
- #ifndef traceISR_ENTER
- #define traceISR_ENTER()
- #endif
- #ifndef traceSTREAM_BUFFER_CREATE_FAILED
- #define traceSTREAM_BUFFER_CREATE_FAILED( xStreamBufferType )
- #endif
- #ifndef traceSTREAM_BUFFER_CREATE_STATIC_FAILED
- #define traceSTREAM_BUFFER_CREATE_STATIC_FAILED( xReturn, xStreamBufferType )
- #endif
- #ifndef traceSTREAM_BUFFER_CREATE
- #define traceSTREAM_BUFFER_CREATE( pxStreamBuffer, xStreamBufferType )
- #endif
- #ifndef traceSTREAM_BUFFER_DELETE
- #define traceSTREAM_BUFFER_DELETE( xStreamBuffer )
- #endif
- #ifndef traceSTREAM_BUFFER_RESET
- #define traceSTREAM_BUFFER_RESET( xStreamBuffer )
- #endif
- #ifndef traceSTREAM_BUFFER_RESET_FROM_ISR
- #define traceSTREAM_BUFFER_RESET_FROM_ISR( xStreamBuffer )
- #endif
- #ifndef traceBLOCKING_ON_STREAM_BUFFER_SEND
- #define traceBLOCKING_ON_STREAM_BUFFER_SEND( xStreamBuffer )
- #endif
- #ifndef traceSTREAM_BUFFER_SEND
- #define traceSTREAM_BUFFER_SEND( xStreamBuffer, xBytesSent )
- #endif
- #ifndef traceSTREAM_BUFFER_SEND_FAILED
- #define traceSTREAM_BUFFER_SEND_FAILED( xStreamBuffer )
- #endif
- #ifndef traceSTREAM_BUFFER_SEND_FROM_ISR
- #define traceSTREAM_BUFFER_SEND_FROM_ISR( xStreamBuffer, xBytesSent )
- #endif
- #ifndef traceBLOCKING_ON_STREAM_BUFFER_RECEIVE
- #define traceBLOCKING_ON_STREAM_BUFFER_RECEIVE( xStreamBuffer )
- #endif
- #ifndef traceSTREAM_BUFFER_RECEIVE
- #define traceSTREAM_BUFFER_RECEIVE( xStreamBuffer, xReceivedLength )
- #endif
- #ifndef traceSTREAM_BUFFER_RECEIVE_FAILED
- #define traceSTREAM_BUFFER_RECEIVE_FAILED( xStreamBuffer )
- #endif
- #ifndef traceSTREAM_BUFFER_RECEIVE_FROM_ISR
- #define traceSTREAM_BUFFER_RECEIVE_FROM_ISR( xStreamBuffer, xReceivedLength )
- #endif
- #ifndef traceENTER_xEventGroupCreateStatic
- #define traceENTER_xEventGroupCreateStatic( pxEventGroupBuffer )
- #endif
- #ifndef traceRETURN_xEventGroupCreateStatic
- #define traceRETURN_xEventGroupCreateStatic( pxEventBits )
- #endif
- #ifndef traceENTER_xEventGroupCreate
- #define traceENTER_xEventGroupCreate()
- #endif
- #ifndef traceRETURN_xEventGroupCreate
- #define traceRETURN_xEventGroupCreate( pxEventBits )
- #endif
- #ifndef traceENTER_xEventGroupSync
- #define traceENTER_xEventGroupSync( xEventGroup, uxBitsToSet, uxBitsToWaitFor, xTicksToWait )
- #endif
- #ifndef traceRETURN_xEventGroupSync
- #define traceRETURN_xEventGroupSync( uxReturn )
- #endif
- #ifndef traceENTER_xEventGroupWaitBits
- #define traceENTER_xEventGroupWaitBits( xEventGroup, uxBitsToWaitFor, xClearOnExit, xWaitForAllBits, xTicksToWait )
- #endif
- #ifndef traceRETURN_xEventGroupWaitBits
- #define traceRETURN_xEventGroupWaitBits( uxReturn )
- #endif
- #ifndef traceENTER_xEventGroupClearBits
- #define traceENTER_xEventGroupClearBits( xEventGroup, uxBitsToClear )
- #endif
- #ifndef traceRETURN_xEventGroupClearBits
- #define traceRETURN_xEventGroupClearBits( uxReturn )
- #endif
- #ifndef traceENTER_xEventGroupClearBitsFromISR
- #define traceENTER_xEventGroupClearBitsFromISR( xEventGroup, uxBitsToClear )
- #endif
- #ifndef traceRETURN_xEventGroupClearBitsFromISR
- #define traceRETURN_xEventGroupClearBitsFromISR( xReturn )
- #endif
- #ifndef traceENTER_xEventGroupGetBitsFromISR
- #define traceENTER_xEventGroupGetBitsFromISR( xEventGroup )
- #endif
- #ifndef traceRETURN_xEventGroupGetBitsFromISR
- #define traceRETURN_xEventGroupGetBitsFromISR( uxReturn )
- #endif
- #ifndef traceENTER_xEventGroupSetBits
- #define traceENTER_xEventGroupSetBits( xEventGroup, uxBitsToSet )
- #endif
- #ifndef traceRETURN_xEventGroupSetBits
- #define traceRETURN_xEventGroupSetBits( uxEventBits )
- #endif
- #ifndef traceENTER_vEventGroupDelete
- #define traceENTER_vEventGroupDelete( xEventGroup )
- #endif
- #ifndef traceRETURN_vEventGroupDelete
- #define traceRETURN_vEventGroupDelete()
- #endif
- #ifndef traceENTER_xEventGroupGetStaticBuffer
- #define traceENTER_xEventGroupGetStaticBuffer( xEventGroup, ppxEventGroupBuffer )
- #endif
- #ifndef traceRETURN_xEventGroupGetStaticBuffer
- #define traceRETURN_xEventGroupGetStaticBuffer( xReturn )
- #endif
- #ifndef traceENTER_vEventGroupSetBitsCallback
- #define traceENTER_vEventGroupSetBitsCallback( pvEventGroup, ulBitsToSet )
- #endif
- #ifndef traceRETURN_vEventGroupSetBitsCallback
- #define traceRETURN_vEventGroupSetBitsCallback()
- #endif
- #ifndef traceENTER_vEventGroupClearBitsCallback
- #define traceENTER_vEventGroupClearBitsCallback( pvEventGroup, ulBitsToClear )
- #endif
- #ifndef traceRETURN_vEventGroupClearBitsCallback
- #define traceRETURN_vEventGroupClearBitsCallback()
- #endif
- #ifndef traceENTER_xEventGroupSetBitsFromISR
- #define traceENTER_xEventGroupSetBitsFromISR( xEventGroup, uxBitsToSet, pxHigherPriorityTaskWoken )
- #endif
- #ifndef traceRETURN_xEventGroupSetBitsFromISR
- #define traceRETURN_xEventGroupSetBitsFromISR( xReturn )
- #endif
- #ifndef traceENTER_uxEventGroupGetNumber
- #define traceENTER_uxEventGroupGetNumber( xEventGroup )
- #endif
- #ifndef traceRETURN_uxEventGroupGetNumber
- #define traceRETURN_uxEventGroupGetNumber( xReturn )
- #endif
- #ifndef traceENTER_vEventGroupSetNumber
- #define traceENTER_vEventGroupSetNumber( xEventGroup, uxEventGroupNumber )
- #endif
- #ifndef traceRETURN_vEventGroupSetNumber
- #define traceRETURN_vEventGroupSetNumber()
- #endif
- #ifndef traceENTER_xQueueGenericReset
- #define traceENTER_xQueueGenericReset( xQueue, xNewQueue )
- #endif
- #ifndef traceRETURN_xQueueGenericReset
- #define traceRETURN_xQueueGenericReset( xReturn )
- #endif
- #ifndef traceENTER_xQueueGenericCreateStatic
- #define traceENTER_xQueueGenericCreateStatic( uxQueueLength, uxItemSize, pucQueueStorage, pxStaticQueue, ucQueueType )
- #endif
- #ifndef traceRETURN_xQueueGenericCreateStatic
- #define traceRETURN_xQueueGenericCreateStatic( pxNewQueue )
- #endif
- #ifndef traceENTER_xQueueGenericGetStaticBuffers
- #define traceENTER_xQueueGenericGetStaticBuffers( xQueue, ppucQueueStorage, ppxStaticQueue )
- #endif
- #ifndef traceRETURN_xQueueGenericGetStaticBuffers
- #define traceRETURN_xQueueGenericGetStaticBuffers( xReturn )
- #endif
- #ifndef traceENTER_xQueueGenericCreate
- #define traceENTER_xQueueGenericCreate( uxQueueLength, uxItemSize, ucQueueType )
- #endif
- #ifndef traceRETURN_xQueueGenericCreate
- #define traceRETURN_xQueueGenericCreate( pxNewQueue )
- #endif
- #ifndef traceENTER_xQueueCreateMutex
- #define traceENTER_xQueueCreateMutex( ucQueueType )
- #endif
- #ifndef traceRETURN_xQueueCreateMutex
- #define traceRETURN_xQueueCreateMutex( xNewQueue )
- #endif
- #ifndef traceENTER_xQueueCreateMutexStatic
- #define traceENTER_xQueueCreateMutexStatic( ucQueueType, pxStaticQueue )
- #endif
- #ifndef traceRETURN_xQueueCreateMutexStatic
- #define traceRETURN_xQueueCreateMutexStatic( xNewQueue )
- #endif
- #ifndef traceENTER_xQueueGetMutexHolder
- #define traceENTER_xQueueGetMutexHolder( xSemaphore )
- #endif
- #ifndef traceRETURN_xQueueGetMutexHolder
- #define traceRETURN_xQueueGetMutexHolder( pxReturn )
- #endif
- #ifndef traceENTER_xQueueGetMutexHolderFromISR
- #define traceENTER_xQueueGetMutexHolderFromISR( xSemaphore )
- #endif
- #ifndef traceRETURN_xQueueGetMutexHolderFromISR
- #define traceRETURN_xQueueGetMutexHolderFromISR( pxReturn )
- #endif
- #ifndef traceENTER_xQueueGiveMutexRecursive
- #define traceENTER_xQueueGiveMutexRecursive( xMutex )
- #endif
- #ifndef traceRETURN_xQueueGiveMutexRecursive
- #define traceRETURN_xQueueGiveMutexRecursive( xReturn )
- #endif
- #ifndef traceENTER_xQueueTakeMutexRecursive
- #define traceENTER_xQueueTakeMutexRecursive( xMutex, xTicksToWait )
- #endif
- #ifndef traceRETURN_xQueueTakeMutexRecursive
- #define traceRETURN_xQueueTakeMutexRecursive( xReturn )
- #endif
- #ifndef traceENTER_xQueueCreateCountingSemaphoreStatic
- #define traceENTER_xQueueCreateCountingSemaphoreStatic( uxMaxCount, uxInitialCount, pxStaticQueue )
- #endif
- #ifndef traceRETURN_xQueueCreateCountingSemaphoreStatic
- #define traceRETURN_xQueueCreateCountingSemaphoreStatic( xHandle )
- #endif
- #ifndef traceENTER_xQueueCreateCountingSemaphore
- #define traceENTER_xQueueCreateCountingSemaphore( uxMaxCount, uxInitialCount )
- #endif
- #ifndef traceRETURN_xQueueCreateCountingSemaphore
- #define traceRETURN_xQueueCreateCountingSemaphore( xHandle )
- #endif
- #ifndef traceENTER_xQueueGenericSend
- #define traceENTER_xQueueGenericSend( xQueue, pvItemToQueue, xTicksToWait, xCopyPosition )
- #endif
- #ifndef traceRETURN_xQueueGenericSend
- #define traceRETURN_xQueueGenericSend( xReturn )
- #endif
- #ifndef traceENTER_xQueueGenericSendFromISR
- #define traceENTER_xQueueGenericSendFromISR( xQueue, pvItemToQueue, pxHigherPriorityTaskWoken, xCopyPosition )
- #endif
- #ifndef traceRETURN_xQueueGenericSendFromISR
- #define traceRETURN_xQueueGenericSendFromISR( xReturn )
- #endif
- #ifndef traceENTER_xQueueGiveFromISR
- #define traceENTER_xQueueGiveFromISR( xQueue, pxHigherPriorityTaskWoken )
- #endif
- #ifndef traceRETURN_xQueueGiveFromISR
- #define traceRETURN_xQueueGiveFromISR( xReturn )
- #endif
- #ifndef traceENTER_xQueueReceive
- #define traceENTER_xQueueReceive( xQueue, pvBuffer, xTicksToWait )
- #endif
- #ifndef traceRETURN_xQueueReceive
- #define traceRETURN_xQueueReceive( xReturn )
- #endif
- #ifndef traceENTER_xQueueSemaphoreTake
- #define traceENTER_xQueueSemaphoreTake( xQueue, xTicksToWait )
- #endif
- #ifndef traceRETURN_xQueueSemaphoreTake
- #define traceRETURN_xQueueSemaphoreTake( xReturn )
- #endif
- #ifndef traceENTER_xQueuePeek
- #define traceENTER_xQueuePeek( xQueue, pvBuffer, xTicksToWait )
- #endif
- #ifndef traceRETURN_xQueuePeek
- #define traceRETURN_xQueuePeek( xReturn )
- #endif
- #ifndef traceENTER_xQueueReceiveFromISR
- #define traceENTER_xQueueReceiveFromISR( xQueue, pvBuffer, pxHigherPriorityTaskWoken )
- #endif
- #ifndef traceRETURN_xQueueReceiveFromISR
- #define traceRETURN_xQueueReceiveFromISR( xReturn )
- #endif
- #ifndef traceENTER_xQueuePeekFromISR
- #define traceENTER_xQueuePeekFromISR( xQueue, pvBuffer )
- #endif
- #ifndef traceRETURN_xQueuePeekFromISR
- #define traceRETURN_xQueuePeekFromISR( xReturn )
- #endif
- #ifndef traceENTER_uxQueueMessagesWaiting
- #define traceENTER_uxQueueMessagesWaiting( xQueue )
- #endif
- #ifndef traceRETURN_uxQueueMessagesWaiting
- #define traceRETURN_uxQueueMessagesWaiting( uxReturn )
- #endif
- #ifndef traceENTER_uxQueueSpacesAvailable
- #define traceENTER_uxQueueSpacesAvailable( xQueue )
- #endif
- #ifndef traceRETURN_uxQueueSpacesAvailable
- #define traceRETURN_uxQueueSpacesAvailable( uxReturn )
- #endif
- #ifndef traceENTER_uxQueueMessagesWaitingFromISR
- #define traceENTER_uxQueueMessagesWaitingFromISR( xQueue )
- #endif
- #ifndef traceRETURN_uxQueueMessagesWaitingFromISR
- #define traceRETURN_uxQueueMessagesWaitingFromISR( uxReturn )
- #endif
- #ifndef traceENTER_vQueueDelete
- #define traceENTER_vQueueDelete( xQueue )
- #endif
- #ifndef traceRETURN_vQueueDelete
- #define traceRETURN_vQueueDelete()
- #endif
- #ifndef traceENTER_uxQueueGetQueueNumber
- #define traceENTER_uxQueueGetQueueNumber( xQueue )
- #endif
- #ifndef traceRETURN_uxQueueGetQueueNumber
- #define traceRETURN_uxQueueGetQueueNumber( uxQueueNumber )
- #endif
- #ifndef traceENTER_vQueueSetQueueNumber
- #define traceENTER_vQueueSetQueueNumber( xQueue, uxQueueNumber )
- #endif
- #ifndef traceRETURN_vQueueSetQueueNumber
- #define traceRETURN_vQueueSetQueueNumber()
- #endif
- #ifndef traceENTER_ucQueueGetQueueType
- #define traceENTER_ucQueueGetQueueType( xQueue )
- #endif
- #ifndef traceRETURN_ucQueueGetQueueType
- #define traceRETURN_ucQueueGetQueueType( ucQueueType )
- #endif
- #ifndef traceENTER_uxQueueGetQueueItemSize
- #define traceENTER_uxQueueGetQueueItemSize( xQueue )
- #endif
- #ifndef traceRETURN_uxQueueGetQueueItemSize
- #define traceRETURN_uxQueueGetQueueItemSize( uxItemSize )
- #endif
- #ifndef traceENTER_uxQueueGetQueueLength
- #define traceENTER_uxQueueGetQueueLength( xQueue )
- #endif
- #ifndef traceRETURN_uxQueueGetQueueLength
- #define traceRETURN_uxQueueGetQueueLength( uxLength )
- #endif
- #ifndef traceENTER_xQueueIsQueueEmptyFromISR
- #define traceENTER_xQueueIsQueueEmptyFromISR( xQueue )
- #endif
- #ifndef traceRETURN_xQueueIsQueueEmptyFromISR
- #define traceRETURN_xQueueIsQueueEmptyFromISR( xReturn )
- #endif
- #ifndef traceENTER_xQueueIsQueueFullFromISR
- #define traceENTER_xQueueIsQueueFullFromISR( xQueue )
- #endif
- #ifndef traceRETURN_xQueueIsQueueFullFromISR
- #define traceRETURN_xQueueIsQueueFullFromISR( xReturn )
- #endif
- #ifndef traceENTER_xQueueCRSend
- #define traceENTER_xQueueCRSend( xQueue, pvItemToQueue, xTicksToWait )
- #endif
- #ifndef traceRETURN_xQueueCRSend
- #define traceRETURN_xQueueCRSend( xReturn )
- #endif
- #ifndef traceENTER_xQueueCRReceive
- #define traceENTER_xQueueCRReceive( xQueue, pvBuffer, xTicksToWait )
- #endif
- #ifndef traceRETURN_xQueueCRReceive
- #define traceRETURN_xQueueCRReceive( xReturn )
- #endif
- #ifndef traceENTER_xQueueCRSendFromISR
- #define traceENTER_xQueueCRSendFromISR( xQueue, pvItemToQueue, xCoRoutinePreviouslyWoken )
- #endif
- #ifndef traceRETURN_xQueueCRSendFromISR
- #define traceRETURN_xQueueCRSendFromISR( xCoRoutinePreviouslyWoken )
- #endif
- #ifndef traceENTER_xQueueCRReceiveFromISR
- #define traceENTER_xQueueCRReceiveFromISR( xQueue, pvBuffer, pxCoRoutineWoken )
- #endif
- #ifndef traceRETURN_xQueueCRReceiveFromISR
- #define traceRETURN_xQueueCRReceiveFromISR( xReturn )
- #endif
- #ifndef traceENTER_vQueueAddToRegistry
- #define traceENTER_vQueueAddToRegistry( xQueue, pcQueueName )
- #endif
- #ifndef traceRETURN_vQueueAddToRegistry
- #define traceRETURN_vQueueAddToRegistry()
- #endif
- #ifndef traceENTER_pcQueueGetName
- #define traceENTER_pcQueueGetName( xQueue )
- #endif
- #ifndef traceRETURN_pcQueueGetName
- #define traceRETURN_pcQueueGetName( pcReturn )
- #endif
- #ifndef traceENTER_vQueueUnregisterQueue
- #define traceENTER_vQueueUnregisterQueue( xQueue )
- #endif
- #ifndef traceRETURN_vQueueUnregisterQueue
- #define traceRETURN_vQueueUnregisterQueue()
- #endif
- #ifndef traceENTER_vQueueWaitForMessageRestricted
- #define traceENTER_vQueueWaitForMessageRestricted( xQueue, xTicksToWait, xWaitIndefinitely )
- #endif
- #ifndef traceRETURN_vQueueWaitForMessageRestricted
- #define traceRETURN_vQueueWaitForMessageRestricted()
- #endif
- #ifndef traceENTER_xQueueCreateSet
- #define traceENTER_xQueueCreateSet( uxEventQueueLength )
- #endif
- #ifndef traceRETURN_xQueueCreateSet
- #define traceRETURN_xQueueCreateSet( pxQueue )
- #endif
- #ifndef traceENTER_xQueueCreateSetStatic
- #define traceENTER_xQueueCreateSetStatic( uxEventQueueLength )
- #endif
- #ifndef traceRETURN_xQueueCreateSetStatic
- #define traceRETURN_xQueueCreateSetStatic( pxQueue )
- #endif
- #ifndef traceENTER_xQueueAddToSet
- #define traceENTER_xQueueAddToSet( xQueueOrSemaphore, xQueueSet )
- #endif
- #ifndef traceRETURN_xQueueAddToSet
- #define traceRETURN_xQueueAddToSet( xReturn )
- #endif
- #ifndef traceENTER_xQueueRemoveFromSet
- #define traceENTER_xQueueRemoveFromSet( xQueueOrSemaphore, xQueueSet )
- #endif
- #ifndef traceRETURN_xQueueRemoveFromSet
- #define traceRETURN_xQueueRemoveFromSet( xReturn )
- #endif
- #ifndef traceENTER_xQueueSelectFromSet
- #define traceENTER_xQueueSelectFromSet( xQueueSet, xTicksToWait )
- #endif
- #ifndef traceRETURN_xQueueSelectFromSet
- #define traceRETURN_xQueueSelectFromSet( xReturn )
- #endif
- #ifndef traceENTER_xQueueSelectFromSetFromISR
- #define traceENTER_xQueueSelectFromSetFromISR( xQueueSet )
- #endif
- #ifndef traceRETURN_xQueueSelectFromSetFromISR
- #define traceRETURN_xQueueSelectFromSetFromISR( xReturn )
- #endif
- #ifndef traceENTER_xTimerCreateTimerTask
- #define traceENTER_xTimerCreateTimerTask()
- #endif
- #ifndef traceRETURN_xTimerCreateTimerTask
- #define traceRETURN_xTimerCreateTimerTask( xReturn )
- #endif
- #ifndef traceENTER_xTimerCreate
- #define traceENTER_xTimerCreate( pcTimerName, xTimerPeriodInTicks, xAutoReload, pvTimerID, pxCallbackFunction )
- #endif
- #ifndef traceRETURN_xTimerCreate
- #define traceRETURN_xTimerCreate( pxNewTimer )
- #endif
- #ifndef traceENTER_xTimerCreateStatic
- #define traceENTER_xTimerCreateStatic( pcTimerName, xTimerPeriodInTicks, xAutoReload, pvTimerID, pxCallbackFunction, pxTimerBuffer )
- #endif
- #ifndef traceRETURN_xTimerCreateStatic
- #define traceRETURN_xTimerCreateStatic( pxNewTimer )
- #endif
- #ifndef traceENTER_xTimerGenericCommandFromTask
- #define traceENTER_xTimerGenericCommandFromTask( xTimer, xCommandID, xOptionalValue, pxHigherPriorityTaskWoken, xTicksToWait )
- #endif
- #ifndef traceRETURN_xTimerGenericCommandFromTask
- #define traceRETURN_xTimerGenericCommandFromTask( xReturn )
- #endif
- #ifndef traceENTER_xTimerGenericCommandFromISR
- #define traceENTER_xTimerGenericCommandFromISR( xTimer, xCommandID, xOptionalValue, pxHigherPriorityTaskWoken, xTicksToWait )
- #endif
- #ifndef traceRETURN_xTimerGenericCommandFromISR
- #define traceRETURN_xTimerGenericCommandFromISR( xReturn )
- #endif
- #ifndef traceENTER_xTimerGetTimerDaemonTaskHandle
- #define traceENTER_xTimerGetTimerDaemonTaskHandle()
- #endif
- #ifndef traceRETURN_xTimerGetTimerDaemonTaskHandle
- #define traceRETURN_xTimerGetTimerDaemonTaskHandle( xTimerTaskHandle )
- #endif
- #ifndef traceENTER_xTimerGetPeriod
- #define traceENTER_xTimerGetPeriod( xTimer )
- #endif
- #ifndef traceRETURN_xTimerGetPeriod
- #define traceRETURN_xTimerGetPeriod( xTimerPeriodInTicks )
- #endif
- #ifndef traceENTER_vTimerSetReloadMode
- #define traceENTER_vTimerSetReloadMode( xTimer, xAutoReload )
- #endif
- #ifndef traceRETURN_vTimerSetReloadMode
- #define traceRETURN_vTimerSetReloadMode()
- #endif
- #ifndef traceENTER_xTimerGetReloadMode
- #define traceENTER_xTimerGetReloadMode( xTimer )
- #endif
- #ifndef traceRETURN_xTimerGetReloadMode
- #define traceRETURN_xTimerGetReloadMode( xReturn )
- #endif
- #ifndef traceENTER_uxTimerGetReloadMode
- #define traceENTER_uxTimerGetReloadMode( xTimer )
- #endif
- #ifndef traceRETURN_uxTimerGetReloadMode
- #define traceRETURN_uxTimerGetReloadMode( uxReturn )
- #endif
- #ifndef traceENTER_xTimerGetExpiryTime
- #define traceENTER_xTimerGetExpiryTime( xTimer )
- #endif
- #ifndef traceRETURN_xTimerGetExpiryTime
- #define traceRETURN_xTimerGetExpiryTime( xReturn )
- #endif
- #ifndef traceENTER_xTimerGetStaticBuffer
- #define traceENTER_xTimerGetStaticBuffer( xTimer, ppxTimerBuffer )
- #endif
- #ifndef traceRETURN_xTimerGetStaticBuffer
- #define traceRETURN_xTimerGetStaticBuffer( xReturn )
- #endif
- #ifndef traceENTER_pcTimerGetName
- #define traceENTER_pcTimerGetName( xTimer )
- #endif
- #ifndef traceRETURN_pcTimerGetName
- #define traceRETURN_pcTimerGetName( pcTimerName )
- #endif
- #ifndef traceENTER_xTimerIsTimerActive
- #define traceENTER_xTimerIsTimerActive( xTimer )
- #endif
- #ifndef traceRETURN_xTimerIsTimerActive
- #define traceRETURN_xTimerIsTimerActive( xReturn )
- #endif
- #ifndef traceENTER_pvTimerGetTimerID
- #define traceENTER_pvTimerGetTimerID( xTimer )
- #endif
- #ifndef traceRETURN_pvTimerGetTimerID
- #define traceRETURN_pvTimerGetTimerID( pvReturn )
- #endif
- #ifndef traceENTER_vTimerSetTimerID
- #define traceENTER_vTimerSetTimerID( xTimer, pvNewID )
- #endif
- #ifndef traceRETURN_vTimerSetTimerID
- #define traceRETURN_vTimerSetTimerID()
- #endif
- #ifndef traceENTER_xTimerPendFunctionCallFromISR
- #define traceENTER_xTimerPendFunctionCallFromISR( xFunctionToPend, pvParameter1, ulParameter2, pxHigherPriorityTaskWoken )
- #endif
- #ifndef traceRETURN_xTimerPendFunctionCallFromISR
- #define traceRETURN_xTimerPendFunctionCallFromISR( xReturn )
- #endif
- #ifndef traceENTER_xTimerPendFunctionCall
- #define traceENTER_xTimerPendFunctionCall( xFunctionToPend, pvParameter1, ulParameter2, xTicksToWait )
- #endif
- #ifndef traceRETURN_xTimerPendFunctionCall
- #define traceRETURN_xTimerPendFunctionCall( xReturn )
- #endif
- #ifndef traceENTER_uxTimerGetTimerNumber
- #define traceENTER_uxTimerGetTimerNumber( xTimer )
- #endif
- #ifndef traceRETURN_uxTimerGetTimerNumber
- #define traceRETURN_uxTimerGetTimerNumber( uxTimerNumber )
- #endif
- #ifndef traceENTER_vTimerSetTimerNumber
- #define traceENTER_vTimerSetTimerNumber( xTimer, uxTimerNumber )
- #endif
- #ifndef traceRETURN_vTimerSetTimerNumber
- #define traceRETURN_vTimerSetTimerNumber()
- #endif
- #ifndef traceENTER_xTaskCreateStatic
- #define traceENTER_xTaskCreateStatic( pxTaskCode, pcName, uxStackDepth, pvParameters, uxPriority, puxStackBuffer, pxTaskBuffer )
- #endif
- #ifndef traceRETURN_xTaskCreateStatic
- #define traceRETURN_xTaskCreateStatic( xReturn )
- #endif
- #ifndef traceENTER_xTaskCreateStaticAffinitySet
- #define traceENTER_xTaskCreateStaticAffinitySet( pxTaskCode, pcName, uxStackDepth, pvParameters, uxPriority, puxStackBuffer, pxTaskBuffer, uxCoreAffinityMask )
- #endif
- #ifndef traceRETURN_xTaskCreateStaticAffinitySet
- #define traceRETURN_xTaskCreateStaticAffinitySet( xReturn )
- #endif
- #ifndef traceENTER_xTaskCreateRestrictedStatic
- #define traceENTER_xTaskCreateRestrictedStatic( pxTaskDefinition, pxCreatedTask )
- #endif
- #ifndef traceRETURN_xTaskCreateRestrictedStatic
- #define traceRETURN_xTaskCreateRestrictedStatic( xReturn )
- #endif
- #ifndef traceENTER_xTaskCreateRestrictedStaticAffinitySet
- #define traceENTER_xTaskCreateRestrictedStaticAffinitySet( pxTaskDefinition, uxCoreAffinityMask, pxCreatedTask )
- #endif
- #ifndef traceRETURN_xTaskCreateRestrictedStaticAffinitySet
- #define traceRETURN_xTaskCreateRestrictedStaticAffinitySet( xReturn )
- #endif
- #ifndef traceENTER_xTaskCreateRestricted
- #define traceENTER_xTaskCreateRestricted( pxTaskDefinition, pxCreatedTask )
- #endif
- #ifndef traceRETURN_xTaskCreateRestricted
- #define traceRETURN_xTaskCreateRestricted( xReturn )
- #endif
- #ifndef traceENTER_xTaskCreateRestrictedAffinitySet
- #define traceENTER_xTaskCreateRestrictedAffinitySet( pxTaskDefinition, uxCoreAffinityMask, pxCreatedTask )
- #endif
- #ifndef traceRETURN_xTaskCreateRestrictedAffinitySet
- #define traceRETURN_xTaskCreateRestrictedAffinitySet( xReturn )
- #endif
- #ifndef traceENTER_xTaskCreate
- #define traceENTER_xTaskCreate( pxTaskCode, pcName, uxStackDepth, pvParameters, uxPriority, pxCreatedTask )
- #endif
- #ifndef traceRETURN_xTaskCreate
- #define traceRETURN_xTaskCreate( xReturn )
- #endif
- #ifndef traceENTER_xTaskCreateAffinitySet
- #define traceENTER_xTaskCreateAffinitySet( pxTaskCode, pcName, uxStackDepth, pvParameters, uxPriority, uxCoreAffinityMask, pxCreatedTask )
- #endif
- #ifndef traceRETURN_xTaskCreateAffinitySet
- #define traceRETURN_xTaskCreateAffinitySet( xReturn )
- #endif
- #ifndef traceENTER_vTaskDelete
- #define traceENTER_vTaskDelete( xTaskToDelete )
- #endif
- #ifndef traceRETURN_vTaskDelete
- #define traceRETURN_vTaskDelete()
- #endif
- #ifndef traceENTER_xTaskDelayUntil
- #define traceENTER_xTaskDelayUntil( pxPreviousWakeTime, xTimeIncrement )
- #endif
- #ifndef traceRETURN_xTaskDelayUntil
- #define traceRETURN_xTaskDelayUntil( xShouldDelay )
- #endif
- #ifndef traceENTER_vTaskDelay
- #define traceENTER_vTaskDelay( xTicksToDelay )
- #endif
- #ifndef traceRETURN_vTaskDelay
- #define traceRETURN_vTaskDelay()
- #endif
- #ifndef traceENTER_eTaskGetState
- #define traceENTER_eTaskGetState( xTask )
- #endif
- #ifndef traceRETURN_eTaskGetState
- #define traceRETURN_eTaskGetState( eReturn )
- #endif
- #ifndef traceENTER_uxTaskPriorityGet
- #define traceENTER_uxTaskPriorityGet( xTask )
- #endif
- #ifndef traceRETURN_uxTaskPriorityGet
- #define traceRETURN_uxTaskPriorityGet( uxReturn )
- #endif
- #ifndef traceENTER_uxTaskPriorityGetFromISR
- #define traceENTER_uxTaskPriorityGetFromISR( xTask )
- #endif
- #ifndef traceRETURN_uxTaskPriorityGetFromISR
- #define traceRETURN_uxTaskPriorityGetFromISR( uxReturn )
- #endif
- #ifndef traceENTER_uxTaskBasePriorityGet
- #define traceENTER_uxTaskBasePriorityGet( xTask )
- #endif
- #ifndef traceRETURN_uxTaskBasePriorityGet
- #define traceRETURN_uxTaskBasePriorityGet( uxReturn )
- #endif
- #ifndef traceENTER_uxTaskBasePriorityGetFromISR
- #define traceENTER_uxTaskBasePriorityGetFromISR( xTask )
- #endif
- #ifndef traceRETURN_uxTaskBasePriorityGetFromISR
- #define traceRETURN_uxTaskBasePriorityGetFromISR( uxReturn )
- #endif
- #ifndef traceENTER_vTaskPrioritySet
- #define traceENTER_vTaskPrioritySet( xTask, uxNewPriority )
- #endif
- #ifndef traceRETURN_vTaskPrioritySet
- #define traceRETURN_vTaskPrioritySet()
- #endif
- #ifndef traceENTER_vTaskCoreAffinitySet
- #define traceENTER_vTaskCoreAffinitySet( xTask, uxCoreAffinityMask )
- #endif
- #ifndef traceRETURN_vTaskCoreAffinitySet
- #define traceRETURN_vTaskCoreAffinitySet()
- #endif
- #ifndef traceENTER_vTaskCoreAffinityGet
- #define traceENTER_vTaskCoreAffinityGet( xTask )
- #endif
- #ifndef traceRETURN_vTaskCoreAffinityGet
- #define traceRETURN_vTaskCoreAffinityGet( uxCoreAffinityMask )
- #endif
- #ifndef traceENTER_vTaskPreemptionDisable
- #define traceENTER_vTaskPreemptionDisable( xTask )
- #endif
- #ifndef traceRETURN_vTaskPreemptionDisable
- #define traceRETURN_vTaskPreemptionDisable()
- #endif
- #ifndef traceENTER_vTaskPreemptionEnable
- #define traceENTER_vTaskPreemptionEnable( xTask )
- #endif
- #ifndef traceRETURN_vTaskPreemptionEnable
- #define traceRETURN_vTaskPreemptionEnable()
- #endif
- #ifndef traceENTER_vTaskSuspend
- #define traceENTER_vTaskSuspend( xTaskToSuspend )
- #endif
- #ifndef traceRETURN_vTaskSuspend
- #define traceRETURN_vTaskSuspend()
- #endif
- #ifndef traceENTER_vTaskResume
- #define traceENTER_vTaskResume( xTaskToResume )
- #endif
- #ifndef traceRETURN_vTaskResume
- #define traceRETURN_vTaskResume()
- #endif
- #ifndef traceENTER_xTaskResumeFromISR
- #define traceENTER_xTaskResumeFromISR( xTaskToResume )
- #endif
- #ifndef traceRETURN_xTaskResumeFromISR
- #define traceRETURN_xTaskResumeFromISR( xYieldRequired )
- #endif
- #ifndef traceENTER_vTaskStartScheduler
- #define traceENTER_vTaskStartScheduler()
- #endif
- #ifndef traceRETURN_vTaskStartScheduler
- #define traceRETURN_vTaskStartScheduler()
- #endif
- #ifndef traceENTER_vTaskEndScheduler
- #define traceENTER_vTaskEndScheduler()
- #endif
- #ifndef traceRETURN_vTaskEndScheduler
- #define traceRETURN_vTaskEndScheduler()
- #endif
- #ifndef traceENTER_vTaskSuspendAll
- #define traceENTER_vTaskSuspendAll()
- #endif
- #ifndef traceRETURN_vTaskSuspendAll
- #define traceRETURN_vTaskSuspendAll()
- #endif
- #ifndef traceENTER_xTaskResumeAll
- #define traceENTER_xTaskResumeAll()
- #endif
- #ifndef traceRETURN_xTaskResumeAll
- #define traceRETURN_xTaskResumeAll( xAlreadyYielded )
- #endif
- #ifndef traceENTER_xTaskGetTickCount
- #define traceENTER_xTaskGetTickCount()
- #endif
- #ifndef traceRETURN_xTaskGetTickCount
- #define traceRETURN_xTaskGetTickCount( xTicks )
- #endif
- #ifndef traceENTER_xTaskGetTickCountFromISR
- #define traceENTER_xTaskGetTickCountFromISR()
- #endif
- #ifndef traceRETURN_xTaskGetTickCountFromISR
- #define traceRETURN_xTaskGetTickCountFromISR( xReturn )
- #endif
- #ifndef traceENTER_uxTaskGetNumberOfTasks
- #define traceENTER_uxTaskGetNumberOfTasks()
- #endif
- #ifndef traceRETURN_uxTaskGetNumberOfTasks
- #define traceRETURN_uxTaskGetNumberOfTasks( uxCurrentNumberOfTasks )
- #endif
- #ifndef traceENTER_pcTaskGetName
- #define traceENTER_pcTaskGetName( xTaskToQuery )
- #endif
- #ifndef traceRETURN_pcTaskGetName
- #define traceRETURN_pcTaskGetName( pcTaskName )
- #endif
- #ifndef traceENTER_xTaskGetHandle
- #define traceENTER_xTaskGetHandle( pcNameToQuery )
- #endif
- #ifndef traceRETURN_xTaskGetHandle
- #define traceRETURN_xTaskGetHandle( pxTCB )
- #endif
- #ifndef traceENTER_xTaskGetStaticBuffers
- #define traceENTER_xTaskGetStaticBuffers( xTask, ppuxStackBuffer, ppxTaskBuffer )
- #endif
- #ifndef traceRETURN_xTaskGetStaticBuffers
- #define traceRETURN_xTaskGetStaticBuffers( xReturn )
- #endif
- #ifndef traceENTER_uxTaskGetSystemState
- #define traceENTER_uxTaskGetSystemState( pxTaskStatusArray, uxArraySize, pulTotalRunTime )
- #endif
- #ifndef traceRETURN_uxTaskGetSystemState
- #define traceRETURN_uxTaskGetSystemState( uxTask )
- #endif
- #if ( configNUMBER_OF_CORES == 1 )
- #ifndef traceENTER_xTaskGetIdleTaskHandle
- #define traceENTER_xTaskGetIdleTaskHandle()
- #endif
- #endif
- #if ( configNUMBER_OF_CORES == 1 )
- #ifndef traceRETURN_xTaskGetIdleTaskHandle
- #define traceRETURN_xTaskGetIdleTaskHandle( xIdleTaskHandle )
- #endif
- #endif
- #ifndef traceENTER_xTaskGetIdleTaskHandleForCore
- #define traceENTER_xTaskGetIdleTaskHandleForCore( xCoreID )
- #endif
- #ifndef traceRETURN_xTaskGetIdleTaskHandleForCore
- #define traceRETURN_xTaskGetIdleTaskHandleForCore( xIdleTaskHandle )
- #endif
- #ifndef traceENTER_vTaskStepTick
- #define traceENTER_vTaskStepTick( xTicksToJump )
- #endif
- #ifndef traceRETURN_vTaskStepTick
- #define traceRETURN_vTaskStepTick()
- #endif
- #ifndef traceENTER_xTaskCatchUpTicks
- #define traceENTER_xTaskCatchUpTicks( xTicksToCatchUp )
- #endif
- #ifndef traceRETURN_xTaskCatchUpTicks
- #define traceRETURN_xTaskCatchUpTicks( xYieldOccurred )
- #endif
- #ifndef traceENTER_xTaskAbortDelay
- #define traceENTER_xTaskAbortDelay( xTask )
- #endif
- #ifndef traceRETURN_xTaskAbortDelay
- #define traceRETURN_xTaskAbortDelay( xReturn )
- #endif
- #ifndef traceENTER_xTaskIncrementTick
- #define traceENTER_xTaskIncrementTick()
- #endif
- #ifndef traceRETURN_xTaskIncrementTick
- #define traceRETURN_xTaskIncrementTick( xSwitchRequired )
- #endif
- #ifndef traceENTER_vTaskSetApplicationTaskTag
- #define traceENTER_vTaskSetApplicationTaskTag( xTask, pxHookFunction )
- #endif
- #ifndef traceRETURN_vTaskSetApplicationTaskTag
- #define traceRETURN_vTaskSetApplicationTaskTag()
- #endif
- #ifndef traceENTER_xTaskGetApplicationTaskTag
- #define traceENTER_xTaskGetApplicationTaskTag( xTask )
- #endif
- #ifndef traceRETURN_xTaskGetApplicationTaskTag
- #define traceRETURN_xTaskGetApplicationTaskTag( xReturn )
- #endif
- #ifndef traceENTER_xTaskGetApplicationTaskTagFromISR
- #define traceENTER_xTaskGetApplicationTaskTagFromISR( xTask )
- #endif
- #ifndef traceRETURN_xTaskGetApplicationTaskTagFromISR
- #define traceRETURN_xTaskGetApplicationTaskTagFromISR( xReturn )
- #endif
- #ifndef traceENTER_xTaskCallApplicationTaskHook
- #define traceENTER_xTaskCallApplicationTaskHook( xTask, pvParameter )
- #endif
- #ifndef traceRETURN_xTaskCallApplicationTaskHook
- #define traceRETURN_xTaskCallApplicationTaskHook( xReturn )
- #endif
- #ifndef traceENTER_vTaskSwitchContext
- #define traceENTER_vTaskSwitchContext()
- #endif
- #ifndef traceRETURN_vTaskSwitchContext
- #define traceRETURN_vTaskSwitchContext()
- #endif
- #ifndef traceENTER_vTaskPlaceOnEventList
- #define traceENTER_vTaskPlaceOnEventList( pxEventList, xTicksToWait )
- #endif
- #ifndef traceRETURN_vTaskPlaceOnEventList
- #define traceRETURN_vTaskPlaceOnEventList()
- #endif
- #ifndef traceENTER_vTaskPlaceOnUnorderedEventList
- #define traceENTER_vTaskPlaceOnUnorderedEventList( pxEventList, xItemValue, xTicksToWait )
- #endif
- #ifndef traceRETURN_vTaskPlaceOnUnorderedEventList
- #define traceRETURN_vTaskPlaceOnUnorderedEventList()
- #endif
- #ifndef traceENTER_vTaskPlaceOnEventListRestricted
- #define traceENTER_vTaskPlaceOnEventListRestricted( pxEventList, xTicksToWait, xWaitIndefinitely )
- #endif
- #ifndef traceRETURN_vTaskPlaceOnEventListRestricted
- #define traceRETURN_vTaskPlaceOnEventListRestricted()
- #endif
- #ifndef traceENTER_xTaskRemoveFromEventList
- #define traceENTER_xTaskRemoveFromEventList( pxEventList )
- #endif
- #ifndef traceRETURN_xTaskRemoveFromEventList
- #define traceRETURN_xTaskRemoveFromEventList( xReturn )
- #endif
- #ifndef traceENTER_vTaskRemoveFromUnorderedEventList
- #define traceENTER_vTaskRemoveFromUnorderedEventList( pxEventListItem, xItemValue )
- #endif
- #ifndef traceRETURN_vTaskRemoveFromUnorderedEventList
- #define traceRETURN_vTaskRemoveFromUnorderedEventList()
- #endif
- #ifndef traceENTER_vTaskSetTimeOutState
- #define traceENTER_vTaskSetTimeOutState( pxTimeOut )
- #endif
- #ifndef traceRETURN_vTaskSetTimeOutState
- #define traceRETURN_vTaskSetTimeOutState()
- #endif
- #ifndef traceENTER_vTaskInternalSetTimeOutState
- #define traceENTER_vTaskInternalSetTimeOutState( pxTimeOut )
- #endif
- #ifndef traceRETURN_vTaskInternalSetTimeOutState
- #define traceRETURN_vTaskInternalSetTimeOutState()
- #endif
- #ifndef traceENTER_xTaskCheckForTimeOut
- #define traceENTER_xTaskCheckForTimeOut( pxTimeOut, pxTicksToWait )
- #endif
- #ifndef traceRETURN_xTaskCheckForTimeOut
- #define traceRETURN_xTaskCheckForTimeOut( xReturn )
- #endif
- #ifndef traceENTER_vTaskMissedYield
- #define traceENTER_vTaskMissedYield()
- #endif
- #ifndef traceRETURN_vTaskMissedYield
- #define traceRETURN_vTaskMissedYield()
- #endif
- #ifndef traceENTER_uxTaskGetTaskNumber
- #define traceENTER_uxTaskGetTaskNumber( xTask )
- #endif
- #ifndef traceRETURN_uxTaskGetTaskNumber
- #define traceRETURN_uxTaskGetTaskNumber( uxReturn )
- #endif
- #ifndef traceENTER_vTaskSetTaskNumber
- #define traceENTER_vTaskSetTaskNumber( xTask, uxHandle )
- #endif
- #ifndef traceRETURN_vTaskSetTaskNumber
- #define traceRETURN_vTaskSetTaskNumber()
- #endif
- #ifndef traceENTER_eTaskConfirmSleepModeStatus
- #define traceENTER_eTaskConfirmSleepModeStatus()
- #endif
- #ifndef traceRETURN_eTaskConfirmSleepModeStatus
- #define traceRETURN_eTaskConfirmSleepModeStatus( eReturn )
- #endif
- #ifndef traceENTER_vTaskSetThreadLocalStoragePointer
- #define traceENTER_vTaskSetThreadLocalStoragePointer( xTaskToSet, xIndex, pvValue )
- #endif
- #ifndef traceRETURN_vTaskSetThreadLocalStoragePointer
- #define traceRETURN_vTaskSetThreadLocalStoragePointer()
- #endif
- #ifndef traceENTER_pvTaskGetThreadLocalStoragePointer
- #define traceENTER_pvTaskGetThreadLocalStoragePointer( xTaskToQuery, xIndex )
- #endif
- #ifndef traceRETURN_pvTaskGetThreadLocalStoragePointer
- #define traceRETURN_pvTaskGetThreadLocalStoragePointer( pvReturn )
- #endif
- #ifndef traceENTER_vTaskAllocateMPURegions
- #define traceENTER_vTaskAllocateMPURegions( xTaskToModify, pxRegions )
- #endif
- #ifndef traceRETURN_vTaskAllocateMPURegions
- #define traceRETURN_vTaskAllocateMPURegions()
- #endif
- #ifndef traceENTER_vTaskGetInfo
- #define traceENTER_vTaskGetInfo( xTask, pxTaskStatus, xGetFreeStackSpace, eState )
- #endif
- #ifndef traceRETURN_vTaskGetInfo
- #define traceRETURN_vTaskGetInfo()
- #endif
- #ifndef traceENTER_uxTaskGetStackHighWaterMark2
- #define traceENTER_uxTaskGetStackHighWaterMark2( xTask )
- #endif
- #ifndef traceRETURN_uxTaskGetStackHighWaterMark2
- #define traceRETURN_uxTaskGetStackHighWaterMark2( uxReturn )
- #endif
- #ifndef traceENTER_uxTaskGetStackHighWaterMark
- #define traceENTER_uxTaskGetStackHighWaterMark( xTask )
- #endif
- #ifndef traceRETURN_uxTaskGetStackHighWaterMark
- #define traceRETURN_uxTaskGetStackHighWaterMark( uxReturn )
- #endif
- #ifndef traceENTER_xTaskGetCurrentTaskHandle
- #define traceENTER_xTaskGetCurrentTaskHandle()
- #endif
- #ifndef traceRETURN_xTaskGetCurrentTaskHandle
- #define traceRETURN_xTaskGetCurrentTaskHandle( xReturn )
- #endif
- #ifndef traceENTER_xTaskGetCurrentTaskHandleForCore
- #define traceENTER_xTaskGetCurrentTaskHandleForCore( xCoreID )
- #endif
- #ifndef traceRETURN_xTaskGetCurrentTaskHandleForCore
- #define traceRETURN_xTaskGetCurrentTaskHandleForCore( xReturn )
- #endif
- #ifndef traceENTER_xTaskGetSchedulerState
- #define traceENTER_xTaskGetSchedulerState()
- #endif
- #ifndef traceRETURN_xTaskGetSchedulerState
- #define traceRETURN_xTaskGetSchedulerState( xReturn )
- #endif
- #ifndef traceENTER_xTaskPriorityInherit
- #define traceENTER_xTaskPriorityInherit( pxMutexHolder )
- #endif
- #ifndef traceRETURN_xTaskPriorityInherit
- #define traceRETURN_xTaskPriorityInherit( xReturn )
- #endif
- #ifndef traceENTER_xTaskPriorityDisinherit
- #define traceENTER_xTaskPriorityDisinherit( pxMutexHolder )
- #endif
- #ifndef traceRETURN_xTaskPriorityDisinherit
- #define traceRETURN_xTaskPriorityDisinherit( xReturn )
- #endif
- #ifndef traceENTER_vTaskPriorityDisinheritAfterTimeout
- #define traceENTER_vTaskPriorityDisinheritAfterTimeout( pxMutexHolder, uxHighestPriorityWaitingTask )
- #endif
- #ifndef traceRETURN_vTaskPriorityDisinheritAfterTimeout
- #define traceRETURN_vTaskPriorityDisinheritAfterTimeout()
- #endif
- #ifndef traceENTER_vTaskYieldWithinAPI
- #define traceENTER_vTaskYieldWithinAPI()
- #endif
- #ifndef traceRETURN_vTaskYieldWithinAPI
- #define traceRETURN_vTaskYieldWithinAPI()
- #endif
- #ifndef traceENTER_vTaskEnterCritical
- #define traceENTER_vTaskEnterCritical()
- #endif
- #ifndef traceRETURN_vTaskEnterCritical
- #define traceRETURN_vTaskEnterCritical()
- #endif
- #ifndef traceENTER_vTaskEnterCriticalFromISR
- #define traceENTER_vTaskEnterCriticalFromISR()
- #endif
- #ifndef traceRETURN_vTaskEnterCriticalFromISR
- #define traceRETURN_vTaskEnterCriticalFromISR( uxSavedInterruptStatus )
- #endif
- #ifndef traceENTER_vTaskExitCritical
- #define traceENTER_vTaskExitCritical()
- #endif
- #ifndef traceRETURN_vTaskExitCritical
- #define traceRETURN_vTaskExitCritical()
- #endif
- #ifndef traceENTER_vTaskExitCriticalFromISR
- #define traceENTER_vTaskExitCriticalFromISR( uxSavedInterruptStatus )
- #endif
- #ifndef traceRETURN_vTaskExitCriticalFromISR
- #define traceRETURN_vTaskExitCriticalFromISR()
- #endif
- #ifndef traceENTER_vTaskListTasks
- #define traceENTER_vTaskListTasks( pcWriteBuffer, uxBufferLength )
- #endif
- #ifndef traceRETURN_vTaskListTasks
- #define traceRETURN_vTaskListTasks()
- #endif
- #ifndef traceENTER_vTaskGetRunTimeStatistics
- #define traceENTER_vTaskGetRunTimeStatistics( pcWriteBuffer, uxBufferLength )
- #endif
- #ifndef traceRETURN_vTaskGetRunTimeStatistics
- #define traceRETURN_vTaskGetRunTimeStatistics()
- #endif
- #ifndef traceENTER_uxTaskResetEventItemValue
- #define traceENTER_uxTaskResetEventItemValue()
- #endif
- #ifndef traceRETURN_uxTaskResetEventItemValue
- #define traceRETURN_uxTaskResetEventItemValue( uxReturn )
- #endif
- #ifndef traceENTER_pvTaskIncrementMutexHeldCount
- #define traceENTER_pvTaskIncrementMutexHeldCount()
- #endif
- #ifndef traceRETURN_pvTaskIncrementMutexHeldCount
- #define traceRETURN_pvTaskIncrementMutexHeldCount( pxTCB )
- #endif
- #ifndef traceENTER_ulTaskGenericNotifyTake
- #define traceENTER_ulTaskGenericNotifyTake( uxIndexToWaitOn, xClearCountOnExit, xTicksToWait )
- #endif
- #ifndef traceRETURN_ulTaskGenericNotifyTake
- #define traceRETURN_ulTaskGenericNotifyTake( ulReturn )
- #endif
- #ifndef traceENTER_xTaskGenericNotifyWait
- #define traceENTER_xTaskGenericNotifyWait( uxIndexToWaitOn, ulBitsToClearOnEntry, ulBitsToClearOnExit, pulNotificationValue, xTicksToWait )
- #endif
- #ifndef traceRETURN_xTaskGenericNotifyWait
- #define traceRETURN_xTaskGenericNotifyWait( xReturn )
- #endif
- #ifndef traceENTER_xTaskGenericNotify
- #define traceENTER_xTaskGenericNotify( xTaskToNotify, uxIndexToNotify, ulValue, eAction, pulPreviousNotificationValue )
- #endif
- #ifndef traceRETURN_xTaskGenericNotify
- #define traceRETURN_xTaskGenericNotify( xReturn )
- #endif
- #ifndef traceENTER_xTaskGenericNotifyFromISR
- #define traceENTER_xTaskGenericNotifyFromISR( xTaskToNotify, uxIndexToNotify, ulValue, eAction, pulPreviousNotificationValue, pxHigherPriorityTaskWoken )
- #endif
- #ifndef traceRETURN_xTaskGenericNotifyFromISR
- #define traceRETURN_xTaskGenericNotifyFromISR( xReturn )
- #endif
- #ifndef traceENTER_vTaskGenericNotifyGiveFromISR
- #define traceENTER_vTaskGenericNotifyGiveFromISR( xTaskToNotify, uxIndexToNotify, pxHigherPriorityTaskWoken )
- #endif
- #ifndef traceRETURN_vTaskGenericNotifyGiveFromISR
- #define traceRETURN_vTaskGenericNotifyGiveFromISR()
- #endif
- #ifndef traceENTER_xTaskGenericNotifyStateClear
- #define traceENTER_xTaskGenericNotifyStateClear( xTask, uxIndexToClear )
- #endif
- #ifndef traceRETURN_xTaskGenericNotifyStateClear
- #define traceRETURN_xTaskGenericNotifyStateClear( xReturn )
- #endif
- #ifndef traceENTER_ulTaskGenericNotifyValueClear
- #define traceENTER_ulTaskGenericNotifyValueClear( xTask, uxIndexToClear, ulBitsToClear )
- #endif
- #ifndef traceRETURN_ulTaskGenericNotifyValueClear
- #define traceRETURN_ulTaskGenericNotifyValueClear( ulReturn )
- #endif
- #ifndef traceENTER_ulTaskGetRunTimeCounter
- #define traceENTER_ulTaskGetRunTimeCounter( xTask )
- #endif
- #ifndef traceRETURN_ulTaskGetRunTimeCounter
- #define traceRETURN_ulTaskGetRunTimeCounter( ulRunTimeCounter )
- #endif
- #ifndef traceENTER_ulTaskGetRunTimePercent
- #define traceENTER_ulTaskGetRunTimePercent( xTask )
- #endif
- #ifndef traceRETURN_ulTaskGetRunTimePercent
- #define traceRETURN_ulTaskGetRunTimePercent( ulReturn )
- #endif
- #ifndef traceENTER_ulTaskGetIdleRunTimeCounter
- #define traceENTER_ulTaskGetIdleRunTimeCounter()
- #endif
- #ifndef traceRETURN_ulTaskGetIdleRunTimeCounter
- #define traceRETURN_ulTaskGetIdleRunTimeCounter( ulReturn )
- #endif
- #ifndef traceENTER_ulTaskGetIdleRunTimePercent
- #define traceENTER_ulTaskGetIdleRunTimePercent()
- #endif
- #ifndef traceRETURN_ulTaskGetIdleRunTimePercent
- #define traceRETURN_ulTaskGetIdleRunTimePercent( ulReturn )
- #endif
- #ifndef traceENTER_xTaskGetMPUSettings
- #define traceENTER_xTaskGetMPUSettings( xTask )
- #endif
- #ifndef traceRETURN_xTaskGetMPUSettings
- #define traceRETURN_xTaskGetMPUSettings( xMPUSettings )
- #endif
- #ifndef traceENTER_xStreamBufferGenericCreate
- #define traceENTER_xStreamBufferGenericCreate( xBufferSizeBytes, xTriggerLevelBytes, xStreamBufferType, pxSendCompletedCallback, pxReceiveCompletedCallback )
- #endif
- #ifndef traceRETURN_xStreamBufferGenericCreate
- #define traceRETURN_xStreamBufferGenericCreate( pvAllocatedMemory )
- #endif
- #ifndef traceENTER_xStreamBufferGenericCreateStatic
- #define traceENTER_xStreamBufferGenericCreateStatic( xBufferSizeBytes, xTriggerLevelBytes, xStreamBufferType, pucStreamBufferStorageArea, pxStaticStreamBuffer, pxSendCompletedCallback, pxReceiveCompletedCallback )
- #endif
- #ifndef traceRETURN_xStreamBufferGenericCreateStatic
- #define traceRETURN_xStreamBufferGenericCreateStatic( xReturn )
- #endif
- #ifndef traceENTER_xStreamBufferGetStaticBuffers
- #define traceENTER_xStreamBufferGetStaticBuffers( xStreamBuffer, ppucStreamBufferStorageArea, ppxStaticStreamBuffer )
- #endif
- #ifndef traceRETURN_xStreamBufferGetStaticBuffers
- #define traceRETURN_xStreamBufferGetStaticBuffers( xReturn )
- #endif
- #ifndef traceENTER_vStreamBufferDelete
- #define traceENTER_vStreamBufferDelete( xStreamBuffer )
- #endif
- #ifndef traceRETURN_vStreamBufferDelete
- #define traceRETURN_vStreamBufferDelete()
- #endif
- #ifndef traceENTER_xStreamBufferReset
- #define traceENTER_xStreamBufferReset( xStreamBuffer )
- #endif
- #ifndef traceRETURN_xStreamBufferReset
- #define traceRETURN_xStreamBufferReset( xReturn )
- #endif
- #ifndef traceENTER_xStreamBufferResetFromISR
- #define traceENTER_xStreamBufferResetFromISR( xStreamBuffer )
- #endif
- #ifndef traceRETURN_xStreamBufferResetFromISR
- #define traceRETURN_xStreamBufferResetFromISR( xReturn )
- #endif
- #ifndef traceENTER_xStreamBufferSetTriggerLevel
- #define traceENTER_xStreamBufferSetTriggerLevel( xStreamBuffer, xTriggerLevel )
- #endif
- #ifndef traceRETURN_xStreamBufferSetTriggerLevel
- #define traceRETURN_xStreamBufferSetTriggerLevel( xReturn )
- #endif
- #ifndef traceENTER_xStreamBufferSpacesAvailable
- #define traceENTER_xStreamBufferSpacesAvailable( xStreamBuffer )
- #endif
- #ifndef traceRETURN_xStreamBufferSpacesAvailable
- #define traceRETURN_xStreamBufferSpacesAvailable( xSpace )
- #endif
- #ifndef traceENTER_xStreamBufferBytesAvailable
- #define traceENTER_xStreamBufferBytesAvailable( xStreamBuffer )
- #endif
- #ifndef traceRETURN_xStreamBufferBytesAvailable
- #define traceRETURN_xStreamBufferBytesAvailable( xReturn )
- #endif
- #ifndef traceENTER_xStreamBufferSend
- #define traceENTER_xStreamBufferSend( xStreamBuffer, pvTxData, xDataLengthBytes, xTicksToWait )
- #endif
- #ifndef traceRETURN_xStreamBufferSend
- #define traceRETURN_xStreamBufferSend( xReturn )
- #endif
- #ifndef traceENTER_xStreamBufferSendFromISR
- #define traceENTER_xStreamBufferSendFromISR( xStreamBuffer, pvTxData, xDataLengthBytes, pxHigherPriorityTaskWoken )
- #endif
- #ifndef traceRETURN_xStreamBufferSendFromISR
- #define traceRETURN_xStreamBufferSendFromISR( xReturn )
- #endif
- #ifndef traceENTER_xStreamBufferReceive
- #define traceENTER_xStreamBufferReceive( xStreamBuffer, pvRxData, xBufferLengthBytes, xTicksToWait )
- #endif
- #ifndef traceRETURN_xStreamBufferReceive
- #define traceRETURN_xStreamBufferReceive( xReceivedLength )
- #endif
- #ifndef traceENTER_xStreamBufferNextMessageLengthBytes
- #define traceENTER_xStreamBufferNextMessageLengthBytes( xStreamBuffer )
- #endif
- #ifndef traceRETURN_xStreamBufferNextMessageLengthBytes
- #define traceRETURN_xStreamBufferNextMessageLengthBytes( xReturn )
- #endif
- #ifndef traceENTER_xStreamBufferReceiveFromISR
- #define traceENTER_xStreamBufferReceiveFromISR( xStreamBuffer, pvRxData, xBufferLengthBytes, pxHigherPriorityTaskWoken )
- #endif
- #ifndef traceRETURN_xStreamBufferReceiveFromISR
- #define traceRETURN_xStreamBufferReceiveFromISR( xReceivedLength )
- #endif
- #ifndef traceENTER_xStreamBufferIsEmpty
- #define traceENTER_xStreamBufferIsEmpty( xStreamBuffer )
- #endif
- #ifndef traceRETURN_xStreamBufferIsEmpty
- #define traceRETURN_xStreamBufferIsEmpty( xReturn )
- #endif
- #ifndef traceENTER_xStreamBufferIsFull
- #define traceENTER_xStreamBufferIsFull( xStreamBuffer )
- #endif
- #ifndef traceRETURN_xStreamBufferIsFull
- #define traceRETURN_xStreamBufferIsFull( xReturn )
- #endif
- #ifndef traceENTER_xStreamBufferSendCompletedFromISR
- #define traceENTER_xStreamBufferSendCompletedFromISR( xStreamBuffer, pxHigherPriorityTaskWoken )
- #endif
- #ifndef traceRETURN_xStreamBufferSendCompletedFromISR
- #define traceRETURN_xStreamBufferSendCompletedFromISR( xReturn )
- #endif
- #ifndef traceENTER_xStreamBufferReceiveCompletedFromISR
- #define traceENTER_xStreamBufferReceiveCompletedFromISR( xStreamBuffer, pxHigherPriorityTaskWoken )
- #endif
- #ifndef traceRETURN_xStreamBufferReceiveCompletedFromISR
- #define traceRETURN_xStreamBufferReceiveCompletedFromISR( xReturn )
- #endif
- #ifndef traceENTER_uxStreamBufferGetStreamBufferNotificationIndex
- #define traceENTER_uxStreamBufferGetStreamBufferNotificationIndex( xStreamBuffer )
- #endif
- #ifndef traceRETURN_uxStreamBufferGetStreamBufferNotificationIndex
- #define traceRETURN_uxStreamBufferGetStreamBufferNotificationIndex( uxNotificationIndex )
- #endif
- #ifndef traceENTER_vStreamBufferSetStreamBufferNotificationIndex
- #define traceENTER_vStreamBufferSetStreamBufferNotificationIndex( xStreamBuffer, uxNotificationIndex )
- #endif
- #ifndef traceRETURN_vStreamBufferSetStreamBufferNotificationIndex
- #define traceRETURN_vStreamBufferSetStreamBufferNotificationIndex()
- #endif
- #ifndef traceENTER_uxStreamBufferGetStreamBufferNumber
- #define traceENTER_uxStreamBufferGetStreamBufferNumber( xStreamBuffer )
- #endif
- #ifndef traceRETURN_uxStreamBufferGetStreamBufferNumber
- #define traceRETURN_uxStreamBufferGetStreamBufferNumber( uxStreamBufferNumber )
- #endif
- #ifndef traceENTER_vStreamBufferSetStreamBufferNumber
- #define traceENTER_vStreamBufferSetStreamBufferNumber( xStreamBuffer, uxStreamBufferNumber )
- #endif
- #ifndef traceRETURN_vStreamBufferSetStreamBufferNumber
- #define traceRETURN_vStreamBufferSetStreamBufferNumber()
- #endif
- #ifndef traceENTER_ucStreamBufferGetStreamBufferType
- #define traceENTER_ucStreamBufferGetStreamBufferType( xStreamBuffer )
- #endif
- #ifndef traceRETURN_ucStreamBufferGetStreamBufferType
- #define traceRETURN_ucStreamBufferGetStreamBufferType( ucStreamBufferType )
- #endif
- #ifndef traceENTER_vListInitialise
- #define traceENTER_vListInitialise( pxList )
- #endif
- #ifndef traceRETURN_vListInitialise
- #define traceRETURN_vListInitialise()
- #endif
- #ifndef traceENTER_vListInitialiseItem
- #define traceENTER_vListInitialiseItem( pxItem )
- #endif
- #ifndef traceRETURN_vListInitialiseItem
- #define traceRETURN_vListInitialiseItem()
- #endif
- #ifndef traceENTER_vListInsertEnd
- #define traceENTER_vListInsertEnd( pxList, pxNewListItem )
- #endif
- #ifndef traceRETURN_vListInsertEnd
- #define traceRETURN_vListInsertEnd()
- #endif
- #ifndef traceENTER_vListInsert
- #define traceENTER_vListInsert( pxList, pxNewListItem )
- #endif
- #ifndef traceRETURN_vListInsert
- #define traceRETURN_vListInsert()
- #endif
- #ifndef traceENTER_uxListRemove
- #define traceENTER_uxListRemove( pxItemToRemove )
- #endif
- #ifndef traceRETURN_uxListRemove
- #define traceRETURN_uxListRemove( uxNumberOfItems )
- #endif
- #ifndef traceENTER_xCoRoutineCreate
- #define traceENTER_xCoRoutineCreate( pxCoRoutineCode, uxPriority, uxIndex )
- #endif
- #ifndef traceRETURN_xCoRoutineCreate
- #define traceRETURN_xCoRoutineCreate( xReturn )
- #endif
- #ifndef traceENTER_vCoRoutineAddToDelayedList
- #define traceENTER_vCoRoutineAddToDelayedList( xTicksToDelay, pxEventList )
- #endif
- #ifndef traceRETURN_vCoRoutineAddToDelayedList
- #define traceRETURN_vCoRoutineAddToDelayedList()
- #endif
- #ifndef traceENTER_vCoRoutineSchedule
- #define traceENTER_vCoRoutineSchedule()
- #endif
- #ifndef traceRETURN_vCoRoutineSchedule
- #define traceRETURN_vCoRoutineSchedule()
- #endif
- #ifndef traceENTER_xCoRoutineRemoveFromEventList
- #define traceENTER_xCoRoutineRemoveFromEventList( pxEventList )
- #endif
- #ifndef traceRETURN_xCoRoutineRemoveFromEventList
- #define traceRETURN_xCoRoutineRemoveFromEventList( xReturn )
- #endif
- #ifndef configGENERATE_RUN_TIME_STATS
- #define configGENERATE_RUN_TIME_STATS 0
- #endif
- #if ( configGENERATE_RUN_TIME_STATS == 1 )
- #ifndef portCONFIGURE_TIMER_FOR_RUN_TIME_STATS
- #error If configGENERATE_RUN_TIME_STATS is defined then portCONFIGURE_TIMER_FOR_RUN_TIME_STATS must also be defined. portCONFIGURE_TIMER_FOR_RUN_TIME_STATS should call a port layer function to setup a peripheral timer/counter that can then be used as the run time counter time base.
- #endif /* portCONFIGURE_TIMER_FOR_RUN_TIME_STATS */
- #ifndef portGET_RUN_TIME_COUNTER_VALUE
- #ifndef portALT_GET_RUN_TIME_COUNTER_VALUE
- #error If configGENERATE_RUN_TIME_STATS is defined then either portGET_RUN_TIME_COUNTER_VALUE or portALT_GET_RUN_TIME_COUNTER_VALUE must also be defined. See the examples provided and the FreeRTOS web site for more information.
- #endif /* portALT_GET_RUN_TIME_COUNTER_VALUE */
- #endif /* portGET_RUN_TIME_COUNTER_VALUE */
- #endif /* configGENERATE_RUN_TIME_STATS */
- #ifndef portCONFIGURE_TIMER_FOR_RUN_TIME_STATS
- #define portCONFIGURE_TIMER_FOR_RUN_TIME_STATS()
- #endif
- #ifndef portPRIVILEGE_BIT
- #define portPRIVILEGE_BIT ( ( UBaseType_t ) 0x00 )
- #endif
- #ifndef portYIELD_WITHIN_API
- #define portYIELD_WITHIN_API portYIELD
- #endif
- #ifndef portSUPPRESS_TICKS_AND_SLEEP
- #define portSUPPRESS_TICKS_AND_SLEEP( xExpectedIdleTime )
- #endif
- #ifndef configEXPECTED_IDLE_TIME_BEFORE_SLEEP
- #define configEXPECTED_IDLE_TIME_BEFORE_SLEEP 2
- #endif
- #if configEXPECTED_IDLE_TIME_BEFORE_SLEEP < 2
- #error configEXPECTED_IDLE_TIME_BEFORE_SLEEP must not be less than 2
- #endif
- #ifndef configUSE_TICKLESS_IDLE
- #define configUSE_TICKLESS_IDLE 0
- #endif
- #ifndef configPRE_SUPPRESS_TICKS_AND_SLEEP_PROCESSING
- #define configPRE_SUPPRESS_TICKS_AND_SLEEP_PROCESSING( x )
- #endif
- #ifndef configPRE_SLEEP_PROCESSING
- #define configPRE_SLEEP_PROCESSING( x )
- #endif
- #ifndef configPOST_SLEEP_PROCESSING
- #define configPOST_SLEEP_PROCESSING( x )
- #endif
- #ifndef configUSE_QUEUE_SETS
- #define configUSE_QUEUE_SETS 0
- #endif
- #ifndef portTASK_USES_FLOATING_POINT
- #define portTASK_USES_FLOATING_POINT()
- #endif
- #ifndef portALLOCATE_SECURE_CONTEXT
- #define portALLOCATE_SECURE_CONTEXT( ulSecureStackSize )
- #endif
- #ifndef portDONT_DISCARD
- #define portDONT_DISCARD
- #endif
- #ifndef configUSE_TIME_SLICING
- #define configUSE_TIME_SLICING 1
- #endif
- #ifndef configINCLUDE_APPLICATION_DEFINED_PRIVILEGED_FUNCTIONS
- #define configINCLUDE_APPLICATION_DEFINED_PRIVILEGED_FUNCTIONS 0
- #endif
- #ifndef configUSE_STATS_FORMATTING_FUNCTIONS
- #define configUSE_STATS_FORMATTING_FUNCTIONS 0
- #endif
- #ifndef portASSERT_IF_INTERRUPT_PRIORITY_INVALID
- #define portASSERT_IF_INTERRUPT_PRIORITY_INVALID()
- #endif
- #ifndef configUSE_TRACE_FACILITY
- #define configUSE_TRACE_FACILITY 0
- #endif
- #ifndef mtCOVERAGE_TEST_MARKER
- #define mtCOVERAGE_TEST_MARKER()
- #endif
- #ifndef mtCOVERAGE_TEST_DELAY
- #define mtCOVERAGE_TEST_DELAY()
- #endif
- #ifndef portASSERT_IF_IN_ISR
- #define portASSERT_IF_IN_ISR()
- #endif
- #ifndef configUSE_PORT_OPTIMISED_TASK_SELECTION
- #define configUSE_PORT_OPTIMISED_TASK_SELECTION 0
- #endif
- #ifndef configAPPLICATION_ALLOCATED_HEAP
- #define configAPPLICATION_ALLOCATED_HEAP 0
- #endif
- #ifndef configENABLE_HEAP_PROTECTOR
- #define configENABLE_HEAP_PROTECTOR 0
- #endif
- #ifndef configUSE_TASK_NOTIFICATIONS
- #define configUSE_TASK_NOTIFICATIONS 1
- #endif
- #ifndef configTASK_NOTIFICATION_ARRAY_ENTRIES
- #define configTASK_NOTIFICATION_ARRAY_ENTRIES 1
- #endif
- #if configTASK_NOTIFICATION_ARRAY_ENTRIES < 1
- #error configTASK_NOTIFICATION_ARRAY_ENTRIES must be at least 1
- #endif
- #ifndef configUSE_POSIX_ERRNO
- #define configUSE_POSIX_ERRNO 0
- #endif
- #ifndef configUSE_SB_COMPLETED_CALLBACK
- /* By default per-instance callbacks are not enabled for stream buffer or message buffer. */
- #define configUSE_SB_COMPLETED_CALLBACK 0
- #endif
- #ifndef portTICK_TYPE_IS_ATOMIC
- #define portTICK_TYPE_IS_ATOMIC 0
- #endif
- #ifndef configSUPPORT_STATIC_ALLOCATION
- /* Defaults to 0 for backward compatibility. */
- #define configSUPPORT_STATIC_ALLOCATION 0
- #endif
- #ifndef configKERNEL_PROVIDED_STATIC_MEMORY
- #define configKERNEL_PROVIDED_STATIC_MEMORY 0
- #endif
- #ifndef configSUPPORT_DYNAMIC_ALLOCATION
- /* Defaults to 1 for backward compatibility. */
- #define configSUPPORT_DYNAMIC_ALLOCATION 1
- #endif
- #if ( ( configUSE_STATS_FORMATTING_FUNCTIONS > 0 ) && ( configSUPPORT_DYNAMIC_ALLOCATION != 1 ) )
- #error configUSE_STATS_FORMATTING_FUNCTIONS cannot be used without dynamic allocation, but configSUPPORT_DYNAMIC_ALLOCATION is not set to 1.
- #endif
- #if ( configUSE_STATS_FORMATTING_FUNCTIONS > 0 )
- #if ( ( configUSE_TRACE_FACILITY != 1 ) && ( configGENERATE_RUN_TIME_STATS != 1 ) )
- #error configUSE_STATS_FORMATTING_FUNCTIONS is 1 but the functions it enables are not used because neither configUSE_TRACE_FACILITY or configGENERATE_RUN_TIME_STATS are 1. Set configUSE_STATS_FORMATTING_FUNCTIONS to 0 in FreeRTOSConfig.h.
- #endif
- #endif
- #ifndef configSTATS_BUFFER_MAX_LENGTH
- #define configSTATS_BUFFER_MAX_LENGTH 0xFFFF
- #endif
- #ifndef configSTACK_DEPTH_TYPE
- /* Defaults to StackType_t for backward compatibility, but can be overridden
- * in FreeRTOSConfig.h if StackType_t is too restrictive. */
- #define configSTACK_DEPTH_TYPE StackType_t
- #endif
- #ifndef configRUN_TIME_COUNTER_TYPE
- /* Defaults to uint32_t for backward compatibility, but can be overridden in
- * FreeRTOSConfig.h if uint32_t is too restrictive. */
- #define configRUN_TIME_COUNTER_TYPE uint32_t
- #endif
- #ifndef configMESSAGE_BUFFER_LENGTH_TYPE
- /* Defaults to size_t for backward compatibility, but can be overridden
- * in FreeRTOSConfig.h if lengths will always be less than the number of bytes
- * in a size_t. */
- #define configMESSAGE_BUFFER_LENGTH_TYPE size_t
- #endif
- /* Sanity check the configuration. */
- #if ( ( configSUPPORT_STATIC_ALLOCATION == 0 ) && ( configSUPPORT_DYNAMIC_ALLOCATION == 0 ) )
- #error configSUPPORT_STATIC_ALLOCATION and configSUPPORT_DYNAMIC_ALLOCATION cannot both be 0, but can both be 1.
- #endif
- #if ( ( configUSE_RECURSIVE_MUTEXES == 1 ) && ( configUSE_MUTEXES != 1 ) )
- #error configUSE_MUTEXES must be set to 1 to use recursive mutexes
- #endif
- #if ( ( configRUN_MULTIPLE_PRIORITIES == 0 ) && ( configUSE_TASK_PREEMPTION_DISABLE != 0 ) )
- #error configRUN_MULTIPLE_PRIORITIES must be set to 1 to use task preemption disable
- #endif
- #if ( ( configUSE_PREEMPTION == 0 ) && ( configUSE_TASK_PREEMPTION_DISABLE != 0 ) )
- #error configUSE_PREEMPTION must be set to 1 to use task preemption disable
- #endif
- #if ( ( configNUMBER_OF_CORES == 1 ) && ( configUSE_TASK_PREEMPTION_DISABLE != 0 ) )
- #error configUSE_TASK_PREEMPTION_DISABLE is not supported in single core FreeRTOS
- #endif
- #if ( ( configNUMBER_OF_CORES == 1 ) && ( configUSE_CORE_AFFINITY != 0 ) )
- #error configUSE_CORE_AFFINITY is not supported in single core FreeRTOS
- #endif
- #if ( ( configNUMBER_OF_CORES > 1 ) && ( configUSE_PORT_OPTIMISED_TASK_SELECTION != 0 ) )
- #error configUSE_PORT_OPTIMISED_TASK_SELECTION is not supported in SMP FreeRTOS
- #endif
- #ifndef configINITIAL_TICK_COUNT
- #define configINITIAL_TICK_COUNT 0
- #endif
- #if ( portTICK_TYPE_IS_ATOMIC == 0 )
- /* Either variables of tick type cannot be read atomically, or
- * portTICK_TYPE_IS_ATOMIC was not set - map the critical sections used when
- * the tick count is returned to the standard critical section macros. */
- #define portTICK_TYPE_ENTER_CRITICAL() portENTER_CRITICAL()
- #define portTICK_TYPE_EXIT_CRITICAL() portEXIT_CRITICAL()
- #define portTICK_TYPE_SET_INTERRUPT_MASK_FROM_ISR() portSET_INTERRUPT_MASK_FROM_ISR()
- #define portTICK_TYPE_CLEAR_INTERRUPT_MASK_FROM_ISR( x ) portCLEAR_INTERRUPT_MASK_FROM_ISR( ( x ) )
- #else
- /* The tick type can be read atomically, so critical sections used when the
- * tick count is returned can be defined away. */
- #define portTICK_TYPE_ENTER_CRITICAL()
- #define portTICK_TYPE_EXIT_CRITICAL()
- #define portTICK_TYPE_SET_INTERRUPT_MASK_FROM_ISR() 0
- #define portTICK_TYPE_CLEAR_INTERRUPT_MASK_FROM_ISR( x ) ( void ) ( x )
- #endif /* if ( portTICK_TYPE_IS_ATOMIC == 0 ) */
- /* Definitions to allow backward compatibility with FreeRTOS versions prior to
- * V8 if desired. */
- #ifndef configENABLE_BACKWARD_COMPATIBILITY
- #define configENABLE_BACKWARD_COMPATIBILITY 1
- #endif
- #ifndef configPRINTF
- /* configPRINTF() was not defined, so define it away to nothing. To use
- * configPRINTF() then define it as follows (where MyPrintFunction() is
- * provided by the application writer):
- *
- * void MyPrintFunction(const char *pcFormat, ... );
- #define configPRINTF( X ) MyPrintFunction X
- *
- * Then call like a standard printf() function, but placing brackets around
- * all parameters so they are passed as a single parameter. For example:
- * configPRINTF( ("Value = %d", MyVariable) ); */
- #define configPRINTF( X )
- #endif
- #ifndef configMAX
- /* The application writer has not provided their own MAX macro, so define
- * the following generic implementation. */
- #define configMAX( a, b ) ( ( ( a ) > ( b ) ) ? ( a ) : ( b ) )
- #endif
- #ifndef configMIN
- /* The application writer has not provided their own MIN macro, so define
- * the following generic implementation. */
- #define configMIN( a, b ) ( ( ( a ) < ( b ) ) ? ( a ) : ( b ) )
- #endif
- #if configENABLE_BACKWARD_COMPATIBILITY == 1
- #define eTaskStateGet eTaskGetState
- #define portTickType TickType_t
- #define xTaskHandle TaskHandle_t
- #define xQueueHandle QueueHandle_t
- #define xSemaphoreHandle SemaphoreHandle_t
- #define xQueueSetHandle QueueSetHandle_t
- #define xQueueSetMemberHandle QueueSetMemberHandle_t
- #define xTimeOutType TimeOut_t
- #define xMemoryRegion MemoryRegion_t
- #define xTaskParameters TaskParameters_t
- #define xTaskStatusType TaskStatus_t
- #define xTimerHandle TimerHandle_t
- #define xCoRoutineHandle CoRoutineHandle_t
- #define pdTASK_HOOK_CODE TaskHookFunction_t
- #define portTICK_RATE_MS portTICK_PERIOD_MS
- #define pcTaskGetTaskName pcTaskGetName
- #define pcTimerGetTimerName pcTimerGetName
- #define pcQueueGetQueueName pcQueueGetName
- #define vTaskGetTaskInfo vTaskGetInfo
- #define xTaskGetIdleRunTimeCounter ulTaskGetIdleRunTimeCounter
- /* Backward compatibility within the scheduler code only - these definitions
- * are not really required but are included for completeness. */
- #define tmrTIMER_CALLBACK TimerCallbackFunction_t
- #define pdTASK_CODE TaskFunction_t
- #define xListItem ListItem_t
- #define xList List_t
- /* For libraries that break the list data hiding, and access list structure
- * members directly (which is not supposed to be done). */
- #define pxContainer pvContainer
- #endif /* configENABLE_BACKWARD_COMPATIBILITY */
- #if ( configUSE_ALTERNATIVE_API != 0 )
- #error The alternative API was deprecated some time ago, and was removed in FreeRTOS V9.0 0
- #endif
- /* Set configUSE_TASK_FPU_SUPPORT to 0 to omit floating point support even
- * if floating point hardware is otherwise supported by the FreeRTOS port in use.
- * This constant is not supported by all FreeRTOS ports that include floating
- * point support. */
- #ifndef configUSE_TASK_FPU_SUPPORT
- #define configUSE_TASK_FPU_SUPPORT 1
- #endif
- /* Set configENABLE_MPU to 1 to enable MPU support and 0 to disable it. This is
- * currently used in ARMv8M ports. */
- #ifndef configENABLE_MPU
- #define configENABLE_MPU 0
- #endif
- /* Set configENABLE_FPU to 1 to enable FPU support and 0 to disable it. This is
- * currently used in ARMv8M ports. */
- #ifndef configENABLE_FPU
- #define configENABLE_FPU 1
- #endif
- /* Set configENABLE_MVE to 1 to enable MVE support and 0 to disable it. This is
- * currently used in ARMv8M ports. */
- #ifndef configENABLE_MVE
- #define configENABLE_MVE 0
- #endif
- /* Set configENABLE_TRUSTZONE to 1 enable TrustZone support and 0 to disable it.
- * This is currently used in ARMv8M ports. */
- #ifndef configENABLE_TRUSTZONE
- #define configENABLE_TRUSTZONE 1
- #endif
- /* Set configRUN_FREERTOS_SECURE_ONLY to 1 to run the FreeRTOS ARMv8M port on
- * the Secure Side only. */
- #ifndef configRUN_FREERTOS_SECURE_ONLY
- #define configRUN_FREERTOS_SECURE_ONLY 0
- #endif
- #ifndef configRUN_ADDITIONAL_TESTS
- #define configRUN_ADDITIONAL_TESTS 0
- #endif
- /* The following config allows infinite loop control. For example, control the
- * infinite loop in idle task function when performing unit tests. */
- #ifndef configCONTROL_INFINITE_LOOP
- #define configCONTROL_INFINITE_LOOP()
- #endif
- /* Sometimes the FreeRTOSConfig.h settings only allow a task to be created using
- * dynamically allocated RAM, in which case when any task is deleted it is known
- * that both the task's stack and TCB need to be freed. Sometimes the
- * FreeRTOSConfig.h settings only allow a task to be created using statically
- * allocated RAM, in which case when any task is deleted it is known that neither
- * the task's stack or TCB should be freed. Sometimes the FreeRTOSConfig.h
- * settings allow a task to be created using either statically or dynamically
- * allocated RAM, in which case a member of the TCB is used to record whether the
- * stack and/or TCB were allocated statically or dynamically, so when a task is
- * deleted the RAM that was allocated dynamically is freed again and no attempt is
- * made to free the RAM that was allocated statically.
- * tskSTATIC_AND_DYNAMIC_ALLOCATION_POSSIBLE is only true if it is possible for a
- * task to be created using either statically or dynamically allocated RAM. Note
- * that if portUSING_MPU_WRAPPERS is 1 then a protected task can be created with
- * a statically allocated stack and a dynamically allocated TCB.
- *
- * The following table lists various combinations of portUSING_MPU_WRAPPERS,
- * configSUPPORT_DYNAMIC_ALLOCATION and configSUPPORT_STATIC_ALLOCATION and
- * when it is possible to have both static and dynamic allocation:
- * +-----+---------+--------+-----------------------------+-----------------------------------+------------------+-----------+
- * | MPU | Dynamic | Static | Available Functions | Possible Allocations | Both Dynamic and | Need Free |
- * | | | | | | Static Possible | |
- * +-----+---------+--------+-----------------------------+-----------------------------------+------------------+-----------+
- * | 0 | 0 | 1 | xTaskCreateStatic | TCB - Static, Stack - Static | No | No |
- * +-----|---------|--------|-----------------------------|-----------------------------------|------------------|-----------|
- * | 0 | 1 | 0 | xTaskCreate | TCB - Dynamic, Stack - Dynamic | No | Yes |
- * +-----|---------|--------|-----------------------------|-----------------------------------|------------------|-----------|
- * | 0 | 1 | 1 | xTaskCreate, | 1. TCB - Dynamic, Stack - Dynamic | Yes | Yes |
- * | | | | xTaskCreateStatic | 2. TCB - Static, Stack - Static | | |
- * +-----|---------|--------|-----------------------------|-----------------------------------|------------------|-----------|
- * | 1 | 0 | 1 | xTaskCreateStatic, | TCB - Static, Stack - Static | No | No |
- * | | | | xTaskCreateRestrictedStatic | | | |
- * +-----|---------|--------|-----------------------------|-----------------------------------|------------------|-----------|
- * | 1 | 1 | 0 | xTaskCreate, | 1. TCB - Dynamic, Stack - Dynamic | Yes | Yes |
- * | | | | xTaskCreateRestricted | 2. TCB - Dynamic, Stack - Static | | |
- * +-----|---------|--------|-----------------------------|-----------------------------------|------------------|-----------|
- * | 1 | 1 | 1 | xTaskCreate, | 1. TCB - Dynamic, Stack - Dynamic | Yes | Yes |
- * | | | | xTaskCreateStatic, | 2. TCB - Dynamic, Stack - Static | | |
- * | | | | xTaskCreateRestricted, | 3. TCB - Static, Stack - Static | | |
- * | | | | xTaskCreateRestrictedStatic | | | |
- * +-----+---------+--------+-----------------------------+-----------------------------------+------------------+-----------+
- */
- #define tskSTATIC_AND_DYNAMIC_ALLOCATION_POSSIBLE \
- ( ( ( portUSING_MPU_WRAPPERS == 0 ) && ( configSUPPORT_DYNAMIC_ALLOCATION == 1 ) && ( configSUPPORT_STATIC_ALLOCATION == 1 ) ) || \
- ( ( portUSING_MPU_WRAPPERS == 1 ) && ( configSUPPORT_DYNAMIC_ALLOCATION == 1 ) ) )
- /*
- * In line with software engineering best practice, FreeRTOS implements a strict
- * data hiding policy, so the real structures used by FreeRTOS to maintain the
- * state of tasks, queues, semaphores, etc. are not accessible to the application
- * code. However, if the application writer wants to statically allocate such
- * an object then the size of the object needs to be known. Dummy structures
- * that are guaranteed to have the same size and alignment requirements of the
- * real objects are used for this purpose. The dummy list and list item
- * structures below are used for inclusion in such a dummy structure.
- */
- struct xSTATIC_LIST_ITEM
- {
- #if ( configUSE_LIST_DATA_INTEGRITY_CHECK_BYTES == 1 )
- TickType_t xDummy1;
- #endif
- TickType_t xDummy2;
- void * pvDummy3[ 4 ];
- #if ( configUSE_LIST_DATA_INTEGRITY_CHECK_BYTES == 1 )
- TickType_t xDummy4;
- #endif
- };
- typedef struct xSTATIC_LIST_ITEM StaticListItem_t;
- #if ( configUSE_MINI_LIST_ITEM == 1 )
- /* See the comments above the struct xSTATIC_LIST_ITEM definition. */
- struct xSTATIC_MINI_LIST_ITEM
- {
- #if ( configUSE_LIST_DATA_INTEGRITY_CHECK_BYTES == 1 )
- TickType_t xDummy1;
- #endif
- TickType_t xDummy2;
- void * pvDummy3[ 2 ];
- };
- typedef struct xSTATIC_MINI_LIST_ITEM StaticMiniListItem_t;
- #else /* if ( configUSE_MINI_LIST_ITEM == 1 ) */
- typedef struct xSTATIC_LIST_ITEM StaticMiniListItem_t;
- #endif /* if ( configUSE_MINI_LIST_ITEM == 1 ) */
- /* See the comments above the struct xSTATIC_LIST_ITEM definition. */
- typedef struct xSTATIC_LIST
- {
- #if ( configUSE_LIST_DATA_INTEGRITY_CHECK_BYTES == 1 )
- TickType_t xDummy1;
- #endif
- UBaseType_t uxDummy2;
- void * pvDummy3;
- StaticMiniListItem_t xDummy4;
- #if ( configUSE_LIST_DATA_INTEGRITY_CHECK_BYTES == 1 )
- TickType_t xDummy5;
- #endif
- } StaticList_t;
- /*
- * In line with software engineering best practice, especially when supplying a
- * library that is likely to change in future versions, FreeRTOS implements a
- * strict data hiding policy. This means the Task structure used internally by
- * FreeRTOS is not accessible to application code. However, if the application
- * writer wants to statically allocate the memory required to create a task then
- * the size of the task object needs to be known. The StaticTask_t structure
- * below is provided for this purpose. Its sizes and alignment requirements are
- * guaranteed to match those of the genuine structure, no matter which
- * architecture is being used, and no matter how the values in FreeRTOSConfig.h
- * are set. Its contents are somewhat obfuscated in the hope users will
- * recognise that it would be unwise to make direct use of the structure members.
- */
- typedef struct xSTATIC_TCB
- {
- void * pxDummy1;
- #if ( portUSING_MPU_WRAPPERS == 1 )
- xMPU_SETTINGS xDummy2;
- #endif
- #if ( configUSE_CORE_AFFINITY == 1 ) && ( configNUMBER_OF_CORES > 1 )
- UBaseType_t uxDummy26;
- #endif
- StaticListItem_t xDummy3[ 2 ];
- UBaseType_t uxDummy5;
- void * pxDummy6;
- #if ( configNUMBER_OF_CORES > 1 )
- BaseType_t xDummy23;
- UBaseType_t uxDummy24;
- #endif
- uint8_t ucDummy7[ configMAX_TASK_NAME_LEN ];
- #if ( configUSE_TASK_PREEMPTION_DISABLE == 1 )
- BaseType_t xDummy25;
- #endif
- #if ( ( portSTACK_GROWTH > 0 ) || ( configRECORD_STACK_HIGH_ADDRESS == 1 ) )
- void * pxDummy8;
- #endif
- #if ( portCRITICAL_NESTING_IN_TCB == 1 )
- UBaseType_t uxDummy9;
- #endif
- #if ( configUSE_TRACE_FACILITY == 1 )
- UBaseType_t uxDummy10[ 2 ];
- #endif
- #if ( configUSE_MUTEXES == 1 )
- UBaseType_t uxDummy12[ 2 ];
- #endif
- #if ( configUSE_APPLICATION_TASK_TAG == 1 )
- void * pxDummy14;
- #endif
- #if ( configNUM_THREAD_LOCAL_STORAGE_POINTERS > 0 )
- void * pvDummy15[ configNUM_THREAD_LOCAL_STORAGE_POINTERS ];
- #endif
- #if ( configGENERATE_RUN_TIME_STATS == 1 )
- configRUN_TIME_COUNTER_TYPE ulDummy16;
- #endif
- #if ( configUSE_C_RUNTIME_TLS_SUPPORT == 1 )
- configTLS_BLOCK_TYPE xDummy17;
- #endif
- #if ( configUSE_TASK_NOTIFICATIONS == 1 )
- uint32_t ulDummy18[ configTASK_NOTIFICATION_ARRAY_ENTRIES ];
- uint8_t ucDummy19[ configTASK_NOTIFICATION_ARRAY_ENTRIES ];
- #endif
- #if ( tskSTATIC_AND_DYNAMIC_ALLOCATION_POSSIBLE != 0 )
- uint8_t uxDummy20;
- #endif
- #if ( INCLUDE_xTaskAbortDelay == 1 )
- uint8_t ucDummy21;
- #endif
- #if ( configUSE_POSIX_ERRNO == 1 )
- int iDummy22;
- #endif
- } StaticTask_t;
- /*
- * In line with software engineering best practice, especially when supplying a
- * library that is likely to change in future versions, FreeRTOS implements a
- * strict data hiding policy. This means the Queue structure used internally by
- * FreeRTOS is not accessible to application code. However, if the application
- * writer wants to statically allocate the memory required to create a queue
- * then the size of the queue object needs to be known. The StaticQueue_t
- * structure below is provided for this purpose. Its sizes and alignment
- * requirements are guaranteed to match those of the genuine structure, no
- * matter which architecture is being used, and no matter how the values in
- * FreeRTOSConfig.h are set. Its contents are somewhat obfuscated in the hope
- * users will recognise that it would be unwise to make direct use of the
- * structure members.
- */
- typedef struct xSTATIC_QUEUE
- {
- void * pvDummy1[ 3 ];
- union
- {
- void * pvDummy2;
- UBaseType_t uxDummy2;
- } u;
- StaticList_t xDummy3[ 2 ];
- UBaseType_t uxDummy4[ 3 ];
- uint8_t ucDummy5[ 2 ];
- #if ( ( configSUPPORT_STATIC_ALLOCATION == 1 ) && ( configSUPPORT_DYNAMIC_ALLOCATION == 1 ) )
- uint8_t ucDummy6;
- #endif
- #if ( configUSE_QUEUE_SETS == 1 )
- void * pvDummy7;
- #endif
- #if ( configUSE_TRACE_FACILITY == 1 )
- UBaseType_t uxDummy8;
- uint8_t ucDummy9;
- #endif
- } StaticQueue_t;
- typedef StaticQueue_t StaticSemaphore_t;
- /*
- * In line with software engineering best practice, especially when supplying a
- * library that is likely to change in future versions, FreeRTOS implements a
- * strict data hiding policy. This means the event group structure used
- * internally by FreeRTOS is not accessible to application code. However, if
- * the application writer wants to statically allocate the memory required to
- * create an event group then the size of the event group object needs to be
- * know. The StaticEventGroup_t structure below is provided for this purpose.
- * Its sizes and alignment requirements are guaranteed to match those of the
- * genuine structure, no matter which architecture is being used, and no matter
- * how the values in FreeRTOSConfig.h are set. Its contents are somewhat
- * obfuscated in the hope users will recognise that it would be unwise to make
- * direct use of the structure members.
- */
- typedef struct xSTATIC_EVENT_GROUP
- {
- TickType_t xDummy1;
- StaticList_t xDummy2;
- #if ( configUSE_TRACE_FACILITY == 1 )
- UBaseType_t uxDummy3;
- #endif
- #if ( ( configSUPPORT_STATIC_ALLOCATION == 1 ) && ( configSUPPORT_DYNAMIC_ALLOCATION == 1 ) )
- uint8_t ucDummy4;
- #endif
- } StaticEventGroup_t;
- /*
- * In line with software engineering best practice, especially when supplying a
- * library that is likely to change in future versions, FreeRTOS implements a
- * strict data hiding policy. This means the software timer structure used
- * internally by FreeRTOS is not accessible to application code. However, if
- * the application writer wants to statically allocate the memory required to
- * create a software timer then the size of the queue object needs to be known.
- * The StaticTimer_t structure below is provided for this purpose. Its sizes
- * and alignment requirements are guaranteed to match those of the genuine
- * structure, no matter which architecture is being used, and no matter how the
- * values in FreeRTOSConfig.h are set. Its contents are somewhat obfuscated in
- * the hope users will recognise that it would be unwise to make direct use of
- * the structure members.
- */
- typedef struct xSTATIC_TIMER
- {
- void * pvDummy1;
- StaticListItem_t xDummy2;
- TickType_t xDummy3;
- void * pvDummy5;
- TaskFunction_t pvDummy6;
- #if ( configUSE_TRACE_FACILITY == 1 )
- UBaseType_t uxDummy7;
- #endif
- uint8_t ucDummy8;
- } StaticTimer_t;
- /*
- * In line with software engineering best practice, especially when supplying a
- * library that is likely to change in future versions, FreeRTOS implements a
- * strict data hiding policy. This means the stream buffer structure used
- * internally by FreeRTOS is not accessible to application code. However, if
- * the application writer wants to statically allocate the memory required to
- * create a stream buffer then the size of the stream buffer object needs to be
- * known. The StaticStreamBuffer_t structure below is provided for this
- * purpose. Its size and alignment requirements are guaranteed to match those
- * of the genuine structure, no matter which architecture is being used, and
- * no matter how the values in FreeRTOSConfig.h are set. Its contents are
- * somewhat obfuscated in the hope users will recognise that it would be unwise
- * to make direct use of the structure members.
- */
- typedef struct xSTATIC_STREAM_BUFFER
- {
- size_t uxDummy1[ 4 ];
- void * pvDummy2[ 3 ];
- uint8_t ucDummy3;
- #if ( configUSE_TRACE_FACILITY == 1 )
- UBaseType_t uxDummy4;
- #endif
- #if ( configUSE_SB_COMPLETED_CALLBACK == 1 )
- void * pvDummy5[ 2 ];
- #endif
- UBaseType_t uxDummy6;
- } StaticStreamBuffer_t;
- /* Message buffers are built on stream buffers. */
- typedef StaticStreamBuffer_t StaticMessageBuffer_t;
- /* *INDENT-OFF* */
- #ifdef __cplusplus
- }
- #endif
- /* *INDENT-ON* */
- #endif /* INC_FREERTOS_H */
|