sdk_config.h 265 KB

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