sdk_config.h 265 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719
  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 1
  3084. #endif
  3085. // <o> NRFX_UARTE0_ENABLED - Enable UARTE0 instance
  3086. #ifndef NRFX_UARTE0_ENABLED
  3087. #define NRFX_UARTE0_ENABLED 1
  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 1
  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 1
  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 1
  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. #if 0
  4449. // <e> APP_USBD_ENABLED - app_usbd - USB Device library
  4450. //==========================================================
  4451. #ifndef APP_USBD_ENABLED
  4452. #define APP_USBD_ENABLED 0
  4453. #endif
  4454. // <o> APP_USBD_VID - Vendor ID. <0x0000-0xFFFF>
  4455. // <i> Note: This value is not editable in Configuration Wizard.
  4456. // <i> Vendor ID ordered from USB IF: http://www.usb.org/developers/vendor/
  4457. #ifndef APP_USBD_VID
  4458. #define APP_USBD_VID 0
  4459. #endif
  4460. // <o> APP_USBD_PID - Product ID. <0x0000-0xFFFF>
  4461. // <i> Note: This value is not editable in Configuration Wizard.
  4462. // <i> Selected Product ID
  4463. #ifndef APP_USBD_PID
  4464. #define APP_USBD_PID 0
  4465. #endif
  4466. // <o> APP_USBD_DEVICE_VER_MAJOR - Major device version <0-99>
  4467. // <i> Major device version, will be converted automatically to BCD notation. Use just decimal values.
  4468. #ifndef APP_USBD_DEVICE_VER_MAJOR
  4469. #define APP_USBD_DEVICE_VER_MAJOR 1
  4470. #endif
  4471. // <o> APP_USBD_DEVICE_VER_MINOR - Minor device version <0-9>
  4472. // <i> Minor device version, will be converted automatically to BCD notation. Use just decimal values.
  4473. #ifndef APP_USBD_DEVICE_VER_MINOR
  4474. #define APP_USBD_DEVICE_VER_MINOR 0
  4475. #endif
  4476. // <o> APP_USBD_DEVICE_VER_SUB - Sub-minor device version <0-9>
  4477. // <i> Sub-minor device version, will be converted automatically to BCD notation. Use just decimal values.
  4478. #ifndef APP_USBD_DEVICE_VER_SUB
  4479. #define APP_USBD_DEVICE_VER_SUB 0
  4480. #endif
  4481. // <q> APP_USBD_CONFIG_SELF_POWERED - Self-powered device, as opposed to bus-powered.
  4482. #ifndef APP_USBD_CONFIG_SELF_POWERED
  4483. #define APP_USBD_CONFIG_SELF_POWERED 1
  4484. #endif
  4485. // <o> APP_USBD_CONFIG_MAX_POWER - MaxPower field in configuration descriptor in milliamps. <0-500>
  4486. #ifndef APP_USBD_CONFIG_MAX_POWER
  4487. #define APP_USBD_CONFIG_MAX_POWER 100
  4488. #endif
  4489. // <q> APP_USBD_CONFIG_POWER_EVENTS_PROCESS - Process power events.
  4490. // <i> Enable processing power events in USB event handler.
  4491. #ifndef APP_USBD_CONFIG_POWER_EVENTS_PROCESS
  4492. #define APP_USBD_CONFIG_POWER_EVENTS_PROCESS 1
  4493. #endif
  4494. // <e> APP_USBD_CONFIG_EVENT_QUEUE_ENABLE - Enable event queue.
  4495. // <i> This is the default configuration when all the events are placed into internal queue.
  4496. // <i> Disable it when an external queue is used like app_scheduler or if you wish to process all events inside interrupts.
  4497. // <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.
  4498. // <i> Functions that modify USBD state are functions for sleep, wakeup, start, stop, enable, and disable.
  4499. //==========================================================
  4500. #ifndef APP_USBD_CONFIG_EVENT_QUEUE_ENABLE
  4501. #define APP_USBD_CONFIG_EVENT_QUEUE_ENABLE 1
  4502. #endif
  4503. // <o> APP_USBD_CONFIG_EVENT_QUEUE_SIZE - The size of the event queue. <16-64>
  4504. // <i> The size of the queue for the events that would be processed in the main loop.
  4505. #ifndef APP_USBD_CONFIG_EVENT_QUEUE_SIZE
  4506. #define APP_USBD_CONFIG_EVENT_QUEUE_SIZE 32
  4507. #endif
  4508. // <o> APP_USBD_CONFIG_SOF_HANDLING_MODE - Change SOF events handling mode.
  4509. // <i> Normal queue - SOF events are pushed normally into the event queue.
  4510. // <i> Compress queue - SOF events are counted and binded with other events or executed when the queue is empty.
  4511. // <i> This prevents the queue from filling up with SOF events.
  4512. // <i> Interrupt - SOF events are processed in interrupt.
  4513. // <0=> Normal queue
  4514. // <1=> Compress queue
  4515. // <2=> Interrupt
  4516. #ifndef APP_USBD_CONFIG_SOF_HANDLING_MODE
  4517. #define APP_USBD_CONFIG_SOF_HANDLING_MODE 1
  4518. #endif
  4519. // </e>
  4520. // <q> APP_USBD_CONFIG_SOF_TIMESTAMP_PROVIDE - Provide a function that generates timestamps for logs based on the current SOF.
  4521. // <i> The function app_usbd_sof_timestamp_get is implemented if the logger is enabled.
  4522. // <i> Use it when initializing the logger.
  4523. // <i> SOF processing is always enabled when this configuration parameter is active.
  4524. // <i> Note: This option is configured outside of APP_USBD_CONFIG_LOG_ENABLED.
  4525. // <i> This means that it works even if the logging in this very module is disabled.
  4526. #ifndef APP_USBD_CONFIG_SOF_TIMESTAMP_PROVIDE
  4527. #define APP_USBD_CONFIG_SOF_TIMESTAMP_PROVIDE 0
  4528. #endif
  4529. // <o> APP_USBD_CONFIG_DESC_STRING_SIZE - Maximum size of the NULL-terminated string of the string descriptor. <31-254>
  4530. // <i> 31 characters can be stored in the internal USB buffer used for transfers.
  4531. // <i> Any value higher than 31 creates an additional buffer just for descriptor strings.
  4532. #ifndef APP_USBD_CONFIG_DESC_STRING_SIZE
  4533. #define APP_USBD_CONFIG_DESC_STRING_SIZE 31
  4534. #endif
  4535. // <q> APP_USBD_CONFIG_DESC_STRING_UTF_ENABLED - Enable UTF8 conversion.
  4536. // <i> Enable UTF8-encoded characters. In normal processing, only ASCII characters are available.
  4537. #ifndef APP_USBD_CONFIG_DESC_STRING_UTF_ENABLED
  4538. #define APP_USBD_CONFIG_DESC_STRING_UTF_ENABLED 0
  4539. #endif
  4540. // <s> APP_USBD_STRINGS_LANGIDS - Supported languages identifiers.
  4541. // <i> Note: This value is not editable in Configuration Wizard.
  4542. // <i> Comma-separated list of supported languages.
  4543. #ifndef APP_USBD_STRINGS_LANGIDS
  4544. #define APP_USBD_STRINGS_LANGIDS APP_USBD_LANG_AND_SUBLANG(APP_USBD_LANG_ENGLISH, APP_USBD_SUBLANG_ENGLISH_US)
  4545. #endif
  4546. // <e> APP_USBD_STRING_ID_MANUFACTURER - Define manufacturer string ID.
  4547. // <i> Setting ID to 0 disables the string.
  4548. //==========================================================
  4549. #ifndef APP_USBD_STRING_ID_MANUFACTURER
  4550. #define APP_USBD_STRING_ID_MANUFACTURER 1
  4551. #endif
  4552. // <q> APP_USBD_STRINGS_MANUFACTURER_EXTERN - Define whether @ref APP_USBD_STRINGS_MANUFACTURER is created by macro or declared as a global variable.
  4553. #ifndef APP_USBD_STRINGS_MANUFACTURER_EXTERN
  4554. #define APP_USBD_STRINGS_MANUFACTURER_EXTERN 0
  4555. #endif
  4556. // <s> APP_USBD_STRINGS_MANUFACTURER - String descriptor for the manufacturer name.
  4557. // <i> Note: This value is not editable in Configuration Wizard.
  4558. // <i> Comma-separated list of manufacturer names for each defined language.
  4559. // <i> Use @ref APP_USBD_STRING_DESC macro to create string descriptor from a NULL-terminated string.
  4560. // <i> Use @ref APP_USBD_STRING_RAW8_DESC macro to create string descriptor from comma-separated uint8_t values.
  4561. // <i> Use @ref APP_USBD_STRING_RAW16_DESC macro to create string descriptor from comma-separated uint16_t values.
  4562. // <i> Alternatively, configure the macro to point to any internal variable pointer that already contains the descriptor.
  4563. // <i> Setting string to NULL disables that string.
  4564. // <i> The order of manufacturer names must be the same like in @ref APP_USBD_STRINGS_LANGIDS.
  4565. #ifndef APP_USBD_STRINGS_MANUFACTURER
  4566. #define APP_USBD_STRINGS_MANUFACTURER APP_USBD_STRING_DESC("Nordic Semiconductor")
  4567. #endif
  4568. // </e>
  4569. // <e> APP_USBD_STRING_ID_PRODUCT - Define product string ID.
  4570. // <i> Setting ID to 0 disables the string.
  4571. //==========================================================
  4572. #ifndef APP_USBD_STRING_ID_PRODUCT
  4573. #define APP_USBD_STRING_ID_PRODUCT 2
  4574. #endif
  4575. // <q> APP_USBD_STRINGS_PRODUCT_EXTERN - Define whether @ref APP_USBD_STRINGS_PRODUCT is created by macro or declared as a global variable.
  4576. #ifndef APP_USBD_STRINGS_PRODUCT_EXTERN
  4577. #define APP_USBD_STRINGS_PRODUCT_EXTERN 0
  4578. #endif
  4579. // <s> APP_USBD_STRINGS_PRODUCT - String descriptor for the product name.
  4580. // <i> Note: This value is not editable in Configuration Wizard.
  4581. // <i> List of product names that is defined the same way like in @ref APP_USBD_STRINGS_MANUFACTURER.
  4582. #ifndef APP_USBD_STRINGS_PRODUCT
  4583. #define APP_USBD_STRINGS_PRODUCT APP_USBD_STRING_DESC("nRF52 USB CDC")
  4584. #endif
  4585. // </e>
  4586. // <e> APP_USBD_STRING_ID_SERIAL - Define serial number string ID.
  4587. // <i> Setting ID to 0 disables the string.
  4588. //==========================================================
  4589. #ifndef APP_USBD_STRING_ID_SERIAL
  4590. #define APP_USBD_STRING_ID_SERIAL 3
  4591. #endif
  4592. // <q> APP_USBD_STRING_SERIAL_EXTERN - Define whether @ref APP_USBD_STRING_SERIAL is created by macro or declared as a global variable.
  4593. #ifndef APP_USBD_STRING_SERIAL_EXTERN
  4594. #define APP_USBD_STRING_SERIAL_EXTERN 0
  4595. #endif
  4596. // <s> APP_USBD_STRING_SERIAL - String descriptor for the serial number.
  4597. // <i> Note: This value is not editable in Configuration Wizard.
  4598. // <i> Serial number that is defined the same way like in @ref APP_USBD_STRINGS_MANUFACTURER.
  4599. #ifndef APP_USBD_STRING_SERIAL
  4600. #define APP_USBD_STRING_SERIAL g_extern_serial_number
  4601. #endif
  4602. // </e>
  4603. // <e> APP_USBD_STRING_ID_CONFIGURATION - Define configuration string ID.
  4604. // <i> Setting ID to 0 disables the string.
  4605. //==========================================================
  4606. #ifndef APP_USBD_STRING_ID_CONFIGURATION
  4607. #define APP_USBD_STRING_ID_CONFIGURATION 4
  4608. #endif
  4609. // <q> APP_USBD_STRING_CONFIGURATION_EXTERN - Define whether @ref APP_USBD_STRINGS_CONFIGURATION is created by macro or declared as global variable.
  4610. #ifndef APP_USBD_STRING_CONFIGURATION_EXTERN
  4611. #define APP_USBD_STRING_CONFIGURATION_EXTERN 0
  4612. #endif
  4613. // <s> APP_USBD_STRINGS_CONFIGURATION - String descriptor for the device configuration.
  4614. // <i> Note: This value is not editable in Configuration Wizard.
  4615. // <i> Configuration string that is defined the same way like in @ref APP_USBD_STRINGS_MANUFACTURER.
  4616. #ifndef APP_USBD_STRINGS_CONFIGURATION
  4617. #define APP_USBD_STRINGS_CONFIGURATION APP_USBD_STRING_DESC("Default configuration")
  4618. #endif
  4619. // </e>
  4620. // <s> APP_USBD_STRINGS_USER - Default values for user strings.
  4621. // <i> Note: This value is not editable in Configuration Wizard.
  4622. // <i> This value stores all application specific user strings with the default initialization.
  4623. // <i> The setup is done by X-macros.
  4624. // <i> Expected macro parameters:
  4625. // <i> @code
  4626. // <i> X(mnemonic, [=str_idx], ...)
  4627. // <i> @endcode
  4628. // <i> - @c mnemonic: Mnemonic of the string descriptor that would be added to
  4629. // <i> @ref app_usbd_string_desc_idx_t enumerator.
  4630. // <i> - @c str_idx : String index value, can be set or left empty.
  4631. // <i> For example, WinUSB driver requires descriptor to be present on 0xEE index.
  4632. // <i> Then use X(USBD_STRING_WINUSB, =0xEE, (APP_USBD_STRING_DESC(...)))
  4633. // <i> - @c ... : List of string descriptors for each defined language.
  4634. #ifndef APP_USBD_STRINGS_USER
  4635. #define APP_USBD_STRINGS_USER X(APP_USER_1, , APP_USBD_STRING_DESC("User 1"))
  4636. #endif
  4637. // </e>
  4638. #endif
  4639. #ifndef APP_USBD_STRINGS_MANUFACTURER
  4640. #define APP_USBD_STRINGS_MANUFACTURER APP_USBD_STRING_DESC("Nordic Semiconductor")
  4641. #endif
  4642. #ifndef APP_USBD_STRINGS_LANGIDS
  4643. #define APP_USBD_STRINGS_LANGIDS APP_USBD_LANG_AND_SUBLANG(APP_USBD_LANG_ENGLISH, APP_USBD_SUBLANG_ENGLISH_US)
  4644. #endif
  4645. #ifndef APP_USBD_STRINGS_USER
  4646. #define APP_USBD_STRINGS_USER X(APP_USER_1, , APP_USBD_STRING_DESC("User 1"))
  4647. #endif
  4648. #ifndef APP_USBD_STRINGS_CONFIGURATION
  4649. #define APP_USBD_STRINGS_CONFIGURATION APP_USBD_STRING_DESC("Default configuration")
  4650. #endif
  4651. #ifndef APP_USBD_STRINGS_PRODUCT
  4652. #define APP_USBD_STRINGS_PRODUCT APP_USBD_STRING_DESC("nRF52 USB CDC")
  4653. #endif
  4654. // <e> APP_USBD_HID_ENABLED - app_usbd_hid - USB HID class
  4655. //==========================================================
  4656. #ifndef APP_USBD_HID_ENABLED
  4657. #define APP_USBD_HID_ENABLED 0
  4658. #endif
  4659. // <o> APP_USBD_HID_DEFAULT_IDLE_RATE - Default idle rate for HID class. <0-255>
  4660. // <i> 0 means indefinite duration, any other value is multiplied by 4 milliseconds. Refer to Chapter 7.2.4 of HID 1.11 Specification.
  4661. #ifndef APP_USBD_HID_DEFAULT_IDLE_RATE
  4662. #define APP_USBD_HID_DEFAULT_IDLE_RATE 0
  4663. #endif
  4664. // <o> APP_USBD_HID_REPORT_IDLE_TABLE_SIZE - Size of idle rate table. <1-255>
  4665. // <i> Must be higher than the highest report ID used.
  4666. #ifndef APP_USBD_HID_REPORT_IDLE_TABLE_SIZE
  4667. #define APP_USBD_HID_REPORT_IDLE_TABLE_SIZE 4
  4668. #endif
  4669. // </e>
  4670. // <q> APP_USBD_HID_GENERIC_ENABLED - app_usbd_hid_generic - USB HID generic
  4671. #ifndef APP_USBD_HID_GENERIC_ENABLED
  4672. #define APP_USBD_HID_GENERIC_ENABLED 0
  4673. #endif
  4674. // <q> APP_USBD_HID_KBD_ENABLED - app_usbd_hid_kbd - USB HID keyboard
  4675. #ifndef APP_USBD_HID_KBD_ENABLED
  4676. #define APP_USBD_HID_KBD_ENABLED 0
  4677. #endif
  4678. // <q> APP_USBD_HID_MOUSE_ENABLED - app_usbd_hid_mouse - USB HID mouse
  4679. #ifndef APP_USBD_HID_MOUSE_ENABLED
  4680. #define APP_USBD_HID_MOUSE_ENABLED 0
  4681. #endif
  4682. // <q> APP_USBD_MSC_ENABLED - app_usbd_msc - USB MSC class
  4683. #ifndef APP_USBD_MSC_ENABLED
  4684. #define APP_USBD_MSC_ENABLED 0
  4685. #endif
  4686. // <q> CRC16_ENABLED - crc16 - CRC16 calculation routines
  4687. #ifndef CRC16_ENABLED
  4688. #define CRC16_ENABLED 0
  4689. #endif
  4690. // <q> CRC32_ENABLED - crc32 - CRC32 calculation routines
  4691. #ifndef CRC32_ENABLED
  4692. #define CRC32_ENABLED 0
  4693. #endif
  4694. // <q> ECC_ENABLED - ecc - Elliptic Curve Cryptography Library
  4695. #ifndef ECC_ENABLED
  4696. #define ECC_ENABLED 0
  4697. #endif
  4698. // <e> FDS_ENABLED - fds - Flash data storage module
  4699. //==========================================================
  4700. #ifndef FDS_ENABLED
  4701. #define FDS_ENABLED 0
  4702. #endif
  4703. // <h> Pages - Virtual page settings
  4704. // <i> Configure the number of virtual pages to use and their size.
  4705. //==========================================================
  4706. // <o> FDS_VIRTUAL_PAGES - Number of virtual flash pages to use.
  4707. // <i> One of the virtual pages is reserved by the system for garbage collection.
  4708. // <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.
  4709. // <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.
  4710. #ifndef FDS_VIRTUAL_PAGES
  4711. #define FDS_VIRTUAL_PAGES 3
  4712. #endif
  4713. // <o> FDS_VIRTUAL_PAGE_SIZE - The size of a virtual flash page.
  4714. // <i> Expressed in number of 4-byte words.
  4715. // <i> By default, a virtual page is the same size as a physical page.
  4716. // <i> The size of a virtual page must be a multiple of the size of a physical page.
  4717. // <1024=> 1024
  4718. // <2048=> 2048
  4719. #ifndef FDS_VIRTUAL_PAGE_SIZE
  4720. #define FDS_VIRTUAL_PAGE_SIZE 1024
  4721. #endif
  4722. // <o> FDS_VIRTUAL_PAGES_RESERVED - The number of virtual flash pages that are used by other modules.
  4723. // <i> FDS module stores its data in the last pages of the flash memory.
  4724. // <i> By setting this value, you can move flash end address used by the FDS.
  4725. // <i> As a result the reserved space can be used by other modules.
  4726. #ifndef FDS_VIRTUAL_PAGES_RESERVED
  4727. #define FDS_VIRTUAL_PAGES_RESERVED 0
  4728. #endif
  4729. // </h>
  4730. //==========================================================
  4731. // <h> Backend - Backend configuration
  4732. // <i> Configure which nrf_fstorage backend is used by FDS to write to flash.
  4733. //==========================================================
  4734. // <o> FDS_BACKEND - FDS flash backend.
  4735. // <i> NRF_FSTORAGE_SD uses the nrf_fstorage_sd backend implementation using the SoftDevice API. Use this if you have a SoftDevice present.
  4736. // <i> NRF_FSTORAGE_NVMC uses the nrf_fstorage_nvmc implementation. Use this setting if you don't use the SoftDevice.
  4737. // <1=> NRF_FSTORAGE_NVMC
  4738. // <2=> NRF_FSTORAGE_SD
  4739. #ifndef FDS_BACKEND
  4740. #define FDS_BACKEND 2
  4741. #endif
  4742. // </h>
  4743. //==========================================================
  4744. // <h> Queue - Queue settings
  4745. //==========================================================
  4746. // <o> FDS_OP_QUEUE_SIZE - Size of the internal queue.
  4747. // <i> Increase this value if you frequently get synchronous FDS_ERR_NO_SPACE_IN_QUEUES errors.
  4748. #ifndef FDS_OP_QUEUE_SIZE
  4749. #define FDS_OP_QUEUE_SIZE 4
  4750. #endif
  4751. // </h>
  4752. //==========================================================
  4753. // <h> CRC - CRC functionality
  4754. //==========================================================
  4755. // <e> FDS_CRC_CHECK_ON_READ - Enable CRC checks.
  4756. // <i> Save a record's CRC when it is written to flash and check it when the record is opened.
  4757. // <i> Records with an incorrect CRC can still be 'seen' by the user using FDS functions, but they cannot be opened.
  4758. // <i> Additionally, they will not be garbage collected until they are deleted.
  4759. //==========================================================
  4760. #ifndef FDS_CRC_CHECK_ON_READ
  4761. #define FDS_CRC_CHECK_ON_READ 0
  4762. #endif
  4763. // <o> FDS_CRC_CHECK_ON_WRITE - Perform a CRC check on newly written records.
  4764. // <i> Perform a CRC check on newly written records.
  4765. // <i> This setting can be used to make sure that the record data was not altered while being written to flash.
  4766. // <1=> Enabled
  4767. // <0=> Disabled
  4768. #ifndef FDS_CRC_CHECK_ON_WRITE
  4769. #define FDS_CRC_CHECK_ON_WRITE 0
  4770. #endif
  4771. // </e>
  4772. // </h>
  4773. //==========================================================
  4774. // <h> Users - Number of users
  4775. //==========================================================
  4776. // <o> FDS_MAX_USERS - Maximum number of callbacks that can be registered.
  4777. #ifndef FDS_MAX_USERS
  4778. #define FDS_MAX_USERS 4
  4779. #endif
  4780. // </h>
  4781. //==========================================================
  4782. // </e>
  4783. // <q> HARDFAULT_HANDLER_ENABLED - hardfault_default - HardFault default handler for debugging and release
  4784. #ifndef HARDFAULT_HANDLER_ENABLED
  4785. #define HARDFAULT_HANDLER_ENABLED 0
  4786. #endif
  4787. // <e> HCI_MEM_POOL_ENABLED - hci_mem_pool - memory pool implementation used by HCI
  4788. //==========================================================
  4789. #ifndef HCI_MEM_POOL_ENABLED
  4790. #define HCI_MEM_POOL_ENABLED 0
  4791. #endif
  4792. // <o> HCI_TX_BUF_SIZE - TX buffer size in bytes.
  4793. #ifndef HCI_TX_BUF_SIZE
  4794. #define HCI_TX_BUF_SIZE 600
  4795. #endif
  4796. // <o> HCI_RX_BUF_SIZE - RX buffer size in bytes.
  4797. #ifndef HCI_RX_BUF_SIZE
  4798. #define HCI_RX_BUF_SIZE 600
  4799. #endif
  4800. // <o> HCI_RX_BUF_QUEUE_SIZE - RX buffer queue size.
  4801. #ifndef HCI_RX_BUF_QUEUE_SIZE
  4802. #define HCI_RX_BUF_QUEUE_SIZE 4
  4803. #endif
  4804. // </e>
  4805. // <e> HCI_SLIP_ENABLED - hci_slip - SLIP protocol implementation used by HCI
  4806. //==========================================================
  4807. #ifndef HCI_SLIP_ENABLED
  4808. #define HCI_SLIP_ENABLED 0
  4809. #endif
  4810. // <o> HCI_UART_BAUDRATE - Default Baudrate
  4811. // <323584=> 1200 baud
  4812. // <643072=> 2400 baud
  4813. // <1290240=> 4800 baud
  4814. // <2576384=> 9600 baud
  4815. // <3862528=> 14400 baud
  4816. // <5152768=> 19200 baud
  4817. // <7716864=> 28800 baud
  4818. // <10289152=> 38400 baud
  4819. // <15400960=> 57600 baud
  4820. // <20615168=> 76800 baud
  4821. // <30801920=> 115200 baud
  4822. // <61865984=> 230400 baud
  4823. // <67108864=> 250000 baud
  4824. // <121634816=> 460800 baud
  4825. // <251658240=> 921600 baud
  4826. // <268435456=> 1000000 baud
  4827. #ifndef HCI_UART_BAUDRATE
  4828. #define HCI_UART_BAUDRATE 30801920
  4829. #endif
  4830. // <o> HCI_UART_FLOW_CONTROL - Hardware Flow Control
  4831. // <0=> Disabled
  4832. // <1=> Enabled
  4833. #ifndef HCI_UART_FLOW_CONTROL
  4834. #define HCI_UART_FLOW_CONTROL 0
  4835. #endif
  4836. // <o> HCI_UART_RX_PIN - UART RX pin
  4837. #ifndef HCI_UART_RX_PIN
  4838. #define HCI_UART_RX_PIN 31
  4839. #endif
  4840. // <o> HCI_UART_TX_PIN - UART TX pin
  4841. #ifndef HCI_UART_TX_PIN
  4842. #define HCI_UART_TX_PIN 31
  4843. #endif
  4844. // <o> HCI_UART_RTS_PIN - UART RTS pin
  4845. #ifndef HCI_UART_RTS_PIN
  4846. #define HCI_UART_RTS_PIN 31
  4847. #endif
  4848. // <o> HCI_UART_CTS_PIN - UART CTS pin
  4849. #ifndef HCI_UART_CTS_PIN
  4850. #define HCI_UART_CTS_PIN 31
  4851. #endif
  4852. // </e>
  4853. // <e> HCI_TRANSPORT_ENABLED - hci_transport - HCI transport
  4854. //==========================================================
  4855. #ifndef HCI_TRANSPORT_ENABLED
  4856. #define HCI_TRANSPORT_ENABLED 0
  4857. #endif
  4858. // <o> HCI_MAX_PACKET_SIZE_IN_BITS - Maximum size of a single application packet in bits.
  4859. #ifndef HCI_MAX_PACKET_SIZE_IN_BITS
  4860. #define HCI_MAX_PACKET_SIZE_IN_BITS 8000
  4861. #endif
  4862. // </e>
  4863. // <q> LED_SOFTBLINK_ENABLED - led_softblink - led_softblink module
  4864. #ifndef LED_SOFTBLINK_ENABLED
  4865. #define LED_SOFTBLINK_ENABLED 0
  4866. #endif
  4867. // <q> LOW_POWER_PWM_ENABLED - low_power_pwm - low_power_pwm module
  4868. #ifndef LOW_POWER_PWM_ENABLED
  4869. #define LOW_POWER_PWM_ENABLED 0
  4870. #endif
  4871. // <e> MEM_MANAGER_ENABLED - mem_manager - Dynamic memory allocator
  4872. //==========================================================
  4873. #ifndef MEM_MANAGER_ENABLED
  4874. #define MEM_MANAGER_ENABLED 0
  4875. #endif
  4876. // <o> MEMORY_MANAGER_SMALL_BLOCK_COUNT - Size of each memory blocks identified as 'small' block. <0-255>
  4877. #ifndef MEMORY_MANAGER_SMALL_BLOCK_COUNT
  4878. #define MEMORY_MANAGER_SMALL_BLOCK_COUNT 1
  4879. #endif
  4880. // <o> MEMORY_MANAGER_SMALL_BLOCK_SIZE - Size of each memory blocks identified as 'small' block.
  4881. // <i> Size of each memory blocks identified as 'small' block. Memory block are recommended to be word-sized.
  4882. #ifndef MEMORY_MANAGER_SMALL_BLOCK_SIZE
  4883. #define MEMORY_MANAGER_SMALL_BLOCK_SIZE 32
  4884. #endif
  4885. // <o> MEMORY_MANAGER_MEDIUM_BLOCK_COUNT - Size of each memory blocks identified as 'medium' block. <0-255>
  4886. #ifndef MEMORY_MANAGER_MEDIUM_BLOCK_COUNT
  4887. #define MEMORY_MANAGER_MEDIUM_BLOCK_COUNT 0
  4888. #endif
  4889. // <o> MEMORY_MANAGER_MEDIUM_BLOCK_SIZE - Size of each memory blocks identified as 'medium' block.
  4890. // <i> Size of each memory blocks identified as 'medium' block. Memory block are recommended to be word-sized.
  4891. #ifndef MEMORY_MANAGER_MEDIUM_BLOCK_SIZE
  4892. #define MEMORY_MANAGER_MEDIUM_BLOCK_SIZE 256
  4893. #endif
  4894. // <o> MEMORY_MANAGER_LARGE_BLOCK_COUNT - Size of each memory blocks identified as 'large' block. <0-255>
  4895. #ifndef MEMORY_MANAGER_LARGE_BLOCK_COUNT
  4896. #define MEMORY_MANAGER_LARGE_BLOCK_COUNT 0
  4897. #endif
  4898. // <o> MEMORY_MANAGER_LARGE_BLOCK_SIZE - Size of each memory blocks identified as 'large' block.
  4899. // <i> Size of each memory blocks identified as 'large' block. Memory block are recommended to be word-sized.
  4900. #ifndef MEMORY_MANAGER_LARGE_BLOCK_SIZE
  4901. #define MEMORY_MANAGER_LARGE_BLOCK_SIZE 256
  4902. #endif
  4903. // <o> MEMORY_MANAGER_XLARGE_BLOCK_COUNT - Size of each memory blocks identified as 'extra large' block. <0-255>
  4904. #ifndef MEMORY_MANAGER_XLARGE_BLOCK_COUNT
  4905. #define MEMORY_MANAGER_XLARGE_BLOCK_COUNT 0
  4906. #endif
  4907. // <o> MEMORY_MANAGER_XLARGE_BLOCK_SIZE - Size of each memory blocks identified as 'extra large' block.
  4908. // <i> Size of each memory blocks identified as 'extra large' block. Memory block are recommended to be word-sized.
  4909. #ifndef MEMORY_MANAGER_XLARGE_BLOCK_SIZE
  4910. #define MEMORY_MANAGER_XLARGE_BLOCK_SIZE 1320
  4911. #endif
  4912. // <o> MEMORY_MANAGER_XXLARGE_BLOCK_COUNT - Size of each memory blocks identified as 'extra extra large' block. <0-255>
  4913. #ifndef MEMORY_MANAGER_XXLARGE_BLOCK_COUNT
  4914. #define MEMORY_MANAGER_XXLARGE_BLOCK_COUNT 0
  4915. #endif
  4916. // <o> MEMORY_MANAGER_XXLARGE_BLOCK_SIZE - Size of each memory blocks identified as 'extra extra large' block.
  4917. // <i> Size of each memory blocks identified as 'extra extra large' block. Memory block are recommended to be word-sized.
  4918. #ifndef MEMORY_MANAGER_XXLARGE_BLOCK_SIZE
  4919. #define MEMORY_MANAGER_XXLARGE_BLOCK_SIZE 3444
  4920. #endif
  4921. // <o> MEMORY_MANAGER_XSMALL_BLOCK_COUNT - Size of each memory blocks identified as 'extra small' block. <0-255>
  4922. #ifndef MEMORY_MANAGER_XSMALL_BLOCK_COUNT
  4923. #define MEMORY_MANAGER_XSMALL_BLOCK_COUNT 0
  4924. #endif
  4925. // <o> MEMORY_MANAGER_XSMALL_BLOCK_SIZE - Size of each memory blocks identified as 'extra small' block.
  4926. // <i> Size of each memory blocks identified as 'extra large' block. Memory block are recommended to be word-sized.
  4927. #ifndef MEMORY_MANAGER_XSMALL_BLOCK_SIZE
  4928. #define MEMORY_MANAGER_XSMALL_BLOCK_SIZE 64
  4929. #endif
  4930. // <o> MEMORY_MANAGER_XXSMALL_BLOCK_COUNT - Size of each memory blocks identified as 'extra extra small' block. <0-255>
  4931. #ifndef MEMORY_MANAGER_XXSMALL_BLOCK_COUNT
  4932. #define MEMORY_MANAGER_XXSMALL_BLOCK_COUNT 0
  4933. #endif
  4934. // <o> MEMORY_MANAGER_XXSMALL_BLOCK_SIZE - Size of each memory blocks identified as 'extra extra small' block.
  4935. // <i> Size of each memory blocks identified as 'extra extra small' block. Memory block are recommended to be word-sized.
  4936. #ifndef MEMORY_MANAGER_XXSMALL_BLOCK_SIZE
  4937. #define MEMORY_MANAGER_XXSMALL_BLOCK_SIZE 32
  4938. #endif
  4939. // <e> MEM_MANAGER_CONFIG_LOG_ENABLED - Enables logging in the module.
  4940. //==========================================================
  4941. #ifndef MEM_MANAGER_CONFIG_LOG_ENABLED
  4942. #define MEM_MANAGER_CONFIG_LOG_ENABLED 0
  4943. #endif
  4944. // <o> MEM_MANAGER_CONFIG_LOG_LEVEL - Default Severity level
  4945. // <0=> Off
  4946. // <1=> Error
  4947. // <2=> Warning
  4948. // <3=> Info
  4949. // <4=> Debug
  4950. #ifndef MEM_MANAGER_CONFIG_LOG_LEVEL
  4951. #define MEM_MANAGER_CONFIG_LOG_LEVEL 3
  4952. #endif
  4953. // <o> MEM_MANAGER_CONFIG_INFO_COLOR - ANSI escape code prefix.
  4954. // <0=> Default
  4955. // <1=> Black
  4956. // <2=> Red
  4957. // <3=> Green
  4958. // <4=> Yellow
  4959. // <5=> Blue
  4960. // <6=> Magenta
  4961. // <7=> Cyan
  4962. // <8=> White
  4963. #ifndef MEM_MANAGER_CONFIG_INFO_COLOR
  4964. #define MEM_MANAGER_CONFIG_INFO_COLOR 0
  4965. #endif
  4966. // <o> MEM_MANAGER_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  4967. // <0=> Default
  4968. // <1=> Black
  4969. // <2=> Red
  4970. // <3=> Green
  4971. // <4=> Yellow
  4972. // <5=> Blue
  4973. // <6=> Magenta
  4974. // <7=> Cyan
  4975. // <8=> White
  4976. #ifndef MEM_MANAGER_CONFIG_DEBUG_COLOR
  4977. #define MEM_MANAGER_CONFIG_DEBUG_COLOR 0
  4978. #endif
  4979. // </e>
  4980. // <q> MEM_MANAGER_DISABLE_API_PARAM_CHECK - Disable API parameter checks in the module.
  4981. #ifndef MEM_MANAGER_DISABLE_API_PARAM_CHECK
  4982. #define MEM_MANAGER_DISABLE_API_PARAM_CHECK 0
  4983. #endif
  4984. // </e>
  4985. // <e> NRF_BALLOC_ENABLED - nrf_balloc - Block allocator module
  4986. //==========================================================
  4987. #ifndef NRF_BALLOC_ENABLED
  4988. #define NRF_BALLOC_ENABLED 1
  4989. #endif
  4990. // <e> NRF_BALLOC_CONFIG_DEBUG_ENABLED - Enables debug mode in the module.
  4991. //==========================================================
  4992. #ifndef NRF_BALLOC_CONFIG_DEBUG_ENABLED
  4993. #define NRF_BALLOC_CONFIG_DEBUG_ENABLED 0
  4994. #endif
  4995. // <o> NRF_BALLOC_CONFIG_HEAD_GUARD_WORDS - Number of words used as head guard. <0-255>
  4996. #ifndef NRF_BALLOC_CONFIG_HEAD_GUARD_WORDS
  4997. #define NRF_BALLOC_CONFIG_HEAD_GUARD_WORDS 1
  4998. #endif
  4999. // <o> NRF_BALLOC_CONFIG_TAIL_GUARD_WORDS - Number of words used as tail guard. <0-255>
  5000. #ifndef NRF_BALLOC_CONFIG_TAIL_GUARD_WORDS
  5001. #define NRF_BALLOC_CONFIG_TAIL_GUARD_WORDS 1
  5002. #endif
  5003. // <q> NRF_BALLOC_CONFIG_BASIC_CHECKS_ENABLED - Enables basic checks in this module.
  5004. #ifndef NRF_BALLOC_CONFIG_BASIC_CHECKS_ENABLED
  5005. #define NRF_BALLOC_CONFIG_BASIC_CHECKS_ENABLED 0
  5006. #endif
  5007. // <q> NRF_BALLOC_CONFIG_DOUBLE_FREE_CHECK_ENABLED - Enables double memory free check in this module.
  5008. #ifndef NRF_BALLOC_CONFIG_DOUBLE_FREE_CHECK_ENABLED
  5009. #define NRF_BALLOC_CONFIG_DOUBLE_FREE_CHECK_ENABLED 0
  5010. #endif
  5011. // <q> NRF_BALLOC_CONFIG_DATA_TRASHING_CHECK_ENABLED - Enables free memory corruption check in this module.
  5012. #ifndef NRF_BALLOC_CONFIG_DATA_TRASHING_CHECK_ENABLED
  5013. #define NRF_BALLOC_CONFIG_DATA_TRASHING_CHECK_ENABLED 0
  5014. #endif
  5015. // <q> NRF_BALLOC_CLI_CMDS - Enable CLI commands specific to the module
  5016. #ifndef NRF_BALLOC_CLI_CMDS
  5017. #define NRF_BALLOC_CLI_CMDS 0
  5018. #endif
  5019. // </e>
  5020. // </e>
  5021. // <e> NRF_CSENSE_ENABLED - nrf_csense - Capacitive sensor module
  5022. //==========================================================
  5023. #ifndef NRF_CSENSE_ENABLED
  5024. #define NRF_CSENSE_ENABLED 0
  5025. #endif
  5026. // <o> NRF_CSENSE_PAD_HYSTERESIS - Minimum value of change required to determine that a pad was touched.
  5027. #ifndef NRF_CSENSE_PAD_HYSTERESIS
  5028. #define NRF_CSENSE_PAD_HYSTERESIS 15
  5029. #endif
  5030. // <o> NRF_CSENSE_PAD_DEVIATION - Minimum value measured on a pad required to take it into account while calculating the step.
  5031. #ifndef NRF_CSENSE_PAD_DEVIATION
  5032. #define NRF_CSENSE_PAD_DEVIATION 70
  5033. #endif
  5034. // <o> NRF_CSENSE_MIN_PAD_VALUE - Minimum normalized value on a pad required to take its value into account.
  5035. #ifndef NRF_CSENSE_MIN_PAD_VALUE
  5036. #define NRF_CSENSE_MIN_PAD_VALUE 20
  5037. #endif
  5038. // <o> NRF_CSENSE_MAX_PADS_NUMBER - Maximum number of pads used for one instance.
  5039. #ifndef NRF_CSENSE_MAX_PADS_NUMBER
  5040. #define NRF_CSENSE_MAX_PADS_NUMBER 20
  5041. #endif
  5042. // <o> NRF_CSENSE_MAX_VALUE - Maximum normalized value obtained from measurement.
  5043. #ifndef NRF_CSENSE_MAX_VALUE
  5044. #define NRF_CSENSE_MAX_VALUE 1000
  5045. #endif
  5046. // <o> NRF_CSENSE_OUTPUT_PIN - Output pin used by the low-level module.
  5047. // <i> This is used when capacitive sensor does not use COMP.
  5048. #ifndef NRF_CSENSE_OUTPUT_PIN
  5049. #define NRF_CSENSE_OUTPUT_PIN 26
  5050. #endif
  5051. // </e>
  5052. // <e> NRF_DRV_CSENSE_ENABLED - nrf_drv_csense - Capacitive sensor low-level module
  5053. //==========================================================
  5054. #ifndef NRF_DRV_CSENSE_ENABLED
  5055. #define NRF_DRV_CSENSE_ENABLED 0
  5056. #endif
  5057. // <e> USE_COMP - Use the comparator to implement the capacitive sensor driver.
  5058. // <i> Due to Anomaly 84, COMP I_SOURCE is not functional. It has too high a varation.
  5059. //==========================================================
  5060. #ifndef USE_COMP
  5061. #define USE_COMP 0
  5062. #endif
  5063. // <o> TIMER0_FOR_CSENSE - First TIMER instance used by the driver (not used on nRF51).
  5064. #ifndef TIMER0_FOR_CSENSE
  5065. #define TIMER0_FOR_CSENSE 1
  5066. #endif
  5067. // <o> TIMER1_FOR_CSENSE - Second TIMER instance used by the driver (not used on nRF51).
  5068. #ifndef TIMER1_FOR_CSENSE
  5069. #define TIMER1_FOR_CSENSE 2
  5070. #endif
  5071. // <o> MEASUREMENT_PERIOD - Single measurement period.
  5072. // <i> Time of a single measurement can be calculated as
  5073. // <i> T = (1/2)*MEASUREMENT_PERIOD*(1/f_OSC) where f_OSC = I_SOURCE / (2C*(VUP-VDOWN) ).
  5074. // <i> I_SOURCE, VUP, and VDOWN are values used to initialize COMP and C is the capacitance of the used pad.
  5075. #ifndef MEASUREMENT_PERIOD
  5076. #define MEASUREMENT_PERIOD 20
  5077. #endif
  5078. // </e>
  5079. // </e>
  5080. // <e> NRF_FSTORAGE_ENABLED - nrf_fstorage - Flash abstraction library
  5081. //==========================================================
  5082. #ifndef NRF_FSTORAGE_ENABLED
  5083. #define NRF_FSTORAGE_ENABLED 0
  5084. #endif
  5085. // <h> nrf_fstorage - Common settings
  5086. // <i> Common settings to all fstorage implementations
  5087. //==========================================================
  5088. // <q> NRF_FSTORAGE_PARAM_CHECK_DISABLED - Disable user input validation
  5089. // <i> If selected, use ASSERT to validate user input.
  5090. // <i> This effectively removes user input validation in production code.
  5091. // <i> Recommended setting: OFF, only enable this setting if size is a major concern.
  5092. #ifndef NRF_FSTORAGE_PARAM_CHECK_DISABLED
  5093. #define NRF_FSTORAGE_PARAM_CHECK_DISABLED 0
  5094. #endif
  5095. // </h>
  5096. //==========================================================
  5097. // <h> nrf_fstorage_sd - Implementation using the SoftDevice
  5098. // <i> Configuration options for the fstorage implementation using the SoftDevice
  5099. //==========================================================
  5100. // <o> NRF_FSTORAGE_SD_QUEUE_SIZE - Size of the internal queue of operations
  5101. // <i> Increase this value if API calls frequently return the error @ref NRF_ERROR_NO_MEM.
  5102. #ifndef NRF_FSTORAGE_SD_QUEUE_SIZE
  5103. #define NRF_FSTORAGE_SD_QUEUE_SIZE 4
  5104. #endif
  5105. // <o> NRF_FSTORAGE_SD_MAX_RETRIES - Maximum number of attempts at executing an operation when the SoftDevice is busy
  5106. // <i> Increase this value if events frequently return the @ref NRF_ERROR_TIMEOUT error.
  5107. // <i> The SoftDevice might fail to schedule flash access due to high BLE activity.
  5108. #ifndef NRF_FSTORAGE_SD_MAX_RETRIES
  5109. #define NRF_FSTORAGE_SD_MAX_RETRIES 8
  5110. #endif
  5111. // <o> NRF_FSTORAGE_SD_MAX_WRITE_SIZE - Maximum number of bytes to be written to flash in a single operation
  5112. // <i> This value must be a multiple of four.
  5113. // <i> Lowering this value can increase the chances of the SoftDevice being able to execute flash operations in between radio activity.
  5114. // <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.
  5115. // <i> That is 1024 bytes for nRF51 ICs and 4096 bytes for nRF52 ICs.
  5116. #ifndef NRF_FSTORAGE_SD_MAX_WRITE_SIZE
  5117. #define NRF_FSTORAGE_SD_MAX_WRITE_SIZE 4096
  5118. #endif
  5119. // </h>
  5120. //==========================================================
  5121. // </e>
  5122. // <q> NRF_GFX_ENABLED - nrf_gfx - GFX module
  5123. #ifndef NRF_GFX_ENABLED
  5124. #define NRF_GFX_ENABLED 0
  5125. #endif
  5126. // <q> NRF_MEMOBJ_ENABLED - nrf_memobj - Linked memory allocator module
  5127. #ifndef NRF_MEMOBJ_ENABLED
  5128. #define NRF_MEMOBJ_ENABLED 1
  5129. #endif
  5130. // <e> NRF_PWR_MGMT_ENABLED - nrf_pwr_mgmt - Power management module
  5131. //==========================================================
  5132. #ifndef NRF_PWR_MGMT_ENABLED
  5133. #define NRF_PWR_MGMT_ENABLED 0
  5134. #endif
  5135. // <e> NRF_PWR_MGMT_CONFIG_DEBUG_PIN_ENABLED - Enables pin debug in the module.
  5136. // <i> Selected pin will be set when CPU is in sleep mode.
  5137. //==========================================================
  5138. #ifndef NRF_PWR_MGMT_CONFIG_DEBUG_PIN_ENABLED
  5139. #define NRF_PWR_MGMT_CONFIG_DEBUG_PIN_ENABLED 0
  5140. #endif
  5141. // <o> NRF_PWR_MGMT_SLEEP_DEBUG_PIN - Pin number
  5142. // <0=> 0 (P0.0)
  5143. // <1=> 1 (P0.1)
  5144. // <2=> 2 (P0.2)
  5145. // <3=> 3 (P0.3)
  5146. // <4=> 4 (P0.4)
  5147. // <5=> 5 (P0.5)
  5148. // <6=> 6 (P0.6)
  5149. // <7=> 7 (P0.7)
  5150. // <8=> 8 (P0.8)
  5151. // <9=> 9 (P0.9)
  5152. // <10=> 10 (P0.10)
  5153. // <11=> 11 (P0.11)
  5154. // <12=> 12 (P0.12)
  5155. // <13=> 13 (P0.13)
  5156. // <14=> 14 (P0.14)
  5157. // <15=> 15 (P0.15)
  5158. // <16=> 16 (P0.16)
  5159. // <17=> 17 (P0.17)
  5160. // <18=> 18 (P0.18)
  5161. // <19=> 19 (P0.19)
  5162. // <20=> 20 (P0.20)
  5163. // <21=> 21 (P0.21)
  5164. // <22=> 22 (P0.22)
  5165. // <23=> 23 (P0.23)
  5166. // <24=> 24 (P0.24)
  5167. // <25=> 25 (P0.25)
  5168. // <26=> 26 (P0.26)
  5169. // <27=> 27 (P0.27)
  5170. // <28=> 28 (P0.28)
  5171. // <29=> 29 (P0.29)
  5172. // <30=> 30 (P0.30)
  5173. // <31=> 31 (P0.31)
  5174. // <32=> 32 (P1.0)
  5175. // <33=> 33 (P1.1)
  5176. // <34=> 34 (P1.2)
  5177. // <35=> 35 (P1.3)
  5178. // <36=> 36 (P1.4)
  5179. // <37=> 37 (P1.5)
  5180. // <38=> 38 (P1.6)
  5181. // <39=> 39 (P1.7)
  5182. // <40=> 40 (P1.8)
  5183. // <41=> 41 (P1.9)
  5184. // <42=> 42 (P1.10)
  5185. // <43=> 43 (P1.11)
  5186. // <44=> 44 (P1.12)
  5187. // <45=> 45 (P1.13)
  5188. // <46=> 46 (P1.14)
  5189. // <47=> 47 (P1.15)
  5190. // <4294967295=> Not connected
  5191. #ifndef NRF_PWR_MGMT_SLEEP_DEBUG_PIN
  5192. #define NRF_PWR_MGMT_SLEEP_DEBUG_PIN 31
  5193. #endif
  5194. // </e>
  5195. // <q> NRF_PWR_MGMT_CONFIG_CPU_USAGE_MONITOR_ENABLED - Enables CPU usage monitor.
  5196. // <i> Module will trace percentage of CPU usage in one second intervals.
  5197. #ifndef NRF_PWR_MGMT_CONFIG_CPU_USAGE_MONITOR_ENABLED
  5198. #define NRF_PWR_MGMT_CONFIG_CPU_USAGE_MONITOR_ENABLED 0
  5199. #endif
  5200. // <e> NRF_PWR_MGMT_CONFIG_STANDBY_TIMEOUT_ENABLED - Enable standby timeout.
  5201. //==========================================================
  5202. #ifndef NRF_PWR_MGMT_CONFIG_STANDBY_TIMEOUT_ENABLED
  5203. #define NRF_PWR_MGMT_CONFIG_STANDBY_TIMEOUT_ENABLED 0
  5204. #endif
  5205. // <o> NRF_PWR_MGMT_CONFIG_STANDBY_TIMEOUT_S - Standby timeout (in seconds).
  5206. // <i> Shutdown procedure will begin no earlier than after this number of seconds.
  5207. #ifndef NRF_PWR_MGMT_CONFIG_STANDBY_TIMEOUT_S
  5208. #define NRF_PWR_MGMT_CONFIG_STANDBY_TIMEOUT_S 3
  5209. #endif
  5210. // </e>
  5211. // <q> NRF_PWR_MGMT_CONFIG_FPU_SUPPORT_ENABLED - Enables FPU event cleaning.
  5212. #ifndef NRF_PWR_MGMT_CONFIG_FPU_SUPPORT_ENABLED
  5213. #define NRF_PWR_MGMT_CONFIG_FPU_SUPPORT_ENABLED 0
  5214. #endif
  5215. // <q> NRF_PWR_MGMT_CONFIG_AUTO_SHUTDOWN_RETRY - Blocked shutdown procedure will be retried every second.
  5216. #ifndef NRF_PWR_MGMT_CONFIG_AUTO_SHUTDOWN_RETRY
  5217. #define NRF_PWR_MGMT_CONFIG_AUTO_SHUTDOWN_RETRY 0
  5218. #endif
  5219. // <q> NRF_PWR_MGMT_CONFIG_USE_SCHEDULER - Module will use @ref app_scheduler.
  5220. #ifndef NRF_PWR_MGMT_CONFIG_USE_SCHEDULER
  5221. #define NRF_PWR_MGMT_CONFIG_USE_SCHEDULER 0
  5222. #endif
  5223. // <o> NRF_PWR_MGMT_CONFIG_HANDLER_PRIORITY_COUNT - The number of priorities for module handlers.
  5224. // <i> The number of stages of the shutdown process.
  5225. #ifndef NRF_PWR_MGMT_CONFIG_HANDLER_PRIORITY_COUNT
  5226. #define NRF_PWR_MGMT_CONFIG_HANDLER_PRIORITY_COUNT 3
  5227. #endif
  5228. // </e>
  5229. // <e> NRF_QUEUE_ENABLED - nrf_queue - Queue module
  5230. //==========================================================
  5231. #ifndef NRF_QUEUE_ENABLED
  5232. #define NRF_QUEUE_ENABLED 0
  5233. #endif
  5234. // <q> NRF_QUEUE_CLI_CMDS - Enable CLI commands specific to the module
  5235. #ifndef NRF_QUEUE_CLI_CMDS
  5236. #define NRF_QUEUE_CLI_CMDS 0
  5237. #endif
  5238. // </e>
  5239. // <q> NRF_SECTION_ITER_ENABLED - nrf_section_iter - Section iterator
  5240. #ifndef NRF_SECTION_ITER_ENABLED
  5241. #define NRF_SECTION_ITER_ENABLED 1
  5242. #endif
  5243. // <q> NRF_SORTLIST_ENABLED - nrf_sortlist - Sorted list
  5244. #ifndef NRF_SORTLIST_ENABLED
  5245. #define NRF_SORTLIST_ENABLED 1
  5246. #endif
  5247. // <q> NRF_SPI_MNGR_ENABLED - nrf_spi_mngr - SPI transaction manager
  5248. #ifndef NRF_SPI_MNGR_ENABLED
  5249. #define NRF_SPI_MNGR_ENABLED 0
  5250. #endif
  5251. // <q> NRF_STRERROR_ENABLED - nrf_strerror - Library for converting error code to string.
  5252. #ifndef NRF_STRERROR_ENABLED
  5253. #define NRF_STRERROR_ENABLED 1
  5254. #endif
  5255. // <q> NRF_TWI_MNGR_ENABLED - nrf_twi_mngr - TWI transaction manager
  5256. #ifndef NRF_TWI_MNGR_ENABLED
  5257. #define NRF_TWI_MNGR_ENABLED 0
  5258. #endif
  5259. // <q> SLIP_ENABLED - slip - SLIP encoding and decoding
  5260. #ifndef SLIP_ENABLED
  5261. #define SLIP_ENABLED 0
  5262. #endif
  5263. // <e> TASK_MANAGER_ENABLED - task_manager - Task manager.
  5264. //==========================================================
  5265. #ifndef TASK_MANAGER_ENABLED
  5266. #define TASK_MANAGER_ENABLED 0
  5267. #endif
  5268. // <q> TASK_MANAGER_CLI_CMDS - Enable CLI commands specific to the module
  5269. #ifndef TASK_MANAGER_CLI_CMDS
  5270. #define TASK_MANAGER_CLI_CMDS 0
  5271. #endif
  5272. // <o> TASK_MANAGER_CONFIG_MAX_TASKS - Maximum number of tasks which can be created
  5273. #ifndef TASK_MANAGER_CONFIG_MAX_TASKS
  5274. #define TASK_MANAGER_CONFIG_MAX_TASKS 2
  5275. #endif
  5276. // <o> TASK_MANAGER_CONFIG_STACK_SIZE - Stack size for every task (power of 2)
  5277. #ifndef TASK_MANAGER_CONFIG_STACK_SIZE
  5278. #define TASK_MANAGER_CONFIG_STACK_SIZE 1024
  5279. #endif
  5280. // <q> TASK_MANAGER_CONFIG_STACK_PROFILER_ENABLED - Enable stack profiling.
  5281. #ifndef TASK_MANAGER_CONFIG_STACK_PROFILER_ENABLED
  5282. #define TASK_MANAGER_CONFIG_STACK_PROFILER_ENABLED 1
  5283. #endif
  5284. // <o> TASK_MANAGER_CONFIG_STACK_GUARD - Configures stack guard.
  5285. // <0=> Disabled
  5286. // <4=> 32 bytes
  5287. // <5=> 64 bytes
  5288. // <6=> 128 bytes
  5289. // <7=> 256 bytes
  5290. // <8=> 512 bytes
  5291. #ifndef TASK_MANAGER_CONFIG_STACK_GUARD
  5292. #define TASK_MANAGER_CONFIG_STACK_GUARD 7
  5293. #endif
  5294. // </e>
  5295. // <h> app_button - buttons handling module
  5296. //==========================================================
  5297. // <q> BUTTON_ENABLED - Enables Button module
  5298. #ifndef BUTTON_ENABLED
  5299. #define BUTTON_ENABLED 0
  5300. #endif
  5301. // <q> BUTTON_HIGH_ACCURACY_ENABLED - Enables GPIOTE high accuracy for buttons
  5302. #ifndef BUTTON_HIGH_ACCURACY_ENABLED
  5303. #define BUTTON_HIGH_ACCURACY_ENABLED 0
  5304. #endif
  5305. // </h>
  5306. //==========================================================
  5307. // <h> app_usbd_cdc_acm - USB CDC ACM class
  5308. //==========================================================
  5309. // <q> APP_USBD_CDC_ACM_ENABLED - Enabling USBD CDC ACM Class library
  5310. #ifndef APP_USBD_CDC_ACM_ENABLED
  5311. #define APP_USBD_CDC_ACM_ENABLED 0
  5312. #endif
  5313. // <q> APP_USBD_CDC_ACM_ZLP_ON_EPSIZE_WRITE - Send ZLP on write with same size as endpoint
  5314. // <i> If enabled, CDC ACM class will automatically send a zero length packet after transfer which has the same size as endpoint.
  5315. // <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.
  5316. #ifndef APP_USBD_CDC_ACM_ZLP_ON_EPSIZE_WRITE
  5317. #define APP_USBD_CDC_ACM_ZLP_ON_EPSIZE_WRITE 1
  5318. #endif
  5319. // </h>
  5320. //==========================================================
  5321. // <h> nrf_cli - Command line interface
  5322. //==========================================================
  5323. // <q> NRF_CLI_ENABLED - Enable/disable the CLI module.
  5324. #ifndef NRF_CLI_ENABLED
  5325. #define NRF_CLI_ENABLED 0
  5326. #endif
  5327. // <o> NRF_CLI_ARGC_MAX - Maximum number of parameters passed to the command handler.
  5328. #ifndef NRF_CLI_ARGC_MAX
  5329. #define NRF_CLI_ARGC_MAX 12
  5330. #endif
  5331. // <q> NRF_CLI_BUILD_IN_CMDS_ENABLED - CLI built-in commands.
  5332. #ifndef NRF_CLI_BUILD_IN_CMDS_ENABLED
  5333. #define NRF_CLI_BUILD_IN_CMDS_ENABLED 1
  5334. #endif
  5335. // <o> NRF_CLI_CMD_BUFF_SIZE - Maximum buffer size for a single command.
  5336. #ifndef NRF_CLI_CMD_BUFF_SIZE
  5337. #define NRF_CLI_CMD_BUFF_SIZE 128
  5338. #endif
  5339. // <q> NRF_CLI_ECHO_STATUS - CLI echo status. If set, echo is ON.
  5340. #ifndef NRF_CLI_ECHO_STATUS
  5341. #define NRF_CLI_ECHO_STATUS 1
  5342. #endif
  5343. // <q> NRF_CLI_WILDCARD_ENABLED - Enable wildcard functionality for CLI commands.
  5344. #ifndef NRF_CLI_WILDCARD_ENABLED
  5345. #define NRF_CLI_WILDCARD_ENABLED 0
  5346. #endif
  5347. // <q> NRF_CLI_METAKEYS_ENABLED - Enable additional control keys for CLI commands like ctrl+a, ctrl+e, ctrl+w, ctrl+u
  5348. #ifndef NRF_CLI_METAKEYS_ENABLED
  5349. #define NRF_CLI_METAKEYS_ENABLED 0
  5350. #endif
  5351. // <o> NRF_CLI_PRINTF_BUFF_SIZE - Maximum print buffer size.
  5352. #ifndef NRF_CLI_PRINTF_BUFF_SIZE
  5353. #define NRF_CLI_PRINTF_BUFF_SIZE 23
  5354. #endif
  5355. // <e> NRF_CLI_HISTORY_ENABLED - Enable CLI history mode.
  5356. //==========================================================
  5357. #ifndef NRF_CLI_HISTORY_ENABLED
  5358. #define NRF_CLI_HISTORY_ENABLED 1
  5359. #endif
  5360. // <o> NRF_CLI_HISTORY_ELEMENT_SIZE - Size of one memory object reserved for CLI history.
  5361. #ifndef NRF_CLI_HISTORY_ELEMENT_SIZE
  5362. #define NRF_CLI_HISTORY_ELEMENT_SIZE 32
  5363. #endif
  5364. // <o> NRF_CLI_HISTORY_ELEMENT_COUNT - Number of history memory objects.
  5365. #ifndef NRF_CLI_HISTORY_ELEMENT_COUNT
  5366. #define NRF_CLI_HISTORY_ELEMENT_COUNT 8
  5367. #endif
  5368. // </e>
  5369. // <q> NRF_CLI_VT100_COLORS_ENABLED - CLI VT100 colors.
  5370. #ifndef NRF_CLI_VT100_COLORS_ENABLED
  5371. #define NRF_CLI_VT100_COLORS_ENABLED 1
  5372. #endif
  5373. // <q> NRF_CLI_STATISTICS_ENABLED - Enable CLI statistics.
  5374. #ifndef NRF_CLI_STATISTICS_ENABLED
  5375. #define NRF_CLI_STATISTICS_ENABLED 1
  5376. #endif
  5377. // <q> NRF_CLI_LOG_BACKEND - Enable logger backend interface.
  5378. #ifndef NRF_CLI_LOG_BACKEND
  5379. #define NRF_CLI_LOG_BACKEND 1
  5380. #endif
  5381. // <q> NRF_CLI_USES_TASK_MANAGER_ENABLED - Enable CLI to use task_manager
  5382. #ifndef NRF_CLI_USES_TASK_MANAGER_ENABLED
  5383. #define NRF_CLI_USES_TASK_MANAGER_ENABLED 0
  5384. #endif
  5385. // </h>
  5386. //==========================================================
  5387. // <h> nrf_fprintf - fprintf function.
  5388. //==========================================================
  5389. // <q> NRF_FPRINTF_ENABLED - Enable/disable fprintf module.
  5390. #ifndef NRF_FPRINTF_ENABLED
  5391. #define NRF_FPRINTF_ENABLED 1
  5392. #endif
  5393. // <q> NRF_FPRINTF_FLAG_AUTOMATIC_CR_ON_LF_ENABLED - For each printed LF, function will add CR.
  5394. #ifndef NRF_FPRINTF_FLAG_AUTOMATIC_CR_ON_LF_ENABLED
  5395. #define NRF_FPRINTF_FLAG_AUTOMATIC_CR_ON_LF_ENABLED 1
  5396. #endif
  5397. // <q> NRF_FPRINTF_DOUBLE_ENABLED - Enable IEEE-754 double precision formatting.
  5398. #ifndef NRF_FPRINTF_DOUBLE_ENABLED
  5399. #define NRF_FPRINTF_DOUBLE_ENABLED 0
  5400. #endif
  5401. // </h>
  5402. //==========================================================
  5403. // </h>
  5404. //==========================================================
  5405. // <h> nRF_Log
  5406. //==========================================================
  5407. // <e> NRF_LOG_ENABLED - nrf_log - Logger
  5408. //==========================================================
  5409. #ifndef NRF_LOG_ENABLED
  5410. #define NRF_LOG_ENABLED 0
  5411. #endif
  5412. // <h> Log message pool - Configuration of log message pool
  5413. //==========================================================
  5414. // <o> NRF_LOG_MSGPOOL_ELEMENT_SIZE - Size of a single element in the pool of memory objects.
  5415. // <i> If a small value is set, then performance of logs processing
  5416. // <i> is degraded because data is fragmented. Bigger value impacts
  5417. // <i> RAM memory utilization. The size is set to fit a message with
  5418. // <i> a timestamp and up to 2 arguments in a single memory object.
  5419. #ifndef NRF_LOG_MSGPOOL_ELEMENT_SIZE
  5420. #define NRF_LOG_MSGPOOL_ELEMENT_SIZE 20
  5421. #endif
  5422. // <o> NRF_LOG_MSGPOOL_ELEMENT_COUNT - Number of elements in the pool of memory objects
  5423. // <i> If a small value is set, then it may lead to a deadlock
  5424. // <i> in certain cases if backend has high latency and holds
  5425. // <i> multiple messages for long time. Bigger value impacts
  5426. // <i> RAM memory usage.
  5427. #ifndef NRF_LOG_MSGPOOL_ELEMENT_COUNT
  5428. #define NRF_LOG_MSGPOOL_ELEMENT_COUNT 8
  5429. #endif
  5430. // </h>
  5431. //==========================================================
  5432. // <q> NRF_LOG_ALLOW_OVERFLOW - Configures behavior when circular buffer is full.
  5433. // <i> If set then oldest logs are overwritten. Otherwise a
  5434. // <i> marker is injected informing about overflow.
  5435. #ifndef NRF_LOG_ALLOW_OVERFLOW
  5436. #define NRF_LOG_ALLOW_OVERFLOW 1
  5437. #endif
  5438. // <o> NRF_LOG_BUFSIZE - Size of the buffer for storing logs (in bytes).
  5439. // <i> Must be power of 2 and multiple of 4.
  5440. // <i> If NRF_LOG_DEFERRED = 0 then buffer size can be reduced to minimum.
  5441. // <128=> 128
  5442. // <256=> 256
  5443. // <512=> 512
  5444. // <1024=> 1024
  5445. // <2048=> 2048
  5446. // <4096=> 4096
  5447. // <8192=> 8192
  5448. // <16384=> 16384
  5449. #ifndef NRF_LOG_BUFSIZE
  5450. #define NRF_LOG_BUFSIZE 1024
  5451. #endif
  5452. // <q> NRF_LOG_CLI_CMDS - Enable CLI commands for the module.
  5453. #ifndef NRF_LOG_CLI_CMDS
  5454. #define NRF_LOG_CLI_CMDS 0
  5455. #endif
  5456. // <o> NRF_LOG_DEFAULT_LEVEL - Default Severity level
  5457. // <0=> Off
  5458. // <1=> Error
  5459. // <2=> Warning
  5460. // <3=> Info
  5461. // <4=> Debug
  5462. #ifndef NRF_LOG_DEFAULT_LEVEL
  5463. #define NRF_LOG_DEFAULT_LEVEL 3
  5464. #endif
  5465. // <q> NRF_LOG_DEFERRED - Enable deffered logger.
  5466. // <i> Log data is buffered and can be processed in idle.
  5467. #ifndef NRF_LOG_DEFERRED
  5468. #define NRF_LOG_DEFERRED 1
  5469. #endif
  5470. // <q> NRF_LOG_FILTERS_ENABLED - Enable dynamic filtering of logs.
  5471. #ifndef NRF_LOG_FILTERS_ENABLED
  5472. #define NRF_LOG_FILTERS_ENABLED 0
  5473. #endif
  5474. // <q> NRF_LOG_NON_DEFFERED_CRITICAL_REGION_ENABLED - Enable use of critical region for non deffered mode when flushing logs.
  5475. // <i> When enabled NRF_LOG_FLUSH is called from critical section when non deffered mode is used.
  5476. // <i> Log output will never be corrupted as access to the log backend is exclusive
  5477. // <i> but system will spend significant amount of time in critical section
  5478. #ifndef NRF_LOG_NON_DEFFERED_CRITICAL_REGION_ENABLED
  5479. #define NRF_LOG_NON_DEFFERED_CRITICAL_REGION_ENABLED 0
  5480. #endif
  5481. // <o> NRF_LOG_STR_PUSH_BUFFER_SIZE - Size of the buffer dedicated for strings stored using @ref NRF_LOG_PUSH.
  5482. // <16=> 16
  5483. // <32=> 32
  5484. // <64=> 64
  5485. // <128=> 128
  5486. // <256=> 256
  5487. // <512=> 512
  5488. // <1024=> 1024
  5489. #ifndef NRF_LOG_STR_PUSH_BUFFER_SIZE
  5490. #define NRF_LOG_STR_PUSH_BUFFER_SIZE 128
  5491. #endif
  5492. // <o> NRF_LOG_STR_PUSH_BUFFER_SIZE - Size of the buffer dedicated for strings stored using @ref NRF_LOG_PUSH.
  5493. // <16=> 16
  5494. // <32=> 32
  5495. // <64=> 64
  5496. // <128=> 128
  5497. // <256=> 256
  5498. // <512=> 512
  5499. // <1024=> 1024
  5500. #ifndef NRF_LOG_STR_PUSH_BUFFER_SIZE
  5501. #define NRF_LOG_STR_PUSH_BUFFER_SIZE 128
  5502. #endif
  5503. // <e> NRF_LOG_USES_COLORS - If enabled then ANSI escape code for colors is prefixed to every string
  5504. //==========================================================
  5505. #ifndef NRF_LOG_USES_COLORS
  5506. #define NRF_LOG_USES_COLORS 0
  5507. #endif
  5508. // <o> NRF_LOG_COLOR_DEFAULT - ANSI escape code prefix.
  5509. // <0=> Default
  5510. // <1=> Black
  5511. // <2=> Red
  5512. // <3=> Green
  5513. // <4=> Yellow
  5514. // <5=> Blue
  5515. // <6=> Magenta
  5516. // <7=> Cyan
  5517. // <8=> White
  5518. #ifndef NRF_LOG_COLOR_DEFAULT
  5519. #define NRF_LOG_COLOR_DEFAULT 0
  5520. #endif
  5521. // <o> NRF_LOG_ERROR_COLOR - ANSI escape code prefix.
  5522. // <0=> Default
  5523. // <1=> Black
  5524. // <2=> Red
  5525. // <3=> Green
  5526. // <4=> Yellow
  5527. // <5=> Blue
  5528. // <6=> Magenta
  5529. // <7=> Cyan
  5530. // <8=> White
  5531. #ifndef NRF_LOG_ERROR_COLOR
  5532. #define NRF_LOG_ERROR_COLOR 2
  5533. #endif
  5534. // <o> NRF_LOG_WARNING_COLOR - ANSI escape code prefix.
  5535. // <0=> Default
  5536. // <1=> Black
  5537. // <2=> Red
  5538. // <3=> Green
  5539. // <4=> Yellow
  5540. // <5=> Blue
  5541. // <6=> Magenta
  5542. // <7=> Cyan
  5543. // <8=> White
  5544. #ifndef NRF_LOG_WARNING_COLOR
  5545. #define NRF_LOG_WARNING_COLOR 4
  5546. #endif
  5547. // </e>
  5548. // <e> NRF_LOG_USES_TIMESTAMP - Enable timestamping
  5549. // <i> Function for getting the timestamp is provided by the user
  5550. //==========================================================
  5551. #ifndef NRF_LOG_USES_TIMESTAMP
  5552. #define NRF_LOG_USES_TIMESTAMP 0
  5553. #endif
  5554. // <o> NRF_LOG_TIMESTAMP_DEFAULT_FREQUENCY - Default frequency of the timestamp (in Hz) or 0 to use app_timer frequency.
  5555. #ifndef NRF_LOG_TIMESTAMP_DEFAULT_FREQUENCY
  5556. #define NRF_LOG_TIMESTAMP_DEFAULT_FREQUENCY 0
  5557. #endif
  5558. // </e>
  5559. // <h> nrf_log module configuration
  5560. //==========================================================
  5561. // <h> nrf_log in nRF_Core
  5562. //==========================================================
  5563. // <e> NRF_MPU_LIB_CONFIG_LOG_ENABLED - Enables logging in the module.
  5564. //==========================================================
  5565. #ifndef NRF_MPU_LIB_CONFIG_LOG_ENABLED
  5566. #define NRF_MPU_LIB_CONFIG_LOG_ENABLED 0
  5567. #endif
  5568. // <o> NRF_MPU_LIB_CONFIG_LOG_LEVEL - Default Severity level
  5569. // <0=> Off
  5570. // <1=> Error
  5571. // <2=> Warning
  5572. // <3=> Info
  5573. // <4=> Debug
  5574. #ifndef NRF_MPU_LIB_CONFIG_LOG_LEVEL
  5575. #define NRF_MPU_LIB_CONFIG_LOG_LEVEL 3
  5576. #endif
  5577. // <o> NRF_MPU_LIB_CONFIG_INFO_COLOR - ANSI escape code prefix.
  5578. // <0=> Default
  5579. // <1=> Black
  5580. // <2=> Red
  5581. // <3=> Green
  5582. // <4=> Yellow
  5583. // <5=> Blue
  5584. // <6=> Magenta
  5585. // <7=> Cyan
  5586. // <8=> White
  5587. #ifndef NRF_MPU_LIB_CONFIG_INFO_COLOR
  5588. #define NRF_MPU_LIB_CONFIG_INFO_COLOR 0
  5589. #endif
  5590. // <o> NRF_MPU_LIB_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  5591. // <0=> Default
  5592. // <1=> Black
  5593. // <2=> Red
  5594. // <3=> Green
  5595. // <4=> Yellow
  5596. // <5=> Blue
  5597. // <6=> Magenta
  5598. // <7=> Cyan
  5599. // <8=> White
  5600. #ifndef NRF_MPU_LIB_CONFIG_DEBUG_COLOR
  5601. #define NRF_MPU_LIB_CONFIG_DEBUG_COLOR 0
  5602. #endif
  5603. // </e>
  5604. // <e> NRF_STACK_GUARD_CONFIG_LOG_ENABLED - Enables logging in the module.
  5605. //==========================================================
  5606. #ifndef NRF_STACK_GUARD_CONFIG_LOG_ENABLED
  5607. #define NRF_STACK_GUARD_CONFIG_LOG_ENABLED 0
  5608. #endif
  5609. // <o> NRF_STACK_GUARD_CONFIG_LOG_LEVEL - Default Severity level
  5610. // <0=> Off
  5611. // <1=> Error
  5612. // <2=> Warning
  5613. // <3=> Info
  5614. // <4=> Debug
  5615. #ifndef NRF_STACK_GUARD_CONFIG_LOG_LEVEL
  5616. #define NRF_STACK_GUARD_CONFIG_LOG_LEVEL 3
  5617. #endif
  5618. // <o> NRF_STACK_GUARD_CONFIG_INFO_COLOR - ANSI escape code prefix.
  5619. // <0=> Default
  5620. // <1=> Black
  5621. // <2=> Red
  5622. // <3=> Green
  5623. // <4=> Yellow
  5624. // <5=> Blue
  5625. // <6=> Magenta
  5626. // <7=> Cyan
  5627. // <8=> White
  5628. #ifndef NRF_STACK_GUARD_CONFIG_INFO_COLOR
  5629. #define NRF_STACK_GUARD_CONFIG_INFO_COLOR 0
  5630. #endif
  5631. // <o> NRF_STACK_GUARD_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  5632. // <0=> Default
  5633. // <1=> Black
  5634. // <2=> Red
  5635. // <3=> Green
  5636. // <4=> Yellow
  5637. // <5=> Blue
  5638. // <6=> Magenta
  5639. // <7=> Cyan
  5640. // <8=> White
  5641. #ifndef NRF_STACK_GUARD_CONFIG_DEBUG_COLOR
  5642. #define NRF_STACK_GUARD_CONFIG_DEBUG_COLOR 0
  5643. #endif
  5644. // </e>
  5645. // <e> TASK_MANAGER_CONFIG_LOG_ENABLED - Enables logging in the module.
  5646. //==========================================================
  5647. #ifndef TASK_MANAGER_CONFIG_LOG_ENABLED
  5648. #define TASK_MANAGER_CONFIG_LOG_ENABLED 0
  5649. #endif
  5650. // <o> TASK_MANAGER_CONFIG_LOG_LEVEL - Default Severity level
  5651. // <0=> Off
  5652. // <1=> Error
  5653. // <2=> Warning
  5654. // <3=> Info
  5655. // <4=> Debug
  5656. #ifndef TASK_MANAGER_CONFIG_LOG_LEVEL
  5657. #define TASK_MANAGER_CONFIG_LOG_LEVEL 3
  5658. #endif
  5659. // <o> TASK_MANAGER_CONFIG_INFO_COLOR - ANSI escape code prefix.
  5660. // <0=> Default
  5661. // <1=> Black
  5662. // <2=> Red
  5663. // <3=> Green
  5664. // <4=> Yellow
  5665. // <5=> Blue
  5666. // <6=> Magenta
  5667. // <7=> Cyan
  5668. // <8=> White
  5669. #ifndef TASK_MANAGER_CONFIG_INFO_COLOR
  5670. #define TASK_MANAGER_CONFIG_INFO_COLOR 0
  5671. #endif
  5672. // <o> TASK_MANAGER_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  5673. // <0=> Default
  5674. // <1=> Black
  5675. // <2=> Red
  5676. // <3=> Green
  5677. // <4=> Yellow
  5678. // <5=> Blue
  5679. // <6=> Magenta
  5680. // <7=> Cyan
  5681. // <8=> White
  5682. #ifndef TASK_MANAGER_CONFIG_DEBUG_COLOR
  5683. #define TASK_MANAGER_CONFIG_DEBUG_COLOR 0
  5684. #endif
  5685. // </e>
  5686. // </h>
  5687. //==========================================================
  5688. // <h> nrf_log in nRF_Drivers
  5689. //==========================================================
  5690. // <e> CLOCK_CONFIG_LOG_ENABLED - Enables logging in the module.
  5691. //==========================================================
  5692. #ifndef CLOCK_CONFIG_LOG_ENABLED
  5693. #define CLOCK_CONFIG_LOG_ENABLED 0
  5694. #endif
  5695. // <o> CLOCK_CONFIG_LOG_LEVEL - Default Severity level
  5696. // <0=> Off
  5697. // <1=> Error
  5698. // <2=> Warning
  5699. // <3=> Info
  5700. // <4=> Debug
  5701. #ifndef CLOCK_CONFIG_LOG_LEVEL
  5702. #define CLOCK_CONFIG_LOG_LEVEL 3
  5703. #endif
  5704. // <o> CLOCK_CONFIG_INFO_COLOR - ANSI escape code prefix.
  5705. // <0=> Default
  5706. // <1=> Black
  5707. // <2=> Red
  5708. // <3=> Green
  5709. // <4=> Yellow
  5710. // <5=> Blue
  5711. // <6=> Magenta
  5712. // <7=> Cyan
  5713. // <8=> White
  5714. #ifndef CLOCK_CONFIG_INFO_COLOR
  5715. #define CLOCK_CONFIG_INFO_COLOR 0
  5716. #endif
  5717. // <o> CLOCK_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  5718. // <0=> Default
  5719. // <1=> Black
  5720. // <2=> Red
  5721. // <3=> Green
  5722. // <4=> Yellow
  5723. // <5=> Blue
  5724. // <6=> Magenta
  5725. // <7=> Cyan
  5726. // <8=> White
  5727. #ifndef CLOCK_CONFIG_DEBUG_COLOR
  5728. #define CLOCK_CONFIG_DEBUG_COLOR 0
  5729. #endif
  5730. // </e>
  5731. // <e> COMP_CONFIG_LOG_ENABLED - Enables logging in the module.
  5732. //==========================================================
  5733. #ifndef COMP_CONFIG_LOG_ENABLED
  5734. #define COMP_CONFIG_LOG_ENABLED 0
  5735. #endif
  5736. // <o> COMP_CONFIG_LOG_LEVEL - Default Severity level
  5737. // <0=> Off
  5738. // <1=> Error
  5739. // <2=> Warning
  5740. // <3=> Info
  5741. // <4=> Debug
  5742. #ifndef COMP_CONFIG_LOG_LEVEL
  5743. #define COMP_CONFIG_LOG_LEVEL 3
  5744. #endif
  5745. // <o> COMP_CONFIG_INFO_COLOR - ANSI escape code prefix.
  5746. // <0=> Default
  5747. // <1=> Black
  5748. // <2=> Red
  5749. // <3=> Green
  5750. // <4=> Yellow
  5751. // <5=> Blue
  5752. // <6=> Magenta
  5753. // <7=> Cyan
  5754. // <8=> White
  5755. #ifndef COMP_CONFIG_INFO_COLOR
  5756. #define COMP_CONFIG_INFO_COLOR 0
  5757. #endif
  5758. // <o> COMP_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  5759. // <0=> Default
  5760. // <1=> Black
  5761. // <2=> Red
  5762. // <3=> Green
  5763. // <4=> Yellow
  5764. // <5=> Blue
  5765. // <6=> Magenta
  5766. // <7=> Cyan
  5767. // <8=> White
  5768. #ifndef COMP_CONFIG_DEBUG_COLOR
  5769. #define COMP_CONFIG_DEBUG_COLOR 0
  5770. #endif
  5771. // </e>
  5772. // <e> GPIOTE_CONFIG_LOG_ENABLED - Enables logging in the module.
  5773. //==========================================================
  5774. #ifndef GPIOTE_CONFIG_LOG_ENABLED
  5775. #define GPIOTE_CONFIG_LOG_ENABLED 0
  5776. #endif
  5777. // <o> GPIOTE_CONFIG_LOG_LEVEL - Default Severity level
  5778. // <0=> Off
  5779. // <1=> Error
  5780. // <2=> Warning
  5781. // <3=> Info
  5782. // <4=> Debug
  5783. #ifndef GPIOTE_CONFIG_LOG_LEVEL
  5784. #define GPIOTE_CONFIG_LOG_LEVEL 3
  5785. #endif
  5786. // <o> GPIOTE_CONFIG_INFO_COLOR - ANSI escape code prefix.
  5787. // <0=> Default
  5788. // <1=> Black
  5789. // <2=> Red
  5790. // <3=> Green
  5791. // <4=> Yellow
  5792. // <5=> Blue
  5793. // <6=> Magenta
  5794. // <7=> Cyan
  5795. // <8=> White
  5796. #ifndef GPIOTE_CONFIG_INFO_COLOR
  5797. #define GPIOTE_CONFIG_INFO_COLOR 0
  5798. #endif
  5799. // <o> GPIOTE_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  5800. // <0=> Default
  5801. // <1=> Black
  5802. // <2=> Red
  5803. // <3=> Green
  5804. // <4=> Yellow
  5805. // <5=> Blue
  5806. // <6=> Magenta
  5807. // <7=> Cyan
  5808. // <8=> White
  5809. #ifndef GPIOTE_CONFIG_DEBUG_COLOR
  5810. #define GPIOTE_CONFIG_DEBUG_COLOR 0
  5811. #endif
  5812. // </e>
  5813. // <e> LPCOMP_CONFIG_LOG_ENABLED - Enables logging in the module.
  5814. //==========================================================
  5815. #ifndef LPCOMP_CONFIG_LOG_ENABLED
  5816. #define LPCOMP_CONFIG_LOG_ENABLED 0
  5817. #endif
  5818. // <o> LPCOMP_CONFIG_LOG_LEVEL - Default Severity level
  5819. // <0=> Off
  5820. // <1=> Error
  5821. // <2=> Warning
  5822. // <3=> Info
  5823. // <4=> Debug
  5824. #ifndef LPCOMP_CONFIG_LOG_LEVEL
  5825. #define LPCOMP_CONFIG_LOG_LEVEL 3
  5826. #endif
  5827. // <o> LPCOMP_CONFIG_INFO_COLOR - ANSI escape code prefix.
  5828. // <0=> Default
  5829. // <1=> Black
  5830. // <2=> Red
  5831. // <3=> Green
  5832. // <4=> Yellow
  5833. // <5=> Blue
  5834. // <6=> Magenta
  5835. // <7=> Cyan
  5836. // <8=> White
  5837. #ifndef LPCOMP_CONFIG_INFO_COLOR
  5838. #define LPCOMP_CONFIG_INFO_COLOR 0
  5839. #endif
  5840. // <o> LPCOMP_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  5841. // <0=> Default
  5842. // <1=> Black
  5843. // <2=> Red
  5844. // <3=> Green
  5845. // <4=> Yellow
  5846. // <5=> Blue
  5847. // <6=> Magenta
  5848. // <7=> Cyan
  5849. // <8=> White
  5850. #ifndef LPCOMP_CONFIG_DEBUG_COLOR
  5851. #define LPCOMP_CONFIG_DEBUG_COLOR 0
  5852. #endif
  5853. // </e>
  5854. // <e> MAX3421E_HOST_CONFIG_LOG_ENABLED - Enable logging in the module
  5855. //==========================================================
  5856. #ifndef MAX3421E_HOST_CONFIG_LOG_ENABLED
  5857. #define MAX3421E_HOST_CONFIG_LOG_ENABLED 0
  5858. #endif
  5859. // <o> MAX3421E_HOST_CONFIG_LOG_LEVEL - Default Severity level
  5860. // <0=> Off
  5861. // <1=> Error
  5862. // <2=> Warning
  5863. // <3=> Info
  5864. // <4=> Debug
  5865. #ifndef MAX3421E_HOST_CONFIG_LOG_LEVEL
  5866. #define MAX3421E_HOST_CONFIG_LOG_LEVEL 3
  5867. #endif
  5868. // <o> MAX3421E_HOST_CONFIG_INFO_COLOR - ANSI escape code prefix.
  5869. // <0=> Default
  5870. // <1=> Black
  5871. // <2=> Red
  5872. // <3=> Green
  5873. // <4=> Yellow
  5874. // <5=> Blue
  5875. // <6=> Magenta
  5876. // <7=> Cyan
  5877. // <8=> White
  5878. #ifndef MAX3421E_HOST_CONFIG_INFO_COLOR
  5879. #define MAX3421E_HOST_CONFIG_INFO_COLOR 0
  5880. #endif
  5881. // <o> MAX3421E_HOST_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  5882. // <0=> Default
  5883. // <1=> Black
  5884. // <2=> Red
  5885. // <3=> Green
  5886. // <4=> Yellow
  5887. // <5=> Blue
  5888. // <6=> Magenta
  5889. // <7=> Cyan
  5890. // <8=> White
  5891. #ifndef MAX3421E_HOST_CONFIG_DEBUG_COLOR
  5892. #define MAX3421E_HOST_CONFIG_DEBUG_COLOR 0
  5893. #endif
  5894. // </e>
  5895. // <e> NRFX_USBD_CONFIG_LOG_ENABLED - Enable logging in the module
  5896. //==========================================================
  5897. #ifndef NRFX_USBD_CONFIG_LOG_ENABLED
  5898. #define NRFX_USBD_CONFIG_LOG_ENABLED 0
  5899. #endif
  5900. // <o> NRFX_USBD_CONFIG_LOG_LEVEL - Default Severity level
  5901. // <0=> Off
  5902. // <1=> Error
  5903. // <2=> Warning
  5904. // <3=> Info
  5905. // <4=> Debug
  5906. #ifndef NRFX_USBD_CONFIG_LOG_LEVEL
  5907. #define NRFX_USBD_CONFIG_LOG_LEVEL 3
  5908. #endif
  5909. // <o> NRFX_USBD_CONFIG_INFO_COLOR - ANSI escape code prefix.
  5910. // <0=> Default
  5911. // <1=> Black
  5912. // <2=> Red
  5913. // <3=> Green
  5914. // <4=> Yellow
  5915. // <5=> Blue
  5916. // <6=> Magenta
  5917. // <7=> Cyan
  5918. // <8=> White
  5919. #ifndef NRFX_USBD_CONFIG_INFO_COLOR
  5920. #define NRFX_USBD_CONFIG_INFO_COLOR 0
  5921. #endif
  5922. // <o> NRFX_USBD_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  5923. // <0=> Default
  5924. // <1=> Black
  5925. // <2=> Red
  5926. // <3=> Green
  5927. // <4=> Yellow
  5928. // <5=> Blue
  5929. // <6=> Magenta
  5930. // <7=> Cyan
  5931. // <8=> White
  5932. #ifndef NRFX_USBD_CONFIG_DEBUG_COLOR
  5933. #define NRFX_USBD_CONFIG_DEBUG_COLOR 0
  5934. #endif
  5935. // </e>
  5936. // <e> PDM_CONFIG_LOG_ENABLED - Enables logging in the module.
  5937. //==========================================================
  5938. #ifndef PDM_CONFIG_LOG_ENABLED
  5939. #define PDM_CONFIG_LOG_ENABLED 0
  5940. #endif
  5941. // <o> PDM_CONFIG_LOG_LEVEL - Default Severity level
  5942. // <0=> Off
  5943. // <1=> Error
  5944. // <2=> Warning
  5945. // <3=> Info
  5946. // <4=> Debug
  5947. #ifndef PDM_CONFIG_LOG_LEVEL
  5948. #define PDM_CONFIG_LOG_LEVEL 3
  5949. #endif
  5950. // <o> PDM_CONFIG_INFO_COLOR - ANSI escape code prefix.
  5951. // <0=> Default
  5952. // <1=> Black
  5953. // <2=> Red
  5954. // <3=> Green
  5955. // <4=> Yellow
  5956. // <5=> Blue
  5957. // <6=> Magenta
  5958. // <7=> Cyan
  5959. // <8=> White
  5960. #ifndef PDM_CONFIG_INFO_COLOR
  5961. #define PDM_CONFIG_INFO_COLOR 0
  5962. #endif
  5963. // <o> PDM_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  5964. // <0=> Default
  5965. // <1=> Black
  5966. // <2=> Red
  5967. // <3=> Green
  5968. // <4=> Yellow
  5969. // <5=> Blue
  5970. // <6=> Magenta
  5971. // <7=> Cyan
  5972. // <8=> White
  5973. #ifndef PDM_CONFIG_DEBUG_COLOR
  5974. #define PDM_CONFIG_DEBUG_COLOR 0
  5975. #endif
  5976. // </e>
  5977. // <e> PPI_CONFIG_LOG_ENABLED - Enables logging in the module.
  5978. //==========================================================
  5979. #ifndef PPI_CONFIG_LOG_ENABLED
  5980. #define PPI_CONFIG_LOG_ENABLED 0
  5981. #endif
  5982. // <o> PPI_CONFIG_LOG_LEVEL - Default Severity level
  5983. // <0=> Off
  5984. // <1=> Error
  5985. // <2=> Warning
  5986. // <3=> Info
  5987. // <4=> Debug
  5988. #ifndef PPI_CONFIG_LOG_LEVEL
  5989. #define PPI_CONFIG_LOG_LEVEL 3
  5990. #endif
  5991. // <o> PPI_CONFIG_INFO_COLOR - ANSI escape code prefix.
  5992. // <0=> Default
  5993. // <1=> Black
  5994. // <2=> Red
  5995. // <3=> Green
  5996. // <4=> Yellow
  5997. // <5=> Blue
  5998. // <6=> Magenta
  5999. // <7=> Cyan
  6000. // <8=> White
  6001. #ifndef PPI_CONFIG_INFO_COLOR
  6002. #define PPI_CONFIG_INFO_COLOR 0
  6003. #endif
  6004. // <o> PPI_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  6005. // <0=> Default
  6006. // <1=> Black
  6007. // <2=> Red
  6008. // <3=> Green
  6009. // <4=> Yellow
  6010. // <5=> Blue
  6011. // <6=> Magenta
  6012. // <7=> Cyan
  6013. // <8=> White
  6014. #ifndef PPI_CONFIG_DEBUG_COLOR
  6015. #define PPI_CONFIG_DEBUG_COLOR 0
  6016. #endif
  6017. // </e>
  6018. // <e> PWM_CONFIG_LOG_ENABLED - Enables logging in the module.
  6019. //==========================================================
  6020. #ifndef PWM_CONFIG_LOG_ENABLED
  6021. #define PWM_CONFIG_LOG_ENABLED 0
  6022. #endif
  6023. // <o> PWM_CONFIG_LOG_LEVEL - Default Severity level
  6024. // <0=> Off
  6025. // <1=> Error
  6026. // <2=> Warning
  6027. // <3=> Info
  6028. // <4=> Debug
  6029. #ifndef PWM_CONFIG_LOG_LEVEL
  6030. #define PWM_CONFIG_LOG_LEVEL 3
  6031. #endif
  6032. // <o> PWM_CONFIG_INFO_COLOR - ANSI escape code prefix.
  6033. // <0=> Default
  6034. // <1=> Black
  6035. // <2=> Red
  6036. // <3=> Green
  6037. // <4=> Yellow
  6038. // <5=> Blue
  6039. // <6=> Magenta
  6040. // <7=> Cyan
  6041. // <8=> White
  6042. #ifndef PWM_CONFIG_INFO_COLOR
  6043. #define PWM_CONFIG_INFO_COLOR 0
  6044. #endif
  6045. // <o> PWM_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  6046. // <0=> Default
  6047. // <1=> Black
  6048. // <2=> Red
  6049. // <3=> Green
  6050. // <4=> Yellow
  6051. // <5=> Blue
  6052. // <6=> Magenta
  6053. // <7=> Cyan
  6054. // <8=> White
  6055. #ifndef PWM_CONFIG_DEBUG_COLOR
  6056. #define PWM_CONFIG_DEBUG_COLOR 0
  6057. #endif
  6058. // </e>
  6059. // <e> QDEC_CONFIG_LOG_ENABLED - Enables logging in the module.
  6060. //==========================================================
  6061. #ifndef QDEC_CONFIG_LOG_ENABLED
  6062. #define QDEC_CONFIG_LOG_ENABLED 0
  6063. #endif
  6064. // <o> QDEC_CONFIG_LOG_LEVEL - Default Severity level
  6065. // <0=> Off
  6066. // <1=> Error
  6067. // <2=> Warning
  6068. // <3=> Info
  6069. // <4=> Debug
  6070. #ifndef QDEC_CONFIG_LOG_LEVEL
  6071. #define QDEC_CONFIG_LOG_LEVEL 3
  6072. #endif
  6073. // <o> QDEC_CONFIG_INFO_COLOR - ANSI escape code prefix.
  6074. // <0=> Default
  6075. // <1=> Black
  6076. // <2=> Red
  6077. // <3=> Green
  6078. // <4=> Yellow
  6079. // <5=> Blue
  6080. // <6=> Magenta
  6081. // <7=> Cyan
  6082. // <8=> White
  6083. #ifndef QDEC_CONFIG_INFO_COLOR
  6084. #define QDEC_CONFIG_INFO_COLOR 0
  6085. #endif
  6086. // <o> QDEC_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  6087. // <0=> Default
  6088. // <1=> Black
  6089. // <2=> Red
  6090. // <3=> Green
  6091. // <4=> Yellow
  6092. // <5=> Blue
  6093. // <6=> Magenta
  6094. // <7=> Cyan
  6095. // <8=> White
  6096. #ifndef QDEC_CONFIG_DEBUG_COLOR
  6097. #define QDEC_CONFIG_DEBUG_COLOR 0
  6098. #endif
  6099. // </e>
  6100. // <e> RNG_CONFIG_LOG_ENABLED - Enables logging in the module.
  6101. //==========================================================
  6102. #ifndef RNG_CONFIG_LOG_ENABLED
  6103. #define RNG_CONFIG_LOG_ENABLED 0
  6104. #endif
  6105. // <o> RNG_CONFIG_LOG_LEVEL - Default Severity level
  6106. // <0=> Off
  6107. // <1=> Error
  6108. // <2=> Warning
  6109. // <3=> Info
  6110. // <4=> Debug
  6111. #ifndef RNG_CONFIG_LOG_LEVEL
  6112. #define RNG_CONFIG_LOG_LEVEL 3
  6113. #endif
  6114. // <o> RNG_CONFIG_INFO_COLOR - ANSI escape code prefix.
  6115. // <0=> Default
  6116. // <1=> Black
  6117. // <2=> Red
  6118. // <3=> Green
  6119. // <4=> Yellow
  6120. // <5=> Blue
  6121. // <6=> Magenta
  6122. // <7=> Cyan
  6123. // <8=> White
  6124. #ifndef RNG_CONFIG_INFO_COLOR
  6125. #define RNG_CONFIG_INFO_COLOR 0
  6126. #endif
  6127. // <o> RNG_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  6128. // <0=> Default
  6129. // <1=> Black
  6130. // <2=> Red
  6131. // <3=> Green
  6132. // <4=> Yellow
  6133. // <5=> Blue
  6134. // <6=> Magenta
  6135. // <7=> Cyan
  6136. // <8=> White
  6137. #ifndef RNG_CONFIG_DEBUG_COLOR
  6138. #define RNG_CONFIG_DEBUG_COLOR 0
  6139. #endif
  6140. // <q> RNG_CONFIG_RANDOM_NUMBER_LOG_ENABLED - Enables logging of random numbers.
  6141. #ifndef RNG_CONFIG_RANDOM_NUMBER_LOG_ENABLED
  6142. #define RNG_CONFIG_RANDOM_NUMBER_LOG_ENABLED 0
  6143. #endif
  6144. // </e>
  6145. // <e> RTC_CONFIG_LOG_ENABLED - Enables logging in the module.
  6146. //==========================================================
  6147. #ifndef RTC_CONFIG_LOG_ENABLED
  6148. #define RTC_CONFIG_LOG_ENABLED 0
  6149. #endif
  6150. // <o> RTC_CONFIG_LOG_LEVEL - Default Severity level
  6151. // <0=> Off
  6152. // <1=> Error
  6153. // <2=> Warning
  6154. // <3=> Info
  6155. // <4=> Debug
  6156. #ifndef RTC_CONFIG_LOG_LEVEL
  6157. #define RTC_CONFIG_LOG_LEVEL 3
  6158. #endif
  6159. // <o> RTC_CONFIG_INFO_COLOR - ANSI escape code prefix.
  6160. // <0=> Default
  6161. // <1=> Black
  6162. // <2=> Red
  6163. // <3=> Green
  6164. // <4=> Yellow
  6165. // <5=> Blue
  6166. // <6=> Magenta
  6167. // <7=> Cyan
  6168. // <8=> White
  6169. #ifndef RTC_CONFIG_INFO_COLOR
  6170. #define RTC_CONFIG_INFO_COLOR 0
  6171. #endif
  6172. // <o> RTC_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  6173. // <0=> Default
  6174. // <1=> Black
  6175. // <2=> Red
  6176. // <3=> Green
  6177. // <4=> Yellow
  6178. // <5=> Blue
  6179. // <6=> Magenta
  6180. // <7=> Cyan
  6181. // <8=> White
  6182. #ifndef RTC_CONFIG_DEBUG_COLOR
  6183. #define RTC_CONFIG_DEBUG_COLOR 0
  6184. #endif
  6185. // </e>
  6186. // <e> SAADC_CONFIG_LOG_ENABLED - Enables logging in the module.
  6187. //==========================================================
  6188. #ifndef SAADC_CONFIG_LOG_ENABLED
  6189. #define SAADC_CONFIG_LOG_ENABLED 0
  6190. #endif
  6191. // <o> SAADC_CONFIG_LOG_LEVEL - Default Severity level
  6192. // <0=> Off
  6193. // <1=> Error
  6194. // <2=> Warning
  6195. // <3=> Info
  6196. // <4=> Debug
  6197. #ifndef SAADC_CONFIG_LOG_LEVEL
  6198. #define SAADC_CONFIG_LOG_LEVEL 3
  6199. #endif
  6200. // <o> SAADC_CONFIG_INFO_COLOR - ANSI escape code prefix.
  6201. // <0=> Default
  6202. // <1=> Black
  6203. // <2=> Red
  6204. // <3=> Green
  6205. // <4=> Yellow
  6206. // <5=> Blue
  6207. // <6=> Magenta
  6208. // <7=> Cyan
  6209. // <8=> White
  6210. #ifndef SAADC_CONFIG_INFO_COLOR
  6211. #define SAADC_CONFIG_INFO_COLOR 0
  6212. #endif
  6213. // <o> SAADC_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  6214. // <0=> Default
  6215. // <1=> Black
  6216. // <2=> Red
  6217. // <3=> Green
  6218. // <4=> Yellow
  6219. // <5=> Blue
  6220. // <6=> Magenta
  6221. // <7=> Cyan
  6222. // <8=> White
  6223. #ifndef SAADC_CONFIG_DEBUG_COLOR
  6224. #define SAADC_CONFIG_DEBUG_COLOR 0
  6225. #endif
  6226. // </e>
  6227. // <e> SPIS_CONFIG_LOG_ENABLED - Enables logging in the module.
  6228. //==========================================================
  6229. #ifndef SPIS_CONFIG_LOG_ENABLED
  6230. #define SPIS_CONFIG_LOG_ENABLED 0
  6231. #endif
  6232. // <o> SPIS_CONFIG_LOG_LEVEL - Default Severity level
  6233. // <0=> Off
  6234. // <1=> Error
  6235. // <2=> Warning
  6236. // <3=> Info
  6237. // <4=> Debug
  6238. #ifndef SPIS_CONFIG_LOG_LEVEL
  6239. #define SPIS_CONFIG_LOG_LEVEL 3
  6240. #endif
  6241. // <o> SPIS_CONFIG_INFO_COLOR - ANSI escape code prefix.
  6242. // <0=> Default
  6243. // <1=> Black
  6244. // <2=> Red
  6245. // <3=> Green
  6246. // <4=> Yellow
  6247. // <5=> Blue
  6248. // <6=> Magenta
  6249. // <7=> Cyan
  6250. // <8=> White
  6251. #ifndef SPIS_CONFIG_INFO_COLOR
  6252. #define SPIS_CONFIG_INFO_COLOR 0
  6253. #endif
  6254. // <o> SPIS_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  6255. // <0=> Default
  6256. // <1=> Black
  6257. // <2=> Red
  6258. // <3=> Green
  6259. // <4=> Yellow
  6260. // <5=> Blue
  6261. // <6=> Magenta
  6262. // <7=> Cyan
  6263. // <8=> White
  6264. #ifndef SPIS_CONFIG_DEBUG_COLOR
  6265. #define SPIS_CONFIG_DEBUG_COLOR 0
  6266. #endif
  6267. // </e>
  6268. // <e> SPI_CONFIG_LOG_ENABLED - Enables logging in the module.
  6269. //==========================================================
  6270. #ifndef SPI_CONFIG_LOG_ENABLED
  6271. #define SPI_CONFIG_LOG_ENABLED 0
  6272. #endif
  6273. // <o> SPI_CONFIG_LOG_LEVEL - Default Severity level
  6274. // <0=> Off
  6275. // <1=> Error
  6276. // <2=> Warning
  6277. // <3=> Info
  6278. // <4=> Debug
  6279. #ifndef SPI_CONFIG_LOG_LEVEL
  6280. #define SPI_CONFIG_LOG_LEVEL 3
  6281. #endif
  6282. // <o> SPI_CONFIG_INFO_COLOR - ANSI escape code prefix.
  6283. // <0=> Default
  6284. // <1=> Black
  6285. // <2=> Red
  6286. // <3=> Green
  6287. // <4=> Yellow
  6288. // <5=> Blue
  6289. // <6=> Magenta
  6290. // <7=> Cyan
  6291. // <8=> White
  6292. #ifndef SPI_CONFIG_INFO_COLOR
  6293. #define SPI_CONFIG_INFO_COLOR 0
  6294. #endif
  6295. // <o> SPI_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  6296. // <0=> Default
  6297. // <1=> Black
  6298. // <2=> Red
  6299. // <3=> Green
  6300. // <4=> Yellow
  6301. // <5=> Blue
  6302. // <6=> Magenta
  6303. // <7=> Cyan
  6304. // <8=> White
  6305. #ifndef SPI_CONFIG_DEBUG_COLOR
  6306. #define SPI_CONFIG_DEBUG_COLOR 0
  6307. #endif
  6308. // </e>
  6309. // <e> TIMER_CONFIG_LOG_ENABLED - Enables logging in the module.
  6310. //==========================================================
  6311. #ifndef TIMER_CONFIG_LOG_ENABLED
  6312. #define TIMER_CONFIG_LOG_ENABLED 0
  6313. #endif
  6314. // <o> TIMER_CONFIG_LOG_LEVEL - Default Severity level
  6315. // <0=> Off
  6316. // <1=> Error
  6317. // <2=> Warning
  6318. // <3=> Info
  6319. // <4=> Debug
  6320. #ifndef TIMER_CONFIG_LOG_LEVEL
  6321. #define TIMER_CONFIG_LOG_LEVEL 3
  6322. #endif
  6323. // <o> TIMER_CONFIG_INFO_COLOR - ANSI escape code prefix.
  6324. // <0=> Default
  6325. // <1=> Black
  6326. // <2=> Red
  6327. // <3=> Green
  6328. // <4=> Yellow
  6329. // <5=> Blue
  6330. // <6=> Magenta
  6331. // <7=> Cyan
  6332. // <8=> White
  6333. #ifndef TIMER_CONFIG_INFO_COLOR
  6334. #define TIMER_CONFIG_INFO_COLOR 0
  6335. #endif
  6336. // <o> TIMER_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  6337. // <0=> Default
  6338. // <1=> Black
  6339. // <2=> Red
  6340. // <3=> Green
  6341. // <4=> Yellow
  6342. // <5=> Blue
  6343. // <6=> Magenta
  6344. // <7=> Cyan
  6345. // <8=> White
  6346. #ifndef TIMER_CONFIG_DEBUG_COLOR
  6347. #define TIMER_CONFIG_DEBUG_COLOR 0
  6348. #endif
  6349. // </e>
  6350. // <e> TWIS_CONFIG_LOG_ENABLED - Enables logging in the module.
  6351. //==========================================================
  6352. #ifndef TWIS_CONFIG_LOG_ENABLED
  6353. #define TWIS_CONFIG_LOG_ENABLED 0
  6354. #endif
  6355. // <o> TWIS_CONFIG_LOG_LEVEL - Default Severity level
  6356. // <0=> Off
  6357. // <1=> Error
  6358. // <2=> Warning
  6359. // <3=> Info
  6360. // <4=> Debug
  6361. #ifndef TWIS_CONFIG_LOG_LEVEL
  6362. #define TWIS_CONFIG_LOG_LEVEL 3
  6363. #endif
  6364. // <o> TWIS_CONFIG_INFO_COLOR - ANSI escape code prefix.
  6365. // <0=> Default
  6366. // <1=> Black
  6367. // <2=> Red
  6368. // <3=> Green
  6369. // <4=> Yellow
  6370. // <5=> Blue
  6371. // <6=> Magenta
  6372. // <7=> Cyan
  6373. // <8=> White
  6374. #ifndef TWIS_CONFIG_INFO_COLOR
  6375. #define TWIS_CONFIG_INFO_COLOR 0
  6376. #endif
  6377. // <o> TWIS_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  6378. // <0=> Default
  6379. // <1=> Black
  6380. // <2=> Red
  6381. // <3=> Green
  6382. // <4=> Yellow
  6383. // <5=> Blue
  6384. // <6=> Magenta
  6385. // <7=> Cyan
  6386. // <8=> White
  6387. #ifndef TWIS_CONFIG_DEBUG_COLOR
  6388. #define TWIS_CONFIG_DEBUG_COLOR 0
  6389. #endif
  6390. // </e>
  6391. // <e> TWI_CONFIG_LOG_ENABLED - Enables logging in the module.
  6392. //==========================================================
  6393. #ifndef TWI_CONFIG_LOG_ENABLED
  6394. #define TWI_CONFIG_LOG_ENABLED 0
  6395. #endif
  6396. // <o> TWI_CONFIG_LOG_LEVEL - Default Severity level
  6397. // <0=> Off
  6398. // <1=> Error
  6399. // <2=> Warning
  6400. // <3=> Info
  6401. // <4=> Debug
  6402. #ifndef TWI_CONFIG_LOG_LEVEL
  6403. #define TWI_CONFIG_LOG_LEVEL 3
  6404. #endif
  6405. // <o> TWI_CONFIG_INFO_COLOR - ANSI escape code prefix.
  6406. // <0=> Default
  6407. // <1=> Black
  6408. // <2=> Red
  6409. // <3=> Green
  6410. // <4=> Yellow
  6411. // <5=> Blue
  6412. // <6=> Magenta
  6413. // <7=> Cyan
  6414. // <8=> White
  6415. #ifndef TWI_CONFIG_INFO_COLOR
  6416. #define TWI_CONFIG_INFO_COLOR 0
  6417. #endif
  6418. // <o> TWI_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  6419. // <0=> Default
  6420. // <1=> Black
  6421. // <2=> Red
  6422. // <3=> Green
  6423. // <4=> Yellow
  6424. // <5=> Blue
  6425. // <6=> Magenta
  6426. // <7=> Cyan
  6427. // <8=> White
  6428. #ifndef TWI_CONFIG_DEBUG_COLOR
  6429. #define TWI_CONFIG_DEBUG_COLOR 0
  6430. #endif
  6431. // </e>
  6432. // <e> UART_CONFIG_LOG_ENABLED - Enables logging in the module.
  6433. //==========================================================
  6434. #ifndef UART_CONFIG_LOG_ENABLED
  6435. #define UART_CONFIG_LOG_ENABLED 0
  6436. #endif
  6437. // <o> UART_CONFIG_LOG_LEVEL - Default Severity level
  6438. // <0=> Off
  6439. // <1=> Error
  6440. // <2=> Warning
  6441. // <3=> Info
  6442. // <4=> Debug
  6443. #ifndef UART_CONFIG_LOG_LEVEL
  6444. #define UART_CONFIG_LOG_LEVEL 3
  6445. #endif
  6446. // <o> UART_CONFIG_INFO_COLOR - ANSI escape code prefix.
  6447. // <0=> Default
  6448. // <1=> Black
  6449. // <2=> Red
  6450. // <3=> Green
  6451. // <4=> Yellow
  6452. // <5=> Blue
  6453. // <6=> Magenta
  6454. // <7=> Cyan
  6455. // <8=> White
  6456. #ifndef UART_CONFIG_INFO_COLOR
  6457. #define UART_CONFIG_INFO_COLOR 0
  6458. #endif
  6459. // <o> UART_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  6460. // <0=> Default
  6461. // <1=> Black
  6462. // <2=> Red
  6463. // <3=> Green
  6464. // <4=> Yellow
  6465. // <5=> Blue
  6466. // <6=> Magenta
  6467. // <7=> Cyan
  6468. // <8=> White
  6469. #ifndef UART_CONFIG_DEBUG_COLOR
  6470. #define UART_CONFIG_DEBUG_COLOR 0
  6471. #endif
  6472. // </e>
  6473. // <e> USBD_CONFIG_LOG_ENABLED - Enable logging in the module
  6474. //==========================================================
  6475. #ifndef USBD_CONFIG_LOG_ENABLED
  6476. #define USBD_CONFIG_LOG_ENABLED 0
  6477. #endif
  6478. // <o> USBD_CONFIG_LOG_LEVEL - Default Severity level
  6479. // <0=> Off
  6480. // <1=> Error
  6481. // <2=> Warning
  6482. // <3=> Info
  6483. // <4=> Debug
  6484. #ifndef USBD_CONFIG_LOG_LEVEL
  6485. #define USBD_CONFIG_LOG_LEVEL 3
  6486. #endif
  6487. // <o> USBD_CONFIG_INFO_COLOR - ANSI escape code prefix.
  6488. // <0=> Default
  6489. // <1=> Black
  6490. // <2=> Red
  6491. // <3=> Green
  6492. // <4=> Yellow
  6493. // <5=> Blue
  6494. // <6=> Magenta
  6495. // <7=> Cyan
  6496. // <8=> White
  6497. #ifndef USBD_CONFIG_INFO_COLOR
  6498. #define USBD_CONFIG_INFO_COLOR 0
  6499. #endif
  6500. // <o> USBD_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  6501. // <0=> Default
  6502. // <1=> Black
  6503. // <2=> Red
  6504. // <3=> Green
  6505. // <4=> Yellow
  6506. // <5=> Blue
  6507. // <6=> Magenta
  6508. // <7=> Cyan
  6509. // <8=> White
  6510. #ifndef USBD_CONFIG_DEBUG_COLOR
  6511. #define USBD_CONFIG_DEBUG_COLOR 0
  6512. #endif
  6513. // </e>
  6514. // <e> WDT_CONFIG_LOG_ENABLED - Enables logging in the module.
  6515. //==========================================================
  6516. #ifndef WDT_CONFIG_LOG_ENABLED
  6517. #define WDT_CONFIG_LOG_ENABLED 0
  6518. #endif
  6519. // <o> WDT_CONFIG_LOG_LEVEL - Default Severity level
  6520. // <0=> Off
  6521. // <1=> Error
  6522. // <2=> Warning
  6523. // <3=> Info
  6524. // <4=> Debug
  6525. #ifndef WDT_CONFIG_LOG_LEVEL
  6526. #define WDT_CONFIG_LOG_LEVEL 3
  6527. #endif
  6528. // <o> WDT_CONFIG_INFO_COLOR - ANSI escape code prefix.
  6529. // <0=> Default
  6530. // <1=> Black
  6531. // <2=> Red
  6532. // <3=> Green
  6533. // <4=> Yellow
  6534. // <5=> Blue
  6535. // <6=> Magenta
  6536. // <7=> Cyan
  6537. // <8=> White
  6538. #ifndef WDT_CONFIG_INFO_COLOR
  6539. #define WDT_CONFIG_INFO_COLOR 0
  6540. #endif
  6541. // <o> WDT_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  6542. // <0=> Default
  6543. // <1=> Black
  6544. // <2=> Red
  6545. // <3=> Green
  6546. // <4=> Yellow
  6547. // <5=> Blue
  6548. // <6=> Magenta
  6549. // <7=> Cyan
  6550. // <8=> White
  6551. #ifndef WDT_CONFIG_DEBUG_COLOR
  6552. #define WDT_CONFIG_DEBUG_COLOR 0
  6553. #endif
  6554. // </e>
  6555. // </h>
  6556. //==========================================================
  6557. // <h> nrf_log in nRF_Libraries
  6558. //==========================================================
  6559. // <e> APP_BUTTON_CONFIG_LOG_ENABLED - Enables logging in the module.
  6560. //==========================================================
  6561. #ifndef APP_BUTTON_CONFIG_LOG_ENABLED
  6562. #define APP_BUTTON_CONFIG_LOG_ENABLED 0
  6563. #endif
  6564. // <o> APP_BUTTON_CONFIG_LOG_LEVEL - Default Severity level
  6565. // <0=> Off
  6566. // <1=> Error
  6567. // <2=> Warning
  6568. // <3=> Info
  6569. // <4=> Debug
  6570. #ifndef APP_BUTTON_CONFIG_LOG_LEVEL
  6571. #define APP_BUTTON_CONFIG_LOG_LEVEL 3
  6572. #endif
  6573. // <o> APP_BUTTON_CONFIG_INITIAL_LOG_LEVEL - Initial severity level if dynamic filtering is enabled.
  6574. // <i> If module generates a lot of logs, initial log level can
  6575. // <i> be decreased to prevent flooding. Severity level can be
  6576. // <i> increased on instance basis.
  6577. // <0=> Off
  6578. // <1=> Error
  6579. // <2=> Warning
  6580. // <3=> Info
  6581. // <4=> Debug
  6582. #ifndef APP_BUTTON_CONFIG_INITIAL_LOG_LEVEL
  6583. #define APP_BUTTON_CONFIG_INITIAL_LOG_LEVEL 3
  6584. #endif
  6585. // <o> APP_BUTTON_CONFIG_INFO_COLOR - ANSI escape code prefix.
  6586. // <0=> Default
  6587. // <1=> Black
  6588. // <2=> Red
  6589. // <3=> Green
  6590. // <4=> Yellow
  6591. // <5=> Blue
  6592. // <6=> Magenta
  6593. // <7=> Cyan
  6594. // <8=> White
  6595. #ifndef APP_BUTTON_CONFIG_INFO_COLOR
  6596. #define APP_BUTTON_CONFIG_INFO_COLOR 0
  6597. #endif
  6598. // <o> APP_BUTTON_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  6599. // <0=> Default
  6600. // <1=> Black
  6601. // <2=> Red
  6602. // <3=> Green
  6603. // <4=> Yellow
  6604. // <5=> Blue
  6605. // <6=> Magenta
  6606. // <7=> Cyan
  6607. // <8=> White
  6608. #ifndef APP_BUTTON_CONFIG_DEBUG_COLOR
  6609. #define APP_BUTTON_CONFIG_DEBUG_COLOR 0
  6610. #endif
  6611. // </e>
  6612. // <e> APP_TIMER_CONFIG_LOG_ENABLED - Enables logging in the module.
  6613. //==========================================================
  6614. #ifndef APP_TIMER_CONFIG_LOG_ENABLED
  6615. #define APP_TIMER_CONFIG_LOG_ENABLED 0
  6616. #endif
  6617. // <o> APP_TIMER_CONFIG_LOG_LEVEL - Default Severity level
  6618. // <0=> Off
  6619. // <1=> Error
  6620. // <2=> Warning
  6621. // <3=> Info
  6622. // <4=> Debug
  6623. #ifndef APP_TIMER_CONFIG_LOG_LEVEL
  6624. #define APP_TIMER_CONFIG_LOG_LEVEL 3
  6625. #endif
  6626. // <o> APP_TIMER_CONFIG_INITIAL_LOG_LEVEL - Initial severity level if dynamic filtering is enabled.
  6627. // <i> If module generates a lot of logs, initial log level can
  6628. // <i> be decreased to prevent flooding. Severity level can be
  6629. // <i> increased on instance basis.
  6630. // <0=> Off
  6631. // <1=> Error
  6632. // <2=> Warning
  6633. // <3=> Info
  6634. // <4=> Debug
  6635. #ifndef APP_TIMER_CONFIG_INITIAL_LOG_LEVEL
  6636. #define APP_TIMER_CONFIG_INITIAL_LOG_LEVEL 3
  6637. #endif
  6638. // <o> APP_TIMER_CONFIG_INFO_COLOR - ANSI escape code prefix.
  6639. // <0=> Default
  6640. // <1=> Black
  6641. // <2=> Red
  6642. // <3=> Green
  6643. // <4=> Yellow
  6644. // <5=> Blue
  6645. // <6=> Magenta
  6646. // <7=> Cyan
  6647. // <8=> White
  6648. #ifndef APP_TIMER_CONFIG_INFO_COLOR
  6649. #define APP_TIMER_CONFIG_INFO_COLOR 0
  6650. #endif
  6651. // <o> APP_TIMER_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  6652. // <0=> Default
  6653. // <1=> Black
  6654. // <2=> Red
  6655. // <3=> Green
  6656. // <4=> Yellow
  6657. // <5=> Blue
  6658. // <6=> Magenta
  6659. // <7=> Cyan
  6660. // <8=> White
  6661. #ifndef APP_TIMER_CONFIG_DEBUG_COLOR
  6662. #define APP_TIMER_CONFIG_DEBUG_COLOR 0
  6663. #endif
  6664. // </e>
  6665. // <e> APP_USBD_CDC_ACM_CONFIG_LOG_ENABLED - Enables logging in the module.
  6666. //==========================================================
  6667. #ifndef APP_USBD_CDC_ACM_CONFIG_LOG_ENABLED
  6668. #define APP_USBD_CDC_ACM_CONFIG_LOG_ENABLED 0
  6669. #endif
  6670. // <o> APP_USBD_CDC_ACM_CONFIG_LOG_LEVEL - Default Severity level
  6671. // <0=> Off
  6672. // <1=> Error
  6673. // <2=> Warning
  6674. // <3=> Info
  6675. // <4=> Debug
  6676. #ifndef APP_USBD_CDC_ACM_CONFIG_LOG_LEVEL
  6677. #define APP_USBD_CDC_ACM_CONFIG_LOG_LEVEL 3
  6678. #endif
  6679. // <o> APP_USBD_CDC_ACM_CONFIG_INFO_COLOR - ANSI escape code prefix.
  6680. // <0=> Default
  6681. // <1=> Black
  6682. // <2=> Red
  6683. // <3=> Green
  6684. // <4=> Yellow
  6685. // <5=> Blue
  6686. // <6=> Magenta
  6687. // <7=> Cyan
  6688. // <8=> White
  6689. #ifndef APP_USBD_CDC_ACM_CONFIG_INFO_COLOR
  6690. #define APP_USBD_CDC_ACM_CONFIG_INFO_COLOR 0
  6691. #endif
  6692. // <o> APP_USBD_CDC_ACM_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  6693. // <0=> Default
  6694. // <1=> Black
  6695. // <2=> Red
  6696. // <3=> Green
  6697. // <4=> Yellow
  6698. // <5=> Blue
  6699. // <6=> Magenta
  6700. // <7=> Cyan
  6701. // <8=> White
  6702. #ifndef APP_USBD_CDC_ACM_CONFIG_DEBUG_COLOR
  6703. #define APP_USBD_CDC_ACM_CONFIG_DEBUG_COLOR 0
  6704. #endif
  6705. // </e>
  6706. // <e> APP_USBD_CONFIG_LOG_ENABLED - Enable logging in the module.
  6707. //==========================================================
  6708. #ifndef APP_USBD_CONFIG_LOG_ENABLED
  6709. #define APP_USBD_CONFIG_LOG_ENABLED 0
  6710. #endif
  6711. // <o> APP_USBD_CONFIG_LOG_LEVEL - Default Severity level
  6712. // <0=> Off
  6713. // <1=> Error
  6714. // <2=> Warning
  6715. // <3=> Info
  6716. // <4=> Debug
  6717. #ifndef APP_USBD_CONFIG_LOG_LEVEL
  6718. #define APP_USBD_CONFIG_LOG_LEVEL 3
  6719. #endif
  6720. // <o> APP_USBD_CONFIG_INFO_COLOR - ANSI escape code prefix.
  6721. // <0=> Default
  6722. // <1=> Black
  6723. // <2=> Red
  6724. // <3=> Green
  6725. // <4=> Yellow
  6726. // <5=> Blue
  6727. // <6=> Magenta
  6728. // <7=> Cyan
  6729. // <8=> White
  6730. #ifndef APP_USBD_CONFIG_INFO_COLOR
  6731. #define APP_USBD_CONFIG_INFO_COLOR 0
  6732. #endif
  6733. // <o> APP_USBD_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  6734. // <0=> Default
  6735. // <1=> Black
  6736. // <2=> Red
  6737. // <3=> Green
  6738. // <4=> Yellow
  6739. // <5=> Blue
  6740. // <6=> Magenta
  6741. // <7=> Cyan
  6742. // <8=> White
  6743. #ifndef APP_USBD_CONFIG_DEBUG_COLOR
  6744. #define APP_USBD_CONFIG_DEBUG_COLOR 0
  6745. #endif
  6746. // </e>
  6747. // <e> APP_USBD_DUMMY_CONFIG_LOG_ENABLED - Enables logging in the module.
  6748. //==========================================================
  6749. #ifndef APP_USBD_DUMMY_CONFIG_LOG_ENABLED
  6750. #define APP_USBD_DUMMY_CONFIG_LOG_ENABLED 0
  6751. #endif
  6752. // <o> APP_USBD_DUMMY_CONFIG_LOG_LEVEL - Default Severity level
  6753. // <0=> Off
  6754. // <1=> Error
  6755. // <2=> Warning
  6756. // <3=> Info
  6757. // <4=> Debug
  6758. #ifndef APP_USBD_DUMMY_CONFIG_LOG_LEVEL
  6759. #define APP_USBD_DUMMY_CONFIG_LOG_LEVEL 3
  6760. #endif
  6761. // <o> APP_USBD_DUMMY_CONFIG_INFO_COLOR - ANSI escape code prefix.
  6762. // <0=> Default
  6763. // <1=> Black
  6764. // <2=> Red
  6765. // <3=> Green
  6766. // <4=> Yellow
  6767. // <5=> Blue
  6768. // <6=> Magenta
  6769. // <7=> Cyan
  6770. // <8=> White
  6771. #ifndef APP_USBD_DUMMY_CONFIG_INFO_COLOR
  6772. #define APP_USBD_DUMMY_CONFIG_INFO_COLOR 0
  6773. #endif
  6774. // <o> APP_USBD_DUMMY_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  6775. // <0=> Default
  6776. // <1=> Black
  6777. // <2=> Red
  6778. // <3=> Green
  6779. // <4=> Yellow
  6780. // <5=> Blue
  6781. // <6=> Magenta
  6782. // <7=> Cyan
  6783. // <8=> White
  6784. #ifndef APP_USBD_DUMMY_CONFIG_DEBUG_COLOR
  6785. #define APP_USBD_DUMMY_CONFIG_DEBUG_COLOR 0
  6786. #endif
  6787. // </e>
  6788. // <e> APP_USBD_MSC_CONFIG_LOG_ENABLED - Enables logging in the module.
  6789. //==========================================================
  6790. #ifndef APP_USBD_MSC_CONFIG_LOG_ENABLED
  6791. #define APP_USBD_MSC_CONFIG_LOG_ENABLED 0
  6792. #endif
  6793. // <o> APP_USBD_MSC_CONFIG_LOG_LEVEL - Default Severity level
  6794. // <0=> Off
  6795. // <1=> Error
  6796. // <2=> Warning
  6797. // <3=> Info
  6798. // <4=> Debug
  6799. #ifndef APP_USBD_MSC_CONFIG_LOG_LEVEL
  6800. #define APP_USBD_MSC_CONFIG_LOG_LEVEL 3
  6801. #endif
  6802. // <o> APP_USBD_MSC_CONFIG_INFO_COLOR - ANSI escape code prefix.
  6803. // <0=> Default
  6804. // <1=> Black
  6805. // <2=> Red
  6806. // <3=> Green
  6807. // <4=> Yellow
  6808. // <5=> Blue
  6809. // <6=> Magenta
  6810. // <7=> Cyan
  6811. // <8=> White
  6812. #ifndef APP_USBD_MSC_CONFIG_INFO_COLOR
  6813. #define APP_USBD_MSC_CONFIG_INFO_COLOR 0
  6814. #endif
  6815. // <o> APP_USBD_MSC_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  6816. // <0=> Default
  6817. // <1=> Black
  6818. // <2=> Red
  6819. // <3=> Green
  6820. // <4=> Yellow
  6821. // <5=> Blue
  6822. // <6=> Magenta
  6823. // <7=> Cyan
  6824. // <8=> White
  6825. #ifndef APP_USBD_MSC_CONFIG_DEBUG_COLOR
  6826. #define APP_USBD_MSC_CONFIG_DEBUG_COLOR 0
  6827. #endif
  6828. // </e>
  6829. // <e> APP_USBD_NRF_DFU_TRIGGER_CONFIG_LOG_ENABLED - Enables logging in the module.
  6830. //==========================================================
  6831. #ifndef APP_USBD_NRF_DFU_TRIGGER_CONFIG_LOG_ENABLED
  6832. #define APP_USBD_NRF_DFU_TRIGGER_CONFIG_LOG_ENABLED 0
  6833. #endif
  6834. // <o> APP_USBD_NRF_DFU_TRIGGER_CONFIG_LOG_LEVEL - Default Severity level
  6835. // <0=> Off
  6836. // <1=> Error
  6837. // <2=> Warning
  6838. // <3=> Info
  6839. // <4=> Debug
  6840. #ifndef APP_USBD_NRF_DFU_TRIGGER_CONFIG_LOG_LEVEL
  6841. #define APP_USBD_NRF_DFU_TRIGGER_CONFIG_LOG_LEVEL 3
  6842. #endif
  6843. // <o> APP_USBD_NRF_DFU_TRIGGER_CONFIG_INFO_COLOR - ANSI escape code prefix.
  6844. // <0=> Default
  6845. // <1=> Black
  6846. // <2=> Red
  6847. // <3=> Green
  6848. // <4=> Yellow
  6849. // <5=> Blue
  6850. // <6=> Magenta
  6851. // <7=> Cyan
  6852. // <8=> White
  6853. #ifndef APP_USBD_NRF_DFU_TRIGGER_CONFIG_INFO_COLOR
  6854. #define APP_USBD_NRF_DFU_TRIGGER_CONFIG_INFO_COLOR 0
  6855. #endif
  6856. // <o> APP_USBD_NRF_DFU_TRIGGER_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  6857. // <0=> Default
  6858. // <1=> Black
  6859. // <2=> Red
  6860. // <3=> Green
  6861. // <4=> Yellow
  6862. // <5=> Blue
  6863. // <6=> Magenta
  6864. // <7=> Cyan
  6865. // <8=> White
  6866. #ifndef APP_USBD_NRF_DFU_TRIGGER_CONFIG_DEBUG_COLOR
  6867. #define APP_USBD_NRF_DFU_TRIGGER_CONFIG_DEBUG_COLOR 0
  6868. #endif
  6869. // </e>
  6870. // <e> NRF_ATFIFO_CONFIG_LOG_ENABLED - Enables logging in the module.
  6871. //==========================================================
  6872. #ifndef NRF_ATFIFO_CONFIG_LOG_ENABLED
  6873. #define NRF_ATFIFO_CONFIG_LOG_ENABLED 0
  6874. #endif
  6875. // <o> NRF_ATFIFO_CONFIG_LOG_LEVEL - Default Severity level
  6876. // <0=> Off
  6877. // <1=> Error
  6878. // <2=> Warning
  6879. // <3=> Info
  6880. // <4=> Debug
  6881. #ifndef NRF_ATFIFO_CONFIG_LOG_LEVEL
  6882. #define NRF_ATFIFO_CONFIG_LOG_LEVEL 3
  6883. #endif
  6884. // <o> NRF_ATFIFO_CONFIG_LOG_INIT_FILTER_LEVEL - Initial severity level if dynamic filtering is enabled
  6885. // <0=> Off
  6886. // <1=> Error
  6887. // <2=> Warning
  6888. // <3=> Info
  6889. // <4=> Debug
  6890. #ifndef NRF_ATFIFO_CONFIG_LOG_INIT_FILTER_LEVEL
  6891. #define NRF_ATFIFO_CONFIG_LOG_INIT_FILTER_LEVEL 3
  6892. #endif
  6893. // <o> NRF_ATFIFO_CONFIG_INFO_COLOR - ANSI escape code prefix.
  6894. // <0=> Default
  6895. // <1=> Black
  6896. // <2=> Red
  6897. // <3=> Green
  6898. // <4=> Yellow
  6899. // <5=> Blue
  6900. // <6=> Magenta
  6901. // <7=> Cyan
  6902. // <8=> White
  6903. #ifndef NRF_ATFIFO_CONFIG_INFO_COLOR
  6904. #define NRF_ATFIFO_CONFIG_INFO_COLOR 0
  6905. #endif
  6906. // <o> NRF_ATFIFO_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  6907. // <0=> Default
  6908. // <1=> Black
  6909. // <2=> Red
  6910. // <3=> Green
  6911. // <4=> Yellow
  6912. // <5=> Blue
  6913. // <6=> Magenta
  6914. // <7=> Cyan
  6915. // <8=> White
  6916. #ifndef NRF_ATFIFO_CONFIG_DEBUG_COLOR
  6917. #define NRF_ATFIFO_CONFIG_DEBUG_COLOR 0
  6918. #endif
  6919. // </e>
  6920. // <e> NRF_BALLOC_CONFIG_LOG_ENABLED - Enables logging in the module.
  6921. //==========================================================
  6922. #ifndef NRF_BALLOC_CONFIG_LOG_ENABLED
  6923. #define NRF_BALLOC_CONFIG_LOG_ENABLED 0
  6924. #endif
  6925. // <o> NRF_BALLOC_CONFIG_LOG_LEVEL - Default Severity level
  6926. // <0=> Off
  6927. // <1=> Error
  6928. // <2=> Warning
  6929. // <3=> Info
  6930. // <4=> Debug
  6931. #ifndef NRF_BALLOC_CONFIG_LOG_LEVEL
  6932. #define NRF_BALLOC_CONFIG_LOG_LEVEL 3
  6933. #endif
  6934. // <o> NRF_BALLOC_CONFIG_INITIAL_LOG_LEVEL - Initial severity level if dynamic filtering is enabled.
  6935. // <i> If module generates a lot of logs, initial log level can
  6936. // <i> be decreased to prevent flooding. Severity level can be
  6937. // <i> increased on instance basis.
  6938. // <0=> Off
  6939. // <1=> Error
  6940. // <2=> Warning
  6941. // <3=> Info
  6942. // <4=> Debug
  6943. #ifndef NRF_BALLOC_CONFIG_INITIAL_LOG_LEVEL
  6944. #define NRF_BALLOC_CONFIG_INITIAL_LOG_LEVEL 3
  6945. #endif
  6946. // <o> NRF_BALLOC_CONFIG_INFO_COLOR - ANSI escape code prefix.
  6947. // <0=> Default
  6948. // <1=> Black
  6949. // <2=> Red
  6950. // <3=> Green
  6951. // <4=> Yellow
  6952. // <5=> Blue
  6953. // <6=> Magenta
  6954. // <7=> Cyan
  6955. // <8=> White
  6956. #ifndef NRF_BALLOC_CONFIG_INFO_COLOR
  6957. #define NRF_BALLOC_CONFIG_INFO_COLOR 0
  6958. #endif
  6959. // <o> NRF_BALLOC_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  6960. // <0=> Default
  6961. // <1=> Black
  6962. // <2=> Red
  6963. // <3=> Green
  6964. // <4=> Yellow
  6965. // <5=> Blue
  6966. // <6=> Magenta
  6967. // <7=> Cyan
  6968. // <8=> White
  6969. #ifndef NRF_BALLOC_CONFIG_DEBUG_COLOR
  6970. #define NRF_BALLOC_CONFIG_DEBUG_COLOR 0
  6971. #endif
  6972. // </e>
  6973. // <e> NRF_BLOCK_DEV_EMPTY_CONFIG_LOG_ENABLED - Enables logging in the module.
  6974. //==========================================================
  6975. #ifndef NRF_BLOCK_DEV_EMPTY_CONFIG_LOG_ENABLED
  6976. #define NRF_BLOCK_DEV_EMPTY_CONFIG_LOG_ENABLED 0
  6977. #endif
  6978. // <o> NRF_BLOCK_DEV_EMPTY_CONFIG_LOG_LEVEL - Default Severity level
  6979. // <0=> Off
  6980. // <1=> Error
  6981. // <2=> Warning
  6982. // <3=> Info
  6983. // <4=> Debug
  6984. #ifndef NRF_BLOCK_DEV_EMPTY_CONFIG_LOG_LEVEL
  6985. #define NRF_BLOCK_DEV_EMPTY_CONFIG_LOG_LEVEL 3
  6986. #endif
  6987. // <o> NRF_BLOCK_DEV_EMPTY_CONFIG_LOG_INIT_FILTER_LEVEL - Initial severity level if dynamic filtering is enabled
  6988. // <0=> Off
  6989. // <1=> Error
  6990. // <2=> Warning
  6991. // <3=> Info
  6992. // <4=> Debug
  6993. #ifndef NRF_BLOCK_DEV_EMPTY_CONFIG_LOG_INIT_FILTER_LEVEL
  6994. #define NRF_BLOCK_DEV_EMPTY_CONFIG_LOG_INIT_FILTER_LEVEL 3
  6995. #endif
  6996. // <o> NRF_BLOCK_DEV_EMPTY_CONFIG_INFO_COLOR - ANSI escape code prefix.
  6997. // <0=> Default
  6998. // <1=> Black
  6999. // <2=> Red
  7000. // <3=> Green
  7001. // <4=> Yellow
  7002. // <5=> Blue
  7003. // <6=> Magenta
  7004. // <7=> Cyan
  7005. // <8=> White
  7006. #ifndef NRF_BLOCK_DEV_EMPTY_CONFIG_INFO_COLOR
  7007. #define NRF_BLOCK_DEV_EMPTY_CONFIG_INFO_COLOR 0
  7008. #endif
  7009. // <o> NRF_BLOCK_DEV_EMPTY_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  7010. // <0=> Default
  7011. // <1=> Black
  7012. // <2=> Red
  7013. // <3=> Green
  7014. // <4=> Yellow
  7015. // <5=> Blue
  7016. // <6=> Magenta
  7017. // <7=> Cyan
  7018. // <8=> White
  7019. #ifndef NRF_BLOCK_DEV_EMPTY_CONFIG_DEBUG_COLOR
  7020. #define NRF_BLOCK_DEV_EMPTY_CONFIG_DEBUG_COLOR 0
  7021. #endif
  7022. // </e>
  7023. // <e> NRF_BLOCK_DEV_QSPI_CONFIG_LOG_ENABLED - Enables logging in the module.
  7024. //==========================================================
  7025. #ifndef NRF_BLOCK_DEV_QSPI_CONFIG_LOG_ENABLED
  7026. #define NRF_BLOCK_DEV_QSPI_CONFIG_LOG_ENABLED 0
  7027. #endif
  7028. // <o> NRF_BLOCK_DEV_QSPI_CONFIG_LOG_LEVEL - Default Severity level
  7029. // <0=> Off
  7030. // <1=> Error
  7031. // <2=> Warning
  7032. // <3=> Info
  7033. // <4=> Debug
  7034. #ifndef NRF_BLOCK_DEV_QSPI_CONFIG_LOG_LEVEL
  7035. #define NRF_BLOCK_DEV_QSPI_CONFIG_LOG_LEVEL 3
  7036. #endif
  7037. // <o> NRF_BLOCK_DEV_QSPI_CONFIG_LOG_INIT_FILTER_LEVEL - Initial severity level if dynamic filtering is enabled
  7038. // <0=> Off
  7039. // <1=> Error
  7040. // <2=> Warning
  7041. // <3=> Info
  7042. // <4=> Debug
  7043. #ifndef NRF_BLOCK_DEV_QSPI_CONFIG_LOG_INIT_FILTER_LEVEL
  7044. #define NRF_BLOCK_DEV_QSPI_CONFIG_LOG_INIT_FILTER_LEVEL 3
  7045. #endif
  7046. // <o> NRF_BLOCK_DEV_QSPI_CONFIG_INFO_COLOR - ANSI escape code prefix.
  7047. // <0=> Default
  7048. // <1=> Black
  7049. // <2=> Red
  7050. // <3=> Green
  7051. // <4=> Yellow
  7052. // <5=> Blue
  7053. // <6=> Magenta
  7054. // <7=> Cyan
  7055. // <8=> White
  7056. #ifndef NRF_BLOCK_DEV_QSPI_CONFIG_INFO_COLOR
  7057. #define NRF_BLOCK_DEV_QSPI_CONFIG_INFO_COLOR 0
  7058. #endif
  7059. // <o> NRF_BLOCK_DEV_QSPI_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  7060. // <0=> Default
  7061. // <1=> Black
  7062. // <2=> Red
  7063. // <3=> Green
  7064. // <4=> Yellow
  7065. // <5=> Blue
  7066. // <6=> Magenta
  7067. // <7=> Cyan
  7068. // <8=> White
  7069. #ifndef NRF_BLOCK_DEV_QSPI_CONFIG_DEBUG_COLOR
  7070. #define NRF_BLOCK_DEV_QSPI_CONFIG_DEBUG_COLOR 0
  7071. #endif
  7072. // </e>
  7073. // <e> NRF_BLOCK_DEV_RAM_CONFIG_LOG_ENABLED - Enables logging in the module.
  7074. //==========================================================
  7075. #ifndef NRF_BLOCK_DEV_RAM_CONFIG_LOG_ENABLED
  7076. #define NRF_BLOCK_DEV_RAM_CONFIG_LOG_ENABLED 0
  7077. #endif
  7078. // <o> NRF_BLOCK_DEV_RAM_CONFIG_LOG_LEVEL - Default Severity level
  7079. // <0=> Off
  7080. // <1=> Error
  7081. // <2=> Warning
  7082. // <3=> Info
  7083. // <4=> Debug
  7084. #ifndef NRF_BLOCK_DEV_RAM_CONFIG_LOG_LEVEL
  7085. #define NRF_BLOCK_DEV_RAM_CONFIG_LOG_LEVEL 3
  7086. #endif
  7087. // <o> NRF_BLOCK_DEV_RAM_CONFIG_LOG_INIT_FILTER_LEVEL - Initial severity level if dynamic filtering is enabled
  7088. // <0=> Off
  7089. // <1=> Error
  7090. // <2=> Warning
  7091. // <3=> Info
  7092. // <4=> Debug
  7093. #ifndef NRF_BLOCK_DEV_RAM_CONFIG_LOG_INIT_FILTER_LEVEL
  7094. #define NRF_BLOCK_DEV_RAM_CONFIG_LOG_INIT_FILTER_LEVEL 3
  7095. #endif
  7096. // <o> NRF_BLOCK_DEV_RAM_CONFIG_INFO_COLOR - ANSI escape code prefix.
  7097. // <0=> Default
  7098. // <1=> Black
  7099. // <2=> Red
  7100. // <3=> Green
  7101. // <4=> Yellow
  7102. // <5=> Blue
  7103. // <6=> Magenta
  7104. // <7=> Cyan
  7105. // <8=> White
  7106. #ifndef NRF_BLOCK_DEV_RAM_CONFIG_INFO_COLOR
  7107. #define NRF_BLOCK_DEV_RAM_CONFIG_INFO_COLOR 0
  7108. #endif
  7109. // <o> NRF_BLOCK_DEV_RAM_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  7110. // <0=> Default
  7111. // <1=> Black
  7112. // <2=> Red
  7113. // <3=> Green
  7114. // <4=> Yellow
  7115. // <5=> Blue
  7116. // <6=> Magenta
  7117. // <7=> Cyan
  7118. // <8=> White
  7119. #ifndef NRF_BLOCK_DEV_RAM_CONFIG_DEBUG_COLOR
  7120. #define NRF_BLOCK_DEV_RAM_CONFIG_DEBUG_COLOR 0
  7121. #endif
  7122. // </e>
  7123. // <e> NRF_CLI_BLE_UART_CONFIG_LOG_ENABLED - Enables logging in the module.
  7124. //==========================================================
  7125. #ifndef NRF_CLI_BLE_UART_CONFIG_LOG_ENABLED
  7126. #define NRF_CLI_BLE_UART_CONFIG_LOG_ENABLED 0
  7127. #endif
  7128. // <o> NRF_CLI_BLE_UART_CONFIG_LOG_LEVEL - Default Severity level
  7129. // <0=> Off
  7130. // <1=> Error
  7131. // <2=> Warning
  7132. // <3=> Info
  7133. // <4=> Debug
  7134. #ifndef NRF_CLI_BLE_UART_CONFIG_LOG_LEVEL
  7135. #define NRF_CLI_BLE_UART_CONFIG_LOG_LEVEL 3
  7136. #endif
  7137. // <o> NRF_CLI_BLE_UART_CONFIG_INFO_COLOR - ANSI escape code prefix.
  7138. // <0=> Default
  7139. // <1=> Black
  7140. // <2=> Red
  7141. // <3=> Green
  7142. // <4=> Yellow
  7143. // <5=> Blue
  7144. // <6=> Magenta
  7145. // <7=> Cyan
  7146. // <8=> White
  7147. #ifndef NRF_CLI_BLE_UART_CONFIG_INFO_COLOR
  7148. #define NRF_CLI_BLE_UART_CONFIG_INFO_COLOR 0
  7149. #endif
  7150. // <o> NRF_CLI_BLE_UART_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  7151. // <0=> Default
  7152. // <1=> Black
  7153. // <2=> Red
  7154. // <3=> Green
  7155. // <4=> Yellow
  7156. // <5=> Blue
  7157. // <6=> Magenta
  7158. // <7=> Cyan
  7159. // <8=> White
  7160. #ifndef NRF_CLI_BLE_UART_CONFIG_DEBUG_COLOR
  7161. #define NRF_CLI_BLE_UART_CONFIG_DEBUG_COLOR 0
  7162. #endif
  7163. // </e>
  7164. // <e> NRF_CLI_LIBUARTE_CONFIG_LOG_ENABLED - Enables logging in the module.
  7165. //==========================================================
  7166. #ifndef NRF_CLI_LIBUARTE_CONFIG_LOG_ENABLED
  7167. #define NRF_CLI_LIBUARTE_CONFIG_LOG_ENABLED 0
  7168. #endif
  7169. // <o> NRF_CLI_LIBUARTE_CONFIG_LOG_LEVEL - Default Severity level
  7170. // <0=> Off
  7171. // <1=> Error
  7172. // <2=> Warning
  7173. // <3=> Info
  7174. // <4=> Debug
  7175. #ifndef NRF_CLI_LIBUARTE_CONFIG_LOG_LEVEL
  7176. #define NRF_CLI_LIBUARTE_CONFIG_LOG_LEVEL 3
  7177. #endif
  7178. // <o> NRF_CLI_LIBUARTE_CONFIG_INFO_COLOR - ANSI escape code prefix.
  7179. // <0=> Default
  7180. // <1=> Black
  7181. // <2=> Red
  7182. // <3=> Green
  7183. // <4=> Yellow
  7184. // <5=> Blue
  7185. // <6=> Magenta
  7186. // <7=> Cyan
  7187. // <8=> White
  7188. #ifndef NRF_CLI_LIBUARTE_CONFIG_INFO_COLOR
  7189. #define NRF_CLI_LIBUARTE_CONFIG_INFO_COLOR 0
  7190. #endif
  7191. // <o> NRF_CLI_LIBUARTE_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  7192. // <0=> Default
  7193. // <1=> Black
  7194. // <2=> Red
  7195. // <3=> Green
  7196. // <4=> Yellow
  7197. // <5=> Blue
  7198. // <6=> Magenta
  7199. // <7=> Cyan
  7200. // <8=> White
  7201. #ifndef NRF_CLI_LIBUARTE_CONFIG_DEBUG_COLOR
  7202. #define NRF_CLI_LIBUARTE_CONFIG_DEBUG_COLOR 0
  7203. #endif
  7204. // </e>
  7205. // <e> NRF_CLI_UART_CONFIG_LOG_ENABLED - Enables logging in the module.
  7206. //==========================================================
  7207. #ifndef NRF_CLI_UART_CONFIG_LOG_ENABLED
  7208. #define NRF_CLI_UART_CONFIG_LOG_ENABLED 0
  7209. #endif
  7210. // <o> NRF_CLI_UART_CONFIG_LOG_LEVEL - Default Severity level
  7211. // <0=> Off
  7212. // <1=> Error
  7213. // <2=> Warning
  7214. // <3=> Info
  7215. // <4=> Debug
  7216. #ifndef NRF_CLI_UART_CONFIG_LOG_LEVEL
  7217. #define NRF_CLI_UART_CONFIG_LOG_LEVEL 3
  7218. #endif
  7219. // <o> NRF_CLI_UART_CONFIG_INFO_COLOR - ANSI escape code prefix.
  7220. // <0=> Default
  7221. // <1=> Black
  7222. // <2=> Red
  7223. // <3=> Green
  7224. // <4=> Yellow
  7225. // <5=> Blue
  7226. // <6=> Magenta
  7227. // <7=> Cyan
  7228. // <8=> White
  7229. #ifndef NRF_CLI_UART_CONFIG_INFO_COLOR
  7230. #define NRF_CLI_UART_CONFIG_INFO_COLOR 0
  7231. #endif
  7232. // <o> NRF_CLI_UART_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  7233. // <0=> Default
  7234. // <1=> Black
  7235. // <2=> Red
  7236. // <3=> Green
  7237. // <4=> Yellow
  7238. // <5=> Blue
  7239. // <6=> Magenta
  7240. // <7=> Cyan
  7241. // <8=> White
  7242. #ifndef NRF_CLI_UART_CONFIG_DEBUG_COLOR
  7243. #define NRF_CLI_UART_CONFIG_DEBUG_COLOR 0
  7244. #endif
  7245. // </e>
  7246. // <e> NRF_LIBUARTE_CONFIG_LOG_ENABLED - Enables logging in the module.
  7247. //==========================================================
  7248. #ifndef NRF_LIBUARTE_CONFIG_LOG_ENABLED
  7249. #define NRF_LIBUARTE_CONFIG_LOG_ENABLED 0
  7250. #endif
  7251. // <o> NRF_LIBUARTE_CONFIG_LOG_LEVEL - Default Severity level
  7252. // <0=> Off
  7253. // <1=> Error
  7254. // <2=> Warning
  7255. // <3=> Info
  7256. // <4=> Debug
  7257. #ifndef NRF_LIBUARTE_CONFIG_LOG_LEVEL
  7258. #define NRF_LIBUARTE_CONFIG_LOG_LEVEL 3
  7259. #endif
  7260. // <o> NRF_LIBUARTE_CONFIG_INFO_COLOR - ANSI escape code prefix.
  7261. // <0=> Default
  7262. // <1=> Black
  7263. // <2=> Red
  7264. // <3=> Green
  7265. // <4=> Yellow
  7266. // <5=> Blue
  7267. // <6=> Magenta
  7268. // <7=> Cyan
  7269. // <8=> White
  7270. #ifndef NRF_LIBUARTE_CONFIG_INFO_COLOR
  7271. #define NRF_LIBUARTE_CONFIG_INFO_COLOR 0
  7272. #endif
  7273. // <o> NRF_LIBUARTE_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  7274. // <0=> Default
  7275. // <1=> Black
  7276. // <2=> Red
  7277. // <3=> Green
  7278. // <4=> Yellow
  7279. // <5=> Blue
  7280. // <6=> Magenta
  7281. // <7=> Cyan
  7282. // <8=> White
  7283. #ifndef NRF_LIBUARTE_CONFIG_DEBUG_COLOR
  7284. #define NRF_LIBUARTE_CONFIG_DEBUG_COLOR 0
  7285. #endif
  7286. // </e>
  7287. // <e> NRF_MEMOBJ_CONFIG_LOG_ENABLED - Enables logging in the module.
  7288. //==========================================================
  7289. #ifndef NRF_MEMOBJ_CONFIG_LOG_ENABLED
  7290. #define NRF_MEMOBJ_CONFIG_LOG_ENABLED 0
  7291. #endif
  7292. // <o> NRF_MEMOBJ_CONFIG_LOG_LEVEL - Default Severity level
  7293. // <0=> Off
  7294. // <1=> Error
  7295. // <2=> Warning
  7296. // <3=> Info
  7297. // <4=> Debug
  7298. #ifndef NRF_MEMOBJ_CONFIG_LOG_LEVEL
  7299. #define NRF_MEMOBJ_CONFIG_LOG_LEVEL 3
  7300. #endif
  7301. // <o> NRF_MEMOBJ_CONFIG_INFO_COLOR - ANSI escape code prefix.
  7302. // <0=> Default
  7303. // <1=> Black
  7304. // <2=> Red
  7305. // <3=> Green
  7306. // <4=> Yellow
  7307. // <5=> Blue
  7308. // <6=> Magenta
  7309. // <7=> Cyan
  7310. // <8=> White
  7311. #ifndef NRF_MEMOBJ_CONFIG_INFO_COLOR
  7312. #define NRF_MEMOBJ_CONFIG_INFO_COLOR 0
  7313. #endif
  7314. // <o> NRF_MEMOBJ_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  7315. // <0=> Default
  7316. // <1=> Black
  7317. // <2=> Red
  7318. // <3=> Green
  7319. // <4=> Yellow
  7320. // <5=> Blue
  7321. // <6=> Magenta
  7322. // <7=> Cyan
  7323. // <8=> White
  7324. #ifndef NRF_MEMOBJ_CONFIG_DEBUG_COLOR
  7325. #define NRF_MEMOBJ_CONFIG_DEBUG_COLOR 0
  7326. #endif
  7327. // </e>
  7328. // <e> NRF_PWR_MGMT_CONFIG_LOG_ENABLED - Enables logging in the module.
  7329. //==========================================================
  7330. #ifndef NRF_PWR_MGMT_CONFIG_LOG_ENABLED
  7331. #define NRF_PWR_MGMT_CONFIG_LOG_ENABLED 0
  7332. #endif
  7333. // <o> NRF_PWR_MGMT_CONFIG_LOG_LEVEL - Default Severity level
  7334. // <0=> Off
  7335. // <1=> Error
  7336. // <2=> Warning
  7337. // <3=> Info
  7338. // <4=> Debug
  7339. #ifndef NRF_PWR_MGMT_CONFIG_LOG_LEVEL
  7340. #define NRF_PWR_MGMT_CONFIG_LOG_LEVEL 3
  7341. #endif
  7342. // <o> NRF_PWR_MGMT_CONFIG_INFO_COLOR - ANSI escape code prefix.
  7343. // <0=> Default
  7344. // <1=> Black
  7345. // <2=> Red
  7346. // <3=> Green
  7347. // <4=> Yellow
  7348. // <5=> Blue
  7349. // <6=> Magenta
  7350. // <7=> Cyan
  7351. // <8=> White
  7352. #ifndef NRF_PWR_MGMT_CONFIG_INFO_COLOR
  7353. #define NRF_PWR_MGMT_CONFIG_INFO_COLOR 0
  7354. #endif
  7355. // <o> NRF_PWR_MGMT_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  7356. // <0=> Default
  7357. // <1=> Black
  7358. // <2=> Red
  7359. // <3=> Green
  7360. // <4=> Yellow
  7361. // <5=> Blue
  7362. // <6=> Magenta
  7363. // <7=> Cyan
  7364. // <8=> White
  7365. #ifndef NRF_PWR_MGMT_CONFIG_DEBUG_COLOR
  7366. #define NRF_PWR_MGMT_CONFIG_DEBUG_COLOR 0
  7367. #endif
  7368. // </e>
  7369. // <e> NRF_QUEUE_CONFIG_LOG_ENABLED - Enables logging in the module.
  7370. //==========================================================
  7371. #ifndef NRF_QUEUE_CONFIG_LOG_ENABLED
  7372. #define NRF_QUEUE_CONFIG_LOG_ENABLED 0
  7373. #endif
  7374. // <o> NRF_QUEUE_CONFIG_LOG_LEVEL - Default Severity level
  7375. // <0=> Off
  7376. // <1=> Error
  7377. // <2=> Warning
  7378. // <3=> Info
  7379. // <4=> Debug
  7380. #ifndef NRF_QUEUE_CONFIG_LOG_LEVEL
  7381. #define NRF_QUEUE_CONFIG_LOG_LEVEL 3
  7382. #endif
  7383. // <o> NRF_QUEUE_CONFIG_LOG_INIT_FILTER_LEVEL - Initial severity level if dynamic filtering is enabled
  7384. // <0=> Off
  7385. // <1=> Error
  7386. // <2=> Warning
  7387. // <3=> Info
  7388. // <4=> Debug
  7389. #ifndef NRF_QUEUE_CONFIG_LOG_INIT_FILTER_LEVEL
  7390. #define NRF_QUEUE_CONFIG_LOG_INIT_FILTER_LEVEL 3
  7391. #endif
  7392. // <o> NRF_QUEUE_CONFIG_INFO_COLOR - ANSI escape code prefix.
  7393. // <0=> Default
  7394. // <1=> Black
  7395. // <2=> Red
  7396. // <3=> Green
  7397. // <4=> Yellow
  7398. // <5=> Blue
  7399. // <6=> Magenta
  7400. // <7=> Cyan
  7401. // <8=> White
  7402. #ifndef NRF_QUEUE_CONFIG_INFO_COLOR
  7403. #define NRF_QUEUE_CONFIG_INFO_COLOR 0
  7404. #endif
  7405. // <o> NRF_QUEUE_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  7406. // <0=> Default
  7407. // <1=> Black
  7408. // <2=> Red
  7409. // <3=> Green
  7410. // <4=> Yellow
  7411. // <5=> Blue
  7412. // <6=> Magenta
  7413. // <7=> Cyan
  7414. // <8=> White
  7415. #ifndef NRF_QUEUE_CONFIG_DEBUG_COLOR
  7416. #define NRF_QUEUE_CONFIG_DEBUG_COLOR 0
  7417. #endif
  7418. // </e>
  7419. // <e> NRF_SDH_ANT_LOG_ENABLED - Enable logging in SoftDevice handler (ANT) module.
  7420. //==========================================================
  7421. #ifndef NRF_SDH_ANT_LOG_ENABLED
  7422. #define NRF_SDH_ANT_LOG_ENABLED 0
  7423. #endif
  7424. // <o> NRF_SDH_ANT_LOG_LEVEL - Default Severity level
  7425. // <0=> Off
  7426. // <1=> Error
  7427. // <2=> Warning
  7428. // <3=> Info
  7429. // <4=> Debug
  7430. #ifndef NRF_SDH_ANT_LOG_LEVEL
  7431. #define NRF_SDH_ANT_LOG_LEVEL 3
  7432. #endif
  7433. // <o> NRF_SDH_ANT_INFO_COLOR - ANSI escape code prefix.
  7434. // <0=> Default
  7435. // <1=> Black
  7436. // <2=> Red
  7437. // <3=> Green
  7438. // <4=> Yellow
  7439. // <5=> Blue
  7440. // <6=> Magenta
  7441. // <7=> Cyan
  7442. // <8=> White
  7443. #ifndef NRF_SDH_ANT_INFO_COLOR
  7444. #define NRF_SDH_ANT_INFO_COLOR 0
  7445. #endif
  7446. // <o> NRF_SDH_ANT_DEBUG_COLOR - ANSI escape code prefix.
  7447. // <0=> Default
  7448. // <1=> Black
  7449. // <2=> Red
  7450. // <3=> Green
  7451. // <4=> Yellow
  7452. // <5=> Blue
  7453. // <6=> Magenta
  7454. // <7=> Cyan
  7455. // <8=> White
  7456. #ifndef NRF_SDH_ANT_DEBUG_COLOR
  7457. #define NRF_SDH_ANT_DEBUG_COLOR 0
  7458. #endif
  7459. // </e>
  7460. // <e> NRF_SDH_BLE_LOG_ENABLED - Enable logging in SoftDevice handler (BLE) module.
  7461. //==========================================================
  7462. #ifndef NRF_SDH_BLE_LOG_ENABLED
  7463. #define NRF_SDH_BLE_LOG_ENABLED 1
  7464. #endif
  7465. // <o> NRF_SDH_BLE_LOG_LEVEL - Default Severity level
  7466. // <0=> Off
  7467. // <1=> Error
  7468. // <2=> Warning
  7469. // <3=> Info
  7470. // <4=> Debug
  7471. #ifndef NRF_SDH_BLE_LOG_LEVEL
  7472. #define NRF_SDH_BLE_LOG_LEVEL 3
  7473. #endif
  7474. // <o> NRF_SDH_BLE_INFO_COLOR - ANSI escape code prefix.
  7475. // <0=> Default
  7476. // <1=> Black
  7477. // <2=> Red
  7478. // <3=> Green
  7479. // <4=> Yellow
  7480. // <5=> Blue
  7481. // <6=> Magenta
  7482. // <7=> Cyan
  7483. // <8=> White
  7484. #ifndef NRF_SDH_BLE_INFO_COLOR
  7485. #define NRF_SDH_BLE_INFO_COLOR 0
  7486. #endif
  7487. // <o> NRF_SDH_BLE_DEBUG_COLOR - ANSI escape code prefix.
  7488. // <0=> Default
  7489. // <1=> Black
  7490. // <2=> Red
  7491. // <3=> Green
  7492. // <4=> Yellow
  7493. // <5=> Blue
  7494. // <6=> Magenta
  7495. // <7=> Cyan
  7496. // <8=> White
  7497. #ifndef NRF_SDH_BLE_DEBUG_COLOR
  7498. #define NRF_SDH_BLE_DEBUG_COLOR 0
  7499. #endif
  7500. // </e>
  7501. // <e> NRF_SDH_LOG_ENABLED - Enable logging in SoftDevice handler module.
  7502. //==========================================================
  7503. #ifndef NRF_SDH_LOG_ENABLED
  7504. #define NRF_SDH_LOG_ENABLED 1
  7505. #endif
  7506. // <o> NRF_SDH_LOG_LEVEL - Default Severity level
  7507. // <0=> Off
  7508. // <1=> Error
  7509. // <2=> Warning
  7510. // <3=> Info
  7511. // <4=> Debug
  7512. #ifndef NRF_SDH_LOG_LEVEL
  7513. #define NRF_SDH_LOG_LEVEL 3
  7514. #endif
  7515. // <o> NRF_SDH_INFO_COLOR - ANSI escape code prefix.
  7516. // <0=> Default
  7517. // <1=> Black
  7518. // <2=> Red
  7519. // <3=> Green
  7520. // <4=> Yellow
  7521. // <5=> Blue
  7522. // <6=> Magenta
  7523. // <7=> Cyan
  7524. // <8=> White
  7525. #ifndef NRF_SDH_INFO_COLOR
  7526. #define NRF_SDH_INFO_COLOR 0
  7527. #endif
  7528. // <o> NRF_SDH_DEBUG_COLOR - ANSI escape code prefix.
  7529. // <0=> Default
  7530. // <1=> Black
  7531. // <2=> Red
  7532. // <3=> Green
  7533. // <4=> Yellow
  7534. // <5=> Blue
  7535. // <6=> Magenta
  7536. // <7=> Cyan
  7537. // <8=> White
  7538. #ifndef NRF_SDH_DEBUG_COLOR
  7539. #define NRF_SDH_DEBUG_COLOR 0
  7540. #endif
  7541. // </e>
  7542. // <e> NRF_SDH_SOC_LOG_ENABLED - Enable logging in SoftDevice handler (SoC) module.
  7543. //==========================================================
  7544. #ifndef NRF_SDH_SOC_LOG_ENABLED
  7545. #define NRF_SDH_SOC_LOG_ENABLED 1
  7546. #endif
  7547. // <o> NRF_SDH_SOC_LOG_LEVEL - Default Severity level
  7548. // <0=> Off
  7549. // <1=> Error
  7550. // <2=> Warning
  7551. // <3=> Info
  7552. // <4=> Debug
  7553. #ifndef NRF_SDH_SOC_LOG_LEVEL
  7554. #define NRF_SDH_SOC_LOG_LEVEL 3
  7555. #endif
  7556. // <o> NRF_SDH_SOC_INFO_COLOR - ANSI escape code prefix.
  7557. // <0=> Default
  7558. // <1=> Black
  7559. // <2=> Red
  7560. // <3=> Green
  7561. // <4=> Yellow
  7562. // <5=> Blue
  7563. // <6=> Magenta
  7564. // <7=> Cyan
  7565. // <8=> White
  7566. #ifndef NRF_SDH_SOC_INFO_COLOR
  7567. #define NRF_SDH_SOC_INFO_COLOR 0
  7568. #endif
  7569. // <o> NRF_SDH_SOC_DEBUG_COLOR - ANSI escape code prefix.
  7570. // <0=> Default
  7571. // <1=> Black
  7572. // <2=> Red
  7573. // <3=> Green
  7574. // <4=> Yellow
  7575. // <5=> Blue
  7576. // <6=> Magenta
  7577. // <7=> Cyan
  7578. // <8=> White
  7579. #ifndef NRF_SDH_SOC_DEBUG_COLOR
  7580. #define NRF_SDH_SOC_DEBUG_COLOR 0
  7581. #endif
  7582. // </e>
  7583. // <e> NRF_SORTLIST_CONFIG_LOG_ENABLED - Enables logging in the module.
  7584. //==========================================================
  7585. #ifndef NRF_SORTLIST_CONFIG_LOG_ENABLED
  7586. #define NRF_SORTLIST_CONFIG_LOG_ENABLED 0
  7587. #endif
  7588. // <o> NRF_SORTLIST_CONFIG_LOG_LEVEL - Default Severity level
  7589. // <0=> Off
  7590. // <1=> Error
  7591. // <2=> Warning
  7592. // <3=> Info
  7593. // <4=> Debug
  7594. #ifndef NRF_SORTLIST_CONFIG_LOG_LEVEL
  7595. #define NRF_SORTLIST_CONFIG_LOG_LEVEL 3
  7596. #endif
  7597. // <o> NRF_SORTLIST_CONFIG_INFO_COLOR - ANSI escape code prefix.
  7598. // <0=> Default
  7599. // <1=> Black
  7600. // <2=> Red
  7601. // <3=> Green
  7602. // <4=> Yellow
  7603. // <5=> Blue
  7604. // <6=> Magenta
  7605. // <7=> Cyan
  7606. // <8=> White
  7607. #ifndef NRF_SORTLIST_CONFIG_INFO_COLOR
  7608. #define NRF_SORTLIST_CONFIG_INFO_COLOR 0
  7609. #endif
  7610. // <o> NRF_SORTLIST_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  7611. // <0=> Default
  7612. // <1=> Black
  7613. // <2=> Red
  7614. // <3=> Green
  7615. // <4=> Yellow
  7616. // <5=> Blue
  7617. // <6=> Magenta
  7618. // <7=> Cyan
  7619. // <8=> White
  7620. #ifndef NRF_SORTLIST_CONFIG_DEBUG_COLOR
  7621. #define NRF_SORTLIST_CONFIG_DEBUG_COLOR 0
  7622. #endif
  7623. // </e>
  7624. // <e> NRF_TWI_SENSOR_CONFIG_LOG_ENABLED - Enables logging in the module.
  7625. //==========================================================
  7626. #ifndef NRF_TWI_SENSOR_CONFIG_LOG_ENABLED
  7627. #define NRF_TWI_SENSOR_CONFIG_LOG_ENABLED 0
  7628. #endif
  7629. // <o> NRF_TWI_SENSOR_CONFIG_LOG_LEVEL - Default Severity level
  7630. // <0=> Off
  7631. // <1=> Error
  7632. // <2=> Warning
  7633. // <3=> Info
  7634. // <4=> Debug
  7635. #ifndef NRF_TWI_SENSOR_CONFIG_LOG_LEVEL
  7636. #define NRF_TWI_SENSOR_CONFIG_LOG_LEVEL 3
  7637. #endif
  7638. // <o> NRF_TWI_SENSOR_CONFIG_INFO_COLOR - ANSI escape code prefix.
  7639. // <0=> Default
  7640. // <1=> Black
  7641. // <2=> Red
  7642. // <3=> Green
  7643. // <4=> Yellow
  7644. // <5=> Blue
  7645. // <6=> Magenta
  7646. // <7=> Cyan
  7647. // <8=> White
  7648. #ifndef NRF_TWI_SENSOR_CONFIG_INFO_COLOR
  7649. #define NRF_TWI_SENSOR_CONFIG_INFO_COLOR 0
  7650. #endif
  7651. // <o> NRF_TWI_SENSOR_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  7652. // <0=> Default
  7653. // <1=> Black
  7654. // <2=> Red
  7655. // <3=> Green
  7656. // <4=> Yellow
  7657. // <5=> Blue
  7658. // <6=> Magenta
  7659. // <7=> Cyan
  7660. // <8=> White
  7661. #ifndef NRF_TWI_SENSOR_CONFIG_DEBUG_COLOR
  7662. #define NRF_TWI_SENSOR_CONFIG_DEBUG_COLOR 0
  7663. #endif
  7664. // </e>
  7665. // <e> PM_LOG_ENABLED - Enable logging in Peer Manager and its submodules.
  7666. //==========================================================
  7667. #ifndef PM_LOG_ENABLED
  7668. #define PM_LOG_ENABLED 1
  7669. #endif
  7670. // <o> PM_LOG_LEVEL - Default Severity level
  7671. // <0=> Off
  7672. // <1=> Error
  7673. // <2=> Warning
  7674. // <3=> Info
  7675. // <4=> Debug
  7676. #ifndef PM_LOG_LEVEL
  7677. #define PM_LOG_LEVEL 3
  7678. #endif
  7679. // <o> PM_LOG_INFO_COLOR - ANSI escape code prefix.
  7680. // <0=> Default
  7681. // <1=> Black
  7682. // <2=> Red
  7683. // <3=> Green
  7684. // <4=> Yellow
  7685. // <5=> Blue
  7686. // <6=> Magenta
  7687. // <7=> Cyan
  7688. // <8=> White
  7689. #ifndef PM_LOG_INFO_COLOR
  7690. #define PM_LOG_INFO_COLOR 0
  7691. #endif
  7692. // <o> PM_LOG_DEBUG_COLOR - ANSI escape code prefix.
  7693. // <0=> Default
  7694. // <1=> Black
  7695. // <2=> Red
  7696. // <3=> Green
  7697. // <4=> Yellow
  7698. // <5=> Blue
  7699. // <6=> Magenta
  7700. // <7=> Cyan
  7701. // <8=> White
  7702. #ifndef PM_LOG_DEBUG_COLOR
  7703. #define PM_LOG_DEBUG_COLOR 0
  7704. #endif
  7705. // </e>
  7706. // </h>
  7707. //==========================================================
  7708. // <h> nrf_log in nRF_Serialization
  7709. //==========================================================
  7710. // <e> SER_HAL_TRANSPORT_CONFIG_LOG_ENABLED - Enables logging in the module.
  7711. //==========================================================
  7712. #ifndef SER_HAL_TRANSPORT_CONFIG_LOG_ENABLED
  7713. #define SER_HAL_TRANSPORT_CONFIG_LOG_ENABLED 0
  7714. #endif
  7715. // <o> SER_HAL_TRANSPORT_CONFIG_LOG_LEVEL - Default Severity level
  7716. // <0=> Off
  7717. // <1=> Error
  7718. // <2=> Warning
  7719. // <3=> Info
  7720. // <4=> Debug
  7721. #ifndef SER_HAL_TRANSPORT_CONFIG_LOG_LEVEL
  7722. #define SER_HAL_TRANSPORT_CONFIG_LOG_LEVEL 3
  7723. #endif
  7724. // <o> SER_HAL_TRANSPORT_CONFIG_INFO_COLOR - ANSI escape code prefix.
  7725. // <0=> Default
  7726. // <1=> Black
  7727. // <2=> Red
  7728. // <3=> Green
  7729. // <4=> Yellow
  7730. // <5=> Blue
  7731. // <6=> Magenta
  7732. // <7=> Cyan
  7733. // <8=> White
  7734. #ifndef SER_HAL_TRANSPORT_CONFIG_INFO_COLOR
  7735. #define SER_HAL_TRANSPORT_CONFIG_INFO_COLOR 0
  7736. #endif
  7737. // <o> SER_HAL_TRANSPORT_CONFIG_DEBUG_COLOR - ANSI escape code prefix.
  7738. // <0=> Default
  7739. // <1=> Black
  7740. // <2=> Red
  7741. // <3=> Green
  7742. // <4=> Yellow
  7743. // <5=> Blue
  7744. // <6=> Magenta
  7745. // <7=> Cyan
  7746. // <8=> White
  7747. #ifndef SER_HAL_TRANSPORT_CONFIG_DEBUG_COLOR
  7748. #define SER_HAL_TRANSPORT_CONFIG_DEBUG_COLOR 0
  7749. #endif
  7750. // </e>
  7751. // </h>
  7752. //==========================================================
  7753. // </h>
  7754. //==========================================================
  7755. // </e>
  7756. // <q> NRF_LOG_STR_FORMATTER_TIMESTAMP_FORMAT_ENABLED - nrf_log_str_formatter - Log string formatter
  7757. #ifndef NRF_LOG_STR_FORMATTER_TIMESTAMP_FORMAT_ENABLED
  7758. #define NRF_LOG_STR_FORMATTER_TIMESTAMP_FORMAT_ENABLED 1
  7759. #endif
  7760. // </h>
  7761. //==========================================================
  7762. // <h> nRF_NFC
  7763. //==========================================================
  7764. // <q> NFC_AC_REC_ENABLED - nfc_ac_rec - NFC NDEF Alternative Carrier record encoder
  7765. #ifndef NFC_AC_REC_ENABLED
  7766. #define NFC_AC_REC_ENABLED 0
  7767. #endif
  7768. // <q> NFC_AC_REC_PARSER_ENABLED - nfc_ac_rec_parser - Alternative Carrier record parser
  7769. #ifndef NFC_AC_REC_PARSER_ENABLED
  7770. #define NFC_AC_REC_PARSER_ENABLED 0
  7771. #endif
  7772. // <e> NFC_BLE_OOB_ADVDATA_ENABLED - nfc_ble_oob_advdata - AD data for OOB pairing encoder
  7773. //==========================================================
  7774. #ifndef NFC_BLE_OOB_ADVDATA_ENABLED
  7775. #define NFC_BLE_OOB_ADVDATA_ENABLED 0
  7776. #endif
  7777. // <o> ADVANCED_ADVDATA_SUPPORT - Non-mandatory AD types for BLE OOB pairing are encoded inside the NDEF message (e.g. service UUIDs)
  7778. // <1=> Enabled
  7779. // <0=> Disabled
  7780. #ifndef ADVANCED_ADVDATA_SUPPORT
  7781. #define ADVANCED_ADVDATA_SUPPORT 0
  7782. #endif
  7783. // </e>
  7784. // <q> NFC_BLE_OOB_ADVDATA_PARSER_ENABLED - nfc_ble_oob_advdata_parser - BLE OOB pairing AD data parser
  7785. #ifndef NFC_BLE_OOB_ADVDATA_PARSER_ENABLED
  7786. #define NFC_BLE_OOB_ADVDATA_PARSER_ENABLED 0
  7787. #endif
  7788. // <e> NFC_BLE_PAIR_LIB_ENABLED - nfc_ble_pair_lib - Library parameters
  7789. //==========================================================
  7790. #ifndef NFC_BLE_PAIR_LIB_ENABLED
  7791. #define NFC_BLE_PAIR_LIB_ENABLED 0
  7792. #endif
  7793. // <e> NFC_BLE_PAIR_LIB_LOG_ENABLED - Enables logging in the module.
  7794. //==========================================================
  7795. #ifndef NFC_BLE_PAIR_LIB_LOG_ENABLED
  7796. #define NFC_BLE_PAIR_LIB_LOG_ENABLED 0
  7797. #endif
  7798. // <o> NFC_BLE_PAIR_LIB_LOG_LEVEL - Default Severity level
  7799. // <0=> Off
  7800. // <1=> Error
  7801. // <2=> Warning
  7802. // <3=> Info
  7803. // <4=> Debug
  7804. #ifndef NFC_BLE_PAIR_LIB_LOG_LEVEL
  7805. #define NFC_BLE_PAIR_LIB_LOG_LEVEL 3
  7806. #endif
  7807. // <o> NFC_BLE_PAIR_LIB_INFO_COLOR - ANSI escape code prefix.
  7808. // <0=> Default
  7809. // <1=> Black
  7810. // <2=> Red
  7811. // <3=> Green
  7812. // <4=> Yellow
  7813. // <5=> Blue
  7814. // <6=> Magenta
  7815. // <7=> Cyan
  7816. // <8=> White
  7817. #ifndef NFC_BLE_PAIR_LIB_INFO_COLOR
  7818. #define NFC_BLE_PAIR_LIB_INFO_COLOR 0
  7819. #endif
  7820. // <o> NFC_BLE_PAIR_LIB_DEBUG_COLOR - ANSI escape code prefix.
  7821. // <0=> Default
  7822. // <1=> Black
  7823. // <2=> Red
  7824. // <3=> Green
  7825. // <4=> Yellow
  7826. // <5=> Blue
  7827. // <6=> Magenta
  7828. // <7=> Cyan
  7829. // <8=> White
  7830. #ifndef NFC_BLE_PAIR_LIB_DEBUG_COLOR
  7831. #define NFC_BLE_PAIR_LIB_DEBUG_COLOR 0
  7832. #endif
  7833. // </e>
  7834. // <h> NFC_BLE_PAIR_LIB_SECURITY_PARAMETERS - Common Peer Manager security parameters.
  7835. //==========================================================
  7836. // <e> BLE_NFC_SEC_PARAM_BOND - Enables device bonding.
  7837. // <i> If bonding is enabled at least one of the BLE_NFC_SEC_PARAM_KDIST options must be enabled.
  7838. //==========================================================
  7839. #ifndef BLE_NFC_SEC_PARAM_BOND
  7840. #define BLE_NFC_SEC_PARAM_BOND 1
  7841. #endif
  7842. // <q> BLE_NFC_SEC_PARAM_KDIST_OWN_ENC - Enables Long Term Key and Master Identification distribution by device.
  7843. #ifndef BLE_NFC_SEC_PARAM_KDIST_OWN_ENC
  7844. #define BLE_NFC_SEC_PARAM_KDIST_OWN_ENC 1
  7845. #endif
  7846. // <q> BLE_NFC_SEC_PARAM_KDIST_OWN_ID - Enables Identity Resolving Key and Identity Address Information distribution by device.
  7847. #ifndef BLE_NFC_SEC_PARAM_KDIST_OWN_ID
  7848. #define BLE_NFC_SEC_PARAM_KDIST_OWN_ID 1
  7849. #endif
  7850. // <q> BLE_NFC_SEC_PARAM_KDIST_PEER_ENC - Enables Long Term Key and Master Identification distribution by peer.
  7851. #ifndef BLE_NFC_SEC_PARAM_KDIST_PEER_ENC
  7852. #define BLE_NFC_SEC_PARAM_KDIST_PEER_ENC 1
  7853. #endif
  7854. // <q> BLE_NFC_SEC_PARAM_KDIST_PEER_ID - Enables Identity Resolving Key and Identity Address Information distribution by peer.
  7855. #ifndef BLE_NFC_SEC_PARAM_KDIST_PEER_ID
  7856. #define BLE_NFC_SEC_PARAM_KDIST_PEER_ID 1
  7857. #endif
  7858. // </e>
  7859. // <o> BLE_NFC_SEC_PARAM_MIN_KEY_SIZE - Minimal size of a security key.
  7860. // <7=> 7
  7861. // <8=> 8
  7862. // <9=> 9
  7863. // <10=> 10
  7864. // <11=> 11
  7865. // <12=> 12
  7866. // <13=> 13
  7867. // <14=> 14
  7868. // <15=> 15
  7869. // <16=> 16
  7870. #ifndef BLE_NFC_SEC_PARAM_MIN_KEY_SIZE
  7871. #define BLE_NFC_SEC_PARAM_MIN_KEY_SIZE 7
  7872. #endif
  7873. // <o> BLE_NFC_SEC_PARAM_MAX_KEY_SIZE - Maximal size of a security key.
  7874. // <7=> 7
  7875. // <8=> 8
  7876. // <9=> 9
  7877. // <10=> 10
  7878. // <11=> 11
  7879. // <12=> 12
  7880. // <13=> 13
  7881. // <14=> 14
  7882. // <15=> 15
  7883. // <16=> 16
  7884. #ifndef BLE_NFC_SEC_PARAM_MAX_KEY_SIZE
  7885. #define BLE_NFC_SEC_PARAM_MAX_KEY_SIZE 16
  7886. #endif
  7887. // </h>
  7888. //==========================================================
  7889. // </e>
  7890. // <q> NFC_BLE_PAIR_MSG_ENABLED - nfc_ble_pair_msg - NDEF message for OOB pairing encoder
  7891. #ifndef NFC_BLE_PAIR_MSG_ENABLED
  7892. #define NFC_BLE_PAIR_MSG_ENABLED 0
  7893. #endif
  7894. // <q> NFC_CH_COMMON_ENABLED - nfc_ble_pair_common - OOB pairing common data
  7895. #ifndef NFC_CH_COMMON_ENABLED
  7896. #define NFC_CH_COMMON_ENABLED 0
  7897. #endif
  7898. // <q> NFC_EP_OOB_REC_ENABLED - nfc_ep_oob_rec - EP record for BLE pairing encoder
  7899. #ifndef NFC_EP_OOB_REC_ENABLED
  7900. #define NFC_EP_OOB_REC_ENABLED 0
  7901. #endif
  7902. // <q> NFC_HS_REC_ENABLED - nfc_hs_rec - Handover Select NDEF record encoder
  7903. #ifndef NFC_HS_REC_ENABLED
  7904. #define NFC_HS_REC_ENABLED 0
  7905. #endif
  7906. // <q> NFC_LE_OOB_REC_ENABLED - nfc_le_oob_rec - LE record for BLE pairing encoder
  7907. #ifndef NFC_LE_OOB_REC_ENABLED
  7908. #define NFC_LE_OOB_REC_ENABLED 0
  7909. #endif
  7910. // <q> NFC_LE_OOB_REC_PARSER_ENABLED - nfc_le_oob_rec_parser - LE record parser
  7911. #ifndef NFC_LE_OOB_REC_PARSER_ENABLED
  7912. #define NFC_LE_OOB_REC_PARSER_ENABLED 0
  7913. #endif
  7914. // <q> NFC_NDEF_LAUNCHAPP_MSG_ENABLED - nfc_launchapp_msg - Encoding data for NDEF Application Launching message for NFC Tag
  7915. #ifndef NFC_NDEF_LAUNCHAPP_MSG_ENABLED
  7916. #define NFC_NDEF_LAUNCHAPP_MSG_ENABLED 0
  7917. #endif
  7918. // <q> NFC_NDEF_LAUNCHAPP_REC_ENABLED - nfc_launchapp_rec - Encoding data for NDEF Application Launching record for NFC Tag
  7919. #ifndef NFC_NDEF_LAUNCHAPP_REC_ENABLED
  7920. #define NFC_NDEF_LAUNCHAPP_REC_ENABLED 0
  7921. #endif
  7922. // <e> NFC_NDEF_MSG_ENABLED - nfc_ndef_msg - NFC NDEF Message generator module
  7923. //==========================================================
  7924. #ifndef NFC_NDEF_MSG_ENABLED
  7925. #define NFC_NDEF_MSG_ENABLED 0
  7926. #endif
  7927. // <o> NFC_NDEF_MSG_TAG_TYPE - NFC Tag Type
  7928. // <2=> Type 2 Tag
  7929. // <4=> Type 4 Tag
  7930. #ifndef NFC_NDEF_MSG_TAG_TYPE
  7931. #define NFC_NDEF_MSG_TAG_TYPE 2
  7932. #endif
  7933. // </e>
  7934. // <e> NFC_NDEF_MSG_PARSER_ENABLED - nfc_ndef_msg_parser - NFC NDEF message parser module
  7935. //==========================================================
  7936. #ifndef NFC_NDEF_MSG_PARSER_ENABLED
  7937. #define NFC_NDEF_MSG_PARSER_ENABLED 0
  7938. #endif
  7939. // <e> NFC_NDEF_MSG_PARSER_LOG_ENABLED - Enables logging in the module.
  7940. //==========================================================
  7941. #ifndef NFC_NDEF_MSG_PARSER_LOG_ENABLED
  7942. #define NFC_NDEF_MSG_PARSER_LOG_ENABLED 0
  7943. #endif
  7944. // <o> NFC_NDEF_MSG_PARSER_LOG_LEVEL - Default Severity level
  7945. // <0=> Off
  7946. // <1=> Error
  7947. // <2=> Warning
  7948. // <3=> Info
  7949. // <4=> Debug
  7950. #ifndef NFC_NDEF_MSG_PARSER_LOG_LEVEL
  7951. #define NFC_NDEF_MSG_PARSER_LOG_LEVEL 3
  7952. #endif
  7953. // <o> NFC_NDEF_MSG_PARSER_INFO_COLOR - ANSI escape code prefix.
  7954. // <0=> Default
  7955. // <1=> Black
  7956. // <2=> Red
  7957. // <3=> Green
  7958. // <4=> Yellow
  7959. // <5=> Blue
  7960. // <6=> Magenta
  7961. // <7=> Cyan
  7962. // <8=> White
  7963. #ifndef NFC_NDEF_MSG_PARSER_INFO_COLOR
  7964. #define NFC_NDEF_MSG_PARSER_INFO_COLOR 0
  7965. #endif
  7966. // </e>
  7967. // </e>
  7968. // <q> NFC_NDEF_RECORD_ENABLED - nfc_ndef_record - NFC NDEF Record generator module
  7969. #ifndef NFC_NDEF_RECORD_ENABLED
  7970. #define NFC_NDEF_RECORD_ENABLED 0
  7971. #endif
  7972. // <e> NFC_NDEF_RECORD_PARSER_ENABLED - nfc_ndef_record_parser - NFC NDEF Record parser module
  7973. //==========================================================
  7974. #ifndef NFC_NDEF_RECORD_PARSER_ENABLED
  7975. #define NFC_NDEF_RECORD_PARSER_ENABLED 0
  7976. #endif
  7977. // <e> NFC_NDEF_RECORD_PARSER_LOG_ENABLED - Enables logging in the module.
  7978. //==========================================================
  7979. #ifndef NFC_NDEF_RECORD_PARSER_LOG_ENABLED
  7980. #define NFC_NDEF_RECORD_PARSER_LOG_ENABLED 0
  7981. #endif
  7982. // <o> NFC_NDEF_RECORD_PARSER_LOG_LEVEL - Default Severity level
  7983. // <0=> Off
  7984. // <1=> Error
  7985. // <2=> Warning
  7986. // <3=> Info
  7987. // <4=> Debug
  7988. #ifndef NFC_NDEF_RECORD_PARSER_LOG_LEVEL
  7989. #define NFC_NDEF_RECORD_PARSER_LOG_LEVEL 3
  7990. #endif
  7991. // <o> NFC_NDEF_RECORD_PARSER_INFO_COLOR - ANSI escape code prefix.
  7992. // <0=> Default
  7993. // <1=> Black
  7994. // <2=> Red
  7995. // <3=> Green
  7996. // <4=> Yellow
  7997. // <5=> Blue
  7998. // <6=> Magenta
  7999. // <7=> Cyan
  8000. // <8=> White
  8001. #ifndef NFC_NDEF_RECORD_PARSER_INFO_COLOR
  8002. #define NFC_NDEF_RECORD_PARSER_INFO_COLOR 0
  8003. #endif
  8004. // </e>
  8005. // </e>
  8006. // <q> NFC_NDEF_TEXT_RECORD_ENABLED - nfc_text_rec - Encoding data for a text record for NFC Tag
  8007. #ifndef NFC_NDEF_TEXT_RECORD_ENABLED
  8008. #define NFC_NDEF_TEXT_RECORD_ENABLED 0
  8009. #endif
  8010. // <q> NFC_NDEF_URI_MSG_ENABLED - nfc_uri_msg - Encoding data for NDEF message with URI record for NFC Tag
  8011. #ifndef NFC_NDEF_URI_MSG_ENABLED
  8012. #define NFC_NDEF_URI_MSG_ENABLED 0
  8013. #endif
  8014. // <q> NFC_NDEF_URI_REC_ENABLED - nfc_uri_rec - Encoding data for a URI record for NFC Tag
  8015. #ifndef NFC_NDEF_URI_REC_ENABLED
  8016. #define NFC_NDEF_URI_REC_ENABLED 0
  8017. #endif
  8018. // <e> NFC_PLATFORM_ENABLED - nfc_platform - NFC platform module for Clock control.
  8019. //==========================================================
  8020. #ifndef NFC_PLATFORM_ENABLED
  8021. #define NFC_PLATFORM_ENABLED 0
  8022. #endif
  8023. // <e> NFC_PLATFORM_LOG_ENABLED - Enables logging in the module.
  8024. //==========================================================
  8025. #ifndef NFC_PLATFORM_LOG_ENABLED
  8026. #define NFC_PLATFORM_LOG_ENABLED 0
  8027. #endif
  8028. // <o> NFC_PLATFORM_LOG_LEVEL - Default Severity level
  8029. // <0=> Off
  8030. // <1=> Error
  8031. // <2=> Warning
  8032. // <3=> Info
  8033. // <4=> Debug
  8034. #ifndef NFC_PLATFORM_LOG_LEVEL
  8035. #define NFC_PLATFORM_LOG_LEVEL 3
  8036. #endif
  8037. // <o> NFC_PLATFORM_INFO_COLOR - ANSI escape code prefix.
  8038. // <0=> Default
  8039. // <1=> Black
  8040. // <2=> Red
  8041. // <3=> Green
  8042. // <4=> Yellow
  8043. // <5=> Blue
  8044. // <6=> Magenta
  8045. // <7=> Cyan
  8046. // <8=> White
  8047. #ifndef NFC_PLATFORM_INFO_COLOR
  8048. #define NFC_PLATFORM_INFO_COLOR 0
  8049. #endif
  8050. // <o> NFC_PLATFORM_DEBUG_COLOR - ANSI escape code prefix.
  8051. // <0=> Default
  8052. // <1=> Black
  8053. // <2=> Red
  8054. // <3=> Green
  8055. // <4=> Yellow
  8056. // <5=> Blue
  8057. // <6=> Magenta
  8058. // <7=> Cyan
  8059. // <8=> White
  8060. #ifndef NFC_PLATFORM_DEBUG_COLOR
  8061. #define NFC_PLATFORM_DEBUG_COLOR 0
  8062. #endif
  8063. // </e>
  8064. // </e>
  8065. // <e> NFC_T2T_PARSER_ENABLED - nfc_type_2_tag_parser - Parser for decoding Type 2 Tag data
  8066. //==========================================================
  8067. #ifndef NFC_T2T_PARSER_ENABLED
  8068. #define NFC_T2T_PARSER_ENABLED 0
  8069. #endif
  8070. // <e> NFC_T2T_PARSER_LOG_ENABLED - Enables logging in the module.
  8071. //==========================================================
  8072. #ifndef NFC_T2T_PARSER_LOG_ENABLED
  8073. #define NFC_T2T_PARSER_LOG_ENABLED 0
  8074. #endif
  8075. // <o> NFC_T2T_PARSER_LOG_LEVEL - Default Severity level
  8076. // <0=> Off
  8077. // <1=> Error
  8078. // <2=> Warning
  8079. // <3=> Info
  8080. // <4=> Debug
  8081. #ifndef NFC_T2T_PARSER_LOG_LEVEL
  8082. #define NFC_T2T_PARSER_LOG_LEVEL 3
  8083. #endif
  8084. // <o> NFC_T2T_PARSER_INFO_COLOR - ANSI escape code prefix.
  8085. // <0=> Default
  8086. // <1=> Black
  8087. // <2=> Red
  8088. // <3=> Green
  8089. // <4=> Yellow
  8090. // <5=> Blue
  8091. // <6=> Magenta
  8092. // <7=> Cyan
  8093. // <8=> White
  8094. #ifndef NFC_T2T_PARSER_INFO_COLOR
  8095. #define NFC_T2T_PARSER_INFO_COLOR 0
  8096. #endif
  8097. // </e>
  8098. // </e>
  8099. // <e> NFC_T4T_APDU_ENABLED - nfc_t4t_apdu - APDU encoder/decoder for Type 4 Tag
  8100. //==========================================================
  8101. #ifndef NFC_T4T_APDU_ENABLED
  8102. #define NFC_T4T_APDU_ENABLED 0
  8103. #endif
  8104. // <e> NFC_T4T_APDU_LOG_ENABLED - Enables logging in the module.
  8105. //==========================================================
  8106. #ifndef NFC_T4T_APDU_LOG_ENABLED
  8107. #define NFC_T4T_APDU_LOG_ENABLED 0
  8108. #endif
  8109. // <o> NFC_T4T_APDU_LOG_LEVEL - Default Severity level
  8110. // <0=> Off
  8111. // <1=> Error
  8112. // <2=> Warning
  8113. // <3=> Info
  8114. // <4=> Debug
  8115. #ifndef NFC_T4T_APDU_LOG_LEVEL
  8116. #define NFC_T4T_APDU_LOG_LEVEL 3
  8117. #endif
  8118. // <o> NFC_T4T_APDU_LOG_COLOR - ANSI escape code prefix.
  8119. // <0=> Default
  8120. // <1=> Black
  8121. // <2=> Red
  8122. // <3=> Green
  8123. // <4=> Yellow
  8124. // <5=> Blue
  8125. // <6=> Magenta
  8126. // <7=> Cyan
  8127. // <8=> White
  8128. #ifndef NFC_T4T_APDU_LOG_COLOR
  8129. #define NFC_T4T_APDU_LOG_COLOR 0
  8130. #endif
  8131. // </e>
  8132. // </e>
  8133. // <e> NFC_T4T_CC_FILE_PARSER_ENABLED - nfc_t4t_cc_file - Capability Container file for Type 4 Tag
  8134. //==========================================================
  8135. #ifndef NFC_T4T_CC_FILE_PARSER_ENABLED
  8136. #define NFC_T4T_CC_FILE_PARSER_ENABLED 0
  8137. #endif
  8138. // <e> NFC_T4T_CC_FILE_PARSER_LOG_ENABLED - Enables logging in the module.
  8139. //==========================================================
  8140. #ifndef NFC_T4T_CC_FILE_PARSER_LOG_ENABLED
  8141. #define NFC_T4T_CC_FILE_PARSER_LOG_ENABLED 0
  8142. #endif
  8143. // <o> NFC_T4T_CC_FILE_PARSER_LOG_LEVEL - Default Severity level
  8144. // <0=> Off
  8145. // <1=> Error
  8146. // <2=> Warning
  8147. // <3=> Info
  8148. // <4=> Debug
  8149. #ifndef NFC_T4T_CC_FILE_PARSER_LOG_LEVEL
  8150. #define NFC_T4T_CC_FILE_PARSER_LOG_LEVEL 3
  8151. #endif
  8152. // <o> NFC_T4T_CC_FILE_PARSER_INFO_COLOR - ANSI escape code prefix.
  8153. // <0=> Default
  8154. // <1=> Black
  8155. // <2=> Red
  8156. // <3=> Green
  8157. // <4=> Yellow
  8158. // <5=> Blue
  8159. // <6=> Magenta
  8160. // <7=> Cyan
  8161. // <8=> White
  8162. #ifndef NFC_T4T_CC_FILE_PARSER_INFO_COLOR
  8163. #define NFC_T4T_CC_FILE_PARSER_INFO_COLOR 0
  8164. #endif
  8165. // </e>
  8166. // </e>
  8167. // <e> NFC_T4T_HL_DETECTION_PROCEDURES_ENABLED - nfc_t4t_hl_detection_procedures - NDEF Detection Procedure for Type 4 Tag
  8168. //==========================================================
  8169. #ifndef NFC_T4T_HL_DETECTION_PROCEDURES_ENABLED
  8170. #define NFC_T4T_HL_DETECTION_PROCEDURES_ENABLED 0
  8171. #endif
  8172. // <e> NFC_T4T_HL_DETECTION_PROCEDURES_LOG_ENABLED - Enables logging in the module.
  8173. //==========================================================
  8174. #ifndef NFC_T4T_HL_DETECTION_PROCEDURES_LOG_ENABLED
  8175. #define NFC_T4T_HL_DETECTION_PROCEDURES_LOG_ENABLED 0
  8176. #endif
  8177. // <o> NFC_T4T_HL_DETECTION_PROCEDURES_LOG_LEVEL - Default Severity level
  8178. // <0=> Off
  8179. // <1=> Error
  8180. // <2=> Warning
  8181. // <3=> Info
  8182. // <4=> Debug
  8183. #ifndef NFC_T4T_HL_DETECTION_PROCEDURES_LOG_LEVEL
  8184. #define NFC_T4T_HL_DETECTION_PROCEDURES_LOG_LEVEL 3
  8185. #endif
  8186. // <o> NFC_T4T_HL_DETECTION_PROCEDURES_INFO_COLOR - ANSI escape code prefix.
  8187. // <0=> Default
  8188. // <1=> Black
  8189. // <2=> Red
  8190. // <3=> Green
  8191. // <4=> Yellow
  8192. // <5=> Blue
  8193. // <6=> Magenta
  8194. // <7=> Cyan
  8195. // <8=> White
  8196. #ifndef NFC_T4T_HL_DETECTION_PROCEDURES_INFO_COLOR
  8197. #define NFC_T4T_HL_DETECTION_PROCEDURES_INFO_COLOR 0
  8198. #endif
  8199. // </e>
  8200. // <o> APDU_BUFF_SIZE - Size (in bytes) of the buffer for APDU storage
  8201. #ifndef APDU_BUFF_SIZE
  8202. #define APDU_BUFF_SIZE 250
  8203. #endif
  8204. // <o> CC_STORAGE_BUFF_SIZE - Size (in bytes) of the buffer for CC file storage
  8205. #ifndef CC_STORAGE_BUFF_SIZE
  8206. #define CC_STORAGE_BUFF_SIZE 64
  8207. #endif
  8208. // </e>
  8209. // <e> NFC_T4T_TLV_BLOCK_PARSER_ENABLED - nfc_t4t_tlv_block - TLV block for Type 4 Tag
  8210. //==========================================================
  8211. #ifndef NFC_T4T_TLV_BLOCK_PARSER_ENABLED
  8212. #define NFC_T4T_TLV_BLOCK_PARSER_ENABLED 0
  8213. #endif
  8214. // <e> NFC_T4T_TLV_BLOCK_PARSER_LOG_ENABLED - Enables logging in the module.
  8215. //==========================================================
  8216. #ifndef NFC_T4T_TLV_BLOCK_PARSER_LOG_ENABLED
  8217. #define NFC_T4T_TLV_BLOCK_PARSER_LOG_ENABLED 0
  8218. #endif
  8219. // <o> NFC_T4T_TLV_BLOCK_PARSER_LOG_LEVEL - Default Severity level
  8220. // <0=> Off
  8221. // <1=> Error
  8222. // <2=> Warning
  8223. // <3=> Info
  8224. // <4=> Debug
  8225. #ifndef NFC_T4T_TLV_BLOCK_PARSER_LOG_LEVEL
  8226. #define NFC_T4T_TLV_BLOCK_PARSER_LOG_LEVEL 3
  8227. #endif
  8228. // <o> NFC_T4T_TLV_BLOCK_PARSER_INFO_COLOR - ANSI escape code prefix.
  8229. // <0=> Default
  8230. // <1=> Black
  8231. // <2=> Red
  8232. // <3=> Green
  8233. // <4=> Yellow
  8234. // <5=> Blue
  8235. // <6=> Magenta
  8236. // <7=> Cyan
  8237. // <8=> White
  8238. #ifndef NFC_T4T_TLV_BLOCK_PARSER_INFO_COLOR
  8239. #define NFC_T4T_TLV_BLOCK_PARSER_INFO_COLOR 0
  8240. #endif
  8241. // </e>
  8242. // </e>
  8243. // </h>
  8244. //==========================================================
  8245. // <h> nRF_SoftDevice
  8246. //==========================================================
  8247. // <e> NRF_SDH_BLE_ENABLED - nrf_sdh_ble - SoftDevice BLE event handler
  8248. //==========================================================
  8249. #ifndef NRF_SDH_BLE_ENABLED
  8250. #define NRF_SDH_BLE_ENABLED 0
  8251. #endif
  8252. // <h> BLE Stack configuration - Stack configuration parameters
  8253. // <i> The SoftDevice handler will configure the stack with these parameters when calling @ref nrf_sdh_ble_default_cfg_set.
  8254. // <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.
  8255. //==========================================================
  8256. // <o> NRF_SDH_BLE_GAP_DATA_LENGTH <27-251>
  8257. // <i> Requested BLE GAP data length to be negotiated.
  8258. #ifndef NRF_SDH_BLE_GAP_DATA_LENGTH
  8259. #define NRF_SDH_BLE_GAP_DATA_LENGTH 27
  8260. #endif
  8261. // <o> NRF_SDH_BLE_PERIPHERAL_LINK_COUNT - Maximum number of peripheral links.
  8262. #ifndef NRF_SDH_BLE_PERIPHERAL_LINK_COUNT
  8263. #define NRF_SDH_BLE_PERIPHERAL_LINK_COUNT 0
  8264. #endif
  8265. // <o> NRF_SDH_BLE_CENTRAL_LINK_COUNT - Maximum number of central links.
  8266. #ifndef NRF_SDH_BLE_CENTRAL_LINK_COUNT
  8267. #define NRF_SDH_BLE_CENTRAL_LINK_COUNT 0
  8268. #endif
  8269. // <o> NRF_SDH_BLE_TOTAL_LINK_COUNT - Total link count.
  8270. // <i> Maximum number of total concurrent connections using the default configuration.
  8271. #ifndef NRF_SDH_BLE_TOTAL_LINK_COUNT
  8272. #define NRF_SDH_BLE_TOTAL_LINK_COUNT 1
  8273. #endif
  8274. // <o> NRF_SDH_BLE_GAP_EVENT_LENGTH - GAP event length.
  8275. // <i> The time set aside for this connection on every connection interval in 1.25 ms units.
  8276. #ifndef NRF_SDH_BLE_GAP_EVENT_LENGTH
  8277. #define NRF_SDH_BLE_GAP_EVENT_LENGTH 6
  8278. #endif
  8279. // <o> NRF_SDH_BLE_GATT_MAX_MTU_SIZE - Static maximum MTU size.
  8280. #ifndef NRF_SDH_BLE_GATT_MAX_MTU_SIZE
  8281. #define NRF_SDH_BLE_GATT_MAX_MTU_SIZE 23
  8282. #endif
  8283. // <o> NRF_SDH_BLE_GATTS_ATTR_TAB_SIZE - Attribute Table size in bytes. The size must be a multiple of 4.
  8284. #ifndef NRF_SDH_BLE_GATTS_ATTR_TAB_SIZE
  8285. #define NRF_SDH_BLE_GATTS_ATTR_TAB_SIZE 1408
  8286. #endif
  8287. // <o> NRF_SDH_BLE_VS_UUID_COUNT - The number of vendor-specific UUIDs.
  8288. #ifndef NRF_SDH_BLE_VS_UUID_COUNT
  8289. #define NRF_SDH_BLE_VS_UUID_COUNT 0
  8290. #endif
  8291. // <q> NRF_SDH_BLE_SERVICE_CHANGED - Include the Service Changed characteristic in the Attribute Table.
  8292. #ifndef NRF_SDH_BLE_SERVICE_CHANGED
  8293. #define NRF_SDH_BLE_SERVICE_CHANGED 0
  8294. #endif
  8295. // </h>
  8296. //==========================================================
  8297. // <h> BLE Observers - Observers and priority levels
  8298. //==========================================================
  8299. // <o> NRF_SDH_BLE_OBSERVER_PRIO_LEVELS - Total number of priority levels for BLE observers.
  8300. // <i> This setting configures the number of priority levels available for BLE event handlers.
  8301. // <i> The priority level of a handler determines the order in which it receives events, with respect to other handlers.
  8302. #ifndef NRF_SDH_BLE_OBSERVER_PRIO_LEVELS
  8303. #define NRF_SDH_BLE_OBSERVER_PRIO_LEVELS 4
  8304. #endif
  8305. // <h> BLE Observers priorities - Invididual priorities
  8306. //==========================================================
  8307. // <o> BLE_ADV_BLE_OBSERVER_PRIO
  8308. // <i> Priority with which BLE events are dispatched to the Advertising module.
  8309. #ifndef BLE_ADV_BLE_OBSERVER_PRIO
  8310. #define BLE_ADV_BLE_OBSERVER_PRIO 1
  8311. #endif
  8312. // <o> BLE_ANCS_C_BLE_OBSERVER_PRIO
  8313. // <i> Priority with which BLE events are dispatched to the Apple Notification Service Client.
  8314. #ifndef BLE_ANCS_C_BLE_OBSERVER_PRIO
  8315. #define BLE_ANCS_C_BLE_OBSERVER_PRIO 2
  8316. #endif
  8317. // <o> BLE_ANS_C_BLE_OBSERVER_PRIO
  8318. // <i> Priority with which BLE events are dispatched to the Alert Notification Service Client.
  8319. #ifndef BLE_ANS_C_BLE_OBSERVER_PRIO
  8320. #define BLE_ANS_C_BLE_OBSERVER_PRIO 2
  8321. #endif
  8322. // <o> BLE_BAS_BLE_OBSERVER_PRIO
  8323. // <i> Priority with which BLE events are dispatched to the Battery Service.
  8324. #ifndef BLE_BAS_BLE_OBSERVER_PRIO
  8325. #define BLE_BAS_BLE_OBSERVER_PRIO 2
  8326. #endif
  8327. // <o> BLE_BAS_C_BLE_OBSERVER_PRIO
  8328. // <i> Priority with which BLE events are dispatched to the Battery Service Client.
  8329. #ifndef BLE_BAS_C_BLE_OBSERVER_PRIO
  8330. #define BLE_BAS_C_BLE_OBSERVER_PRIO 2
  8331. #endif
  8332. // <o> BLE_BPS_BLE_OBSERVER_PRIO
  8333. // <i> Priority with which BLE events are dispatched to the Blood Pressure Service.
  8334. #ifndef BLE_BPS_BLE_OBSERVER_PRIO
  8335. #define BLE_BPS_BLE_OBSERVER_PRIO 2
  8336. #endif
  8337. // <o> BLE_CONN_PARAMS_BLE_OBSERVER_PRIO
  8338. // <i> Priority with which BLE events are dispatched to the Connection parameters module.
  8339. #ifndef BLE_CONN_PARAMS_BLE_OBSERVER_PRIO
  8340. #define BLE_CONN_PARAMS_BLE_OBSERVER_PRIO 1
  8341. #endif
  8342. // <o> BLE_CONN_STATE_BLE_OBSERVER_PRIO
  8343. // <i> Priority with which BLE events are dispatched to the Connection State module.
  8344. #ifndef BLE_CONN_STATE_BLE_OBSERVER_PRIO
  8345. #define BLE_CONN_STATE_BLE_OBSERVER_PRIO 0
  8346. #endif
  8347. // <o> BLE_CSCS_BLE_OBSERVER_PRIO
  8348. // <i> Priority with which BLE events are dispatched to the Cycling Speed and Cadence Service.
  8349. #ifndef BLE_CSCS_BLE_OBSERVER_PRIO
  8350. #define BLE_CSCS_BLE_OBSERVER_PRIO 2
  8351. #endif
  8352. // <o> BLE_CTS_C_BLE_OBSERVER_PRIO
  8353. // <i> Priority with which BLE events are dispatched to the Current Time Service Client.
  8354. #ifndef BLE_CTS_C_BLE_OBSERVER_PRIO
  8355. #define BLE_CTS_C_BLE_OBSERVER_PRIO 2
  8356. #endif
  8357. // <o> BLE_DB_DISC_BLE_OBSERVER_PRIO
  8358. // <i> Priority with which BLE events are dispatched to the Database Discovery module.
  8359. #ifndef BLE_DB_DISC_BLE_OBSERVER_PRIO
  8360. #define BLE_DB_DISC_BLE_OBSERVER_PRIO 1
  8361. #endif
  8362. // <o> BLE_DFU_BLE_OBSERVER_PRIO
  8363. // <i> Priority with which BLE events are dispatched to the DFU Service.
  8364. #ifndef BLE_DFU_BLE_OBSERVER_PRIO
  8365. #define BLE_DFU_BLE_OBSERVER_PRIO 2
  8366. #endif
  8367. // <o> BLE_DIS_C_BLE_OBSERVER_PRIO
  8368. // <i> Priority with which BLE events are dispatched to the Device Information Client.
  8369. #ifndef BLE_DIS_C_BLE_OBSERVER_PRIO
  8370. #define BLE_DIS_C_BLE_OBSERVER_PRIO 2
  8371. #endif
  8372. // <o> BLE_GLS_BLE_OBSERVER_PRIO
  8373. // <i> Priority with which BLE events are dispatched to the Glucose Service.
  8374. #ifndef BLE_GLS_BLE_OBSERVER_PRIO
  8375. #define BLE_GLS_BLE_OBSERVER_PRIO 2
  8376. #endif
  8377. // <o> BLE_HIDS_BLE_OBSERVER_PRIO
  8378. // <i> Priority with which BLE events are dispatched to the Human Interface Device Service.
  8379. #ifndef BLE_HIDS_BLE_OBSERVER_PRIO
  8380. #define BLE_HIDS_BLE_OBSERVER_PRIO 2
  8381. #endif
  8382. // <o> BLE_HRS_BLE_OBSERVER_PRIO
  8383. // <i> Priority with which BLE events are dispatched to the Heart Rate Service.
  8384. #ifndef BLE_HRS_BLE_OBSERVER_PRIO
  8385. #define BLE_HRS_BLE_OBSERVER_PRIO 2
  8386. #endif
  8387. // <o> BLE_HRS_C_BLE_OBSERVER_PRIO
  8388. // <i> Priority with which BLE events are dispatched to the Heart Rate Service Client.
  8389. #ifndef BLE_HRS_C_BLE_OBSERVER_PRIO
  8390. #define BLE_HRS_C_BLE_OBSERVER_PRIO 2
  8391. #endif
  8392. // <o> BLE_HTS_BLE_OBSERVER_PRIO
  8393. // <i> Priority with which BLE events are dispatched to the Health Thermometer Service.
  8394. #ifndef BLE_HTS_BLE_OBSERVER_PRIO
  8395. #define BLE_HTS_BLE_OBSERVER_PRIO 2
  8396. #endif
  8397. // <o> BLE_IAS_BLE_OBSERVER_PRIO
  8398. // <i> Priority with which BLE events are dispatched to the Immediate Alert Service.
  8399. #ifndef BLE_IAS_BLE_OBSERVER_PRIO
  8400. #define BLE_IAS_BLE_OBSERVER_PRIO 2
  8401. #endif
  8402. // <o> BLE_IAS_C_BLE_OBSERVER_PRIO
  8403. // <i> Priority with which BLE events are dispatched to the Immediate Alert Service Client.
  8404. #ifndef BLE_IAS_C_BLE_OBSERVER_PRIO
  8405. #define BLE_IAS_C_BLE_OBSERVER_PRIO 2
  8406. #endif
  8407. // <o> BLE_LBS_BLE_OBSERVER_PRIO
  8408. // <i> Priority with which BLE events are dispatched to the LED Button Service.
  8409. #ifndef BLE_LBS_BLE_OBSERVER_PRIO
  8410. #define BLE_LBS_BLE_OBSERVER_PRIO 2
  8411. #endif
  8412. // <o> BLE_LBS_C_BLE_OBSERVER_PRIO
  8413. // <i> Priority with which BLE events are dispatched to the LED Button Service Client.
  8414. #ifndef BLE_LBS_C_BLE_OBSERVER_PRIO
  8415. #define BLE_LBS_C_BLE_OBSERVER_PRIO 2
  8416. #endif
  8417. // <o> BLE_LLS_BLE_OBSERVER_PRIO
  8418. // <i> Priority with which BLE events are dispatched to the Link Loss Service.
  8419. #ifndef BLE_LLS_BLE_OBSERVER_PRIO
  8420. #define BLE_LLS_BLE_OBSERVER_PRIO 2
  8421. #endif
  8422. // <o> BLE_LNS_BLE_OBSERVER_PRIO
  8423. // <i> Priority with which BLE events are dispatched to the Location Navigation Service.
  8424. #ifndef BLE_LNS_BLE_OBSERVER_PRIO
  8425. #define BLE_LNS_BLE_OBSERVER_PRIO 2
  8426. #endif
  8427. // <o> BLE_NUS_BLE_OBSERVER_PRIO
  8428. // <i> Priority with which BLE events are dispatched to the UART Service.
  8429. #ifndef BLE_NUS_BLE_OBSERVER_PRIO
  8430. #define BLE_NUS_BLE_OBSERVER_PRIO 2
  8431. #endif
  8432. // <o> BLE_NUS_C_BLE_OBSERVER_PRIO
  8433. // <i> Priority with which BLE events are dispatched to the UART Central Service.
  8434. #ifndef BLE_NUS_C_BLE_OBSERVER_PRIO
  8435. #define BLE_NUS_C_BLE_OBSERVER_PRIO 2
  8436. #endif
  8437. // <o> BLE_OTS_BLE_OBSERVER_PRIO
  8438. // <i> Priority with which BLE events are dispatched to the Object transfer service.
  8439. #ifndef BLE_OTS_BLE_OBSERVER_PRIO
  8440. #define BLE_OTS_BLE_OBSERVER_PRIO 2
  8441. #endif
  8442. // <o> BLE_OTS_C_BLE_OBSERVER_PRIO
  8443. // <i> Priority with which BLE events are dispatched to the Object transfer service client.
  8444. #ifndef BLE_OTS_C_BLE_OBSERVER_PRIO
  8445. #define BLE_OTS_C_BLE_OBSERVER_PRIO 2
  8446. #endif
  8447. // <o> BLE_RSCS_BLE_OBSERVER_PRIO
  8448. // <i> Priority with which BLE events are dispatched to the Running Speed and Cadence Service.
  8449. #ifndef BLE_RSCS_BLE_OBSERVER_PRIO
  8450. #define BLE_RSCS_BLE_OBSERVER_PRIO 2
  8451. #endif
  8452. // <o> BLE_RSCS_C_BLE_OBSERVER_PRIO
  8453. // <i> Priority with which BLE events are dispatched to the Running Speed and Cadence Client.
  8454. #ifndef BLE_RSCS_C_BLE_OBSERVER_PRIO
  8455. #define BLE_RSCS_C_BLE_OBSERVER_PRIO 2
  8456. #endif
  8457. // <o> BLE_TPS_BLE_OBSERVER_PRIO
  8458. // <i> Priority with which BLE events are dispatched to the TX Power Service.
  8459. #ifndef BLE_TPS_BLE_OBSERVER_PRIO
  8460. #define BLE_TPS_BLE_OBSERVER_PRIO 2
  8461. #endif
  8462. // <o> BSP_BTN_BLE_OBSERVER_PRIO
  8463. // <i> Priority with which BLE events are dispatched to the Button Control module.
  8464. #ifndef BSP_BTN_BLE_OBSERVER_PRIO
  8465. #define BSP_BTN_BLE_OBSERVER_PRIO 1
  8466. #endif
  8467. // <o> NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
  8468. // <i> Priority with which BLE events are dispatched to the NFC pairing library.
  8469. #ifndef NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
  8470. #define NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO 1
  8471. #endif
  8472. // <o> NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
  8473. // <i> Priority with which BLE events are dispatched to the NFC pairing library.
  8474. #ifndef NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
  8475. #define NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO 1
  8476. #endif
  8477. // <o> NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
  8478. // <i> Priority with which BLE events are dispatched to the NFC pairing library.
  8479. #ifndef NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO
  8480. #define NFC_BLE_PAIR_LIB_BLE_OBSERVER_PRIO 1
  8481. #endif
  8482. // <o> NRF_BLE_BMS_BLE_OBSERVER_PRIO
  8483. // <i> Priority with which BLE events are dispatched to the Bond Management Service.
  8484. #ifndef NRF_BLE_BMS_BLE_OBSERVER_PRIO
  8485. #define NRF_BLE_BMS_BLE_OBSERVER_PRIO 2
  8486. #endif
  8487. // <o> NRF_BLE_CGMS_BLE_OBSERVER_PRIO
  8488. // <i> Priority with which BLE events are dispatched to the Contiuon Glucose Monitoring Service.
  8489. #ifndef NRF_BLE_CGMS_BLE_OBSERVER_PRIO
  8490. #define NRF_BLE_CGMS_BLE_OBSERVER_PRIO 2
  8491. #endif
  8492. // <o> NRF_BLE_ES_BLE_OBSERVER_PRIO
  8493. // <i> Priority with which BLE events are dispatched to the Eddystone module.
  8494. #ifndef NRF_BLE_ES_BLE_OBSERVER_PRIO
  8495. #define NRF_BLE_ES_BLE_OBSERVER_PRIO 2
  8496. #endif
  8497. // <o> NRF_BLE_GATTS_C_BLE_OBSERVER_PRIO
  8498. // <i> Priority with which BLE events are dispatched to the GATT Service Client.
  8499. #ifndef NRF_BLE_GATTS_C_BLE_OBSERVER_PRIO
  8500. #define NRF_BLE_GATTS_C_BLE_OBSERVER_PRIO 2
  8501. #endif
  8502. // <o> NRF_BLE_GATT_BLE_OBSERVER_PRIO
  8503. // <i> Priority with which BLE events are dispatched to the GATT module.
  8504. #ifndef NRF_BLE_GATT_BLE_OBSERVER_PRIO
  8505. #define NRF_BLE_GATT_BLE_OBSERVER_PRIO 1
  8506. #endif
  8507. // <o> NRF_BLE_GQ_BLE_OBSERVER_PRIO
  8508. // <i> Priority with which BLE events are dispatched to the GATT Queue module.
  8509. #ifndef NRF_BLE_GQ_BLE_OBSERVER_PRIO
  8510. #define NRF_BLE_GQ_BLE_OBSERVER_PRIO 1
  8511. #endif
  8512. // <o> NRF_BLE_QWR_BLE_OBSERVER_PRIO
  8513. // <i> Priority with which BLE events are dispatched to the Queued writes module.
  8514. #ifndef NRF_BLE_QWR_BLE_OBSERVER_PRIO
  8515. #define NRF_BLE_QWR_BLE_OBSERVER_PRIO 2
  8516. #endif
  8517. // <o> NRF_BLE_SCAN_OBSERVER_PRIO
  8518. // <i> Priority for dispatching the BLE events to the Scanning Module.
  8519. #ifndef NRF_BLE_SCAN_OBSERVER_PRIO
  8520. #define NRF_BLE_SCAN_OBSERVER_PRIO 1
  8521. #endif
  8522. // <o> PM_BLE_OBSERVER_PRIO - Priority with which BLE events are dispatched to the Peer Manager module.
  8523. #ifndef PM_BLE_OBSERVER_PRIO
  8524. #define PM_BLE_OBSERVER_PRIO 1
  8525. #endif
  8526. // </h>
  8527. //==========================================================
  8528. // </h>
  8529. //==========================================================
  8530. // </e>
  8531. // <e> NRF_SDH_ENABLED - nrf_sdh - SoftDevice handler
  8532. //==========================================================
  8533. #ifndef NRF_SDH_ENABLED
  8534. #define NRF_SDH_ENABLED 0
  8535. #endif
  8536. // <h> Dispatch model
  8537. // <i> This setting configures how Stack events are dispatched to the application.
  8538. //==========================================================
  8539. // <o> NRF_SDH_DISPATCH_MODEL
  8540. // <i> NRF_SDH_DISPATCH_MODEL_INTERRUPT: SoftDevice events are passed to the application from the interrupt context.
  8541. // <i> NRF_SDH_DISPATCH_MODEL_APPSH: SoftDevice events are scheduled using @ref app_scheduler.
  8542. // <i> NRF_SDH_DISPATCH_MODEL_POLLING: SoftDevice events are to be fetched manually.
  8543. // <0=> NRF_SDH_DISPATCH_MODEL_INTERRUPT
  8544. // <1=> NRF_SDH_DISPATCH_MODEL_APPSH
  8545. // <2=> NRF_SDH_DISPATCH_MODEL_POLLING
  8546. #ifndef NRF_SDH_DISPATCH_MODEL
  8547. #define NRF_SDH_DISPATCH_MODEL 0
  8548. #endif
  8549. // </h>
  8550. //==========================================================
  8551. // <h> Clock - SoftDevice clock configuration
  8552. //==========================================================
  8553. // <o> NRF_SDH_CLOCK_LF_SRC - SoftDevice clock source.
  8554. // <0=> NRF_CLOCK_LF_SRC_RC
  8555. // <1=> NRF_CLOCK_LF_SRC_XTAL
  8556. // <2=> NRF_CLOCK_LF_SRC_SYNTH
  8557. #ifndef NRF_SDH_CLOCK_LF_SRC
  8558. #define NRF_SDH_CLOCK_LF_SRC 1
  8559. #endif
  8560. // <o> NRF_SDH_CLOCK_LF_RC_CTIV - SoftDevice calibration timer interval.
  8561. #ifndef NRF_SDH_CLOCK_LF_RC_CTIV
  8562. #define NRF_SDH_CLOCK_LF_RC_CTIV 0
  8563. #endif
  8564. // <o> NRF_SDH_CLOCK_LF_RC_TEMP_CTIV - SoftDevice calibration timer interval under constant temperature.
  8565. // <i> How often (in number of calibration intervals) the RC oscillator shall be calibrated
  8566. // <i> if the temperature has not changed.
  8567. #ifndef NRF_SDH_CLOCK_LF_RC_TEMP_CTIV
  8568. #define NRF_SDH_CLOCK_LF_RC_TEMP_CTIV 0
  8569. #endif
  8570. // <o> NRF_SDH_CLOCK_LF_ACCURACY - External clock accuracy used in the LL to compute timing.
  8571. // <0=> NRF_CLOCK_LF_ACCURACY_250_PPM
  8572. // <1=> NRF_CLOCK_LF_ACCURACY_500_PPM
  8573. // <2=> NRF_CLOCK_LF_ACCURACY_150_PPM
  8574. // <3=> NRF_CLOCK_LF_ACCURACY_100_PPM
  8575. // <4=> NRF_CLOCK_LF_ACCURACY_75_PPM
  8576. // <5=> NRF_CLOCK_LF_ACCURACY_50_PPM
  8577. // <6=> NRF_CLOCK_LF_ACCURACY_30_PPM
  8578. // <7=> NRF_CLOCK_LF_ACCURACY_20_PPM
  8579. // <8=> NRF_CLOCK_LF_ACCURACY_10_PPM
  8580. // <9=> NRF_CLOCK_LF_ACCURACY_5_PPM
  8581. // <10=> NRF_CLOCK_LF_ACCURACY_2_PPM
  8582. // <11=> NRF_CLOCK_LF_ACCURACY_1_PPM
  8583. #ifndef NRF_SDH_CLOCK_LF_ACCURACY
  8584. #define NRF_SDH_CLOCK_LF_ACCURACY 7
  8585. #endif
  8586. // </h>
  8587. //==========================================================
  8588. // <h> SDH Observers - Observers and priority levels
  8589. //==========================================================
  8590. // <o> NRF_SDH_REQ_OBSERVER_PRIO_LEVELS - Total number of priority levels for request observers.
  8591. // <i> This setting configures the number of priority levels available for the SoftDevice request event handlers.
  8592. // <i> The priority level of a handler determines the order in which it receives events, with respect to other handlers.
  8593. #ifndef NRF_SDH_REQ_OBSERVER_PRIO_LEVELS
  8594. #define NRF_SDH_REQ_OBSERVER_PRIO_LEVELS 2
  8595. #endif
  8596. // <o> NRF_SDH_STATE_OBSERVER_PRIO_LEVELS - Total number of priority levels for state observers.
  8597. // <i> This setting configures the number of priority levels available for the SoftDevice state event handlers.
  8598. // <i> The priority level of a handler determines the order in which it receives events, with respect to other handlers.
  8599. #ifndef NRF_SDH_STATE_OBSERVER_PRIO_LEVELS
  8600. #define NRF_SDH_STATE_OBSERVER_PRIO_LEVELS 2
  8601. #endif
  8602. // <o> NRF_SDH_STACK_OBSERVER_PRIO_LEVELS - Total number of priority levels for stack event observers.
  8603. // <i> This setting configures the number of priority levels available for the SoftDevice stack event handlers (ANT, BLE, SoC).
  8604. // <i> The priority level of a handler determines the order in which it receives events, with respect to other handlers.
  8605. #ifndef NRF_SDH_STACK_OBSERVER_PRIO_LEVELS
  8606. #define NRF_SDH_STACK_OBSERVER_PRIO_LEVELS 2
  8607. #endif
  8608. // <h> State Observers priorities - Invididual priorities
  8609. //==========================================================
  8610. // <o> CLOCK_CONFIG_STATE_OBSERVER_PRIO
  8611. // <i> Priority with which state events are dispatched to the Clock driver.
  8612. #ifndef CLOCK_CONFIG_STATE_OBSERVER_PRIO
  8613. #define CLOCK_CONFIG_STATE_OBSERVER_PRIO 0
  8614. #endif
  8615. // <o> POWER_CONFIG_STATE_OBSERVER_PRIO
  8616. // <i> Priority with which state events are dispatched to the Power driver.
  8617. #ifndef POWER_CONFIG_STATE_OBSERVER_PRIO
  8618. #define POWER_CONFIG_STATE_OBSERVER_PRIO 0
  8619. #endif
  8620. // <o> RNG_CONFIG_STATE_OBSERVER_PRIO
  8621. // <i> Priority with which state events are dispatched to this module.
  8622. #ifndef RNG_CONFIG_STATE_OBSERVER_PRIO
  8623. #define RNG_CONFIG_STATE_OBSERVER_PRIO 0
  8624. #endif
  8625. // </h>
  8626. //==========================================================
  8627. // <h> Stack Event Observers priorities - Invididual priorities
  8628. //==========================================================
  8629. // <o> NRF_SDH_ANT_STACK_OBSERVER_PRIO
  8630. // <i> This setting configures the priority with which ANT events are processed with respect to other events coming from the stack.
  8631. // <i> Modify this setting if you need to have ANT events dispatched before or after other stack events, such as BLE or SoC.
  8632. // <i> Zero is the highest priority.
  8633. #ifndef NRF_SDH_ANT_STACK_OBSERVER_PRIO
  8634. #define NRF_SDH_ANT_STACK_OBSERVER_PRIO 0
  8635. #endif
  8636. // <o> NRF_SDH_BLE_STACK_OBSERVER_PRIO
  8637. // <i> This setting configures the priority with which BLE events are processed with respect to other events coming from the stack.
  8638. // <i> Modify this setting if you need to have BLE events dispatched before or after other stack events, such as ANT or SoC.
  8639. // <i> Zero is the highest priority.
  8640. #ifndef NRF_SDH_BLE_STACK_OBSERVER_PRIO
  8641. #define NRF_SDH_BLE_STACK_OBSERVER_PRIO 0
  8642. #endif
  8643. // <o> NRF_SDH_SOC_STACK_OBSERVER_PRIO
  8644. // <i> This setting configures the priority with which SoC events are processed with respect to other events coming from the stack.
  8645. // <i> Modify this setting if you need to have SoC events dispatched before or after other stack events, such as ANT or BLE.
  8646. // <i> Zero is the highest priority.
  8647. #ifndef NRF_SDH_SOC_STACK_OBSERVER_PRIO
  8648. #define NRF_SDH_SOC_STACK_OBSERVER_PRIO 0
  8649. #endif
  8650. // </h>
  8651. //==========================================================
  8652. // </h>
  8653. //==========================================================
  8654. // </e>
  8655. // <e> NRF_SDH_SOC_ENABLED - nrf_sdh_soc - SoftDevice SoC event handler
  8656. //==========================================================
  8657. #ifndef NRF_SDH_SOC_ENABLED
  8658. #define NRF_SDH_SOC_ENABLED 0
  8659. #endif
  8660. // <h> SoC Observers - Observers and priority levels
  8661. //==========================================================
  8662. // <o> NRF_SDH_SOC_OBSERVER_PRIO_LEVELS - Total number of priority levels for SoC observers.
  8663. // <i> This setting configures the number of priority levels available for the SoC event handlers.
  8664. // <i> The priority level of a handler determines the order in which it receives events, with respect to other handlers.
  8665. #ifndef NRF_SDH_SOC_OBSERVER_PRIO_LEVELS
  8666. #define NRF_SDH_SOC_OBSERVER_PRIO_LEVELS 2
  8667. #endif
  8668. // <h> SoC Observers priorities - Invididual priorities
  8669. //==========================================================
  8670. // <o> BLE_DFU_SOC_OBSERVER_PRIO
  8671. // <i> Priority with which BLE events are dispatched to the DFU Service.
  8672. #ifndef BLE_DFU_SOC_OBSERVER_PRIO
  8673. #define BLE_DFU_SOC_OBSERVER_PRIO 1
  8674. #endif
  8675. // <o> CLOCK_CONFIG_SOC_OBSERVER_PRIO
  8676. // <i> Priority with which SoC events are dispatched to the Clock driver.
  8677. #ifndef CLOCK_CONFIG_SOC_OBSERVER_PRIO
  8678. #define CLOCK_CONFIG_SOC_OBSERVER_PRIO 0
  8679. #endif
  8680. // <o> POWER_CONFIG_SOC_OBSERVER_PRIO
  8681. // <i> Priority with which SoC events are dispatched to the Power driver.
  8682. #ifndef POWER_CONFIG_SOC_OBSERVER_PRIO
  8683. #define POWER_CONFIG_SOC_OBSERVER_PRIO 0
  8684. #endif
  8685. // </h>
  8686. //==========================================================
  8687. // </h>
  8688. //==========================================================
  8689. // <e> NRFX_NVMC_ENABLED - nrfx_nvmc - NVMC peripheral driver
  8690. //==========================================================
  8691. #ifndef NRFX_NVMC_ENABLED
  8692. #define NRFX_NVMC_ENABLED 1
  8693. #endif
  8694. // </e>
  8695. //==========================================================
  8696. #ifndef NRFX_SYSTICK_ENABLED
  8697. #define NRFX_SYSTICK_ENABLED 1
  8698. #endif
  8699. // <<< end of configuration section >>>
  8700. #endif //SDK_CONFIG_H