sdk_config.h 279 KB

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