usbd_config.h 92 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229
  1. /**
  2. * Copyright (c) 2017 - 2021, Nordic Semiconductor ASA
  3. *
  4. * All rights reserved.
  5. *
  6. * Redistribution and use in source and binary forms, with or without modification,
  7. * are permitted provided that the following conditions are met:
  8. *
  9. * 1. Redistributions of source code must retain the above copyright notice, this
  10. * list of conditions and the following disclaimer.
  11. *
  12. * 2. Redistributions in binary form, except as embedded into a Nordic
  13. * Semiconductor ASA integrated circuit in a product or a software update for
  14. * such product, must reproduce the above copyright notice, this list of
  15. * conditions and the following disclaimer in the documentation and/or other
  16. * materials provided with the distribution.
  17. *
  18. * 3. Neither the name of Nordic Semiconductor ASA nor the names of its
  19. * contributors may be used to endorse or promote products derived from this
  20. * software without specific prior written permission.
  21. *
  22. * 4. This software, with or without modification, must only be used with a
  23. * Nordic Semiconductor ASA integrated circuit.
  24. *
  25. * 5. Any software provided in binary form under this license must not be reverse
  26. * engineered, decompiled, modified and/or disassembled.
  27. *
  28. * THIS SOFTWARE IS PROVIDED BY NORDIC SEMICONDUCTOR ASA "AS IS" AND ANY EXPRESS
  29. * OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
  30. * OF MERCHANTABILITY, NONINFRINGEMENT, AND FITNESS FOR A PARTICULAR PURPOSE ARE
  31. * DISCLAIMED. IN NO EVENT SHALL NORDIC SEMICONDUCTOR ASA OR CONTRIBUTORS BE
  32. * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
  33. * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
  34. * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  35. * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
  36. * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
  37. * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  38. *
  39. */
  40. #ifndef SDK_CONFIG_H
  41. #define SDK_CONFIG_H
  42. // <<< Use Configuration Wizard in Context Menu >>>\n
  43. #ifdef USE_APP_CONFIG
  44. #include "app_config.h"
  45. #endif
  46. // <h> nRF_Drivers
  47. // <e> NRFX_USBREG_ENABLED - nrfx_usbreg - USBREG peripheral driver
  48. //==========================================================
  49. #ifndef NRFX_USBREG_ENABLED
  50. #define NRFX_USBREG_ENABLED 1
  51. #endif
  52. // <o> NRFX_USBREG_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority
  53. // <0=> 0 (highest)
  54. // <1=> 1
  55. // <2=> 2
  56. // <3=> 3
  57. // <4=> 4
  58. // <5=> 5
  59. // <6=> 6
  60. // <7=> 7
  61. #ifndef NRFX_USBREG_DEFAULT_CONFIG_IRQ_PRIORITY
  62. #define NRFX_USBREG_DEFAULT_CONFIG_IRQ_PRIORITY 7
  63. #endif
  64. // </e>
  65. // <e> NRF_CLOCK_ENABLED - nrf_drv_clock - CLOCK peripheral driver - legacy layer
  66. //==========================================================
  67. #ifndef NRF_CLOCK_ENABLED
  68. #define NRF_CLOCK_ENABLED 1
  69. #endif
  70. // <o> CLOCK_CONFIG_LF_SRC - LF Clock Source
  71. // <0=> RC
  72. // <1=> XTAL
  73. // <2=> Synth
  74. // <131073=> External Low Swing
  75. // <196609=> External Full Swing
  76. #ifndef CLOCK_CONFIG_LF_SRC
  77. #define CLOCK_CONFIG_LF_SRC 1
  78. #endif
  79. // <q> CLOCK_CONFIG_LF_CAL_ENABLED - Calibration enable for LF Clock Source
  80. #ifndef CLOCK_CONFIG_LF_CAL_ENABLED
  81. #define CLOCK_CONFIG_LF_CAL_ENABLED 0
  82. #endif
  83. // <o> CLOCK_CONFIG_IRQ_PRIORITY - Interrupt priority
  84. // <i> Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice
  85. // <0=> 0 (highest)
  86. // <1=> 1
  87. // <2=> 2
  88. // <3=> 3
  89. // <4=> 4
  90. // <5=> 5
  91. // <6=> 6
  92. // <7=> 7
  93. #ifndef CLOCK_CONFIG_IRQ_PRIORITY
  94. #define CLOCK_CONFIG_IRQ_PRIORITY 6
  95. #endif
  96. // </e>
  97. // <e> POWER_ENABLED - nrf_drv_power - POWER peripheral driver - legacy layer
  98. //==========================================================
  99. #ifndef POWER_ENABLED
  100. #define POWER_ENABLED 1
  101. #endif
  102. // <o> POWER_CONFIG_IRQ_PRIORITY - Interrupt priority
  103. // <i> Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice
  104. // <0=> 0 (highest)
  105. // <1=> 1
  106. // <2=> 2
  107. // <3=> 3
  108. // <4=> 4
  109. // <5=> 5
  110. // <6=> 6
  111. // <7=> 7
  112. #ifndef POWER_CONFIG_IRQ_PRIORITY
  113. #define POWER_CONFIG_IRQ_PRIORITY 6
  114. #endif
  115. // <q> POWER_CONFIG_DEFAULT_DCDCEN - The default configuration of main DCDC regulator
  116. // <i> This settings means only that components for DCDC regulator are installed and it can be enabled.
  117. #ifndef POWER_CONFIG_DEFAULT_DCDCEN
  118. #define POWER_CONFIG_DEFAULT_DCDCEN 0
  119. #endif
  120. // <q> POWER_CONFIG_DEFAULT_DCDCENHV - The default configuration of High Voltage DCDC regulator
  121. // <i> This settings means only that components for DCDC regulator are installed and it can be enabled.
  122. #ifndef POWER_CONFIG_DEFAULT_DCDCENHV
  123. #define POWER_CONFIG_DEFAULT_DCDCENHV 0
  124. #endif
  125. // </e>
  126. // <e> USBD_ENABLED - nrf_drv_usbd - Software Component
  127. //==========================================================
  128. #ifndef USBD_ENABLED
  129. #define USBD_ENABLED 0
  130. #endif
  131. // <o> USBD_CONFIG_IRQ_PRIORITY - Interrupt priority
  132. // <i> Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice
  133. // <0=> 0 (highest)
  134. // <1=> 1
  135. // <2=> 2
  136. // <3=> 3
  137. // <4=> 4
  138. // <5=> 5
  139. // <6=> 6
  140. // <7=> 7
  141. #ifndef USBD_CONFIG_IRQ_PRIORITY
  142. #define USBD_CONFIG_IRQ_PRIORITY 6
  143. #endif
  144. // <o> USBD_CONFIG_DMASCHEDULER_MODE - USBD SMA scheduler working scheme
  145. // <0=> Prioritized access
  146. // <1=> Round Robin
  147. #ifndef USBD_CONFIG_DMASCHEDULER_MODE
  148. #define USBD_CONFIG_DMASCHEDULER_MODE 0
  149. #endif
  150. // <q> USBD_CONFIG_DMASCHEDULER_ISO_BOOST - Give priority to isochronous transfers
  151. // <i> This option gives priority to isochronous transfers.
  152. // <i> Enabling it assures that isochronous transfers are always processed,
  153. // <i> even if multiple other transfers are pending.
  154. // <i> Isochronous endpoints are prioritized before the usbd_dma_scheduler_algorithm
  155. // <i> function is called, so the option is independent of the algorithm chosen.
  156. #ifndef USBD_CONFIG_DMASCHEDULER_ISO_BOOST
  157. #define USBD_CONFIG_DMASCHEDULER_ISO_BOOST 1
  158. #endif
  159. // <q> USBD_CONFIG_ISO_IN_ZLP - Respond to an IN token on ISO IN endpoint with ZLP when no data is ready
  160. // <i> If set, ISO IN endpoint will respond to an IN token with ZLP when no data is ready to be sent.
  161. // <i> Else, there will be no response.
  162. // <i> NOTE: This option does not work on Engineering A chip.
  163. #ifndef USBD_CONFIG_ISO_IN_ZLP
  164. #define USBD_CONFIG_ISO_IN_ZLP 0
  165. #endif
  166. // </e>
  167. // <e> NRFX_USBD_ENABLED - nrfx_usbd - USBD peripheral driver
  168. //==========================================================
  169. #ifndef NRFX_USBD_ENABLED
  170. #define NRFX_USBD_ENABLED 1
  171. #endif
  172. // <o> NRFX_USBD_CONFIG_IRQ_PRIORITY - Interrupt priority
  173. // <0=> 0 (highest)
  174. // <1=> 1
  175. // <2=> 2
  176. // <3=> 3
  177. // <4=> 4
  178. // <5=> 5
  179. // <6=> 6
  180. // <7=> 7
  181. #ifndef NRFX_USBD_CONFIG_IRQ_PRIORITY
  182. #define NRFX_USBD_CONFIG_IRQ_PRIORITY 6
  183. #endif
  184. // <o> NRFX_USBD_CONFIG_DMASCHEDULER_MODE - USBD DMA scheduler working scheme
  185. // <0=> Prioritized access
  186. // <1=> Round Robin
  187. #ifndef NRFX_USBD_CONFIG_DMASCHEDULER_MODE
  188. #define NRFX_USBD_CONFIG_DMASCHEDULER_MODE 0
  189. #endif
  190. // <q> NRFX_USBD_CONFIG_DMASCHEDULER_ISO_BOOST - Give priority to isochronous transfers
  191. // <i> This option gives priority to isochronous transfers.
  192. // <i> Enabling it assures that isochronous transfers are always processed,
  193. // <i> even if multiple other transfers are pending.
  194. // <i> Isochronous endpoints are prioritized before the usbd_dma_scheduler_algorithm
  195. // <i> function is called, so the option is independent of the algorithm chosen.
  196. #ifndef NRFX_USBD_CONFIG_DMASCHEDULER_ISO_BOOST
  197. #define NRFX_USBD_CONFIG_DMASCHEDULER_ISO_BOOST 1
  198. #endif
  199. // <q> NRFX_USBD_CONFIG_ISO_IN_ZLP - Respond to an IN token on ISO IN endpoint with ZLP when no data is ready
  200. // <i> If set, ISO IN endpoint will respond to an IN token with ZLP when no data is ready to be sent.
  201. // <i> Else, there will be no response.
  202. #ifndef NRFX_USBD_CONFIG_ISO_IN_ZLP
  203. #define NRFX_USBD_CONFIG_ISO_IN_ZLP 0
  204. #endif
  205. // <q> NRFX_USBD_USE_WORKAROUND_FOR_ANOMALY_211 - Use workaround for anomaly 211
  206. // <i> If set, workaround for anomaly 211 will be enabled.
  207. // <i> Anomaly 211 - Device remains in SUSPEND too long when host resumes
  208. // <i> bus activity (sending SOF packets) without a RESUME condition.
  209. #ifndef NRFX_USBD_USE_WORKAROUND_FOR_ANOMALY_211
  210. #define NRFX_USBD_USE_WORKAROUND_FOR_ANOMALY_211 0
  211. #endif
  212. // </e>
  213. // <e> NRFX_POWER_ENABLED - nrfx_power - POWER peripheral driver
  214. //==========================================================
  215. #ifndef NRFX_POWER_ENABLED
  216. #define NRFX_POWER_ENABLED 0
  217. #endif
  218. // <o> NRFX_POWER_CONFIG_IRQ_PRIORITY - Interrupt priority
  219. // <0=> 0 (highest)
  220. // <1=> 1
  221. // <2=> 2
  222. // <3=> 3
  223. // <4=> 4
  224. // <5=> 5
  225. // <6=> 6
  226. // <7=> 7
  227. #ifndef NRFX_POWER_CONFIG_IRQ_PRIORITY
  228. #define NRFX_POWER_CONFIG_IRQ_PRIORITY 6
  229. #endif
  230. // <q> NRFX_POWER_CONFIG_DEFAULT_DCDCEN - The default configuration of main DCDC regulator
  231. // <i> This settings means only that components for DCDC regulator are installed and it can be enabled.
  232. #ifndef NRFX_POWER_CONFIG_DEFAULT_DCDCEN
  233. #define NRFX_POWER_CONFIG_DEFAULT_DCDCEN 0
  234. #endif
  235. // <q> NRFX_POWER_CONFIG_DEFAULT_DCDCENHV - The default configuration of High Voltage DCDC regulator
  236. // <i> This settings means only that components for DCDC regulator are installed and it can be enabled.
  237. #ifndef NRFX_POWER_CONFIG_DEFAULT_DCDCENHV
  238. #define NRFX_POWER_CONFIG_DEFAULT_DCDCENHV 0
  239. #endif
  240. // </e>
  241. // <e> NRFX_CLOCK_ENABLED - nrfx_clock - CLOCK peripheral driver
  242. //==========================================================
  243. #ifndef NRFX_CLOCK_ENABLED
  244. #define NRFX_CLOCK_ENABLED 1
  245. #endif
  246. // <o> NRFX_CLOCK_CONFIG_LF_SRC - LF Clock Source
  247. // <0=> RC
  248. // <1=> XTAL
  249. // <2=> Synth
  250. // <131073=> External Low Swing
  251. // <196609=> External Full Swing
  252. #ifndef NRFX_CLOCK_CONFIG_LF_SRC
  253. #define NRFX_CLOCK_CONFIG_LF_SRC 1
  254. #endif
  255. // <o> NRFX_CLOCK_CONFIG_IRQ_PRIORITY - Interrupt priority
  256. // <0=> 0 (highest)
  257. // <1=> 1
  258. // <2=> 2
  259. // <3=> 3
  260. // <4=> 4
  261. // <5=> 5
  262. // <6=> 6
  263. // <7=> 7
  264. #ifndef NRFX_CLOCK_CONFIG_IRQ_PRIORITY
  265. #define NRFX_CLOCK_CONFIG_IRQ_PRIORITY 6
  266. #endif
  267. // <e> NRFX_CLOCK_CONFIG_LOG_ENABLED - Enables logging in the module.
  268. //==========================================================
  269. #ifndef NRFX_CLOCK_CONFIG_LOG_ENABLED
  270. #define NRFX_CLOCK_CONFIG_LOG_ENABLED 0
  271. #endif
  272. // <o> NRFX_CLOCK_CONFIG_LOG_LEVEL - Default Severity level
  273. // <0=> Off
  274. // <1=> Error
  275. // <2=> Warning
  276. // <3=> Info
  277. // <4=> Debug
  278. #ifndef NRFX_CLOCK_CONFIG_LOG_LEVEL
  279. #define NRFX_CLOCK_CONFIG_LOG_LEVEL 3
  280. #endif
  281. // <o> NRFX_CLOCK_CONFIG_INFO_COLOR - ANSI escape code prefix.
  282. // <0=> Default
  283. // <1=> Black
  284. // <2=> Red
  285. // <3=> Green
  286. // <4=> Yellow
  287. // <5=> Blue
  288. // <6=> Magenta
  289. // <7=> Cyan
  290. // <8=> White
  291. #ifndef NRFX_CLOCK_CONFIG_INFO_COLOR
  292. #define NRFX_CLOCK_CONFIG_INFO_COLOR 0
  293. #endif
  294. // <o> NRFX_CLOCK_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  295. // <0=> Default
  296. // <1=> Black
  297. // <2=> Red
  298. // <3=> Green
  299. // <4=> Yellow
  300. // <5=> Blue
  301. // <6=> Magenta
  302. // <7=> Cyan
  303. // <8=> White
  304. #ifndef NRFX_CLOCK_CONFIG_DEBUG_COLOR
  305. #define NRFX_CLOCK_CONFIG_DEBUG_COLOR 0
  306. #endif
  307. // </e>
  308. // </e>
  309. //==========================================================
  310. // <e> NRFX_PRS_ENABLED - nrfx_prs - Peripheral Resource Sharing module
  311. //==========================================================
  312. #ifndef NRFX_PRS_ENABLED
  313. #define NRFX_PRS_ENABLED 1
  314. #endif
  315. // <q> NRFX_PRS_BOX_0_ENABLED - Enables box 0 in the module.
  316. #ifndef NRFX_PRS_BOX_0_ENABLED
  317. #define NRFX_PRS_BOX_0_ENABLED 0
  318. #endif
  319. // <q> NRFX_PRS_BOX_1_ENABLED - Enables box 1 in the module.
  320. #ifndef NRFX_PRS_BOX_1_ENABLED
  321. #define NRFX_PRS_BOX_1_ENABLED 0
  322. #endif
  323. // <q> NRFX_PRS_BOX_2_ENABLED - Enables box 2 in the module.
  324. #ifndef NRFX_PRS_BOX_2_ENABLED
  325. #define NRFX_PRS_BOX_2_ENABLED 0
  326. #endif
  327. // <q> NRFX_PRS_BOX_3_ENABLED - Enables box 3 in the module.
  328. #ifndef NRFX_PRS_BOX_3_ENABLED
  329. #define NRFX_PRS_BOX_3_ENABLED 0
  330. #endif
  331. // <q> NRFX_PRS_BOX_4_ENABLED - Enables box 4 in the module.
  332. #ifndef NRFX_PRS_BOX_4_ENABLED
  333. #define NRFX_PRS_BOX_4_ENABLED 1
  334. #endif
  335. // <e> NRFX_PRS_CONFIG_LOG_ENABLED - Enables logging in the module.
  336. //==========================================================
  337. #ifndef NRFX_PRS_CONFIG_LOG_ENABLED
  338. #define NRFX_PRS_CONFIG_LOG_ENABLED 0
  339. #endif
  340. // <o> NRFX_PRS_CONFIG_LOG_LEVEL - Default Severity level
  341. // <0=> Off
  342. // <1=> Error
  343. // <2=> Warning
  344. // <3=> Info
  345. // <4=> Debug
  346. #ifndef NRFX_PRS_CONFIG_LOG_LEVEL
  347. #define NRFX_PRS_CONFIG_LOG_LEVEL 3
  348. #endif
  349. // <o> NRFX_PRS_CONFIG_INFO_COLOR - ANSI escape code prefix.
  350. // <0=> Default
  351. // <1=> Black
  352. // <2=> Red
  353. // <3=> Green
  354. // <4=> Yellow
  355. // <5=> Blue
  356. // <6=> Magenta
  357. // <7=> Cyan
  358. // <8=> White
  359. #ifndef NRFX_PRS_CONFIG_INFO_COLOR
  360. #define NRFX_PRS_CONFIG_INFO_COLOR 0
  361. #endif
  362. // <o> NRFX_PRS_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  363. // <0=> Default
  364. // <1=> Black
  365. // <2=> Red
  366. // <3=> Green
  367. // <4=> Yellow
  368. // <5=> Blue
  369. // <6=> Magenta
  370. // <7=> Cyan
  371. // <8=> White
  372. #ifndef NRFX_PRS_CONFIG_DEBUG_COLOR
  373. #define NRFX_PRS_CONFIG_DEBUG_COLOR 0
  374. #endif
  375. // </e>
  376. // </e>
  377. // <e> NRFX_UARTE_ENABLED - nrfx_uarte - UARTE peripheral driver
  378. //==========================================================
  379. #ifndef NRFX_UARTE_ENABLED
  380. #define NRFX_UARTE_ENABLED 0
  381. #endif
  382. // <o> NRFX_UARTE0_ENABLED - Enable UARTE0 instance
  383. #ifndef NRFX_UARTE0_ENABLED
  384. #define NRFX_UARTE0_ENABLED 0
  385. #endif
  386. // <o> NRFX_UARTE1_ENABLED - Enable UARTE1 instance
  387. #ifndef NRFX_UARTE1_ENABLED
  388. #define NRFX_UARTE1_ENABLED 0
  389. #endif
  390. // <o> NRFX_UARTE_DEFAULT_CONFIG_HWFC - Hardware Flow Control
  391. // <0=> Disabled
  392. // <1=> Enabled
  393. #ifndef NRFX_UARTE_DEFAULT_CONFIG_HWFC
  394. #define NRFX_UARTE_DEFAULT_CONFIG_HWFC 0
  395. #endif
  396. // <o> NRFX_UARTE_DEFAULT_CONFIG_PARITY - Parity
  397. // <0=> Excluded
  398. // <14=> Included
  399. #ifndef NRFX_UARTE_DEFAULT_CONFIG_PARITY
  400. #define NRFX_UARTE_DEFAULT_CONFIG_PARITY 0
  401. #endif
  402. // <o> NRFX_UARTE_DEFAULT_CONFIG_BAUDRATE - Default Baudrate
  403. // <323584=> 1200 baud
  404. // <643072=> 2400 baud
  405. // <1290240=> 4800 baud
  406. // <2576384=> 9600 baud
  407. // <3862528=> 14400 baud
  408. // <5152768=> 19200 baud
  409. // <7716864=> 28800 baud
  410. // <8388608=> 31250 baud
  411. // <10289152=> 38400 baud
  412. // <15007744=> 56000 baud
  413. // <15400960=> 57600 baud
  414. // <20615168=> 76800 baud
  415. // <30801920=> 115200 baud
  416. // <61865984=> 230400 baud
  417. // <67108864=> 250000 baud
  418. // <121634816=> 460800 baud
  419. // <251658240=> 921600 baud
  420. // <268435456=> 1000000 baud
  421. #ifndef NRFX_UARTE_DEFAULT_CONFIG_BAUDRATE
  422. #define NRFX_UARTE_DEFAULT_CONFIG_BAUDRATE 30801920
  423. #endif
  424. // <o> NRFX_UARTE_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority
  425. // <0=> 0 (highest)
  426. // <1=> 1
  427. // <2=> 2
  428. // <3=> 3
  429. // <4=> 4
  430. // <5=> 5
  431. // <6=> 6
  432. // <7=> 7
  433. #ifndef NRFX_UARTE_DEFAULT_CONFIG_IRQ_PRIORITY
  434. #define NRFX_UARTE_DEFAULT_CONFIG_IRQ_PRIORITY 6
  435. #endif
  436. // <e> NRFX_UARTE_CONFIG_LOG_ENABLED - Enables logging in the module.
  437. //==========================================================
  438. #ifndef NRFX_UARTE_CONFIG_LOG_ENABLED
  439. #define NRFX_UARTE_CONFIG_LOG_ENABLED 0
  440. #endif
  441. // <o> NRFX_UARTE_CONFIG_LOG_LEVEL - Default Severity level
  442. // <0=> Off
  443. // <1=> Error
  444. // <2=> Warning
  445. // <3=> Info
  446. // <4=> Debug
  447. #ifndef NRFX_UARTE_CONFIG_LOG_LEVEL
  448. #define NRFX_UARTE_CONFIG_LOG_LEVEL 3
  449. #endif
  450. // <o> NRFX_UARTE_CONFIG_INFO_COLOR - ANSI escape code prefix.
  451. // <0=> Default
  452. // <1=> Black
  453. // <2=> Red
  454. // <3=> Green
  455. // <4=> Yellow
  456. // <5=> Blue
  457. // <6=> Magenta
  458. // <7=> Cyan
  459. // <8=> White
  460. #ifndef NRFX_UARTE_CONFIG_INFO_COLOR
  461. #define NRFX_UARTE_CONFIG_INFO_COLOR 0
  462. #endif
  463. // <o> NRFX_UARTE_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  464. // <0=> Default
  465. // <1=> Black
  466. // <2=> Red
  467. // <3=> Green
  468. // <4=> Yellow
  469. // <5=> Blue
  470. // <6=> Magenta
  471. // <7=> Cyan
  472. // <8=> White
  473. #ifndef NRFX_UARTE_CONFIG_DEBUG_COLOR
  474. #define NRFX_UARTE_CONFIG_DEBUG_COLOR 0
  475. #endif
  476. // </e>
  477. // </e>
  478. // <e> NRFX_UART_ENABLED - nrfx_uart - UART peripheral driver
  479. //==========================================================
  480. #ifndef NRFX_UART_ENABLED
  481. #define NRFX_UART_ENABLED 0
  482. #endif
  483. // <o> NRFX_UART0_ENABLED - Enable UART0 instance
  484. #ifndef NRFX_UART0_ENABLED
  485. #define NRFX_UART0_ENABLED 0
  486. #endif
  487. // <o> NRFX_UART_DEFAULT_CONFIG_HWFC - Hardware Flow Control
  488. // <0=> Disabled
  489. // <1=> Enabled
  490. #ifndef NRFX_UART_DEFAULT_CONFIG_HWFC
  491. #define NRFX_UART_DEFAULT_CONFIG_HWFC 0
  492. #endif
  493. // <o> NRFX_UART_DEFAULT_CONFIG_PARITY - Parity
  494. // <0=> Excluded
  495. // <14=> Included
  496. #ifndef NRFX_UART_DEFAULT_CONFIG_PARITY
  497. #define NRFX_UART_DEFAULT_CONFIG_PARITY 0
  498. #endif
  499. // <o> NRFX_UART_DEFAULT_CONFIG_BAUDRATE - Default Baudrate
  500. // <323584=> 1200 baud
  501. // <643072=> 2400 baud
  502. // <1290240=> 4800 baud
  503. // <2576384=> 9600 baud
  504. // <3866624=> 14400 baud
  505. // <5152768=> 19200 baud
  506. // <7729152=> 28800 baud
  507. // <8388608=> 31250 baud
  508. // <10309632=> 38400 baud
  509. // <15007744=> 56000 baud
  510. // <15462400=> 57600 baud
  511. // <20615168=> 76800 baud
  512. // <30924800=> 115200 baud
  513. // <61845504=> 230400 baud
  514. // <67108864=> 250000 baud
  515. // <123695104=> 460800 baud
  516. // <247386112=> 921600 baud
  517. // <268435456=> 1000000 baud
  518. #ifndef NRFX_UART_DEFAULT_CONFIG_BAUDRATE
  519. #define NRFX_UART_DEFAULT_CONFIG_BAUDRATE 30924800
  520. #endif
  521. // <o> NRFX_UART_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority
  522. // <0=> 0 (highest)
  523. // <1=> 1
  524. // <2=> 2
  525. // <3=> 3
  526. // <4=> 4
  527. // <5=> 5
  528. // <6=> 6
  529. // <7=> 7
  530. #ifndef NRFX_UART_DEFAULT_CONFIG_IRQ_PRIORITY
  531. #define NRFX_UART_DEFAULT_CONFIG_IRQ_PRIORITY 6
  532. #endif
  533. // <e> NRFX_UART_CONFIG_LOG_ENABLED - Enables logging in the module.
  534. //==========================================================
  535. #ifndef NRFX_UART_CONFIG_LOG_ENABLED
  536. #define NRFX_UART_CONFIG_LOG_ENABLED 0
  537. #endif
  538. // <o> NRFX_UART_CONFIG_LOG_LEVEL - Default Severity level
  539. // <0=> Off
  540. // <1=> Error
  541. // <2=> Warning
  542. // <3=> Info
  543. // <4=> Debug
  544. #ifndef NRFX_UART_CONFIG_LOG_LEVEL
  545. #define NRFX_UART_CONFIG_LOG_LEVEL 3
  546. #endif
  547. // <o> NRFX_UART_CONFIG_INFO_COLOR - ANSI escape code prefix.
  548. // <0=> Default
  549. // <1=> Black
  550. // <2=> Red
  551. // <3=> Green
  552. // <4=> Yellow
  553. // <5=> Blue
  554. // <6=> Magenta
  555. // <7=> Cyan
  556. // <8=> White
  557. #ifndef NRFX_UART_CONFIG_INFO_COLOR
  558. #define NRFX_UART_CONFIG_INFO_COLOR 0
  559. #endif
  560. // <o> NRFX_UART_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  561. // <0=> Default
  562. // <1=> Black
  563. // <2=> Red
  564. // <3=> Green
  565. // <4=> Yellow
  566. // <5=> Blue
  567. // <6=> Magenta
  568. // <7=> Cyan
  569. // <8=> White
  570. #ifndef NRFX_UART_CONFIG_DEBUG_COLOR
  571. #define NRFX_UART_CONFIG_DEBUG_COLOR 0
  572. #endif
  573. // </e>
  574. // </e>
  575. // <e> UART_ENABLED - nrf_drv_uart - UART/UARTE peripheral driver - legacy layer
  576. //==========================================================
  577. #ifndef UART_ENABLED
  578. #define UART_ENABLED 0
  579. #endif
  580. // <o> UART_DEFAULT_CONFIG_HWFC - Hardware Flow Control
  581. // <0=> Disabled
  582. // <1=> Enabled
  583. #ifndef UART_DEFAULT_CONFIG_HWFC
  584. #define UART_DEFAULT_CONFIG_HWFC 0
  585. #endif
  586. // <o> UART_DEFAULT_CONFIG_PARITY - Parity
  587. // <0=> Excluded
  588. // <14=> Included
  589. #ifndef UART_DEFAULT_CONFIG_PARITY
  590. #define UART_DEFAULT_CONFIG_PARITY 0
  591. #endif
  592. // <o> UART_DEFAULT_CONFIG_BAUDRATE - Default Baudrate
  593. // <323584=> 1200 baud
  594. // <643072=> 2400 baud
  595. // <1290240=> 4800 baud
  596. // <2576384=> 9600 baud
  597. // <3862528=> 14400 baud
  598. // <5152768=> 19200 baud
  599. // <7716864=> 28800 baud
  600. // <10289152=> 38400 baud
  601. // <15400960=> 57600 baud
  602. // <20615168=> 76800 baud
  603. // <30801920=> 115200 baud
  604. // <61865984=> 230400 baud
  605. // <67108864=> 250000 baud
  606. // <121634816=> 460800 baud
  607. // <251658240=> 921600 baud
  608. // <268435456=> 1000000 baud
  609. #ifndef UART_DEFAULT_CONFIG_BAUDRATE
  610. #define UART_DEFAULT_CONFIG_BAUDRATE 30801920
  611. #endif
  612. // <o> UART_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority
  613. // <i> Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice
  614. // <0=> 0 (highest)
  615. // <1=> 1
  616. // <2=> 2
  617. // <3=> 3
  618. // <4=> 4
  619. // <5=> 5
  620. // <6=> 6
  621. // <7=> 7
  622. #ifndef UART_DEFAULT_CONFIG_IRQ_PRIORITY
  623. #define UART_DEFAULT_CONFIG_IRQ_PRIORITY 6
  624. #endif
  625. // <q> UART_EASY_DMA_SUPPORT - Driver supporting EasyDMA
  626. #ifndef UART_EASY_DMA_SUPPORT
  627. #define UART_EASY_DMA_SUPPORT 1
  628. #endif
  629. // <q> UART_LEGACY_SUPPORT - Driver supporting Legacy mode
  630. #ifndef UART_LEGACY_SUPPORT
  631. #define UART_LEGACY_SUPPORT 1
  632. #endif
  633. // <e> UART0_ENABLED - Enable UART0 instance
  634. //==========================================================
  635. #ifndef UART0_ENABLED
  636. #define UART0_ENABLED 0
  637. #endif
  638. // <q> UART0_CONFIG_USE_EASY_DMA - Default setting for using EasyDMA
  639. #ifndef UART0_CONFIG_USE_EASY_DMA
  640. #define UART0_CONFIG_USE_EASY_DMA 1
  641. #endif
  642. // </e>
  643. // <e> UART1_ENABLED - Enable UART1 instance
  644. //==========================================================
  645. #ifndef UART1_ENABLED
  646. #define UART1_ENABLED 0
  647. #endif
  648. // </e>
  649. // </e>
  650. // </h>
  651. //==========================================================
  652. // <h> nRF_Libraries
  653. //==========================================================
  654. // <q> APP_FIFO_ENABLED - app_fifo - Software FIFO implementation
  655. #ifndef APP_FIFO_ENABLED
  656. #define APP_FIFO_ENABLED 0
  657. #endif
  658. // <e> APP_USBD_ENABLED - app_usbd - USB Device library
  659. //==========================================================
  660. #ifndef APP_USBD_ENABLED
  661. #define APP_USBD_ENABLED 1
  662. #endif
  663. // <s> APP_USBD_VID - Vendor ID.
  664. // <i> Note: This value is not editable in Configuration Wizard.
  665. // <i> Vendor ID ordered from USB IF: http://www.usb.org/developers/vendor/
  666. #ifndef APP_USBD_VID
  667. #define APP_USBD_VID 0x1915
  668. #endif
  669. // <s> APP_USBD_PID - Product ID.
  670. // <i> Note: This value is not editable in Configuration Wizard.
  671. // <i> Selected Product ID
  672. #ifndef APP_USBD_PID
  673. #define APP_USBD_PID 0x520F
  674. #endif
  675. // <o> APP_USBD_DEVICE_VER_MAJOR - Major device version <0-99>
  676. // <i> Major device version, will be converted automatically to BCD notation. Use just decimal values.
  677. #ifndef APP_USBD_DEVICE_VER_MAJOR
  678. #define APP_USBD_DEVICE_VER_MAJOR 1
  679. #endif
  680. // <o> APP_USBD_DEVICE_VER_MINOR - Minor device version <0-9>
  681. // <i> Minor device version, will be converted automatically to BCD notation. Use just decimal values.
  682. #ifndef APP_USBD_DEVICE_VER_MINOR
  683. #define APP_USBD_DEVICE_VER_MINOR 0
  684. #endif
  685. // <o> APP_USBD_DEVICE_VER_SUB - Sub-minor device version <0-9>
  686. // <i> Sub-minor device version, will be converted automatically to BCD notation. Use just decimal values.
  687. #ifndef APP_USBD_DEVICE_VER_SUB
  688. #define APP_USBD_DEVICE_VER_SUB 0
  689. #endif
  690. // <q> APP_USBD_CONFIG_SELF_POWERED - Self-powered device, as opposed to bus-powered.
  691. #ifndef APP_USBD_CONFIG_SELF_POWERED
  692. #define APP_USBD_CONFIG_SELF_POWERED 1
  693. #endif
  694. // <o> APP_USBD_CONFIG_MAX_POWER - MaxPower field in configuration descriptor in milliamps. <0-500>
  695. #ifndef APP_USBD_CONFIG_MAX_POWER
  696. #define APP_USBD_CONFIG_MAX_POWER 100
  697. #endif
  698. // <q> APP_USBD_CONFIG_POWER_EVENTS_PROCESS - Process power events.
  699. // <i> Enable processing power events in USB event handler.
  700. #ifndef APP_USBD_CONFIG_POWER_EVENTS_PROCESS
  701. #define APP_USBD_CONFIG_POWER_EVENTS_PROCESS 0
  702. #endif
  703. // <e> APP_USBD_CONFIG_EVENT_QUEUE_ENABLE - Enable event queue.
  704. // <i> This is the default configuration when all the events are placed into internal queue.
  705. // <i> Disable it when an external queue is used like app_scheduler or if you wish to process all events inside interrupts.
  706. // <i> Processing all events from the interrupt level adds requirement not to call any functions that modifies the USBD library state from the context higher than USB interrupt context.
  707. // <i> Functions that modify USBD state are functions for sleep, wakeup, start, stop, enable, and disable.
  708. //==========================================================
  709. #ifndef APP_USBD_CONFIG_EVENT_QUEUE_ENABLE
  710. #define APP_USBD_CONFIG_EVENT_QUEUE_ENABLE 1
  711. #endif
  712. // <o> APP_USBD_CONFIG_EVENT_QUEUE_SIZE - The size of the event queue. <16-64>
  713. // <i> The size of the queue for the events that would be processed in the main loop.
  714. #ifndef APP_USBD_CONFIG_EVENT_QUEUE_SIZE
  715. #define APP_USBD_CONFIG_EVENT_QUEUE_SIZE 32
  716. #endif
  717. // <o> APP_USBD_CONFIG_SOF_HANDLING_MODE - Change SOF events handling mode.
  718. // <i> Normal queue - SOF events are pushed normally into the event queue.
  719. // <i> Compress queue - SOF events are counted and binded with other events or executed when the queue is empty.
  720. // <i> This prevents the queue from filling up with SOF events.
  721. // <i> Interrupt - SOF events are processed in interrupt.
  722. // <0=> Normal queue
  723. // <1=> Compress queue
  724. // <2=> Interrupt
  725. #ifndef APP_USBD_CONFIG_SOF_HANDLING_MODE
  726. #define APP_USBD_CONFIG_SOF_HANDLING_MODE 1
  727. #endif
  728. // </e>
  729. // <q> APP_USBD_CONFIG_SOF_TIMESTAMP_PROVIDE - Provide a function that generates timestamps for logs based on the current SOF.
  730. // <i> The function app_usbd_sof_timestamp_get is implemented if the logger is enabled.
  731. // <i> Use it when initializing the logger.
  732. // <i> SOF processing is always enabled when this configuration parameter is active.
  733. // <i> Note: This option is configured outside of APP_USBD_CONFIG_LOG_ENABLED.
  734. // <i> This means that it works even if the logging in this very module is disabled.
  735. #ifndef APP_USBD_CONFIG_SOF_TIMESTAMP_PROVIDE
  736. #define APP_USBD_CONFIG_SOF_TIMESTAMP_PROVIDE 0
  737. #endif
  738. // <o> APP_USBD_CONFIG_DESC_STRING_SIZE - Maximum size of the NULL-terminated string of the string descriptor. <31-254>
  739. // <i> 31 characters can be stored in the internal USB buffer used for transfers.
  740. // <i> Any value higher than 31 creates an additional buffer just for descriptor strings.
  741. #ifndef APP_USBD_CONFIG_DESC_STRING_SIZE
  742. #define APP_USBD_CONFIG_DESC_STRING_SIZE 31
  743. #endif
  744. // <q> APP_USBD_CONFIG_DESC_STRING_UTF_ENABLED - Enable UTF8 conversion.
  745. // <i> Enable UTF8-encoded characters. In normal processing, only ASCII characters are available.
  746. #ifndef APP_USBD_CONFIG_DESC_STRING_UTF_ENABLED
  747. #define APP_USBD_CONFIG_DESC_STRING_UTF_ENABLED 0
  748. #endif
  749. // <s> APP_USBD_STRINGS_LANGIDS - Supported languages identifiers.
  750. // <i> Note: This value is not editable in Configuration Wizard.
  751. // <i> Comma-separated list of supported languages.
  752. #ifndef APP_USBD_STRINGS_LANGIDS
  753. #define APP_USBD_STRINGS_LANGIDS APP_USBD_LANG_AND_SUBLANG(APP_USBD_LANG_ENGLISH, APP_USBD_SUBLANG_ENGLISH_US)
  754. #endif
  755. // <e> APP_USBD_STRING_ID_MANUFACTURER - Define manufacturer string ID.
  756. // <i> Setting ID to 0 disables the string.
  757. //==========================================================
  758. #ifndef APP_USBD_STRING_ID_MANUFACTURER
  759. #define APP_USBD_STRING_ID_MANUFACTURER 1
  760. #endif
  761. // <q> APP_USBD_STRINGS_MANUFACTURER_EXTERN - Define whether @ref APP_USBD_STRINGS_MANUFACTURER is created by macro or declared as a global variable.
  762. #ifndef APP_USBD_STRINGS_MANUFACTURER_EXTERN
  763. #define APP_USBD_STRINGS_MANUFACTURER_EXTERN 0
  764. #endif
  765. // <s> APP_USBD_STRINGS_MANUFACTURER - String descriptor for the manufacturer name.
  766. // <i> Note: This value is not editable in Configuration Wizard.
  767. // <i> Comma-separated list of manufacturer names for each defined language.
  768. // <i> Use @ref APP_USBD_STRING_DESC macro to create string descriptor from a NULL-terminated string.
  769. // <i> Use @ref APP_USBD_STRING_RAW8_DESC macro to create string descriptor from comma-separated uint8_t values.
  770. // <i> Use @ref APP_USBD_STRING_RAW16_DESC macro to create string descriptor from comma-separated uint16_t values.
  771. // <i> Alternatively, configure the macro to point to any internal variable pointer that already contains the descriptor.
  772. // <i> Setting string to NULL disables that string.
  773. // <i> The order of manufacturer names must be the same like in @ref APP_USBD_STRINGS_LANGIDS.
  774. #ifndef APP_USBD_STRINGS_MANUFACTURER
  775. #define APP_USBD_STRINGS_MANUFACTURER APP_USBD_STRING_DESC("Nordic Semiconductor")
  776. #endif
  777. // </e>
  778. // <e> APP_USBD_STRING_ID_PRODUCT - Define product string ID.
  779. // <i> Setting ID to 0 disables the string.
  780. //==========================================================
  781. #ifndef APP_USBD_STRING_ID_PRODUCT
  782. #define APP_USBD_STRING_ID_PRODUCT 2
  783. #endif
  784. // <q> APP_USBD_STRINGS_PRODUCT_EXTERN - Define whether @ref APP_USBD_STRINGS_PRODUCT is created by macro or declared as a global variable.
  785. #ifndef APP_USBD_STRINGS_PRODUCT_EXTERN
  786. #define APP_USBD_STRINGS_PRODUCT_EXTERN 0
  787. #endif
  788. // <s> APP_USBD_STRINGS_PRODUCT - String descriptor for the product name.
  789. // <i> Note: This value is not editable in Configuration Wizard.
  790. // <i> List of product names that is defined the same way like in @ref APP_USBD_STRINGS_MANUFACTURER.
  791. #ifndef APP_USBD_STRINGS_PRODUCT
  792. #define APP_USBD_STRINGS_PRODUCT APP_USBD_STRING_DESC("nRF52 USB CDC Demo")
  793. #endif
  794. // </e>
  795. // <e> APP_USBD_STRING_ID_SERIAL - Define serial number string ID.
  796. // <i> Setting ID to 0 disables the string.
  797. //==========================================================
  798. #ifndef APP_USBD_STRING_ID_SERIAL
  799. #define APP_USBD_STRING_ID_SERIAL 3
  800. #endif
  801. // <q> APP_USBD_STRING_SERIAL_EXTERN - Define whether @ref APP_USBD_STRING_SERIAL is created by macro or declared as a global variable.
  802. #ifndef APP_USBD_STRING_SERIAL_EXTERN
  803. #define APP_USBD_STRING_SERIAL_EXTERN 1
  804. #endif
  805. // <s> APP_USBD_STRING_SERIAL - String descriptor for the serial number.
  806. // <i> Note: This value is not editable in Configuration Wizard.
  807. // <i> Serial number that is defined the same way like in @ref APP_USBD_STRINGS_MANUFACTURER.
  808. #ifndef APP_USBD_STRING_SERIAL
  809. #define APP_USBD_STRING_SERIAL g_extern_serial_number
  810. #endif
  811. // </e>
  812. // <e> APP_USBD_STRING_ID_CONFIGURATION - Define configuration string ID.
  813. // <i> Setting ID to 0 disables the string.
  814. //==========================================================
  815. #ifndef APP_USBD_STRING_ID_CONFIGURATION
  816. #define APP_USBD_STRING_ID_CONFIGURATION 4
  817. #endif
  818. // <q> APP_USBD_STRING_CONFIGURATION_EXTERN - Define whether @ref APP_USBD_STRINGS_CONFIGURATION is created by macro or declared as global variable.
  819. #ifndef APP_USBD_STRING_CONFIGURATION_EXTERN
  820. #define APP_USBD_STRING_CONFIGURATION_EXTERN 0
  821. #endif
  822. // <s> APP_USBD_STRINGS_CONFIGURATION - String descriptor for the device configuration.
  823. // <i> Note: This value is not editable in Configuration Wizard.
  824. // <i> Configuration string that is defined the same way like in @ref APP_USBD_STRINGS_MANUFACTURER.
  825. #ifndef APP_USBD_STRINGS_CONFIGURATION
  826. #define APP_USBD_STRINGS_CONFIGURATION APP_USBD_STRING_DESC("Default configuration")
  827. #endif
  828. // </e>
  829. // <s> APP_USBD_STRINGS_USER - Default values for user strings.
  830. // <i> Note: This value is not editable in Configuration Wizard.
  831. // <i> This value stores all application specific user strings with the default initialization.
  832. // <i> The setup is done by X-macros.
  833. // <i> Expected macro parameters:
  834. // <i> @code
  835. // <i> X(mnemonic, [=str_idx], ...)
  836. // <i> @endcode
  837. // <i> - @c mnemonic: Mnemonic of the string descriptor that would be added to
  838. // <i> @ref app_usbd_string_desc_idx_t enumerator.
  839. // <i> - @c str_idx : String index value, can be set or left empty.
  840. // <i> For example, WinUSB driver requires descriptor to be present on 0xEE index.
  841. // <i> Then use X(USBD_STRING_WINUSB, =0xEE, (APP_USBD_STRING_DESC(...)))
  842. // <i> - @c ... : List of string descriptors for each defined language.
  843. #ifndef APP_USBD_STRINGS_USER
  844. #define APP_USBD_STRINGS_USER X(APP_USER_1, , APP_USBD_STRING_DESC("User 1"))
  845. #endif
  846. // </e>
  847. // <e> APP_UART_ENABLED - app_uart - UART driver
  848. //==========================================================
  849. #ifndef APP_UART_ENABLED
  850. #define APP_UART_ENABLED 0
  851. #endif
  852. // <o> APP_UART_DRIVER_INSTANCE - UART instance used
  853. // <0=> 0
  854. #ifndef APP_UART_DRIVER_INSTANCE
  855. #define APP_UART_DRIVER_INSTANCE 0
  856. #endif
  857. // </e>
  858. // <e> NRF_BALLOC_ENABLED - nrf_balloc - Block allocator module
  859. //==========================================================
  860. #ifndef NRF_BALLOC_ENABLED
  861. #define NRF_BALLOC_ENABLED 0
  862. #endif
  863. // <e> NRF_BALLOC_CONFIG_DEBUG_ENABLED - Enables debug mode in the module.
  864. //==========================================================
  865. #ifndef NRF_BALLOC_CONFIG_DEBUG_ENABLED
  866. #define NRF_BALLOC_CONFIG_DEBUG_ENABLED 0
  867. #endif
  868. // <o> NRF_BALLOC_CONFIG_HEAD_GUARD_WORDS - Number of words used as head guard. <0-255>
  869. #ifndef NRF_BALLOC_CONFIG_HEAD_GUARD_WORDS
  870. #define NRF_BALLOC_CONFIG_HEAD_GUARD_WORDS 1
  871. #endif
  872. // <o> NRF_BALLOC_CONFIG_TAIL_GUARD_WORDS - Number of words used as tail guard. <0-255>
  873. #ifndef NRF_BALLOC_CONFIG_TAIL_GUARD_WORDS
  874. #define NRF_BALLOC_CONFIG_TAIL_GUARD_WORDS 1
  875. #endif
  876. // <q> NRF_BALLOC_CONFIG_BASIC_CHECKS_ENABLED - Enables basic checks in this module.
  877. #ifndef NRF_BALLOC_CONFIG_BASIC_CHECKS_ENABLED
  878. #define NRF_BALLOC_CONFIG_BASIC_CHECKS_ENABLED 0
  879. #endif
  880. // <q> NRF_BALLOC_CONFIG_DOUBLE_FREE_CHECK_ENABLED - Enables double memory free check in this module.
  881. #ifndef NRF_BALLOC_CONFIG_DOUBLE_FREE_CHECK_ENABLED
  882. #define NRF_BALLOC_CONFIG_DOUBLE_FREE_CHECK_ENABLED 0
  883. #endif
  884. // <q> NRF_BALLOC_CONFIG_DATA_TRASHING_CHECK_ENABLED - Enables free memory corruption check in this module.
  885. #ifndef NRF_BALLOC_CONFIG_DATA_TRASHING_CHECK_ENABLED
  886. #define NRF_BALLOC_CONFIG_DATA_TRASHING_CHECK_ENABLED 0
  887. #endif
  888. // <q> NRF_BALLOC_CLI_CMDS - Enable CLI commands specific to the module
  889. #ifndef NRF_BALLOC_CLI_CMDS
  890. #define NRF_BALLOC_CLI_CMDS 0
  891. #endif
  892. // </e>
  893. // </e>
  894. // <q> NRF_MEMOBJ_ENABLED - nrf_memobj - Linked memory allocator module
  895. #ifndef NRF_MEMOBJ_ENABLED
  896. #define NRF_MEMOBJ_ENABLED 0
  897. #endif
  898. // <q> NRF_STRERROR_ENABLED - nrf_strerror - Library for converting error code to string.
  899. #ifndef NRF_STRERROR_ENABLED
  900. #define NRF_STRERROR_ENABLED 0
  901. #endif
  902. // <q> RETARGET_ENABLED - retarget - Retargeting stdio functions
  903. #ifndef RETARGET_ENABLED
  904. #define RETARGET_ENABLED 0
  905. #endif
  906. // <h> nrf_fprintf - fprintf function.
  907. //==========================================================
  908. // <q> NRF_FPRINTF_ENABLED - Enable/disable fprintf module.
  909. #ifndef NRF_FPRINTF_ENABLED
  910. #define NRF_FPRINTF_ENABLED 1
  911. #endif
  912. // <q> NRF_FPRINTF_FLAG_AUTOMATIC_CR_ON_LF_ENABLED - For each printed LF, function will add CR.
  913. #ifndef NRF_FPRINTF_FLAG_AUTOMATIC_CR_ON_LF_ENABLED
  914. #define NRF_FPRINTF_FLAG_AUTOMATIC_CR_ON_LF_ENABLED 1
  915. #endif
  916. // <q> NRF_FPRINTF_DOUBLE_ENABLED - Enable IEEE-754 double precision formatting.
  917. #ifndef NRF_FPRINTF_DOUBLE_ENABLED
  918. #define NRF_FPRINTF_DOUBLE_ENABLED 0
  919. #endif
  920. // </h>
  921. //==========================================================
  922. // </h>
  923. //==========================================================
  924. //==========================================================
  925. // <h> app_usbd_cdc_acm - USB CDC ACM class
  926. //==========================================================
  927. // <q> APP_USBD_CDC_ACM_ENABLED - Enabling USBD CDC ACM Class library
  928. #ifndef APP_USBD_CDC_ACM_ENABLED
  929. #define APP_USBD_CDC_ACM_ENABLED 1
  930. #endif
  931. // <q> APP_USBD_CDC_ACM_ZLP_ON_EPSIZE_WRITE - Send ZLP on write with same size as endpoint
  932. // <i> If enabled, CDC ACM class will automatically send a zero length packet after transfer which has the same size as endpoint.
  933. // <i> This may limit throughput if a lot of binary data is sent, but in terminal mode operation it makes sure that the data is always displayed right after it is sent.
  934. #ifndef APP_USBD_CDC_ACM_ZLP_ON_EPSIZE_WRITE
  935. #define APP_USBD_CDC_ACM_ZLP_ON_EPSIZE_WRITE 1
  936. #endif
  937. // </h>
  938. // <h> nRF_Log
  939. //==========================================================
  940. // <e> NRF_LOG_ENABLED - nrf_log - Logger
  941. //==========================================================
  942. #ifndef NRF_LOG_ENABLED
  943. #define NRF_LOG_ENABLED 0
  944. #endif
  945. // <h> Log message pool - Configuration of log message pool
  946. //==========================================================
  947. // <o> NRF_LOG_MSGPOOL_ELEMENT_SIZE - Size of a single element in the pool of memory objects.
  948. // <i> If a small value is set, then performance of logs processing
  949. // <i> is degraded because data is fragmented. Bigger value impacts
  950. // <i> RAM memory utilization. The size is set to fit a message with
  951. // <i> a timestamp and up to 2 arguments in a single memory object.
  952. #ifndef NRF_LOG_MSGPOOL_ELEMENT_SIZE
  953. #define NRF_LOG_MSGPOOL_ELEMENT_SIZE 20
  954. #endif
  955. // <o> NRF_LOG_MSGPOOL_ELEMENT_COUNT - Number of elements in the pool of memory objects
  956. // <i> If a small value is set, then it may lead to a deadlock
  957. // <i> in certain cases if backend has high latency and holds
  958. // <i> multiple messages for long time. Bigger value impacts
  959. // <i> RAM memory usage.
  960. #ifndef NRF_LOG_MSGPOOL_ELEMENT_COUNT
  961. #define NRF_LOG_MSGPOOL_ELEMENT_COUNT 8
  962. #endif
  963. // </h>
  964. //==========================================================
  965. // <q> NRF_LOG_ALLOW_OVERFLOW - Configures behavior when circular buffer is full.
  966. // <i> If set then oldest logs are overwritten. Otherwise a
  967. // <i> marker is injected informing about overflow.
  968. #ifndef NRF_LOG_ALLOW_OVERFLOW
  969. #define NRF_LOG_ALLOW_OVERFLOW 1
  970. #endif
  971. // <o> NRF_LOG_BUFSIZE - Size of the buffer for storing logs (in bytes).
  972. // <i> Must be power of 2 and multiple of 4.
  973. // <i> If NRF_LOG_DEFERRED = 0 then buffer size can be reduced to minimum.
  974. // <128=> 128
  975. // <256=> 256
  976. // <512=> 512
  977. // <1024=> 1024
  978. // <2048=> 2048
  979. // <4096=> 4096
  980. // <8192=> 8192
  981. // <16384=> 16384
  982. #ifndef NRF_LOG_BUFSIZE
  983. #define NRF_LOG_BUFSIZE 1024
  984. #endif
  985. // <q> NRF_LOG_CLI_CMDS - Enable CLI commands for the module.
  986. #ifndef NRF_LOG_CLI_CMDS
  987. #define NRF_LOG_CLI_CMDS 0
  988. #endif
  989. // <o> NRF_LOG_DEFAULT_LEVEL - Default Severity level
  990. // <0=> Off
  991. // <1=> Error
  992. // <2=> Warning
  993. // <3=> Info
  994. // <4=> Debug
  995. #ifndef NRF_LOG_DEFAULT_LEVEL
  996. #define NRF_LOG_DEFAULT_LEVEL 3
  997. #endif
  998. // <q> NRF_LOG_DEFERRED - Enable deffered logger.
  999. // <i> Log data is buffered and can be processed in idle.
  1000. #ifndef NRF_LOG_DEFERRED
  1001. #define NRF_LOG_DEFERRED 1
  1002. #endif
  1003. // <q> NRF_LOG_FILTERS_ENABLED - Enable dynamic filtering of logs.
  1004. #ifndef NRF_LOG_FILTERS_ENABLED
  1005. #define NRF_LOG_FILTERS_ENABLED 0
  1006. #endif
  1007. // <q> NRF_LOG_NON_DEFFERED_CRITICAL_REGION_ENABLED - Enable use of critical region for non deffered mode when flushing logs.
  1008. // <i> When enabled NRF_LOG_FLUSH is called from critical section when non deffered mode is used.
  1009. // <i> Log output will never be corrupted as access to the log backend is exclusive
  1010. // <i> but system will spend significant amount of time in critical section
  1011. #ifndef NRF_LOG_NON_DEFFERED_CRITICAL_REGION_ENABLED
  1012. #define NRF_LOG_NON_DEFFERED_CRITICAL_REGION_ENABLED 0
  1013. #endif
  1014. // <o> NRF_LOG_STR_PUSH_BUFFER_SIZE - Size of the buffer dedicated for strings stored using @ref NRF_LOG_PUSH.
  1015. // <16=> 16
  1016. // <32=> 32
  1017. // <64=> 64
  1018. // <128=> 128
  1019. // <256=> 256
  1020. // <512=> 512
  1021. // <1024=> 1024
  1022. #ifndef NRF_LOG_STR_PUSH_BUFFER_SIZE
  1023. #define NRF_LOG_STR_PUSH_BUFFER_SIZE 128
  1024. #endif
  1025. // <o> NRF_LOG_STR_PUSH_BUFFER_SIZE - Size of the buffer dedicated for strings stored using @ref NRF_LOG_PUSH.
  1026. // <16=> 16
  1027. // <32=> 32
  1028. // <64=> 64
  1029. // <128=> 128
  1030. // <256=> 256
  1031. // <512=> 512
  1032. // <1024=> 1024
  1033. #ifndef NRF_LOG_STR_PUSH_BUFFER_SIZE
  1034. #define NRF_LOG_STR_PUSH_BUFFER_SIZE 128
  1035. #endif
  1036. // <e> NRF_LOG_USES_COLORS - If enabled then ANSI escape code for colors is prefixed to every string
  1037. //==========================================================
  1038. #ifndef NRF_LOG_USES_COLORS
  1039. #define NRF_LOG_USES_COLORS 0
  1040. #endif
  1041. // <o> NRF_LOG_COLOR_DEFAULT - ANSI escape code prefix.
  1042. // <0=> Default
  1043. // <1=> Black
  1044. // <2=> Red
  1045. // <3=> Green
  1046. // <4=> Yellow
  1047. // <5=> Blue
  1048. // <6=> Magenta
  1049. // <7=> Cyan
  1050. // <8=> White
  1051. #ifndef NRF_LOG_COLOR_DEFAULT
  1052. #define NRF_LOG_COLOR_DEFAULT 0
  1053. #endif
  1054. // <o> NRF_LOG_ERROR_COLOR - ANSI escape code prefix.
  1055. // <0=> Default
  1056. // <1=> Black
  1057. // <2=> Red
  1058. // <3=> Green
  1059. // <4=> Yellow
  1060. // <5=> Blue
  1061. // <6=> Magenta
  1062. // <7=> Cyan
  1063. // <8=> White
  1064. #ifndef NRF_LOG_ERROR_COLOR
  1065. #define NRF_LOG_ERROR_COLOR 2
  1066. #endif
  1067. // <o> NRF_LOG_WARNING_COLOR - ANSI escape code prefix.
  1068. // <0=> Default
  1069. // <1=> Black
  1070. // <2=> Red
  1071. // <3=> Green
  1072. // <4=> Yellow
  1073. // <5=> Blue
  1074. // <6=> Magenta
  1075. // <7=> Cyan
  1076. // <8=> White
  1077. #ifndef NRF_LOG_WARNING_COLOR
  1078. #define NRF_LOG_WARNING_COLOR 4
  1079. #endif
  1080. // </e>
  1081. // <e> NRF_LOG_USES_TIMESTAMP - Enable timestamping
  1082. // <i> Function for getting the timestamp is provided by the user
  1083. //==========================================================
  1084. #ifndef NRF_LOG_USES_TIMESTAMP
  1085. #define NRF_LOG_USES_TIMESTAMP 0
  1086. #endif
  1087. // <o> NRF_LOG_TIMESTAMP_DEFAULT_FREQUENCY - Default frequency of the timestamp (in Hz) or 0 to use app_timer frequency.
  1088. #ifndef NRF_LOG_TIMESTAMP_DEFAULT_FREQUENCY
  1089. #define NRF_LOG_TIMESTAMP_DEFAULT_FREQUENCY 0
  1090. #endif
  1091. // </e>
  1092. // <h> nrf_log module configuration
  1093. //==========================================================
  1094. // <h> nrf_log in nRF_Core
  1095. //==========================================================
  1096. // <e> NRF_MPU_LIB_CONFIG_LOG_ENABLED - Enables logging in the module.
  1097. //==========================================================
  1098. #ifndef NRF_MPU_LIB_CONFIG_LOG_ENABLED
  1099. #define NRF_MPU_LIB_CONFIG_LOG_ENABLED 0
  1100. #endif
  1101. // <o> NRF_MPU_LIB_CONFIG_LOG_LEVEL - Default Severity level
  1102. // <0=> Off
  1103. // <1=> Error
  1104. // <2=> Warning
  1105. // <3=> Info
  1106. // <4=> Debug
  1107. #ifndef NRF_MPU_LIB_CONFIG_LOG_LEVEL
  1108. #define NRF_MPU_LIB_CONFIG_LOG_LEVEL 3
  1109. #endif
  1110. // <o> NRF_MPU_LIB_CONFIG_INFO_COLOR - ANSI escape code prefix.
  1111. // <0=> Default
  1112. // <1=> Black
  1113. // <2=> Red
  1114. // <3=> Green
  1115. // <4=> Yellow
  1116. // <5=> Blue
  1117. // <6=> Magenta
  1118. // <7=> Cyan
  1119. // <8=> White
  1120. #ifndef NRF_MPU_LIB_CONFIG_INFO_COLOR
  1121. #define NRF_MPU_LIB_CONFIG_INFO_COLOR 0
  1122. #endif
  1123. // <o> NRF_MPU_LIB_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  1124. // <0=> Default
  1125. // <1=> Black
  1126. // <2=> Red
  1127. // <3=> Green
  1128. // <4=> Yellow
  1129. // <5=> Blue
  1130. // <6=> Magenta
  1131. // <7=> Cyan
  1132. // <8=> White
  1133. #ifndef NRF_MPU_LIB_CONFIG_DEBUG_COLOR
  1134. #define NRF_MPU_LIB_CONFIG_DEBUG_COLOR 0
  1135. #endif
  1136. // </e>
  1137. // <e> NRF_STACK_GUARD_CONFIG_LOG_ENABLED - Enables logging in the module.
  1138. //==========================================================
  1139. #ifndef NRF_STACK_GUARD_CONFIG_LOG_ENABLED
  1140. #define NRF_STACK_GUARD_CONFIG_LOG_ENABLED 0
  1141. #endif
  1142. // <o> NRF_STACK_GUARD_CONFIG_LOG_LEVEL - Default Severity level
  1143. // <0=> Off
  1144. // <1=> Error
  1145. // <2=> Warning
  1146. // <3=> Info
  1147. // <4=> Debug
  1148. #ifndef NRF_STACK_GUARD_CONFIG_LOG_LEVEL
  1149. #define NRF_STACK_GUARD_CONFIG_LOG_LEVEL 3
  1150. #endif
  1151. // <o> NRF_STACK_GUARD_CONFIG_INFO_COLOR - ANSI escape code prefix.
  1152. // <0=> Default
  1153. // <1=> Black
  1154. // <2=> Red
  1155. // <3=> Green
  1156. // <4=> Yellow
  1157. // <5=> Blue
  1158. // <6=> Magenta
  1159. // <7=> Cyan
  1160. // <8=> White
  1161. #ifndef NRF_STACK_GUARD_CONFIG_INFO_COLOR
  1162. #define NRF_STACK_GUARD_CONFIG_INFO_COLOR 0
  1163. #endif
  1164. // <o> NRF_STACK_GUARD_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  1165. // <0=> Default
  1166. // <1=> Black
  1167. // <2=> Red
  1168. // <3=> Green
  1169. // <4=> Yellow
  1170. // <5=> Blue
  1171. // <6=> Magenta
  1172. // <7=> Cyan
  1173. // <8=> White
  1174. #ifndef NRF_STACK_GUARD_CONFIG_DEBUG_COLOR
  1175. #define NRF_STACK_GUARD_CONFIG_DEBUG_COLOR 0
  1176. #endif
  1177. // </e>
  1178. // <e> TASK_MANAGER_CONFIG_LOG_ENABLED - Enables logging in the module.
  1179. //==========================================================
  1180. #ifndef TASK_MANAGER_CONFIG_LOG_ENABLED
  1181. #define TASK_MANAGER_CONFIG_LOG_ENABLED 0
  1182. #endif
  1183. // <o> TASK_MANAGER_CONFIG_LOG_LEVEL - Default Severity level
  1184. // <0=> Off
  1185. // <1=> Error
  1186. // <2=> Warning
  1187. // <3=> Info
  1188. // <4=> Debug
  1189. #ifndef TASK_MANAGER_CONFIG_LOG_LEVEL
  1190. #define TASK_MANAGER_CONFIG_LOG_LEVEL 3
  1191. #endif
  1192. // <o> TASK_MANAGER_CONFIG_INFO_COLOR - ANSI escape code prefix.
  1193. // <0=> Default
  1194. // <1=> Black
  1195. // <2=> Red
  1196. // <3=> Green
  1197. // <4=> Yellow
  1198. // <5=> Blue
  1199. // <6=> Magenta
  1200. // <7=> Cyan
  1201. // <8=> White
  1202. #ifndef TASK_MANAGER_CONFIG_INFO_COLOR
  1203. #define TASK_MANAGER_CONFIG_INFO_COLOR 0
  1204. #endif
  1205. // <o> TASK_MANAGER_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  1206. // <0=> Default
  1207. // <1=> Black
  1208. // <2=> Red
  1209. // <3=> Green
  1210. // <4=> Yellow
  1211. // <5=> Blue
  1212. // <6=> Magenta
  1213. // <7=> Cyan
  1214. // <8=> White
  1215. #ifndef TASK_MANAGER_CONFIG_DEBUG_COLOR
  1216. #define TASK_MANAGER_CONFIG_DEBUG_COLOR 0
  1217. #endif
  1218. // </e>
  1219. // </h>
  1220. //==========================================================
  1221. // <h> nrf_log in nRF_Drivers
  1222. //==========================================================
  1223. // <e> CLOCK_CONFIG_LOG_ENABLED - Enables logging in the module.
  1224. //==========================================================
  1225. #ifndef CLOCK_CONFIG_LOG_ENABLED
  1226. #define CLOCK_CONFIG_LOG_ENABLED 0
  1227. #endif
  1228. // <o> CLOCK_CONFIG_LOG_LEVEL - Default Severity level
  1229. // <0=> Off
  1230. // <1=> Error
  1231. // <2=> Warning
  1232. // <3=> Info
  1233. // <4=> Debug
  1234. #ifndef CLOCK_CONFIG_LOG_LEVEL
  1235. #define CLOCK_CONFIG_LOG_LEVEL 3
  1236. #endif
  1237. // <o> CLOCK_CONFIG_INFO_COLOR - ANSI escape code prefix.
  1238. // <0=> Default
  1239. // <1=> Black
  1240. // <2=> Red
  1241. // <3=> Green
  1242. // <4=> Yellow
  1243. // <5=> Blue
  1244. // <6=> Magenta
  1245. // <7=> Cyan
  1246. // <8=> White
  1247. #ifndef CLOCK_CONFIG_INFO_COLOR
  1248. #define CLOCK_CONFIG_INFO_COLOR 0
  1249. #endif
  1250. // <o> CLOCK_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  1251. // <0=> Default
  1252. // <1=> Black
  1253. // <2=> Red
  1254. // <3=> Green
  1255. // <4=> Yellow
  1256. // <5=> Blue
  1257. // <6=> Magenta
  1258. // <7=> Cyan
  1259. // <8=> White
  1260. #ifndef CLOCK_CONFIG_DEBUG_COLOR
  1261. #define CLOCK_CONFIG_DEBUG_COLOR 0
  1262. #endif
  1263. // </e>
  1264. // <e> COMP_CONFIG_LOG_ENABLED - Enables logging in the module.
  1265. //==========================================================
  1266. #ifndef COMP_CONFIG_LOG_ENABLED
  1267. #define COMP_CONFIG_LOG_ENABLED 0
  1268. #endif
  1269. // <o> COMP_CONFIG_LOG_LEVEL - Default Severity level
  1270. // <0=> Off
  1271. // <1=> Error
  1272. // <2=> Warning
  1273. // <3=> Info
  1274. // <4=> Debug
  1275. #ifndef COMP_CONFIG_LOG_LEVEL
  1276. #define COMP_CONFIG_LOG_LEVEL 3
  1277. #endif
  1278. // <o> COMP_CONFIG_INFO_COLOR - ANSI escape code prefix.
  1279. // <0=> Default
  1280. // <1=> Black
  1281. // <2=> Red
  1282. // <3=> Green
  1283. // <4=> Yellow
  1284. // <5=> Blue
  1285. // <6=> Magenta
  1286. // <7=> Cyan
  1287. // <8=> White
  1288. #ifndef COMP_CONFIG_INFO_COLOR
  1289. #define COMP_CONFIG_INFO_COLOR 0
  1290. #endif
  1291. // <o> COMP_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  1292. // <0=> Default
  1293. // <1=> Black
  1294. // <2=> Red
  1295. // <3=> Green
  1296. // <4=> Yellow
  1297. // <5=> Blue
  1298. // <6=> Magenta
  1299. // <7=> Cyan
  1300. // <8=> White
  1301. #ifndef COMP_CONFIG_DEBUG_COLOR
  1302. #define COMP_CONFIG_DEBUG_COLOR 0
  1303. #endif
  1304. // </e>
  1305. // <e> GPIOTE_CONFIG_LOG_ENABLED - Enables logging in the module.
  1306. //==========================================================
  1307. #ifndef GPIOTE_CONFIG_LOG_ENABLED
  1308. #define GPIOTE_CONFIG_LOG_ENABLED 0
  1309. #endif
  1310. // <o> GPIOTE_CONFIG_LOG_LEVEL - Default Severity level
  1311. // <0=> Off
  1312. // <1=> Error
  1313. // <2=> Warning
  1314. // <3=> Info
  1315. // <4=> Debug
  1316. #ifndef GPIOTE_CONFIG_LOG_LEVEL
  1317. #define GPIOTE_CONFIG_LOG_LEVEL 3
  1318. #endif
  1319. // <o> GPIOTE_CONFIG_INFO_COLOR - ANSI escape code prefix.
  1320. // <0=> Default
  1321. // <1=> Black
  1322. // <2=> Red
  1323. // <3=> Green
  1324. // <4=> Yellow
  1325. // <5=> Blue
  1326. // <6=> Magenta
  1327. // <7=> Cyan
  1328. // <8=> White
  1329. #ifndef GPIOTE_CONFIG_INFO_COLOR
  1330. #define GPIOTE_CONFIG_INFO_COLOR 0
  1331. #endif
  1332. // <o> GPIOTE_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  1333. // <0=> Default
  1334. // <1=> Black
  1335. // <2=> Red
  1336. // <3=> Green
  1337. // <4=> Yellow
  1338. // <5=> Blue
  1339. // <6=> Magenta
  1340. // <7=> Cyan
  1341. // <8=> White
  1342. #ifndef GPIOTE_CONFIG_DEBUG_COLOR
  1343. #define GPIOTE_CONFIG_DEBUG_COLOR 0
  1344. #endif
  1345. // </e>
  1346. // <e> LPCOMP_CONFIG_LOG_ENABLED - Enables logging in the module.
  1347. //==========================================================
  1348. #ifndef LPCOMP_CONFIG_LOG_ENABLED
  1349. #define LPCOMP_CONFIG_LOG_ENABLED 0
  1350. #endif
  1351. // <o> LPCOMP_CONFIG_LOG_LEVEL - Default Severity level
  1352. // <0=> Off
  1353. // <1=> Error
  1354. // <2=> Warning
  1355. // <3=> Info
  1356. // <4=> Debug
  1357. #ifndef LPCOMP_CONFIG_LOG_LEVEL
  1358. #define LPCOMP_CONFIG_LOG_LEVEL 3
  1359. #endif
  1360. // <o> LPCOMP_CONFIG_INFO_COLOR - ANSI escape code prefix.
  1361. // <0=> Default
  1362. // <1=> Black
  1363. // <2=> Red
  1364. // <3=> Green
  1365. // <4=> Yellow
  1366. // <5=> Blue
  1367. // <6=> Magenta
  1368. // <7=> Cyan
  1369. // <8=> White
  1370. #ifndef LPCOMP_CONFIG_INFO_COLOR
  1371. #define LPCOMP_CONFIG_INFO_COLOR 0
  1372. #endif
  1373. // <o> LPCOMP_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  1374. // <0=> Default
  1375. // <1=> Black
  1376. // <2=> Red
  1377. // <3=> Green
  1378. // <4=> Yellow
  1379. // <5=> Blue
  1380. // <6=> Magenta
  1381. // <7=> Cyan
  1382. // <8=> White
  1383. #ifndef LPCOMP_CONFIG_DEBUG_COLOR
  1384. #define LPCOMP_CONFIG_DEBUG_COLOR 0
  1385. #endif
  1386. // </e>
  1387. // <e> MAX3421E_HOST_CONFIG_LOG_ENABLED - Enable logging in the module
  1388. //==========================================================
  1389. #ifndef MAX3421E_HOST_CONFIG_LOG_ENABLED
  1390. #define MAX3421E_HOST_CONFIG_LOG_ENABLED 0
  1391. #endif
  1392. // <o> MAX3421E_HOST_CONFIG_LOG_LEVEL - Default Severity level
  1393. // <0=> Off
  1394. // <1=> Error
  1395. // <2=> Warning
  1396. // <3=> Info
  1397. // <4=> Debug
  1398. #ifndef MAX3421E_HOST_CONFIG_LOG_LEVEL
  1399. #define MAX3421E_HOST_CONFIG_LOG_LEVEL 3
  1400. #endif
  1401. // <o> MAX3421E_HOST_CONFIG_INFO_COLOR - ANSI escape code prefix.
  1402. // <0=> Default
  1403. // <1=> Black
  1404. // <2=> Red
  1405. // <3=> Green
  1406. // <4=> Yellow
  1407. // <5=> Blue
  1408. // <6=> Magenta
  1409. // <7=> Cyan
  1410. // <8=> White
  1411. #ifndef MAX3421E_HOST_CONFIG_INFO_COLOR
  1412. #define MAX3421E_HOST_CONFIG_INFO_COLOR 0
  1413. #endif
  1414. // <o> MAX3421E_HOST_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  1415. // <0=> Default
  1416. // <1=> Black
  1417. // <2=> Red
  1418. // <3=> Green
  1419. // <4=> Yellow
  1420. // <5=> Blue
  1421. // <6=> Magenta
  1422. // <7=> Cyan
  1423. // <8=> White
  1424. #ifndef MAX3421E_HOST_CONFIG_DEBUG_COLOR
  1425. #define MAX3421E_HOST_CONFIG_DEBUG_COLOR 0
  1426. #endif
  1427. // </e>
  1428. // <e> NRFX_USBD_CONFIG_LOG_ENABLED - Enable logging in the module
  1429. //==========================================================
  1430. #ifndef NRFX_USBD_CONFIG_LOG_ENABLED
  1431. #define NRFX_USBD_CONFIG_LOG_ENABLED 0
  1432. #endif
  1433. // <o> NRFX_USBD_CONFIG_LOG_LEVEL - Default Severity level
  1434. // <0=> Off
  1435. // <1=> Error
  1436. // <2=> Warning
  1437. // <3=> Info
  1438. // <4=> Debug
  1439. #ifndef NRFX_USBD_CONFIG_LOG_LEVEL
  1440. #define NRFX_USBD_CONFIG_LOG_LEVEL 3
  1441. #endif
  1442. // <o> NRFX_USBD_CONFIG_INFO_COLOR - ANSI escape code prefix.
  1443. // <0=> Default
  1444. // <1=> Black
  1445. // <2=> Red
  1446. // <3=> Green
  1447. // <4=> Yellow
  1448. // <5=> Blue
  1449. // <6=> Magenta
  1450. // <7=> Cyan
  1451. // <8=> White
  1452. #ifndef NRFX_USBD_CONFIG_INFO_COLOR
  1453. #define NRFX_USBD_CONFIG_INFO_COLOR 0
  1454. #endif
  1455. // <o> NRFX_USBD_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  1456. // <0=> Default
  1457. // <1=> Black
  1458. // <2=> Red
  1459. // <3=> Green
  1460. // <4=> Yellow
  1461. // <5=> Blue
  1462. // <6=> Magenta
  1463. // <7=> Cyan
  1464. // <8=> White
  1465. #ifndef NRFX_USBD_CONFIG_DEBUG_COLOR
  1466. #define NRFX_USBD_CONFIG_DEBUG_COLOR 0
  1467. #endif
  1468. // </e>
  1469. // <e> PDM_CONFIG_LOG_ENABLED - Enables logging in the module.
  1470. //==========================================================
  1471. #ifndef PDM_CONFIG_LOG_ENABLED
  1472. #define PDM_CONFIG_LOG_ENABLED 0
  1473. #endif
  1474. // <o> PDM_CONFIG_LOG_LEVEL - Default Severity level
  1475. // <0=> Off
  1476. // <1=> Error
  1477. // <2=> Warning
  1478. // <3=> Info
  1479. // <4=> Debug
  1480. #ifndef PDM_CONFIG_LOG_LEVEL
  1481. #define PDM_CONFIG_LOG_LEVEL 3
  1482. #endif
  1483. // <o> PDM_CONFIG_INFO_COLOR - ANSI escape code prefix.
  1484. // <0=> Default
  1485. // <1=> Black
  1486. // <2=> Red
  1487. // <3=> Green
  1488. // <4=> Yellow
  1489. // <5=> Blue
  1490. // <6=> Magenta
  1491. // <7=> Cyan
  1492. // <8=> White
  1493. #ifndef PDM_CONFIG_INFO_COLOR
  1494. #define PDM_CONFIG_INFO_COLOR 0
  1495. #endif
  1496. // <o> PDM_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  1497. // <0=> Default
  1498. // <1=> Black
  1499. // <2=> Red
  1500. // <3=> Green
  1501. // <4=> Yellow
  1502. // <5=> Blue
  1503. // <6=> Magenta
  1504. // <7=> Cyan
  1505. // <8=> White
  1506. #ifndef PDM_CONFIG_DEBUG_COLOR
  1507. #define PDM_CONFIG_DEBUG_COLOR 0
  1508. #endif
  1509. // </e>
  1510. // <e> PPI_CONFIG_LOG_ENABLED - Enables logging in the module.
  1511. //==========================================================
  1512. #ifndef PPI_CONFIG_LOG_ENABLED
  1513. #define PPI_CONFIG_LOG_ENABLED 0
  1514. #endif
  1515. // <o> PPI_CONFIG_LOG_LEVEL - Default Severity level
  1516. // <0=> Off
  1517. // <1=> Error
  1518. // <2=> Warning
  1519. // <3=> Info
  1520. // <4=> Debug
  1521. #ifndef PPI_CONFIG_LOG_LEVEL
  1522. #define PPI_CONFIG_LOG_LEVEL 3
  1523. #endif
  1524. // <o> PPI_CONFIG_INFO_COLOR - ANSI escape code prefix.
  1525. // <0=> Default
  1526. // <1=> Black
  1527. // <2=> Red
  1528. // <3=> Green
  1529. // <4=> Yellow
  1530. // <5=> Blue
  1531. // <6=> Magenta
  1532. // <7=> Cyan
  1533. // <8=> White
  1534. #ifndef PPI_CONFIG_INFO_COLOR
  1535. #define PPI_CONFIG_INFO_COLOR 0
  1536. #endif
  1537. // <o> PPI_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  1538. // <0=> Default
  1539. // <1=> Black
  1540. // <2=> Red
  1541. // <3=> Green
  1542. // <4=> Yellow
  1543. // <5=> Blue
  1544. // <6=> Magenta
  1545. // <7=> Cyan
  1546. // <8=> White
  1547. #ifndef PPI_CONFIG_DEBUG_COLOR
  1548. #define PPI_CONFIG_DEBUG_COLOR 0
  1549. #endif
  1550. // </e>
  1551. // <e> PWM_CONFIG_LOG_ENABLED - Enables logging in the module.
  1552. //==========================================================
  1553. #ifndef PWM_CONFIG_LOG_ENABLED
  1554. #define PWM_CONFIG_LOG_ENABLED 0
  1555. #endif
  1556. // <o> PWM_CONFIG_LOG_LEVEL - Default Severity level
  1557. // <0=> Off
  1558. // <1=> Error
  1559. // <2=> Warning
  1560. // <3=> Info
  1561. // <4=> Debug
  1562. #ifndef PWM_CONFIG_LOG_LEVEL
  1563. #define PWM_CONFIG_LOG_LEVEL 3
  1564. #endif
  1565. // <o> PWM_CONFIG_INFO_COLOR - ANSI escape code prefix.
  1566. // <0=> Default
  1567. // <1=> Black
  1568. // <2=> Red
  1569. // <3=> Green
  1570. // <4=> Yellow
  1571. // <5=> Blue
  1572. // <6=> Magenta
  1573. // <7=> Cyan
  1574. // <8=> White
  1575. #ifndef PWM_CONFIG_INFO_COLOR
  1576. #define PWM_CONFIG_INFO_COLOR 0
  1577. #endif
  1578. // <o> PWM_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  1579. // <0=> Default
  1580. // <1=> Black
  1581. // <2=> Red
  1582. // <3=> Green
  1583. // <4=> Yellow
  1584. // <5=> Blue
  1585. // <6=> Magenta
  1586. // <7=> Cyan
  1587. // <8=> White
  1588. #ifndef PWM_CONFIG_DEBUG_COLOR
  1589. #define PWM_CONFIG_DEBUG_COLOR 0
  1590. #endif
  1591. // </e>
  1592. // <e> QDEC_CONFIG_LOG_ENABLED - Enables logging in the module.
  1593. //==========================================================
  1594. #ifndef QDEC_CONFIG_LOG_ENABLED
  1595. #define QDEC_CONFIG_LOG_ENABLED 0
  1596. #endif
  1597. // <o> QDEC_CONFIG_LOG_LEVEL - Default Severity level
  1598. // <0=> Off
  1599. // <1=> Error
  1600. // <2=> Warning
  1601. // <3=> Info
  1602. // <4=> Debug
  1603. #ifndef QDEC_CONFIG_LOG_LEVEL
  1604. #define QDEC_CONFIG_LOG_LEVEL 3
  1605. #endif
  1606. // <o> QDEC_CONFIG_INFO_COLOR - ANSI escape code prefix.
  1607. // <0=> Default
  1608. // <1=> Black
  1609. // <2=> Red
  1610. // <3=> Green
  1611. // <4=> Yellow
  1612. // <5=> Blue
  1613. // <6=> Magenta
  1614. // <7=> Cyan
  1615. // <8=> White
  1616. #ifndef QDEC_CONFIG_INFO_COLOR
  1617. #define QDEC_CONFIG_INFO_COLOR 0
  1618. #endif
  1619. // <o> QDEC_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  1620. // <0=> Default
  1621. // <1=> Black
  1622. // <2=> Red
  1623. // <3=> Green
  1624. // <4=> Yellow
  1625. // <5=> Blue
  1626. // <6=> Magenta
  1627. // <7=> Cyan
  1628. // <8=> White
  1629. #ifndef QDEC_CONFIG_DEBUG_COLOR
  1630. #define QDEC_CONFIG_DEBUG_COLOR 0
  1631. #endif
  1632. // </e>
  1633. // <e> RNG_CONFIG_LOG_ENABLED - Enables logging in the module.
  1634. //==========================================================
  1635. #ifndef RNG_CONFIG_LOG_ENABLED
  1636. #define RNG_CONFIG_LOG_ENABLED 0
  1637. #endif
  1638. // <o> RNG_CONFIG_LOG_LEVEL - Default Severity level
  1639. // <0=> Off
  1640. // <1=> Error
  1641. // <2=> Warning
  1642. // <3=> Info
  1643. // <4=> Debug
  1644. #ifndef RNG_CONFIG_LOG_LEVEL
  1645. #define RNG_CONFIG_LOG_LEVEL 3
  1646. #endif
  1647. // <o> RNG_CONFIG_INFO_COLOR - ANSI escape code prefix.
  1648. // <0=> Default
  1649. // <1=> Black
  1650. // <2=> Red
  1651. // <3=> Green
  1652. // <4=> Yellow
  1653. // <5=> Blue
  1654. // <6=> Magenta
  1655. // <7=> Cyan
  1656. // <8=> White
  1657. #ifndef RNG_CONFIG_INFO_COLOR
  1658. #define RNG_CONFIG_INFO_COLOR 0
  1659. #endif
  1660. // <o> RNG_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  1661. // <0=> Default
  1662. // <1=> Black
  1663. // <2=> Red
  1664. // <3=> Green
  1665. // <4=> Yellow
  1666. // <5=> Blue
  1667. // <6=> Magenta
  1668. // <7=> Cyan
  1669. // <8=> White
  1670. #ifndef RNG_CONFIG_DEBUG_COLOR
  1671. #define RNG_CONFIG_DEBUG_COLOR 0
  1672. #endif
  1673. // <q> RNG_CONFIG_RANDOM_NUMBER_LOG_ENABLED - Enables logging of random numbers.
  1674. #ifndef RNG_CONFIG_RANDOM_NUMBER_LOG_ENABLED
  1675. #define RNG_CONFIG_RANDOM_NUMBER_LOG_ENABLED 0
  1676. #endif
  1677. // </e>
  1678. // <e> RTC_CONFIG_LOG_ENABLED - Enables logging in the module.
  1679. //==========================================================
  1680. #ifndef RTC_CONFIG_LOG_ENABLED
  1681. #define RTC_CONFIG_LOG_ENABLED 0
  1682. #endif
  1683. // <o> RTC_CONFIG_LOG_LEVEL - Default Severity level
  1684. // <0=> Off
  1685. // <1=> Error
  1686. // <2=> Warning
  1687. // <3=> Info
  1688. // <4=> Debug
  1689. #ifndef RTC_CONFIG_LOG_LEVEL
  1690. #define RTC_CONFIG_LOG_LEVEL 3
  1691. #endif
  1692. // <o> RTC_CONFIG_INFO_COLOR - ANSI escape code prefix.
  1693. // <0=> Default
  1694. // <1=> Black
  1695. // <2=> Red
  1696. // <3=> Green
  1697. // <4=> Yellow
  1698. // <5=> Blue
  1699. // <6=> Magenta
  1700. // <7=> Cyan
  1701. // <8=> White
  1702. #ifndef RTC_CONFIG_INFO_COLOR
  1703. #define RTC_CONFIG_INFO_COLOR 0
  1704. #endif
  1705. // <o> RTC_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  1706. // <0=> Default
  1707. // <1=> Black
  1708. // <2=> Red
  1709. // <3=> Green
  1710. // <4=> Yellow
  1711. // <5=> Blue
  1712. // <6=> Magenta
  1713. // <7=> Cyan
  1714. // <8=> White
  1715. #ifndef RTC_CONFIG_DEBUG_COLOR
  1716. #define RTC_CONFIG_DEBUG_COLOR 0
  1717. #endif
  1718. // </e>
  1719. // <e> SAADC_CONFIG_LOG_ENABLED - Enables logging in the module.
  1720. //==========================================================
  1721. #ifndef SAADC_CONFIG_LOG_ENABLED
  1722. #define SAADC_CONFIG_LOG_ENABLED 0
  1723. #endif
  1724. // <o> SAADC_CONFIG_LOG_LEVEL - Default Severity level
  1725. // <0=> Off
  1726. // <1=> Error
  1727. // <2=> Warning
  1728. // <3=> Info
  1729. // <4=> Debug
  1730. #ifndef SAADC_CONFIG_LOG_LEVEL
  1731. #define SAADC_CONFIG_LOG_LEVEL 3
  1732. #endif
  1733. // <o> SAADC_CONFIG_INFO_COLOR - ANSI escape code prefix.
  1734. // <0=> Default
  1735. // <1=> Black
  1736. // <2=> Red
  1737. // <3=> Green
  1738. // <4=> Yellow
  1739. // <5=> Blue
  1740. // <6=> Magenta
  1741. // <7=> Cyan
  1742. // <8=> White
  1743. #ifndef SAADC_CONFIG_INFO_COLOR
  1744. #define SAADC_CONFIG_INFO_COLOR 0
  1745. #endif
  1746. // <o> SAADC_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  1747. // <0=> Default
  1748. // <1=> Black
  1749. // <2=> Red
  1750. // <3=> Green
  1751. // <4=> Yellow
  1752. // <5=> Blue
  1753. // <6=> Magenta
  1754. // <7=> Cyan
  1755. // <8=> White
  1756. #ifndef SAADC_CONFIG_DEBUG_COLOR
  1757. #define SAADC_CONFIG_DEBUG_COLOR 0
  1758. #endif
  1759. // </e>
  1760. // <e> SPIS_CONFIG_LOG_ENABLED - Enables logging in the module.
  1761. //==========================================================
  1762. #ifndef SPIS_CONFIG_LOG_ENABLED
  1763. #define SPIS_CONFIG_LOG_ENABLED 0
  1764. #endif
  1765. // <o> SPIS_CONFIG_LOG_LEVEL - Default Severity level
  1766. // <0=> Off
  1767. // <1=> Error
  1768. // <2=> Warning
  1769. // <3=> Info
  1770. // <4=> Debug
  1771. #ifndef SPIS_CONFIG_LOG_LEVEL
  1772. #define SPIS_CONFIG_LOG_LEVEL 3
  1773. #endif
  1774. // <o> SPIS_CONFIG_INFO_COLOR - ANSI escape code prefix.
  1775. // <0=> Default
  1776. // <1=> Black
  1777. // <2=> Red
  1778. // <3=> Green
  1779. // <4=> Yellow
  1780. // <5=> Blue
  1781. // <6=> Magenta
  1782. // <7=> Cyan
  1783. // <8=> White
  1784. #ifndef SPIS_CONFIG_INFO_COLOR
  1785. #define SPIS_CONFIG_INFO_COLOR 0
  1786. #endif
  1787. // <o> SPIS_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  1788. // <0=> Default
  1789. // <1=> Black
  1790. // <2=> Red
  1791. // <3=> Green
  1792. // <4=> Yellow
  1793. // <5=> Blue
  1794. // <6=> Magenta
  1795. // <7=> Cyan
  1796. // <8=> White
  1797. #ifndef SPIS_CONFIG_DEBUG_COLOR
  1798. #define SPIS_CONFIG_DEBUG_COLOR 0
  1799. #endif
  1800. // </e>
  1801. // <e> SPI_CONFIG_LOG_ENABLED - Enables logging in the module.
  1802. //==========================================================
  1803. #ifndef SPI_CONFIG_LOG_ENABLED
  1804. #define SPI_CONFIG_LOG_ENABLED 0
  1805. #endif
  1806. // <o> SPI_CONFIG_LOG_LEVEL - Default Severity level
  1807. // <0=> Off
  1808. // <1=> Error
  1809. // <2=> Warning
  1810. // <3=> Info
  1811. // <4=> Debug
  1812. #ifndef SPI_CONFIG_LOG_LEVEL
  1813. #define SPI_CONFIG_LOG_LEVEL 3
  1814. #endif
  1815. // <o> SPI_CONFIG_INFO_COLOR - ANSI escape code prefix.
  1816. // <0=> Default
  1817. // <1=> Black
  1818. // <2=> Red
  1819. // <3=> Green
  1820. // <4=> Yellow
  1821. // <5=> Blue
  1822. // <6=> Magenta
  1823. // <7=> Cyan
  1824. // <8=> White
  1825. #ifndef SPI_CONFIG_INFO_COLOR
  1826. #define SPI_CONFIG_INFO_COLOR 0
  1827. #endif
  1828. // <o> SPI_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  1829. // <0=> Default
  1830. // <1=> Black
  1831. // <2=> Red
  1832. // <3=> Green
  1833. // <4=> Yellow
  1834. // <5=> Blue
  1835. // <6=> Magenta
  1836. // <7=> Cyan
  1837. // <8=> White
  1838. #ifndef SPI_CONFIG_DEBUG_COLOR
  1839. #define SPI_CONFIG_DEBUG_COLOR 0
  1840. #endif
  1841. // </e>
  1842. // <e> TIMER_CONFIG_LOG_ENABLED - Enables logging in the module.
  1843. //==========================================================
  1844. #ifndef TIMER_CONFIG_LOG_ENABLED
  1845. #define TIMER_CONFIG_LOG_ENABLED 0
  1846. #endif
  1847. // <o> TIMER_CONFIG_LOG_LEVEL - Default Severity level
  1848. // <0=> Off
  1849. // <1=> Error
  1850. // <2=> Warning
  1851. // <3=> Info
  1852. // <4=> Debug
  1853. #ifndef TIMER_CONFIG_LOG_LEVEL
  1854. #define TIMER_CONFIG_LOG_LEVEL 3
  1855. #endif
  1856. // <o> TIMER_CONFIG_INFO_COLOR - ANSI escape code prefix.
  1857. // <0=> Default
  1858. // <1=> Black
  1859. // <2=> Red
  1860. // <3=> Green
  1861. // <4=> Yellow
  1862. // <5=> Blue
  1863. // <6=> Magenta
  1864. // <7=> Cyan
  1865. // <8=> White
  1866. #ifndef TIMER_CONFIG_INFO_COLOR
  1867. #define TIMER_CONFIG_INFO_COLOR 0
  1868. #endif
  1869. // <o> TIMER_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  1870. // <0=> Default
  1871. // <1=> Black
  1872. // <2=> Red
  1873. // <3=> Green
  1874. // <4=> Yellow
  1875. // <5=> Blue
  1876. // <6=> Magenta
  1877. // <7=> Cyan
  1878. // <8=> White
  1879. #ifndef TIMER_CONFIG_DEBUG_COLOR
  1880. #define TIMER_CONFIG_DEBUG_COLOR 0
  1881. #endif
  1882. // </e>
  1883. // <e> TWIS_CONFIG_LOG_ENABLED - Enables logging in the module.
  1884. //==========================================================
  1885. #ifndef TWIS_CONFIG_LOG_ENABLED
  1886. #define TWIS_CONFIG_LOG_ENABLED 0
  1887. #endif
  1888. // <o> TWIS_CONFIG_LOG_LEVEL - Default Severity level
  1889. // <0=> Off
  1890. // <1=> Error
  1891. // <2=> Warning
  1892. // <3=> Info
  1893. // <4=> Debug
  1894. #ifndef TWIS_CONFIG_LOG_LEVEL
  1895. #define TWIS_CONFIG_LOG_LEVEL 3
  1896. #endif
  1897. // <o> TWIS_CONFIG_INFO_COLOR - ANSI escape code prefix.
  1898. // <0=> Default
  1899. // <1=> Black
  1900. // <2=> Red
  1901. // <3=> Green
  1902. // <4=> Yellow
  1903. // <5=> Blue
  1904. // <6=> Magenta
  1905. // <7=> Cyan
  1906. // <8=> White
  1907. #ifndef TWIS_CONFIG_INFO_COLOR
  1908. #define TWIS_CONFIG_INFO_COLOR 0
  1909. #endif
  1910. // <o> TWIS_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  1911. // <0=> Default
  1912. // <1=> Black
  1913. // <2=> Red
  1914. // <3=> Green
  1915. // <4=> Yellow
  1916. // <5=> Blue
  1917. // <6=> Magenta
  1918. // <7=> Cyan
  1919. // <8=> White
  1920. #ifndef TWIS_CONFIG_DEBUG_COLOR
  1921. #define TWIS_CONFIG_DEBUG_COLOR 0
  1922. #endif
  1923. // </e>
  1924. // <e> TWI_CONFIG_LOG_ENABLED - Enables logging in the module.
  1925. //==========================================================
  1926. #ifndef TWI_CONFIG_LOG_ENABLED
  1927. #define TWI_CONFIG_LOG_ENABLED 0
  1928. #endif
  1929. // <o> TWI_CONFIG_LOG_LEVEL - Default Severity level
  1930. // <0=> Off
  1931. // <1=> Error
  1932. // <2=> Warning
  1933. // <3=> Info
  1934. // <4=> Debug
  1935. #ifndef TWI_CONFIG_LOG_LEVEL
  1936. #define TWI_CONFIG_LOG_LEVEL 3
  1937. #endif
  1938. // <o> TWI_CONFIG_INFO_COLOR - ANSI escape code prefix.
  1939. // <0=> Default
  1940. // <1=> Black
  1941. // <2=> Red
  1942. // <3=> Green
  1943. // <4=> Yellow
  1944. // <5=> Blue
  1945. // <6=> Magenta
  1946. // <7=> Cyan
  1947. // <8=> White
  1948. #ifndef TWI_CONFIG_INFO_COLOR
  1949. #define TWI_CONFIG_INFO_COLOR 0
  1950. #endif
  1951. // <o> TWI_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  1952. // <0=> Default
  1953. // <1=> Black
  1954. // <2=> Red
  1955. // <3=> Green
  1956. // <4=> Yellow
  1957. // <5=> Blue
  1958. // <6=> Magenta
  1959. // <7=> Cyan
  1960. // <8=> White
  1961. #ifndef TWI_CONFIG_DEBUG_COLOR
  1962. #define TWI_CONFIG_DEBUG_COLOR 0
  1963. #endif
  1964. // </e>
  1965. // <e> UART_CONFIG_LOG_ENABLED - Enables logging in the module.
  1966. //==========================================================
  1967. #ifndef UART_CONFIG_LOG_ENABLED
  1968. #define UART_CONFIG_LOG_ENABLED 0
  1969. #endif
  1970. // <o> UART_CONFIG_LOG_LEVEL - Default Severity level
  1971. // <0=> Off
  1972. // <1=> Error
  1973. // <2=> Warning
  1974. // <3=> Info
  1975. // <4=> Debug
  1976. #ifndef UART_CONFIG_LOG_LEVEL
  1977. #define UART_CONFIG_LOG_LEVEL 3
  1978. #endif
  1979. // <o> UART_CONFIG_INFO_COLOR - ANSI escape code prefix.
  1980. // <0=> Default
  1981. // <1=> Black
  1982. // <2=> Red
  1983. // <3=> Green
  1984. // <4=> Yellow
  1985. // <5=> Blue
  1986. // <6=> Magenta
  1987. // <7=> Cyan
  1988. // <8=> White
  1989. #ifndef UART_CONFIG_INFO_COLOR
  1990. #define UART_CONFIG_INFO_COLOR 0
  1991. #endif
  1992. // <o> UART_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  1993. // <0=> Default
  1994. // <1=> Black
  1995. // <2=> Red
  1996. // <3=> Green
  1997. // <4=> Yellow
  1998. // <5=> Blue
  1999. // <6=> Magenta
  2000. // <7=> Cyan
  2001. // <8=> White
  2002. #ifndef UART_CONFIG_DEBUG_COLOR
  2003. #define UART_CONFIG_DEBUG_COLOR 0
  2004. #endif
  2005. // </e>
  2006. // <e> USBD_CONFIG_LOG_ENABLED - Enable logging in the module
  2007. //==========================================================
  2008. #ifndef USBD_CONFIG_LOG_ENABLED
  2009. #define USBD_CONFIG_LOG_ENABLED 0
  2010. #endif
  2011. // <o> USBD_CONFIG_LOG_LEVEL - Default Severity level
  2012. // <0=> Off
  2013. // <1=> Error
  2014. // <2=> Warning
  2015. // <3=> Info
  2016. // <4=> Debug
  2017. #ifndef USBD_CONFIG_LOG_LEVEL
  2018. #define USBD_CONFIG_LOG_LEVEL 3
  2019. #endif
  2020. // <o> USBD_CONFIG_INFO_COLOR - ANSI escape code prefix.
  2021. // <0=> Default
  2022. // <1=> Black
  2023. // <2=> Red
  2024. // <3=> Green
  2025. // <4=> Yellow
  2026. // <5=> Blue
  2027. // <6=> Magenta
  2028. // <7=> Cyan
  2029. // <8=> White
  2030. #ifndef USBD_CONFIG_INFO_COLOR
  2031. #define USBD_CONFIG_INFO_COLOR 0
  2032. #endif
  2033. // <o> USBD_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  2034. // <0=> Default
  2035. // <1=> Black
  2036. // <2=> Red
  2037. // <3=> Green
  2038. // <4=> Yellow
  2039. // <5=> Blue
  2040. // <6=> Magenta
  2041. // <7=> Cyan
  2042. // <8=> White
  2043. #ifndef USBD_CONFIG_DEBUG_COLOR
  2044. #define USBD_CONFIG_DEBUG_COLOR 0
  2045. #endif
  2046. // </e>
  2047. // <e> WDT_CONFIG_LOG_ENABLED - Enables logging in the module.
  2048. //==========================================================
  2049. #ifndef WDT_CONFIG_LOG_ENABLED
  2050. #define WDT_CONFIG_LOG_ENABLED 0
  2051. #endif
  2052. // <o> WDT_CONFIG_LOG_LEVEL - Default Severity level
  2053. // <0=> Off
  2054. // <1=> Error
  2055. // <2=> Warning
  2056. // <3=> Info
  2057. // <4=> Debug
  2058. #ifndef WDT_CONFIG_LOG_LEVEL
  2059. #define WDT_CONFIG_LOG_LEVEL 3
  2060. #endif
  2061. // <o> WDT_CONFIG_INFO_COLOR - ANSI escape code prefix.
  2062. // <0=> Default
  2063. // <1=> Black
  2064. // <2=> Red
  2065. // <3=> Green
  2066. // <4=> Yellow
  2067. // <5=> Blue
  2068. // <6=> Magenta
  2069. // <7=> Cyan
  2070. // <8=> White
  2071. #ifndef WDT_CONFIG_INFO_COLOR
  2072. #define WDT_CONFIG_INFO_COLOR 0
  2073. #endif
  2074. // <o> WDT_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  2075. // <0=> Default
  2076. // <1=> Black
  2077. // <2=> Red
  2078. // <3=> Green
  2079. // <4=> Yellow
  2080. // <5=> Blue
  2081. // <6=> Magenta
  2082. // <7=> Cyan
  2083. // <8=> White
  2084. #ifndef WDT_CONFIG_DEBUG_COLOR
  2085. #define WDT_CONFIG_DEBUG_COLOR 0
  2086. #endif
  2087. // </e>
  2088. // </h>
  2089. //==========================================================
  2090. // <h> nrf_log in nRF_Libraries
  2091. //==========================================================
  2092. // <e> APP_BUTTON_CONFIG_LOG_ENABLED - Enables logging in the module.
  2093. //==========================================================
  2094. #ifndef APP_BUTTON_CONFIG_LOG_ENABLED
  2095. #define APP_BUTTON_CONFIG_LOG_ENABLED 0
  2096. #endif
  2097. // <o> APP_BUTTON_CONFIG_LOG_LEVEL - Default Severity level
  2098. // <0=> Off
  2099. // <1=> Error
  2100. // <2=> Warning
  2101. // <3=> Info
  2102. // <4=> Debug
  2103. #ifndef APP_BUTTON_CONFIG_LOG_LEVEL
  2104. #define APP_BUTTON_CONFIG_LOG_LEVEL 3
  2105. #endif
  2106. // <o> APP_BUTTON_CONFIG_INITIAL_LOG_LEVEL - Initial severity level if dynamic filtering is enabled.
  2107. // <i> If module generates a lot of logs, initial log level can
  2108. // <i> be decreased to prevent flooding. Severity level can be
  2109. // <i> increased on instance basis.
  2110. // <0=> Off
  2111. // <1=> Error
  2112. // <2=> Warning
  2113. // <3=> Info
  2114. // <4=> Debug
  2115. #ifndef APP_BUTTON_CONFIG_INITIAL_LOG_LEVEL
  2116. #define APP_BUTTON_CONFIG_INITIAL_LOG_LEVEL 3
  2117. #endif
  2118. // <o> APP_BUTTON_CONFIG_INFO_COLOR - ANSI escape code prefix.
  2119. // <0=> Default
  2120. // <1=> Black
  2121. // <2=> Red
  2122. // <3=> Green
  2123. // <4=> Yellow
  2124. // <5=> Blue
  2125. // <6=> Magenta
  2126. // <7=> Cyan
  2127. // <8=> White
  2128. #ifndef APP_BUTTON_CONFIG_INFO_COLOR
  2129. #define APP_BUTTON_CONFIG_INFO_COLOR 0
  2130. #endif
  2131. // <o> APP_BUTTON_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  2132. // <0=> Default
  2133. // <1=> Black
  2134. // <2=> Red
  2135. // <3=> Green
  2136. // <4=> Yellow
  2137. // <5=> Blue
  2138. // <6=> Magenta
  2139. // <7=> Cyan
  2140. // <8=> White
  2141. #ifndef APP_BUTTON_CONFIG_DEBUG_COLOR
  2142. #define APP_BUTTON_CONFIG_DEBUG_COLOR 0
  2143. #endif
  2144. // </e>
  2145. // <e> APP_TIMER_CONFIG_LOG_ENABLED - Enables logging in the module.
  2146. //==========================================================
  2147. #ifndef APP_TIMER_CONFIG_LOG_ENABLED
  2148. #define APP_TIMER_CONFIG_LOG_ENABLED 0
  2149. #endif
  2150. // <o> APP_TIMER_CONFIG_LOG_LEVEL - Default Severity level
  2151. // <0=> Off
  2152. // <1=> Error
  2153. // <2=> Warning
  2154. // <3=> Info
  2155. // <4=> Debug
  2156. #ifndef APP_TIMER_CONFIG_LOG_LEVEL
  2157. #define APP_TIMER_CONFIG_LOG_LEVEL 3
  2158. #endif
  2159. // <o> APP_TIMER_CONFIG_INITIAL_LOG_LEVEL - Initial severity level if dynamic filtering is enabled.
  2160. // <i> If module generates a lot of logs, initial log level can
  2161. // <i> be decreased to prevent flooding. Severity level can be
  2162. // <i> increased on instance basis.
  2163. // <0=> Off
  2164. // <1=> Error
  2165. // <2=> Warning
  2166. // <3=> Info
  2167. // <4=> Debug
  2168. #ifndef APP_TIMER_CONFIG_INITIAL_LOG_LEVEL
  2169. #define APP_TIMER_CONFIG_INITIAL_LOG_LEVEL 3
  2170. #endif
  2171. // <o> APP_TIMER_CONFIG_INFO_COLOR - ANSI escape code prefix.
  2172. // <0=> Default
  2173. // <1=> Black
  2174. // <2=> Red
  2175. // <3=> Green
  2176. // <4=> Yellow
  2177. // <5=> Blue
  2178. // <6=> Magenta
  2179. // <7=> Cyan
  2180. // <8=> White
  2181. #ifndef APP_TIMER_CONFIG_INFO_COLOR
  2182. #define APP_TIMER_CONFIG_INFO_COLOR 0
  2183. #endif
  2184. // <o> APP_TIMER_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  2185. // <0=> Default
  2186. // <1=> Black
  2187. // <2=> Red
  2188. // <3=> Green
  2189. // <4=> Yellow
  2190. // <5=> Blue
  2191. // <6=> Magenta
  2192. // <7=> Cyan
  2193. // <8=> White
  2194. #ifndef APP_TIMER_CONFIG_DEBUG_COLOR
  2195. #define APP_TIMER_CONFIG_DEBUG_COLOR 0
  2196. #endif
  2197. // </e>
  2198. // <e> APP_USBD_CDC_ACM_CONFIG_LOG_ENABLED - Enables logging in the module.
  2199. //==========================================================
  2200. #ifndef APP_USBD_CDC_ACM_CONFIG_LOG_ENABLED
  2201. #define APP_USBD_CDC_ACM_CONFIG_LOG_ENABLED 0
  2202. #endif
  2203. // <o> APP_USBD_CDC_ACM_CONFIG_LOG_LEVEL - Default Severity level
  2204. // <0=> Off
  2205. // <1=> Error
  2206. // <2=> Warning
  2207. // <3=> Info
  2208. // <4=> Debug
  2209. #ifndef APP_USBD_CDC_ACM_CONFIG_LOG_LEVEL
  2210. #define APP_USBD_CDC_ACM_CONFIG_LOG_LEVEL 3
  2211. #endif
  2212. // <o> APP_USBD_CDC_ACM_CONFIG_INFO_COLOR - ANSI escape code prefix.
  2213. // <0=> Default
  2214. // <1=> Black
  2215. // <2=> Red
  2216. // <3=> Green
  2217. // <4=> Yellow
  2218. // <5=> Blue
  2219. // <6=> Magenta
  2220. // <7=> Cyan
  2221. // <8=> White
  2222. #ifndef APP_USBD_CDC_ACM_CONFIG_INFO_COLOR
  2223. #define APP_USBD_CDC_ACM_CONFIG_INFO_COLOR 0
  2224. #endif
  2225. // <o> APP_USBD_CDC_ACM_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  2226. // <0=> Default
  2227. // <1=> Black
  2228. // <2=> Red
  2229. // <3=> Green
  2230. // <4=> Yellow
  2231. // <5=> Blue
  2232. // <6=> Magenta
  2233. // <7=> Cyan
  2234. // <8=> White
  2235. #ifndef APP_USBD_CDC_ACM_CONFIG_DEBUG_COLOR
  2236. #define APP_USBD_CDC_ACM_CONFIG_DEBUG_COLOR 0
  2237. #endif
  2238. // </e>
  2239. // <e> APP_USBD_CONFIG_LOG_ENABLED - Enable logging in the module.
  2240. //==========================================================
  2241. #ifndef APP_USBD_CONFIG_LOG_ENABLED
  2242. #define APP_USBD_CONFIG_LOG_ENABLED 0
  2243. #endif
  2244. // <o> APP_USBD_CONFIG_LOG_LEVEL - Default Severity level
  2245. // <0=> Off
  2246. // <1=> Error
  2247. // <2=> Warning
  2248. // <3=> Info
  2249. // <4=> Debug
  2250. #ifndef APP_USBD_CONFIG_LOG_LEVEL
  2251. #define APP_USBD_CONFIG_LOG_LEVEL 3
  2252. #endif
  2253. // <o> APP_USBD_CONFIG_INFO_COLOR - ANSI escape code prefix.
  2254. // <0=> Default
  2255. // <1=> Black
  2256. // <2=> Red
  2257. // <3=> Green
  2258. // <4=> Yellow
  2259. // <5=> Blue
  2260. // <6=> Magenta
  2261. // <7=> Cyan
  2262. // <8=> White
  2263. #ifndef APP_USBD_CONFIG_INFO_COLOR
  2264. #define APP_USBD_CONFIG_INFO_COLOR 0
  2265. #endif
  2266. // <o> APP_USBD_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  2267. // <0=> Default
  2268. // <1=> Black
  2269. // <2=> Red
  2270. // <3=> Green
  2271. // <4=> Yellow
  2272. // <5=> Blue
  2273. // <6=> Magenta
  2274. // <7=> Cyan
  2275. // <8=> White
  2276. #ifndef APP_USBD_CONFIG_DEBUG_COLOR
  2277. #define APP_USBD_CONFIG_DEBUG_COLOR 0
  2278. #endif
  2279. // </e>
  2280. // <e> APP_USBD_DUMMY_CONFIG_LOG_ENABLED - Enables logging in the module.
  2281. //==========================================================
  2282. #ifndef APP_USBD_DUMMY_CONFIG_LOG_ENABLED
  2283. #define APP_USBD_DUMMY_CONFIG_LOG_ENABLED 0
  2284. #endif
  2285. // <o> APP_USBD_DUMMY_CONFIG_LOG_LEVEL - Default Severity level
  2286. // <0=> Off
  2287. // <1=> Error
  2288. // <2=> Warning
  2289. // <3=> Info
  2290. // <4=> Debug
  2291. #ifndef APP_USBD_DUMMY_CONFIG_LOG_LEVEL
  2292. #define APP_USBD_DUMMY_CONFIG_LOG_LEVEL 3
  2293. #endif
  2294. // <o> APP_USBD_DUMMY_CONFIG_INFO_COLOR - ANSI escape code prefix.
  2295. // <0=> Default
  2296. // <1=> Black
  2297. // <2=> Red
  2298. // <3=> Green
  2299. // <4=> Yellow
  2300. // <5=> Blue
  2301. // <6=> Magenta
  2302. // <7=> Cyan
  2303. // <8=> White
  2304. #ifndef APP_USBD_DUMMY_CONFIG_INFO_COLOR
  2305. #define APP_USBD_DUMMY_CONFIG_INFO_COLOR 0
  2306. #endif
  2307. // <o> APP_USBD_DUMMY_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  2308. // <0=> Default
  2309. // <1=> Black
  2310. // <2=> Red
  2311. // <3=> Green
  2312. // <4=> Yellow
  2313. // <5=> Blue
  2314. // <6=> Magenta
  2315. // <7=> Cyan
  2316. // <8=> White
  2317. #ifndef APP_USBD_DUMMY_CONFIG_DEBUG_COLOR
  2318. #define APP_USBD_DUMMY_CONFIG_DEBUG_COLOR 0
  2319. #endif
  2320. // </e>
  2321. // <e> APP_USBD_MSC_CONFIG_LOG_ENABLED - Enables logging in the module.
  2322. //==========================================================
  2323. #ifndef APP_USBD_MSC_CONFIG_LOG_ENABLED
  2324. #define APP_USBD_MSC_CONFIG_LOG_ENABLED 0
  2325. #endif
  2326. // <o> APP_USBD_MSC_CONFIG_LOG_LEVEL - Default Severity level
  2327. // <0=> Off
  2328. // <1=> Error
  2329. // <2=> Warning
  2330. // <3=> Info
  2331. // <4=> Debug
  2332. #ifndef APP_USBD_MSC_CONFIG_LOG_LEVEL
  2333. #define APP_USBD_MSC_CONFIG_LOG_LEVEL 3
  2334. #endif
  2335. // <o> APP_USBD_MSC_CONFIG_INFO_COLOR - ANSI escape code prefix.
  2336. // <0=> Default
  2337. // <1=> Black
  2338. // <2=> Red
  2339. // <3=> Green
  2340. // <4=> Yellow
  2341. // <5=> Blue
  2342. // <6=> Magenta
  2343. // <7=> Cyan
  2344. // <8=> White
  2345. #ifndef APP_USBD_MSC_CONFIG_INFO_COLOR
  2346. #define APP_USBD_MSC_CONFIG_INFO_COLOR 0
  2347. #endif
  2348. // <o> APP_USBD_MSC_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  2349. // <0=> Default
  2350. // <1=> Black
  2351. // <2=> Red
  2352. // <3=> Green
  2353. // <4=> Yellow
  2354. // <5=> Blue
  2355. // <6=> Magenta
  2356. // <7=> Cyan
  2357. // <8=> White
  2358. #ifndef APP_USBD_MSC_CONFIG_DEBUG_COLOR
  2359. #define APP_USBD_MSC_CONFIG_DEBUG_COLOR 0
  2360. #endif
  2361. // </e>
  2362. // <e> APP_USBD_NRF_DFU_TRIGGER_CONFIG_LOG_ENABLED - Enables logging in the module.
  2363. //==========================================================
  2364. #ifndef APP_USBD_NRF_DFU_TRIGGER_CONFIG_LOG_ENABLED
  2365. #define APP_USBD_NRF_DFU_TRIGGER_CONFIG_LOG_ENABLED 0
  2366. #endif
  2367. // <o> APP_USBD_NRF_DFU_TRIGGER_CONFIG_LOG_LEVEL - Default Severity level
  2368. // <0=> Off
  2369. // <1=> Error
  2370. // <2=> Warning
  2371. // <3=> Info
  2372. // <4=> Debug
  2373. #ifndef APP_USBD_NRF_DFU_TRIGGER_CONFIG_LOG_LEVEL
  2374. #define APP_USBD_NRF_DFU_TRIGGER_CONFIG_LOG_LEVEL 3
  2375. #endif
  2376. // <o> APP_USBD_NRF_DFU_TRIGGER_CONFIG_INFO_COLOR - ANSI escape code prefix.
  2377. // <0=> Default
  2378. // <1=> Black
  2379. // <2=> Red
  2380. // <3=> Green
  2381. // <4=> Yellow
  2382. // <5=> Blue
  2383. // <6=> Magenta
  2384. // <7=> Cyan
  2385. // <8=> White
  2386. #ifndef APP_USBD_NRF_DFU_TRIGGER_CONFIG_INFO_COLOR
  2387. #define APP_USBD_NRF_DFU_TRIGGER_CONFIG_INFO_COLOR 0
  2388. #endif
  2389. // <o> APP_USBD_NRF_DFU_TRIGGER_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  2390. // <0=> Default
  2391. // <1=> Black
  2392. // <2=> Red
  2393. // <3=> Green
  2394. // <4=> Yellow
  2395. // <5=> Blue
  2396. // <6=> Magenta
  2397. // <7=> Cyan
  2398. // <8=> White
  2399. #ifndef APP_USBD_NRF_DFU_TRIGGER_CONFIG_DEBUG_COLOR
  2400. #define APP_USBD_NRF_DFU_TRIGGER_CONFIG_DEBUG_COLOR 0
  2401. #endif
  2402. // </e>
  2403. // <e> NRF_ATFIFO_CONFIG_LOG_ENABLED - Enables logging in the module.
  2404. //==========================================================
  2405. #ifndef NRF_ATFIFO_CONFIG_LOG_ENABLED
  2406. #define NRF_ATFIFO_CONFIG_LOG_ENABLED 0
  2407. #endif
  2408. // <o> NRF_ATFIFO_CONFIG_LOG_LEVEL - Default Severity level
  2409. // <0=> Off
  2410. // <1=> Error
  2411. // <2=> Warning
  2412. // <3=> Info
  2413. // <4=> Debug
  2414. #ifndef NRF_ATFIFO_CONFIG_LOG_LEVEL
  2415. #define NRF_ATFIFO_CONFIG_LOG_LEVEL 3
  2416. #endif
  2417. // <o> NRF_ATFIFO_CONFIG_LOG_INIT_FILTER_LEVEL - Initial severity level if dynamic filtering is enabled
  2418. // <0=> Off
  2419. // <1=> Error
  2420. // <2=> Warning
  2421. // <3=> Info
  2422. // <4=> Debug
  2423. #ifndef NRF_ATFIFO_CONFIG_LOG_INIT_FILTER_LEVEL
  2424. #define NRF_ATFIFO_CONFIG_LOG_INIT_FILTER_LEVEL 3
  2425. #endif
  2426. // <o> NRF_ATFIFO_CONFIG_INFO_COLOR - ANSI escape code prefix.
  2427. // <0=> Default
  2428. // <1=> Black
  2429. // <2=> Red
  2430. // <3=> Green
  2431. // <4=> Yellow
  2432. // <5=> Blue
  2433. // <6=> Magenta
  2434. // <7=> Cyan
  2435. // <8=> White
  2436. #ifndef NRF_ATFIFO_CONFIG_INFO_COLOR
  2437. #define NRF_ATFIFO_CONFIG_INFO_COLOR 0
  2438. #endif
  2439. // <o> NRF_ATFIFO_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  2440. // <0=> Default
  2441. // <1=> Black
  2442. // <2=> Red
  2443. // <3=> Green
  2444. // <4=> Yellow
  2445. // <5=> Blue
  2446. // <6=> Magenta
  2447. // <7=> Cyan
  2448. // <8=> White
  2449. #ifndef NRF_ATFIFO_CONFIG_DEBUG_COLOR
  2450. #define NRF_ATFIFO_CONFIG_DEBUG_COLOR 0
  2451. #endif
  2452. // </e>
  2453. // <e> NRF_BALLOC_CONFIG_LOG_ENABLED - Enables logging in the module.
  2454. //==========================================================
  2455. #ifndef NRF_BALLOC_CONFIG_LOG_ENABLED
  2456. #define NRF_BALLOC_CONFIG_LOG_ENABLED 0
  2457. #endif
  2458. // <o> NRF_BALLOC_CONFIG_LOG_LEVEL - Default Severity level
  2459. // <0=> Off
  2460. // <1=> Error
  2461. // <2=> Warning
  2462. // <3=> Info
  2463. // <4=> Debug
  2464. #ifndef NRF_BALLOC_CONFIG_LOG_LEVEL
  2465. #define NRF_BALLOC_CONFIG_LOG_LEVEL 3
  2466. #endif
  2467. // <o> NRF_BALLOC_CONFIG_INITIAL_LOG_LEVEL - Initial severity level if dynamic filtering is enabled.
  2468. // <i> If module generates a lot of logs, initial log level can
  2469. // <i> be decreased to prevent flooding. Severity level can be
  2470. // <i> increased on instance basis.
  2471. // <0=> Off
  2472. // <1=> Error
  2473. // <2=> Warning
  2474. // <3=> Info
  2475. // <4=> Debug
  2476. #ifndef NRF_BALLOC_CONFIG_INITIAL_LOG_LEVEL
  2477. #define NRF_BALLOC_CONFIG_INITIAL_LOG_LEVEL 3
  2478. #endif
  2479. // <o> NRF_BALLOC_CONFIG_INFO_COLOR - ANSI escape code prefix.
  2480. // <0=> Default
  2481. // <1=> Black
  2482. // <2=> Red
  2483. // <3=> Green
  2484. // <4=> Yellow
  2485. // <5=> Blue
  2486. // <6=> Magenta
  2487. // <7=> Cyan
  2488. // <8=> White
  2489. #ifndef NRF_BALLOC_CONFIG_INFO_COLOR
  2490. #define NRF_BALLOC_CONFIG_INFO_COLOR 0
  2491. #endif
  2492. // <o> NRF_BALLOC_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  2493. // <0=> Default
  2494. // <1=> Black
  2495. // <2=> Red
  2496. // <3=> Green
  2497. // <4=> Yellow
  2498. // <5=> Blue
  2499. // <6=> Magenta
  2500. // <7=> Cyan
  2501. // <8=> White
  2502. #ifndef NRF_BALLOC_CONFIG_DEBUG_COLOR
  2503. #define NRF_BALLOC_CONFIG_DEBUG_COLOR 0
  2504. #endif
  2505. // </e>
  2506. // <e> NRF_BLOCK_DEV_EMPTY_CONFIG_LOG_ENABLED - Enables logging in the module.
  2507. //==========================================================
  2508. #ifndef NRF_BLOCK_DEV_EMPTY_CONFIG_LOG_ENABLED
  2509. #define NRF_BLOCK_DEV_EMPTY_CONFIG_LOG_ENABLED 0
  2510. #endif
  2511. // <o> NRF_BLOCK_DEV_EMPTY_CONFIG_LOG_LEVEL - Default Severity level
  2512. // <0=> Off
  2513. // <1=> Error
  2514. // <2=> Warning
  2515. // <3=> Info
  2516. // <4=> Debug
  2517. #ifndef NRF_BLOCK_DEV_EMPTY_CONFIG_LOG_LEVEL
  2518. #define NRF_BLOCK_DEV_EMPTY_CONFIG_LOG_LEVEL 3
  2519. #endif
  2520. // <o> NRF_BLOCK_DEV_EMPTY_CONFIG_LOG_INIT_FILTER_LEVEL - Initial severity level if dynamic filtering is enabled
  2521. // <0=> Off
  2522. // <1=> Error
  2523. // <2=> Warning
  2524. // <3=> Info
  2525. // <4=> Debug
  2526. #ifndef NRF_BLOCK_DEV_EMPTY_CONFIG_LOG_INIT_FILTER_LEVEL
  2527. #define NRF_BLOCK_DEV_EMPTY_CONFIG_LOG_INIT_FILTER_LEVEL 3
  2528. #endif
  2529. // <o> NRF_BLOCK_DEV_EMPTY_CONFIG_INFO_COLOR - ANSI escape code prefix.
  2530. // <0=> Default
  2531. // <1=> Black
  2532. // <2=> Red
  2533. // <3=> Green
  2534. // <4=> Yellow
  2535. // <5=> Blue
  2536. // <6=> Magenta
  2537. // <7=> Cyan
  2538. // <8=> White
  2539. #ifndef NRF_BLOCK_DEV_EMPTY_CONFIG_INFO_COLOR
  2540. #define NRF_BLOCK_DEV_EMPTY_CONFIG_INFO_COLOR 0
  2541. #endif
  2542. // <o> NRF_BLOCK_DEV_EMPTY_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  2543. // <0=> Default
  2544. // <1=> Black
  2545. // <2=> Red
  2546. // <3=> Green
  2547. // <4=> Yellow
  2548. // <5=> Blue
  2549. // <6=> Magenta
  2550. // <7=> Cyan
  2551. // <8=> White
  2552. #ifndef NRF_BLOCK_DEV_EMPTY_CONFIG_DEBUG_COLOR
  2553. #define NRF_BLOCK_DEV_EMPTY_CONFIG_DEBUG_COLOR 0
  2554. #endif
  2555. // </e>
  2556. // <e> NRF_BLOCK_DEV_QSPI_CONFIG_LOG_ENABLED - Enables logging in the module.
  2557. //==========================================================
  2558. #ifndef NRF_BLOCK_DEV_QSPI_CONFIG_LOG_ENABLED
  2559. #define NRF_BLOCK_DEV_QSPI_CONFIG_LOG_ENABLED 0
  2560. #endif
  2561. // <o> NRF_BLOCK_DEV_QSPI_CONFIG_LOG_LEVEL - Default Severity level
  2562. // <0=> Off
  2563. // <1=> Error
  2564. // <2=> Warning
  2565. // <3=> Info
  2566. // <4=> Debug
  2567. #ifndef NRF_BLOCK_DEV_QSPI_CONFIG_LOG_LEVEL
  2568. #define NRF_BLOCK_DEV_QSPI_CONFIG_LOG_LEVEL 3
  2569. #endif
  2570. // <o> NRF_BLOCK_DEV_QSPI_CONFIG_LOG_INIT_FILTER_LEVEL - Initial severity level if dynamic filtering is enabled
  2571. // <0=> Off
  2572. // <1=> Error
  2573. // <2=> Warning
  2574. // <3=> Info
  2575. // <4=> Debug
  2576. #ifndef NRF_BLOCK_DEV_QSPI_CONFIG_LOG_INIT_FILTER_LEVEL
  2577. #define NRF_BLOCK_DEV_QSPI_CONFIG_LOG_INIT_FILTER_LEVEL 3
  2578. #endif
  2579. // <o> NRF_BLOCK_DEV_QSPI_CONFIG_INFO_COLOR - ANSI escape code prefix.
  2580. // <0=> Default
  2581. // <1=> Black
  2582. // <2=> Red
  2583. // <3=> Green
  2584. // <4=> Yellow
  2585. // <5=> Blue
  2586. // <6=> Magenta
  2587. // <7=> Cyan
  2588. // <8=> White
  2589. #ifndef NRF_BLOCK_DEV_QSPI_CONFIG_INFO_COLOR
  2590. #define NRF_BLOCK_DEV_QSPI_CONFIG_INFO_COLOR 0
  2591. #endif
  2592. // <o> NRF_BLOCK_DEV_QSPI_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  2593. // <0=> Default
  2594. // <1=> Black
  2595. // <2=> Red
  2596. // <3=> Green
  2597. // <4=> Yellow
  2598. // <5=> Blue
  2599. // <6=> Magenta
  2600. // <7=> Cyan
  2601. // <8=> White
  2602. #ifndef NRF_BLOCK_DEV_QSPI_CONFIG_DEBUG_COLOR
  2603. #define NRF_BLOCK_DEV_QSPI_CONFIG_DEBUG_COLOR 0
  2604. #endif
  2605. // </e>
  2606. // <e> NRF_BLOCK_DEV_RAM_CONFIG_LOG_ENABLED - Enables logging in the module.
  2607. //==========================================================
  2608. #ifndef NRF_BLOCK_DEV_RAM_CONFIG_LOG_ENABLED
  2609. #define NRF_BLOCK_DEV_RAM_CONFIG_LOG_ENABLED 0
  2610. #endif
  2611. // <o> NRF_BLOCK_DEV_RAM_CONFIG_LOG_LEVEL - Default Severity level
  2612. // <0=> Off
  2613. // <1=> Error
  2614. // <2=> Warning
  2615. // <3=> Info
  2616. // <4=> Debug
  2617. #ifndef NRF_BLOCK_DEV_RAM_CONFIG_LOG_LEVEL
  2618. #define NRF_BLOCK_DEV_RAM_CONFIG_LOG_LEVEL 3
  2619. #endif
  2620. // <o> NRF_BLOCK_DEV_RAM_CONFIG_LOG_INIT_FILTER_LEVEL - Initial severity level if dynamic filtering is enabled
  2621. // <0=> Off
  2622. // <1=> Error
  2623. // <2=> Warning
  2624. // <3=> Info
  2625. // <4=> Debug
  2626. #ifndef NRF_BLOCK_DEV_RAM_CONFIG_LOG_INIT_FILTER_LEVEL
  2627. #define NRF_BLOCK_DEV_RAM_CONFIG_LOG_INIT_FILTER_LEVEL 3
  2628. #endif
  2629. // <o> NRF_BLOCK_DEV_RAM_CONFIG_INFO_COLOR - ANSI escape code prefix.
  2630. // <0=> Default
  2631. // <1=> Black
  2632. // <2=> Red
  2633. // <3=> Green
  2634. // <4=> Yellow
  2635. // <5=> Blue
  2636. // <6=> Magenta
  2637. // <7=> Cyan
  2638. // <8=> White
  2639. #ifndef NRF_BLOCK_DEV_RAM_CONFIG_INFO_COLOR
  2640. #define NRF_BLOCK_DEV_RAM_CONFIG_INFO_COLOR 0
  2641. #endif
  2642. // <o> NRF_BLOCK_DEV_RAM_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  2643. // <0=> Default
  2644. // <1=> Black
  2645. // <2=> Red
  2646. // <3=> Green
  2647. // <4=> Yellow
  2648. // <5=> Blue
  2649. // <6=> Magenta
  2650. // <7=> Cyan
  2651. // <8=> White
  2652. #ifndef NRF_BLOCK_DEV_RAM_CONFIG_DEBUG_COLOR
  2653. #define NRF_BLOCK_DEV_RAM_CONFIG_DEBUG_COLOR 0
  2654. #endif
  2655. // </e>
  2656. // <e> NRF_CLI_BLE_UART_CONFIG_LOG_ENABLED - Enables logging in the module.
  2657. //==========================================================
  2658. #ifndef NRF_CLI_BLE_UART_CONFIG_LOG_ENABLED
  2659. #define NRF_CLI_BLE_UART_CONFIG_LOG_ENABLED 0
  2660. #endif
  2661. // <o> NRF_CLI_BLE_UART_CONFIG_LOG_LEVEL - Default Severity level
  2662. // <0=> Off
  2663. // <1=> Error
  2664. // <2=> Warning
  2665. // <3=> Info
  2666. // <4=> Debug
  2667. #ifndef NRF_CLI_BLE_UART_CONFIG_LOG_LEVEL
  2668. #define NRF_CLI_BLE_UART_CONFIG_LOG_LEVEL 3
  2669. #endif
  2670. // <o> NRF_CLI_BLE_UART_CONFIG_INFO_COLOR - ANSI escape code prefix.
  2671. // <0=> Default
  2672. // <1=> Black
  2673. // <2=> Red
  2674. // <3=> Green
  2675. // <4=> Yellow
  2676. // <5=> Blue
  2677. // <6=> Magenta
  2678. // <7=> Cyan
  2679. // <8=> White
  2680. #ifndef NRF_CLI_BLE_UART_CONFIG_INFO_COLOR
  2681. #define NRF_CLI_BLE_UART_CONFIG_INFO_COLOR 0
  2682. #endif
  2683. // <o> NRF_CLI_BLE_UART_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  2684. // <0=> Default
  2685. // <1=> Black
  2686. // <2=> Red
  2687. // <3=> Green
  2688. // <4=> Yellow
  2689. // <5=> Blue
  2690. // <6=> Magenta
  2691. // <7=> Cyan
  2692. // <8=> White
  2693. #ifndef NRF_CLI_BLE_UART_CONFIG_DEBUG_COLOR
  2694. #define NRF_CLI_BLE_UART_CONFIG_DEBUG_COLOR 0
  2695. #endif
  2696. // </e>
  2697. // <e> NRF_CLI_LIBUARTE_CONFIG_LOG_ENABLED - Enables logging in the module.
  2698. //==========================================================
  2699. #ifndef NRF_CLI_LIBUARTE_CONFIG_LOG_ENABLED
  2700. #define NRF_CLI_LIBUARTE_CONFIG_LOG_ENABLED 0
  2701. #endif
  2702. // <o> NRF_CLI_LIBUARTE_CONFIG_LOG_LEVEL - Default Severity level
  2703. // <0=> Off
  2704. // <1=> Error
  2705. // <2=> Warning
  2706. // <3=> Info
  2707. // <4=> Debug
  2708. #ifndef NRF_CLI_LIBUARTE_CONFIG_LOG_LEVEL
  2709. #define NRF_CLI_LIBUARTE_CONFIG_LOG_LEVEL 3
  2710. #endif
  2711. // <o> NRF_CLI_LIBUARTE_CONFIG_INFO_COLOR - ANSI escape code prefix.
  2712. // <0=> Default
  2713. // <1=> Black
  2714. // <2=> Red
  2715. // <3=> Green
  2716. // <4=> Yellow
  2717. // <5=> Blue
  2718. // <6=> Magenta
  2719. // <7=> Cyan
  2720. // <8=> White
  2721. #ifndef NRF_CLI_LIBUARTE_CONFIG_INFO_COLOR
  2722. #define NRF_CLI_LIBUARTE_CONFIG_INFO_COLOR 0
  2723. #endif
  2724. // <o> NRF_CLI_LIBUARTE_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  2725. // <0=> Default
  2726. // <1=> Black
  2727. // <2=> Red
  2728. // <3=> Green
  2729. // <4=> Yellow
  2730. // <5=> Blue
  2731. // <6=> Magenta
  2732. // <7=> Cyan
  2733. // <8=> White
  2734. #ifndef NRF_CLI_LIBUARTE_CONFIG_DEBUG_COLOR
  2735. #define NRF_CLI_LIBUARTE_CONFIG_DEBUG_COLOR 0
  2736. #endif
  2737. // </e>
  2738. // <e> NRF_CLI_UART_CONFIG_LOG_ENABLED - Enables logging in the module.
  2739. //==========================================================
  2740. #ifndef NRF_CLI_UART_CONFIG_LOG_ENABLED
  2741. #define NRF_CLI_UART_CONFIG_LOG_ENABLED 0
  2742. #endif
  2743. // <o> NRF_CLI_UART_CONFIG_LOG_LEVEL - Default Severity level
  2744. // <0=> Off
  2745. // <1=> Error
  2746. // <2=> Warning
  2747. // <3=> Info
  2748. // <4=> Debug
  2749. #ifndef NRF_CLI_UART_CONFIG_LOG_LEVEL
  2750. #define NRF_CLI_UART_CONFIG_LOG_LEVEL 3
  2751. #endif
  2752. // <o> NRF_CLI_UART_CONFIG_INFO_COLOR - ANSI escape code prefix.
  2753. // <0=> Default
  2754. // <1=> Black
  2755. // <2=> Red
  2756. // <3=> Green
  2757. // <4=> Yellow
  2758. // <5=> Blue
  2759. // <6=> Magenta
  2760. // <7=> Cyan
  2761. // <8=> White
  2762. #ifndef NRF_CLI_UART_CONFIG_INFO_COLOR
  2763. #define NRF_CLI_UART_CONFIG_INFO_COLOR 0
  2764. #endif
  2765. // <o> NRF_CLI_UART_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  2766. // <0=> Default
  2767. // <1=> Black
  2768. // <2=> Red
  2769. // <3=> Green
  2770. // <4=> Yellow
  2771. // <5=> Blue
  2772. // <6=> Magenta
  2773. // <7=> Cyan
  2774. // <8=> White
  2775. #ifndef NRF_CLI_UART_CONFIG_DEBUG_COLOR
  2776. #define NRF_CLI_UART_CONFIG_DEBUG_COLOR 0
  2777. #endif
  2778. // </e>
  2779. // <e> NRF_LIBUARTE_CONFIG_LOG_ENABLED - Enables logging in the module.
  2780. //==========================================================
  2781. #ifndef NRF_LIBUARTE_CONFIG_LOG_ENABLED
  2782. #define NRF_LIBUARTE_CONFIG_LOG_ENABLED 0
  2783. #endif
  2784. // <o> NRF_LIBUARTE_CONFIG_LOG_LEVEL - Default Severity level
  2785. // <0=> Off
  2786. // <1=> Error
  2787. // <2=> Warning
  2788. // <3=> Info
  2789. // <4=> Debug
  2790. #ifndef NRF_LIBUARTE_CONFIG_LOG_LEVEL
  2791. #define NRF_LIBUARTE_CONFIG_LOG_LEVEL 3
  2792. #endif
  2793. // <o> NRF_LIBUARTE_CONFIG_INFO_COLOR - ANSI escape code prefix.
  2794. // <0=> Default
  2795. // <1=> Black
  2796. // <2=> Red
  2797. // <3=> Green
  2798. // <4=> Yellow
  2799. // <5=> Blue
  2800. // <6=> Magenta
  2801. // <7=> Cyan
  2802. // <8=> White
  2803. #ifndef NRF_LIBUARTE_CONFIG_INFO_COLOR
  2804. #define NRF_LIBUARTE_CONFIG_INFO_COLOR 0
  2805. #endif
  2806. // <o> NRF_LIBUARTE_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  2807. // <0=> Default
  2808. // <1=> Black
  2809. // <2=> Red
  2810. // <3=> Green
  2811. // <4=> Yellow
  2812. // <5=> Blue
  2813. // <6=> Magenta
  2814. // <7=> Cyan
  2815. // <8=> White
  2816. #ifndef NRF_LIBUARTE_CONFIG_DEBUG_COLOR
  2817. #define NRF_LIBUARTE_CONFIG_DEBUG_COLOR 0
  2818. #endif
  2819. // </e>
  2820. // <e> NRF_MEMOBJ_CONFIG_LOG_ENABLED - Enables logging in the module.
  2821. //==========================================================
  2822. #ifndef NRF_MEMOBJ_CONFIG_LOG_ENABLED
  2823. #define NRF_MEMOBJ_CONFIG_LOG_ENABLED 0
  2824. #endif
  2825. // <o> NRF_MEMOBJ_CONFIG_LOG_LEVEL - Default Severity level
  2826. // <0=> Off
  2827. // <1=> Error
  2828. // <2=> Warning
  2829. // <3=> Info
  2830. // <4=> Debug
  2831. #ifndef NRF_MEMOBJ_CONFIG_LOG_LEVEL
  2832. #define NRF_MEMOBJ_CONFIG_LOG_LEVEL 3
  2833. #endif
  2834. // <o> NRF_MEMOBJ_CONFIG_INFO_COLOR - ANSI escape code prefix.
  2835. // <0=> Default
  2836. // <1=> Black
  2837. // <2=> Red
  2838. // <3=> Green
  2839. // <4=> Yellow
  2840. // <5=> Blue
  2841. // <6=> Magenta
  2842. // <7=> Cyan
  2843. // <8=> White
  2844. #ifndef NRF_MEMOBJ_CONFIG_INFO_COLOR
  2845. #define NRF_MEMOBJ_CONFIG_INFO_COLOR 0
  2846. #endif
  2847. // <o> NRF_MEMOBJ_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  2848. // <0=> Default
  2849. // <1=> Black
  2850. // <2=> Red
  2851. // <3=> Green
  2852. // <4=> Yellow
  2853. // <5=> Blue
  2854. // <6=> Magenta
  2855. // <7=> Cyan
  2856. // <8=> White
  2857. #ifndef NRF_MEMOBJ_CONFIG_DEBUG_COLOR
  2858. #define NRF_MEMOBJ_CONFIG_DEBUG_COLOR 0
  2859. #endif
  2860. // </e>
  2861. // <e> NRF_PWR_MGMT_CONFIG_LOG_ENABLED - Enables logging in the module.
  2862. //==========================================================
  2863. #ifndef NRF_PWR_MGMT_CONFIG_LOG_ENABLED
  2864. #define NRF_PWR_MGMT_CONFIG_LOG_ENABLED 0
  2865. #endif
  2866. // <o> NRF_PWR_MGMT_CONFIG_LOG_LEVEL - Default Severity level
  2867. // <0=> Off
  2868. // <1=> Error
  2869. // <2=> Warning
  2870. // <3=> Info
  2871. // <4=> Debug
  2872. #ifndef NRF_PWR_MGMT_CONFIG_LOG_LEVEL
  2873. #define NRF_PWR_MGMT_CONFIG_LOG_LEVEL 3
  2874. #endif
  2875. // <o> NRF_PWR_MGMT_CONFIG_INFO_COLOR - ANSI escape code prefix.
  2876. // <0=> Default
  2877. // <1=> Black
  2878. // <2=> Red
  2879. // <3=> Green
  2880. // <4=> Yellow
  2881. // <5=> Blue
  2882. // <6=> Magenta
  2883. // <7=> Cyan
  2884. // <8=> White
  2885. #ifndef NRF_PWR_MGMT_CONFIG_INFO_COLOR
  2886. #define NRF_PWR_MGMT_CONFIG_INFO_COLOR 0
  2887. #endif
  2888. // <o> NRF_PWR_MGMT_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  2889. // <0=> Default
  2890. // <1=> Black
  2891. // <2=> Red
  2892. // <3=> Green
  2893. // <4=> Yellow
  2894. // <5=> Blue
  2895. // <6=> Magenta
  2896. // <7=> Cyan
  2897. // <8=> White
  2898. #ifndef NRF_PWR_MGMT_CONFIG_DEBUG_COLOR
  2899. #define NRF_PWR_MGMT_CONFIG_DEBUG_COLOR 0
  2900. #endif
  2901. // </e>
  2902. // <e> NRF_QUEUE_CONFIG_LOG_ENABLED - Enables logging in the module.
  2903. //==========================================================
  2904. #ifndef NRF_QUEUE_CONFIG_LOG_ENABLED
  2905. #define NRF_QUEUE_CONFIG_LOG_ENABLED 0
  2906. #endif
  2907. // <o> NRF_QUEUE_CONFIG_LOG_LEVEL - Default Severity level
  2908. // <0=> Off
  2909. // <1=> Error
  2910. // <2=> Warning
  2911. // <3=> Info
  2912. // <4=> Debug
  2913. #ifndef NRF_QUEUE_CONFIG_LOG_LEVEL
  2914. #define NRF_QUEUE_CONFIG_LOG_LEVEL 3
  2915. #endif
  2916. // <o> NRF_QUEUE_CONFIG_LOG_INIT_FILTER_LEVEL - Initial severity level if dynamic filtering is enabled
  2917. // <0=> Off
  2918. // <1=> Error
  2919. // <2=> Warning
  2920. // <3=> Info
  2921. // <4=> Debug
  2922. #ifndef NRF_QUEUE_CONFIG_LOG_INIT_FILTER_LEVEL
  2923. #define NRF_QUEUE_CONFIG_LOG_INIT_FILTER_LEVEL 3
  2924. #endif
  2925. // <o> NRF_QUEUE_CONFIG_INFO_COLOR - ANSI escape code prefix.
  2926. // <0=> Default
  2927. // <1=> Black
  2928. // <2=> Red
  2929. // <3=> Green
  2930. // <4=> Yellow
  2931. // <5=> Blue
  2932. // <6=> Magenta
  2933. // <7=> Cyan
  2934. // <8=> White
  2935. #ifndef NRF_QUEUE_CONFIG_INFO_COLOR
  2936. #define NRF_QUEUE_CONFIG_INFO_COLOR 0
  2937. #endif
  2938. // <o> NRF_QUEUE_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  2939. // <0=> Default
  2940. // <1=> Black
  2941. // <2=> Red
  2942. // <3=> Green
  2943. // <4=> Yellow
  2944. // <5=> Blue
  2945. // <6=> Magenta
  2946. // <7=> Cyan
  2947. // <8=> White
  2948. #ifndef NRF_QUEUE_CONFIG_DEBUG_COLOR
  2949. #define NRF_QUEUE_CONFIG_DEBUG_COLOR 0
  2950. #endif
  2951. // </e>
  2952. // <e> NRF_SDH_ANT_LOG_ENABLED - Enable logging in SoftDevice handler (ANT) module.
  2953. //==========================================================
  2954. #ifndef NRF_SDH_ANT_LOG_ENABLED
  2955. #define NRF_SDH_ANT_LOG_ENABLED 0
  2956. #endif
  2957. // <o> NRF_SDH_ANT_LOG_LEVEL - Default Severity level
  2958. // <0=> Off
  2959. // <1=> Error
  2960. // <2=> Warning
  2961. // <3=> Info
  2962. // <4=> Debug
  2963. #ifndef NRF_SDH_ANT_LOG_LEVEL
  2964. #define NRF_SDH_ANT_LOG_LEVEL 3
  2965. #endif
  2966. // <o> NRF_SDH_ANT_INFO_COLOR - ANSI escape code prefix.
  2967. // <0=> Default
  2968. // <1=> Black
  2969. // <2=> Red
  2970. // <3=> Green
  2971. // <4=> Yellow
  2972. // <5=> Blue
  2973. // <6=> Magenta
  2974. // <7=> Cyan
  2975. // <8=> White
  2976. #ifndef NRF_SDH_ANT_INFO_COLOR
  2977. #define NRF_SDH_ANT_INFO_COLOR 0
  2978. #endif
  2979. // <o> NRF_SDH_ANT_DEBUG_COLOR - ANSI escape code prefix.
  2980. // <0=> Default
  2981. // <1=> Black
  2982. // <2=> Red
  2983. // <3=> Green
  2984. // <4=> Yellow
  2985. // <5=> Blue
  2986. // <6=> Magenta
  2987. // <7=> Cyan
  2988. // <8=> White
  2989. #ifndef NRF_SDH_ANT_DEBUG_COLOR
  2990. #define NRF_SDH_ANT_DEBUG_COLOR 0
  2991. #endif
  2992. // </e>
  2993. // <e> NRF_SDH_BLE_LOG_ENABLED - Enable logging in SoftDevice handler (BLE) module.
  2994. //==========================================================
  2995. #ifndef NRF_SDH_BLE_LOG_ENABLED
  2996. #define NRF_SDH_BLE_LOG_ENABLED 0
  2997. #endif
  2998. // <o> NRF_SDH_BLE_LOG_LEVEL - Default Severity level
  2999. // <0=> Off
  3000. // <1=> Error
  3001. // <2=> Warning
  3002. // <3=> Info
  3003. // <4=> Debug
  3004. #ifndef NRF_SDH_BLE_LOG_LEVEL
  3005. #define NRF_SDH_BLE_LOG_LEVEL 3
  3006. #endif
  3007. // <o> NRF_SDH_BLE_INFO_COLOR - ANSI escape code prefix.
  3008. // <0=> Default
  3009. // <1=> Black
  3010. // <2=> Red
  3011. // <3=> Green
  3012. // <4=> Yellow
  3013. // <5=> Blue
  3014. // <6=> Magenta
  3015. // <7=> Cyan
  3016. // <8=> White
  3017. #ifndef NRF_SDH_BLE_INFO_COLOR
  3018. #define NRF_SDH_BLE_INFO_COLOR 0
  3019. #endif
  3020. // <o> NRF_SDH_BLE_DEBUG_COLOR - ANSI escape code prefix.
  3021. // <0=> Default
  3022. // <1=> Black
  3023. // <2=> Red
  3024. // <3=> Green
  3025. // <4=> Yellow
  3026. // <5=> Blue
  3027. // <6=> Magenta
  3028. // <7=> Cyan
  3029. // <8=> White
  3030. #ifndef NRF_SDH_BLE_DEBUG_COLOR
  3031. #define NRF_SDH_BLE_DEBUG_COLOR 0
  3032. #endif
  3033. // </e>
  3034. // <e> NRF_SDH_LOG_ENABLED - Enable logging in SoftDevice handler module.
  3035. //==========================================================
  3036. #ifndef NRF_SDH_LOG_ENABLED
  3037. #define NRF_SDH_LOG_ENABLED 0
  3038. #endif
  3039. // <o> NRF_SDH_LOG_LEVEL - Default Severity level
  3040. // <0=> Off
  3041. // <1=> Error
  3042. // <2=> Warning
  3043. // <3=> Info
  3044. // <4=> Debug
  3045. #ifndef NRF_SDH_LOG_LEVEL
  3046. #define NRF_SDH_LOG_LEVEL 3
  3047. #endif
  3048. // <o> NRF_SDH_INFO_COLOR - ANSI escape code prefix.
  3049. // <0=> Default
  3050. // <1=> Black
  3051. // <2=> Red
  3052. // <3=> Green
  3053. // <4=> Yellow
  3054. // <5=> Blue
  3055. // <6=> Magenta
  3056. // <7=> Cyan
  3057. // <8=> White
  3058. #ifndef NRF_SDH_INFO_COLOR
  3059. #define NRF_SDH_INFO_COLOR 0
  3060. #endif
  3061. // <o> NRF_SDH_DEBUG_COLOR - ANSI escape code prefix.
  3062. // <0=> Default
  3063. // <1=> Black
  3064. // <2=> Red
  3065. // <3=> Green
  3066. // <4=> Yellow
  3067. // <5=> Blue
  3068. // <6=> Magenta
  3069. // <7=> Cyan
  3070. // <8=> White
  3071. #ifndef NRF_SDH_DEBUG_COLOR
  3072. #define NRF_SDH_DEBUG_COLOR 0
  3073. #endif
  3074. // </e>
  3075. // <e> NRF_SDH_SOC_LOG_ENABLED - Enable logging in SoftDevice handler (SoC) module.
  3076. //==========================================================
  3077. #ifndef NRF_SDH_SOC_LOG_ENABLED
  3078. #define NRF_SDH_SOC_LOG_ENABLED 0
  3079. #endif
  3080. // <o> NRF_SDH_SOC_LOG_LEVEL - Default Severity level
  3081. // <0=> Off
  3082. // <1=> Error
  3083. // <2=> Warning
  3084. // <3=> Info
  3085. // <4=> Debug
  3086. #ifndef NRF_SDH_SOC_LOG_LEVEL
  3087. #define NRF_SDH_SOC_LOG_LEVEL 3
  3088. #endif
  3089. // <o> NRF_SDH_SOC_INFO_COLOR - ANSI escape code prefix.
  3090. // <0=> Default
  3091. // <1=> Black
  3092. // <2=> Red
  3093. // <3=> Green
  3094. // <4=> Yellow
  3095. // <5=> Blue
  3096. // <6=> Magenta
  3097. // <7=> Cyan
  3098. // <8=> White
  3099. #ifndef NRF_SDH_SOC_INFO_COLOR
  3100. #define NRF_SDH_SOC_INFO_COLOR 0
  3101. #endif
  3102. // <o> NRF_SDH_SOC_DEBUG_COLOR - ANSI escape code prefix.
  3103. // <0=> Default
  3104. // <1=> Black
  3105. // <2=> Red
  3106. // <3=> Green
  3107. // <4=> Yellow
  3108. // <5=> Blue
  3109. // <6=> Magenta
  3110. // <7=> Cyan
  3111. // <8=> White
  3112. #ifndef NRF_SDH_SOC_DEBUG_COLOR
  3113. #define NRF_SDH_SOC_DEBUG_COLOR 0
  3114. #endif
  3115. // </e>
  3116. // <e> NRF_SORTLIST_CONFIG_LOG_ENABLED - Enables logging in the module.
  3117. //==========================================================
  3118. #ifndef NRF_SORTLIST_CONFIG_LOG_ENABLED
  3119. #define NRF_SORTLIST_CONFIG_LOG_ENABLED 0
  3120. #endif
  3121. // <o> NRF_SORTLIST_CONFIG_LOG_LEVEL - Default Severity level
  3122. // <0=> Off
  3123. // <1=> Error
  3124. // <2=> Warning
  3125. // <3=> Info
  3126. // <4=> Debug
  3127. #ifndef NRF_SORTLIST_CONFIG_LOG_LEVEL
  3128. #define NRF_SORTLIST_CONFIG_LOG_LEVEL 3
  3129. #endif
  3130. // <o> NRF_SORTLIST_CONFIG_INFO_COLOR - ANSI escape code prefix.
  3131. // <0=> Default
  3132. // <1=> Black
  3133. // <2=> Red
  3134. // <3=> Green
  3135. // <4=> Yellow
  3136. // <5=> Blue
  3137. // <6=> Magenta
  3138. // <7=> Cyan
  3139. // <8=> White
  3140. #ifndef NRF_SORTLIST_CONFIG_INFO_COLOR
  3141. #define NRF_SORTLIST_CONFIG_INFO_COLOR 0
  3142. #endif
  3143. // <o> NRF_SORTLIST_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  3144. // <0=> Default
  3145. // <1=> Black
  3146. // <2=> Red
  3147. // <3=> Green
  3148. // <4=> Yellow
  3149. // <5=> Blue
  3150. // <6=> Magenta
  3151. // <7=> Cyan
  3152. // <8=> White
  3153. #ifndef NRF_SORTLIST_CONFIG_DEBUG_COLOR
  3154. #define NRF_SORTLIST_CONFIG_DEBUG_COLOR 0
  3155. #endif
  3156. // </e>
  3157. // <e> NRF_TWI_SENSOR_CONFIG_LOG_ENABLED - Enables logging in the module.
  3158. //==========================================================
  3159. #ifndef NRF_TWI_SENSOR_CONFIG_LOG_ENABLED
  3160. #define NRF_TWI_SENSOR_CONFIG_LOG_ENABLED 0
  3161. #endif
  3162. // <o> NRF_TWI_SENSOR_CONFIG_LOG_LEVEL - Default Severity level
  3163. // <0=> Off
  3164. // <1=> Error
  3165. // <2=> Warning
  3166. // <3=> Info
  3167. // <4=> Debug
  3168. #ifndef NRF_TWI_SENSOR_CONFIG_LOG_LEVEL
  3169. #define NRF_TWI_SENSOR_CONFIG_LOG_LEVEL 3
  3170. #endif
  3171. // <o> NRF_TWI_SENSOR_CONFIG_INFO_COLOR - ANSI escape code prefix.
  3172. // <0=> Default
  3173. // <1=> Black
  3174. // <2=> Red
  3175. // <3=> Green
  3176. // <4=> Yellow
  3177. // <5=> Blue
  3178. // <6=> Magenta
  3179. // <7=> Cyan
  3180. // <8=> White
  3181. #ifndef NRF_TWI_SENSOR_CONFIG_INFO_COLOR
  3182. #define NRF_TWI_SENSOR_CONFIG_INFO_COLOR 0
  3183. #endif
  3184. // <o> NRF_TWI_SENSOR_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  3185. // <0=> Default
  3186. // <1=> Black
  3187. // <2=> Red
  3188. // <3=> Green
  3189. // <4=> Yellow
  3190. // <5=> Blue
  3191. // <6=> Magenta
  3192. // <7=> Cyan
  3193. // <8=> White
  3194. #ifndef NRF_TWI_SENSOR_CONFIG_DEBUG_COLOR
  3195. #define NRF_TWI_SENSOR_CONFIG_DEBUG_COLOR 0
  3196. #endif
  3197. // </e>
  3198. // <e> PM_LOG_ENABLED - Enable logging in Peer Manager and its submodules.
  3199. //==========================================================
  3200. #ifndef PM_LOG_ENABLED
  3201. #define PM_LOG_ENABLED 1
  3202. #endif
  3203. // <o> PM_LOG_LEVEL - Default Severity level
  3204. // <0=> Off
  3205. // <1=> Error
  3206. // <2=> Warning
  3207. // <3=> Info
  3208. // <4=> Debug
  3209. #ifndef PM_LOG_LEVEL
  3210. #define PM_LOG_LEVEL 3
  3211. #endif
  3212. // <o> PM_LOG_INFO_COLOR - ANSI escape code prefix.
  3213. // <0=> Default
  3214. // <1=> Black
  3215. // <2=> Red
  3216. // <3=> Green
  3217. // <4=> Yellow
  3218. // <5=> Blue
  3219. // <6=> Magenta
  3220. // <7=> Cyan
  3221. // <8=> White
  3222. #ifndef PM_LOG_INFO_COLOR
  3223. #define PM_LOG_INFO_COLOR 0
  3224. #endif
  3225. // <o> PM_LOG_DEBUG_COLOR - ANSI escape code prefix.
  3226. // <0=> Default
  3227. // <1=> Black
  3228. // <2=> Red
  3229. // <3=> Green
  3230. // <4=> Yellow
  3231. // <5=> Blue
  3232. // <6=> Magenta
  3233. // <7=> Cyan
  3234. // <8=> White
  3235. #ifndef PM_LOG_DEBUG_COLOR
  3236. #define PM_LOG_DEBUG_COLOR 0
  3237. #endif
  3238. // </e>
  3239. // </h>
  3240. //==========================================================
  3241. // <h> nrf_log in nRF_Serialization
  3242. //==========================================================
  3243. // <e> SER_HAL_TRANSPORT_CONFIG_LOG_ENABLED - Enables logging in the module.
  3244. //==========================================================
  3245. #ifndef SER_HAL_TRANSPORT_CONFIG_LOG_ENABLED
  3246. #define SER_HAL_TRANSPORT_CONFIG_LOG_ENABLED 0
  3247. #endif
  3248. // <o> SER_HAL_TRANSPORT_CONFIG_LOG_LEVEL - Default Severity level
  3249. // <0=> Off
  3250. // <1=> Error
  3251. // <2=> Warning
  3252. // <3=> Info
  3253. // <4=> Debug
  3254. #ifndef SER_HAL_TRANSPORT_CONFIG_LOG_LEVEL
  3255. #define SER_HAL_TRANSPORT_CONFIG_LOG_LEVEL 3
  3256. #endif
  3257. // <o> SER_HAL_TRANSPORT_CONFIG_INFO_COLOR - ANSI escape code prefix.
  3258. // <0=> Default
  3259. // <1=> Black
  3260. // <2=> Red
  3261. // <3=> Green
  3262. // <4=> Yellow
  3263. // <5=> Blue
  3264. // <6=> Magenta
  3265. // <7=> Cyan
  3266. // <8=> White
  3267. #ifndef SER_HAL_TRANSPORT_CONFIG_INFO_COLOR
  3268. #define SER_HAL_TRANSPORT_CONFIG_INFO_COLOR 0
  3269. #endif
  3270. // <o> SER_HAL_TRANSPORT_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  3271. // <0=> Default
  3272. // <1=> Black
  3273. // <2=> Red
  3274. // <3=> Green
  3275. // <4=> Yellow
  3276. // <5=> Blue
  3277. // <6=> Magenta
  3278. // <7=> Cyan
  3279. // <8=> White
  3280. #ifndef SER_HAL_TRANSPORT_CONFIG_DEBUG_COLOR
  3281. #define SER_HAL_TRANSPORT_CONFIG_DEBUG_COLOR 0
  3282. #endif
  3283. // </e>
  3284. // </h>
  3285. //==========================================================
  3286. // </h>
  3287. //==========================================================
  3288. // </e>
  3289. // <q> NRF_LOG_STR_FORMATTER_TIMESTAMP_FORMAT_ENABLED - nrf_log_str_formatter - Log string formatter
  3290. #ifndef NRF_LOG_STR_FORMATTER_TIMESTAMP_FORMAT_ENABLED
  3291. #define NRF_LOG_STR_FORMATTER_TIMESTAMP_FORMAT_ENABLED 1
  3292. #endif
  3293. // </h>
  3294. //==========================================================
  3295. // <<< end of configuration section >>>
  3296. #endif //SDK_CONFIG_H