sdk_config.h 281 KB

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