sdk_config.h 269 KB

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