sdk_config.h 245 KB

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