sdk_config.h 277 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952
  1. /**
  2. * Copyright (c) 2017 - 2020, 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> Application
  47. //==========================================================
  48. // <o> APP_SHUTDOWN_HANDLER_PRIORITY - Application shutdown observer priority.
  49. #ifndef APP_SHUTDOWN_HANDLER_PRIORITY
  50. #define APP_SHUTDOWN_HANDLER_PRIORITY 1
  51. #endif
  52. // <o> NRF_BLE_GQ_QUEUE_SIZE - Queue size for BLE GATT Queue module.
  53. #ifndef NRF_BLE_GQ_QUEUE_SIZE
  54. #define NRF_BLE_GQ_QUEUE_SIZE 4
  55. #endif
  56. // </h>
  57. //==========================================================
  58. // <h> Board Support
  59. //==========================================================
  60. // <q> BSP_BTN_BLE_ENABLED - bsp_btn_ble - Button Control for BLE
  61. #ifndef BSP_BTN_BLE_ENABLED
  62. #define BSP_BTN_BLE_ENABLED 1
  63. #endif
  64. // </h>
  65. //==========================================================
  66. // <h> nRF_BLE
  67. //==========================================================
  68. // <q> BLE_ADVERTISING_ENABLED - ble_advertising - Advertising module
  69. #ifndef BLE_ADVERTISING_ENABLED
  70. #define BLE_ADVERTISING_ENABLED 0
  71. #endif
  72. // <q> BLE_DB_DISCOVERY_ENABLED - ble_db_discovery - Database discovery module
  73. #ifndef BLE_DB_DISCOVERY_ENABLED
  74. #define BLE_DB_DISCOVERY_ENABLED 1
  75. #endif
  76. // <q> BLE_DTM_ENABLED - ble_dtm - Module for testing RF/PHY using DTM commands
  77. #ifndef BLE_DTM_ENABLED
  78. #define BLE_DTM_ENABLED 0
  79. #endif
  80. // <q> BLE_RACP_ENABLED - ble_racp - Record Access Control Point library
  81. #ifndef BLE_RACP_ENABLED
  82. #define BLE_RACP_ENABLED 0
  83. #endif
  84. // <q> NRF_BLE_GATT_ENABLED - nrf_ble_gatt - GATT module
  85. #ifndef NRF_BLE_GATT_ENABLED
  86. #define NRF_BLE_GATT_ENABLED 1
  87. #endif
  88. // <e> NRF_BLE_GQ_ENABLED - nrf_ble_gq - BLE GATT Queue Module
  89. //==========================================================
  90. #ifndef NRF_BLE_GQ_ENABLED
  91. #define NRF_BLE_GQ_ENABLED 1
  92. #endif
  93. // <o> NRF_BLE_GQ_DATAPOOL_ELEMENT_SIZE - Default size of a single element in the pool of memory objects.
  94. #ifndef NRF_BLE_GQ_DATAPOOL_ELEMENT_SIZE
  95. #define NRF_BLE_GQ_DATAPOOL_ELEMENT_SIZE 20
  96. #endif
  97. // <o> NRF_BLE_GQ_DATAPOOL_ELEMENT_COUNT - Default number of elements in the pool of memory objects.
  98. #ifndef NRF_BLE_GQ_DATAPOOL_ELEMENT_COUNT
  99. #define NRF_BLE_GQ_DATAPOOL_ELEMENT_COUNT 8
  100. #endif
  101. // <o> NRF_BLE_GQ_GATTC_WRITE_MAX_DATA_LEN - Maximal size of the data inside GATTC write request (in bytes).
  102. #ifndef NRF_BLE_GQ_GATTC_WRITE_MAX_DATA_LEN
  103. #define NRF_BLE_GQ_GATTC_WRITE_MAX_DATA_LEN 16
  104. #endif
  105. // <o> NRF_BLE_GQ_GATTS_HVX_MAX_DATA_LEN - Maximal size of the data inside GATTC notification or indication request (in bytes).
  106. #ifndef NRF_BLE_GQ_GATTS_HVX_MAX_DATA_LEN
  107. #define NRF_BLE_GQ_GATTS_HVX_MAX_DATA_LEN 16
  108. #endif
  109. // </e>
  110. // <e> NRF_BLE_QWR_ENABLED - nrf_ble_qwr - Queued writes support module (prepare/execute write)
  111. //==========================================================
  112. #ifndef NRF_BLE_QWR_ENABLED
  113. #define NRF_BLE_QWR_ENABLED 0
  114. #endif
  115. // <o> NRF_BLE_QWR_MAX_ATTR - Maximum number of attribute handles that can be registered. This number must be adjusted according to the number of attributes for which Queued Writes will be enabled. If it is zero, the module will reject all Queued Write requests.
  116. #ifndef NRF_BLE_QWR_MAX_ATTR
  117. #define NRF_BLE_QWR_MAX_ATTR 0
  118. #endif
  119. // </e>
  120. // <e> NRF_BLE_SCAN_ENABLED - nrf_ble_scan - Scanning Module
  121. //==========================================================
  122. #ifndef NRF_BLE_SCAN_ENABLED
  123. #define NRF_BLE_SCAN_ENABLED 1
  124. #endif
  125. // <o> NRF_BLE_SCAN_BUFFER - Data length for an advertising set.
  126. #ifndef NRF_BLE_SCAN_BUFFER
  127. #define NRF_BLE_SCAN_BUFFER 31
  128. #endif
  129. // <o> NRF_BLE_SCAN_NAME_MAX_LEN - Maximum size for the name to search in the advertisement report.
  130. #ifndef NRF_BLE_SCAN_NAME_MAX_LEN
  131. #define NRF_BLE_SCAN_NAME_MAX_LEN 32
  132. #endif
  133. // <o> NRF_BLE_SCAN_SHORT_NAME_MAX_LEN - Maximum size of the short name to search for in the advertisement report.
  134. #ifndef NRF_BLE_SCAN_SHORT_NAME_MAX_LEN
  135. #define NRF_BLE_SCAN_SHORT_NAME_MAX_LEN 32
  136. #endif
  137. // <o> NRF_BLE_SCAN_SCAN_INTERVAL - Scanning interval. Determines the scan interval in units of 0.625 millisecond.
  138. #ifndef NRF_BLE_SCAN_SCAN_INTERVAL
  139. #define NRF_BLE_SCAN_SCAN_INTERVAL 160
  140. #endif
  141. // <o> NRF_BLE_SCAN_SCAN_DURATION - Duration of a scanning session in units of 10 ms. Range: 0x0001 - 0xFFFF (10 ms to 10.9225 ms). If set to 0x0000, the scanning continues until it is explicitly disabled.
  142. #ifndef NRF_BLE_SCAN_SCAN_DURATION
  143. #define NRF_BLE_SCAN_SCAN_DURATION 0
  144. #endif
  145. // <o> NRF_BLE_SCAN_SCAN_WINDOW - Scanning window. Determines the scanning window in units of 0.625 millisecond.
  146. #ifndef NRF_BLE_SCAN_SCAN_WINDOW
  147. #define NRF_BLE_SCAN_SCAN_WINDOW 80
  148. #endif
  149. // <o> NRF_BLE_SCAN_MIN_CONNECTION_INTERVAL - Determines minimum connection interval in milliseconds.
  150. #ifndef NRF_BLE_SCAN_MIN_CONNECTION_INTERVAL
  151. #define NRF_BLE_SCAN_MIN_CONNECTION_INTERVAL 7.5
  152. #endif
  153. // <o> NRF_BLE_SCAN_MAX_CONNECTION_INTERVAL - Determines maximum connection interval in milliseconds.
  154. #ifndef NRF_BLE_SCAN_MAX_CONNECTION_INTERVAL
  155. #define NRF_BLE_SCAN_MAX_CONNECTION_INTERVAL 30
  156. #endif
  157. // <o> NRF_BLE_SCAN_SLAVE_LATENCY - Determines the slave latency in counts of connection events.
  158. #ifndef NRF_BLE_SCAN_SLAVE_LATENCY
  159. #define NRF_BLE_SCAN_SLAVE_LATENCY 0
  160. #endif
  161. // <o> NRF_BLE_SCAN_SUPERVISION_TIMEOUT - Determines the supervision time-out in units of 10 millisecond.
  162. #ifndef NRF_BLE_SCAN_SUPERVISION_TIMEOUT
  163. #define NRF_BLE_SCAN_SUPERVISION_TIMEOUT 4000
  164. #endif
  165. // <o> NRF_BLE_SCAN_SCAN_PHY - PHY to scan on.
  166. // <0=> BLE_GAP_PHY_AUTO
  167. // <1=> BLE_GAP_PHY_1MBPS
  168. // <2=> BLE_GAP_PHY_2MBPS
  169. // <4=> BLE_GAP_PHY_CODED
  170. // <255=> BLE_GAP_PHY_NOT_SET
  171. #ifndef NRF_BLE_SCAN_SCAN_PHY
  172. #define NRF_BLE_SCAN_SCAN_PHY 1
  173. #endif
  174. // <e> NRF_BLE_SCAN_FILTER_ENABLE - Enabling filters for the Scanning Module.
  175. //==========================================================
  176. #ifndef NRF_BLE_SCAN_FILTER_ENABLE
  177. #define NRF_BLE_SCAN_FILTER_ENABLE 1
  178. #endif
  179. // <o> NRF_BLE_SCAN_UUID_CNT - Number of filters for UUIDs.
  180. #ifndef NRF_BLE_SCAN_UUID_CNT
  181. #define NRF_BLE_SCAN_UUID_CNT 1
  182. #endif
  183. // <o> NRF_BLE_SCAN_NAME_CNT - Number of name filters.
  184. #ifndef NRF_BLE_SCAN_NAME_CNT
  185. #define NRF_BLE_SCAN_NAME_CNT 0
  186. #endif
  187. // <o> NRF_BLE_SCAN_SHORT_NAME_CNT - Number of short name filters.
  188. #ifndef NRF_BLE_SCAN_SHORT_NAME_CNT
  189. #define NRF_BLE_SCAN_SHORT_NAME_CNT 0
  190. #endif
  191. // <o> NRF_BLE_SCAN_ADDRESS_CNT - Number of address filters.
  192. #ifndef NRF_BLE_SCAN_ADDRESS_CNT
  193. #define NRF_BLE_SCAN_ADDRESS_CNT 0
  194. #endif
  195. // <o> NRF_BLE_SCAN_APPEARANCE_CNT - Number of appearance filters.
  196. #ifndef NRF_BLE_SCAN_APPEARANCE_CNT
  197. #define NRF_BLE_SCAN_APPEARANCE_CNT 0
  198. #endif
  199. // </e>
  200. // </e>
  201. // <e> PEER_MANAGER_ENABLED - peer_manager - Peer Manager
  202. //==========================================================
  203. #ifndef PEER_MANAGER_ENABLED
  204. #define PEER_MANAGER_ENABLED 0
  205. #endif
  206. // <o> PM_MAX_REGISTRANTS - Number of event handlers that can be registered.
  207. #ifndef PM_MAX_REGISTRANTS
  208. #define PM_MAX_REGISTRANTS 3
  209. #endif
  210. // <o> PM_FLASH_BUFFERS - Number of internal buffers for flash operations.
  211. // <i> Decrease this value to lower RAM usage.
  212. #ifndef PM_FLASH_BUFFERS
  213. #define PM_FLASH_BUFFERS 4
  214. #endif
  215. // <q> PM_CENTRAL_ENABLED - Enable/disable central-specific Peer Manager functionality.
  216. // <i> Enable/disable central-specific Peer Manager functionality.
  217. #ifndef PM_CENTRAL_ENABLED
  218. #define PM_CENTRAL_ENABLED 1
  219. #endif
  220. // <q> PM_SERVICE_CHANGED_ENABLED - Enable/disable the service changed management for GATT server in Peer Manager.
  221. // <i> If not using a GATT server, or using a server wihout a service changed characteristic,
  222. // <i> disable this to save code space.
  223. #ifndef PM_SERVICE_CHANGED_ENABLED
  224. #define PM_SERVICE_CHANGED_ENABLED 1
  225. #endif
  226. // <q> PM_PEER_RANKS_ENABLED - Enable/disable the peer rank management in Peer Manager.
  227. // <i> Set this to false to save code space if not using the peer rank API.
  228. #ifndef PM_PEER_RANKS_ENABLED
  229. #define PM_PEER_RANKS_ENABLED 1
  230. #endif
  231. // <q> PM_LESC_ENABLED - Enable/disable LESC support in Peer Manager.
  232. // <i> If set to true, you need to call nrf_ble_lesc_request_handler() in the main loop to respond to LESC-related BLE events. If LESC support is not required, set this to false to save code space.
  233. #ifndef PM_LESC_ENABLED
  234. #define PM_LESC_ENABLED 0
  235. #endif
  236. // <e> PM_RA_PROTECTION_ENABLED - Enable/disable protection against repeated pairing attempts in Peer Manager.
  237. //==========================================================
  238. #ifndef PM_RA_PROTECTION_ENABLED
  239. #define PM_RA_PROTECTION_ENABLED 0
  240. #endif
  241. // <o> PM_RA_PROTECTION_TRACKED_PEERS_NUM - Maximum number of peers whose authorization status can be tracked.
  242. #ifndef PM_RA_PROTECTION_TRACKED_PEERS_NUM
  243. #define PM_RA_PROTECTION_TRACKED_PEERS_NUM 8
  244. #endif
  245. // <o> PM_RA_PROTECTION_MIN_WAIT_INTERVAL - Minimum waiting interval (in ms) before a new pairing attempt can be initiated.
  246. #ifndef PM_RA_PROTECTION_MIN_WAIT_INTERVAL
  247. #define PM_RA_PROTECTION_MIN_WAIT_INTERVAL 4000
  248. #endif
  249. // <o> PM_RA_PROTECTION_MAX_WAIT_INTERVAL - Maximum waiting interval (in ms) before a new pairing attempt can be initiated.
  250. #ifndef PM_RA_PROTECTION_MAX_WAIT_INTERVAL
  251. #define PM_RA_PROTECTION_MAX_WAIT_INTERVAL 64000
  252. #endif
  253. // <o> PM_RA_PROTECTION_REWARD_PERIOD - Reward period (in ms).
  254. // <i> The waiting interval is gradually decreased when no new failed pairing attempts are made during reward period.
  255. #ifndef PM_RA_PROTECTION_REWARD_PERIOD
  256. #define PM_RA_PROTECTION_REWARD_PERIOD 10000
  257. #endif
  258. // </e>
  259. // <o> PM_HANDLER_SEC_DELAY_MS - Delay before starting security.
  260. // <i> This might be necessary for interoperability reasons, especially as peripheral.
  261. #ifndef PM_HANDLER_SEC_DELAY_MS
  262. #define PM_HANDLER_SEC_DELAY_MS 0
  263. #endif
  264. // </e>
  265. // </h>
  266. //==========================================================
  267. // <h> nRF_BLE_Services
  268. //==========================================================
  269. // <q> BLE_ANCS_C_ENABLED - ble_ancs_c - Apple Notification Service Client
  270. #ifndef BLE_ANCS_C_ENABLED
  271. #define BLE_ANCS_C_ENABLED 0
  272. #endif
  273. // <q> BLE_ANS_C_ENABLED - ble_ans_c - Alert Notification Service Client
  274. #ifndef BLE_ANS_C_ENABLED
  275. #define BLE_ANS_C_ENABLED 0
  276. #endif
  277. // <q> BLE_BAS_C_ENABLED - ble_bas_c - Battery Service Client
  278. #ifndef BLE_BAS_C_ENABLED
  279. #define BLE_BAS_C_ENABLED 0
  280. #endif
  281. // <e> BLE_BAS_ENABLED - ble_bas - Battery Service
  282. //==========================================================
  283. #ifndef BLE_BAS_ENABLED
  284. #define BLE_BAS_ENABLED 0
  285. #endif
  286. // <e> BLE_BAS_CONFIG_LOG_ENABLED - Enables logging in the module.
  287. //==========================================================
  288. #ifndef BLE_BAS_CONFIG_LOG_ENABLED
  289. #define BLE_BAS_CONFIG_LOG_ENABLED 0
  290. #endif
  291. // <o> BLE_BAS_CONFIG_LOG_LEVEL - Default Severity level
  292. // <0=> Off
  293. // <1=> Error
  294. // <2=> Warning
  295. // <3=> Info
  296. // <4=> Debug
  297. #ifndef BLE_BAS_CONFIG_LOG_LEVEL
  298. #define BLE_BAS_CONFIG_LOG_LEVEL 3
  299. #endif
  300. // <o> BLE_BAS_CONFIG_INFO_COLOR - ANSI escape code prefix.
  301. // <0=> Default
  302. // <1=> Black
  303. // <2=> Red
  304. // <3=> Green
  305. // <4=> Yellow
  306. // <5=> Blue
  307. // <6=> Magenta
  308. // <7=> Cyan
  309. // <8=> White
  310. #ifndef BLE_BAS_CONFIG_INFO_COLOR
  311. #define BLE_BAS_CONFIG_INFO_COLOR 0
  312. #endif
  313. // <o> BLE_BAS_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  314. // <0=> Default
  315. // <1=> Black
  316. // <2=> Red
  317. // <3=> Green
  318. // <4=> Yellow
  319. // <5=> Blue
  320. // <6=> Magenta
  321. // <7=> Cyan
  322. // <8=> White
  323. #ifndef BLE_BAS_CONFIG_DEBUG_COLOR
  324. #define BLE_BAS_CONFIG_DEBUG_COLOR 0
  325. #endif
  326. // </e>
  327. // </e>
  328. // <q> BLE_CSCS_ENABLED - ble_cscs - Cycling Speed and Cadence Service
  329. #ifndef BLE_CSCS_ENABLED
  330. #define BLE_CSCS_ENABLED 0
  331. #endif
  332. // <q> BLE_CTS_C_ENABLED - ble_cts_c - Current Time Service Client
  333. #ifndef BLE_CTS_C_ENABLED
  334. #define BLE_CTS_C_ENABLED 0
  335. #endif
  336. // <q> BLE_DIS_ENABLED - ble_dis - Device Information Service
  337. #ifndef BLE_DIS_ENABLED
  338. #define BLE_DIS_ENABLED 0
  339. #endif
  340. // <q> BLE_GLS_ENABLED - ble_gls - Glucose Service
  341. #ifndef BLE_GLS_ENABLED
  342. #define BLE_GLS_ENABLED 0
  343. #endif
  344. // <q> BLE_HIDS_ENABLED - ble_hids - Human Interface Device Service
  345. #ifndef BLE_HIDS_ENABLED
  346. #define BLE_HIDS_ENABLED 0
  347. #endif
  348. // <q> BLE_HRS_C_ENABLED - ble_hrs_c - Heart Rate Service Client
  349. #ifndef BLE_HRS_C_ENABLED
  350. #define BLE_HRS_C_ENABLED 0
  351. #endif
  352. // <q> BLE_HRS_ENABLED - ble_hrs - Heart Rate Service
  353. #ifndef BLE_HRS_ENABLED
  354. #define BLE_HRS_ENABLED 0
  355. #endif
  356. // <q> BLE_HTS_ENABLED - ble_hts - Health Thermometer Service
  357. #ifndef BLE_HTS_ENABLED
  358. #define BLE_HTS_ENABLED 0
  359. #endif
  360. // <q> BLE_IAS_C_ENABLED - ble_ias_c - Immediate Alert Service Client
  361. #ifndef BLE_IAS_C_ENABLED
  362. #define BLE_IAS_C_ENABLED 0
  363. #endif
  364. // <e> BLE_IAS_ENABLED - ble_ias - Immediate Alert Service
  365. //==========================================================
  366. #ifndef BLE_IAS_ENABLED
  367. #define BLE_IAS_ENABLED 0
  368. #endif
  369. // <e> BLE_IAS_CONFIG_LOG_ENABLED - Enables logging in the module.
  370. //==========================================================
  371. #ifndef BLE_IAS_CONFIG_LOG_ENABLED
  372. #define BLE_IAS_CONFIG_LOG_ENABLED 0
  373. #endif
  374. // <o> BLE_IAS_CONFIG_LOG_LEVEL - Default Severity level
  375. // <0=> Off
  376. // <1=> Error
  377. // <2=> Warning
  378. // <3=> Info
  379. // <4=> Debug
  380. #ifndef BLE_IAS_CONFIG_LOG_LEVEL
  381. #define BLE_IAS_CONFIG_LOG_LEVEL 3
  382. #endif
  383. // <o> BLE_IAS_CONFIG_INFO_COLOR - ANSI escape code prefix.
  384. // <0=> Default
  385. // <1=> Black
  386. // <2=> Red
  387. // <3=> Green
  388. // <4=> Yellow
  389. // <5=> Blue
  390. // <6=> Magenta
  391. // <7=> Cyan
  392. // <8=> White
  393. #ifndef BLE_IAS_CONFIG_INFO_COLOR
  394. #define BLE_IAS_CONFIG_INFO_COLOR 0
  395. #endif
  396. // <o> BLE_IAS_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  397. // <0=> Default
  398. // <1=> Black
  399. // <2=> Red
  400. // <3=> Green
  401. // <4=> Yellow
  402. // <5=> Blue
  403. // <6=> Magenta
  404. // <7=> Cyan
  405. // <8=> White
  406. #ifndef BLE_IAS_CONFIG_DEBUG_COLOR
  407. #define BLE_IAS_CONFIG_DEBUG_COLOR 0
  408. #endif
  409. // </e>
  410. // </e>
  411. // <q> BLE_LBS_C_ENABLED - ble_lbs_c - Nordic LED Button Service Client
  412. #ifndef BLE_LBS_C_ENABLED
  413. #define BLE_LBS_C_ENABLED 0
  414. #endif
  415. // <q> BLE_LBS_ENABLED - ble_lbs - LED Button Service
  416. #ifndef BLE_LBS_ENABLED
  417. #define BLE_LBS_ENABLED 0
  418. #endif
  419. // <q> BLE_LLS_ENABLED - ble_lls - Link Loss Service
  420. #ifndef BLE_LLS_ENABLED
  421. #define BLE_LLS_ENABLED 0
  422. #endif
  423. // <q> BLE_NUS_C_ENABLED - ble_nus_c - Nordic UART Central Service
  424. #ifndef BLE_NUS_C_ENABLED
  425. #define BLE_NUS_C_ENABLED 1
  426. #endif
  427. // <e> BLE_NUS_ENABLED - ble_nus - Nordic UART Service
  428. //==========================================================
  429. #ifndef BLE_NUS_ENABLED
  430. #define BLE_NUS_ENABLED 0
  431. #endif
  432. // <e> BLE_NUS_CONFIG_LOG_ENABLED - Enables logging in the module.
  433. //==========================================================
  434. #ifndef BLE_NUS_CONFIG_LOG_ENABLED
  435. #define BLE_NUS_CONFIG_LOG_ENABLED 0
  436. #endif
  437. // <o> BLE_NUS_CONFIG_LOG_LEVEL - Default Severity level
  438. // <0=> Off
  439. // <1=> Error
  440. // <2=> Warning
  441. // <3=> Info
  442. // <4=> Debug
  443. #ifndef BLE_NUS_CONFIG_LOG_LEVEL
  444. #define BLE_NUS_CONFIG_LOG_LEVEL 3
  445. #endif
  446. // <o> BLE_NUS_CONFIG_INFO_COLOR - ANSI escape code prefix.
  447. // <0=> Default
  448. // <1=> Black
  449. // <2=> Red
  450. // <3=> Green
  451. // <4=> Yellow
  452. // <5=> Blue
  453. // <6=> Magenta
  454. // <7=> Cyan
  455. // <8=> White
  456. #ifndef BLE_NUS_CONFIG_INFO_COLOR
  457. #define BLE_NUS_CONFIG_INFO_COLOR 0
  458. #endif
  459. // <o> BLE_NUS_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  460. // <0=> Default
  461. // <1=> Black
  462. // <2=> Red
  463. // <3=> Green
  464. // <4=> Yellow
  465. // <5=> Blue
  466. // <6=> Magenta
  467. // <7=> Cyan
  468. // <8=> White
  469. #ifndef BLE_NUS_CONFIG_DEBUG_COLOR
  470. #define BLE_NUS_CONFIG_DEBUG_COLOR 0
  471. #endif
  472. // </e>
  473. // </e>
  474. // <q> BLE_RSCS_C_ENABLED - ble_rscs_c - Running Speed and Cadence Client
  475. #ifndef BLE_RSCS_C_ENABLED
  476. #define BLE_RSCS_C_ENABLED 0
  477. #endif
  478. // <q> BLE_RSCS_ENABLED - ble_rscs - Running Speed and Cadence Service
  479. #ifndef BLE_RSCS_ENABLED
  480. #define BLE_RSCS_ENABLED 0
  481. #endif
  482. // <q> BLE_TPS_ENABLED - ble_tps - TX Power Service
  483. #ifndef BLE_TPS_ENABLED
  484. #define BLE_TPS_ENABLED 0
  485. #endif
  486. // </h>
  487. //==========================================================
  488. // <h> nRF_Core
  489. //==========================================================
  490. // <e> NRF_MPU_LIB_ENABLED - nrf_mpu_lib - Module for MPU
  491. //==========================================================
  492. #ifndef NRF_MPU_LIB_ENABLED
  493. #define NRF_MPU_LIB_ENABLED 0
  494. #endif
  495. // <q> NRF_MPU_LIB_CLI_CMDS - Enable CLI commands specific to the module.
  496. #ifndef NRF_MPU_LIB_CLI_CMDS
  497. #define NRF_MPU_LIB_CLI_CMDS 0
  498. #endif
  499. // </e>
  500. // <e> NRF_STACK_GUARD_ENABLED - nrf_stack_guard - Stack guard
  501. //==========================================================
  502. #ifndef NRF_STACK_GUARD_ENABLED
  503. #define NRF_STACK_GUARD_ENABLED 0
  504. #endif
  505. // <o> NRF_STACK_GUARD_CONFIG_SIZE - Size of the stack guard.
  506. // <5=> 32 bytes
  507. // <6=> 64 bytes
  508. // <7=> 128 bytes
  509. // <8=> 256 bytes
  510. // <9=> 512 bytes
  511. // <10=> 1024 bytes
  512. // <11=> 2048 bytes
  513. // <12=> 4096 bytes
  514. #ifndef NRF_STACK_GUARD_CONFIG_SIZE
  515. #define NRF_STACK_GUARD_CONFIG_SIZE 7
  516. #endif
  517. // </e>
  518. // </h>
  519. //==========================================================
  520. // <h> nRF_Crypto
  521. //==========================================================
  522. // <e> NRF_CRYPTO_ENABLED - nrf_crypto - Cryptography library.
  523. //==========================================================
  524. #ifndef NRF_CRYPTO_ENABLED
  525. #define NRF_CRYPTO_ENABLED 1
  526. #endif
  527. // <o> NRF_CRYPTO_ALLOCATOR - Memory allocator
  528. // <i> Choose memory allocator used by nrf_crypto. Default is alloca if possible or nrf_malloc otherwise. If 'User macros' are selected, the user has to create 'nrf_crypto_allocator.h' file that contains NRF_CRYPTO_ALLOC, NRF_CRYPTO_FREE, and NRF_CRYPTO_ALLOC_ON_STACK.
  529. // <0=> Default
  530. // <1=> User macros
  531. // <2=> On stack (alloca)
  532. // <3=> C dynamic memory (malloc)
  533. // <4=> SDK Memory Manager (nrf_malloc)
  534. #ifndef NRF_CRYPTO_ALLOCATOR
  535. #define NRF_CRYPTO_ALLOCATOR 0
  536. #endif
  537. // <e> NRF_CRYPTO_BACKEND_CC310_BL_ENABLED - Enable the ARM Cryptocell CC310 reduced backend.
  538. // <i> The CC310 hardware-accelerated cryptography backend with reduced functionality and footprint (only available on nRF52840).
  539. //==========================================================
  540. #ifndef NRF_CRYPTO_BACKEND_CC310_BL_ENABLED
  541. #define NRF_CRYPTO_BACKEND_CC310_BL_ENABLED 0
  542. #endif
  543. // <q> NRF_CRYPTO_BACKEND_CC310_BL_ECC_SECP224R1_ENABLED - Enable the secp224r1 elliptic curve support using CC310_BL.
  544. #ifndef NRF_CRYPTO_BACKEND_CC310_BL_ECC_SECP224R1_ENABLED
  545. #define NRF_CRYPTO_BACKEND_CC310_BL_ECC_SECP224R1_ENABLED 0
  546. #endif
  547. // <q> NRF_CRYPTO_BACKEND_CC310_BL_ECC_SECP256R1_ENABLED - Enable the secp256r1 elliptic curve support using CC310_BL.
  548. #ifndef NRF_CRYPTO_BACKEND_CC310_BL_ECC_SECP256R1_ENABLED
  549. #define NRF_CRYPTO_BACKEND_CC310_BL_ECC_SECP256R1_ENABLED 1
  550. #endif
  551. // <q> NRF_CRYPTO_BACKEND_CC310_BL_HASH_SHA256_ENABLED - CC310_BL SHA-256 hash functionality.
  552. // <i> CC310_BL backend implementation for hardware-accelerated SHA-256.
  553. #ifndef NRF_CRYPTO_BACKEND_CC310_BL_HASH_SHA256_ENABLED
  554. #define NRF_CRYPTO_BACKEND_CC310_BL_HASH_SHA256_ENABLED 1
  555. #endif
  556. // <q> NRF_CRYPTO_BACKEND_CC310_BL_HASH_AUTOMATIC_RAM_BUFFER_ENABLED - nrf_cc310_bl buffers to RAM before running hash operation
  557. // <i> Enabling this makes hashing of addresses in FLASH range possible. Size of buffer allocated for hashing is set by NRF_CRYPTO_BACKEND_CC310_BL_HASH_AUTOMATIC_RAM_BUFFER_SIZE
  558. #ifndef NRF_CRYPTO_BACKEND_CC310_BL_HASH_AUTOMATIC_RAM_BUFFER_ENABLED
  559. #define NRF_CRYPTO_BACKEND_CC310_BL_HASH_AUTOMATIC_RAM_BUFFER_ENABLED 0
  560. #endif
  561. // <o> NRF_CRYPTO_BACKEND_CC310_BL_HASH_AUTOMATIC_RAM_BUFFER_SIZE - nrf_cc310_bl hash outputs digests in little endian
  562. // <i> Makes the nrf_cc310_bl hash functions output digests in little endian format. Only for use in nRF SDK DFU!
  563. #ifndef NRF_CRYPTO_BACKEND_CC310_BL_HASH_AUTOMATIC_RAM_BUFFER_SIZE
  564. #define NRF_CRYPTO_BACKEND_CC310_BL_HASH_AUTOMATIC_RAM_BUFFER_SIZE 4096
  565. #endif
  566. // <q> NRF_CRYPTO_BACKEND_CC310_BL_INTERRUPTS_ENABLED - Enable Interrupts while support using CC310 bl.
  567. // <i> Select a library version compatible with the configuration. When interrupts are disable, a version named _noint must be used
  568. #ifndef NRF_CRYPTO_BACKEND_CC310_BL_INTERRUPTS_ENABLED
  569. #define NRF_CRYPTO_BACKEND_CC310_BL_INTERRUPTS_ENABLED 1
  570. #endif
  571. // </e>
  572. // <e> NRF_CRYPTO_BACKEND_CC310_ENABLED - Enable the ARM Cryptocell CC310 backend.
  573. // <i> The CC310 hardware-accelerated cryptography backend (only available on nRF52840).
  574. //==========================================================
  575. #ifndef NRF_CRYPTO_BACKEND_CC310_ENABLED
  576. #define NRF_CRYPTO_BACKEND_CC310_ENABLED 0
  577. #endif
  578. // <q> NRF_CRYPTO_BACKEND_CC310_AES_CBC_ENABLED - Enable the AES CBC mode using CC310.
  579. #ifndef NRF_CRYPTO_BACKEND_CC310_AES_CBC_ENABLED
  580. #define NRF_CRYPTO_BACKEND_CC310_AES_CBC_ENABLED 1
  581. #endif
  582. // <q> NRF_CRYPTO_BACKEND_CC310_AES_CTR_ENABLED - Enable the AES CTR mode using CC310.
  583. #ifndef NRF_CRYPTO_BACKEND_CC310_AES_CTR_ENABLED
  584. #define NRF_CRYPTO_BACKEND_CC310_AES_CTR_ENABLED 1
  585. #endif
  586. // <q> NRF_CRYPTO_BACKEND_CC310_AES_ECB_ENABLED - Enable the AES ECB mode using CC310.
  587. #ifndef NRF_CRYPTO_BACKEND_CC310_AES_ECB_ENABLED
  588. #define NRF_CRYPTO_BACKEND_CC310_AES_ECB_ENABLED 1
  589. #endif
  590. // <q> NRF_CRYPTO_BACKEND_CC310_AES_CBC_MAC_ENABLED - Enable the AES CBC_MAC mode using CC310.
  591. #ifndef NRF_CRYPTO_BACKEND_CC310_AES_CBC_MAC_ENABLED
  592. #define NRF_CRYPTO_BACKEND_CC310_AES_CBC_MAC_ENABLED 1
  593. #endif
  594. // <q> NRF_CRYPTO_BACKEND_CC310_AES_CMAC_ENABLED - Enable the AES CMAC mode using CC310.
  595. #ifndef NRF_CRYPTO_BACKEND_CC310_AES_CMAC_ENABLED
  596. #define NRF_CRYPTO_BACKEND_CC310_AES_CMAC_ENABLED 1
  597. #endif
  598. // <q> NRF_CRYPTO_BACKEND_CC310_AES_CCM_ENABLED - Enable the AES CCM mode using CC310.
  599. #ifndef NRF_CRYPTO_BACKEND_CC310_AES_CCM_ENABLED
  600. #define NRF_CRYPTO_BACKEND_CC310_AES_CCM_ENABLED 1
  601. #endif
  602. // <q> NRF_CRYPTO_BACKEND_CC310_AES_CCM_STAR_ENABLED - Enable the AES CCM* mode using CC310.
  603. #ifndef NRF_CRYPTO_BACKEND_CC310_AES_CCM_STAR_ENABLED
  604. #define NRF_CRYPTO_BACKEND_CC310_AES_CCM_STAR_ENABLED 1
  605. #endif
  606. // <q> NRF_CRYPTO_BACKEND_CC310_CHACHA_POLY_ENABLED - Enable the CHACHA-POLY mode using CC310.
  607. #ifndef NRF_CRYPTO_BACKEND_CC310_CHACHA_POLY_ENABLED
  608. #define NRF_CRYPTO_BACKEND_CC310_CHACHA_POLY_ENABLED 1
  609. #endif
  610. // <q> NRF_CRYPTO_BACKEND_CC310_ECC_SECP160R1_ENABLED - Enable the secp160r1 elliptic curve support using CC310.
  611. #ifndef NRF_CRYPTO_BACKEND_CC310_ECC_SECP160R1_ENABLED
  612. #define NRF_CRYPTO_BACKEND_CC310_ECC_SECP160R1_ENABLED 1
  613. #endif
  614. // <q> NRF_CRYPTO_BACKEND_CC310_ECC_SECP160R2_ENABLED - Enable the secp160r2 elliptic curve support using CC310.
  615. #ifndef NRF_CRYPTO_BACKEND_CC310_ECC_SECP160R2_ENABLED
  616. #define NRF_CRYPTO_BACKEND_CC310_ECC_SECP160R2_ENABLED 1
  617. #endif
  618. // <q> NRF_CRYPTO_BACKEND_CC310_ECC_SECP192R1_ENABLED - Enable the secp192r1 elliptic curve support using CC310.
  619. #ifndef NRF_CRYPTO_BACKEND_CC310_ECC_SECP192R1_ENABLED
  620. #define NRF_CRYPTO_BACKEND_CC310_ECC_SECP192R1_ENABLED 1
  621. #endif
  622. // <q> NRF_CRYPTO_BACKEND_CC310_ECC_SECP224R1_ENABLED - Enable the secp224r1 elliptic curve support using CC310.
  623. #ifndef NRF_CRYPTO_BACKEND_CC310_ECC_SECP224R1_ENABLED
  624. #define NRF_CRYPTO_BACKEND_CC310_ECC_SECP224R1_ENABLED 1
  625. #endif
  626. // <q> NRF_CRYPTO_BACKEND_CC310_ECC_SECP256R1_ENABLED - Enable the secp256r1 elliptic curve support using CC310.
  627. #ifndef NRF_CRYPTO_BACKEND_CC310_ECC_SECP256R1_ENABLED
  628. #define NRF_CRYPTO_BACKEND_CC310_ECC_SECP256R1_ENABLED 1
  629. #endif
  630. // <q> NRF_CRYPTO_BACKEND_CC310_ECC_SECP384R1_ENABLED - Enable the secp384r1 elliptic curve support using CC310.
  631. #ifndef NRF_CRYPTO_BACKEND_CC310_ECC_SECP384R1_ENABLED
  632. #define NRF_CRYPTO_BACKEND_CC310_ECC_SECP384R1_ENABLED 1
  633. #endif
  634. // <q> NRF_CRYPTO_BACKEND_CC310_ECC_SECP521R1_ENABLED - Enable the secp521r1 elliptic curve support using CC310.
  635. #ifndef NRF_CRYPTO_BACKEND_CC310_ECC_SECP521R1_ENABLED
  636. #define NRF_CRYPTO_BACKEND_CC310_ECC_SECP521R1_ENABLED 1
  637. #endif
  638. // <q> NRF_CRYPTO_BACKEND_CC310_ECC_SECP160K1_ENABLED - Enable the secp160k1 elliptic curve support using CC310.
  639. #ifndef NRF_CRYPTO_BACKEND_CC310_ECC_SECP160K1_ENABLED
  640. #define NRF_CRYPTO_BACKEND_CC310_ECC_SECP160K1_ENABLED 1
  641. #endif
  642. // <q> NRF_CRYPTO_BACKEND_CC310_ECC_SECP192K1_ENABLED - Enable the secp192k1 elliptic curve support using CC310.
  643. #ifndef NRF_CRYPTO_BACKEND_CC310_ECC_SECP192K1_ENABLED
  644. #define NRF_CRYPTO_BACKEND_CC310_ECC_SECP192K1_ENABLED 1
  645. #endif
  646. // <q> NRF_CRYPTO_BACKEND_CC310_ECC_SECP224K1_ENABLED - Enable the secp224k1 elliptic curve support using CC310.
  647. #ifndef NRF_CRYPTO_BACKEND_CC310_ECC_SECP224K1_ENABLED
  648. #define NRF_CRYPTO_BACKEND_CC310_ECC_SECP224K1_ENABLED 1
  649. #endif
  650. // <q> NRF_CRYPTO_BACKEND_CC310_ECC_SECP256K1_ENABLED - Enable the secp256k1 elliptic curve support using CC310.
  651. #ifndef NRF_CRYPTO_BACKEND_CC310_ECC_SECP256K1_ENABLED
  652. #define NRF_CRYPTO_BACKEND_CC310_ECC_SECP256K1_ENABLED 1
  653. #endif
  654. // <q> NRF_CRYPTO_BACKEND_CC310_ECC_CURVE25519_ENABLED - Enable the Curve25519 curve support using CC310.
  655. #ifndef NRF_CRYPTO_BACKEND_CC310_ECC_CURVE25519_ENABLED
  656. #define NRF_CRYPTO_BACKEND_CC310_ECC_CURVE25519_ENABLED 1
  657. #endif
  658. // <q> NRF_CRYPTO_BACKEND_CC310_ECC_ED25519_ENABLED - Enable the Ed25519 curve support using CC310.
  659. #ifndef NRF_CRYPTO_BACKEND_CC310_ECC_ED25519_ENABLED
  660. #define NRF_CRYPTO_BACKEND_CC310_ECC_ED25519_ENABLED 1
  661. #endif
  662. // <q> NRF_CRYPTO_BACKEND_CC310_HASH_SHA256_ENABLED - CC310 SHA-256 hash functionality.
  663. // <i> CC310 backend implementation for hardware-accelerated SHA-256.
  664. #ifndef NRF_CRYPTO_BACKEND_CC310_HASH_SHA256_ENABLED
  665. #define NRF_CRYPTO_BACKEND_CC310_HASH_SHA256_ENABLED 1
  666. #endif
  667. // <q> NRF_CRYPTO_BACKEND_CC310_HASH_SHA512_ENABLED - CC310 SHA-512 hash functionality
  668. // <i> CC310 backend implementation for SHA-512 (in software).
  669. #ifndef NRF_CRYPTO_BACKEND_CC310_HASH_SHA512_ENABLED
  670. #define NRF_CRYPTO_BACKEND_CC310_HASH_SHA512_ENABLED 1
  671. #endif
  672. // <q> NRF_CRYPTO_BACKEND_CC310_HMAC_SHA256_ENABLED - CC310 HMAC using SHA-256
  673. // <i> CC310 backend implementation for HMAC using hardware-accelerated SHA-256.
  674. #ifndef NRF_CRYPTO_BACKEND_CC310_HMAC_SHA256_ENABLED
  675. #define NRF_CRYPTO_BACKEND_CC310_HMAC_SHA256_ENABLED 1
  676. #endif
  677. // <q> NRF_CRYPTO_BACKEND_CC310_HMAC_SHA512_ENABLED - CC310 HMAC using SHA-512
  678. // <i> CC310 backend implementation for HMAC using SHA-512 (in software).
  679. #ifndef NRF_CRYPTO_BACKEND_CC310_HMAC_SHA512_ENABLED
  680. #define NRF_CRYPTO_BACKEND_CC310_HMAC_SHA512_ENABLED 1
  681. #endif
  682. // <q> NRF_CRYPTO_BACKEND_CC310_RNG_ENABLED - Enable RNG support using CC310.
  683. #ifndef NRF_CRYPTO_BACKEND_CC310_RNG_ENABLED
  684. #define NRF_CRYPTO_BACKEND_CC310_RNG_ENABLED 1
  685. #endif
  686. // <q> NRF_CRYPTO_BACKEND_CC310_INTERRUPTS_ENABLED - Enable Interrupts while support using CC310.
  687. // <i> Select a library version compatible with the configuration. When interrupts are disable, a version named _noint must be used
  688. #ifndef NRF_CRYPTO_BACKEND_CC310_INTERRUPTS_ENABLED
  689. #define NRF_CRYPTO_BACKEND_CC310_INTERRUPTS_ENABLED 1
  690. #endif
  691. // </e>
  692. // <e> NRF_CRYPTO_BACKEND_CIFRA_ENABLED - Enable the Cifra backend.
  693. //==========================================================
  694. #ifndef NRF_CRYPTO_BACKEND_CIFRA_ENABLED
  695. #define NRF_CRYPTO_BACKEND_CIFRA_ENABLED 0
  696. #endif
  697. // <q> NRF_CRYPTO_BACKEND_CIFRA_AES_EAX_ENABLED - Enable the AES EAX mode using Cifra.
  698. #ifndef NRF_CRYPTO_BACKEND_CIFRA_AES_EAX_ENABLED
  699. #define NRF_CRYPTO_BACKEND_CIFRA_AES_EAX_ENABLED 1
  700. #endif
  701. // </e>
  702. // <e> NRF_CRYPTO_BACKEND_MBEDTLS_ENABLED - Enable the mbed TLS backend.
  703. //==========================================================
  704. #ifndef NRF_CRYPTO_BACKEND_MBEDTLS_ENABLED
  705. #define NRF_CRYPTO_BACKEND_MBEDTLS_ENABLED 0
  706. #endif
  707. // <q> NRF_CRYPTO_BACKEND_MBEDTLS_AES_CBC_ENABLED - Enable the AES CBC mode mbed TLS.
  708. #ifndef NRF_CRYPTO_BACKEND_MBEDTLS_AES_CBC_ENABLED
  709. #define NRF_CRYPTO_BACKEND_MBEDTLS_AES_CBC_ENABLED 1
  710. #endif
  711. // <q> NRF_CRYPTO_BACKEND_MBEDTLS_AES_CTR_ENABLED - Enable the AES CTR mode using mbed TLS.
  712. #ifndef NRF_CRYPTO_BACKEND_MBEDTLS_AES_CTR_ENABLED
  713. #define NRF_CRYPTO_BACKEND_MBEDTLS_AES_CTR_ENABLED 1
  714. #endif
  715. // <q> NRF_CRYPTO_BACKEND_MBEDTLS_AES_CFB_ENABLED - Enable the AES CFB mode using mbed TLS.
  716. #ifndef NRF_CRYPTO_BACKEND_MBEDTLS_AES_CFB_ENABLED
  717. #define NRF_CRYPTO_BACKEND_MBEDTLS_AES_CFB_ENABLED 1
  718. #endif
  719. // <q> NRF_CRYPTO_BACKEND_MBEDTLS_AES_ECB_ENABLED - Enable the AES ECB mode using mbed TLS.
  720. #ifndef NRF_CRYPTO_BACKEND_MBEDTLS_AES_ECB_ENABLED
  721. #define NRF_CRYPTO_BACKEND_MBEDTLS_AES_ECB_ENABLED 1
  722. #endif
  723. // <q> NRF_CRYPTO_BACKEND_MBEDTLS_AES_CBC_MAC_ENABLED - Enable the AES CBC MAC mode using mbed TLS.
  724. #ifndef NRF_CRYPTO_BACKEND_MBEDTLS_AES_CBC_MAC_ENABLED
  725. #define NRF_CRYPTO_BACKEND_MBEDTLS_AES_CBC_MAC_ENABLED 1
  726. #endif
  727. // <q> NRF_CRYPTO_BACKEND_MBEDTLS_AES_CMAC_ENABLED - Enable the AES CMAC mode using mbed TLS.
  728. #ifndef NRF_CRYPTO_BACKEND_MBEDTLS_AES_CMAC_ENABLED
  729. #define NRF_CRYPTO_BACKEND_MBEDTLS_AES_CMAC_ENABLED 1
  730. #endif
  731. // <q> NRF_CRYPTO_BACKEND_MBEDTLS_AES_CCM_ENABLED - Enable the AES CCM mode using mbed TLS.
  732. #ifndef NRF_CRYPTO_BACKEND_MBEDTLS_AES_CCM_ENABLED
  733. #define NRF_CRYPTO_BACKEND_MBEDTLS_AES_CCM_ENABLED 1
  734. #endif
  735. // <q> NRF_CRYPTO_BACKEND_MBEDTLS_AES_GCM_ENABLED - Enable the AES GCM mode using mbed TLS.
  736. #ifndef NRF_CRYPTO_BACKEND_MBEDTLS_AES_GCM_ENABLED
  737. #define NRF_CRYPTO_BACKEND_MBEDTLS_AES_GCM_ENABLED 1
  738. #endif
  739. // <q> NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP192R1_ENABLED - Enable secp192r1 (NIST 192-bit) curve
  740. // <i> Enable this setting if you need secp192r1 (NIST 192-bit) support using MBEDTLS
  741. #ifndef NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP192R1_ENABLED
  742. #define NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP192R1_ENABLED 1
  743. #endif
  744. // <q> NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP224R1_ENABLED - Enable secp224r1 (NIST 224-bit) curve
  745. // <i> Enable this setting if you need secp224r1 (NIST 224-bit) support using MBEDTLS
  746. #ifndef NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP224R1_ENABLED
  747. #define NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP224R1_ENABLED 1
  748. #endif
  749. // <q> NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP256R1_ENABLED - Enable secp256r1 (NIST 256-bit) curve
  750. // <i> Enable this setting if you need secp256r1 (NIST 256-bit) support using MBEDTLS
  751. #ifndef NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP256R1_ENABLED
  752. #define NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP256R1_ENABLED 1
  753. #endif
  754. // <q> NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP384R1_ENABLED - Enable secp384r1 (NIST 384-bit) curve
  755. // <i> Enable this setting if you need secp384r1 (NIST 384-bit) support using MBEDTLS
  756. #ifndef NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP384R1_ENABLED
  757. #define NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP384R1_ENABLED 1
  758. #endif
  759. // <q> NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP521R1_ENABLED - Enable secp521r1 (NIST 521-bit) curve
  760. // <i> Enable this setting if you need secp521r1 (NIST 521-bit) support using MBEDTLS
  761. #ifndef NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP521R1_ENABLED
  762. #define NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP521R1_ENABLED 1
  763. #endif
  764. // <q> NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP192K1_ENABLED - Enable secp192k1 (Koblitz 192-bit) curve
  765. // <i> Enable this setting if you need secp192k1 (Koblitz 192-bit) support using MBEDTLS
  766. #ifndef NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP192K1_ENABLED
  767. #define NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP192K1_ENABLED 1
  768. #endif
  769. // <q> NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP224K1_ENABLED - Enable secp224k1 (Koblitz 224-bit) curve
  770. // <i> Enable this setting if you need secp224k1 (Koblitz 224-bit) support using MBEDTLS
  771. #ifndef NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP224K1_ENABLED
  772. #define NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP224K1_ENABLED 1
  773. #endif
  774. // <q> NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP256K1_ENABLED - Enable secp256k1 (Koblitz 256-bit) curve
  775. // <i> Enable this setting if you need secp256k1 (Koblitz 256-bit) support using MBEDTLS
  776. #ifndef NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP256K1_ENABLED
  777. #define NRF_CRYPTO_BACKEND_MBEDTLS_ECC_SECP256K1_ENABLED 1
  778. #endif
  779. // <q> NRF_CRYPTO_BACKEND_MBEDTLS_ECC_BP256R1_ENABLED - Enable bp256r1 (Brainpool 256-bit) curve
  780. // <i> Enable this setting if you need bp256r1 (Brainpool 256-bit) support using MBEDTLS
  781. #ifndef NRF_CRYPTO_BACKEND_MBEDTLS_ECC_BP256R1_ENABLED
  782. #define NRF_CRYPTO_BACKEND_MBEDTLS_ECC_BP256R1_ENABLED 1
  783. #endif
  784. // <q> NRF_CRYPTO_BACKEND_MBEDTLS_ECC_BP384R1_ENABLED - Enable bp384r1 (Brainpool 384-bit) curve
  785. // <i> Enable this setting if you need bp384r1 (Brainpool 384-bit) support using MBEDTLS
  786. #ifndef NRF_CRYPTO_BACKEND_MBEDTLS_ECC_BP384R1_ENABLED
  787. #define NRF_CRYPTO_BACKEND_MBEDTLS_ECC_BP384R1_ENABLED 1
  788. #endif
  789. // <q> NRF_CRYPTO_BACKEND_MBEDTLS_ECC_BP512R1_ENABLED - Enable bp512r1 (Brainpool 512-bit) curve
  790. // <i> Enable this setting if you need bp512r1 (Brainpool 512-bit) support using MBEDTLS
  791. #ifndef NRF_CRYPTO_BACKEND_MBEDTLS_ECC_BP512R1_ENABLED
  792. #define NRF_CRYPTO_BACKEND_MBEDTLS_ECC_BP512R1_ENABLED 1
  793. #endif
  794. // <q> NRF_CRYPTO_BACKEND_MBEDTLS_ECC_CURVE25519_ENABLED - Enable Curve25519 curve
  795. // <i> Enable this setting if you need Curve25519 support using MBEDTLS
  796. #ifndef NRF_CRYPTO_BACKEND_MBEDTLS_ECC_CURVE25519_ENABLED
  797. #define NRF_CRYPTO_BACKEND_MBEDTLS_ECC_CURVE25519_ENABLED 1
  798. #endif
  799. // <q> NRF_CRYPTO_BACKEND_MBEDTLS_HASH_SHA256_ENABLED - Enable mbed TLS SHA-256 hash functionality.
  800. // <i> mbed TLS backend implementation for SHA-256.
  801. #ifndef NRF_CRYPTO_BACKEND_MBEDTLS_HASH_SHA256_ENABLED
  802. #define NRF_CRYPTO_BACKEND_MBEDTLS_HASH_SHA256_ENABLED 1
  803. #endif
  804. // <q> NRF_CRYPTO_BACKEND_MBEDTLS_HASH_SHA512_ENABLED - Enable mbed TLS SHA-512 hash functionality.
  805. // <i> mbed TLS backend implementation for SHA-512.
  806. #ifndef NRF_CRYPTO_BACKEND_MBEDTLS_HASH_SHA512_ENABLED
  807. #define NRF_CRYPTO_BACKEND_MBEDTLS_HASH_SHA512_ENABLED 1
  808. #endif
  809. // <q> NRF_CRYPTO_BACKEND_MBEDTLS_HMAC_SHA256_ENABLED - Enable mbed TLS HMAC using SHA-256.
  810. // <i> mbed TLS backend implementation for HMAC using SHA-256.
  811. #ifndef NRF_CRYPTO_BACKEND_MBEDTLS_HMAC_SHA256_ENABLED
  812. #define NRF_CRYPTO_BACKEND_MBEDTLS_HMAC_SHA256_ENABLED 1
  813. #endif
  814. // <q> NRF_CRYPTO_BACKEND_MBEDTLS_HMAC_SHA512_ENABLED - Enable mbed TLS HMAC using SHA-512.
  815. // <i> mbed TLS backend implementation for HMAC using SHA-512.
  816. #ifndef NRF_CRYPTO_BACKEND_MBEDTLS_HMAC_SHA512_ENABLED
  817. #define NRF_CRYPTO_BACKEND_MBEDTLS_HMAC_SHA512_ENABLED 1
  818. #endif
  819. // </e>
  820. // <e> NRF_CRYPTO_BACKEND_MICRO_ECC_ENABLED - Enable the micro-ecc backend.
  821. //==========================================================
  822. #ifndef NRF_CRYPTO_BACKEND_MICRO_ECC_ENABLED
  823. #define NRF_CRYPTO_BACKEND_MICRO_ECC_ENABLED 0
  824. #endif
  825. // <q> NRF_CRYPTO_BACKEND_MICRO_ECC_ECC_SECP192R1_ENABLED - Enable secp192r1 (NIST 192-bit) curve
  826. // <i> Enable this setting if you need secp192r1 (NIST 192-bit) support using micro-ecc
  827. #ifndef NRF_CRYPTO_BACKEND_MICRO_ECC_ECC_SECP192R1_ENABLED
  828. #define NRF_CRYPTO_BACKEND_MICRO_ECC_ECC_SECP192R1_ENABLED 1
  829. #endif
  830. // <q> NRF_CRYPTO_BACKEND_MICRO_ECC_ECC_SECP224R1_ENABLED - Enable secp224r1 (NIST 224-bit) curve
  831. // <i> Enable this setting if you need secp224r1 (NIST 224-bit) support using micro-ecc
  832. #ifndef NRF_CRYPTO_BACKEND_MICRO_ECC_ECC_SECP224R1_ENABLED
  833. #define NRF_CRYPTO_BACKEND_MICRO_ECC_ECC_SECP224R1_ENABLED 1
  834. #endif
  835. // <q> NRF_CRYPTO_BACKEND_MICRO_ECC_ECC_SECP256R1_ENABLED - Enable secp256r1 (NIST 256-bit) curve
  836. // <i> Enable this setting if you need secp256r1 (NIST 256-bit) support using micro-ecc
  837. #ifndef NRF_CRYPTO_BACKEND_MICRO_ECC_ECC_SECP256R1_ENABLED
  838. #define NRF_CRYPTO_BACKEND_MICRO_ECC_ECC_SECP256R1_ENABLED 1
  839. #endif
  840. // <q> NRF_CRYPTO_BACKEND_MICRO_ECC_ECC_SECP256K1_ENABLED - Enable secp256k1 (Koblitz 256-bit) curve
  841. // <i> Enable this setting if you need secp256k1 (Koblitz 256-bit) support using micro-ecc
  842. #ifndef NRF_CRYPTO_BACKEND_MICRO_ECC_ECC_SECP256K1_ENABLED
  843. #define NRF_CRYPTO_BACKEND_MICRO_ECC_ECC_SECP256K1_ENABLED 1
  844. #endif
  845. // </e>
  846. // <e> NRF_CRYPTO_BACKEND_NRF_HW_RNG_ENABLED - Enable the nRF HW RNG backend.
  847. // <i> The nRF HW backend provide access to RNG peripheral in nRF5x devices.
  848. //==========================================================
  849. #ifndef NRF_CRYPTO_BACKEND_NRF_HW_RNG_ENABLED
  850. #define NRF_CRYPTO_BACKEND_NRF_HW_RNG_ENABLED 0
  851. #endif
  852. // <q> NRF_CRYPTO_BACKEND_NRF_HW_RNG_MBEDTLS_CTR_DRBG_ENABLED - Enable mbed TLS CTR-DRBG algorithm.
  853. // <i> Enable mbed TLS CTR-DRBG standardized by NIST (NIST SP 800-90A Rev. 1). The nRF HW RNG is used as an entropy source for seeding.
  854. #ifndef NRF_CRYPTO_BACKEND_NRF_HW_RNG_MBEDTLS_CTR_DRBG_ENABLED
  855. #define NRF_CRYPTO_BACKEND_NRF_HW_RNG_MBEDTLS_CTR_DRBG_ENABLED 1
  856. #endif
  857. // </e>
  858. // <e> NRF_CRYPTO_BACKEND_NRF_SW_ENABLED - Enable the legacy nRFx sw for crypto.
  859. // <i> The nRF SW cryptography backend (only used in bootloader context).
  860. //==========================================================
  861. #ifndef NRF_CRYPTO_BACKEND_NRF_SW_ENABLED
  862. #define NRF_CRYPTO_BACKEND_NRF_SW_ENABLED 0
  863. #endif
  864. // <q> NRF_CRYPTO_BACKEND_NRF_SW_HASH_SHA256_ENABLED - nRF SW hash backend support for SHA-256
  865. // <i> The nRF SW backend provide access to nRF SDK legacy hash implementation of SHA-256.
  866. #ifndef NRF_CRYPTO_BACKEND_NRF_SW_HASH_SHA256_ENABLED
  867. #define NRF_CRYPTO_BACKEND_NRF_SW_HASH_SHA256_ENABLED 1
  868. #endif
  869. // </e>
  870. // <e> NRF_CRYPTO_BACKEND_OBERON_ENABLED - Enable the Oberon backend
  871. // <i> The Oberon backend
  872. //==========================================================
  873. #ifndef NRF_CRYPTO_BACKEND_OBERON_ENABLED
  874. #define NRF_CRYPTO_BACKEND_OBERON_ENABLED 0
  875. #endif
  876. // <q> NRF_CRYPTO_BACKEND_OBERON_CHACHA_POLY_ENABLED - Enable the CHACHA-POLY mode using Oberon.
  877. #ifndef NRF_CRYPTO_BACKEND_OBERON_CHACHA_POLY_ENABLED
  878. #define NRF_CRYPTO_BACKEND_OBERON_CHACHA_POLY_ENABLED 1
  879. #endif
  880. // <q> NRF_CRYPTO_BACKEND_OBERON_ECC_SECP256R1_ENABLED - Enable secp256r1 curve
  881. // <i> Enable this setting if you need secp256r1 curve support using Oberon library
  882. #ifndef NRF_CRYPTO_BACKEND_OBERON_ECC_SECP256R1_ENABLED
  883. #define NRF_CRYPTO_BACKEND_OBERON_ECC_SECP256R1_ENABLED 1
  884. #endif
  885. // <q> NRF_CRYPTO_BACKEND_OBERON_ECC_CURVE25519_ENABLED - Enable Curve25519 ECDH
  886. // <i> Enable this setting if you need Curve25519 ECDH support using Oberon library
  887. #ifndef NRF_CRYPTO_BACKEND_OBERON_ECC_CURVE25519_ENABLED
  888. #define NRF_CRYPTO_BACKEND_OBERON_ECC_CURVE25519_ENABLED 1
  889. #endif
  890. // <q> NRF_CRYPTO_BACKEND_OBERON_ECC_ED25519_ENABLED - Enable Ed25519 signature scheme
  891. // <i> Enable this setting if you need Ed25519 support using Oberon library
  892. #ifndef NRF_CRYPTO_BACKEND_OBERON_ECC_ED25519_ENABLED
  893. #define NRF_CRYPTO_BACKEND_OBERON_ECC_ED25519_ENABLED 1
  894. #endif
  895. // <q> NRF_CRYPTO_BACKEND_OBERON_HASH_SHA256_ENABLED - Oberon SHA-256 hash functionality
  896. // <i> Oberon backend implementation for SHA-256.
  897. #ifndef NRF_CRYPTO_BACKEND_OBERON_HASH_SHA256_ENABLED
  898. #define NRF_CRYPTO_BACKEND_OBERON_HASH_SHA256_ENABLED 1
  899. #endif
  900. // <q> NRF_CRYPTO_BACKEND_OBERON_HASH_SHA512_ENABLED - Oberon SHA-512 hash functionality
  901. // <i> Oberon backend implementation for SHA-512.
  902. #ifndef NRF_CRYPTO_BACKEND_OBERON_HASH_SHA512_ENABLED
  903. #define NRF_CRYPTO_BACKEND_OBERON_HASH_SHA512_ENABLED 1
  904. #endif
  905. // <q> NRF_CRYPTO_BACKEND_OBERON_HMAC_SHA256_ENABLED - Oberon HMAC using SHA-256
  906. // <i> Oberon backend implementation for HMAC using SHA-256.
  907. #ifndef NRF_CRYPTO_BACKEND_OBERON_HMAC_SHA256_ENABLED
  908. #define NRF_CRYPTO_BACKEND_OBERON_HMAC_SHA256_ENABLED 1
  909. #endif
  910. // <q> NRF_CRYPTO_BACKEND_OBERON_HMAC_SHA512_ENABLED - Oberon HMAC using SHA-512
  911. // <i> Oberon backend implementation for HMAC using SHA-512.
  912. #ifndef NRF_CRYPTO_BACKEND_OBERON_HMAC_SHA512_ENABLED
  913. #define NRF_CRYPTO_BACKEND_OBERON_HMAC_SHA512_ENABLED 1
  914. #endif
  915. // </e>
  916. // <e> NRF_CRYPTO_BACKEND_OPTIGA_ENABLED - Enable the nrf_crypto Optiga Trust X backend.
  917. // <i> Enables the nrf_crypto backend for Optiga Trust X devices.
  918. //==========================================================
  919. #ifndef NRF_CRYPTO_BACKEND_OPTIGA_ENABLED
  920. #define NRF_CRYPTO_BACKEND_OPTIGA_ENABLED 0
  921. #endif
  922. // <q> NRF_CRYPTO_BACKEND_OPTIGA_RNG_ENABLED - Optiga backend support for RNG
  923. // <i> The Optiga backend provide external chip RNG.
  924. #ifndef NRF_CRYPTO_BACKEND_OPTIGA_RNG_ENABLED
  925. #define NRF_CRYPTO_BACKEND_OPTIGA_RNG_ENABLED 0
  926. #endif
  927. // <q> NRF_CRYPTO_BACKEND_OPTIGA_ECC_SECP256R1_ENABLED - Optiga backend support for ECC secp256r1
  928. // <i> The Optiga backend provide external chip ECC using secp256r1.
  929. #ifndef NRF_CRYPTO_BACKEND_OPTIGA_ECC_SECP256R1_ENABLED
  930. #define NRF_CRYPTO_BACKEND_OPTIGA_ECC_SECP256R1_ENABLED 1
  931. #endif
  932. // </e>
  933. // <q> NRF_CRYPTO_CURVE25519_BIG_ENDIAN_ENABLED - Big-endian byte order in raw Curve25519 data
  934. // <i> Enable big-endian byte order in Curve25519 API, if set to 1. Use little-endian, if set to 0.
  935. #ifndef NRF_CRYPTO_CURVE25519_BIG_ENDIAN_ENABLED
  936. #define NRF_CRYPTO_CURVE25519_BIG_ENDIAN_ENABLED 0
  937. #endif
  938. // </e>
  939. // </h>
  940. //==========================================================
  941. // <h> nRF_DFU
  942. //==========================================================
  943. // <h> ble_dfu - Device Firmware Update
  944. //==========================================================
  945. // <q> BLE_DFU_ENABLED - Enable DFU Service.
  946. #ifndef BLE_DFU_ENABLED
  947. #define BLE_DFU_ENABLED 0
  948. #endif
  949. // <q> NRF_DFU_BLE_BUTTONLESS_SUPPORTS_BONDS - Buttonless DFU supports bonds.
  950. #ifndef NRF_DFU_BLE_BUTTONLESS_SUPPORTS_BONDS
  951. #define NRF_DFU_BLE_BUTTONLESS_SUPPORTS_BONDS 0
  952. #endif
  953. // </h>
  954. //==========================================================
  955. // </h>
  956. //==========================================================
  957. // <h> nRF_Drivers
  958. //==========================================================
  959. // <e> COMP_ENABLED - nrf_drv_comp - COMP peripheral driver - legacy layer
  960. //==========================================================
  961. #ifndef COMP_ENABLED
  962. #define COMP_ENABLED 0
  963. #endif
  964. // <o> COMP_CONFIG_REF - Reference voltage
  965. // <0=> Internal 1.2V
  966. // <1=> Internal 1.8V
  967. // <2=> Internal 2.4V
  968. // <4=> VDD
  969. // <7=> ARef
  970. #ifndef COMP_CONFIG_REF
  971. #define COMP_CONFIG_REF 1
  972. #endif
  973. // <o> COMP_CONFIG_MAIN_MODE - Main mode
  974. // <0=> Single ended
  975. // <1=> Differential
  976. #ifndef COMP_CONFIG_MAIN_MODE
  977. #define COMP_CONFIG_MAIN_MODE 0
  978. #endif
  979. // <o> COMP_CONFIG_SPEED_MODE - Speed mode
  980. // <0=> Low power
  981. // <1=> Normal
  982. // <2=> High speed
  983. #ifndef COMP_CONFIG_SPEED_MODE
  984. #define COMP_CONFIG_SPEED_MODE 2
  985. #endif
  986. // <o> COMP_CONFIG_HYST - Hystheresis
  987. // <0=> No
  988. // <1=> 50mV
  989. #ifndef COMP_CONFIG_HYST
  990. #define COMP_CONFIG_HYST 0
  991. #endif
  992. // <o> COMP_CONFIG_ISOURCE - Current Source
  993. // <0=> Off
  994. // <1=> 2.5 uA
  995. // <2=> 5 uA
  996. // <3=> 10 uA
  997. #ifndef COMP_CONFIG_ISOURCE
  998. #define COMP_CONFIG_ISOURCE 0
  999. #endif
  1000. // <o> COMP_CONFIG_INPUT - Analog input
  1001. // <0=> 0
  1002. // <1=> 1
  1003. // <2=> 2
  1004. // <3=> 3
  1005. // <4=> 4
  1006. // <5=> 5
  1007. // <6=> 6
  1008. // <7=> 7
  1009. #ifndef COMP_CONFIG_INPUT
  1010. #define COMP_CONFIG_INPUT 0
  1011. #endif
  1012. // <o> COMP_CONFIG_IRQ_PRIORITY - Interrupt priority
  1013. // <i> Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice
  1014. // <0=> 0 (highest)
  1015. // <1=> 1
  1016. // <2=> 2
  1017. // <3=> 3
  1018. // <4=> 4
  1019. // <5=> 5
  1020. // <6=> 6
  1021. // <7=> 7
  1022. #ifndef COMP_CONFIG_IRQ_PRIORITY
  1023. #define COMP_CONFIG_IRQ_PRIORITY 6
  1024. #endif
  1025. // </e>
  1026. // <q> EGU_ENABLED - nrf_drv_swi - SWI(EGU) peripheral driver - legacy layer
  1027. #ifndef EGU_ENABLED
  1028. #define EGU_ENABLED 0
  1029. #endif
  1030. // <e> GPIOTE_ENABLED - nrf_drv_gpiote - GPIOTE peripheral driver - legacy layer
  1031. //==========================================================
  1032. #ifndef GPIOTE_ENABLED
  1033. #define GPIOTE_ENABLED 1
  1034. #endif
  1035. // <o> GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS - Number of lower power input pins
  1036. #ifndef GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS
  1037. #define GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS 4
  1038. #endif
  1039. // <o> GPIOTE_CONFIG_IRQ_PRIORITY - Interrupt priority
  1040. // <i> Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice
  1041. // <0=> 0 (highest)
  1042. // <1=> 1
  1043. // <2=> 2
  1044. // <3=> 3
  1045. // <4=> 4
  1046. // <5=> 5
  1047. // <6=> 6
  1048. // <7=> 7
  1049. #ifndef GPIOTE_CONFIG_IRQ_PRIORITY
  1050. #define GPIOTE_CONFIG_IRQ_PRIORITY 6
  1051. #endif
  1052. // </e>
  1053. // <e> I2S_ENABLED - nrf_drv_i2s - I2S peripheral driver - legacy layer
  1054. //==========================================================
  1055. #ifndef I2S_ENABLED
  1056. #define I2S_ENABLED 0
  1057. #endif
  1058. // <o> I2S_CONFIG_SCK_PIN - SCK pin <0-31>
  1059. #ifndef I2S_CONFIG_SCK_PIN
  1060. #define I2S_CONFIG_SCK_PIN 31
  1061. #endif
  1062. // <o> I2S_CONFIG_LRCK_PIN - LRCK pin <1-31>
  1063. #ifndef I2S_CONFIG_LRCK_PIN
  1064. #define I2S_CONFIG_LRCK_PIN 30
  1065. #endif
  1066. // <o> I2S_CONFIG_MCK_PIN - MCK pin
  1067. #ifndef I2S_CONFIG_MCK_PIN
  1068. #define I2S_CONFIG_MCK_PIN 255
  1069. #endif
  1070. // <o> I2S_CONFIG_SDOUT_PIN - SDOUT pin <0-31>
  1071. #ifndef I2S_CONFIG_SDOUT_PIN
  1072. #define I2S_CONFIG_SDOUT_PIN 29
  1073. #endif
  1074. // <o> I2S_CONFIG_SDIN_PIN - SDIN pin <0-31>
  1075. #ifndef I2S_CONFIG_SDIN_PIN
  1076. #define I2S_CONFIG_SDIN_PIN 28
  1077. #endif
  1078. // <o> I2S_CONFIG_MASTER - Mode
  1079. // <0=> Master
  1080. // <1=> Slave
  1081. #ifndef I2S_CONFIG_MASTER
  1082. #define I2S_CONFIG_MASTER 0
  1083. #endif
  1084. // <o> I2S_CONFIG_FORMAT - Format
  1085. // <0=> I2S
  1086. // <1=> Aligned
  1087. #ifndef I2S_CONFIG_FORMAT
  1088. #define I2S_CONFIG_FORMAT 0
  1089. #endif
  1090. // <o> I2S_CONFIG_ALIGN - Alignment
  1091. // <0=> Left
  1092. // <1=> Right
  1093. #ifndef I2S_CONFIG_ALIGN
  1094. #define I2S_CONFIG_ALIGN 0
  1095. #endif
  1096. // <o> I2S_CONFIG_SWIDTH - Sample width (bits)
  1097. // <0=> 8
  1098. // <1=> 16
  1099. // <2=> 24
  1100. #ifndef I2S_CONFIG_SWIDTH
  1101. #define I2S_CONFIG_SWIDTH 1
  1102. #endif
  1103. // <o> I2S_CONFIG_CHANNELS - Channels
  1104. // <0=> Stereo
  1105. // <1=> Left
  1106. // <2=> Right
  1107. #ifndef I2S_CONFIG_CHANNELS
  1108. #define I2S_CONFIG_CHANNELS 1
  1109. #endif
  1110. // <o> I2S_CONFIG_MCK_SETUP - MCK behavior
  1111. // <0=> Disabled
  1112. // <2147483648=> 32MHz/2
  1113. // <1342177280=> 32MHz/3
  1114. // <1073741824=> 32MHz/4
  1115. // <805306368=> 32MHz/5
  1116. // <671088640=> 32MHz/6
  1117. // <536870912=> 32MHz/8
  1118. // <402653184=> 32MHz/10
  1119. // <369098752=> 32MHz/11
  1120. // <285212672=> 32MHz/15
  1121. // <268435456=> 32MHz/16
  1122. // <201326592=> 32MHz/21
  1123. // <184549376=> 32MHz/23
  1124. // <142606336=> 32MHz/30
  1125. // <138412032=> 32MHz/31
  1126. // <134217728=> 32MHz/32
  1127. // <100663296=> 32MHz/42
  1128. // <68157440=> 32MHz/63
  1129. // <34340864=> 32MHz/125
  1130. #ifndef I2S_CONFIG_MCK_SETUP
  1131. #define I2S_CONFIG_MCK_SETUP 536870912
  1132. #endif
  1133. // <o> I2S_CONFIG_RATIO - MCK/LRCK ratio
  1134. // <0=> 32x
  1135. // <1=> 48x
  1136. // <2=> 64x
  1137. // <3=> 96x
  1138. // <4=> 128x
  1139. // <5=> 192x
  1140. // <6=> 256x
  1141. // <7=> 384x
  1142. // <8=> 512x
  1143. #ifndef I2S_CONFIG_RATIO
  1144. #define I2S_CONFIG_RATIO 2000
  1145. #endif
  1146. // <o> I2S_CONFIG_IRQ_PRIORITY - Interrupt priority
  1147. // <i> Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice
  1148. // <0=> 0 (highest)
  1149. // <1=> 1
  1150. // <2=> 2
  1151. // <3=> 3
  1152. // <4=> 4
  1153. // <5=> 5
  1154. // <6=> 6
  1155. // <7=> 7
  1156. #ifndef I2S_CONFIG_IRQ_PRIORITY
  1157. #define I2S_CONFIG_IRQ_PRIORITY 6
  1158. #endif
  1159. // <e> I2S_CONFIG_LOG_ENABLED - Enables logging in the module.
  1160. //==========================================================
  1161. #ifndef I2S_CONFIG_LOG_ENABLED
  1162. #define I2S_CONFIG_LOG_ENABLED 0
  1163. #endif
  1164. // <o> I2S_CONFIG_LOG_LEVEL - Default Severity level
  1165. // <0=> Off
  1166. // <1=> Error
  1167. // <2=> Warning
  1168. // <3=> Info
  1169. // <4=> Debug
  1170. #ifndef I2S_CONFIG_LOG_LEVEL
  1171. #define I2S_CONFIG_LOG_LEVEL 3
  1172. #endif
  1173. // <o> I2S_CONFIG_INFO_COLOR - ANSI escape code prefix.
  1174. // <0=> Default
  1175. // <1=> Black
  1176. // <2=> Red
  1177. // <3=> Green
  1178. // <4=> Yellow
  1179. // <5=> Blue
  1180. // <6=> Magenta
  1181. // <7=> Cyan
  1182. // <8=> White
  1183. #ifndef I2S_CONFIG_INFO_COLOR
  1184. #define I2S_CONFIG_INFO_COLOR 0
  1185. #endif
  1186. // <o> I2S_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  1187. // <0=> Default
  1188. // <1=> Black
  1189. // <2=> Red
  1190. // <3=> Green
  1191. // <4=> Yellow
  1192. // <5=> Blue
  1193. // <6=> Magenta
  1194. // <7=> Cyan
  1195. // <8=> White
  1196. #ifndef I2S_CONFIG_DEBUG_COLOR
  1197. #define I2S_CONFIG_DEBUG_COLOR 0
  1198. #endif
  1199. // </e>
  1200. // </e>
  1201. // <e> LPCOMP_ENABLED - nrf_drv_lpcomp - LPCOMP peripheral driver - legacy layer
  1202. //==========================================================
  1203. #ifndef LPCOMP_ENABLED
  1204. #define LPCOMP_ENABLED 0
  1205. #endif
  1206. // <o> LPCOMP_CONFIG_REFERENCE - Reference voltage
  1207. // <0=> Supply 1/8
  1208. // <1=> Supply 2/8
  1209. // <2=> Supply 3/8
  1210. // <3=> Supply 4/8
  1211. // <4=> Supply 5/8
  1212. // <5=> Supply 6/8
  1213. // <6=> Supply 7/8
  1214. // <8=> Supply 1/16 (nRF52)
  1215. // <9=> Supply 3/16 (nRF52)
  1216. // <10=> Supply 5/16 (nRF52)
  1217. // <11=> Supply 7/16 (nRF52)
  1218. // <12=> Supply 9/16 (nRF52)
  1219. // <13=> Supply 11/16 (nRF52)
  1220. // <14=> Supply 13/16 (nRF52)
  1221. // <15=> Supply 15/16 (nRF52)
  1222. // <7=> External Ref 0
  1223. // <65543=> External Ref 1
  1224. #ifndef LPCOMP_CONFIG_REFERENCE
  1225. #define LPCOMP_CONFIG_REFERENCE 3
  1226. #endif
  1227. // <o> LPCOMP_CONFIG_DETECTION - Detection
  1228. // <0=> Crossing
  1229. // <1=> Up
  1230. // <2=> Down
  1231. #ifndef LPCOMP_CONFIG_DETECTION
  1232. #define LPCOMP_CONFIG_DETECTION 2
  1233. #endif
  1234. // <o> LPCOMP_CONFIG_INPUT - Analog input
  1235. // <0=> 0
  1236. // <1=> 1
  1237. // <2=> 2
  1238. // <3=> 3
  1239. // <4=> 4
  1240. // <5=> 5
  1241. // <6=> 6
  1242. // <7=> 7
  1243. #ifndef LPCOMP_CONFIG_INPUT
  1244. #define LPCOMP_CONFIG_INPUT 0
  1245. #endif
  1246. // <q> LPCOMP_CONFIG_HYST - Hysteresis
  1247. #ifndef LPCOMP_CONFIG_HYST
  1248. #define LPCOMP_CONFIG_HYST 0
  1249. #endif
  1250. // <o> LPCOMP_CONFIG_IRQ_PRIORITY - Interrupt priority
  1251. // <i> Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice
  1252. // <0=> 0 (highest)
  1253. // <1=> 1
  1254. // <2=> 2
  1255. // <3=> 3
  1256. // <4=> 4
  1257. // <5=> 5
  1258. // <6=> 6
  1259. // <7=> 7
  1260. #ifndef LPCOMP_CONFIG_IRQ_PRIORITY
  1261. #define LPCOMP_CONFIG_IRQ_PRIORITY 6
  1262. #endif
  1263. // </e>
  1264. // <e> NRFX_CLOCK_ENABLED - nrfx_clock - CLOCK peripheral driver
  1265. //==========================================================
  1266. #ifndef NRFX_CLOCK_ENABLED
  1267. #define NRFX_CLOCK_ENABLED 1
  1268. #endif
  1269. // <o> NRFX_CLOCK_CONFIG_LF_SRC - LF Clock Source
  1270. // <0=> RC
  1271. // <1=> XTAL
  1272. // <2=> Synth
  1273. // <131073=> External Low Swing
  1274. // <196609=> External Full Swing
  1275. #ifndef NRFX_CLOCK_CONFIG_LF_SRC
  1276. #define NRFX_CLOCK_CONFIG_LF_SRC 1
  1277. #endif
  1278. // <o> NRFX_CLOCK_CONFIG_IRQ_PRIORITY - Interrupt priority
  1279. // <0=> 0 (highest)
  1280. // <1=> 1
  1281. // <2=> 2
  1282. // <3=> 3
  1283. // <4=> 4
  1284. // <5=> 5
  1285. // <6=> 6
  1286. // <7=> 7
  1287. #ifndef NRFX_CLOCK_CONFIG_IRQ_PRIORITY
  1288. #define NRFX_CLOCK_CONFIG_IRQ_PRIORITY 6
  1289. #endif
  1290. // <e> NRFX_CLOCK_CONFIG_LOG_ENABLED - Enables logging in the module.
  1291. //==========================================================
  1292. #ifndef NRFX_CLOCK_CONFIG_LOG_ENABLED
  1293. #define NRFX_CLOCK_CONFIG_LOG_ENABLED 0
  1294. #endif
  1295. // <o> NRFX_CLOCK_CONFIG_LOG_LEVEL - Default Severity level
  1296. // <0=> Off
  1297. // <1=> Error
  1298. // <2=> Warning
  1299. // <3=> Info
  1300. // <4=> Debug
  1301. #ifndef NRFX_CLOCK_CONFIG_LOG_LEVEL
  1302. #define NRFX_CLOCK_CONFIG_LOG_LEVEL 3
  1303. #endif
  1304. // <o> NRFX_CLOCK_CONFIG_INFO_COLOR - ANSI escape code prefix.
  1305. // <0=> Default
  1306. // <1=> Black
  1307. // <2=> Red
  1308. // <3=> Green
  1309. // <4=> Yellow
  1310. // <5=> Blue
  1311. // <6=> Magenta
  1312. // <7=> Cyan
  1313. // <8=> White
  1314. #ifndef NRFX_CLOCK_CONFIG_INFO_COLOR
  1315. #define NRFX_CLOCK_CONFIG_INFO_COLOR 0
  1316. #endif
  1317. // <o> NRFX_CLOCK_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  1318. // <0=> Default
  1319. // <1=> Black
  1320. // <2=> Red
  1321. // <3=> Green
  1322. // <4=> Yellow
  1323. // <5=> Blue
  1324. // <6=> Magenta
  1325. // <7=> Cyan
  1326. // <8=> White
  1327. #ifndef NRFX_CLOCK_CONFIG_DEBUG_COLOR
  1328. #define NRFX_CLOCK_CONFIG_DEBUG_COLOR 0
  1329. #endif
  1330. // </e>
  1331. // </e>
  1332. // <e> NRFX_COMP_ENABLED - nrfx_comp - COMP peripheral driver
  1333. //==========================================================
  1334. #ifndef NRFX_COMP_ENABLED
  1335. #define NRFX_COMP_ENABLED 0
  1336. #endif
  1337. // <o> NRFX_COMP_CONFIG_REF - Reference voltage
  1338. // <0=> Internal 1.2V
  1339. // <1=> Internal 1.8V
  1340. // <2=> Internal 2.4V
  1341. // <4=> VDD
  1342. // <7=> ARef
  1343. #ifndef NRFX_COMP_CONFIG_REF
  1344. #define NRFX_COMP_CONFIG_REF 1
  1345. #endif
  1346. // <o> NRFX_COMP_CONFIG_MAIN_MODE - Main mode
  1347. // <0=> Single ended
  1348. // <1=> Differential
  1349. #ifndef NRFX_COMP_CONFIG_MAIN_MODE
  1350. #define NRFX_COMP_CONFIG_MAIN_MODE 0
  1351. #endif
  1352. // <o> NRFX_COMP_CONFIG_SPEED_MODE - Speed mode
  1353. // <0=> Low power
  1354. // <1=> Normal
  1355. // <2=> High speed
  1356. #ifndef NRFX_COMP_CONFIG_SPEED_MODE
  1357. #define NRFX_COMP_CONFIG_SPEED_MODE 2
  1358. #endif
  1359. // <o> NRFX_COMP_CONFIG_HYST - Hystheresis
  1360. // <0=> No
  1361. // <1=> 50mV
  1362. #ifndef NRFX_COMP_CONFIG_HYST
  1363. #define NRFX_COMP_CONFIG_HYST 0
  1364. #endif
  1365. // <o> NRFX_COMP_CONFIG_ISOURCE - Current Source
  1366. // <0=> Off
  1367. // <1=> 2.5 uA
  1368. // <2=> 5 uA
  1369. // <3=> 10 uA
  1370. #ifndef NRFX_COMP_CONFIG_ISOURCE
  1371. #define NRFX_COMP_CONFIG_ISOURCE 0
  1372. #endif
  1373. // <o> NRFX_COMP_CONFIG_INPUT - Analog input
  1374. // <0=> 0
  1375. // <1=> 1
  1376. // <2=> 2
  1377. // <3=> 3
  1378. // <4=> 4
  1379. // <5=> 5
  1380. // <6=> 6
  1381. // <7=> 7
  1382. #ifndef NRFX_COMP_CONFIG_INPUT
  1383. #define NRFX_COMP_CONFIG_INPUT 0
  1384. #endif
  1385. // <o> NRFX_COMP_CONFIG_IRQ_PRIORITY - Interrupt priority
  1386. // <0=> 0 (highest)
  1387. // <1=> 1
  1388. // <2=> 2
  1389. // <3=> 3
  1390. // <4=> 4
  1391. // <5=> 5
  1392. // <6=> 6
  1393. // <7=> 7
  1394. #ifndef NRFX_COMP_CONFIG_IRQ_PRIORITY
  1395. #define NRFX_COMP_CONFIG_IRQ_PRIORITY 6
  1396. #endif
  1397. // <e> NRFX_COMP_CONFIG_LOG_ENABLED - Enables logging in the module.
  1398. //==========================================================
  1399. #ifndef NRFX_COMP_CONFIG_LOG_ENABLED
  1400. #define NRFX_COMP_CONFIG_LOG_ENABLED 0
  1401. #endif
  1402. // <o> NRFX_COMP_CONFIG_LOG_LEVEL - Default Severity level
  1403. // <0=> Off
  1404. // <1=> Error
  1405. // <2=> Warning
  1406. // <3=> Info
  1407. // <4=> Debug
  1408. #ifndef NRFX_COMP_CONFIG_LOG_LEVEL
  1409. #define NRFX_COMP_CONFIG_LOG_LEVEL 3
  1410. #endif
  1411. // <o> NRFX_COMP_CONFIG_INFO_COLOR - ANSI escape code prefix.
  1412. // <0=> Default
  1413. // <1=> Black
  1414. // <2=> Red
  1415. // <3=> Green
  1416. // <4=> Yellow
  1417. // <5=> Blue
  1418. // <6=> Magenta
  1419. // <7=> Cyan
  1420. // <8=> White
  1421. #ifndef NRFX_COMP_CONFIG_INFO_COLOR
  1422. #define NRFX_COMP_CONFIG_INFO_COLOR 0
  1423. #endif
  1424. // <o> NRFX_COMP_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  1425. // <0=> Default
  1426. // <1=> Black
  1427. // <2=> Red
  1428. // <3=> Green
  1429. // <4=> Yellow
  1430. // <5=> Blue
  1431. // <6=> Magenta
  1432. // <7=> Cyan
  1433. // <8=> White
  1434. #ifndef NRFX_COMP_CONFIG_DEBUG_COLOR
  1435. #define NRFX_COMP_CONFIG_DEBUG_COLOR 0
  1436. #endif
  1437. // </e>
  1438. // </e>
  1439. // <e> NRFX_GPIOTE_ENABLED - nrfx_gpiote - GPIOTE peripheral driver
  1440. //==========================================================
  1441. #ifndef NRFX_GPIOTE_ENABLED
  1442. #define NRFX_GPIOTE_ENABLED 1
  1443. #endif
  1444. // <o> NRFX_GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS - Number of lower power input pins
  1445. #ifndef NRFX_GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS
  1446. #define NRFX_GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS 1
  1447. #endif
  1448. // <o> NRFX_GPIOTE_CONFIG_IRQ_PRIORITY - Interrupt priority
  1449. // <0=> 0 (highest)
  1450. // <1=> 1
  1451. // <2=> 2
  1452. // <3=> 3
  1453. // <4=> 4
  1454. // <5=> 5
  1455. // <6=> 6
  1456. // <7=> 7
  1457. #ifndef NRFX_GPIOTE_CONFIG_IRQ_PRIORITY
  1458. #define NRFX_GPIOTE_CONFIG_IRQ_PRIORITY 6
  1459. #endif
  1460. // <e> NRFX_GPIOTE_CONFIG_LOG_ENABLED - Enables logging in the module.
  1461. //==========================================================
  1462. #ifndef NRFX_GPIOTE_CONFIG_LOG_ENABLED
  1463. #define NRFX_GPIOTE_CONFIG_LOG_ENABLED 0
  1464. #endif
  1465. // <o> NRFX_GPIOTE_CONFIG_LOG_LEVEL - Default Severity level
  1466. // <0=> Off
  1467. // <1=> Error
  1468. // <2=> Warning
  1469. // <3=> Info
  1470. // <4=> Debug
  1471. #ifndef NRFX_GPIOTE_CONFIG_LOG_LEVEL
  1472. #define NRFX_GPIOTE_CONFIG_LOG_LEVEL 3
  1473. #endif
  1474. // <o> NRFX_GPIOTE_CONFIG_INFO_COLOR - ANSI escape code prefix.
  1475. // <0=> Default
  1476. // <1=> Black
  1477. // <2=> Red
  1478. // <3=> Green
  1479. // <4=> Yellow
  1480. // <5=> Blue
  1481. // <6=> Magenta
  1482. // <7=> Cyan
  1483. // <8=> White
  1484. #ifndef NRFX_GPIOTE_CONFIG_INFO_COLOR
  1485. #define NRFX_GPIOTE_CONFIG_INFO_COLOR 0
  1486. #endif
  1487. // <o> NRFX_GPIOTE_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  1488. // <0=> Default
  1489. // <1=> Black
  1490. // <2=> Red
  1491. // <3=> Green
  1492. // <4=> Yellow
  1493. // <5=> Blue
  1494. // <6=> Magenta
  1495. // <7=> Cyan
  1496. // <8=> White
  1497. #ifndef NRFX_GPIOTE_CONFIG_DEBUG_COLOR
  1498. #define NRFX_GPIOTE_CONFIG_DEBUG_COLOR 0
  1499. #endif
  1500. // </e>
  1501. // </e>
  1502. // <e> NRFX_I2S_ENABLED - nrfx_i2s - I2S peripheral driver
  1503. //==========================================================
  1504. #ifndef NRFX_I2S_ENABLED
  1505. #define NRFX_I2S_ENABLED 0
  1506. #endif
  1507. // <o> NRFX_I2S_CONFIG_SCK_PIN - SCK pin <0-31>
  1508. #ifndef NRFX_I2S_CONFIG_SCK_PIN
  1509. #define NRFX_I2S_CONFIG_SCK_PIN 31
  1510. #endif
  1511. // <o> NRFX_I2S_CONFIG_LRCK_PIN - LRCK pin <1-31>
  1512. #ifndef NRFX_I2S_CONFIG_LRCK_PIN
  1513. #define NRFX_I2S_CONFIG_LRCK_PIN 30
  1514. #endif
  1515. // <o> NRFX_I2S_CONFIG_MCK_PIN - MCK pin
  1516. #ifndef NRFX_I2S_CONFIG_MCK_PIN
  1517. #define NRFX_I2S_CONFIG_MCK_PIN 255
  1518. #endif
  1519. // <o> NRFX_I2S_CONFIG_SDOUT_PIN - SDOUT pin <0-31>
  1520. #ifndef NRFX_I2S_CONFIG_SDOUT_PIN
  1521. #define NRFX_I2S_CONFIG_SDOUT_PIN 29
  1522. #endif
  1523. // <o> NRFX_I2S_CONFIG_SDIN_PIN - SDIN pin <0-31>
  1524. #ifndef NRFX_I2S_CONFIG_SDIN_PIN
  1525. #define NRFX_I2S_CONFIG_SDIN_PIN 28
  1526. #endif
  1527. // <o> NRFX_I2S_CONFIG_MASTER - Mode
  1528. // <0=> Master
  1529. // <1=> Slave
  1530. #ifndef NRFX_I2S_CONFIG_MASTER
  1531. #define NRFX_I2S_CONFIG_MASTER 0
  1532. #endif
  1533. // <o> NRFX_I2S_CONFIG_FORMAT - Format
  1534. // <0=> I2S
  1535. // <1=> Aligned
  1536. #ifndef NRFX_I2S_CONFIG_FORMAT
  1537. #define NRFX_I2S_CONFIG_FORMAT 0
  1538. #endif
  1539. // <o> NRFX_I2S_CONFIG_ALIGN - Alignment
  1540. // <0=> Left
  1541. // <1=> Right
  1542. #ifndef NRFX_I2S_CONFIG_ALIGN
  1543. #define NRFX_I2S_CONFIG_ALIGN 0
  1544. #endif
  1545. // <o> NRFX_I2S_CONFIG_SWIDTH - Sample width (bits)
  1546. // <0=> 8
  1547. // <1=> 16
  1548. // <2=> 24
  1549. #ifndef NRFX_I2S_CONFIG_SWIDTH
  1550. #define NRFX_I2S_CONFIG_SWIDTH 1
  1551. #endif
  1552. // <o> NRFX_I2S_CONFIG_CHANNELS - Channels
  1553. // <0=> Stereo
  1554. // <1=> Left
  1555. // <2=> Right
  1556. #ifndef NRFX_I2S_CONFIG_CHANNELS
  1557. #define NRFX_I2S_CONFIG_CHANNELS 1
  1558. #endif
  1559. // <o> NRFX_I2S_CONFIG_MCK_SETUP - MCK behavior
  1560. // <0=> Disabled
  1561. // <2147483648=> 32MHz/2
  1562. // <1342177280=> 32MHz/3
  1563. // <1073741824=> 32MHz/4
  1564. // <805306368=> 32MHz/5
  1565. // <671088640=> 32MHz/6
  1566. // <536870912=> 32MHz/8
  1567. // <402653184=> 32MHz/10
  1568. // <369098752=> 32MHz/11
  1569. // <285212672=> 32MHz/15
  1570. // <268435456=> 32MHz/16
  1571. // <201326592=> 32MHz/21
  1572. // <184549376=> 32MHz/23
  1573. // <142606336=> 32MHz/30
  1574. // <138412032=> 32MHz/31
  1575. // <134217728=> 32MHz/32
  1576. // <100663296=> 32MHz/42
  1577. // <68157440=> 32MHz/63
  1578. // <34340864=> 32MHz/125
  1579. #ifndef NRFX_I2S_CONFIG_MCK_SETUP
  1580. #define NRFX_I2S_CONFIG_MCK_SETUP 536870912
  1581. #endif
  1582. // <o> NRFX_I2S_CONFIG_RATIO - MCK/LRCK ratio
  1583. // <0=> 32x
  1584. // <1=> 48x
  1585. // <2=> 64x
  1586. // <3=> 96x
  1587. // <4=> 128x
  1588. // <5=> 192x
  1589. // <6=> 256x
  1590. // <7=> 384x
  1591. // <8=> 512x
  1592. #ifndef NRFX_I2S_CONFIG_RATIO
  1593. #define NRFX_I2S_CONFIG_RATIO 2000
  1594. #endif
  1595. // <o> NRFX_I2S_CONFIG_IRQ_PRIORITY - Interrupt priority
  1596. // <0=> 0 (highest)
  1597. // <1=> 1
  1598. // <2=> 2
  1599. // <3=> 3
  1600. // <4=> 4
  1601. // <5=> 5
  1602. // <6=> 6
  1603. // <7=> 7
  1604. #ifndef NRFX_I2S_CONFIG_IRQ_PRIORITY
  1605. #define NRFX_I2S_CONFIG_IRQ_PRIORITY 6
  1606. #endif
  1607. // <e> NRFX_I2S_CONFIG_LOG_ENABLED - Enables logging in the module.
  1608. //==========================================================
  1609. #ifndef NRFX_I2S_CONFIG_LOG_ENABLED
  1610. #define NRFX_I2S_CONFIG_LOG_ENABLED 0
  1611. #endif
  1612. // <o> NRFX_I2S_CONFIG_LOG_LEVEL - Default Severity level
  1613. // <0=> Off
  1614. // <1=> Error
  1615. // <2=> Warning
  1616. // <3=> Info
  1617. // <4=> Debug
  1618. #ifndef NRFX_I2S_CONFIG_LOG_LEVEL
  1619. #define NRFX_I2S_CONFIG_LOG_LEVEL 3
  1620. #endif
  1621. // <o> NRFX_I2S_CONFIG_INFO_COLOR - ANSI escape code prefix.
  1622. // <0=> Default
  1623. // <1=> Black
  1624. // <2=> Red
  1625. // <3=> Green
  1626. // <4=> Yellow
  1627. // <5=> Blue
  1628. // <6=> Magenta
  1629. // <7=> Cyan
  1630. // <8=> White
  1631. #ifndef NRFX_I2S_CONFIG_INFO_COLOR
  1632. #define NRFX_I2S_CONFIG_INFO_COLOR 0
  1633. #endif
  1634. // <o> NRFX_I2S_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  1635. // <0=> Default
  1636. // <1=> Black
  1637. // <2=> Red
  1638. // <3=> Green
  1639. // <4=> Yellow
  1640. // <5=> Blue
  1641. // <6=> Magenta
  1642. // <7=> Cyan
  1643. // <8=> White
  1644. #ifndef NRFX_I2S_CONFIG_DEBUG_COLOR
  1645. #define NRFX_I2S_CONFIG_DEBUG_COLOR 0
  1646. #endif
  1647. // </e>
  1648. // </e>
  1649. // <e> NRFX_LPCOMP_ENABLED - nrfx_lpcomp - LPCOMP peripheral driver
  1650. //==========================================================
  1651. #ifndef NRFX_LPCOMP_ENABLED
  1652. #define NRFX_LPCOMP_ENABLED 0
  1653. #endif
  1654. // <o> NRFX_LPCOMP_CONFIG_REFERENCE - Reference voltage
  1655. // <0=> Supply 1/8
  1656. // <1=> Supply 2/8
  1657. // <2=> Supply 3/8
  1658. // <3=> Supply 4/8
  1659. // <4=> Supply 5/8
  1660. // <5=> Supply 6/8
  1661. // <6=> Supply 7/8
  1662. // <8=> Supply 1/16 (nRF52)
  1663. // <9=> Supply 3/16 (nRF52)
  1664. // <10=> Supply 5/16 (nRF52)
  1665. // <11=> Supply 7/16 (nRF52)
  1666. // <12=> Supply 9/16 (nRF52)
  1667. // <13=> Supply 11/16 (nRF52)
  1668. // <14=> Supply 13/16 (nRF52)
  1669. // <15=> Supply 15/16 (nRF52)
  1670. // <7=> External Ref 0
  1671. // <65543=> External Ref 1
  1672. #ifndef NRFX_LPCOMP_CONFIG_REFERENCE
  1673. #define NRFX_LPCOMP_CONFIG_REFERENCE 3
  1674. #endif
  1675. // <o> NRFX_LPCOMP_CONFIG_DETECTION - Detection
  1676. // <0=> Crossing
  1677. // <1=> Up
  1678. // <2=> Down
  1679. #ifndef NRFX_LPCOMP_CONFIG_DETECTION
  1680. #define NRFX_LPCOMP_CONFIG_DETECTION 2
  1681. #endif
  1682. // <o> NRFX_LPCOMP_CONFIG_INPUT - Analog input
  1683. // <0=> 0
  1684. // <1=> 1
  1685. // <2=> 2
  1686. // <3=> 3
  1687. // <4=> 4
  1688. // <5=> 5
  1689. // <6=> 6
  1690. // <7=> 7
  1691. #ifndef NRFX_LPCOMP_CONFIG_INPUT
  1692. #define NRFX_LPCOMP_CONFIG_INPUT 0
  1693. #endif
  1694. // <q> NRFX_LPCOMP_CONFIG_HYST - Hysteresis
  1695. #ifndef NRFX_LPCOMP_CONFIG_HYST
  1696. #define NRFX_LPCOMP_CONFIG_HYST 0
  1697. #endif
  1698. // <o> NRFX_LPCOMP_CONFIG_IRQ_PRIORITY - Interrupt priority
  1699. // <0=> 0 (highest)
  1700. // <1=> 1
  1701. // <2=> 2
  1702. // <3=> 3
  1703. // <4=> 4
  1704. // <5=> 5
  1705. // <6=> 6
  1706. // <7=> 7
  1707. #ifndef NRFX_LPCOMP_CONFIG_IRQ_PRIORITY
  1708. #define NRFX_LPCOMP_CONFIG_IRQ_PRIORITY 6
  1709. #endif
  1710. // <e> NRFX_LPCOMP_CONFIG_LOG_ENABLED - Enables logging in the module.
  1711. //==========================================================
  1712. #ifndef NRFX_LPCOMP_CONFIG_LOG_ENABLED
  1713. #define NRFX_LPCOMP_CONFIG_LOG_ENABLED 0
  1714. #endif
  1715. // <o> NRFX_LPCOMP_CONFIG_LOG_LEVEL - Default Severity level
  1716. // <0=> Off
  1717. // <1=> Error
  1718. // <2=> Warning
  1719. // <3=> Info
  1720. // <4=> Debug
  1721. #ifndef NRFX_LPCOMP_CONFIG_LOG_LEVEL
  1722. #define NRFX_LPCOMP_CONFIG_LOG_LEVEL 3
  1723. #endif
  1724. // <o> NRFX_LPCOMP_CONFIG_INFO_COLOR - ANSI escape code prefix.
  1725. // <0=> Default
  1726. // <1=> Black
  1727. // <2=> Red
  1728. // <3=> Green
  1729. // <4=> Yellow
  1730. // <5=> Blue
  1731. // <6=> Magenta
  1732. // <7=> Cyan
  1733. // <8=> White
  1734. #ifndef NRFX_LPCOMP_CONFIG_INFO_COLOR
  1735. #define NRFX_LPCOMP_CONFIG_INFO_COLOR 0
  1736. #endif
  1737. // <o> NRFX_LPCOMP_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  1738. // <0=> Default
  1739. // <1=> Black
  1740. // <2=> Red
  1741. // <3=> Green
  1742. // <4=> Yellow
  1743. // <5=> Blue
  1744. // <6=> Magenta
  1745. // <7=> Cyan
  1746. // <8=> White
  1747. #ifndef NRFX_LPCOMP_CONFIG_DEBUG_COLOR
  1748. #define NRFX_LPCOMP_CONFIG_DEBUG_COLOR 0
  1749. #endif
  1750. // </e>
  1751. // </e>
  1752. // <e> NRFX_NFCT_ENABLED - nrfx_nfct - NFCT peripheral driver
  1753. //==========================================================
  1754. #ifndef NRFX_NFCT_ENABLED
  1755. #define NRFX_NFCT_ENABLED 0
  1756. #endif
  1757. // <o> NRFX_NFCT_CONFIG_IRQ_PRIORITY - Interrupt priority
  1758. // <0=> 0 (highest)
  1759. // <1=> 1
  1760. // <2=> 2
  1761. // <3=> 3
  1762. // <4=> 4
  1763. // <5=> 5
  1764. // <6=> 6
  1765. // <7=> 7
  1766. #ifndef NRFX_NFCT_CONFIG_IRQ_PRIORITY
  1767. #define NRFX_NFCT_CONFIG_IRQ_PRIORITY 6
  1768. #endif
  1769. // <e> NRFX_NFCT_CONFIG_LOG_ENABLED - Enables logging in the module.
  1770. //==========================================================
  1771. #ifndef NRFX_NFCT_CONFIG_LOG_ENABLED
  1772. #define NRFX_NFCT_CONFIG_LOG_ENABLED 0
  1773. #endif
  1774. // <o> NRFX_NFCT_CONFIG_LOG_LEVEL - Default Severity level
  1775. // <0=> Off
  1776. // <1=> Error
  1777. // <2=> Warning
  1778. // <3=> Info
  1779. // <4=> Debug
  1780. #ifndef NRFX_NFCT_CONFIG_LOG_LEVEL
  1781. #define NRFX_NFCT_CONFIG_LOG_LEVEL 3
  1782. #endif
  1783. // <o> NRFX_NFCT_CONFIG_INFO_COLOR - ANSI escape code prefix.
  1784. // <0=> Default
  1785. // <1=> Black
  1786. // <2=> Red
  1787. // <3=> Green
  1788. // <4=> Yellow
  1789. // <5=> Blue
  1790. // <6=> Magenta
  1791. // <7=> Cyan
  1792. // <8=> White
  1793. #ifndef NRFX_NFCT_CONFIG_INFO_COLOR
  1794. #define NRFX_NFCT_CONFIG_INFO_COLOR 0
  1795. #endif
  1796. // <o> NRFX_NFCT_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  1797. // <0=> Default
  1798. // <1=> Black
  1799. // <2=> Red
  1800. // <3=> Green
  1801. // <4=> Yellow
  1802. // <5=> Blue
  1803. // <6=> Magenta
  1804. // <7=> Cyan
  1805. // <8=> White
  1806. #ifndef NRFX_NFCT_CONFIG_DEBUG_COLOR
  1807. #define NRFX_NFCT_CONFIG_DEBUG_COLOR 0
  1808. #endif
  1809. // </e>
  1810. // </e>
  1811. // <e> NRFX_PDM_ENABLED - nrfx_pdm - PDM peripheral driver
  1812. //==========================================================
  1813. #ifndef NRFX_PDM_ENABLED
  1814. #define NRFX_PDM_ENABLED 0
  1815. #endif
  1816. // <o> NRFX_PDM_CONFIG_MODE - Mode
  1817. // <0=> Stereo
  1818. // <1=> Mono
  1819. #ifndef NRFX_PDM_CONFIG_MODE
  1820. #define NRFX_PDM_CONFIG_MODE 1
  1821. #endif
  1822. // <o> NRFX_PDM_CONFIG_EDGE - Edge
  1823. // <0=> Left falling
  1824. // <1=> Left rising
  1825. #ifndef NRFX_PDM_CONFIG_EDGE
  1826. #define NRFX_PDM_CONFIG_EDGE 0
  1827. #endif
  1828. // <o> NRFX_PDM_CONFIG_CLOCK_FREQ - Clock frequency
  1829. // <134217728=> 1000k
  1830. // <138412032=> 1032k (default)
  1831. // <142606336=> 1067k
  1832. #ifndef NRFX_PDM_CONFIG_CLOCK_FREQ
  1833. #define NRFX_PDM_CONFIG_CLOCK_FREQ 138412032
  1834. #endif
  1835. // <o> NRFX_PDM_CONFIG_IRQ_PRIORITY - Interrupt priority
  1836. // <0=> 0 (highest)
  1837. // <1=> 1
  1838. // <2=> 2
  1839. // <3=> 3
  1840. // <4=> 4
  1841. // <5=> 5
  1842. // <6=> 6
  1843. // <7=> 7
  1844. #ifndef NRFX_PDM_CONFIG_IRQ_PRIORITY
  1845. #define NRFX_PDM_CONFIG_IRQ_PRIORITY 6
  1846. #endif
  1847. // <e> NRFX_PDM_CONFIG_LOG_ENABLED - Enables logging in the module.
  1848. //==========================================================
  1849. #ifndef NRFX_PDM_CONFIG_LOG_ENABLED
  1850. #define NRFX_PDM_CONFIG_LOG_ENABLED 0
  1851. #endif
  1852. // <o> NRFX_PDM_CONFIG_LOG_LEVEL - Default Severity level
  1853. // <0=> Off
  1854. // <1=> Error
  1855. // <2=> Warning
  1856. // <3=> Info
  1857. // <4=> Debug
  1858. #ifndef NRFX_PDM_CONFIG_LOG_LEVEL
  1859. #define NRFX_PDM_CONFIG_LOG_LEVEL 3
  1860. #endif
  1861. // <o> NRFX_PDM_CONFIG_INFO_COLOR - ANSI escape code prefix.
  1862. // <0=> Default
  1863. // <1=> Black
  1864. // <2=> Red
  1865. // <3=> Green
  1866. // <4=> Yellow
  1867. // <5=> Blue
  1868. // <6=> Magenta
  1869. // <7=> Cyan
  1870. // <8=> White
  1871. #ifndef NRFX_PDM_CONFIG_INFO_COLOR
  1872. #define NRFX_PDM_CONFIG_INFO_COLOR 0
  1873. #endif
  1874. // <o> NRFX_PDM_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  1875. // <0=> Default
  1876. // <1=> Black
  1877. // <2=> Red
  1878. // <3=> Green
  1879. // <4=> Yellow
  1880. // <5=> Blue
  1881. // <6=> Magenta
  1882. // <7=> Cyan
  1883. // <8=> White
  1884. #ifndef NRFX_PDM_CONFIG_DEBUG_COLOR
  1885. #define NRFX_PDM_CONFIG_DEBUG_COLOR 0
  1886. #endif
  1887. // </e>
  1888. // </e>
  1889. // <e> NRFX_POWER_ENABLED - nrfx_power - POWER peripheral driver
  1890. //==========================================================
  1891. #ifndef NRFX_POWER_ENABLED
  1892. #define NRFX_POWER_ENABLED 0
  1893. #endif
  1894. // <o> NRFX_POWER_CONFIG_IRQ_PRIORITY - Interrupt priority
  1895. // <0=> 0 (highest)
  1896. // <1=> 1
  1897. // <2=> 2
  1898. // <3=> 3
  1899. // <4=> 4
  1900. // <5=> 5
  1901. // <6=> 6
  1902. // <7=> 7
  1903. #ifndef NRFX_POWER_CONFIG_IRQ_PRIORITY
  1904. #define NRFX_POWER_CONFIG_IRQ_PRIORITY 6
  1905. #endif
  1906. // <q> NRFX_POWER_CONFIG_DEFAULT_DCDCEN - The default configuration of main DCDC regulator
  1907. // <i> This settings means only that components for DCDC regulator are installed and it can be enabled.
  1908. #ifndef NRFX_POWER_CONFIG_DEFAULT_DCDCEN
  1909. #define NRFX_POWER_CONFIG_DEFAULT_DCDCEN 0
  1910. #endif
  1911. // <q> NRFX_POWER_CONFIG_DEFAULT_DCDCENHV - The default configuration of High Voltage DCDC regulator
  1912. // <i> This settings means only that components for DCDC regulator are installed and it can be enabled.
  1913. #ifndef NRFX_POWER_CONFIG_DEFAULT_DCDCENHV
  1914. #define NRFX_POWER_CONFIG_DEFAULT_DCDCENHV 0
  1915. #endif
  1916. // </e>
  1917. // <e> NRFX_PPI_ENABLED - nrfx_ppi - PPI peripheral allocator
  1918. //==========================================================
  1919. #ifndef NRFX_PPI_ENABLED
  1920. #define NRFX_PPI_ENABLED 0
  1921. #endif
  1922. // <e> NRFX_PPI_CONFIG_LOG_ENABLED - Enables logging in the module.
  1923. //==========================================================
  1924. #ifndef NRFX_PPI_CONFIG_LOG_ENABLED
  1925. #define NRFX_PPI_CONFIG_LOG_ENABLED 0
  1926. #endif
  1927. // <o> NRFX_PPI_CONFIG_LOG_LEVEL - Default Severity level
  1928. // <0=> Off
  1929. // <1=> Error
  1930. // <2=> Warning
  1931. // <3=> Info
  1932. // <4=> Debug
  1933. #ifndef NRFX_PPI_CONFIG_LOG_LEVEL
  1934. #define NRFX_PPI_CONFIG_LOG_LEVEL 3
  1935. #endif
  1936. // <o> NRFX_PPI_CONFIG_INFO_COLOR - ANSI escape code prefix.
  1937. // <0=> Default
  1938. // <1=> Black
  1939. // <2=> Red
  1940. // <3=> Green
  1941. // <4=> Yellow
  1942. // <5=> Blue
  1943. // <6=> Magenta
  1944. // <7=> Cyan
  1945. // <8=> White
  1946. #ifndef NRFX_PPI_CONFIG_INFO_COLOR
  1947. #define NRFX_PPI_CONFIG_INFO_COLOR 0
  1948. #endif
  1949. // <o> NRFX_PPI_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  1950. // <0=> Default
  1951. // <1=> Black
  1952. // <2=> Red
  1953. // <3=> Green
  1954. // <4=> Yellow
  1955. // <5=> Blue
  1956. // <6=> Magenta
  1957. // <7=> Cyan
  1958. // <8=> White
  1959. #ifndef NRFX_PPI_CONFIG_DEBUG_COLOR
  1960. #define NRFX_PPI_CONFIG_DEBUG_COLOR 0
  1961. #endif
  1962. // </e>
  1963. // </e>
  1964. // <e> NRFX_PRS_ENABLED - nrfx_prs - Peripheral Resource Sharing module
  1965. //==========================================================
  1966. #ifndef NRFX_PRS_ENABLED
  1967. #define NRFX_PRS_ENABLED 1
  1968. #endif
  1969. // <q> NRFX_PRS_BOX_0_ENABLED - Enables box 0 in the module.
  1970. #ifndef NRFX_PRS_BOX_0_ENABLED
  1971. #define NRFX_PRS_BOX_0_ENABLED 0
  1972. #endif
  1973. // <q> NRFX_PRS_BOX_1_ENABLED - Enables box 1 in the module.
  1974. #ifndef NRFX_PRS_BOX_1_ENABLED
  1975. #define NRFX_PRS_BOX_1_ENABLED 0
  1976. #endif
  1977. // <q> NRFX_PRS_BOX_2_ENABLED - Enables box 2 in the module.
  1978. #ifndef NRFX_PRS_BOX_2_ENABLED
  1979. #define NRFX_PRS_BOX_2_ENABLED 0
  1980. #endif
  1981. // <q> NRFX_PRS_BOX_3_ENABLED - Enables box 3 in the module.
  1982. #ifndef NRFX_PRS_BOX_3_ENABLED
  1983. #define NRFX_PRS_BOX_3_ENABLED 0
  1984. #endif
  1985. // <q> NRFX_PRS_BOX_4_ENABLED - Enables box 4 in the module.
  1986. #ifndef NRFX_PRS_BOX_4_ENABLED
  1987. #define NRFX_PRS_BOX_4_ENABLED 1
  1988. #endif
  1989. // <e> NRFX_PRS_CONFIG_LOG_ENABLED - Enables logging in the module.
  1990. //==========================================================
  1991. #ifndef NRFX_PRS_CONFIG_LOG_ENABLED
  1992. #define NRFX_PRS_CONFIG_LOG_ENABLED 0
  1993. #endif
  1994. // <o> NRFX_PRS_CONFIG_LOG_LEVEL - Default Severity level
  1995. // <0=> Off
  1996. // <1=> Error
  1997. // <2=> Warning
  1998. // <3=> Info
  1999. // <4=> Debug
  2000. #ifndef NRFX_PRS_CONFIG_LOG_LEVEL
  2001. #define NRFX_PRS_CONFIG_LOG_LEVEL 3
  2002. #endif
  2003. // <o> NRFX_PRS_CONFIG_INFO_COLOR - ANSI escape code prefix.
  2004. // <0=> Default
  2005. // <1=> Black
  2006. // <2=> Red
  2007. // <3=> Green
  2008. // <4=> Yellow
  2009. // <5=> Blue
  2010. // <6=> Magenta
  2011. // <7=> Cyan
  2012. // <8=> White
  2013. #ifndef NRFX_PRS_CONFIG_INFO_COLOR
  2014. #define NRFX_PRS_CONFIG_INFO_COLOR 0
  2015. #endif
  2016. // <o> NRFX_PRS_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  2017. // <0=> Default
  2018. // <1=> Black
  2019. // <2=> Red
  2020. // <3=> Green
  2021. // <4=> Yellow
  2022. // <5=> Blue
  2023. // <6=> Magenta
  2024. // <7=> Cyan
  2025. // <8=> White
  2026. #ifndef NRFX_PRS_CONFIG_DEBUG_COLOR
  2027. #define NRFX_PRS_CONFIG_DEBUG_COLOR 0
  2028. #endif
  2029. // </e>
  2030. // </e>
  2031. // <e> NRFX_PWM_ENABLED - nrfx_pwm - PWM peripheral driver
  2032. //==========================================================
  2033. #ifndef NRFX_PWM_ENABLED
  2034. #define NRFX_PWM_ENABLED 0
  2035. #endif
  2036. // <q> NRFX_PWM0_ENABLED - Enable PWM0 instance
  2037. #ifndef NRFX_PWM0_ENABLED
  2038. #define NRFX_PWM0_ENABLED 0
  2039. #endif
  2040. // <q> NRFX_PWM1_ENABLED - Enable PWM1 instance
  2041. #ifndef NRFX_PWM1_ENABLED
  2042. #define NRFX_PWM1_ENABLED 0
  2043. #endif
  2044. // <q> NRFX_PWM2_ENABLED - Enable PWM2 instance
  2045. #ifndef NRFX_PWM2_ENABLED
  2046. #define NRFX_PWM2_ENABLED 0
  2047. #endif
  2048. // <q> NRFX_PWM3_ENABLED - Enable PWM3 instance
  2049. #ifndef NRFX_PWM3_ENABLED
  2050. #define NRFX_PWM3_ENABLED 0
  2051. #endif
  2052. // <o> NRFX_PWM_DEFAULT_CONFIG_OUT0_PIN - Out0 pin <0-31>
  2053. #ifndef NRFX_PWM_DEFAULT_CONFIG_OUT0_PIN
  2054. #define NRFX_PWM_DEFAULT_CONFIG_OUT0_PIN 31
  2055. #endif
  2056. // <o> NRFX_PWM_DEFAULT_CONFIG_OUT1_PIN - Out1 pin <0-31>
  2057. #ifndef NRFX_PWM_DEFAULT_CONFIG_OUT1_PIN
  2058. #define NRFX_PWM_DEFAULT_CONFIG_OUT1_PIN 31
  2059. #endif
  2060. // <o> NRFX_PWM_DEFAULT_CONFIG_OUT2_PIN - Out2 pin <0-31>
  2061. #ifndef NRFX_PWM_DEFAULT_CONFIG_OUT2_PIN
  2062. #define NRFX_PWM_DEFAULT_CONFIG_OUT2_PIN 31
  2063. #endif
  2064. // <o> NRFX_PWM_DEFAULT_CONFIG_OUT3_PIN - Out3 pin <0-31>
  2065. #ifndef NRFX_PWM_DEFAULT_CONFIG_OUT3_PIN
  2066. #define NRFX_PWM_DEFAULT_CONFIG_OUT3_PIN 31
  2067. #endif
  2068. // <o> NRFX_PWM_DEFAULT_CONFIG_BASE_CLOCK - Base clock
  2069. // <0=> 16 MHz
  2070. // <1=> 8 MHz
  2071. // <2=> 4 MHz
  2072. // <3=> 2 MHz
  2073. // <4=> 1 MHz
  2074. // <5=> 500 kHz
  2075. // <6=> 250 kHz
  2076. // <7=> 125 kHz
  2077. #ifndef NRFX_PWM_DEFAULT_CONFIG_BASE_CLOCK
  2078. #define NRFX_PWM_DEFAULT_CONFIG_BASE_CLOCK 4
  2079. #endif
  2080. // <o> NRFX_PWM_DEFAULT_CONFIG_COUNT_MODE - Count mode
  2081. // <0=> Up
  2082. // <1=> Up and Down
  2083. #ifndef NRFX_PWM_DEFAULT_CONFIG_COUNT_MODE
  2084. #define NRFX_PWM_DEFAULT_CONFIG_COUNT_MODE 0
  2085. #endif
  2086. // <o> NRFX_PWM_DEFAULT_CONFIG_TOP_VALUE - Top value
  2087. #ifndef NRFX_PWM_DEFAULT_CONFIG_TOP_VALUE
  2088. #define NRFX_PWM_DEFAULT_CONFIG_TOP_VALUE 1000
  2089. #endif
  2090. // <o> NRFX_PWM_DEFAULT_CONFIG_LOAD_MODE - Load mode
  2091. // <0=> Common
  2092. // <1=> Grouped
  2093. // <2=> Individual
  2094. // <3=> Waveform
  2095. #ifndef NRFX_PWM_DEFAULT_CONFIG_LOAD_MODE
  2096. #define NRFX_PWM_DEFAULT_CONFIG_LOAD_MODE 0
  2097. #endif
  2098. // <o> NRFX_PWM_DEFAULT_CONFIG_STEP_MODE - Step mode
  2099. // <0=> Auto
  2100. // <1=> Triggered
  2101. #ifndef NRFX_PWM_DEFAULT_CONFIG_STEP_MODE
  2102. #define NRFX_PWM_DEFAULT_CONFIG_STEP_MODE 0
  2103. #endif
  2104. // <o> NRFX_PWM_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority
  2105. // <0=> 0 (highest)
  2106. // <1=> 1
  2107. // <2=> 2
  2108. // <3=> 3
  2109. // <4=> 4
  2110. // <5=> 5
  2111. // <6=> 6
  2112. // <7=> 7
  2113. #ifndef NRFX_PWM_DEFAULT_CONFIG_IRQ_PRIORITY
  2114. #define NRFX_PWM_DEFAULT_CONFIG_IRQ_PRIORITY 6
  2115. #endif
  2116. // <e> NRFX_PWM_CONFIG_LOG_ENABLED - Enables logging in the module.
  2117. //==========================================================
  2118. #ifndef NRFX_PWM_CONFIG_LOG_ENABLED
  2119. #define NRFX_PWM_CONFIG_LOG_ENABLED 0
  2120. #endif
  2121. // <o> NRFX_PWM_CONFIG_LOG_LEVEL - Default Severity level
  2122. // <0=> Off
  2123. // <1=> Error
  2124. // <2=> Warning
  2125. // <3=> Info
  2126. // <4=> Debug
  2127. #ifndef NRFX_PWM_CONFIG_LOG_LEVEL
  2128. #define NRFX_PWM_CONFIG_LOG_LEVEL 3
  2129. #endif
  2130. // <o> NRFX_PWM_CONFIG_INFO_COLOR - ANSI escape code prefix.
  2131. // <0=> Default
  2132. // <1=> Black
  2133. // <2=> Red
  2134. // <3=> Green
  2135. // <4=> Yellow
  2136. // <5=> Blue
  2137. // <6=> Magenta
  2138. // <7=> Cyan
  2139. // <8=> White
  2140. #ifndef NRFX_PWM_CONFIG_INFO_COLOR
  2141. #define NRFX_PWM_CONFIG_INFO_COLOR 0
  2142. #endif
  2143. // <o> NRFX_PWM_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  2144. // <0=> Default
  2145. // <1=> Black
  2146. // <2=> Red
  2147. // <3=> Green
  2148. // <4=> Yellow
  2149. // <5=> Blue
  2150. // <6=> Magenta
  2151. // <7=> Cyan
  2152. // <8=> White
  2153. #ifndef NRFX_PWM_CONFIG_DEBUG_COLOR
  2154. #define NRFX_PWM_CONFIG_DEBUG_COLOR 0
  2155. #endif
  2156. // </e>
  2157. // </e>
  2158. // <e> NRFX_QDEC_ENABLED - nrfx_qdec - QDEC peripheral driver
  2159. //==========================================================
  2160. #ifndef NRFX_QDEC_ENABLED
  2161. #define NRFX_QDEC_ENABLED 0
  2162. #endif
  2163. // <o> NRFX_QDEC_CONFIG_REPORTPER - Report period
  2164. // <0=> 10 Samples
  2165. // <1=> 40 Samples
  2166. // <2=> 80 Samples
  2167. // <3=> 120 Samples
  2168. // <4=> 160 Samples
  2169. // <5=> 200 Samples
  2170. // <6=> 240 Samples
  2171. // <7=> 280 Samples
  2172. #ifndef NRFX_QDEC_CONFIG_REPORTPER
  2173. #define NRFX_QDEC_CONFIG_REPORTPER 0
  2174. #endif
  2175. // <o> NRFX_QDEC_CONFIG_SAMPLEPER - Sample period
  2176. // <0=> 128 us
  2177. // <1=> 256 us
  2178. // <2=> 512 us
  2179. // <3=> 1024 us
  2180. // <4=> 2048 us
  2181. // <5=> 4096 us
  2182. // <6=> 8192 us
  2183. // <7=> 16384 us
  2184. #ifndef NRFX_QDEC_CONFIG_SAMPLEPER
  2185. #define NRFX_QDEC_CONFIG_SAMPLEPER 7
  2186. #endif
  2187. // <o> NRFX_QDEC_CONFIG_PIO_A - A pin <0-31>
  2188. #ifndef NRFX_QDEC_CONFIG_PIO_A
  2189. #define NRFX_QDEC_CONFIG_PIO_A 31
  2190. #endif
  2191. // <o> NRFX_QDEC_CONFIG_PIO_B - B pin <0-31>
  2192. #ifndef NRFX_QDEC_CONFIG_PIO_B
  2193. #define NRFX_QDEC_CONFIG_PIO_B 31
  2194. #endif
  2195. // <o> NRFX_QDEC_CONFIG_PIO_LED - LED pin <0-31>
  2196. #ifndef NRFX_QDEC_CONFIG_PIO_LED
  2197. #define NRFX_QDEC_CONFIG_PIO_LED 31
  2198. #endif
  2199. // <o> NRFX_QDEC_CONFIG_LEDPRE - LED pre
  2200. #ifndef NRFX_QDEC_CONFIG_LEDPRE
  2201. #define NRFX_QDEC_CONFIG_LEDPRE 511
  2202. #endif
  2203. // <o> NRFX_QDEC_CONFIG_LEDPOL - LED polarity
  2204. // <0=> Active low
  2205. // <1=> Active high
  2206. #ifndef NRFX_QDEC_CONFIG_LEDPOL
  2207. #define NRFX_QDEC_CONFIG_LEDPOL 1
  2208. #endif
  2209. // <q> NRFX_QDEC_CONFIG_DBFEN - Debouncing enable
  2210. #ifndef NRFX_QDEC_CONFIG_DBFEN
  2211. #define NRFX_QDEC_CONFIG_DBFEN 0
  2212. #endif
  2213. // <q> NRFX_QDEC_CONFIG_SAMPLE_INTEN - Sample ready interrupt enable
  2214. #ifndef NRFX_QDEC_CONFIG_SAMPLE_INTEN
  2215. #define NRFX_QDEC_CONFIG_SAMPLE_INTEN 0
  2216. #endif
  2217. // <o> NRFX_QDEC_CONFIG_IRQ_PRIORITY - Interrupt priority
  2218. // <0=> 0 (highest)
  2219. // <1=> 1
  2220. // <2=> 2
  2221. // <3=> 3
  2222. // <4=> 4
  2223. // <5=> 5
  2224. // <6=> 6
  2225. // <7=> 7
  2226. #ifndef NRFX_QDEC_CONFIG_IRQ_PRIORITY
  2227. #define NRFX_QDEC_CONFIG_IRQ_PRIORITY 6
  2228. #endif
  2229. // <e> NRFX_QDEC_CONFIG_LOG_ENABLED - Enables logging in the module.
  2230. //==========================================================
  2231. #ifndef NRFX_QDEC_CONFIG_LOG_ENABLED
  2232. #define NRFX_QDEC_CONFIG_LOG_ENABLED 0
  2233. #endif
  2234. // <o> NRFX_QDEC_CONFIG_LOG_LEVEL - Default Severity level
  2235. // <0=> Off
  2236. // <1=> Error
  2237. // <2=> Warning
  2238. // <3=> Info
  2239. // <4=> Debug
  2240. #ifndef NRFX_QDEC_CONFIG_LOG_LEVEL
  2241. #define NRFX_QDEC_CONFIG_LOG_LEVEL 3
  2242. #endif
  2243. // <o> NRFX_QDEC_CONFIG_INFO_COLOR - ANSI escape code prefix.
  2244. // <0=> Default
  2245. // <1=> Black
  2246. // <2=> Red
  2247. // <3=> Green
  2248. // <4=> Yellow
  2249. // <5=> Blue
  2250. // <6=> Magenta
  2251. // <7=> Cyan
  2252. // <8=> White
  2253. #ifndef NRFX_QDEC_CONFIG_INFO_COLOR
  2254. #define NRFX_QDEC_CONFIG_INFO_COLOR 0
  2255. #endif
  2256. // <o> NRFX_QDEC_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  2257. // <0=> Default
  2258. // <1=> Black
  2259. // <2=> Red
  2260. // <3=> Green
  2261. // <4=> Yellow
  2262. // <5=> Blue
  2263. // <6=> Magenta
  2264. // <7=> Cyan
  2265. // <8=> White
  2266. #ifndef NRFX_QDEC_CONFIG_DEBUG_COLOR
  2267. #define NRFX_QDEC_CONFIG_DEBUG_COLOR 0
  2268. #endif
  2269. // </e>
  2270. // </e>
  2271. // <e> NRFX_RNG_ENABLED - nrfx_rng - RNG peripheral driver
  2272. //==========================================================
  2273. #ifndef NRFX_RNG_ENABLED
  2274. #define NRFX_RNG_ENABLED 0
  2275. #endif
  2276. // <q> NRFX_RNG_CONFIG_ERROR_CORRECTION - Error correction
  2277. #ifndef NRFX_RNG_CONFIG_ERROR_CORRECTION
  2278. #define NRFX_RNG_CONFIG_ERROR_CORRECTION 1
  2279. #endif
  2280. // <o> NRFX_RNG_CONFIG_IRQ_PRIORITY - Interrupt priority
  2281. // <0=> 0 (highest)
  2282. // <1=> 1
  2283. // <2=> 2
  2284. // <3=> 3
  2285. // <4=> 4
  2286. // <5=> 5
  2287. // <6=> 6
  2288. // <7=> 7
  2289. #ifndef NRFX_RNG_CONFIG_IRQ_PRIORITY
  2290. #define NRFX_RNG_CONFIG_IRQ_PRIORITY 6
  2291. #endif
  2292. // <e> NRFX_RNG_CONFIG_LOG_ENABLED - Enables logging in the module.
  2293. //==========================================================
  2294. #ifndef NRFX_RNG_CONFIG_LOG_ENABLED
  2295. #define NRFX_RNG_CONFIG_LOG_ENABLED 0
  2296. #endif
  2297. // <o> NRFX_RNG_CONFIG_LOG_LEVEL - Default Severity level
  2298. // <0=> Off
  2299. // <1=> Error
  2300. // <2=> Warning
  2301. // <3=> Info
  2302. // <4=> Debug
  2303. #ifndef NRFX_RNG_CONFIG_LOG_LEVEL
  2304. #define NRFX_RNG_CONFIG_LOG_LEVEL 3
  2305. #endif
  2306. // <o> NRFX_RNG_CONFIG_INFO_COLOR - ANSI escape code prefix.
  2307. // <0=> Default
  2308. // <1=> Black
  2309. // <2=> Red
  2310. // <3=> Green
  2311. // <4=> Yellow
  2312. // <5=> Blue
  2313. // <6=> Magenta
  2314. // <7=> Cyan
  2315. // <8=> White
  2316. #ifndef NRFX_RNG_CONFIG_INFO_COLOR
  2317. #define NRFX_RNG_CONFIG_INFO_COLOR 0
  2318. #endif
  2319. // <o> NRFX_RNG_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  2320. // <0=> Default
  2321. // <1=> Black
  2322. // <2=> Red
  2323. // <3=> Green
  2324. // <4=> Yellow
  2325. // <5=> Blue
  2326. // <6=> Magenta
  2327. // <7=> Cyan
  2328. // <8=> White
  2329. #ifndef NRFX_RNG_CONFIG_DEBUG_COLOR
  2330. #define NRFX_RNG_CONFIG_DEBUG_COLOR 0
  2331. #endif
  2332. // </e>
  2333. // </e>
  2334. // <e> NRFX_RTC_ENABLED - nrfx_rtc - RTC peripheral driver
  2335. //==========================================================
  2336. #ifndef NRFX_RTC_ENABLED
  2337. #define NRFX_RTC_ENABLED 0
  2338. #endif
  2339. // <q> NRFX_RTC0_ENABLED - Enable RTC0 instance
  2340. #ifndef NRFX_RTC0_ENABLED
  2341. #define NRFX_RTC0_ENABLED 0
  2342. #endif
  2343. // <q> NRFX_RTC1_ENABLED - Enable RTC1 instance
  2344. #ifndef NRFX_RTC1_ENABLED
  2345. #define NRFX_RTC1_ENABLED 0
  2346. #endif
  2347. // <q> NRFX_RTC2_ENABLED - Enable RTC2 instance
  2348. #ifndef NRFX_RTC2_ENABLED
  2349. #define NRFX_RTC2_ENABLED 0
  2350. #endif
  2351. // <o> NRFX_RTC_MAXIMUM_LATENCY_US - Maximum possible time[us] in highest priority interrupt
  2352. #ifndef NRFX_RTC_MAXIMUM_LATENCY_US
  2353. #define NRFX_RTC_MAXIMUM_LATENCY_US 2000
  2354. #endif
  2355. // <o> NRFX_RTC_DEFAULT_CONFIG_FREQUENCY - Frequency <16-32768>
  2356. #ifndef NRFX_RTC_DEFAULT_CONFIG_FREQUENCY
  2357. #define NRFX_RTC_DEFAULT_CONFIG_FREQUENCY 32768
  2358. #endif
  2359. // <q> NRFX_RTC_DEFAULT_CONFIG_RELIABLE - Ensures safe compare event triggering
  2360. #ifndef NRFX_RTC_DEFAULT_CONFIG_RELIABLE
  2361. #define NRFX_RTC_DEFAULT_CONFIG_RELIABLE 0
  2362. #endif
  2363. // <o> NRFX_RTC_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority
  2364. // <0=> 0 (highest)
  2365. // <1=> 1
  2366. // <2=> 2
  2367. // <3=> 3
  2368. // <4=> 4
  2369. // <5=> 5
  2370. // <6=> 6
  2371. // <7=> 7
  2372. #ifndef NRFX_RTC_DEFAULT_CONFIG_IRQ_PRIORITY
  2373. #define NRFX_RTC_DEFAULT_CONFIG_IRQ_PRIORITY 6
  2374. #endif
  2375. // <e> NRFX_RTC_CONFIG_LOG_ENABLED - Enables logging in the module.
  2376. //==========================================================
  2377. #ifndef NRFX_RTC_CONFIG_LOG_ENABLED
  2378. #define NRFX_RTC_CONFIG_LOG_ENABLED 0
  2379. #endif
  2380. // <o> NRFX_RTC_CONFIG_LOG_LEVEL - Default Severity level
  2381. // <0=> Off
  2382. // <1=> Error
  2383. // <2=> Warning
  2384. // <3=> Info
  2385. // <4=> Debug
  2386. #ifndef NRFX_RTC_CONFIG_LOG_LEVEL
  2387. #define NRFX_RTC_CONFIG_LOG_LEVEL 3
  2388. #endif
  2389. // <o> NRFX_RTC_CONFIG_INFO_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 NRFX_RTC_CONFIG_INFO_COLOR
  2400. #define NRFX_RTC_CONFIG_INFO_COLOR 0
  2401. #endif
  2402. // <o> NRFX_RTC_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  2403. // <0=> Default
  2404. // <1=> Black
  2405. // <2=> Red
  2406. // <3=> Green
  2407. // <4=> Yellow
  2408. // <5=> Blue
  2409. // <6=> Magenta
  2410. // <7=> Cyan
  2411. // <8=> White
  2412. #ifndef NRFX_RTC_CONFIG_DEBUG_COLOR
  2413. #define NRFX_RTC_CONFIG_DEBUG_COLOR 0
  2414. #endif
  2415. // </e>
  2416. // </e>
  2417. // <e> NRFX_SAADC_ENABLED - nrfx_saadc - SAADC peripheral driver
  2418. //==========================================================
  2419. #ifndef NRFX_SAADC_ENABLED
  2420. #define NRFX_SAADC_ENABLED 0
  2421. #endif
  2422. // <o> NRFX_SAADC_CONFIG_RESOLUTION - Resolution
  2423. // <0=> 8 bit
  2424. // <1=> 10 bit
  2425. // <2=> 12 bit
  2426. // <3=> 14 bit
  2427. #ifndef NRFX_SAADC_CONFIG_RESOLUTION
  2428. #define NRFX_SAADC_CONFIG_RESOLUTION 1
  2429. #endif
  2430. // <o> NRFX_SAADC_CONFIG_OVERSAMPLE - Sample period
  2431. // <0=> Disabled
  2432. // <1=> 2x
  2433. // <2=> 4x
  2434. // <3=> 8x
  2435. // <4=> 16x
  2436. // <5=> 32x
  2437. // <6=> 64x
  2438. // <7=> 128x
  2439. // <8=> 256x
  2440. #ifndef NRFX_SAADC_CONFIG_OVERSAMPLE
  2441. #define NRFX_SAADC_CONFIG_OVERSAMPLE 0
  2442. #endif
  2443. // <q> NRFX_SAADC_CONFIG_LP_MODE - Enabling low power mode
  2444. #ifndef NRFX_SAADC_CONFIG_LP_MODE
  2445. #define NRFX_SAADC_CONFIG_LP_MODE 0
  2446. #endif
  2447. // <o> NRFX_SAADC_CONFIG_IRQ_PRIORITY - Interrupt priority
  2448. // <0=> 0 (highest)
  2449. // <1=> 1
  2450. // <2=> 2
  2451. // <3=> 3
  2452. // <4=> 4
  2453. // <5=> 5
  2454. // <6=> 6
  2455. // <7=> 7
  2456. #ifndef NRFX_SAADC_CONFIG_IRQ_PRIORITY
  2457. #define NRFX_SAADC_CONFIG_IRQ_PRIORITY 6
  2458. #endif
  2459. // <e> NRFX_SAADC_CONFIG_LOG_ENABLED - Enables logging in the module.
  2460. //==========================================================
  2461. #ifndef NRFX_SAADC_CONFIG_LOG_ENABLED
  2462. #define NRFX_SAADC_CONFIG_LOG_ENABLED 0
  2463. #endif
  2464. // <o> NRFX_SAADC_CONFIG_LOG_LEVEL - Default Severity level
  2465. // <0=> Off
  2466. // <1=> Error
  2467. // <2=> Warning
  2468. // <3=> Info
  2469. // <4=> Debug
  2470. #ifndef NRFX_SAADC_CONFIG_LOG_LEVEL
  2471. #define NRFX_SAADC_CONFIG_LOG_LEVEL 3
  2472. #endif
  2473. // <o> NRFX_SAADC_CONFIG_INFO_COLOR - ANSI escape code prefix.
  2474. // <0=> Default
  2475. // <1=> Black
  2476. // <2=> Red
  2477. // <3=> Green
  2478. // <4=> Yellow
  2479. // <5=> Blue
  2480. // <6=> Magenta
  2481. // <7=> Cyan
  2482. // <8=> White
  2483. #ifndef NRFX_SAADC_CONFIG_INFO_COLOR
  2484. #define NRFX_SAADC_CONFIG_INFO_COLOR 0
  2485. #endif
  2486. // <o> NRFX_SAADC_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  2487. // <0=> Default
  2488. // <1=> Black
  2489. // <2=> Red
  2490. // <3=> Green
  2491. // <4=> Yellow
  2492. // <5=> Blue
  2493. // <6=> Magenta
  2494. // <7=> Cyan
  2495. // <8=> White
  2496. #ifndef NRFX_SAADC_CONFIG_DEBUG_COLOR
  2497. #define NRFX_SAADC_CONFIG_DEBUG_COLOR 0
  2498. #endif
  2499. // </e>
  2500. // </e>
  2501. // <e> NRFX_SPIM_ENABLED - nrfx_spim - SPIM peripheral driver
  2502. //==========================================================
  2503. #ifndef NRFX_SPIM_ENABLED
  2504. #define NRFX_SPIM_ENABLED 0
  2505. #endif
  2506. // <q> NRFX_SPIM0_ENABLED - Enable SPIM0 instance
  2507. #ifndef NRFX_SPIM0_ENABLED
  2508. #define NRFX_SPIM0_ENABLED 0
  2509. #endif
  2510. // <q> NRFX_SPIM1_ENABLED - Enable SPIM1 instance
  2511. #ifndef NRFX_SPIM1_ENABLED
  2512. #define NRFX_SPIM1_ENABLED 0
  2513. #endif
  2514. // <q> NRFX_SPIM2_ENABLED - Enable SPIM2 instance
  2515. #ifndef NRFX_SPIM2_ENABLED
  2516. #define NRFX_SPIM2_ENABLED 0
  2517. #endif
  2518. // <q> NRFX_SPIM3_ENABLED - Enable SPIM3 instance
  2519. #ifndef NRFX_SPIM3_ENABLED
  2520. #define NRFX_SPIM3_ENABLED 0
  2521. #endif
  2522. // <q> NRFX_SPIM_EXTENDED_ENABLED - Enable extended SPIM features
  2523. #ifndef NRFX_SPIM_EXTENDED_ENABLED
  2524. #define NRFX_SPIM_EXTENDED_ENABLED 0
  2525. #endif
  2526. // <o> NRFX_SPIM_MISO_PULL_CFG - MISO pin pull configuration.
  2527. // <0=> NRF_GPIO_PIN_NOPULL
  2528. // <1=> NRF_GPIO_PIN_PULLDOWN
  2529. // <3=> NRF_GPIO_PIN_PULLUP
  2530. #ifndef NRFX_SPIM_MISO_PULL_CFG
  2531. #define NRFX_SPIM_MISO_PULL_CFG 1
  2532. #endif
  2533. // <o> NRFX_SPIM_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority
  2534. // <0=> 0 (highest)
  2535. // <1=> 1
  2536. // <2=> 2
  2537. // <3=> 3
  2538. // <4=> 4
  2539. // <5=> 5
  2540. // <6=> 6
  2541. // <7=> 7
  2542. #ifndef NRFX_SPIM_DEFAULT_CONFIG_IRQ_PRIORITY
  2543. #define NRFX_SPIM_DEFAULT_CONFIG_IRQ_PRIORITY 6
  2544. #endif
  2545. // <e> NRFX_SPIM_CONFIG_LOG_ENABLED - Enables logging in the module.
  2546. //==========================================================
  2547. #ifndef NRFX_SPIM_CONFIG_LOG_ENABLED
  2548. #define NRFX_SPIM_CONFIG_LOG_ENABLED 0
  2549. #endif
  2550. // <o> NRFX_SPIM_CONFIG_LOG_LEVEL - Default Severity level
  2551. // <0=> Off
  2552. // <1=> Error
  2553. // <2=> Warning
  2554. // <3=> Info
  2555. // <4=> Debug
  2556. #ifndef NRFX_SPIM_CONFIG_LOG_LEVEL
  2557. #define NRFX_SPIM_CONFIG_LOG_LEVEL 3
  2558. #endif
  2559. // <o> NRFX_SPIM_CONFIG_INFO_COLOR - ANSI escape code prefix.
  2560. // <0=> Default
  2561. // <1=> Black
  2562. // <2=> Red
  2563. // <3=> Green
  2564. // <4=> Yellow
  2565. // <5=> Blue
  2566. // <6=> Magenta
  2567. // <7=> Cyan
  2568. // <8=> White
  2569. #ifndef NRFX_SPIM_CONFIG_INFO_COLOR
  2570. #define NRFX_SPIM_CONFIG_INFO_COLOR 0
  2571. #endif
  2572. // <o> NRFX_SPIM_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  2573. // <0=> Default
  2574. // <1=> Black
  2575. // <2=> Red
  2576. // <3=> Green
  2577. // <4=> Yellow
  2578. // <5=> Blue
  2579. // <6=> Magenta
  2580. // <7=> Cyan
  2581. // <8=> White
  2582. #ifndef NRFX_SPIM_CONFIG_DEBUG_COLOR
  2583. #define NRFX_SPIM_CONFIG_DEBUG_COLOR 0
  2584. #endif
  2585. // </e>
  2586. // </e>
  2587. // <e> NRFX_SPIS_ENABLED - nrfx_spis - SPIS peripheral driver
  2588. //==========================================================
  2589. #ifndef NRFX_SPIS_ENABLED
  2590. #define NRFX_SPIS_ENABLED 0
  2591. #endif
  2592. // <q> NRFX_SPIS0_ENABLED - Enable SPIS0 instance
  2593. #ifndef NRFX_SPIS0_ENABLED
  2594. #define NRFX_SPIS0_ENABLED 0
  2595. #endif
  2596. // <q> NRFX_SPIS1_ENABLED - Enable SPIS1 instance
  2597. #ifndef NRFX_SPIS1_ENABLED
  2598. #define NRFX_SPIS1_ENABLED 0
  2599. #endif
  2600. // <q> NRFX_SPIS2_ENABLED - Enable SPIS2 instance
  2601. #ifndef NRFX_SPIS2_ENABLED
  2602. #define NRFX_SPIS2_ENABLED 0
  2603. #endif
  2604. // <o> NRFX_SPIS_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority
  2605. // <0=> 0 (highest)
  2606. // <1=> 1
  2607. // <2=> 2
  2608. // <3=> 3
  2609. // <4=> 4
  2610. // <5=> 5
  2611. // <6=> 6
  2612. // <7=> 7
  2613. #ifndef NRFX_SPIS_DEFAULT_CONFIG_IRQ_PRIORITY
  2614. #define NRFX_SPIS_DEFAULT_CONFIG_IRQ_PRIORITY 6
  2615. #endif
  2616. // <o> NRFX_SPIS_DEFAULT_DEF - SPIS default DEF character <0-255>
  2617. #ifndef NRFX_SPIS_DEFAULT_DEF
  2618. #define NRFX_SPIS_DEFAULT_DEF 255
  2619. #endif
  2620. // <o> NRFX_SPIS_DEFAULT_ORC - SPIS default ORC character <0-255>
  2621. #ifndef NRFX_SPIS_DEFAULT_ORC
  2622. #define NRFX_SPIS_DEFAULT_ORC 255
  2623. #endif
  2624. // <e> NRFX_SPIS_CONFIG_LOG_ENABLED - Enables logging in the module.
  2625. //==========================================================
  2626. #ifndef NRFX_SPIS_CONFIG_LOG_ENABLED
  2627. #define NRFX_SPIS_CONFIG_LOG_ENABLED 0
  2628. #endif
  2629. // <o> NRFX_SPIS_CONFIG_LOG_LEVEL - Default Severity level
  2630. // <0=> Off
  2631. // <1=> Error
  2632. // <2=> Warning
  2633. // <3=> Info
  2634. // <4=> Debug
  2635. #ifndef NRFX_SPIS_CONFIG_LOG_LEVEL
  2636. #define NRFX_SPIS_CONFIG_LOG_LEVEL 3
  2637. #endif
  2638. // <o> NRFX_SPIS_CONFIG_INFO_COLOR - ANSI escape code prefix.
  2639. // <0=> Default
  2640. // <1=> Black
  2641. // <2=> Red
  2642. // <3=> Green
  2643. // <4=> Yellow
  2644. // <5=> Blue
  2645. // <6=> Magenta
  2646. // <7=> Cyan
  2647. // <8=> White
  2648. #ifndef NRFX_SPIS_CONFIG_INFO_COLOR
  2649. #define NRFX_SPIS_CONFIG_INFO_COLOR 0
  2650. #endif
  2651. // <o> NRFX_SPIS_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  2652. // <0=> Default
  2653. // <1=> Black
  2654. // <2=> Red
  2655. // <3=> Green
  2656. // <4=> Yellow
  2657. // <5=> Blue
  2658. // <6=> Magenta
  2659. // <7=> Cyan
  2660. // <8=> White
  2661. #ifndef NRFX_SPIS_CONFIG_DEBUG_COLOR
  2662. #define NRFX_SPIS_CONFIG_DEBUG_COLOR 0
  2663. #endif
  2664. // </e>
  2665. // </e>
  2666. // <e> NRFX_SPI_ENABLED - nrfx_spi - SPI peripheral driver
  2667. //==========================================================
  2668. #ifndef NRFX_SPI_ENABLED
  2669. #define NRFX_SPI_ENABLED 0
  2670. #endif
  2671. // <q> NRFX_SPI0_ENABLED - Enable SPI0 instance
  2672. #ifndef NRFX_SPI0_ENABLED
  2673. #define NRFX_SPI0_ENABLED 0
  2674. #endif
  2675. // <q> NRFX_SPI1_ENABLED - Enable SPI1 instance
  2676. #ifndef NRFX_SPI1_ENABLED
  2677. #define NRFX_SPI1_ENABLED 0
  2678. #endif
  2679. // <q> NRFX_SPI2_ENABLED - Enable SPI2 instance
  2680. #ifndef NRFX_SPI2_ENABLED
  2681. #define NRFX_SPI2_ENABLED 0
  2682. #endif
  2683. // <o> NRFX_SPI_MISO_PULL_CFG - MISO pin pull configuration.
  2684. // <0=> NRF_GPIO_PIN_NOPULL
  2685. // <1=> NRF_GPIO_PIN_PULLDOWN
  2686. // <3=> NRF_GPIO_PIN_PULLUP
  2687. #ifndef NRFX_SPI_MISO_PULL_CFG
  2688. #define NRFX_SPI_MISO_PULL_CFG 1
  2689. #endif
  2690. // <o> NRFX_SPI_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority
  2691. // <0=> 0 (highest)
  2692. // <1=> 1
  2693. // <2=> 2
  2694. // <3=> 3
  2695. // <4=> 4
  2696. // <5=> 5
  2697. // <6=> 6
  2698. // <7=> 7
  2699. #ifndef NRFX_SPI_DEFAULT_CONFIG_IRQ_PRIORITY
  2700. #define NRFX_SPI_DEFAULT_CONFIG_IRQ_PRIORITY 6
  2701. #endif
  2702. // <e> NRFX_SPI_CONFIG_LOG_ENABLED - Enables logging in the module.
  2703. //==========================================================
  2704. #ifndef NRFX_SPI_CONFIG_LOG_ENABLED
  2705. #define NRFX_SPI_CONFIG_LOG_ENABLED 0
  2706. #endif
  2707. // <o> NRFX_SPI_CONFIG_LOG_LEVEL - Default Severity level
  2708. // <0=> Off
  2709. // <1=> Error
  2710. // <2=> Warning
  2711. // <3=> Info
  2712. // <4=> Debug
  2713. #ifndef NRFX_SPI_CONFIG_LOG_LEVEL
  2714. #define NRFX_SPI_CONFIG_LOG_LEVEL 3
  2715. #endif
  2716. // <o> NRFX_SPI_CONFIG_INFO_COLOR - ANSI escape code prefix.
  2717. // <0=> Default
  2718. // <1=> Black
  2719. // <2=> Red
  2720. // <3=> Green
  2721. // <4=> Yellow
  2722. // <5=> Blue
  2723. // <6=> Magenta
  2724. // <7=> Cyan
  2725. // <8=> White
  2726. #ifndef NRFX_SPI_CONFIG_INFO_COLOR
  2727. #define NRFX_SPI_CONFIG_INFO_COLOR 0
  2728. #endif
  2729. // <o> NRFX_SPI_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  2730. // <0=> Default
  2731. // <1=> Black
  2732. // <2=> Red
  2733. // <3=> Green
  2734. // <4=> Yellow
  2735. // <5=> Blue
  2736. // <6=> Magenta
  2737. // <7=> Cyan
  2738. // <8=> White
  2739. #ifndef NRFX_SPI_CONFIG_DEBUG_COLOR
  2740. #define NRFX_SPI_CONFIG_DEBUG_COLOR 0
  2741. #endif
  2742. // </e>
  2743. // </e>
  2744. // <e> NRFX_SWI_ENABLED - nrfx_swi - SWI/EGU peripheral allocator
  2745. //==========================================================
  2746. #ifndef NRFX_SWI_ENABLED
  2747. #define NRFX_SWI_ENABLED 0
  2748. #endif
  2749. // <q> NRFX_EGU_ENABLED - Enable EGU support
  2750. #ifndef NRFX_EGU_ENABLED
  2751. #define NRFX_EGU_ENABLED 0
  2752. #endif
  2753. // <q> NRFX_SWI0_DISABLED - Exclude SWI0 from being utilized by the driver
  2754. #ifndef NRFX_SWI0_DISABLED
  2755. #define NRFX_SWI0_DISABLED 0
  2756. #endif
  2757. // <q> NRFX_SWI1_DISABLED - Exclude SWI1 from being utilized by the driver
  2758. #ifndef NRFX_SWI1_DISABLED
  2759. #define NRFX_SWI1_DISABLED 0
  2760. #endif
  2761. // <q> NRFX_SWI2_DISABLED - Exclude SWI2 from being utilized by the driver
  2762. #ifndef NRFX_SWI2_DISABLED
  2763. #define NRFX_SWI2_DISABLED 0
  2764. #endif
  2765. // <q> NRFX_SWI3_DISABLED - Exclude SWI3 from being utilized by the driver
  2766. #ifndef NRFX_SWI3_DISABLED
  2767. #define NRFX_SWI3_DISABLED 0
  2768. #endif
  2769. // <q> NRFX_SWI4_DISABLED - Exclude SWI4 from being utilized by the driver
  2770. #ifndef NRFX_SWI4_DISABLED
  2771. #define NRFX_SWI4_DISABLED 0
  2772. #endif
  2773. // <q> NRFX_SWI5_DISABLED - Exclude SWI5 from being utilized by the driver
  2774. #ifndef NRFX_SWI5_DISABLED
  2775. #define NRFX_SWI5_DISABLED 0
  2776. #endif
  2777. // <e> NRFX_SWI_CONFIG_LOG_ENABLED - Enables logging in the module.
  2778. //==========================================================
  2779. #ifndef NRFX_SWI_CONFIG_LOG_ENABLED
  2780. #define NRFX_SWI_CONFIG_LOG_ENABLED 0
  2781. #endif
  2782. // <o> NRFX_SWI_CONFIG_LOG_LEVEL - Default Severity level
  2783. // <0=> Off
  2784. // <1=> Error
  2785. // <2=> Warning
  2786. // <3=> Info
  2787. // <4=> Debug
  2788. #ifndef NRFX_SWI_CONFIG_LOG_LEVEL
  2789. #define NRFX_SWI_CONFIG_LOG_LEVEL 3
  2790. #endif
  2791. // <o> NRFX_SWI_CONFIG_INFO_COLOR - ANSI escape code prefix.
  2792. // <0=> Default
  2793. // <1=> Black
  2794. // <2=> Red
  2795. // <3=> Green
  2796. // <4=> Yellow
  2797. // <5=> Blue
  2798. // <6=> Magenta
  2799. // <7=> Cyan
  2800. // <8=> White
  2801. #ifndef NRFX_SWI_CONFIG_INFO_COLOR
  2802. #define NRFX_SWI_CONFIG_INFO_COLOR 0
  2803. #endif
  2804. // <o> NRFX_SWI_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  2805. // <0=> Default
  2806. // <1=> Black
  2807. // <2=> Red
  2808. // <3=> Green
  2809. // <4=> Yellow
  2810. // <5=> Blue
  2811. // <6=> Magenta
  2812. // <7=> Cyan
  2813. // <8=> White
  2814. #ifndef NRFX_SWI_CONFIG_DEBUG_COLOR
  2815. #define NRFX_SWI_CONFIG_DEBUG_COLOR 0
  2816. #endif
  2817. // </e>
  2818. // </e>
  2819. // <e> NRFX_TIMER_ENABLED - nrfx_timer - TIMER periperal driver
  2820. //==========================================================
  2821. #ifndef NRFX_TIMER_ENABLED
  2822. #define NRFX_TIMER_ENABLED 0
  2823. #endif
  2824. // <q> NRFX_TIMER0_ENABLED - Enable TIMER0 instance
  2825. #ifndef NRFX_TIMER0_ENABLED
  2826. #define NRFX_TIMER0_ENABLED 0
  2827. #endif
  2828. // <q> NRFX_TIMER1_ENABLED - Enable TIMER1 instance
  2829. #ifndef NRFX_TIMER1_ENABLED
  2830. #define NRFX_TIMER1_ENABLED 0
  2831. #endif
  2832. // <q> NRFX_TIMER2_ENABLED - Enable TIMER2 instance
  2833. #ifndef NRFX_TIMER2_ENABLED
  2834. #define NRFX_TIMER2_ENABLED 0
  2835. #endif
  2836. // <q> NRFX_TIMER3_ENABLED - Enable TIMER3 instance
  2837. #ifndef NRFX_TIMER3_ENABLED
  2838. #define NRFX_TIMER3_ENABLED 0
  2839. #endif
  2840. // <q> NRFX_TIMER4_ENABLED - Enable TIMER4 instance
  2841. #ifndef NRFX_TIMER4_ENABLED
  2842. #define NRFX_TIMER4_ENABLED 0
  2843. #endif
  2844. // <o> NRFX_TIMER_DEFAULT_CONFIG_FREQUENCY - Timer frequency if in Timer mode
  2845. // <0=> 16 MHz
  2846. // <1=> 8 MHz
  2847. // <2=> 4 MHz
  2848. // <3=> 2 MHz
  2849. // <4=> 1 MHz
  2850. // <5=> 500 kHz
  2851. // <6=> 250 kHz
  2852. // <7=> 125 kHz
  2853. // <8=> 62.5 kHz
  2854. // <9=> 31.25 kHz
  2855. #ifndef NRFX_TIMER_DEFAULT_CONFIG_FREQUENCY
  2856. #define NRFX_TIMER_DEFAULT_CONFIG_FREQUENCY 0
  2857. #endif
  2858. // <o> NRFX_TIMER_DEFAULT_CONFIG_MODE - Timer mode or operation
  2859. // <0=> Timer
  2860. // <1=> Counter
  2861. #ifndef NRFX_TIMER_DEFAULT_CONFIG_MODE
  2862. #define NRFX_TIMER_DEFAULT_CONFIG_MODE 0
  2863. #endif
  2864. // <o> NRFX_TIMER_DEFAULT_CONFIG_BIT_WIDTH - Timer counter bit width
  2865. // <0=> 16 bit
  2866. // <1=> 8 bit
  2867. // <2=> 24 bit
  2868. // <3=> 32 bit
  2869. #ifndef NRFX_TIMER_DEFAULT_CONFIG_BIT_WIDTH
  2870. #define NRFX_TIMER_DEFAULT_CONFIG_BIT_WIDTH 0
  2871. #endif
  2872. // <o> NRFX_TIMER_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority
  2873. // <0=> 0 (highest)
  2874. // <1=> 1
  2875. // <2=> 2
  2876. // <3=> 3
  2877. // <4=> 4
  2878. // <5=> 5
  2879. // <6=> 6
  2880. // <7=> 7
  2881. #ifndef NRFX_TIMER_DEFAULT_CONFIG_IRQ_PRIORITY
  2882. #define NRFX_TIMER_DEFAULT_CONFIG_IRQ_PRIORITY 6
  2883. #endif
  2884. // <e> NRFX_TIMER_CONFIG_LOG_ENABLED - Enables logging in the module.
  2885. //==========================================================
  2886. #ifndef NRFX_TIMER_CONFIG_LOG_ENABLED
  2887. #define NRFX_TIMER_CONFIG_LOG_ENABLED 0
  2888. #endif
  2889. // <o> NRFX_TIMER_CONFIG_LOG_LEVEL - Default Severity level
  2890. // <0=> Off
  2891. // <1=> Error
  2892. // <2=> Warning
  2893. // <3=> Info
  2894. // <4=> Debug
  2895. #ifndef NRFX_TIMER_CONFIG_LOG_LEVEL
  2896. #define NRFX_TIMER_CONFIG_LOG_LEVEL 3
  2897. #endif
  2898. // <o> NRFX_TIMER_CONFIG_INFO_COLOR - ANSI escape code prefix.
  2899. // <0=> Default
  2900. // <1=> Black
  2901. // <2=> Red
  2902. // <3=> Green
  2903. // <4=> Yellow
  2904. // <5=> Blue
  2905. // <6=> Magenta
  2906. // <7=> Cyan
  2907. // <8=> White
  2908. #ifndef NRFX_TIMER_CONFIG_INFO_COLOR
  2909. #define NRFX_TIMER_CONFIG_INFO_COLOR 0
  2910. #endif
  2911. // <o> NRFX_TIMER_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  2912. // <0=> Default
  2913. // <1=> Black
  2914. // <2=> Red
  2915. // <3=> Green
  2916. // <4=> Yellow
  2917. // <5=> Blue
  2918. // <6=> Magenta
  2919. // <7=> Cyan
  2920. // <8=> White
  2921. #ifndef NRFX_TIMER_CONFIG_DEBUG_COLOR
  2922. #define NRFX_TIMER_CONFIG_DEBUG_COLOR 0
  2923. #endif
  2924. // </e>
  2925. // </e>
  2926. // <e> NRFX_TWIM_ENABLED - nrfx_twim - TWIM peripheral driver
  2927. //==========================================================
  2928. #ifndef NRFX_TWIM_ENABLED
  2929. #define NRFX_TWIM_ENABLED 0
  2930. #endif
  2931. // <q> NRFX_TWIM0_ENABLED - Enable TWIM0 instance
  2932. #ifndef NRFX_TWIM0_ENABLED
  2933. #define NRFX_TWIM0_ENABLED 0
  2934. #endif
  2935. // <q> NRFX_TWIM1_ENABLED - Enable TWIM1 instance
  2936. #ifndef NRFX_TWIM1_ENABLED
  2937. #define NRFX_TWIM1_ENABLED 0
  2938. #endif
  2939. // <o> NRFX_TWIM_DEFAULT_CONFIG_FREQUENCY - Frequency
  2940. // <26738688=> 100k
  2941. // <67108864=> 250k
  2942. // <104857600=> 400k
  2943. #ifndef NRFX_TWIM_DEFAULT_CONFIG_FREQUENCY
  2944. #define NRFX_TWIM_DEFAULT_CONFIG_FREQUENCY 26738688
  2945. #endif
  2946. // <q> NRFX_TWIM_DEFAULT_CONFIG_HOLD_BUS_UNINIT - Enables bus holding after uninit
  2947. #ifndef NRFX_TWIM_DEFAULT_CONFIG_HOLD_BUS_UNINIT
  2948. #define NRFX_TWIM_DEFAULT_CONFIG_HOLD_BUS_UNINIT 0
  2949. #endif
  2950. // <o> NRFX_TWIM_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority
  2951. // <0=> 0 (highest)
  2952. // <1=> 1
  2953. // <2=> 2
  2954. // <3=> 3
  2955. // <4=> 4
  2956. // <5=> 5
  2957. // <6=> 6
  2958. // <7=> 7
  2959. #ifndef NRFX_TWIM_DEFAULT_CONFIG_IRQ_PRIORITY
  2960. #define NRFX_TWIM_DEFAULT_CONFIG_IRQ_PRIORITY 6
  2961. #endif
  2962. // <e> NRFX_TWIM_CONFIG_LOG_ENABLED - Enables logging in the module.
  2963. //==========================================================
  2964. #ifndef NRFX_TWIM_CONFIG_LOG_ENABLED
  2965. #define NRFX_TWIM_CONFIG_LOG_ENABLED 0
  2966. #endif
  2967. // <o> NRFX_TWIM_CONFIG_LOG_LEVEL - Default Severity level
  2968. // <0=> Off
  2969. // <1=> Error
  2970. // <2=> Warning
  2971. // <3=> Info
  2972. // <4=> Debug
  2973. #ifndef NRFX_TWIM_CONFIG_LOG_LEVEL
  2974. #define NRFX_TWIM_CONFIG_LOG_LEVEL 3
  2975. #endif
  2976. // <o> NRFX_TWIM_CONFIG_INFO_COLOR - ANSI escape code prefix.
  2977. // <0=> Default
  2978. // <1=> Black
  2979. // <2=> Red
  2980. // <3=> Green
  2981. // <4=> Yellow
  2982. // <5=> Blue
  2983. // <6=> Magenta
  2984. // <7=> Cyan
  2985. // <8=> White
  2986. #ifndef NRFX_TWIM_CONFIG_INFO_COLOR
  2987. #define NRFX_TWIM_CONFIG_INFO_COLOR 0
  2988. #endif
  2989. // <o> NRFX_TWIM_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  2990. // <0=> Default
  2991. // <1=> Black
  2992. // <2=> Red
  2993. // <3=> Green
  2994. // <4=> Yellow
  2995. // <5=> Blue
  2996. // <6=> Magenta
  2997. // <7=> Cyan
  2998. // <8=> White
  2999. #ifndef NRFX_TWIM_CONFIG_DEBUG_COLOR
  3000. #define NRFX_TWIM_CONFIG_DEBUG_COLOR 0
  3001. #endif
  3002. // </e>
  3003. // </e>
  3004. // <e> NRFX_TWIS_ENABLED - nrfx_twis - TWIS peripheral driver
  3005. //==========================================================
  3006. #ifndef NRFX_TWIS_ENABLED
  3007. #define NRFX_TWIS_ENABLED 0
  3008. #endif
  3009. // <q> NRFX_TWIS0_ENABLED - Enable TWIS0 instance
  3010. #ifndef NRFX_TWIS0_ENABLED
  3011. #define NRFX_TWIS0_ENABLED 0
  3012. #endif
  3013. // <q> NRFX_TWIS1_ENABLED - Enable TWIS1 instance
  3014. #ifndef NRFX_TWIS1_ENABLED
  3015. #define NRFX_TWIS1_ENABLED 0
  3016. #endif
  3017. // <q> NRFX_TWIS_ASSUME_INIT_AFTER_RESET_ONLY - Assume that any instance would be initialized only once
  3018. // <i> Optimization flag. Registers used by TWIS are shared by other peripherals. Normally, during initialization driver tries to clear all registers to known state before doing the initialization itself. This gives initialization safe procedure, no matter when it would be called. If you activate TWIS only once and do never uninitialize it - set this flag to 1 what gives more optimal code.
  3019. #ifndef NRFX_TWIS_ASSUME_INIT_AFTER_RESET_ONLY
  3020. #define NRFX_TWIS_ASSUME_INIT_AFTER_RESET_ONLY 0
  3021. #endif
  3022. // <q> NRFX_TWIS_NO_SYNC_MODE - Remove support for synchronous mode
  3023. // <i> Synchronous mode would be used in specific situations. And it uses some additional code and data memory to safely process state machine by polling it in status functions. If this functionality is not required it may be disabled to free some resources.
  3024. #ifndef NRFX_TWIS_NO_SYNC_MODE
  3025. #define NRFX_TWIS_NO_SYNC_MODE 0
  3026. #endif
  3027. // <o> NRFX_TWIS_DEFAULT_CONFIG_ADDR0 - Address0
  3028. #ifndef NRFX_TWIS_DEFAULT_CONFIG_ADDR0
  3029. #define NRFX_TWIS_DEFAULT_CONFIG_ADDR0 0
  3030. #endif
  3031. // <o> NRFX_TWIS_DEFAULT_CONFIG_ADDR1 - Address1
  3032. #ifndef NRFX_TWIS_DEFAULT_CONFIG_ADDR1
  3033. #define NRFX_TWIS_DEFAULT_CONFIG_ADDR1 0
  3034. #endif
  3035. // <o> NRFX_TWIS_DEFAULT_CONFIG_SCL_PULL - SCL pin pull configuration
  3036. // <0=> Disabled
  3037. // <1=> Pull down
  3038. // <3=> Pull up
  3039. #ifndef NRFX_TWIS_DEFAULT_CONFIG_SCL_PULL
  3040. #define NRFX_TWIS_DEFAULT_CONFIG_SCL_PULL 0
  3041. #endif
  3042. // <o> NRFX_TWIS_DEFAULT_CONFIG_SDA_PULL - SDA pin pull configuration
  3043. // <0=> Disabled
  3044. // <1=> Pull down
  3045. // <3=> Pull up
  3046. #ifndef NRFX_TWIS_DEFAULT_CONFIG_SDA_PULL
  3047. #define NRFX_TWIS_DEFAULT_CONFIG_SDA_PULL 0
  3048. #endif
  3049. // <o> NRFX_TWIS_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority
  3050. // <0=> 0 (highest)
  3051. // <1=> 1
  3052. // <2=> 2
  3053. // <3=> 3
  3054. // <4=> 4
  3055. // <5=> 5
  3056. // <6=> 6
  3057. // <7=> 7
  3058. #ifndef NRFX_TWIS_DEFAULT_CONFIG_IRQ_PRIORITY
  3059. #define NRFX_TWIS_DEFAULT_CONFIG_IRQ_PRIORITY 6
  3060. #endif
  3061. // <e> NRFX_TWIS_CONFIG_LOG_ENABLED - Enables logging in the module.
  3062. //==========================================================
  3063. #ifndef NRFX_TWIS_CONFIG_LOG_ENABLED
  3064. #define NRFX_TWIS_CONFIG_LOG_ENABLED 0
  3065. #endif
  3066. // <o> NRFX_TWIS_CONFIG_LOG_LEVEL - Default Severity level
  3067. // <0=> Off
  3068. // <1=> Error
  3069. // <2=> Warning
  3070. // <3=> Info
  3071. // <4=> Debug
  3072. #ifndef NRFX_TWIS_CONFIG_LOG_LEVEL
  3073. #define NRFX_TWIS_CONFIG_LOG_LEVEL 3
  3074. #endif
  3075. // <o> NRFX_TWIS_CONFIG_INFO_COLOR - ANSI escape code prefix.
  3076. // <0=> Default
  3077. // <1=> Black
  3078. // <2=> Red
  3079. // <3=> Green
  3080. // <4=> Yellow
  3081. // <5=> Blue
  3082. // <6=> Magenta
  3083. // <7=> Cyan
  3084. // <8=> White
  3085. #ifndef NRFX_TWIS_CONFIG_INFO_COLOR
  3086. #define NRFX_TWIS_CONFIG_INFO_COLOR 0
  3087. #endif
  3088. // <o> NRFX_TWIS_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  3089. // <0=> Default
  3090. // <1=> Black
  3091. // <2=> Red
  3092. // <3=> Green
  3093. // <4=> Yellow
  3094. // <5=> Blue
  3095. // <6=> Magenta
  3096. // <7=> Cyan
  3097. // <8=> White
  3098. #ifndef NRFX_TWIS_CONFIG_DEBUG_COLOR
  3099. #define NRFX_TWIS_CONFIG_DEBUG_COLOR 0
  3100. #endif
  3101. // </e>
  3102. // </e>
  3103. // <e> NRFX_TWI_ENABLED - nrfx_twi - TWI peripheral driver
  3104. //==========================================================
  3105. #ifndef NRFX_TWI_ENABLED
  3106. #define NRFX_TWI_ENABLED 0
  3107. #endif
  3108. // <q> NRFX_TWI0_ENABLED - Enable TWI0 instance
  3109. #ifndef NRFX_TWI0_ENABLED
  3110. #define NRFX_TWI0_ENABLED 0
  3111. #endif
  3112. // <q> NRFX_TWI1_ENABLED - Enable TWI1 instance
  3113. #ifndef NRFX_TWI1_ENABLED
  3114. #define NRFX_TWI1_ENABLED 0
  3115. #endif
  3116. // <o> NRFX_TWI_DEFAULT_CONFIG_FREQUENCY - Frequency
  3117. // <26738688=> 100k
  3118. // <67108864=> 250k
  3119. // <104857600=> 400k
  3120. #ifndef NRFX_TWI_DEFAULT_CONFIG_FREQUENCY
  3121. #define NRFX_TWI_DEFAULT_CONFIG_FREQUENCY 26738688
  3122. #endif
  3123. // <q> NRFX_TWI_DEFAULT_CONFIG_HOLD_BUS_UNINIT - Enables bus holding after uninit
  3124. #ifndef NRFX_TWI_DEFAULT_CONFIG_HOLD_BUS_UNINIT
  3125. #define NRFX_TWI_DEFAULT_CONFIG_HOLD_BUS_UNINIT 0
  3126. #endif
  3127. // <o> NRFX_TWI_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority
  3128. // <0=> 0 (highest)
  3129. // <1=> 1
  3130. // <2=> 2
  3131. // <3=> 3
  3132. // <4=> 4
  3133. // <5=> 5
  3134. // <6=> 6
  3135. // <7=> 7
  3136. #ifndef NRFX_TWI_DEFAULT_CONFIG_IRQ_PRIORITY
  3137. #define NRFX_TWI_DEFAULT_CONFIG_IRQ_PRIORITY 6
  3138. #endif
  3139. // <e> NRFX_TWI_CONFIG_LOG_ENABLED - Enables logging in the module.
  3140. //==========================================================
  3141. #ifndef NRFX_TWI_CONFIG_LOG_ENABLED
  3142. #define NRFX_TWI_CONFIG_LOG_ENABLED 0
  3143. #endif
  3144. // <o> NRFX_TWI_CONFIG_LOG_LEVEL - Default Severity level
  3145. // <0=> Off
  3146. // <1=> Error
  3147. // <2=> Warning
  3148. // <3=> Info
  3149. // <4=> Debug
  3150. #ifndef NRFX_TWI_CONFIG_LOG_LEVEL
  3151. #define NRFX_TWI_CONFIG_LOG_LEVEL 3
  3152. #endif
  3153. // <o> NRFX_TWI_CONFIG_INFO_COLOR - ANSI escape code prefix.
  3154. // <0=> Default
  3155. // <1=> Black
  3156. // <2=> Red
  3157. // <3=> Green
  3158. // <4=> Yellow
  3159. // <5=> Blue
  3160. // <6=> Magenta
  3161. // <7=> Cyan
  3162. // <8=> White
  3163. #ifndef NRFX_TWI_CONFIG_INFO_COLOR
  3164. #define NRFX_TWI_CONFIG_INFO_COLOR 0
  3165. #endif
  3166. // <o> NRFX_TWI_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  3167. // <0=> Default
  3168. // <1=> Black
  3169. // <2=> Red
  3170. // <3=> Green
  3171. // <4=> Yellow
  3172. // <5=> Blue
  3173. // <6=> Magenta
  3174. // <7=> Cyan
  3175. // <8=> White
  3176. #ifndef NRFX_TWI_CONFIG_DEBUG_COLOR
  3177. #define NRFX_TWI_CONFIG_DEBUG_COLOR 0
  3178. #endif
  3179. // </e>
  3180. // </e>
  3181. // <e> NRFX_UARTE_ENABLED - nrfx_uarte - UARTE peripheral driver
  3182. //==========================================================
  3183. #ifndef NRFX_UARTE_ENABLED
  3184. #define NRFX_UARTE_ENABLED 1
  3185. #endif
  3186. // <o> NRFX_UARTE0_ENABLED - Enable UARTE0 instance
  3187. #ifndef NRFX_UARTE0_ENABLED
  3188. #define NRFX_UARTE0_ENABLED 0
  3189. #endif
  3190. // <o> NRFX_UARTE1_ENABLED - Enable UARTE1 instance
  3191. #ifndef NRFX_UARTE1_ENABLED
  3192. #define NRFX_UARTE1_ENABLED 0
  3193. #endif
  3194. // <o> NRFX_UARTE_DEFAULT_CONFIG_HWFC - Hardware Flow Control
  3195. // <0=> Disabled
  3196. // <1=> Enabled
  3197. #ifndef NRFX_UARTE_DEFAULT_CONFIG_HWFC
  3198. #define NRFX_UARTE_DEFAULT_CONFIG_HWFC 0
  3199. #endif
  3200. // <o> NRFX_UARTE_DEFAULT_CONFIG_PARITY - Parity
  3201. // <0=> Excluded
  3202. // <14=> Included
  3203. #ifndef NRFX_UARTE_DEFAULT_CONFIG_PARITY
  3204. #define NRFX_UARTE_DEFAULT_CONFIG_PARITY 0
  3205. #endif
  3206. // <o> NRFX_UARTE_DEFAULT_CONFIG_BAUDRATE - Default Baudrate
  3207. // <323584=> 1200 baud
  3208. // <643072=> 2400 baud
  3209. // <1290240=> 4800 baud
  3210. // <2576384=> 9600 baud
  3211. // <3862528=> 14400 baud
  3212. // <5152768=> 19200 baud
  3213. // <7716864=> 28800 baud
  3214. // <8388608=> 31250 baud
  3215. // <10289152=> 38400 baud
  3216. // <15007744=> 56000 baud
  3217. // <15400960=> 57600 baud
  3218. // <20615168=> 76800 baud
  3219. // <30801920=> 115200 baud
  3220. // <61865984=> 230400 baud
  3221. // <67108864=> 250000 baud
  3222. // <121634816=> 460800 baud
  3223. // <251658240=> 921600 baud
  3224. // <268435456=> 1000000 baud
  3225. #ifndef NRFX_UARTE_DEFAULT_CONFIG_BAUDRATE
  3226. #define NRFX_UARTE_DEFAULT_CONFIG_BAUDRATE 30801920
  3227. #endif
  3228. // <o> NRFX_UARTE_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority
  3229. // <0=> 0 (highest)
  3230. // <1=> 1
  3231. // <2=> 2
  3232. // <3=> 3
  3233. // <4=> 4
  3234. // <5=> 5
  3235. // <6=> 6
  3236. // <7=> 7
  3237. #ifndef NRFX_UARTE_DEFAULT_CONFIG_IRQ_PRIORITY
  3238. #define NRFX_UARTE_DEFAULT_CONFIG_IRQ_PRIORITY 6
  3239. #endif
  3240. // <e> NRFX_UARTE_CONFIG_LOG_ENABLED - Enables logging in the module.
  3241. //==========================================================
  3242. #ifndef NRFX_UARTE_CONFIG_LOG_ENABLED
  3243. #define NRFX_UARTE_CONFIG_LOG_ENABLED 0
  3244. #endif
  3245. // <o> NRFX_UARTE_CONFIG_LOG_LEVEL - Default Severity level
  3246. // <0=> Off
  3247. // <1=> Error
  3248. // <2=> Warning
  3249. // <3=> Info
  3250. // <4=> Debug
  3251. #ifndef NRFX_UARTE_CONFIG_LOG_LEVEL
  3252. #define NRFX_UARTE_CONFIG_LOG_LEVEL 3
  3253. #endif
  3254. // <o> NRFX_UARTE_CONFIG_INFO_COLOR - ANSI escape code prefix.
  3255. // <0=> Default
  3256. // <1=> Black
  3257. // <2=> Red
  3258. // <3=> Green
  3259. // <4=> Yellow
  3260. // <5=> Blue
  3261. // <6=> Magenta
  3262. // <7=> Cyan
  3263. // <8=> White
  3264. #ifndef NRFX_UARTE_CONFIG_INFO_COLOR
  3265. #define NRFX_UARTE_CONFIG_INFO_COLOR 0
  3266. #endif
  3267. // <o> NRFX_UARTE_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  3268. // <0=> Default
  3269. // <1=> Black
  3270. // <2=> Red
  3271. // <3=> Green
  3272. // <4=> Yellow
  3273. // <5=> Blue
  3274. // <6=> Magenta
  3275. // <7=> Cyan
  3276. // <8=> White
  3277. #ifndef NRFX_UARTE_CONFIG_DEBUG_COLOR
  3278. #define NRFX_UARTE_CONFIG_DEBUG_COLOR 0
  3279. #endif
  3280. // </e>
  3281. // </e>
  3282. // <e> NRFX_UART_ENABLED - nrfx_uart - UART peripheral driver
  3283. //==========================================================
  3284. #ifndef NRFX_UART_ENABLED
  3285. #define NRFX_UART_ENABLED 1
  3286. #endif
  3287. // <o> NRFX_UART0_ENABLED - Enable UART0 instance
  3288. #ifndef NRFX_UART0_ENABLED
  3289. #define NRFX_UART0_ENABLED 0
  3290. #endif
  3291. // <o> NRFX_UART_DEFAULT_CONFIG_HWFC - Hardware Flow Control
  3292. // <0=> Disabled
  3293. // <1=> Enabled
  3294. #ifndef NRFX_UART_DEFAULT_CONFIG_HWFC
  3295. #define NRFX_UART_DEFAULT_CONFIG_HWFC 0
  3296. #endif
  3297. // <o> NRFX_UART_DEFAULT_CONFIG_PARITY - Parity
  3298. // <0=> Excluded
  3299. // <14=> Included
  3300. #ifndef NRFX_UART_DEFAULT_CONFIG_PARITY
  3301. #define NRFX_UART_DEFAULT_CONFIG_PARITY 0
  3302. #endif
  3303. // <o> NRFX_UART_DEFAULT_CONFIG_BAUDRATE - Default Baudrate
  3304. // <323584=> 1200 baud
  3305. // <643072=> 2400 baud
  3306. // <1290240=> 4800 baud
  3307. // <2576384=> 9600 baud
  3308. // <3866624=> 14400 baud
  3309. // <5152768=> 19200 baud
  3310. // <7729152=> 28800 baud
  3311. // <8388608=> 31250 baud
  3312. // <10309632=> 38400 baud
  3313. // <15007744=> 56000 baud
  3314. // <15462400=> 57600 baud
  3315. // <20615168=> 76800 baud
  3316. // <30924800=> 115200 baud
  3317. // <61845504=> 230400 baud
  3318. // <67108864=> 250000 baud
  3319. // <123695104=> 460800 baud
  3320. // <247386112=> 921600 baud
  3321. // <268435456=> 1000000 baud
  3322. #ifndef NRFX_UART_DEFAULT_CONFIG_BAUDRATE
  3323. #define NRFX_UART_DEFAULT_CONFIG_BAUDRATE 30924800
  3324. #endif
  3325. // <o> NRFX_UART_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority
  3326. // <0=> 0 (highest)
  3327. // <1=> 1
  3328. // <2=> 2
  3329. // <3=> 3
  3330. // <4=> 4
  3331. // <5=> 5
  3332. // <6=> 6
  3333. // <7=> 7
  3334. #ifndef NRFX_UART_DEFAULT_CONFIG_IRQ_PRIORITY
  3335. #define NRFX_UART_DEFAULT_CONFIG_IRQ_PRIORITY 6
  3336. #endif
  3337. // <e> NRFX_UART_CONFIG_LOG_ENABLED - Enables logging in the module.
  3338. //==========================================================
  3339. #ifndef NRFX_UART_CONFIG_LOG_ENABLED
  3340. #define NRFX_UART_CONFIG_LOG_ENABLED 0
  3341. #endif
  3342. // <o> NRFX_UART_CONFIG_LOG_LEVEL - Default Severity level
  3343. // <0=> Off
  3344. // <1=> Error
  3345. // <2=> Warning
  3346. // <3=> Info
  3347. // <4=> Debug
  3348. #ifndef NRFX_UART_CONFIG_LOG_LEVEL
  3349. #define NRFX_UART_CONFIG_LOG_LEVEL 3
  3350. #endif
  3351. // <o> NRFX_UART_CONFIG_INFO_COLOR - ANSI escape code prefix.
  3352. // <0=> Default
  3353. // <1=> Black
  3354. // <2=> Red
  3355. // <3=> Green
  3356. // <4=> Yellow
  3357. // <5=> Blue
  3358. // <6=> Magenta
  3359. // <7=> Cyan
  3360. // <8=> White
  3361. #ifndef NRFX_UART_CONFIG_INFO_COLOR
  3362. #define NRFX_UART_CONFIG_INFO_COLOR 0
  3363. #endif
  3364. // <o> NRFX_UART_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  3365. // <0=> Default
  3366. // <1=> Black
  3367. // <2=> Red
  3368. // <3=> Green
  3369. // <4=> Yellow
  3370. // <5=> Blue
  3371. // <6=> Magenta
  3372. // <7=> Cyan
  3373. // <8=> White
  3374. #ifndef NRFX_UART_CONFIG_DEBUG_COLOR
  3375. #define NRFX_UART_CONFIG_DEBUG_COLOR 0
  3376. #endif
  3377. // </e>
  3378. // </e>
  3379. // <e> NRFX_USBD_ENABLED - nrfx_usbd - USBD peripheral driver
  3380. //==========================================================
  3381. #ifndef NRFX_USBD_ENABLED
  3382. #define NRFX_USBD_ENABLED 0
  3383. #endif
  3384. // <o> NRFX_USBD_CONFIG_IRQ_PRIORITY - Interrupt priority
  3385. // <0=> 0 (highest)
  3386. // <1=> 1
  3387. // <2=> 2
  3388. // <3=> 3
  3389. // <4=> 4
  3390. // <5=> 5
  3391. // <6=> 6
  3392. // <7=> 7
  3393. #ifndef NRFX_USBD_CONFIG_IRQ_PRIORITY
  3394. #define NRFX_USBD_CONFIG_IRQ_PRIORITY 6
  3395. #endif
  3396. // <o> NRFX_USBD_CONFIG_DMASCHEDULER_MODE - USBD DMA scheduler working scheme
  3397. // <0=> Prioritized access
  3398. // <1=> Round Robin
  3399. #ifndef NRFX_USBD_CONFIG_DMASCHEDULER_MODE
  3400. #define NRFX_USBD_CONFIG_DMASCHEDULER_MODE 0
  3401. #endif
  3402. // <q> NRFX_USBD_CONFIG_DMASCHEDULER_ISO_BOOST - Give priority to isochronous transfers
  3403. // <i> This option gives priority to isochronous transfers.
  3404. // <i> Enabling it assures that isochronous transfers are always processed,
  3405. // <i> even if multiple other transfers are pending.
  3406. // <i> Isochronous endpoints are prioritized before the usbd_dma_scheduler_algorithm
  3407. // <i> function is called, so the option is independent of the algorithm chosen.
  3408. #ifndef NRFX_USBD_CONFIG_DMASCHEDULER_ISO_BOOST
  3409. #define NRFX_USBD_CONFIG_DMASCHEDULER_ISO_BOOST 1
  3410. #endif
  3411. // <q> NRFX_USBD_CONFIG_ISO_IN_ZLP - Respond to an IN token on ISO IN endpoint with ZLP when no data is ready
  3412. // <i> If set, ISO IN endpoint will respond to an IN token with ZLP when no data is ready to be sent.
  3413. // <i> Else, there will be no response.
  3414. #ifndef NRFX_USBD_CONFIG_ISO_IN_ZLP
  3415. #define NRFX_USBD_CONFIG_ISO_IN_ZLP 0
  3416. #endif
  3417. // </e>
  3418. // <e> NRFX_WDT_ENABLED - nrfx_wdt - WDT peripheral driver
  3419. //==========================================================
  3420. #ifndef NRFX_WDT_ENABLED
  3421. #define NRFX_WDT_ENABLED 0
  3422. #endif
  3423. // <o> NRFX_WDT_CONFIG_BEHAVIOUR - WDT behavior in CPU SLEEP or HALT mode
  3424. // <1=> Run in SLEEP, Pause in HALT
  3425. // <8=> Pause in SLEEP, Run in HALT
  3426. // <9=> Run in SLEEP and HALT
  3427. // <0=> Pause in SLEEP and HALT
  3428. #ifndef NRFX_WDT_CONFIG_BEHAVIOUR
  3429. #define NRFX_WDT_CONFIG_BEHAVIOUR 1
  3430. #endif
  3431. // <o> NRFX_WDT_CONFIG_RELOAD_VALUE - Reload value in ms <1-131072000>
  3432. #ifndef NRFX_WDT_CONFIG_RELOAD_VALUE
  3433. #define NRFX_WDT_CONFIG_RELOAD_VALUE 2000
  3434. #endif
  3435. // <o> NRFX_WDT_CONFIG_NO_IRQ - Remove WDT IRQ handling from WDT driver
  3436. // <0=> Include WDT IRQ handling
  3437. // <1=> Remove WDT IRQ handling
  3438. #ifndef NRFX_WDT_CONFIG_NO_IRQ
  3439. #define NRFX_WDT_CONFIG_NO_IRQ 0
  3440. #endif
  3441. // <o> NRFX_WDT_CONFIG_IRQ_PRIORITY - Interrupt priority
  3442. // <0=> 0 (highest)
  3443. // <1=> 1
  3444. // <2=> 2
  3445. // <3=> 3
  3446. // <4=> 4
  3447. // <5=> 5
  3448. // <6=> 6
  3449. // <7=> 7
  3450. #ifndef NRFX_WDT_CONFIG_IRQ_PRIORITY
  3451. #define NRFX_WDT_CONFIG_IRQ_PRIORITY 6
  3452. #endif
  3453. // <e> NRFX_WDT_CONFIG_LOG_ENABLED - Enables logging in the module.
  3454. //==========================================================
  3455. #ifndef NRFX_WDT_CONFIG_LOG_ENABLED
  3456. #define NRFX_WDT_CONFIG_LOG_ENABLED 0
  3457. #endif
  3458. // <o> NRFX_WDT_CONFIG_LOG_LEVEL - Default Severity level
  3459. // <0=> Off
  3460. // <1=> Error
  3461. // <2=> Warning
  3462. // <3=> Info
  3463. // <4=> Debug
  3464. #ifndef NRFX_WDT_CONFIG_LOG_LEVEL
  3465. #define NRFX_WDT_CONFIG_LOG_LEVEL 3
  3466. #endif
  3467. // <o> NRFX_WDT_CONFIG_INFO_COLOR - ANSI escape code prefix.
  3468. // <0=> Default
  3469. // <1=> Black
  3470. // <2=> Red
  3471. // <3=> Green
  3472. // <4=> Yellow
  3473. // <5=> Blue
  3474. // <6=> Magenta
  3475. // <7=> Cyan
  3476. // <8=> White
  3477. #ifndef NRFX_WDT_CONFIG_INFO_COLOR
  3478. #define NRFX_WDT_CONFIG_INFO_COLOR 0
  3479. #endif
  3480. // <o> NRFX_WDT_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  3481. // <0=> Default
  3482. // <1=> Black
  3483. // <2=> Red
  3484. // <3=> Green
  3485. // <4=> Yellow
  3486. // <5=> Blue
  3487. // <6=> Magenta
  3488. // <7=> Cyan
  3489. // <8=> White
  3490. #ifndef NRFX_WDT_CONFIG_DEBUG_COLOR
  3491. #define NRFX_WDT_CONFIG_DEBUG_COLOR 0
  3492. #endif
  3493. // </e>
  3494. // </e>
  3495. // <e> NRF_CLOCK_ENABLED - nrf_drv_clock - CLOCK peripheral driver - legacy layer
  3496. //==========================================================
  3497. #ifndef NRF_CLOCK_ENABLED
  3498. #define NRF_CLOCK_ENABLED 1
  3499. #endif
  3500. // <o> CLOCK_CONFIG_LF_SRC - LF Clock Source
  3501. // <0=> RC
  3502. // <1=> XTAL
  3503. // <2=> Synth
  3504. // <131073=> External Low Swing
  3505. // <196609=> External Full Swing
  3506. #ifndef CLOCK_CONFIG_LF_SRC
  3507. #define CLOCK_CONFIG_LF_SRC 1
  3508. #endif
  3509. // <q> CLOCK_CONFIG_LF_CAL_ENABLED - Calibration enable for LF Clock Source
  3510. #ifndef CLOCK_CONFIG_LF_CAL_ENABLED
  3511. #define CLOCK_CONFIG_LF_CAL_ENABLED 0
  3512. #endif
  3513. // <o> CLOCK_CONFIG_IRQ_PRIORITY - Interrupt priority
  3514. // <i> Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice
  3515. // <0=> 0 (highest)
  3516. // <1=> 1
  3517. // <2=> 2
  3518. // <3=> 3
  3519. // <4=> 4
  3520. // <5=> 5
  3521. // <6=> 6
  3522. // <7=> 7
  3523. #ifndef CLOCK_CONFIG_IRQ_PRIORITY
  3524. #define CLOCK_CONFIG_IRQ_PRIORITY 6
  3525. #endif
  3526. // </e>
  3527. // <e> PDM_ENABLED - nrf_drv_pdm - PDM peripheral driver - legacy layer
  3528. //==========================================================
  3529. #ifndef PDM_ENABLED
  3530. #define PDM_ENABLED 0
  3531. #endif
  3532. // <o> PDM_CONFIG_MODE - Mode
  3533. // <0=> Stereo
  3534. // <1=> Mono
  3535. #ifndef PDM_CONFIG_MODE
  3536. #define PDM_CONFIG_MODE 1
  3537. #endif
  3538. // <o> PDM_CONFIG_EDGE - Edge
  3539. // <0=> Left falling
  3540. // <1=> Left rising
  3541. #ifndef PDM_CONFIG_EDGE
  3542. #define PDM_CONFIG_EDGE 0
  3543. #endif
  3544. // <o> PDM_CONFIG_CLOCK_FREQ - Clock frequency
  3545. // <134217728=> 1000k
  3546. // <138412032=> 1032k (default)
  3547. // <142606336=> 1067k
  3548. #ifndef PDM_CONFIG_CLOCK_FREQ
  3549. #define PDM_CONFIG_CLOCK_FREQ 138412032
  3550. #endif
  3551. // <o> PDM_CONFIG_IRQ_PRIORITY - Interrupt priority
  3552. // <i> Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice
  3553. // <0=> 0 (highest)
  3554. // <1=> 1
  3555. // <2=> 2
  3556. // <3=> 3
  3557. // <4=> 4
  3558. // <5=> 5
  3559. // <6=> 6
  3560. // <7=> 7
  3561. #ifndef PDM_CONFIG_IRQ_PRIORITY
  3562. #define PDM_CONFIG_IRQ_PRIORITY 6
  3563. #endif
  3564. // </e>
  3565. // <e> POWER_ENABLED - nrf_drv_power - POWER peripheral driver - legacy layer
  3566. //==========================================================
  3567. #ifndef POWER_ENABLED
  3568. #define POWER_ENABLED 0
  3569. #endif
  3570. // <o> POWER_CONFIG_IRQ_PRIORITY - Interrupt priority
  3571. // <i> Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice
  3572. // <0=> 0 (highest)
  3573. // <1=> 1
  3574. // <2=> 2
  3575. // <3=> 3
  3576. // <4=> 4
  3577. // <5=> 5
  3578. // <6=> 6
  3579. // <7=> 7
  3580. #ifndef POWER_CONFIG_IRQ_PRIORITY
  3581. #define POWER_CONFIG_IRQ_PRIORITY 6
  3582. #endif
  3583. // <q> POWER_CONFIG_DEFAULT_DCDCEN - The default configuration of main DCDC regulator
  3584. // <i> This settings means only that components for DCDC regulator are installed and it can be enabled.
  3585. #ifndef POWER_CONFIG_DEFAULT_DCDCEN
  3586. #define POWER_CONFIG_DEFAULT_DCDCEN 0
  3587. #endif
  3588. // <q> POWER_CONFIG_DEFAULT_DCDCENHV - The default configuration of High Voltage DCDC regulator
  3589. // <i> This settings means only that components for DCDC regulator are installed and it can be enabled.
  3590. #ifndef POWER_CONFIG_DEFAULT_DCDCENHV
  3591. #define POWER_CONFIG_DEFAULT_DCDCENHV 0
  3592. #endif
  3593. // </e>
  3594. // <q> PPI_ENABLED - nrf_drv_ppi - PPI peripheral driver - legacy layer
  3595. #ifndef PPI_ENABLED
  3596. #define PPI_ENABLED 0
  3597. #endif
  3598. // <e> PWM_ENABLED - nrf_drv_pwm - PWM peripheral driver - legacy layer
  3599. //==========================================================
  3600. #ifndef PWM_ENABLED
  3601. #define PWM_ENABLED 0
  3602. #endif
  3603. // <o> PWM_DEFAULT_CONFIG_OUT0_PIN - Out0 pin <0-31>
  3604. #ifndef PWM_DEFAULT_CONFIG_OUT0_PIN
  3605. #define PWM_DEFAULT_CONFIG_OUT0_PIN 31
  3606. #endif
  3607. // <o> PWM_DEFAULT_CONFIG_OUT1_PIN - Out1 pin <0-31>
  3608. #ifndef PWM_DEFAULT_CONFIG_OUT1_PIN
  3609. #define PWM_DEFAULT_CONFIG_OUT1_PIN 31
  3610. #endif
  3611. // <o> PWM_DEFAULT_CONFIG_OUT2_PIN - Out2 pin <0-31>
  3612. #ifndef PWM_DEFAULT_CONFIG_OUT2_PIN
  3613. #define PWM_DEFAULT_CONFIG_OUT2_PIN 31
  3614. #endif
  3615. // <o> PWM_DEFAULT_CONFIG_OUT3_PIN - Out3 pin <0-31>
  3616. #ifndef PWM_DEFAULT_CONFIG_OUT3_PIN
  3617. #define PWM_DEFAULT_CONFIG_OUT3_PIN 31
  3618. #endif
  3619. // <o> PWM_DEFAULT_CONFIG_BASE_CLOCK - Base clock
  3620. // <0=> 16 MHz
  3621. // <1=> 8 MHz
  3622. // <2=> 4 MHz
  3623. // <3=> 2 MHz
  3624. // <4=> 1 MHz
  3625. // <5=> 500 kHz
  3626. // <6=> 250 kHz
  3627. // <7=> 125 kHz
  3628. #ifndef PWM_DEFAULT_CONFIG_BASE_CLOCK
  3629. #define PWM_DEFAULT_CONFIG_BASE_CLOCK 4
  3630. #endif
  3631. // <o> PWM_DEFAULT_CONFIG_COUNT_MODE - Count mode
  3632. // <0=> Up
  3633. // <1=> Up and Down
  3634. #ifndef PWM_DEFAULT_CONFIG_COUNT_MODE
  3635. #define PWM_DEFAULT_CONFIG_COUNT_MODE 0
  3636. #endif
  3637. // <o> PWM_DEFAULT_CONFIG_TOP_VALUE - Top value
  3638. #ifndef PWM_DEFAULT_CONFIG_TOP_VALUE
  3639. #define PWM_DEFAULT_CONFIG_TOP_VALUE 1000
  3640. #endif
  3641. // <o> PWM_DEFAULT_CONFIG_LOAD_MODE - Load mode
  3642. // <0=> Common
  3643. // <1=> Grouped
  3644. // <2=> Individual
  3645. // <3=> Waveform
  3646. #ifndef PWM_DEFAULT_CONFIG_LOAD_MODE
  3647. #define PWM_DEFAULT_CONFIG_LOAD_MODE 0
  3648. #endif
  3649. // <o> PWM_DEFAULT_CONFIG_STEP_MODE - Step mode
  3650. // <0=> Auto
  3651. // <1=> Triggered
  3652. #ifndef PWM_DEFAULT_CONFIG_STEP_MODE
  3653. #define PWM_DEFAULT_CONFIG_STEP_MODE 0
  3654. #endif
  3655. // <o> PWM_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority
  3656. // <i> Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice
  3657. // <0=> 0 (highest)
  3658. // <1=> 1
  3659. // <2=> 2
  3660. // <3=> 3
  3661. // <4=> 4
  3662. // <5=> 5
  3663. // <6=> 6
  3664. // <7=> 7
  3665. #ifndef PWM_DEFAULT_CONFIG_IRQ_PRIORITY
  3666. #define PWM_DEFAULT_CONFIG_IRQ_PRIORITY 6
  3667. #endif
  3668. // <q> PWM0_ENABLED - Enable PWM0 instance
  3669. #ifndef PWM0_ENABLED
  3670. #define PWM0_ENABLED 0
  3671. #endif
  3672. // <q> PWM1_ENABLED - Enable PWM1 instance
  3673. #ifndef PWM1_ENABLED
  3674. #define PWM1_ENABLED 0
  3675. #endif
  3676. // <q> PWM2_ENABLED - Enable PWM2 instance
  3677. #ifndef PWM2_ENABLED
  3678. #define PWM2_ENABLED 0
  3679. #endif
  3680. // <q> PWM3_ENABLED - Enable PWM3 instance
  3681. #ifndef PWM3_ENABLED
  3682. #define PWM3_ENABLED 0
  3683. #endif
  3684. // </e>
  3685. // <e> QDEC_ENABLED - nrf_drv_qdec - QDEC peripheral driver - legacy layer
  3686. //==========================================================
  3687. #ifndef QDEC_ENABLED
  3688. #define QDEC_ENABLED 0
  3689. #endif
  3690. // <o> QDEC_CONFIG_REPORTPER - Report period
  3691. // <0=> 10 Samples
  3692. // <1=> 40 Samples
  3693. // <2=> 80 Samples
  3694. // <3=> 120 Samples
  3695. // <4=> 160 Samples
  3696. // <5=> 200 Samples
  3697. // <6=> 240 Samples
  3698. // <7=> 280 Samples
  3699. #ifndef QDEC_CONFIG_REPORTPER
  3700. #define QDEC_CONFIG_REPORTPER 0
  3701. #endif
  3702. // <o> QDEC_CONFIG_SAMPLEPER - Sample period
  3703. // <0=> 128 us
  3704. // <1=> 256 us
  3705. // <2=> 512 us
  3706. // <3=> 1024 us
  3707. // <4=> 2048 us
  3708. // <5=> 4096 us
  3709. // <6=> 8192 us
  3710. // <7=> 16384 us
  3711. #ifndef QDEC_CONFIG_SAMPLEPER
  3712. #define QDEC_CONFIG_SAMPLEPER 7
  3713. #endif
  3714. // <o> QDEC_CONFIG_PIO_A - A pin <0-31>
  3715. #ifndef QDEC_CONFIG_PIO_A
  3716. #define QDEC_CONFIG_PIO_A 31
  3717. #endif
  3718. // <o> QDEC_CONFIG_PIO_B - B pin <0-31>
  3719. #ifndef QDEC_CONFIG_PIO_B
  3720. #define QDEC_CONFIG_PIO_B 31
  3721. #endif
  3722. // <o> QDEC_CONFIG_PIO_LED - LED pin <0-31>
  3723. #ifndef QDEC_CONFIG_PIO_LED
  3724. #define QDEC_CONFIG_PIO_LED 31
  3725. #endif
  3726. // <o> QDEC_CONFIG_LEDPRE - LED pre
  3727. #ifndef QDEC_CONFIG_LEDPRE
  3728. #define QDEC_CONFIG_LEDPRE 511
  3729. #endif
  3730. // <o> QDEC_CONFIG_LEDPOL - LED polarity
  3731. // <0=> Active low
  3732. // <1=> Active high
  3733. #ifndef QDEC_CONFIG_LEDPOL
  3734. #define QDEC_CONFIG_LEDPOL 1
  3735. #endif
  3736. // <q> QDEC_CONFIG_DBFEN - Debouncing enable
  3737. #ifndef QDEC_CONFIG_DBFEN
  3738. #define QDEC_CONFIG_DBFEN 0
  3739. #endif
  3740. // <q> QDEC_CONFIG_SAMPLE_INTEN - Sample ready interrupt enable
  3741. #ifndef QDEC_CONFIG_SAMPLE_INTEN
  3742. #define QDEC_CONFIG_SAMPLE_INTEN 0
  3743. #endif
  3744. // <o> QDEC_CONFIG_IRQ_PRIORITY - Interrupt priority
  3745. // <i> Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice
  3746. // <0=> 0 (highest)
  3747. // <1=> 1
  3748. // <2=> 2
  3749. // <3=> 3
  3750. // <4=> 4
  3751. // <5=> 5
  3752. // <6=> 6
  3753. // <7=> 7
  3754. #ifndef QDEC_CONFIG_IRQ_PRIORITY
  3755. #define QDEC_CONFIG_IRQ_PRIORITY 6
  3756. #endif
  3757. // </e>
  3758. // <e> QSPI_ENABLED - nrf_drv_qspi - QSPI peripheral driver - legacy layer
  3759. //==========================================================
  3760. #ifndef QSPI_ENABLED
  3761. #define QSPI_ENABLED 0
  3762. #endif
  3763. // <o> QSPI_CONFIG_SCK_DELAY - tSHSL, tWHSL and tSHWL in number of 16 MHz periods (62.5 ns). <0-255>
  3764. #ifndef QSPI_CONFIG_SCK_DELAY
  3765. #define QSPI_CONFIG_SCK_DELAY 1
  3766. #endif
  3767. // <o> QSPI_CONFIG_XIP_OFFSET - Address offset in the external memory for Execute in Place operation.
  3768. #ifndef QSPI_CONFIG_XIP_OFFSET
  3769. #define QSPI_CONFIG_XIP_OFFSET 0
  3770. #endif
  3771. // <o> QSPI_CONFIG_READOC - Number of data lines and opcode used for reading.
  3772. // <0=> FastRead
  3773. // <1=> Read2O
  3774. // <2=> Read2IO
  3775. // <3=> Read4O
  3776. // <4=> Read4IO
  3777. #ifndef QSPI_CONFIG_READOC
  3778. #define QSPI_CONFIG_READOC 0
  3779. #endif
  3780. // <o> QSPI_CONFIG_WRITEOC - Number of data lines and opcode used for writing.
  3781. // <0=> PP
  3782. // <1=> PP2O
  3783. // <2=> PP4O
  3784. // <3=> PP4IO
  3785. #ifndef QSPI_CONFIG_WRITEOC
  3786. #define QSPI_CONFIG_WRITEOC 0
  3787. #endif
  3788. // <o> QSPI_CONFIG_ADDRMODE - Addressing mode.
  3789. // <0=> 24bit
  3790. // <1=> 32bit
  3791. #ifndef QSPI_CONFIG_ADDRMODE
  3792. #define QSPI_CONFIG_ADDRMODE 0
  3793. #endif
  3794. // <o> QSPI_CONFIG_MODE - SPI mode.
  3795. // <0=> Mode 0
  3796. // <1=> Mode 1
  3797. #ifndef QSPI_CONFIG_MODE
  3798. #define QSPI_CONFIG_MODE 0
  3799. #endif
  3800. // <o> QSPI_CONFIG_FREQUENCY - Frequency divider.
  3801. // <0=> 32MHz/1
  3802. // <1=> 32MHz/2
  3803. // <2=> 32MHz/3
  3804. // <3=> 32MHz/4
  3805. // <4=> 32MHz/5
  3806. // <5=> 32MHz/6
  3807. // <6=> 32MHz/7
  3808. // <7=> 32MHz/8
  3809. // <8=> 32MHz/9
  3810. // <9=> 32MHz/10
  3811. // <10=> 32MHz/11
  3812. // <11=> 32MHz/12
  3813. // <12=> 32MHz/13
  3814. // <13=> 32MHz/14
  3815. // <14=> 32MHz/15
  3816. // <15=> 32MHz/16
  3817. #ifndef QSPI_CONFIG_FREQUENCY
  3818. #define QSPI_CONFIG_FREQUENCY 15
  3819. #endif
  3820. // <s> QSPI_PIN_SCK - SCK pin value.
  3821. #ifndef QSPI_PIN_SCK
  3822. #define QSPI_PIN_SCK NRF_QSPI_PIN_NOT_CONNECTED
  3823. #endif
  3824. // <s> QSPI_PIN_CSN - CSN pin value.
  3825. #ifndef QSPI_PIN_CSN
  3826. #define QSPI_PIN_CSN NRF_QSPI_PIN_NOT_CONNECTED
  3827. #endif
  3828. // <s> QSPI_PIN_IO0 - IO0 pin value.
  3829. #ifndef QSPI_PIN_IO0
  3830. #define QSPI_PIN_IO0 NRF_QSPI_PIN_NOT_CONNECTED
  3831. #endif
  3832. // <s> QSPI_PIN_IO1 - IO1 pin value.
  3833. #ifndef QSPI_PIN_IO1
  3834. #define QSPI_PIN_IO1 NRF_QSPI_PIN_NOT_CONNECTED
  3835. #endif
  3836. // <s> QSPI_PIN_IO2 - IO2 pin value.
  3837. #ifndef QSPI_PIN_IO2
  3838. #define QSPI_PIN_IO2 NRF_QSPI_PIN_NOT_CONNECTED
  3839. #endif
  3840. // <s> QSPI_PIN_IO3 - IO3 pin value.
  3841. #ifndef QSPI_PIN_IO3
  3842. #define QSPI_PIN_IO3 NRF_QSPI_PIN_NOT_CONNECTED
  3843. #endif
  3844. // <o> QSPI_CONFIG_IRQ_PRIORITY - Interrupt priority
  3845. // <i> Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice
  3846. // <0=> 0 (highest)
  3847. // <1=> 1
  3848. // <2=> 2
  3849. // <3=> 3
  3850. // <4=> 4
  3851. // <5=> 5
  3852. // <6=> 6
  3853. // <7=> 7
  3854. #ifndef QSPI_CONFIG_IRQ_PRIORITY
  3855. #define QSPI_CONFIG_IRQ_PRIORITY 6
  3856. #endif
  3857. // </e>
  3858. // <e> RNG_ENABLED - nrf_drv_rng - RNG peripheral driver - legacy layer
  3859. //==========================================================
  3860. #ifndef RNG_ENABLED
  3861. #define RNG_ENABLED 0
  3862. #endif
  3863. // <q> RNG_CONFIG_ERROR_CORRECTION - Error correction
  3864. #ifndef RNG_CONFIG_ERROR_CORRECTION
  3865. #define RNG_CONFIG_ERROR_CORRECTION 1
  3866. #endif
  3867. // <o> RNG_CONFIG_POOL_SIZE - Pool size
  3868. #ifndef RNG_CONFIG_POOL_SIZE
  3869. #define RNG_CONFIG_POOL_SIZE 64
  3870. #endif
  3871. // <o> RNG_CONFIG_IRQ_PRIORITY - Interrupt priority
  3872. // <i> Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice
  3873. // <0=> 0 (highest)
  3874. // <1=> 1
  3875. // <2=> 2
  3876. // <3=> 3
  3877. // <4=> 4
  3878. // <5=> 5
  3879. // <6=> 6
  3880. // <7=> 7
  3881. #ifndef RNG_CONFIG_IRQ_PRIORITY
  3882. #define RNG_CONFIG_IRQ_PRIORITY 6
  3883. #endif
  3884. // </e>
  3885. // <e> RTC_ENABLED - nrf_drv_rtc - RTC peripheral driver - legacy layer
  3886. //==========================================================
  3887. #ifndef RTC_ENABLED
  3888. #define RTC_ENABLED 0
  3889. #endif
  3890. // <o> RTC_DEFAULT_CONFIG_FREQUENCY - Frequency <16-32768>
  3891. #ifndef RTC_DEFAULT_CONFIG_FREQUENCY
  3892. #define RTC_DEFAULT_CONFIG_FREQUENCY 32768
  3893. #endif
  3894. // <q> RTC_DEFAULT_CONFIG_RELIABLE - Ensures safe compare event triggering
  3895. #ifndef RTC_DEFAULT_CONFIG_RELIABLE
  3896. #define RTC_DEFAULT_CONFIG_RELIABLE 0
  3897. #endif
  3898. // <o> RTC_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority
  3899. // <i> Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice
  3900. // <0=> 0 (highest)
  3901. // <1=> 1
  3902. // <2=> 2
  3903. // <3=> 3
  3904. // <4=> 4
  3905. // <5=> 5
  3906. // <6=> 6
  3907. // <7=> 7
  3908. #ifndef RTC_DEFAULT_CONFIG_IRQ_PRIORITY
  3909. #define RTC_DEFAULT_CONFIG_IRQ_PRIORITY 6
  3910. #endif
  3911. // <q> RTC0_ENABLED - Enable RTC0 instance
  3912. #ifndef RTC0_ENABLED
  3913. #define RTC0_ENABLED 0
  3914. #endif
  3915. // <q> RTC1_ENABLED - Enable RTC1 instance
  3916. #ifndef RTC1_ENABLED
  3917. #define RTC1_ENABLED 0
  3918. #endif
  3919. // <q> RTC2_ENABLED - Enable RTC2 instance
  3920. #ifndef RTC2_ENABLED
  3921. #define RTC2_ENABLED 0
  3922. #endif
  3923. // <o> NRF_MAXIMUM_LATENCY_US - Maximum possible time[us] in highest priority interrupt
  3924. #ifndef NRF_MAXIMUM_LATENCY_US
  3925. #define NRF_MAXIMUM_LATENCY_US 2000
  3926. #endif
  3927. // </e>
  3928. // <e> SAADC_ENABLED - nrf_drv_saadc - SAADC peripheral driver - legacy layer
  3929. //==========================================================
  3930. #ifndef SAADC_ENABLED
  3931. #define SAADC_ENABLED 0
  3932. #endif
  3933. // <o> SAADC_CONFIG_RESOLUTION - Resolution
  3934. // <0=> 8 bit
  3935. // <1=> 10 bit
  3936. // <2=> 12 bit
  3937. // <3=> 14 bit
  3938. #ifndef SAADC_CONFIG_RESOLUTION
  3939. #define SAADC_CONFIG_RESOLUTION 1
  3940. #endif
  3941. // <o> SAADC_CONFIG_OVERSAMPLE - Sample period
  3942. // <0=> Disabled
  3943. // <1=> 2x
  3944. // <2=> 4x
  3945. // <3=> 8x
  3946. // <4=> 16x
  3947. // <5=> 32x
  3948. // <6=> 64x
  3949. // <7=> 128x
  3950. // <8=> 256x
  3951. #ifndef SAADC_CONFIG_OVERSAMPLE
  3952. #define SAADC_CONFIG_OVERSAMPLE 0
  3953. #endif
  3954. // <q> SAADC_CONFIG_LP_MODE - Enabling low power mode
  3955. #ifndef SAADC_CONFIG_LP_MODE
  3956. #define SAADC_CONFIG_LP_MODE 0
  3957. #endif
  3958. // <o> SAADC_CONFIG_IRQ_PRIORITY - Interrupt priority
  3959. // <i> Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice
  3960. // <0=> 0 (highest)
  3961. // <1=> 1
  3962. // <2=> 2
  3963. // <3=> 3
  3964. // <4=> 4
  3965. // <5=> 5
  3966. // <6=> 6
  3967. // <7=> 7
  3968. #ifndef SAADC_CONFIG_IRQ_PRIORITY
  3969. #define SAADC_CONFIG_IRQ_PRIORITY 6
  3970. #endif
  3971. // </e>
  3972. // <e> SPIS_ENABLED - nrf_drv_spis - SPIS peripheral driver - legacy layer
  3973. //==========================================================
  3974. #ifndef SPIS_ENABLED
  3975. #define SPIS_ENABLED 0
  3976. #endif
  3977. // <o> SPIS_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority
  3978. // <i> Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice
  3979. // <0=> 0 (highest)
  3980. // <1=> 1
  3981. // <2=> 2
  3982. // <3=> 3
  3983. // <4=> 4
  3984. // <5=> 5
  3985. // <6=> 6
  3986. // <7=> 7
  3987. #ifndef SPIS_DEFAULT_CONFIG_IRQ_PRIORITY
  3988. #define SPIS_DEFAULT_CONFIG_IRQ_PRIORITY 6
  3989. #endif
  3990. // <o> SPIS_DEFAULT_MODE - Mode
  3991. // <0=> MODE_0
  3992. // <1=> MODE_1
  3993. // <2=> MODE_2
  3994. // <3=> MODE_3
  3995. #ifndef SPIS_DEFAULT_MODE
  3996. #define SPIS_DEFAULT_MODE 0
  3997. #endif
  3998. // <o> SPIS_DEFAULT_BIT_ORDER - SPIS default bit order
  3999. // <0=> MSB first
  4000. // <1=> LSB first
  4001. #ifndef SPIS_DEFAULT_BIT_ORDER
  4002. #define SPIS_DEFAULT_BIT_ORDER 0
  4003. #endif
  4004. // <o> SPIS_DEFAULT_DEF - SPIS default DEF character <0-255>
  4005. #ifndef SPIS_DEFAULT_DEF
  4006. #define SPIS_DEFAULT_DEF 255
  4007. #endif
  4008. // <o> SPIS_DEFAULT_ORC - SPIS default ORC character <0-255>
  4009. #ifndef SPIS_DEFAULT_ORC
  4010. #define SPIS_DEFAULT_ORC 255
  4011. #endif
  4012. // <q> SPIS0_ENABLED - Enable SPIS0 instance
  4013. #ifndef SPIS0_ENABLED
  4014. #define SPIS0_ENABLED 0
  4015. #endif
  4016. // <q> SPIS1_ENABLED - Enable SPIS1 instance
  4017. #ifndef SPIS1_ENABLED
  4018. #define SPIS1_ENABLED 0
  4019. #endif
  4020. // <q> SPIS2_ENABLED - Enable SPIS2 instance
  4021. #ifndef SPIS2_ENABLED
  4022. #define SPIS2_ENABLED 0
  4023. #endif
  4024. // </e>
  4025. // <e> SPI_ENABLED - nrf_drv_spi - SPI/SPIM peripheral driver - legacy layer
  4026. //==========================================================
  4027. #ifndef SPI_ENABLED
  4028. #define SPI_ENABLED 0
  4029. #endif
  4030. // <o> SPI_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority
  4031. // <i> Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice
  4032. // <0=> 0 (highest)
  4033. // <1=> 1
  4034. // <2=> 2
  4035. // <3=> 3
  4036. // <4=> 4
  4037. // <5=> 5
  4038. // <6=> 6
  4039. // <7=> 7
  4040. #ifndef SPI_DEFAULT_CONFIG_IRQ_PRIORITY
  4041. #define SPI_DEFAULT_CONFIG_IRQ_PRIORITY 6
  4042. #endif
  4043. // <o> NRF_SPI_DRV_MISO_PULLUP_CFG - MISO PIN pull-up configuration.
  4044. // <0=> NRF_GPIO_PIN_NOPULL
  4045. // <1=> NRF_GPIO_PIN_PULLDOWN
  4046. // <3=> NRF_GPIO_PIN_PULLUP
  4047. #ifndef NRF_SPI_DRV_MISO_PULLUP_CFG
  4048. #define NRF_SPI_DRV_MISO_PULLUP_CFG 1
  4049. #endif
  4050. // <e> SPI0_ENABLED - Enable SPI0 instance
  4051. //==========================================================
  4052. #ifndef SPI0_ENABLED
  4053. #define SPI0_ENABLED 0
  4054. #endif
  4055. // <q> SPI0_USE_EASY_DMA - Use EasyDMA
  4056. #ifndef SPI0_USE_EASY_DMA
  4057. #define SPI0_USE_EASY_DMA 1
  4058. #endif
  4059. // </e>
  4060. // <e> SPI1_ENABLED - Enable SPI1 instance
  4061. //==========================================================
  4062. #ifndef SPI1_ENABLED
  4063. #define SPI1_ENABLED 0
  4064. #endif
  4065. // <q> SPI1_USE_EASY_DMA - Use EasyDMA
  4066. #ifndef SPI1_USE_EASY_DMA
  4067. #define SPI1_USE_EASY_DMA 1
  4068. #endif
  4069. // </e>
  4070. // <e> SPI2_ENABLED - Enable SPI2 instance
  4071. //==========================================================
  4072. #ifndef SPI2_ENABLED
  4073. #define SPI2_ENABLED 0
  4074. #endif
  4075. // <q> SPI2_USE_EASY_DMA - Use EasyDMA
  4076. #ifndef SPI2_USE_EASY_DMA
  4077. #define SPI2_USE_EASY_DMA 1
  4078. #endif
  4079. // </e>
  4080. // </e>
  4081. // <e> TIMER_ENABLED - nrf_drv_timer - TIMER periperal driver - legacy layer
  4082. //==========================================================
  4083. #ifndef TIMER_ENABLED
  4084. #define TIMER_ENABLED 0
  4085. #endif
  4086. // <o> TIMER_DEFAULT_CONFIG_FREQUENCY - Timer frequency if in Timer mode
  4087. // <0=> 16 MHz
  4088. // <1=> 8 MHz
  4089. // <2=> 4 MHz
  4090. // <3=> 2 MHz
  4091. // <4=> 1 MHz
  4092. // <5=> 500 kHz
  4093. // <6=> 250 kHz
  4094. // <7=> 125 kHz
  4095. // <8=> 62.5 kHz
  4096. // <9=> 31.25 kHz
  4097. #ifndef TIMER_DEFAULT_CONFIG_FREQUENCY
  4098. #define TIMER_DEFAULT_CONFIG_FREQUENCY 0
  4099. #endif
  4100. // <o> TIMER_DEFAULT_CONFIG_MODE - Timer mode or operation
  4101. // <0=> Timer
  4102. // <1=> Counter
  4103. #ifndef TIMER_DEFAULT_CONFIG_MODE
  4104. #define TIMER_DEFAULT_CONFIG_MODE 0
  4105. #endif
  4106. // <o> TIMER_DEFAULT_CONFIG_BIT_WIDTH - Timer counter bit width
  4107. // <0=> 16 bit
  4108. // <1=> 8 bit
  4109. // <2=> 24 bit
  4110. // <3=> 32 bit
  4111. #ifndef TIMER_DEFAULT_CONFIG_BIT_WIDTH
  4112. #define TIMER_DEFAULT_CONFIG_BIT_WIDTH 0
  4113. #endif
  4114. // <o> TIMER_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority
  4115. // <i> Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice
  4116. // <0=> 0 (highest)
  4117. // <1=> 1
  4118. // <2=> 2
  4119. // <3=> 3
  4120. // <4=> 4
  4121. // <5=> 5
  4122. // <6=> 6
  4123. // <7=> 7
  4124. #ifndef TIMER_DEFAULT_CONFIG_IRQ_PRIORITY
  4125. #define TIMER_DEFAULT_CONFIG_IRQ_PRIORITY 6
  4126. #endif
  4127. // <q> TIMER0_ENABLED - Enable TIMER0 instance
  4128. #ifndef TIMER0_ENABLED
  4129. #define TIMER0_ENABLED 0
  4130. #endif
  4131. // <q> TIMER1_ENABLED - Enable TIMER1 instance
  4132. #ifndef TIMER1_ENABLED
  4133. #define TIMER1_ENABLED 0
  4134. #endif
  4135. // <q> TIMER2_ENABLED - Enable TIMER2 instance
  4136. #ifndef TIMER2_ENABLED
  4137. #define TIMER2_ENABLED 0
  4138. #endif
  4139. // <q> TIMER3_ENABLED - Enable TIMER3 instance
  4140. #ifndef TIMER3_ENABLED
  4141. #define TIMER3_ENABLED 0
  4142. #endif
  4143. // <q> TIMER4_ENABLED - Enable TIMER4 instance
  4144. #ifndef TIMER4_ENABLED
  4145. #define TIMER4_ENABLED 0
  4146. #endif
  4147. // </e>
  4148. // <e> TWIS_ENABLED - nrf_drv_twis - TWIS peripheral driver - legacy layer
  4149. //==========================================================
  4150. #ifndef TWIS_ENABLED
  4151. #define TWIS_ENABLED 0
  4152. #endif
  4153. // <q> TWIS0_ENABLED - Enable TWIS0 instance
  4154. #ifndef TWIS0_ENABLED
  4155. #define TWIS0_ENABLED 0
  4156. #endif
  4157. // <q> TWIS1_ENABLED - Enable TWIS1 instance
  4158. #ifndef TWIS1_ENABLED
  4159. #define TWIS1_ENABLED 0
  4160. #endif
  4161. // <q> TWIS_ASSUME_INIT_AFTER_RESET_ONLY - Assume that any instance would be initialized only once
  4162. // <i> Optimization flag. Registers used by TWIS are shared by other peripherals. Normally, during initialization driver tries to clear all registers to known state before doing the initialization itself. This gives initialization safe procedure, no matter when it would be called. If you activate TWIS only once and do never uninitialize it - set this flag to 1 what gives more optimal code.
  4163. #ifndef TWIS_ASSUME_INIT_AFTER_RESET_ONLY
  4164. #define TWIS_ASSUME_INIT_AFTER_RESET_ONLY 0
  4165. #endif
  4166. // <q> TWIS_NO_SYNC_MODE - Remove support for synchronous mode
  4167. // <i> Synchronous mode would be used in specific situations. And it uses some additional code and data memory to safely process state machine by polling it in status functions. If this functionality is not required it may be disabled to free some resources.
  4168. #ifndef TWIS_NO_SYNC_MODE
  4169. #define TWIS_NO_SYNC_MODE 0
  4170. #endif
  4171. // <o> TWIS_DEFAULT_CONFIG_ADDR0 - Address0
  4172. #ifndef TWIS_DEFAULT_CONFIG_ADDR0
  4173. #define TWIS_DEFAULT_CONFIG_ADDR0 0
  4174. #endif
  4175. // <o> TWIS_DEFAULT_CONFIG_ADDR1 - Address1
  4176. #ifndef TWIS_DEFAULT_CONFIG_ADDR1
  4177. #define TWIS_DEFAULT_CONFIG_ADDR1 0
  4178. #endif
  4179. // <o> TWIS_DEFAULT_CONFIG_SCL_PULL - SCL pin pull configuration
  4180. // <0=> Disabled
  4181. // <1=> Pull down
  4182. // <3=> Pull up
  4183. #ifndef TWIS_DEFAULT_CONFIG_SCL_PULL
  4184. #define TWIS_DEFAULT_CONFIG_SCL_PULL 0
  4185. #endif
  4186. // <o> TWIS_DEFAULT_CONFIG_SDA_PULL - SDA pin pull configuration
  4187. // <0=> Disabled
  4188. // <1=> Pull down
  4189. // <3=> Pull up
  4190. #ifndef TWIS_DEFAULT_CONFIG_SDA_PULL
  4191. #define TWIS_DEFAULT_CONFIG_SDA_PULL 0
  4192. #endif
  4193. // <o> TWIS_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority
  4194. // <i> Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice
  4195. // <0=> 0 (highest)
  4196. // <1=> 1
  4197. // <2=> 2
  4198. // <3=> 3
  4199. // <4=> 4
  4200. // <5=> 5
  4201. // <6=> 6
  4202. // <7=> 7
  4203. #ifndef TWIS_DEFAULT_CONFIG_IRQ_PRIORITY
  4204. #define TWIS_DEFAULT_CONFIG_IRQ_PRIORITY 6
  4205. #endif
  4206. // </e>
  4207. // <e> TWI_ENABLED - nrf_drv_twi - TWI/TWIM peripheral driver - legacy layer
  4208. //==========================================================
  4209. #ifndef TWI_ENABLED
  4210. #define TWI_ENABLED 0
  4211. #endif
  4212. // <o> TWI_DEFAULT_CONFIG_FREQUENCY - Frequency
  4213. // <26738688=> 100k
  4214. // <67108864=> 250k
  4215. // <104857600=> 400k
  4216. #ifndef TWI_DEFAULT_CONFIG_FREQUENCY
  4217. #define TWI_DEFAULT_CONFIG_FREQUENCY 26738688
  4218. #endif
  4219. // <q> TWI_DEFAULT_CONFIG_CLR_BUS_INIT - Enables bus clearing procedure during init
  4220. #ifndef TWI_DEFAULT_CONFIG_CLR_BUS_INIT
  4221. #define TWI_DEFAULT_CONFIG_CLR_BUS_INIT 0
  4222. #endif
  4223. // <q> TWI_DEFAULT_CONFIG_HOLD_BUS_UNINIT - Enables bus holding after uninit
  4224. #ifndef TWI_DEFAULT_CONFIG_HOLD_BUS_UNINIT
  4225. #define TWI_DEFAULT_CONFIG_HOLD_BUS_UNINIT 0
  4226. #endif
  4227. // <o> TWI_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority
  4228. // <i> Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice
  4229. // <0=> 0 (highest)
  4230. // <1=> 1
  4231. // <2=> 2
  4232. // <3=> 3
  4233. // <4=> 4
  4234. // <5=> 5
  4235. // <6=> 6
  4236. // <7=> 7
  4237. #ifndef TWI_DEFAULT_CONFIG_IRQ_PRIORITY
  4238. #define TWI_DEFAULT_CONFIG_IRQ_PRIORITY 6
  4239. #endif
  4240. // <e> TWI0_ENABLED - Enable TWI0 instance
  4241. //==========================================================
  4242. #ifndef TWI0_ENABLED
  4243. #define TWI0_ENABLED 0
  4244. #endif
  4245. // <q> TWI0_USE_EASY_DMA - Use EasyDMA (if present)
  4246. #ifndef TWI0_USE_EASY_DMA
  4247. #define TWI0_USE_EASY_DMA 0
  4248. #endif
  4249. // </e>
  4250. // <e> TWI1_ENABLED - Enable TWI1 instance
  4251. //==========================================================
  4252. #ifndef TWI1_ENABLED
  4253. #define TWI1_ENABLED 0
  4254. #endif
  4255. // <q> TWI1_USE_EASY_DMA - Use EasyDMA (if present)
  4256. #ifndef TWI1_USE_EASY_DMA
  4257. #define TWI1_USE_EASY_DMA 0
  4258. #endif
  4259. // </e>
  4260. // </e>
  4261. // <e> UART_ENABLED - nrf_drv_uart - UART/UARTE peripheral driver - legacy layer
  4262. //==========================================================
  4263. #ifndef UART_ENABLED
  4264. #define UART_ENABLED 1
  4265. #endif
  4266. // <o> UART_DEFAULT_CONFIG_HWFC - Hardware Flow Control
  4267. // <0=> Disabled
  4268. // <1=> Enabled
  4269. #ifndef UART_DEFAULT_CONFIG_HWFC
  4270. #define UART_DEFAULT_CONFIG_HWFC 0
  4271. #endif
  4272. // <o> UART_DEFAULT_CONFIG_PARITY - Parity
  4273. // <0=> Excluded
  4274. // <14=> Included
  4275. #ifndef UART_DEFAULT_CONFIG_PARITY
  4276. #define UART_DEFAULT_CONFIG_PARITY 0
  4277. #endif
  4278. // <o> UART_DEFAULT_CONFIG_BAUDRATE - Default Baudrate
  4279. // <323584=> 1200 baud
  4280. // <643072=> 2400 baud
  4281. // <1290240=> 4800 baud
  4282. // <2576384=> 9600 baud
  4283. // <3862528=> 14400 baud
  4284. // <5152768=> 19200 baud
  4285. // <7716864=> 28800 baud
  4286. // <10289152=> 38400 baud
  4287. // <15400960=> 57600 baud
  4288. // <20615168=> 76800 baud
  4289. // <30801920=> 115200 baud
  4290. // <61865984=> 230400 baud
  4291. // <67108864=> 250000 baud
  4292. // <121634816=> 460800 baud
  4293. // <251658240=> 921600 baud
  4294. // <268435456=> 1000000 baud
  4295. #ifndef UART_DEFAULT_CONFIG_BAUDRATE
  4296. #define UART_DEFAULT_CONFIG_BAUDRATE 30801920
  4297. #endif
  4298. // <o> UART_DEFAULT_CONFIG_IRQ_PRIORITY - Interrupt priority
  4299. // <i> Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice
  4300. // <0=> 0 (highest)
  4301. // <1=> 1
  4302. // <2=> 2
  4303. // <3=> 3
  4304. // <4=> 4
  4305. // <5=> 5
  4306. // <6=> 6
  4307. // <7=> 7
  4308. #ifndef UART_DEFAULT_CONFIG_IRQ_PRIORITY
  4309. #define UART_DEFAULT_CONFIG_IRQ_PRIORITY 6
  4310. #endif
  4311. // <q> UART_EASY_DMA_SUPPORT - Driver supporting EasyDMA
  4312. #ifndef UART_EASY_DMA_SUPPORT
  4313. #define UART_EASY_DMA_SUPPORT 1
  4314. #endif
  4315. // <q> UART_LEGACY_SUPPORT - Driver supporting Legacy mode
  4316. #ifndef UART_LEGACY_SUPPORT
  4317. #define UART_LEGACY_SUPPORT 1
  4318. #endif
  4319. // <e> UART0_ENABLED - Enable UART0 instance
  4320. //==========================================================
  4321. #ifndef UART0_ENABLED
  4322. #define UART0_ENABLED 1
  4323. #endif
  4324. // <q> UART0_CONFIG_USE_EASY_DMA - Default setting for using EasyDMA
  4325. #ifndef UART0_CONFIG_USE_EASY_DMA
  4326. #define UART0_CONFIG_USE_EASY_DMA 1
  4327. #endif
  4328. // </e>
  4329. // <e> UART1_ENABLED - Enable UART1 instance
  4330. //==========================================================
  4331. #ifndef UART1_ENABLED
  4332. #define UART1_ENABLED 0
  4333. #endif
  4334. // </e>
  4335. // </e>
  4336. // <e> USBD_ENABLED - nrf_drv_usbd - Software Component
  4337. //==========================================================
  4338. #ifndef USBD_ENABLED
  4339. #define USBD_ENABLED 0
  4340. #endif
  4341. // <o> USBD_CONFIG_IRQ_PRIORITY - Interrupt priority
  4342. // <i> Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice
  4343. // <0=> 0 (highest)
  4344. // <1=> 1
  4345. // <2=> 2
  4346. // <3=> 3
  4347. // <4=> 4
  4348. // <5=> 5
  4349. // <6=> 6
  4350. // <7=> 7
  4351. #ifndef USBD_CONFIG_IRQ_PRIORITY
  4352. #define USBD_CONFIG_IRQ_PRIORITY 6
  4353. #endif
  4354. // <o> USBD_CONFIG_DMASCHEDULER_MODE - USBD SMA scheduler working scheme
  4355. // <0=> Prioritized access
  4356. // <1=> Round Robin
  4357. #ifndef USBD_CONFIG_DMASCHEDULER_MODE
  4358. #define USBD_CONFIG_DMASCHEDULER_MODE 0
  4359. #endif
  4360. // <q> USBD_CONFIG_DMASCHEDULER_ISO_BOOST - Give priority to isochronous transfers
  4361. // <i> This option gives priority to isochronous transfers.
  4362. // <i> Enabling it assures that isochronous transfers are always processed,
  4363. // <i> even if multiple other transfers are pending.
  4364. // <i> Isochronous endpoints are prioritized before the usbd_dma_scheduler_algorithm
  4365. // <i> function is called, so the option is independent of the algorithm chosen.
  4366. #ifndef USBD_CONFIG_DMASCHEDULER_ISO_BOOST
  4367. #define USBD_CONFIG_DMASCHEDULER_ISO_BOOST 1
  4368. #endif
  4369. // <q> USBD_CONFIG_ISO_IN_ZLP - Respond to an IN token on ISO IN endpoint with ZLP when no data is ready
  4370. // <i> If set, ISO IN endpoint will respond to an IN token with ZLP when no data is ready to be sent.
  4371. // <i> Else, there will be no response.
  4372. // <i> NOTE: This option does not work on Engineering A chip.
  4373. #ifndef USBD_CONFIG_ISO_IN_ZLP
  4374. #define USBD_CONFIG_ISO_IN_ZLP 0
  4375. #endif
  4376. // </e>
  4377. // <e> WDT_ENABLED - nrf_drv_wdt - WDT peripheral driver - legacy layer
  4378. //==========================================================
  4379. #ifndef WDT_ENABLED
  4380. #define WDT_ENABLED 0
  4381. #endif
  4382. // <o> WDT_CONFIG_BEHAVIOUR - WDT behavior in CPU SLEEP or HALT mode
  4383. // <1=> Run in SLEEP, Pause in HALT
  4384. // <8=> Pause in SLEEP, Run in HALT
  4385. // <9=> Run in SLEEP and HALT
  4386. // <0=> Pause in SLEEP and HALT
  4387. #ifndef WDT_CONFIG_BEHAVIOUR
  4388. #define WDT_CONFIG_BEHAVIOUR 1
  4389. #endif
  4390. // <o> WDT_CONFIG_RELOAD_VALUE - Reload value <15-4294967295>
  4391. #ifndef WDT_CONFIG_RELOAD_VALUE
  4392. #define WDT_CONFIG_RELOAD_VALUE 2000
  4393. #endif
  4394. // <o> WDT_CONFIG_IRQ_PRIORITY - Interrupt priority
  4395. // <i> Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice
  4396. // <0=> 0 (highest)
  4397. // <1=> 1
  4398. // <2=> 2
  4399. // <3=> 3
  4400. // <4=> 4
  4401. // <5=> 5
  4402. // <6=> 6
  4403. // <7=> 7
  4404. #ifndef WDT_CONFIG_IRQ_PRIORITY
  4405. #define WDT_CONFIG_IRQ_PRIORITY 6
  4406. #endif
  4407. // </e>
  4408. // <h> nrfx_qspi - QSPI peripheral driver
  4409. //==========================================================
  4410. // </h>
  4411. //==========================================================
  4412. // </h>
  4413. //==========================================================
  4414. // <h> nRF_Drivers_External
  4415. //==========================================================
  4416. // <q> NRF_TWI_SENSOR_ENABLED - nrf_twi_sensor - nRF TWI Sensor module
  4417. #ifndef NRF_TWI_SENSOR_ENABLED
  4418. #define NRF_TWI_SENSOR_ENABLED 0
  4419. #endif
  4420. // </h>
  4421. //==========================================================
  4422. // <h> nRF_Libraries
  4423. //==========================================================
  4424. // <q> APP_FIFO_ENABLED - app_fifo - Software FIFO implementation
  4425. #ifndef APP_FIFO_ENABLED
  4426. #define APP_FIFO_ENABLED 1
  4427. #endif
  4428. // <q> APP_GPIOTE_ENABLED - app_gpiote - GPIOTE events dispatcher
  4429. #ifndef APP_GPIOTE_ENABLED
  4430. #define APP_GPIOTE_ENABLED 0
  4431. #endif
  4432. // <q> APP_PWM_ENABLED - app_pwm - PWM functionality
  4433. #ifndef APP_PWM_ENABLED
  4434. #define APP_PWM_ENABLED 0
  4435. #endif
  4436. // <e> APP_SCHEDULER_ENABLED - app_scheduler - Events scheduler
  4437. //==========================================================
  4438. #ifndef APP_SCHEDULER_ENABLED
  4439. #define APP_SCHEDULER_ENABLED 1
  4440. #endif
  4441. // <q> APP_SCHEDULER_WITH_PAUSE - Enabling pause feature
  4442. #ifndef APP_SCHEDULER_WITH_PAUSE
  4443. #define APP_SCHEDULER_WITH_PAUSE 0
  4444. #endif
  4445. // <q> APP_SCHEDULER_WITH_PROFILER - Enabling scheduler profiling
  4446. #ifndef APP_SCHEDULER_WITH_PROFILER
  4447. #define APP_SCHEDULER_WITH_PROFILER 0
  4448. #endif
  4449. // </e>
  4450. // <e> APP_SDCARD_ENABLED - app_sdcard - SD/MMC card support using SPI
  4451. //==========================================================
  4452. #ifndef APP_SDCARD_ENABLED
  4453. #define APP_SDCARD_ENABLED 0
  4454. #endif
  4455. // <o> APP_SDCARD_SPI_INSTANCE - SPI instance used
  4456. // <0=> 0
  4457. // <1=> 1
  4458. // <2=> 2
  4459. #ifndef APP_SDCARD_SPI_INSTANCE
  4460. #define APP_SDCARD_SPI_INSTANCE 0
  4461. #endif
  4462. // <o> APP_SDCARD_FREQ_INIT - SPI frequency
  4463. // <33554432=> 125 kHz
  4464. // <67108864=> 250 kHz
  4465. // <134217728=> 500 kHz
  4466. // <268435456=> 1 MHz
  4467. // <536870912=> 2 MHz
  4468. // <1073741824=> 4 MHz
  4469. // <2147483648=> 8 MHz
  4470. #ifndef APP_SDCARD_FREQ_INIT
  4471. #define APP_SDCARD_FREQ_INIT 67108864
  4472. #endif
  4473. // <o> APP_SDCARD_FREQ_DATA - SPI frequency
  4474. // <33554432=> 125 kHz
  4475. // <67108864=> 250 kHz
  4476. // <134217728=> 500 kHz
  4477. // <268435456=> 1 MHz
  4478. // <536870912=> 2 MHz
  4479. // <1073741824=> 4 MHz
  4480. // <2147483648=> 8 MHz
  4481. #ifndef APP_SDCARD_FREQ_DATA
  4482. #define APP_SDCARD_FREQ_DATA 1073741824
  4483. #endif
  4484. // </e>
  4485. // <e> APP_TIMER_ENABLED - app_timer - Application timer functionality
  4486. //==========================================================
  4487. #ifndef APP_TIMER_ENABLED
  4488. #define APP_TIMER_ENABLED 1
  4489. #endif
  4490. // <o> APP_TIMER_CONFIG_RTC_FREQUENCY - Configure RTC prescaler.
  4491. // <0=> 32768 Hz
  4492. // <1=> 16384 Hz
  4493. // <3=> 8192 Hz
  4494. // <7=> 4096 Hz
  4495. // <15=> 2048 Hz
  4496. // <31=> 1024 Hz
  4497. #ifndef APP_TIMER_CONFIG_RTC_FREQUENCY
  4498. #define APP_TIMER_CONFIG_RTC_FREQUENCY 1
  4499. #endif
  4500. // <o> APP_TIMER_CONFIG_IRQ_PRIORITY - Interrupt priority
  4501. // <i> Priorities 0,2 (nRF51) and 0,1,4,5 (nRF52) are reserved for SoftDevice
  4502. // <0=> 0 (highest)
  4503. // <1=> 1
  4504. // <2=> 2
  4505. // <3=> 3
  4506. // <4=> 4
  4507. // <5=> 5
  4508. // <6=> 6
  4509. // <7=> 7
  4510. #ifndef APP_TIMER_CONFIG_IRQ_PRIORITY
  4511. #define APP_TIMER_CONFIG_IRQ_PRIORITY 6
  4512. #endif
  4513. // <o> APP_TIMER_CONFIG_OP_QUEUE_SIZE - Capacity of timer requests queue.
  4514. // <i> Size of the queue depends on how many timers are used
  4515. // <i> in the system, how often timers are started and overall
  4516. // <i> system latency. If queue size is too small app_timer calls
  4517. // <i> will fail.
  4518. #ifndef APP_TIMER_CONFIG_OP_QUEUE_SIZE
  4519. #define APP_TIMER_CONFIG_OP_QUEUE_SIZE 10
  4520. #endif
  4521. // <q> APP_TIMER_CONFIG_USE_SCHEDULER - Enable scheduling app_timer events to app_scheduler
  4522. #ifndef APP_TIMER_CONFIG_USE_SCHEDULER
  4523. #define APP_TIMER_CONFIG_USE_SCHEDULER 0
  4524. #endif
  4525. // <q> APP_TIMER_KEEPS_RTC_ACTIVE - Enable RTC always on
  4526. // <i> If option is enabled RTC is kept running even if there is no active timers.
  4527. // <i> This option can be used when app_timer is used for timestamping.
  4528. #ifndef APP_TIMER_KEEPS_RTC_ACTIVE
  4529. #define APP_TIMER_KEEPS_RTC_ACTIVE 0
  4530. #endif
  4531. // <o> APP_TIMER_SAFE_WINDOW_MS - Maximum possible latency (in milliseconds) of handling app_timer event.
  4532. // <i> Maximum possible timeout that can be set is reduced by safe window.
  4533. // <i> Example: RTC frequency 16384 Hz, maximum possible timeout 1024 seconds - APP_TIMER_SAFE_WINDOW_MS.
  4534. // <i> Since RTC is not stopped when processor is halted in debugging session, this value
  4535. // <i> must cover it if debugging is needed. It is possible to halt processor for APP_TIMER_SAFE_WINDOW_MS
  4536. // <i> without corrupting app_timer behavior.
  4537. #ifndef APP_TIMER_SAFE_WINDOW_MS
  4538. #define APP_TIMER_SAFE_WINDOW_MS 300000
  4539. #endif
  4540. // <h> App Timer Legacy configuration - Legacy configuration.
  4541. //==========================================================
  4542. // <q> APP_TIMER_WITH_PROFILER - Enable app_timer profiling
  4543. #ifndef APP_TIMER_WITH_PROFILER
  4544. #define APP_TIMER_WITH_PROFILER 0
  4545. #endif
  4546. // <q> APP_TIMER_CONFIG_SWI_NUMBER - Configure SWI instance used.
  4547. #ifndef APP_TIMER_CONFIG_SWI_NUMBER
  4548. #define APP_TIMER_CONFIG_SWI_NUMBER 0
  4549. #endif
  4550. // </h>
  4551. //==========================================================
  4552. // </e>
  4553. // <e> APP_UART_ENABLED - app_uart - UART driver
  4554. //==========================================================
  4555. #ifndef APP_UART_ENABLED
  4556. #define APP_UART_ENABLED 1
  4557. #endif
  4558. // <o> APP_UART_DRIVER_INSTANCE - UART instance used
  4559. // <0=> 0
  4560. #ifndef APP_UART_DRIVER_INSTANCE
  4561. #define APP_UART_DRIVER_INSTANCE 0
  4562. #endif
  4563. // </e>
  4564. // <q> APP_USBD_AUDIO_ENABLED - app_usbd_audio - USB AUDIO class
  4565. #ifndef APP_USBD_AUDIO_ENABLED
  4566. #define APP_USBD_AUDIO_ENABLED 0
  4567. #endif
  4568. // <e> APP_USBD_ENABLED - app_usbd - USB Device library
  4569. //==========================================================
  4570. #ifndef APP_USBD_ENABLED
  4571. #define APP_USBD_ENABLED 0
  4572. #endif
  4573. // <o> APP_USBD_VID - Vendor ID. <0x0000-0xFFFF>
  4574. // <i> Note: This value is not editable in Configuration Wizard.
  4575. // <i> Vendor ID ordered from USB IF: http://www.usb.org/developers/vendor/
  4576. #ifndef APP_USBD_VID
  4577. #define APP_USBD_VID 0
  4578. #endif
  4579. // <o> APP_USBD_PID - Product ID. <0x0000-0xFFFF>
  4580. // <i> Note: This value is not editable in Configuration Wizard.
  4581. // <i> Selected Product ID
  4582. #ifndef APP_USBD_PID
  4583. #define APP_USBD_PID 0
  4584. #endif
  4585. // <o> APP_USBD_DEVICE_VER_MAJOR - Major device version <0-99>
  4586. // <i> Major device version, will be converted automatically to BCD notation. Use just decimal values.
  4587. #ifndef APP_USBD_DEVICE_VER_MAJOR
  4588. #define APP_USBD_DEVICE_VER_MAJOR 1
  4589. #endif
  4590. // <o> APP_USBD_DEVICE_VER_MINOR - Minor device version <0-9>
  4591. // <i> Minor device version, will be converted automatically to BCD notation. Use just decimal values.
  4592. #ifndef APP_USBD_DEVICE_VER_MINOR
  4593. #define APP_USBD_DEVICE_VER_MINOR 0
  4594. #endif
  4595. // <o> APP_USBD_DEVICE_VER_SUB - Sub-minor device version <0-9>
  4596. // <i> Sub-minor device version, will be converted automatically to BCD notation. Use just decimal values.
  4597. #ifndef APP_USBD_DEVICE_VER_SUB
  4598. #define APP_USBD_DEVICE_VER_SUB 0
  4599. #endif
  4600. // <q> APP_USBD_CONFIG_SELF_POWERED - Self-powered device, as opposed to bus-powered.
  4601. #ifndef APP_USBD_CONFIG_SELF_POWERED
  4602. #define APP_USBD_CONFIG_SELF_POWERED 1
  4603. #endif
  4604. // <o> APP_USBD_CONFIG_MAX_POWER - MaxPower field in configuration descriptor in milliamps. <0-500>
  4605. #ifndef APP_USBD_CONFIG_MAX_POWER
  4606. #define APP_USBD_CONFIG_MAX_POWER 100
  4607. #endif
  4608. // <q> APP_USBD_CONFIG_POWER_EVENTS_PROCESS - Process power events.
  4609. // <i> Enable processing power events in USB event handler.
  4610. #ifndef APP_USBD_CONFIG_POWER_EVENTS_PROCESS
  4611. #define APP_USBD_CONFIG_POWER_EVENTS_PROCESS 1
  4612. #endif
  4613. // <e> APP_USBD_CONFIG_EVENT_QUEUE_ENABLE - Enable event queue.
  4614. // <i> This is the default configuration when all the events are placed into internal queue.
  4615. // <i> Disable it when an external queue is used like app_scheduler or if you wish to process all events inside interrupts.
  4616. // <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.
  4617. // <i> Functions that modify USBD state are functions for sleep, wakeup, start, stop, enable, and disable.
  4618. //==========================================================
  4619. #ifndef APP_USBD_CONFIG_EVENT_QUEUE_ENABLE
  4620. #define APP_USBD_CONFIG_EVENT_QUEUE_ENABLE 1
  4621. #endif
  4622. // <o> APP_USBD_CONFIG_EVENT_QUEUE_SIZE - The size of the event queue. <16-64>
  4623. // <i> The size of the queue for the events that would be processed in the main loop.
  4624. #ifndef APP_USBD_CONFIG_EVENT_QUEUE_SIZE
  4625. #define APP_USBD_CONFIG_EVENT_QUEUE_SIZE 32
  4626. #endif
  4627. // <o> APP_USBD_CONFIG_SOF_HANDLING_MODE - Change SOF events handling mode.
  4628. // <i> Normal queue - SOF events are pushed normally into the event queue.
  4629. // <i> Compress queue - SOF events are counted and binded with other events or executed when the queue is empty.
  4630. // <i> This prevents the queue from filling up with SOF events.
  4631. // <i> Interrupt - SOF events are processed in interrupt.
  4632. // <0=> Normal queue
  4633. // <1=> Compress queue
  4634. // <2=> Interrupt
  4635. #ifndef APP_USBD_CONFIG_SOF_HANDLING_MODE
  4636. #define APP_USBD_CONFIG_SOF_HANDLING_MODE 1
  4637. #endif
  4638. // </e>
  4639. // <q> APP_USBD_CONFIG_SOF_TIMESTAMP_PROVIDE - Provide a function that generates timestamps for logs based on the current SOF.
  4640. // <i> The function app_usbd_sof_timestamp_get is implemented if the logger is enabled.
  4641. // <i> Use it when initializing the logger.
  4642. // <i> SOF processing is always enabled when this configuration parameter is active.
  4643. // <i> Note: This option is configured outside of APP_USBD_CONFIG_LOG_ENABLED.
  4644. // <i> This means that it works even if the logging in this very module is disabled.
  4645. #ifndef APP_USBD_CONFIG_SOF_TIMESTAMP_PROVIDE
  4646. #define APP_USBD_CONFIG_SOF_TIMESTAMP_PROVIDE 0
  4647. #endif
  4648. // <o> APP_USBD_CONFIG_DESC_STRING_SIZE - Maximum size of the NULL-terminated string of the string descriptor. <31-254>
  4649. // <i> 31 characters can be stored in the internal USB buffer used for transfers.
  4650. // <i> Any value higher than 31 creates an additional buffer just for descriptor strings.
  4651. #ifndef APP_USBD_CONFIG_DESC_STRING_SIZE
  4652. #define APP_USBD_CONFIG_DESC_STRING_SIZE 31
  4653. #endif
  4654. // <q> APP_USBD_CONFIG_DESC_STRING_UTF_ENABLED - Enable UTF8 conversion.
  4655. // <i> Enable UTF8-encoded characters. In normal processing, only ASCII characters are available.
  4656. #ifndef APP_USBD_CONFIG_DESC_STRING_UTF_ENABLED
  4657. #define APP_USBD_CONFIG_DESC_STRING_UTF_ENABLED 0
  4658. #endif
  4659. // <s> APP_USBD_STRINGS_LANGIDS - Supported languages identifiers.
  4660. // <i> Note: This value is not editable in Configuration Wizard.
  4661. // <i> Comma-separated list of supported languages.
  4662. #ifndef APP_USBD_STRINGS_LANGIDS
  4663. #define APP_USBD_STRINGS_LANGIDS APP_USBD_LANG_AND_SUBLANG(APP_USBD_LANG_ENGLISH, APP_USBD_SUBLANG_ENGLISH_US)
  4664. #endif
  4665. // <e> APP_USBD_STRING_ID_MANUFACTURER - Define manufacturer string ID.
  4666. // <i> Setting ID to 0 disables the string.
  4667. //==========================================================
  4668. #ifndef APP_USBD_STRING_ID_MANUFACTURER
  4669. #define APP_USBD_STRING_ID_MANUFACTURER 1
  4670. #endif
  4671. // <q> APP_USBD_STRINGS_MANUFACTURER_EXTERN - Define whether @ref APP_USBD_STRINGS_MANUFACTURER is created by macro or declared as a global variable.
  4672. #ifndef APP_USBD_STRINGS_MANUFACTURER_EXTERN
  4673. #define APP_USBD_STRINGS_MANUFACTURER_EXTERN 0
  4674. #endif
  4675. // <s> APP_USBD_STRINGS_MANUFACTURER - String descriptor for the manufacturer name.
  4676. // <i> Note: This value is not editable in Configuration Wizard.
  4677. // <i> Comma-separated list of manufacturer names for each defined language.
  4678. // <i> Use @ref APP_USBD_STRING_DESC macro to create string descriptor from a NULL-terminated string.
  4679. // <i> Use @ref APP_USBD_STRING_RAW8_DESC macro to create string descriptor from comma-separated uint8_t values.
  4680. // <i> Use @ref APP_USBD_STRING_RAW16_DESC macro to create string descriptor from comma-separated uint16_t values.
  4681. // <i> Alternatively, configure the macro to point to any internal variable pointer that already contains the descriptor.
  4682. // <i> Setting string to NULL disables that string.
  4683. // <i> The order of manufacturer names must be the same like in @ref APP_USBD_STRINGS_LANGIDS.
  4684. #ifndef APP_USBD_STRINGS_MANUFACTURER
  4685. #define APP_USBD_STRINGS_MANUFACTURER APP_USBD_STRING_DESC("Nordic Semiconductor")
  4686. #endif
  4687. // </e>
  4688. // <e> APP_USBD_STRING_ID_PRODUCT - Define product string ID.
  4689. // <i> Setting ID to 0 disables the string.
  4690. //==========================================================
  4691. #ifndef APP_USBD_STRING_ID_PRODUCT
  4692. #define APP_USBD_STRING_ID_PRODUCT 2
  4693. #endif
  4694. // <q> APP_USBD_STRINGS_PRODUCT_EXTERN - Define whether @ref APP_USBD_STRINGS_PRODUCT is created by macro or declared as a global variable.
  4695. #ifndef APP_USBD_STRINGS_PRODUCT_EXTERN
  4696. #define APP_USBD_STRINGS_PRODUCT_EXTERN 0
  4697. #endif
  4698. // <s> APP_USBD_STRINGS_PRODUCT - String descriptor for the product name.
  4699. // <i> Note: This value is not editable in Configuration Wizard.
  4700. // <i> List of product names that is defined the same way like in @ref APP_USBD_STRINGS_MANUFACTURER.
  4701. #ifndef APP_USBD_STRINGS_PRODUCT
  4702. #define APP_USBD_STRINGS_PRODUCT APP_USBD_STRING_DESC("nRF52 USB Product")
  4703. #endif
  4704. // </e>
  4705. // <e> APP_USBD_STRING_ID_SERIAL - Define serial number string ID.
  4706. // <i> Setting ID to 0 disables the string.
  4707. //==========================================================
  4708. #ifndef APP_USBD_STRING_ID_SERIAL
  4709. #define APP_USBD_STRING_ID_SERIAL 3
  4710. #endif
  4711. // <q> APP_USBD_STRING_SERIAL_EXTERN - Define whether @ref APP_USBD_STRING_SERIAL is created by macro or declared as a global variable.
  4712. #ifndef APP_USBD_STRING_SERIAL_EXTERN
  4713. #define APP_USBD_STRING_SERIAL_EXTERN 0
  4714. #endif
  4715. // <s> APP_USBD_STRING_SERIAL - String descriptor for the serial number.
  4716. // <i> Note: This value is not editable in Configuration Wizard.
  4717. // <i> Serial number that is defined the same way like in @ref APP_USBD_STRINGS_MANUFACTURER.
  4718. #ifndef APP_USBD_STRING_SERIAL
  4719. #define APP_USBD_STRING_SERIAL APP_USBD_STRING_DESC("000000000000")
  4720. #endif
  4721. // </e>
  4722. // <e> APP_USBD_STRING_ID_CONFIGURATION - Define configuration string ID.
  4723. // <i> Setting ID to 0 disables the string.
  4724. //==========================================================
  4725. #ifndef APP_USBD_STRING_ID_CONFIGURATION
  4726. #define APP_USBD_STRING_ID_CONFIGURATION 4
  4727. #endif
  4728. // <q> APP_USBD_STRING_CONFIGURATION_EXTERN - Define whether @ref APP_USBD_STRINGS_CONFIGURATION is created by macro or declared as global variable.
  4729. #ifndef APP_USBD_STRING_CONFIGURATION_EXTERN
  4730. #define APP_USBD_STRING_CONFIGURATION_EXTERN 0
  4731. #endif
  4732. // <s> APP_USBD_STRINGS_CONFIGURATION - String descriptor for the device configuration.
  4733. // <i> Note: This value is not editable in Configuration Wizard.
  4734. // <i> Configuration string that is defined the same way like in @ref APP_USBD_STRINGS_MANUFACTURER.
  4735. #ifndef APP_USBD_STRINGS_CONFIGURATION
  4736. #define APP_USBD_STRINGS_CONFIGURATION APP_USBD_STRING_DESC("Default configuration")
  4737. #endif
  4738. // </e>
  4739. // <s> APP_USBD_STRINGS_USER - Default values for user strings.
  4740. // <i> Note: This value is not editable in Configuration Wizard.
  4741. // <i> This value stores all application specific user strings with the default initialization.
  4742. // <i> The setup is done by X-macros.
  4743. // <i> Expected macro parameters:
  4744. // <i> @code
  4745. // <i> X(mnemonic, [=str_idx], ...)
  4746. // <i> @endcode
  4747. // <i> - @c mnemonic: Mnemonic of the string descriptor that would be added to
  4748. // <i> @ref app_usbd_string_desc_idx_t enumerator.
  4749. // <i> - @c str_idx : String index value, can be set or left empty.
  4750. // <i> For example, WinUSB driver requires descriptor to be present on 0xEE index.
  4751. // <i> Then use X(USBD_STRING_WINUSB, =0xEE, (APP_USBD_STRING_DESC(...)))
  4752. // <i> - @c ... : List of string descriptors for each defined language.
  4753. #ifndef APP_USBD_STRINGS_USER
  4754. #define APP_USBD_STRINGS_USER X(APP_USER_1, , APP_USBD_STRING_DESC("User 1"))
  4755. #endif
  4756. // </e>
  4757. // <e> APP_USBD_HID_ENABLED - app_usbd_hid - USB HID class
  4758. //==========================================================
  4759. #ifndef APP_USBD_HID_ENABLED
  4760. #define APP_USBD_HID_ENABLED 0
  4761. #endif
  4762. // <o> APP_USBD_HID_DEFAULT_IDLE_RATE - Default idle rate for HID class. <0-255>
  4763. // <i> 0 means indefinite duration, any other value is multiplied by 4 milliseconds. Refer to Chapter 7.2.4 of HID 1.11 Specification.
  4764. #ifndef APP_USBD_HID_DEFAULT_IDLE_RATE
  4765. #define APP_USBD_HID_DEFAULT_IDLE_RATE 0
  4766. #endif
  4767. // <o> APP_USBD_HID_REPORT_IDLE_TABLE_SIZE - Size of idle rate table. <1-255>
  4768. // <i> Must be higher than the highest report ID used.
  4769. #ifndef APP_USBD_HID_REPORT_IDLE_TABLE_SIZE
  4770. #define APP_USBD_HID_REPORT_IDLE_TABLE_SIZE 4
  4771. #endif
  4772. // </e>
  4773. // <q> APP_USBD_HID_GENERIC_ENABLED - app_usbd_hid_generic - USB HID generic
  4774. #ifndef APP_USBD_HID_GENERIC_ENABLED
  4775. #define APP_USBD_HID_GENERIC_ENABLED 0
  4776. #endif
  4777. // <q> APP_USBD_HID_KBD_ENABLED - app_usbd_hid_kbd - USB HID keyboard
  4778. #ifndef APP_USBD_HID_KBD_ENABLED
  4779. #define APP_USBD_HID_KBD_ENABLED 0
  4780. #endif
  4781. // <q> APP_USBD_HID_MOUSE_ENABLED - app_usbd_hid_mouse - USB HID mouse
  4782. #ifndef APP_USBD_HID_MOUSE_ENABLED
  4783. #define APP_USBD_HID_MOUSE_ENABLED 0
  4784. #endif
  4785. // <q> APP_USBD_MSC_ENABLED - app_usbd_msc - USB MSC class
  4786. #ifndef APP_USBD_MSC_ENABLED
  4787. #define APP_USBD_MSC_ENABLED 0
  4788. #endif
  4789. // <q> CRC16_ENABLED - crc16 - CRC16 calculation routines
  4790. #ifndef CRC16_ENABLED
  4791. #define CRC16_ENABLED 0
  4792. #endif
  4793. // <q> CRC32_ENABLED - crc32 - CRC32 calculation routines
  4794. #ifndef CRC32_ENABLED
  4795. #define CRC32_ENABLED 0
  4796. #endif
  4797. // <q> ECC_ENABLED - ecc - Elliptic Curve Cryptography Library
  4798. #ifndef ECC_ENABLED
  4799. #define ECC_ENABLED 0
  4800. #endif
  4801. // <e> FDS_ENABLED - fds - Flash data storage module
  4802. //==========================================================
  4803. #ifndef FDS_ENABLED
  4804. #define FDS_ENABLED 0
  4805. #endif
  4806. // <h> Pages - Virtual page settings
  4807. // <i> Configure the number of virtual pages to use and their size.
  4808. //==========================================================
  4809. // <o> FDS_VIRTUAL_PAGES - Number of virtual flash pages to use.
  4810. // <i> One of the virtual pages is reserved by the system for garbage collection.
  4811. // <i> Therefore, the minimum is two virtual pages: one page to store data and one page to be used by the system for garbage collection.
  4812. // <i> The total amount of flash memory that is used by FDS amounts to @ref FDS_VIRTUAL_PAGES * @ref FDS_VIRTUAL_PAGE_SIZE * 4 bytes.
  4813. #ifndef FDS_VIRTUAL_PAGES
  4814. #define FDS_VIRTUAL_PAGES 3
  4815. #endif
  4816. // <o> FDS_VIRTUAL_PAGE_SIZE - The size of a virtual flash page.
  4817. // <i> Expressed in number of 4-byte words.
  4818. // <i> By default, a virtual page is the same size as a physical page.
  4819. // <i> The size of a virtual page must be a multiple of the size of a physical page.
  4820. // <1024=> 1024
  4821. // <2048=> 2048
  4822. #ifndef FDS_VIRTUAL_PAGE_SIZE
  4823. #define FDS_VIRTUAL_PAGE_SIZE 1024
  4824. #endif
  4825. // <o> FDS_VIRTUAL_PAGES_RESERVED - The number of virtual flash pages that are used by other modules.
  4826. // <i> FDS module stores its data in the last pages of the flash memory.
  4827. // <i> By setting this value, you can move flash end address used by the FDS.
  4828. // <i> As a result the reserved space can be used by other modules.
  4829. #ifndef FDS_VIRTUAL_PAGES_RESERVED
  4830. #define FDS_VIRTUAL_PAGES_RESERVED 0
  4831. #endif
  4832. // </h>
  4833. //==========================================================
  4834. // <h> Backend - Backend configuration
  4835. // <i> Configure which nrf_fstorage backend is used by FDS to write to flash.
  4836. //==========================================================
  4837. // <o> FDS_BACKEND - FDS flash backend.
  4838. // <i> NRF_FSTORAGE_SD uses the nrf_fstorage_sd backend implementation using the SoftDevice API. Use this if you have a SoftDevice present.
  4839. // <i> NRF_FSTORAGE_NVMC uses the nrf_fstorage_nvmc implementation. Use this setting if you don't use the SoftDevice.
  4840. // <1=> NRF_FSTORAGE_NVMC
  4841. // <2=> NRF_FSTORAGE_SD
  4842. #ifndef FDS_BACKEND
  4843. #define FDS_BACKEND 2
  4844. #endif
  4845. // </h>
  4846. //==========================================================
  4847. // <h> Queue - Queue settings
  4848. //==========================================================
  4849. // <o> FDS_OP_QUEUE_SIZE - Size of the internal queue.
  4850. // <i> Increase this value if you frequently get synchronous FDS_ERR_NO_SPACE_IN_QUEUES errors.
  4851. #ifndef FDS_OP_QUEUE_SIZE
  4852. #define FDS_OP_QUEUE_SIZE 4
  4853. #endif
  4854. // </h>
  4855. //==========================================================
  4856. // <h> CRC - CRC functionality
  4857. //==========================================================
  4858. // <e> FDS_CRC_CHECK_ON_READ - Enable CRC checks.
  4859. // <i> Save a record's CRC when it is written to flash and check it when the record is opened.
  4860. // <i> Records with an incorrect CRC can still be 'seen' by the user using FDS functions, but they cannot be opened.
  4861. // <i> Additionally, they will not be garbage collected until they are deleted.
  4862. //==========================================================
  4863. #ifndef FDS_CRC_CHECK_ON_READ
  4864. #define FDS_CRC_CHECK_ON_READ 0
  4865. #endif
  4866. // <o> FDS_CRC_CHECK_ON_WRITE - Perform a CRC check on newly written records.
  4867. // <i> Perform a CRC check on newly written records.
  4868. // <i> This setting can be used to make sure that the record data was not altered while being written to flash.
  4869. // <1=> Enabled
  4870. // <0=> Disabled
  4871. #ifndef FDS_CRC_CHECK_ON_WRITE
  4872. #define FDS_CRC_CHECK_ON_WRITE 0
  4873. #endif
  4874. // </e>
  4875. // </h>
  4876. //==========================================================
  4877. // <h> Users - Number of users
  4878. //==========================================================
  4879. // <o> FDS_MAX_USERS - Maximum number of callbacks that can be registered.
  4880. #ifndef FDS_MAX_USERS
  4881. #define FDS_MAX_USERS 4
  4882. #endif
  4883. // </h>
  4884. //==========================================================
  4885. // </e>
  4886. // <q> HARDFAULT_HANDLER_ENABLED - hardfault_default - HardFault default handler for debugging and release
  4887. #ifndef HARDFAULT_HANDLER_ENABLED
  4888. #define HARDFAULT_HANDLER_ENABLED 0
  4889. #endif
  4890. // <e> HCI_MEM_POOL_ENABLED - hci_mem_pool - memory pool implementation used by HCI
  4891. //==========================================================
  4892. #ifndef HCI_MEM_POOL_ENABLED
  4893. #define HCI_MEM_POOL_ENABLED 0
  4894. #endif
  4895. // <o> HCI_TX_BUF_SIZE - TX buffer size in bytes.
  4896. #ifndef HCI_TX_BUF_SIZE
  4897. #define HCI_TX_BUF_SIZE 600
  4898. #endif
  4899. // <o> HCI_RX_BUF_SIZE - RX buffer size in bytes.
  4900. #ifndef HCI_RX_BUF_SIZE
  4901. #define HCI_RX_BUF_SIZE 600
  4902. #endif
  4903. // <o> HCI_RX_BUF_QUEUE_SIZE - RX buffer queue size.
  4904. #ifndef HCI_RX_BUF_QUEUE_SIZE
  4905. #define HCI_RX_BUF_QUEUE_SIZE 4
  4906. #endif
  4907. // </e>
  4908. // <e> HCI_SLIP_ENABLED - hci_slip - SLIP protocol implementation used by HCI
  4909. //==========================================================
  4910. #ifndef HCI_SLIP_ENABLED
  4911. #define HCI_SLIP_ENABLED 0
  4912. #endif
  4913. // <o> HCI_UART_BAUDRATE - Default Baudrate
  4914. // <323584=> 1200 baud
  4915. // <643072=> 2400 baud
  4916. // <1290240=> 4800 baud
  4917. // <2576384=> 9600 baud
  4918. // <3862528=> 14400 baud
  4919. // <5152768=> 19200 baud
  4920. // <7716864=> 28800 baud
  4921. // <10289152=> 38400 baud
  4922. // <15400960=> 57600 baud
  4923. // <20615168=> 76800 baud
  4924. // <30801920=> 115200 baud
  4925. // <61865984=> 230400 baud
  4926. // <67108864=> 250000 baud
  4927. // <121634816=> 460800 baud
  4928. // <251658240=> 921600 baud
  4929. // <268435456=> 1000000 baud
  4930. #ifndef HCI_UART_BAUDRATE
  4931. #define HCI_UART_BAUDRATE 30801920
  4932. #endif
  4933. // <o> HCI_UART_FLOW_CONTROL - Hardware Flow Control
  4934. // <0=> Disabled
  4935. // <1=> Enabled
  4936. #ifndef HCI_UART_FLOW_CONTROL
  4937. #define HCI_UART_FLOW_CONTROL 0
  4938. #endif
  4939. // <o> HCI_UART_RX_PIN - UART RX pin
  4940. #ifndef HCI_UART_RX_PIN
  4941. #define HCI_UART_RX_PIN 8
  4942. #endif
  4943. // <o> HCI_UART_TX_PIN - UART TX pin
  4944. #ifndef HCI_UART_TX_PIN
  4945. #define HCI_UART_TX_PIN 6
  4946. #endif
  4947. // <o> HCI_UART_RTS_PIN - UART RTS pin
  4948. #ifndef HCI_UART_RTS_PIN
  4949. #define HCI_UART_RTS_PIN 5
  4950. #endif
  4951. // <o> HCI_UART_CTS_PIN - UART CTS pin
  4952. #ifndef HCI_UART_CTS_PIN
  4953. #define HCI_UART_CTS_PIN 7
  4954. #endif
  4955. // </e>
  4956. // <e> HCI_TRANSPORT_ENABLED - hci_transport - HCI transport
  4957. //==========================================================
  4958. #ifndef HCI_TRANSPORT_ENABLED
  4959. #define HCI_TRANSPORT_ENABLED 0
  4960. #endif
  4961. // <o> HCI_MAX_PACKET_SIZE_IN_BITS - Maximum size of a single application packet in bits.
  4962. #ifndef HCI_MAX_PACKET_SIZE_IN_BITS
  4963. #define HCI_MAX_PACKET_SIZE_IN_BITS 8000
  4964. #endif
  4965. // </e>
  4966. // <q> LED_SOFTBLINK_ENABLED - led_softblink - led_softblink module
  4967. #ifndef LED_SOFTBLINK_ENABLED
  4968. #define LED_SOFTBLINK_ENABLED 0
  4969. #endif
  4970. // <q> LOW_POWER_PWM_ENABLED - low_power_pwm - low_power_pwm module
  4971. #ifndef LOW_POWER_PWM_ENABLED
  4972. #define LOW_POWER_PWM_ENABLED 0
  4973. #endif
  4974. // <e> MEM_MANAGER_ENABLED - mem_manager - Dynamic memory allocator
  4975. //==========================================================
  4976. #ifndef MEM_MANAGER_ENABLED
  4977. #define MEM_MANAGER_ENABLED 0
  4978. #endif
  4979. // <o> MEMORY_MANAGER_SMALL_BLOCK_COUNT - Size of each memory blocks identified as 'small' block. <0-255>
  4980. #ifndef MEMORY_MANAGER_SMALL_BLOCK_COUNT
  4981. #define MEMORY_MANAGER_SMALL_BLOCK_COUNT 1
  4982. #endif
  4983. // <o> MEMORY_MANAGER_SMALL_BLOCK_SIZE - Size of each memory blocks identified as 'small' block.
  4984. // <i> Size of each memory blocks identified as 'small' block. Memory block are recommended to be word-sized.
  4985. #ifndef MEMORY_MANAGER_SMALL_BLOCK_SIZE
  4986. #define MEMORY_MANAGER_SMALL_BLOCK_SIZE 32
  4987. #endif
  4988. // <o> MEMORY_MANAGER_MEDIUM_BLOCK_COUNT - Size of each memory blocks identified as 'medium' block. <0-255>
  4989. #ifndef MEMORY_MANAGER_MEDIUM_BLOCK_COUNT
  4990. #define MEMORY_MANAGER_MEDIUM_BLOCK_COUNT 0
  4991. #endif
  4992. // <o> MEMORY_MANAGER_MEDIUM_BLOCK_SIZE - Size of each memory blocks identified as 'medium' block.
  4993. // <i> Size of each memory blocks identified as 'medium' block. Memory block are recommended to be word-sized.
  4994. #ifndef MEMORY_MANAGER_MEDIUM_BLOCK_SIZE
  4995. #define MEMORY_MANAGER_MEDIUM_BLOCK_SIZE 256
  4996. #endif
  4997. // <o> MEMORY_MANAGER_LARGE_BLOCK_COUNT - Size of each memory blocks identified as 'large' block. <0-255>
  4998. #ifndef MEMORY_MANAGER_LARGE_BLOCK_COUNT
  4999. #define MEMORY_MANAGER_LARGE_BLOCK_COUNT 0
  5000. #endif
  5001. // <o> MEMORY_MANAGER_LARGE_BLOCK_SIZE - Size of each memory blocks identified as 'large' block.
  5002. // <i> Size of each memory blocks identified as 'large' block. Memory block are recommended to be word-sized.
  5003. #ifndef MEMORY_MANAGER_LARGE_BLOCK_SIZE
  5004. #define MEMORY_MANAGER_LARGE_BLOCK_SIZE 256
  5005. #endif
  5006. // <o> MEMORY_MANAGER_XLARGE_BLOCK_COUNT - Size of each memory blocks identified as 'extra large' block. <0-255>
  5007. #ifndef MEMORY_MANAGER_XLARGE_BLOCK_COUNT
  5008. #define MEMORY_MANAGER_XLARGE_BLOCK_COUNT 0
  5009. #endif
  5010. // <o> MEMORY_MANAGER_XLARGE_BLOCK_SIZE - Size of each memory blocks identified as 'extra large' block.
  5011. // <i> Size of each memory blocks identified as 'extra large' block. Memory block are recommended to be word-sized.
  5012. #ifndef MEMORY_MANAGER_XLARGE_BLOCK_SIZE
  5013. #define MEMORY_MANAGER_XLARGE_BLOCK_SIZE 1320
  5014. #endif
  5015. // <o> MEMORY_MANAGER_XXLARGE_BLOCK_COUNT - Size of each memory blocks identified as 'extra extra large' block. <0-255>
  5016. #ifndef MEMORY_MANAGER_XXLARGE_BLOCK_COUNT
  5017. #define MEMORY_MANAGER_XXLARGE_BLOCK_COUNT 0
  5018. #endif
  5019. // <o> MEMORY_MANAGER_XXLARGE_BLOCK_SIZE - Size of each memory blocks identified as 'extra extra large' block.
  5020. // <i> Size of each memory blocks identified as 'extra extra large' block. Memory block are recommended to be word-sized.
  5021. #ifndef MEMORY_MANAGER_XXLARGE_BLOCK_SIZE
  5022. #define MEMORY_MANAGER_XXLARGE_BLOCK_SIZE 3444
  5023. #endif
  5024. // <o> MEMORY_MANAGER_XSMALL_BLOCK_COUNT - Size of each memory blocks identified as 'extra small' block. <0-255>
  5025. #ifndef MEMORY_MANAGER_XSMALL_BLOCK_COUNT
  5026. #define MEMORY_MANAGER_XSMALL_BLOCK_COUNT 0
  5027. #endif
  5028. // <o> MEMORY_MANAGER_XSMALL_BLOCK_SIZE - Size of each memory blocks identified as 'extra small' block.
  5029. // <i> Size of each memory blocks identified as 'extra large' block. Memory block are recommended to be word-sized.
  5030. #ifndef MEMORY_MANAGER_XSMALL_BLOCK_SIZE
  5031. #define MEMORY_MANAGER_XSMALL_BLOCK_SIZE 64
  5032. #endif
  5033. // <o> MEMORY_MANAGER_XXSMALL_BLOCK_COUNT - Size of each memory blocks identified as 'extra extra small' block. <0-255>
  5034. #ifndef MEMORY_MANAGER_XXSMALL_BLOCK_COUNT
  5035. #define MEMORY_MANAGER_XXSMALL_BLOCK_COUNT 0
  5036. #endif
  5037. // <o> MEMORY_MANAGER_XXSMALL_BLOCK_SIZE - Size of each memory blocks identified as 'extra extra small' block.
  5038. // <i> Size of each memory blocks identified as 'extra extra small' block. Memory block are recommended to be word-sized.
  5039. #ifndef MEMORY_MANAGER_XXSMALL_BLOCK_SIZE
  5040. #define MEMORY_MANAGER_XXSMALL_BLOCK_SIZE 32
  5041. #endif
  5042. // <e> MEM_MANAGER_CONFIG_LOG_ENABLED - Enables logging in the module.
  5043. //==========================================================
  5044. #ifndef MEM_MANAGER_CONFIG_LOG_ENABLED
  5045. #define MEM_MANAGER_CONFIG_LOG_ENABLED 0
  5046. #endif
  5047. // <o> MEM_MANAGER_CONFIG_LOG_LEVEL - Default Severity level
  5048. // <0=> Off
  5049. // <1=> Error
  5050. // <2=> Warning
  5051. // <3=> Info
  5052. // <4=> Debug
  5053. #ifndef MEM_MANAGER_CONFIG_LOG_LEVEL
  5054. #define MEM_MANAGER_CONFIG_LOG_LEVEL 3
  5055. #endif
  5056. // <o> MEM_MANAGER_CONFIG_INFO_COLOR - ANSI escape code prefix.
  5057. // <0=> Default
  5058. // <1=> Black
  5059. // <2=> Red
  5060. // <3=> Green
  5061. // <4=> Yellow
  5062. // <5=> Blue
  5063. // <6=> Magenta
  5064. // <7=> Cyan
  5065. // <8=> White
  5066. #ifndef MEM_MANAGER_CONFIG_INFO_COLOR
  5067. #define MEM_MANAGER_CONFIG_INFO_COLOR 0
  5068. #endif
  5069. // <o> MEM_MANAGER_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  5070. // <0=> Default
  5071. // <1=> Black
  5072. // <2=> Red
  5073. // <3=> Green
  5074. // <4=> Yellow
  5075. // <5=> Blue
  5076. // <6=> Magenta
  5077. // <7=> Cyan
  5078. // <8=> White
  5079. #ifndef MEM_MANAGER_CONFIG_DEBUG_COLOR
  5080. #define MEM_MANAGER_CONFIG_DEBUG_COLOR 0
  5081. #endif
  5082. // </e>
  5083. // <q> MEM_MANAGER_DISABLE_API_PARAM_CHECK - Disable API parameter checks in the module.
  5084. #ifndef MEM_MANAGER_DISABLE_API_PARAM_CHECK
  5085. #define MEM_MANAGER_DISABLE_API_PARAM_CHECK 0
  5086. #endif
  5087. // </e>
  5088. // <e> NRF_BALLOC_ENABLED - nrf_balloc - Block allocator module
  5089. //==========================================================
  5090. #ifndef NRF_BALLOC_ENABLED
  5091. #define NRF_BALLOC_ENABLED 1
  5092. #endif
  5093. // <e> NRF_BALLOC_CONFIG_DEBUG_ENABLED - Enables debug mode in the module.
  5094. //==========================================================
  5095. #ifndef NRF_BALLOC_CONFIG_DEBUG_ENABLED
  5096. #define NRF_BALLOC_CONFIG_DEBUG_ENABLED 0
  5097. #endif
  5098. // <o> NRF_BALLOC_CONFIG_HEAD_GUARD_WORDS - Number of words used as head guard. <0-255>
  5099. #ifndef NRF_BALLOC_CONFIG_HEAD_GUARD_WORDS
  5100. #define NRF_BALLOC_CONFIG_HEAD_GUARD_WORDS 1
  5101. #endif
  5102. // <o> NRF_BALLOC_CONFIG_TAIL_GUARD_WORDS - Number of words used as tail guard. <0-255>
  5103. #ifndef NRF_BALLOC_CONFIG_TAIL_GUARD_WORDS
  5104. #define NRF_BALLOC_CONFIG_TAIL_GUARD_WORDS 1
  5105. #endif
  5106. // <q> NRF_BALLOC_CONFIG_BASIC_CHECKS_ENABLED - Enables basic checks in this module.
  5107. #ifndef NRF_BALLOC_CONFIG_BASIC_CHECKS_ENABLED
  5108. #define NRF_BALLOC_CONFIG_BASIC_CHECKS_ENABLED 0
  5109. #endif
  5110. // <q> NRF_BALLOC_CONFIG_DOUBLE_FREE_CHECK_ENABLED - Enables double memory free check in this module.
  5111. #ifndef NRF_BALLOC_CONFIG_DOUBLE_FREE_CHECK_ENABLED
  5112. #define NRF_BALLOC_CONFIG_DOUBLE_FREE_CHECK_ENABLED 0
  5113. #endif
  5114. // <q> NRF_BALLOC_CONFIG_DATA_TRASHING_CHECK_ENABLED - Enables free memory corruption check in this module.
  5115. #ifndef NRF_BALLOC_CONFIG_DATA_TRASHING_CHECK_ENABLED
  5116. #define NRF_BALLOC_CONFIG_DATA_TRASHING_CHECK_ENABLED 0
  5117. #endif
  5118. // <q> NRF_BALLOC_CLI_CMDS - Enable CLI commands specific to the module
  5119. #ifndef NRF_BALLOC_CLI_CMDS
  5120. #define NRF_BALLOC_CLI_CMDS 0
  5121. #endif
  5122. // </e>
  5123. // </e>
  5124. // <e> NRF_CSENSE_ENABLED - nrf_csense - Capacitive sensor module
  5125. //==========================================================
  5126. #ifndef NRF_CSENSE_ENABLED
  5127. #define NRF_CSENSE_ENABLED 0
  5128. #endif
  5129. // <o> NRF_CSENSE_PAD_HYSTERESIS - Minimum value of change required to determine that a pad was touched.
  5130. #ifndef NRF_CSENSE_PAD_HYSTERESIS
  5131. #define NRF_CSENSE_PAD_HYSTERESIS 15
  5132. #endif
  5133. // <o> NRF_CSENSE_PAD_DEVIATION - Minimum value measured on a pad required to take it into account while calculating the step.
  5134. #ifndef NRF_CSENSE_PAD_DEVIATION
  5135. #define NRF_CSENSE_PAD_DEVIATION 70
  5136. #endif
  5137. // <o> NRF_CSENSE_MIN_PAD_VALUE - Minimum normalized value on a pad required to take its value into account.
  5138. #ifndef NRF_CSENSE_MIN_PAD_VALUE
  5139. #define NRF_CSENSE_MIN_PAD_VALUE 20
  5140. #endif
  5141. // <o> NRF_CSENSE_MAX_PADS_NUMBER - Maximum number of pads used for one instance.
  5142. #ifndef NRF_CSENSE_MAX_PADS_NUMBER
  5143. #define NRF_CSENSE_MAX_PADS_NUMBER 20
  5144. #endif
  5145. // <o> NRF_CSENSE_MAX_VALUE - Maximum normalized value obtained from measurement.
  5146. #ifndef NRF_CSENSE_MAX_VALUE
  5147. #define NRF_CSENSE_MAX_VALUE 1000
  5148. #endif
  5149. // <o> NRF_CSENSE_OUTPUT_PIN - Output pin used by the low-level module.
  5150. // <i> This is used when capacitive sensor does not use COMP.
  5151. #ifndef NRF_CSENSE_OUTPUT_PIN
  5152. #define NRF_CSENSE_OUTPUT_PIN 26
  5153. #endif
  5154. // </e>
  5155. // <e> NRF_DRV_CSENSE_ENABLED - nrf_drv_csense - Capacitive sensor low-level module
  5156. //==========================================================
  5157. #ifndef NRF_DRV_CSENSE_ENABLED
  5158. #define NRF_DRV_CSENSE_ENABLED 0
  5159. #endif
  5160. // <e> USE_COMP - Use the comparator to implement the capacitive sensor driver.
  5161. // <i> Due to Anomaly 84, COMP I_SOURCE is not functional. It has too high a varation.
  5162. //==========================================================
  5163. #ifndef USE_COMP
  5164. #define USE_COMP 0
  5165. #endif
  5166. // <o> TIMER0_FOR_CSENSE - First TIMER instance used by the driver (not used on nRF51).
  5167. #ifndef TIMER0_FOR_CSENSE
  5168. #define TIMER0_FOR_CSENSE 1
  5169. #endif
  5170. // <o> TIMER1_FOR_CSENSE - Second TIMER instance used by the driver (not used on nRF51).
  5171. #ifndef TIMER1_FOR_CSENSE
  5172. #define TIMER1_FOR_CSENSE 2
  5173. #endif
  5174. // <o> MEASUREMENT_PERIOD - Single measurement period.
  5175. // <i> Time of a single measurement can be calculated as
  5176. // <i> T = (1/2)*MEASUREMENT_PERIOD*(1/f_OSC) where f_OSC = I_SOURCE / (2C*(VUP-VDOWN) ).
  5177. // <i> I_SOURCE, VUP, and VDOWN are values used to initialize COMP and C is the capacitance of the used pad.
  5178. #ifndef MEASUREMENT_PERIOD
  5179. #define MEASUREMENT_PERIOD 20
  5180. #endif
  5181. // </e>
  5182. // </e>
  5183. // <e> NRF_FSTORAGE_ENABLED - nrf_fstorage - Flash abstraction library
  5184. //==========================================================
  5185. #ifndef NRF_FSTORAGE_ENABLED
  5186. #define NRF_FSTORAGE_ENABLED 0
  5187. #endif
  5188. // <h> nrf_fstorage - Common settings
  5189. // <i> Common settings to all fstorage implementations
  5190. //==========================================================
  5191. // <q> NRF_FSTORAGE_PARAM_CHECK_DISABLED - Disable user input validation
  5192. // <i> If selected, use ASSERT to validate user input.
  5193. // <i> This effectively removes user input validation in production code.
  5194. // <i> Recommended setting: OFF, only enable this setting if size is a major concern.
  5195. #ifndef NRF_FSTORAGE_PARAM_CHECK_DISABLED
  5196. #define NRF_FSTORAGE_PARAM_CHECK_DISABLED 0
  5197. #endif
  5198. // </h>
  5199. //==========================================================
  5200. // <h> nrf_fstorage_sd - Implementation using the SoftDevice
  5201. // <i> Configuration options for the fstorage implementation using the SoftDevice
  5202. //==========================================================
  5203. // <o> NRF_FSTORAGE_SD_QUEUE_SIZE - Size of the internal queue of operations
  5204. // <i> Increase this value if API calls frequently return the error @ref NRF_ERROR_NO_MEM.
  5205. #ifndef NRF_FSTORAGE_SD_QUEUE_SIZE
  5206. #define NRF_FSTORAGE_SD_QUEUE_SIZE 4
  5207. #endif
  5208. // <o> NRF_FSTORAGE_SD_MAX_RETRIES - Maximum number of attempts at executing an operation when the SoftDevice is busy
  5209. // <i> Increase this value if events frequently return the @ref NRF_ERROR_TIMEOUT error.
  5210. // <i> The SoftDevice might fail to schedule flash access due to high BLE activity.
  5211. #ifndef NRF_FSTORAGE_SD_MAX_RETRIES
  5212. #define NRF_FSTORAGE_SD_MAX_RETRIES 8
  5213. #endif
  5214. // <o> NRF_FSTORAGE_SD_MAX_WRITE_SIZE - Maximum number of bytes to be written to flash in a single operation
  5215. // <i> This value must be a multiple of four.
  5216. // <i> Lowering this value can increase the chances of the SoftDevice being able to execute flash operations in between radio activity.
  5217. // <i> This value is bound by the maximum number of bytes that can be written to flash in a single call to @ref sd_flash_write.
  5218. // <i> That is 1024 bytes for nRF51 ICs and 4096 bytes for nRF52 ICs.
  5219. #ifndef NRF_FSTORAGE_SD_MAX_WRITE_SIZE
  5220. #define NRF_FSTORAGE_SD_MAX_WRITE_SIZE 4096
  5221. #endif
  5222. // </h>
  5223. //==========================================================
  5224. // </e>
  5225. // <q> NRF_GFX_ENABLED - nrf_gfx - GFX module
  5226. #ifndef NRF_GFX_ENABLED
  5227. #define NRF_GFX_ENABLED 0
  5228. #endif
  5229. // <q> NRF_MEMOBJ_ENABLED - nrf_memobj - Linked memory allocator module
  5230. #ifndef NRF_MEMOBJ_ENABLED
  5231. #define NRF_MEMOBJ_ENABLED 1
  5232. #endif
  5233. // <e> NRF_PWR_MGMT_ENABLED - nrf_pwr_mgmt - Power management module
  5234. //==========================================================
  5235. #ifndef NRF_PWR_MGMT_ENABLED
  5236. #define NRF_PWR_MGMT_ENABLED 1
  5237. #endif
  5238. // <e> NRF_PWR_MGMT_CONFIG_DEBUG_PIN_ENABLED - Enables pin debug in the module.
  5239. // <i> Selected pin will be set when CPU is in sleep mode.
  5240. //==========================================================
  5241. #ifndef NRF_PWR_MGMT_CONFIG_DEBUG_PIN_ENABLED
  5242. #define NRF_PWR_MGMT_CONFIG_DEBUG_PIN_ENABLED 0
  5243. #endif
  5244. // <o> NRF_PWR_MGMT_SLEEP_DEBUG_PIN - Pin number
  5245. // <0=> 0 (P0.0)
  5246. // <1=> 1 (P0.1)
  5247. // <2=> 2 (P0.2)
  5248. // <3=> 3 (P0.3)
  5249. // <4=> 4 (P0.4)
  5250. // <5=> 5 (P0.5)
  5251. // <6=> 6 (P0.6)
  5252. // <7=> 7 (P0.7)
  5253. // <8=> 8 (P0.8)
  5254. // <9=> 9 (P0.9)
  5255. // <10=> 10 (P0.10)
  5256. // <11=> 11 (P0.11)
  5257. // <12=> 12 (P0.12)
  5258. // <13=> 13 (P0.13)
  5259. // <14=> 14 (P0.14)
  5260. // <15=> 15 (P0.15)
  5261. // <16=> 16 (P0.16)
  5262. // <17=> 17 (P0.17)
  5263. // <18=> 18 (P0.18)
  5264. // <19=> 19 (P0.19)
  5265. // <20=> 20 (P0.20)
  5266. // <21=> 21 (P0.21)
  5267. // <22=> 22 (P0.22)
  5268. // <23=> 23 (P0.23)
  5269. // <24=> 24 (P0.24)
  5270. // <25=> 25 (P0.25)
  5271. // <26=> 26 (P0.26)
  5272. // <27=> 27 (P0.27)
  5273. // <28=> 28 (P0.28)
  5274. // <29=> 29 (P0.29)
  5275. // <30=> 30 (P0.30)
  5276. // <31=> 31 (P0.31)
  5277. // <32=> 32 (P1.0)
  5278. // <33=> 33 (P1.1)
  5279. // <34=> 34 (P1.2)
  5280. // <35=> 35 (P1.3)
  5281. // <36=> 36 (P1.4)
  5282. // <37=> 37 (P1.5)
  5283. // <38=> 38 (P1.6)
  5284. // <39=> 39 (P1.7)
  5285. // <40=> 40 (P1.8)
  5286. // <41=> 41 (P1.9)
  5287. // <42=> 42 (P1.10)
  5288. // <43=> 43 (P1.11)
  5289. // <44=> 44 (P1.12)
  5290. // <45=> 45 (P1.13)
  5291. // <46=> 46 (P1.14)
  5292. // <47=> 47 (P1.15)
  5293. // <4294967295=> Not connected
  5294. #ifndef NRF_PWR_MGMT_SLEEP_DEBUG_PIN
  5295. #define NRF_PWR_MGMT_SLEEP_DEBUG_PIN 31
  5296. #endif
  5297. // </e>
  5298. // <q> NRF_PWR_MGMT_CONFIG_CPU_USAGE_MONITOR_ENABLED - Enables CPU usage monitor.
  5299. // <i> Module will trace percentage of CPU usage in one second intervals.
  5300. #ifndef NRF_PWR_MGMT_CONFIG_CPU_USAGE_MONITOR_ENABLED
  5301. #define NRF_PWR_MGMT_CONFIG_CPU_USAGE_MONITOR_ENABLED 0
  5302. #endif
  5303. // <e> NRF_PWR_MGMT_CONFIG_STANDBY_TIMEOUT_ENABLED - Enable standby timeout.
  5304. //==========================================================
  5305. #ifndef NRF_PWR_MGMT_CONFIG_STANDBY_TIMEOUT_ENABLED
  5306. #define NRF_PWR_MGMT_CONFIG_STANDBY_TIMEOUT_ENABLED 0
  5307. #endif
  5308. // <o> NRF_PWR_MGMT_CONFIG_STANDBY_TIMEOUT_S - Standby timeout (in seconds).
  5309. // <i> Shutdown procedure will begin no earlier than after this number of seconds.
  5310. #ifndef NRF_PWR_MGMT_CONFIG_STANDBY_TIMEOUT_S
  5311. #define NRF_PWR_MGMT_CONFIG_STANDBY_TIMEOUT_S 3
  5312. #endif
  5313. // </e>
  5314. // <q> NRF_PWR_MGMT_CONFIG_FPU_SUPPORT_ENABLED - Enables FPU event cleaning.
  5315. #ifndef NRF_PWR_MGMT_CONFIG_FPU_SUPPORT_ENABLED
  5316. #define NRF_PWR_MGMT_CONFIG_FPU_SUPPORT_ENABLED 1
  5317. #endif
  5318. // <q> NRF_PWR_MGMT_CONFIG_AUTO_SHUTDOWN_RETRY - Blocked shutdown procedure will be retried every second.
  5319. #ifndef NRF_PWR_MGMT_CONFIG_AUTO_SHUTDOWN_RETRY
  5320. #define NRF_PWR_MGMT_CONFIG_AUTO_SHUTDOWN_RETRY 0
  5321. #endif
  5322. // <q> NRF_PWR_MGMT_CONFIG_USE_SCHEDULER - Module will use @ref app_scheduler.
  5323. #ifndef NRF_PWR_MGMT_CONFIG_USE_SCHEDULER
  5324. #define NRF_PWR_MGMT_CONFIG_USE_SCHEDULER 0
  5325. #endif
  5326. // <o> NRF_PWR_MGMT_CONFIG_HANDLER_PRIORITY_COUNT - The number of priorities for module handlers.
  5327. // <i> The number of stages of the shutdown process.
  5328. #ifndef NRF_PWR_MGMT_CONFIG_HANDLER_PRIORITY_COUNT
  5329. #define NRF_PWR_MGMT_CONFIG_HANDLER_PRIORITY_COUNT 3
  5330. #endif
  5331. // </e>
  5332. // <e> NRF_QUEUE_ENABLED - nrf_queue - Queue module
  5333. //==========================================================
  5334. #ifndef NRF_QUEUE_ENABLED
  5335. #define NRF_QUEUE_ENABLED 1
  5336. #endif
  5337. // <q> NRF_QUEUE_CLI_CMDS - Enable CLI commands specific to the module
  5338. #ifndef NRF_QUEUE_CLI_CMDS
  5339. #define NRF_QUEUE_CLI_CMDS 0
  5340. #endif
  5341. // </e>
  5342. // <q> NRF_SECTION_ITER_ENABLED - nrf_section_iter - Section iterator
  5343. #ifndef NRF_SECTION_ITER_ENABLED
  5344. #define NRF_SECTION_ITER_ENABLED 1
  5345. #endif
  5346. // <q> NRF_SORTLIST_ENABLED - nrf_sortlist - Sorted list
  5347. #ifndef NRF_SORTLIST_ENABLED
  5348. #define NRF_SORTLIST_ENABLED 1
  5349. #endif
  5350. // <q> NRF_SPI_MNGR_ENABLED - nrf_spi_mngr - SPI transaction manager
  5351. #ifndef NRF_SPI_MNGR_ENABLED
  5352. #define NRF_SPI_MNGR_ENABLED 0
  5353. #endif
  5354. // <q> NRF_STRERROR_ENABLED - nrf_strerror - Library for converting error code to string.
  5355. #ifndef NRF_STRERROR_ENABLED
  5356. #define NRF_STRERROR_ENABLED 1
  5357. #endif
  5358. // <q> NRF_TWI_MNGR_ENABLED - nrf_twi_mngr - TWI transaction manager
  5359. #ifndef NRF_TWI_MNGR_ENABLED
  5360. #define NRF_TWI_MNGR_ENABLED 0
  5361. #endif
  5362. // <q> RETARGET_ENABLED - retarget - Retargeting stdio functions
  5363. #ifndef RETARGET_ENABLED
  5364. #define RETARGET_ENABLED 1
  5365. #endif
  5366. // <q> SLIP_ENABLED - slip - SLIP encoding and decoding
  5367. #ifndef SLIP_ENABLED
  5368. #define SLIP_ENABLED 0
  5369. #endif
  5370. // <e> TASK_MANAGER_ENABLED - task_manager - Task manager.
  5371. //==========================================================
  5372. #ifndef TASK_MANAGER_ENABLED
  5373. #define TASK_MANAGER_ENABLED 0
  5374. #endif
  5375. // <q> TASK_MANAGER_CLI_CMDS - Enable CLI commands specific to the module
  5376. #ifndef TASK_MANAGER_CLI_CMDS
  5377. #define TASK_MANAGER_CLI_CMDS 0
  5378. #endif
  5379. // <o> TASK_MANAGER_CONFIG_MAX_TASKS - Maximum number of tasks which can be created
  5380. #ifndef TASK_MANAGER_CONFIG_MAX_TASKS
  5381. #define TASK_MANAGER_CONFIG_MAX_TASKS 2
  5382. #endif
  5383. // <o> TASK_MANAGER_CONFIG_STACK_SIZE - Stack size for every task (power of 2)
  5384. #ifndef TASK_MANAGER_CONFIG_STACK_SIZE
  5385. #define TASK_MANAGER_CONFIG_STACK_SIZE 1024
  5386. #endif
  5387. // <q> TASK_MANAGER_CONFIG_STACK_PROFILER_ENABLED - Enable stack profiling.
  5388. #ifndef TASK_MANAGER_CONFIG_STACK_PROFILER_ENABLED
  5389. #define TASK_MANAGER_CONFIG_STACK_PROFILER_ENABLED 1
  5390. #endif
  5391. // <o> TASK_MANAGER_CONFIG_STACK_GUARD - Configures stack guard.
  5392. // <0=> Disabled
  5393. // <4=> 32 bytes
  5394. // <5=> 64 bytes
  5395. // <6=> 128 bytes
  5396. // <7=> 256 bytes
  5397. // <8=> 512 bytes
  5398. #ifndef TASK_MANAGER_CONFIG_STACK_GUARD
  5399. #define TASK_MANAGER_CONFIG_STACK_GUARD 7
  5400. #endif
  5401. // </e>
  5402. // <h> app_button - buttons handling module
  5403. //==========================================================
  5404. // <q> BUTTON_ENABLED - Enables Button module
  5405. #ifndef BUTTON_ENABLED
  5406. #define BUTTON_ENABLED 1
  5407. #endif
  5408. // <q> BUTTON_HIGH_ACCURACY_ENABLED - Enables GPIOTE high accuracy for buttons
  5409. #ifndef BUTTON_HIGH_ACCURACY_ENABLED
  5410. #define BUTTON_HIGH_ACCURACY_ENABLED 0
  5411. #endif
  5412. // </h>
  5413. //==========================================================
  5414. // <h> app_usbd_cdc_acm - USB CDC ACM class
  5415. //==========================================================
  5416. // <q> APP_USBD_CDC_ACM_ENABLED - Enabling USBD CDC ACM Class library
  5417. #ifndef APP_USBD_CDC_ACM_ENABLED
  5418. #define APP_USBD_CDC_ACM_ENABLED 0
  5419. #endif
  5420. // <q> APP_USBD_CDC_ACM_ZLP_ON_EPSIZE_WRITE - Send ZLP on write with same size as endpoint
  5421. // <i> If enabled, CDC ACM class will automatically send a zero length packet after transfer which has the same size as endpoint.
  5422. // <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.
  5423. #ifndef APP_USBD_CDC_ACM_ZLP_ON_EPSIZE_WRITE
  5424. #define APP_USBD_CDC_ACM_ZLP_ON_EPSIZE_WRITE 1
  5425. #endif
  5426. // </h>
  5427. //==========================================================
  5428. // <h> nrf_cli - Command line interface
  5429. //==========================================================
  5430. // <q> NRF_CLI_ENABLED - Enable/disable the CLI module.
  5431. #ifndef NRF_CLI_ENABLED
  5432. #define NRF_CLI_ENABLED 0
  5433. #endif
  5434. // <o> NRF_CLI_ARGC_MAX - Maximum number of parameters passed to the command handler.
  5435. #ifndef NRF_CLI_ARGC_MAX
  5436. #define NRF_CLI_ARGC_MAX 12
  5437. #endif
  5438. // <q> NRF_CLI_BUILD_IN_CMDS_ENABLED - CLI built-in commands.
  5439. #ifndef NRF_CLI_BUILD_IN_CMDS_ENABLED
  5440. #define NRF_CLI_BUILD_IN_CMDS_ENABLED 1
  5441. #endif
  5442. // <o> NRF_CLI_CMD_BUFF_SIZE - Maximum buffer size for a single command.
  5443. #ifndef NRF_CLI_CMD_BUFF_SIZE
  5444. #define NRF_CLI_CMD_BUFF_SIZE 128
  5445. #endif
  5446. // <q> NRF_CLI_ECHO_STATUS - CLI echo status. If set, echo is ON.
  5447. #ifndef NRF_CLI_ECHO_STATUS
  5448. #define NRF_CLI_ECHO_STATUS 1
  5449. #endif
  5450. // <q> NRF_CLI_WILDCARD_ENABLED - Enable wildcard functionality for CLI commands.
  5451. #ifndef NRF_CLI_WILDCARD_ENABLED
  5452. #define NRF_CLI_WILDCARD_ENABLED 0
  5453. #endif
  5454. // <q> NRF_CLI_METAKEYS_ENABLED - Enable additional control keys for CLI commands like ctrl+a, ctrl+e, ctrl+w, ctrl+u
  5455. #ifndef NRF_CLI_METAKEYS_ENABLED
  5456. #define NRF_CLI_METAKEYS_ENABLED 0
  5457. #endif
  5458. // <o> NRF_CLI_PRINTF_BUFF_SIZE - Maximum print buffer size.
  5459. #ifndef NRF_CLI_PRINTF_BUFF_SIZE
  5460. #define NRF_CLI_PRINTF_BUFF_SIZE 23
  5461. #endif
  5462. // <e> NRF_CLI_HISTORY_ENABLED - Enable CLI history mode.
  5463. //==========================================================
  5464. #ifndef NRF_CLI_HISTORY_ENABLED
  5465. #define NRF_CLI_HISTORY_ENABLED 1
  5466. #endif
  5467. // <o> NRF_CLI_HISTORY_ELEMENT_SIZE - Size of one memory object reserved for CLI history.
  5468. #ifndef NRF_CLI_HISTORY_ELEMENT_SIZE
  5469. #define NRF_CLI_HISTORY_ELEMENT_SIZE 32
  5470. #endif
  5471. // <o> NRF_CLI_HISTORY_ELEMENT_COUNT - Number of history memory objects.
  5472. #ifndef NRF_CLI_HISTORY_ELEMENT_COUNT
  5473. #define NRF_CLI_HISTORY_ELEMENT_COUNT 8
  5474. #endif
  5475. // </e>
  5476. // <q> NRF_CLI_VT100_COLORS_ENABLED - CLI VT100 colors.
  5477. #ifndef NRF_CLI_VT100_COLORS_ENABLED
  5478. #define NRF_CLI_VT100_COLORS_ENABLED 1
  5479. #endif
  5480. // <q> NRF_CLI_STATISTICS_ENABLED - Enable CLI statistics.
  5481. #ifndef NRF_CLI_STATISTICS_ENABLED
  5482. #define NRF_CLI_STATISTICS_ENABLED 1
  5483. #endif
  5484. // <q> NRF_CLI_LOG_BACKEND - Enable logger backend interface.
  5485. #ifndef NRF_CLI_LOG_BACKEND
  5486. #define NRF_CLI_LOG_BACKEND 1
  5487. #endif
  5488. // <q> NRF_CLI_USES_TASK_MANAGER_ENABLED - Enable CLI to use task_manager
  5489. #ifndef NRF_CLI_USES_TASK_MANAGER_ENABLED
  5490. #define NRF_CLI_USES_TASK_MANAGER_ENABLED 0
  5491. #endif
  5492. // </h>
  5493. //==========================================================
  5494. // <h> nrf_fprintf - fprintf function.
  5495. //==========================================================
  5496. // <q> NRF_FPRINTF_ENABLED - Enable/disable fprintf module.
  5497. #ifndef NRF_FPRINTF_ENABLED
  5498. #define NRF_FPRINTF_ENABLED 1
  5499. #endif
  5500. // <q> NRF_FPRINTF_FLAG_AUTOMATIC_CR_ON_LF_ENABLED - For each printed LF, function will add CR.
  5501. #ifndef NRF_FPRINTF_FLAG_AUTOMATIC_CR_ON_LF_ENABLED
  5502. #define NRF_FPRINTF_FLAG_AUTOMATIC_CR_ON_LF_ENABLED 1
  5503. #endif
  5504. // <q> NRF_FPRINTF_DOUBLE_ENABLED - Enable IEEE-754 double precision formatting.
  5505. #ifndef NRF_FPRINTF_DOUBLE_ENABLED
  5506. #define NRF_FPRINTF_DOUBLE_ENABLED 0
  5507. #endif
  5508. // </h>
  5509. //==========================================================
  5510. // </h>
  5511. //==========================================================
  5512. // <h> nRF_Log
  5513. //==========================================================
  5514. // <e> NRF_LOG_BACKEND_RTT_ENABLED - nrf_log_backend_rtt - Log RTT backend
  5515. //==========================================================
  5516. #ifndef NRF_LOG_BACKEND_RTT_ENABLED
  5517. #define NRF_LOG_BACKEND_RTT_ENABLED 1
  5518. #endif
  5519. // <o> NRF_LOG_BACKEND_RTT_TEMP_BUFFER_SIZE - Size of buffer for partially processed strings.
  5520. // <i> Size of the buffer is a trade-off between RAM usage and processing.
  5521. // <i> if buffer is smaller then strings will often be fragmented.
  5522. // <i> It is recommended to use size which will fit typical log and only the
  5523. // <i> longer one will be fragmented.
  5524. #ifndef NRF_LOG_BACKEND_RTT_TEMP_BUFFER_SIZE
  5525. #define NRF_LOG_BACKEND_RTT_TEMP_BUFFER_SIZE 64
  5526. #endif
  5527. // <o> NRF_LOG_BACKEND_RTT_TX_RETRY_DELAY_MS - Period before retrying writing to RTT
  5528. #ifndef NRF_LOG_BACKEND_RTT_TX_RETRY_DELAY_MS
  5529. #define NRF_LOG_BACKEND_RTT_TX_RETRY_DELAY_MS 1
  5530. #endif
  5531. // <o> NRF_LOG_BACKEND_RTT_TX_RETRY_CNT - Writing to RTT retries.
  5532. // <i> If RTT fails to accept any new data after retries
  5533. // <i> module assumes that host is not active and on next
  5534. // <i> request it will perform only one write attempt.
  5535. // <i> On successful writing, module assumes that host is active
  5536. // <i> and scheme with retry is applied again.
  5537. #ifndef NRF_LOG_BACKEND_RTT_TX_RETRY_CNT
  5538. #define NRF_LOG_BACKEND_RTT_TX_RETRY_CNT 3
  5539. #endif
  5540. // </e>
  5541. // <e> NRF_LOG_ENABLED - nrf_log - Logger
  5542. //==========================================================
  5543. #ifndef NRF_LOG_ENABLED
  5544. #define NRF_LOG_ENABLED 1
  5545. #endif
  5546. // <h> Log message pool - Configuration of log message pool
  5547. //==========================================================
  5548. // <o> NRF_LOG_MSGPOOL_ELEMENT_SIZE - Size of a single element in the pool of memory objects.
  5549. // <i> If a small value is set, then performance of logs processing
  5550. // <i> is degraded because data is fragmented. Bigger value impacts
  5551. // <i> RAM memory utilization. The size is set to fit a message with
  5552. // <i> a timestamp and up to 2 arguments in a single memory object.
  5553. #ifndef NRF_LOG_MSGPOOL_ELEMENT_SIZE
  5554. #define NRF_LOG_MSGPOOL_ELEMENT_SIZE 20
  5555. #endif
  5556. // <o> NRF_LOG_MSGPOOL_ELEMENT_COUNT - Number of elements in the pool of memory objects
  5557. // <i> If a small value is set, then it may lead to a deadlock
  5558. // <i> in certain cases if backend has high latency and holds
  5559. // <i> multiple messages for long time. Bigger value impacts
  5560. // <i> RAM memory usage.
  5561. #ifndef NRF_LOG_MSGPOOL_ELEMENT_COUNT
  5562. #define NRF_LOG_MSGPOOL_ELEMENT_COUNT 8
  5563. #endif
  5564. // </h>
  5565. //==========================================================
  5566. // <q> NRF_LOG_ALLOW_OVERFLOW - Configures behavior when circular buffer is full.
  5567. // <i> If set then oldest logs are overwritten. Otherwise a
  5568. // <i> marker is injected informing about overflow.
  5569. #ifndef NRF_LOG_ALLOW_OVERFLOW
  5570. #define NRF_LOG_ALLOW_OVERFLOW 1
  5571. #endif
  5572. // <o> NRF_LOG_BUFSIZE - Size of the buffer for storing logs (in bytes).
  5573. // <i> Must be power of 2 and multiple of 4.
  5574. // <i> If NRF_LOG_DEFERRED = 0 then buffer size can be reduced to minimum.
  5575. // <128=> 128
  5576. // <256=> 256
  5577. // <512=> 512
  5578. // <1024=> 1024
  5579. // <2048=> 2048
  5580. // <4096=> 4096
  5581. // <8192=> 8192
  5582. // <16384=> 16384
  5583. #ifndef NRF_LOG_BUFSIZE
  5584. #define NRF_LOG_BUFSIZE 1024
  5585. #endif
  5586. // <q> NRF_LOG_CLI_CMDS - Enable CLI commands for the module.
  5587. #ifndef NRF_LOG_CLI_CMDS
  5588. #define NRF_LOG_CLI_CMDS 0
  5589. #endif
  5590. // <o> NRF_LOG_DEFAULT_LEVEL - Default Severity level
  5591. // <0=> Off
  5592. // <1=> Error
  5593. // <2=> Warning
  5594. // <3=> Info
  5595. // <4=> Debug
  5596. #ifndef NRF_LOG_DEFAULT_LEVEL
  5597. #define NRF_LOG_DEFAULT_LEVEL 3
  5598. #endif
  5599. // <q> NRF_LOG_DEFERRED - Enable deffered logger.
  5600. // <i> Log data is buffered and can be processed in idle.
  5601. #ifndef NRF_LOG_DEFERRED
  5602. #define NRF_LOG_DEFERRED 1
  5603. #endif
  5604. // <q> NRF_LOG_FILTERS_ENABLED - Enable dynamic filtering of logs.
  5605. #ifndef NRF_LOG_FILTERS_ENABLED
  5606. #define NRF_LOG_FILTERS_ENABLED 0
  5607. #endif
  5608. // <q> NRF_LOG_NON_DEFFERED_CRITICAL_REGION_ENABLED - Enable use of critical region for non deffered mode when flushing logs.
  5609. // <i> When enabled NRF_LOG_FLUSH is called from critical section when non deffered mode is used.
  5610. // <i> Log output will never be corrupted as access to the log backend is exclusive
  5611. // <i> but system will spend significant amount of time in critical section
  5612. #ifndef NRF_LOG_NON_DEFFERED_CRITICAL_REGION_ENABLED
  5613. #define NRF_LOG_NON_DEFFERED_CRITICAL_REGION_ENABLED 0
  5614. #endif
  5615. // <o> NRF_LOG_STR_PUSH_BUFFER_SIZE - Size of the buffer dedicated for strings stored using @ref NRF_LOG_PUSH.
  5616. // <16=> 16
  5617. // <32=> 32
  5618. // <64=> 64
  5619. // <128=> 128
  5620. // <256=> 256
  5621. // <512=> 512
  5622. // <1024=> 1024
  5623. #ifndef NRF_LOG_STR_PUSH_BUFFER_SIZE
  5624. #define NRF_LOG_STR_PUSH_BUFFER_SIZE 128
  5625. #endif
  5626. // <o> NRF_LOG_STR_PUSH_BUFFER_SIZE - Size of the buffer dedicated for strings stored using @ref NRF_LOG_PUSH.
  5627. // <16=> 16
  5628. // <32=> 32
  5629. // <64=> 64
  5630. // <128=> 128
  5631. // <256=> 256
  5632. // <512=> 512
  5633. // <1024=> 1024
  5634. #ifndef NRF_LOG_STR_PUSH_BUFFER_SIZE
  5635. #define NRF_LOG_STR_PUSH_BUFFER_SIZE 128
  5636. #endif
  5637. // <e> NRF_LOG_USES_COLORS - If enabled then ANSI escape code for colors is prefixed to every string
  5638. //==========================================================
  5639. #ifndef NRF_LOG_USES_COLORS
  5640. #define NRF_LOG_USES_COLORS 0
  5641. #endif
  5642. // <o> NRF_LOG_COLOR_DEFAULT - ANSI escape code prefix.
  5643. // <0=> Default
  5644. // <1=> Black
  5645. // <2=> Red
  5646. // <3=> Green
  5647. // <4=> Yellow
  5648. // <5=> Blue
  5649. // <6=> Magenta
  5650. // <7=> Cyan
  5651. // <8=> White
  5652. #ifndef NRF_LOG_COLOR_DEFAULT
  5653. #define NRF_LOG_COLOR_DEFAULT 0
  5654. #endif
  5655. // <o> NRF_LOG_ERROR_COLOR - ANSI escape code prefix.
  5656. // <0=> Default
  5657. // <1=> Black
  5658. // <2=> Red
  5659. // <3=> Green
  5660. // <4=> Yellow
  5661. // <5=> Blue
  5662. // <6=> Magenta
  5663. // <7=> Cyan
  5664. // <8=> White
  5665. #ifndef NRF_LOG_ERROR_COLOR
  5666. #define NRF_LOG_ERROR_COLOR 2
  5667. #endif
  5668. // <o> NRF_LOG_WARNING_COLOR - ANSI escape code prefix.
  5669. // <0=> Default
  5670. // <1=> Black
  5671. // <2=> Red
  5672. // <3=> Green
  5673. // <4=> Yellow
  5674. // <5=> Blue
  5675. // <6=> Magenta
  5676. // <7=> Cyan
  5677. // <8=> White
  5678. #ifndef NRF_LOG_WARNING_COLOR
  5679. #define NRF_LOG_WARNING_COLOR 4
  5680. #endif
  5681. // </e>
  5682. // <e> NRF_LOG_USES_TIMESTAMP - Enable timestamping
  5683. // <i> Function for getting the timestamp is provided by the user
  5684. //==========================================================
  5685. #ifndef NRF_LOG_USES_TIMESTAMP
  5686. #define NRF_LOG_USES_TIMESTAMP 0
  5687. #endif
  5688. // <o> NRF_LOG_TIMESTAMP_DEFAULT_FREQUENCY - Default frequency of the timestamp (in Hz) or 0 to use app_timer frequency.
  5689. #ifndef NRF_LOG_TIMESTAMP_DEFAULT_FREQUENCY
  5690. #define NRF_LOG_TIMESTAMP_DEFAULT_FREQUENCY 0
  5691. #endif
  5692. // </e>
  5693. // <h> nrf_log module configuration
  5694. //==========================================================
  5695. // <h> nrf_log in nRF_Core
  5696. //==========================================================
  5697. // <e> NRF_MPU_LIB_CONFIG_LOG_ENABLED - Enables logging in the module.
  5698. //==========================================================
  5699. #ifndef NRF_MPU_LIB_CONFIG_LOG_ENABLED
  5700. #define NRF_MPU_LIB_CONFIG_LOG_ENABLED 0
  5701. #endif
  5702. // <o> NRF_MPU_LIB_CONFIG_LOG_LEVEL - Default Severity level
  5703. // <0=> Off
  5704. // <1=> Error
  5705. // <2=> Warning
  5706. // <3=> Info
  5707. // <4=> Debug
  5708. #ifndef NRF_MPU_LIB_CONFIG_LOG_LEVEL
  5709. #define NRF_MPU_LIB_CONFIG_LOG_LEVEL 3
  5710. #endif
  5711. // <o> NRF_MPU_LIB_CONFIG_INFO_COLOR - ANSI escape code prefix.
  5712. // <0=> Default
  5713. // <1=> Black
  5714. // <2=> Red
  5715. // <3=> Green
  5716. // <4=> Yellow
  5717. // <5=> Blue
  5718. // <6=> Magenta
  5719. // <7=> Cyan
  5720. // <8=> White
  5721. #ifndef NRF_MPU_LIB_CONFIG_INFO_COLOR
  5722. #define NRF_MPU_LIB_CONFIG_INFO_COLOR 0
  5723. #endif
  5724. // <o> NRF_MPU_LIB_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  5725. // <0=> Default
  5726. // <1=> Black
  5727. // <2=> Red
  5728. // <3=> Green
  5729. // <4=> Yellow
  5730. // <5=> Blue
  5731. // <6=> Magenta
  5732. // <7=> Cyan
  5733. // <8=> White
  5734. #ifndef NRF_MPU_LIB_CONFIG_DEBUG_COLOR
  5735. #define NRF_MPU_LIB_CONFIG_DEBUG_COLOR 0
  5736. #endif
  5737. // </e>
  5738. // <e> NRF_STACK_GUARD_CONFIG_LOG_ENABLED - Enables logging in the module.
  5739. //==========================================================
  5740. #ifndef NRF_STACK_GUARD_CONFIG_LOG_ENABLED
  5741. #define NRF_STACK_GUARD_CONFIG_LOG_ENABLED 0
  5742. #endif
  5743. // <o> NRF_STACK_GUARD_CONFIG_LOG_LEVEL - Default Severity level
  5744. // <0=> Off
  5745. // <1=> Error
  5746. // <2=> Warning
  5747. // <3=> Info
  5748. // <4=> Debug
  5749. #ifndef NRF_STACK_GUARD_CONFIG_LOG_LEVEL
  5750. #define NRF_STACK_GUARD_CONFIG_LOG_LEVEL 3
  5751. #endif
  5752. // <o> NRF_STACK_GUARD_CONFIG_INFO_COLOR - ANSI escape code prefix.
  5753. // <0=> Default
  5754. // <1=> Black
  5755. // <2=> Red
  5756. // <3=> Green
  5757. // <4=> Yellow
  5758. // <5=> Blue
  5759. // <6=> Magenta
  5760. // <7=> Cyan
  5761. // <8=> White
  5762. #ifndef NRF_STACK_GUARD_CONFIG_INFO_COLOR
  5763. #define NRF_STACK_GUARD_CONFIG_INFO_COLOR 0
  5764. #endif
  5765. // <o> NRF_STACK_GUARD_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  5766. // <0=> Default
  5767. // <1=> Black
  5768. // <2=> Red
  5769. // <3=> Green
  5770. // <4=> Yellow
  5771. // <5=> Blue
  5772. // <6=> Magenta
  5773. // <7=> Cyan
  5774. // <8=> White
  5775. #ifndef NRF_STACK_GUARD_CONFIG_DEBUG_COLOR
  5776. #define NRF_STACK_GUARD_CONFIG_DEBUG_COLOR 0
  5777. #endif
  5778. // </e>
  5779. // <e> TASK_MANAGER_CONFIG_LOG_ENABLED - Enables logging in the module.
  5780. //==========================================================
  5781. #ifndef TASK_MANAGER_CONFIG_LOG_ENABLED
  5782. #define TASK_MANAGER_CONFIG_LOG_ENABLED 0
  5783. #endif
  5784. // <o> TASK_MANAGER_CONFIG_LOG_LEVEL - Default Severity level
  5785. // <0=> Off
  5786. // <1=> Error
  5787. // <2=> Warning
  5788. // <3=> Info
  5789. // <4=> Debug
  5790. #ifndef TASK_MANAGER_CONFIG_LOG_LEVEL
  5791. #define TASK_MANAGER_CONFIG_LOG_LEVEL 3
  5792. #endif
  5793. // <o> TASK_MANAGER_CONFIG_INFO_COLOR - ANSI escape code prefix.
  5794. // <0=> Default
  5795. // <1=> Black
  5796. // <2=> Red
  5797. // <3=> Green
  5798. // <4=> Yellow
  5799. // <5=> Blue
  5800. // <6=> Magenta
  5801. // <7=> Cyan
  5802. // <8=> White
  5803. #ifndef TASK_MANAGER_CONFIG_INFO_COLOR
  5804. #define TASK_MANAGER_CONFIG_INFO_COLOR 0
  5805. #endif
  5806. // <o> TASK_MANAGER_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  5807. // <0=> Default
  5808. // <1=> Black
  5809. // <2=> Red
  5810. // <3=> Green
  5811. // <4=> Yellow
  5812. // <5=> Blue
  5813. // <6=> Magenta
  5814. // <7=> Cyan
  5815. // <8=> White
  5816. #ifndef TASK_MANAGER_CONFIG_DEBUG_COLOR
  5817. #define TASK_MANAGER_CONFIG_DEBUG_COLOR 0
  5818. #endif
  5819. // </e>
  5820. // </h>
  5821. //==========================================================
  5822. // <h> nrf_log in nRF_Drivers
  5823. //==========================================================
  5824. // <e> CLOCK_CONFIG_LOG_ENABLED - Enables logging in the module.
  5825. //==========================================================
  5826. #ifndef CLOCK_CONFIG_LOG_ENABLED
  5827. #define CLOCK_CONFIG_LOG_ENABLED 0
  5828. #endif
  5829. // <o> CLOCK_CONFIG_LOG_LEVEL - Default Severity level
  5830. // <0=> Off
  5831. // <1=> Error
  5832. // <2=> Warning
  5833. // <3=> Info
  5834. // <4=> Debug
  5835. #ifndef CLOCK_CONFIG_LOG_LEVEL
  5836. #define CLOCK_CONFIG_LOG_LEVEL 3
  5837. #endif
  5838. // <o> CLOCK_CONFIG_INFO_COLOR - ANSI escape code prefix.
  5839. // <0=> Default
  5840. // <1=> Black
  5841. // <2=> Red
  5842. // <3=> Green
  5843. // <4=> Yellow
  5844. // <5=> Blue
  5845. // <6=> Magenta
  5846. // <7=> Cyan
  5847. // <8=> White
  5848. #ifndef CLOCK_CONFIG_INFO_COLOR
  5849. #define CLOCK_CONFIG_INFO_COLOR 0
  5850. #endif
  5851. // <o> CLOCK_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  5852. // <0=> Default
  5853. // <1=> Black
  5854. // <2=> Red
  5855. // <3=> Green
  5856. // <4=> Yellow
  5857. // <5=> Blue
  5858. // <6=> Magenta
  5859. // <7=> Cyan
  5860. // <8=> White
  5861. #ifndef CLOCK_CONFIG_DEBUG_COLOR
  5862. #define CLOCK_CONFIG_DEBUG_COLOR 0
  5863. #endif
  5864. // </e>
  5865. // <e> COMP_CONFIG_LOG_ENABLED - Enables logging in the module.
  5866. //==========================================================
  5867. #ifndef COMP_CONFIG_LOG_ENABLED
  5868. #define COMP_CONFIG_LOG_ENABLED 0
  5869. #endif
  5870. // <o> COMP_CONFIG_LOG_LEVEL - Default Severity level
  5871. // <0=> Off
  5872. // <1=> Error
  5873. // <2=> Warning
  5874. // <3=> Info
  5875. // <4=> Debug
  5876. #ifndef COMP_CONFIG_LOG_LEVEL
  5877. #define COMP_CONFIG_LOG_LEVEL 3
  5878. #endif
  5879. // <o> COMP_CONFIG_INFO_COLOR - ANSI escape code prefix.
  5880. // <0=> Default
  5881. // <1=> Black
  5882. // <2=> Red
  5883. // <3=> Green
  5884. // <4=> Yellow
  5885. // <5=> Blue
  5886. // <6=> Magenta
  5887. // <7=> Cyan
  5888. // <8=> White
  5889. #ifndef COMP_CONFIG_INFO_COLOR
  5890. #define COMP_CONFIG_INFO_COLOR 0
  5891. #endif
  5892. // <o> COMP_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  5893. // <0=> Default
  5894. // <1=> Black
  5895. // <2=> Red
  5896. // <3=> Green
  5897. // <4=> Yellow
  5898. // <5=> Blue
  5899. // <6=> Magenta
  5900. // <7=> Cyan
  5901. // <8=> White
  5902. #ifndef COMP_CONFIG_DEBUG_COLOR
  5903. #define COMP_CONFIG_DEBUG_COLOR 0
  5904. #endif
  5905. // </e>
  5906. // <e> GPIOTE_CONFIG_LOG_ENABLED - Enables logging in the module.
  5907. //==========================================================
  5908. #ifndef GPIOTE_CONFIG_LOG_ENABLED
  5909. #define GPIOTE_CONFIG_LOG_ENABLED 0
  5910. #endif
  5911. // <o> GPIOTE_CONFIG_LOG_LEVEL - Default Severity level
  5912. // <0=> Off
  5913. // <1=> Error
  5914. // <2=> Warning
  5915. // <3=> Info
  5916. // <4=> Debug
  5917. #ifndef GPIOTE_CONFIG_LOG_LEVEL
  5918. #define GPIOTE_CONFIG_LOG_LEVEL 3
  5919. #endif
  5920. // <o> GPIOTE_CONFIG_INFO_COLOR - ANSI escape code prefix.
  5921. // <0=> Default
  5922. // <1=> Black
  5923. // <2=> Red
  5924. // <3=> Green
  5925. // <4=> Yellow
  5926. // <5=> Blue
  5927. // <6=> Magenta
  5928. // <7=> Cyan
  5929. // <8=> White
  5930. #ifndef GPIOTE_CONFIG_INFO_COLOR
  5931. #define GPIOTE_CONFIG_INFO_COLOR 0
  5932. #endif
  5933. // <o> GPIOTE_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  5934. // <0=> Default
  5935. // <1=> Black
  5936. // <2=> Red
  5937. // <3=> Green
  5938. // <4=> Yellow
  5939. // <5=> Blue
  5940. // <6=> Magenta
  5941. // <7=> Cyan
  5942. // <8=> White
  5943. #ifndef GPIOTE_CONFIG_DEBUG_COLOR
  5944. #define GPIOTE_CONFIG_DEBUG_COLOR 0
  5945. #endif
  5946. // </e>
  5947. // <e> LPCOMP_CONFIG_LOG_ENABLED - Enables logging in the module.
  5948. //==========================================================
  5949. #ifndef LPCOMP_CONFIG_LOG_ENABLED
  5950. #define LPCOMP_CONFIG_LOG_ENABLED 0
  5951. #endif
  5952. // <o> LPCOMP_CONFIG_LOG_LEVEL - Default Severity level
  5953. // <0=> Off
  5954. // <1=> Error
  5955. // <2=> Warning
  5956. // <3=> Info
  5957. // <4=> Debug
  5958. #ifndef LPCOMP_CONFIG_LOG_LEVEL
  5959. #define LPCOMP_CONFIG_LOG_LEVEL 3
  5960. #endif
  5961. // <o> LPCOMP_CONFIG_INFO_COLOR - ANSI escape code prefix.
  5962. // <0=> Default
  5963. // <1=> Black
  5964. // <2=> Red
  5965. // <3=> Green
  5966. // <4=> Yellow
  5967. // <5=> Blue
  5968. // <6=> Magenta
  5969. // <7=> Cyan
  5970. // <8=> White
  5971. #ifndef LPCOMP_CONFIG_INFO_COLOR
  5972. #define LPCOMP_CONFIG_INFO_COLOR 0
  5973. #endif
  5974. // <o> LPCOMP_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  5975. // <0=> Default
  5976. // <1=> Black
  5977. // <2=> Red
  5978. // <3=> Green
  5979. // <4=> Yellow
  5980. // <5=> Blue
  5981. // <6=> Magenta
  5982. // <7=> Cyan
  5983. // <8=> White
  5984. #ifndef LPCOMP_CONFIG_DEBUG_COLOR
  5985. #define LPCOMP_CONFIG_DEBUG_COLOR 0
  5986. #endif
  5987. // </e>
  5988. // <e> MAX3421E_HOST_CONFIG_LOG_ENABLED - Enable logging in the module
  5989. //==========================================================
  5990. #ifndef MAX3421E_HOST_CONFIG_LOG_ENABLED
  5991. #define MAX3421E_HOST_CONFIG_LOG_ENABLED 0
  5992. #endif
  5993. // <o> MAX3421E_HOST_CONFIG_LOG_LEVEL - Default Severity level
  5994. // <0=> Off
  5995. // <1=> Error
  5996. // <2=> Warning
  5997. // <3=> Info
  5998. // <4=> Debug
  5999. #ifndef MAX3421E_HOST_CONFIG_LOG_LEVEL
  6000. #define MAX3421E_HOST_CONFIG_LOG_LEVEL 3
  6001. #endif
  6002. // <o> MAX3421E_HOST_CONFIG_INFO_COLOR - ANSI escape code prefix.
  6003. // <0=> Default
  6004. // <1=> Black
  6005. // <2=> Red
  6006. // <3=> Green
  6007. // <4=> Yellow
  6008. // <5=> Blue
  6009. // <6=> Magenta
  6010. // <7=> Cyan
  6011. // <8=> White
  6012. #ifndef MAX3421E_HOST_CONFIG_INFO_COLOR
  6013. #define MAX3421E_HOST_CONFIG_INFO_COLOR 0
  6014. #endif
  6015. // <o> MAX3421E_HOST_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  6016. // <0=> Default
  6017. // <1=> Black
  6018. // <2=> Red
  6019. // <3=> Green
  6020. // <4=> Yellow
  6021. // <5=> Blue
  6022. // <6=> Magenta
  6023. // <7=> Cyan
  6024. // <8=> White
  6025. #ifndef MAX3421E_HOST_CONFIG_DEBUG_COLOR
  6026. #define MAX3421E_HOST_CONFIG_DEBUG_COLOR 0
  6027. #endif
  6028. // </e>
  6029. // <e> NRFX_USBD_CONFIG_LOG_ENABLED - Enable logging in the module
  6030. //==========================================================
  6031. #ifndef NRFX_USBD_CONFIG_LOG_ENABLED
  6032. #define NRFX_USBD_CONFIG_LOG_ENABLED 0
  6033. #endif
  6034. // <o> NRFX_USBD_CONFIG_LOG_LEVEL - Default Severity level
  6035. // <0=> Off
  6036. // <1=> Error
  6037. // <2=> Warning
  6038. // <3=> Info
  6039. // <4=> Debug
  6040. #ifndef NRFX_USBD_CONFIG_LOG_LEVEL
  6041. #define NRFX_USBD_CONFIG_LOG_LEVEL 3
  6042. #endif
  6043. // <o> NRFX_USBD_CONFIG_INFO_COLOR - ANSI escape code prefix.
  6044. // <0=> Default
  6045. // <1=> Black
  6046. // <2=> Red
  6047. // <3=> Green
  6048. // <4=> Yellow
  6049. // <5=> Blue
  6050. // <6=> Magenta
  6051. // <7=> Cyan
  6052. // <8=> White
  6053. #ifndef NRFX_USBD_CONFIG_INFO_COLOR
  6054. #define NRFX_USBD_CONFIG_INFO_COLOR 0
  6055. #endif
  6056. // <o> NRFX_USBD_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  6057. // <0=> Default
  6058. // <1=> Black
  6059. // <2=> Red
  6060. // <3=> Green
  6061. // <4=> Yellow
  6062. // <5=> Blue
  6063. // <6=> Magenta
  6064. // <7=> Cyan
  6065. // <8=> White
  6066. #ifndef NRFX_USBD_CONFIG_DEBUG_COLOR
  6067. #define NRFX_USBD_CONFIG_DEBUG_COLOR 0
  6068. #endif
  6069. // </e>
  6070. // <e> PDM_CONFIG_LOG_ENABLED - Enables logging in the module.
  6071. //==========================================================
  6072. #ifndef PDM_CONFIG_LOG_ENABLED
  6073. #define PDM_CONFIG_LOG_ENABLED 0
  6074. #endif
  6075. // <o> PDM_CONFIG_LOG_LEVEL - Default Severity level
  6076. // <0=> Off
  6077. // <1=> Error
  6078. // <2=> Warning
  6079. // <3=> Info
  6080. // <4=> Debug
  6081. #ifndef PDM_CONFIG_LOG_LEVEL
  6082. #define PDM_CONFIG_LOG_LEVEL 3
  6083. #endif
  6084. // <o> PDM_CONFIG_INFO_COLOR - ANSI escape code prefix.
  6085. // <0=> Default
  6086. // <1=> Black
  6087. // <2=> Red
  6088. // <3=> Green
  6089. // <4=> Yellow
  6090. // <5=> Blue
  6091. // <6=> Magenta
  6092. // <7=> Cyan
  6093. // <8=> White
  6094. #ifndef PDM_CONFIG_INFO_COLOR
  6095. #define PDM_CONFIG_INFO_COLOR 0
  6096. #endif
  6097. // <o> PDM_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  6098. // <0=> Default
  6099. // <1=> Black
  6100. // <2=> Red
  6101. // <3=> Green
  6102. // <4=> Yellow
  6103. // <5=> Blue
  6104. // <6=> Magenta
  6105. // <7=> Cyan
  6106. // <8=> White
  6107. #ifndef PDM_CONFIG_DEBUG_COLOR
  6108. #define PDM_CONFIG_DEBUG_COLOR 0
  6109. #endif
  6110. // </e>
  6111. // <e> PPI_CONFIG_LOG_ENABLED - Enables logging in the module.
  6112. //==========================================================
  6113. #ifndef PPI_CONFIG_LOG_ENABLED
  6114. #define PPI_CONFIG_LOG_ENABLED 0
  6115. #endif
  6116. // <o> PPI_CONFIG_LOG_LEVEL - Default Severity level
  6117. // <0=> Off
  6118. // <1=> Error
  6119. // <2=> Warning
  6120. // <3=> Info
  6121. // <4=> Debug
  6122. #ifndef PPI_CONFIG_LOG_LEVEL
  6123. #define PPI_CONFIG_LOG_LEVEL 3
  6124. #endif
  6125. // <o> PPI_CONFIG_INFO_COLOR - ANSI escape code prefix.
  6126. // <0=> Default
  6127. // <1=> Black
  6128. // <2=> Red
  6129. // <3=> Green
  6130. // <4=> Yellow
  6131. // <5=> Blue
  6132. // <6=> Magenta
  6133. // <7=> Cyan
  6134. // <8=> White
  6135. #ifndef PPI_CONFIG_INFO_COLOR
  6136. #define PPI_CONFIG_INFO_COLOR 0
  6137. #endif
  6138. // <o> PPI_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  6139. // <0=> Default
  6140. // <1=> Black
  6141. // <2=> Red
  6142. // <3=> Green
  6143. // <4=> Yellow
  6144. // <5=> Blue
  6145. // <6=> Magenta
  6146. // <7=> Cyan
  6147. // <8=> White
  6148. #ifndef PPI_CONFIG_DEBUG_COLOR
  6149. #define PPI_CONFIG_DEBUG_COLOR 0
  6150. #endif
  6151. // </e>
  6152. // <e> PWM_CONFIG_LOG_ENABLED - Enables logging in the module.
  6153. //==========================================================
  6154. #ifndef PWM_CONFIG_LOG_ENABLED
  6155. #define PWM_CONFIG_LOG_ENABLED 0
  6156. #endif
  6157. // <o> PWM_CONFIG_LOG_LEVEL - Default Severity level
  6158. // <0=> Off
  6159. // <1=> Error
  6160. // <2=> Warning
  6161. // <3=> Info
  6162. // <4=> Debug
  6163. #ifndef PWM_CONFIG_LOG_LEVEL
  6164. #define PWM_CONFIG_LOG_LEVEL 3
  6165. #endif
  6166. // <o> PWM_CONFIG_INFO_COLOR - ANSI escape code prefix.
  6167. // <0=> Default
  6168. // <1=> Black
  6169. // <2=> Red
  6170. // <3=> Green
  6171. // <4=> Yellow
  6172. // <5=> Blue
  6173. // <6=> Magenta
  6174. // <7=> Cyan
  6175. // <8=> White
  6176. #ifndef PWM_CONFIG_INFO_COLOR
  6177. #define PWM_CONFIG_INFO_COLOR 0
  6178. #endif
  6179. // <o> PWM_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  6180. // <0=> Default
  6181. // <1=> Black
  6182. // <2=> Red
  6183. // <3=> Green
  6184. // <4=> Yellow
  6185. // <5=> Blue
  6186. // <6=> Magenta
  6187. // <7=> Cyan
  6188. // <8=> White
  6189. #ifndef PWM_CONFIG_DEBUG_COLOR
  6190. #define PWM_CONFIG_DEBUG_COLOR 0
  6191. #endif
  6192. // </e>
  6193. // <e> QDEC_CONFIG_LOG_ENABLED - Enables logging in the module.
  6194. //==========================================================
  6195. #ifndef QDEC_CONFIG_LOG_ENABLED
  6196. #define QDEC_CONFIG_LOG_ENABLED 0
  6197. #endif
  6198. // <o> QDEC_CONFIG_LOG_LEVEL - Default Severity level
  6199. // <0=> Off
  6200. // <1=> Error
  6201. // <2=> Warning
  6202. // <3=> Info
  6203. // <4=> Debug
  6204. #ifndef QDEC_CONFIG_LOG_LEVEL
  6205. #define QDEC_CONFIG_LOG_LEVEL 3
  6206. #endif
  6207. // <o> QDEC_CONFIG_INFO_COLOR - ANSI escape code prefix.
  6208. // <0=> Default
  6209. // <1=> Black
  6210. // <2=> Red
  6211. // <3=> Green
  6212. // <4=> Yellow
  6213. // <5=> Blue
  6214. // <6=> Magenta
  6215. // <7=> Cyan
  6216. // <8=> White
  6217. #ifndef QDEC_CONFIG_INFO_COLOR
  6218. #define QDEC_CONFIG_INFO_COLOR 0
  6219. #endif
  6220. // <o> QDEC_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  6221. // <0=> Default
  6222. // <1=> Black
  6223. // <2=> Red
  6224. // <3=> Green
  6225. // <4=> Yellow
  6226. // <5=> Blue
  6227. // <6=> Magenta
  6228. // <7=> Cyan
  6229. // <8=> White
  6230. #ifndef QDEC_CONFIG_DEBUG_COLOR
  6231. #define QDEC_CONFIG_DEBUG_COLOR 0
  6232. #endif
  6233. // </e>
  6234. // <e> RNG_CONFIG_LOG_ENABLED - Enables logging in the module.
  6235. //==========================================================
  6236. #ifndef RNG_CONFIG_LOG_ENABLED
  6237. #define RNG_CONFIG_LOG_ENABLED 0
  6238. #endif
  6239. // <o> RNG_CONFIG_LOG_LEVEL - Default Severity level
  6240. // <0=> Off
  6241. // <1=> Error
  6242. // <2=> Warning
  6243. // <3=> Info
  6244. // <4=> Debug
  6245. #ifndef RNG_CONFIG_LOG_LEVEL
  6246. #define RNG_CONFIG_LOG_LEVEL 3
  6247. #endif
  6248. // <o> RNG_CONFIG_INFO_COLOR - ANSI escape code prefix.
  6249. // <0=> Default
  6250. // <1=> Black
  6251. // <2=> Red
  6252. // <3=> Green
  6253. // <4=> Yellow
  6254. // <5=> Blue
  6255. // <6=> Magenta
  6256. // <7=> Cyan
  6257. // <8=> White
  6258. #ifndef RNG_CONFIG_INFO_COLOR
  6259. #define RNG_CONFIG_INFO_COLOR 0
  6260. #endif
  6261. // <o> RNG_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  6262. // <0=> Default
  6263. // <1=> Black
  6264. // <2=> Red
  6265. // <3=> Green
  6266. // <4=> Yellow
  6267. // <5=> Blue
  6268. // <6=> Magenta
  6269. // <7=> Cyan
  6270. // <8=> White
  6271. #ifndef RNG_CONFIG_DEBUG_COLOR
  6272. #define RNG_CONFIG_DEBUG_COLOR 0
  6273. #endif
  6274. // <q> RNG_CONFIG_RANDOM_NUMBER_LOG_ENABLED - Enables logging of random numbers.
  6275. #ifndef RNG_CONFIG_RANDOM_NUMBER_LOG_ENABLED
  6276. #define RNG_CONFIG_RANDOM_NUMBER_LOG_ENABLED 0
  6277. #endif
  6278. // </e>
  6279. // <e> RTC_CONFIG_LOG_ENABLED - Enables logging in the module.
  6280. //==========================================================
  6281. #ifndef RTC_CONFIG_LOG_ENABLED
  6282. #define RTC_CONFIG_LOG_ENABLED 0
  6283. #endif
  6284. // <o> RTC_CONFIG_LOG_LEVEL - Default Severity level
  6285. // <0=> Off
  6286. // <1=> Error
  6287. // <2=> Warning
  6288. // <3=> Info
  6289. // <4=> Debug
  6290. #ifndef RTC_CONFIG_LOG_LEVEL
  6291. #define RTC_CONFIG_LOG_LEVEL 3
  6292. #endif
  6293. // <o> RTC_CONFIG_INFO_COLOR - ANSI escape code prefix.
  6294. // <0=> Default
  6295. // <1=> Black
  6296. // <2=> Red
  6297. // <3=> Green
  6298. // <4=> Yellow
  6299. // <5=> Blue
  6300. // <6=> Magenta
  6301. // <7=> Cyan
  6302. // <8=> White
  6303. #ifndef RTC_CONFIG_INFO_COLOR
  6304. #define RTC_CONFIG_INFO_COLOR 0
  6305. #endif
  6306. // <o> RTC_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  6307. // <0=> Default
  6308. // <1=> Black
  6309. // <2=> Red
  6310. // <3=> Green
  6311. // <4=> Yellow
  6312. // <5=> Blue
  6313. // <6=> Magenta
  6314. // <7=> Cyan
  6315. // <8=> White
  6316. #ifndef RTC_CONFIG_DEBUG_COLOR
  6317. #define RTC_CONFIG_DEBUG_COLOR 0
  6318. #endif
  6319. // </e>
  6320. // <e> SAADC_CONFIG_LOG_ENABLED - Enables logging in the module.
  6321. //==========================================================
  6322. #ifndef SAADC_CONFIG_LOG_ENABLED
  6323. #define SAADC_CONFIG_LOG_ENABLED 0
  6324. #endif
  6325. // <o> SAADC_CONFIG_LOG_LEVEL - Default Severity level
  6326. // <0=> Off
  6327. // <1=> Error
  6328. // <2=> Warning
  6329. // <3=> Info
  6330. // <4=> Debug
  6331. #ifndef SAADC_CONFIG_LOG_LEVEL
  6332. #define SAADC_CONFIG_LOG_LEVEL 3
  6333. #endif
  6334. // <o> SAADC_CONFIG_INFO_COLOR - ANSI escape code prefix.
  6335. // <0=> Default
  6336. // <1=> Black
  6337. // <2=> Red
  6338. // <3=> Green
  6339. // <4=> Yellow
  6340. // <5=> Blue
  6341. // <6=> Magenta
  6342. // <7=> Cyan
  6343. // <8=> White
  6344. #ifndef SAADC_CONFIG_INFO_COLOR
  6345. #define SAADC_CONFIG_INFO_COLOR 0
  6346. #endif
  6347. // <o> SAADC_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  6348. // <0=> Default
  6349. // <1=> Black
  6350. // <2=> Red
  6351. // <3=> Green
  6352. // <4=> Yellow
  6353. // <5=> Blue
  6354. // <6=> Magenta
  6355. // <7=> Cyan
  6356. // <8=> White
  6357. #ifndef SAADC_CONFIG_DEBUG_COLOR
  6358. #define SAADC_CONFIG_DEBUG_COLOR 0
  6359. #endif
  6360. // </e>
  6361. // <e> SPIS_CONFIG_LOG_ENABLED - Enables logging in the module.
  6362. //==========================================================
  6363. #ifndef SPIS_CONFIG_LOG_ENABLED
  6364. #define SPIS_CONFIG_LOG_ENABLED 0
  6365. #endif
  6366. // <o> SPIS_CONFIG_LOG_LEVEL - Default Severity level
  6367. // <0=> Off
  6368. // <1=> Error
  6369. // <2=> Warning
  6370. // <3=> Info
  6371. // <4=> Debug
  6372. #ifndef SPIS_CONFIG_LOG_LEVEL
  6373. #define SPIS_CONFIG_LOG_LEVEL 3
  6374. #endif
  6375. // <o> SPIS_CONFIG_INFO_COLOR - ANSI escape code prefix.
  6376. // <0=> Default
  6377. // <1=> Black
  6378. // <2=> Red
  6379. // <3=> Green
  6380. // <4=> Yellow
  6381. // <5=> Blue
  6382. // <6=> Magenta
  6383. // <7=> Cyan
  6384. // <8=> White
  6385. #ifndef SPIS_CONFIG_INFO_COLOR
  6386. #define SPIS_CONFIG_INFO_COLOR 0
  6387. #endif
  6388. // <o> SPIS_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  6389. // <0=> Default
  6390. // <1=> Black
  6391. // <2=> Red
  6392. // <3=> Green
  6393. // <4=> Yellow
  6394. // <5=> Blue
  6395. // <6=> Magenta
  6396. // <7=> Cyan
  6397. // <8=> White
  6398. #ifndef SPIS_CONFIG_DEBUG_COLOR
  6399. #define SPIS_CONFIG_DEBUG_COLOR 0
  6400. #endif
  6401. // </e>
  6402. // <e> SPI_CONFIG_LOG_ENABLED - Enables logging in the module.
  6403. //==========================================================
  6404. #ifndef SPI_CONFIG_LOG_ENABLED
  6405. #define SPI_CONFIG_LOG_ENABLED 0
  6406. #endif
  6407. // <o> SPI_CONFIG_LOG_LEVEL - Default Severity level
  6408. // <0=> Off
  6409. // <1=> Error
  6410. // <2=> Warning
  6411. // <3=> Info
  6412. // <4=> Debug
  6413. #ifndef SPI_CONFIG_LOG_LEVEL
  6414. #define SPI_CONFIG_LOG_LEVEL 3
  6415. #endif
  6416. // <o> SPI_CONFIG_INFO_COLOR - ANSI escape code prefix.
  6417. // <0=> Default
  6418. // <1=> Black
  6419. // <2=> Red
  6420. // <3=> Green
  6421. // <4=> Yellow
  6422. // <5=> Blue
  6423. // <6=> Magenta
  6424. // <7=> Cyan
  6425. // <8=> White
  6426. #ifndef SPI_CONFIG_INFO_COLOR
  6427. #define SPI_CONFIG_INFO_COLOR 0
  6428. #endif
  6429. // <o> SPI_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  6430. // <0=> Default
  6431. // <1=> Black
  6432. // <2=> Red
  6433. // <3=> Green
  6434. // <4=> Yellow
  6435. // <5=> Blue
  6436. // <6=> Magenta
  6437. // <7=> Cyan
  6438. // <8=> White
  6439. #ifndef SPI_CONFIG_DEBUG_COLOR
  6440. #define SPI_CONFIG_DEBUG_COLOR 0
  6441. #endif
  6442. // </e>
  6443. // <e> TIMER_CONFIG_LOG_ENABLED - Enables logging in the module.
  6444. //==========================================================
  6445. #ifndef TIMER_CONFIG_LOG_ENABLED
  6446. #define TIMER_CONFIG_LOG_ENABLED 0
  6447. #endif
  6448. // <o> TIMER_CONFIG_LOG_LEVEL - Default Severity level
  6449. // <0=> Off
  6450. // <1=> Error
  6451. // <2=> Warning
  6452. // <3=> Info
  6453. // <4=> Debug
  6454. #ifndef TIMER_CONFIG_LOG_LEVEL
  6455. #define TIMER_CONFIG_LOG_LEVEL 3
  6456. #endif
  6457. // <o> TIMER_CONFIG_INFO_COLOR - ANSI escape code prefix.
  6458. // <0=> Default
  6459. // <1=> Black
  6460. // <2=> Red
  6461. // <3=> Green
  6462. // <4=> Yellow
  6463. // <5=> Blue
  6464. // <6=> Magenta
  6465. // <7=> Cyan
  6466. // <8=> White
  6467. #ifndef TIMER_CONFIG_INFO_COLOR
  6468. #define TIMER_CONFIG_INFO_COLOR 0
  6469. #endif
  6470. // <o> TIMER_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  6471. // <0=> Default
  6472. // <1=> Black
  6473. // <2=> Red
  6474. // <3=> Green
  6475. // <4=> Yellow
  6476. // <5=> Blue
  6477. // <6=> Magenta
  6478. // <7=> Cyan
  6479. // <8=> White
  6480. #ifndef TIMER_CONFIG_DEBUG_COLOR
  6481. #define TIMER_CONFIG_DEBUG_COLOR 0
  6482. #endif
  6483. // </e>
  6484. // <e> TWIS_CONFIG_LOG_ENABLED - Enables logging in the module.
  6485. //==========================================================
  6486. #ifndef TWIS_CONFIG_LOG_ENABLED
  6487. #define TWIS_CONFIG_LOG_ENABLED 0
  6488. #endif
  6489. // <o> TWIS_CONFIG_LOG_LEVEL - Default Severity level
  6490. // <0=> Off
  6491. // <1=> Error
  6492. // <2=> Warning
  6493. // <3=> Info
  6494. // <4=> Debug
  6495. #ifndef TWIS_CONFIG_LOG_LEVEL
  6496. #define TWIS_CONFIG_LOG_LEVEL 3
  6497. #endif
  6498. // <o> TWIS_CONFIG_INFO_COLOR - ANSI escape code prefix.
  6499. // <0=> Default
  6500. // <1=> Black
  6501. // <2=> Red
  6502. // <3=> Green
  6503. // <4=> Yellow
  6504. // <5=> Blue
  6505. // <6=> Magenta
  6506. // <7=> Cyan
  6507. // <8=> White
  6508. #ifndef TWIS_CONFIG_INFO_COLOR
  6509. #define TWIS_CONFIG_INFO_COLOR 0
  6510. #endif
  6511. // <o> TWIS_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  6512. // <0=> Default
  6513. // <1=> Black
  6514. // <2=> Red
  6515. // <3=> Green
  6516. // <4=> Yellow
  6517. // <5=> Blue
  6518. // <6=> Magenta
  6519. // <7=> Cyan
  6520. // <8=> White
  6521. #ifndef TWIS_CONFIG_DEBUG_COLOR
  6522. #define TWIS_CONFIG_DEBUG_COLOR 0
  6523. #endif
  6524. // </e>
  6525. // <e> TWI_CONFIG_LOG_ENABLED - Enables logging in the module.
  6526. //==========================================================
  6527. #ifndef TWI_CONFIG_LOG_ENABLED
  6528. #define TWI_CONFIG_LOG_ENABLED 0
  6529. #endif
  6530. // <o> TWI_CONFIG_LOG_LEVEL - Default Severity level
  6531. // <0=> Off
  6532. // <1=> Error
  6533. // <2=> Warning
  6534. // <3=> Info
  6535. // <4=> Debug
  6536. #ifndef TWI_CONFIG_LOG_LEVEL
  6537. #define TWI_CONFIG_LOG_LEVEL 3
  6538. #endif
  6539. // <o> TWI_CONFIG_INFO_COLOR - ANSI escape code prefix.
  6540. // <0=> Default
  6541. // <1=> Black
  6542. // <2=> Red
  6543. // <3=> Green
  6544. // <4=> Yellow
  6545. // <5=> Blue
  6546. // <6=> Magenta
  6547. // <7=> Cyan
  6548. // <8=> White
  6549. #ifndef TWI_CONFIG_INFO_COLOR
  6550. #define TWI_CONFIG_INFO_COLOR 0
  6551. #endif
  6552. // <o> TWI_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  6553. // <0=> Default
  6554. // <1=> Black
  6555. // <2=> Red
  6556. // <3=> Green
  6557. // <4=> Yellow
  6558. // <5=> Blue
  6559. // <6=> Magenta
  6560. // <7=> Cyan
  6561. // <8=> White
  6562. #ifndef TWI_CONFIG_DEBUG_COLOR
  6563. #define TWI_CONFIG_DEBUG_COLOR 0
  6564. #endif
  6565. // </e>
  6566. // <e> UART_CONFIG_LOG_ENABLED - Enables logging in the module.
  6567. //==========================================================
  6568. #ifndef UART_CONFIG_LOG_ENABLED
  6569. #define UART_CONFIG_LOG_ENABLED 0
  6570. #endif
  6571. // <o> UART_CONFIG_LOG_LEVEL - Default Severity level
  6572. // <0=> Off
  6573. // <1=> Error
  6574. // <2=> Warning
  6575. // <3=> Info
  6576. // <4=> Debug
  6577. #ifndef UART_CONFIG_LOG_LEVEL
  6578. #define UART_CONFIG_LOG_LEVEL 3
  6579. #endif
  6580. // <o> UART_CONFIG_INFO_COLOR - ANSI escape code prefix.
  6581. // <0=> Default
  6582. // <1=> Black
  6583. // <2=> Red
  6584. // <3=> Green
  6585. // <4=> Yellow
  6586. // <5=> Blue
  6587. // <6=> Magenta
  6588. // <7=> Cyan
  6589. // <8=> White
  6590. #ifndef UART_CONFIG_INFO_COLOR
  6591. #define UART_CONFIG_INFO_COLOR 0
  6592. #endif
  6593. // <o> UART_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  6594. // <0=> Default
  6595. // <1=> Black
  6596. // <2=> Red
  6597. // <3=> Green
  6598. // <4=> Yellow
  6599. // <5=> Blue
  6600. // <6=> Magenta
  6601. // <7=> Cyan
  6602. // <8=> White
  6603. #ifndef UART_CONFIG_DEBUG_COLOR
  6604. #define UART_CONFIG_DEBUG_COLOR 0
  6605. #endif
  6606. // </e>
  6607. // <e> USBD_CONFIG_LOG_ENABLED - Enable logging in the module
  6608. //==========================================================
  6609. #ifndef USBD_CONFIG_LOG_ENABLED
  6610. #define USBD_CONFIG_LOG_ENABLED 0
  6611. #endif
  6612. // <o> USBD_CONFIG_LOG_LEVEL - Default Severity level
  6613. // <0=> Off
  6614. // <1=> Error
  6615. // <2=> Warning
  6616. // <3=> Info
  6617. // <4=> Debug
  6618. #ifndef USBD_CONFIG_LOG_LEVEL
  6619. #define USBD_CONFIG_LOG_LEVEL 3
  6620. #endif
  6621. // <o> USBD_CONFIG_INFO_COLOR - ANSI escape code prefix.
  6622. // <0=> Default
  6623. // <1=> Black
  6624. // <2=> Red
  6625. // <3=> Green
  6626. // <4=> Yellow
  6627. // <5=> Blue
  6628. // <6=> Magenta
  6629. // <7=> Cyan
  6630. // <8=> White
  6631. #ifndef USBD_CONFIG_INFO_COLOR
  6632. #define USBD_CONFIG_INFO_COLOR 0
  6633. #endif
  6634. // <o> USBD_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  6635. // <0=> Default
  6636. // <1=> Black
  6637. // <2=> Red
  6638. // <3=> Green
  6639. // <4=> Yellow
  6640. // <5=> Blue
  6641. // <6=> Magenta
  6642. // <7=> Cyan
  6643. // <8=> White
  6644. #ifndef USBD_CONFIG_DEBUG_COLOR
  6645. #define USBD_CONFIG_DEBUG_COLOR 0
  6646. #endif
  6647. // </e>
  6648. // <e> WDT_CONFIG_LOG_ENABLED - Enables logging in the module.
  6649. //==========================================================
  6650. #ifndef WDT_CONFIG_LOG_ENABLED
  6651. #define WDT_CONFIG_LOG_ENABLED 0
  6652. #endif
  6653. // <o> WDT_CONFIG_LOG_LEVEL - Default Severity level
  6654. // <0=> Off
  6655. // <1=> Error
  6656. // <2=> Warning
  6657. // <3=> Info
  6658. // <4=> Debug
  6659. #ifndef WDT_CONFIG_LOG_LEVEL
  6660. #define WDT_CONFIG_LOG_LEVEL 3
  6661. #endif
  6662. // <o> WDT_CONFIG_INFO_COLOR - ANSI escape code prefix.
  6663. // <0=> Default
  6664. // <1=> Black
  6665. // <2=> Red
  6666. // <3=> Green
  6667. // <4=> Yellow
  6668. // <5=> Blue
  6669. // <6=> Magenta
  6670. // <7=> Cyan
  6671. // <8=> White
  6672. #ifndef WDT_CONFIG_INFO_COLOR
  6673. #define WDT_CONFIG_INFO_COLOR 0
  6674. #endif
  6675. // <o> WDT_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  6676. // <0=> Default
  6677. // <1=> Black
  6678. // <2=> Red
  6679. // <3=> Green
  6680. // <4=> Yellow
  6681. // <5=> Blue
  6682. // <6=> Magenta
  6683. // <7=> Cyan
  6684. // <8=> White
  6685. #ifndef WDT_CONFIG_DEBUG_COLOR
  6686. #define WDT_CONFIG_DEBUG_COLOR 0
  6687. #endif
  6688. // </e>
  6689. // </h>
  6690. //==========================================================
  6691. // <h> nrf_log in nRF_Libraries
  6692. //==========================================================
  6693. // <e> APP_BUTTON_CONFIG_LOG_ENABLED - Enables logging in the module.
  6694. //==========================================================
  6695. #ifndef APP_BUTTON_CONFIG_LOG_ENABLED
  6696. #define APP_BUTTON_CONFIG_LOG_ENABLED 0
  6697. #endif
  6698. // <o> APP_BUTTON_CONFIG_LOG_LEVEL - Default Severity level
  6699. // <0=> Off
  6700. // <1=> Error
  6701. // <2=> Warning
  6702. // <3=> Info
  6703. // <4=> Debug
  6704. #ifndef APP_BUTTON_CONFIG_LOG_LEVEL
  6705. #define APP_BUTTON_CONFIG_LOG_LEVEL 3
  6706. #endif
  6707. // <o> APP_BUTTON_CONFIG_INITIAL_LOG_LEVEL - Initial severity level if dynamic filtering is enabled.
  6708. // <i> If module generates a lot of logs, initial log level can
  6709. // <i> be decreased to prevent flooding. Severity level can be
  6710. // <i> increased on instance basis.
  6711. // <0=> Off
  6712. // <1=> Error
  6713. // <2=> Warning
  6714. // <3=> Info
  6715. // <4=> Debug
  6716. #ifndef APP_BUTTON_CONFIG_INITIAL_LOG_LEVEL
  6717. #define APP_BUTTON_CONFIG_INITIAL_LOG_LEVEL 3
  6718. #endif
  6719. // <o> APP_BUTTON_CONFIG_INFO_COLOR - ANSI escape code prefix.
  6720. // <0=> Default
  6721. // <1=> Black
  6722. // <2=> Red
  6723. // <3=> Green
  6724. // <4=> Yellow
  6725. // <5=> Blue
  6726. // <6=> Magenta
  6727. // <7=> Cyan
  6728. // <8=> White
  6729. #ifndef APP_BUTTON_CONFIG_INFO_COLOR
  6730. #define APP_BUTTON_CONFIG_INFO_COLOR 0
  6731. #endif
  6732. // <o> APP_BUTTON_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  6733. // <0=> Default
  6734. // <1=> Black
  6735. // <2=> Red
  6736. // <3=> Green
  6737. // <4=> Yellow
  6738. // <5=> Blue
  6739. // <6=> Magenta
  6740. // <7=> Cyan
  6741. // <8=> White
  6742. #ifndef APP_BUTTON_CONFIG_DEBUG_COLOR
  6743. #define APP_BUTTON_CONFIG_DEBUG_COLOR 0
  6744. #endif
  6745. // </e>
  6746. // <e> APP_TIMER_CONFIG_LOG_ENABLED - Enables logging in the module.
  6747. //==========================================================
  6748. #ifndef APP_TIMER_CONFIG_LOG_ENABLED
  6749. #define APP_TIMER_CONFIG_LOG_ENABLED 0
  6750. #endif
  6751. // <o> APP_TIMER_CONFIG_LOG_LEVEL - Default Severity level
  6752. // <0=> Off
  6753. // <1=> Error
  6754. // <2=> Warning
  6755. // <3=> Info
  6756. // <4=> Debug
  6757. #ifndef APP_TIMER_CONFIG_LOG_LEVEL
  6758. #define APP_TIMER_CONFIG_LOG_LEVEL 3
  6759. #endif
  6760. // <o> APP_TIMER_CONFIG_INITIAL_LOG_LEVEL - Initial severity level if dynamic filtering is enabled.
  6761. // <i> If module generates a lot of logs, initial log level can
  6762. // <i> be decreased to prevent flooding. Severity level can be
  6763. // <i> increased on instance basis.
  6764. // <0=> Off
  6765. // <1=> Error
  6766. // <2=> Warning
  6767. // <3=> Info
  6768. // <4=> Debug
  6769. #ifndef APP_TIMER_CONFIG_INITIAL_LOG_LEVEL
  6770. #define APP_TIMER_CONFIG_INITIAL_LOG_LEVEL 3
  6771. #endif
  6772. // <o> APP_TIMER_CONFIG_INFO_COLOR - ANSI escape code prefix.
  6773. // <0=> Default
  6774. // <1=> Black
  6775. // <2=> Red
  6776. // <3=> Green
  6777. // <4=> Yellow
  6778. // <5=> Blue
  6779. // <6=> Magenta
  6780. // <7=> Cyan
  6781. // <8=> White
  6782. #ifndef APP_TIMER_CONFIG_INFO_COLOR
  6783. #define APP_TIMER_CONFIG_INFO_COLOR 0
  6784. #endif
  6785. // <o> APP_TIMER_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  6786. // <0=> Default
  6787. // <1=> Black
  6788. // <2=> Red
  6789. // <3=> Green
  6790. // <4=> Yellow
  6791. // <5=> Blue
  6792. // <6=> Magenta
  6793. // <7=> Cyan
  6794. // <8=> White
  6795. #ifndef APP_TIMER_CONFIG_DEBUG_COLOR
  6796. #define APP_TIMER_CONFIG_DEBUG_COLOR 0
  6797. #endif
  6798. // </e>
  6799. // <e> APP_USBD_CDC_ACM_CONFIG_LOG_ENABLED - Enables logging in the module.
  6800. //==========================================================
  6801. #ifndef APP_USBD_CDC_ACM_CONFIG_LOG_ENABLED
  6802. #define APP_USBD_CDC_ACM_CONFIG_LOG_ENABLED 0
  6803. #endif
  6804. // <o> APP_USBD_CDC_ACM_CONFIG_LOG_LEVEL - Default Severity level
  6805. // <0=> Off
  6806. // <1=> Error
  6807. // <2=> Warning
  6808. // <3=> Info
  6809. // <4=> Debug
  6810. #ifndef APP_USBD_CDC_ACM_CONFIG_LOG_LEVEL
  6811. #define APP_USBD_CDC_ACM_CONFIG_LOG_LEVEL 3
  6812. #endif
  6813. // <o> APP_USBD_CDC_ACM_CONFIG_INFO_COLOR - ANSI escape code prefix.
  6814. // <0=> Default
  6815. // <1=> Black
  6816. // <2=> Red
  6817. // <3=> Green
  6818. // <4=> Yellow
  6819. // <5=> Blue
  6820. // <6=> Magenta
  6821. // <7=> Cyan
  6822. // <8=> White
  6823. #ifndef APP_USBD_CDC_ACM_CONFIG_INFO_COLOR
  6824. #define APP_USBD_CDC_ACM_CONFIG_INFO_COLOR 0
  6825. #endif
  6826. // <o> APP_USBD_CDC_ACM_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  6827. // <0=> Default
  6828. // <1=> Black
  6829. // <2=> Red
  6830. // <3=> Green
  6831. // <4=> Yellow
  6832. // <5=> Blue
  6833. // <6=> Magenta
  6834. // <7=> Cyan
  6835. // <8=> White
  6836. #ifndef APP_USBD_CDC_ACM_CONFIG_DEBUG_COLOR
  6837. #define APP_USBD_CDC_ACM_CONFIG_DEBUG_COLOR 0
  6838. #endif
  6839. // </e>
  6840. // <e> APP_USBD_CONFIG_LOG_ENABLED - Enable logging in the module.
  6841. //==========================================================
  6842. #ifndef APP_USBD_CONFIG_LOG_ENABLED
  6843. #define APP_USBD_CONFIG_LOG_ENABLED 0
  6844. #endif
  6845. // <o> APP_USBD_CONFIG_LOG_LEVEL - Default Severity level
  6846. // <0=> Off
  6847. // <1=> Error
  6848. // <2=> Warning
  6849. // <3=> Info
  6850. // <4=> Debug
  6851. #ifndef APP_USBD_CONFIG_LOG_LEVEL
  6852. #define APP_USBD_CONFIG_LOG_LEVEL 3
  6853. #endif
  6854. // <o> APP_USBD_CONFIG_INFO_COLOR - ANSI escape code prefix.
  6855. // <0=> Default
  6856. // <1=> Black
  6857. // <2=> Red
  6858. // <3=> Green
  6859. // <4=> Yellow
  6860. // <5=> Blue
  6861. // <6=> Magenta
  6862. // <7=> Cyan
  6863. // <8=> White
  6864. #ifndef APP_USBD_CONFIG_INFO_COLOR
  6865. #define APP_USBD_CONFIG_INFO_COLOR 0
  6866. #endif
  6867. // <o> APP_USBD_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  6868. // <0=> Default
  6869. // <1=> Black
  6870. // <2=> Red
  6871. // <3=> Green
  6872. // <4=> Yellow
  6873. // <5=> Blue
  6874. // <6=> Magenta
  6875. // <7=> Cyan
  6876. // <8=> White
  6877. #ifndef APP_USBD_CONFIG_DEBUG_COLOR
  6878. #define APP_USBD_CONFIG_DEBUG_COLOR 0
  6879. #endif
  6880. // </e>
  6881. // <e> APP_USBD_DUMMY_CONFIG_LOG_ENABLED - Enables logging in the module.
  6882. //==========================================================
  6883. #ifndef APP_USBD_DUMMY_CONFIG_LOG_ENABLED
  6884. #define APP_USBD_DUMMY_CONFIG_LOG_ENABLED 0
  6885. #endif
  6886. // <o> APP_USBD_DUMMY_CONFIG_LOG_LEVEL - Default Severity level
  6887. // <0=> Off
  6888. // <1=> Error
  6889. // <2=> Warning
  6890. // <3=> Info
  6891. // <4=> Debug
  6892. #ifndef APP_USBD_DUMMY_CONFIG_LOG_LEVEL
  6893. #define APP_USBD_DUMMY_CONFIG_LOG_LEVEL 3
  6894. #endif
  6895. // <o> APP_USBD_DUMMY_CONFIG_INFO_COLOR - ANSI escape code prefix.
  6896. // <0=> Default
  6897. // <1=> Black
  6898. // <2=> Red
  6899. // <3=> Green
  6900. // <4=> Yellow
  6901. // <5=> Blue
  6902. // <6=> Magenta
  6903. // <7=> Cyan
  6904. // <8=> White
  6905. #ifndef APP_USBD_DUMMY_CONFIG_INFO_COLOR
  6906. #define APP_USBD_DUMMY_CONFIG_INFO_COLOR 0
  6907. #endif
  6908. // <o> APP_USBD_DUMMY_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  6909. // <0=> Default
  6910. // <1=> Black
  6911. // <2=> Red
  6912. // <3=> Green
  6913. // <4=> Yellow
  6914. // <5=> Blue
  6915. // <6=> Magenta
  6916. // <7=> Cyan
  6917. // <8=> White
  6918. #ifndef APP_USBD_DUMMY_CONFIG_DEBUG_COLOR
  6919. #define APP_USBD_DUMMY_CONFIG_DEBUG_COLOR 0
  6920. #endif
  6921. // </e>
  6922. // <e> APP_USBD_MSC_CONFIG_LOG_ENABLED - Enables logging in the module.
  6923. //==========================================================
  6924. #ifndef APP_USBD_MSC_CONFIG_LOG_ENABLED
  6925. #define APP_USBD_MSC_CONFIG_LOG_ENABLED 0
  6926. #endif
  6927. // <o> APP_USBD_MSC_CONFIG_LOG_LEVEL - Default Severity level
  6928. // <0=> Off
  6929. // <1=> Error
  6930. // <2=> Warning
  6931. // <3=> Info
  6932. // <4=> Debug
  6933. #ifndef APP_USBD_MSC_CONFIG_LOG_LEVEL
  6934. #define APP_USBD_MSC_CONFIG_LOG_LEVEL 3
  6935. #endif
  6936. // <o> APP_USBD_MSC_CONFIG_INFO_COLOR - ANSI escape code prefix.
  6937. // <0=> Default
  6938. // <1=> Black
  6939. // <2=> Red
  6940. // <3=> Green
  6941. // <4=> Yellow
  6942. // <5=> Blue
  6943. // <6=> Magenta
  6944. // <7=> Cyan
  6945. // <8=> White
  6946. #ifndef APP_USBD_MSC_CONFIG_INFO_COLOR
  6947. #define APP_USBD_MSC_CONFIG_INFO_COLOR 0
  6948. #endif
  6949. // <o> APP_USBD_MSC_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  6950. // <0=> Default
  6951. // <1=> Black
  6952. // <2=> Red
  6953. // <3=> Green
  6954. // <4=> Yellow
  6955. // <5=> Blue
  6956. // <6=> Magenta
  6957. // <7=> Cyan
  6958. // <8=> White
  6959. #ifndef APP_USBD_MSC_CONFIG_DEBUG_COLOR
  6960. #define APP_USBD_MSC_CONFIG_DEBUG_COLOR 0
  6961. #endif
  6962. // </e>
  6963. // <e> APP_USBD_NRF_DFU_TRIGGER_CONFIG_LOG_ENABLED - Enables logging in the module.
  6964. //==========================================================
  6965. #ifndef APP_USBD_NRF_DFU_TRIGGER_CONFIG_LOG_ENABLED
  6966. #define APP_USBD_NRF_DFU_TRIGGER_CONFIG_LOG_ENABLED 0
  6967. #endif
  6968. // <o> APP_USBD_NRF_DFU_TRIGGER_CONFIG_LOG_LEVEL - Default Severity level
  6969. // <0=> Off
  6970. // <1=> Error
  6971. // <2=> Warning
  6972. // <3=> Info
  6973. // <4=> Debug
  6974. #ifndef APP_USBD_NRF_DFU_TRIGGER_CONFIG_LOG_LEVEL
  6975. #define APP_USBD_NRF_DFU_TRIGGER_CONFIG_LOG_LEVEL 3
  6976. #endif
  6977. // <o> APP_USBD_NRF_DFU_TRIGGER_CONFIG_INFO_COLOR - ANSI escape code prefix.
  6978. // <0=> Default
  6979. // <1=> Black
  6980. // <2=> Red
  6981. // <3=> Green
  6982. // <4=> Yellow
  6983. // <5=> Blue
  6984. // <6=> Magenta
  6985. // <7=> Cyan
  6986. // <8=> White
  6987. #ifndef APP_USBD_NRF_DFU_TRIGGER_CONFIG_INFO_COLOR
  6988. #define APP_USBD_NRF_DFU_TRIGGER_CONFIG_INFO_COLOR 0
  6989. #endif
  6990. // <o> APP_USBD_NRF_DFU_TRIGGER_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  6991. // <0=> Default
  6992. // <1=> Black
  6993. // <2=> Red
  6994. // <3=> Green
  6995. // <4=> Yellow
  6996. // <5=> Blue
  6997. // <6=> Magenta
  6998. // <7=> Cyan
  6999. // <8=> White
  7000. #ifndef APP_USBD_NRF_DFU_TRIGGER_CONFIG_DEBUG_COLOR
  7001. #define APP_USBD_NRF_DFU_TRIGGER_CONFIG_DEBUG_COLOR 0
  7002. #endif
  7003. // </e>
  7004. // <e> NRF_ATFIFO_CONFIG_LOG_ENABLED - Enables logging in the module.
  7005. //==========================================================
  7006. #ifndef NRF_ATFIFO_CONFIG_LOG_ENABLED
  7007. #define NRF_ATFIFO_CONFIG_LOG_ENABLED 0
  7008. #endif
  7009. // <o> NRF_ATFIFO_CONFIG_LOG_LEVEL - Default Severity level
  7010. // <0=> Off
  7011. // <1=> Error
  7012. // <2=> Warning
  7013. // <3=> Info
  7014. // <4=> Debug
  7015. #ifndef NRF_ATFIFO_CONFIG_LOG_LEVEL
  7016. #define NRF_ATFIFO_CONFIG_LOG_LEVEL 3
  7017. #endif
  7018. // <o> NRF_ATFIFO_CONFIG_LOG_INIT_FILTER_LEVEL - Initial severity level if dynamic filtering is enabled
  7019. // <0=> Off
  7020. // <1=> Error
  7021. // <2=> Warning
  7022. // <3=> Info
  7023. // <4=> Debug
  7024. #ifndef NRF_ATFIFO_CONFIG_LOG_INIT_FILTER_LEVEL
  7025. #define NRF_ATFIFO_CONFIG_LOG_INIT_FILTER_LEVEL 3
  7026. #endif
  7027. // <o> NRF_ATFIFO_CONFIG_INFO_COLOR - ANSI escape code prefix.
  7028. // <0=> Default
  7029. // <1=> Black
  7030. // <2=> Red
  7031. // <3=> Green
  7032. // <4=> Yellow
  7033. // <5=> Blue
  7034. // <6=> Magenta
  7035. // <7=> Cyan
  7036. // <8=> White
  7037. #ifndef NRF_ATFIFO_CONFIG_INFO_COLOR
  7038. #define NRF_ATFIFO_CONFIG_INFO_COLOR 0
  7039. #endif
  7040. // <o> NRF_ATFIFO_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  7041. // <0=> Default
  7042. // <1=> Black
  7043. // <2=> Red
  7044. // <3=> Green
  7045. // <4=> Yellow
  7046. // <5=> Blue
  7047. // <6=> Magenta
  7048. // <7=> Cyan
  7049. // <8=> White
  7050. #ifndef NRF_ATFIFO_CONFIG_DEBUG_COLOR
  7051. #define NRF_ATFIFO_CONFIG_DEBUG_COLOR 0
  7052. #endif
  7053. // </e>
  7054. // <e> NRF_BALLOC_CONFIG_LOG_ENABLED - Enables logging in the module.
  7055. //==========================================================
  7056. #ifndef NRF_BALLOC_CONFIG_LOG_ENABLED
  7057. #define NRF_BALLOC_CONFIG_LOG_ENABLED 0
  7058. #endif
  7059. // <o> NRF_BALLOC_CONFIG_LOG_LEVEL - Default Severity level
  7060. // <0=> Off
  7061. // <1=> Error
  7062. // <2=> Warning
  7063. // <3=> Info
  7064. // <4=> Debug
  7065. #ifndef NRF_BALLOC_CONFIG_LOG_LEVEL
  7066. #define NRF_BALLOC_CONFIG_LOG_LEVEL 3
  7067. #endif
  7068. // <o> NRF_BALLOC_CONFIG_INITIAL_LOG_LEVEL - Initial severity level if dynamic filtering is enabled.
  7069. // <i> If module generates a lot of logs, initial log level can
  7070. // <i> be decreased to prevent flooding. Severity level can be
  7071. // <i> increased on instance basis.
  7072. // <0=> Off
  7073. // <1=> Error
  7074. // <2=> Warning
  7075. // <3=> Info
  7076. // <4=> Debug
  7077. #ifndef NRF_BALLOC_CONFIG_INITIAL_LOG_LEVEL
  7078. #define NRF_BALLOC_CONFIG_INITIAL_LOG_LEVEL 3
  7079. #endif
  7080. // <o> NRF_BALLOC_CONFIG_INFO_COLOR - ANSI escape code prefix.
  7081. // <0=> Default
  7082. // <1=> Black
  7083. // <2=> Red
  7084. // <3=> Green
  7085. // <4=> Yellow
  7086. // <5=> Blue
  7087. // <6=> Magenta
  7088. // <7=> Cyan
  7089. // <8=> White
  7090. #ifndef NRF_BALLOC_CONFIG_INFO_COLOR
  7091. #define NRF_BALLOC_CONFIG_INFO_COLOR 0
  7092. #endif
  7093. // <o> NRF_BALLOC_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  7094. // <0=> Default
  7095. // <1=> Black
  7096. // <2=> Red
  7097. // <3=> Green
  7098. // <4=> Yellow
  7099. // <5=> Blue
  7100. // <6=> Magenta
  7101. // <7=> Cyan
  7102. // <8=> White
  7103. #ifndef NRF_BALLOC_CONFIG_DEBUG_COLOR
  7104. #define NRF_BALLOC_CONFIG_DEBUG_COLOR 0
  7105. #endif
  7106. // </e>
  7107. // <e> NRF_BLOCK_DEV_EMPTY_CONFIG_LOG_ENABLED - Enables logging in the module.
  7108. //==========================================================
  7109. #ifndef NRF_BLOCK_DEV_EMPTY_CONFIG_LOG_ENABLED
  7110. #define NRF_BLOCK_DEV_EMPTY_CONFIG_LOG_ENABLED 0
  7111. #endif
  7112. // <o> NRF_BLOCK_DEV_EMPTY_CONFIG_LOG_LEVEL - Default Severity level
  7113. // <0=> Off
  7114. // <1=> Error
  7115. // <2=> Warning
  7116. // <3=> Info
  7117. // <4=> Debug
  7118. #ifndef NRF_BLOCK_DEV_EMPTY_CONFIG_LOG_LEVEL
  7119. #define NRF_BLOCK_DEV_EMPTY_CONFIG_LOG_LEVEL 3
  7120. #endif
  7121. // <o> NRF_BLOCK_DEV_EMPTY_CONFIG_LOG_INIT_FILTER_LEVEL - Initial severity level if dynamic filtering is enabled
  7122. // <0=> Off
  7123. // <1=> Error
  7124. // <2=> Warning
  7125. // <3=> Info
  7126. // <4=> Debug
  7127. #ifndef NRF_BLOCK_DEV_EMPTY_CONFIG_LOG_INIT_FILTER_LEVEL
  7128. #define NRF_BLOCK_DEV_EMPTY_CONFIG_LOG_INIT_FILTER_LEVEL 3
  7129. #endif
  7130. // <o> NRF_BLOCK_DEV_EMPTY_CONFIG_INFO_COLOR - ANSI escape code prefix.
  7131. // <0=> Default
  7132. // <1=> Black
  7133. // <2=> Red
  7134. // <3=> Green
  7135. // <4=> Yellow
  7136. // <5=> Blue
  7137. // <6=> Magenta
  7138. // <7=> Cyan
  7139. // <8=> White
  7140. #ifndef NRF_BLOCK_DEV_EMPTY_CONFIG_INFO_COLOR
  7141. #define NRF_BLOCK_DEV_EMPTY_CONFIG_INFO_COLOR 0
  7142. #endif
  7143. // <o> NRF_BLOCK_DEV_EMPTY_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  7144. // <0=> Default
  7145. // <1=> Black
  7146. // <2=> Red
  7147. // <3=> Green
  7148. // <4=> Yellow
  7149. // <5=> Blue
  7150. // <6=> Magenta
  7151. // <7=> Cyan
  7152. // <8=> White
  7153. #ifndef NRF_BLOCK_DEV_EMPTY_CONFIG_DEBUG_COLOR
  7154. #define NRF_BLOCK_DEV_EMPTY_CONFIG_DEBUG_COLOR 0
  7155. #endif
  7156. // </e>
  7157. // <e> NRF_BLOCK_DEV_QSPI_CONFIG_LOG_ENABLED - Enables logging in the module.
  7158. //==========================================================
  7159. #ifndef NRF_BLOCK_DEV_QSPI_CONFIG_LOG_ENABLED
  7160. #define NRF_BLOCK_DEV_QSPI_CONFIG_LOG_ENABLED 0
  7161. #endif
  7162. // <o> NRF_BLOCK_DEV_QSPI_CONFIG_LOG_LEVEL - Default Severity level
  7163. // <0=> Off
  7164. // <1=> Error
  7165. // <2=> Warning
  7166. // <3=> Info
  7167. // <4=> Debug
  7168. #ifndef NRF_BLOCK_DEV_QSPI_CONFIG_LOG_LEVEL
  7169. #define NRF_BLOCK_DEV_QSPI_CONFIG_LOG_LEVEL 3
  7170. #endif
  7171. // <o> NRF_BLOCK_DEV_QSPI_CONFIG_LOG_INIT_FILTER_LEVEL - Initial severity level if dynamic filtering is enabled
  7172. // <0=> Off
  7173. // <1=> Error
  7174. // <2=> Warning
  7175. // <3=> Info
  7176. // <4=> Debug
  7177. #ifndef NRF_BLOCK_DEV_QSPI_CONFIG_LOG_INIT_FILTER_LEVEL
  7178. #define NRF_BLOCK_DEV_QSPI_CONFIG_LOG_INIT_FILTER_LEVEL 3
  7179. #endif
  7180. // <o> NRF_BLOCK_DEV_QSPI_CONFIG_INFO_COLOR - ANSI escape code prefix.
  7181. // <0=> Default
  7182. // <1=> Black
  7183. // <2=> Red
  7184. // <3=> Green
  7185. // <4=> Yellow
  7186. // <5=> Blue
  7187. // <6=> Magenta
  7188. // <7=> Cyan
  7189. // <8=> White
  7190. #ifndef NRF_BLOCK_DEV_QSPI_CONFIG_INFO_COLOR
  7191. #define NRF_BLOCK_DEV_QSPI_CONFIG_INFO_COLOR 0
  7192. #endif
  7193. // <o> NRF_BLOCK_DEV_QSPI_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  7194. // <0=> Default
  7195. // <1=> Black
  7196. // <2=> Red
  7197. // <3=> Green
  7198. // <4=> Yellow
  7199. // <5=> Blue
  7200. // <6=> Magenta
  7201. // <7=> Cyan
  7202. // <8=> White
  7203. #ifndef NRF_BLOCK_DEV_QSPI_CONFIG_DEBUG_COLOR
  7204. #define NRF_BLOCK_DEV_QSPI_CONFIG_DEBUG_COLOR 0
  7205. #endif
  7206. // </e>
  7207. // <e> NRF_BLOCK_DEV_RAM_CONFIG_LOG_ENABLED - Enables logging in the module.
  7208. //==========================================================
  7209. #ifndef NRF_BLOCK_DEV_RAM_CONFIG_LOG_ENABLED
  7210. #define NRF_BLOCK_DEV_RAM_CONFIG_LOG_ENABLED 0
  7211. #endif
  7212. // <o> NRF_BLOCK_DEV_RAM_CONFIG_LOG_LEVEL - Default Severity level
  7213. // <0=> Off
  7214. // <1=> Error
  7215. // <2=> Warning
  7216. // <3=> Info
  7217. // <4=> Debug
  7218. #ifndef NRF_BLOCK_DEV_RAM_CONFIG_LOG_LEVEL
  7219. #define NRF_BLOCK_DEV_RAM_CONFIG_LOG_LEVEL 3
  7220. #endif
  7221. // <o> NRF_BLOCK_DEV_RAM_CONFIG_LOG_INIT_FILTER_LEVEL - Initial severity level if dynamic filtering is enabled
  7222. // <0=> Off
  7223. // <1=> Error
  7224. // <2=> Warning
  7225. // <3=> Info
  7226. // <4=> Debug
  7227. #ifndef NRF_BLOCK_DEV_RAM_CONFIG_LOG_INIT_FILTER_LEVEL
  7228. #define NRF_BLOCK_DEV_RAM_CONFIG_LOG_INIT_FILTER_LEVEL 3
  7229. #endif
  7230. // <o> NRF_BLOCK_DEV_RAM_CONFIG_INFO_COLOR - ANSI escape code prefix.
  7231. // <0=> Default
  7232. // <1=> Black
  7233. // <2=> Red
  7234. // <3=> Green
  7235. // <4=> Yellow
  7236. // <5=> Blue
  7237. // <6=> Magenta
  7238. // <7=> Cyan
  7239. // <8=> White
  7240. #ifndef NRF_BLOCK_DEV_RAM_CONFIG_INFO_COLOR
  7241. #define NRF_BLOCK_DEV_RAM_CONFIG_INFO_COLOR 0
  7242. #endif
  7243. // <o> NRF_BLOCK_DEV_RAM_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  7244. // <0=> Default
  7245. // <1=> Black
  7246. // <2=> Red
  7247. // <3=> Green
  7248. // <4=> Yellow
  7249. // <5=> Blue
  7250. // <6=> Magenta
  7251. // <7=> Cyan
  7252. // <8=> White
  7253. #ifndef NRF_BLOCK_DEV_RAM_CONFIG_DEBUG_COLOR
  7254. #define NRF_BLOCK_DEV_RAM_CONFIG_DEBUG_COLOR 0
  7255. #endif
  7256. // </e>
  7257. // <e> NRF_CLI_BLE_UART_CONFIG_LOG_ENABLED - Enables logging in the module.
  7258. //==========================================================
  7259. #ifndef NRF_CLI_BLE_UART_CONFIG_LOG_ENABLED
  7260. #define NRF_CLI_BLE_UART_CONFIG_LOG_ENABLED 0
  7261. #endif
  7262. // <o> NRF_CLI_BLE_UART_CONFIG_LOG_LEVEL - Default Severity level
  7263. // <0=> Off
  7264. // <1=> Error
  7265. // <2=> Warning
  7266. // <3=> Info
  7267. // <4=> Debug
  7268. #ifndef NRF_CLI_BLE_UART_CONFIG_LOG_LEVEL
  7269. #define NRF_CLI_BLE_UART_CONFIG_LOG_LEVEL 3
  7270. #endif
  7271. // <o> NRF_CLI_BLE_UART_CONFIG_INFO_COLOR - ANSI escape code prefix.
  7272. // <0=> Default
  7273. // <1=> Black
  7274. // <2=> Red
  7275. // <3=> Green
  7276. // <4=> Yellow
  7277. // <5=> Blue
  7278. // <6=> Magenta
  7279. // <7=> Cyan
  7280. // <8=> White
  7281. #ifndef NRF_CLI_BLE_UART_CONFIG_INFO_COLOR
  7282. #define NRF_CLI_BLE_UART_CONFIG_INFO_COLOR 0
  7283. #endif
  7284. // <o> NRF_CLI_BLE_UART_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  7285. // <0=> Default
  7286. // <1=> Black
  7287. // <2=> Red
  7288. // <3=> Green
  7289. // <4=> Yellow
  7290. // <5=> Blue
  7291. // <6=> Magenta
  7292. // <7=> Cyan
  7293. // <8=> White
  7294. #ifndef NRF_CLI_BLE_UART_CONFIG_DEBUG_COLOR
  7295. #define NRF_CLI_BLE_UART_CONFIG_DEBUG_COLOR 0
  7296. #endif
  7297. // </e>
  7298. // <e> NRF_CLI_LIBUARTE_CONFIG_LOG_ENABLED - Enables logging in the module.
  7299. //==========================================================
  7300. #ifndef NRF_CLI_LIBUARTE_CONFIG_LOG_ENABLED
  7301. #define NRF_CLI_LIBUARTE_CONFIG_LOG_ENABLED 0
  7302. #endif
  7303. // <o> NRF_CLI_LIBUARTE_CONFIG_LOG_LEVEL - Default Severity level
  7304. // <0=> Off
  7305. // <1=> Error
  7306. // <2=> Warning
  7307. // <3=> Info
  7308. // <4=> Debug
  7309. #ifndef NRF_CLI_LIBUARTE_CONFIG_LOG_LEVEL
  7310. #define NRF_CLI_LIBUARTE_CONFIG_LOG_LEVEL 3
  7311. #endif
  7312. // <o> NRF_CLI_LIBUARTE_CONFIG_INFO_COLOR - ANSI escape code prefix.
  7313. // <0=> Default
  7314. // <1=> Black
  7315. // <2=> Red
  7316. // <3=> Green
  7317. // <4=> Yellow
  7318. // <5=> Blue
  7319. // <6=> Magenta
  7320. // <7=> Cyan
  7321. // <8=> White
  7322. #ifndef NRF_CLI_LIBUARTE_CONFIG_INFO_COLOR
  7323. #define NRF_CLI_LIBUARTE_CONFIG_INFO_COLOR 0
  7324. #endif
  7325. // <o> NRF_CLI_LIBUARTE_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  7326. // <0=> Default
  7327. // <1=> Black
  7328. // <2=> Red
  7329. // <3=> Green
  7330. // <4=> Yellow
  7331. // <5=> Blue
  7332. // <6=> Magenta
  7333. // <7=> Cyan
  7334. // <8=> White
  7335. #ifndef NRF_CLI_LIBUARTE_CONFIG_DEBUG_COLOR
  7336. #define NRF_CLI_LIBUARTE_CONFIG_DEBUG_COLOR 0
  7337. #endif
  7338. // </e>
  7339. // <e> NRF_CLI_UART_CONFIG_LOG_ENABLED - Enables logging in the module.
  7340. //==========================================================
  7341. #ifndef NRF_CLI_UART_CONFIG_LOG_ENABLED
  7342. #define NRF_CLI_UART_CONFIG_LOG_ENABLED 0
  7343. #endif
  7344. // <o> NRF_CLI_UART_CONFIG_LOG_LEVEL - Default Severity level
  7345. // <0=> Off
  7346. // <1=> Error
  7347. // <2=> Warning
  7348. // <3=> Info
  7349. // <4=> Debug
  7350. #ifndef NRF_CLI_UART_CONFIG_LOG_LEVEL
  7351. #define NRF_CLI_UART_CONFIG_LOG_LEVEL 3
  7352. #endif
  7353. // <o> NRF_CLI_UART_CONFIG_INFO_COLOR - ANSI escape code prefix.
  7354. // <0=> Default
  7355. // <1=> Black
  7356. // <2=> Red
  7357. // <3=> Green
  7358. // <4=> Yellow
  7359. // <5=> Blue
  7360. // <6=> Magenta
  7361. // <7=> Cyan
  7362. // <8=> White
  7363. #ifndef NRF_CLI_UART_CONFIG_INFO_COLOR
  7364. #define NRF_CLI_UART_CONFIG_INFO_COLOR 0
  7365. #endif
  7366. // <o> NRF_CLI_UART_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  7367. // <0=> Default
  7368. // <1=> Black
  7369. // <2=> Red
  7370. // <3=> Green
  7371. // <4=> Yellow
  7372. // <5=> Blue
  7373. // <6=> Magenta
  7374. // <7=> Cyan
  7375. // <8=> White
  7376. #ifndef NRF_CLI_UART_CONFIG_DEBUG_COLOR
  7377. #define NRF_CLI_UART_CONFIG_DEBUG_COLOR 0
  7378. #endif
  7379. // </e>
  7380. // <e> NRF_LIBUARTE_CONFIG_LOG_ENABLED - Enables logging in the module.
  7381. //==========================================================
  7382. #ifndef NRF_LIBUARTE_CONFIG_LOG_ENABLED
  7383. #define NRF_LIBUARTE_CONFIG_LOG_ENABLED 0
  7384. #endif
  7385. // <o> NRF_LIBUARTE_CONFIG_LOG_LEVEL - Default Severity level
  7386. // <0=> Off
  7387. // <1=> Error
  7388. // <2=> Warning
  7389. // <3=> Info
  7390. // <4=> Debug
  7391. #ifndef NRF_LIBUARTE_CONFIG_LOG_LEVEL
  7392. #define NRF_LIBUARTE_CONFIG_LOG_LEVEL 3
  7393. #endif
  7394. // <o> NRF_LIBUARTE_CONFIG_INFO_COLOR - ANSI escape code prefix.
  7395. // <0=> Default
  7396. // <1=> Black
  7397. // <2=> Red
  7398. // <3=> Green
  7399. // <4=> Yellow
  7400. // <5=> Blue
  7401. // <6=> Magenta
  7402. // <7=> Cyan
  7403. // <8=> White
  7404. #ifndef NRF_LIBUARTE_CONFIG_INFO_COLOR
  7405. #define NRF_LIBUARTE_CONFIG_INFO_COLOR 0
  7406. #endif
  7407. // <o> NRF_LIBUARTE_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  7408. // <0=> Default
  7409. // <1=> Black
  7410. // <2=> Red
  7411. // <3=> Green
  7412. // <4=> Yellow
  7413. // <5=> Blue
  7414. // <6=> Magenta
  7415. // <7=> Cyan
  7416. // <8=> White
  7417. #ifndef NRF_LIBUARTE_CONFIG_DEBUG_COLOR
  7418. #define NRF_LIBUARTE_CONFIG_DEBUG_COLOR 0
  7419. #endif
  7420. // </e>
  7421. // <e> NRF_MEMOBJ_CONFIG_LOG_ENABLED - Enables logging in the module.
  7422. //==========================================================
  7423. #ifndef NRF_MEMOBJ_CONFIG_LOG_ENABLED
  7424. #define NRF_MEMOBJ_CONFIG_LOG_ENABLED 0
  7425. #endif
  7426. // <o> NRF_MEMOBJ_CONFIG_LOG_LEVEL - Default Severity level
  7427. // <0=> Off
  7428. // <1=> Error
  7429. // <2=> Warning
  7430. // <3=> Info
  7431. // <4=> Debug
  7432. #ifndef NRF_MEMOBJ_CONFIG_LOG_LEVEL
  7433. #define NRF_MEMOBJ_CONFIG_LOG_LEVEL 3
  7434. #endif
  7435. // <o> NRF_MEMOBJ_CONFIG_INFO_COLOR - ANSI escape code prefix.
  7436. // <0=> Default
  7437. // <1=> Black
  7438. // <2=> Red
  7439. // <3=> Green
  7440. // <4=> Yellow
  7441. // <5=> Blue
  7442. // <6=> Magenta
  7443. // <7=> Cyan
  7444. // <8=> White
  7445. #ifndef NRF_MEMOBJ_CONFIG_INFO_COLOR
  7446. #define NRF_MEMOBJ_CONFIG_INFO_COLOR 0
  7447. #endif
  7448. // <o> NRF_MEMOBJ_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  7449. // <0=> Default
  7450. // <1=> Black
  7451. // <2=> Red
  7452. // <3=> Green
  7453. // <4=> Yellow
  7454. // <5=> Blue
  7455. // <6=> Magenta
  7456. // <7=> Cyan
  7457. // <8=> White
  7458. #ifndef NRF_MEMOBJ_CONFIG_DEBUG_COLOR
  7459. #define NRF_MEMOBJ_CONFIG_DEBUG_COLOR 0
  7460. #endif
  7461. // </e>
  7462. // <e> NRF_PWR_MGMT_CONFIG_LOG_ENABLED - Enables logging in the module.
  7463. //==========================================================
  7464. #ifndef NRF_PWR_MGMT_CONFIG_LOG_ENABLED
  7465. #define NRF_PWR_MGMT_CONFIG_LOG_ENABLED 0
  7466. #endif
  7467. // <o> NRF_PWR_MGMT_CONFIG_LOG_LEVEL - Default Severity level
  7468. // <0=> Off
  7469. // <1=> Error
  7470. // <2=> Warning
  7471. // <3=> Info
  7472. // <4=> Debug
  7473. #ifndef NRF_PWR_MGMT_CONFIG_LOG_LEVEL
  7474. #define NRF_PWR_MGMT_CONFIG_LOG_LEVEL 3
  7475. #endif
  7476. // <o> NRF_PWR_MGMT_CONFIG_INFO_COLOR - ANSI escape code prefix.
  7477. // <0=> Default
  7478. // <1=> Black
  7479. // <2=> Red
  7480. // <3=> Green
  7481. // <4=> Yellow
  7482. // <5=> Blue
  7483. // <6=> Magenta
  7484. // <7=> Cyan
  7485. // <8=> White
  7486. #ifndef NRF_PWR_MGMT_CONFIG_INFO_COLOR
  7487. #define NRF_PWR_MGMT_CONFIG_INFO_COLOR 0
  7488. #endif
  7489. // <o> NRF_PWR_MGMT_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  7490. // <0=> Default
  7491. // <1=> Black
  7492. // <2=> Red
  7493. // <3=> Green
  7494. // <4=> Yellow
  7495. // <5=> Blue
  7496. // <6=> Magenta
  7497. // <7=> Cyan
  7498. // <8=> White
  7499. #ifndef NRF_PWR_MGMT_CONFIG_DEBUG_COLOR
  7500. #define NRF_PWR_MGMT_CONFIG_DEBUG_COLOR 0
  7501. #endif
  7502. // </e>
  7503. // <e> NRF_QUEUE_CONFIG_LOG_ENABLED - Enables logging in the module.
  7504. //==========================================================
  7505. #ifndef NRF_QUEUE_CONFIG_LOG_ENABLED
  7506. #define NRF_QUEUE_CONFIG_LOG_ENABLED 0
  7507. #endif
  7508. // <o> NRF_QUEUE_CONFIG_LOG_LEVEL - Default Severity level
  7509. // <0=> Off
  7510. // <1=> Error
  7511. // <2=> Warning
  7512. // <3=> Info
  7513. // <4=> Debug
  7514. #ifndef NRF_QUEUE_CONFIG_LOG_LEVEL
  7515. #define NRF_QUEUE_CONFIG_LOG_LEVEL 3
  7516. #endif
  7517. // <o> NRF_QUEUE_CONFIG_LOG_INIT_FILTER_LEVEL - Initial severity level if dynamic filtering is enabled
  7518. // <0=> Off
  7519. // <1=> Error
  7520. // <2=> Warning
  7521. // <3=> Info
  7522. // <4=> Debug
  7523. #ifndef NRF_QUEUE_CONFIG_LOG_INIT_FILTER_LEVEL
  7524. #define NRF_QUEUE_CONFIG_LOG_INIT_FILTER_LEVEL 3
  7525. #endif
  7526. // <o> NRF_QUEUE_CONFIG_INFO_COLOR - ANSI escape code prefix.
  7527. // <0=> Default
  7528. // <1=> Black
  7529. // <2=> Red
  7530. // <3=> Green
  7531. // <4=> Yellow
  7532. // <5=> Blue
  7533. // <6=> Magenta
  7534. // <7=> Cyan
  7535. // <8=> White
  7536. #ifndef NRF_QUEUE_CONFIG_INFO_COLOR
  7537. #define NRF_QUEUE_CONFIG_INFO_COLOR 0
  7538. #endif
  7539. // <o> NRF_QUEUE_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  7540. // <0=> Default
  7541. // <1=> Black
  7542. // <2=> Red
  7543. // <3=> Green
  7544. // <4=> Yellow
  7545. // <5=> Blue
  7546. // <6=> Magenta
  7547. // <7=> Cyan
  7548. // <8=> White
  7549. #ifndef NRF_QUEUE_CONFIG_DEBUG_COLOR
  7550. #define NRF_QUEUE_CONFIG_DEBUG_COLOR 0
  7551. #endif
  7552. // </e>
  7553. // <e> NRF_SDH_ANT_LOG_ENABLED - Enable logging in SoftDevice handler (ANT) module.
  7554. //==========================================================
  7555. #ifndef NRF_SDH_ANT_LOG_ENABLED
  7556. #define NRF_SDH_ANT_LOG_ENABLED 0
  7557. #endif
  7558. // <o> NRF_SDH_ANT_LOG_LEVEL - Default Severity level
  7559. // <0=> Off
  7560. // <1=> Error
  7561. // <2=> Warning
  7562. // <3=> Info
  7563. // <4=> Debug
  7564. #ifndef NRF_SDH_ANT_LOG_LEVEL
  7565. #define NRF_SDH_ANT_LOG_LEVEL 3
  7566. #endif
  7567. // <o> NRF_SDH_ANT_INFO_COLOR - ANSI escape code prefix.
  7568. // <0=> Default
  7569. // <1=> Black
  7570. // <2=> Red
  7571. // <3=> Green
  7572. // <4=> Yellow
  7573. // <5=> Blue
  7574. // <6=> Magenta
  7575. // <7=> Cyan
  7576. // <8=> White
  7577. #ifndef NRF_SDH_ANT_INFO_COLOR
  7578. #define NRF_SDH_ANT_INFO_COLOR 0
  7579. #endif
  7580. // <o> NRF_SDH_ANT_DEBUG_COLOR - ANSI escape code prefix.
  7581. // <0=> Default
  7582. // <1=> Black
  7583. // <2=> Red
  7584. // <3=> Green
  7585. // <4=> Yellow
  7586. // <5=> Blue
  7587. // <6=> Magenta
  7588. // <7=> Cyan
  7589. // <8=> White
  7590. #ifndef NRF_SDH_ANT_DEBUG_COLOR
  7591. #define NRF_SDH_ANT_DEBUG_COLOR 0
  7592. #endif
  7593. // </e>
  7594. // <e> NRF_SDH_BLE_LOG_ENABLED - Enable logging in SoftDevice handler (BLE) module.
  7595. //==========================================================
  7596. #ifndef NRF_SDH_BLE_LOG_ENABLED
  7597. #define NRF_SDH_BLE_LOG_ENABLED 1
  7598. #endif
  7599. // <o> NRF_SDH_BLE_LOG_LEVEL - Default Severity level
  7600. // <0=> Off
  7601. // <1=> Error
  7602. // <2=> Warning
  7603. // <3=> Info
  7604. // <4=> Debug
  7605. #ifndef NRF_SDH_BLE_LOG_LEVEL
  7606. #define NRF_SDH_BLE_LOG_LEVEL 3
  7607. #endif
  7608. // <o> NRF_SDH_BLE_INFO_COLOR - ANSI escape code prefix.
  7609. // <0=> Default
  7610. // <1=> Black
  7611. // <2=> Red
  7612. // <3=> Green
  7613. // <4=> Yellow
  7614. // <5=> Blue
  7615. // <6=> Magenta
  7616. // <7=> Cyan
  7617. // <8=> White
  7618. #ifndef NRF_SDH_BLE_INFO_COLOR
  7619. #define NRF_SDH_BLE_INFO_COLOR 0
  7620. #endif
  7621. // <o> NRF_SDH_BLE_DEBUG_COLOR - ANSI escape code prefix.
  7622. // <0=> Default
  7623. // <1=> Black
  7624. // <2=> Red
  7625. // <3=> Green
  7626. // <4=> Yellow
  7627. // <5=> Blue
  7628. // <6=> Magenta
  7629. // <7=> Cyan
  7630. // <8=> White
  7631. #ifndef NRF_SDH_BLE_DEBUG_COLOR
  7632. #define NRF_SDH_BLE_DEBUG_COLOR 0
  7633. #endif
  7634. // </e>
  7635. // <e> NRF_SDH_LOG_ENABLED - Enable logging in SoftDevice handler module.
  7636. //==========================================================
  7637. #ifndef NRF_SDH_LOG_ENABLED
  7638. #define NRF_SDH_LOG_ENABLED 1
  7639. #endif
  7640. // <o> NRF_SDH_LOG_LEVEL - Default Severity level
  7641. // <0=> Off
  7642. // <1=> Error
  7643. // <2=> Warning
  7644. // <3=> Info
  7645. // <4=> Debug
  7646. #ifndef NRF_SDH_LOG_LEVEL
  7647. #define NRF_SDH_LOG_LEVEL 3
  7648. #endif
  7649. // <o> NRF_SDH_INFO_COLOR - ANSI escape code prefix.
  7650. // <0=> Default
  7651. // <1=> Black
  7652. // <2=> Red
  7653. // <3=> Green
  7654. // <4=> Yellow
  7655. // <5=> Blue
  7656. // <6=> Magenta
  7657. // <7=> Cyan
  7658. // <8=> White
  7659. #ifndef NRF_SDH_INFO_COLOR
  7660. #define NRF_SDH_INFO_COLOR 0
  7661. #endif
  7662. // <o> NRF_SDH_DEBUG_COLOR - ANSI escape code prefix.
  7663. // <0=> Default
  7664. // <1=> Black
  7665. // <2=> Red
  7666. // <3=> Green
  7667. // <4=> Yellow
  7668. // <5=> Blue
  7669. // <6=> Magenta
  7670. // <7=> Cyan
  7671. // <8=> White
  7672. #ifndef NRF_SDH_DEBUG_COLOR
  7673. #define NRF_SDH_DEBUG_COLOR 0
  7674. #endif
  7675. // </e>
  7676. // <e> NRF_SDH_SOC_LOG_ENABLED - Enable logging in SoftDevice handler (SoC) module.
  7677. //==========================================================
  7678. #ifndef NRF_SDH_SOC_LOG_ENABLED
  7679. #define NRF_SDH_SOC_LOG_ENABLED 1
  7680. #endif
  7681. // <o> NRF_SDH_SOC_LOG_LEVEL - Default Severity level
  7682. // <0=> Off
  7683. // <1=> Error
  7684. // <2=> Warning
  7685. // <3=> Info
  7686. // <4=> Debug
  7687. #ifndef NRF_SDH_SOC_LOG_LEVEL
  7688. #define NRF_SDH_SOC_LOG_LEVEL 3
  7689. #endif
  7690. // <o> NRF_SDH_SOC_INFO_COLOR - ANSI escape code prefix.
  7691. // <0=> Default
  7692. // <1=> Black
  7693. // <2=> Red
  7694. // <3=> Green
  7695. // <4=> Yellow
  7696. // <5=> Blue
  7697. // <6=> Magenta
  7698. // <7=> Cyan
  7699. // <8=> White
  7700. #ifndef NRF_SDH_SOC_INFO_COLOR
  7701. #define NRF_SDH_SOC_INFO_COLOR 0
  7702. #endif
  7703. // <o> NRF_SDH_SOC_DEBUG_COLOR - ANSI escape code prefix.
  7704. // <0=> Default
  7705. // <1=> Black
  7706. // <2=> Red
  7707. // <3=> Green
  7708. // <4=> Yellow
  7709. // <5=> Blue
  7710. // <6=> Magenta
  7711. // <7=> Cyan
  7712. // <8=> White
  7713. #ifndef NRF_SDH_SOC_DEBUG_COLOR
  7714. #define NRF_SDH_SOC_DEBUG_COLOR 0
  7715. #endif
  7716. // </e>
  7717. // <e> NRF_SORTLIST_CONFIG_LOG_ENABLED - Enables logging in the module.
  7718. //==========================================================
  7719. #ifndef NRF_SORTLIST_CONFIG_LOG_ENABLED
  7720. #define NRF_SORTLIST_CONFIG_LOG_ENABLED 0
  7721. #endif
  7722. // <o> NRF_SORTLIST_CONFIG_LOG_LEVEL - Default Severity level
  7723. // <0=> Off
  7724. // <1=> Error
  7725. // <2=> Warning
  7726. // <3=> Info
  7727. // <4=> Debug
  7728. #ifndef NRF_SORTLIST_CONFIG_LOG_LEVEL
  7729. #define NRF_SORTLIST_CONFIG_LOG_LEVEL 3
  7730. #endif
  7731. // <o> NRF_SORTLIST_CONFIG_INFO_COLOR - ANSI escape code prefix.
  7732. // <0=> Default
  7733. // <1=> Black
  7734. // <2=> Red
  7735. // <3=> Green
  7736. // <4=> Yellow
  7737. // <5=> Blue
  7738. // <6=> Magenta
  7739. // <7=> Cyan
  7740. // <8=> White
  7741. #ifndef NRF_SORTLIST_CONFIG_INFO_COLOR
  7742. #define NRF_SORTLIST_CONFIG_INFO_COLOR 0
  7743. #endif
  7744. // <o> NRF_SORTLIST_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  7745. // <0=> Default
  7746. // <1=> Black
  7747. // <2=> Red
  7748. // <3=> Green
  7749. // <4=> Yellow
  7750. // <5=> Blue
  7751. // <6=> Magenta
  7752. // <7=> Cyan
  7753. // <8=> White
  7754. #ifndef NRF_SORTLIST_CONFIG_DEBUG_COLOR
  7755. #define NRF_SORTLIST_CONFIG_DEBUG_COLOR 0
  7756. #endif
  7757. // </e>
  7758. // <e> NRF_TWI_SENSOR_CONFIG_LOG_ENABLED - Enables logging in the module.
  7759. //==========================================================
  7760. #ifndef NRF_TWI_SENSOR_CONFIG_LOG_ENABLED
  7761. #define NRF_TWI_SENSOR_CONFIG_LOG_ENABLED 0
  7762. #endif
  7763. // <o> NRF_TWI_SENSOR_CONFIG_LOG_LEVEL - Default Severity level
  7764. // <0=> Off
  7765. // <1=> Error
  7766. // <2=> Warning
  7767. // <3=> Info
  7768. // <4=> Debug
  7769. #ifndef NRF_TWI_SENSOR_CONFIG_LOG_LEVEL
  7770. #define NRF_TWI_SENSOR_CONFIG_LOG_LEVEL 3
  7771. #endif
  7772. // <o> NRF_TWI_SENSOR_CONFIG_INFO_COLOR - ANSI escape code prefix.
  7773. // <0=> Default
  7774. // <1=> Black
  7775. // <2=> Red
  7776. // <3=> Green
  7777. // <4=> Yellow
  7778. // <5=> Blue
  7779. // <6=> Magenta
  7780. // <7=> Cyan
  7781. // <8=> White
  7782. #ifndef NRF_TWI_SENSOR_CONFIG_INFO_COLOR
  7783. #define NRF_TWI_SENSOR_CONFIG_INFO_COLOR 0
  7784. #endif
  7785. // <o> NRF_TWI_SENSOR_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  7786. // <0=> Default
  7787. // <1=> Black
  7788. // <2=> Red
  7789. // <3=> Green
  7790. // <4=> Yellow
  7791. // <5=> Blue
  7792. // <6=> Magenta
  7793. // <7=> Cyan
  7794. // <8=> White
  7795. #ifndef NRF_TWI_SENSOR_CONFIG_DEBUG_COLOR
  7796. #define NRF_TWI_SENSOR_CONFIG_DEBUG_COLOR 0
  7797. #endif
  7798. // </e>
  7799. // <e> PM_LOG_ENABLED - Enable logging in Peer Manager and its submodules.
  7800. //==========================================================
  7801. #ifndef PM_LOG_ENABLED
  7802. #define PM_LOG_ENABLED 1
  7803. #endif
  7804. // <o> PM_LOG_LEVEL - Default Severity level
  7805. // <0=> Off
  7806. // <1=> Error
  7807. // <2=> Warning
  7808. // <3=> Info
  7809. // <4=> Debug
  7810. #ifndef PM_LOG_LEVEL
  7811. #define PM_LOG_LEVEL 3
  7812. #endif
  7813. // <o> PM_LOG_INFO_COLOR - ANSI escape code prefix.
  7814. // <0=> Default
  7815. // <1=> Black
  7816. // <2=> Red
  7817. // <3=> Green
  7818. // <4=> Yellow
  7819. // <5=> Blue
  7820. // <6=> Magenta
  7821. // <7=> Cyan
  7822. // <8=> White
  7823. #ifndef PM_LOG_INFO_COLOR
  7824. #define PM_LOG_INFO_COLOR 0
  7825. #endif
  7826. // <o> PM_LOG_DEBUG_COLOR - ANSI escape code prefix.
  7827. // <0=> Default
  7828. // <1=> Black
  7829. // <2=> Red
  7830. // <3=> Green
  7831. // <4=> Yellow
  7832. // <5=> Blue
  7833. // <6=> Magenta
  7834. // <7=> Cyan
  7835. // <8=> White
  7836. #ifndef PM_LOG_DEBUG_COLOR
  7837. #define PM_LOG_DEBUG_COLOR 0
  7838. #endif
  7839. // </e>
  7840. // </h>
  7841. //==========================================================
  7842. // <h> nrf_log in nRF_Serialization
  7843. //==========================================================
  7844. // <e> SER_HAL_TRANSPORT_CONFIG_LOG_ENABLED - Enables logging in the module.
  7845. //==========================================================
  7846. #ifndef SER_HAL_TRANSPORT_CONFIG_LOG_ENABLED
  7847. #define SER_HAL_TRANSPORT_CONFIG_LOG_ENABLED 0
  7848. #endif
  7849. // <o> SER_HAL_TRANSPORT_CONFIG_LOG_LEVEL - Default Severity level
  7850. // <0=> Off
  7851. // <1=> Error
  7852. // <2=> Warning
  7853. // <3=> Info
  7854. // <4=> Debug
  7855. #ifndef SER_HAL_TRANSPORT_CONFIG_LOG_LEVEL
  7856. #define SER_HAL_TRANSPORT_CONFIG_LOG_LEVEL 3
  7857. #endif
  7858. // <o> SER_HAL_TRANSPORT_CONFIG_INFO_COLOR - ANSI escape code prefix.
  7859. // <0=> Default
  7860. // <1=> Black
  7861. // <2=> Red
  7862. // <3=> Green
  7863. // <4=> Yellow
  7864. // <5=> Blue
  7865. // <6=> Magenta
  7866. // <7=> Cyan
  7867. // <8=> White
  7868. #ifndef SER_HAL_TRANSPORT_CONFIG_INFO_COLOR
  7869. #define SER_HAL_TRANSPORT_CONFIG_INFO_COLOR 0
  7870. #endif
  7871. // <o> SER_HAL_TRANSPORT_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  7872. // <0=> Default
  7873. // <1=> Black
  7874. // <2=> Red
  7875. // <3=> Green
  7876. // <4=> Yellow
  7877. // <5=> Blue
  7878. // <6=> Magenta
  7879. // <7=> Cyan
  7880. // <8=> White
  7881. #ifndef SER_HAL_TRANSPORT_CONFIG_DEBUG_COLOR
  7882. #define SER_HAL_TRANSPORT_CONFIG_DEBUG_COLOR 0
  7883. #endif
  7884. // </e>
  7885. // </h>
  7886. //==========================================================
  7887. // </h>
  7888. //==========================================================
  7889. // </e>
  7890. // <q> NRF_LOG_STR_FORMATTER_TIMESTAMP_FORMAT_ENABLED - nrf_log_str_formatter - Log string formatter
  7891. #ifndef NRF_LOG_STR_FORMATTER_TIMESTAMP_FORMAT_ENABLED
  7892. #define NRF_LOG_STR_FORMATTER_TIMESTAMP_FORMAT_ENABLED 1
  7893. #endif
  7894. // </h>
  7895. //==========================================================
  7896. // <h> nRF_NFC
  7897. //==========================================================
  7898. // <q> NFC_AC_REC_ENABLED - nfc_ac_rec - NFC NDEF Alternative Carrier record encoder
  7899. #ifndef NFC_AC_REC_ENABLED
  7900. #define NFC_AC_REC_ENABLED 0
  7901. #endif
  7902. // <q> NFC_AC_REC_PARSER_ENABLED - nfc_ac_rec_parser - Alternative Carrier record parser
  7903. #ifndef NFC_AC_REC_PARSER_ENABLED
  7904. #define NFC_AC_REC_PARSER_ENABLED 0
  7905. #endif
  7906. // <e> NFC_BLE_OOB_ADVDATA_ENABLED - nfc_ble_oob_advdata - AD data for OOB pairing encoder
  7907. //==========================================================
  7908. #ifndef NFC_BLE_OOB_ADVDATA_ENABLED
  7909. #define NFC_BLE_OOB_ADVDATA_ENABLED 0
  7910. #endif
  7911. // <o> ADVANCED_ADVDATA_SUPPORT - Non-mandatory AD types for BLE OOB pairing are encoded inside the NDEF message (e.g. service UUIDs)
  7912. // <1=> Enabled
  7913. // <0=> Disabled
  7914. #ifndef ADVANCED_ADVDATA_SUPPORT
  7915. #define ADVANCED_ADVDATA_SUPPORT 0
  7916. #endif
  7917. // </e>
  7918. // <q> NFC_BLE_OOB_ADVDATA_PARSER_ENABLED - nfc_ble_oob_advdata_parser - BLE OOB pairing AD data parser
  7919. #ifndef NFC_BLE_OOB_ADVDATA_PARSER_ENABLED
  7920. #define NFC_BLE_OOB_ADVDATA_PARSER_ENABLED 0
  7921. #endif
  7922. // <e> NFC_BLE_PAIR_LIB_ENABLED - nfc_ble_pair_lib - Library parameters
  7923. //==========================================================
  7924. #ifndef NFC_BLE_PAIR_LIB_ENABLED
  7925. #define NFC_BLE_PAIR_LIB_ENABLED 0
  7926. #endif
  7927. // <e> NFC_BLE_PAIR_LIB_LOG_ENABLED - Enables logging in the module.
  7928. //==========================================================
  7929. #ifndef NFC_BLE_PAIR_LIB_LOG_ENABLED
  7930. #define NFC_BLE_PAIR_LIB_LOG_ENABLED 0
  7931. #endif
  7932. // <o> NFC_BLE_PAIR_LIB_LOG_LEVEL - Default Severity level
  7933. // <0=> Off
  7934. // <1=> Error
  7935. // <2=> Warning
  7936. // <3=> Info
  7937. // <4=> Debug
  7938. #ifndef NFC_BLE_PAIR_LIB_LOG_LEVEL
  7939. #define NFC_BLE_PAIR_LIB_LOG_LEVEL 3
  7940. #endif
  7941. // <o> NFC_BLE_PAIR_LIB_INFO_COLOR - ANSI escape code prefix.
  7942. // <0=> Default
  7943. // <1=> Black
  7944. // <2=> Red
  7945. // <3=> Green
  7946. // <4=> Yellow
  7947. // <5=> Blue
  7948. // <6=> Magenta
  7949. // <7=> Cyan
  7950. // <8=> White
  7951. #ifndef NFC_BLE_PAIR_LIB_INFO_COLOR
  7952. #define NFC_BLE_PAIR_LIB_INFO_COLOR 0
  7953. #endif
  7954. // <o> NFC_BLE_PAIR_LIB_DEBUG_COLOR - ANSI escape code prefix.
  7955. // <0=> Default
  7956. // <1=> Black
  7957. // <2=> Red
  7958. // <3=> Green
  7959. // <4=> Yellow
  7960. // <5=> Blue
  7961. // <6=> Magenta
  7962. // <7=> Cyan
  7963. // <8=> White
  7964. #ifndef NFC_BLE_PAIR_LIB_DEBUG_COLOR
  7965. #define NFC_BLE_PAIR_LIB_DEBUG_COLOR 0
  7966. #endif
  7967. // </e>
  7968. // <h> NFC_BLE_PAIR_LIB_SECURITY_PARAMETERS - Common Peer Manager security parameters.
  7969. //==========================================================
  7970. // <e> BLE_NFC_SEC_PARAM_BOND - Enables device bonding.
  7971. // <i> If bonding is enabled at least one of the BLE_NFC_SEC_PARAM_KDIST options must be enabled.
  7972. //==========================================================
  7973. #ifndef BLE_NFC_SEC_PARAM_BOND
  7974. #define BLE_NFC_SEC_PARAM_BOND 1
  7975. #endif
  7976. // <q> BLE_NFC_SEC_PARAM_KDIST_OWN_ENC - Enables Long Term Key and Master Identification distribution by device.
  7977. #ifndef BLE_NFC_SEC_PARAM_KDIST_OWN_ENC
  7978. #define BLE_NFC_SEC_PARAM_KDIST_OWN_ENC 1
  7979. #endif
  7980. // <q> BLE_NFC_SEC_PARAM_KDIST_OWN_ID - Enables Identity Resolving Key and Identity Address Information distribution by device.
  7981. #ifndef BLE_NFC_SEC_PARAM_KDIST_OWN_ID
  7982. #define BLE_NFC_SEC_PARAM_KDIST_OWN_ID 1
  7983. #endif
  7984. // <q> BLE_NFC_SEC_PARAM_KDIST_PEER_ENC - Enables Long Term Key and Master Identification distribution by peer.
  7985. #ifndef BLE_NFC_SEC_PARAM_KDIST_PEER_ENC
  7986. #define BLE_NFC_SEC_PARAM_KDIST_PEER_ENC 1
  7987. #endif
  7988. // <q> BLE_NFC_SEC_PARAM_KDIST_PEER_ID - Enables Identity Resolving Key and Identity Address Information distribution by peer.
  7989. #ifndef BLE_NFC_SEC_PARAM_KDIST_PEER_ID
  7990. #define BLE_NFC_SEC_PARAM_KDIST_PEER_ID 1
  7991. #endif
  7992. // </e>
  7993. // <o> BLE_NFC_SEC_PARAM_MIN_KEY_SIZE - Minimal size of a security key.
  7994. // <7=> 7
  7995. // <8=> 8
  7996. // <9=> 9
  7997. // <10=> 10
  7998. // <11=> 11
  7999. // <12=> 12
  8000. // <13=> 13
  8001. // <14=> 14
  8002. // <15=> 15
  8003. // <16=> 16
  8004. #ifndef BLE_NFC_SEC_PARAM_MIN_KEY_SIZE
  8005. #define BLE_NFC_SEC_PARAM_MIN_KEY_SIZE 7
  8006. #endif
  8007. // <o> BLE_NFC_SEC_PARAM_MAX_KEY_SIZE - Maximal size of a security key.
  8008. // <7=> 7
  8009. // <8=> 8
  8010. // <9=> 9
  8011. // <10=> 10
  8012. // <11=> 11
  8013. // <12=> 12
  8014. // <13=> 13
  8015. // <14=> 14
  8016. // <15=> 15
  8017. // <16=> 16
  8018. #ifndef BLE_NFC_SEC_PARAM_MAX_KEY_SIZE
  8019. #define BLE_NFC_SEC_PARAM_MAX_KEY_SIZE 16
  8020. #endif
  8021. // </h>
  8022. //==========================================================
  8023. // </e>
  8024. // <q> NFC_BLE_PAIR_MSG_ENABLED - nfc_ble_pair_msg - NDEF message for OOB pairing encoder
  8025. #ifndef NFC_BLE_PAIR_MSG_ENABLED
  8026. #define NFC_BLE_PAIR_MSG_ENABLED 0
  8027. #endif
  8028. // <q> NFC_CH_COMMON_ENABLED - nfc_ble_pair_common - OOB pairing common data
  8029. #ifndef NFC_CH_COMMON_ENABLED
  8030. #define NFC_CH_COMMON_ENABLED 0
  8031. #endif
  8032. // <q> NFC_EP_OOB_REC_ENABLED - nfc_ep_oob_rec - EP record for BLE pairing encoder
  8033. #ifndef NFC_EP_OOB_REC_ENABLED
  8034. #define NFC_EP_OOB_REC_ENABLED 0
  8035. #endif
  8036. // <q> NFC_HS_REC_ENABLED - nfc_hs_rec - Handover Select NDEF record encoder
  8037. #ifndef NFC_HS_REC_ENABLED
  8038. #define NFC_HS_REC_ENABLED 0
  8039. #endif
  8040. // <q> NFC_LE_OOB_REC_ENABLED - nfc_le_oob_rec - LE record for BLE pairing encoder
  8041. #ifndef NFC_LE_OOB_REC_ENABLED
  8042. #define NFC_LE_OOB_REC_ENABLED 0
  8043. #endif
  8044. // <q> NFC_LE_OOB_REC_PARSER_ENABLED - nfc_le_oob_rec_parser - LE record parser
  8045. #ifndef NFC_LE_OOB_REC_PARSER_ENABLED
  8046. #define NFC_LE_OOB_REC_PARSER_ENABLED 0
  8047. #endif
  8048. // <q> NFC_NDEF_LAUNCHAPP_MSG_ENABLED - nfc_launchapp_msg - Encoding data for NDEF Application Launching message for NFC Tag
  8049. #ifndef NFC_NDEF_LAUNCHAPP_MSG_ENABLED
  8050. #define NFC_NDEF_LAUNCHAPP_MSG_ENABLED 0
  8051. #endif
  8052. // <q> NFC_NDEF_LAUNCHAPP_REC_ENABLED - nfc_launchapp_rec - Encoding data for NDEF Application Launching record for NFC Tag
  8053. #ifndef NFC_NDEF_LAUNCHAPP_REC_ENABLED
  8054. #define NFC_NDEF_LAUNCHAPP_REC_ENABLED 0
  8055. #endif
  8056. // <e> NFC_NDEF_MSG_ENABLED - nfc_ndef_msg - NFC NDEF Message generator module
  8057. //==========================================================
  8058. #ifndef NFC_NDEF_MSG_ENABLED
  8059. #define NFC_NDEF_MSG_ENABLED 0
  8060. #endif
  8061. // <o> NFC_NDEF_MSG_TAG_TYPE - NFC Tag Type
  8062. // <2=> Type 2 Tag
  8063. // <4=> Type 4 Tag
  8064. #ifndef NFC_NDEF_MSG_TAG_TYPE
  8065. #define NFC_NDEF_MSG_TAG_TYPE 2
  8066. #endif
  8067. // </e>
  8068. // <e> NFC_NDEF_MSG_PARSER_ENABLED - nfc_ndef_msg_parser - NFC NDEF message parser module
  8069. //==========================================================
  8070. #ifndef NFC_NDEF_MSG_PARSER_ENABLED
  8071. #define NFC_NDEF_MSG_PARSER_ENABLED 0
  8072. #endif
  8073. // <e> NFC_NDEF_MSG_PARSER_LOG_ENABLED - Enables logging in the module.
  8074. //==========================================================
  8075. #ifndef NFC_NDEF_MSG_PARSER_LOG_ENABLED
  8076. #define NFC_NDEF_MSG_PARSER_LOG_ENABLED 0
  8077. #endif
  8078. // <o> NFC_NDEF_MSG_PARSER_LOG_LEVEL - Default Severity level
  8079. // <0=> Off
  8080. // <1=> Error
  8081. // <2=> Warning
  8082. // <3=> Info
  8083. // <4=> Debug
  8084. #ifndef NFC_NDEF_MSG_PARSER_LOG_LEVEL
  8085. #define NFC_NDEF_MSG_PARSER_LOG_LEVEL 3
  8086. #endif
  8087. // <o> NFC_NDEF_MSG_PARSER_INFO_COLOR - ANSI escape code prefix.
  8088. // <0=> Default
  8089. // <1=> Black
  8090. // <2=> Red
  8091. // <3=> Green
  8092. // <4=> Yellow
  8093. // <5=> Blue
  8094. // <6=> Magenta
  8095. // <7=> Cyan
  8096. // <8=> White
  8097. #ifndef NFC_NDEF_MSG_PARSER_INFO_COLOR
  8098. #define NFC_NDEF_MSG_PARSER_INFO_COLOR 0
  8099. #endif
  8100. // </e>
  8101. // </e>
  8102. // <q> NFC_NDEF_RECORD_ENABLED - nfc_ndef_record - NFC NDEF Record generator module
  8103. #ifndef NFC_NDEF_RECORD_ENABLED
  8104. #define NFC_NDEF_RECORD_ENABLED 0
  8105. #endif
  8106. // <e> NFC_NDEF_RECORD_PARSER_ENABLED - nfc_ndef_record_parser - NFC NDEF Record parser module
  8107. //==========================================================
  8108. #ifndef NFC_NDEF_RECORD_PARSER_ENABLED
  8109. #define NFC_NDEF_RECORD_PARSER_ENABLED 0
  8110. #endif
  8111. // <e> NFC_NDEF_RECORD_PARSER_LOG_ENABLED - Enables logging in the module.
  8112. //==========================================================
  8113. #ifndef NFC_NDEF_RECORD_PARSER_LOG_ENABLED
  8114. #define NFC_NDEF_RECORD_PARSER_LOG_ENABLED 0
  8115. #endif
  8116. // <o> NFC_NDEF_RECORD_PARSER_LOG_LEVEL - Default Severity level
  8117. // <0=> Off
  8118. // <1=> Error
  8119. // <2=> Warning
  8120. // <3=> Info
  8121. // <4=> Debug
  8122. #ifndef NFC_NDEF_RECORD_PARSER_LOG_LEVEL
  8123. #define NFC_NDEF_RECORD_PARSER_LOG_LEVEL 3
  8124. #endif
  8125. // <o> NFC_NDEF_RECORD_PARSER_INFO_COLOR - ANSI escape code prefix.
  8126. // <0=> Default
  8127. // <1=> Black
  8128. // <2=> Red
  8129. // <3=> Green
  8130. // <4=> Yellow
  8131. // <5=> Blue
  8132. // <6=> Magenta
  8133. // <7=> Cyan
  8134. // <8=> White
  8135. #ifndef NFC_NDEF_RECORD_PARSER_INFO_COLOR
  8136. #define NFC_NDEF_RECORD_PARSER_INFO_COLOR 0
  8137. #endif
  8138. // </e>
  8139. // </e>
  8140. // <q> NFC_NDEF_TEXT_RECORD_ENABLED - nfc_text_rec - Encoding data for a text record for NFC Tag
  8141. #ifndef NFC_NDEF_TEXT_RECORD_ENABLED
  8142. #define NFC_NDEF_TEXT_RECORD_ENABLED 0
  8143. #endif
  8144. // <q> NFC_NDEF_URI_MSG_ENABLED - nfc_uri_msg - Encoding data for NDEF message with URI record for NFC Tag
  8145. #ifndef NFC_NDEF_URI_MSG_ENABLED
  8146. #define NFC_NDEF_URI_MSG_ENABLED 0
  8147. #endif
  8148. // <q> NFC_NDEF_URI_REC_ENABLED - nfc_uri_rec - Encoding data for a URI record for NFC Tag
  8149. #ifndef NFC_NDEF_URI_REC_ENABLED
  8150. #define NFC_NDEF_URI_REC_ENABLED 0
  8151. #endif
  8152. // <e> NFC_PLATFORM_ENABLED - nfc_platform - NFC platform module for Clock control.
  8153. //==========================================================
  8154. #ifndef NFC_PLATFORM_ENABLED
  8155. #define NFC_PLATFORM_ENABLED 0
  8156. #endif
  8157. // <e> NFC_PLATFORM_LOG_ENABLED - Enables logging in the module.
  8158. //==========================================================
  8159. #ifndef NFC_PLATFORM_LOG_ENABLED
  8160. #define NFC_PLATFORM_LOG_ENABLED 0
  8161. #endif
  8162. // <o> NFC_PLATFORM_LOG_LEVEL - Default Severity level
  8163. // <0=> Off
  8164. // <1=> Error
  8165. // <2=> Warning
  8166. // <3=> Info
  8167. // <4=> Debug
  8168. #ifndef NFC_PLATFORM_LOG_LEVEL
  8169. #define NFC_PLATFORM_LOG_LEVEL 3
  8170. #endif
  8171. // <o> NFC_PLATFORM_INFO_COLOR - ANSI escape code prefix.
  8172. // <0=> Default
  8173. // <1=> Black
  8174. // <2=> Red
  8175. // <3=> Green
  8176. // <4=> Yellow
  8177. // <5=> Blue
  8178. // <6=> Magenta
  8179. // <7=> Cyan
  8180. // <8=> White
  8181. #ifndef NFC_PLATFORM_INFO_COLOR
  8182. #define NFC_PLATFORM_INFO_COLOR 0
  8183. #endif
  8184. // <o> NFC_PLATFORM_DEBUG_COLOR - ANSI escape code prefix.
  8185. // <0=> Default
  8186. // <1=> Black
  8187. // <2=> Red
  8188. // <3=> Green
  8189. // <4=> Yellow
  8190. // <5=> Blue
  8191. // <6=> Magenta
  8192. // <7=> Cyan
  8193. // <8=> White
  8194. #ifndef NFC_PLATFORM_DEBUG_COLOR
  8195. #define NFC_PLATFORM_DEBUG_COLOR 0
  8196. #endif
  8197. // </e>
  8198. // </e>
  8199. // <e> NFC_T2T_PARSER_ENABLED - nfc_type_2_tag_parser - Parser for decoding Type 2 Tag data
  8200. //==========================================================
  8201. #ifndef NFC_T2T_PARSER_ENABLED
  8202. #define NFC_T2T_PARSER_ENABLED 0
  8203. #endif
  8204. // <e> NFC_T2T_PARSER_LOG_ENABLED - Enables logging in the module.
  8205. //==========================================================
  8206. #ifndef NFC_T2T_PARSER_LOG_ENABLED
  8207. #define NFC_T2T_PARSER_LOG_ENABLED 0
  8208. #endif
  8209. // <o> NFC_T2T_PARSER_LOG_LEVEL - Default Severity level
  8210. // <0=> Off
  8211. // <1=> Error
  8212. // <2=> Warning
  8213. // <3=> Info
  8214. // <4=> Debug
  8215. #ifndef NFC_T2T_PARSER_LOG_LEVEL
  8216. #define NFC_T2T_PARSER_LOG_LEVEL 3
  8217. #endif
  8218. // <o> NFC_T2T_PARSER_INFO_COLOR - ANSI escape code prefix.
  8219. // <0=> Default
  8220. // <1=> Black
  8221. // <2=> Red
  8222. // <3=> Green
  8223. // <4=> Yellow
  8224. // <5=> Blue
  8225. // <6=> Magenta
  8226. // <7=> Cyan
  8227. // <8=> White
  8228. #ifndef NFC_T2T_PARSER_INFO_COLOR
  8229. #define NFC_T2T_PARSER_INFO_COLOR 0
  8230. #endif
  8231. // </e>
  8232. // </e>
  8233. // <e> NFC_T4T_APDU_ENABLED - nfc_t4t_apdu - APDU encoder/decoder for Type 4 Tag
  8234. //==========================================================
  8235. #ifndef NFC_T4T_APDU_ENABLED
  8236. #define NFC_T4T_APDU_ENABLED 0
  8237. #endif
  8238. // <e> NFC_T4T_APDU_LOG_ENABLED - Enables logging in the module.
  8239. //==========================================================
  8240. #ifndef NFC_T4T_APDU_LOG_ENABLED
  8241. #define NFC_T4T_APDU_LOG_ENABLED 0
  8242. #endif
  8243. // <o> NFC_T4T_APDU_LOG_LEVEL - Default Severity level
  8244. // <0=> Off
  8245. // <1=> Error
  8246. // <2=> Warning
  8247. // <3=> Info
  8248. // <4=> Debug
  8249. #ifndef NFC_T4T_APDU_LOG_LEVEL
  8250. #define NFC_T4T_APDU_LOG_LEVEL 3
  8251. #endif
  8252. // <o> NFC_T4T_APDU_LOG_COLOR - ANSI escape code prefix.
  8253. // <0=> Default
  8254. // <1=> Black
  8255. // <2=> Red
  8256. // <3=> Green
  8257. // <4=> Yellow
  8258. // <5=> Blue
  8259. // <6=> Magenta
  8260. // <7=> Cyan
  8261. // <8=> White
  8262. #ifndef NFC_T4T_APDU_LOG_COLOR
  8263. #define NFC_T4T_APDU_LOG_COLOR 0
  8264. #endif
  8265. // </e>
  8266. // </e>
  8267. // <e> NFC_T4T_CC_FILE_PARSER_ENABLED - nfc_t4t_cc_file - Capability Container file for Type 4 Tag
  8268. //==========================================================
  8269. #ifndef NFC_T4T_CC_FILE_PARSER_ENABLED
  8270. #define NFC_T4T_CC_FILE_PARSER_ENABLED 0
  8271. #endif
  8272. // <e> NFC_T4T_CC_FILE_PARSER_LOG_ENABLED - Enables logging in the module.
  8273. //==========================================================
  8274. #ifndef NFC_T4T_CC_FILE_PARSER_LOG_ENABLED
  8275. #define NFC_T4T_CC_FILE_PARSER_LOG_ENABLED 0
  8276. #endif
  8277. // <o> NFC_T4T_CC_FILE_PARSER_LOG_LEVEL - Default Severity level
  8278. // <0=> Off
  8279. // <1=> Error
  8280. // <2=> Warning
  8281. // <3=> Info
  8282. // <4=> Debug
  8283. #ifndef NFC_T4T_CC_FILE_PARSER_LOG_LEVEL
  8284. #define NFC_T4T_CC_FILE_PARSER_LOG_LEVEL 3
  8285. #endif
  8286. // <o> NFC_T4T_CC_FILE_PARSER_INFO_COLOR - ANSI escape code prefix.
  8287. // <0=> Default
  8288. // <1=> Black
  8289. // <2=> Red
  8290. // <3=> Green
  8291. // <4=> Yellow
  8292. // <5=> Blue
  8293. // <6=> Magenta
  8294. // <7=> Cyan
  8295. // <8=> White
  8296. #ifndef NFC_T4T_CC_FILE_PARSER_INFO_COLOR
  8297. #define NFC_T4T_CC_FILE_PARSER_INFO_COLOR 0
  8298. #endif
  8299. // </e>
  8300. // </e>
  8301. // <e> NFC_T4T_HL_DETECTION_PROCEDURES_ENABLED - nfc_t4t_hl_detection_procedures - NDEF Detection Procedure for Type 4 Tag
  8302. //==========================================================
  8303. #ifndef NFC_T4T_HL_DETECTION_PROCEDURES_ENABLED
  8304. #define NFC_T4T_HL_DETECTION_PROCEDURES_ENABLED 0
  8305. #endif
  8306. // <e> NFC_T4T_HL_DETECTION_PROCEDURES_LOG_ENABLED - Enables logging in the module.
  8307. //==========================================================
  8308. #ifndef NFC_T4T_HL_DETECTION_PROCEDURES_LOG_ENABLED
  8309. #define NFC_T4T_HL_DETECTION_PROCEDURES_LOG_ENABLED 0
  8310. #endif
  8311. // <o> NFC_T4T_HL_DETECTION_PROCEDURES_LOG_LEVEL - Default Severity level
  8312. // <0=> Off
  8313. // <1=> Error
  8314. // <2=> Warning
  8315. // <3=> Info
  8316. // <4=> Debug
  8317. #ifndef NFC_T4T_HL_DETECTION_PROCEDURES_LOG_LEVEL
  8318. #define NFC_T4T_HL_DETECTION_PROCEDURES_LOG_LEVEL 3
  8319. #endif
  8320. // <o> NFC_T4T_HL_DETECTION_PROCEDURES_INFO_COLOR - ANSI escape code prefix.
  8321. // <0=> Default
  8322. // <1=> Black
  8323. // <2=> Red
  8324. // <3=> Green
  8325. // <4=> Yellow
  8326. // <5=> Blue
  8327. // <6=> Magenta
  8328. // <7=> Cyan
  8329. // <8=> White
  8330. #ifndef NFC_T4T_HL_DETECTION_PROCEDURES_INFO_COLOR
  8331. #define NFC_T4T_HL_DETECTION_PROCEDURES_INFO_COLOR 0
  8332. #endif
  8333. // </e>
  8334. // <o> APDU_BUFF_SIZE - Size (in bytes) of the buffer for APDU storage
  8335. #ifndef APDU_BUFF_SIZE
  8336. #define APDU_BUFF_SIZE 250
  8337. #endif
  8338. // <o> CC_STORAGE_BUFF_SIZE - Size (in bytes) of the buffer for CC file storage
  8339. #ifndef CC_STORAGE_BUFF_SIZE
  8340. #define CC_STORAGE_BUFF_SIZE 64
  8341. #endif
  8342. // </e>
  8343. // <e> NFC_T4T_TLV_BLOCK_PARSER_ENABLED - nfc_t4t_tlv_block - TLV block for Type 4 Tag
  8344. //==========================================================
  8345. #ifndef NFC_T4T_TLV_BLOCK_PARSER_ENABLED
  8346. #define NFC_T4T_TLV_BLOCK_PARSER_ENABLED 0
  8347. #endif
  8348. // <e> NFC_T4T_TLV_BLOCK_PARSER_LOG_ENABLED - Enables logging in the module.
  8349. //==========================================================
  8350. #ifndef NFC_T4T_TLV_BLOCK_PARSER_LOG_ENABLED
  8351. #define NFC_T4T_TLV_BLOCK_PARSER_LOG_ENABLED 0
  8352. #endif
  8353. // <o> NFC_T4T_TLV_BLOCK_PARSER_LOG_LEVEL - Default Severity level
  8354. // <0=> Off
  8355. // <1=> Error
  8356. // <2=> Warning
  8357. // <3=> Info
  8358. // <4=> Debug
  8359. #ifndef NFC_T4T_TLV_BLOCK_PARSER_LOG_LEVEL
  8360. #define NFC_T4T_TLV_BLOCK_PARSER_LOG_LEVEL 3
  8361. #endif
  8362. // <o> NFC_T4T_TLV_BLOCK_PARSER_INFO_COLOR - ANSI escape code prefix.
  8363. // <0=> Default
  8364. // <1=> Black
  8365. // <2=> Red
  8366. // <3=> Green
  8367. // <4=> Yellow
  8368. // <5=> Blue
  8369. // <6=> Magenta
  8370. // <7=> Cyan
  8371. // <8=> White
  8372. #ifndef NFC_T4T_TLV_BLOCK_PARSER_INFO_COLOR
  8373. #define NFC_T4T_TLV_BLOCK_PARSER_INFO_COLOR 0
  8374. #endif
  8375. // </e>
  8376. // </e>
  8377. // </h>
  8378. //==========================================================
  8379. // <h> nRF_Segger_RTT
  8380. //==========================================================
  8381. // <h> segger_rtt - SEGGER RTT
  8382. //==========================================================
  8383. // <o> SEGGER_RTT_CONFIG_BUFFER_SIZE_UP - Size of upstream buffer.
  8384. // <i> Note that either @ref NRF_LOG_BACKEND_RTT_OUTPUT_BUFFER_SIZE
  8385. // <i> or this value is actually used. It depends on which one is bigger.
  8386. #ifndef SEGGER_RTT_CONFIG_BUFFER_SIZE_UP
  8387. #define SEGGER_RTT_CONFIG_BUFFER_SIZE_UP 512
  8388. #endif
  8389. // <o> SEGGER_RTT_CONFIG_MAX_NUM_UP_BUFFERS - Maximum number of upstream buffers.
  8390. #ifndef SEGGER_RTT_CONFIG_MAX_NUM_UP_BUFFERS
  8391. #define SEGGER_RTT_CONFIG_MAX_NUM_UP_BUFFERS 2
  8392. #endif
  8393. // <o> SEGGER_RTT_CONFIG_BUFFER_SIZE_DOWN - Size of downstream buffer.
  8394. #ifndef SEGGER_RTT_CONFIG_BUFFER_SIZE_DOWN
  8395. #define SEGGER_RTT_CONFIG_BUFFER_SIZE_DOWN 16
  8396. #endif
  8397. // <o> SEGGER_RTT_CONFIG_MAX_NUM_DOWN_BUFFERS - Maximum number of downstream buffers.
  8398. #ifndef SEGGER_RTT_CONFIG_MAX_NUM_DOWN_BUFFERS
  8399. #define SEGGER_RTT_CONFIG_MAX_NUM_DOWN_BUFFERS 2
  8400. #endif
  8401. // <o> SEGGER_RTT_CONFIG_DEFAULT_MODE - RTT behavior if the buffer is full.
  8402. // <i> The following modes are supported:
  8403. // <i> - SKIP - Do not block, output nothing.
  8404. // <i> - TRIM - Do not block, output as much as fits.
  8405. // <i> - BLOCK - Wait until there is space in the buffer.
  8406. // <0=> SKIP
  8407. // <1=> TRIM
  8408. // <2=> BLOCK_IF_FIFO_FULL
  8409. #ifndef SEGGER_RTT_CONFIG_DEFAULT_MODE
  8410. #define SEGGER_RTT_CONFIG_DEFAULT_MODE 0
  8411. #endif
  8412. // </h>
  8413. //==========================================================
  8414. // </h>
  8415. //==========================================================
  8416. // <h> nRF_SoftDevice
  8417. //==========================================================
  8418. // <e> NRF_SDH_BLE_ENABLED - nrf_sdh_ble - SoftDevice BLE event handler
  8419. //==========================================================
  8420. #ifndef NRF_SDH_BLE_ENABLED
  8421. #define NRF_SDH_BLE_ENABLED 1
  8422. #endif
  8423. // <h> BLE Stack configuration - Stack configuration parameters
  8424. // <i> The SoftDevice handler will configure the stack with these parameters when calling @ref nrf_sdh_ble_default_cfg_set.
  8425. // <i> Other libraries might depend on these values; keep them up-to-date even if you are not explicitely calling @ref nrf_sdh_ble_default_cfg_set.
  8426. //==========================================================
  8427. // <o> NRF_SDH_BLE_GAP_DATA_LENGTH <27-251>
  8428. // <i> Requested BLE GAP data length to be negotiated.
  8429. #ifndef NRF_SDH_BLE_GAP_DATA_LENGTH
  8430. #define NRF_SDH_BLE_GAP_DATA_LENGTH 251
  8431. #endif
  8432. // <o> NRF_SDH_BLE_PERIPHERAL_LINK_COUNT - Maximum number of peripheral links.
  8433. #ifndef NRF_SDH_BLE_PERIPHERAL_LINK_COUNT
  8434. #define NRF_SDH_BLE_PERIPHERAL_LINK_COUNT 0
  8435. #endif
  8436. // <o> NRF_SDH_BLE_CENTRAL_LINK_COUNT - Maximum number of central links.
  8437. #ifndef NRF_SDH_BLE_CENTRAL_LINK_COUNT
  8438. #define NRF_SDH_BLE_CENTRAL_LINK_COUNT 1
  8439. #endif
  8440. // <o> NRF_SDH_BLE_TOTAL_LINK_COUNT - Total link count.
  8441. // <i> Maximum number of total concurrent connections using the default configuration.
  8442. #ifndef NRF_SDH_BLE_TOTAL_LINK_COUNT
  8443. #define NRF_SDH_BLE_TOTAL_LINK_COUNT 1
  8444. #endif
  8445. // <o> NRF_SDH_BLE_GAP_EVENT_LENGTH - GAP event length.
  8446. // <i> The time set aside for this connection on every connection interval in 1.25 ms units.
  8447. #ifndef NRF_SDH_BLE_GAP_EVENT_LENGTH
  8448. #define NRF_SDH_BLE_GAP_EVENT_LENGTH 6
  8449. #endif
  8450. // <o> NRF_SDH_BLE_GATT_MAX_MTU_SIZE - Static maximum MTU size.
  8451. #ifndef NRF_SDH_BLE_GATT_MAX_MTU_SIZE
  8452. #define NRF_SDH_BLE_GATT_MAX_MTU_SIZE 247
  8453. #endif
  8454. // <o> NRF_SDH_BLE_GATTS_ATTR_TAB_SIZE - Attribute Table size in bytes. The size must be a multiple of 4.
  8455. #ifndef NRF_SDH_BLE_GATTS_ATTR_TAB_SIZE
  8456. #define NRF_SDH_BLE_GATTS_ATTR_TAB_SIZE 1408
  8457. #endif
  8458. // <o> NRF_SDH_BLE_VS_UUID_COUNT - The number of vendor-specific UUIDs.
  8459. #ifndef NRF_SDH_BLE_VS_UUID_COUNT
  8460. #define NRF_SDH_BLE_VS_UUID_COUNT 1
  8461. #endif
  8462. // <q> NRF_SDH_BLE_SERVICE_CHANGED - Include the Service Changed characteristic in the Attribute Table.
  8463. #ifndef NRF_SDH_BLE_SERVICE_CHANGED
  8464. #define NRF_SDH_BLE_SERVICE_CHANGED 0
  8465. #endif
  8466. // </h>
  8467. //==========================================================
  8468. // <h> BLE Observers - Observers and priority levels
  8469. //==========================================================
  8470. // <o> NRF_SDH_BLE_OBSERVER_PRIO_LEVELS - Total number of priority levels for BLE observers.
  8471. // <i> This setting configures the number of priority levels available for BLE event handlers.
  8472. // <i> The priority level of a handler determines the order in which it receives events, with respect to other handlers.
  8473. #ifndef NRF_SDH_BLE_OBSERVER_PRIO_LEVELS
  8474. #define NRF_SDH_BLE_OBSERVER_PRIO_LEVELS 4
  8475. #endif
  8476. // <h> BLE Observers priorities - Invididual priorities
  8477. //==========================================================
  8478. // <o> BLE_ADV_BLE_OBSERVER_PRIO
  8479. // <i> Priority with which BLE events are dispatched to the Advertising module.
  8480. #ifndef BLE_ADV_BLE_OBSERVER_PRIO
  8481. #define BLE_ADV_BLE_OBSERVER_PRIO 1
  8482. #endif
  8483. // <o> BLE_ANCS_C_BLE_OBSERVER_PRIO
  8484. // <i> Priority with which BLE events are dispatched to the Apple Notification Service Client.
  8485. #ifndef BLE_ANCS_C_BLE_OBSERVER_PRIO
  8486. #define BLE_ANCS_C_BLE_OBSERVER_PRIO 2
  8487. #endif
  8488. // <o> BLE_ANS_C_BLE_OBSERVER_PRIO
  8489. // <i> Priority with which BLE events are dispatched to the Alert Notification Service Client.
  8490. #ifndef BLE_ANS_C_BLE_OBSERVER_PRIO
  8491. #define BLE_ANS_C_BLE_OBSERVER_PRIO 2
  8492. #endif
  8493. // <o> BLE_BAS_BLE_OBSERVER_PRIO
  8494. // <i> Priority with which BLE events are dispatched to the Battery Service.
  8495. #ifndef BLE_BAS_BLE_OBSERVER_PRIO
  8496. #define BLE_BAS_BLE_OBSERVER_PRIO 2
  8497. #endif
  8498. // <o> BLE_BAS_C_BLE_OBSERVER_PRIO
  8499. // <i> Priority with which BLE events are dispatched to the Battery Service Client.
  8500. #ifndef BLE_BAS_C_BLE_OBSERVER_PRIO
  8501. #define BLE_BAS_C_BLE_OBSERVER_PRIO 2
  8502. #endif
  8503. // <o> BLE_BPS_BLE_OBSERVER_PRIO
  8504. // <i> Priority with which BLE events are dispatched to the Blood Pressure Service.
  8505. #ifndef BLE_BPS_BLE_OBSERVER_PRIO
  8506. #define BLE_BPS_BLE_OBSERVER_PRIO 2
  8507. #endif
  8508. // <o> BLE_CONN_PARAMS_BLE_OBSERVER_PRIO
  8509. // <i> Priority with which BLE events are dispatched to the Connection parameters module.
  8510. #ifndef BLE_CONN_PARAMS_BLE_OBSERVER_PRIO
  8511. #define BLE_CONN_PARAMS_BLE_OBSERVER_PRIO 1
  8512. #endif
  8513. // <o> BLE_CONN_STATE_BLE_OBSERVER_PRIO
  8514. // <i> Priority with which BLE events are dispatched to the Connection State module.
  8515. #ifndef BLE_CONN_STATE_BLE_OBSERVER_PRIO
  8516. #define BLE_CONN_STATE_BLE_OBSERVER_PRIO 0
  8517. #endif
  8518. // <o> BLE_CSCS_BLE_OBSERVER_PRIO
  8519. // <i> Priority with which BLE events are dispatched to the Cycling Speed and Cadence Service.
  8520. #ifndef BLE_CSCS_BLE_OBSERVER_PRIO
  8521. #define BLE_CSCS_BLE_OBSERVER_PRIO 2
  8522. #endif
  8523. // <o> BLE_CTS_C_BLE_OBSERVER_PRIO
  8524. // <i> Priority with which BLE events are dispatched to the Current Time Service Client.
  8525. #ifndef BLE_CTS_C_BLE_OBSERVER_PRIO
  8526. #define BLE_CTS_C_BLE_OBSERVER_PRIO 2
  8527. #endif
  8528. // <o> BLE_DB_DISC_BLE_OBSERVER_PRIO
  8529. // <i> Priority with which BLE events are dispatched to the Database Discovery module.
  8530. #ifndef BLE_DB_DISC_BLE_OBSERVER_PRIO
  8531. #define BLE_DB_DISC_BLE_OBSERVER_PRIO 1
  8532. #endif
  8533. // <o> BLE_DFU_BLE_OBSERVER_PRIO
  8534. // <i> Priority with which BLE events are dispatched to the DFU Service.
  8535. #ifndef BLE_DFU_BLE_OBSERVER_PRIO
  8536. #define BLE_DFU_BLE_OBSERVER_PRIO 2
  8537. #endif
  8538. // <o> BLE_DIS_C_BLE_OBSERVER_PRIO
  8539. // <i> Priority with which BLE events are dispatched to the Device Information Client.
  8540. #ifndef BLE_DIS_C_BLE_OBSERVER_PRIO
  8541. #define BLE_DIS_C_BLE_OBSERVER_PRIO 2
  8542. #endif
  8543. // <o> BLE_GLS_BLE_OBSERVER_PRIO
  8544. // <i> Priority with which BLE events are dispatched to the Glucose Service.
  8545. #ifndef BLE_GLS_BLE_OBSERVER_PRIO
  8546. #define BLE_GLS_BLE_OBSERVER_PRIO 2
  8547. #endif
  8548. // <o> BLE_HIDS_BLE_OBSERVER_PRIO
  8549. // <i> Priority with which BLE events are dispatched to the Human Interface Device Service.
  8550. #ifndef BLE_HIDS_BLE_OBSERVER_PRIO
  8551. #define BLE_HIDS_BLE_OBSERVER_PRIO 2
  8552. #endif
  8553. // <o> BLE_HRS_BLE_OBSERVER_PRIO
  8554. // <i> Priority with which BLE events are dispatched to the Heart Rate Service.
  8555. #ifndef BLE_HRS_BLE_OBSERVER_PRIO
  8556. #define BLE_HRS_BLE_OBSERVER_PRIO 2
  8557. #endif
  8558. // <o> BLE_HRS_C_BLE_OBSERVER_PRIO
  8559. // <i> Priority with which BLE events are dispatched to the Heart Rate Service Client.
  8560. #ifndef BLE_HRS_C_BLE_OBSERVER_PRIO
  8561. #define BLE_HRS_C_BLE_OBSERVER_PRIO 2
  8562. #endif
  8563. // <o> BLE_HTS_BLE_OBSERVER_PRIO
  8564. // <i> Priority with which BLE events are dispatched to the Health Thermometer Service.
  8565. #ifndef BLE_HTS_BLE_OBSERVER_PRIO
  8566. #define BLE_HTS_BLE_OBSERVER_PRIO 2
  8567. #endif
  8568. // <o> BLE_IAS_BLE_OBSERVER_PRIO
  8569. // <i> Priority with which BLE events are dispatched to the Immediate Alert Service.
  8570. #ifndef BLE_IAS_BLE_OBSERVER_PRIO
  8571. #define BLE_IAS_BLE_OBSERVER_PRIO 2
  8572. #endif
  8573. // <o> BLE_IAS_C_BLE_OBSERVER_PRIO
  8574. // <i> Priority with which BLE events are dispatched to the Immediate Alert Service Client.
  8575. #ifndef BLE_IAS_C_BLE_OBSERVER_PRIO
  8576. #define BLE_IAS_C_BLE_OBSERVER_PRIO 2
  8577. #endif
  8578. // <o> BLE_LBS_BLE_OBSERVER_PRIO
  8579. // <i> Priority with which BLE events are dispatched to the LED Button Service.
  8580. #ifndef BLE_LBS_BLE_OBSERVER_PRIO
  8581. #define BLE_LBS_BLE_OBSERVER_PRIO 2
  8582. #endif
  8583. // <o> BLE_LBS_C_BLE_OBSERVER_PRIO
  8584. // <i> Priority with which BLE events are dispatched to the LED Button Service Client.
  8585. #ifndef BLE_LBS_C_BLE_OBSERVER_PRIO
  8586. #define BLE_LBS_C_BLE_OBSERVER_PRIO 2
  8587. #endif
  8588. // <o> BLE_LLS_BLE_OBSERVER_PRIO
  8589. // <i> Priority with which BLE events are dispatched to the Link Loss Service.
  8590. #ifndef BLE_LLS_BLE_OBSERVER_PRIO
  8591. #define BLE_LLS_BLE_OBSERVER_PRIO 2
  8592. #endif
  8593. // <o> BLE_LNS_BLE_OBSERVER_PRIO
  8594. // <i> Priority with which BLE events are dispatched to the Location Navigation Service.
  8595. #ifndef BLE_LNS_BLE_OBSERVER_PRIO
  8596. #define BLE_LNS_BLE_OBSERVER_PRIO 2
  8597. #endif
  8598. // <o> BLE_NUS_BLE_OBSERVER_PRIO
  8599. // <i> Priority with which BLE events are dispatched to the UART Service.
  8600. #ifndef BLE_NUS_BLE_OBSERVER_PRIO
  8601. #define BLE_NUS_BLE_OBSERVER_PRIO 2
  8602. #endif
  8603. // <o> BLE_NUS_C_BLE_OBSERVER_PRIO
  8604. // <i> Priority with which BLE events are dispatched to the UART Central Service.
  8605. #ifndef BLE_NUS_C_BLE_OBSERVER_PRIO
  8606. #define BLE_NUS_C_BLE_OBSERVER_PRIO 2
  8607. #endif
  8608. // <o> BLE_OTS_BLE_OBSERVER_PRIO
  8609. // <i> Priority with which BLE events are dispatched to the Object transfer service.
  8610. #ifndef BLE_OTS_BLE_OBSERVER_PRIO
  8611. #define BLE_OTS_BLE_OBSERVER_PRIO 2
  8612. #endif
  8613. // <o> BLE_OTS_C_BLE_OBSERVER_PRIO
  8614. // <i> Priority with which BLE events are dispatched to the Object transfer service client.
  8615. #ifndef BLE_OTS_C_BLE_OBSERVER_PRIO
  8616. #define BLE_OTS_C_BLE_OBSERVER_PRIO 2
  8617. #endif
  8618. // <o> BLE_RSCS_BLE_OBSERVER_PRIO
  8619. // <i> Priority with which BLE events are dispatched to the Running Speed and Cadence Service.
  8620. #ifndef BLE_RSCS_BLE_OBSERVER_PRIO
  8621. #define BLE_RSCS_BLE_OBSERVER_PRIO 2
  8622. #endif
  8623. // <o> BLE_RSCS_C_BLE_OBSERVER_PRIO
  8624. // <i> Priority with which BLE events are dispatched to the Running Speed and Cadence Client.
  8625. #ifndef BLE_RSCS_C_BLE_OBSERVER_PRIO
  8626. #define BLE_RSCS_C_BLE_OBSERVER_PRIO 2
  8627. #endif
  8628. // <o> BLE_TPS_BLE_OBSERVER_PRIO
  8629. // <i> Priority with which BLE events are dispatched to the TX Power Service.
  8630. #ifndef BLE_TPS_BLE_OBSERVER_PRIO
  8631. #define BLE_TPS_BLE_OBSERVER_PRIO 2
  8632. #endif
  8633. // <o> BSP_BTN_BLE_OBSERVER_PRIO
  8634. // <i> Priority with which BLE events are dispatched to the Button Control module.
  8635. #ifndef BSP_BTN_BLE_OBSERVER_PRIO
  8636. #define BSP_BTN_BLE_OBSERVER_PRIO 1
  8637. #endif
  8638. // <o> NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
  8639. // <i> Priority with which BLE events are dispatched to the NFC pairing library.
  8640. #ifndef NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
  8641. #define NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO 1
  8642. #endif
  8643. // <o> NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
  8644. // <i> Priority with which BLE events are dispatched to the NFC pairing library.
  8645. #ifndef NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
  8646. #define NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO 1
  8647. #endif
  8648. // <o> NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
  8649. // <i> Priority with which BLE events are dispatched to the NFC pairing library.
  8650. #ifndef NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
  8651. #define NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO 1
  8652. #endif
  8653. // <o> NRF_BLE_BMS_BLE_OBSERVER_PRIO
  8654. // <i> Priority with which BLE events are dispatched to the Bond Management Service.
  8655. #ifndef NRF_BLE_BMS_BLE_OBSERVER_PRIO
  8656. #define NRF_BLE_BMS_BLE_OBSERVER_PRIO 2
  8657. #endif
  8658. // <o> NRF_BLE_CGMS_BLE_OBSERVER_PRIO
  8659. // <i> Priority with which BLE events are dispatched to the Contiuon Glucose Monitoring Service.
  8660. #ifndef NRF_BLE_CGMS_BLE_OBSERVER_PRIO
  8661. #define NRF_BLE_CGMS_BLE_OBSERVER_PRIO 2
  8662. #endif
  8663. // <o> NRF_BLE_ES_BLE_OBSERVER_PRIO
  8664. // <i> Priority with which BLE events are dispatched to the Eddystone module.
  8665. #ifndef NRF_BLE_ES_BLE_OBSERVER_PRIO
  8666. #define NRF_BLE_ES_BLE_OBSERVER_PRIO 2
  8667. #endif
  8668. // <o> NRF_BLE_GATTS_C_BLE_OBSERVER_PRIO
  8669. // <i> Priority with which BLE events are dispatched to the GATT Service Client.
  8670. #ifndef NRF_BLE_GATTS_C_BLE_OBSERVER_PRIO
  8671. #define NRF_BLE_GATTS_C_BLE_OBSERVER_PRIO 2
  8672. #endif
  8673. // <o> NRF_BLE_GATT_BLE_OBSERVER_PRIO
  8674. // <i> Priority with which BLE events are dispatched to the GATT module.
  8675. #ifndef NRF_BLE_GATT_BLE_OBSERVER_PRIO
  8676. #define NRF_BLE_GATT_BLE_OBSERVER_PRIO 1
  8677. #endif
  8678. // <o> NRF_BLE_GQ_BLE_OBSERVER_PRIO
  8679. // <i> Priority with which BLE events are dispatched to the GATT Queue module.
  8680. #ifndef NRF_BLE_GQ_BLE_OBSERVER_PRIO
  8681. #define NRF_BLE_GQ_BLE_OBSERVER_PRIO 1
  8682. #endif
  8683. // <o> NRF_BLE_QWR_BLE_OBSERVER_PRIO
  8684. // <i> Priority with which BLE events are dispatched to the Queued writes module.
  8685. #ifndef NRF_BLE_QWR_BLE_OBSERVER_PRIO
  8686. #define NRF_BLE_QWR_BLE_OBSERVER_PRIO 2
  8687. #endif
  8688. // <o> NRF_BLE_SCAN_OBSERVER_PRIO
  8689. // <i> Priority for dispatching the BLE events to the Scanning Module.
  8690. #ifndef NRF_BLE_SCAN_OBSERVER_PRIO
  8691. #define NRF_BLE_SCAN_OBSERVER_PRIO 1
  8692. #endif
  8693. // <o> PM_BLE_OBSERVER_PRIO - Priority with which BLE events are dispatched to the Peer Manager module.
  8694. #ifndef PM_BLE_OBSERVER_PRIO
  8695. #define PM_BLE_OBSERVER_PRIO 1
  8696. #endif
  8697. // </h>
  8698. //==========================================================
  8699. // </h>
  8700. //==========================================================
  8701. // </e>
  8702. // <e> NRF_SDH_ENABLED - nrf_sdh - SoftDevice handler
  8703. //==========================================================
  8704. #ifndef NRF_SDH_ENABLED
  8705. #define NRF_SDH_ENABLED 1
  8706. #endif
  8707. // <h> Dispatch model
  8708. // <i> This setting configures how Stack events are dispatched to the application.
  8709. //==========================================================
  8710. // <o> NRF_SDH_DISPATCH_MODEL
  8711. // <i> NRF_SDH_DISPATCH_MODEL_INTERRUPT: SoftDevice events are passed to the application from the interrupt context.
  8712. // <i> NRF_SDH_DISPATCH_MODEL_APPSH: SoftDevice events are scheduled using @ref app_scheduler.
  8713. // <i> NRF_SDH_DISPATCH_MODEL_POLLING: SoftDevice events are to be fetched manually.
  8714. // <0=> NRF_SDH_DISPATCH_MODEL_INTERRUPT
  8715. // <1=> NRF_SDH_DISPATCH_MODEL_APPSH
  8716. // <2=> NRF_SDH_DISPATCH_MODEL_POLLING
  8717. #ifndef NRF_SDH_DISPATCH_MODEL
  8718. #define NRF_SDH_DISPATCH_MODEL 0
  8719. #endif
  8720. // </h>
  8721. //==========================================================
  8722. // <h> Clock - SoftDevice clock configuration
  8723. //==========================================================
  8724. // <o> NRF_SDH_CLOCK_LF_SRC - SoftDevice clock source.
  8725. // <0=> NRF_CLOCK_LF_SRC_RC
  8726. // <1=> NRF_CLOCK_LF_SRC_XTAL
  8727. // <2=> NRF_CLOCK_LF_SRC_SYNTH
  8728. #ifndef NRF_SDH_CLOCK_LF_SRC
  8729. #define NRF_SDH_CLOCK_LF_SRC 1
  8730. #endif
  8731. // <o> NRF_SDH_CLOCK_LF_RC_CTIV - SoftDevice calibration timer interval.
  8732. #ifndef NRF_SDH_CLOCK_LF_RC_CTIV
  8733. #define NRF_SDH_CLOCK_LF_RC_CTIV 0
  8734. #endif
  8735. // <o> NRF_SDH_CLOCK_LF_RC_TEMP_CTIV - SoftDevice calibration timer interval under constant temperature.
  8736. // <i> How often (in number of calibration intervals) the RC oscillator shall be calibrated
  8737. // <i> if the temperature has not changed.
  8738. #ifndef NRF_SDH_CLOCK_LF_RC_TEMP_CTIV
  8739. #define NRF_SDH_CLOCK_LF_RC_TEMP_CTIV 0
  8740. #endif
  8741. // <o> NRF_SDH_CLOCK_LF_ACCURACY - External clock accuracy used in the LL to compute timing.
  8742. // <0=> NRF_CLOCK_LF_ACCURACY_250_PPM
  8743. // <1=> NRF_CLOCK_LF_ACCURACY_500_PPM
  8744. // <2=> NRF_CLOCK_LF_ACCURACY_150_PPM
  8745. // <3=> NRF_CLOCK_LF_ACCURACY_100_PPM
  8746. // <4=> NRF_CLOCK_LF_ACCURACY_75_PPM
  8747. // <5=> NRF_CLOCK_LF_ACCURACY_50_PPM
  8748. // <6=> NRF_CLOCK_LF_ACCURACY_30_PPM
  8749. // <7=> NRF_CLOCK_LF_ACCURACY_20_PPM
  8750. // <8=> NRF_CLOCK_LF_ACCURACY_10_PPM
  8751. // <9=> NRF_CLOCK_LF_ACCURACY_5_PPM
  8752. // <10=> NRF_CLOCK_LF_ACCURACY_2_PPM
  8753. // <11=> NRF_CLOCK_LF_ACCURACY_1_PPM
  8754. #ifndef NRF_SDH_CLOCK_LF_ACCURACY
  8755. #define NRF_SDH_CLOCK_LF_ACCURACY 7
  8756. #endif
  8757. // </h>
  8758. //==========================================================
  8759. // <h> SDH Observers - Observers and priority levels
  8760. //==========================================================
  8761. // <o> NRF_SDH_REQ_OBSERVER_PRIO_LEVELS - Total number of priority levels for request observers.
  8762. // <i> This setting configures the number of priority levels available for the SoftDevice request event handlers.
  8763. // <i> The priority level of a handler determines the order in which it receives events, with respect to other handlers.
  8764. #ifndef NRF_SDH_REQ_OBSERVER_PRIO_LEVELS
  8765. #define NRF_SDH_REQ_OBSERVER_PRIO_LEVELS 2
  8766. #endif
  8767. // <o> NRF_SDH_STATE_OBSERVER_PRIO_LEVELS - Total number of priority levels for state observers.
  8768. // <i> This setting configures the number of priority levels available for the SoftDevice state event handlers.
  8769. // <i> The priority level of a handler determines the order in which it receives events, with respect to other handlers.
  8770. #ifndef NRF_SDH_STATE_OBSERVER_PRIO_LEVELS
  8771. #define NRF_SDH_STATE_OBSERVER_PRIO_LEVELS 2
  8772. #endif
  8773. // <o> NRF_SDH_STACK_OBSERVER_PRIO_LEVELS - Total number of priority levels for stack event observers.
  8774. // <i> This setting configures the number of priority levels available for the SoftDevice stack event handlers (ANT, BLE, SoC).
  8775. // <i> The priority level of a handler determines the order in which it receives events, with respect to other handlers.
  8776. #ifndef NRF_SDH_STACK_OBSERVER_PRIO_LEVELS
  8777. #define NRF_SDH_STACK_OBSERVER_PRIO_LEVELS 2
  8778. #endif
  8779. // <h> State Observers priorities - Invididual priorities
  8780. //==========================================================
  8781. // <o> CLOCK_CONFIG_STATE_OBSERVER_PRIO
  8782. // <i> Priority with which state events are dispatched to the Clock driver.
  8783. #ifndef CLOCK_CONFIG_STATE_OBSERVER_PRIO
  8784. #define CLOCK_CONFIG_STATE_OBSERVER_PRIO 0
  8785. #endif
  8786. // <o> POWER_CONFIG_STATE_OBSERVER_PRIO
  8787. // <i> Priority with which state events are dispatched to the Power driver.
  8788. #ifndef POWER_CONFIG_STATE_OBSERVER_PRIO
  8789. #define POWER_CONFIG_STATE_OBSERVER_PRIO 0
  8790. #endif
  8791. // <o> RNG_CONFIG_STATE_OBSERVER_PRIO
  8792. // <i> Priority with which state events are dispatched to this module.
  8793. #ifndef RNG_CONFIG_STATE_OBSERVER_PRIO
  8794. #define RNG_CONFIG_STATE_OBSERVER_PRIO 0
  8795. #endif
  8796. // </h>
  8797. //==========================================================
  8798. // <h> Stack Event Observers priorities - Invididual priorities
  8799. //==========================================================
  8800. // <o> NRF_SDH_ANT_STACK_OBSERVER_PRIO
  8801. // <i> This setting configures the priority with which ANT events are processed with respect to other events coming from the stack.
  8802. // <i> Modify this setting if you need to have ANT events dispatched before or after other stack events, such as BLE or SoC.
  8803. // <i> Zero is the highest priority.
  8804. #ifndef NRF_SDH_ANT_STACK_OBSERVER_PRIO
  8805. #define NRF_SDH_ANT_STACK_OBSERVER_PRIO 0
  8806. #endif
  8807. // <o> NRF_SDH_BLE_STACK_OBSERVER_PRIO
  8808. // <i> This setting configures the priority with which BLE events are processed with respect to other events coming from the stack.
  8809. // <i> Modify this setting if you need to have BLE events dispatched before or after other stack events, such as ANT or SoC.
  8810. // <i> Zero is the highest priority.
  8811. #ifndef NRF_SDH_BLE_STACK_OBSERVER_PRIO
  8812. #define NRF_SDH_BLE_STACK_OBSERVER_PRIO 0
  8813. #endif
  8814. // <o> NRF_SDH_SOC_STACK_OBSERVER_PRIO
  8815. // <i> This setting configures the priority with which SoC events are processed with respect to other events coming from the stack.
  8816. // <i> Modify this setting if you need to have SoC events dispatched before or after other stack events, such as ANT or BLE.
  8817. // <i> Zero is the highest priority.
  8818. #ifndef NRF_SDH_SOC_STACK_OBSERVER_PRIO
  8819. #define NRF_SDH_SOC_STACK_OBSERVER_PRIO 0
  8820. #endif
  8821. // </h>
  8822. //==========================================================
  8823. // </h>
  8824. //==========================================================
  8825. // </e>
  8826. // <e> NRF_SDH_SOC_ENABLED - nrf_sdh_soc - SoftDevice SoC event handler
  8827. //==========================================================
  8828. #ifndef NRF_SDH_SOC_ENABLED
  8829. #define NRF_SDH_SOC_ENABLED 1
  8830. #endif
  8831. // <h> SoC Observers - Observers and priority levels
  8832. //==========================================================
  8833. // <o> NRF_SDH_SOC_OBSERVER_PRIO_LEVELS - Total number of priority levels for SoC observers.
  8834. // <i> This setting configures the number of priority levels available for the SoC event handlers.
  8835. // <i> The priority level of a handler determines the order in which it receives events, with respect to other handlers.
  8836. #ifndef NRF_SDH_SOC_OBSERVER_PRIO_LEVELS
  8837. #define NRF_SDH_SOC_OBSERVER_PRIO_LEVELS 2
  8838. #endif
  8839. // <h> SoC Observers priorities - Invididual priorities
  8840. //==========================================================
  8841. // <o> BLE_DFU_SOC_OBSERVER_PRIO
  8842. // <i> Priority with which BLE events are dispatched to the DFU Service.
  8843. #ifndef BLE_DFU_SOC_OBSERVER_PRIO
  8844. #define BLE_DFU_SOC_OBSERVER_PRIO 1
  8845. #endif
  8846. // <o> CLOCK_CONFIG_SOC_OBSERVER_PRIO
  8847. // <i> Priority with which SoC events are dispatched to the Clock driver.
  8848. #ifndef CLOCK_CONFIG_SOC_OBSERVER_PRIO
  8849. #define CLOCK_CONFIG_SOC_OBSERVER_PRIO 0
  8850. #endif
  8851. // <o> POWER_CONFIG_SOC_OBSERVER_PRIO
  8852. // <i> Priority with which SoC events are dispatched to the Power driver.
  8853. #ifndef POWER_CONFIG_SOC_OBSERVER_PRIO
  8854. #define POWER_CONFIG_SOC_OBSERVER_PRIO 0
  8855. #endif
  8856. // </h>
  8857. //==========================================================
  8858. // </h>
  8859. //==========================================================
  8860. // </e>
  8861. // </h>
  8862. //==========================================================
  8863. // <<< end of configuration section >>>
  8864. #endif //SDK_CONFIG_H