| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360 |
- /*
- * FreeRTOS Kernel V11.3.0
- * 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 */
|