sdk_config.h 280 KB

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