sdk_config.h 265 KB

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