ChangeLog 1.3 MB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612
  1. 0.1.0 2007-03-09 Gregory Nutt <gnutt@nuttx.org>
  2. * Initial Release
  3. * Support for Linux user mode simulation and TI
  4. TMS320C5471 (Arm7) provided
  5. 0.1.1 2007-03-14 Gregory Nutt <gnutt@nuttx.org>
  6. * Corrected an error in interrupt level context switching
  7. for C5471
  8. * Added fgets() and gets() logic; verified c5471 console read.
  9. * Corrected error in reading from the C5471 serial port:
  10. Improper use of semaphore can cause deadlock.
  11. * Fixed an error in the memory cleanup: The idle task
  12. cannot take semaphores (because it must always be ready
  13. to run).
  14. * Tasks can now accept a configurable maximum number of
  15. input parameters (argc)
  16. * _task_init() was divided into separate functions that
  17. require fewer parameters. This was necessary to keep
  18. the stack usage down for the 8051/2 (which has only
  19. 256 bytes of stack).
  20. * Attempts to use C5471 console from interrupt handlers
  21. can cause errors. Added a special path for this case.
  22. * Refuse calls to sem_wait and sem_trywait from interrupt
  23. handlers. This was happening because interrupt handlers
  24. were calling printf-like functions.
  25. * Added strtok() and strtok_r()
  26. * Added a simple shell called nsh (see examples/nsh).
  27. * Platform support for 8052 is complete but not stable
  28. when the timer interrupt is enabled. Seems to be an
  29. issue when SP enters indirect address space.
  30. * Documentation updates
  31. 0.1.2 2007-03-19 Gregory Nutt <gnutt@nuttx.org>
  32. * Add dirent.h, opendir(), readdir(), closedir(), etc.
  33. * Add strerror()
  34. * Added 'ls' command to nsh
  35. * Added C5471 watchdog driver
  36. * Fixed another bug where free() is called from IDLE task.
  37. Can't do this; the caller must be able to wait for access
  38. to memory.
  39. * Fixed bugs associated with debug output:
  40. Cannot do dbg() in middle of context switch logic.
  41. because it may require use of semaphores and cause
  42. additional context switches. lldbg() is safe.
  43. * Interrupt must be disabled throughout all context switches.
  44. * Separated C5471 serial driver; a shareable part is
  45. in drivers/. ; the C5471 specific part is in arch/C5471.
  46. serial.h defines the interface.
  47. * Fixed mq_receive() and mq_send(): bad memcpy()
  48. * Fixed C5471 signal deliver logic: use of dbg() and
  49. other actions by use signal handler can alter errno.
  50. need to protect errno during signal handling.
  51. * Fixed uninitialized variable in filesystem that could
  52. cause various problems
  53. * Added a test for roundrobin scheduler.
  54. 0.2.1 2007-03-22 Gregory Nutt <gnutt@nuttx.org>
  55. * Fix error in handing signed decimal in vsprintf().
  56. * Major restructuring of header files to get closer to
  57. POSIX compliance.
  58. * Eliminate compilation warnings that crept into recent check-ins
  59. * Add kill()
  60. * Added support for POSIX timers
  61. * Some Documentation updates
  62. * Added support for the Neuros OSD / DM320
  63. 0.2.2 2007-03-26 Gregory Nutt <gnutt@nuttx.org>
  64. * Created the configs/ directory; separated board configuration
  65. from processor architecture logic
  66. * Add memory leak detection test to examples/ostest
  67. * Corrected memory leak in OS pthread join logic
  68. * Corrected memory leaks in examples/ostest due to failures
  69. to join or detach from pthreads.
  70. * Added pthread_once(), pthread_kill(), pthread_sigmask()
  71. * Added pthread_barrierattr_*() APIs
  72. * Added pthread_barrier_init(), pthread_barrier_destroy(), and
  73. pthread_barrier_wait();
  74. * Added pthread barrier test
  75. * Added protection so that errno cannot be modified from
  76. interrupt handling.
  77. * sched_setparam(), sched_setscheduler() now correctly set
  78. errno; pthread_setscheduler() now returns the correct errno.
  79. * Added pthread_setschedprio().
  80. * Added directories to hold board-specific header files
  81. * Added directories to hold board-specific drivers
  82. 0.2.3 2007-03-29 Gregory Nutt <gnutt@nuttx.org>
  83. * mq_receive and mq_send now return errno's appropriately
  84. * mq_receive and mq_send are now correctly awakened by signals.
  85. * Fixed an unmatched sched_lock/unlock pair in task_delete().
  86. * sched_lock must be called in _exit() because operation of
  87. task_delete() can cause pending tasks to be merged and a
  88. context switch to occur.
  89. * Added mq_timedreceive() and mq_timedsend()
  90. * signal mask is now inherited by both child tasks and threads.
  91. * Improved sharebility of stdout among pthreads (only). Nothing
  92. was broken, but by moving the mutual exclusion logic to a
  93. higher level, the printf output is more readable.
  94. * Fixed a bug in file system cleanup: A list was being deleted
  95. before the buffers contained in the list.
  96. * Fixed a bug in the wait-for-message-queue-not-empty logic.
  97. * Added a test of timed mqueue operations; detected and corrected
  98. some mqueue errors.
  99. * Identified and corrected a race condition associated with
  100. pthread_join. In the failure condition, memory was being
  101. deallocated while still in use.
  102. 0.2.4 2007-04-28 Gregory Nutt <gnutt@nuttx.org>
  103. * Verified c5471 build under Cygwin on WinXP
  104. * Makesystem changes to better support different SoCs.
  105. * Made arch/c5471/include and arch/dm320/include identical in
  106. preparation for merging into arch/arm
  107. * Logic from arch/c5471 and arch/dm320 combined into arch/arm.
  108. arch/c5471 and arch/dm320 are deprecated and will be removed
  109. when the new c5471 and dm320 logic is verified.
  110. 0.2.5 2007-05-19 Gregory Nutt <gnutt@nuttx.org>
  111. * Corrected some build/configuration issues introduced with the
  112. last release.
  113. * Added support for the NXP 214x processor on the mcu123.com lpc214x
  114. development board (untested)
  115. * Added support for block devices.
  116. * Simulated target now exports a VFAT filesystem
  117. * Begin support for VFAT filesystem (missing functionality)
  118. * Added mount() and umount()
  119. * Fix bug in memcmp return value
  120. * Fix errors in timeslice calculation (several places)
  121. * Added missing irqrestore() in timer_deleteall().
  122. * close() was not closing the underlying device.
  123. * Added fsync()
  124. * Added strspn() and strcspn()
  125. 0.2.6 2007-05-26 Gregory Nutt <gnutt@nuttx.org>
  126. * Added unlink(), mkdir(), rmdir(), and rename()
  127. * Fixed several serious FAT errors with oflags handling (&& instead of &)
  128. * Added FAT support for unlink(), mkdir(), rmdir(), and rename
  129. * Added FAT support for opendir(), closedir(), readdir(), seekdir(),
  130. telldir(), rewindir().
  131. * Fixed ARM compilation errors introduced in 0.2.5 (that is what I get
  132. for only testing on the simulation).
  133. 0.2.7 2007-06-09 Gregory Nutt <gnutt@nuttx.org>
  134. * Added stat() to fs layer and to FAT
  135. * Fixed reference counting errors associated with mounted filesystems
  136. * Added fat_getattrib() and fat_setattrib()
  137. * Added statfs() to fs layer and to FAT
  138. * Correct file name extension in tools/zipme.sh
  139. * Fix error in dependencies in 8051/2 Makefile
  140. * sched/Makefile: Don't build sleep() or usleep() if signals are disabled
  141. * sched/sched_setparam.c: Remove redundant disabling of interrupts
  142. * sched/usleep.c: Fixed nsec calculation
  143. * lib/lib_strcspn.c: Function incorrectly named strspn().
  144. * examples/ostest/main.c: Errors in SDCC version of a memcpy() call
  145. * examples/ostest/sighand.c: Don't call fflush() if streams are disabled
  146. * include/limits.h, include/time.h, sched/clock_internal.h: A support for
  147. using selectable system timer frequency.
  148. * Fixed error in mountpoint related conditional compilation introduced
  149. in 0.2.5
  150. * Restructured some Makefiles to better handle enabling and disabling
  151. NuttX features without having so much conditional compilation in the
  152. source files.
  153. * tools/mkconfig.c: No longer depends on asprintf() and _GNU_SOURCE and
  154. so should now build in non-GNU, non-GLIBC environments.
  155. * include/nuttx/compiler.h: Fix for using SDCC with the Z80.
  156. * include/assert.h & arch/pjrc-8051/src/up_assert.c: SDCC does support
  157. __FILE__and __LINE__ (not tested)
  158. * examples/ostest/barrier.c: Don't call usleep() when signals are
  159. disabled.
  160. 0.2.8 2007-07-02 Gregory Nutt <gnutt@nuttx.org>
  161. * tools/Makefile.mkconfig: Under Cygwin, executable has a different name
  162. * tools/mkdeps.sh & arch/arm/src/Makefile: Corrected a problem makeing dependencies
  163. * tools/zipme.sh: Force directory name to be nuttx-xx.yy.zz
  164. * fs/fs_opendir.c: Correct errors in semaphore usage that can cause deadlock.
  165. * lib/lib_getopt.c: Added getopt() support
  166. * examples/nsh/: NSH now supports cat, mount, umount, and mkdir. ls supports
  167. -l -s, and -R
  168. * Added basic OS support to manage environment variables: environment
  169. storage, cloning on task creation, sharing on pthread creation, destruction
  170. on thread/task exit.
  171. * Add environment variables APIs: environ, getenv, putenv, clearenv, setenv,
  172. unsetenv
  173. * Correct an error in realloc() when the block is extended "down" in memory.
  174. In this case, the old memory contents need to be copied to the new location
  175. and an allocated bit was not being set.
  176. * examples/ostest/: Added an environment variable test.
  177. * examples/nsh/: Break into several files.
  178. * lib/: Added strrchr, basename, dirname
  179. * examples/nsh/: Add cp, rm, rmdir, set, unset commands. echo will now print
  180. environment variables.
  181. 0.3.0 2007-11-06 Gregory Nutt <gnutt@nuttx.org>
  182. * Imported uIP into the tree (see
  183. http://www.sics.se/~adam/uip/index.php/Main_Page)
  184. * Adding socket(), bind(), connect()
  185. * Added snprintf()
  186. * Added send() and sendto(); integrate write() and close() with socket descriptors.
  187. * Added recv() and recvfrom().
  188. * Added getsockopt() and setsockopt()
  189. * Documentation updated to address socket interfaces.
  190. * Implemented receive timeouts via setsockopt(SO_RCVTIMEO).
  191. * Provide support for multiple network devices
  192. * Implement socket ioctl() calls to set addresses
  193. * Added listen() and accept()
  194. * Added DM90x0 Ethernet driver
  195. * ARP timer is now built into the network layer
  196. * Basic client functionality verified: TCP socket(), bind(), connect(), recv(), send().
  197. 0.3.1 2007-11-19 Gregory Nutt <gnutt@nuttx.org>
  198. * Separated net/uip/uip.c into several functions in several files.
  199. * Corrected a TCP problem where packets were dropped because there was no
  200. recv() in place but the packet was being ACKed. There are still TCP
  201. recv buffering issues, but this is part of a larger buffering issue.
  202. * Basic server functionality verified: TCP listen(), accept()
  203. * Fix DM90x0 driver problem that caused TX overruns
  204. * Add strncmp()
  205. * Added TCP/IP read-ahead buffer to minimize failed ACKs and packet loss.
  206. 0.3.2 2007-11-23 Gregory Nutt <gnutt@nuttx.org>
  207. * Add strcat() and strncat()
  208. * Integrated uIP micro webserver
  209. * Corrected a serious bug in TCP queue management
  210. * Fix leak in socket close logic
  211. * Add TX notification to driver so that it can respond faster to
  212. the availability of TX data.
  213. * Moved urgent data info into device structure.
  214. * TCP and ICMP protocols can now be disabled.
  215. * Added UDP test in examples/udp
  216. * Verified/debugged UDP socket(), bind(), sendto() and recvfrom() logic
  217. using examples/udp
  218. * recvfrom() and accept() now correctly return the remote address.
  219. * Fixed computation error in ntohl().
  220. 0.3.3 2007-11-28 Gregory Nutt <gnutt@nuttx.org>
  221. * Removed unused uIP files
  222. * sched/, mm/, and net/ subsystem debug can not be selectively enabled/disabled
  223. * Correct socket close logic: needs to disconnect TCP socket on close
  224. * uIP webserver now seems to be fully functional
  225. * fs/ and lib/ subystem debug can not be selectively enabled/disabled
  226. * Added vsnprintf
  227. * Integrated uIP telnetd
  228. * Add missing logic to read-ahead buffer logic
  229. * examples/nettest uses larger buffers
  230. * Improved ACK handling in send() to better handler deferred acknowledgements
  231. and polling intervals. Greatly improves send performance.
  232. 0.3.4 2007-12-10 Gregory Nutt <gnutt@nuttx.org>
  233. * Added and partially verified DHCP server logic (netutils/dhcpd)
  234. * Fix BROADCAST=y compilation problems
  235. * Fix UDP recvfrom timeout bug
  236. * Correct processing of input UDP broadcast packets.
  237. * Verfied basic DHCP client functionality (netutils/dhcpc)
  238. * Implemented send() timeout logic
  239. * Added and verified a TELNETD front end to NSH (examples/nsh)
  240. * Add a skeleton Ethernet device driver (drivers/net/skeleton.c)
  241. * Added C5471 Ethernet device driver (arch/arm/src/c5471/c5471_ethernet.c)
  242. * Found and fixed several problems in uIP when compiled for ARM with optimization.
  243. 0.3.5 2007-12-18 Gregory Nutt <gnutt@nuttx.org>
  244. * Added inet_ntoa() and ether_ntoa()
  245. * Added netdev_foreach() to support traversal of registered network devices
  246. * Added support for 'ifconfig' command to NSH (examples/nsh)
  247. * Moved MAC and Ethernet definitions to net/ethernet.h
  248. * Fix sim and DM90x0 compilation errors introduced in 0.3.4
  249. * Fixed errors in C5471 configuration files for examples/uip
  250. * Modified DHCPC (netutils/dhcpc) so that it should work in environments where
  251. there are more than one DHCPD server.
  252. * NSH ifconfig command now shows uIP status as well (examples/nsh)
  253. 0.3.6 2008-01-06 Gregory Nutt <gnutt@nuttx.org>
  254. * Changes for use with SDCC compiler
  255. * Added a simulated z80 target
  256. * Fix deadlock errors when using stdio but with no buffering
  257. * Add support for Pascal P-Code interpreter
  258. 0.3.6.1 2008-01-07 Gregory Nutt <gnutt@nuttx.org>
  259. * The initial 0.3.6 release including an error that prevented
  260. building successfully if the Pascal add-on was
  261. was not present.
  262. 0.3.7 2008-01-31 Gregory Nutt <gnutt@nuttx.org>
  263. * Added support for the Zilog Z16F using the Zilog Z16F2800100ZCOG
  264. Development Kit.
  265. * Add support toolchains that do not support making of dependencies
  266. * Fix Cygwin build with spaces in directory names
  267. * Name make system changes to deal with non-GNU toolchains (i.e., Zilog)
  268. * Add support for Windows native toolchains that cannot follow Cygwin soft links
  269. * Modified serial driver interface to handle hardware with non-16550A-like
  270. interrupt architecture (like the Z16F)
  271. * Added a "dumb" serial console driver to simplify OS bringup
  272. * Corrected a bug that caused the errno value of one task to be clobbered
  273. when a different task exits. Affects all architectures.
  274. 0.3.8 2008-02-10 Gregory Nutt <gnutt@nuttx.org>
  275. * Added a test case to verify the Pascal P-Code interpreter
  276. * Added /dev/zero
  277. * 'errno' is now defined to be *get_errno_ptr() with no name conflicts
  278. * Added lseek() and fseek()
  279. * Integrated Pascal interpreter test case on the simulation platform. Needs
  280. pascal-0.1.1.
  281. * Add Pascal test case on the z16f platform. Needs pascal-0.1.2 (does not
  282. yet work due to some tool issues).
  283. * C buffered I/O fixes:
  284. - Fix fflush() return value,
  285. - Add correct fflush behavior when the FILE argument is null.
  286. - Add logic to a correctly handle read/write access on the same FILE
  287. - fseek() flushes read/write data when before moving the file pointer
  288. - When read data is flushed, reposition the file pointer to account for
  289. buffered, but unread data
  290. * Pascal P-Code files are now standardized to big-endian for portability
  291. * Fix a build problem with z80 and SDCC 2.7.0 (format of a map file changed)
  292. (see bug 1887170)
  293. * Pascal P-Code runtime now compiles with the SDCC toolchain.
  294. * Added a generic CAN driver. This driver is untested as of this writing.
  295. * Corrected DM320 UART configuration problem
  296. 0.3.9 2008-03-09 Gregory Nutt <gnutt@nuttx.org>
  297. * Began adding support for the ZiLOG Z8Encore! microcontroller for the Z8Encore000ZCO
  298. development board and the Z8F6403 part.
  299. * Fix broken 'clean' target on z80sim configurations
  300. * Re-structure arch/z80 to provide support for all ZiLOG 8-bit microcontrollers (ez8
  301. in particular for now).
  302. * Add support for TRS80-Model 3 based on the xtrs emulation (http://www.tim-mann.org/xtrs.html)
  303. Per patch from Jacques Pelletier.
  304. * In all shell scripts, change #!/bin/sh to #!/bin/bash to resolve problems in
  305. Ubuntu where /bin/sh is a link to dash.
  306. * Z8Encore! port verified on ZDS-II instruction set/chip simulator.
  307. 0.3.10 2008-05-15 Gregory Nutt <gnutt@nuttx.org>
  308. * Add support for the ZiLOG EZ80Acclaim microcontrooler (EZ80F91 chip).
  309. * Add configuration for the ZiLOG z8f64200100kit development kit, Z8F6423 part.
  310. * Add configuration for the ZiLOG ez80f0910200kitg development kit, EZ80F091 part.
  311. * Correct critical list handling errors in task shutdown logic: One in timer
  312. deletion logic (timer_delete.c) and one in stream logic (lib_init.c) reported
  313. by kwonsk.
  314. 0.3.11 2008-06-01 Gregory Nutt <gnutt@nuttx.org>
  315. * Add support for recursive mutexes.
  316. * Eliminate a memory leak: contained watchdog instance was not being
  317. deleted with a POSIX timer was deleted reported by kwonsk.
  318. * Eliminate a deadlock condition in opendir() reported by kwonsk.
  319. * Fix several FAT filesystem problems reported by kwonsk (Changes not yet
  320. verified).
  321. * Host simulator no longer uses Linux system calls directly; Now works with Cygwin.
  322. * Fix an error that occurs when a POSIX timer is deleted by the timer signal handler.
  323. * Add logic to allow the examples/ostest to be run repetitively as an endurance test.
  324. * Add a ramdisk block driver
  325. 0.3.12 2008-08-10 Gregory Nutt <gnutt@nuttx.org>
  326. * Improved solution to POSIX timer lifetime controls bug fixed in 0.3.11.
  327. * Add test for recursive mutexes
  328. * Correct bug in recursive mutex logic
  329. * Add mkfifo()
  330. * Add pipe() and test for both pipes and fifos
  331. * Attempts to open a FIFO will now block until there is at least one writer
  332. * Add test/Fixed errors in FIFO reader/writer interlocks
  333. * Removed limitation: task_create() was only dup'ing 3 file descriptors (now
  334. dups all open file descriptors).
  335. * Added a test for redirection of stdio through pipes
  336. * Fixed error in dup and dup2: Must call open/close methods in fs/driver so that
  337. driver can correctly maintain open reference counts.
  338. * Same issue on closing file descriptors in exit()
  339. * Fixed in error in stdio flush logic. Needed ssize_t vs size_t for error
  340. check.
  341. * Moved all FAT related files from fs to fs/fat
  342. * Implemented mkfatfs(), a non-standard API to create a FAT filesystem on a
  343. block device (not yet tested).
  344. * Added a test for mkfatfs() on a RAM disk in examples/mount and verified
  345. basic mkfatfs functionality for FAT12.
  346. 0.3.13 2008-09-01 Gregory Nutt <gnutt@nuttx.org>
  347. * NSH: Added mkfatfs, mkfifo, sleep, usleep and nice commands
  348. * Fixed problem with console input in Cygwin-based simulator; NSH now works
  349. with simulator.
  350. * NSH will now execute commands in background
  351. * sched_get_priority_max/min returned error on SCHED_RR
  352. * Removed duplicate getenv() implementation in /lib
  353. * Correct detection of End-of-File in fgets
  354. * NSH: Implemented sh and crude script handler
  355. * Fix prototype of read() and write(). Need to use ssize_t and size_t, not
  356. int and unsigned int.
  357. * NSH now supports redirection of command output
  358. * NSH can now use both telnet and serial front ends together
  359. * NSH: $variable can be used for any command value
  360. * Fixed an error in opendir() that could cause an assertion to fail
  361. inappropriately.
  362. * Correct an error in the FAT that caused files opened for writing with
  363. O_APPEND to fail. The file was not being properly positioned to the
  364. end of the file in that case.
  365. * NSH now supports last exit status $?
  366. * NSH now supports if-then[-else]-fi construct
  367. * NSH now supports comments beginning with '#'
  368. * NSH now supports commands to inspect and modify memory
  369. * NSH cat command now supports multiple files on command line
  370. * Add chdir() and getcwd()
  371. * Fix error in getopt() when called with argc==1
  372. * Fix error in stat() when used on the root directory
  373. * NSH: Add cd and pwd commands and current working directory to all NSH
  374. commands that refer to paths.
  375. * Fix errors and warnings introduced into Linux sim build because of recent
  376. Cygwin-based sim changes
  377. * NSH: Add mem command to display heap usage
  378. * Added telnet NSH configuration for Neuros OSD.
  379. * Basic integration of concurrent telnet/serial NSH functional on Neuros
  380. OSD.
  381. * Fixed a critical bug that affects the way that environment variables are
  382. shared amongst pthreads.
  383. * uIP port enhance to support multi-threaded, concurrent socket access. So,
  384. for example, one thread can be reading from a socket while another is
  385. writing to the socket.
  386. 0.3.14 2008-09-08 Gregory Nutt <gnutt@nuttx.org>
  387. * FAT FS now uses position variable in struct file. This simplifies operations
  388. like ftell().
  389. * fseek() needs to discard bytes buffered by ungetc().
  390. * Corrected ftell() return value.
  391. * Added fsetpos() and fgetpos().
  392. * NSH: Now supports 'test' and '[' commands
  393. * Correct error in send() timeout logic.
  394. * Correct error in multi-threaded socket handling in send() and sendto().
  395. Outgoing data could overwrite incoming data.
  396. * Add support to uIP for application access to ICMP protocol stacks; Add
  397. ping request logic.
  398. * NSH: Add ping command
  399. * Correct IP checksum calculation in ICMP and UDP message send logic.
  400. * NSH: Created an HTML document and a more detailed README file describing NSH.
  401. * Added basic TFTP client logic (netutils/tftpc).
  402. * NSH: Add get and put commands to support TFTP get and put operations.
  403. * NSH: Added a mkrd command that will create a RAMDISK that can be formatted
  404. and mounted.
  405. * Corrected a critical bug that prevent recvfrom from receiving packets from
  406. any remote UDP port.
  407. * NSH: Add hexadecimal dump command (xd)
  408. * Fixed several critical bugs with regard to fat reading and writing and FAT12
  409. accesses. Basically the FAT FS only worked with my tiny test files and test
  410. cases. A lot of stronger FAT tested is needed!!
  411. * Fixed another FAT bug in implementation of FAT lseek; this prohibit correct
  412. random access to large files.
  413. 0.3.15 2008-09-20 Gregory Nutt <gnutt@nuttx.org>
  414. * Added support for ROMFS filesystem.
  415. * Added a simple test the ROMFS filesystem (examples/romfs)
  416. * NSH: Use ROMFS to provide an option for a start-up script at /etc/init.d/rcS
  417. * Add definition of BIOC_XIPBASE ioctl and implement in RAM disk block driver.
  418. This is a low level requirement for eXecute In Place (XIP) support.
  419. * Add a FIOC_MMAP to perform memory mapping of a file and implemented the
  420. ioctl command in the ROMFS filesystem. This is a requirement for eXecute
  421. In Place (XIP) support.
  422. * Add mmap() API with restricted capability (only for XIP support)
  423. * Extend ROMFS test at /examples/romfs to verify mmap() and XIP support.
  424. * Add support for Intel Hex format output using objcopy
  425. * Completed the basic port of the NXP LPC2148 on the mcu123.com board.
  426. The basic port includes successful booting, timer interrupts, serial console,
  427. succesfully passing the examples/ostest, and a NuttShell (NSH) configuration.
  428. * ARM architectures now support drivers/lowconsole.c
  429. 0.3.16 2008-10-10 Gregory Nutt <gnutt@nuttx.org>
  430. * Added header files defining a common USB device controller architecture
  431. * Added USB device side driver for the LPC214x
  432. * Correct the frequency of system timer interrupts in the NXP LPC214x port
  433. (off by 20x in nuttx-0.3.15)
  434. * Add an option to set aside a separate stack for interrupt handling (ARM only).
  435. This is useful when memory is constrained, there are multiple tasks, and
  436. the interrupt stack requirement is high (as when USB is enabled).
  437. * Added USB serial class device side driver (emulates Prolific PL2303
  438. serial-to-USB adaptor)
  439. * Add LPC214x USB serial configuration; Add examples/usbserial test
  440. * Added USB device side driver for the DM320 (untested at initial release)
  441. * Fixed an error in a previous (post 0.3.15) check-in that broke the LPC214x
  442. system timer.
  443. * Fixed serial driver bugs related to (1) open counts and (2) recognizing
  444. O_NONBLOCK on read.
  445. * Fixed an error in read(); it was not setting the errno on errors returned
  446. from the driver.
  447. 0.3.17 2008-10-28 Gregory Nutt <gnutt@nuttx.org>
  448. * Incorporate patch "[2164503] nuttx-0.3.16 does not build for ARM with USB disabled"
  449. * Reduced the amount of memory reserved for USB serial control requests. It
  450. was unnecessarily large.
  451. * Added LPC214x SPI1 driver to interface with MMC on mcu123.com board.
  452. * Added a simple SPI-based MMC/SD block driver
  453. * NSH: Add LPC214x-specific support to NSH; NSH now mounts any SD cards in the slot.
  454. * FAT: Fix access to unaligned 32-bit values in partion table (start sector & size)
  455. * Fixed a problem with a un-initialized variable in the USB serial driver.
  456. * Added USB storage NXP LPC214x configuration
  457. * Added a test for USB storage under examples/usbstorage
  458. * Fixed a bug in the LPC214x USB driver: It was not properly clearing a HALTed
  459. endpoints (other than EP) on receipt of CLEAR FEATURES request.
  460. * Added USB storage class device side driver (BBB)
  461. * Fixed a bug in the LPC214x USB driver: It was not properly handling request buffers
  462. larger then the endpoint's max packet (DM320 driver also fixed, untested)
  463. * Added logic to the USB device interface: A bit is needed to force the driver to
  464. to terminate an IN transfer with a short packet (zero-length if necessary).
  465. * Fix an error in the NXP LPC214x USB device driver that was causing corruption of
  466. the request queue (M320 driver also fixed, untested)
  467. * Correct another error in the NXP LPC214x USB device driver that caused read failures
  468. when the request buffer size was larger than maxpacket.
  469. * Numerous corrections/extensions to the USB tracing logic included in 0.3.16 (but
  470. not integrated until 0.3.17)
  471. * Fixed another bug in the NXP LPC214x USB device driver: After a stalled endpoint
  472. is resumed (view CLEAR FEATURE), we must restart the IN (outgoing) queue.
  473. 0.3.18 2008-11-16 Gregory Nutt <gnutt@nuttx.org>
  474. * Added port for the STMicro STR71x processor and configuration for the Olimex STR-P711
  475. board (STR71x testing is stalled because I have been unable to get OpenOCD to
  476. communicate with my JTAG wiggler on Linux).
  477. * Fix race condition workaround delay in LPC214X SPI logic. This was also the cause of the
  478. very bad MMC/SD performance.
  479. * Began port of the Hitachi SH-1 using the SH-1/US7032EVB1 board
  480. * Re-built all configurations that use SDCC and Zilog toolchains to make sure they still
  481. build (they didn't, but they do now).
  482. * Fixed several erroneous "list empty" checks in the CAN driver.
  483. * Hitachi SH-1 passes (reduced) examples/ostest; the examples/nsh test still fails.
  484. There are remaining instabilities that make the port un-usable. The nature of these is
  485. not understood; the behavior is that certain SH-1 instructions stop working as advertised.
  486. This could be a silicon problem, some pipeline issue that is not handled properly by the
  487. gcc 3.4.5 toolchain (which has very limit SH-1 support to begin with), or perhaps with the
  488. CMON debugger. At any rate, I have exhausted all of the energy that I am willing to put
  489. into this cool old processor for the time being.
  490. * Renamed configuration item CONFIG_PROC_STACK_SIZE as CONFIG_IDLETHREAD_STACKSIZE: It now
  491. only controls the size of the stack for the IDLE thread. Added CONFIG_USERMAIN_STACKSIZE:
  492. This is the size of stack used with the user_start() thread is created. The two stacks
  493. no longer have to be the same.
  494. * Add a loop device that converts a file into a block device.
  495. * Each NSH command can not be disabled through a configuration setting. All of these
  496. settings make the configuration of NSH potentially complex but also allow it to squeeze
  497. into very small memory footprints.
  498. * Added a block to character (BCH) driver. This is kind of the reverse of the loop
  499. device; it allows you access a block device like a character device.
  500. * Added strcasecmp() and strncasecmp()
  501. * NSH: Added the 'dd' command
  502. * NSH: Added the 'losetup' command
  503. * Fixed a FAT bug: After recent changes, it would mount a (invalid) FAT file system
  504. even if the medium is not formatted!
  505. * Corrected two important errors in FAT lseek implementation: (1) the sectors-per-cluster
  506. value was being reset to "1" and (2) important lseek logic was omitted when the seek
  507. position was zero.
  508. * Fixed a bug in getopt(). It would fail if on certain combinations of terminal argument
  509. types.
  510. 0.3.19 2008-11-26 Gregory Nutt <gnutt@nuttx.org>
  511. * Add poll() and select() APIs (in the initial check-in, these work only with character devices)
  512. * Add poll() methods to /dev/null, /dev/zero, pipes, fifos, and serial drivers.
  513. * Add examples/poll for testing poll() and select()
  514. * Fix hostile behavior of getc, fgetc, getchar, etc.: the serial driver was waiting for a
  515. full buffer of read data before return. This means that getc would stall when it needed
  516. to refill the input buffer. The old behavior (read full blocks) might be useful in other
  517. contexts, so it is still available within the driver as a configuration option.
  518. * Implement poll() and select() support for TCP/IP sockets
  519. * Fixed an important bug in the TCP/IP buffering logic. When TCP/IP read-ahead is enabled
  520. and not recv() is in-place when a TCP/IP packet is received, the packet is placed into
  521. a read-ahead buffer. However, the old contents of the read-ahead buffer were not being
  522. cleared and old data would contaminate the newly received buffer.
  523. * Implemented support for connection backlog. The size of the backlog is specified by the
  524. second argument of the standard listen() API. Hooks are provided to support poll()/select()
  525. waiting for connections, with a subsequent call to accept() to use the backlogged connection.
  526. * Fixed a minor bug in accept(). It should allow the address and addresslen values to be NULL
  527. * Added first-cut definition for a framebuffer interface (and simulated framebuffer for testing
  528. purposes only)
  529. * Added fixed precision math support
  530. * Added some color converson routines into what may become a real graphics library someday.
  531. * Added a framebuffer driver for the DM320 (untested on initial check-in)
  532. * Network: Add support for outgoing multicast addresses
  533. * Added some rasterizers to the graphics library
  534. 0.4.0 2008-12-06 Gregory Nutt <gnutt@nuttx.org>
  535. * Initial release of a tiny windowing system for NuttX
  536. * Add fixed precision sin() and cos() (not well tested at initial check-in)
  537. * Add an X11-based simulated framebuffer driver
  538. * The simulated target now has an option (CONFIG_SIM_WALLTIME) that will let the simulation
  539. run in more-or-less realtime.
  540. * Added more extensive window support: frames, toolbars, etc.
  541. * Added support for bitmap fonts
  542. * Integrated the new font support with a font test in examples/nx
  543. * Add documentation for NX graphics subsystem
  544. 0.4.1 2009-02-06 Gregory Nutt <gnutt@nuttx.org>
  545. * Added board support for the ZiLog eZ80Acclaim! ez80f910200zco Development Kit.
  546. * Fixed several compilation errors in fixed precision math library when built
  547. against toolchains that do not support 64-bit type 'long long'.
  548. * Fix errors in some function prototypes in dirent.h
  549. * Add eZ80F91 EMAC driver
  550. * Fix recvfrom() compilation error: only noted under ZDS
  551. * Updated all ARM Make.def files to work with gcc 2.4.2 (However, there are
  552. still some build issues associated with that toolchain in use of arm-elf-objcopy
  553. -- see the TODO.txt list for details)
  554. * Fix problems with Z16F and eZ80 compilation introduced with recent changes.
  555. 0.4.2 2009-02-28 Gregory Nutt <gnutt@nuttx.org>
  556. * M16C: Add support for the Renesas M16C MCU and the SKP16C26 StarterKit. However,
  557. the target cannot be built because the GNU m16c-elf-ld link fails with
  558. the following message:
  559. m32c-elf-ld: BFD (GNU Binutils) 2.19 assertion fail /home/Owner/projects/nuttx/buildroot/toolchain_build_m32c/binutils-2.19/bfd/elf32-m32c.c:482
  560. Where the reference line is:
  561. /* If the symbol is out of range for a 16-bit address,
  562. we must have allocated a plt entry. */
  563. BFD_ASSERT (*plt_offset != (bfd_vma) -1);
  564. No workaround is known at this time. This is a show stopper for M16C.
  565. * eZ80Acclaim!: Fix interrupt vectors positioning; they were being positioned
  566. wrong by 64 bytes (Kevin Franzen).
  567. * eZ80Acclaim!: Corrected some stack handling errors during interrupt handling
  568. context save and restore (Kevin Franzen).
  569. * eZ80Acclaim!: Corrected vector initializeation logic (Kevin Franzen).
  570. * eZ80Acclaim!: Corrected overflow problem in the calculation of UART baud rate
  571. divisor, the system timer divisor, and the EMAC poll timer.
  572. * eZ80Acclaim!: Fixed GPIO pin configuration get serial output
  573. * eZ80Acclaim!: Correct stack overflow in ostest example configuration
  574. * eZ80Acclaim!: Fixed restoration of interrupts state on interrupt level context swith.
  575. 0.4.3 2009-03-04 Gregory Nutt <gnutt@nuttx.org>
  576. * z8Encore! and eZ80Acclaim!: Fixed the serial driver initialization sequence
  577. * eZ80Acclaim!: Fixed error in vector table: Missing space set aside for the
  578. "unused" vectors. As a result, all vectors above timer4 were skewed.
  579. * eZ80Acclaim!: Fixed logic error in UART interrupt handler.
  580. * Many fixes in FAT file system and in NSH for correct compilation with ZDS-II
  581. * eZ80Acclaim!: Added and verified a NuttShell (NSH) configuration.
  582. * eZ80Acclaim!: Correct endian-ness; defconfig files said BIG endian.
  583. * Restructured parts of the uIP port for correct compilation with ZDS-II
  584. * eZ80Acclaim!: Complete basic integration of the eZ80F91 EMAC driver. The
  585. driver is basically functional and should mature prior to the 0.4.3 release.
  586. * Implemented priority inheritance logic for POSIX semaphores. Because the pthread
  587. mutexes are built on semaphores, they will have this property as well.
  588. 0.4.4 2009-03-29 Gregory Nutt <gnutt@nuttx.org>
  589. * examples/nsh: A debug option was left on that can (and does) cause
  590. infinite loops and stack overflows.
  591. * net/uip: Correct calculation of checksum on ICMP ping response.
  592. * examples/dchpd: Added a tiny DHCP server example
  593. * net/uip: Correct UDP bind behavior. It should select a valid port number
  594. if it receives a port number of zero.
  595. * netutils/dhcpd: correct for ZDS compiler. Fix issue with re-use of a
  596. port number. Fixed a number of broadcast-related problems.
  597. * eZ80Acclaim!: Add a tiny webserver configuration
  598. * eZ80Acclaim!: Fixed an important bug in the EMAC Tx timeout logic. It was
  599. always timing out when the load was heavy and worse, for some reason,
  600. resetting the Tx function caused unexpected registers to be reset in
  601. the Rcv function was well.
  602. * Z80: Patch incorported: "[2696648] Z80: interrupt flag stored in parity bit"
  603. (submitted by JPelletier). The is the same fix that was needed for the
  604. eZ80 and fixed in 0.4.2.
  605. * netutils: Added logic to support a simple wget() function
  606. * examples/wget: Added a test for wget() (untested -- see NOTE)
  607. * lib/strncasecmp: Fix cut'n'paste error in function name.
  608. * NSH: Added wget command (untested -- see NOTE).
  609. * examples/sendmail: A simple sendmail example (untested -- see NOTE)
  610. NOTE: Features related to wget and sendmail are not tested on the target platform
  611. in this release and, hence, most likely have problems. I don't have the correct network
  612. setup to perform that testing now (I'm in a hotel).
  613. 0.4.5 2009-04-19 Gregory Nutt <gnutt@nuttx.org>
  614. * Add an enumeration argument to the SPI chip select and status methods so
  615. that the interface can handle more than one device.
  616. * eZ80Acclaim!: Add a generic SPI driver for all eZ80 boards.
  617. * Add a setmode() method to the SPI interface to handle parts with differing
  618. mode requirements.
  619. * include/nuttx/i2c.h: Defined a standard I2C interface
  620. * eZ80Acclaim!: Add an I2C driver.
  621. * eZ8Encore!: Add an I2C driver.
  622. * Add support for the Freescale i.MX1/L architecture and a configuration for
  623. the Freescale MX1ADS development board.
  624. * examples/helloxx: Added a simple C++ hello world example
  625. * include/css: Added std header files
  626. * libxx: New C++-only directory provides support for minimal C++ applications
  627. 0.4.6 2009-05-19 Gregory Nutt <gnutt@nuttx.org>
  628. * Change SPI interface so that is can accomodate interfaces where the
  629. number of bits per word is greater an 8 (such as with many 9-bit display
  630. interfaces). -- this might have broken a few things which will need to
  631. be retested!
  632. * arch/arm/src/imx: Added i.MX SPI driver
  633. * SPI: Add a method to set the number of bits per word. Also add an
  634. alternative interface for so that (eventually) I can phase the sndblock
  635. and recvblock methods and replace them with a single exchange method
  636. * Build: objcopy fails with toolchains that use newer GCC and binutils. The
  637. following arguments need to be included in the objcopy command line "-R .note
  638. -R .note.gnu.build-id -R .comment" This has been fixed in arch/arm/src/Makefile,
  639. but other architectures may have the same problem. Thanks to Dave Marples
  640. for verifying this.
  641. * configs/eagle100/ostest: Added support for the MicroMint Eagle100 board.
  642. This board has a Luminary LM3S6918 Cortex-M3. Added a configuration to build
  643. examples/ostest.
  644. * arch/arm/src/lpc214x: Add configuration option to enable fast GPIO (vs.
  645. legacy, "slow" GPIO) for LPC214x.
  646. * arch/arm: Restructured the arch/arm directory structure to better support ARM
  647. and Cortex-M3.
  648. * sched/: pthread_create() must return a (non-negated) errno value on failure.
  649. * configs/eagle100/nsh: Add a NuttShell (NSH) configuration for the Eagle-100
  650. 0.4.7 2009-05-29 Gregory Nutt <gnutt@nuttx.org>
  651. * arch/arm/src/lm3s: Added an Ethernet driver for the LM3S6918
  652. * configs/eagle100/nettest: Added an examples/nettest configuration for the
  653. Micromint Eagle100 board.
  654. * Documentation/NuttxPortingGuide.html: Added a section on NuttX device drivers.
  655. * configs/eagle100/httpd: Added an examples/uip configuration for the
  656. Micromint Eagle100 board.
  657. * arch/arm/src/lm3s: Added an SSI driver for the LM3S6918
  658. * examples/nsh: Added MMC/SD support for the LM3S6918
  659. * arch/arm/src/lm3s: Fix logic for setting and clearing output GPIOs (critical
  660. fix!).
  661. * drivers/mmcsd: Found numerous errors in current MMC/SD SPI driver. Bad frequency
  662. calculation based on CSD settings, inappropriate timeouts, odd code that looks like
  663. a bad search and replace. Also needs support for SDHC ver 2.x. New MMC/SD is
  664. largely redesigned and probably non-functional in the first check-in.
  665. * drivers/mmcsd: Changes verified on 4Gb Kingston microSHDC card and on a 2Gb
  666. SanDisk microSDC card on the Eagle100 platform.
  667. * fs/fat: With the 4Gb card, the first tests of FAT32 were (finally) performed.
  668. Found and corrected a problem that prevented use of FAT32: It was not updating
  669. the sector cache before checking the FAT32 FSINFO sector.
  670. * configs/eagle100/*/Make.defs: Added configuration options that should make
  671. it possible to build NuttX for the Eagle100 using CodeSourcery 2009q1 toolchain
  672. and the devkitARM GNU toolchain.
  673. * configs/mcu123-lpc214x/src: Corrected some logic in the LPC2148 SPI receive block
  674. logic. Re-verified SDC ver1.x support with 1Gb Toshiba SDC, 1Gb PNY SDC, and
  675. 4Gb Kingston SDHC. There are CMD0 issues with the 2Gb SanDisk SDC on this board.
  676. * fs/fs_mount.c: Corrected error handling that could cause a deadlock on certain
  677. mount() failures.
  678. 0.4.8 2009-06-13 Gregory Nutt <gnutt@nuttx.org>
  679. * lib/lib_*stream.c: Extend internal stream logic to support incoming streams.
  680. * arch/arm/src/str71x: Serial output is now correct and timer interrupts are
  681. working. The test at configs/olimex-strp711/ostest passes. This means that
  682. the basic STR-P711 port is complete.
  683. * configs/olimex-strp711/nsh: Add and verified a NuttShell (NSH) configuration
  684. for the STR-P711.
  685. * arch/arm/str71x/str71x_serial.c: The STR711 interrupt driven serial driver
  686. finally works after some extradinary measures to handle missed interrupts.
  687. NSH is fully functional on the Olimex STR-P711 board.
  688. * example/nsh: Moved architecture specific files from NSH directory to board-
  689. specific directories.
  690. * config/olimex-strp711/src/up_nsh.c: Add an NSH board specific directory for
  691. for the Olimex STR7P11 board.
  692. * Fixed build of LM3X6918 using the CodeSourcery Windows native toolchain. There
  693. were lots of issues with Cygwin paths and Cygwin symbolic links. These changes
  694. may work with the devarmKIT as well, but that remains untested.
  695. * The NXP LPC2148 and STR711 targets can now also be built using the CodeSourcery
  696. or devkitARM Windows native toolchains.
  697. 0.4.9 2009-06-26 Gregory Nutt <gnutt@nuttx.org>
  698. * Add strtoll() and strtoull(); Add macros for atol() and atoll().
  699. * dup() and dup2() will now clone socket descriptors
  700. * All socket descriptors are now cloned when a new task is started via
  701. task_create().
  702. * Add configuration options to suppress or eliminate cloning of file
  703. and/or socket descriptors when a new task is started by task_create():
  704. CONFIG_FDCLONE_DISABLE, CONFIG_FDCLONE_STDIO, CONFIG_SDCLONE_DISABLE.
  705. * Use of C++ reserved word 'private' in C header files causes problems
  706. for C++ that include them.
  707. * Added 'binfmt' support to allow execution of programs in a file system,
  708. binding to NuttX symbols. A custom format call NXFLAT is used; this
  709. derives from http://xflat.sourceforge.net. At present is supports on
  710. XIP execution from ROMFS file systems. Initial check-in is untested
  711. and probably breaks many builds.
  712. * examples/lib: Added qsort()
  713. * examples/nxflat: Added support for symbol tables
  714. * Correct logic that creates compiler include paths. On Cygwin, the
  715. include paths for Cygwin-based GCC were being converted to windows
  716. native paths. That causes many problems -- breaking dependencies
  717. for one.
  718. * Fixed an important bug in ROMFS. The initial XIP offset was set
  719. incorrectly so if sector zero was read first, there was a bad read.
  720. I don't know how it worked before.
  721. * arch/arm/src/common/up_use_stack.c. Fixed a fatal stack setup error.
  722. This file has been around for a long time, but I don't think it has
  723. every been used before (i.e., prior to the NXFLAT logic)
  724. 0.4.10 2009-08-08 Gregory Nutt <gnutt@nuttx.org>
  725. * lib/: Added some basic regex-subset, pattern matching functions
  726. * lib/: Greatly simplified mktime() and gmtime_r(). The Gregorian and
  727. Julian time calculations were interesting, but not necessary in the
  728. typical embeddd system.
  729. * sched/: Added gettimeofday(). This implementation is simply a thin
  730. wrapper around clock_gettimer().
  731. * lib/: Add gmtime(), localtime(), and strftime()
  732. * binfmt/: Add exec(). This is just a wrapper that executes both
  733. load_ and exec_module() in a more familiar manner. It is not consistent
  734. with more standard exec() functions, however, because (1) it returns
  735. and (2) it requires symbol table arguments.
  736. * lib/: Add fileno()
  737. * examples/ostest: Several of the tests used a big, hard-coded stack size
  738. when creating test threads (16K stacksize). The stack size should
  739. be controlled by the .config file or the OSTest won't work on platforms
  740. with memory constraints.
  741. * netutils/thttpd: An initial port of Jeff Poskanzer's THTTPD HTTP server.
  742. See http://acme.com/software/thttpd/.
  743. * examples/thttpd: A basic test program for THTTPD
  744. * configs/eagle100/thttpd: A build configuration for THTTPD on the Micromint
  745. Eagle-100 LMS6918 (Cortex-M3) board.
  746. * configs/ntosd-dm320/thttpd: A build configuration for THTTPD on the Neuros
  747. DM320 platform.
  748. * lib/: Added strstr() and strpbrk().
  749. * net/recvfrom.c and net/accept(): Sockets now support some non-blocking
  750. operations, specifically for (1) TCP/IP read operations when read-ahead
  751. buffering is enabled, and (2) TCP/IP accept() operations when TCP/IP
  752. connection backlog is enabled.
  753. * fs/fs_fcntl.c and net/net_vfcntl.c: Minimal support provided for fcntl().
  754. It can, at least, be used to mark sockets as blocking or non-blocking.
  755. * net/net_close.c: Fix bug in close(). If reference count not set to zero
  756. then uip_tcpfree() will assert when DEBUG is enabled.
  757. * net/accept.c: Fix bug in accept(). The logic expected parts of the
  758. return address structure to be initialized or it would return an error.
  759. 0.4.11 2009-09-16 Gregory Nutt <gnutt@nuttx.org>
  760. * fs/fs_read.c and fs/fs_write.c. read() and write() to socket is the
  761. same as recv() and send() with flags = 0. Fixed!
  762. * net/recvfrom.c: Fix errors in return value from non-blocking socket read.
  763. * lib/lib_strcasecmp.c and lib/lib_strncasecmp.c. Use of post-incremented
  764. argument to macro caused strcasecmp() and strncasecmp() to fail.
  765. * lib/lib_strstr.c: Length of substring off by one causes false alarm
  766. sub-string matches.
  767. * arch/arm/src/lm3s/lm3s_ethernet.c: Fix errors in LMS6918 FIFO length
  768. handling. (1) The incorrect size of the Ethernet header was being
  769. subtracted on outgoing messages (4 vs 14), which caused outgoing messages to
  770. be a little too long. (2) The size of incoming FIFO messages is 6 bytes
  771. larger than it expected (2 for the length and 4 for the FCS). The unhandled
  772. extra two bytes of length cause the driver to sometimes read one too many
  773. words from the received FIFO (corrupting the next queued receive packet,
  774. if any).
  775. * net/net_poll.c and net/uip/uip_tcpbacklog.c. Fixed an important race condition
  776. bug in polling for connections. The logic worked if the poll was inplace
  777. before the connection was received; but the poll failed to awaken if the
  778. connection was already pending in the backlog when poll() was called.
  779. * net/net_close.c. Fixed another important TCP/IP race condition bug: If
  780. the host closes the TCP connection just before the target calls close(), then
  781. the close operation may hang indefinitely!
  782. * net/net_tcppoll.c. Removed an unnecessary check for outstanding, un-ACKed
  783. data. The NuttX socket layer keeps track of ACKs and doesn't need this check;
  784. removing the check should improve write throughput
  785. * Add DEBUG configuration option to enable debug console output without disabling
  786. optimization (and vice versa)
  787. * Changed lots of occurrences of debug macro dbg() to lldbg(). dbg() uses
  788. stdout to output debug data. That works fine unless (1) the dbg() macro
  789. is interrupt logic and the interrupted task has redirected stdout! Most
  790. changes were in uIP.
  791. * net/uip/uip_tcpinput.c. Connection reference count was not being set correctly
  792. when a socket is created by accepting a new connection. Since the reference
  793. count is bad, such sockets are not successfully duplicated when being passed
  794. to new tasks.
  795. * net/net_clone.c. Similarly, after a socket is cloned, its reference count
  796. was not being initialized.
  797. * lib/lib_strstr.c. Improperly incremented pointer could cause comparison
  798. failures.
  799. * net/. Connection reference count must always be set to zero before calling
  800. uip_tcpfree() or it could trigger a DEBUGASSERT that verifies that the
  801. reference count is zero before freeing a connection structure.
  802. * net/uip/uip_listen.c. uip_accept() consulted the wrong list to find the
  803. listener on a socket. The previous logic worked most of the time, but
  804. occasionally picked the wrong listener.
  805. * net/net_close.c and net/net_sockets.c. Sockets were not being closed
  806. when a task exits. If many server tasks are created and exit without closing
  807. sockets (such as with CGI tasks), then eventually, you will run out of sockets.
  808. * netutils/thttpd. Basic functionality of THTTPD is complete. This includes
  809. serving up files from a file system and executing NXFLAT-based CGI programs
  810. and pipe the stdout back to the HTTP client.
  811. 0.4.12 2009-10-17 Gregory Nutt <gnutt@nuttx.org>
  812. * arch/arm/src/stm32 and configs/stm3210e-eval. Added basic support for the
  813. STMicro STM32, Cortex-M3 MCU. The specific port is to the STMicro STM3210E-EVAL
  814. development board based around the STM32F103ZET6 MCU.
  815. * configs/stm3210e-eval/RIDE. Added a basic STMicro RIDE7 project that can be
  816. used to perform basic STM32 board bring-up (due to RIDE7 size limitations, it
  817. cannot be used for the full NuttX bring-up).
  818. * configs/stm3210e-eval/ostest. The STM32 now passes the basic NuttX OS test
  819. at examples/ostest. The rest should be a piece of cake.
  820. * configs/stm3210e-eval/nsh. Added NuttShell (NSH) example.
  821. * configs/stm3210e-eval/src/stm32102e-internal.h. Fix on-board LED GPIO definitions.
  822. * arch/arm/src/stm32/src/stm32/stm32_dma.c. Added DMA channel support for the STM32
  823. * arch/arm/src/stm32/src/stm32/stm32_spi.c. Added a DMA-based SPI driver for the STM32.
  824. * arch/arm/src/stm32/src/stm32/stm32_serial.c. Finished interrupt-driven,
  825. USART console driver. This makes NSH work perfectly.
  826. * Things left to do for the STM32 deferred to the 0.4.13 release: USB device driver,
  827. LCD driver and NX bringup on the eval board's display and MicroSD support. An SPI
  828. driver was included in the 0.4.12 release, but is not yet tested.
  829. 0.4.13 2009-11-04 Gregory Nutt <gnutt@nuttx.org>
  830. * include/nuttx/mtd.h. Added a simple interface definition to support some
  831. FLASH, EEPROM, NVRAM, etc. devices.
  832. * driver/mtd/m25px.c. Added a driver for SPI based FLASH parts M25P64 and M25P128.
  833. * configs/stm3210e-eval/usbserial. Add a USB serial configuration for the STM32.
  834. Depends on the STM32 USB driver.
  835. * arch/arm/src/cortexm3/up_switchcontext.S & up_svccall.c. Made an improvement
  836. to context switching. There are two types of context switches: interrupt
  837. context switches and background/user context switches. This change should
  838. improve the performance of those background/user context switches by a factor
  839. of about two.
  840. * arch/arm/src/stm32/: Fix several typos in the serial logic. It turns out
  841. that these typose don't make any difference as long as you use only one
  842. serial port and all uarts are configured the same. But the typos are bugs
  843. waiting to happen in any other configuration.
  844. * arch/arm/src/stm32/: You have to configure CTS/RTS function pins for USART
  845. 2 and USART 3 even if you are not using flow control.
  846. * arch/arm/src/stm32/stm32_usbdev.c: Added a USB device-side driver for the
  847. STM32. NOTE: This is an early release of the USB driver. There is at least
  848. one known issue. The examples/usbserial test only executes correctly under
  849. certain conditions (see the full bug description in the TODO list).
  850. * arch/arm/src/stm32/stm32_rcc.c: Fixed an error in clock initialization.
  851. On some boards (none of mine), the HSE (high speed external clock) delay
  852. loop times out if the optimization level is high. The STM32 then falls
  853. back to the HSI (internal clock), and the system clock is too slow by a
  854. factor of 11.1%. This was fixed by simply add the volatile storage class
  855. to the timeout loop counter
  856. * arch/arm/src/stm32/stm32_irq.c: Fixed a critical bug in the interrupt
  857. control logic. The wrong register was being used for interrupts in a
  858. certain range. Worked fine until you try to use an interrupt in that
  859. range!
  860. 4.14 2009-12-02 Gregory Nutt <gnutt@nuttx.org>
  861. * arch/arm/src/stm32/stm32_gpio.c: Add support for configure an input GPIO
  862. to generate an EXTI interrupt.
  863. * config/stm3210e-eval/src/up_buttons.c: Add support for on-board buttons.
  864. * include/nuttx/rwbuffer.h: Add generic support for read-ahead buffering
  865. and write buffering that can be used in any block driver.
  866. * include/nuttx/wqueue.h: Added a generic worker thread that can used to
  867. defer processing from an interrupt to a task.
  868. * include/nuttx/sdio.h: Defines a generic SD/SDIO interface can can be
  869. bound to a MMC/SD driver to provide SDIO-based MMC/SD support.
  870. * drivers/mmcsd/mmcsd_sdio.c: Provides an SDIO-based MMC/SD driver.
  871. * arch/arm/src/stm32/stm32_sdio.c: Provides an STM32 implementation of
  872. the SDIO interface defined in include/nuttx/sdio.h.
  873. * fs/fs_mount.c: Correct error handling logic. If the bind() method
  874. fails, then a reserved node is left in the tree. This causes subsequent
  875. attempts to mount at the location to fail (reporting that the node
  876. already exists). This is a problem for block drivers for removable
  877. media: The bind method could fail repeatedly until media is inserted.
  878. * arch/arm/src/stm32/chip.h & stm32_dma.c: Fixed several definitions
  879. that can cause compilation errors when DMA2 is enabled.
  880. * arch/arm/src/stm32/stm32_dma.c: Integrated and debugged STM32 DMA
  881. functionality that was added in 0.4.12.
  882. * configs/stm3210e-eval/usbstorage: Add a configuration to exercise
  883. the STM32 with the USB mass storage device class example
  884. (examples/usbstorage).
  885. * configs/mcu123-lpc214x/up_usbstrg: Move LPC-specific code from
  886. examples/usbstorage to configs/mcu123-lpc214x.
  887. * configs/stm321e-eval/up_usbstrg: Add STM32-specific logic for the
  888. examples/usbstorage test.
  889. * arch/arm/src/stm32/stm32_usbdev.c: Fix bugs in STM32 USB device-side
  890. driver: (1) Need to disconnect after reset received, (2) Status setup
  891. to recover from stall on TX endpoint.
  892. 5.0 2009-12-21 Gregory Nutt <gnutt@nuttx.org>
  893. * arch/hc: Adding framework to support m68hc11/12
  894. * configs/demo9s12ne64: Configuration to support Freescale DEMO9S12NE64
  895. development board (MC9S12NE64 m68hcs12 processor).
  896. * drivers/mtd/ftl.c: A FLASH translation layer (FTL) has been implemented.
  897. This layer will convert a FLASH MTD interface into a block driver that
  898. can be used with any file system. Good performance of this layer will
  899. depend upon functioning write buffer support!
  900. NOTE: FTL support is untested as of the initial check-in.
  901. * Numerous minor changes for m68hc12 to eliminate compilation errors and
  902. warnings due to the fact that it uses 16-bit integer types and for casts
  903. between uint32 (32-bits) and an mc68hc12 pointer (16-bits).
  904. * sys/types: Size of off_t and blkcnt_t should not depend on size of
  905. int in the architecture; Removed non-standard type STATUS
  906. * include/: Added header files stdint.h, stdbool.h, cxx/cstdint, and
  907. cxx/cstdbool
  908. * Changed ALL references to non-standard fixed-size types (like uint32,
  909. ubyte, etc.) to standard types (like uint32_t, uint8_t, etc.) from
  910. stdint.h. Use type bool and {true, false} from stdbool. This effected
  911. most of the files in the system! Almost all configurations have been
  912. re-built and many have been re-verified in order to get confidence in
  913. these changes.
  914. * graphics/ and examples/nx: Fix numerous build errors that have been
  915. introduced lately. NXGL has suffered some bit-rot from not being used
  916. in some of the most recent ports.
  917. * The misc/pascal NuttX add-on package has been updated to use the new
  918. standard types from stdint.h and stdbool.h and re-integrated with NuttX.
  919. The released pascal-2.0 will be the first version that contains the
  920. compatible changes.
  921. * arch/arm/src/lm3s/lm3s_ethernet.c: Fixed an important bug in the LM3S
  922. Ethernet driver: If full packet is received, the packet-too-big check
  923. will fail because it needs to subtract 6 from the packet size (to
  924. account for the 2-byte packet length and the 4-byte packet FCS in the
  925. FIFO).
  926. * net/accept.c: Fixed a bad assertion (only happens when debug is enabled).
  927. * net/send.c net/uip/uip_tcpseqno.c: Fixed a critical error in the TCP/IP
  928. logic. The NuttX port of uIP imcludes logic to send data ahead without
  929. waiting for ACKs from the recipient; this greatly improves throughput.
  930. However, the packet sequence number was not being updated correctly and,
  931. as a result, packets were not be ACKed by the recipient and transfers
  932. would sometimes stall. This is a very important bug fix (in fact, I
  933. don't understand how TCP/IP worked at all without this fix???)
  934. * include/nuttx/arch.h and arch/*/common/up_udelay.c: Change argument
  935. of up_udelay() to type useconds_t to avoid warnings when sizeof(int)
  936. is 16-bits.
  937. * drivers/mmcsd/*: Add casts in constant expressions to avoid warnings
  938. when sizeof(int) is 16-bits.
  939. 5.1 2010-01-30 Gregory Nutt <gnutt@nuttx.org>
  940. * arch/arm/src/lpc313x and arch/arm/include/lpc313x: Added framework
  941. to support the NXP LPC3131.
  942. * Add configs/ea3131. The LPC3131 port for the Embedded Artist EA3131
  943. (LPC3131) is code complete and waiting for me to get hardware in
  944. hand.
  945. * arch/arm/src/sam3u, arch/arm/include/sam3u, and configs/sam3u-ek -
  946. Added the basic framework needed to begin a port for the SAM3U-EK
  947. development board.
  948. * lib/lib_crc32.c: Add CRC32 logic by Gary S. Brown to lib/. This is
  949. the larger (but faster) table look-up version of the CRC32 algorithm.
  950. * configs/ea3131/tools: Added a tool to create a image suitable for
  951. use with the LPC313x bootloader.
  952. * configs/sam3u-3k/ostest: Completed verification of the basic NuttX
  953. OS test for the SAM3U.
  954. * arch/arm/src/common/up_createstack: stack was always been cleared
  955. when it was allocated. This is a good feature for monitoring the
  956. stack during debug, but really hurts thread start-up performance.
  957. Clearing is now done if CONFIG_DEBUG=y only. Changes was only made
  958. for arm, but really should be made for all architectures.
  959. * configs/sam3u/nsh: Added NSH configuration for SAM3U
  960. 5.2 2010-03-18 Gregory Nutt <gnutt@nuttx.org>
  961. * arch/arm/src/sam3u/sam3u_pio.c: Fix an address calculation error
  962. that caused ports B & C to get mapped to the PIOA base address.
  963. This is an important bugfix! (a patch is available)
  964. * arch/arm/src/lpc313x/lpc313x_boot.c: Fix an error in the vector
  965. initialization was causing a memory fault.
  966. * lib/lib_strtod.c: Add strtod()
  967. * lpc3131/ea3131: Several bring fixes submitted by David Hewson. The
  968. lpc3131 is almost there! Thanks David!
  969. * arch/arm/src/arm/up_head.S: Corrected backward conditional compilation
  970. that selects if vectors are located at 0x0000:0000 or 0xffff:f000.
  971. This fixes the last show stopper bug in the lpc313x bring-up.
  972. * configs/ea3131/nsh: Added a NuttShell (NSH) configuration for the
  973. EA3131.
  974. 5.3 2010-04-11 Gregory Nutt <gnutt@nuttx.org>
  975. * arch/arm/src/lpc313x/lpc313x_usbdev.c: USB driver for the LPC313x
  976. contributed by David Hewson.
  977. * configs/ea3131/src/up_ubstrgc.c, configs/ea3131/usbserial,
  978. configs/ea3131/usbstorage: USB storage and USB serial example support
  979. contributed by David Hewson.
  980. * Several important compilation error fixes in lpc313x and (dualspeed) USB
  981. code also contributed by David Hewson.
  982. * arch/arm/src/sam3u/sam3u_dmac.c: DMA support for the AT90SAM3U.
  983. * arch/arm/src/sam3u/sam3u_hsmci.c: SD memory card support for AT90SAM3U
  984. (Neither the DMA nor the HSMCI driver are functional on the initial checkin).
  985. * drivers/usbdev: Several important fixes to the USB mass storage driver
  986. submitted by David Hewson.
  987. * configs/olimex-lpc2378, arch/arm/include/lpc2378, and arch/arm/src/lpc2378 -
  988. Basic port of the NXP 2378 on the Olimex board contributed by
  989. Rommel Marcelo.
  990. * arch/arm/src/sam3u/sam3u_internal.h: Fixed a critical bug in the AT91SAM3U
  991. PIO decoding. No PIOs greater than 15 could be used on any port! Obviously,
  992. no one has been using this port.
  993. 5.4 2010-04-23 Gregory Nutt <gnutt@nuttx.org>
  994. * include/nuttx/lcd.h: Defines an LCD interface.
  995. * graphics/nxglib/fb and lcd: Support LCD and framebuffer rasterizers for NX.
  996. * configs/sam3u-ek/src/up_lcd.c: LCD driver for LCD on SAM3U-EK development
  997. board.
  998. * configs/sam3u-ek/nx: NX graphics configuration for the SAM3U-EK
  999. 5.5 2010-05-09 Gregory Nutt <gnutt@nuttx.org>
  1000. * drivers/net/enc28j60.c: Microchip ENC28J60 SPI Ethernet chip driver.
  1001. (untested on original check-in).
  1002. * configs/olimex-str7p11/nettest: examples/nettest configuration using
  1003. the ENC28J60 driver on the Olimex STMicro STR-P711.
  1004. (unverified on original check-in)
  1005. * configs/olimex-str7p11/src/up_enc28j60.c: Add ENC28J60 initialization
  1006. logic.
  1007. * configs/olimex-str7p11/src/up_spi.c: Fixed some bugs; added support
  1008. for ENC28J60.
  1009. * arch/arm/src/str7x/str7x_xti.c: Add basic XTI support (external
  1010. interrupts).
  1011. * arch/arm/src/lm3s and arch/arm/include/lm3s: Add definitions for
  1012. LM3S6965
  1013. * configs/lm3s6965-ek: Add configuration for Stellaris LM3S6965
  1014. Evaluation Kit (including basic examples/ostest configuration)
  1015. * lib/lib_dtoa.c and lib/lib_dtoa.c: printf will not print floating
  1016. point values if you select CONFIG_LIBC_FLOATINGPOINT in your
  1017. configuration file. Contributed by Yolande Cates. NOTE: these
  1018. floating point operations have not been well tested and may not
  1019. be portable to all floating point implementations.
  1020. * configs/lm3s6965-ek/nsh: Added NuttShell (NSH) configuration for
  1021. the LM3S6965 Evaluation Kit. Includes both serial and telnet
  1022. interfaces.
  1023. * net/net_close.c: Correct a UDP reference counting error
  1024. 5.6 2010-06-05 Gregory Nutt <gnutt@nuttx.org>
  1025. * drivers/lcd/p14201.c: Driver for RiT P14201 series 128x96 4-bit OLED.
  1026. * configs/lm3s6965-ek/nx: NX graphics configuration for the LM3S6965
  1027. Ethernet Evaluation Kit.
  1028. * graphics/: Numerous fixes to get the P14201 4-bpp grayscale display
  1029. working (there may still be some minor issues .. see the TODO list).
  1030. * arch/arm/include/lpc17xx and arch/arm/src/lpc17xxx: Began port for
  1031. NXP LPC1768. As of the 5.6 release, there is a complete set of
  1032. LPC17xx header files defining all bits in all LPC17xx registers,
  1033. but little else (I still do not have hardware in hand).
  1034. * drivers/mtd/m25px.c: Add support for M25P1 flash part (See NOTE)
  1035. * include/nuttx/i2c.h: Extended I2C interface definition to handle
  1036. multiple transfers (See NOTE).
  1037. * include/nuttx/usbdev.h: Corrected an important macro definition
  1038. needed to correctly handle USB null packet transfers (See NOTE).
  1039. * arch/arm/src/lpc313x: New drivers: I2C and SPI. Plus several
  1040. important LPC313x USB bug fixes (See NOTE).
  1041. NOTE: Contributed by David Hewson.
  1042. 5.7 2010-06-22 Gregory Nutt <gnutt@nuttx.org>
  1043. * configs/nucleus2g: Add ostest configuration for the Nucleus 2G
  1044. LPC1768 board from 2G Engineering (http://www.2g-eng.com/)
  1045. * arch/arm/src/lpc17xx: Added basic LPC17xx boot-up logic,
  1046. interrupt handling, and GPIO configuration.
  1047. * configs/nucleus2g/ostest: Completed bring-up of LPC1768 on
  1048. the Nucleus2G board using the examples/ostest
  1049. * configs/nucleus2g/nsh: Added and verified a NuttShell (NSH)
  1050. configuration for the LPC1768 on the Nucleus2G board.
  1051. 5.8 2010-07-18 Gregory Nutt <gnutt@nuttx.org>
  1052. * configs/nucleus2g/src/up_nsh.c and up_ssp.c: Add support
  1053. for SPI-based MMC/SD cards and integrate into the NSH example.
  1054. * arch/arm/src/lm3s/lm3s_vectors.S: Correct vectors for GPIOC & D
  1055. interrupts.
  1056. * arch/arm/src/lpc17xx/lpc17_clockconfig.c: Power was not being
  1057. provided to GPIO module. This is a critical bugfix!
  1058. * arch/arm/src/lpc17xx/lpc17_serial.c: Improved logic to handle
  1059. missed TX interrupts.
  1060. * arch/arm/src/lpc17xx/lpc17_ssp.c: Fix a hard fault during SSP
  1061. initialization.
  1062. * configs/nucleus2g/src/up_led.c: Change how LEDs are controlled
  1063. so that they can be used both for NuttX instrumentation and
  1064. by application software.
  1065. * include/net/uip/igmp.h and uip-igmp.h: Add header files ini
  1066. preparation for NuttX IGMP support
  1067. * net/uip/uip_igmp*.c: Add IGMP support (untested on initial
  1068. checkin).
  1069. * examples/igmp: Add a trivial test for IGMP (much more is needed)
  1070. * configs/nucleus2g/usbserial and usbstorage: Add USB configurations
  1071. for testing purposes.
  1072. * arch/arm/src/common/up_internal.h, cortexm3/up_assert.c,
  1073. */*_vectors.S: Correct compilations errors when CONFIG_ARCH_INTERRUPTSTACK
  1074. is enabled (feature still not tested)
  1075. 5.9 2010-08-25 Gregory Nutt <gnutt@nuttx.org>
  1076. * examples/nsh/nsh_telnetd.c: Fix compilation errors that happen
  1077. when both DHCPC and TELNETD are enabled in the Nuttshell.
  1078. * graphics/nxglib/fb/nxglib_moverectangle.c: Fix a logic error
  1079. that caused an uninitialized variable warning. I still don't
  1080. have a test to prove that the changes are correct.
  1081. * configs/olimex-lpc2378: Add support for the CodeSourcery toolchain
  1082. under Linux (contributed by Alan Carvalho de Assis).
  1083. * arch/arm/src/lpc17xx/lpc17_gpio.c: Fix an important GPIO configuration
  1084. bug: When attempting to set no pull-up or pull-down (floating),
  1085. it would, instead, select pull-down.
  1086. * arch/arm/src/lm3s/lm3s_gpioirq.c: Fix warning for returning a value
  1087. from functions returning void (contributed by Tiago Maluta).
  1088. * netutils/dhcpc/dhcpc.c: lease_time was not in host order
  1089. * examples/uip/main.c: if DHCPC is selected, this example now shows
  1090. the assigned IP address.
  1091. * arch/arm/src/lm3s and arch/arm/include/lm3s: Definitions for the
  1092. TI LM3S9B96 contributed by Tiago Maluta.
  1093. * arch/arm/src/lm3s/lm3s_gioirq.c: Fix a logic error in the address
  1094. table lookup.
  1095. * arch/arm/src/lm3s/lm3s_gioirq.c: Also needs to enable the global
  1096. GPIO interrupts.
  1097. * arch/arm/src/lm3s/lm3s_internal.h and lm3s_gpio.c: Fixed the encoding
  1098. of GPIO port number that limited support for GPIO ports to 8
  1099. * sched/pg_*.c and *.c and include/nuttx/page.h: Implemented the
  1100. common, core logic for on-demand paging. See
  1101. http://www.nuttx.org/NuttXDemandPaging.html for details.
  1102. * drivers/usbdev/usbdev_serial.c: Correct compilation errors that
  1103. occur if CONFIG_USBDEV_DUALSPEED is selected.
  1104. * configs/ea3131/pgnsh: Add an NSH configuration with on-demand paging
  1105. enabled. This is not expected to be a functionality configuration (at
  1106. least not yet); it was created in order to debug the on-demand paging
  1107. feature.
  1108. * configs/ntosd-dm320/*/Make.defs: Codesourcery and devkitARM toolchains
  1109. now supported for the Neuros OSD.
  1110. * configs/ntosd-dm320 and arch/arm/src/dm320: Add support for the
  1111. Neuros production OSD (changes contributed by bf.nuttx).
  1112. 5.10 2010-09-07 Gregory Nutt <gnutt@nuttx.org>
  1113. * configs/ea3131/locked: Create logic to support a two pass build
  1114. process: The first pass forces critical logic into the locked text
  1115. region, the second pass builds the NuttX executable more-or-less as
  1116. normal.
  1117. * Makefile, arch/arm/src/Makefile, configs/ea3131: Add logic to
  1118. support a two-pass final link. This logic is only in place in
  1119. the arch/arm/src/Makefile for now.
  1120. * arch/arm/src/lpc17xx/lpc17_internal.h: Add missing parentheses in
  1121. macros definitions (patch submitted by Tiago Maluta).
  1122. * Documents/NuttxPortingGuide.html, configs/README.txt, etc. -
  1123. Replaced CONFIG_EXAMPLE with CONFIG_APP_DIR (see documents for
  1124. description). This allows NuttX application code to be built
  1125. outside of the examples/ directory.
  1126. For people who have their own configurations and/or Makefiles,
  1127. you will need to make a couple of changes:
  1128. - Replace all occurrences of CONFIG_EXAMPLE=foobar with
  1129. CONFIG_APP_DIR=examples/foobar in all of the configuration
  1130. files.
  1131. - Replace any occurrences of examples/$(CONFIG_EXAMPLE) with
  1132. $(CONFIG_APP_DIR)
  1133. - Replace any occurrences of lib$(CONFIG_EXAMPLE)$(LIBEXT)
  1134. with libapp$(LIBEXT) in your Makefiles.
  1135. - Check any other occurrences of CONFIG_EXAMPLE.
  1136. * arch/arm/src/lpc313x/lpc313x_spi.c: Fix compilation error when
  1137. when CONFIG_DEBUG is enabled.
  1138. * arch/arm/src/lm3s and arch/arm/include/lm3s: Support for the
  1139. lm3s8962 contributed by Larry Arnold.
  1140. * configs/lm328962-ek: Support for the TI/Stellaris EKC-LM3S8962
  1141. board (also contributed by Larry Arnold).
  1142. * arch/arm/src/lpc313x/lpc313x_boot.c: The call to lpc313x_boardinitialized()
  1143. should not be conditioned on CONFIG_ARCH_LEDs being defined!
  1144. * arch/arm/src/lpc313x/: APB0 and APB1 cannot lie in different
  1145. sections; they are too close together.
  1146. * arch/arm/src/lpc313x/lpc13x_boot.c: Resetting all of the clocking
  1147. had a side effect of wiping out the first 6 words of memory where the
  1148. interrupt vectors are located (and also not resetting the fractional
  1149. dividers). This is not usually noticeable because the IRQ vectors
  1150. are after this point, but really causes problems if you want to handle
  1151. data and prefectch aborts which are within this zeroed region.
  1152. 5.11 2010-10-01 Gregory Nutt <gnutt@nuttx.org>
  1153. * configs/ea3131/src/up_fillpage.c: Added new configuration item
  1154. CONFIG_PAGING_BINPATH. If CONFIG_PAGING_BINPATH is defined, then it
  1155. is the full path to a file on a mounted file system that contains
  1156. a binary image of the NuttX executable. Pages will be filled by
  1157. reading from offsets into this file that correspond to virtual
  1158. fault addresses. up_fillpage.c implements logic to perform page
  1159. files using the CONFIG_PAGING_BINPATH file.
  1160. * configs/mbed: Add configuration to support the mbed.org LPC1768
  1161. board (Contributed by Dave Marples).
  1162. * sched/sem_wait.c and sem_waitirq.c: Eliminate a race condition
  1163. that can occur when a semaphore wait is interrupt by a signal.
  1164. (see email thread: https://groups.yahoo.com/neo/groups/nuttx/conversations/messages/530)
  1165. * drivers/mtd/at45db.c: Add a driver for the Atmel AT45DB161D 4Mbit
  1166. SPI FLASH part (untested on initial check-in).
  1167. * arch/arm/src/lm3s and arch/arm/include/lm3s: Corrections for the
  1168. lm3s8962 port contributed by Larry Arnold. That port is purported
  1169. to work correctly with these changes in place.
  1170. * examples/ostest/prioinherit.c: Need to reinitialize globals if
  1171. test is ran repeatedly in a loop.
  1172. * configs/ez80f910200zco: Updated to used ZDS-II 4.11.1
  1173. 5.12 2010-10-26 Gregory Nutt <gnutt@nuttx.org>
  1174. * arch/avr: Add a place to support AVR family processors.
  1175. * arch/avr/include/avr32 and arch/avr/src/avr32: Add support for AVR32
  1176. (all of the AVR32 is a work in progress).
  1177. * arch/avr/include/at32uc3 and arch/avr/src/at32uc3: Add support
  1178. for the AVR32 UC3A/B family of AVR32 MCUs.
  1179. * configs/avr32dev1: Add support for the Atmel AVR32DEV1 board featuring
  1180. the AT32UC3B0256 MCU. This board is produced by www.mcuzone.com.
  1181. * include/stdlib.h, lib/Makefile, lib/lib_abs.c, lib/lib_labs.c,
  1182. lib_labs.c, lib_llabs.c, lib_imaxabs.c: Add abs(), labs(), llabs(), and
  1183. imaxabs().
  1184. * Add include/inttypes.h
  1185. * arch/hc/src/mc9s12ne64: This hcs12 port grew a few more files. But it
  1186. is still a long way from complete.
  1187. * arch/*/src/*/*_sigdeliver.c: Fixed a serious error in the signal
  1188. trampoline logic. Essentially, interrupts are re-enabled while the
  1189. signal handler executes, but the logic to re-disable the interrupts
  1190. before returning from the signal handler trampoline was missing. Under
  1191. certain circumstances, this can cause stack corruption. This was
  1192. discovered by David Hewson on an ARM9 platform, but since the code
  1193. has been leveraged, the bug has been propogated from ARM to Cortex-M3,
  1194. AVR32, M16C, SH1, ZNEO, eZ80, Z8, and Z80 -- almost every architecture.
  1195. The correction has been incorporated for all architectures but only
  1196. verified on a few.
  1197. 5.13 2010-11-09 Gregory Nutt <gnutt@nuttx.org>
  1198. * lib/lib_strnlen.c: Added POSIX 2008 strnlen() function. Contributed
  1199. by Michael Hrabanek.
  1200. * Fix wild, consistent naming error. For some reason, I called the at32uc3*
  1201. parts at91uc* everywhere. Fixed by changing lots of files and directories.
  1202. * configs/avr32dev1/ostest: The AVR32 port now successfully passes the
  1203. examples/ostest. We have a good AVR32 port!
  1204. * configs/avr32dev1/nsh: Added a configuration to support the NuttShell
  1205. (NSH). As of this writing, here is a problem receiving serial data (this
  1206. is, very likely, my hardware setup).
  1207. * lib/lib_open.c: Fix an error in fdopen when a valid file descriptor does
  1208. not refer to an open file.
  1209. * configs/olimex-lpc1766stk: Add support for the Olimex LPC1766-STK
  1210. development board. The OS test and NSH configurations (only) have been
  1211. verified.
  1212. 5.14 2010-11-27 Gregory Nutt <gnutt@nuttx.org>
  1213. * configs/olimex-lpc1766stk/nettest: Add examples/nettest configuration to
  1214. verify the LPC17xx Ethernet driver currently under development.
  1215. * arch/arm/src/lpc17xx/lpc17xx_ethernet.c/.h: Began development of
  1216. the LPC17xx Ethernet driver. Driver in CVS functional after 2010-11-23.
  1217. * sched/timer_settime.c: Fix an error in set-up of a one-shot POSIX timer. It
  1218. was using the repititive timer value (which is zero in the one-shot case),
  1219. always resulting in a 10Ms timer! Found and fixed by Wilton Tong.
  1220. * arch/arm/src/lpc17xx/lpc17_vector.S, stm32/stm32_vector.S, lm3s/lm3s_vector.S,
  1221. sam3u/sam3u_vector.S: Fixed a hard fault problem that can occur if certain
  1222. types of interrupts are pending at the time another interrupt returns
  1223. (SYSTICK). This has not been verified on all plaforms, but is a critical
  1224. fixed that is needed by all Cortex-M3 NuttX users.
  1225. * configs/olimex-lpc1766stk/thttpd: Add a THTTPD configuration for the
  1226. Olimex LPC2766-STK board. Verified successfully.
  1227. * net/uip/uip_tcpappsend.c: Correct an important logic bug in some uIP state
  1228. data the is used to manage retransmissions. The uIP logic was incompatible
  1229. with the retransmission logic of net/send.c in one place. The final error
  1230. was that the final packet in a sequence of packets was too large! In the
  1231. THTTPD example, this would leave some garbage at the bottom of the display
  1232. (or worse). I don't know why I haven't see this bug before???
  1233. * net/uip/uip_tcpinput.c: The change to uip_tcpappsend.c unmasked an
  1234. additional error in the TCP sequence number handling. This sympom was that
  1235. the send() function would hang with outstanding, unacknowledged data (with
  1236. no re-transmit requests). The was due to differences in sequence number
  1237. handling in send() and in uip_tcpinput.c; uip_tcpinput.c thought (incorrectly)
  1238. that all of the bytes were acknowledged; send.c knew that they were not.
  1239. 5.15 2010-12-12 Gregory Nutt <gnutt@nuttx.org>
  1240. * net/uip/uip_tcpaddsend.c and net/send.c: Another place where the TCP sequence
  1241. number problem "fixed" in 5.14 might occur.
  1242. * net/send.c: Check if the destination IP address is in the ARP table. If
  1243. not, then don't consider the packet sent. It won't be, an ARP packet will go
  1244. out instead. This improves behavior, for example, on the first GET request
  1245. from a browser.
  1246. * arch/arm/src/lpc17xx/lpc17_emacram.h and lpc17_allocateheap.c: The Ethernet
  1247. logic was using all of AHB SRAM Bank0 for Ethernet packet buffers (16K). An
  1248. option was added to limit the amount of SRAM used for packet buffering and to
  1249. re-use any extra Bank0 memory for heap. configs/olimex-lpc1766stk/nettest
  1250. now uses only 8K at the beginning of Bank0; the 8K at the end of Bank0 is
  1251. included in the heap
  1252. * arch/arm/src/lpc17xx/lpc17_ssp.c: Fix compilation errors when SSP1 is
  1253. selected.
  1254. * configs/olimex-lpc1766stk/nsh: Enable network and SD/MMC card support in
  1255. NSH. Networking and telnetd interface as well as SPI-based microSD are
  1256. now functional.
  1257. * examples/nsh/nsh_netinit.c: Fix NSH bug. If CONFIG_NET is selected, but
  1258. CONFIG_EXAMPLES_NSH_TELNETD is not selected, then the network is never
  1259. initialized and bad things happen if you try to ping.
  1260. * drivers/lcd: Add header files for the Phillips PCF8833 LCD controller and
  1261. for the Epson S1D15G10 LCD controller. A driver for the Nokia 6100 LCD is
  1262. coming.
  1263. * include/nuttx/spi.h and almost all other SPI files: Added an optional
  1264. cmddata() method to the SPI interface. Some devices require an additional
  1265. out-of-band bit to specify if the next word sent to the device is a command
  1266. or data. This is typical, for example, in "9-bit" displays where the 9th bit
  1267. is the CMD/DATA bit. The cmddata method provides selection of command or data.
  1268. * drivers/lcd/p14201.c: Now uses the cmddata() method of the SPI interface.
  1269. * arch/arm/src/lpc17xx/lpc17_usbdev.c: LPC17xx USB driver now appears to
  1270. to be fully functional. examples/usbstorage configuration verified (the
  1271. examples/usbserial configuration is untested).
  1272. * drivers/usbdev/usbserial.c and usbstorage.c: All USB class drivers need
  1273. to call DEV_CONNECT() when they are ready to be enumerated. That is,
  1274. (1) initially when bound to the USB driver, and (2) after a USB reset.
  1275. * drivers/lcd/nokia6100.c: A driver for the Nokia 6100 LCD. This driver
  1276. has not be verified as of the initial check-in.
  1277. * configs/olimex-lpc1766stk/nx: A NX graphics configuration for the Olimex
  1278. LPC1766-STK board using the Nokia 6100 LCD driver. This configuration has
  1279. not been verified as of the initial check-in.
  1280. * include/nuttx/spi.h: the SPI_SETBITS macro was calling the setmode method.
  1281. This is a very important bug-fix in some usages.
  1282. 5.16 2011-01-10 Gregory Nutt <gnutt@nuttx.org>
  1283. * include/nuttx/usb: Created new directory. Moved all usb-related header
  1284. files to this new directory. Created a skeleton for a new USB host header
  1285. file
  1286. * drivers/usbhost: Add USB host "registry" where connect devices can be
  1287. matched with the correct USB class driver.
  1288. * arc/arc/src/lpc17xx/lpc17_usbhost.c: Add a simple USB host driver for
  1289. the NXP lpc17xx.
  1290. * drivers/usbhost: Add generic USB device enumeration logic.
  1291. * drivers/usbhost: Add a USB host class driver for the (Bulk-Only) USB
  1292. Mass Storage Class.
  1293. 5.17 2011-01-19 Gregory Nutt <gnutt@nuttx.org>
  1294. * include/nuttx/usb: rename usb_storage.h to storage.h.
  1295. * arch/arm/src/lpc17xx/lpc17_usbhost.c: Add support for low-speed devices.
  1296. * drivers/usbhost/usbhost_skeleton.c: Template for new class drivers
  1297. * include/nuttx/usb/hid.h and drivers/usbhost/usbhost_hidkbd.c: New
  1298. files for HID keyboard support.
  1299. * arch/arm/src/lpc17xx/lpc17_usbhost.c: Will now handle multiple
  1300. concurrent transfers on different endpoints (still only one TD per
  1301. endpoint). All methods are protected from re-entrancy; lots of re-
  1302. structuring in preparation for interrupt endpoint support.
  1303. * arch/arm/src/lpc17xx/lpc17_usbhost.c: Add support for periodic
  1304. interrupt transfers.
  1305. * examples/hidkbd: Added a simple test for the USB host HID keyboard
  1306. class driver.
  1307. * configs/olimex-lpc1766stk/hidkbd: Added a configuration to build the
  1308. USB host HID keyboard class driver test for the LPC17xx.
  1309. * Ran the tool CppCheck (http://sourceforge.net/apps/mediawiki/cppcheck) and
  1310. fixed several errors in the code identified by the tool.
  1311. 5.18 2011-02-27 Gregory Nutt <gnutt@nuttx.org>
  1312. * Incorporate several uIP patches from http://gitweb.aeruder.net/?p=uip.git;a=summary.
  1313. - Lost SYNACK causes connection reset
  1314. - Fix missing UDP stats for sent/received packets
  1315. - Added support for Cygwin as development/test platform.
  1316. * configs/demo9s12ne64: Integrate new buildroot-1.9 m8s12x toolchain.
  1317. * 'uname -o' is used throughout the build logic in bash scripts and also in
  1318. Make.defs files in order to distinguish between Cygwin and Linux. However,
  1319. the -o option is not standard and is not supported under, for example, OS-X or
  1320. Solaris. This was solved by changing all 'uname -o' references to the more
  1321. complex: 'uname -o 2>/dev/null || echo "Other"'
  1322. * drivers/usbhost/usbhost_enumerate.c: Add logic to get the VID and PID. This
  1323. is necessary in order to support vendor-specific USB devices.
  1324. * examples/wlan, configs/olimex-lpc1766stk/wlan, drivers/usbhost/usbhost_rtl8187.c,
  1325. Add infrastructure to support RTL18187 wireless USB.
  1326. * configs/nucleus2g: backed out USB host changes... wrong board.
  1327. * Renamed arc/hc/include/mc9s12ne64 and src/mc9s12ne64 to m9s12. That name is
  1328. shorter and more general.
  1329. * The NuttX repository has been converted to SVN and can now be found here
  1330. http://svn.code.sf.net/p/nuttx/code/trunk/
  1331. * configs/mbed/hidkbd: Added USB host support for the mbed LPC1768 board; add
  1332. a USB host HID keyboard configuraion.
  1333. * drivers/usbhost/hid_parser.c: Leverages the LUFA HID parser written by
  1334. Dean Camera.
  1335. * examples/nsh: Correct an usage of getopt(): If you stop calling getopt()
  1336. before all parameters are parsed, you can leave getopt() in a strange state.
  1337. * include/nuttx/video/fb.h: Restore missing RGB type that was accidentally removed
  1338. when Nokia 6100 support was added.
  1339. * Rename arch/pjrc-8051 to arch/8051
  1340. * configs/ne64badge: Add a configuration for the Future Electronics Group
  1341. NE64 Badge development board (Freescale MC9S12NE64)
  1342. * Changes contributed by Uros Platise:
  1343. - Add support for the STM32F103RET6
  1344. - configs/vsn: Support for the ISOTEL NetClamps VSN V1.2 ready2go sensor
  1345. network platform
  1346. * arch/hc, configs/ne64badge: Development is complete for the Freescale
  1347. mc9s12ne64 on the Future Electronics Group NE64 /PoE Badge board. Howeve,
  1348. this port remains untested until I figure out this BDM / Code Warrior
  1349. and paged build thing
  1350. * Added a new 'kill' command to NSH that will support sending signals to
  1351. running NuttX tasks.
  1352. 5.19 2011-03-12 Gregory Nutt <gnutt@nuttx.org>
  1353. * arch/arm/stm32/stm32_idle.c: During idle times, the STM32 now uses the
  1354. WFI instruction to sleep in a reduced power mode until the next interrupt
  1355. occurs (Contributed by Uros Platise).
  1356. * NSH: 'mem' command renamed to 'free'. Output is now more similar to the
  1357. Linux 'free' command.
  1358. * NSH: Correct a redirection bug in NSH. The following would not work; it
  1359. resulted in a hang after the 'cat /dev/fifo':
  1360. nsh> mkfile /dev/fifo
  1361. nsh> cd /tmp # /tmp is a mounted RAM disk
  1362. nsh> cat /dev/fifo > test.txt &
  1363. nsh> echo "This is a test" > /dev/fifo
  1364. The error was caused because (1) there was a path that resulted in stdout
  1365. being closed (the "hang") and also (2) the 'cat' command was always outputting
  1366. to stdout, not to the redirected file descriptor. Now:
  1367. nsh> cat test.txt
  1368. This is a test
  1369. * drivers/pipes/pipe_common.c: Driver open method was not returning an EINTR
  1370. error when it received a signal. Instead, it just re-started the wait. This
  1371. makes it impossible to kill a background pipe operation from NSH.
  1372. * include/stdint.h: Correct some errors in conditional compilation (submitted
  1373. by Johannes Hampel).
  1374. * arch/arm/lpc17xx/lpc17_idle.c: Uses the same logic as the STM32: uses the
  1375. WFI instruction to sleep in a reduced power mode until the next interrupt
  1376. occurs.
  1377. * configs/olimex-lpc1766stk: Added an LED encoded to indicate if the LPC1766
  1378. is in sleeping.
  1379. * examples/mm: This is a simplified version of the "built-in" memory manager
  1380. test of mm/mm_test.c. It is simplified because it does not have access to
  1381. the internals of the memory manager as does mm/mm_test.c, but it has the
  1382. advantage that it runs in the actual NuttX tasking environment (the
  1383. mm/mm_test.c only runs in a PC simulation environment).
  1384. * drivers/mmcsd_sdio.c/h: Several corrections submitted by Uros Platise.
  1385. * arch/x86: Provide support for x86 architectures. Support for the i486
  1386. architecture under QEMU is provided under arch/x86/include/i486,
  1387. arch/x86/include/qemu, arch/x86/src/i486, and arch/x86/src/qemu.
  1388. * configs/qemu-i486: "Board" support configurations for verifying the QEME
  1389. i486 port.
  1390. * arch/arm/src/stm32/stm32_spi.c: Correct base address of SPI3 (reported by
  1391. Uros Platise).
  1392. * drivers/mmcsd/mmcsd_sdio.c: Correct a loop termination condition (also
  1393. reported by Uros Platise).
  1394. * drivers/mtd/ramtron.c: Driver for SPI-based RAMTRON NVRAM devices FM25V10
  1395. (and others). Contributed by Uros Platise.
  1396. * examples/nsh and tools/mkromfsimg.sh: Add support for platform-specific
  1397. ROMFS-based NSH start-up scripts.
  1398. * drivers/serial/uart_16550.c and include/nuttx/serial/uart_16550.h: Support
  1399. for a generic 16550 UART.
  1400. * configure/qemu-i486/nsh: QEMU NSH example.
  1401. * ../apps: The apps directory add-on was created by Uros Platise. It
  1402. supports a set of end-user applications than can be executed on top of
  1403. NSH. Think of it this way: In a buckled-up embedded application, your
  1404. end-user programs will probably have their own dedicated start-up logic.
  1405. But, during development, you might want to have you applications
  1406. available and executable from the NSH command line. This apps/ addon
  1407. (and NSH hooks) was contributed by Uros to accomplish just that.
  1408. * sched/sched_waitpid() and include/sys/wait.h: Provides a simple and
  1409. very incomplete implementation of waitpid(). waitpid() is only available
  1410. if CONFIG_SCHED_WAITPID is defined in your configuration file.
  1411. * sched/atexit.c and sched/exit.c: The atexit function is not frequently
  1412. used. In order to save a few bytes, it is now conditioned on
  1413. CONFIG_SCHED_ATEXIT. It your application is currently using atexit(),
  1414. you will need to add CONFIG_SCHED_ATEXIT to your configuration file.
  1415. * drivers/net/slip.c: Add a SLIP driver (untested on initial check-in).
  1416. * configs/olimex-lpc1766stk/slip-httpd: An example that uses SLIP to
  1417. provide a serial-port based THTTPD web server.
  1418. 6.0 2011-03-21 Gregory Nutt <gnutt@nuttx.org>
  1419. * lib/lib_fopen(): fopen() was not returning the correct errno value
  1420. when the underlying open() failed.
  1421. * include/net/uip/uip-arch.h: The uIP interface has been extended
  1422. slightly so that drivers can be concurrenly filling and sending
  1423. packet buffers. This capability was needed by the SLIP driver.
  1424. * drivers/net/slip.c: Several corrections and some re-design of
  1425. of the driver.
  1426. * apps/ChangeLog.txt: the apps/ directory now has its own ChangeLog.
  1427. * configs/vsn:
  1428. - IDLE LED blinking fix
  1429. - Added board power off function
  1430. * arch/arm/src/stm32/stm32_gpio.c and stm32_internal.h: Fixed
  1431. PullUp/Down Input Configuration.
  1432. * arch/arm/src/lpc17xx/lpc17_serial.h: Now supports Auto-RTS and
  1433. Auto-CTS modes. This is needed to support SLIP.
  1434. * drivers/net/slip.c: SLIP is now basically functional on the
  1435. LPC17xx with some caveats as described in the TODO list under
  1436. LPC17xx.
  1437. * arch/x86/include/i486/irq.h: Fix irqrestore() macro... it was not
  1438. correctly re-enabling interrupts.
  1439. * arch/x86/src: Fix numerous problems with i486/QEMU context
  1440. switching. Basically, the logic was missing the cases to handle
  1441. the differing stack frames when a priority change occurs and when
  1442. no priority change occurs.
  1443. * configs/qemu-i486/ostest and nsh: The QEMU i486 port is complete.
  1444. it now passes the OS test and supports the NuttShell (NSH).
  1445. * misc/drivers: Created a new directory to hold non-BSD licensed
  1446. drivers that may be added into NuttX via an installation script.
  1447. * drivers/usbhost/usbhost_rtl8187.c: A decision was made to
  1448. incorporate code taken from the Linux kernel. That changes the
  1449. licensing on this module to GPL. To avoid licensing contamination,
  1450. this driver was moved to misc/drivers/rtl8187x *prior* to adding
  1451. any of the GPL logic. There is an INSTALL.sh script at the location
  1452. where the GPL driver(s) can be re-installed into the NuttX source
  1453. tree. By re-installing the driver, you agree to the GPL licsensing
  1454. and all of its implications.
  1455. * Makefile, apps/Makefile, tools/configure.sh: Add logic to copy
  1456. configs/<board>/<config>/appdir to apps/.config and to simply the
  1457. application configuration logic.
  1458. * examples/nsh and apps/nshlib: Move the core NuttShell (NSH) logic
  1459. out of the exemples directory and into the apps/ directory where
  1460. it belongs.
  1461. * apps/Makefile and configs/*/appconfig: Use '=' as the delimiter
  1462. instead of '/' so that sub-directories in apps/ can be used.
  1463. * apps/vsn: Move all VSN apps to apps/vsn.
  1464. * nuttx/examples moved to apps/examples
  1465. 6.1 2011-04-11 Gregory Nutt <gnutt@nuttx.org>
  1466. * arch/arm/include/lpc17xx/irq.h and arch/arm/src/lpc17xx/lpc17_gpio*.c:
  1467. Fix several bugs in the GPIO interrupt logic. Submited by
  1468. Decio Renno.
  1469. * Initialization for the CONFIG_APPS_DIR is now supported during the
  1470. earlier, 'context' build phase.
  1471. * arch/arm/src/lpc17_gpioint.c: Finish coding of the LPC17xx GPIO
  1472. interrupt logic.
  1473. * net/netdev_unregister.c: Add capability to un-register a network
  1474. device.
  1475. * drivers/mmcsd/mmcsd_sdio.c: extra effort to correctly handle cases
  1476. without the SDcard (but one issue still exists in STM32)
  1477. * arch/arm/src/stm32/stm32_tim.*: Added basic timer support TIM1..TIM8
  1478. with output PWMs and interrupt logic
  1479. * config/vsn/src: Added basic support for Sensor Interface (GPIO and
  1480. PWM Power Output, and the sif utility program)
  1481. * fs/: Reorgnize header so that file systems can be built outside
  1482. of the nuttx source tree
  1483. * apps/namedapp/binfs.c: Create a tiny filesystem that can be used
  1484. to show the internal named apps under /bin.
  1485. * fs/fs_opendir.c: Correct an error that occurs when a file system is
  1486. mounted in the root directory. This was discovered while mounting
  1487. the named app's /bin directory.
  1488. * lib/: Move all source files into a subdirectory of lib/ named after
  1489. the header file in which the library function is prototyped.
  1490. * sched/ and lib/pthread/: Move pthread attribute-related interfaces
  1491. from sched/ to lib/pthread where they more appropriately belong.
  1492. * sched/ and lib/semaphore/: Move some semaphore-related interfaces
  1493. from sched/ to lib/pthread where they more appropriately belong.
  1494. * syscall/: The beginnings of an optional syscall Kernel interface.
  1495. * tools/mksyscall.c: Add a tool that will auto-generate syscall proxies
  1496. and stubs from a comma-separated-value (CSV) data file.
  1497. * arch/arm/src/cortexm3/mpu.h: Add a header file describing the Cortex-M3
  1498. MPU registers.
  1499. * Numerous modifications to the build system. Various people have reported
  1500. build problems since the re-organization and release of NuttX-6.0. I am
  1501. unable to replicate the build problems in my environment, but the changes
  1502. have be incorporated in hope of correcting the build issues in other
  1503. environments.
  1504. * drivers/i2c/st_lis331dl.c: I2C-based driver for the LIS331DL MEMS
  1505. motion sensor. Contributed by Uros Platise.
  1506. * Makefile: The NuttX build system will now supported building NuttX as two
  1507. separately linked images: (1) a kernel-mode RTOS image, and (2) a user-
  1508. mode application image that communicates to the RTOS kernel via system
  1509. calls. A lot more still must be done.
  1510. * user_initialize(): Eliminated the user_initialize() initialization hook.
  1511. It is difficult to maintain and redundant: Board level initialization
  1512. an up_initialize() provide the same kind of capability.
  1513. * arch/*/include/*/type.h: On some compilers, char defaults as unsigned.
  1514. Explicitly add signed to integer types if signed is what is required.
  1515. * arch/*: For all architectures -- Global register state save structure
  1516. (usually called g_current_regs) should be marked volatile; Added general
  1517. capability to support nested interrupts (not fully realized for all
  1518. architectures).
  1519. * sched/task_create.c: Add support for starting kernel-mode thread.
  1520. * drivers/usbdev/usbdev_serial.c: Fix reported by Sheref Younan. USB
  1521. was being reset after serial driver was closed. As a result, you could
  1522. no reopen the serial driver.
  1523. * configs/lpcxpresso-lpc1768: Add a board configuration for the Embedded
  1524. Artists LPCXpresso LPC1768 board.
  1525. 6.2 2011-05-06 Gregory Nutt <gnutt@nuttx.org>
  1526. * arch/arm/src/lpc17xx/lpc17_gpioint.c: Correct errors in logic that maps
  1527. and IRQ number into a register bit number.
  1528. * Makefile: Fix an error introduced in the top-level Makefile in NuttX-6.1.
  1529. This error only shows up if you have a /tftpboot directory. Then the
  1530. make will fail with an obscure error about not being able to stat pass2.
  1531. * configs/lpcxpresso-lpc1768/nsh: Add an NSH configuration for the
  1532. LPCXpresso board.
  1533. * configs/*/ld.script: Removed 'sh_link not set for section .ARM.edix' for
  1534. a few of the builds. In you have this warning, it can be removed with the
  1535. following change to the ld.script file:
  1536. + __exidx_start = ABSOLUTE(.);
  1537. .ARM.exidx : {
  1538. - __exidx_start = ABSOLUTE(.);
  1539. *(.ARM.exidx*)
  1540. - __exidx_end = ABSOLUTE(.);
  1541. } >sram
  1542. + __exidx_end = ABSOLUTE(.);
  1543. * arch/arm/src/lpc17xx: Correct some typos/bugs in configuration of LPC17xx
  1544. UART2 and UART3.
  1545. * nuttx/clock.h: Replace all references to the global variable g_system_timer
  1546. with clock_systemtimer() (currently just a macro that that returns g_system_timer).
  1547. * lib/string/strrch.c: Would fail if the searched-for character were the first
  1548. character in the string.
  1549. * tools/version.sh and mkversion.c: Tools to manage a NuttX version number
  1550. file
  1551. * sched/clock_getutc() and lib/time/lib_time.c: Add support for 1 second UTC
  1552. interface.
  1553. * net/net_dup2.c and include/nuttx/net.h: The conditional compilation for
  1554. '#if CONFIG_NFILE_DESCRIPTOR > 0' was wrong in both of these files. It should
  1555. be '#if CONFIG_NFILE_DESCRIPTORS > 0'. This causes a dup2() failure in THTTPD
  1556. and a failure to get a CGI page. The consequence can be a very serious bug!
  1557. * configs/lpcxpresso-lpc1768/usbstorage, thttpd, and dhcpd: Add an USB storage,
  1558. THTTPD web server, and DHCP server configurations for the NXP LPCXpresso board.
  1559. * drivers/lcd/ug-9664hswag01.c and ssd1305.h: Add support for Univision UG-9664HSWAG01
  1560. OLED with Solomon Systech SD1305 LCD controller.
  1561. * configs/lpcxpresso-lpc1668/nx: Add a NX graphics configuration for the LPCXPRESO
  1562. board.
  1563. * graphics/nxglib/nxglib_nonintersecting.c: Fix some single bit errors in
  1564. calculation of non-intersecting regions. This was causing an anomaly
  1565. in examples/nx in column 0.
  1566. * drivers/mtd/rammtd.c: Added a RAM based MTD driver. This RAM driver simulates
  1567. FLASH and is useful for testing purposes.
  1568. * arch/arm/src/arm/up_head.S: Fix backward conditional compilation. This cause
  1569. the configs/mx1ads configuration to fail to build but does not appear to affect
  1570. any other ARM9 build.
  1571. * fs/nxffs: Adding a tiny, wear-leveling FLASH file system for NuttX. This
  1572. file system is intended to be small and will have some limitations. The
  1573. implementation is incomplete on initial checkin.
  1574. * apps/examples/nxffs and configs/sim/nxffs: Add a test a a configuration that
  1575. will be used to verify NXFFS.
  1576. * fs/fat/fs_fat32.c and fs_fat32util.c: Incorpated two bugs with fixed provided
  1577. by Sheref Younan. Thanks!
  1578. * fs/nxffs: After a couple of weeks of testing and bug fixes, NXFSS appears
  1579. stable and functional.
  1580. 6.3 2011-05-15 Gregory Nutt <gnutt@nuttx.org>
  1581. * Remove clock_getutc(). It is replaces with clock_gettime(CLOCK_ACTIVETIME).
  1582. Add other RTC related changes provided by Uros Platise.
  1583. * arch/arm/src/stm32/stm32_flash.c: Add support for access to on-chip STM32
  1584. FLASH; beginning of integration with NXFFS (Uros Platise).
  1585. * arch/mips: Added directory structure for PIC32 support
  1586. * configs/pcblogic-pic32mx: Add directory structure for PCB Logic PIC32MX board
  1587. * apps/include: Move include/apps to apps/include. A symbolic link is created at
  1588. build time
  1589. * Makefile: Removed support for Pascal pcode interpreter. Support for that
  1590. interpreter has been moved to apps/interpreter/Makefile.
  1591. * tools/mkdep.sh: Should not report an error if there are no files on the command
  1592. line. This happens normally in certain configurations.
  1593. * drivers/usbhost: Sheref Younan reported an error in the error handling when
  1594. connection to a USB device fails. In certain fail cases, the logic would try
  1595. to free the device class instance twice, the first was okay, but the second
  1596. caused a crash.
  1597. * graphics/nxbe/nxbe_colormap.c: Fix error noted by Bassem Fahmy. The function
  1598. nxbe_colormap was change to nxbe_configure... apparently "search-and-replace"
  1599. error. This error was not noticed before because most NX platforms do not use
  1600. colormapping.
  1601. * arch/rgmp and configs/rgmp. Add architecture support and build
  1602. configuration for RGMP. RGMP is a project for running GPOS and
  1603. RTOS simultaneously on multi-processor platforms. See
  1604. http://rgmp.sourceforge.net/wiki/index.php/Main_Page for further
  1605. information about RGMP.
  1606. * lib/stdio/lib_fclose.c: Must flush all buffered data when the file is closed.
  1607. Instead, it was discarding the buffered data.
  1608. * lib/stdio: All output stream logic was modified to support CONFIG_STDIO_LINEBUFFER.
  1609. If standard C buffered I/O is enabled (CONFIG_STDIO_BUFFER_SIZE > 0), then this
  1610. option may be added to force automatic, line-oriented flushing the output buffer
  1611. for putc(), fputc(), putchar(), puts(), fputs(), printf(), fprintf(), and vfprintf().
  1612. When a newline is encountered in the output string, the output buffer will be
  1613. flushed. This (slightly) increases the NuttX footprint but supports the kind of
  1614. behavior that people expect for printf.
  1615. 6.4 2011-06-06 Gregory Nutt <gnutt@nuttx.org>
  1616. * lib/drivers/cc1101: Add initial, functional CC1101 wireless driver
  1617. (contributed by Uros Platise)
  1618. * arch/mips and configs/pcblogic-pic32mx: The MicroChip PIC32MX port is now
  1619. code complete and ready to begin testing. Unfortunately, it looks like
  1620. testing will be delayed due to tool issues (My PICkit 2 will not work the
  1621. the MPLAB debugger on PIC32; I will need to get a PICkit 3).
  1622. * drivers/net/e1000.c/h: A PCI-based E1000 Ethernet driver submitted
  1623. by Yu Qiang.
  1624. * lib/net/lib_inetaddr.c: An implementation of the inet_addr() function
  1625. submitted by Yu Qiang.
  1626. * arch/arm/src/lpc31xx and arch/arm/include/lpc31xx: Renamed from lpc313x
  1627. to make name space for other famiy members.
  1628. * arch/arm/*/lpc31xx: Added support for the LPC315x family (untested).
  1629. * sched/task_exithook.c: Functionality performed when a task exits or is
  1630. deleted has been moved to a common file task_exithook.c. Now exit()
  1631. functionality (like flushing I/O and calling registered atexit()
  1632. functions, etc.) will be performed when a task is deleted as well.
  1633. * mm/: Added support for CONFIG_MM_SMALL. Each memory allocation has a
  1634. small allocation overhead. The size of that overhead is normally
  1635. determined by the "width" of the address support by the MCU. MCUs
  1636. that support 16-bit addressability have smaller overhead than devices
  1637. that support 32-bit addressability. However, there are many MCUs
  1638. that support 32-bit addressability *but* have internal SRAM of size
  1639. less than or equal to 64K. In this case, CONFIG_MM_SMALL can be
  1640. defined so that those MCUs will also benefit from the smaller, 16-
  1641. bit-based allocation overhead.
  1642. * lib/string/lib_strndup.c: Add standard strndup() library function.
  1643. * net/getsockname.c: Added standard getsockname() to return the local
  1644. address associated with a socket.
  1645. * lib/stdio/lib_asprintf.c: Add asprintf()
  1646. * configs/olimex-lpc1766stk/ftpc: Add a configuration to support
  1647. testing of the FTP client shell.
  1648. * fd/fs_fdopen.c and net/net_checksd.c: Add support so that fdopen may
  1649. be used with socket descriptors.
  1650. * net/recvfrom.c: Fix an error found in receiving small files via FTP:
  1651. The small file is received a buffered in the readahead buffer, then the
  1652. socket is disconnected. When the app calls recvfrom, the socket is
  1653. already disconnected and the buffered data is stranded. Now, recvfrom
  1654. will continue to return success after the socket is disconnected until
  1655. the readahead buffer is drained.
  1656. * olimex-lp1766stk/ftpc/defconfig: Many configurations have the MTU
  1657. (CONFIG_NET_BUFSIZE) set to very small numbers, less then the minimum
  1658. MTU size that must be supported -- 576. This can cause problems in
  1659. some networks: CONFIG_NET_BUFSIZE should be set to at least 576 in
  1660. all defconfig files. This has only been fixed in this defconfig file.
  1661. 6.5 2011-06-21 Gregory Nutt <gnutt@nuttx.org>
  1662. * arch/avr/src/avr and arch/avr/include/avr: Adds general support for
  1663. the Atmel 8-bit AVR family.
  1664. * arch/avr/src/atmega and arch/avr/include/atmega: Adds support for the
  1665. Atmel AVR ATMega family.
  1666. * arch/avr/src/at90usb and arch/avr/include/at90usb: Adds support for the
  1667. Atmel AVR AT90USB family.
  1668. * configs/micropendous3: Adds a board configuration for the Opendous
  1669. Micropendous 3 board. This board may be populated with several different
  1670. members of the Atmel AVR AT90USB family.
  1671. * configs/amber: This is a placehold for the Atmel ATMega128 Amber Web
  1672. Server from SoC Robotics. Not much present in this directory on initial
  1673. check-in.
  1674. * configs/teensy: Adds a board configuration for the PJRC Teensy++ 2.0 board
  1675. that features an Atmel AT90USB1286 MCU.
  1676. * fs/fat: Offsets, sector numbers, etc. need to be off_t, not size_t. size_t
  1677. is intended to be the maximum size of a memory object, not a file offset. This
  1678. does not make any difference except on systems (like the AVR) where size_t
  1679. is only 16-bits.
  1680. 6.6 2011-07-11 Gregory Nutt <gnutt@nuttx.org>
  1681. * drivers/mtd/ramtron.c, net/net_checksd.c, fs/fs_fdopen.c, and include/nuttx/mii.h:
  1682. Several structural changes made to get a clean compile under the ez80 ZDS-II
  1683. toolchain (no design changes).
  1684. * drivers/usbhost/usbhost_storage.c: Incorpated bugfixes reported by Sheref H.
  1685. Younan: (1) Read capacity logic read largest block, not the number of blocks
  1686. and was, therefore, off by one, and (2) Some devices stall of get Max LUN request
  1687. if they support only a single LUN. Logic now assumes a single LUN if the get
  1688. Max LUN request fails.
  1689. * include/nuttx/arch.h, lib/stdio/lib_libvsprintf.c, lib/stdio/lib_fputs.c: Add
  1690. a new configuration option to support extracting strings from FLASH or EEPROM
  1691. or other memories where the string data cannot be accessed by simply de-referencing
  1692. a string pointer.
  1693. * arch/sim/src/up_romgetc.c: Used to test the basic logic to access strings
  1694. without directly de-referencing a string pointer.
  1695. * arch/avr/src/avr/up_romget.c: Used to access strings that lie in the first
  1696. 64K of FLASH (But I still haven't figured out how to get strings to reside in
  1697. FLASH without using the PROGMEM attribute).
  1698. * configs/teensy/src/up_spi.c: Correct reading of SD CD and WP pins (was reading
  1699. the wrong register. AVR SPI now appears to be functional.
  1700. * arch/avr/src/at90usb/at90usb_usbdev.c: Correct USB initialization. Interrupts
  1701. were being enabled BEFORE the interrupt handler was attached.
  1702. * configs/sure-pic32mx: Add a configuration for the Sure Electronics, "Advanced USB
  1703. Storage Demo Board," Model DB-DP11215 (http://www.sureelectronics.net/goods.php?id=1168).
  1704. This board features the MicroChip PIC32MX440F512H MCU. (Untested on initial
  1705. check-in).
  1706. * configs/stm3210e-eval/nsh2: Add another NSH configuration for the STM32 with
  1707. some different properties.
  1708. * CONFIG_NSH_CONDEV: Add a configuration option to allow using a different character
  1709. device (such a a different UART) for the NSH interface. This allows, for example,
  1710. debug output to come from the console device while using another device for NSH.
  1711. There are some issues on initial check-in: NuttX doesn't have termios and the
  1712. console device has special properties that make using NSH awkward. Examples:
  1713. No CR-LF expansion, no character echoing, no command line editting.
  1714. * arch/arm/src/stm32/stm32_lowputc.c and stm32_serial.c. Correct several bugs
  1715. involving serial port configuration. These bugs are only critical if you
  1716. are trying to using multiple UARTs on STM32.
  1717. * configs/stm3210e-eval/src/up_lcd.c: Add a driver for the STM3210E-EVAL's LCD.
  1718. * configs/stm3210e-eval/nx: Add NX configuration for the STM3210E-EVAL.
  1719. * configs/nuttx/arch.h (and arch/arm/src/stm32, configs/*/src/up_buttons.c):
  1720. Standardize interfaces exported for button support and button interrupts.
  1721. * configs/stm3210e-eval/src/up_buttons.c: Add interrupting button support.
  1722. Also fixes a few errors in STM3210E-EVAL button decoding.
  1723. * configs/stm3210e-eval/buttons: Add a configuration to exercise STM3210E-EVAL
  1724. buttons.
  1725. * arch/arm/src/stm32/stm32_gpio.c: GPIO interrupt handling for pin
  1726. numbers were being aliased: 5-9 together and 10-15 together. Extended
  1727. the logic to peform decoding of GPIO interrupts and unique dispatching
  1728. for all 16 pins.
  1729. * configs/stm3210e-eval/nxtext: Add a configuration for the apps/examples/nxtext
  1730. example. This example focuses on placing text on the background while
  1731. pop-up windows occur. Text should continue to update normally with or without
  1732. the popup windows present.
  1733. * arch/arm/src/common/up_checkstack.c: ARM stack overflow checking submitted
  1734. by Hal Glenn.
  1735. * arch/arm/src/lpc17xx: Changes to compile successfully with no serial console
  1736. (also submitted by Hal Glenn).
  1737. * graphics/nxfonts/nxfonts_convert.c: Fixed a critical bug that caused
  1738. when renderer some fonts with bits-per-pixel > 8
  1739. * graphics/nxbe/nxbe_move.c: Fixed an error in the graphics move logic (This
  1740. was a previously untested interface). Basically, there is some confusion
  1741. between use of (x,y) as a relative offset or as an absolute position.
  1742. * graphics/nxbe/nxbe_close.c: Fixed an important graphics system bug:
  1743. When a window is closed, the display was not being updated. The old
  1744. window graphic was left on the display for a time.
  1745. 6.7 2011-08-02 Gregory Nutt <gnutt@nuttx.org>
  1746. * Makefile: Added a export target that will bundle up all of the NuttX
  1747. libraries, header files, and the startup object into an export-able
  1748. tarball.
  1749. * arch/arm/src/lpc17xx/lpc17_can.h: Correct some typos in the CAN
  1750. register definitions.
  1751. * drivers/serial/serialirq.c: Correct an error that can occur if the
  1752. serial RX buffer becomes full. Data is now discarded in that case;
  1753. before, leaving data in the hardware would cause infinite interrupts
  1754. one most MCUs since you must read the data in order to clear the
  1755. interrupt.
  1756. * arch/arm/src/lpc17xx/lpc17_can.c: Added a CAN driver contributed by
  1757. Li Zhuoyi (Lzyy).
  1758. * include/stddefs.h and sys/types: Added type wchar_t.
  1759. * fs/fat/fat_fat32dirent.c: Move all FAT directory operations to this
  1760. new file; Implement VFAT long file name support.
  1761. * fs/fat/fat_fat32dirent.c: The configuration CONFIG_FAT_LCNAMES has
  1762. been around for some time but never tested until now. This setting
  1763. will mimic the NT 8.3 file name behavior: File names or extensions
  1764. may be all upper or all lower case (but not mixed). If
  1765. CONFIG_FAT_LCNAMES is not selected, all filenames are strictly upper
  1766. case.
  1767. * configs/stm3210e-eval/nsh2: Console is back on UART1; Added
  1768. examples/nx as an NSH "built-in" command as a demonstration.
  1769. * fs/fat/fs_fat32dirent.c: Fix an important bug in the directory
  1770. allocation (fat_allocatedirentry()). I looks like it could be
  1771. initializing the wrong sectors! NOTE: This function was in
  1772. fs_fat32utils.c in earlier releases.
  1773. * arch/arm/src/stm32_sdio.c: Correct an important DMA-related bug;
  1774. SDIO transfer completion events and DMA completion eventes were
  1775. not being coordinated correctly.
  1776. * configs/stm3210e-eval/nsh2: Enable FAT long file name support
  1777. * sched/sem_timedwait.c: Add the standard sem_timedwait() interface.
  1778. * graphics/nxfonts/nxfonts_getfont.c, nxfonts_bitmap.c,
  1779. Makefile.source, and include/nuttx/nxfonts.h: Support for multiple
  1780. fonts included. A new interface, nxf_getfonthandle() takes a font
  1781. ID and returns a handle that is now used at all other font interfaces
  1782. to specify which of the multiple fonts to use.
  1783. * arch/arm/src/lpc17xx/lpc17_syscon.h: Fix typo (reported by Li Zhuoyi).
  1784. * configs/stm3210e-eval/nsh2: Extended to support two new commands:
  1785. 'msconn' will connect the USB mass storage device; 'msdis' will
  1786. disconnect the USB storage device.
  1787. * tools/bdf-converter.c. This C file is used to build the bdf-converter
  1788. program. The bdf-converter program be used to convert fonts in Bitmap
  1789. Distribution Format (BDF) into fonts that can be used in the NX graphics
  1790. system.
  1791. * include/nuttx/nx: Move all NX header files from include/nuttx to
  1792. include/nuttx/nx.
  1793. * drivers/usbdev/usbdev_usbstorage.c and arch/arm/src/stm32/stm32_usbdev.c:
  1794. Correct a memory leak when the USB mass storage driver is connected and
  1795. then disconnected from the target. The write requests were not being
  1796. freed. NOTE that the unregister logic in the STM32 needed to call
  1797. stm32_reset() in order to return the write requests to the USB mass
  1798. storage driver; it is possible that a similar but could exist for other
  1799. architectures.
  1800. * graphics/nxfonts/nxfonts_*.h: Add serveral more new fonts
  1801. * arch/z80/src/ez80/ez80_serial.c: Fix some errors in serial driver
  1802. setup for UART1 (submitted by Paul Osmialowski).
  1803. * drivers/input/tsc2007.c and include/nuttx/input/*: Add a generic NuttX
  1804. touchscreen interface. Add a driver for the TI TSC2007 touchscreen
  1805. controller.
  1806. * graphics/nxglib/lcd and fb: Add low level routines to set single pixels.
  1807. * lib/math/lib_b16atan2.c: Add a fixed precision atan2() function
  1808. * graphics/nxglib/nxglib_splitline.c: Add logic to divide a wide line into
  1809. trapezoidal components.
  1810. * graphics/nxmu/nx_drawline.c, graphics/nxsu/nx_drawline.c,
  1811. graphics/nxtk/nxtk_drawlinewindow.c, graphics/nxtk/nxtk_drawlinetoolbar.c:
  1812. Add new line drawing interfaces (untested).
  1813. 6.8 2011-08-19 Gregory Nutt <gnutt@nuttx.org>
  1814. * arch/arm/src/lpc17xx/chip.h: Fix some chip memory configuration errors
  1815. for the LPC1764, LPC1756, and LPC1754 (submitted by Li Zhuoy (Lzyy))
  1816. * arch/arm/src/lpc17xx/lpc17_can.h: Revised CAN driver submitted by
  1817. Li Zhuoy (Lzyy). The driver now supports both CAN1 and CAN2.
  1818. * arch/arm/sim/up_lcd.c: Add a simulated LCD driver.
  1819. * configs/stm3210e-eval/nxlines: Added a configuration to build
  1820. examples/nxlines.
  1821. * arch/graphics: Used apps/examples/nxlines to (finally) verify the NX
  1822. trapezoid drawing functions and (wide) line drawing functions.
  1823. * arch/rgmp and configs/rgmp. Yu Qiang has ported RGMP to the OMAP4430 (arm)
  1824. pandaboard and release the new RGMP 0.3 version. The main changes are: (1)
  1825. Separate configs/rgmp/x86 and configs/rgmp/arm configuration directory, and
  1826. (2) Extract architecture dependent code in arch/rgmp/include and
  1827. arch/rgmp/src into corresponding x86/ and arm/ directories.
  1828. * arch/arm/src/kinetis, arch/arm/include/kinetis, configs/kwikstick-k40:
  1829. Add a directory structure to support the port to the Kinetis KwikStik-K40.
  1830. There is no real substance in the initial check-in; only the directory
  1831. structure and skeleton files (Code complete on 8/15/11).
  1832. * arch/arm/include/armv7-m, arch/arm/src/armv7-m, etc.: Rename all cortexm3
  1833. directories and files to armv7-m; Change name of of all CORTEXM3 constants
  1834. to ARMV7M. This is a major namespace change needed to cleanly support the
  1835. ARM Cortex-M4 which is also in the ARMv7 M Series (specifically, ARMv7E-M).
  1836. * sched/sig_initialize.c, sig_received.c, and mq_waitirq.c. Fixed several
  1837. critical bugs related to signal handling initialization and for signals
  1838. the wake up tasks that are waiting to send or receive message queues. In
  1839. the first two files, errors would prevent proper allocation of signal-related
  1840. structures from interrupt handlers. In the second, there was missing
  1841. "clean-up" logic after a signal occurred, leaving the message queue in
  1842. a bad state and resulting in PANICs. All are important. (submitted by
  1843. hkwilton).
  1844. * arch/arm/src/kinetis: Added header files defining all Kinetis registers
  1845. and bit fields within all Kinetis registers.
  1846. * configs/twr-k60n512: Add support for the Kinetis K60 Tower board
  1847. (TWR-K60N512).
  1848. * drivers/can.c: Fixed a semaphore overflow problem in the CAN driver
  1849. (reported by Li Zhouy (Lzyy)).
  1850. * 8/18/2011: The basic port to the FreeScale Kinetis TWR-K60N512 board is
  1851. now functional.
  1852. * configs/twr-k60n512: Add Kinetis TWR-K60N512 NSH configuration.
  1853. * drivers/analog and include/nuttx/analog: Add ADC driver infrastructure
  1854. and TI ADS1255 driver developed and submitted by Li Zhouy (Lzyy)).
  1855. * arch/arm/stm32/stm32_sdio.h and drivers/mmcsd/mmcsd.c: Add logic to
  1856. multiplex usage of the GPIO pins (contributed by Uros Platise).
  1857. * configs/twr-k60n512/nsh: Added and verified a NuttShell (NSH)
  1858. configuration for the Freescale, Kinetis TWR-K60N512 board.
  1859. 6.9 2011-09-11 Gregory Nutt <gnutt@nuttx.org>
  1860. * arch/arm/src/kinetis/kinetis_sdhc.c: SDHC driver for Kinetis parts.
  1861. Initially check-in is just a crude port of the STM32 SDIO driver.
  1862. Much more work is needed.
  1863. * graphics/, include/nuttx/nx: Add new NX interfaces for drawing
  1864. circles -- both circular outlines and filled circles.
  1865. * graphic/nxglib/nxglib_spitline.c: Add a "fudge factor" that eliminates
  1866. some problems for rendering nearly horizontal, wide lines. Hmm...
  1867. but I suspect this fudge factor also leads to new problems rendering
  1868. very thin, nearly horizontal lines. More tuning is needed.
  1869. * drivers/analog, include/nuttx/analog, arch/arch/src/lpcxx: (1) Add
  1870. updates to the ADS1255 driver, (2) fix errors from my last merge (sorry),
  1871. (3) Add DAC infrastructure, (4) add AD5410 DAC driver, and (5) add
  1872. LPC17xx ADC and DAC drivers. All contributed by Li Zhuoyi (Lzyy).
  1873. * tools/mkexport.sh: Extended the script that implements the top-level
  1874. 'make export' logic. The script now also finds and bundles up all of
  1875. the architecture-specific header files as well.
  1876. * drivers/arch/arm/src/stm32/stm32_i2c.c: Add a reset to the I2C
  1877. initialization logic to prevent spurious interrupts when the I2C
  1878. interrupts are enabled (submitted by Uros Platise).
  1879. * Scripts/makefiles/documents. Several adjustments, corrections and
  1880. typo fixes so that NuttX will build correctly on FreeBSD using the
  1881. ASH shell (submitted by Kurt Lidl).
  1882. * drivers/mtd/flash_eraseall.c: Add a callable function that accepts
  1883. the path to a block driver and then erases the underlying FLASH memory
  1884. (assuming that the block driver is an MTD driver wrapped in the FTL
  1885. layer). Hmmm... this is probably not the best long term solution;
  1886. flash_eraseall() should be a user-callable function that operates
  1887. one driver interfaces; not an internal, OS function that operates
  1888. on directly on block drivers.
  1889. * drivers/bch: Fixed some important bugs in the BCH driver (noted by
  1890. Li Zhuoyi (Lzyy)). This would have effected any large reads or writes
  1891. (larger than the hardware sector size).
  1892. * arch/*/src/Makefile: Use of -print-libgcc-file-name to get path to
  1893. libgcc.a may select the wrong libgcc.a if a multilib toolchain (like
  1894. CodeSourcery) is used. This can be a serious problem and can cause
  1895. crashes on Cortex-M3 if the ARM libgcc is used, for example. The fix
  1896. is to include ARCHCPUFLAGS on the gcc command line when asking it to
  1897. -print-libgcc-file-name.
  1898. * lib/time/lib_gmtimer.c: Correct several calculations that could lead
  1899. to errors in dates.
  1900. * drivers/pm: Add the beginnings of a NuttX power management sub-system.
  1901. * arch/arm/src/stm32/stm32_irq.c: Fix a error introduced in 6.8.
  1902. Timeout calculation uses clock_settime() instead of clock_gettime().
  1903. Pretty gross error, but actually it works with the side effect of setting
  1904. a bad time.
  1905. * drivers/mtd/at24xx.c: Driver for I2C-based at24cxx EEPROM submitted by
  1906. Li Zhuoyi (Lzyy).
  1907. * arch/arm/src/lpc17xx/lpc17_i2c.c: I2C driver for the NXP LPC17xx family
  1908. submitted by Li Zhuoyi (Lzyy)
  1909. * arch/arm/src/stm32_i2c.c: Correct two issues with the STM32 I2C driver:
  1910. (1) Clocking needs to be based on PCLK1, not HCLK and fast speed settings
  1911. need some additional bits; and (2) Correct a hang that will occur on
  1912. I2C1 if FSMC is also enabled.
  1913. * drivers/sensors/lm75.c and include/nuttx/sensors/lm75.h: Add an LM-75
  1914. temperature sensor driver.
  1915. * configs/stm3210e-eval/src/up_lm75.c: Add support for the LM-75 on the
  1916. STMicro STM3210E-EVAL board.
  1917. * sched/clock_gettime.c: Correct an error in the tv_nsec calculation
  1918. that happens only config CONFIG_RTC is enabled.
  1919. * arch/arm/src/stm32/stm32_i2c.c: Correct some bugs related to waiting
  1920. for the I2C STOP condition to be cleared.
  1921. 6.10 2011-10-06 Gregory Nutt <gnutt@nuttx.org>
  1922. * lib/stdio/lib_fopen.c: Fix an error in fopen(); the file pointer was not
  1923. being positioned at the end of the file when the "a" and "a+" modes are
  1924. used. There are other issues with the "a+" modes (see the top-level TODO
  1925. list).
  1926. * drivers/usbdev/cdc_serial.c and include/nuttx/usb/cdc.h and cdc_serial.h:
  1927. Add support for the CDC ACM serial device class.
  1928. * fs/fat/fs_fat32.c: Fix a critical bug in the write logic: It a tiny write
  1929. cross a sector boundary, then two sector writes will occur. The first part
  1930. in the first sector may be written to the wrong sector number.
  1931. * fs/fat/fs_fat32util.c: Fix a stray write into the FAT (always sector 964 on
  1932. FAT32). This bug will cause some lost chains. I'm sure this bug could
  1933. corrupt files but at present, the only thing I have seen is that before
  1934. fixing this bug, the Windows chkdsk utility would report these lost chains.
  1935. * arch/arm/src/stm32/stm32_i2c.c: Driver can now operate in a faster polled
  1936. mode (at the expense of using more cpu cycles).
  1937. * arch/arm/src/stm32/stm32_i2c.c: Add trace debug capability. Enabled with
  1938. CONFIG_I2C_TRACE.
  1939. * arch/arm/src/stm32/stm32_i2c.c: Fix another bug where I2C conflicts with FSMC
  1940. being enabled. That time at the tail end of the transaction where there is
  1941. an unfinished stop condition.
  1942. * sched/mq_timedreceive.c and sched/mq_timedsend.c: The count of threads
  1943. waiting on the message queues was not being decremented after a timeout.
  1944. This would cause the accounting logic to become out of sync and the, perhaps,
  1945. an assertion to be triggered. This is an important bug and fixes a
  1946. potential crash when using mq_timedreceived() and mq_timedsend().
  1947. * sched/mq_sndinternal.c: Related to the above, the send logic was incrementing
  1948. the wrong counter when it waited as part of the mq_timedsend.c logic.
  1949. * fs/fat: Fix an error in the long file name logic: If the long file name
  1950. is an even multiple of 13 bytes in length, then it should not include a
  1951. NULL terminating character. Fix contributed by Kaushal Parikh.
  1952. * configs/sim/nx11: Created a separate configuration to build the NX
  1953. example using the a simulated framebuffer driver on an X11 window. This
  1954. example has been verified on Ubuntu 9.09 (it does not work on Cygwin).
  1955. * arch/sim/src/up_touchscreen.c and up_x11eventloop.c: Adds support for a
  1956. simulated NuttX touchscreen device using mouse/pointer feedback from an
  1957. x11 window.
  1958. * configs/sim/touchscreen: Adds a configuration to verify the simulated
  1959. touchscreen driver (Does not work on Cygwin).
  1960. * configs/sam3u/touchscreen: This is the configuration that I plan to use
  1961. to verify the SAM3U-EK touchscreen driver. However, as of this writing,
  1962. there is no touchscreen driver for the board.
  1963. * CONFIG_RTC_HIRES: Add an option to support either a high-resolution RTC
  1964. that completely replaces the system timer tick but may overflow and lose
  1965. time when the MCU is off and also for a low-resolution (1 sec/tick) RTC
  1966. that can run until 2106 with no overflow. But in this latter case, higher
  1967. resolution time must come from the system timer.
  1968. * CONFIG_SYSTEM_UTC: Removed support for the UTC system timer. It just
  1969. doesn't do enough to be worth the CPU cycles or the complexity.
  1970. * CONFIG_SYSTEM_TIME16: Added support for an optional 64-bit system timer.
  1971. * fs/fat/fs_fat32util.c: Add support for FAT date/time stamps; Enabled via
  1972. CONFIG_FS_FATTIME.
  1973. * arch/arm/src/sam3u/sam3u_spi.c: Add an SPI driver for the AT91SAM3U.
  1974. * drivers/input/ads7843e.c and include/nuttx/input/ads7843e.h: Add a
  1975. driver for the TI ADS7843E touchscreen controller.
  1976. * fs/nxffs/nxffs_open.c: Fix an error when a file is open for writing; since
  1977. the file will get deleted it is already exists, there must be a check if
  1978. there are other open references to the file.
  1979. * arch/arm/src/stm32/stm32_sdio.c: Fixed an error where during SDHC
  1980. initialization interrupts were not being re-enabled. Caused more subtle
  1981. errors than you would think.
  1982. * arch/arm/src/stm32/stm32_i2c.c: Fixed an error where I2C timeouts appeared
  1983. to be successful transfers.
  1984. * configs/sim/nsh2: Add another simulated NSH configuration. This one
  1985. supports X11 graphics, C++, and exercises graphic functions as built-in
  1986. commands.
  1987. 6.11 2011-11-12 Gregory Nutt <gnutt@nuttx.org>
  1988. * arch/arm/stm32/Make.defs: Don't build stm32_rtc.c if CONFIG_RTC is not
  1989. selected. Doing so will cause errors if other configuration dependencies
  1990. are not met.
  1991. * configs/stm3210e-eval/src/up_lcd.c: Color corrections for SPFD5408B LCD
  1992. do not work with R61580 LCD.
  1993. * configs/pic32-starterkit: Beginning of a configuration for the Microchip
  1994. PIC32 Ethernet Starter Kit. Hmmm.. I don't have a clue how to test this
  1995. with no serial port?!
  1996. * lib/stdio/lib_fclose.c: fclose() always returns an error (EOF) when it
  1997. closes a read-only file. This is because it calls flush() which will
  1998. fail on read-only files. No harm is done other that a bad value is
  1999. returned.
  2000. * arch/sim/src/Makefile: Correct build issue for sim/nsh2 target. Old
  2001. libboard.a was not being cleaned.
  2002. * arch/mips/src/pic32mx/pic32mx-gpio*.c: Add GPIO support for the PIC32MX.
  2003. * configs/sure-pic32mx/src/up_leds.c and up_buttons.c: Add button and LED
  2004. support for the Sure Electronics PIC32MX board.
  2005. * configs/ea3152: Add a configuration for the Embedded Artists LPC3152
  2006. daughter board (with the same base-board used with configs/ea3131)
  2007. * graphics/nxmu/nx_getrectangle.c, graphics/nxsu/nx_getrectangle.c,
  2008. graphics/mxtk/nx_getwindow.c, graphics/nxmu/nx_gettoobar.c: New
  2009. interfaces to read from graphics memory
  2010. * graphics/nxbe/nxbe_bitmap.c: Fix an error in the error handling that
  2011. can cause valid bitmaps to fail to render.
  2012. * include/nuttx/video/rgbcolors.h: Fix errors in some 16- and 8-bit color
  2013. conversion macros.
  2014. * tools/incdir.sh: Fix issues when g++ is used as the compiler. It was
  2015. not being recognized and handled properly.
  2016. * graphics/nxsu/nx_releasebkgd.c: Fix a bad cast that was causing
  2017. problems with the background window was released.
  2018. * fs/nxffs/nxffs_pack.c: Correct a critical bug in the NXFFS file system:
  2019. When repacking the filesystem, there was a missing check to see if an
  2020. inode structure would fit at the end of a block. This is a rare case
  2021. if the block size is large, but can be common for tiny block sizes
  2022. and results in a crash and file system corruption.
  2023. * fs/nxffs/nxffs_initialize.c: Fix an initialize error. If the FLASH
  2024. is full on power-up, NXFFS will fail to initialize correctly.
  2025. * fs/nxffs/nxffs_write.c and nxffs_pack.c: Fix an error that can occur
  2026. when attempt to write to FLASH volume that is completely full but
  2027. has no value inodes on it.
  2028. * drivers/mtd/at24xx.c: Now supports a configurable block size that
  2029. supports using "clusters" of AT24 pages as blocks. This allows bigger
  2030. block sizes and more efficient use of EEPROM when the AT24 is used to
  2031. support a file system (such as NXFFS). (Contributed by Hal Glenn).
  2032. * include/nuttx/video/rgbcolors.h: More fixes to RGB color conversion
  2033. macros.
  2034. * arch/arm/src/common/up_createstack.c and up_usestack.c: For ARM EABI
  2035. the stack must be aligned to 8-byte boundaries. This is necessary for
  2036. passing aligned floating point values under EABI. Fix contributed by
  2037. David Sidrane.
  2038. * Numerous changes and fixes to the PIC32 interrupt handing logic. The
  2039. PIC32 port is almost complete but still not ready for prime time.
  2040. 6.12 2011-12-06 Gregory Nutt <gnutt@nuttx.org>
  2041. * fs/fat/fs_fat32util.c and fs_fat32.h: Logic extended to look in up to
  2042. four partitions for a valid FAT file system.
  2043. * drivers/input/tsc2007.c: Add support for 8-bit conversions; make sure
  2044. that A/D converters are active before requesting conversions.
  2045. * drivers/mmcsd0/mmcsd_sdio.c: Increase capacity variable from size_t
  2046. to uin64_t (if available) so that SD cards with capacities greater
  2047. than 4Gb can be supported.
  2048. * fs/fat/fs_fat32dirent.c: The root directory structure is different
  2049. from other directories. When formatted by Windows, it is not initialized
  2050. at all. Some additional special handling is required to initialize the
  2051. root directory entry to interoperate correctly with windows.
  2052. * fs/fat/fs_fat32util.c: In fat_systime2fattime(void) should be
  2053. clock_gettime() and not clock_gettime(). Also, there is a place where
  2054. FAT date is used instead of FAT time. (Thanks to David Sidrane).
  2055. * arch/arm/src/stm32 and arch/arm/include/stm32: Add support for the
  2056. STM32F40xxx family of MCUs.
  2057. * configs/stm3240g-eval: Add framework for the STMicro STM3240G-EVAL
  2058. board.
  2059. * include/sys/types.h: wchar_t is a builtin type in C++ and its
  2060. declaration can cause errors with certain C++ compilers.
  2061. * sched/sig_timedwait.c: Fix signal handling when the returned info
  2062. is NULL. Before this change, it would derefence a NULL pointer
  2063. in this case.
  2064. * graphics/nxfonts/nxfonts_sans17x22.h and nxfonts_sans20x26.h: Add
  2065. some very small sans serif fonts.
  2066. * graphics/nxfonts/nxfonts_sans17x23b.h and nxfonts_sans20x27b.h: Add
  2067. corresponding sans serif bold fonts.
  2068. * drivers/input/ads7843e.c and tsc2007.c: Fix some errors in the poll
  2069. setup error checking that was cloned into both drivers.
  2070. * sched/mq_notify.c: Set errno appropriately on failures. There are
  2071. still several message queue functions that do not set errno!
  2072. * arch/arm/src/stm32: Fixes to several STM32F40xxx files (contributed by
  2073. Mikhail Bychek).
  2074. * configs/stm3210e-eval/src/up_lcd.c: Fix banding problem on the R61580
  2075. LCD
  2076. * configs/stm3240g-eval/ostest: The basic STM32F40xx bringup is functional
  2077. (11/12/06) for the STM3240G-EVAL board and passes the OS test.
  2078. * configs/stm3240g-eval/nsh: Adds a NuttShell (NSH) configure for the
  2079. STM3240G-EVAL board.
  2080. 6.13 2011-12-26 Gregory Nutt <gnutt@nuttx.org>
  2081. * arch/arm/src/stm32/stm32f40xxx_dma.c: Add DMA support for the STM32 F4
  2082. family (untested on initial check-in)
  2083. * arch/arm/src/armv7-m/up_fpu.c: Add logic for saving an restoring VFP
  2084. floating point registers on context switches (but also disable the FPU
  2085. because CodeSourcery doesn't support hard flowing point!)
  2086. * arch/arm/src/stm32/chip/stm32_eth.h: Add Ethernet register definitions
  2087. for the STM32 F4.
  2088. * arch/arm/srcm/stm32/stm32_eth.c: Adds an Ethernet driver for the STM32 F4.
  2089. * arch/arm/srcm/stm32/stm32_dac.c and stm32_adc.c: "Skeleton" files for STM32
  2090. DAC and ADC drivers. The actual logic will come later.
  2091. * arch/arm/srcm/stm32/stm32_eth.c: There may be a few more lurking bugs, but
  2092. the STM32 Ethernet driver appears to be fully functional on the STM3240G-EVAL.
  2093. * arch/arm/srcm/stm32/stm32_eth.c: Fix an error in clearing abnormal interrupt
  2094. events.
  2095. * configs/stm3240g-eval/dhcpd: Add a DCHP daemon configuration for the
  2096. STM3240G-EVAL board.
  2097. * configs/stm3240g-eval/nettest: Add a network test configuration for the
  2098. STM3240G-EVAL board.
  2099. * arch/arm/srcm/stm32/stm32_rtc.c, stm32f10xxx_rtc.c, and stm32f40xxx_rtc:
  2100. Broke out separate drivers to handle the very different RTC implementations
  2101. in the STM32 F1 and F4 family.
  2102. * arch/arm/srcm/stm32/stm32f10xxx_rtc.c: STM32 F4 RTC is functional (12/14/2011)
  2103. * net/uip-arp.c: Fix compilation issue with CONFIG_NET_ARP_IPIN
  2104. * include/nuttx/pwm.h and drivers/pwm.c: Add an interface definition and a
  2105. "upper half" driver for PWM output.
  2106. * arch/arm/src/stm32/stm32_pwm.c: Added a PWM "lower half" driver for the
  2107. STM32. The initial check-in is little more than a framework for the driver.
  2108. * arch/arm/src/stm32/stm32_usbdev.c: Corrected two CRITICAL errors in the USB
  2109. device-side driver: (1) Handling of data overrun condition was wrong. When
  2110. there was no further memory to accept further OUT endpoint data, the driver
  2111. would hang with infinite interrupts; (2) the logic in setting toggle bits
  2112. was not correct. However, this driver has functioned for a long time until
  2113. the particular condition that revealed the bug occurred. My impression is
  2114. that this latter bugfix also fixes some STM32 USB performance problems.
  2115. * configs/hymini-stm32v: A configuration for the HY-Mini STM32v board contributed
  2116. by Laurent Latil. These changes also include support for the STM32F103VCT6.
  2117. * arch/configs/stm3240g-eval/src/up_pwm.c: Add hooks needed to use the new
  2118. apps/examples/pwm test of the STM32 PWM driver.
  2119. * drivers/mtd/mp25x.c: Add ability to use different SPI modes and different
  2120. manufacturers codes. Fix a error in the wait for not busy (submitted by
  2121. Mohammad Elwakeel.
  2122. * arch/arm/src/stm32/stm32_can.c: Add a low-level STM32 CAN driver. (Initial
  2123. check is incomplete). Add loopback support to the driver.
  2124. * arch/arm/src/stm32/stm32_adc.c: The ADC is now functional. A more complete
  2125. driver would require DMA support. I have some questions still about the
  2126. accuracy of the timer-driven sampling.
  2127. * configs/sure-pic32mx/nsh: The PIC32 port is (finally) functional. Add an
  2128. NSH configuration for the Sure PIC32MX board.
  2129. * configs/sure-pic32mx/*/defconfig. Calibrated all PIC32 delay loops.
  2130. * configs/pcblogic-pic32mx/nsh: Add an NSH configuration for the PCBLogic
  2131. PIC32 board.
  2132. * Both PIC32 OS test and NSH configurations have now been verified.
  2133. 6.14 2012-01-15 Gregory Nutt <gnutt@nuttx.org>
  2134. * tools/Makefile.export, mkexport.sh, and configure.sh: Changes submitted
  2135. by Mike Smith to support configuration and 'make export' on MAC OS.
  2136. * arch/arm/src/stm32/stm32_gpio.c: Disabled interrupts while configuring
  2137. GPIO pins so that we have exclusive access to the GPIO configuration
  2138. registers.
  2139. * arch/mips/src/pic32mx/pic32mx_usbdev.c: Add a USB device-side driver
  2140. for the PIC32MX family.
  2141. * arch/arm/src/stm32/stm32_gpio.c: Correct an error in some of the GPIO
  2142. initialization logic. Fix submitted by Mike Smith.
  2143. * configs/olimex-lpc1766stk/src/up_leds.c: Add new interfaces so that is
  2144. CONFIG_ARCH_LEDS are not set, the LEDs may be controlled from application
  2145. logic.
  2146. * configs/olimex-lpc1766stk/src/up_buttons.c: Add support for the buttons
  2147. on the Olimex LPC1766-STK board.
  2148. * Makefile: Added 'apps_clean' and 'apps_distclean' target to simplify
  2149. managing the state of the application directory while in the NuttX directory
  2150. * Documentation/NuttXGettingStarted.html: Added a "Getting Started" Guide
  2151. for NuttX. At present, this is just a stub and it refers to the NuttX
  2152. top-level README.txt file which is the only, real "Getting Started" Guide
  2153. that exists at the time being.
  2154. * arch/arm/src/lpc17xx/lpc17_gpioint.c: Correct an value used as the lower
  2155. end of an IRQ number range test.
  2156. * arch/arm/src/lpc17xx/lpc17_gpio.c: Fix a integer flow problem in shift.
  2157. This error would prevent pins > 15 from being used as interrupt sources.
  2158. * arch/arm/src/stm32/stm32_can.c: The CAN driver has been verified in
  2159. loopback mode on the STM3240G-EVAL board.
  2160. * configs/stm3240g-eval/src/up_adc.c: Complete coding of ADC support for the
  2161. potentiometer on board the STM3240G-EVAL.
  2162. * arch/arm/src/lpc17_can.c: Several CAN driver improvements. Adds support for
  2163. testing in loopback mode. now uses all three transmit buffers for better
  2164. performance.
  2165. * configs/olimex-lpc1766stk/nsh: Now supports the CAN loopback test as an
  2166. optional "built-in" application.
  2167. * sched/irq_attach.c: Fix an issue with disabling interrupts when they are
  2168. detached. For the PIC32, this can't be done because there is a 1-to-many
  2169. relationship between vector numbers and interrupt numbers or different.
  2170. Added a new configuration option CONFIG_ARCH_VECNOTIRQ to at least flag
  2171. the architectures that have this issue and to (at least) avoid doing
  2172. something too wrong.
  2173. * drivers/can.c: Fix a test for buffer full in the generic, "upper half",
  2174. can driver.
  2175. * arch/arm/src/lm3s: Add support for the LM3S6432S2E (Contributed by Mike Smith)
  2176. * configs/lm3s6432-s2: Add support for the TI RDK-S2E (LM3S6432S2E) board
  2177. (Contributed by Mike Smith)
  2178. * configs/stm3240g-eval/src: Add APIs support to support user access to the
  2179. LEDs
  2180. * arch/arm/src/lpc17xx/lpc17_can.c: Add logic to change the CAN bit rate based
  2181. on the NuttX configuration.
  2182. * arch/arm/src/lpc17xx/lpc17_can.c: PCLK divisor is now a configuration
  2183. option.
  2184. * arch/arm/src/stm32/stm32_serial.c and stm32_lowputc.c: Support for
  2185. UART4-5 and USART6 added by Mike Smith. Also includes a more flexible
  2186. way of managing UART pin configurations.
  2187. * include/nuttx/pwm.h, drivers/pwm.c, arch/arm/src/stm32/stm32_pwm.c: Add
  2188. support for pulse count in order to better support stepper motors.
  2189. * arch/arm/src/stm32/stm32_dumpgpio.c: Checking wrong register to see if
  2190. GPIO is enabled. Also not adding the GPIO base address to several offsets.
  2191. * configs/stm32f4discovery: Port to the STMicro STM32F4Discovery board
  2192. (Contributed by Mike Smith).
  2193. * fs/fat/fs_fat32util.c: On a failure to recognize a FAT file system, the
  2194. mount logic should return -EINVAL, not -ENODEV.
  2195. * arch/arm/src/stm32/stm32_tim.c: Support for STM32 F4 32-bit timers
  2196. (Contributed by Mikhail Bychek)
  2197. * lib/stdio/lib_vsprintf.c: Add support for fixed-size fields with floating
  2198. point numbers (Contributed by Mikhail Bychek)
  2199. 6.15 2012-02-12 Gregory Nutt <gnutt@nuttx.org>
  2200. * arch/arm/src/stm32/stm32_pwm.c: Pulse count was limited to 128; now is
  2201. (essentially) unlimited.
  2202. * configs/stm3240g-eval/include/board.h: Input frequencies wrong for all but
  2203. one APB2 timer.
  2204. * arch/mips/src/pic32mx/pic32mx-ethernet.c: The PIC32 Ethernet driver is
  2205. code complete, but still untested.
  2206. * configs/sim/*/Make.defs and arch/sim/src/Makefile: Add support for building
  2207. a 32-bit executable on a 64-bit Linux target.
  2208. * configs/sure-pic32mx/src/up_leds.c: Correct GPIOs used for LEDs. The wrong
  2209. pins were being used.
  2210. * arch/arm/src/stm32/chip/stm32f10xxx_gpio.h: Correct offset to one AFIO EXICR
  2211. register.
  2212. * arch/arm/src/lpc17xx/lpc17_can.c: Added "advanced" configuration options
  2213. to specify the CAN TSEG1 and TSEG2 clock counts specifically.
  2214. * include/nuttx/can.h and drivers/can.c: Add support for extended (29-bit)
  2215. CAN IDs.
  2216. * arch/arm/src/lpc17xx/lpc17_can.c: Add support for extended (29-bit) CAN IDs.
  2217. * arch/arm/src/stm32/stm32_can.c: Add support for extended (29-bit) CAN IDs.
  2218. * include/nuttx/power/pm.h: Move include/nuttx/pm.h into a sub-directory named
  2219. power.
  2220. * drivers/power: Rename the drivers/pm directory to power
  2221. * include/power/battery.h and drivers/battery.c: Add the interface definitions
  2222. for an upper and lower half battery driver. Add the implementation of the
  2223. common upper half battery driver.
  2224. * drivers/power/max1704x.c: Add a driver for MAX17040x battery "fuel gauge"
  2225. * arch/arm/src/stm32/stm32_i2c.c: Add support for I2C3
  2226. * drivers/usbdev/: Lots of name changes: cdc_serial->cdcacm, usbstrg->usbmsc,
  2227. usbser->pl2303
  2228. * drivers/usbdev/composite: Fleshed out support for a composite USB device.
  2229. * drivers/stm3210e-eval/composite and drivers/stm3210e-eval/src/up_composite.c:
  2230. Add a configuration test the USB composite device.
  2231. * include/nuttx/usb/usb.h, drivers/usbdev/composite_descriptors.c, and
  2232. drivers/usbdev/cdcacm_descriptors.c: Add support for the USB Interface
  2233. Association Descriptor (IAD)
  2234. * arch/arm/src/stm32/stm32_i2c.c: Correct a typo in STM32 I2C3 support
  2235. (submitted by Mike Smith)
  2236. * arch/*/src/Makefile: Candidate solution for dependency issue in the board
  2237. sub-directory: By making libboard.a a "phony" target, libboard.a should
  2238. always rebuilt (the end result is worth the small increase in build time)
  2239. (submitted by Mike Smith).
  2240. * include/net/psock.h: Added a new low level socket interface that allows the
  2241. OS to use the socket interface without having a socket descriptor.
  2242. * include/net/psock.h: Removed psock.h. The new interfaces are moved into
  2243. nuttx/net.h which already has similar logic.
  2244. * include/nuttx/usb/usb.h: Can't use 'class' as a field name in USB structures.
  2245. This upsets C++ if usb.h is included. 'class' -> 'classid' in this header
  2246. file and all places that referenced 'class'
  2247. * drivers/usbdev/usbmsc.c: Fixed some backward conditional compilation.
  2248. * sched/on_exit.c: Add support for the on_exit() function.,
  2249. * sched/exit.c, task_exithook.c, task_delete.c, sched_releasetcb.c: Move
  2250. the logic that closes file descriptors sooner in the task shutdown sequence.
  2251. When drivers are closed, they may need to do things that require a fully
  2252. up-and-running task. Some things cannot be done later when the task is
  2253. crippled.
  2254. * lib/dirent: Moved readdir_r() and telldir() from lib/misc to this new
  2255. directory where they belong.
  2256. * lib/termios. Implemented tcsetattr() and tcgetattr().
  2257. * lib/stdio/lib_fgets.c: The old fgets includes some terminal related
  2258. functionality: It handles VT-100 commands, includes a command line editor
  2259. and echo characters back to the terminal. This old, overloaded fgets()
  2260. was renamed readline() and moved to apps/system/readline. The version
  2261. of fgets() in lib/stdio was them simplified and stripped down so that it
  2262. *only* gets a string -- as its description implies.
  2263. * arch/arm/src/lpc214x/lpc214x_usbdev.c: Add corrections suggested by
  2264. David Hewson many, many months ago.
  2265. * configs/mcu123-lpc214x/composite and configs/mcu123-lpc214x/src/up_composite.c:
  2266. Add a configuration to test the USB composite device.
  2267. * configs/stm3240g-eval/Telnetd: Add a configuration for testing the
  2268. Telnet daemon.
  2269. * configs/stm3240g-eval/nsh2: This is another NSH configuration. It differs
  2270. from the original nsh configuration because it does not have an RS-232
  2271. console (only a Telnet console) and SDIO is enabled. This configuration is
  2272. required because the STM3240G-EVAL board cannot simultaneously support
  2273. RS-232 and SDIO due to pin conflicts.
  2274. * lib/string/lib_strcasestr.c: Add strcasestr().
  2275. * lib/stdio/lib_avsprintf.c: Add avsprintf().
  2276. * lib/net/lib_inetntop.c: Add inet_ntop().
  2277. * lib/net/lib_inetpton.c: Add inet_pton().
  2278. * include/pthread.h: Correct PTHREAD_MUTEX_INITIALIZER.
  2279. * fs/fat/fs_fatfs.c: Fix an error in the FAT statfs() implementation that
  2280. was causing some block counts to be reported incorrectly (reported by
  2281. David Sidrane).
  2282. * drivers/ramlog.c: Add a character driver that can substitute
  2283. for /dev/console and or be used for logging debug output when there
  2284. is no serial port available (such as when a Telnet console is used).
  2285. * lib/stdio/lib_syslogstream: Add a stream object that will be used to
  2286. re-direct all debug output to the RAM log if CONFIG_SYSLOG and
  2287. CONFIG_RAMLOG_SYSLOG are defined.
  2288. * lib/misc/lib_dbg.c: Add an interface enabled with CONFIG_DEBUG_ENABLE that
  2289. can be used to turn debug output on and off.
  2290. 6.16 2012-03-10 Gregory Nutt <gnutt@nuttx.org>
  2291. * drivers/sensors/qencoder.c and include/nuttx/sensors/qencoder.h: Add an
  2292. implementation for a quadrature encoder upper half driver.
  2293. * arch/arm/src/stm32/stm32_qencoder.c/.h: Add a initial implementation of
  2294. a lower-half quadrature encoder driver for the STM32. On initial check-in,
  2295. this is little more than a "skeleton" file.
  2296. * Various files: CAN ISO-11783 support contributed by Gary Teravskis.
  2297. * net/recv.c and net/recvfrom.c: Correct a bug in return value: The the peer
  2298. gracefully closes the connections, needs to return zero and not ENOTCONN.
  2299. * arch/arm/src/stm32/stm32_eth.c: Fix an error in the STM32 ethernet driver.
  2300. The received buffer size must be two bytes larger to account for the two byte
  2301. checksum that is appended to the packet. Otherwise, the last two bytes of
  2302. real data in the packet will get clobbered.
  2303. * arch/arm/src/stm32f40xx_dma.c: The STM32 F4 DMA has (finally) been verified
  2304. * arch/arm/src/stm32_sdio.c: STM32 F4 SDIO DMA is now supported
  2305. * configs/stm3240g-eval/nsh/defconfig: This configuration now supports SDIO
  2306. with DMA (see configs/stm3240g-eval/README.txt for some issues).
  2307. * arch/arm/src/armv7-m/up_vectors.S and arch/arm/src/armv7-m/up_vectors.S: New,
  2308. streamlined Cortex-M exception handling (with FPU supported). Contributed byh
  2309. Mike Smith
  2310. * net/accept.c, connect.c,and net_monitor.c: Correct an error in the accept
  2311. logic. After a new connection is made via accept(), monitoring for losses
  2312. of TCP connection must be set up (just as with connect()). The new file
  2313. net_monitor.c holds the common TCP connection monitoring logic used by both
  2314. the accecpt() and connect() logic. Contributed by Max Nekludov.
  2315. * net/recvfrom.c and net/uip/uip_tcpcallback.c: Fix a leak in the TCP
  2316. read-ahead logic. This is a *critical* bug fix!
  2317. * net/uip/uip_tcpinput.c: Correct an error in the TCP stack. It was
  2318. incrementing the received sequence number BEFORE determining if the
  2319. incoming data could be handled. If the data was dropped (usually because
  2320. there is insufficient buffering space), then no ACK will be sent and the
  2321. sequence number will be wrong. The end consequence of the bad sequence
  2322. number was that the when the dropped packet was re-transmitted, it was
  2323. was ignored because its sequence number looked wrong. Fix was, obviously,
  2324. to only increment the recevied sequence number if the TCP data was
  2325. accepted.
  2326. * configs/stm3240g-eval, configs/stm32f40discovery, and arch/*/src/Makefile:
  2327. Add changes to support building with the Atollic "Lite" toolchain.
  2328. * fs/fs_select.c: Correct select(), in the case of loss of network
  2329. connection (POLLHUP), select() must report a read-ready event. This
  2330. is how the standard select() interface is supposed to work: In the case
  2331. of loss-of-connection, select() reports read-ready. The next time you
  2332. read from the socket, you detect the end-of-connection event. Change
  2333. submitted by Max Nekludov.
  2334. * arch/arm/src/armv7-m/up_fpu.S and arch/arm/src/stm32/stm32_vectors.S: Fix
  2335. lazy FPU register saving with CONFIG_ARCH_FPU is set in the configuration.
  2336. * arch/arm/src/armv7-m: Lazy saving of floating point registers on context
  2337. switches now seems to be functional.
  2338. * net/uip/uip_tcpinput.c: Fix a TCP protocol error reported by Max Nekludov.
  2339. * configs/stm3240g-eval, configs/stm32f40discovery: Add changes to support
  2340. building with the Atollic "Pro" toolchain.
  2341. * Makefile: Use the more common .hex extension for Intel hex files instead of
  2342. more precise .ihx extension. This change has ripple effects to many build-
  2343. related scripts and programs and could cause some short-term problems.
  2344. * configs/stm3240g-eval/, arch/arm/src/stm32/up_allocateheap.c: Add support
  2345. for the 16-mbit SRAM on-board the STM3240G-EVAL board.
  2346. * drivers/usbdev/cdcacm.c and include/nuttx/usbdev/cdcacm.h: The CDC/ACM
  2347. driver can now be dynamically connected and disconnected from the host
  2348. under software control.
  2349. * include/nuttx/arch.h, configs/stm3240g-eval/src/up_cxxinitialize.c, and
  2350. configs/stm3240g-eval/src/up_cxxinitialize.c: Add support for C++ static
  2351. initializers.
  2352. * net/setsockopt.c, net/getsockopt.c, net/bind.c, net/socket.c: Add more
  2353. low level, thread-independent socket interfaces for use within the OS.
  2354. Some of these are currently used by the FTP controlling terminal. More will
  2355. be used to support the NFS file system currenly underwork.
  2356. * include/nuttx/net/: Major re-organization of networking headerf files.
  2357. Moved all non-standard, NuttX-specific header files from include/net and
  2358. include/nuttx into include/nuttx/net.
  2359. * arch/mips/src/pic32mx/pic32mx_usbdev.c: The PIC32 USB driver now appears to
  2360. be fully functional.
  2361. * configs/sure-pic32mx/usbnsh and configs/sure-pic32mx/src: Add support for
  2362. NSH using only USB serial I/O to support the console. This is useful on
  2363. devices that have USB, but no serial port.
  2364. * arch/mips/src/pic32mx/pic32mx_spi.c: Add a PIC32 SPI driver. Initial
  2365. checkin is primitive, incomplete (lacks interrupt logic), and untested.
  2366. * configs/pic32-startkit/nsh: Completed verification of the PIC32 Ethernet
  2367. Starter Kit port. Added and verified the NuttShell (NSH) on the PIC32
  2368. Ethernet Starter Kit. I can now (finally) claim to have complete the
  2369. basic port to this board.
  2370. * configs/pic32-startkit/nsh/up_usbdev, up_nsh.c, and up_usbterm.c: Verified
  2371. the USB (device) driver on the PIC32 Ethernet Starter Kit.
  2372. * arch/mips/src/pic32mx/pic32mx_ethernet.c: Verified the PIC32 Ethernet
  2373. driver on the PIC32 Starter Kit. Status: It is occasionally functional
  2374. but not stable enough for use.
  2375. * arch/arm/include/stm32, arch/arm/src/stm32: Add general support for
  2376. the STM32 F2 family. Contributed by Gary Teravskis,
  2377. * configs/stm3220g-eval: Add support for the STMicro STM3220G-EVAL board.
  2378. Contributed by Gary Teravskis,
  2379. 6.17 2012-04-14 Gregory Nutt <gnutt@nuttx.org>
  2380. * configs/sure-pic32mx: Add support for the Sure DB-DP11212 PIC32 General
  2381. Purpose Demo Board
  2382. * arch/arm/src/stm32/stm32_usbhost.c/.h: Add files that will (eventually)
  2383. hold an STM32 USB host driver (the initial check-in is the NuttX LPC17
  2384. USB host driver with name changes only).
  2385. * arch/arm/src/stm32/chip/stm32_otgfs.h: STM32 USB OTG FS register
  2386. definitions (not complete on initial check-in).
  2387. * net/connect.c: Add another low level, thread-independent socket interface
  2388. for use within the OS.
  2389. * arch/mips/src/pic32mx/pic32mx_ethernet.c: The PIC32 Ethernet driver
  2390. is now stable on the PIC32 Starter Kit.
  2391. * configs/pic32-starterkit/nsh2: Add a PIC32 Ethernet Starter Kit NSH
  2392. configuration that has no serial console; all interaction is done via
  2393. Telnet.
  2394. * net/netdev_sem.c: Correct a deadlock condition by making a seamphore
  2395. recursive. To my knowledge this deadlock only occurs when running the
  2396. NSH command ifconfig over Telnet. In that case the function netdev_foreach
  2397. takes the network device semaphore, but so does the telnet logic causing
  2398. the deadlock.
  2399. * arch/arm/src/stm32/stm32_pm*.c: Add basic STM32 power management logic
  2400. that will eventually be used to implement low power states.
  2401. * arch/arm/src/stm32/stm32f*0xx_rcc.c: In order to use CAN2, both CAN1 and
  2402. CAN2 clocking must be enabled.
  2403. * arch/mips/src/pic32mx/picm32mx-usbdev.c: Several stall-related fixes so that
  2404. the USB device driver can used the mass storage class (which does a LOT
  2405. of stalling as part of its normal protocol). The PIC32 USB Mass Storage
  2406. device is, however, still non-functional when debug is OFF.
  2407. * include/nuttx/fs: Move all file-system related files from include/nuttx to
  2408. include/nuttx/fs.
  2409. * include/nuttx/serial: Move all serial-driver related files from include/nuttx to
  2410. include/nuttx/serial.
  2411. * include/nuttx/clock.h and sched/clock_initialize.c: Add a new OS interface
  2412. called clock_sychronize() that can be used to re-synchronize the NuttX
  2413. system time with a hardware RTC. This function is called normally at power
  2414. up but may also need to be called when recovering from certain low-power
  2415. usage states where the system time is no longer accurate.
  2416. * arch/arm/src/calypso and arch/arm/include/calypso: Support for the TI "Calypso"
  2417. phone processor. Contributed by Denis Carilki and includes the work of Denis,
  2418. Alan Carvalho de Assis, and Stefan Richter.
  2419. * configs/compal_e88 and configs/compal_e99: Support for Compal e88 and e99 phones
  2420. Contributed by Denis Carilki and includes the work of Denis, Alan Carvalho de
  2421. Assis, and Stefan Richter.
  2422. * arch/arm/src/lpc17xx: Several fixes for error that have crept in for the LPC17xx
  2423. DAC. Contributed by by Lzyy.
  2424. * graphics/nxconsole: Add a character driver that can be used as a console output
  2425. device for text output (still under development on initial check-in).
  2426. * graphics/nxmu: Fix several compilation errors that have crept into the multi-
  2427. user NX server because of lack of use.
  2428. * graphics/nxconsole: The NX text console is basically function (in multi-
  2429. user NX mode only).
  2430. * arch/arm/src/stm32/stm32_i2c.c: Correct a bug in the STM32 I2C driver. The
  2431. behavior of I2C status bits seems to be different between F1 and F4.
  2432. * configs/stm3210e-eval/nxconsole: New STM32 F1 configuration that runs the
  2433. NuttShell (NSH) within an NX window.
  2434. * graphics/nxconsole/nxcon_sem.c: Add protection from re-entrance with debug
  2435. is enabled.
  2436. * include/nuttx/ascii.h and vt100.h: Header files to centralize ASCII and
  2437. VT100 escape sequence definitions.
  2438. * graphics/nxconsole/nxcon_vt100.c: Add add framework to support VT100 escape
  2439. sequences in NxConsole.
  2440. * fs/fs_read.c: Fix read() return value for attempt to read from write-only
  2441. file or device. Was returning EBADF, should return EACCES.
  2442. * graphics/nxconsole.c: NxConsole now supports backspace and a cursor.
  2443. * Kconfig and arch/sim/Kconfig: Beginnings of support for a NuttX
  2444. configuration tool. Currently using the kconfig parser 'kconfig-frontend'
  2445. available at http://ymorin.is-a-geek.org/projects/kconfig-frontends
  2446. (version 3.3.0-1 is also available in the NuttX SVN at
  2447. trunk/misc/tools/kconfig-frontends-3.3.0-1.tar.gz). Contributed by Lzyy.
  2448. * */Kconfig: Added skeleton Kconfig files to all directories that
  2449. may need them.
  2450. * include/nuttx/math.h: Moved include/math.h to include/nuttx/math.h
  2451. because it conflicts too often with the system math.h (and people aren't
  2452. inclined to read the documentation on how to handle this). Now, if
  2453. CONFIG_ARCH_MATH_H=y is defined, the top-level makefile will copy
  2454. the redirecting math.h header file from include/nuttx/math.h to
  2455. include/math.h. So for the architectures that define CONFIG_ARCH_MATH_H=y,
  2456. include/math.h will be in place as it was before; for the architectures
  2457. that don't select CONFIG_ARCH_MATH_H, the redirecting math.h header
  2458. file will stay out-of-the-way in include/nuttx/.
  2459. * Kconfig, sched/Kconfig, lib/Kconfig, libxx/Kconfig, arch/sim/Kconfig,
  2460. drivers/Kconfig, drivers/mtd/Kconfig, drivers/input/Kconfig
  2461. drivers/analog/Kconfig, drivers/lcd/Kconfig: Updated kernel
  2462. configuration support provided by Lzyy.
  2463. * Kconfig: Many more Kconfig updates (no longer tracking in the ChangeLog)
  2464. * arch/arm/src/Makefile, arch/x86/src/Makefile, arch/avr/src/Makefile,
  2465. arch/mips/src/Makefile, arch/sim/src/Makefile, arch/hc/src/Makefile,
  2466. arch/sh/src/Makefile: The libgcc.a in newer versions of GCC now
  2467. have an dependency on an external implementation of abort(). This
  2468. required modification to the Makefiles that do the final link: Now
  2469. libgcc.a must be included within the group of libraries that are
  2470. search recursively.
  2471. * arch/arm/srm/stm32/stm32_otgfsdev.c: A USB OTG FS device-side driver
  2472. for the STM32 F4 (and maybe F2 and F1 connectivity line).
  2473. * tools/cmpconfig.c: A tool for comparing two configuration files.
  2474. * include/nuttx/usb/usbdev.h, drivers/usbdev/*, arch/*/src/*/*usb*.c:
  2475. Extend the USB device side interface so that EP0 OUT data can be passed
  2476. with OUT SETUP requests.
  2477. * include/nuttx/watchdog.h: Add the definition of a standard watchdog
  2478. driver interface.
  2479. * drivers/watchdog.c: The "upper half" watchdog timer driver.
  2480. 6.18 2012-05-19 Gregory Nutt <gnutt@nuttx.org>
  2481. * Kconfig: Continued Kconfig file updates (no longer tracking on a per-file
  2482. basis in the ChangeLog)
  2483. * arch/arm/src/stm32/stm32_iwdog.c and stm32_wwdog.c: Add the STM32 IWDG
  2484. and WWDIG watchdog timer driver.
  2485. * configs/stm3240g-eval/src/up_lcd.c: Add LCD from for the STM3240G-EVAL (the
  2486. initial check-in is just a stm3210e-eval driver with renaming).
  2487. * sched/sched_setscheduler.c: Correct successful return value (Contributed
  2488. by Richard Cochran).
  2489. * include/fcntl.h and lib/stdio: Ignore CONFIG_STDIO_LINEBUFFER is the
  2490. file was opened in binary mode.
  2491. * lib/stdio/lib_fopen.c: Correct an error in parsing open mode string. The
  2492. plus sign may not appear right after the basic mode. For example, "r+", "rb+",
  2493. and "r+b" are all valid open strings and mean the same thing.
  2494. * lib/stdio/lib_fopen.c: Correct return errno value from f_open() and
  2495. f_fdopen() if the open mode string is invalid.
  2496. * drivers/serial/serial.c: Do not disable Rx interrupts on each byte.
  2497. Rather, only disable Rx interrupts when the Rx ring buffer may be empty.
  2498. * include/nuttx/usb/audio.h: USB Audio 1.0 definitions (in progress).
  2499. * arch/arm/src/stm32/stm32fxx_dma.c: STM32 F4 DMA now supports circular
  2500. buffer mode (contributed by Mike Smith)
  2501. * arch/arm/src/stm32/stm32_serial.c: The serial driver can now support
  2502. Rx DMA into a circular buffer (contributed by Mike Smith)
  2503. * configs/pic32mx7mmb: Beginning of a configuration for the Mikroelektronka
  2504. PIC32MX7 Multimedia Board (MMB).
  2505. * net/recvfrom.c: Fix a compilation problem. Some UDP logic was conditioned
  2506. on TCP, not UDP.
  2507. * drivers/usbdev/cdcacm.c: Fix an infinite loop that occurs when the serial
  2508. device is unregisters.
  2509. * arch/arm/src/stm32/stm32_otgfs.c: The driver needs to reset the software (in
  2510. order to flush the requests) and to disable the software connection when the
  2511. device is unregistered.
  2512. * include/sys/prctl.h, sched/prctl.c, include/pthread.h: Add interfaces to
  2513. support getting and setting of the thread or task name.
  2514. * configs/ubw32: Added a configuration to support the Sparkfun UBW32 PIC32 board.
  2515. * configs/ubw32/nsh: Added an NSH configuration for the Sparkfun UBW32 PIC32 board.
  2516. * configs/ubw32/up_buttons.c: Added button support for Bit Whacker board.
  2517. * configs/stm3240g-eval/nxconsole: Added a configuration to run the NSH
  2518. shell in an NX window for the STM3240G-EVAL board.
  2519. * include/cxx/cunistd: C++ header file to make sure that everything in
  2520. unistd.h is in the std:: namespace.
  2521. * configs/sim/nxwm: Added a configuration for testing the NuttX Window Manager
  2522. (NxWM)
  2523. * fs/fs_fcntl.h: On success, always returned OK. However, some fcntl commands
  2524. require returning other values on success.
  2525. * Various files. Fix warnings about variables that were initialized by not used.
  2526. * configs/sim/*/defconfig: Changes to build a 32-bit simulation on a 32-bit
  2527. platform did not make into all of the Make.defs files.
  2528. * graphics/nxmu/nx_move.c: Wrong opcode was being used in the server message;
  2529. Also there was an error in the offset calculation.
  2530. * graphics/nxglib/fb/nxglib_moverectangle.c: Offset argument is really a
  2531. position, not an offset.
  2532. * graphics/nxtk/nxtk_drawframe.c: Framed windows are now drawn in three
  2533. colors (instead of just two).
  2534. * drivers/input/stmpe811_*: Added a driver to support the STMicro STMPE811
  2535. IO Expander and touchscreen driver.
  2536. * configs/stm3240g-eval/nxwm: Added to configuration for testing the NxWM
  2537. window manager on the STM3240G-EVAL board.
  2538. * graphics/nxtk/nxtk_toolbarbounds.c: Added an interface to get the toolbar
  2539. bounding box.
  2540. * graphics/nxtk/nxtk_drawframe.c: Fix an error in drawing the window frame.
  2541. * NX, NxConsole: Replace CONFIG_NXCONSOLE_NOGETRUN to CONFIG_LCD_GETRUN. The
  2542. inability to read from the LCD is a property of the LCD, not of NxConsole.
  2543. Then add CONFIG_NX_WRITEONLY which is the more generic way of saying that
  2544. no NX component should try to read from the underlying graphic device (LCD
  2545. or other).
  2546. * configs/stm3240g-eval/src/up_stmpe811.c: Add board-specific support for the
  2547. the STMPE811 I/O expander on the STM3240G-EVAL board. Verfied that the
  2548. STM3240G-EVAL touchscreen is now fully functional.
  2549. * include/cxx/cfcntl: Added std:: header file.
  2550. * graphics/nxbe/nxbe_filltrapezoid.c and graphics/nxglib/fb/nxglib_filltrapezoid.c:
  2551. Fix several errors in the trapezoid fill logic.
  2552. * include/nuttx/input/touchscreen.h, configs/hymini-stm32, configs/stm3240g-evel,
  2553. * configs/sam3u-ek, configs/sim, arch/sim/src/up_touchscreen.c, and
  2554. apps/examples/touchscreen: Standardize the board-specific, touchscreen
  2555. initialization interfaces.
  2556. * drivers/input/stmpe811_base.c and configs/stm3240g-eval: The STMPE811-based
  2557. touchscreen seems to work better with edge (vs. level) interrupts
  2558. * drivers/input/stmpe811_tsc.c: Fix some status checks so that the touchscreen
  2559. interrupt handling logic does not read data if the fifo is not at the
  2560. threshold level.
  2561. * include/nuttx/wqueue.h: Add macro work_available() to determine if the
  2562. previously scheduled work has completed.
  2563. * drivers/stmpe811_tsc.c: Correct errors: (1) Since all interrupt logic is done on
  2564. the worker thread, disabling interrupts does not provide protected; Need to
  2565. disable pre-emption. (2) Fix handling of touch ID and (2) add some logic to
  2566. prevent certain kinds of data overrun.
  2567. * include/nx/nxtk.h and graphics/nx/nxtk/nxtk.h: Move setting
  2568. of configuration defaults from the internal header file to a place where
  2569. other logic can use the defaults.
  2570. * graphics/nxtk/nxtk_events.c: Fixed an important but in the logic that
  2571. translates the mouse/touchscreen position data for framed windows and toolbars.
  2572. * drivers/input/stmpe811_tsc.c, tsc2007.c, and ads7843e.c: Need to keep track of
  2573. when if positional data is valid. When the touch is released, the X/Y position
  2574. of the release must be the same as the X/Y position of the last touch (se that
  2575. the release occurs in the same window as the last touch).
  2576. * graphics/nxtk/nxtk_events.c: Fix an error in mouse/touchscreen input logic:
  2577. Was autoraising the window AFTER processing the mouse press. This raises havoc
  2578. if the result of processing the mouse click was to raise some other window!
  2579. * graphics/nxtk/nxtk_events.c: I had to disable the whole autoraise feature
  2580. for multi-user case because it does not work correctly. In a scenario where (1) there
  2581. are multiple queued touchscreen events for the same window and (2) the result of the
  2582. first input was to switch windows, then the autoraise implementation will cause the
  2583. window to revert to the previous window. Not good behavior.
  2584. * sched/sched_mergepending.c: Add task switching instrumentation. There is a case
  2585. here where instrumentation was missing. Contributed by Petri Tanskanen.
  2586. * CONFIG_STMPE811_THRESHX, CONFIG_STMPE811_THRESHX, and drivers/stmpe811_tsc.c: Add some
  2587. thresholding controls to all slow down processing of touchscreen samples.
  2588. This is a problem with NX in multi-user mode: touchscreen data gets sent
  2589. via a message and when the message queue gets full the sender blocks and
  2590. touch events are lost. Basic data overrun. The badly effects touchscreen
  2591. human factors.
  2592. * include/sched.h: Fix a typo (missing semicolon) in prototype of on_exit();
  2593. * sched/on_exit.c and include/nuttx/sched.h: Fix some old typos that caused
  2594. compilation errors when CONFIG_SCHED_ONEXIT is defined.
  2595. * configs/stm3240g-eval/nxwm/defconfig: The default NxWM now uses the STMPE811
  2596. touchscreen.
  2597. * include/cxx/csched: Added
  2598. * graphic/nxmu/nxmu_sendserver.c, nxmu_sendwindow.c, and nxmu_sendclient.c:
  2599. Refactor NX messaging logic in preparation for a new message control
  2600. feature.
  2601. * graphics/nxtk, graphics/nxmu, include/nuttx/nx: Add a new window communication
  2602. to support blocking and flushing of client window messages. If there are
  2603. stale, queue window messages at the time that a window is destroyed, very bad
  2604. things happen.
  2605. 6.19 2012-06-15 Gregory Nutt <gnutt@nuttx.org>
  2606. * graphics/nxconsole/nxcon_kbdin.c: If selected, the NxConsole will take
  2607. input from the NX keyboard input callback. If this option is set, then
  2608. the interface nxcon_kdbin() is enabled. That interface may be driven by
  2609. window callback functions so that keyboard input *only* goes to the top
  2610. window. If CONFIG_NXCONSOLE_NXKBDIN is not selected, then the NxConsole
  2611. will receive its input from stdin (/dev/console). This works great but
  2612. cannot be shared between different windows. Chaos will ensue if you
  2613. try to support multiple NxConsole windows without CONFIG_NXCONSOLE_NXKBDIN
  2614. * graphics/nxmu/nx_kbdin.c: Fix pointer argument. This is a error
  2615. introduced in changes leading up to the 6.18 release. This error will
  2616. cause crashes or perhaps simply not work when you try to handle window
  2617. keyboard data in multi-user mode.
  2618. * graphics/nxconsole/nxcon_kdbind.c: Fixed unmatched sem_wait and sem_post.
  2619. Fix some conditional compilation that included a few too many lines of code.
  2620. * drivers/input/stmpe811_tsc.c and stmpe811.h: Add a timeout to catch missed
  2621. pen up events. Now the STM3240G-EVAL touchscreen works very smoothly.
  2622. * configs/stm3240g-eval/nxwm/defconfig: Enable support for NxConsole keyboard
  2623. input. Increasing spacing of icons.
  2624. * configs/stm3240g-eval/nxwm/defconfig: Use a larger font for the calculator.
  2625. * include/nuttx/lcd/ssd1289.h, drivers/lcd/ssd1289.c and .h: Generic LCD
  2626. driver for LCDs based on the Solomon Systech SSD1289 LCD driver. This
  2627. of this as a template for an LCD driver that will have to be cusomized
  2628. for your particular LCD hardware.
  2629. * configs/stm32f4discovery/src/up_extmem.c and up_ssd1289.c: Add support to
  2630. STM32F4Discovery for than an external, SSD1289-based LCD.
  2631. * configs/stm32f4discovery/nxlines: Add an STM32F4Discovery configuration
  2632. to thest the SSD1289-based LCD.
  2633. * configs/stm3240g-eval/src: Add USB GPIO initialization logic needed
  2634. in board-specific boot logic.
  2635. * configs/stm32f4discovery/src: Add USB GPIO initialization logic needed
  2636. in board-specific boot logic.
  2637. * drivers/usbdev/pl2303.c and cdcacm.c: Fix the request size used for sending
  2638. packets. It was not using the maximum request size, but instead the previous
  2639. request size. As a result, packets get smaller, and smaller, and ... This
  2640. is an important USB serial fix.
  2641. * arch/arc/src/stm32_otgfsdev.c: Bug fix: Don't process TXFE if we have
  2642. already processed an XFRC interrupt. We have already done what needs
  2643. to done in that case.
  2644. * arch/arc/src/stm32_otgfsdev.c: Fixed some status settings in queuing of write
  2645. messages. Added a "hack" to work around missing TxFIFO empty interrupts. The
  2646. hack is basically to poll for space in the TxFIFO instead of of setting up
  2647. the interrupt.
  2648. * arch/arm/src/stm32/stm32f2* and chip/stm32f2*: Update all STM32 F2 file so
  2649. that they are equivalent to F4 files. This is kind of a maintenance nightmare.
  2650. * configs/stm3220g-eval/: Update existing configurations to the same level
  2651. as the corresponding STM3240G-EVAL configurations. This adds FSMC SRAM,
  2652. touchscreen, and LCD support.
  2653. * configs/stm3220g-eval/: Add a NxWM configuration for the STM3220G-EVAL.
  2654. * stmpe11*: Fix a massive naming problem. All references to STMPE11 should be
  2655. STMPE812.
  2656. * arch/arm/src/stm32/stm32_otgfsdev.c: Need to enabled USB reset interrupt
  2657. (contributed by Erik Van Der Zalm).
  2658. * sched/sleep.c: Fix the return value from sleep(). The correct behavior is
  2659. to return the number of unwaited seconds; the implementation was always
  2660. returning zero.
  2661. * sched/usleep.c and include/unistd.h: Was a void function, but should return
  2662. 0 on success. usleep() needs to check the return value from sigtimedwait().
  2663. sigtimewait() returns the signal number that awakened it and an error (EAGAIN)
  2664. if the timeout expired (normal case).
  2665. * sched/sig_timedwait.c: Fix sigtimedwait() return value. On a timeout, it was
  2666. setting the 8-bit si_signo field to -1 and eded up reported successfully awakened
  2667. by signal 255! Now detects the timeout and errors -1 with errno == EGAIN. If
  2668. sigtimedwait() is awakened by an unblocked signal, but it is not one of the
  2669. signals in the waited-for set, it will return -1 with errno == EINTR.
  2670. * arch/arm/src/stm32_i2c.c: Fix STM32 F2 I2C. It is apparently bug-for-bug
  2671. compatible with the F4 and needs the same work-around for the missing BTF
  2672. signal that was needed for the F4.
  2673. * drivers/lcd/ssd1289.*: Fix some of the initial register settings.
  2674. * configs/stm32f4discovery/src/up_ssd1289.c: FSMC address bit 16 is used to
  2675. distinguish command and data. But FSMC address bits 0-24 correspond to ARM
  2676. address bits 1-25, se we need to set bit 17 in order generate output on
  2677. FSMC_A16.
  2678. * arch/arm/src/lm3s/lm3s_epi.h and lm3s_timer.h: LM3S header files
  2679. (contributed by Max Neklyudov).
  2680. * arch/arm/src/stm32/stm32_irq.c: Some of the interrupt priorities were
  2681. not be initialized (F2 and F4 only). Thus, the very high numbered
  2682. interrupts (like UART6) and cause nested interrupts. This leads to
  2683. some very difficult to debug crashes. Fix contributed by Mike Smith.
  2684. * arch/mips/src/pic32/pic32_head.S and pic32_config.h and
  2685. configs/pic32mx7mmb/include/board.h: Extended PIC32 device configuration
  2686. capabilities and change board.h to support unique clocking requirements
  2687. of the Mikroelektronika PIC32MX7 MMB. That board now works!
  2688. * configs/pic32mx7mmb/nsh: Added and verify a NuttShell configuration
  2689. for the Mikroelektronika PIC32MX7 MMB board.
  2690. * arch/mips/pic32/pic32mx-ethernet.c: Fix logic that guesses PHY address;
  2691. the search loop missed the PHY address needed by the Mikroelektronika
  2692. PIC32MX7 MMB board.
  2693. * configs/pic32mx7mmb/nsh: Configuration now supports a network by default.
  2694. * configs/pic32mx7mmb/src: Add support for the MMC/SD slot on board
  2695. the Mikroelektronika PIC32MX7 MMB board (not working on initial check-in).
  2696. * arch/mips/src/pic32/pic32mx-spi.c: Add support for very low-level,
  2697. register access debug output.
  2698. * configs//pic32mx7mmb/include/board.h: Reduced peripheral clock to
  2699. 4MHz to match other PIC32 configurations.
  2700. * configs/pic32mx7mmb/src/up_nsh.c: SD card needs to operate in SPI
  2701. mode 2.
  2702. * configs/pic32mx7mmb/nsh/defconfig: MMC/SD card support is now
  2703. enabled by default in the PIC32MX7 MMB board configuration.
  2704. * configs/pic32mx7mmb/nsh/defconfig: Verified the USB Mass Storage
  2705. Class (MSC) using MMC/SD card as the logical unit. Updated the default
  2706. PIC32MX7 MMB board configuration so that USB and the mass storage class
  2707. are enabled by default.
  2708. * drivers/lcd/mio283qt2.c and include/nuttx/lcd/mio283qt2.h: Add generic
  2709. support for the MIO283QT2 LCD.
  2710. * configs/pic32mx7mmb/src/up_mio283qt2.c: Add support for the MIO283QT2
  2711. LCD on the PIC32MX7 MMB board.
  2712. * configs/pic32mx7mmb/src/up_touchscreen.c: Add an ADC-based touchscreen
  2713. driver for the PIC32MX7 MMB board. Kind of works, but needs more
  2714. verification and tuning.
  2715. * arch/mips/src/common/up_idle.c: Strange but important fix. For some still-
  2716. unknown reason, interrupts are left in an unhealthy state in the IDLE
  2717. when the work queue is enabled. This is partially because some interrupt
  2718. related logic is not built in that case. Simply disabling then re-
  2719. enabling interrupts restores the proper state.
  2720. * graphics/nxglib/lcd/nxglib_filltrapezoid.c and fb/nxglib_filltrapezoid.c:
  2721. Fix an error when the trapezoid is only 1 line high. In this case, a
  2722. divide by zero error would occur. The fix is to draw the 1 line high
  2723. trapezoid as a run.
  2724. * drivers/usbdev/pl2303.c: Fix a cut'n'paste error that snuck into
  2725. the PL2303 emulation driver several months back.
  2726. 6.20 2012-07-12 Gregory Nutt <gnutt@nuttx.org>
  2727. * configs/stm3210e-eval/src and arch/arm/src/stm32/: Add beginnings of
  2728. power management support for the STM32 and the STM3210E-EVAL board, in
  2729. particular.
  2730. * Documentation/NfsHowTo.html: Add a How-To document for the new NFS
  2731. client feature.
  2732. * arch/mips/include/pic32mx and arch/mips/src/pic32mx: Add support for the
  2733. PIC32MX1 and PIC32MX2 families.
  2734. * configs/mirtoo: Add a board configuration to support the DTX1-4000L
  2735. "Mirtoo" module from http://www.dimitech.com/
  2736. * tools/pic32mx: All of the duplicate directories containing the same
  2737. same PIC32 tools were move to this single location.
  2738. * configs/mirtoo: The basic Mirtoo port is now functional.
  2739. * configs/mirtoo/ostest: Added support for the microchipOpen toolchain
  2740. (see http://sourceforge.net/projects/microchipopen/).
  2741. * configs/mirtoo/nsh: Added a NuttShell (NSH) configuration for
  2742. the Mirtoo module.
  2743. * configs/mirtoo/scripts: Move all Mirtoo linker scripts to a common
  2744. directory.
  2745. * arch/mips/src/pic32mx/pic32mx-gpio.c: All digital inputs were being
  2746. configured as outputs. This is a *critical* bug fix and needs to be
  2747. incorporated by any PIC32 users.
  2748. * drivers/mtd/sst25.c: Added a driver for the SST 25 SPI-based FLASH
  2749. parts.
  2750. * configs/mirtoo/src/up_nsh.c: The Mirtoo NSH configuration can now
  2751. mount the SST 25 devices so that it can be used for a FAT file system.
  2752. There are are, however, some NSH memory usage issues if this configuration
  2753. enabled now. Some tuning is still needed.
  2754. * configs/mirtoo/nxffs: Add an alternative NSH configure for the Mirtoo
  2755. module for testing the on-module SST 25 chip using the NXFFS file system.
  2756. * arch/arm/src/lpc43xx and arch/arm/include/lpc43xx: The NXP LPC43xx port
  2757. is slowly evolving in these directories.
  2758. * configs/stm3210e-eval/pm: Add a new configuration for testing STM32 power
  2759. management.
  2760. * configs/stm3210e-eval/scripts: Moved all of the duplicate ST3210-EVAL
  2761. linker scripts into one set of linker scripts at this location.
  2762. * configs/stm3210e-eval/src/up_buttons.c, up_lcd.c, and up_pm.c: New logic
  2763. for testing STM32 power management.
  2764. * configs/lincoln60: Add a configuration to support the Micromint Lincoln60
  2765. board.
  2766. * configs/ekk-lm3s3b96: Add a configuration to support the TI/Stellaris
  2767. EKK-LM3S3B96 development board. Contributed by Jose Pablo Rojas V.
  2768. * arch/arm/src/lpc43xx/chip: Created header files for *all* (really)
  2769. lpc43xx registers and all bit-fields.
  2770. * configs/lpc4330-xplorer: Added a configuration for the NXP LPC43XX
  2771. Xplorer board. This is just to facilitate testing of the LPC43xx
  2772. port but will, with any luck, become proper board support for that
  2773. board.
  2774. * arch/arm/src/lm3s/lm3s_syscontrol.c: Fix an optimization related problem
  2775. by adding a volatile qualifier to a timing loop. Oddly, the consequence
  2776. of the bug is that when debug was off, the LM3S platform too a long time
  2777. to boot. It now boots rapidly whether debug is on or off.
  2778. * arch/*/include/limits.h: Change all values in all limits.h for all
  2779. architectures to signed decimal; the hex values were not sign extending
  2780. appropriate in most uses (reported by Lorenz Meier).
  2781. * arch/arm/src/stm32/chip/stm32f103/7vc_pinmap: Fix typographical error in
  2782. two pinmap definition files.
  2783. * lib/net/lib_inetntoa.c: Fix typographical error that cause compilation
  2784. failure on platforms that do not support passing of structures as
  2785. parameters.
  2786. * arch/arm/*/lpc43xx and configs/lpc4330-xplorer and code complete and
  2787. ready for testing. Hopefully, verified LPC43xx support will appear
  2788. in NuttX-6.20.
  2789. * include/nuttx/stdarg.h: If CONFIG_ARCH_STDARG_H=y is defined, the top-level
  2790. makefile will copy the generic (GCC-only) stdarg.h header file from
  2791. include/nuttx/stdarg.h to include/stdarg.h. So for the architectures
  2792. that cannot use their GCC toolchain's stdarg.h file, they can use this
  2793. alternative by defining CONFIG_ARCH_STDARG_H=y. If CONFIG_ARCH_STDARG_H,
  2794. is not defined, then the redirecting stdarg.h header file will stay
  2795. out-of-the-way in include/nuttx/.
  2796. * configs/lpc4330-xplorer/nsh: Add an NSH configuration for the LPC4330
  2797. Xplorer board.
  2798. 6.21 2012-08-25 Gregory Nutt <gnutt@nuttx.org>
  2799. * configs/lpc4330-xplorer/up_nsh.c: Add support for a basic SPIFI block
  2800. driver for use by NSH. Does not work! Crashes on first SPIFI write.
  2801. * configs/lpc4330-xplorer/*/defconfig: Calibrate delay loops (this is
  2802. based on the current "slow" 72MHz M4 clock and will need to be
  2803. re-calibrated when this is increased).
  2804. * configs/stm3220g-eval/include/board.h and configs/stm3240g-eval/include/board.h:
  2805. The SDIOCLK frequency in the F2 and F4 derives for PLL48CLK and not HCLK
  2806. so that the SDIOCLK input frequency should always be 48MHz.
  2807. * sched/os_internal.h, sched_setupidlefiles.c, sched_setuptaskfiles.c, and
  2808. sched_setupidlefiles.c: Detangle some conditional compilation. Allow for
  2809. a perverse configuration that has socket descriptors and streams but no file
  2810. descriptors (sure, why not?).
  2811. * sched/: Stylistic clean-up of all files. Some of these files are pretty old
  2812. and do not follow current NuttX coding standards in detail.
  2813. * fs/: More stylistic file clean-up.
  2814. * mm/: More stylistic file clean-up.
  2815. * drivers/ and drivers/serial/: More stylistic file clean-up.
  2816. * arch/arm/src/lpc43xx/lpc43_clockconfig.c: Fix PLL1 bit manipulation logic.
  2817. Critical bugfix! This would often cause the LPC43xx to fail to boot.
  2818. * arch/arm/src/lpc43xx/lpc43_rgu.c: The soft reset logic called from the
  2819. beginning of __start seems cause problems. A magic delay seems to improve
  2820. the logic some. But I suspect that real fix is to get rid of all of the
  2821. soft reset logic. This would also be a critical bugfix if I believed
  2822. that it really fixed all of the issues.
  2823. * arch/arm/src/lpc43xx/chip/lpc43_cgu.h: Fix a bit mask in the PLL1
  2824. control register. Critical bugfix.
  2825. * arch/arm/src/lpc43xx/lpc43_clockconfig.c and configs/lpc4330-xplorer/include/board.h:
  2826. Implement PLL1 ramp-up logic; Now the LPC43xx is running at 204MHz.
  2827. * configs/lpc4330-xplorer/*/defconfig: Re-calibrated delay loops using
  2828. the 204MHz clock. The LPC43xx ripping rips! This calibration was performed
  2829. with symbols enabled and all optimization disabled. It will need to be
  2830. better recalibrated again down the road.
  2831. * arch/arm/src/stm32/stm32_exti.c: Renamed to rch/arm/src/stm32/stm32_exti_gpio.c
  2832. to make a little room in the file name space.
  2833. * arch/arm/src/stm32/stm32_exti_alarm.c: Add initial logic to attached the
  2834. RTC alarm EXTI interrupt. This is work be performed mostly by Diego Sanchez.
  2835. * include/: More stylistic file clean-up.
  2836. * arch/arm/src/lpc43xx/lpc43_spifi.c, lpc43_spifi.h, and chip/lpc43_spifi.h: Add
  2837. logic to configure and initialize the SPIFI device (does not yet work).
  2838. * configs/lpc4330-xplorer/include/board.h: Reduce SPI SCLK value.
  2839. * arch/arm/src/lpc43xx/lpc43_spifi.c, lpc43_spifi.h, and chip/lpc43_spifi.h:
  2840. Logic completely redesigned. It now creates an MTD driver to access SPIFI...
  2841. but the driver still does not work.
  2842. * arch/arm/src/stm32 and arch/arm/include/stm32: Make name of RTC ALARM interrupt
  2843. common on STM32 F1,2,4
  2844. * arch/arm/src/stm32 and arch/arm/include/stm32: Add support for the
  2845. STM32F100x "Value Line" devices. This includes changes to stm32F10xx_rcc.c that
  2846. add the ability to run the chip off the internal oscillator. There is no open
  2847. board configuration for this part yet (the STM32VLDiscovery would be a candidate).
  2848. Contributed by Mike Smith.
  2849. * arch/arm/src/stm32: Fixed typos in conditional compilation in the CAN and DMA
  2850. and some pin configuration. This would have caused problems for STM32 F107xx.
  2851. Typos noted by Mike Smith.
  2852. * arch/arm/src/lpc43xx/lpc43_serial.c: Add support for certain RS-485 features
  2853. * lib/termios/lib_cfsetispeed.c, lib_cfsetospeed.c, lib_tcflush.c: Add
  2854. simple implementations of cfsetispeed(), cfsetospeed(), and tcflush().
  2855. * include/sys/str_tty.h, lib/lib_setspeed.c, lib_getspeed.c, and lib_resetspeed.c:
  2856. Add APIs to support setting non-standard BAUD values not supported by POSIX
  2857. termios. These are non-standard interfaces but have a precedence: There are
  2858. similar interfaces in AIX.
  2859. * include/sys/str_tty.h, lib/lib_setspeed.c, lib_getspeed.c, and lib_resetspeed.c:
  2860. Sigh... removed. We don't need any more almost standard interfaces! (SVN
  2861. revision 4968 if you want the short-lived code).
  2862. * include/termios.h and lib/termios/*: Open the existing, standard termios
  2863. interfaces to permit some non-standard baud settings. The new termios definitions
  2864. still supports the POSIX standard except that it does not strictly enforce
  2865. baud rate settings, permitting some non-portable, but useful baud rate settings
  2866. (this is what the short-lived AIX-like interfaces would have accomplished as well).
  2867. * include/termios.h and lib/termios/*: Redesigned yet again (this is getting
  2868. painful. NuttX now supports the BOTHER baud setting just as Linux does. termios
  2869. Bxxx definitions are again encoded; cf[set|get][o|i]speed now deal with only the
  2870. encoded values. If the encoded baud is set to BOTHER, then the values in the (non-
  2871. standard) c_ispeed and c_ospeed baud values may be accessed directly.
  2872. * arch/arm/src/stm32/stm32_serial.c: Add minimal termios support for the STM32
  2873. (BOTHER style baud settings only). Contributed by Mike Smith.
  2874. * configs/lpc4343-xplorer/src: Clean up SPIFI-library based build to that it
  2875. actually works.
  2876. * arch/arm/src/lpc43xx/lpc43_spifi.c: Add support for verification to writes.
  2877. Add debug option to dump buffers. Several bugfixes... almost works.
  2878. * include/termios.h, lib/termios/*, and arch/arm/src/stm32/stm32_serial.c: :
  2879. BOTHER is gone again.
  2880. * arch/arm/src/stm32/stm32_sdio.c and chip/stm32f20xx_pinmap.h: STM32 F2 SDIO
  2881. fixes from Gary Teravskis and Scott Rondestvedt.
  2882. * include/termios.h and lib/termios/*: Replace cfsetispeed and cfsetospeed with
  2883. cfsetspeed (with definitions for the input/outputs in termios.h).
  2884. * configs/stm32f4discovery/src and configs/stm32f4discovery/pm: Add a power
  2885. management configuration for the STM32F4Discovery and supporting logic. This
  2886. check-in also includes some fixes for the F4 RTC alarm logic.
  2887. * drivers/input/pga11x.c and include/nuttx/input/pga11x.h: Add support for the
  2888. TI PGA112/3/6/7 amplifier/multiplexer parts.
  2889. * configs/mirtoo/README.txt, nsh/defconfig, and nxffs/defconfig: Add support
  2890. for the PGA117 on the Mirtoo module.
  2891. * drivers/analog/pga11x.c and include/nuttx/analog/pga11x.h: These belong in
  2892. the analog subdirectories, not input.
  2893. * configs/compal_e99/src/ssd1783.c and /ssd1783.h: Drivers for the SSD1783
  2894. LCD found in the Motorola C155 telephone. The driver is specific to the C155
  2895. because it uses the uwire transport. Contributed by Denis Carilki and
  2896. Alan Carvalho de Assis.
  2897. * drivers/power/pm_changestate.c. Correct a case where interrupts were not
  2898. being re-enabled. Found by Diego Sanchez.
  2899. * configs/mirtoo/nxffs/defconfig: This Mirtoo NXFFS configuration now uses the
  2900. open Pinguino toolchain by default. This is necessary because the free C32
  2901. toolchain does not support any optimization and the unoptimized NXFFS image
  2902. hits the PIC32MX2 FLASH size (128K). There is plenty of room to grow using
  2903. the Pinguino toolchain with -O2 optimization.
  2904. * configs/mirtoo/src/up_adc.c. This is just a stub for now, but this is
  2905. where Mirtoo ADC logic will eventually need to go.
  2906. * arch/mips/src/pic32mx/pic32mx-gpio.c: Now supports the PIC32MX1/2 ANSEL
  2907. IOPORT register.
  2908. * lib/string/lib_memchr.c: Add support for memchr() (contributed by Mike Smith)
  2909. * lib/string/lib_memccpy.c: Add support for memccpy()
  2910. * arch/arm/src/lpc17xx/lpc17_serial.c: Now supports ioctl commands to change
  2911. the baud using tcsetattr() (contributed by Chris Taglia).
  2912. * arch/*/src/*_serial.c: Fix ioctl method return values. These methods
  2913. should return a negated errno value; they should not set the errno
  2914. variable.
  2915. * sched/on_exit.c, sched/task_exithook.c, and include/nuttx/sched.c: Add
  2916. support for multiple registered on_exit() functions if CONFIG_SCHED_ONEXIT_MAX
  2917. is defined.
  2918. * drivers/syslog/ramlog.c: Move the RAM SYSLOG device into drivers/syslog
  2919. so that it will be in the same directory as some new SYSLOGing devices
  2920. in the works.
  2921. * include/nuttx/syslog.h and drivers/syslog/ramlog.c: The SYSLOG putc function
  2922. now has a common name that is independent of the device that provides the
  2923. SYSLOG.
  2924. * include/nuttx/syslog.h and drivers/syslog/syslog.c: This is a new, generic
  2925. SYSLOG device that can redirect debug output to any character device or file.
  2926. So you can log debug output to a file or you can put the console on /dev/ttyS0
  2927. and the debug output on /dev/ttyS1.
  2928. * arch/arm/src/lpc43xxl/lpc43_spifi.c: Correct an addressing error in the LPC43
  2929. SPIFI MTD driver
  2930. * drivers/syslog/syslog.c and fs/fs_syslog.c: Moved the generic syslog logic
  2931. from drivers/syslog to fs/ where is belongs. Especially after realizing that
  2932. the syslog logic is going to have to some internal FS operations in order
  2933. to realize a totally thread-independent SYSLOG interface.
  2934. * arch/arm/src/stm32/stm32*_rcc.c and .h: If CONFIG_PM is defined, add a
  2935. function called stm32_clockenable() that can be used by PM logic to re-start
  2936. the PLL after re-awakening from deep sleep modes.
  2937. * fs/fs_foreachinode.c and fs/fs_foreachmountpoint.c: Add logic to traverse
  2938. inodes and mountpoints in the NuttX pseudo-file system.
  2939. * fs/fat/fs_fat32.c: Max. filename length reported by statfs() was wrong
  2940. if FAT long file names were enabled.
  2941. * lib/stdio/lib_libvsprintf.c: Fieldwidth and justification were not
  2942. supported for the %s format. As a result, %s, %12s, and %-12s all
  2943. produced the same output.
  2944. * lib/stdio/lib_libdtoa.c: Fix several issues with presenting floating
  2945. point numbers (conversions are fine, but presentation was bad). This
  2946. is a critical bug fix if you use printf or sprintf to deal with floating
  2947. point numbers.
  2948. * lib/stdio/lib_libdtoa.c and lib_libvsprintf.c: Correct some floating
  2949. point options.
  2950. * arch/arm/lpc43xx/lpc43_usb0dev.c: Add framework for development of
  2951. an USB0, device-side driver for the LPC43XX. The initial check-in,
  2952. however, is simply for the LPC31xx driver with name changes. The
  2953. LPC31xx has the same USB IP, but will require some additional initialization
  2954. (and lots of testing) before it can be used with the LPC43xx.
  2955. * nuttx/Documentation/NuttShell.html: Added a section covering ways to
  2956. customize the behavior of NSH.
  2957. * arch/arm/src/stm32/chip/stm32f1*_pinmap.h: STM32 CAN TX/RX pins reversed;
  2958. inconsistent conditional compilation. Reported by Max Holtzberg.
  2959. * arch/arm/*/stm32: Add support for STM32 F107 "Connectivity Line"
  2960. Ethernet (contributed by Max Holtzberg).
  2961. * configs/olimex-stm32-p107: Add board support for the Olimiex STM32-P107
  2962. board (contributed by Max Holtzberg).
  2963. * arch/arm/src/stm32/stm32f2xx_dma.c, stm32f4xx_dma.c, stm32_serial.c, and
  2964. stm32_spic.c: DMA priority was getting zeroed by STM32 F2/F4 DMA drivers
  2965. so that all DMAs ran at the lowest priority.
  2966. * configs/stm3240g-eval/include/board.h and configs/stm3220: Drop SD card
  2967. frequency from 24 to 16 MHz. Apparently 24 MHz is too fast for the board.
  2968. This (plus the change to the STM32 DMA (above) fixes SDIO DMA on the
  2969. STM3240G-EVAL (and probably STM3220G-EVAL -- untested).
  2970. * arch/arm/src/stm32/stm32f2xx_dma.c and stm32f4xx_dma.c: Backed out the
  2971. DMA priority change just above. The reduced SD card frequency was
  2972. necessary and sufficient to resolve the problem.
  2973. * drivers/serial/serial.c: open, read, write, and poll methods may now
  2974. abort return EINTR (or a short transfer size) if a signal is received
  2975. while waiting to receive or send serial data. This behavior is required
  2976. by POSIX.
  2977. * include/sys/types.h: Define NULL to be (0) if __cplusplus is defined.
  2978. (contributed by Mike Smith)
  2979. * include/ctype.h: Remove a stray semi-colon in a definitions (Thanks
  2980. Mike Smith).
  2981. * configs/.../Make.defs. Fix C++ include path set-up in Make.defs file
  2982. for all 8-bit AVR platforms (Thanks Richard Cochran).
  2983. * lib/stdio/lib_*stream.c: Revised to handle new error return values from
  2984. serial.c.
  2985. * arch/arm/src/stm32/stm32_spi.c: SPI driver can now service re-
  2986. initialization (Mike Smith).
  2987. * tools/mkconfig.c: If CONFIG_DRAM_END is not specified, this tool
  2988. will provide default definition of (CONFIG_DRAM_START + CONFIG_DRAM_SIZE)
  2989. * arch/arm/src/stm32/stm32_otgfshost.c: Renamed from stm32_usbhost.c.
  2990. This is nearly code complete and, with any luck, will be available
  2991. in NuttX-6.21.
  2992. * configs/*/defconfig: Update all defconfig files to remove syntax
  2993. that is incompatible with the mconf configuration tool.
  2994. * arch/arm/src/stm32/stm32_otgfshost.c: This driver now appears to be
  2995. functional (although more testing is necessary).
  2996. 6.22 2012-09-29 Gregory Nutt <gnutt@nuttx.org>
  2997. * include/semaphore.h, sched/sem_holders.c, and lib/semaphore/sem_init.c:
  2998. Fix some strange (and probably wrong) list handling when
  2999. CONFIG_PRIORITY_INHERITANCE and CONFIG_SEM_PREALLOCHOLDERS are defined.
  3000. This list handling was probably causing errors reported by Mike Smith
  3001. * sched/sched_waitpid.c: Fix a possible issue with logic logic that
  3002. should be brought into a critical section (suggested by Mike Smith)
  3003. * sched/sched_setuptaskfiles.c: Should be 'struct socket' not
  3004. 'struct sockets'. How did this compile before? (found by Kate)
  3005. * syscall/syscall.csv: Fix prototype for usleep() and prctl() (also
  3006. from Kate).
  3007. * arch/arm/src/lpc17xx/lpc17_ethernet.c: Conditionally elide setting PHY
  3008. speed/duplex. This does not work for certain PHYs. Still some unresolved
  3009. issues (also from Kate).
  3010. * tools/Config.mk, Makefile, configs/*/Make.defs: Add a new Makefile
  3011. fragment to de-quote certain strings from the Kconfig logic that
  3012. need to be used at path segments (Richard Cochran).
  3013. * arch/arm/src/stm32/stm32_usbotghost.c: The STM32 USB host driver only
  3014. works with debug turned on. The problem appears to be that with debug
  3015. OFF, there are more NAKs occuring in more places than before and this
  3016. reveals a variety of errors. This check in improves NAK robustness
  3017. for control transfers but does not resolve all of the issues.
  3018. * configs/stm3220g-eval/*/defconfig: Calibrated delay loop. It had
  3019. never been calibrated was way off.
  3020. * sched/sem_holder.c: Add logic to handler some priority inheritance
  3021. cases when sem_post() is called from an interrupt handler. The
  3022. logic is clearly wrong, but it is not known if this is the
  3023. cause of any known bugs.
  3024. * lib/stdio/lib_perror(): Add perror(). Contributed by Kate.
  3025. * lib/string/lib_strerror(): Add option CONFIG_LIBC_STRERROR that
  3026. is now required to enabled strerror(). Add an option
  3027. CONFIG_LIBC_STRERROR_SHORT that can be used to output shortened
  3028. strings by strerror().
  3029. * arch/arm/src/stm32/stm32_usbotghost.c: Finally... the USB OTG FS
  3030. appears to handle NAKing correctly.
  3031. * configs/stm32f4discovery/*: Added and verifed support for USB OTG FS
  3032. host on the STM32F4Discovery board.
  3033. * configs/*/defconfig: Remove configuration documentation from config
  3034. files. It is redundant, error-prone, and difficult to maintain.
  3035. Configuration documentation is available in configs/README.txt for
  3036. common configurations and in configs/*/README.txt for board and MCU-
  3037. specific configurations.
  3038. * configs/stm3240g-eval: Add USB host support.
  3039. * sched/os_bring.c, configs/*/defconfig, tools/mkconfig.c, and others: Added
  3040. configuration variable CONFIG_USER_ENTRYPOINT that may be used to change
  3041. the default entry from user_start to some other symbol. Contributed by
  3042. Kate. NOTE: This change does introduce a minor backward incompatibility.
  3043. For example, if your application uses NSH as its start-up program, then your
  3044. build will now fail because it will be unable to find "user_start". The fix
  3045. for this link failure is to add the following to your configuration file:
  3046. CONFIG_USER_ENTRYPOINT="nsh_main".
  3047. * libs/stdio/lib_libfread.c and lib_*flush*.c: Correct a couple of
  3048. error cases where the lib semaphore was not be released on error
  3049. exits (thanks Ronen Vainish). Also, improved some error reporting:
  3050. the generic ERROR was being used instead of the specific errno
  3051. value; the errno variable was not always set correctly.
  3052. * tools/mkfsdata.pl: The uIP web server CGI image making perl script was
  3053. moved from apps/netutils/webserver/makefsdata to nuttx/tools/mkfsdata.pl
  3054. (Part of a larger change submitted by Max Holtzberg).
  3055. * configs/stm3240g-eval/script/ld.script: All of the identical ld.script
  3056. files for the STM3240G-EVAL were replaced by one version in this directory.
  3057. * configs/stm3240g-eval/webserver: Configuration submitted by Max Holtzberg
  3058. for testing the changes to the uIP web server (see apps/ChangeLog.txt).
  3059. * lib/stdio/lib_perror.c: Remove CONFIG_LIBC_PERROR_DEVNAME. What was I
  3060. thinking? Arbitrary streams cannot be shared by different tasks.
  3061. * tools/mksyscall.c, csvparser.c, and csvparser.h: Separate CSV parsing
  3062. logic from mksyscall.c into files where it can be shared.
  3063. * tools/mksymtab.c: Add a tool that can be used to convert a CSV file
  3064. into a NuttX-style symbol table.
  3065. * sched/work_cancel.c: Fix a bad assertion (reported by Mike Smith)
  3066. * configs/stm3210e-eval/src/up_idle.c: Correct some power management
  3067. compilation errors (reported by Diego Sanchez).
  3068. * include/nuttx/wqueue.h, sched/work*, and others: Added logic to support
  3069. a second, lower priority work queue (CONFIG_SCHED_LPWORK).
  3070. * arch/arm/src/stm32/stm32_dma.c, chip/stm32*_memorymap.h: FSMC SRAM is
  3071. only 16-bits wide and the SDIO DMA must be set up differently.
  3072. * arch/arm/src/stm32/stm32_dma.c: Back out the 16-bit DMA change. It
  3073. is incorrect.
  3074. * configs/: Make use of UART4/5 vs USART4/5 consistent in all places.
  3075. * Kconfig: Serial 2STOP setting must be integer 0/1, not a boolean.
  3076. * lib/misc/sendfile.c and include/sys/sendfile.h: Add a Linux style
  3077. sendfile() (non-standard!)
  3078. * Kconfig: Refactor serial settings (moved from chip to drivers/serial).
  3079. AVR "teensy" now builds with Kconfig (contributed by Richard Cochran).
  3080. * Kconfig: Add configuration settings for the LPC17xx
  3081. * Kconfig: Add configuration settings for the LM3S (from Richard Cochran).
  3082. * Kconfig: Verify configuration settings for the STM32. This includes
  3083. changes in the way that the external SRAM is configured: Define
  3084. CONFIG_HEAP2_SIZE (decimal) instead of CONFIG_HEAP2_END (hex).
  3085. * tools/configure.sh: Don't append the apps directory path setting
  3086. if the correct setting is already in defined in the defconfig file.
  3087. * fs/fat/fs_utils.c: Improperly constructed bool expression. This
  3088. would cause many unnecessary writes to FLASH (Thanks Ronen Vainish).
  3089. * Kconfig: Verify configuration settings for the LPC43xx. This includes
  3090. some corrections to configuration variable names and defconfig settings.
  3091. * Kconfig: Add and verify configuration settings for the LPC31xx.
  3092. * arch/arm/src/stm32/stm32_uart.h and stm32_serial.c: Add logic to
  3093. re-initialize the console UART as needed to enable DMA on the
  3094. console UART (contributed by Mike Smith).
  3095. * net/recvfrom.c, net/Kconfig, include/nuttx/net/uipopt.h: Remove delay
  3096. after receiving data. That has historical reasons to be there (it
  3097. was needed before read-ahead buffering was added), but kills performance.
  3098. (Noted by Max Holtzberg).
  3099. * configs/shenzhou: Add beginnings of a board configuration for the
  3100. Shenzhou STM32107 board (see www.armjishu.com). Very little is in
  3101. place as of this initial check-in.
  3102. * QEMU: Fixes from Richard Cochran to build QEMU with Kconfig files.
  3103. * arch/*/src/Makefile: Remove some old logic that was kicked off
  3104. when CONFIG_BOOT_RUNFROMFLASH=y. The old logic used to use
  3105. objcopy to move sections. Newer logic changes the load position
  3106. of sections in the linker script. As far as I can tell, there
  3107. is nothing in the source tree now that depends on the old way of
  3108. doing things (if I am wrong, they will need a change to the linker
  3109. script).
  3110. * configs/fire-stm32v2: Configuration for the M3 Wildfire board. I
  3111. don't know very much about this board other than is has an
  3112. STM32F103VET6 chip, LCD, touchscreen, and ENC28J60 network. Very
  3113. little is in place on the initial check-in.
  3114. * configs/shenzhou: Coding for the Shenzhou board port is complete,
  3115. but tested has been deferred until I get the right tools.
  3116. * arch/arc/include/stm32/chip.h and arch/arm/src/stm32/chip.h:
  3117. Add support for the STM32F103VET6.
  3118. * fs/fs_fdopen.c: Bad check for failure to allocate memory. (Noted
  3119. by Ronen Vainish).
  3120. * drivers/mmcsd/mmcsd_sdio.c: If the MMC/SD driver were ever
  3121. uninitialized then there would be a double release of memory
  3122. (Noted by Ronen Vainish).
  3123. * fs/mmap/fs_rammap.c: Fix logic error and errno check (contributed
  3124. by Kate).
  3125. * arch/avr/src: Fixes from AVR32 build errors that have crept in
  3126. over the time; incorporated Kconfig for AVR3 (Richard Cochran).
  3127. * fs/fat and include/nuttx/fs/fat.h: The FAT file system allocates
  3128. memory for sector I/O buffers used to exchange data with the
  3129. configured block driver. In some contexts, the block driver may
  3130. require DMA-capable memory. If CONFIG_FAT_DMAMEMORY is defined,
  3131. then the FAT FS will use platform-provided DMA memory allocators
  3132. to allocate the block driver I/O buffers.
  3133. * CONFIG_NET_ENC28J60 renamed CONFIG_ENC28J60 to be consistent
  3134. in all places.
  3135. * drivers/enc28j60.c, include/nuttx/net/enc28j60.h, and
  3136. olimex-strp711/src/up_enc28j60.c: No longer passes IRQ number
  3137. as a parameter. Instead now passes a call table to manage
  3138. ENC28J60 GPIO interrupts. That is because GPIO interrupts are
  3139. handled in different ways by different MCUs and some do not
  3140. support IRQ numbers for GPIO interrupts.
  3141. * mm/mm_gran* and include/nuttx/gran.h: Add a simple granule-
  3142. based allocator. The intent of this allocator is to support
  3143. simple allocation of DMA I/O buffers. The initial check-in
  3144. is code complete but untested (not event built into the
  3145. mm/Makefile yet.
  3146. * configs/fire-stm32v2: The board port is basically functional.
  3147. Not all features have been verified. The ENC28J60 network
  3148. is not yet functional.
  3149. * configs/stm3240g-eval/discover: A configuration for testing
  3150. the UDP discovery utility. Contributed by Max Holtzberg.
  3151. * mm/README.txt: Add a new README file.
  3152. * include/nuttx/usb/usb.h, arch/*/src/*usb.c, and arch/*/src/*otg*.c:
  3153. Add hooks to to use common, external DMA buffer allocation
  3154. implementation.
  3155. * net/recvfrom.c: Don't block in recvfrom if (1) read-ahead buffering
  3156. is enabled and (2) some data was obtained from read-ahead buffers.
  3157. Blocking is a bad idea in that case because there is no timeout!
  3158. (submitted by Max Holtzberg).
  3159. * configs/stm3240g-eval/xmlrpc: An example configuration for the
  3160. Embeddable Lightweight XML-RPC Server at apps/examples/xmlrpc.
  3161. See http://www.drdobbs.com/web-development/
  3162. an-embeddable-lightweight-xml-rpc-server/184405364 for more info.
  3163. Contributed by Max Holtzberg.
  3164. * configs/*/nxwm/defconfig and sched/task_exithook.c: Fixes for
  3165. bugs that crept in during recent changes. (Submitted by Max
  3166. Holtzberg).
  3167. * arch/arm/include/armv7-m/irq.h: Fix a critical bug in irqsave().
  3168. It looks like sometimes the compile will re-order some instructions
  3169. inapproapriately. This end result is that interrupts will get
  3170. stuck off.
  3171. * drivers/mtd/w25.c: Beginning of a driver for the Windbond SPI
  3172. FLASH family (W25x16, W25x32, and W25x64). The initial check-in
  3173. is basically just the SST25 driver with some name changes.
  3174. * arch/arm/include/armv7-m/irq.h and arch/arm/src/stm32/stm32_spi.c:
  3175. Back out the last change in irq.h. It is (most likely) fine the
  3176. way it was. The really interrupt related problem was in stm32_spi.c:
  3177. When SPI3 is not enabled, then the irqrestore() falls in the
  3178. else clause.
  3179. * include/nuttx/compiler.h and other files: Moved always_inline
  3180. and noinline __attributes__ here. Also replaced all occurrences
  3181. of explicit __atributes__ in other files with definitions from
  3182. this header file.
  3183. * drivers/mtd/w25.c: The Windbond SPI FLASH W25 FLASH driver is
  3184. code complete (but still untested).
  3185. * arch/arm/src/stm32/stm32_i2c.c: I2C improvements from Mike Smith.
  3186. Unified configuration logic; dynamic timeout calculations;
  3187. I2C reset logic to recover from locked devices on the bus.
  3188. * configs/*/*/Make.defs, tools/Config.mk, Makefile: Refactor all
  3189. common make definitions from the various Make.defs files into
  3190. the common tools/Config.mk. Add support for a verbosity options:
  3191. Specify V=1 on the make command line in order to see the exact
  3192. commands used in the build (Contributed by Richard Cochran).
  3193. * drivers/net/enc28j60.c: The ENC28J60 Ethernet driver is
  3194. now functional.
  3195. * configs/fire-stm32v2: Add support or the fire-stm32v3 board as
  3196. well (untested because I do not have a v3 board).
  3197. * lib/stdio/lib_sscanf.c: Add %n pseudo-format (from Kate).
  3198. * lib/stdio/lib_sscanf.c: There is an issue of handling input
  3199. when (1) no fieldwidth is provided and (2) there is no space
  3200. seperating the input values. No solutions is in place for this
  3201. case now (either space or a fieldwidth must be provided). But
  3202. at least some of the bad logic that attempted to handle this
  3203. case has been removed (noted by Kate).
  3204. * arch/arm/src/stm32/stm32_eth.c: DMA buffer sizes must be an
  3205. even multiple of 4, 8, or 16 bytes.
  3206. * arch/arm/src/stm32/stm32_idle.c: Fixes STM32F107 DMA issues:
  3207. We cannot go into sleep mode while Ethernet is actively DMAing.
  3208. * configs/shenzhou/src/up_ssd1289.c: Add infrastructure to support
  3209. SSD1289 LCD. Initial checkin is just a clone of the
  3210. STM32F4Discovery's FSMC-based LCD interface. The Shenzhou
  3211. will need a completely need bit-banging interface; this
  3212. initial check-in is only for the framework.
  3213. * configs/shenzhou/src/up_ssd1289.c: Bit-banging driver is
  3214. code complete.
  3215. * configs/shenzhou/src/up_lcd.c: Oops. Shenzhou LCD does not
  3216. have an SSD1289 controller. Its an ILI93xx. Ported the
  3217. STM3240G-EVAL ILI93xx driver to work on the Shenzhou board.
  3218. * configs/shenzhou/nxwm: Added an NxWM configuration for the
  3219. Shenzhou board. This is untested on initial check-in. It will
  3220. be used to verify the Shenzhou LCD driver (and eventually the
  3221. touchscreen driver).
  3222. * configs/shenzhou/src/up_touchscreen.c: Add ADS7843E touchscreen
  3223. support for the Shenzhou board. The initial check-in is untested
  3224. and basically a clone of the touchscreen support for the SAM-3U.
  3225. * tools/cfgparser.c: There are some NxWidget configuration
  3226. settings that must be de-quoted.
  3227. * arch/arm/src/stm32/Kconfig: There is no SPI4. Some platforms
  3228. support SPI3 and some do not (still not clear).
  3229. * nuttx/configs/shenzhou: Various fixes to build new NxWM
  3230. configuration.
  3231. * configs/shenzhou: Oops. The Shenzhou LCD is and SSD1289,
  3232. not an ILI93xx.
  3233. * configs/shenzhou/src/up_ssd1289.c: The LCD is basically functional
  3234. on the Shenzhou board.
  3235. * graphics/nxmu: Correct some bad parameter checking that caused
  3236. failures when DEBUG was enabled.
  3237. * arch/arm/src/armv7-m/nvic.h: Add bit definitions for the AIRCR
  3238. register.
  3239. * drivers/input/ads7843.c: Need semaphore protection in logic
  3240. that samples the position.
  3241. * drivers/lcd/ssd1289.c: On some platforms we are unable to
  3242. read the device ID -- reason unknown; workaround in place.
  3243. * drivers/input/ads7843.c: Add thresholding options and an
  3244. option to swap X and Y positions. Fix some logic errors in
  3245. the SPI locking/selecting logic.
  3246. * arch/arm/src/armv7-m/up_systemreset.c: Add logic to reset
  3247. the Cortex-Mx using the AIRCR register. Contributed by Darcy
  3248. Gong.
  3249. * arch/arm/src/stm32/up_eth.c: Add logic specifically for the
  3250. DM9161 PHY. If the DM9161 failed to initialize, then use the
  3251. up_sysemreset() logic to reset the MCU. Contributed by Darcy
  3252. Gong.
  3253. * arch/arm/src/stm32/stm32_gpio.c: Add missing logic to set bit
  3254. for SPI3 remap. This fixes the XPT2046 touchscreen driver using
  3255. drivers/input/ads7843.c
  3256. * configs/shenzhou/src/up_ssd1289.c: Fix naming error in
  3257. conditional compilation.
  3258. * configs/shenzhou/nxwm/defconfig: Disable reading from the LCD.
  3259. This does not work. The hardware and the driver support the
  3260. capability, but there is some bug that causes memory corruption.
  3261. The work around for now: Just disable reading from the LCD.
  3262. * drivers/lcd/ssd1289.c: Add some logic to reduce the amount of
  3263. output when CONFIG_DEBUG_LCD is enabled.
  3264. * configs/shenzhou/nxwm/defconfig: Bug found and fixed... The
  3265. original configuration had too much stuff turned on. Reducing
  3266. stack sizes, some features, and buffer sizes made the
  3267. configuration reliable (Reading from the LCD is still disabled).
  3268. * net/uip/uip_icmpping.c: Fix problem that prevented ping from
  3269. going outside of local network. Submitted by Darcy Gong
  3270. 6.23 2012-11-05 Gregory Nutt <gnutt@nuttx.org>
  3271. * arch/arm/src/stm32/stm32_rng.c, chip/stm32_rng.h, and other files:
  3272. Implementation of /dev/random using the STM32 Random Number
  3273. Generator (RNG).
  3274. * board.h file for shenzhou, fire-stm32v2, and olimex-stm32-p107:
  3275. Add frequencies for HSE, HSI, LSE, and LSI. These are needed
  3276. by the STM32 watchdog driver.
  3277. * CONFIG_EXAMPLES_*: To make things consistent, changed all occurrences
  3278. of CONFIG_EXAMPLE_* to CONFIG_EXAMPLES_*.
  3279. * drivers/mtd/w25.c and configs/*/src/up_w25.c: Several fixes for the
  3280. W25 SPI FLASH.
  3281. * configs/*/Make.defs: All buildroot tools now use the extension
  3282. xxx-nuttx-elf- vs. xxx-elf-
  3283. * configs/shenzhou/*/Make.defs: Now uses the new buildroot 4.6.3
  3284. EABI toolchain.
  3285. * lib/stdio/lib_libdtoa.c: Another dtoa() fix from Mike Smith.
  3286. * configs/shenzhou/src/up_adc.c: Add ADC support for the Shenzhou
  3287. board (Darcy Gong).
  3288. * configs/shenzhou/thttpd: Add a THTTPD configuration for the
  3289. Shenzhou board (Darcy Gong).
  3290. * include/termios.h and lib/termios/libcf*speed.c: The non-standard,
  3291. "hidden" c_speed cannot be type const or else static instantiations
  3292. of termios will be required to initialize it (Mike Smith).
  3293. * drivers/input/max11802.c/h, and include/nuttx/input max11802.h: Adds
  3294. support for the Maxim MAX11802 touchscreen controller (contributed by
  3295. Petteri Aimonen).
  3296. * graphics/nxtk/nxtk_events.c: Missing implementation of the blocked
  3297. method. This is a critical bugfix for graphics support (contributed
  3298. by Petteri Aimonen).
  3299. * drivers/usbdev/pl2303.c, drivers/usbdev/usbmsc.h, and
  3300. include/nuttx/usb/cdcacm.h: USB_CONFIG_ATTR_SELFPOWER vs.
  3301. USB_CONFIG_ATT_SELFPOWER (contributed by Petteri Aimonen).
  3302. * arch/arm/src/armv7-m/up_memcpy.S: An optimized memcpy() function for
  3303. the ARMv7-M family contributed by Mike Smith.
  3304. * lib/strings/lib_vikmemcpy.c: As an option, the larger but faster
  3305. implemementation of memcpy from Daniel Vik is now available (this is
  3306. from http://www.danielvik.com/2010/02/fast-memcpy-in-c.html).
  3307. * lib/strings/lib_memset.c: CONFIG_MEMSET_OPTSPEED will select a
  3308. version of memset() optimized for speed. By default, memset() is
  3309. optimized for size.
  3310. * lib/strings/lib_memset.c: CONFIG_MEMSET_64BIT will perform 64-bit
  3311. aligned memset() operations.
  3312. * arch/arm/src/stm32/stm32_adc.c: Need to put the ADC back into the
  3313. initial reset in the open/setup logic. Opening the ADC driver works
  3314. the first time, but not the second because the device is left in a
  3315. powered down state on the last close.
  3316. * configs/olimex-lpc1766stck/scripts: Replace all of the identical
  3317. ld.script files with the common one in this directory.
  3318. * configs/stm3220g-eval/scripts: Replace all of the identical
  3319. ld.script files with the common one in this directory.
  3320. * configs/hymini-stm32v/scripts: Replace all of the identical
  3321. ld.script files with the common one in this directory.
  3322. * configs/lpcxpresso-lpc1768/scripts: Replace all of the identical
  3323. ld.script files with the common one in this directory.
  3324. * binfmt/elf.c, binfmt/libelf, include/elf.h, include/nuttx/elf.h: Add
  3325. basic framework for loadable ELF module support. The initial check-
  3326. in is non-functional and is simply the framework for ELF support.
  3327. * include/nuttx/binfmt.h, nxflat.h, elf.h, and symtab.h: Moved to
  3328. include/nuttx/binfmt/.
  3329. * arch/sim/src/up_elf.c and arch/x86/src/common/up_elf.c: Add
  3330. for ELF modules.
  3331. * arch/arm/include/elf.h: Added ARM ELF header file.
  3332. * include/elf32.h: Renamed elf.h to elf32.h.
  3333. * configs/stm32f4discovery/ostest: Converted to use the new
  3334. Kconfig-based configuration system.
  3335. * configs/stm32f4discovery/elf and configs/stm32f4discovery/scripts/gnu-elf.ld
  3336. Add a configuration for testing the ARM ELF loader.
  3337. * binfmt/libelf: Can't use fstat(). NuttX does not yet support it. Damn!
  3338. * binfmt/libelf: The basic ELF module execution appears fully functional.
  3339. * configs/shenzhou/src/up_relays.c: Add support for relays from the
  3340. Shenzhou board. Contributed by Darcy Gong.
  3341. * lib/fixedmath: Moved the old lib/math to lib/fixedmath to make room for
  3342. the math library from the Rhombus OS
  3343. * lib/math: Now contains the math library from the Rhombus OS by Nick Johnson
  3344. (submitted by Darcy Gong).
  3345. * include/float.h: Add a first cut at the float.h header file. This
  3346. really should be an architecture/toolchain-specific header file. It
  3347. is only used if CONFIG_ARCH_FLOAT_H is defined.
  3348. * lib/math: Files now conform to coding standards. Separated float,
  3349. double, and long double versions of code into separate files so that
  3350. they don't draw in so much un-necessary code when doing a dumb link.
  3351. * binfmt/libelf: The ELF loader is working correctly with C++ static
  3352. constructors and destructors and all.
  3353. * Documentation/NuttXBinfmt.html: Add documentation of the binary loader.
  3354. * configs/sim/ostest: Converted to use the mconf configuration tool.
  3355. * configs/sim/cxxtest: New test that will be used to verify the uClibc++
  3356. port (eventually).
  3357. * include/nuttx/fs/fs.h, lib/stdio/lib_libfread.c, lib_ferror.c,
  3358. lib_feof.c, and lib_clearerr.c: Add support for ferror(), feof(),
  3359. and clearerror(). ferror() support is bogus at the moment (it
  3360. is equivalent to !feof()); the others should be good.
  3361. * configs/stm32f4discovery/include/board.h: Correct timer 2-7
  3362. base frequency (provided by Freddie Chopin).
  3363. * include/nuttx/sched.h, sched/atexit.c, and sched/task_deletehook.c:
  3364. If both atexit() and on_exit() are enabled, then implement atexit()
  3365. as just a special caseof on_exit(). This assumes that the ABI can
  3366. handle receipt of more call parameters than the receiving function
  3367. expects. That is usually the case if parameters are passed in
  3368. registers.
  3369. * libxx/libxx_cxa_atexit(): Implements __cxa_atexit()
  3370. * configs/stm32f4discovery/cxxtest: New test that will be used to
  3371. verify the uClibc++ port (eventually). The sim platform turned not
  3372. to be a good platform for testing uClibc++. The sim example will not
  3373. run because the simulator will attempt to execute the static
  3374. constructors before main() starts. BUT... NuttX is not initialized
  3375. and this results in a crash. On the STM324Discovery, I will have
  3376. better control over when the static constructors run.
  3377. * RGMP 4.0 updated from Qiany Yu.
  3378. * configs/*/Make.defs and configs/*/ld.script: Massive clean-up
  3379. and standardization of linker scripts from Freddie Chopin.
  3380. * net/netdev_ioctl.c: Add interface state flags and ioctl calls
  3381. to bring network interfaces up and down (from Darcy Gong).
  3382. * config/stm32f4discovery: Enable C++ exceptions. Now the entire
  3383. apps/examples/cxxtest works -- meaning that the uClibc++ is
  3384. complete and verified for the STM32 platform.
  3385. 6.24 2012-12-20 Gregory Nutt <gnutt@nuttx.org>
  3386. * arch/arm/src/stm32: Support for STM32F100 high density chips
  3387. added by Freddie Chopin.
  3388. * configs/stm32f100_generic: Support for generic STM32F100RC board
  3389. contributed by Freddie Chopin.
  3390. * arch/arm/src/stm32_otgfsdev.c: Partial fix from Petteri Aimonen.
  3391. * drivers/lcd/ug-2864ambag01.c and include/nuttx/lcd/ug_2864ambag01.h:
  3392. LCD driver for the Univision OLED of the same name (untested on
  3393. initial check-in).
  3394. * configs/stm32f4discovery/nxlines: Configure to use mconf/Kconfig
  3395. tool.
  3396. * configs/stm32f4discovery/src/up_ug2864ambag01.c: Board-specific
  3397. initialization for UG-2864AMBAG01 OLED connecte to STM32F4Disovery.
  3398. * libxx/libxx_stdthrow.cxx: Exception stubs from Petteri Aimonen.
  3399. * configs/stm32f4discovery/src/up_ug2864ambag01.c: Driver has been
  3400. verified on the STM32F4Discovery platform. Some tuning of the
  3401. configuration could improve the presentation. Lower resolution displays
  3402. are also more subject to the "fat, flat line bug" that I need to fix
  3403. someday. See http://www.nuttx.org/doku.php?id=wiki:graphics:nxgraphics
  3404. for a description of the fat, flat line bug.
  3405. * libc: Renamed nuttx/lib to nuttx/libc to make space for a true lib/
  3406. directory that will be forthcoming. Also rename libraries: liblib.a -> libc.a,
  3407. libulib.a -> libuc.a, libklib.a -> libkc.a, liblibxx.a ->libcxx.a.
  3408. (I will probably, eventually rename libxx to libcxx for consistency)
  3409. * Makefile, lib/: A new, empty directory that will hold generated libraries.
  3410. This simplifies the library patch calculations and lets me get rid of some
  3411. bash logic. The change is functional, but only partially complete;
  3412. additional logic is needed in the arch/*/src/Makefile's as well. Right
  3413. now that logic generate multiple library paths, all pointing to the lib/
  3414. directory.
  3415. * arch/*/src/Makefile: Now uses only the libraries in lib/
  3416. Replace bash fragments that test for board/Makefile.
  3417. * Makefile.win: The beginnings of a Windows-native build. This is just
  3418. the beginning and not yet ready for prime time use.
  3419. * configs/stm32f4discovery/winbuild: This is a version of the standard
  3420. NuttX OS test, but configured to build natively on Windows. Its only
  3421. real purpose is to very the native Windows build logic.
  3422. * tools/mkdeps.bat and tools/mkdeps.c: mkdeps.bat is a failed attempt
  3423. to leverage mkdeps.sh to CMD.exe. It fails because the are certain
  3424. critical CFLAG values that cannot be passed on the CMD.exe command line
  3425. (like '='). mkdeps.c is a work in progress that will, hopefully,
  3426. replace both mkdeps.sh and mkdeps.bat.
  3427. * tools/Config.mk: Centralize the definition of the script that will be
  3428. used to generated header file include paths for the compiler. This
  3429. needs to be centralized in order to support the Windows native build.
  3430. * tools/incdir.bat: A replacement for tools/incdir.sh for use with the
  3431. the Windows native build.
  3432. * Makefile.unix: The existing top-level Makefile has been renamed
  3433. Makefile.unix.
  3434. * Makefile: This is a new top-level Makefile that just includes
  3435. either Makefile.unix or Makefile.win
  3436. * configs/stm3240g-eval/src: Qencoder fixes from Ryan Sundberg.
  3437. * arch/arm/src/stm32/stm32_qencoder.c: TIM3 bug fix from Ryan Sundberg.
  3438. * tools/mkromfsimg.sh: Correct typo in an error message (Ryan Sundberg)
  3439. * arch/*/src/Makefile: Remove tftboot install and creation of System.map
  3440. for Windows native build. The first is a necessary change, the second
  3441. just needs re-implemented.
  3442. * configs/mirtoo: Update Mirtoo pin definitions for Release 2. Provided
  3443. by Konstantin Dimitrov.
  3444. * Fixed an uninitialized variable in the file system that can cause
  3445. assertions if DEBUG on (contributed by Lorenz Meier).
  3446. * Config.mk: Defined DELIM to be either / or \, depending upon
  3447. CONFIG_WINDOWS_NATIVE. This will allow me to eliminate a lot of
  3448. conditional logic elsewhere.
  3449. * nuttx/graphics: One a mouse button is pressed, continue to report all
  3450. mouse button events to the first window that received the initial
  3451. button down event, even if the mouse attempts to drag outside the
  3452. window. From Petteri Aimonen.
  3453. * nuttx/graphics/nxmu/nx_block.c: One more fix to the NX block message
  3454. logic from Petteri Aimonen.
  3455. * include/nuttx/wqueue.h: Some basic definitions to support a user-
  3456. space work queue (someday in the future).
  3457. * graphics/nxmu: Add semaphores so buffers messages that send buffers
  3458. will block until the buffer data has been acted upon.
  3459. * graphics/nxmw: Extended the blocked messages to cover mouse movement
  3460. and redraw events. These will also cause problems if sent to a window
  3461. while it is closing.
  3462. * arch/several: Change UARTs are enabled for i.MX, LM3S, ez80, and M16C to
  3463. match how they are enabled for other architectures.
  3464. * configs/ez80f910200kitg: Convert to use mconf configuration.
  3465. * sched/pause.c: Implements the POSIX pause() function.
  3466. * ez80: Lots of changes to ez80 configurations and build logic as I
  3467. struggle to get a clean Windows build (still not working).
  3468. * configs/cloudctrl: Darcy Gong's CloudController board. This is a
  3469. small network relay development board. Based on the Shenzhou IV development
  3470. board design. It is based on the STM32F107VC MCU.
  3471. * arch/arm/src/stm32_serial.c and stm32_lowputc.c: Added optional RS-485
  3472. direction bit control. From Freddie Chopin.
  3473. * Lots of build files: ARMv7-M and MIPS32 Make.defs now include a common
  3474. Toolchain.defs file that can be used to manage toolchains in a more
  3475. configurable way. Contributed by Mike Smith
  3476. * configs/stm32f4discovery/winbuild and configs/cloudctrl: Adapted to use
  3477. Mike's Toolchain.defs.
  3478. * tools/configure.sh: Adapted to handle paths and setenv.bat files correctly
  3479. for native Windows builds.
  3480. * More of build files: AVR and AVR32 Make.defs now include a common
  3481. Toolchain.defs file that can be used to manage toolchains in a more
  3482. configurable way. Contributed by Mike Smith
  3483. * tools/incdir.sh and incdir.bat: Add -s option to generate system header
  3484. file paths.
  3485. * nuttx/arch/arm/src/arm/Toolchain.defs: Add support for more ARM toolchains
  3486. (from Mike Smith).
  3487. * arch/arm/src/stm32/stm32f40xxx_rcc.c: Enabled FLASH prefetch (from Petteri
  3488. Aimonen).
  3489. * graphics/nxtk/nxtk_filltrapwindow.c: Correct an offset problem (from
  3490. Peterri Aimonen).
  3491. * graphics/nxglib/nxglib_splitline.c: Fix error in drawing of near horizontal
  3492. lines (from Peterri Aimonen).
  3493. * sched/task_exithook.c: Missing right bracket with certain conditional
  3494. compilation (thanks James Goppert).
  3495. * arch/arm/srch/stm32/stm32_otgfshost.c: Replace timeout handling; use
  3496. system tick instead of frame counter. The frame counter gets reset to
  3497. zero at 0x3fff making it error prone.
  3498. * arch/arm/src/stm32/stm32f20xx_rcc.c and stm32f40xx_rcc.c: Added option
  3499. CONFIG_STM32_FLASH_PREFETCH. FLASH prefetch will now only be enabled
  3500. if this option is selected.
  3501. * configs/ez80f910200zco/ostest: Now uses Kconfig/mconf configuration
  3502. tool. Updated to build in native Windows environment. Other ez80f910200zco
  3503. build scripts also updated.
  3504. * configs/z8f64200100kit/ostest: Update to same level as ez80 configurations.
  3505. * nuttx/configs/z8f64200100kit/scripts/setenv.bat: Add support for native
  3506. Windows build.
  3507. * nuttx/arch/arm/src/lpc17xx/lpc17_i2c.c: Resources not being released when
  3508. I2C is uninitialized.
  3509. * cloudctrl/src/up_chipid.c and shenzhou/src/up_chipid.c: Add functions to
  3510. get chip ID. Contributed by Darcy Gong. These should not be board-dependent,
  3511. but should be in arch/arm/src/stm32 where they can be used from any board.
  3512. * sched/work_thread.c: Fix backward conditional compilation. This might
  3513. has caused a memory leak. From Freddie Chopin.
  3514. * configs/<many>/Make.defs: Fix typo -wstrict-prototypes should be
  3515. -Wstrict-prototypes (From Denis Carilki).
  3516. * arch/arm/src/calapyso/calypso_keypad.c: Add Calypso keypad driver. From
  3517. Denis Carilki.
  3518. * z8encore000zco/ostest and z8f64200100kit/ostest: Converted to use Kconfig/
  3519. mconf configuration tool.
  3520. * arch/arm/src/armv7-m/up_exception.S: missing curly braces for push/pop
  3521. From Freddie Chopin.
  3522. * z8encore000zco/ostest and z8f64200100kit/ostest: Can now be modified to
  3523. support the Windows native builds (see corresponding README.txt files).
  3524. * configs/z16f2800100zcog - All configurations updated to use the ZDS-II
  3525. 5.0.1 toolchain.
  3526. * configs/z16f2800100zcog - All configurations updated to use Kconfig/mconf
  3527. configuration tools.
  3528. * configs/z16f2800100zcog/ostest - Now supports a native Windows build
  3529. (other ZNEO configs may also support the native build, but this has not
  3530. been verfiied).
  3531. * include/nuttx/input/keypad.h, arch/arm/src/calypso/calypso_keypad.c, and
  3532. configs/compal_e99/nsh_highram: First cut at a standard keypad interface
  3533. definition. Contributed by Denis Carikli.
  3534. * libc/stdlib/lib_rand.c: Always add one to result congruential generators
  3535. to avoid the value zero. Suggested by Freddie Chopin.
  3536. * tools/b16.c: Fixed precision math conversion utility.
  3537. * graphics/nxglib/nxglib_splitline.c: Fix the "fat, flat line bug"
  3538. * arch/z80/src/*/Toolchain.defs: Add dummy Toolchain.defs files for the
  3539. z80 family.
  3540. * configs/z80sim/ostest: Converted to build with the Kconfig/mconf tool.
  3541. Current configuration failed to build for me (Ubuntu 12.10, SDCC 3.2.0
  3542. pre-built for Linux) due to a glibc memory corruptionerror in SDCC.
  3543. * configs/z80sim/ostest: Default is now the Windows native build. See
  3544. configs/z80sim/README.txt for instructions to convert back to a Linux or
  3545. or Cygwin build.
  3546. * arch/z80/src/Makefile.sdccw: Renamed makefiles with extensions zdiil,
  3547. zdiiw, sdccl, and sdccw for the ZDS-II vs SDCC compilers and for the
  3548. POSIX vs Windows native builds.
  3549. * nuttx/drivers/mtd/ftl.c: Fix for the flash translation layer. Short
  3550. unaligned writes were buggy. From Petteri Aimonen.
  3551. * nuttx/libc/math/lib_round*.c: Add rounding functions to the math
  3552. library. Contributed by Petteri Aimonen.
  3553. * include/cxx/cstdlib: Add stroul(). From Petteri Aimonen.
  3554. * arch/*/include/limits.h: Change signed minimum values from, for example,
  3555. (-128) to (-127 - 1) to avoid overflows under certain conditions. From
  3556. Peterri Aimonen.
  3557. * graphics/nxtk/nxtk_subwindowmove.c: Previously it was very difficult to
  3558. do e.g. "scroll by dx, dy". When given the full window area, nxtk_subwindowmove
  3559. would clip the offset always to 0,0. It makes more sense for it to clip the
  3560. source area and not modify the offset. From Petteri Aimonen.
  3561. * graphics/nxtk/nxtk_getwindow.c: Clipping would change the offset of returned
  3562. data, and caller has no way to know what the new offset would be. This messes
  3563. up font drawing when the text is partially out of window, e.g. when scrolling.
  3564. Also from Petteri Aimonen.
  3565. * include/stdbool.h: Can now be disabled for C++ files if CONFIG_C99_BOOL8 is
  3566. defined. CONFIG_C99_BOOL8 indicates (1) that the sizeof(_Bool) is one in both
  3567. C and C++, and (2) the C compiler is C99 and supports the _Bool intrinsic
  3568. type. Requested by Freddie Chopin.
  3569. * include/stdlib/lib_rand.c: Various additional changes so that the integer
  3570. value zero can be returned. Requested by Freddie Chopin.
  3571. * arch/z80/src/Makefile.sdcc*, z80/up_mem.h: Redesign Z80 build so that it
  3572. no longer depends on Bash scripts.
  3573. * configs/z80sim/nsh and pashello: Converted to (1) use the kconfig-frontends
  3574. configuration tool, and (2) to build natively under Windows. The NSH
  3575. configuration is verified; the pashello configuration needs a more TLC.
  3576. * tools/copydir.sh: Rename tools/winlink.sh to tools/copydir.sh
  3577. * tools/link.bat, unlink.bat, and copydir.bat: Add Windows counterparts
  3578. to the link.sh, unlink.sh, and copydir.sh Bash scripts.
  3579. * configs/z80sim/pashello: Now builds correctly.
  3580. * configs/xtrs/ostest, nsh, and pashello: Converted to (1) use the kconfig-
  3581. frontends configuration tool, and (2) to build natively under Windows.
  3582. * drivers/serial/Kconfig and sched/Kconfig: Two names for same configuration:
  3583. CONFIG_LOWLEVEL_CONSOLE is bogus and CONFIG_DEV_LOWCONSOLE is in the wrong
  3584. Kconfig file. Moved to drivers/serial/Kconfig replacing CONFIG_LOWLEVEL_CONSOLE.
  3585. * arch/z80/include/z180: Add header files for z180 chips. Initial versions
  3586. are just clones of z80 header files.
  3587. * arch/z80/src/z180: Add source files for z180 chips. Initial versions
  3588. are just clones of z80 source files.
  3589. * include/nuttx/arch.h: Add address environment control interfaces (for use
  3590. with CPUs the provide MCUs and support process-like address environments).
  3591. * arch/z80/src/z180/z180_mmu.*: Add MMU support for z180 tasks.
  3592. * configs/p112: Add very basic board support and an examples/ostest
  3593. configuration for the venerable P112 board.
  3594. * sched/os_bringup.c: If CONFIG_PATH_INITIAL is defined, then the initial
  3595. environment of the task started by os_bringup() will have the PATH
  3596. environment variable defined to be that string.
  3597. * binfmt/binfmt_exepath.c: If CONFIG_BINFMT_EXEPATH is defined, then this
  3598. file will be built. It contains logic to search for regular files at
  3599. the absolutes paths found in the current PATH environment variable
  3600. setting. This is untested and not yet hooked into the binfmt exec()
  3601. logic on initial check-in
  3602. * binfmt/binfmt_loadmodule.c: load_module() will now traverse the PATH
  3603. variable to locate files from their relative path.
  3604. * include/nuttx/arch.h and arch/z80/src/z180/z180_mmu.c: Restructure the
  3605. address environment interfaces so that they will better integrate with
  3606. binfmt/.
  3607. * binfmt/libelf/*, binfmt/libnxflat/* and other files: Integrate the
  3608. address environment interfaces. If CONFIG_ADDRENV=y, then binfmt/
  3609. will now create an address environment for new tasks (instead of
  3610. just malloc'ing the task memory).
  3611. * configs/stm32f4discovery/elf: Enable support/test of the PATH
  3612. to find executables using a relative path.
  3613. 6.25 2013-02-01 Gregory Nutt <gnutt@nuttx.org>
  3614. * graphics/: Adds 5x8 monospace font. This tiny font is useful for graph
  3615. labels and for small bitmapped display. Contributed by Petteri
  3616. Aimonen.
  3617. * configs/stm3220g-eval/nxwm: Converted to use the kconfig-frontends
  3618. configuration tool.
  3619. * configs/sim/nxwm: Converted to use the kconfig-frontends configuration
  3620. tool.
  3621. * include/pthread.h: In sys/prctl.h because it is needed by
  3622. pthread_[set|get]name_np()
  3623. * tools/kconfig.bat: Kludge to run kconfig-frontends from a DOS shell.
  3624. * sched/sig_timedwait.c: Should always move the time up to the next
  3625. largest number of system ticks. The logic was rounding. Noted by
  3626. Petteri Aimonen.
  3627. * arch/arm/src/up_head.S: Fix backward conditional compilation. NOTE
  3628. there is a issue of ARM9 systems with low vectors and large memories
  3629. that will have to be addressed in the future.
  3630. * libc/misc/lib_kbdencode.c and lib_kbddecode.c: Add logic to marshal
  3631. and serialize speical keyboard commands intermixed with normal ASCII
  3632. data (not yet hooked into anything).
  3633. * drivers/usbhost/usbhost_hidkbd.c: If CONFIG_HIDKBD_ENCODED is
  3634. defined, this driver will now use libc/misc/lib_kbdencode.c to
  3635. encode special function keys.
  3636. * configs/olimex-lpc1766stk/hidkbd: This configuration has been
  3637. converted to use the kconfig-frontends configuration tool.
  3638. * drivers/lcd/ug-2864hsweg01.c and include/nuttx/lcd/ug-2864hsweg01.h:
  3639. Driver for UG-2864HSWEG01 OLED contributed by Darcy Gong.
  3640. * configs/stm32f4discovery/src/up_ug2864hsweg01.c: Support for the
  3641. UG-2864HSWEG01 OLED for the STM32F4Discovery board.
  3642. * drivers/usbhost/usbhost_hidkbd.c: Correct a logic error in how
  3643. tasks waiting for read data are awakened.
  3644. * libc/misc/lib_kbdencode.c and lib_kbddecode.c: Now handles keypress
  3645. events too. However, the USB HID keyboard driver has not yet been
  3646. updated to detect key release events. That is kind of tricky in
  3647. the USB HID keyboard report data.
  3648. * configs/mcu123-214x/nsh: Converted to use the kconfig-frontends
  3649. configuration tool.
  3650. * configs/zp214xpa: Add basic support for the The0.net ZP213x/4xPA
  3651. board (with the LPC2148 and the UG_2864AMBAG01).
  3652. * configs/sim/nxlines: Add an nxlines configuration for the
  3653. simulator.
  3654. * configs/zp214xpa/nxlines: Add an nxlines configuration for the
  3655. ZP213x/4xPA (with the LPC2148 and the UG_2864AMBAG01). Working
  3656. as of 2012-12-30.
  3657. * configs/olimex-lpc1766stk/wlan: Remove non-functional
  3658. configuration.
  3659. * configs/stm32f4discovery/src and nuttx/drivers/lcd/ug-2864hsweg01.c:
  3660. Updates and corrections for the UG-2864HSWEG01 from Darcy Gong.
  3661. * configs/lm326965-ek: All configurations converted to use the
  3662. kconfig-frontends configuration tool.
  3663. * configs/Kconfig: NSH_MMCSDSPIPORTNO should depend on MMCSD_SPI,
  3664. not just SPI (from Jose Pablo Carballo).
  3665. * arch/arm/src/arm/Kconfig and armv7m/Kconfig: Add an option for
  3666. buildroot toolchains: They may be EABI or OABI.
  3667. * include/nuttx/progmem and arch/arm/src/stm32/stm32_flash.c:
  3668. Fix a counting bug plus change interface to use either relative
  3669. or absolute FLASH addressing (from Freddie Chopin).
  3670. * libc/misc/Make.defs: Fix error in conditional for KBD CODEC.
  3671. * libc/Kconfig and configs/*/defconfig (several): The default
  3672. setting should be CONFIG_LIB_KBDCODEC=n
  3673. * tools/configure.c: configure.c can be used to build a work-alike
  3674. program as a replacement for configure.sh. This work-alike
  3675. program would be used in environments that do not support Bash
  3676. scripting (such as the Windows native environment).
  3677. * tools/configure.bat: configure.bat is a small Windows batch
  3678. file that can be used as a replacement for configure.sh in a
  3679. Windows native environment. configure.bat is actually just a
  3680. thin layer that executes configure.exe if it is available. If
  3681. configure.exe is not available, then configure.bat will attempt
  3682. to build it first.
  3683. * arch/arm/src/lpc17xx/lpc17_syscon.h: Correct some typos in bit
  3684. definitions (from Rommel Marcelo).
  3685. * libc/string/lib_strndup.c: strndup() should use strnlen(), not
  3686. strlen(), to determine the size of the string.
  3687. * sched/os_bringup.c: Remove support for CONFIG_BUILTIN_APP_START.
  3688. This is not really a useful feature and creates a violation of the
  3689. OS layered architecture.
  3690. * include/unistd.h, arch/arch/src/*: Implement a simple vfork().
  3691. On initial checkin, this API is available only for ARM platforms.
  3692. * binfmt/binfmt_exec.c: exec() now sets the priority of the new task
  3693. to the same priority as the current task (instead of the arbirtrary
  3694. value of 50).
  3695. * libc/unisted/lib_execv.c and lib_execl.c: New, somewhat flawed,
  3696. implementations of execv() and execl().
  3697. * tools/cfgdefine.c: Strips quotes from CONFIG_EXECFUNCS_SYMTAB
  3698. value.
  3699. * arch/arm/include/lm3s/chip.h: Move chip definitions into
  3700. public include area for compatibility with other architectures.
  3701. * arch/arm/src/lm3s/chip: Move register definition header files
  3702. into a new chip/ sub-directory.
  3703. * arch/arm/src/lm3s/lm3s_internal.h: Broke up into several
  3704. smaller header files.
  3705. * arch/arm/src/lm: Rename the arch/arm/src/lm3s directory to
  3706. arch/arm/src/lm so that is can support other members of the
  3707. Stellaris family.
  3708. * libc/spawn: Add file action interfaces needed by posix_spawn().
  3709. * sched/clock_time2ticks.c: Another case where time was being
  3710. rounded down instead of up (from Mike Smith).
  3711. * libc/spawn: Implementation of posix_spawn() is complete but
  3712. untested and undocumented.
  3713. * drivers/usbdev/pl2303.c: Fix typols in the PL2303 driver
  3714. (from Max Holtzberg).
  3715. * configs/stm32f4discovery/posix_spawn: Added a configuration
  3716. that can be used for testing posix_spawn().
  3717. * arch/arm/src/stm32: Bring F1 support for general DMA and serial
  3718. DMA in paricular up to parity with F2/F4 (from Mike Smith).
  3719. * libc/stdio/lib_libfread.c: Correct some error handling when
  3720. lib_fread() was passed a bad stream. Needed to move the
  3721. releasing of a semaphore inside of some conditional logic
  3722. (cosmetic).
  3723. * include/nuttx/sched.h, sched/task_setup.c, and sched/task_exithook.c:
  3724. Add support for remembering the parent task and sending
  3725. SIGCHLD to the parent when the task exists.
  3726. * sched/task_exithook.c: Fixed a *critical* bug. Here is
  3727. the scenario: (1) sched_lock() is called increments the lockcount
  3728. on the current TCB (i.e., the one at the head of the ready to run
  3729. list), (2) sched_mergepending is called which may change the task
  3730. at the head of the ready-to-run list, then (3) sched_unlock() is called
  3731. which decrements the lockcount on the wrong TCB. The failure case
  3732. that I saw was that pre-emption got disabled in the IDLE thread,
  3733. locking up the whole system.
  3734. * sched/sched_waitpid.c: Use SIGCHLD instead of a semaphore. This
  3735. is a much more spec-compliant implementation. However, there are
  3736. some issues with overruning signals because NuttX does not support
  3737. queueing of signals (POSIX does not require it). I think it may
  3738. need to.
  3739. * sched/sched_waitid.c and sched_wait.c: Add support for waitid()
  3740. and wait(). See issues with waitpid() above.
  3741. * include/nuttx/fs/fs.h and fs/fs_files.c: Add a dup() method to
  3742. the struct mountpt_operations. When dup'ing a file that resides
  3743. on a mounted volume, let the file system's dup() method do the
  3744. work.
  3745. * fs/romfs/fs_romfs.c: Implemented the dup() method for the ROMFS
  3746. file system.
  3747. * fs/fat/fs_fat32.c, fs/nxffs/nxffs_initialize, and
  3748. fs/nfs/nfs_vfsops.c: Add hooks for dup() method (not yet
  3749. implemented).
  3750. * fs/romfs: Remove the rf_open flag. It looks good, but actually
  3751. does nothing.
  3752. * fs/fat: Remove the ff_open flag. Same story as for the ROMFS
  3753. rf_open flag.
  3754. * fs/fat/fs_fat32.c, fs/nxffs/nxffs_initialize, and
  3755. fs/nfs/nfs_vfsops.c: Completed implementation of the dup() methods.
  3756. There is still no good test available.
  3757. * sched/sig_timedwait.c: sigtimedwait() would return a bad signal
  3758. number if the signal was already pending when the function was
  3759. called.
  3760. * configs/ubw32/scripts: All common linker scripts moved to this
  3761. scripts sub-directory
  3762. * configs/ubw32/ostest: Configuration configured to use the
  3763. kconfig-frontends tools.
  3764. * arch/mips/src/mips32/up_vfork.c, up_vfork.h, and vfork.S:
  3765. Implement vfork() for MIPS32 (no floating point support)
  3766. * configs/ubw32/ostest: Enable the vfork() test.
  3767. * fs/binfs: Move apps/builtin/binfs.c to fs/binfs/fs_binfs.c
  3768. CONFIG_APPS_BINDIR rename CONFIG_FS_BINFS
  3769. * include/nuttx/binfmt/builtin.h: Some of the content of
  3770. apps/include/apps.h moved to include/nuttx/binfmt/builtin.h
  3771. * binfmt/libbuiltin/libbuiltin_utils.c: Move builtin
  3772. utility functions from apps/builtin/exec_builtins.c to
  3773. binfmt/libbuiltin/libbuiltin_utils.c
  3774. * binfmt/builtin.c and binfmt/libbuiltin: Add a binary "loader"
  3775. that can be used to execute builtin programs from the BINFS
  3776. file system.
  3777. * configs/sim/nsh: Convert to use kconfig-frontends configuration
  3778. tool.
  3779. * binfmt/binfmt_schedunload.c: Add logic based on SIGCHLD to
  3780. automatically unload and clean-up after running a task that
  3781. was loaded into memory.
  3782. * binfmt/libbuiltin: Extensions from Mike Smith
  3783. * sched/task_reparent.c: Add internal interface to change the
  3784. parent task.
  3785. * sched/task_posixspawn(): Move libc/spawn/lib_ps.c to
  3786. sched/task_posixspawn() now it requires internal, reparenting
  3787. interfaces
  3788. * include/nuttx/spawn(): Move libc/spawn.h to include/nuttx/spawn.h
  3789. * arch/arm/include/lpc17xx/chip.h, irq178x.h: Integrate Marcelo
  3790. Rommel's LPC1788 definitions into the base LPC17xx.
  3791. * configs/olimex-lpc1766stk/nsh: Convert configuration to use
  3792. the kconfig-frontends tools.
  3793. * sched/task_reparent.c: Simplify reparenting interface.
  3794. * arch/arm/src/[many]: More LPC1788 definitions from Rommel
  3795. Marcelo incorporated.
  3796. * configs/open1788: Board configuration for the Wave Share
  3797. Open1788 board. Still fragmentary (contributed by Rommel
  3798. Marcelo, adapted to use kconfig-frontends.
  3799. * net/send(): Add logic to work around delayed ACKs by splitting
  3800. packets (contributed by Yan T.).
  3801. * net/recvfrom(): Fix a bug. When the host closes a connection
  3802. (gracefully). recv[from]() returned success and the closure
  3803. was never detected. Hmmm.. I don't know why the network monitor
  3804. did not catch this event. This is an important bug fix.
  3805. * net/recvfrom(): Fix a introduced with the last bugfix. If
  3806. the peer does an orderly closure of the socket, report 0 not
  3807. -ENOTCONN
  3808. * configs/lm3s6965-ek/README.txt and tools/: Add an OpenOCD
  3809. configuration for the LM3S (from Jose Pablo Carballo).
  3810. * nuttx/lcd/hd4478ou.h and configs/pcblogic-pic32mx/src/up_lcd1602:
  3811. Start of support of LCD1602 alphanumeric LCD. I need a few
  3812. more parts before I can finish integrating this one.
  3813. * arch/arm/src/*/chip.h and arch/arm/include/*/chip.h: Move all
  3814. priority ranges from the src to the include chip.h header file.
  3815. * arch/arm/include/armv7-m/irq.h: Add inline functions to enable
  3816. and disable interrupts via the BASEPRI register.
  3817. * arch/arm/Kconfig: Add new option CONFIG_ARM7VM_USEBASEI
  3818. * arch/arm/src/*/*_irq.c: Set the priority of the SVCALL exception
  3819. to the highest possible value.
  3820. * arch/armv7-m/up_hardfault.c: Fail if a hardfault occurs
  3821. while CONFIG_ARM7VM_USEBASEPRI=y.
  3822. * arch/arm/src/stm32/stm32_serial.c: Add support for USART
  3823. single wire mode (Contributed by the PX4 team).
  3824. * sched/: Implement support for retaining child task status after
  3825. the child task exists. This is behavior required by POSIX.
  3826. But in NuttX is only enabled with CONFIG_SCHED_HAVE_PARENT and
  3827. CONFIG_SCHED_CHILD_STATUS
  3828. * Add support for keyboard encode to the keypad test (from
  3829. Denis Carikli).
  3830. * configs/olimex-lpc1766stk/nettest: Configuration converted to
  3831. use the kconfig-frontends tools.
  3832. * net/net_poll.c: Split net_poll() to create psock_poll() too.
  3833. * net/net_poll.c: Fix poll/select issure reported by Qiang:
  3834. poll_interrupt() must call net_lostconnection() when a
  3835. loss of connection is reported. Otherwise, the system will
  3836. not know that the connection has been lost.
  3837. * sched/group_create.c, group_join.c, and group_leave.c: Add
  3838. support for task groups.
  3839. * sched/group_signal.c and task_exithook.c: Send signal to all
  3840. members for the parent task group.
  3841. * include/nuttx/sched.h and sched/env_*.c: Move environment
  3842. variables into task group structure.
  3843. * sched/: Lots of file changed. Don't keep the parent task's
  3844. task ID in the child task's TCB. Instead, keep the parent
  3845. task group IN the child task's task group.
  3846. * fs/, sched/, include/nuttx/sched.h, and include/nutts/fs/fs.h:
  3847. Move file data from the TCB to the task group structure.
  3848. * libc/stdio/, sched/, include/nuttx/lib.h, and include/nutts/fs/fs.h:
  3849. Move stream data from the TCB to the task group structure.
  3850. * net/, sched/, and include/nuttx/net/net.h: Move socket data
  3851. from the TCB to the task group structure.
  3852. * sched/task_starthook.c, sched/task_start.c, and include/nuttx/sched.h:
  3853. Add a task start hook that will be called before the task main
  3854. is started. This can be used to schedule C++ constructors to run
  3855. automatically in the context of the new task.
  3856. * binfmt/binfmt_execmodule: Execute constructors as a start hook.
  3857. * sched/os_start.c: Fix ordering of group initialization.
  3858. * configs/stm32f4discovery/usbnsh: Add an NSH STM32F4Discovery
  3859. configuration that uses USB CDC/ACM for the NSH console.
  3860. * configs/stm32f4discovery/nsh: Converted to use the kconfig-frontends
  3861. tools.
  3862. * configs/*/src/up_userleds.c: Fix a error that was cloned into
  3863. all STM32 user LED code. The wrong definitions were being used
  3864. to set LEDs on or off.
  3865. * arch/*/common/up_internal.h and arch/*/common/up_initialize.c:
  3866. Serial was driver was not being built if there is no console
  3867. device. Obviously, the serial driver may be needed even in
  3868. this case.
  3869. * arch/arm/src/stm32/stm32_serial.c: If there is a serial console,
  3870. it would be ttyS0 and the others would be ttyS1-5. If there
  3871. is not serial console, was labeling them ttyS1-6; now labels them
  3872. ttyS0-5.
  3873. * fs/fs_syslog.c: Can't handle SYSLOG output to character device from
  3874. the IDLE task (because it can't block). syslog_putc now returns EOF
  3875. on failure and sets errno. Fixed some errors in error handling.
  3876. * libc/stdio/lib_syslogstream.c: Checking of return value from
  3877. syslog_putc was bogus. Switching to EOF for all errors solves
  3878. this.
  3879. * arch/arm/src/lm/chip/lm4f_memorymap.h: More LM4F changes from
  3880. Jose Pablo Carballo.
  3881. * drivers/serial/serial.c, include/nuttx/serial/serial.h,
  3882. drivers/usbdev/cdcacm.c, and drivers/pl2303.c: Add support for
  3883. removable serial devices (like USB serial). This support is enabled
  3884. by CONFIG_SERIAL_REMOVABLE.
  3885. * arch/*/src/*/Toolchain.defs: Change assignment so that we can
  3886. override CROSSDEV with a make command line argument.
  3887. * include/assert.h: Mark assertion functions as non-returning.
  3888. * arch/*/src/*/up_assert.h: Mark _up_assert() as non-returning.
  3889. * drivers/mtd/at25.c: When the AT25 device was not available the
  3890. initialization did not fail like it should. From Petteri Aimonen.
  3891. * fs/fat/fs_configfat.c: Fix some errors in FAT formatting logic
  3892. for large devices and for FAT32. From Petteri Aimonen.
  3893. * fs/fat/fs_fat32util.c: Fix an initialization error found by
  3894. Petteri Aimonen. freecount and next freecount initialization were
  3895. reversed.
  3896. * drivers/mmcsd/mmcsd_spi.c: Some SD cards will appear busy until
  3897. switched to SPI mode for first time. Having a pull-up resistor on
  3898. MISO may avoid this problem, but this patch makes it work also
  3899. without pull-up. From Petteri Aimonen.
  3900. * fs/fat/fs_fat32.c: Fix a compilation error when FAT_DMAMEMORY=y.
  3901. From Petteri Aimonen.
  3902. * arch/arm/src/stm32/chip/stm32_spi.h: STM32F4 max SPI clock freq is
  3903. 37.5 MHz. Patch from Petteri Aimonen.
  3904. * arch/arm/src/stm32/stm32_spi.c: Fixes for SPI DMA work on the
  3905. STM32F4. Includes untested additions for the F1 implementation as
  3906. well. From Petteri Aimonen.
  3907. 6.26 2013-03-15 Gregory Nutt <gnutt@nuttx.org>
  3908. * drivers/serial/serial.c: Correct some race conditions when checking
  3909. for disconnection of a removable serial device.
  3910. * sched/task_posixspawn.c, task_spawn.c, task_spawnparms.c and
  3911. spawn_internal.h: Create new interface task_spawn() that is
  3912. like posix_spawn(), but uses entry point addresses like
  3913. task_create().
  3914. * Corrected all argv[] arguments. Should be char * const *, not
  3915. const char **.
  3916. * sched/pthread* and include/nuttx/sched: Move pthread join data
  3917. and pthread key calculation data into the "task group" structure.
  3918. * sched/atexit.c, on_exit.c, task_exithook.c and include/nuttx/sched.h:
  3919. Move atexit and on_exit data structures to task group. These
  3920. callbacks are only issued now when the final member of the task
  3921. group exits.
  3922. * sched/waitpid.c, task_exithook.c and include/nuttx/sched.h:
  3923. Move waitpid data data structures to task group. Callers of
  3924. of waitpid() are now only awakened when the final thread of the
  3925. task group exits.
  3926. * sched/mq_descreate.c, mq_open.c, mq_remove.c, group_leave.c, and
  3927. include/nuttx/sched.h: Move list of opened message queues to
  3928. the task group structures. Now all message queues opened by
  3929. members of the group are closed when the last member of the group
  3930. exits.
  3931. * includes/nuttx/sched.h and Lots of files: Change name of _TCB to
  3932. struct tcb_s so that (1) it is consitent with other NuttX naming and
  3933. so that (2) the naming can handle some upcoming changes.
  3934. * includes/nuttx/sched.h and sched/: There are three TCB structures:
  3935. struct tcb_s is a generic common version, struct task_tcb_s is a
  3936. version for tasks and kernel threads and pthread_tcb_s is a version
  3937. for pthreads. By dividing the TCB structure into these variants,
  3938. pthreads do not have to be burdened by task-specific data structures
  3939. (and vice versa).
  3940. * sched/task_exithook.c adn group_create.c: Fix an error, the
  3941. task within the task group may exit early leaving a pthread to
  3942. exit the task group last. In this case, we need to remember the
  3943. the PID of the main task in the task group and use that PID for
  3944. signalling SIGCHILD to the parent task group.
  3945. * included/nuttx/sched.h and sched/sig*.c: Numerous changes to the
  3946. signal deliver logic so that the delivery of signals to threads
  3947. within a task group will be compliant with delivery of signals
  3948. to threads within a POSIX process.
  3949. * sched/mq_recover.c and task_exithook.c: Add logic to handle the
  3950. case where a task is deleted (or pthread canceled) while it is
  3951. waiting on a message queue. task_delete() and pthread_cancel()
  3952. are dangerous interfaces. This is only one feeble recover measure
  3953. of *many* that would be needed to do this safely.
  3954. * sched/group_killchildren.c, task_recover.c, group_foreachchild.c,
  3955. sched/restart.c, sched/task_delete.c, and others: Beef up logic
  3956. to better support task deletion and pthread cancellation. Needed
  3957. to pass need OS test case for task_restart().
  3958. * sched/include/sched.h and all timed functions in sched/: Move
  3959. timer from local variables to TCB. This is needed so that if a
  3960. task is canceled or restarted while it is waiting for a timed
  3961. event, we can gracefully recover. We can't let the timer expire
  3962. after the task has been deleted.
  3963. * arch/arm/include/stm32 and arch/arm/src/stm32: Add support for
  3964. the STM32 F3 family (still missing some things).
  3965. * configs/stm32f3discovery: This will (eventually) be support for
  3966. the STM32F3Discovery board.
  3967. * STM32 F3 and STM32F3Discovery port is complete a ready for test.
  3968. * arch/arm/src/lpc17xx: Add support for the Cortex-M4 FPU and
  3969. Mikes "common vector" logic. The LPC1788 is going to need
  3970. these things.
  3971. * arch/arm/src/stm32/stm32_spi.c: Fix SPI DMA logic that does
  3972. not work if sem_wait() is interrupt by a signal. From Petteri
  3973. Aimonen.
  3974. * drivers/input/max11802.c: MAX11802: Fix a timing bug that
  3975. corrupted coordinates. From Petteri Aimonen.
  3976. * drivers/mmcsd/mmcsd_spi.c: Use SPI locking so that MMC/SD can
  3977. exist on the same bus as other SPI devices. From Petteri
  3978. Aimonen.
  3979. * graphics/nxfonts/nxfonts_sans17x22.h: Small mod to hyphen in
  3980. sans17x22 font. The hyphen did not have any space on its sides.
  3981. This caused it to run together with other characters so that for
  3982. example "+-" would look weird. From Petteri Aimonen.
  3983. * mm/mm_mallinfo.c: Take MM semaphore in mm_mallinfo. From Petteri
  3984. Aimonen.
  3985. * configs/stm32f3discovery/nsh/defconfig: Disable SPI. It is not
  3986. used.
  3987. * drivers/mtd/sst39vf: Add a driver for the SST29VF NOR FLASH parts.
  3988. * sched/os_start.c: Add an additional call-out to support board-
  3989. specific driver initialization during the start phase: If
  3990. CONFIG_BOARD_INITIALIZE is defined, then an additioinal
  3991. initialization function called board_initialize() will be called
  3992. just after up_initialize() is called and just before the initial
  3993. application is started.
  3994. * arch/arm/src/stm32/stm32_otgfsdev.c, drivers/usbdev/usbdev_trprintf.c,
  3995. and include/nuttx/usb/usbdev_trace.h: Add logic to support decoding
  3996. of device-specific trace events to make the trace ouput more readable.
  3997. From Petteri Aimonen.
  3998. * arch/arm/src/stm32/stm32_otgfsdev.c: Need to manually set CNAK in
  3999. the case where we are waiting for a SETUP command with DATA. Otherwise,
  4000. the core may NAK further transactions. From Petteri Aimonen.
  4001. * arch/arm/src/stm32/stm32_otgfsdev.c: Add logic to prevent premature
  4002. to IDLE state. This change (plus the previous) was necessary to get
  4003. the CDC/ACM driver working the certain STM32 F4 hardware (but not others).
  4004. These changes appear to prevent certain race conditions that may or may
  4005. not cause USB problems. From Petteri Aimonen.
  4006. * arch/arm/include/armv6-m and arch/arm/src/armv6-m: First cut at support
  4007. for the Cortex-M0
  4008. * configs/nutiny-nuc120, arch/arm/include/nu1xx, and arch/arm/src/nuc1xx:
  4009. Support for Nuvoton NuTiny NUC120.
  4010. * 2013-02-22: the Cortex-M0, NuvoTron NUC1xx, and NuTiny-SDK-NUC120 port
  4011. is code complete and ready for testing.
  4012. * configs/ekk-lm3s9b96/ostest and nsh: All EKK-LM3S9B96 configurations
  4013. converted to use the mconf configuration tool.
  4014. * configs/zkit-arm-1769: Add support for Zilogic System's ARM development
  4015. Kit, ZKIT-ARM-1769. From Rashid.
  4016. * configs/zkit-arm-1769/hello: Add a "Hello, World!" configuration for
  4017. the KBIT-ARM-1769 board. From Rashid.
  4018. * configs/zkit-arm-1769/thttpd: Add a THTTPD configuration for the
  4019. KBIT-ARM-1769 board. From Rashid.
  4020. * 2013-02-27: All configurations for the Cortex-M0 NuTINY-SDK-NUC120
  4021. appear to be functional and stable.
  4022. * configs/zkit-arm-1769/nsh: Add an NSH configuration for the
  4023. KBIT-ARM-1769 board. From Rashid.
  4024. * arch/arm/src/stm32/stm32_otgfsdev.c: Fixes from Petterri Aimonen
  4025. related to corner cases that can cause infinite interrupts.
  4026. * drivers/usbdev/usbmsc_scsi.c: Change to allow the full name in the
  4027. USB descriptor but a truncated, 8-byte name in the SCSI field.
  4028. From Petteri Aimonen.
  4029. * arch/arm/src/stm32/stm32_spi.c: Need to clear error flags to prevent
  4030. corruption of subsequent transfers. Also, bit count should not be
  4031. changed while the SPI peripheral is enabled. From Petteri Aimonen.
  4032. * drivers/mmcsd/mmcsd_spi.c: When bus is shared, the speed has to be
  4033. set every time. Also SD cards require a few dummy clocks to react
  4034. into CS release. From Petteri Aimonen.
  4035. * configs/lm4f120-launchpad: In initial configuration for testing
  4036. the LM4F120 LaunchPad port. This is to support testing only and
  4037. is not yet a functional board port (as of 2013-03-01).
  4038. * arch/arm/include/lm/lm4f_irq.h and arch/arm/src/lm/chip/lm4f_vector.h:
  4039. Add interrupt vector/IRQ number definitions for the LM4F120.
  4040. * arch/arm/src/stm32f20xxx_dma.c and stm32f40xxx_dma.c: Fix a typo
  4041. in assigned base register addresses for each DMA channel. From
  4042. Yan T.
  4043. * Several build fixes from Mike Smith were incorporated. These were
  4044. mostly compilation errors introduced into the system because of the
  4045. large number of recent changes with broad scope (2013-03-04).
  4046. * configs/zkit-arm-17969/src/up_can.c: Add CAN support to the
  4047. Zilogics Technologies ZKIT-ARM-1769 board (From Rashid Fatah, (2013-03-04)).
  4048. * arch/arm/src/lpc17/lpc17*_clockconfig.c: The WaveShare Open1788
  4049. board now boots and passes the OS test. This is the work of
  4050. Rommel Marcelo (2013-03-04).
  4051. * arch/arm/src/lm/lm_gpio.c, lm_gpio.h, and chip/lm4f_pinconfig.h
  4052. Extend GPIO logic to handle LM4F. Add LM4F pin configuration header
  4053. file (2013-03-04).
  4054. * configs/open1788: Enable LED support in all configurations.
  4055. (2013-03-04)
  4056. * configs/open1788/nsh: NSH configuration verified function. By Rommel
  4057. Marcelo (2013-03-05).
  4058. * configs/open1788/src/lpc17_nsh.c: Use the SD card interface, not SPI
  4059. to interface with SD cards (2013-03-05.
  4060. * arch/arm/src/lpc17xx/lpc17_sdcard.c and header files: Clone the STM32
  4061. SD card interface to the LPC1788. It appears to be the same IP.
  4062. (2013-03-05)
  4063. * libc/wqueue: Work queue logic moved from sched/ to libc/wqueue. It
  4064. is not really core OS functionality and this move helps prepare for
  4065. user-space work queues. (2013-03-05)
  4066. * libc/wqueue: Implemented user-space work queues. These will not
  4067. get tested until the next time I attempt a NuttX kernel build.
  4068. (2013-03-05).
  4069. * arch/arm: Correct some bad syscall dispatching logic. This change
  4070. cannot be fully tested until there is a fielded NuttX kernel build.
  4071. (2013-03-06).
  4072. * net/net_poll.c: Correct logic that checks if the socket is
  4073. disconnected when the poll is setup. That is bad logic: Listen
  4074. sockets, for example, are not connected. In that case, the purpose of
  4075. the poll is to wait for connection events. As a result of this,
  4076. poll/select would return immediately with POLLHUP with it was used to
  4077. detect connection events. This fix for now was to check instead if
  4078. the socket is closed (meaning that it was connected at one time but
  4079. was closed by the remote peer). That excludes the listen socket which
  4080. was never connected. This does introduce a new problem, however. If
  4081. the socket was not closed, but lost the connection through an abnormal
  4082. event, then poll/select will hang. That needs to be revisited.
  4083. (2013-03-07)
  4084. * fs/fs_select.c: Was not checking if the timeout parameter was NULL
  4085. but would, instead, setup a bogus timeout based on whatever it found at
  4086. address zero. Also, improved some of the memory allocation logic so
  4087. that it will not use so much memory. (2013-03-07)
  4088. * net/net_poll.c: Handle the missing case. Now tests for not connected
  4089. AND not listening. I think that now covers all of the cases including
  4090. the missing case noted above. (2013-03-07)
  4091. * mm/: Move all memory manager globals into a structure. A reference
  4092. to this structure is now passed internally between mm APIs. This
  4093. change will (eventually) support multiple heaps and heap allocators.
  4094. (2013-03-08).
  4095. * mm/ and include/nuttx/mm.h: Implement support for multiple heaps.
  4096. (2013-03-08).
  4097. * arch/*/src: xyz_addregion() needs to call kmm_addregion, not mm_addregion.
  4098. (2013-03-08).
  4099. * sched/kmm*.c: Move this garbage kmm*.c file to mm/. until I decide what
  4100. to do with them (which is probably to just delete them). (2013-03-08).
  4101. * mm/mm_test.c and Makefile.test: Deleted the memory test. This was
  4102. a good test and helped me a lot when I wrote the memory manager, but
  4103. now it is in the way and paralyzing other efforts. So the memory unit
  4104. test was deleted. (2013-03-08)
  4105. * sched/sched_free.c: Rename sched_free() to sched_ufree(); Add
  4106. sched_kfree() to handler deferred kernel heap allocations. (2013-03-10)
  4107. * arch/: User user-accessible heap to allocate all stacks. (2013-03-10)
  4108. * arch/arm/src/sam3u: The AT91SAM3U will now support a kernel heap if
  4109. so configured. (2013-03-10)
  4110. * configs/sam3u-ek/knsh: This configuration was converted to use the
  4111. kconfigs-frontends build tool. (2013-03-10)
  4112. * configs/*/include/user_map.h and include/nuttx/userspace.h: Remove
  4113. the very kludgy user_map.h file and replace it with a header that
  4114. is expected at the beginning of the user-space blob. (2013-03-10)
  4115. * configs/sam3u-ek/kernel/up_userspace.c: This is the header for
  4116. the SAM3U-EK's user space. (2013-03-10)
  4117. * sched/os_bringup.c: In the kernel build, os_bringup() now uses the
  4118. user-space header to automatically start the user-space work queue,
  4119. if so configured. (2013-03-10)
  4120. * arch/arm/src/lpc17xx/lpc17_mpuinit.c and lpc17_userpace.c: Add
  4121. support for the MPU and kernel build for the LPC17xx family.
  4122. (2013-03-11)
  4123. * configs/open1788/kernel and knsh: Add kernel build support and
  4124. a kernel NSH configuration for the WaveShare Open1788 board.
  4125. (2013-03-11)
  4126. * configs/sam3u_ek/kernel, knsh, and scripts: Move some files around
  4127. for better supportability. (2013-03-11)
  4128. * configs/open1788/kernel, knsh, and scripts: Add a kernel mode build
  4129. configuration for the WaveShare Open1788 board. (2013-03-11)
  4130. * arch/arm/src/armv7-m/up_mpu.c: Several fixes to MPU logic.
  4131. (2013-03-12).
  4132. * arch/arm, configs/sam3u-ek, configs/open1788: Fix memory map for
  4133. kernel mode build; Some regions were overlapping. (2013-03-13).
  4134. * arch/: Rename g_heapbase to g_idle_topstack. This is the same value
  4135. however: The top of the IDLE stack is the same as the base of the
  4136. heap in the flat build. But not in the kernel build: The base of
  4137. the heap is elsewhere so the naming was wrong. (2013-03-13).
  4138. * libc/stdlib/lib_itoa.c: Implementation of itoa() contributed by
  4139. Ryan Sundberg. (2013-03-14).
  4140. 6.27 2013-04-28 Gregory Nutt <gnutt@nuttx.org>
  4141. * arch/arm/src/armv7-m/up_mpu.c: Correct MPU sub-region settings for
  4142. unaligned regions (2013-03-15).
  4143. * arch/arm/src/armv6-m/up_svcall.c: Bring up to equivalent to the
  4144. ARMv7-M version (2013-03-15).
  4145. * configs/lm4f120-launchpad/tools: Add scripts and instructions to
  4146. simplify use of OpenOCD with ICDI (from JP Carballo, 2013-03-15).
  4147. * tools/mkconfig.c: Logic that attempts to suppress buffered I/O
  4148. within the kernel is wrong. sizeof(struct file_struct) must be
  4149. the same in both kernel- and user-spaces (2013-03-16).
  4150. * arch/arm/src/common/up_pthread_start.c, libc/pthread/pthread_startup.c,
  4151. and related files: Implement switch to user-space and user-space
  4152. pthread start-up function (2013-03-16).
  4153. * arch/arm/src/common/up_signal_handler.c, libc/pthread/pthread_startup.c,
  4154. and related files: Implement switch to user-space and user-space
  4155. pthread start-up function (2013-03-16).
  4156. * arch/arm/src/common/up_signal_handler.c, libc/signal/signal_handler.c,
  4157. arch/arm/src/armv[6|7]-m/up_svcall.c, arch/arm/include/armv[6|7]-m/svcall.h,
  4158. include/nuttx/userspace.h, and sched/sig_deliver.c: Implement switch
  4159. to user-space from kernel signal delivery trampoline before calling user-
  4160. space signal handler. Return from user-space signal handler using a
  4161. system call (2013-03-16).
  4162. * arch/arm/src/armv[6|7]-m/up_schedulesigaction.c: Need make sure we are
  4163. in kernel mode before switching to kernel-mode signal handler
  4164. trampoline (2013-03-16).
  4165. * arch/arm/include/armv[6|7]-m/irq.h, and arch/arm/src/armv[6|7]-m/up_svcall.c:
  4166. Add support for nested system calls. In the current design, this can
  4167. happen only under one condition: When the kernel system call logic calls
  4168. back into user space in order to allocate user space memory. So it is
  4169. expected that the maximum nesting level will be only 2 (2013-03-17).
  4170. * libc/stdio/lib_sccanf.c: Correct an error in sscanf. If %n occurs in
  4171. the format statement after the input data stream has been fully
  4172. parsed, the %n format specifier will not be handled. Reported by
  4173. Lorenz Meier (and also earlier by Kate) (2013-03-17).
  4174. * drivers/serial/serial.c: Support for O_NONBLOCK was not supported
  4175. in the "upper half" serial driver. This is normally not an issue
  4176. because UART TX is almost always available, but it does become an
  4177. if the UART uses hardware flow control or if the a "lower half" is
  4178. something like the USB CDC/ACM driver that may need to block for
  4179. significant amounts of time (2013-03-18).
  4180. * arch/arm/src/armv7-h/ram_vectors.h, up_ramvec_*.c, arch/arm/src/*/*_irq.c,
  4181. and Make.defs: Add support for modifiable interrupt vectors in RAM
  4182. (2013-03-18).
  4183. * arch/arm/src/armv7-m/up_exception.S, sam3u/sam3u_vectors.S, and
  4184. lpc17xx/lpc17_vectors.S: In exception handling with CONFIG_NUTTX_KERNEL,
  4185. need to explicity set and clear the privilege bit in the CONTROL
  4186. register on return. I assumed this would be handled automatically
  4187. by the EXC_RETURN. Silly me (2013-03-18).
  4188. * arch/arm/src/lpc17_adc.c: Add a work-around for an ADC errata. From
  4189. Chris Taglia (2013-3-19).
  4190. * arch/arm/src/armv7-m/up_hardfault.c: If the PRIMASK is used to disable
  4191. interrupts, then additional logic is required in the hard fault handler
  4192. (2013-3-19).
  4193. * libc/ and mm/: Directories where the same sources files are used to
  4194. build different objects in the first and second pass kernel builds need
  4195. to keep those objects in separate directories so that they are not
  4196. constantly rebuilt (2013-3-19).
  4197. * fs/fat: Create an error in FAT file creation. The FAT logic was
  4198. not making a distinction between directory non-existence and file
  4199. non-existence so when it you try to create a file in a non-existent
  4200. directory, it would create a file with the name of the missing
  4201. directory. Reported by Andrew Tridgell (2013-03-30).
  4202. * Numerous files: Changed the protoypes of up_create_stack() and
  4203. up_release_stack() so that is includes a task type. Normally you
  4204. can get this type from the TCB parameter, but there are certain
  4205. conditions when the task type is not valid in the TCB when these
  4206. functions are called. Only the prototypes were changed on this
  4207. big, initial checkin. The next step will be to add logic to
  4208. allocate stacks for kernel threads from protected kernel memory
  4209. and all other task types from unprotected user memory (2013-03-20).
  4210. * arch/*/src/common/up_createstack.c, up_use_stack.c, and
  4211. up_release_stack.c: If creating or releasing the stack for a kernel
  4212. thread, use the kernel allocator so that the kernel thread stacks
  4213. are protected from user application meddling (2013-03-20).
  4214. * arch/arm/src/armv[6|7]-m/up_scall.c: Fix parameter passing for
  4215. all system call inline functions with > 3 parameters (2013-03-20)
  4216. * arch/*/src/common/up_stackframe.c and include/nuttx/arch.h: Add
  4217. and new interface to set aside memory on the stack. This will be
  4218. used at least in the kernel build to hold task arguments (2013-03-21).
  4219. * sched/sig_deliver.c: When dispatching signals to user threads,
  4220. copy the siginfo_t from the sigq to the stack. The signal queue
  4221. is allocated from kernel memory; however, the current stack is
  4222. the user's stack and the user code will be able to access the
  4223. signinfo_t data from the stack copy (2013-03-21).
  4224. * arch/arm/src/stm32: Added support for the kernel mode build
  4225. (cloned from the lpc17xx). (2013-03-21).
  4226. * configs/stme32f4discovery/kernel and scripts: Add support for
  4227. the kernel mode build on the STM32F4Discovery (2013-03-21).
  4228. * drivers/st7567.c/h and include/nuttx/lcd/st7567.h: Driver for
  4229. the ST7567 LCD Display Module from Univision Technology Inc.
  4230. contributed by Manikandan.S (2013-03-22).
  4231. * configs/zkit-arm-1769: Now supports the ST7567 LCD display
  4232. module. Added an nxhello configuration for testing (Manikandan.S,
  4233. 2013-03-22).
  4234. * configs/stm32f4discovery/kostest: Add a kernel mode version
  4235. of the OS test for the STM32F4Discovery board (2013-03-22).
  4236. * nuttx/include/nuttx, nuttx/configs/sam3u-ek, nuttx/configs/open1788,
  4237. nuttx/configs/stm32f4discovery, and nuttx/arch/arm: Complete
  4238. re-archtecting of how signals are dispatched to user-space code
  4239. in the kernel build. The original implementation was C-based
  4240. and simpler. However, the C code intermixed with SVC calls was
  4241. not properly preserving registers. The more complex, assembly
  4242. language version does not suffer from these issues. I believe
  4243. the kernel build can now be called "feature complete"
  4244. (2013-03-23).
  4245. * binfmt/binfmt_execmodule.c: Here is a place where I forget
  4246. to update the call to sched_releasetcb() to pass the thread
  4247. type as the second parameter (2013-03-23).
  4248. * arch/arm/src/lm, kinetis, lpc43, and nuc1xx: Add kernel build
  4249. support to all ARMv7-M and ARMv6-M chips. There are no
  4250. configurations in place to to verify these additions!
  4251. (2013-03-24).
  4252. * arch/arm/src/lm/lm_gpio.h: Correct typos in alternate function
  4253. definitions (2013-03-24).
  4254. * arch/arm/src/lm/lm_lowputc.c and lm_serial.c: Add support for
  4255. the 7 UARTs on the LM4F120 (2013-03-24).
  4256. * configs/lm4f120-launchpad/ostest/defconfig: Fix the configured
  4257. RAM size. This appears to be the last show-stopper bug: The
  4258. LaunchPad now runs NuttX! (2013-03-24).
  4259. * configs/lm4f120-launchpad/nsh: Add an NSH configuration for the
  4260. LaunchPad (2013-03-24).
  4261. * configs/kwikstik-k40: Converted configurations to use the
  4262. konfig-frontends tool (2013-03-25).
  4263. * configs/twr-k60n512: Converted configurations to use the
  4264. konfig-frontends tool (2013-03-25).
  4265. * arch/arm/src/lpc17xx/lpc17_lcd.c: Add an LCD framebuffer driver
  4266. for the LPC177x/8x family (2013-3-26).
  4267. * arch/arm/src/lpc17xx/lpc17_emc.c and
  4268. configs/open1788/src/lpc17_sdraminitialize.c: Began testing the
  4269. Open1788 SDRAM. The SDRAM is basically functional, but there are
  4270. failures with the SDRAM is stressed by the memory test at
  4271. apps/example/ramtest (SDRAM support and the RAM test can be configured
  4272. into the base configs/open1788/nsh configuration as described in
  4273. configs/open1788/READMT.txt (2013-3-27).
  4274. * configs/open1788/nxlines: Add a configuration to test both the
  4275. Open1788 LCD and SDRAM which is used as a framebuffer (2013-3-27).
  4276. * arch/arm/src/lpc17xx/lpc17_gdma.c and lpc17_sdcard.c: Began
  4277. implementation of the LPC17 DMA and integration into the SDCARD
  4278. driver (2013-3-29).
  4279. * arch/arm/src/lpc17xx/lpc17_gdma.c: LPC17 DMA is code complete and
  4280. under test. Does not yet work (2013-3-30).
  4281. * fs/fat/fs_fat32dirent.c and fs_fat32util.c: Several fixes to the
  4282. FAT file system from Ronen Vainish. These fixes mostly involve the
  4283. logic to extend directory clusters for the case of long file names
  4284. but also include a few important general fixes (such as for storing
  4285. 32 bit FAT values) (2013-03-31).
  4286. * arch/arm/src/lpc17xx/lpc17_gdma.c and lpc17_sdcard.c: SD card DMA
  4287. is now functional. Thre may be some issues with DMA from CPU SRAM
  4288. which is apparently disabled in sleep mode; up_idle() always enters
  4289. sleep mode (2013-03-31).
  4290. * arch/arm/src/stm32: Add architecure support for the STM32 F427/F437
  4291. chips. Contributed by Mike Smith (2013-4-01).
  4292. * configs/zkit-arm-1769/src/up_can.c: Add support for both CAN1
  4293. and CAN2. Contributed by M.Kannan (2013-4-01).
  4294. * arch/arm/src/lpc17xx/lpc17_spi.c and lpc17_ssp.c and
  4295. configs/olimex-lpc1766stk, nucleus2g, zkit-arm-1769, and
  4296. lpcxpresso-lpc1768: The initialization function for both the LPC17xx
  4297. SPI and SSP blocks was called up_spinitialize() which is the common API
  4298. definition of include/nuttx/spi.h. But this raises a problem when the
  4299. MCU has multiple blocks for differ SPI implementations as does the
  4300. LPC17xx (and also as does other architectures like STM32 that have
  4301. USARTs that can serve as SPI interfaces as well). These were renamed
  4302. to lpc17_spiinitialize() and lpc17_sspinitialize() in this case.
  4303. Problem reported by M. Kannan (2013-4-01).
  4304. * arch/arm/src/lpc17xx/lpc17_gpdma.c and lpc17_idle.c: In sleep mode,
  4305. DMA can only be performed from peripheral SRAM. CPU SRAM is shutdown
  4306. in sleep mode. In order to simplify DMA memory allocation, the LPC17xx
  4307. IDLE will now hold off going to sleep mode if there is a DMA in progress
  4308. (2013-4-01).
  4309. * configs/open1788/src/lpc17_autoleds.c: Reversed sense of the IDLE LCD.
  4310. It is now off when the LPC17 is sleeping and on when awake. That is
  4311. much more useful because it provides a good visual indication of the
  4312. dynamic CPU load (2013-4-01).
  4313. * configs/open1788/src/lpc17_touchscreen.c and lpc17_ssp.c: Add
  4314. support for the touschscreen on the WaveShare LCD (2013-4-01).
  4315. * configs/several: There were already some functions called
  4316. lpc17_sspinitialize(). So they had to be renamed (2013-4-01).
  4317. * arch/arm/src/lpc17xx/lpc17_ssp.c: Adapted to work with the LPC178x
  4318. family (2013-4-01).
  4319. * arch/arm/src/lpc17xx/lpc17_gpio.c/.h: Separate LPC176x and LPC178x
  4320. logic into separate files. The logic is diverging to much to
  4321. try to retain common code (2013-4-03).
  4322. * net/net_clone.c: Fix compilation error when socket options are
  4323. are disabled. Reported by Daniel O'Connor (2013-4-05).
  4324. * configs/zkit-arm-1769/src/up_leds.c: Fix a typo introduced into
  4325. the button interrupt logic (2013-4-05).
  4326. * arch/arm/src/lpc17xx/lpc178x_gpio.c: Re-design of the GPIO
  4327. logic for the LPC178x family by Rommel Marcelo (2013-4-05).
  4328. * arch/arm/src/lpc17_gpiodbg.c: Updated so that it correctly
  4329. reports LPC177x/8x GPIO registers when GPIO debug is enabled
  4330. (2013-4-05).
  4331. * arch/arm/src/Makefile: The variable NUTTX already includes
  4332. the extension $(EXEEXT). So remove the second extension
  4333. $(NUTTX)$(EXEEXT) in two places (2013-4-7).
  4334. * arch/arm/src/lpc17xx/lpc17_gpioint.c: Disable interrupts in
  4335. lpc17_setintedge(). This logic must be atomic because it can be
  4336. re-entered before it completes enabled interrupts, sometimes
  4337. leaving the interrupts in a strange state (2013-4-7).
  4338. * arch/arm/src/lpc17_lcd.c: Rommel Marcelo got the LPC1788
  4339. framebuffer-based LCD working. Very nice! (2013-4-08).
  4340. * arch/arm/src/lm/lm_clockconfig.c and configs/lm4f120-launchpad:
  4341. Fix handling of the RCC SYSDIV2 field when the PLL output is
  4342. 400MHz. Don't forget to set the USERCC2 bit in the register or
  4343. all is for naught (2013-4-09).
  4344. * configs/zkit-arm-1769/src/up_lcd.c, up_ssp.c, and up_spi.c:
  4345. Use SSP0 to LCD and SPI to SD-Card on the Zkit-arm-1769 board.
  4346. From Manikandan. S (2013-4-10)
  4347. * configs/olimex-lpc1766stk/usbserial: Converted to use the
  4348. kconfig-config frontends tools (2013-4-12).
  4349. * drivers/usbdev/pl2303.c: Fix some compilation errors that
  4350. crept in when fixes to the CDC/ACM driver where blindly
  4351. incorporated in the PL2303 driver (2013-4-12).
  4352. * configs/stm3210e-eval/usbserial: Converted to use the
  4353. kconfig-config frontends tools (2013-4-12).
  4354. * configs/nucleus2g/usbserial: Converted to use the
  4355. kconfig-config frontends tools (2013-4-12).
  4356. * arch/arm/src/kl and arch/arm/include/kl: Add support for the
  4357. Kinetis L family of Cortex-M0+ MCUs. Contributed by Alan
  4358. Carvalho de Assis. NOTE: This is still very much a work in
  4359. progress as of this initial commit (2013-04-16).
  4360. * configs/freedom-kl25z: Support for the Freedom KL25Z board
  4361. contributed by Alan Carvalho de Assis. NOTE: This is still
  4362. very much a work inprogress as of this initial commit
  4363. (2013-04-16).
  4364. * arm/arm/src/armv6-m and arch/arm/include/armv6-m: Ooops. Fix
  4365. a major screw-up: The Cortex-M0 has no BASEPRI register but
  4366. the current logic was using it to manage interrupts. Switch
  4367. to using the PRIMASK. This means that hardfaults will (again)
  4368. occur when SVC instructions are executed (2013-4-16).
  4369. * configs/stm3240g-eval/ostest: Converted to use the kconfig-frontends
  4370. tools (2013-4-17).
  4371. * sched/task_exithook.c: Don't flush the streams until the
  4372. final thread of the group exits. Flushing may cause the
  4373. thread to get suspended at a bad time and other threads in the
  4374. group may run while the exiting thread is in an unhealthy state.
  4375. This can cause crashes under certain circumstance. This is a
  4376. critical bugfix (2013-4-18).
  4377. * drivers/mtd/ramtron.c: Extended to support the FM25V01 device.
  4378. Contributed by Lorenz Meier (2013-4-18).
  4379. * sched/task_deletecurrent.c and task_exit.c, arch/*/up_exit.c:
  4380. Renamed task_deletecurrent() and task_exit() since it really
  4381. handles the architecture independent part of _exit(). _exit()
  4382. is used internally, but if it is called from the user, it should
  4383. unregister any atexit() or on_exit() functions (2013-4-18).
  4384. * tools/kconfig2html.c: This is the beginning of a tool to
  4385. replace the hand-generated documentation of the NuttX configuration
  4386. variables with auto-generated documentation. The initial checkin
  4387. is an incomplete, poorly structured prototype that I hope to
  4388. evolve into a useful tool (2014-4-20).
  4389. * libc/string/lib_strchr.c: strchr(str, '\0') should return a
  4390. pointer to the end of the string, not NULL. From Petteri
  4391. Aimonen (2014-4-22).
  4392. * fs/fat/fs_writefat.c: mkfatfs was writing the boot code to the
  4393. wrong location. From Petteri Aimonen (2014-4-22).
  4394. * Documentation: The NuttX documentation now expects to find an
  4395. auto-generated version of the configuration variable documentation
  4396. at Documentation/NuttXConfigVariables.html (2014-4-22).
  4397. * arch/arm/src/lpc17xx/lpc17_adc.c: Only one ADC pin was configured.
  4398. Need to configure all that are in the ADC0 set. From MKannan
  4399. (2014-4-23).
  4400. * configs/zkit-arm-1769/src: ADC and SPI/USB MSC updates from
  4401. MKannan (2014-4-23).
  4402. * arm/src/armv7-m/ram_vectors.h and arm/src/armv7-m/up_ramvec_initialize.c:
  4403. Fixes to RAM vector logic from Paul Y. Zhang (2014-4-23)
  4404. * tools/kconfig2html.c: Improve behavior of Expand/Collapse
  4405. Table of Contents; Handle errors in parsing of strings and in
  4406. some uninitialized variables. Add an option to use jQuery.
  4407. * tools/mkconfigvar.sh: Fix make target (2014-4-23).
  4408. * sched/exit.c, pthread_exit.c, task_exit.c, task_delete,c and
  4409. task_exithook.c: For pthread_exit(), move some logic to an early
  4410. point in the exit sequence where the task may need to block. Add
  4411. conditional logic in the lower end of the eixt logic kicked off by
  4412. _exit() to prohibit blocking after the task has been torn down and is
  4413. no longer cabable of blocking (2014-4-23).
  4414. * arch/arm/src/common/up_initialize.c: Add missing registration
  4415. of /dev/zero. Registration of /dev/null should depend upon
  4416. conditional compilation. From Ken Pettit (2014-4-24).
  4417. * arch/*/src/common/up_initialize.c: Same change required to other
  4418. architectures (2014-4-24).
  4419. * arch/arm/src/kl/kl_clockconfig.c and configs/freedom-kl25z/include/board.h:
  4420. Modify out PLL configuration so that it uses the values in
  4421. board.h; Fix PLL settings in board.h so that the correct core
  4422. and bus clock frequencies are generated. (2014-4-24).
  4423. * arm/src/kl/chip/kl_memorymap.h, kl_sim.h, andkl_uart.h: Correct some
  4424. register definitions (2014-4-25).
  4425. * arch/arm/src/kl/Kconfig, kl_lowputc.c, kl_serial.c, and kl_config.h:
  4426. No UART3-5 (2014-4-25).
  4427. * arch/arm/src/kl/kl_serial.c: Various fixes to various files in the
  4428. KL architecture directory as need to get the interrupt-driven
  4429. serial driver to work. The Freedom KL25Z NSH configuration now
  4430. works (2014-4-25).
  4431. * include/nuttx/assert.h, arch/*/src/*/up_assert.c, and other file:
  4432. Remove up_assert_code(). While asserting with an encoded value
  4433. could be a good feature, the codes have not be well utilized nor
  4434. documented. Give that situation it is better to remove the API
  4435. and reduce the footprint a little (2014-4-25).
  4436. * drivers/serial/Kconfig and arch/*/src/*/*_serial.c: Add
  4437. compilation so that the useless TIOCSERGSTRUCT ioctl logic
  4438. is not build unless CONFIG_DEBUG and CONFIG_SERIAL_TIOCSERGSTRUCT
  4439. are defined.
  4440. * sched/task_delete.c and task_terminate.c: Most task_terminate()
  4441. out of task_delete.c into its own C file. This should prevent
  4442. dragging task_delete() into the link when it is never called.
  4443. 6.28 2013-06-14 Gregory Nutt <gnutt@nuttx.org>
  4444. * arch/arm/src/lpc17xx/lpc17_i2c.c: Interrupts were not being
  4445. re-enabled in the I2C initializeation function (2013-4-30).
  4446. * net/sendto.c: Added skeleton of implementation of send timeouts
  4447. for UDP. However, this functionality really does not make
  4448. sense, so it is disabled in the code (2013-4-30).
  4449. * drivers/mtd/mtd_partition.c: Support capability to clone one
  4450. MTD driver into several, MTD partition drivers, each of which
  4451. can manage a sub-region of the FLASH (2013-4-30).
  4452. * configs/sim/nxffs: Converted to use the kconfig-frontends
  4453. tools (20130-4-30).
  4454. * configs/sim/mtdpart: A new configuration to test MTD
  4455. partitions (2013-4-30).
  4456. * configs/sim/mkroe-stm32f4: Support for the MikroElektronika
  4457. Mikromedia for STM32F4 development board (from Ken Pettit, 2013-4-30).
  4458. * fs/smartfs: Add Ken Pettit SMART FS (2013-4-30).
  4459. * include/nuttx/mtd.h and most MTD drivers: Add support for
  4460. (optional) method to perform byte oriented writes if so configured
  4461. (2013-5-1).
  4462. * arch/arm/src/kl/chip/kl25z128_pinmux.h: Corrections fo the
  4463. pin multiplexing definitions from Alan Carvalho de Assis
  4464. (2013-5-2).
  4465. * drivers/mtd/mtd_partition.c: Fix a few bugs and add support for the
  4466. (option) byte write method (2013-5-3).
  4467. * arch/arm/src/kl: Repartitioning of definitions in header files
  4468. from Alan Carvalho de Assis (2013-5-3).
  4469. * drivers/mtd/smart.c, fs/smart, and other files: SMART file system
  4470. now makes use of the MTD byte write capabilities when present (from
  4471. Ken Pettit, 2013-5-3).
  4472. * drivers/mtd/m25px.c: Some rearchitecting to use the byte write
  4473. capability (when possible) and to use 4KB sectors for the erase block
  4474. size when the part supports it (Ken Pettit, 2013-5-3).
  4475. * configs/pirelli_dpl10: Adds a configuration for the pirelli phone
  4476. (from Craig Comstock via Alan Alan Carvalho de Assis, 2013-5-3).
  4477. * arch/arm/src/calypso: Fix some compilation warnings (2013-5-5).
  4478. * configs/pirelli_dpl10/nsh_highram: Converted to use the
  4479. kconfig-frontends tools (2013-5-5).
  4480. * drivers/lcd/mio283qt2.c: LCD was not being selected in setpower
  4481. method (also not being deselected in hwinitialize function)
  4482. (2013-5-6).
  4483. * arch/arm/src/kl/kl_gpio.c and .h, configs/freedom-kl25z/src/freedom-kl25z.h,
  4484. and configs/freedom-kl25z/src/kl_led.c: Fixes LEDs on the Freedom KL25Z
  4485. board (2013-5-6).
  4486. * arch/arm/src/kinetis/kinetis_pin.c and arch/arm/src/kinetis/kinetis.h:
  4487. The Kinetis GPIO logic had some of the same issues as did the
  4488. Kinetis L (2013-5-6).
  4489. * arch/arm/src/stm32/stm32_idle.c: Add an option to conditionally disable
  4490. the "wfi" sleep mode. This is needed with certain JTAG debuggers to
  4491. to prevent the debug session from begin disconnected. From Ken Pettit
  4492. (2013-5-7).
  4493. * configs/mikroe-stm32f4/fulldemo/, nx/, nxlines/, nxtext/: Add more
  4494. configurations for the Mikroelektronika Multimedia STM32-M4 board.
  4495. From Ken Pettit (2013-5-7).
  4496. * configs/mikroe-stm32f4/src/up_mio283qt2.c and other files: Integrate the
  4497. MIO283QT2 display on the Mikroelektronika Multimedia STM32-M4 board.
  4498. From Ken Pettit (2013-5-7).
  4499. * arch/arm/src/lpc17xx/lpc17_i2c.c: Fix for lpc17xx i2c single byte read
  4500. timeout error problem from M.Kannan (2013-5-8).
  4501. * arch/arm/src/stm32/stm32_adc.c: Typo in F2/F4 specific logic: ACD_
  4502. instead of ADC_. From Ken Pettit (2014-5-8).
  4503. * configs/olimex-lpc1766stk/tools: Tweaks to support OpenOCD-0.70
  4504. (2013-5-10).
  4505. * configs/mikroe-stm32f4: Changes to get the Mikroelektronika MultiMedia
  4506. STM32 F4 touchsceen working. From Ken Pettit (2013-5-11).
  4507. * configs/*/nxwm: Default priorities for NxWidget and NxWM threads
  4508. should be 100, not 50, to be consistent with other default priorities.
  4509. * configs/hymini-stm32v/buttons, nsh, and nsh2: Configurations converted
  4510. to use the kconfig-frontends tools (Laurent Latil, 2013-5-14)
  4511. * configs/hymini-stm32v/src: Converted to use the common SSD1289 driver
  4512. (Laurent Latil, 2013-5-14)
  4513. * configs/hymini-stm32v/ostest and usbnsh: Add OS test and USB/NSH
  4514. configurations (Laurent Latil, 2013-5-14).
  4515. * configs/hymini-stm32v/src/up_nsh.c: Add support for the card detect
  4516. (CD) interrupt (Laurent Latil, 2013-5-14).
  4517. * configs/hymini-stm32v/src/nx and nxlines: Removed these configurations
  4518. (Laurent Latil, 2013-5-14).
  4519. * arch/arm/src/stm32/chip/stm32f10xx_dma.h: Fix some bad DMA register
  4520. definitions. From Laurent Latil (2013-5-15).
  4521. * configs/hymini-stm32v: Enable SDIO in nsh2 configuration; remove
  4522. warning from src/up_ssd1289.c. From Laurent Latil (2013-5-15).
  4523. * configs/hymini-stm32v/src/up_r61505u.c: Support for the R65105-
  4524. based LCD that comes with some HY-Mini STM32v board. From Christian
  4525. Faure (2013-5-16).
  4526. * syscall/syscall_lookup.h: Missing underscore character in SYS_onexit.
  4527. Reported by Ken Pettit (2013-5-17).
  4528. * nuttx/syscall/syscall.csv: Type of first parameter of on_exit() is
  4529. wrong. Reported by Ken Pettit (2013-5-17).
  4530. * configs/mikroe-stm32f4/kernel/, kostest/ and scripts/: Add kernel build
  4531. support and kernel mode OS test example for the MikroElektronkia
  4532. MultiMedia STM32 M4 board. From Ken Pettit (2013-5-17).
  4533. * arch/arm/include/stm32/chip.h and arch/arm/src/stme32/chip/stm32l15xxx_pinmap.h:
  4534. Beginning of support for the STM32L15X family (2013-5-18).
  4535. * arch/arm/include/stm32/stm32l15xxx_irq.h and arch/arm/src/stm32/chip/stm32l15xxx_vectors.h:
  4536. Support for STM32L15X interrupt vectors (2013-5-18).
  4537. * arch/arm/src/stm32/chip/stm32l15xxx_gpio.h and related STM32 GPIO files:
  4538. Add GPIO support for the STM32L215X (2013-5-18).
  4539. * arch/arm/src/stm32/chip/stm32l15xxx_memorymap.h: STM32L215X memory map
  4540. (2013-5-18).
  4541. * arch/arm/src/stm32/chip/stm32_pwr.h, stm32fl15xxx_rcc.h, and stm32l15xxx_syscfg.h:
  4542. More updates for the STM32L152 (2013-5-19).
  4543. * configs/stm32ldiscovey: Configuration for the STM32L-Discovery board.
  4544. Still does not build on initial check-in (2013-5-19)
  4545. * STM32L15X: Add DMA and UART start. Correctly initialize the heap
  4546. (2013-5-19).
  4547. * arch/arm/src/stm32/stm32l15xxx_rcc.c chip/stm32_flash.h: Add RCC PLL
  4548. and FLASH configuration logic for the STM32L152X (2013-5-19).
  4549. * include/nuttx/usb/audio.h: Typo- and bug-fixes from Ken Pettit
  4550. (2013-5-19)
  4551. * audio/, drivers/audio, include/nuttx/audio.h: Add a new audio subsystem
  4552. and VS1053 driver to NuttX. Contributed by Ken Pettit (2013-5-19).
  4553. * configs/miroe-stm32f4/: Add audio logic to NSH configuration. From Ken
  4554. Petty (2013-5-19).
  4555. * nuttx/arch/arm/src/lm/chip/lm_flash.h and nuttx/arch/arm/src/lm/lm_flash.c:
  4556. Add support for TI/Stellaris internal FLASH MTD driver. From Max
  4557. Holtzberg (2013-5-20).
  4558. * arm/src/stm32/chip/stm32l15xxx_vectors.h: After correcting errors in the
  4559. vector definition file, the STM32L-Discovery NSH port now seems to be
  4560. fully functional. Also fixed an error that was causing the LEDs to be
  4561. controlled incorrectly (2013-5-21).
  4562. * arch/arm/src/stm32/chip/stm32_lcd.h: Add definitions for STM32L15X
  4563. segment LCD (2013-5-21).
  4564. * configs/lm3s6965-ek/discover: Add an example configuration for UDP
  4565. discovery tool on the lm3s6965-ek board. From Max Holtzberg
  4566. (2013-5-21).
  4567. * audio/, drivers/audio, include/nuttx/audio: Added a callback interface
  4568. to the Audio upperhalf driver for dequeueing, reporting async events,
  4569. etc. Also included is some initial work for the VS1053 driver. From
  4570. Ken Pettit (2013-5-21).
  4571. * include/nuttx/audio/audio.h: Moved from include/nuttx/ to include/nuttx/audio.
  4572. (2013-5-21).
  4573. * configs/lm3s6965-ek/tcpecho: This configuration builds the simple TCP
  4574. echo example based on W.Richard Steven UNIX Programming book to ensure
  4575. correct usage of the socket API. Contributed by Max Holtzberg (2013-5-22).
  4576. * configs/stm32ldiscovery/src/stm32_lcd.c: Framework for support of the
  4577. STM32L-Discovery's segment LCD (2013-5-22).
  4578. * fs/fs_poll.c: Poll setup/teardown logic should ignore invalid (i.e.,
  4579. negative) file descriptors. Max Holtzberg (2013-5-23).
  4580. * net/net_poll.c: When readahead data is available, the network poll
  4581. logic should set POLLIN (or POLLRDNORM), not POLLOUT. Max Holtzberg
  4582. (2013-5-23)
  4583. * fs/fs_poll.c: Actually, it should also set revents == 0. (2013-5-23).
  4584. * libc/misc/lib_slcdencode.c and lib_slcddecode.c: Add logic to marshal
  4585. and serialize special SLCD intermixed with normal ASCII data (2013-5-23)
  4586. * configs/stm32ldiscovery/src/stm32_lcd.c: STM32L-Discovery's segment LCD
  4587. is code complete but completely untested (2013-5-23).
  4588. * include/nuttx/fs/ioctl.h, include/nuttx/lcd/slcd_codec.h, and
  4589. configs/stm32ldiscovery/src/stm32_lcd.c: Add SLCD ioctl commands to get
  4590. SLCD geometry, set bars, and manage contrast (2013-5-23).
  4591. * configs/stm32ldiscovery/src/stm32_usb.c: This file and all references
  4592. to USB removed for the STM32L-Discovery. While the chip supports a
  4593. USB device, the board does not (2013-5-24).
  4594. * arch/arm/src/stm32/stm32_lse.c: Add support for the STM32L CSR register
  4595. and for the LSE LCD clock source (2013-5-24).
  4596. * The STM32L-Discovery segment LCD is now functional and the README file
  4597. includes instructions for adding the apps/examples/slcd segment LCD
  4598. test as an NSH "built-in" command (2013-5-24).
  4599. * configs/pcblogic-pic32mx: Converted all configurations to use the
  4600. kconfig-frontends tool (2013-5-25).
  4601. * configs/pcblogic-pic32mx/src: Renamed files using pic32mx_ vs up_
  4602. prefix. Enable building of LCD1602 LCD (2013-5-25).
  4603. * configs/pcblogic-pic32mx/src/pic32mx_lcd1602.c: Now uses SLCD CODEC
  4604. (2013-5-25)
  4605. * configs/stm32ldiscovery/src/stm32_lcd.c: Now supports ioctl to get
  4606. cursor position (2013-5-25).
  4607. * include/nuttx/lcd/slcd_ioctl.h: Moved ioctls commands and structures
  4608. from slcd_codec.h (2013-5-25)
  4609. * libc/misc/lib_slcdencode.c and lib_slcddecode.c: Several encoding
  4610. and decoding bug fixes (2013-5-26)
  4611. * configs/sure-pic32mx: Converted all configurations to use the
  4612. kconfig-frontends tools, cleaned up the directory structure and
  4613. naming to match some of the more recent configurations, and added
  4614. a segment LCD driver for the board. The initial checkin of the
  4615. LCD driver is just a clone of configs/pcblogic-pic32mx/src/pic32mx_lcd1602
  4616. and it not yet expected to be functional (2013-5-26).
  4617. * include/nuttx/lcd/slcd_ioctl.h and all SLCD drivers: Rename geometry
  4618. structure to attributes; Move MAX contrast to attributes. Add
  4619. attribute and ioctl commands to get and set LCD brightness (2013-5-27).
  4620. * configs/sure-pic32mx/pic32mx_lcd1602.c: This driver appears to
  4621. fully functional (at least to the extent that it has been tested)
  4622. (2013-5-27).
  4623. * arch/mips/src/pic32mx/pic32mx-usbdev.c: Fix NULL packet handling in
  4624. the PIC32 USB device driver. Without this fix the CDC/ACM driver
  4625. cannot be used reliably with the PIC32 USB. With this change the
  4626. configs/sure-pic32mx/usbnsh configuration works great (2013-5-28).
  4627. * configs/sure-pic32mx/src/pic32mx_nsh.c: The NSH configurations will
  4628. support the USB monitor applications (2013-5-28).
  4629. nuttx/arch/arm/include/stm32/chip.h, src/stm32/Kconfig, src/stm32/chip.h,
  4630. and src/stm32/chip/stm32f103c_pinmap.h: STM32F103C4 and F103C8 chip
  4631. support from Laurent Latil (2013-5-28)
  4632. * configs/stm32_tiny: Add support for the STM32 Tiny development board
  4633. based on the STM32 F103C8T6 MCU (2013-5-28).
  4634. * arch/arm/src/stm32/stm32_usbdev.c: Fix an error in NULL packet
  4635. handling: If the NULL-packet needed flag ever gets set, then
  4636. it is not cleared and inifinite NULL packets result. This only
  4637. effects the CDC/ACM class and was the cause of the failure of
  4638. configs/stm32f3discovery/usbnsh configuration which works great
  4639. after this change (2013-5-29).
  4640. * drivers/usbdev/cdcacm.c and pl2303.c and include/nuttx/usb/cdcacm.h:
  4641. Change the default IN request buffer size from 64 to 96. This will
  4642. avoid requests of exactly MAXPACKET size and, hence, avoid so many
  4643. NULL packets. Also, fix the OUT request buffers size to exactly
  4644. the max packet size. It cannot be any other size (2013-5-29).
  4645. * .gitignore: Clean-up of most all .gitignore files: Make scope of
  4646. ignore to be only the current directory; Ignore .dSYM files in
  4647. directories where .exe's may be build. Also, in Makefiles,
  4648. clean .dSYM files in directories where .exe may be built (2013-5-30).
  4649. * drivers/wireless/nrf24101.c/.h and include/nuttx/wireless/nrf24101.h:
  4650. Add new driver for the wireless nRF24L01+ transceiver. From Laurent
  4651. Latil (2013-6-1).
  4652. * drivers/wireless/cc1101: Move files in the cc1101 up one directory.
  4653. From Laurent Latil (2013-6-1).
  4654. * configs/stm32_tiny: Fix nRF24L01+ driver integration for the STM32
  4655. Tiny. From Laurent Latil (2013-6-01).
  4656. * configs/sam3u-ek: All remaining configurations changed to use
  4657. the kconfig-frontends tools (2013-6-2).
  4658. * arch/arm/src/sam3u/chip: All SAM3U register definition files moved
  4659. to this subdirectory. Naming of registers changed from SAM3U_ to
  4660. just SAM_. This is in preparation for a SAM4L port (2013-6-2).
  4661. * arch/arm/src/sam3u: Renamed files to sam_* vs. sam3u_*.
  4662. Eliminated sam3u_internal.h; instead uses individual header
  4663. files for each SAM interface block (2013-6-2).
  4664. * arch/arm/src/stm32/stm32f20xxx_rcc.c and stm32f40xxx_rcc.c, and
  4665. configs/mikroe-stm32f4/src/up_clockconfig.c. Correct some bad
  4666. conditional compilation (CONFIG_ missing from setting name). This
  4667. affects some STM32 FLASH pre-fetch settings. From Lorenz Meier
  4668. (2013-6-2).
  4669. * arch/arm/include/sam34 and arch/arm/src/sam34: The old sam3u/
  4670. directories were renamed sam34/ to make room in the namespace for
  4671. the SAM4L (2013-6-2).
  4672. * libc/stdio/lib_dprintd.c and lib_vdprintf.c: Add dprintf() and
  4673. vdprintf() (the latter from Andrew Tridgell, 2013-6-2).
  4674. * sched/sem_holder.c: Modify assertion that is reported to cause
  4675. false alarm assertions (2013-6-2).
  4676. * arch/arm/include/sam34/sam4l_irq.h and
  4677. arch/arm/src/sam34/chip/sam4l_memorymap.h: Add interrupt and memory
  4678. map definitions for the AT91SAM4L (2013-6-3).
  4679. * arch/arm/src/sam34/chip/sam4l_vectors.h and arm/src/sam34/sam_vectors.S:
  4680. Add interrupt vector support for the SAM4L family (2013-6-3).
  4681. * arch/include/sam34/chip.h: Add chip definitions for the SAM4L
  4682. family (2013-6-3).
  4683. * configs/sam4l-xplained: A partial configuration that will (eventually)
  4684. support the SAM4L Xplained Pro developement board (2013-6-3).
  4685. * arch/arm/src/sam34/chip/sam4l_pinmap.h: Initial cut as SAM4L
  4686. pin mapping (2013-6-3).
  4687. * arch/arm/src/stm32/stm32*_dma.*: Add a new interface function,
  4688. stm32_dmacapable() that can be used to determine if DMA is
  4689. possible from the specified memory address. From Petteri Aimonen
  4690. (2013-6-4).
  4691. * arch/arm/src/stm32/stm32_spi.c: If CONFIG_STM32_DMACAPABLE is
  4692. defined, use stm32_dmacapable() to determine if it is possible
  4693. to perform DMA from the specified address. This change is
  4694. important for the STM32 F4 which may have SPI data buffers
  4695. allocated on the stack in CCM memory which cannot support the
  4696. DMA. From Petteri Aimonen (2013-6-4).
  4697. * nuttx/arch/arm/src/sam34/sam4l_gpio.h: Created GPIO driver
  4698. header file for the SAM4L. Also renamed the SAM3U header
  4699. file to sam3u_gpio.h (2013-6-4).
  4700. * nuttx/arch/arm/src/sam34/sam4l_gpio.c: Created GPIO driver for
  4701. the SAM4L (2013-6-4).
  4702. * nuttx/configs/sam4l-xplained/src/sam_userleds.c: Added.
  4703. (2013-6-4).
  4704. * configs/sam4l-xplained/src/sam_userleds.c: Add application
  4705. LED interfaces (2013-6-5).
  4706. * arch/arm/src/sam34/sam4l_gpio.c and arch/arm/src/sam34/chip/sam4l_gpio.h:
  4707. Fix GPIO port address; fix compilation errors (2013-6-5).
  4708. * arch/arm/src/sam34/chip/sam4l_flashcalw.h: Add header file
  4709. for SAM4L FLASH and PICOCACHE definitions (2013-6-5).
  4710. * arch/arm/src/sam34/chip/sam4l_pm.h: Add header file for SAM4L
  4711. Power Management. Leveraged from AVR32 (2013-6-5).
  4712. * arch/arm/src/sam34/sarm4l_clockconfig.c: SAM4L clock configuration
  4713. logic (leveraged from AVR32).
  4714. * nuttx/arch/arm/src/sam34/sam4l_periphclks.c/h: Add common
  4715. logic to enabled/disable SAM4L peripheral clocking (2013-6-5).
  4716. * nuttx/arch/arm/src/sam34/chip/sam4l_bpm.h and sam4l_scif.h: Add
  4717. register definitions for the SAM4L BMP and SCIF blocks (2013-6-6).
  4718. * nuttx/arch/arm/src/sam34/sam4l_clockconfig.c: Now selects an
  4719. optimal power scaling mode (2013-6-6).
  4720. * nuttx/arch/arm/src/stm32/stm32_serial.c and nuttx/include/termios.h:
  4721. Change for hardware flow control support for STM32. It also fixes
  4722. incorrect operation of USART2 and UART5 in current master. Submitted
  4723. by Lorenz Meier but includes changes by Mike Smith (2013-6-6).
  4724. * nuttx/arch/arm/src/stm32/stm32_otgfshost.c: A backward conditional
  4725. prevent detection of disonnection events. Reported by Scott (2013-6-6).
  4726. * nuttx/arch/arm/src/sam34/chip/sam4l_bscif.h: Add registers definitions
  4727. for the SAM4L BSCIF module (2013-6-6).
  4728. * nuttx/arch/arm/src/sam34/sam4l_clockconfig.c and chip/sam4l_wdt.h:
  4729. Finally finished the SAM4L clock configuration logic; Added a
  4730. WDT register definition header file (2013-6-8).
  4731. * nuttx/arch/arm/src/sam34/chip/sam4l_usart.h and sam4l_picouart.h:
  4732. Add UART/USART register definition files for the SAM4L (2013-6-8).
  4733. * arm/src/sam34/chip/sam3u_periphclks.h: More macros and definitions
  4734. to generalize peripheral clocking and to hide differences between
  4735. the SAM3U and the SAM4L (2013-6-8).
  4736. * configs/sam4l-xplained/ostest: The SAM4L now passed the OS test
  4737. (2013-6-9).
  4738. * configs/sam4l-xplained/nsh: Added an NSH configuration for the
  4739. SAM4L Xplained Pro board (2013-6-9).
  4740. * configs/sam4l-xplained/src/sam_cxxinitialize.c: Added C++ support
  4741. to the SAM4L Xplained Pro board configuration (2013-6-9).
  4742. * arm/src/sam34/chip/sam_irq.c: Extend IRQ support to handle the
  4743. larger number of NVIC interrupts used by the SAM4L (2013-6-9).
  4744. * arch/arm/src/sam45/chip: Beginning updates of SAM3U header files
  4745. to include support for the SAM4S: WDT, SUPC, EEFC, MATRIX, PMC,
  4746. UARTs, USARTs, HSMCI, SPI (2013-6-10).
  4747. * arch/arm/src/chip/sam4s_memorymap.h, sam4s_irq.h, and sam4s_vectors.h:
  4748. Add SAM4S memory map and interrupt definitions (2013-6-10)
  4749. * configs/sam4s-xplained: Add framework for the SAM4S Xplained board.
  4750. There is not much there on initial checkin (2013-6-10).
  4751. * arch/arm/src/sam34: SAM3S support: GPIO, chip characteristics,
  4752. peripheral Kconfig (2013-6-11).
  4753. * arch/arm/src/sam34/chip/sam4s_pinmap.h: Add SAM4S pin configuration
  4754. definitions (2013-6-11).
  4755. * arch/arm/src/sam34/sam4s_periphclks.h: Add macros to manage SAM4S
  4756. peripheral clocks (2013-6-11).
  4757. * configs/sam4s-xplained: Configuration builds error-free (2013-6-11).
  4758. * configs/sam4s-xplained/nsh: Added an NSH configuration for the
  4759. SAM4S Xplained board. Both the OS test and the NSH configurations
  4760. no execute error-free. Delay loops calibrated for both the SAM4L
  4761. and SAM4S boards (2013-6-12).
  4762. * Standardize on CONFIG_NSH_BUILTIN_APPS. Remove all other variants
  4763. of the build-as-an-NSH-application configuration settings
  4764. (2013-6-12).
  4765. * arch/arm/src/sam34/sam_periphclks.h: A header file that just
  4766. includes the right header file. This cleans up the messy logic
  4767. in all of the C files and puts the mess in one place (2013-6-12).
  4768. * arch/arm/src/arm*/Toolchain.mk, Kconfig (and lots of configuration
  4769. files): Add support for a generic Windows EABI toolchain (2013-6-13).
  4770. 6.29 2013-07-31 Gregory Nutt <gnutt@nuttx.org>
  4771. * arch/arm/src/sam34/chip/sam4l_pinmap.h: Change naming of some pin
  4772. configurations to match names used with other SAM part (2013-6-15).
  4773. * arch/arm/src/sam34/sam4l_clockconfig.c: Corrected some typos
  4774. (2013-6-15).
  4775. * configs/sam4l-xplained/src/sam_buttons.c: Eliminate a warning
  4776. (2013-6-15).
  4777. * configs/sam4l-xplained/src/sam_mmcsd.c, sam_nsh.c, sam_spi.c,
  4778. sam3u-ek.h, Kconfig, Makefile, sam4l-xplained.h,
  4779. configs/sam4l-xplained/README.txt, and
  4780. configs/sam4l-xplained/include/board.h: Add support for the SPI-
  4781. based SD card on the I/O1 module (2013-6-15).
  4782. * arch/arm/src/sam34/sam_spi.c: Re-architect the SAM3/4 SPI driver
  4783. so that is it compatible with the SPI drivers of other MCUs
  4784. (2013-6-16).
  4785. * configs/sam3u-ek/src/up_touchscreen.c and configs/sam4l-xplained/src/sam_mmcsd.c:
  4786. Changed needed because of the above change to the SAM3/4 SPI
  4787. interface (2013-6-16).
  4788. * drivers/input/ads7843e.c: Remove the wait for the touchscreen busy
  4789. bit. I don't see the busy bit changing on the SAM3U-EK board. But
  4790. maybe it is not supposed to. From my reading of the ADS7843 spec, it
  4791. would not be appropriate to wait for the BUSY bit to de-asserted
  4792. anyway (since it is only de-asserted when we read the data)
  4793. (2013-6-16).
  4794. * configs/sam3u-ek/src/up_touchscreen.c: Fix polarity of the /PENIRQ
  4795. signal (it is active low) (2013-6-16).
  4796. * configs/sam3u-ek/include/board.h: The SAM3U-EK board now runs at
  4797. 96MHz. This might have broken some things? (2013-6-17).
  4798. * drivers/mmcsd/mmcsd-spi.c: Driver need to make sure that the SPI mode
  4799. and data width are correct (2013-6-17).
  4800. * arch/arm/src/kinetis/kinetis_tsi.h: Corrections to the Kinetis
  4801. (2013-6-18)
  4802. * arch/arm/src/sam34/sam_spi.c: Fix SPI mode setting. In the SAM3/4
  4803. family, the clock phase control (CPHA) is inverted (NPHA) (2013-6-18).
  4804. * arch/arm/src/kl/chip/kl_tsi.h: Freescale KL25Z TSI register
  4805. definitions from Alan Carvalho de Assis (2013-6-18).
  4806. * configs/freedom-kl25z/src/kl_tsi.c: Example TSI driver for the
  4807. Freedom KL25Z board from Alan Carvalho de Assis (2013-6-18).
  4808. * arch/arm/src/sam34/sam_spi.c: Correct an incorrect pointer test.
  4809. Was checking if the wrong pointer was NULL (2013-6-18).
  4810. * arch/arm/src/kl/kl_spi.c and chip/kl_spi.h: Add SPI driver and
  4811. register definitions for the Freescale KL25Z (2013-6-19).
  4812. * arm/src/sam34/chip/sam4l_lcdca.h: Register definition file for
  4813. the SAM4L LCD peripheral (2013-6-19).
  4814. * arm/src/sam34/chip/sam_spi.h: SPI register definition file updated
  4815. to include a few differences for the SAM4L (2013-6-19)
  4816. * arm/src/sam34/chip/sam4l_pdca.h: Add SAM4L PDCA register definition
  4817. file; also renamed sam_dmac.* files to sam3u_dmac.* to identify
  4818. them as SAM4U/4S only files (2013-6-19).
  4819. * configs/freedom-lk25z/src/kl_spi.c: Add the framework for
  4820. controlling SPI-related discrete inputs and outputs. Taken from
  4821. work by Alan Carvalho de Assis (2013-6-20).
  4822. * arch/arm/src/kl/kl_dumpgpio.c: Now compiles (2013-6-20).
  4823. * configs/: Several defconfig files were changed that had
  4824. CONFIG_HAVE_CXXINITIALIZE=y. Because of recent changes to
  4825. apps/examples, these configurations may need to have
  4826. CONFIG_EXAMPLES_NSH_CXXINITIALIZE=y so that they behave as they did
  4827. before, i.e., so that C++ initializers will be called when NSH starts
  4828. up (2013-6-21).
  4829. * configs/sam4l-xplained/src/sam_slcd.c: Beginning of a driver for the
  4830. LED1 segment LCD module. This driver is incomplete on initial check-
  4831. in (2013-6-21).
  4832. * drivers/net/enc28j60.c: Change buffer ordering to work around Errata
  4833. #5. From Dave (ziggurat29, 2013-6-22).
  4834. * configs/sam4l-xplained/src/sam_slcd.c: LED1 segment LCD module is now
  4835. functional (2013-6-23).
  4836. * drivers/lcd/ssd1306.c and include/nuttx/lcd/ssd1306.h. Renamed
  4837. ug-2864hsweg01.c and .h to ssd1306.c and .h. Extended to support the
  4838. UG-2832HSWEG04 which is very similar and also based on the SSD1306
  4839. controller (2013-6-23).
  4840. * configs/sam4l-xplained/src/sam_ug2832hsweg04.c: Add support for the
  4841. UG-2832HSWEG04 OLED on the SAM4L Xplained Pro's OLED1 module
  4842. (2013-6-23).
  4843. * include/debug.h: Added macro DEBUGPANIC for forces crashes when debug
  4844. is enabled.
  4845. * drivers/lcd/ssd1306.c: Driver now appears to be function for the
  4846. UG-2832HSWEG04 in landscape mode (2013-6-24).
  4847. * drivers/lcd/ug-2864ambag01.c and ug-9664hswag01.c: Add/updated
  4848. support for reverse portrait mode from lessons learned with the
  4849. UG-2832HSWEG04. Untested changes! (2013-6-24).
  4850. * arch/arm/src/stm32/stm32_ccm.c and .h: Add support for a seperate CCM
  4851. heap. This may be useful for segregating allocations for CCM (which
  4852. cannot be used for DMA) from other allocations (that may be used used
  4853. for DMA) (2013-6-25).
  4854. * arch/arm/src/sam32/sam3u_gpio.h: Correct configuration of PIO pins
  4855. for SAM4S B and C peripherals (2013-6-26)
  4856. * configs/sam4s-xplained/src/sam_sram.c: Added support for on-board
  4857. 1MB SRAM (2013-6-26).
  4858. * arch/arm/include/sam34/chip.h and sam3x_irq.h: Add support for
  4859. SAM3X and SAM3A chips (2013-6-26).
  4860. * arch/arm/src/sam34/chip/sam3x_vectors.h: Add support for SAM3X/3A
  4861. interrupt vectors (2013-6-26).
  4862. * arch/arm/src/sam34/sam3x_periphclks.h: Add peripheral clock
  4863. controls for the SAM3X/3A (2013-6-26).
  4864. * arch/arm/src/sam34/chip/sam3x_memorymap.h: Add SAM3X/3A memory map
  4865. (2013-6-26).
  4866. * arch/arm/src/sam34/chip/sam3x_pinmap.h: Add SAM3X/3A pin
  4867. multi-plexing definitions (2013-6-26).
  4868. * arch/arm/src/sam34/sam3x_gpio.h: Add SAM3X/3A gpio encoding
  4869. macros. These differ from the SAM3U only in because of the
  4870. 6 PIOs: PIOA-PIOF (2013-6-26).
  4871. * configs/arduino-due: This is an empty directory now with only
  4872. a README file in it but this directory will eventually hold a port
  4873. for the Arduino Due (2013-6-26).
  4874. * arch/arm/src/sam34/Kconfig: Add SAM3X/3A peripherals to the SAM3/4
  4875. configuration logic (2013-6-26).
  4876. * arch/arm/src and include/ and configs/sam*/: Large rename of all
  4877. references to SPI with SPI0. This is because all other SAMs have
  4878. only SPI but the 3X/3A have SPI0 and SPI1 (2013-6-26).
  4879. * configs/arduino-due: Complete the basic board configuration and
  4880. integrate this into the configuration and build system. The Arduino
  4881. Due is now ready to begin test (2013-6-17).
  4882. * configs/arduino-due/nsh: Add an NSH configuration for the Arduino
  4883. Due. Both the OS test and NSH configuration are now functional
  4884. (2013-6-28).
  4885. * configs/arduino-due/src: Add support for the "L" LED (2013-6-28).
  4886. * arch/arm/src/sam34/sam_allocateheap.c: Clocking must be applied
  4887. to the SMC module for the 3X and 3A family in order for the NFC
  4888. SRAM to be functional (2013-6-28).
  4889. * arch/arm/src/sam34/sam3u_gpio.c: Need to disable write
  4890. protection before configuring PIO pins.
  4891. * configs/sam3u-ek/nsh: The touchscreen is now functional. The above
  4892. fix to the sam3u_gpio.c write protection also fixed the touchscreen
  4893. problem (2013-6-28).
  4894. * confgis/sam3u_ek/nxwm: Created a configuration for the NxWM
  4895. window manager for the SAM3U-EK board (2013-6-29).
  4896. * drivers/spi and include/nuttx/spi: New sub-directories to hold
  4897. SPI-related files. includes/nuttx/spi.h moved to include/nuttx/spi/.;
  4898. SPI-related Kconfig info moved from drivers/Kconfig to drivers/spi/kconfig
  4899. (2013-7-1).
  4900. * drivers/spi/spi_bitbang.c and include/nuttx/spi/spi_bitbang.h: Add
  4901. support for a generic bit-bang SPI driver. This checkout is the
  4902. common upper-half logic. Still missing the lower half (2013-7-1).
  4903. * include/nuttx/spi/spi_bitbang.c: This is the common lower-half bit-
  4904. bang SPI logic (2013-7-1).
  4905. * configs/arduino-due/src/sam_nsh.c and sam_mmcsd.c: Add NSH customize
  4906. initialization. If so configured, initialize the SPI bit bang
  4907. interface to the MMC/SD slot on the ITEAD shield (2013-7-1).
  4908. * fs/fs_mount.c: Fix compilation error if no file systems are enabled:
  4909. Change error to ERROR (2013-7-3).
  4910. * arch/arm/src/sam34/sam_gpioirq.c: Fix some errors for interrupts
  4911. on ports D-F (2013-7-3).
  4912. * /drivers/usbdev/composite.c: Fix a typo in the composite device
  4913. driver unitialization logic. DEV1 should be DEV2 in one case
  4914. (2013-7-4).
  4915. * arch/arm/src/sam34/sam3u_gpio.c: sam_configgpio() must protect
  4916. against re-entrancy (2013-7-5).
  4917. * libc/misc/lib_crc16.c and include/crc16.h: Add CRC16 support
  4918. (2013-7-7).
  4919. * arch/arm/src/stm32/stm32_otgfsdev.c: SourceForge bug #16: Fix
  4920. to the endpoint allocation logic. Apparently the same endpoint can
  4921. be allocated as both an IN or an OUT endpoint. The existing
  4922. implementation only supported one allocation, either IN or OUT. This
  4923. resulted in failures to allocate endpoints when used with the CDC/ACM +
  4924. MSC composite driver (From Chia Cheng Tsao, 2013-7-8).
  4925. * arch/arm/src/stm32/stm32_sdio.c: SourceForge bug #17: Add
  4926. support for the data block end (DBCKEND) interrupt to terminate
  4927. transfers (From Chia Cheng Tsao, 2013-7-8)
  4928. * drivers/rwbuffer.c: SourceForge bug #17: Correct typos that can cause
  4929. failures in some configurations (From Chia Cheng Tsao, 2013-7-8).
  4930. * include/nuttx/usb/usbdev.h: Fix some typos that cause compiler errors
  4931. when CONFIG_USBDEV_DMA and CONFIG_USBDEV_DMAMEMORY are selected (From
  4932. Chia Cheng Tsao, 2013-7-12).
  4933. * nuttx/configs/olimex-lpc1766stk/zmodem: Add a new configuration to
  4934. test the Zmodem sz and rz commands (which don't actually exist yet,
  4935. but will). (2013-7-12).
  4936. * arch/arm/include/armv7-a and src/armv7-a: Beginning to add support
  4937. for the ARMv7-A, the Cortex-A5 in particular. The initial checkin
  4938. is only fragmentary: A few header files and some copied ARM9
  4939. assembly files. More to come (2013-7-18).
  4940. * arch/arm/include/sama5, arch/arm/src/sama5, and configs/sama5d3x-e:
  4941. Add a directory framework to support the Atmel AT91SAMA5D3 family and
  4942. the SAMA5D3x-EK board(s) in particular. There is very little here on
  4943. the first check-in, this structure is being used now primarily to
  4944. create the Cortex-A5 support (2013-7-19).
  4945. * arch/arm/src/armv7-a/arm_cache.S: Cortex-A5 cache operations
  4946. (2013-7-20).
  4947. * /arch/arm/src/armv7-a/arm_fpuconfig.S and fpu.h: A few more files for
  4948. the ARMv7-A/Cortex-A5 port (2013-7-21).
  4949. * arch/arm/src/sama5/sam_boot.c, sam_clockconfig.h, sam_lowputc.h, and
  4950. sam_timerisr.c: A few more files for the SAMA5D3 port (2013-7-21).
  4951. * configs/sama5d3x-ek/src/sam_autoleds.c: A few more files for the port
  4952. to the SAMA5D3x-EK board (2013-7-21).
  4953. * arch/arm/src/sama5/sam_irq.c: SAMA5 interrupt handling logic
  4954. (2013-7-22).
  4955. * arch/arm/src/sama5/sam_clockconfig.c: Add SAMA5 PLL configuration
  4956. logic (plus associated header files). Initiali checkin is for the
  4957. SAM3U which is very similar but needs to be verified (2013-7-22).
  4958. * arch/arm/src/sama5/sam_periphclks.h: Add macros to enable and
  4959. disable SAMA5 peripheral clocks (2013-7-22).
  4960. * arch/arm/src/sama5/sam_lowputc.c and sam_serial.c: Add support
  4961. for SAMA5 UARTs. Does not even compile as of initial checkin.
  4962. (2013-7-22).
  4963. * arch/arm/src/sama5/sam_gpio.c: Add GPIO configuration support
  4964. for the SAMA5. Still compilation issues. (2013-7-22).
  4965. * arch/arm/src/sama5/chip/sama5d3x_pinmap.h: Add pin multiplexing
  4966. definitions for the SAMA5D3 (2013-7-23).
  4967. * arch/arm/src/sama5/chip/: New header files for SAMA5 AXI Matrix
  4968. SFR, and BSC blocks (2013-7-23).
  4969. * arch/arm/src/armv7-a/arm_vectors.S: Force 8-byte stack alignment
  4970. in interrupt handlers before calling C code. Other ARM
  4971. architectures need to do this as well (2013-7-23).
  4972. * arm/src/armv7-m/up_copyarmstate.c and armv7-a/up_copyarmstate.c:
  4973. Added a new form of the register copy function that should save quit a
  4974. bit of time for armv7-m (without common vectors) and with armv7-a
  4975. (2013-7-23).
  4976. * arch/arm/src/armv7-a/arm_restorefpu.S, arm_savefpu.S, arm_doirq.c,
  4977. arm_fullcontextrestore.S, arm_saveusercontext.S: Add hardware
  4978. floating point register save/restore logic for the Cortex-A5
  4979. (2013-7-23).
  4980. * arch/Kconfig: Attempt at generic external memory configuration is not
  4981. flexible enough, especially for the SAMA5. Move external memory
  4982. configuration options from arch/Kconfig to
  4983. arch/arm/src/lpc17xx/Kconfig, lpc31xx/Kconfig, sam34/Kconfig, and
  4984. sama5/Kconfig and renamed each from CONFIG_ARCH_ to, for example,
  4985. CONFIG_LPC31_. This renaming also affect many defconfig files
  4986. (2013-7-24).
  4987. * arch/arm/src/sama5/Kconfig and sam_allocateheap.c: Set up
  4988. configuration options for SAMA5 external memory regions; add a custom
  4989. sam_allocateheap.c to add the various configured memory regions to the
  4990. heap (2013-7-24).
  4991. * configs/sama5d3x-ek/src/sam_buttons.c, sam_userleds.c, and
  4992. sam_autoleds.c: Add support for the buttons and LEDs on-board the
  4993. SAMA5D3x-EK (2013-7-24).
  4994. * configs/sama5d3x-ek/ostest/defconfig: Switch console to USART1
  4995. (2013-7-4).
  4996. * arch/arm/src/sam34/Kconfig and drivers/serial/Kconfig: All serial
  4997. configuration logic for USARTs needs to depend on if the USART is
  4998. configured as a UART or not. And this is for all CPUS, not just
  4999. SAM3/4 (2013-7-24).
  5000. * arch/arm/src/arm/up_head.S and arch/arm/src/armv7-a/arm_head.S:
  5001. Fix a bug (uninitialized register error) that crept in the ARM9
  5002. boot-up code several years ago and was cloned into the Cortex-A5
  5003. code. Obviously no one has used the ARM9 NuttX port for years!
  5004. * Many files: Finally... I changed the naming of configuration
  5005. variables like CONFIG_DRAM_ to CONFIG_RAM_. This has bothered
  5006. me for a long time since most boards don't have DRAM. The more
  5007. generic RAM naming should not produce so much cognitive dissonance
  5008. (2013-7-26).
  5009. * configs/sama5d3x-ek/hello: Added a tiny hello world configuration
  5010. to simplify bring up of the SAMA5 (it will probably be removed
  5011. later) (2013-7-26).
  5012. * The sama5d3x-ek/hello now runs correctly (2013-7-28).
  5013. * configs/sama5d3x-ek/ostest/: This configuration has been modified
  5014. to run out NOR flash. More work is still needed to reconfigure the
  5015. SMC so that the NOR flash can work with the high clock (2013-7-28).
  5016. * arch/arm/src/sama5/sam_clockconfig.c/h and
  5017. configs/sama5d3x-ek/src/sam_norflash.c: Add a file structure that
  5018. will (eventually) support reconfiguration of NOR flash when NuttX
  5019. boots from NOR FLASH (2013-7-29).
  5020. * arch/arm/src/sama5/chip/sam_hsmc/h: SAMA5 HSMC register
  5021. definition file (2013-7-29)
  5022. * configs/sama5d3x-ek/src/sam_norflash.c: Add board specific
  5023. logic to re-configure the SAMA5D3x-EK NOR FLASH before while
  5024. running out of NOR FLASH. We need to change the NOR FLASH
  5025. timing BEFORE increasing the main clock (2013-7-29).
  5026. * configs/sama5d3-ek/norboot and src/nor_main.c: The norboot
  5027. configuration to help debug NuttX in NOR flash. It runs
  5028. out of ISRAM, configures NOR FLASH, then waits for you to
  5029. break in with a debugger to start the program in NOR FLASH
  5030. (2013-7-29).
  5031. * arch/arm/src/armv7-a/arm_cache.S: Separate the bigger cache
  5032. operations into separater files (2013-7-29).
  5033. * arch/arm/src/stm32/stm32_dac.c: Fixed numerous DAC driver
  5034. errors and added support for DAC DMA (contributed by John
  5035. Wharington, 2013-7-30).
  5036. * arch/arm/src/stm32/stm32f30xx_i2c.c: An I2C driver for
  5037. the STM32 F3 family from John Wharington (2013-7-30).
  5038. * arch/arm/include/armv7-m: Add irqdisable() (2013-7-30);
  5039. * configs/sama5d3-ek/src/nor_main.c: Now disables interrupts
  5040. before jumping to NOR flash (2013-7-30).
  5041. * configs/sama5d3-ek/nsh: Add an NSH configuration for the
  5042. SAMA5D3x-EK (2013-7-31)
  5043. * configs/sama5d3-ek/src/sam_cxxinitialize.c: Add C++ support
  5044. (2013-7-31).
  5045. 6.30 2013-09-14 Gregory Nutt <gnutt@nuttx.org>
  5046. * arch/arm/src/sama5/arm_pghead.S: Separate the logic that is
  5047. enabled by CONFIG_PAGING out of arm_head.S. That was just
  5048. too much conditional compilation to be supportable
  5049. (2013-8-1).
  5050. * arch/arm/src/sama5/arm_head.S: Setup page table mappings for
  5051. all of .text, .bss, .data, stacks and heap before enabling
  5052. the MMU and caching. This is safer because it avoids the
  5053. caching issues (and much less redundant) (2013-8-1)
  5054. * arch/arm/src/sama5/chip/sam_mpddrc.h: Add DDR controller
  5055. registers definitions for the SAMA5 (2013-8-1).
  5056. * nuttx/configs/sama5d3x-ek/src/sam_sdram.c: Add logic which
  5057. will (eventually) support the SDRAM on the SAMA5D3x-EK
  5058. board. Initial commit is untested and incomplete (2013-8-1).
  5059. * arch/arm/src/armv7-a/arm_mmu.c: Move some generic MMU logic
  5060. out of SAMA5-specific code into this share-able file (2013-8-2)
  5061. * arch/arm/src/armv7-a/mmu.h: Add inline functions to invalidate
  5062. a single TLB.
  5063. * arch/arm/src/sama5/sam_allocateheap.c and chip/sama5d3x_memorymap.h:
  5064. Add logic to handle signed overflow when a memory region is
  5065. greater than or equal to 2GB (2013-8-2).
  5066. * arch/arm/src/sama5/sam_boot.c: Boot logic now initially
  5067. configures DRAM as strongly ordered so that it can be initialized.
  5068. After initialization, the page table entries are modified so
  5069. that DRAM is fully cache-able (2016-8-2).
  5070. * arch/arm/src/sama5/chip/sam_mpddrc.h: Correct typos in the
  5071. SAMA5 DDR controller register definitions (2013-8-2).
  5072. * arch/arm/src/sama5/sam_irq.c: Correct handling of spurious
  5073. interrupts (2013-8-3).
  5074. * arch/*/src/*/*_irq.c: Standardize configuration variables used
  5075. to enable interrupt controller debug output (2013-8-3).
  5076. * arch/arm/src/sama5/chip/sam_dmac.h: Add register definitions for the
  5077. SAMA5 DMA controller (2013-8-3).
  5078. * arch/arm/src/sama5/sam_dmac.c and sam_dmac.h: Add support for the
  5079. SAMA5 DMAC controllers. Initial check-in is untested and is a
  5080. straight leverage from the SAM3/4 (2013-8-4).
  5081. * arch/arm/src/sama5/sam_spi.c, sam_spi.h, and chip/sam_spi.h:
  5082. Leverage SPI support from SAM/3/4. Initial check-in is untested
  5083. and have several limitations: No DMA, no SPI1 support (2013-8-4).
  5084. * arch/arm/src/sama5/sam_spi.c and sam_spi.h: Now supports SPI1
  5085. and a register access debug option (2013-8-4).
  5086. * configs/sama5d3x-ek/src/sam_spi.c: Add board support for the
  5087. AT25 serial flash (2013-8-4).
  5088. * configs/sama5d3x-ek/nsh/defconfig: FAT file system support is
  5089. now enabled by default (2013-8-5)
  5090. * configs/sama5d3x-ek/src/sam_nsh.c: Automatically mount AT25
  5091. file system for NSH if so configured (2013-8-5).
  5092. * configs/sama5d3x-ek/src/sam_nsh.c: Verified that the AT25 FLASH
  5093. works on the SAMA5D3x-EK boards and can support a FAT file system
  5094. (2013-8-5).
  5095. * arch/arm/src/sam34/sam_spi.c: Corrected an error in the SAM3/4
  5096. SPI driver while testing the SAMA5 SPI driver: If CONFIG_SPI_OWNBUS
  5097. is not set, the driver will not configure the SPI mode correctly
  5098. (2013-8-5).
  5099. * configs/sama5d3x-ek/src/sam_at25.c: Move AT25 initialization logic
  5100. out of sam_nsh.c and into a separate file where it can be better
  5101. shared (2013-8-5).
  5102. * arch/arm/src/sama5/sam_hsmci.c, sam_hsmci.h, and chip.sam_hsmci.h:
  5103. Add register definitions and a driver for the (3) HSMCI memory card
  5104. interfaces provided by the SAMA5. Leveraged from the SAM3/4 and
  5105. untested on initial commit (2013-8-5).
  5106. * nuttx/configs/sama5d3x-ek/src/sam_hsmci.c and sam_nsh.c: Add support
  5107. for the (2) SD card slots provided on the SAMA5D3x-EK boards.
  5108. Untested on initial commit (2013-8-5).
  5109. * arch/arm/src/sama5 and nuttx/configs/sama5d3x-ek: Massive renaming
  5110. to get consistent once and for in the usage of PIO vs GPIO. Other
  5111. platforms use the term GPIO more, but Atmel prefers PIO. I prefer
  5112. consistency. Also fixed CONFIG_PIO vs CONFIG_SAMA5_PIO and renamed
  5113. files sam_gpio.* to sam_pio.* (2013-8-6).
  5114. * arch/arm/src/sama5/sam_pioirq.c: Add support for SAMA5 PIO interrupts
  5115. (2013-8-6).
  5116. * configs/sama5d3x-ek/src/sam_hsmci.c: Add support for SD slot card
  5117. detection PIO interrupts (2013-8-6).
  5118. * arch/arm/src/sam34/sam_hsmci.c and sama5/sam_hsmci.c: Fix handling
  5119. of some masked status conditions that can cause false-alarm errors
  5120. (2013-8-6).
  5121. * arch/arm/src/sama5/sam_dmac.c and sam34/sam34_dmac.c: For SAMA5,
  5122. correct some bad register address and some bad assertions that caused
  5123. false alarms. These latter were backported to the SAM34 DMAC driver
  5124. as well (2013-8-6).
  5125. * arch/arm/src/sama5/sam_dmac.c and sam34/sam34_dmac.c: Correct
  5126. some parameters reversed in function call (2013-8-6).
  5127. * arch/arm/src/sama5/sam_spi.c: The SAMA5 SPI driver now supports
  5128. DMA transfers (2013-8-9).
  5129. * arch/arm/src/sama5/sam_dmac.c: Finally after many bugfixes (the
  5130. last being caching issues), the SAMA5 DMA support has been
  5131. verified (with SPI) (2013-8-9).
  5132. * arch/arm/src/sama5/sam_memories.c and .h: Centralize logic for
  5133. conversions between physical and virtual addresses (2013-8-9).
  5134. * arch/arm/src/sama5/sam_hsmci.c and sam34/sam_hsmci.c: Correct a
  5135. race condition in the SAMA5 HSCMI driver: The transfer done
  5136. interrupt was firing before the wait was started. Fix this and
  5137. also backported the changes to SAM3/4 (untested). Now HSCMI is
  5138. functional on the SAMA5 with DMA! (2013-8-10).
  5139. * arch/arm/src/sam34/sam3u_periphclks.h: Correct a typo in a register
  5140. name (2013-8-10).
  5141. * drivers/mmcsd/mmcsd_sdio.c: Correction for a bad return value
  5142. when multiple block SDIO transfers are suppressed. By Andrew Tridgell
  5143. via Lorenz Meier (2013-8-10).
  5144. * drivers/serial/serial.c, drivers/usbdev/cdcacm.c, and
  5145. include/nuttx/fs/ioctl.h: Added support for FIONREAD and FIONWRITE,
  5146. added TERMIOS input / output processing support for UART and CDCACM
  5147. serial ports. Implemented by Mike Smith, Andrew Tridgell and Lorenz
  5148. Meier (2013-8-10).
  5149. * drivers/usbdev/cdcacm.c: Added FIONREAD and FIONWRITE to CDC/ACM
  5150. driver based on serial.c implementation. From Lorenz Meier
  5151. (2013-8-10).
  5152. * arch/arm/src/stm32/Kconfig and stm32_serial.c: Added option to
  5153. disable serial port reordering. From Lorenz Meier (2013-8-10).
  5154. * arch/arm/src/sama5/Kconfig, sam_ohci.c, and
  5155. arch/arm/src/sama5/sam_clockconfig.c: Add a OHCI driver for the SAMA5.
  5156. Untested on initial check-in (2013-8-11).
  5157. * include/nuttx/usb/usbhost.h, arch/arm/src/stm32, arch/arm/src/lpc17xx,
  5158. and include/nuttx/usb/usbhost.h, and nuttx/configs/<stm32-boards>:
  5159. Move prototype of usbhost_initialize() of usbhost.h and into
  5160. architecture specific files. This is necessary because some chips
  5161. (like the SAMA5) have multiple, different USB host interfaces
  5162. (2013-8-11).
  5163. * drivers/usbhost/usbhost_hidkbd.c and usbhost_storage.c: Correct some
  5164. compilation errors when pre-allocated class structures are used. Also
  5165. eliminate some warnings about uninitialized variables (2013-8-11).
  5166. * configs/sama5d3x-ek/src/sam_usb.c and related files: Add support for
  5167. initialization of the USB host and mass storage class device (2013-8-11).
  5168. * arch/arm/src/sama5/sam_ohci.c and sam_usbhost.h (was sam_ohci.h), and
  5169. configs/sama5d3x-ek/src/sam_usb.c, and sama5d3x-ek.h: Add controls
  5170. to enable VBUS power in OHCI host most (2013-8-12).
  5171. * includes/nuttx/usb/usbhost.h, all USB host drivers in arch/, and all
  5172. USB host-side connection monitoring threads in configs/*/src: The
  5173. SAMA5 has three downstream ports; all of the other USB host
  5174. implementations have only one. This will require significant changes
  5175. to the USB host interfaces starting with these chnages to monitor
  5176. connections on a port-by-port basis. This effects a lot of files and
  5177. more changes are coming for this issues. Changes are being blindly
  5178. incorporated into other architrectures. I am being careful to avoid
  5179. breakage, but I expect some (2013-8-12).
  5180. * configs/olimex-stm32-p107/nsh/defconfig and appconfig: Converted to
  5181. use the kconfig-frontends tool. From Max Holtzberg (2013-8-12).
  5182. * includes/nuttx/usb/usbhost.h, et al: Continued changes to the USB
  5183. host interface to support multiple downstream ports. When a class
  5184. is disconnected, it needs to provide the FunctionAddress to the
  5185. USB HCD disconnect method so that the HCD will know which port
  5186. is being disconnected (2013-8-12).
  5187. * nuttx/arch/arm/src/stm32/Kconfig, Make.defs, and /stm32f30xxx_i2c.c:
  5188. STM32 F3 I2C fixes from John Wharington (2013-8-13).
  5189. * nuttx/arch/arm/src/sama5/sam_serial.c: Fix a re-entrancy problem
  5190. in up_putc(). I think all architectures have this re-entrancy
  5191. than can result in serial interrupt being disabled, but I have only
  5192. seen the symptom on SAMA5 (2013-8-13).
  5193. * includes/nuttx/usb/usbhost.h and many other affected files: Separate
  5194. wait() and enumerate() methods from struct usbhost_driver_s and move
  5195. to new interface, struct usbhost_connection_s. This is part of the
  5196. necessary restructuring of the USB host interface to support multiple
  5197. root hub ports (2013-8-13).
  5198. * arch/arm/src/sama5/sam_ohci.c: Major restructuring of the driver due
  5199. in order to handle multiple root hub ports. Basically instead of one
  5200. driver structure with an arrayof root hub port structures, there is no
  5201. one container structure with an array of driver structures, one for
  5202. each root hub port. The advantage is that each class->driver call not
  5203. passes information associated with the RHport implicitly. The klugey,
  5204. procedural alternative was to add the function address to every
  5205. interface method (which I started to do but backed above) (2013-8-13).
  5206. * arch/arm/src/sama5/sam_memories.c and .h: Extended logic so do
  5207. conversions from physical to virtual addresses (2013-8-14).
  5208. * arch/arm/src/sama5/sam_ohci.c: Add D cache contols and conversion
  5209. between physical and virtual address (2013-8-14).
  5210. * arch/arm/src/stm32/stm32_spi.c: nbits() interface extended to
  5211. control bit order as well as bit width (from Teemu Pirinen)
  5212. (2013-8-16)
  5213. * arch/arm/src/sama5/sam_ohci.c: More to be tested, but the SAMA5
  5214. OHCI driver is now basically funtional (2013-8-16).
  5215. * include/nuttx/usb/ehci.h: EHCI header file (2013-8-17).
  5216. * arch/arm/src/stm32/stm32_i2c.c: Correct an error that crept into
  5217. the STM32 F1 I2C driver with some recent changes. From Yiran Liao
  5218. (2013-8-18).
  5219. * drivers/usbhost/usbhost_devaddr.c and include/nuttx/usb/usbhost_devaddr.h:
  5220. Add logic for management of device addresses. This logic does not
  5221. currently hook into into anything. It will someday be a part of the
  5222. NuttX USB hub implementation (2013-8-18).
  5223. * nuttx/arch/arm/src/sama5/sam_ehci.c and other files: Create a skeleton
  5224. environment for development of an EHCI driver. Not much in place yet
  5225. (2013-8-20).
  5226. * nuttx/arch/arm/src/sama5/sam_ehci.c: Now code complete for all
  5227. asynchronous endpoints (control and bulk); nothing yet in place
  5228. for periodic endponts (interrupt and isochronous) (2013-8-22).
  5229. * include/nuttx/serial/serial.h and arch/arm/src/stm32/chip/stm32f40xxx_pinmap.h:
  5230. SourceForge bug #16 Fix IO pin map. Add CONFIG_SERIAL_TERMIOS support.
  5231. Also fixes some STM32 F4 Timer 8 pin configurations. From CCTSAO
  5232. (2013-8-23).
  5233. * arch/arm/src/lpc17xx/lpc17_usbhost.h: Fix #endif with missing #if
  5234. condition. Reported by Andrew Bradford (2013-8-23).
  5235. * nuttx/arch/arm/src/sama5/sam_ehci.c: Now handles low- and full-speed
  5236. connections by giving the port to the OHCI driver (2013-8-24).
  5237. * nuttx/arch/arm/src/sama5/sam_ohci.c: Now uses the work queue to
  5238. defer interrupt processing (2013-8-24).
  5239. * nuttx/arch/arm/src/sama5/sam_ohci.c and nuttx/arch/arm/src/sama5/sam_ehci.c:
  5240. EHCI is now the common interrupt "master." It will receive all UHPHS
  5241. interrupts and route the interrupt event to both the OHCI and EHCI
  5242. logic (2013-8-24).
  5243. * net/uip/uip_arp.c: Correct backward condition in netmask task.
  5244. From Max Holtzberg (2013-8-25).
  5245. * arch/arm/src/sama5/sam_ohci.c: SAMA5 OHCI is again functional by
  5246. itself after all of the changes to integrate with EHCI. (2013-8-25).
  5247. * drivers/net/encx24j600.c/.h and include/nuttx/net/encx24j600.h:
  5248. Support the Microchip ENCX24J600 Ethernet driver from Max Holtzberg
  5249. (2013-8-25).
  5250. * configs/olimex-stm32-p107: Incorporate ENCX24J600 support for the
  5251. Olimex STM32 P107 board. From Max Holtzberg (2013-8-25).
  5252. * fs/romfs/fs_romfsutil.c: Fix an error where long (>15) file names
  5253. were read incorrectly from a ROMFS file system. From Mike Smith
  5254. (2013-8-25).
  5255. * arch/arm/src/stm32/stm32_sdio.c: SourceForge bug #17 Fix if
  5256. CONFIG_SDIO_BLOCKSETUP defined, OS will crash". Generate an error
  5257. if CONFIG_SDIO_BLOCKSETUP is defined; that option is not yet supported
  5258. by the STM32 SDIO driver. From CCTSAO (2013-6-26)
  5259. * drivers/net/encx24j600.c and .h: Use the ENC's SRAM for multiple TX
  5260. packets. From Max Holtzberg (2013-6-26).
  5261. * include/nuttx/usb/usbhost.h, drivers/usbhost/usbhost_enumerate.c, and
  5262. all USB host drivers: Added a new driver method: getdevinfo. This
  5263. method is intended to get various information about the connected device,
  5264. but currently returns only the device speed. The device speed is
  5265. necessary by usbhost_enumerate in order to set a credible initial EP0
  5266. max packetsize. High speed needs 64 bytes, low speed needs 8 bytes,
  5267. and full speed can handle almost any size (2013-8-26).
  5268. * arch/arm: Add hooks for Cortex-A8. Not much more yet (2013-8-27).
  5269. * Lots of files: Fix all occurrents of "the the" in documentation and
  5270. comments (2013-8-27).
  5271. * arch/arm/src/sama5/sam_allocateheap.c: Correct the logic that
  5272. determines which memory regions get added to the heap. When
  5273. CONFIG_MM_NREGIONS > 1, the logic was adding the ISRAM region to
  5274. the heap twice! (2013-6-27).
  5275. * nuttx/arch/arm/src/sama5/sam_ehci.c: Add (untested) support for
  5276. interrupt endpoints (2013-8-28).
  5277. * arch/arm/src/sama5/chip/sam_udphs.h: High-speed USB device register
  5278. definitions for the SAMA5 (2013-8-28)
  5279. * arch/arm/src/sama5/sam-udphs.c: A framework for the USB device
  5280. driver taken from another architecture. There is very little
  5281. useful in this initial check-in (2013-8-29).
  5282. * Remove all empty and most useless README.txt files (2013-8-31)
  5283. * configs/freedom-kl25z/src/kl_spi.c: Correct typo in name of a
  5284. function. From Alan Carvalho de Assis (2013-8-31).
  5285. * drivers/usbdev/cdcacm_desc.c: Fixed some compilation errors that
  5286. only occur when dual speed support is enabled (2013-9-1).
  5287. * arch/arm/src/sama5/sam_clockconfig.c and configs/sama5d3x-ek/include/board_*mhz.h:
  5288. Add logic to support UDPHS clocking (2013-9-13).
  5289. * arm/src/stm32/chip/stm32_tim.h: Some CCER bit settings changed
  5290. per SourceForge bug #18 submitted by CCCTSAO (2013-9-2).
  5291. * apps/examples/cc3000, configs/freedom-kl25z, drivers/wireless/cc3000,
  5292. and nuttx/include/nuttx/cc3000. Initial support for the TI CC3000
  5293. network module on the Freescale Freedom-KL25Z board from Alan Carvalho
  5294. de Assis. This is still very much a work in progress (2013-9-3).
  5295. * configs/*/usbmsc: Renamed from config/*/usbstorage to match the
  5296. change in naming in apps/examples submitted by CCTSAO (2013-9-5).
  5297. * drivers/usbdev/cdcacm.c and pl2303.c: Don't use max packetsize assigned
  5298. to the endpoint when allocating request buffers; The default value of
  5299. the endpoint max packetsize may be incorrect because the endpoint
  5300. has not yet been configured. Verified on CDC/ACM. Corresponding
  5301. changes made to pl2303, but untested (2013-9-5).
  5302. * arch/arm/src/sama5/sam_udphs.c: The high-speed device side driver
  5303. is now functional (although more testing is always needed) (2013-9-5).
  5304. * net/net_monitor.c: Fixes a race condition where a loss of connection
  5305. may not be detected when the connection is lost before it has been
  5306. accepted (from Max Holtzberg) (2013-9-6).
  5307. * configs/sama5d3x-ek/demo: Add a new NSH configuration. The
  5308. original NSH configuration will be a simple platform for testing
  5309. individual features; the demo configuration will be a more complex
  5310. platform for demonstrating multiple interacting features (2013-9-6).
  5311. * net/uip/uip_tcpbacklog.c: Fix a major bug in the TCP/IP backlog
  5312. initialization: Only the first backlog buffer was getting added
  5313. to the free list. From Max Holtzberg (2013-9-6).
  5314. * configs/sama5d3x-ek/demo: Add support for USB MSC device on the
  5315. AT25 serial FLASH (untested) (2013-9-6).
  5316. * drivers/net/enc28j60.c: Changes back-ported from the ENCX24J600
  5317. to the ENC28J60 by Max Holtzberg. These seem like reasonable and
  5318. correct changes, but have yet to be verified on an ENC28J60 (2013-9-6).
  5319. * drivers/usbdev/usbdev_strings.c: Extended decoding and stringifying
  5320. of USB trace output to include trace output from class drivers.
  5321. (2013-9-6).
  5322. * drivers/usbdev/usbmsc_desc.c: Fix a warning when USB MSC is
  5323. compiled for a high-speed device (2013-9-7).
  5324. * drivers/usbhost/usbhost_storage.c: If device is returning fatal
  5325. transfer errors while attempt to initialize, don't bother with
  5326. the startup retries; abort immediately so that the device will
  5327. be reset and we can try again (2013-9-9).
  5328. * drivers/usbhost/usbhost_storage.c: Correct a reference counting
  5329. error: When an MSC device transfer fails while waiting for
  5330. UnitTestReady (see 2013-9-9), the reference count was not being
  5331. decremented. The end result is a memory leak (2013-9-10).
  5332. * arch/arm/src/sama5/chip/sam_twi.h: Added SAMA5 TWI register
  5333. definition file (2013-9-11).
  5334. * arch/arm/src/sama5/sam_twi.c and .h: Framework for a SAMA5
  5335. TWI driver (not much present in initial checkin) (2013-9-11).
  5336. * fs/nxffs: Clean up some compilation warnings (2013-9-12)
  5337. * drivers/mtd/at24xx.c: Add support for the AT 24C512 part
  5338. (2013-9-12).
  5339. * arch/arm/src/sama5/sama5_twi.c: Clean up some errors that
  5340. only occur with CONFIG_DEBUG_I2C (2013-9-12).
  5341. * arch/arm/src/sama5/chip/sam_emac.h and sam_gmac.h: Register
  5342. definition files for the SAMA5 EMAC and GMAC peripherals
  5343. (incomplete on the initial commit) (2013-9-12).
  5344. * arch/arm/src/stm32/stm32_can.c: Make filter register accessible
  5345. for CAN1 and CAN2. Patch provided by Lorenz Meier (2013-9-13).
  5346. * nuttx/include/nuttx/usb/cdcacm.h: Fix backward conditional
  5347. compilation in the CDC/ACM driver with regard to remote
  5348. wakeup and self-powered capabilites. Provided by Lorenz Meier
  5349. (2013-9-13)
  5350. * fs/romfs/fs_romfsutil.c: Fix for filenames > 15 characters.
  5351. Provided by Lorenz Meier (2013-9-13).
  5352. * arch/arm/src/stm32/Kconfig: Fix STM32 UART7/8 kconfig names
  5353. and UART DMA. Provided by Lorenz Meier (2013-9-13).
  5354. * configs/maple: Board configuration for the LeafLabs Maple
  5355. and Maple Mini boards. From Librae (2013-9-13).
  5356. * arch/arm/src/sama5/sam_emac.c and .h: Skeleton files for
  5357. a SAMA5 EMAC driver. Not much in the initial files; these
  5358. are just hacked out and gutted versions of the corresponding
  5359. STM32 files (2013-9-13).
  5360. 6.31 2013-10-28 Gregory Nutt <gnutt@nuttx.org>
  5361. * nuttx/fs/romfs/fs_romfsutil.c: Back out part of a recent
  5362. ROMFS change (2013-9-14).
  5363. * configs/sama5d3x-ek/src/sam_ethernet.c: Add support for
  5364. PHY interrupts (2013-9-15).
  5365. * arch/arm/src/kl/chip/kl_pit.h and kp_tpm.h: Add register
  5366. definitions for the Freescale Kinetis KL25Z from Alan
  5367. Carvalho de Assis (2013-9-15).
  5368. * configs/ and a few Ethernet drivers: Add the prefix ETH0
  5369. to all PHY configuration selections. This will allow us
  5370. to support to Ethernet MAC drivers with two different
  5371. PHYs (identified with ETH0 and ETH1) (2013-9-17).
  5372. * net/Kconfig and drivers/net/Kconfig: Move PHY selections from
  5373. net/Kconfig to drivers/net/Kconfig where they belong. Add the previx
  5374. ETH0_ to each PHY selection. And a new configuration
  5375. CONFIG_NETDEV_MULTINIC that can be set to enable support for multiple
  5376. Ethernet MAC drivers (not fully implemented yet). When Enabled,
  5377. another set of PHY selections are enabled for ETH1_ (2013-9-17).
  5378. * include/nuttx/net/mii.h: Add definitions for the Micrel KSZ8051 PHY
  5379. (2013-9-17).
  5380. * configs/zkit-arm-1768: MMC/SD is on SPI, not SSP0. From Rashid
  5381. Fatah (2013-9-17).
  5382. * configs/: Lots of defconfig files changes. A consequence of the
  5383. above renaming and moving of the PHY configuration settings is
  5384. that the you now also have to set CONFIG_NETDEVICES=y if you
  5385. need to set a PHY configuration (2013-9-17).
  5386. * arch/arm/src/lpc17xx/lpc17_spi.c: Remove undefined spi_select()
  5387. prototype. This was causing compile time warnings (2013-9-17).
  5388. * configs/sama5d3x-ek/src/sam_ostest.c: Add OS test support for
  5389. the FPU test (2013-9-18).
  5390. * arch/arm/src/sama5/sam_usbhost.h and include/nuttx/usb/usbhost_trace.h
  5391. Correct some inconsistencies in the way that USB configuration
  5392. settings are used. This caused compilation errors in SAMA5 OHCI
  5393. when USB debug was ON but USB host tracing was off (2013-9-19).
  5394. * nuttx/arch/arm/src/sama5/sam_clockconfig.c: When 480MHz UPLL
  5395. is used to drive OHCI, it should have a divider of 10. However,
  5396. that does not work. A divider of 5 does. Why? (2013-9-19).
  5397. * Several USB device driver files: Change naming of SELFPOWERED
  5398. and REMOTEWAKEUP to avoid name collisions. Prepend the name
  5399. of the driver (for example CDCACM_SELFPOWERED) (201309-20).
  5400. * configs/sama5d3x-ek/nsh and demo: Increase the number of pre-allocated
  5401. watchdog timers. The default number of 4 was easily being exhausted
  5402. in the more complex configurations. Enable the task name feature
  5403. to provide prettier ps command output. src/sam_usb.c: Use more
  5404. descriptive task names when starting the EHCI and OHCI monitor tasks
  5405. (2013-9-20).
  5406. * arch/arm/src/sama5/sam_ohci.c: Fix a place where DMA-related data
  5407. needed to be flushed to data cache; Fix another where a virtual address
  5408. was being used in a register where a physical address was required
  5409. (2013-9-20).
  5410. * arch/arm/src/armv7-a/cp15_clean_dcache.S and cp15_flush_dcache.S:
  5411. fix an error in the alignment of addresses to cache line boundaries
  5412. (2013-9-21).
  5413. * drivers/usbdev/cdcacm_desc.c: Change the interval for the interrupt
  5414. endpoint from 0xff (invalid) to 10. This is not a critical change
  5415. but will avoid a complaint from the Linux driver when it overrides
  5416. the 0xff value (2013-9-22).
  5417. * configs/zkit-arm-1769: LED1 is now user controllable after booting.
  5418. From Rashid Fatah (2013-9-23).
  5419. * arch/arm/src/sama5/sam_hsmci.c: TX DMA disabled. It is just not
  5420. reliable. No idea why. RX DMA is still used (2013-9-23).
  5421. * driver/net/encx24j600.c: UDP/RXAVAIL backlog support from Max
  5422. Holtzberg (2013-9-24).
  5423. * Standardized stack checking logic so the interfaces can be used
  5424. by common stack monitoring logic (2013-9-24).
  5425. * drivers/net/Kconfig: Move CONFIG_NET_DUMPPACKET out of LPC17
  5426. and STM32 Kconfigs into the common network driver Kconfig (2013-9-25).
  5427. * arch/arm/src/sam_emac.c: EMAC driver is basically functional. More
  5428. testing is needed (as always) (2013-9-25).
  5429. * configs: Changes to many defconfig files resulting from moving
  5430. apps/examples/usbmsc to apps/system/usbmsc (2013-9-25).
  5431. * configs: Changes to many defconfig files resulting from moving
  5432. apps/examples/cdcacm to apps/system/cdcacm (2013-9-25).
  5433. * configs: Changes to many defconfig files resulting from moving
  5434. apps/examples/composite to apps/system/composite (2013-9-25).
  5435. * configs/stm3210e-eval/composite: Converted to use the kconfig-
  5436. frontends tool (2013-9-25).
  5437. * arch/arm/src/sama5/sam_gmac.c: Initial GMAC driver is really
  5438. just the EMAC driver forced to compile with the GMAC register
  5439. definitions (2013-9-26).
  5440. * arch/arm/src/sama5/sam_gmac.c and include/nuttx/net/gmii.h:
  5441. Beginning of support for GMII/RGMII PHY support (2013-9-26)
  5442. * net/netdev_txnotify.c: Look up of device using subnet will fail
  5443. if the packet is being sent out of our subnet (via a router).
  5444. The fallback here is just to use "eth0" if the subnet lookup
  5445. fails. This will, of course, will have to be revisited if/when
  5446. multiple NICs are supported. From Max Holtzberg (2013-9-27).
  5447. * net/send.c: Fix some backward conditional logic in check
  5448. to see if we should check if the ARP address in the table. From
  5449. Max Holtzberg (2013-9-27).
  5450. * drivers/net/encx24j600.c: Removed logic that polls for the
  5451. next outgoing packet from the TX done interrupt handling. From
  5452. Max Holtzberg (2013-9-27)
  5453. * sched/os_start.c: Should not call group_setupidlefiles() if there
  5454. are no file descriptors (and, hence, no file system) (2013-9-27).
  5455. * arch/arm/src/sama5/sam_gmac.c: GMAC driver and GMII logic is
  5456. code complete and ready for test (2013-9-27)
  5457. * configs/compal_e86: Basic board support for the Motorola C139
  5458. (Compal E86) phone. From Craig Comstock (2013-9-27).
  5459. * configs/compal_e86: Converted to use the kconfig-frontends
  5460. tools (2013-9-27).
  5461. * drivers/net/encx24j500.c: Use separate pools for RX and TX
  5462. descriptors. From Max Holtzberg (2013-9-28).
  5463. * nuttx/fs/fs_sendfile.c, nuttx/net/net_sendfile.c, and other file:
  5464. Integrate an optimized sendfile() operation from Max Holtzberg
  5465. (2013-9-28).
  5466. * tools/mkdeps.*, nuttx/mm/Makefile, nuttx/libc/Makefile: Dependency
  5467. generation generation was broken for directories that keep objects in
  5468. a sub-directory. Fixed by adding a object path to the mkdeps.c,
  5469. mkdeps.bat, mkdeps.sh tools (2013-0-29).
  5470. * arch/arm/src/sama5/chip/sam_adc.h: ADC register definition file.
  5471. Incomplete on initial check-in (2013-9-29).
  5472. * arch/arm/src/sama5/sam_adc.c and .h: Framework for an ADC
  5473. driver to come (just empty "skeleton" files on initial commit)
  5474. (2013-9-30).
  5475. * arch/arm/src/sama5/sam_touchscreen.h and .h: Framework for a
  5476. touchscreen driver (also an empty "skeleton" file on the initial
  5477. commit) (2013-9-30).
  5478. * arch/arm/src/kl/kl_lowgetc.c and .h: First cut at low-level
  5479. getc() function for operation with no file system (and, hence,
  5480. no serial driver) (from Alan Carvalho de Assis, 2013-9-30).
  5481. * configs/freedom-kl25z/minnsh: A new configuration that is
  5482. an experiement to see how small we can get the NuttX footprint.
  5483. From Alan Carvalho de Assis. (2013-9-30).
  5484. * net/net_sendfile: The high performance sendfile logic is
  5485. now functional. From Max Holtzberg (2013-9-30).
  5486. * tools/define.sh: 'cut' no longer works as it once did. Script
  5487. adapted to observed behavior (2013-9-30).
  5488. * include/nuttx/net/route.h and net/net_*route.c: Partial
  5489. implementation of a routing table. Not yet hooked into the
  5490. build system (2013-10-1)
  5491. * include/net/route.h: Defines the application interface to
  5492. the routing table (2013-10-2).
  5493. * configs/spark: Add configuration for the Spark Core. The
  5494. initial check-in is basically the Maple Mini board (2013-10-2).
  5495. * include/net/route.h and libc/net/lib_addroute.c and delroute.c:
  5496. Add an application interface to manage the routing table
  5497. (2013-10-2).
  5498. * arch/arm/src/sama5/sam_adc.c and sam_tsc.c: The SAMA5
  5499. touschscreen drive is basically functional) (2013-10-3)
  5500. * arch/arm/src/sama5/chip/sam_lcdc.h: Add SAMA5 LCD register
  5501. definition header file (2013-10-4).
  5502. * net/netdev_findbyaddr.c: Now (1) uses the routing table
  5503. if available to look up the router to get to a remote network,
  5504. and (2) if there is only a single network device and no
  5505. route, then it will simply return that single device. The
  5506. ARP logic will use the default router address associated with
  5507. the interface in this case (2013-10-5).
  5508. * net/netdev_router.c and net/uip/uip-arp.c: When the target IP address
  5509. does not lie on the device's networker when we have a routing table,
  5510. looking the correct router IP address to use in the ARP request.
  5511. In that case, we want the MAC address of the router, not of the
  5512. target endpoint (2013-10-5).
  5513. * net/netdev_rxnotify.c and others: Use the new signature of rxnotify
  5514. caused by the routing table. From Max Holtzberg (2013-10-6).
  5515. * arch/arm/src/sama5/sam_lcdc.c and .h: Empty "skeleton" file that
  5516. will eventually become an LCDC driver for the SAMA5 (2013-10-6).
  5517. * net/net_close.c, net/uip/uip_tcpcon, and include/nuttx/net/uip/uip-tcp.h:
  5518. Make net_close() nonblocking and free unestablished connections if no
  5519. free connections available. From Max Holtzberg (2013-10-6).
  5520. * net/net_close.c and other: Update of change of 2013-10-6 from
  5521. Max Holtzberg (2013-10-8).
  5522. * arch/arm/src/sama5/sam_lcd.c: LCDC driver is code complete and
  5523. incorporated into the build system (but still untested (2013-10-8).
  5524. * configs/sama5d3x-ek/nx: Add an examples/nx configuration that
  5525. will be used for the SAMA5 LCD bring-up (2013-10-8).
  5526. * configs/arduino-due/Kconfig and include/board.h: Add configuration
  5527. to select revision 3 of the Arduino Due which has some small
  5528. but important differences. Suggested by gdi@embedders.org.
  5529. * arch/arm/src/sama5/sam_allocateheap.c, Kconfig, chip/sama5d3_memorymap.h:
  5530. Add support so that subsets of the total DRAM (and other external
  5531. memory) can be added to the heap, leaving other memory reserved for
  5532. other purposes (like LCDC framebuffers) (2013-10-10).
  5533. * arch/arm/src/sama5/sam_lcd.c: Change how DMA descriptors are
  5534. allocated. My reading of the SAMA5 MATRIX is that the LCDC will
  5535. be unable to DMA from internal SRAM (2012-10-10).
  5536. * arch/arm/src/sama5/Kconfig and configs/sama5d3x-ek/nx/defconfig: The
  5537. default LCD resolution is now RGB565. Added output resolution selection
  5538. which can be different from the software resolution (2013-10-10.
  5539. * arch/arm/src/sama5/sam_lcd.c wait before modifying register if the LCDC
  5540. is re-synchronizing (SIF). Use start-up configuration settings from
  5541. Barebox. They still don't work (2013-10-10).
  5542. * net/net_monitor.c: Notify the socket layer if a connection is lost
  5543. before the monitoring callback has been registered. From Max
  5544. Holtzberg (2013-10-11).
  5545. * net/recvfrom.c, sendto.c, uip/uip_input.c, uip/uip_udpcallback.c,
  5546. uip/uip_udpconn.c, uip/uip_udpinput.c: Changed the meaning of the
  5547. uip_*input functions. They now return success when a packet is
  5548. dropped; This is needed for the ENCX24J600 driver that must make
  5549. a decision to return the packet or not: It should not retry
  5550. dropped packets. From Max Holtzberg (2013-10-11).
  5551. * drivers/net/encx24j600.c and Kconfig: ENCX24J600: Improved descriptor
  5552. handling, free packets on rx abort interrupt. From Max Holtzberg
  5553. (2013-10-11).
  5554. * arch/arm/src/sama4/sam_lcd.c and configs/sama5d3x-ek/include/board.h:
  5555. Fix PWM precealler divider. This eliminiates the backlight flicker
  5556. (2013-10-11).
  5557. * arch/arm/src/sama5/sam_boot.c: Correct how framebuffer memory was
  5558. being mapped. The mapping was getting overrwritten and the
  5559. framebuffer memory was ending up cacheable (2013-10-13).
  5560. * arch/arm/src/sama5/Kconfig, sam_lcdc.c, defconfig, and related files:
  5561. Remove options for obtaining framebuffer memory in other ways. That
  5562. option just really cannot work (2013-10-13).
  5563. * configs/sama5d3x-ek/nxwm: Add NxWM configuration for SAMA5D3x-EK
  5564. (2013-10-13).
  5565. * configs/sama5d3x-ek/nxwm/defconfig: Now uses scaled icons in the
  5566. the NxWM taskbar (2013-10-15).
  5567. * configs/sama5d3x-ek/nxwm/defconfig: Use the 320x320 NuttX logo as
  5568. the NxWM background (2013-10-15).
  5569. * arch/arm/src/stm32/chip/stm32f103c_pinmap.h: Pinmapping corrections
  5570. from David Sidrane (2013-10-16).
  5571. * configs/spark: The Spark device configuration is receiving some
  5572. TLC from David Sidrane (2013-10-16).
  5573. * drivers/mtd/sst25.c: Add support for the SST25VF016B. From David
  5574. Sidrane (2013-10-16).
  5575. * net/net_close.c: Changed net_close debug output to verbose. From
  5576. Max Holtzberg (2013-10-17).
  5577. * net/send.c and net_sendfile.c: Reset the send timeout when the
  5578. data is ACKed, not when the data is sent. Remove conditions on
  5579. checking for timeout. From Max Holtzberg (2013-10-17).
  5580. * net/net_sendfile.c: Correct parameter passed to netdev_txnotify()
  5581. from Max Holtzberg (2013-10-17).
  5582. * include/nuttx/net/uip/uip-tcp.h, net/send.c, uip/uip_tcpconn.c, and
  5583. uip/uip_tcpinput.c: Change how the initial minimum MSS is calculated.
  5584. Max Holtzberg (2013-10-17).
  5585. * net/uip/uip_tcpinput.c: Move tcp connection into SYN_RCVD state
  5586. after aception instead of bypassing and moving directly into ESTABLISHED.
  5587. From Max Holtzberg (2013-10-17).
  5588. * net/net_sendfile.c: Let the ACK callback handle the REXMIT flag and
  5589. don't return until all data has been ACK'd. From Max Holtzberg
  5590. (2013-10-17).
  5591. * arch/arm/src/stm32/chip/stm32f40xxx_dma.h: Typo fixes for UART7 and
  5592. UART8 DMA configs. From Mike Smith (2013-10-18).
  5593. * arch/arm/src/stm32/Kconfig: DMA priority corrections from Mike Smith
  5594. (2013-10-18).
  5595. * arch/arm/src/stm32/stm32*_dma.c, stm32_sdio.c, and stm32_dma.h:
  5596. Changes to the stm32_dmacapable API. In order to correctly verify that
  5597. a buffer can be transferred, the transfer count and the CCR value are
  5598. required. Implemented stm32_dmacapable for stm32f1xx devices. Enhanced
  5599. stm32_dmacapable for stm32f2xx and stm32f4xx devices to check for
  5600. additional conditions that will cause DMA to fail or lose data (2013-10-18).
  5601. * include/nuttx/sdio.h: Add a preflight method to the SDIO interface.
  5602. From Mike Smith (2013-10-18).
  5603. * drivers/mmcsd/mmscd_sdio.c: Enhanced the mmcdd_sdio driver to perform
  5604. DMA preflight operations and fail DMA read/write requests that fail
  5605. preflighting. From Mike Smith (2013-10-18).
  5606. * fs/fat/fs_fat32.c: Enhanced the FAT32 filesystem code to understand DMA
  5607. preflight failures, and to use the file sector buffer as a bounce buffer
  5608. when a user-supplied buffer is not suitable for DMA. From Mike Smith
  5609. (2013-10-18).
  5610. * arch/arm/src/sama5/chip/sam_rtc.h and sam_wdt.h: Add WDT and RTC
  5611. register definition header files (2013-10-18).
  5612. * arch/arm/src/sama5/chip/sam_rtc.c and sam_rtc.h: Basic RTC driver.
  5613. Support for RTC alarms is fragmentary and this has not yet been hooked
  5614. into the build system (2013-10-18).
  5615. * Various Spark and CC3000 files: Update by David Sidrane (2013-10-18).
  5616. * arch/arm/src/sama5/chip/sam_gpbr.h: Add SAMA5 GPBR register
  5617. definitions (2013-10-19).
  5618. * Kconfig: Add support for CONFIG_DEBUG_RTC (2013-10-19).
  5619. * configs/sama5d3x-ek/README.txt, demo/defconfig: Describe how to
  5620. enable RTC support for the nsh/ configuration; RTC is now enabled by
  5621. default in the demo configuration (2013-10-19).
  5622. * arch/arm/src/sama5/sam_rtc.h and other files: Hook the SAMA5 RTC
  5623. driver into the build system; Verify the correct operation of the
  5624. SAMA5 RTC driver (2013-10-19).
  5625. * arch/arm/src/sama5/sam_wdt.c and .h: Add a SAMA5 watchdog timer
  5626. driver. Untested on initial check-in (2013-10-19).
  5627. * arch/arm/src/sama5/sam_trng.c, sam_trng.h, and chip/sam_trng.h: Add
  5628. a /dev/random driver based on the SAMA5D3 TRNG peripheral (2013-10-20).
  5629. * configs/sama5d3x-3k/demo: The TRNG and /dev/random are now enabled
  5630. by default in the demo configuration (2013-10-20).
  5631. * arch/arm/src/sama5/chip/sam_tc.h: SAMA5D3 timer/counter register
  5632. definition header file (2013-10-20).
  5633. * libc/stdio/lib_sscanf.c: scanf() fixes from kfrolov: 1) sscanf()
  5634. function hangs in the following example: sscanf("2", "%u,%u,%u,%u", ...),
  5635. 2) sscanf() returns incorrect number of parsed numbers if some arguments
  5636. can't be parsed: sscanf("=2", "%u,%u,%u,%u",...)==1 instead of 0, and
  5637. 3) using of char* instead of const char* in vsscanf function leads to
  5638. warnings from GCC (2013-10-21).
  5639. * arch/arm/src/sama5/chip/sam_can.h: SAMA5D3X CAN register definition
  5640. header file (2013-10-21)
  5641. * arch/arm/src/sama5/sam_can.c and .h: Framework for a SAMA5 CAN driver.
  5642. Initial checkin is the STM32 CAN driver with name changes (2013-10-21).
  5643. * arch/arm/src/sama5/sam_can.c and .h: SAMA5 CAN driver is code complete
  5644. but still untested (2013-10-22).
  5645. * configs/spark: Spark configuration updated by David Sidrane (2013-10-23).
  5646. * drivers/wireless/cc3000: CC3000 driver updates from David Sidrane
  5647. (2013-10-23).
  5648. * include/nuttx/wireless/cc3000: More CC3000 driver updates from David
  5649. Sidrane (2013-10-23).
  5650. * net/Kconfig, drivers/net/wireless/cc3000/Kconfig, and Kconfig: Add
  5651. ARCH_HAVE_NET that determines if a network is present or not. This
  5652. currently can happen if CONFIG_NET is set or if CONFIG_WL_CC3000 is
  5653. is set (23013-10-23).
  5654. * arch/arm/src/stm32/stm32f10xxx_dma.c: DMA fix from David Sidrane:
  5655. The DMA_CNDTRx register cannot be modified if the DMA channel is
  5656. disabled (2013-10-23).
  5657. * arch/arm/src/sama5/sam_tc.c and .h: First cut at a timer/counter
  5658. library for the SAMA5D3 (2013-10-23).
  5659. * configs/spark/nsh/defconfig: Spark configuration update from David
  5660. Sidrane (2013-10-24).
  5661. * drivers/wireless/cc3000/cc3000.c: CC3000 driver update from David
  5662. Sidrane (2013-10-24).
  5663. * arch/arm/include/stm32/chip.h and arch/arm/src/stm32/Kconfig:
  5664. Add support for the STM32F207ZE chip. From Martin Lederhilger
  5665. (2013-10-24).
  5666. * arch/arm/src/stm32/stm32_adc.c and stm32_pwm.c: Fix some bits
  5667. that should have been cleared in a register. From Martin Lederhilger
  5668. (2013-10-24).
  5669. * configs/olimex-stm32-p207 and other files: Support for the Olimex
  5670. STM32 P207 board added by Martin Lederhilger (2013-10-24).
  5671. * arch/arm/src/sama5/sam_adc.c, sam_tc.c and sam_tc.h: Hook in the
  5672. timer/counter logic so that it can driver periodic ADC sampling
  5673. (2013-10-24).
  5674. * configs/freedom-kl25z/src/Makefile: Only build kl_wifi.c if
  5675. CONFIG_WL_CC3000 is selected. From Alan Carvalho de Assis
  5676. (2013-10-24).
  5677. * configs/sama5d3x-ek/src/sam_adc.c: Integrate support for the
  5678. apps/examples/adc into the SAMA5D3x-EK configuration (2013-10-24).
  5679. * include/nuttx/fs/ioctl.h and arch/arm/src/sama5/sam_adc.c: Add
  5680. and ioctl command that can be used to trigger ADC/DAC conversion
  5681. (2015-10-25).
  5682. * configs/spark: Spark configuration updated by David Sidrane
  5683. (2013-10-25).
  5684. * drivers/wireless/cc3000 and include/nuttx/wireless/cc3000:
  5685. CC3000 driver update from David Sidrane (2013-10-25).
  5686. * arch/arm/src/sama5/chip/sam_isi.h: Camera interface register
  5687. definitions added (2013-10-26).
  5688. * audio/ and include/nuttx/audio/audio.h: Updated audio subsystem
  5689. from Ken Pettit (2013-10-27).
  5690. * drivers/audio/ and include/nuttx/audio/vs1053.h: Updated
  5691. VS1053 driver from ken Pettit (2013-10-27).
  5692. * configs/mikroe-stm32f4/: Updated configuration for the
  5693. Mikroe STM32F4 board from Ken Pettit (2013-10-27).
  5694. * arch/arm/src/stm32/stm32_spi.c: DMA-related fixes from Ken
  5695. Pettit (2013-10-27).
  5696. * sched/sched_releasetcb.c: Fix a cornercase: If sched_releasetcb()
  5697. is called as part of a failed pthread startup before the flags
  5698. field in the TCB has been initialized, then a crash occurs.
  5699. Pointed out by David Sidrane (2013-10-27)
  5700. * arch/arm/src/sama5/sam_adc.c: ADC now works in all implemented
  5701. modes: single channel or multiple channel with sequencer support.
  5702. software trigger or timer trigger; ADC channel interrupts or
  5703. DMA (2013-10-28).
  5704. * nuttx/drivers/audio/vs1053.c and nuttx/include/nuttx/audio/audio.h:
  5705. Add logic to verify the audio sub-format. From Ken Pettit (2013-10-28).
  5706. 6.32 2013-12-07 Gregory Nutt <gnutt@nuttx.org>
  5707. * configs/spark: Spark configuration updated by David Sidrane
  5708. (2013-10-30).
  5709. * drivers/wireless/cc3000 and include/nuttx/wireless/cc3000:
  5710. CC3000 driver updates from David Sidrane (2013-10-13).
  5711. * arch/arm/src/sama5/chip/sam_ssc.h: SSC register definition
  5712. header file (2013-10-30).
  5713. * arch/arm/src/sama5/chip/sam_pwm.h: PWM register definition
  5714. header file (2013-10-31).
  5715. * drivers/mtd/mtd_partition.c: Fix erase block vs page block confusion.
  5716. From Ken Pettit (2013-10-31).
  5717. * arch/arm/src/stm32/stm32_usbdev.c: On a failure to bind the class
  5718. driver, the driver reference was being nullified too soon. This
  5719. caused an exception in usbdev_reset() later. The driver reference
  5720. will be nullified later usbdev_unregister when the caller gets the
  5721. error. From David Sidrane (2013-10-31).
  5722. * drivers/mtd/mtd_config.c and include/nuttx/configdata.h: Add a container
  5723. for an MTD device that can be used to provide a simple, lightweight
  5724. interface to configuration data storage that resides on some storage
  5725. media that is wrapped as an MTD device. From Ken Pettit (2013-11-1).
  5726. * configs/mikroe-stm32f4: Now uses /dev/config for configuration data
  5727. storage. From Ken Pettit (2013-11-1).
  5728. * arch/ stack management functions: Extension and standardization of
  5729. stack debug logic. Now includes coloration of the IDLE and interrupt
  5730. stacks as well as the heap. Suggested by David Sidrane (2013-11-1).
  5731. * configs/spark/usbmsc: Add spark USB MSC configuration. From David
  5732. Sidrane (2013-11-1).
  5733. * fs/fat/fs_fat32util.c: In one error return case, the error return
  5734. value was not being set, making the failure look like success. From
  5735. David Sidrane (2011-10-1).
  5736. * drivers/usbdev/usbmsc.c and usbmsc_scsi.c: pthread_join() does not
  5737. work if called from a different task group than the pthread. This
  5738. is correct behavior, but a problem. The correct solution would be
  5739. configure the USB MSC thread to a task, however, this workaround
  5740. from David Sidrane plugs the hole for now (2013-11-1).
  5741. * drivers/mtd/mtd_config.c: Reduce configuration header size. From
  5742. Ken Pettit (2013-11-1).
  5743. * drivers/mtd/sst25.c: Improved write performance by fixing a bug
  5744. that prevented operation in the faster write mode. The code did
  5745. not wait on the last write complete before issuing the WRDI The
  5746. loop in general failed to wait on the fist 2 bytes after the
  5747. SST25_AAI if the next 2 were FF FF, then it would reissue the
  5748. address but not cancel the write. Reorganized to always wait for
  5749. completion after and address with data write and on any data
  5750. write so that the device is complete before WRDI is sent. From
  5751. David Sidrane (2013-11-2).
  5752. * configs/sama5/src/sam_can.c: Add CAN initialization logic
  5753. and fix a data alignment problem (2013-11-3).
  5754. * drivers/mtd/mtd_config.c: Updated configuration driver from
  5755. Ken Pettit (2013-11-4).
  5756. * configs/sim/configdata: MTD configuration driver unit test for
  5757. the simulation platform. From Ken Pettit (2013-11-4).
  5758. * configs/mikroe-stm32f4/fulldemo: Configuration updated by Ken
  5759. Pettit (2013-11-4).
  5760. * arch/arm/src/stm32/stm32_usbdev.c: Correct EP0 state handling
  5761. logic when buffers larger than the EP0 packet size are sent.
  5762. Also add support for decoded USB trace strings. From David
  5763. Sidrane (2013-11-5).
  5764. * drivers/usbdev/cdcacm.c, composite.c, usbmsc.c: uninitialization
  5765. logic cause re-use of a stale pointer. Changed to a two pass
  5766. uninitialization for the case of the composite driver: Memory
  5767. resources are not freed until the second uninitialization pass.
  5768. From David Sidrane (2011-11-5).
  5769. * arch/arm/src/sama5/sam_pwm.c and .h: Add PWM driver for SAMA5
  5770. untested on initial checkout (not even incorporated in to build
  5771. system) (2013-11-6).
  5772. * arch/arm/src/sama5/Make.defs and Kconfig: SAMA5 PWM driver now
  5773. incorporated into build and configuration system. Builds with
  5774. no errors (2013-11-6).
  5775. * configs/sama5d3x-ek: Add support for the PWM test for the
  5776. SAMA5D3x-EK board (2013-11-6).
  5777. * arch/arm/src/sama5/sam_pwm.c and .h: SAMA5 PWM driver is now
  5778. functional (2013-11-7).
  5779. * include/nuttx/audio/i2s.h: First cut at an I2S interface
  5780. definition. This initial definition is sparse will will
  5781. probably evolve significantly (2011-11-7).
  5782. * arch/arm/src/sama5/sam_ssc.c and .h: Skeleton and build setup
  5783. for a forthcoming SSC (aka I2S) driver for the SAMA5. The
  5784. initial check-in is just the SAMA5 SPI driver gutted and hacked
  5785. to use the I2S interface. More coming (2013-11-7).
  5786. * arch/arm/src/stm32 and arch/arm/include/stm32: Added support for
  5787. the STM32F429. From Ken Pettit (2013-11-7).
  5788. * configs/stm32f429i-disco: Support for the STM32F429I-Discovery
  5789. board from Ken Pettit (2013-11-7).
  5790. * arch/arm/src/stm32/stm32_usbdev.c: The long outstanding bug
  5791. involving the handling of OUT SETUP commands has been fixed in
  5792. the STM32 F1 USB device driver by David Sidrane (2013-11-7).
  5793. * configs/spark/composite/cdc-acm.inf: Windows CDC/ACM driver
  5794. provided by David Sidrane (2013-11-7).
  5795. * configs/spark/usbserial.c: Add an apps/examples/usbserial
  5796. configuration for the Spark. From David Sidran (2013-11-7).
  5797. * arch/arm/src/sama5/sam_ssc.c and .h: First cut of SAMA5
  5798. SSC/I2S driver is code complete (2013-11-9).
  5799. * arch/arm/src/stm32 (numerous files): OTG FS device and host
  5800. drivers extended so that they can support either the OTG FS
  5801. peripheral or the OTG HS peripheral (in FS mode). This was
  5802. done as a quick way to get USB support on the STM32F429 which
  5803. has only OTG HS. From Ken Pettit (2013-11-10).
  5804. * configs/stm32f429i-disco: Add support for the usbnsh and
  5805. usbmsc configurations using the OTG HS peripheral in FS mode.
  5806. From Ken Pettit (2013-11-10)
  5807. * drivers/audio/i2schar.c: A simple character driver to support I2S
  5808. accesses. This driver in its current state is intended only to
  5809. support I2C testing and would not be appropriate to used for any real
  5810. driver application. (2013-11-10).
  5811. * arch/arm/src/kl/kl_pwm.c and .h: PWM driver for the Freescale
  5812. Kinetis KL family from Alan Carvalho de Assis (2013-11-10).
  5813. * configs/freedom-kl25z: Add PWM support. From Alan Carvalho de Assis
  5814. (2013-11-10).
  5815. * drivers/audio/vs1053: VS1053 worker thread stack size is now
  5816. configurable and assigned a name via pthread_setname_np(). From Ken
  5817. Pettit (2013-11-10).
  5818. * libc/audio/lib_buffer.c: Moved audio/buffer/c to libc/audio/lib_buffer.c.
  5819. This file was moved because it contains buffer management functions
  5820. that must be available to audio applications. If it was left in the
  5821. audio/ directory then it would not be available to applications in the
  5822. NuttX Kernel build (2013-11-10).
  5823. * arch/arm/src/sama5/sam_ssc.c and Kconfig: Add configurable support
  5824. for SSC loopback mode (2013-11-10).
  5825. * include/nuttx/audio/i2s.h, arch/arm/src/sama5/sam_ssc.c, and
  5826. drivers/audio/i2schar.c: Improved I2S interface design: Simplified
  5827. audio buffer queuing (2013-11-10).
  5828. * arch/arm/src/sam34 and arch/arm/include/sam34: Basic support for
  5829. the Atmel SAM4E family. From Mitko (2013-11-11).
  5830. * libc/audio/lib_buffer.c: Remove unused apb_prepare() function
  5831. (2013-11-11).
  5832. * arch/arm/src/stm32: Added header files and driver framework for the
  5833. STM32F429 LTDC framebuffer driver. From Ken Pettit (2013-11-11).
  5834. * configs/sama5d3x-ek/src/sam_i2schar.c: Add support for the
  5835. apps/examples/i2schar test (2011-11-11).
  5836. * arch/arm/src/sama5/sam_ssc.c: I2S loopback test finally works
  5837. (2013-11-11).
  5838. * fs/procfs: Add a little, primitive procfs file system. (2013-11-13).
  5839. * fs/binfs/README.txt: Add a README file for binfs (2013-11-13).
  5840. * arch/arm/src/stm32/Kconfig: Add missing setup of CAN TSEG1 and
  5841. TSEG2 values. From Martin Lederhilger (2013-11-14).
  5842. * arch/arm/src/sama5/sam_pck.c and .h: Add support for programmable
  5843. clock outputs (2013-11-14).
  5844. * configs/ea3131/nsh: Converted to use kconfig-frontend tools
  5845. (2013-11-14).
  5846. * arch/arm/src/lpc31: Create configuration and build support for a
  5847. forthcoming USB host controller driver (2013-11-14).
  5848. * arch/arm/src/lpc31/lpc31_ehci.c: First cut at an EHCI driver
  5849. tailed for the LPC31 (2013-11-14).
  5850. * fs/fs_mount.c: SMART FS must be included in the conditional
  5851. compilation for the set of file systems that require block
  5852. drivers. From Daniel Palmer (2013-11-15).
  5853. * tools/mkconfig.c: SMART FS must be included in the conditional
  5854. compilation for the set of writable file systems. Noted by
  5855. Daniel Palmer (2013-11-15).
  5856. * arch/arm/src/sama5/sam_nand.c and .h: Framework for an MTD driver
  5857. that will provide raw access to NAND (2013-11-15).
  5858. * configs/sama5d3x-ek/src/sam_nandflash.c: Provides board-specific
  5859. memory controller initialize for NAND flash (2013-11-15).
  5860. * include/nuttx/mtd/mtd.h: Move include/nuttx/mtd.h to
  5861. include/nuttx/mtd/mtd.h where it will, hopefully, soon be joined by
  5862. other MTD-related header files (2013-11-15).
  5863. * drivers/mtd/mtd_onfi.c and include/nuttx/mtd/onfi.h: Add shared
  5864. NAND routines for use with ONFI compatible NAND FLASH devices
  5865. (2013-11-15).
  5866. * configs/ea3131/src/up_usbhost.c: Board-specific USB host support
  5867. for the EA3131 board (2013-11-15).
  5868. * drivers/mtd/mtd_nand.c, include/nuttx/mtd/nand.h, nand_config.h,
  5869. and nand_scheme.h: Further NAND support (still incomplete).
  5870. (2013-11-16).
  5871. * drivers/mtd/mtd_modeltab.c: Further NAND support (still incomplete).
  5872. (2013-11-16).
  5873. * drivers/mtd/mtd_nandmodel.c: More NAND support (same story).
  5874. (2013-11-16).
  5875. * drivers/mtd/mtd_rawnand.c and include/nuttx/mtd/nand_raw.h: More
  5876. NAND support (2013-11-17).
  5877. * drivers/mtd/mtd_nandscheme.c: More NAND support (2013-11-17).
  5878. * include/nuttx/mtd/nand_ecc.h: More NAND (2013-11-17).
  5879. * drivers/mtd/hamming.c and mtd_nandecc.c and
  5880. include/nuttx/mtd/hamming.h: Beginning of NAND software ECC
  5881. calculations. (2013-11-18).
  5882. * configs/olimex-lpc-h3131: Add support for the Olimex LPC-H3131
  5883. * board. Does not yet boot (2013-11-18).
  5884. * arch/arm/src/lpc31xx/lpc31_ehci.c: Add USB host trace support
  5885. (2013-11-19).
  5886. * configs/olimex-lpc-h3131/include/board.h, src/lpc31_boot.c,
  5887. lpc31_leds.c, lpc31_usbhost.c, and lpc_h3131.h: Add GPIO
  5888. support for LED1/2 and for USB power enable and overcurrent
  5889. detection (2013-11-19).
  5890. * configs/olimex-lpc-h3131/nsh/defconfig: Drop loops-per-msec
  5891. count for the Olimex-LPC-H3131. It seems to be about 25% as
  5892. fast as the Embedded Artists EA3131 at the same clocking.
  5893. (2013-11-19).
  5894. * arch/arm/src/arm/up_cache.S and cache.h: More cache management
  5895. functions (2013-11-20).
  5896. * configs/olimex-lpc-h3131/src/Makefile: Add SDRAM support.
  5897. Untested and probably needs some fine tuining (2013-11-21)
  5898. * fs/smartfs/README.txt: Add README for SMARTFS file system. From
  5899. Ken Pettit (2013-11-23)
  5900. * tools/mkctags.sh: A script for creating ctags from Ken Pettit
  5901. (2013-11-23)
  5902. * configs/sama5d3x-ek/src/sam_nand.c: Add support for "auto-mounting"
  5903. NAND MTD block driver or NXFFS file system (2013-11-25).
  5904. * include/mtd/mtd.h: Packed the geometry structure so that it can
  5905. support larger erase block sizes without increasing the size of
  5906. the geometry structure (2013-11-27).
  5907. * drivers/mtd/sst25xx.c: Add another SST25 SerialFlash driver. This
  5908. one differs from sst25.c because it supports larger SST25 parts: In
  5909. the larger parts support page write instead of byte/word writes like
  5910. the smaller parts. From Ken Pettit (2013-11-28).
  5911. * drivers/mtd/smart.c: Fixes a minor bug with SMART partition number
  5912. reporting (that would only be seen if both partition support and
  5913. multi-root directory support are enabled at the same time). From Ken
  5914. Pettit (2013-11-28).
  5915. * arch/arm/src/stm32/chip/stm32f40xxx_gpio.h: Add support for GPIOK and
  5916. GPIOJ. From Ken Pettit (2013-11-28).
  5917. * configs/stm32f429i-disco/extflash, Kconfig, include/board.h,
  5918. src/stm32f429i-disco-internal.h, up_nsh.c, and up_spi.h: Add a
  5919. configuration and board support for an external SST25 FLASH. From Ken
  5920. Pettit (2013-11-28).
  5921. * fs/fs_inode.c: The inode semaphore must be re-entrant. Here is the
  5922. re-entering path that I found: (1) USB host connects to FLASH drive
  5923. and creates /dev/sda, (2) /dev/sda is mounted, (3) FLASH drive is
  5924. removed but /dev/sda is not destroyed because there is still a
  5925. reference on the device because of the mount, (4) umount() is called,
  5926. taking the inode semaphore, now the driver tries to destroy the block
  5927. driver by calling unregister_blockdriver(). But (5)
  5928. unregister_blockdriver() also takes the inode semaphore causing a
  5929. deadlock if the inode semaphore is not re-entrant. (2013-11-28).
  5930. * configs/viewtool-stm32f107: Add board support for the ViewTool
  5931. STM32F103/F107 board with the STM32F107VCT6 installed. Initial
  5932. check-in is the unverified board-support framework only
  5933. (2013-11-30).
  5934. * configs/viewtool-stm32f107/src/stm32_buttons.c and stm32_leds.c:
  5935. Add support for LEDs an buttons on the ViewTools STM32F107 board
  5936. (2013-11-30).
  5937. * fs/nxffs/nxffs_initialize.c: First of probably several changes for
  5938. NAND FLASH. NAND can report read errors because of bad ECC. Logic
  5939. in NXFFS must account for it and not just throw in the towel every
  5940. time a read fails (2013-11-30).
  5941. * drivers/mtd/mtd_nand* and arch/arm/src/sama5/sam_nand.c: NAND
  5942. accesses now work (at least with software ECC and now DMA). Still
  5943. lots of testing to be done (2013-11-30).
  5944. * fs/nxffs/nxffs_dump.c: Do not abort on a read error. Just not
  5945. the error and continue. Otherwise, we would not be able to dump
  5946. NAND FLASH (2013-11-30).
  5947. * fs/nxffs: All read error logic has been revisited and modified in
  5948. most places. If we are using NAND, then read errors probably mean
  5949. that the block that was read contains uncorrectable bit errors. In
  5950. this case, we cannot just give up and abort the operations. Rather,
  5951. we need to treat read error like normal bad blocks in order to work
  5952. with NAND (2013-12-2).
  5953. * fs/nxffs/Kconfig and nxffs_initialize.c: Make the start up scan of
  5954. the media option. It just takes to long! (2013-12-02).
  5955. * drivers/mtd/mtd_nand.c: Fix a typo in calculation of page number
  5956. (2013-12-02).
  5957. * drivers/mtd/README.txt: New README file (2013-12-04).
  5958. * arch/arm/src/lm/lm_start.c: Don't initialize .data if not running
  5959. from FLASH (2013-12-05).
  5960. * fs/fat/fs_configfat.c: Fix a typo in the FAT16 formatting logic.
  5961. Was this ever able to format a FAT16 volume? (2013-12-05).
  5962. * drivers/mtd/mtd_nand.c: Check if block number is within range at
  5963. the top of the loop not the bottom. Otherwise, we will do a bogus
  5964. transfer with the out-of-range block before we test it (2013-12-05).
  5965. 6.33 2014-01-30 Gregory Nutt <gnutt@nuttx.org>
  5966. * arch/arm/include/a1x and src/a1x: Directory structure to support
  5967. the Allwinner A10. Not much there on the initial check-in
  5968. (2013-12-7).
  5969. * configs/pcduino-a10: Directory structure for the pcDuino board. This
  5970. board is based on the Allwinner A10 (2013-12-7).
  5971. * arch/arm/src/a1x/a1x_boot.c and chip/a1x_intc.h: More A10 logic
  5972. (2013-12-8).
  5973. * arch/arm/src/a1x/a1x_irq.c: A10 interrupt handling logic (partial)
  5974. (2013-12-8).
  5975. * drivers/video/ov2640.c: An OV2640 camera driver that will be used to
  5976. verify the SAMA5D3x-EK ISI peripheral (2013-1209).
  5977. * sama5d3x-ek/ov2640 and src/sam_ov2640.c. Board logic to test the SAMA5D3
  5978. ISI peripheral usign the OV2640 camera (2013-12-9).
  5979. * arch/arm/src/a1x/chip/a1x_uart.h: A10 UART register definition
  5980. header file (2013-12-9).
  5981. * include/nuttx/video/fb.h: Move fb.h to include/nuttx/video/
  5982. (2013-12-10).
  5983. * include/nuttx/video/rgbcolors.h: Move rgbcolors.h to include/nuttx/video.
  5984. (2013-12-10).
  5985. * include/nuttx/fs/smart.h: Move smart.h to include/fs/smart.h
  5986. (2013-12-10).
  5987. * include/nuttx/fs/ramdisk.h: Move ramdisk.h to include/fs/ramdisk.h
  5988. (2013-12-10).
  5989. * arch/arm/src/a1x/chip/a1x_pio.h and a10_piocfg.h: PIO register
  5990. definition header files (2013-12-10).
  5991. * arch/arm/src/a1x/a1x_pio.c and .h: Support for PIO configuration
  5992. (2013-12-11).
  5993. * libc/misc/lib_match.c: Pattern matching logic extended to handle
  5994. matches to sets of characters and ranges of character values. From
  5995. Ken Pettit (2013-12-12).
  5996. * fs/procfs, drivers/mtd, fs/smartfs, includes/nuttx/fs, .. to many
  5997. files to list: Extensive changes by Ken Pettit to extend procfs/
  5998. functionality. Includes some incomplete changes related to
  5999. SmartFS (2013-12-12).
  6000. * configs/stm32f429i-disco: Add support for procfs/ MTD part names.
  6001. From Ken Pettit (2013-12-12)
  6002. * arch/arm/src/a1x/chip/a1x_timer.h: Timer register bit definitions
  6003. (incomplete on initial check-in) (2013-12-12).
  6004. * lbc/time/lib_strftime.c: Need null-termination on the string
  6005. generated by strftime(). From Max Holtzberg (2013-12-12).
  6006. * sched/nanosleep.c and include/time.h: Add nanosleep() (2013-12-12).
  6007. * libc/unistd/lib_sleep.c and lib_usleep.c. Move sleep() and
  6008. usleep() from sched/sleep.c and usleep.c to libc/unistd. These
  6009. functions now just call nanosleep(). (2013-12-13).
  6010. * syscall/ and include/sys/syscall.h: Remove sleep and usleep
  6011. system calls. Add nanosleep system call (2013-12-13).
  6012. * arch/arm/src/a1x/a1x_timerisr.c: Timer interrupt handler for the
  6013. A10 (2013-12-13).
  6014. * arch/arm/src/a1x/a1x_config.h: Header file to keep track of A10
  6015. configuration decisions (2013-12-13).
  6016. * arch/arm/src/a1x/a1x_lowputc.c, a1x_serial.c, and a1x_serila.h:
  6017. Beginning of an A10 serial driver. From Alan Carvalho de Assis
  6018. (2013-12-13).
  6019. * fs/procfs/procfs_utils.c: Move some re-usable functions out of
  6020. fs_procfsproc.c into a utility file (2013-12-14).
  6021. * fs/procfs/fs_procfsuptime.c: Supports /proc/uptime (2013-12-14).
  6022. * graphics/nxconsole/nxcon_font.c: Fix a typo that causes a compile
  6023. error when CONFIG_NXCONSOLE_BPP < 8. From Librae (2013-12-15).
  6024. * fs/procfs/fs_procfsproc.c: procfs now shows information about
  6025. the group that each thread belongs: Like parents, group member,
  6026. open file, and open sockets (2013-12-15).
  6027. * fs/procfs/fs_procfsproc.c: Now shows task stack information
  6028. (2013-12-15).
  6029. * arch/arm/src/armv7-a/cp15.h: Review A9 TRM and updated CP15
  6030. register definitions accordinglyg (2013-12-16).
  6031. * Makefile.unix: Now has supports qconfig and gconfig targets.
  6032. These tools will use the Qt and GTK versions of the kconfig-
  6033. frontends configuration tools (if you built them) (2013-12-16)
  6034. * arch/arm/src/armv7-a/arm_head.h: Fix some errors in the cache
  6035. invalidation logic (only seem to matter for Cortex-A8) (21-3-12-19).
  6036. * Kconfig and all Make.defs files: Add CONFIG_DEBUG_NOOPT. Now
  6037. you can independently enable/disable debug symbols and optimization
  6038. (2013-12-20).
  6039. * configs/README.txt and Documentation/NuttxPortingGuide.html:
  6040. Remove documentation of NuttX configuration variables. Since
  6041. converting to the kconfig-frontend tools, the NuttX configuration
  6042. is now documented in the Kconfig files and summarized in the
  6043. autogenerated Documentation/NuttXConfigVariables.html file.
  6044. This old configuration variable documentation is now a liability
  6045. and, hence, was removed (2013-12-20).
  6046. * arch/Kconfig, arch/arm/Kconfig, arch/arm/include/x/chip.h, and
  6047. and arch/arm/src/x/x_irq.c where x={kinetis, lm, lpc17xx, lpc43xx,
  6048. sam34, or stm32}: Beginning of support for nested, high priority
  6049. interrupts. Lots more still needs to be done (2013-12-21).
  6050. * arch/arm/src/armv7-m/up_exception.S and arch/arm/src/x/x_vectors.S:
  6051. where x={kinetis, lm, lpc17xx, lpc43xx, sam34, or stm32}: completes
  6052. the basic implementation of nested, high priority interreupts.
  6053. Still untested and need documentation (2013-12-21).
  6054. * configs/stm3210e-eval/buttons: Converted to use kconfig-frontends
  6055. tools (untested) (2013-12-22).
  6056. * configs/Kconfig, configs/viewtool-stm32f107/include/board-stm32f103vct6.h,
  6057. and /board-stm32f107vct6.h: The viewtool board can now be configured
  6058. to support either the STM32F103VCT6 or the STM32F107VCT6 (2013-12-22).
  6059. * configs/Kconfig, README.txt, viewtool-stm32f107/highpri, Kconfig,
  6060. README.txt, and src/stm32_highpri.c: This is the initial framework
  6061. for a test of the high priority, nested interrupt logic. Still
  6062. incomplete and does not yet run (2013-12-22).
  6063. * arch/arm/src/armv7-m/ram_vectors.h and up_ramvec_initialize.c:
  6064. Correct alignment of the RAM vector table (2013-12-22).
  6065. * Kconfig: Support configuration of interrupt controller debug output
  6066. (2013-12-22).
  6067. * configs/viewtool-stm32f107/scripts: Need to do some special things
  6068. in linking of the common vectors are used (2013-12-22).
  6069. * arch/arm/include/*/irq*.h: Add definition NR_VECTORS so that the RAM
  6070. vector logic can know how many vectors there are. NR_IRQS is often
  6071. not equal to NR_VECTORS (2013-12-23).
  6072. * arch/arm/src/*_vectors.S: Standardize the name of the vector table
  6073. and the name of the common vector handling logic so that the MCU-
  6074. independent logic and work with these (2013-12-23).
  6075. * configs/viewtool-stm32f107/scripts: Move the RAM vector tables to the
  6076. beginning of SRAM. It seems to require this alignment. Also, we
  6077. don't need different scripts for the CMNVECTOR case now that the vector
  6078. table has a common name.
  6079. * arch/arm/src: armv-7/up_exception.S and xxx/xxx_vectors.S where
  6080. xxx={kinetis, lm, lpc17xx, sam34, and stm32}: Modified register usage
  6081. when saving the context on the stack: In order to handler nested
  6082. interrupts, the stack pointer must be used so that when it is
  6083. decremented, the contents on the stack are protected from the nested
  6084. interrupt handling (2013-12-23).
  6085. * arch/Kconfig: The CONFIG_ARCH_INT_DISABLEALL feature is disabled (i.e.,
  6086. depends on EXPERIMENTAL). That is because the current implementation
  6087. will not work because interrupts get disabled in the interrupt handler
  6088. too, defeating the nesting of interrupts. The fix is easy: It just
  6089. needs more levels of priority of disabling interrupts vs interrupt
  6090. handling (2013-12-23).
  6091. * configs/viewtool-stm32f107/src/stm32_highpri.c: Improved debug output
  6092. (2013-12-23).
  6093. * drivers/lcd/memlcd.c and include/nuttx/lcd/memlcd.h: Support for the
  6094. Sharp Memory LCD from Librae (2013-12-23).
  6095. * configs/maple/nx and src/: Add support for a custom Sharp Memory
  6096. LCD on the Maple board. From Librae (2013-12-23).
  6097. * configs/viewtool-stm32f107/netnsh: Add a NSH configuration that
  6098. supports networking with the DP83848C module installed (2013-12-25).
  6099. * configs/viewtool-stm32f107/src/stm32_nsh.c, stm32_mmcsd.c, stm32_usb.c,
  6100. and stm32_usbmsc.c: Lay out basic framework for USB and SD card
  6101. support. Code is incomplete and has been neither built nor tested
  6102. (2013-12-25).
  6103. * nuttx/arch/arm/src/stm32/Kconfig, chip/stm32f103vc_pinmap.h,
  6104. stm32f105vb_pinmap.h, and stm32f107vc_pinmap.h: Fix configuration and
  6105. pin definition that would prevent building USB for the connectivity and
  6106. performance lines (2013-12-25).
  6107. * stm32l15xxx_pinmap.h: Fix a typo in USB pin definitions (2013-12-25).
  6108. * configs/viewtool-stm32f107: Fix building of USB for F103 and F107.
  6109. F103 has device only; F107 has OTG FS (2013-12-25).
  6110. * arch/arm/src/stm32/stm32f10xxx_rcc.c and chip/stm32f10xxx_rcc.h: Add
  6111. clocking support for STM32F107 USB OTG FS (which does not work)
  6112. (2013-12-26).
  6113. * configs/viewtool-stm32f107: Updates to USB for F103 and USB OTG FS
  6114. for F107 (2013-12-16).
  6115. * arch/arm/src/stm32/chip/stm32f3xxxx_pinmap.h: Fix pin definition names
  6116. for SPI2 MOSI and MISO. Noted by Brian Webb (2013-12-27).
  6117. * graphics/nxmu, nxsu, and nxglib and libc/nx, nxmu, and nxglib: Massive
  6118. reshuffling of files with (hopefully) no logic changes. This
  6119. reshuffling is necessary if we ever want to build graphics applications
  6120. as kernel builds. There is still more today (NXTK and NXFONTS need to
  6121. be moved to libc as well) (2013-12-27).
  6122. * Move libc/nx, nxmu, and nxglib to a new library, libnx. The NX
  6123. graphics is not properly a part of libc (2013-12-28).
  6124. * Move graphics/nxfonts to libnx/nxfonts (2013-12-28).
  6125. * Move graphics/nxtk to libnx/nxtk (2013-12-28).
  6126. * syscalls: Need to add sem_timedwait() (2013-12-28)
  6127. * Move more files from graphics/nxmu to libnx/nxmu (2013-12-29).
  6128. * graphics/nxmu/nx_start.c: NX server start-up wrapper function to
  6129. simplify starting the NX server from within the RTOS (2013-12-29).
  6130. * configs/stm3240g-eval/kernel and configs/stm3240g-eval/scripts: Port
  6131. kernel build logic from the STM32F4Discovery to the STM3240G-EVAL.
  6132. This will eventually support testing of the kernel mode NX server
  6133. (2013-12-29).
  6134. * configs/stm3240g-eval/nxwm: Converted to use the kconfig-frontend
  6135. tools (2013-12-29).
  6136. * configs/stm3240g-eval/knxwm: Add a kernel mode NxWM build
  6137. configuration (not yet verified) (2013-12-29).
  6138. * Moved configs/stm3240g-eval/src/up_cxxinitialize.c to
  6139. apps/platform/stm3240g-eval/up_cxxinitialize.c: Now it is available
  6140. in user-space in the kernel mode build (2013-12-29).
  6141. * graphics/nxbe, nxsu, libnx/nxmu, and nxtk: Need to be consistent with
  6142. which allocator is used in the different configurations. Always uses
  6143. the user-space allocator because that one is required in certain
  6144. configurations (2013-12-30).
  6145. * include/nuttx/kthread.h: Move kernel thread definitions out of
  6146. os_internal.h so that the rest of the OS can start kernel threads as
  6147. well (2013-12-30).
  6148. * configs/sim/mount/defconfig: Converted to use kconfig-frontends
  6149. tools (2013-21-31).
  6150. * configs/z16f2800100zcog/nsh: Add a Z16F NSH configuration. Does not
  6151. yet work (2014-1-1).
  6152. * arch/arm/src/stm32/stm32_serial.c: Single-wire UART support from
  6153. Thomas Grubler (2014-1-2).
  6154. * tools/configure.c and mkdeps.c: Fixes for Windows build issues
  6155. from Max Holtzberg (2014-1-4).
  6156. * configs/olimex-stm32-p107/nsh/Make.defs: Add native Windows build
  6157. support for the Olimex STM32 P107. From Max Holtzberg (2014-1-4).
  6158. * Makefile.win: Changes for native Windows build: Fix creation of
  6159. a .version file if one does not exist. Make sure that the APPDIR
  6160. environment variable is set before configuring. From Max Holtzberg
  6161. (2014-1-4).
  6162. * configs/viewtool-stm32f107/src/stm32_ssd1289.c: Add support for
  6163. Viewtool SSD1289-based LCD (untested on initial checkin) (2013-1-5).
  6164. * arch/arm/include/syscall.h and armv7-a/syscall.h: Add the syscall.h
  6165. header file needed for the Cortex-A architecture (2014-1-5).
  6166. * arch/arm/src/a1x/a1x_serial.c: Remove bad flow control logic. Add
  6167. missing interrupt handling logic for UART4-7 (2014-1-6).
  6168. * nuttx/tools/mkconfig.c: Cast size to unsigned in calculation of
  6169. CONFIG_RAM_END to avoid complains about integer overflow (2013-1-6).
  6170. * nuttx/tools/mkconfig.c: Back out the last change, this causes
  6171. problems for assembly language. How to prevent the integer over-
  6172. flow warnings? (2014-1-6).
  6173. * arch/arm/src/a1x/a1x_serial.c: Handle BUSY interrupt (2014-1-6).
  6174. * arch/arm/src/armv7-a/arm_head.S and arm_pghead.S: Add more nop's
  6175. after enabling the MMU. The cortex-a8 seems to need these
  6176. (2014-1-7).
  6177. * arch/arm/src/a1x/a1x_serial.c: Correct handling of the BUSY
  6178. interrupt (2014-1-7).
  6179. * include/sys/types.h: Add a bogus rsize_t type (2014-1-7).
  6180. * libc/stdio/lib_gets_s.c: Add a quick'n'dirty implementation of
  6181. gets_s() which replaces gets() in C11 (2014-1-7).
  6182. * libc/stdio/lib_fopen.c: Add support for new C11 exclusive open
  6183. ("x") (2014-1-7)
  6184. * include/threads.h: First crude cut at a C11 threads.h header
  6185. file (just maps to pthreads) (2014-1-7).
  6186. * libc/stdio/lib_libfgets.c: Common implementation supports all
  6187. of the slightly different requirements of gets(), gets_s(), and
  6188. fgets() (2014-1-7).
  6189. * arch/arm/include/stm32/chip.h and chip/stm32f103ze_pinmap.h:
  6190. various fixes for STM32F103ZE SPI3. From Steve Redler IV
  6191. (2014-1-7).
  6192. * graphics/nxsu/Make.defs: Typo that crept into build in recent
  6193. NX reorganization. Found by Steve Redler IV (2014-1-7).
  6194. * graphics/nxsu/: Another typo from the
  6195. recent NX reorganization from Steve Redler IV (2014-1-7).
  6196. * graphics/nxbe/nxbe_closewindow.c, nx_close.c, nx_constructwindow.c,
  6197. nx_open.c, and nx_openwindow.c: Needs to use kuzalloc and kufree,
  6198. not umm_zalloc and umm_free. Additional typo in nx_constructwindow.c
  6199. (wnd should be hwnd). Also noted by Steve Redler IV (2014-1-7).
  6200. * configs/viewtool-stm32f107/src/stm32_touchscreen.c (and other
  6201. files): Add support for the XPT2046 touchscreen controller on
  6202. the Viewtool LCD module connected to the Viewtool STM32F103
  6203. board (2014-1-9).
  6204. * libc/strings/lib_stpcpy.c: Add stpcpy() (2014-1-9).
  6205. * arch/arm/src/a1x/a1x_lowputc.c and a1x_serial.c: Mystery
  6206. finally solved: The A10 serial clock is the OSC24M clock.
  6207. Thanks to Alan Carvalho de Assis (2014-1-10)
  6208. * binfmt/binfmt_loadmodule.c: Fix a memory leak (2013-1-11).
  6209. * configs/stm3vldiscovery: Support for the STM32VL-Discovery board.
  6210. Contributed by Alan Carvalho de Assis (2014-1-12).
  6211. * net/net_close.c, net/Kconfig, include/nuttx/net/net.h, and
  6212. include/sys/socket.h: Add support for the SO_LINGER socket option.
  6213. Extended from logic provided by Jason Jiang. Enabled with
  6214. CONFIG_NET_SOLINGER. At this point, it has only been verified that
  6215. the changes does not seem to do any harm (2014-1-13).
  6216. * net/connect.c and net/uip/uip_callback.c: prevent tcp_connect
  6217. callback from being double freed. From Max Holtzberg (2014-1-13).
  6218. * net/Kconfig and include/nuttx/net/uip/uipopt.h: Add configuration
  6219. support for forthcoming TCP write buffering (2014-1-13).
  6220. * net/net_send_buffered.c, net_send_unbuffered.c, and
  6221. uip/uip_tcpwrbuffer.c: First set of changes to bring in Jason
  6222. Jiang's TCP write buffering logic. Still not complete but
  6223. apparently harmless if not selected. (2014-1-13).
  6224. * All of Jason Jiang's TCP write buffering logic is checked in.
  6225. Unfortunately, it does not yet work (2013-1-14).
  6226. * configs/px4fmu-v2_upstream: Configuration for testing simple
  6227. configurations on the PX4FMU v2. This version is incomplete
  6228. for the PX4 application and is not a replacement for the version
  6229. in the PX4 GIT repository.
  6230. * fs/fat/fs_fat32.c: A correction to FAT cluster allocation from
  6231. Tridge via Lorenz Meier (2014-1-14).
  6232. * net/net_clone.c: If CONFIG_NET_TCP_WRITE_BUFFERS is selected,
  6233. then the socket-related write buffering information must copied
  6234. with the other cloned socket data (2014-1-14).
  6235. * net/net_close.c: If CONFIG_NET_TCP_WRITE_BUFFERS is selected,
  6236. then it is necessary to free the write buffer callback structure
  6237. when the socket is closed (2014-1-14).
  6238. * fs/fat/fs_fat32.c: Fix some root directory logic that was
  6239. conditionally done only for FAT 32. Apparently this needs to
  6240. done for all FAT types. From Tridge via Lorenz Meier
  6241. (2014-1-14).
  6242. * arch/arm/src/armv6-m/up_doirq.c and armv7-m/up_doirq.c and all
  6243. implementations of up_maskack_irq() for all Cortex-M architectures: Do
  6244. not disable and enable the IRQ on each interrupt. Because (1)
  6245. interrupts are already disabled on interrupt entry, (2) this
  6246. interferes with controlling the IRQ interrupt setting from interrupt
  6247. handlers, and (3) up_disable_irq() does not work anyway so that this
  6248. has never done anything (2014-1-15).
  6249. * All implementations of up_disable_irq() for all Cortex-M3 and M4
  6250. architectures: To enable an interrupt on the Cortex-M3/4 CPU, you
  6251. need to set a bit in the ISER registet on the Cortex-M3/4 CPU, you
  6252. need to set a bit in the ISER register. To disable the interrupt, you
  6253. need to set a bit in the ICER register. Existing logic was trying to
  6254. disable interrupts by clearing the bit in the ISER register. That will
  6255. not work; writing a '0' to the ISER register has no effect. That
  6256. means that up_disable_irq() was doing nothing! It turns out that that
  6257. is not really important because up_disable_irq() is not really used
  6258. for that purpose. But some spurious STM32 ADC interrupts have been
  6259. reported to me and this turned out to be the cause in that case. My
  6260. concern now that up_disable_irq() works is that there may now be
  6261. unmasked bugs that leave devices in the disabled state? Thanks to
  6262. Manuel Stühn for the tip(2014-1-15).
  6263. * libc: Move strtol(), strtoll, strtoul(), strtoull(), and strtod() from
  6264. libc/string to libc/stdlib where they belong (2014-1-16).
  6265. * configs/Kconfig: Board configuration sub-directory can now be
  6266. specified. The default need not be used. This is really only
  6267. useful when CONFIG_ARCH_BOARD_CUSTOM is selected and there is no
  6268. meaningful default sub-directory (2014-1-16).
  6269. * configs/Kconfig: Backed out the previous change for two reasons:
  6270. (1) it has a bad side effect in that the sub-directory setting
  6271. no longer tracks the board setting, and (2) you still can't
  6272. source the Kconfig file from the custom board directory (2014-1-16).
  6273. * Makefile.unix, Makefile.win, and configs/Kconfig: After thinking a
  6274. little harder, I re-implemented the backed-out custom configuration
  6275. feature. The new version does not have bad side-effect (1) (but still
  6276. has bad side-effect (2)) (2014-1-16).
  6277. * arch/x86/Kconfig and configs/qemu-i486/nsh/Make.defs and
  6278. ostest/Make.defs: Add a configuration option to select the -m32
  6279. compiler option when building for a 32-bit target on a native 64-bit
  6280. compiler (2014-1-18).
  6281. * include/ctype.h: Typo in macro name: iscntrl, not iscontrol (2104-1-17)
  6282. * libc/unistd/lib_getopt.c: If there are no arguments (argc == 1), then
  6283. getopt() will leave the optind variable in an undefined state (2014-1-20).
  6284. * configs/olimex-stm32-p107: Fails to build if SPI3 for UEXT is not
  6285. remapped. From Max Holtzberg (2014-1-21).
  6286. * Several network related files: Changes from Max Holtzberg to improve
  6287. how network status is reported. New controls to manage carrier
  6288. detect. (2014-1-21).
  6289. * configs/16z: Add basic support for the 16z board. The 16z board is
  6290. based on the ZiLOG ZNEOZ16F2811AL20EG part. See
  6291. https://github.com/toyaga/16z for further information (2014-1-22),
  6292. * tools/Config.mk: 'cypath' must be called if we are using a Windows
  6293. native toolchain with the Cygwin 'make' to convert paths to proper
  6294. Windows paths. From Richard Cochran (2014-1-23).
  6295. * /arch/arm/src/Makefile: dependency directory list is now computed
  6296. from the VPATH. From Richard Cochran (2014-1-23).
  6297. * arch/arm/src/efm32 and include/efm32: Basic support for the EFM3
  6298. processor family from Richard Cochran (2014-1-23).
  6299. * configs/efm32-dk3650: This is Energy Micro's development kit for
  6300. the Leopard Gecko MCU, which is an ARM Cortex-M3 device. From Richard
  6301. Cochran (2014-1-23).
  6302. * arch/arm/src/armv7-m/up_memcpy.S: Assembler changes with the gcc-47
  6303. distribution from ARM mean that we need to be explicit about branch
  6304. sizes; one or more of the wide branch opcodes results in bad table
  6305. branching. From Mike Smith (2014-1-23).
  6306. * Many files: renamed up_buttoninit() to board_button_initialize to
  6307. better conform to the naming standard. Now ONLY prototypes in
  6308. include/nuttx/arch.h (2014-1024).
  6309. * Rename up_buttons() to board_buttons() for the same reason (2014-
  6310. 1-14).
  6311. * Rename up_irqbutton() to board_button_irq() (2014-1-24).
  6312. * Rename up_ledinit() to board_led_intialize() (2014-1-24).
  6313. * Rename up_ledon() to board_led_on() and up_ledoff() to board_led_off()
  6314. (2014-1-24).
  6315. * arch/x86/src/qemu-i486/gemu_head.S: Patch from Matt Campbell
  6316. to fix 'Error: .size expression for idle_stack does not evaluate to
  6317. a constant" (2014-1-25).
  6318. * arch/arm/include/efm32, arch/arm/src/efm32, and configs/efm32-dk360:
  6319. Removed all EFM32 support. Not yet ready to be fielded (2014-1-27).
  6320. * arch/arm/src/armv7-a/arm_head.S, sama5/sam_boot.c, and several other
  6321. files: Now supports execution from NOR FLASH with .data and .bss in
  6322. SDRAM. This was not possible prior to this because .bss and .data
  6323. were initialized before SDRAM was configured. This logic is still
  6324. kind buggy. (2014-1-28).
  6325. * arch/arm/src/armv7-a/arm_head.S and arm_pghead.S: Back off to a
  6326. somewhat less efficient loop for initializing .data and .bss. The
  6327. original, efficient logic violated the ARM C ABI. It was okay when
  6328. called from boot logic, but not when called from C logic. This fixes
  6329. bugginess reported on 2014-1-28. (2014-1-29).
  6330. 7.1 2014-03-15 Gregory Nutt <gnutt@nuttx.org>
  6331. * arch/arm/src/lm/lm_serial.c: Fix cut'n'paste error that prevented
  6332. UARTS2-7 from being used with the LM4F120 Launchpad (2014-02-03).
  6333. * configs/stm32f4discovery/src: Almost everything renamed to conform
  6334. to the ever-evolving naming standard (2014-02-03).
  6335. * arch/arm/src/a1x/a1x_serial.c: Had the same cut'n'paste error
  6336. that the LM4f120 Launchpad had (2013-02-03).
  6337. * Documentation/NuttXCCodingStandard.html: Add a coding standards
  6338. document. Very boring stuff (2014-2-6).
  6339. * Several changes to restore the native Windows build (2014-2-7).
  6340. * arch/arm/src/lpc17xx/lpc17_usbhost.c: Fix an compilation error
  6341. that crept into the LPC17xx USB host driver. What happened here?
  6342. (2014-2-9).
  6343. * drivers/usbhost/usbhost_hidmouse.c and other files: Add support
  6344. for a HID boot mouse device. It compiles but is otherwise
  6345. completely untested on initial check-in (2014-2-9).
  6346. * configs/olimex-lpc1766stk/src/lpc17_hidmouse.c and hidmouse: Add
  6347. support of a test of the USB HID mouse (2014-2-9).
  6348. * drivers/usbhost/usbhost_hidmouse.c: The driver appears to be
  6349. functional. But there are usability issues: How do you use the
  6350. mouse with no cursor? The HID mouse currently emulates a touchscreen
  6351. driver. That would work in the long run for several reasons (see the
  6352. top-level TODO list for details) (2014-2-9).
  6353. * include/nuttx/input/mouse.h and drivers/usbhost/usbhost_hidmouse.c:
  6354. Defined a mouse interface that is very similar to a touchscreen
  6355. interface, but allows reporting of all mouse buttons. Also, unlike
  6356. touchscreen drivers, mouse drivers need to report positional data
  6357. with no button is pressed so that the mouse position can drive a
  6358. cursor (2014-2-10).
  6359. * drivers/usbhost/usbhost_hidmouse.c, include/nuttx/input/mouse.h, and
  6360. include/nuttx/usb/hid.h: Add support for a mouse wheel (2014-2-10).
  6361. * drivers/lcd/mio283qt9a.c and include/nuttx/lcd/mio283qt9a.h: Support
  6362. for the MIO283QT9A LCD. From Toby Duckworth (2014-2-10).
  6363. * configs/mikroe-stm32f4/src/up_mio283qt9a.c: The Mikroe STM32F4 can
  6364. now support the newer MIO283QT9A LCD. From Toby Duckworth (2014-2-10).
  6365. * MANY files changes based on complaints from the tool CppCheck. Several
  6366. latent bugs were fixed (and most likely some new typos were introduced)
  6367. (2014-2-10).
  6368. * arch/arm/include/samd and src/samd: Basic framework to support Atmel
  6369. SAMD20 Cortex-M0+ chips. Initial check-in is incomplete; this is a
  6370. work in progress (2014-2-12).
  6371. * configs/samd20-xplained: Framework to support the Amtel SAMD20
  6372. Xplained Pro. Initial check is just an unverified, rough port of
  6373. the SAM4L Xplained Pro configuration (2014-2-12).
  6374. * arch/arm/src/stm32/stm32_serial.c: Fix cloned typo: FLOWCONTROL
  6375. vs FLOWCONROL (2014-2-14).
  6376. * net/uip/uip_tcptimer.c: Back out a small part of the 6.33 write
  6377. buffering changed. David G says that this causes problems in
  6378. connecting to a server (2014-2-15).
  6379. * The basic SAMD20 Xplained Pro port is complete but still untested
  6380. (2014-2-16).
  6381. * sched/task_terminate.c: Always returns an error because the
  6382. return value was not being set correctly. From Gosha (2014-2-18).
  6383. * stm32f429i-disco/ostest-fpu: OS test for FPU-enabled system from
  6384. David Alessio (2014-2-18).
  6385. * Other misc changes to support FPU on STM32F429 Discovery from
  6386. David Alessio (2014-2-18)
  6387. * stm32f429i-disco/src: Files renamed to make more consistent
  6388. with current board file naming conventions (2014-2-18).
  6389. * stm32 SPI: Disable SPI before changing CR1 register. From David
  6390. Sidrane (2014-2-18).
  6391. * stm32 TIM: Set CCMR when selecting timer channel. From David
  6392. Sidrane (2014-2-18).
  6393. * configs/spark: Board configuration updated by David Sidrane
  6394. (2014-2-19).
  6395. * libc/stdio/lib_sscanf.c: Bug fixes from David Sidrane (2014-2-18).
  6396. * nuttx/drivers/wireless/cc3000 and nuttx/include/nuttx/wireless/cc3000:
  6397. Numerous updates to the CC3000 driver from David Sidrane (2014-2-18).
  6398. * nuttx/configs/stm3240g-eval/webserver: Converted to use the
  6399. kconfig-frontends tools by Alan Carvalho de Assis (2014-2-18).
  6400. * configs/mbed: All mbed configurations have been converted to use
  6401. the kconfig-frontends tools (unverified) (2014-2-18).
  6402. * fs/fs_opendir.c, fs_readdir.c, et al: Modified so that errors
  6403. will not be reported if you attempt to list a empty pseudo-directory
  6404. (2014-2-19).
  6405. * fs/fs_rmdir.c: 'rmdir' can now be used to remove empty directories in
  6406. the pseudo-filesystem such as might be left after umounting a
  6407. file system (2014-2-19).
  6408. * fs/fs_mkdir.c: 'mkdir' can now be used to create empty directories in
  6409. the pseudo-filesystem (2014-2-19).
  6410. * drivers/lcd/mio283qt9a.c: Bug fix from Toby Duckwork (2014-2-19).
  6411. * fs/fs_rename.c: 'rename' can now be used to rename nodes in the
  6412. pseudo-filesystem (2014-2-19).
  6413. * arch/arm/src/samd/sam_sercom.c: Move some common SERCOM logic
  6414. from the USART-specific files to a share-able file where it can
  6415. also be used by SPI and I2C drivers (2014-2-19).
  6416. * arch/arm/src/samd/sam_spi.c: Add framework for a SAMD SPI driver.
  6417. The initial check-in is a crude port of the SAMA5 SPI driver with
  6418. a lot of missing logic (2014-2-19).
  6419. * arch/arm/src/lm/lm_lowputc.c and lm_serial.c: Several errors
  6420. are unmasked with UARTs > UART2 are enabled. From Gosha (2014-2-19).
  6421. * arch/arm/src/samd/sam_spi.c: The SPI driver is code complete,
  6422. but untested (2014-2-20).
  6423. * configs/olimex-lpc1766stck/ftpc: Configuration convert to use
  6424. the kconfig-frontends tools by Alan Carvalho de Assis (2014-2-20).
  6425. * fs/fs_mkdir.c: 'unlink' can now be used to remove things from the
  6426. pseudo-filesystem. A new configuration option as been added:
  6427. CONFIG_DISABLE_PSEUDOFS_OPERATIONS that effectively can be set
  6428. back out these recent changes in rmdir, mkdir, unlink, and rename
  6429. for operations on the pseudo-filesystem (2014-2-20).
  6430. * Kconfig: Add an option to select default values for configuration
  6431. variables based upon whether you want a smaller footprint or more
  6432. features. CONFIG_DEFAULT_SMALL is used in sched/Kconfig and
  6433. fs/Kconfig and in apps/. It turns out this this is not very useful
  6434. if you are modifying existing configurations because then the
  6435. defaults do not apply (2014-2-20).
  6436. * arch/arm/src/sam34/chip/sam4e_vectors.h: Add vector definitions
  6437. for the SAM4E (2014-2-21).
  6438. * arch/arm/src/sam34/chip/sam4e_memorymap.h: Add SAM4E memory map
  6439. (2014-2-21).
  6440. * arch/arm/src/sam34/sam4e_gpio.h, sam4e_periphclks.h, and chip/sam4e_pio.h:
  6441. Add PIO support for the SAM4E (2014-2-21).
  6442. * configs/stm3220g-eval/nsh/defconfig: Converted to use kconfig-frontends
  6443. by Alan Carvalho de Assis (2014-2-10)
  6444. * configs/*/defconfig: Comment out all CONFIG_APPS_DIR settings. These
  6445. should not be set in the default configurations because we don't know
  6446. where the apps/ directly will reside until configuration time (2014-2-21).
  6447. * arch/arm/src/sam34/chip/sam4e_pinmap.h: SAM4E pin multiplexing
  6448. definitions (2014-2-21).
  6449. * sched/sched_processtimer.c and fs/procfs/fs_procfscpuload.c: Add
  6450. logic to measure and calculate the CPU load percentage. From David
  6451. Alessio (2014-2-22).
  6452. * sched/sched_processtimer.c, sched_cpuload.c, fs/procfs/fs_procfscpuload.c,
  6453. and fs_procfscpuload.c: CPU load logic extended to keep counts on each
  6454. thread. The per-thread CPU is now reported in the procfs under
  6455. <pid>/loadavg (2014-2-23).
  6456. * include/stddef.h: ptrdiff_t is defined twice in stddef.h and also in
  6457. sys/types.h. stdef.h is the correct location for the definition, but
  6458. it includes sys/types.h so, at least for now, the definition will be
  6459. retained in sys/types.h (2014-2-25).
  6460. * net/net_close.c: Fix one place where the connection reference count
  6461. was not being decremented. This is really a cosmetic change BUT
  6462. when CONFIG_DEBUG_NET is enable, it will cause assertions (2014-2-25).
  6463. * arch/arm/src/sama5/sam_adc.h: Fix typos in the SAMA5 ADC register
  6464. definition header file (2014-2-26).
  6465. * arch/arm/src/sam34: The port to the SAM4E is code complete (2014-2-16).
  6466. * include/cxx: Fix some bad idempotence definitions in header files
  6467. (2014-2-27).
  6468. * sched/sched_cpuload.c: Change calculation of the total count when the
  6469. time constant related delay elapsed. The total count is now always
  6470. guaranteed to add up to 100% (excepting only truncation errors)
  6471. (2014-2-27).
  6472. * fs/procfs/fs_procfscpuload.c and fs_procfsproc.c: Remove the newline
  6473. at the end of the percentage so that the returned strings can be
  6474. printed on the same line as other values (2014-2-27).
  6475. * sched/Kconfig, sched_cpuload.c, and nuttx/sched/sched_processtimer.c:
  6476. An asynchronous, "external" clock may now be used to drive the CPU
  6477. load calculations for more accurate load measurements when needed
  6478. (2014-2-27).
  6479. * configs/*/defconfig: If CONFIG_NSH_LIBRARY=y then set CONFIG_NSH_READLINE=y
  6480. otherwise the CLE will be selected by default the next time that
  6481. make menuconfig is used (2014-2-28).
  6482. * include/cxx/cstdbool: Ignore _Bool8 if CONFIG_C99_BOOL8=y. (2014-2-28).
  6483. * configs/*/defconfig: Set CONFIG_DEFAULT_SMALL on all tiny MCU
  6484. configurations (2014-2-28).
  6485. * configs/stm3240g-eval/nsh: Configuration converted to use the
  6486. kconfig-frontends tools (2014-2-28).
  6487. * configs/*/ostest: Removed most OS test configurations (except in a few
  6488. cases where there was some good argument to retain the ostest
  6489. configuration) (2014-2-28).
  6490. * configs/stm3240g-eval/nsh2: Configuration converted to use the
  6491. kconfig-frontends tools (2014-3-1).
  6492. * configs/stm3220g-eval/nsh2: Configuration converted to use the
  6493. kconfig-frontends tools (2014-3-1).
  6494. * configs/stm3210e-eval/nsh: Configuration converted to use the
  6495. kconfig-frontends tools (2014-3-1).
  6496. * configs/stm3210e-eval/nsh2: Configuration converted to use the
  6497. kconfig-frontends tools (2014-3-1).
  6498. * configs/lincoln60/nsh: Configuration converted to use the
  6499. kconfig-frontends tools (2014-3-1).
  6500. * configs/lpcxpresso-lpc1768/nsh: Configuration converted to use the
  6501. kconfig-frontends tools (2014-3-1).
  6502. * configs/nucleus2g/nsh: Configuration converted to use the
  6503. kconfig-frontends tools (2014-3-1).
  6504. * configs/vsn/nsh: Configuration converted to use the kconfig-frontends
  6505. tools (2014-3-1).
  6506. * configs/mirtoo/nsh: Configuration converted to use the kconfig-frontends
  6507. tools (2014-3-1).
  6508. * configs/pic32-starterkit/nsh: Configuration converted to use the
  6509. kconfig-frontends tools (2014-3-1).
  6510. * configs/pic32-starterkit/nsh2: Configuration converted to use the
  6511. kconfig-frontends tools (2014-3-1)
  6512. * configs/pic32mx7mmb/nsh: Configuration converted to use the
  6513. kconfig-frontends tools (2014-3-1).
  6514. * configs/ubw32/nsh: Configuration converted to use the kconfig-frontends
  6515. tools (2014-3-1).
  6516. * configs/sim/nsh2: Configuration converted to use the kconfig-frontends
  6517. tools (2014-3-1).
  6518. * configs/lm3s6432-s2e/nsh: Configuration converted to use the
  6519. kconfig-frontends tools (2014-3-1)
  6520. * configs/lm3s8962-ek/nsh: Configuration converted to use the
  6521. kconfig-frontends tools (2014-3-1).
  6522. * configs/eagle100/nsh: Configuration converted to use the
  6523. kconfig-frontends tools (2014-3-1).
  6524. * configs/stm32f4discovery/src/Makefile: Fix typo: stm32_pwm.c not
  6525. stm32_psm.c. Noted by Max Kriegleder (2014-3-1).
  6526. * configs/lpc4330-xplorer/nsh Configuration converted to use the
  6527. kconfig-frontends tools (2014-3-1).
  6528. * configs/ea3152/ostest: Configuration converted to use the
  6529. kconfig-frontends tools (2014-3-1).
  6530. * configs/stm3210e-eval/RIDE, nxlines, and nxtext: Remove some old
  6531. style configurations that are not worth converting to use the
  6532. kconfig-frontends tools (2014-3-2).
  6533. * configs/stm3210e-eval/nx: Configuration converted to use the
  6534. kconfig-frontends tools (2014-3-2).
  6535. * configs/mirtoo/nxffs: Configuration converted to use the
  6536. kconfig-frontends tools (2014-3-2).
  6537. * arch/arm/src/lpc2378/Kconfig: Create Kconfig file for the LPC2378.
  6538. Change most configuration variable names to avoid collisions with
  6539. other platforms (2014-3-2)
  6540. * configs/olimex-lpc2378/nsh: Configuration converted to use the
  6541. kconfig-frontends tools (2014-3-2)
  6542. * configs/olimex-lpc1766stk/nx: Configuration converted to use the
  6543. kconfig-frontends tools (2014-3-2)
  6544. * configs/lpcxpresso-lpc1768/nx: Configuration converted to use the
  6545. kconfig-frontends tools (2014-3-2)
  6546. * configs/lm3s8962-ek/nx: Configuration converted to use the
  6547. kconfig-frontends tools (2014-3-2)
  6548. * configs/sim/nx: Configuration converted to use the kconfig-frontends
  6549. tools (2014-3-2)
  6550. * configs/c5471evm/nettest: Configuration converted to use the
  6551. kconfig-frontends tools (2014-3-3)
  6552. * configs/olimex-strp11/nettest: Configuration converted to use the
  6553. kconfig-frontends tools (2014-3-3)
  6554. * configs/eagle100/nettest: Configuration converted to use the
  6555. kconfig-frontends tools (2014-3-3).
  6556. * configs/ez80f910200zco/nettest: Configuration converted to use the
  6557. kconfig-frontends tools (2014-3-3).
  6558. * configs/stm3220g-eval/nettest: Configuration converted to use the
  6559. kconfig-frontends tools (2014-3-3).
  6560. * configs/stm3240g-eval/nettest: Configuration converted to use the
  6561. kconfig-frontends tools (2014-3-3).
  6562. * configs/sim/nettest: Configuration converted to use the kconfig-frontends
  6563. tools (2014-3-3).
  6564. * configs/ez80f910200zco/dhcpd: Configuration converted to use the
  6565. kconfig-frontends tools (2014-3-3).
  6566. * configs/stm3220g-eval/dhcpd: Configuration converted to use the
  6567. kconfig-frontends tools (2014-3-3).
  6568. * configs/stm3240g-eval/dhcpd: Configuration converted to use the
  6569. kconfig-frontends tools (2014-3-3).
  6570. * configs/lpcxpresso-lpc1768/dhcpd: Configuration converted to use the
  6571. kconfig-frontends tools (2014-3-3)
  6572. * configs/olimex-lpc1766stk/usbmsc: Configuration converted to use the
  6573. kconfig-frontends tools (2014-3-3)
  6574. * configs/nucleus2g/usbmsc: Configuration converted to use the
  6575. kconfig-frontends tools (2014-3-3)
  6576. * configs/lpcxpresso-lpc1768/usbmsc: Configuration converted to use the
  6577. kconfig-frontends tools (2014-3-3)
  6578. * configs/stm3210e-eval/usbmsc: Configuration converted to use the
  6579. kconfig-frontends tools (2014-3-3)
  6580. * configs/hymini-stm32v/usbmsc: Configuration converted to use the
  6581. kconfig-frontends tools (2014-3-3)
  6582. * configs/ea3131/usbmsc: Configuration removed. It could not possible
  6583. useful because there is no MCI driver for the EA3131 (2014-3-3)
  6584. * configs/mcu123-lpc214x/usbmsc: Configuration converted to use the
  6585. kconfig-frontends tools (2014-3-3)
  6586. * configs/teensy/nettest: Configuration converted to use the kconfig-frontends
  6587. tools (2014-3-3).
  6588. * configs/*/dhcpd: Add missing DHCPD configuration settings (2014-3-3).
  6589. * configs/stm32f4discovery/pm: Configuration converted to use the
  6590. kconfig-frontends tools (2014-3-4)
  6591. * configs/stm3210e-eval/pm: Configuration converted to use the
  6592. kconfig-frontends tools (2014-3-4)
  6593. * configs/stm3240g-eval/nxconsole: Configuration converted to use the
  6594. kconfig-frontends tools (2014-3-4)
  6595. * configs/stm3210e-eval/nxconsole: Configuration converted to use the
  6596. kconfig-frontends tools (2014-3-4)
  6597. * configs/stm3240g-eval/telnetd: Configuration converted to use the
  6598. kconfig-frontends tools (2014-3-4)
  6599. * configs/stm3220g-eval/telnetd: Configuration converted to use the
  6600. kconfig-frontends tools (2014-3-4)
  6601. * fs/fat/fs_fat32.c: Fix an error in the FAT logic that can cause file
  6602. corruption. The error conditions are rare and only seen with very
  6603. large files. From Andrew Tridgell. This replaces a previous, partial
  6604. fix for the same problem (2014-3-4).
  6605. * configs/hymini-stm32v/usbserial: Configuration converted to use the
  6606. kconfig-frontends tools (2014-3-4)
  6607. * configs/ea3131/usbserial: Configuration converted to use the
  6608. kconfig-frontends tools (2014-3-4)
  6609. * configs/mcu123-lpc214x/usbserial: Configuration converted to use the
  6610. kconfig-frontends tools (2014-3-4)
  6611. * configs/olimex-lpc1766stk/thttpd: Configuration converted to use the
  6612. kconfig-frontends tools (2014-3-4)
  6613. * configs/lpcxpresso-lpc1768/thttpd: Configuration converted to use the
  6614. kconfig-frontends tools (2014-3-4)
  6615. * configs/eagle100/thttpd: Configuration converted to use the
  6616. kconfig-frontends tools (2014-3-4)
  6617. * configs/eagle100/httpd: Configuration converted to use the
  6618. kconfig-frontends tools (2014-3-4)
  6619. * configs/ez80f910200zco/httpd: Configuration converted to use the
  6620. kconfig-frontends tools (2014-3-4)
  6621. * configs/c5471evm/httpd: Configuration converted to use the
  6622. kconfig-frontends tools (2014-3-4)
  6623. * configs/eagle100/nxflat: Configuration converted to use the
  6624. kconfig-frontends tools (2014-3-4)
  6625. * configs/sim/touchscreen: Configuration converted to use the
  6626. kconfig-frontends tools (2014-3-4)
  6627. * configs/sim/pashello: Configuration converted to use the
  6628. kconfig-frontends tools (2014-3-4)
  6629. * configs/sim/nx11: Configuration converted to use the
  6630. kconfig-frontends tools (2014-3-4)
  6631. * configs/ez80f910200zco/nsh: Configuration converted to use the
  6632. kconfig-frontends tools (2014-3-4)
  6633. * configs/ez80f910200zco/poll: Configuration converted to use the
  6634. kconfig-frontends tools (2014-3-4)
  6635. * configs/olimex-lpc1766stk/slip-httpd: Configuration converted to use the
  6636. kconfig-frontends tools (2014-3-4)
  6637. * configs/c5471evm/nsh: Configuration converted to use the
  6638. kconfig-frontends tools (2014-3-5)
  6639. * configs/compal_e99/nsh_compalram: Configuration converted to use the
  6640. kconfig-frontends tools (2014-3-5)
  6641. * configs/compal_e99/nsh_highram: Configuration converted to use the
  6642. kconfig-frontends tools (2014-3-5)
  6643. * configs/mcu123-lpc214x/composite: Configuration converted to use the
  6644. kconfig-frontends tools (2014-3-5)
  6645. * configs/olimex-strp711/nsh: Configuration converted to use the
  6646. kconfig-frontends tools (2014-3-5)
  6647. * configs/amber/hello: Configuration converted to use the
  6648. kconfig-frontends tools (2014-3-5)
  6649. * configs/micropendous3/hello: Configuration converted to use the
  6650. kconfig-frontends tools (2014-3-5)
  6651. * configs/teensy/hello: Configuration converted to use the
  6652. kconfig-frontends tools (2014-3-5)
  6653. * configs/teensy/nsh: Configuration converted to use the
  6654. kconfig-frontends tools (2014-3-5)
  6655. * arch/avr/Kconfig, avr32/Kconfig, at32uc3/Kconfig, atmega/Kconfig, and
  6656. at90usb/Kconfig: Reshuffle lots of AVR-related configuration names to
  6657. make space for AVR32. Populate AVR32 Kconfig file (2014-3-5).
  6658. * configs/avr32dev1/ostest: Configuration converted to use the
  6659. kconfig-frontends tools (2014-3-5)
  6660. * configs/avr32dev1/nsh: Configuration converted to use the
  6661. kconfig-frontends tools (2014-3-5)
  6662. * configs/ntosd-dm320/nettest: Configuration converted to use the
  6663. kconfig-frontends tools (2014-3-5)
  6664. * configs/ntosd-dm320/nsh: Configuration converted to use the
  6665. kconfig-frontends tools (2014-3-5)
  6666. * configs/ntosd-dm320/poll: Configuration converted to use the
  6667. kconfig-frontends tools (2014-3-5)
  6668. * configs/ntosd-dm320/thttpd: Configuration converted to use the
  6669. kconfig-frontends tools (2014-3-5)
  6670. * configs/ntosd-dm320/udp: Configuration converted to use the
  6671. kconfig-frontends tools (2014-3-5)
  6672. * configs/ntosd-dm320/uip: Configuration converted to use the
  6673. kconfig-frontends tools (2014-3-5)
  6674. * arch/Kconfig, arch/arm/Kconfig, configs/ea3131/Kconfig,
  6675. configs/ea3131/pgnsh/defconfig, configs/ea3131/src/up_fillpage.c,
  6676. configs/ea3152/Kconfig, nuttx/configs/ea3152/src/up_fillpage.c,
  6677. include/nuttx/page.h, and tools/cfgdefine.c: Add configuration
  6678. settings for the on-demand paging option (2014-3-5).
  6679. * configs/ea3131/pgnsh: Configuration converted to use the
  6680. kconfig-frontends tools (2014-3-5)
  6681. * configs/qemu-i486/ostest: Configuration converted to use the
  6682. kconfig-frontends tools (2014-3-5)
  6683. * configs/qemu-i486/nsh: Configuration converted to use the
  6684. kconfig-frontends tools (2014-3-5)
  6685. * Many files: Use common naming for all buildroot toolchains
  6686. (2014-3-5).
  6687. * Many files: Use common naming for rest of the toolchains (2014-3-5).
  6688. * configs/ne64badge/ostest and demo9s12nec64/ostest: Configurations
  6689. converted to use the kconfig-frontends tools (2014-3-5)
  6690. * fs/nxffs/nxffs_open.c: Missing call to nxffs_freeentry() causes
  6691. memory leak. From Lzyy (2014-3-6).
  6692. * fs/nxffs/nxffs_stat.c: Looks like stat() has the same problem as
  6693. the one reported by Lzyy (2014-3-6).
  6694. * configs/skp16c26/ostest: Configuration converted to use the
  6695. kconfig-frontends tools (2014-3-6)
  6696. * configs/us7032evb1/ostest: Configuration converted to use the
  6697. kconfig-frontends tools (2014-3-6)
  6698. * configs/us7032evb1/nsh: Configuration converted to use the
  6699. kconfig-frontends tools (2014-3-6)
  6700. * configs/mx1ads/ostest: Configuration converted to use the
  6701. kconfig-frontends tools (2014-3-6)
  6702. * configs/pjrc-8051: Configuration converted to use the kconfig-frontends
  6703. tools (2014-3-6)
  6704. * configs/rgmp/arm/default: Configuration converted to use the
  6705. kconfig-frontends tools (2014-3-6)
  6706. * configs/rgmp/arm/nsh: Configuration converted to use the
  6707. kconfig-frontends tools (2014-3-6)
  6708. * configs/rgmp/x86/default: Configuration converted to use the
  6709. kconfig-frontends tools (2014-3-6)
  6710. * configs/rgmp/x86/nsh: Configuration converted to use the
  6711. kconfig-frontends tools (2014-3-6)
  6712. * configs/rgmp/x86/helloxx: Configuration converted to use the
  6713. kconfig-frontends tools (2014-3-6)
  6714. * configs/rgmp/x86/cxxtest: Configuration converted to use the
  6715. kconfig-frontends tools. This completes the conversion of all
  6716. configurations to the newer format (2014-3-6)
  6717. * Removed the CONFIG_NUTTX_NEWCONFIG setting from every defconfig
  6718. file (2014-3-6).
  6719. * The legacy, manual configuration is no longer supported by the
  6720. NuttX build system. Only the newer configurations generated by
  6721. the kconfig-frontends tools will generate viable NuttX
  6722. configurations. All board configurations in the NuttX source tree
  6723. have been converted to use the newer configuration, but if you have
  6724. some older style configurations for you board, you will need to
  6725. convert those configurations to use the kconfig-frontends tools.
  6726. See http://www.nuttx.org/doku.php?id=wiki:howtos:convertconfig for
  6727. some guidelines (2014-3-6).
  6728. * drivers/serial/Kconfig: Correct an error introduced in this file
  6729. in very recent commits (2013-3-6).
  6730. * configs/*sam*: Refresh all SAM* configurations with the latest
  6731. Kconfig files (2014-3-6).
  6732. * configs/stm32f4discovery: Refresh all configurations (except
  6733. winbuild) with the latest Kconfig files (2014-3-6).
  6734. * configs/viewtool-stm32f107: Refresh all configurations with the
  6735. latest Kconfig files (2014-3-6).
  6736. * configs/16z, mikroe-stm32f4, olimex-lpc1766stk, px4fmu-v2_upstream,
  6737. sim, and stm32f429i-disco: Refresh all configurations (2014-3-6).
  6738. * Documentation/NuttShell.html: Update per recommendations from Max
  6739. Kriegleder (2014-3-6).
  6740. * configs/pic32-starterkit, pic32mx7mmb, stm3210e-eval, stm3220g-eval,
  6741. and stm3240g-eval: Refresh all configurations with the latest
  6742. Kconfig files (2014-3-7).
  6743. * configs/qemu-i486/src: Files renamed to correspond with current
  6744. thinking about naming (2014-3-8).
  6745. * arch/x86/src/qemu/qemu_keypad.c and qemu_vga.c: New QEMU keyboard
  6746. and VGA drivers from Lizhuoyi (2014-3-8).
  6747. * configs/olimex-lpc2378/src: Files renamed to correspond with current
  6748. thinking about naming (2014-3-8).
  6749. * arch/arm/src/lpc2378/lpc23xx_i2c.c and lpc23xx_spi.c: I2C and SPI
  6750. drivers for the LPC23xx from Lizhuoyi (2014-3-8).
  6751. * arch/arm/include/tiva and src/tiva: The old lm/ directories were
  6752. renamed tiva/ to better support new products coming down the pipe
  6753. from TI (2014-3-8).
  6754. * arch/arm/include/tiva, src/tiva, and configs/: All files and all
  6755. all functions beginning with the name lm_ changed to tiva_
  6756. (2014-3-8).
  6757. * configs/: Refresh all LM3/4/Tiva configurations (2014-3-9).
  6758. * arch/arm/src/tiva/chip/tm4c_pinmap.h: Add pin multiplex definitions
  6759. for the TM4C123 (2014-3-9).
  6760. * arch/arm/src/tiva/chip/tm4c_memorymap.h: Add memory map for the
  6761. TM4C123 (2014-3-9).
  6762. * arch/arm/src/tiva/: Add GPIO and SYCONTROL register bit definitions
  6763. for the TM4C123 (2014-3-10).
  6764. * configs/tm4c123g-launchpad: Add basic board support for the
  6765. TM4C123G-Launchpad (2014-3-10).
  6766. * configs/sam4e-ek: Add basic board support for the SAM4E-EK board.
  6767. More work is needed. The initial commit is little more than the
  6768. SAM3U-EK with name changes (2014-3-10).
  6769. * configs/spark: Refresh all spark configurations (2014-3-11).
  6770. * arch/arm/src/tiva/chip/tm4c_memorymap.h: Fix typos reported by
  6771. Daniel Pereira de Carvalho (2014-2-12).
  6772. * arch/arm/src/sam34/sam_emac.c: Add an Ethernet MAC driver for the
  6773. SAM4E. The initial checkin is essentially the SAMA5D3 EMAC driver
  6774. with naming changes as appropriate (2014-3-12).
  6775. * arch/arm/src/sam34/sam_cmcc.c: Add logic to manage the Cortex-M
  6776. Cache Control block. Untested on initial check-in (2014-3-12).
  6777. * arch/arm/src/sam34/sam_emac.c: Fix EMAC pin configuration (was been
  6778. set up for RMII instead of MII). Now the driver EMAC appears to be
  6779. functional (2014-3-13).
  6780. * configs/sam4e-ek/nsh: Networking support is now enabled by default
  6781. in the NSH configuration (2014-3-13).
  6782. * arch/arm/src/sam34/sam_spi.c: Backported the SAMA5 SPI driver to
  6783. the SAM3/4 architecture. The SAMA5 version supports both multiple
  6784. SPI peripherals as needed by the SAM3A and SAM3X and also supports
  6785. DMAC (but not PDC). The initial commit is untested and may very
  6786. well have (temporarily) broken SPI for the SAM3/4/ family (2014-3-13).
  6787. * configs/sam4e-ek/src/sam_at25.c and sam_hsmci.c: Added support for
  6788. the AT25 serial FLASH. Restructured the logic that registers the
  6789. HSMCI block driver (2014-3-13).
  6790. * arch/arm/src/sam34/sam_dmac.c and sam_spi.c: Fixes to DMA in general
  6791. and to SPI in particular (2014-3-14).
  6792. * configs/sam4e-ek/nsh: DMA-based SPI and a FAT file system on the
  6793. AT25 Serial FLASH are now supported by default in the NSH configuration
  6794. (2014-3-14).
  6795. * sched/nanosleep.c: Fix a missing call to re-enable interrupts. From
  6796. Jason Jiang (2014-3-15).
  6797. 7.2 2014-04-29 Gregory Nutt <gnutt@nuttx.org>
  6798. * arch/arm/src/sam34/sam_udp.c and .h: Add a USB full speed device
  6799. driver (UDP) for the SAM4E (2014-3-17).
  6800. * Documentation/NuttxPortingGuide.html: Typo fixes from Vijay Kumar
  6801. (2014-3-18).
  6802. * arch/arm/Kconfig: Improved documentation of the use of the
  6803. BASEPRI register from Vijay Kumar (2014-3-19).
  6804. * include/nuttx/i2c.h: More typo fixes from Vijay Kumar (2014-3-19).
  6805. * arch/Kconfig and *_assert.h: Add a configuration option to enable
  6806. dumping of the USB trace buffer on assertion (2014-3-19).
  6807. * drivers/usbdev/Kconfig, arch/arm/src/sam34/Kconfig, and
  6808. drivers/usbdev/usbmsc_scsi.c: If DCD can support queuing of stall
  6809. requests, then the USB MSC stall work around delays are not necessary
  6810. (2014-3-20).
  6811. * net/netdev_findbyaddr.c: Skip network devices that are in the
  6812. "down" state. It does not make sense to consider an address match
  6813. with a "down" device. From Brennan Ashton (2014-3-20).
  6814. * configs/sam4e-ek/usbnsh: Add a NSH configuration that uses the
  6815. NSH console (2014-3-22).
  6816. * arch/arm/src/stm32/stm32_eth.c: Add IGMP hashing support. From
  6817. Manuel Stühn (2014-3-24).
  6818. * net/netdev_ioctl.c and uip/uip_input.c: IGMP-related bug fixes
  6819. from Manuel Stühn (2014-3-24).
  6820. * arch/arm/src/sam34: Add missing HSCMI configuration settings to
  6821. Kconfig; update naming to include SAM34_ (2014-3-24).
  6822. * configs/sam4e-ek/include/board.h: Update HSMCI timing to use the
  6823. CLKODD bit (2014-3-24).
  6824. * drivers/include/mtd/Kconfig, sector512.c, and include/nuttx/mtd/mtd.h:
  6825. Add a new MTD driver that can be used to contain another driver and
  6826. force its apparent sector size to be 512 bytes (2014-3-24).
  6827. * arch/arm/src/sam34/sam_lowputc.c sam_serial.c: Fix a mysterious
  6828. multithreading bug that can lock up the serial port (2014-3-14).
  6829. * drivers/usbdev/Kconfig, usbmsc.c, usbmsc.h, and usbmsc_scsi.c:
  6830. Redesign threading module used with the USB MSC driver. It was using
  6831. pthreads before and these were changed to a kernel thread. The reason
  6832. for this has to do with task grouping: A pthread is a memory of the
  6833. group of the task that started it. A kernel thread is independent of
  6834. the task that started in (other than knowing it as the parent). This
  6835. allows me to remove so kludge logic to "deparent" the pthread on
  6836. startup (2014-3-25).
  6837. * tools/astyle.sh: A code formatting tool from Lorenz Meier. This
  6838. tool should do a better job than the old tools/indent.sh tool
  6839. (2014-3-26).
  6840. * arch/arm/src/sam_hsmci.c and sam_spi.c: Add support to invalidate
  6841. cached memory if the CMCC is enabled (not yet tested, 2014-3-26).
  6842. * arch/arm/src/sam_spi.c: Add logic to handle SPI word widths > 8
  6843. (also untested on initial checkin, 2014-3-26).
  6844. * configs/sam4e-ek: All configurations updated to run with 120MHz
  6845. CPU speed and with the CMCC enabled. Calibrated delay loop
  6846. (2014-3-26).
  6847. * drivers/lcd/Kconfig: Add missing configuration for the MIO283QT-9A
  6848. LCD. Reported by Toby Duckworth (2014-3-27).
  6849. * arch/arm/include/sama5/chip.h and arch/arm/src/sama5/Kconfig: Add
  6850. support for the SAMA5D36 (2014-3-28).
  6851. * libc/strings/lib_strncpy.c: Change ordering of test and copy. Logic
  6852. would have failed if n=0; one byte was always copying before testing
  6853. for the end of the copy.
  6854. * nuttx/configs/sama5d3-xplained/: Add a board support configuration
  6855. for the Atmel SAMA5D3 Xplained board. The initial check in is not
  6856. finished. For example, it still builds to run out of NOR FLASH but
  6857. the SAMA5D Xlpained has no NOR FLASH (2013-4-28).
  6858. * arch/arm/src/sama5/sam_pmc.c and .h: Add functions to calculate
  6859. PLLACK, PCK, and MCK frequencies given the main clock frequency
  6860. (2014-3-29).
  6861. * configs/sama5d*/include/board.h, board_sdram.h, and other files:
  6862. When booting from SDRAM, we need to query the PMC registers (using
  6863. the functions in sam_pmc.c) to determine the MCK, PCK, etc. We assume
  6864. that the MCK input clock is well known main crystal oscillator
  6865. frequency (2014-3-29).
  6866. * configs/sama5d3x-ek: Change all configuration names to board-
  6867. specific names so that this are no name collisions with other
  6868. boards that have similar configuration variables (2013-3-30).
  6869. * configs/nuttx/compiler.h: Add macro UNUSED() that can be used
  6870. to eliminate warnings about variables that are set to values
  6871. that are not used (2014-3-30).
  6872. * arch/arm/src/sama5/sam_hsmci_clkciv.c: Remove HSCMI-related
  6873. functions that did not belong in sam_pmc.c and give them their
  6874. own file (2014-3-30).
  6875. * arch/arm/src/sama5/sam_boot.c: Fix some backward conditional
  6876. compilation (2014-3-30).
  6877. * libc/stdio/lib_sccanf.c: Fix a counting error in the return
  6878. value from sscanf(). Noted by kfrolov. Also, sscanf() should
  6879. return EOF if no values were converted (2014-3-30).
  6880. * include/time.h and sched/clock_settime(): Add support for
  6881. CLOCK_REALTIME. From Macs N (2014-3-31).
  6882. * libc/stdio/lib_ferror.c, lib_fread.c, lib_libfflush.c,
  6883. lib_libfread.c, and lib_libfwrite.c: Finish incomplete support
  6884. for ferror(). From Macs N (2014-3-14).
  6885. * libc/stdio/lib_ftell.c: Fix a logic error in ftell(). It was
  6886. simply using the file offset and did not take into account data
  6887. buffered in memory. From Macs N (2013-3-31).
  6888. * Add CONFIG_CLOCK_MONOTONIC that case used to disable CLOCK_MONOTONIC
  6889. for a smaller footprint (2013-3-31).
  6890. * sched/Kconfig: Menu has gotten too long. And another layer of
  6891. menuing in order to simplify this layer (2014-3-31).
  6892. * arch/arm/src/sama5_boot.c: Fix double mapping of SDRAM when executing
  6893. out of SDRAM. In this case, the SDRAM was already mapping in
  6894. arm_head.S (2014-3-31).
  6895. * arch/arm/src/sama5/chip/sam_dbgu.h: Add SAMA5D3 DBGU definition
  6896. header file (2014-3031).
  6897. * arch/arm/src/sama5/sam_dbgu.c and .h: Add support for the SAMA5D3
  6898. DBGU (2014-4-1).
  6899. * configs/sama5d3-xplained/nsh: Configurations now use the DBGU for
  6900. the serial console (instead of USART1) (2014-4-1).
  6901. * libc/stdio/lib_sccanf.c: Use stroul() vs strol() with %u format
  6902. otherwise, range of values is restricted because of sign bit
  6903. from kfrolov (2014-4-2).
  6904. * arch/arm/src/sama5/sam_boot.c, sam_irq.c, chip/sama5d3x_memorymap.h:
  6905. When running from SDRAM, vectors must lie in SRAM (2014-4-2).
  6906. * arch/arm/src/armv7-a/arm_head.S and cache.h: On start-up, make
  6907. certain that the MMU and caches are disabled (probably un-necessary)
  6908. (2014-4-2).
  6909. * arch/arm/src/sama5/sam_boot.c: If we have to copy vectors, then
  6910. make sure to clean the DCache to be sure that the copied vectors are
  6911. in the physical RAM (2014-4-2).
  6912. * arch/arm/src/sama5/sam_irq.c: After we modify the AXI MATRIX, make
  6913. sure to invalidate all caches and TLBs (probably un-necessary)
  6914. (2014-4-2).
  6915. * arch/arm/src/sama5/sam_irq.c: Set the VBAR register to zero. If
  6916. were started by a bootloader (vs. a RESET), then the VBAR register
  6917. may not be in its reset state (zero, 2014-4-3).
  6918. * arch/arm/src/sama5/sam_boot.c, sam_irq.c, and chip/sama5d3x_memorymap.h:
  6919. When booting from SDRAM, don't relocated vectors to ISRAM. Instead,
  6920. just set the VBAR register to address of the vectors in SDRAM.
  6921. * arch/arm/src/sama5/sam_clockconfig.c: BMS Fixed to match what the HW
  6922. does. From David Sidrane (2014-4-3).
  6923. * arch/arm/src/sama5/Kconfig, sam_boot.c, andsam_clockconfig.c: On some
  6924. hardware, reconfiguring the PLL while executing out of NOR FLASH causes
  6925. crashes. This was fixed by David Sidrane by implementing RAM functions.
  6926. The killer code is copied and executed from ISRAM and the crash is
  6927. avoided (2014-4-3).
  6928. * configs/sama5d3-xplained/Kconfig and include/board*.h;
  6929. configs/sama5d3x-ek/Kconfig and include/board*.h: Add support for
  6930. 528MHz CPU clock (2014-4-3).
  6931. * arch/arm/src/sama5/Make.defs: Fix a build error that occurs when
  6932. only USB device tracing is enabled (2014-4-4).
  6933. * Documentation/UsbTrace.html: Add some discussion of the USB monitor
  6934. (2014-4-4).
  6935. * nuttx/arch/arm/src/armv7-a/mmu.h: Bufferable bit did not do what
  6936. I thought it was going to do. Result was the NOR FLASH accesses
  6937. were very slow (2014-4-3).
  6938. * arch/arm/src/sama5/sam_udphs.c: Fix a case where received status
  6939. was not being cleared, causing OUT SETUP commands to fail (2014-4-6).
  6940. * arch/arm/src/tiva/tiva_syscontrol.c: Add logic for TM4C125GXL based
  6941. on logic from Daniel Carvalho with modifications. I think the
  6942. LM4F120 may have broken before as well(?). In any event, the LM4F120
  6943. also works well with this change (2014-4-7).
  6944. * Back out part of 610e2aa0c224e2936fe8009ef4a2351ce607067a: Need to
  6945. be able to select USB console devices when there is no /dev/console
  6946. enabled. Noted by Librae (2014-4-8).
  6947. * configs/*/defconfig: Increase the number of preallocated watchdogs
  6948. in all configurations that use networking or USB (2014-3-9).
  6949. * include/nuttx/syslog/syslog.h and ramlog.h: Move syslog.h and
  6950. ramlog.h to include/nutt/syslog (2014-4-10).
  6951. * sched/errno_getptr.c and getpid.c: Add some checks. If these
  6952. functions are called early in initialization before the tasking
  6953. structures are initialized, they will not behave properly
  6954. (2014-4-10).
  6955. * arch/arm/src/sama5/sam_twi.c: TWI data sending is fails to increment
  6956. the number of bytes transferred on first byte sent. From David Sidrane
  6957. (2014-4-10).
  6958. * configs/sama5d3x-ek/src: The red LED is controlled by PE24 which is
  6959. also the camera/ISI interface reset line. So if the a camera is
  6960. installed, then we must avoid controlling the red LED or we inadvertently
  6961. also reset the camera module. Noted by David Sidrane (2014-4-11).
  6962. * arch/arm/src/stm32/stm32_usbhost.c/.h and stm32_otgfshost.c: USB host
  6963. tracing added by Leo (2014-4-12).
  6964. * arch/arm/src/sama5/sam_adc.c, sam_can.c, sam_emac.c, sam_gmac.c,
  6965. sam_ssc.c, and sam_twi.c: If running from SDRAM, then BOARD_MCK_FREQUENCY
  6966. is not a constant and cannot be used in conditional compilation (2014-4-16).
  6967. * drivers/lcd/mio283qt9a.c and include/nuttx/lcd/mio283qt9a.h: Update the
  6968. MIO183QT-9A LCD driver to support reading from the LCD. From Toby
  6969. Duckworth (2014-4-16).
  6970. * arch/arm/src/stm32/chip/stm32f20xxx_pinmap.h: Correct a mapping for
  6971. SPI MOSI pin. From dlsitzer (2014-4-26).
  6972. * arm/src/sama5/sam_clockconfig.c and common/up_internal.h: Move the
  6973. un-definitions of __ramfuncs__ from the .c file to the .h file or,
  6974. otherwise, the attribute will be applied differently for the prototype
  6975. and the function definition. Sourceforge patch 38 from Luciano Neri
  6976. (2014-4-17).
  6977. * arch/arm/src/sama5/sam_emac.c: Add missing right parentheses. This
  6978. introduced in the above change and is Sourceforge patch 39 from Luciano
  6979. Neri (2014-4-17).
  6980. * configs/sama5dx-ek/include/board.h and sama5d3-xplained.h: These files
  6981. reference type xcpt_t and so must include nuttx/irq.h. This is
  6982. Sourceforge bug 25 submitted by Luciano Neri (2014-4-17).
  6983. * arch/arm/src/stm32/stm32_otgfshost.c: Some fixes related to low-speed
  6984. devices and interrupt endpoints from Leo (2014-4-17).
  6985. * configs/stm32f4discovery/src/stm32_usb.c: Add support to register
  6986. keyboard and mouse classes if so configured. From Leo (2014-4-17).
  6987. * include/nuttx/usb/usbhost: Fix some USB HID-related conditional
  6988. compilation. From Leo (2014-4-17).
  6989. * drivers/usbhost/usbhost_hidmouse.c: Don't include NAKs from the device
  6990. in the error count. From Leo (2014-4-17).
  6991. * arch/arm/src/sam34/sam_irq.c: Fix initialization of the default
  6992. priorities (2014-4-17).
  6993. * arch/arm/src/kinetis/kinetis_irq.c, lpc17xx/lpc17_irq.c, and
  6994. tiva/tiva_irq.c: Modify the logic to disables the interrupts and sets
  6995. the default interrupt priority so that it uses the ICTR to get the
  6996. number of interrupt lines/registers. This is instead of using some
  6997. fixed number of initializations based a priori knowledge of the number
  6998. of interrupt lines in the MCU. This logic is untested on some MCUs
  6999. on initial check-in0 (2014-4-17).
  7000. * arm/src/lpc17xx/Kconfig and lpc17_ethernet.c: The default interrupt
  7001. priority should be default, not the highest priority (2014-4-19).
  7002. * configs/lpcxpresso-lpc1768: Refreshed all defconfig files (2014-4-19).
  7003. * configs/olimex-lpc1766stk: Refreshed all defconfig files (2014-4-19).
  7004. * configs/zkit-arm-1769: Refreshed all defconfig files (2014-4-19).
  7005. * include/nuttx/binfmt/ieee695.h: Beginning of header file for IEEE
  7006. 695 OMF header file (2014-4-19).
  7007. * arch/arm/include/stm32/chip.h and src/stm32/Kconfig: Add support
  7008. for the STM401RE. From Frank Bennett (2014-4-20).
  7009. * README.txt, Documentation/README.html, configs/Kconfig and README.txt,
  7010. configs/nucleo-f401re: Add support for the Nucleo-F401RE board. From
  7011. Frank Bennett (2014-4-20).
  7012. * arch/arm/src/sam34/sam_rtc.c/.h: Port RTC driver from SAMA5 to
  7013. SAM3/4. From Bob Doiron (2014-4-21)
  7014. * arch/arm/src/sam34/sam4s_periphclks.h: Fix error in macros that
  7015. disable peripheral clocking. From Bob Doiron (2014-4-21)
  7016. * drivers/mmcsd/mmcsd_sdio.c/.h: Misc improvements from Bob Doiron
  7017. (2014-4-21)
  7018. * arch/arm/src/sam34/sam_hsmci.c and chip/sam_hsmci.h: Extensions
  7019. from Bob Doiron needed to support PDC-based HSMCI DMA transfers
  7020. (2014-4-21).
  7021. * configs/sam4s-xplained-pro: Support for the SAM4S Xplained Pro
  7022. board from Bob Doiron (2014-4-21).
  7023. * configs/sam4s-xplained-pro: Added card detect (kind of broken
  7024. still); added proc/vfat mounting during init to save some typing.
  7025. From Bob Doiron (2014-4-21).
  7026. * configs/sam4s-xplained-pro: Boost PLLA to 240MHz to allow USB. From
  7027. Bob Doiron (2014-4-21).
  7028. * arch/arm/src/sam34/sam_wdt.c/.h: Add watchdog driver. From Bob
  7029. Doiron (2014-4-21).
  7030. * nuttx/configs/sam4s-xplained-pro: Add board-specific watchdog
  7031. timer support. From Bob Doiron (2014-4-21).
  7032. * drivers/timer.c and include/nuttx/timer.h: Timer "upper half"
  7033. driver and lower half interface definition from Bob Doiron
  7034. (2014-40-22).
  7035. * arch/z16/src/z16f/z16f_espi.c: Add ZNEO ESPI driver (2014-4-24).
  7036. * arch/arm/src/stm32/stm32_sdio.c: The dmaflight method must
  7037. be conditioned on CONFIG_SDIO_PREFLIGHT. Noted by Pelle
  7038. Windestam (2014-4-25)
  7039. * configs/nucleo-f401re: Removed bogus references to the MPU
  7040. (2014-4-25).
  7041. * arch/z16/src/z16f_timerisr.c: Fix calculation of timer
  7042. reload and prescaler. The timer frequency was way too fast
  7043. (2014-4-25).
  7044. * arch/arm/src/stm32/stm32_otgfsdev.c and others: Sourceforge
  7045. Ticket #26. up_prioritize_irq should not be called if
  7046. CONFIG_ARCH_IRQPRIO is not defined (2014-4-25).
  7047. 7.3 2014-06-25 Gregory Nutt <gnutt@nuttx.org>
  7048. * arch/arm/src/sama5/sam_clockconfig.c: Needed function sam_pmcwait()
  7049. is needed when UDPHS, EHCI, or OHCI is configured but may not be
  7050. compiled in due to insufficient conditional logic. From Luciano Neri
  7051. (SourceForge patch #40) (2014-4-29).
  7052. * arch/arm/include/stm32/chip.h, src/stm32/Kconfig, stm32_allocateheap.c,
  7053. configs/nucleo-f401re/nsh/defconfig, and scripts/ld.script: Numerous
  7054. changes, most correcting memory usage on the Nucleo-F401RE (2014-4-30).
  7055. * /drivers/mtd/w25.c: Extended by Mark Whitehorn to support the 8Mbit
  7056. W25Q80BV part (2014-4-30).
  7057. * configs/sam4s-xplained-pro: Update LED control logic from Bob Doiron
  7058. (2014-4-30).
  7059. * drivers/timer.c and include/nuttx/timer.h: Enhanced timer interface
  7060. from Bob Doiron (2014-4-30).
  7061. * arch/arm/src/sam34/Kconfig and sam_tc.c: Enhanced timer/counter driver
  7062. from Bob Doiron (2014-4-30).
  7063. * configs/sam4s-xplained-pro/Kconfig, nsh/defconfig, and src/sam_tc.c:
  7064. The SAM4S Xplained Pro now uses the extended timer/counter features.
  7065. From Bob Doiron (2014-4-30).
  7066. * include/nuttx/arch.h and sched/os_internal.h: If the CPU load
  7067. measurements are being driven by an external clock, then the prototype
  7068. for sched_process_cpuload() must be available in include/nuttx/arch.h
  7069. (2014-4-30).
  7070. * Documentation/NuttShell.html and many defconfig files: The alternate
  7071. console device CONFIG_NSH_CONDEV must not be defined unconditionally.
  7072. This causes errors when using Telnet sessions. This was solved by
  7073. adding CONFIG_NSH_ALTCONDEV: CONFIG_NSH_ALTCONDEV enables or disables
  7074. the feature then, if enabled, CONFIG_NSH_CONDEV provides the alternative
  7075. console device name (2014-5-5).
  7076. * arch/arm/src/sam34/sam_rtt.c/.h: RTT driver from Bob Doiron. Also
  7077. added high resolution RTC emulation using the RTT for the sub-second
  7078. counter (2014-5-5).
  7079. * configs/sam4s-xplained-pro: Clean-up of LED usage and also some
  7080. integration of new timer features. From Bob Doiron (2014-5-5).
  7081. * drivers/timer.c and include/nuttx/timer.h: Timer driver updates from
  7082. Bob Doiron (2014-5-5).
  7083. * binfmt/symtab_findorderedbyname.c: Fix an error in the symbol search
  7084. function. Noted by Pelle Windestam (2014-5-6).
  7085. * arch/arm/src/stm32/stm32f40xxx_rcc.c and configs/nucleo-f401re/include/board.h:
  7086. The Nucleo-F401RE has no on-board crystals and, hence, needs to run
  7087. with the PLL input from the on-chip HSI clock (2014-5-6).
  7088. * arch/arm/src/armv7-a/arm_memcpy.S: This is the same optimized memcpy()
  7089. function that Mike Smith brought in for the ARMv7-M with minor tweaks
  7090. by David Sidrane to work with the ARMv7-A (2014-5-6).
  7091. * binfmt/libpcode, pcode.c, include/nuttx/poff.h, and binfmt/pcode.h:
  7092. Framework to support Pascal P-Code as a binary format. At present this
  7093. logic is incomplete and really nothing more than a thought experiment
  7094. to determine the feasibility of the P-code binary format (2014-5-7).
  7095. * drivers/sensors/Make.defs: Correct build dependency. Sourceforge
  7096. ticket #41 from Kosma Moczek (2014-5-8).
  7097. * drivers/serial.c, include/nuttx/serial.h, arch/arm/src/stm32/stm32_serial.c
  7098. and minor updates to all other drivers using the serial interface: Add an
  7099. rxflowcontrol method to the serial interface to better support RX flow control.
  7100. From Jussi Kivilinna (2014-5-8).
  7101. * arch/arm/include/stm32 and src/stm32: Add support for the STM32152 and
  7102. STM32162 Medium+ density parts (plus miscellaneous other improvements to
  7103. the original STM32151 logic). From Jussi Kivilinna and Sami Pelkonen
  7104. (2014-5-8).
  7105. * binfmt/binfmt_dumpmodule.c, binfmt_loadmodule.c, binfmt_unloadmdoule.c,
  7106. builtin.c, elf.c, nxflat.c, pcode.c, and include/nuttx/binfmt/binfmt.h:
  7107. Extend the binfmt interface to handle error conditions where format-specific
  7108. binfmt clean-up is needed in the event of error conditions. This is needed
  7109. by the P-Code binfmt (2014-5-8).
  7110. * binfmt/libpcode, pcode.c, include/nuttx/poff.h, and binfmt/pcode.h:
  7111. Now uses apps/interpreters/prun and is basically functional. More work
  7112. is needed because (1) it is too coupled with apps/ and (2) will not work
  7113. with CONFIG_NUTTX_KERNEL (2014-5-9).
  7114. * arch/arm/src/stm32/stm32_i2c.c: Bring in PX4 fix for I2C in very high
  7115. noise environments or with rogue perpipherals. Taken from the PX4 commit
  7116. 099b2017ccfa0fc7696f168db2a0c2e13fe5edbc by Tridge here:
  7117. https://github.com/PX4/NuttX (2014-5-10).
  7118. * include/nuttx/video/rgbcolors.h: Fix typo in several macros: RBG -> RGB.
  7119. (2014-5-12).
  7120. * drivers/mtd/ramtron.c: Add support for Fujitsu MB85RS1MT part. From
  7121. Charles Ash (2014-5-12).
  7122. * configs/sam4e-ek/src/sam_ili9325.c: Add an LCD driver for the SAM4E-EK
  7123. board. Untested on initial check-in (2014-5-13).
  7124. * configs/sam4e-ek/src/sam_ads7843e.c: Add a touchscreen driver for the
  7125. SAM4E-EK board. Untested on initial check-in (2014-5-13).
  7126. * arch/arm/src/stm32/stm32_i2c_alt.c: Add an alternative I2C implementation
  7127. for the STM32 F03 that works around errata in that part. From Patrizio
  7128. Simona (2014-5-14).
  7129. * arch/arm/src/sam34/sam_gpio.c: Fix some SAM4E compiler errors when
  7130. CONFIG_DEBUG_GPIO is enabled (2014-5-15).
  7131. * sched/sig_mqnotempty.c: Test for a valid signal number is inverted; this
  7132. function could not have been working correctly??? From eero.nurkkala
  7133. (2014-5-20).
  7134. * arch/arm/src/stm32/stm32_lowputc.c: Fix error in conditional
  7135. compilation. From Sami PelKonen (2014-5-20).
  7136. * arch/*/src/* (several files): Make sure that all references to
  7137. up_prioritize_irq() are conditioned on CONFIG_ARCH_IRQPRIO. Problem
  7138. noted by Mike Smith (2014-05-20).
  7139. * drivers/wireless/cc3000/Kconfig: Correct SPI mode for CC3000 is CPOL=0
  7140. CHPA=1. See http://processors.wiki.ti.com/index.php/CC3000_Serial_Port_Interface_(SPI)
  7141. From Jussi Kivilinna (2014-5-21).
  7142. * drivers/wireless/cc3000/cc3000.c and include/nuttx/wireless/cc3000/include/cc3000_upif.h:
  7143. Configuration has CC3000_SPI_MODE settings but source uses
  7144. CONFIG_CC3000_SPIMODE. From Jussi Kivilinna (2014-5-21).
  7145. * drivers/wireless/cc3000/cc3000drv.c: unsoliced_thread does
  7146. initialization of message queue, but main thread might block that
  7147. thread from running and use the uninitialized message queue. The main
  7148. thread must wait until unsolice_thread initializes the required
  7149. structures before proceeding. From Jussi Kivilinna (2014-5-21).
  7150. * drivers/wireless/cc3000/cc3000.c: Fix build when POLL is enabled.
  7151. From Jussi Kivilinna (2014-5-21).
  7152. * arch/arm/include/armv7-m/irq.h: Change bne to bne.n in irqrestore()
  7153. (2014-5-22).
  7154. * Many files: Convert all old-style variadic macros to the C99 form.
  7155. Recent GCC changes tightens up that behavior and can cause some problems
  7156. (at least for the IAR compiler for some reason). See
  7157. https://gcc.gnu.org/onlinedocs/cpp/Variadic-Macros.html#Variadic-Macros.
  7158. Noted by Bob Grimes (2014-5-22).
  7159. * configs/viewtool-stm32f107/nsh: Configuration refreshed (2014-5-23).
  7160. * arch/arm/src/stm32/stm32_i2c_alt.c: Final driver from Max Kriegleder et al.
  7161. Reduces footprint and fixes a bug. (2014-5-23).
  7162. * tools/configure.sh: In-place SED edit messes up permissions on windows.
  7163. From Hannes Delago (2014-5-25).
  7164. * include/nuttx/mtd/mtd.h: Needs forward reference to struct spi_dev_s.
  7165. (2014-5-25).
  7166. * arch/arm/src/stm32/stm32_i2c.c and stm32_i2c_alt.c: Back out PX4 fixes
  7167. that were reverted in the PX4 repositories (2014-5-25).
  7168. * sched/Kconfig: CONFIG_START_YEAR/MONTH/DAY are not required if the
  7169. RTC is enabled (2014-5-26).
  7170. * arch/arm/src/stm32/stm32_rtcc.c: Add retry logic to RTC initialization.
  7171. It sometimes takes longer for the RTC to initialize, at least as noted
  7172. on an F2 part. From dlsitzer (2014-5-27).
  7173. * libc/stdio/lib_snprintf.c: If the size passed to snprintf() is zero,
  7174. then snprintf() must write nothing, but instead return the size of the
  7175. buffer needed to hold the entire string. From Sami Pelkonen (2014-5-30).
  7176. * net/arp: Move arp related files from net/uip to net/arp. Files renamed
  7177. with arp_ prefix (2014-5-30).
  7178. * include/nuttx/net/arp.h and net/arp/arp_timer.c: Moved
  7179. include/nuttx/net/uip/uip-arp.h to include/nuttx/net/arp.h; moved
  7180. net/net_arptimer to arp/arp_timer.c. (2014-5-30).
  7181. * net/igmp: Moved IGMP files from net/uip to net/igmp (2014-5-30).
  7182. * net/icmp: Moved ICMP files from net/uip to net/icmp (2014-5-30).
  7183. * net/uip/uip_tcptimer.c: NET: Notify upper layer when TIME_WAIT or
  7184. FIN_WAIT_2 timeout occurs. Otherwise connections possibly won't get
  7185. freed. From Max Holtzberg (2014-6-2).
  7186. * TCP fallback allocation: Added all states in which the connections are
  7187. about to be closed. Fallback mechanism is disabled when SO_LINGER is
  7188. enabled to prevent deadlocks in netclose_disconnect(). From Max Holtzberg
  7189. (2014-6-2).
  7190. * configs/olimex-stm32_h405: Support for the Olimex STM32 H405 board
  7191. contributed by Martin Lederhilger (2014-6-3).
  7192. * net/arp/Make.defs: Fix an error introduced recently in the net/ build
  7193. (2014-6-3).
  7194. * net/iob: Add generic I/O buffering. Not currently used by anything.
  7195. (2014-6-4).
  7196. * arch/arm/include/sama5 and arch/arm/src/sama5: Basic framework to
  7197. support the SAMA5D4 family. Incomplete on initial check-in (2014-6-3).
  7198. * arch/arm/src/sama5/chip/sam_xdmac.h: Beginning of XDMAC register
  7199. definition header file (incomplete) (2014-6-4).
  7200. * arch/arm/src/sama5/chip/sam_l2cc.h: Add SAMA5D4 L2CC register definition
  7201. header file (incomplete on initial check-in) (2014-6-5).
  7202. * drivers/usbdev/cdcacm.c: Reset RX head to avoid resending last serial
  7203. data when USB cable disconnected/re-connected. From Lizhuoyi (2014-6-6).
  7204. * drivers/usbdev/pl2303.c: Same change cloned for PL2303 (2014-6-6).
  7205. * arch/arm/src/lpc2378: Fix several typos. From Lizhuoyi (2014-6-6).
  7206. * arch/arm/src/lpc17xx/lpc17_gpdma.c: Fix an error when DMA is
  7207. started: The read-modify-write fails when the DMA is started. This
  7208. is because the value read is not the same as the value set (on write
  7209. it is the number of transfers to do; on read it is the number of
  7210. transfers completed). From Lizhuoyi (2014-6-6).
  7211. * configs/sama5d4-ek: Initial board support for the SAMA5D4-EK board.
  7212. This initial check-in is basically the SAMA5D3-Xplained board support
  7213. with appropriate name changes (2014-6-6).
  7214. * stm32/arch/arm/src/stm32_serial.c: Handle configuration for the
  7215. case of 8-bit data with parity. From Freddie Chopin (2014-6-11).
  7216. * binfmt/libelf/elf.c: Fix a compilation error when CONFIG_ELF_DUMPBUFFER
  7217. is defined. From Pelle Windestam (2014-6-12).
  7218. * net/, include/nutt/net, and include/netpacket: Add support for "raw"
  7219. sockets. From Lazlo Sitzer (2014-6-12).
  7220. * arch/arm/src/sama5: Add SAMA5D4 XDMAC driver. Initial check-in is
  7221. just the DMAC driver with a few naming changes (2014-6-12).
  7222. * configs/sama5d4x-ek/ramtest: Add an SDRAM test configuration
  7223. (2014-6-14).
  7224. * libc/stdio/lib_libsnoflush.c, lib_memsistream.c, and lib_memsostream.c:
  7225. Add support for seekable memory streams (2014-6-14).
  7226. * libc/stdio/lib_rawsistream.c, and lib_rawsostream.c: Add support for
  7227. seekable raw streams (2014-6-14).
  7228. * libc/stdio/lib_stdsistream.c, and lib_stdsostream.c: Add support for
  7229. seekable standard streams (2014-6-14).
  7230. * configs/sam4x-xplained*/src/sam_buttons.c: Button interrupts not being
  7231. disabled after being detached. (2014-6-15).
  7232. * binfmt/binfmt_exec.c: Fix a critical error in exec(); argv was not
  7233. being passed (2014-6-15).
  7234. * arch/arm/src/sama5/sam_dmac.h: Fix some critical typos in the SAMA5D3
  7235. DMA definitions (2014-6-17).
  7236. * nuttx/net/net_send_unbuffered.c: Notify the device driver of the
  7237. availability of TX data. From Daniel Lazlo Sitzer (2014-6-18).
  7238. * net/net_close.c, net_send_unbuffered.c, socket.c, and uip_poll.c:
  7239. Various fixes for raw sockets from Daniel Lazlo Sitzer: (1) properly
  7240. free the socket in psock_close(), (2) socket() returns failure when
  7241. there is no free socket/connection, and (3) Set number of bytes to
  7242. transmit is set in the uip_driver_s instance (2014-6-18).
  7243. * net/tcp: Move all TCP files from net/uip to net/tcp (2014-6-18).
  7244. * net/udp: Move all UDP files from net/uip to net/udp (2014-6-18).
  7245. * net/pkt: Move all AF_PACKET files from net/uip to net/pkt (2014-6-18).
  7246. * net/Kconfig: Add option to select CONFIG_NET_GUARDSIZE (2014-6-18).
  7247. * net/net_send_buffered.c: Add checks from buffer allocation failures.
  7248. from Max/Himax (2014-6-19).
  7249. * tools/mkfsdata.pl: Apparently, the trailing the 0x00 in http server
  7250. files is seen as a bug in javascript and images. From Max/Himax
  7251. (2014-6-19).
  7252. * net/ and include/nutt/net (many files): Conversion of the TCP
  7253. write buffering logic to use I/O buffer chains (not tested on initial
  7254. check-in) (2014-6-22).
  7255. * include/time.h and sched/clock_gettime.c: Fix typo in conditional
  7256. compilation: CONFIG_CLOCK_MONOTONIC vs. CLOCK_MONOTONIC. From Manuel
  7257. Stühn (2014-6-23).
  7258. * arch/avr/Kconfig and arch/avr/src/avr32/Kconfig: Fix typos in
  7259. Kconfig files from Stefan Sperling (2014-6-23).
  7260. * net/net_send_unbuffered.c: Remove some spurious white space from
  7261. field selectors. SourceForge ticket #42 (2014-6-23).
  7262. * arch/arm/src/lpc17xx and configs/lpcexpresso-lpc1768: Added support
  7263. for the lpcxpresso's rtc handler, adc, dac, timers, pwm and mcpwm
  7264. drivers. From Max (himax) (2014-6-23).
  7265. * net/tcp/Kconfig: Cannot enable bother TCP write buffering AND raw
  7266. packet sockets. This should not logically be the case, but is because
  7267. the implementations are presently too coupled. The logic packet
  7268. socket logic in net/net_send_unbuffered.c needs to be broken out into
  7269. a separate file so that write buffered TCP and packet socket transfers
  7270. can co-exist (2014-6-23).
  7271. * net/uip/uip_pktsend.c: Move the logic that copies data into the
  7272. device buffer from net/net_send_unbuffered.c to net/uip/uip_pktsend.c.
  7273. This makes the packet socket design more consistent with TCP and UDP
  7274. (2014-6-23).
  7275. * net/: Separate net/net_send_buffered.c and net/net_send_unbuffered.c
  7276. to net/tcp/tcp_send_buffered.c, net/tcp/tcp_send_unbuffered.c, and
  7277. pkt/pkt_send.c (2014-6-24).
  7278. * include/net/if.h and /net/arp/arp_inout.c: Suppress ARP requests on
  7279. data sent from packet sockets (2014-6-24).
  7280. * include/nuttx/net/netconfig.h: Move include/nuttx/net/uip/uipopt.h to
  7281. include/nuttx/net/netconfig.h (2014-6-24).
  7282. * include/nuttx/net/netdev.h: Move include/nuttx/net/uip/uip-arch.h to
  7283. include/nuttx/net/netdev.h (2014-6-24).
  7284. * include/nuttx/net/tcp.h: Move include/nuttx/net/uip/uip-tcp.h to
  7285. include/nuttx/net/tcp.h (2014-6-24).
  7286. * include/nuttx/net/udp.h: Move include/nuttx/net/uip/uip-udp.h to
  7287. include/nuttx/net/udp.h (2014-6-24).
  7288. * include/nuttx/net/pkt.h: Move include/nuttx/net/uip/uip-pkt.h to
  7289. include/nuttx/net/pkt.h (2014-6-24).
  7290. * include/nuttx/net/icmp.h: Move include/nuttx/net/uip/uip-icmp.h to
  7291. include/nuttx/net/icmp.h (2014-6-24).
  7292. * include/nuttx/net/igmp.h: Move include/nuttx/net/uip/uip-igmp.h to
  7293. include/nuttx/net/igmp.h (2014-6-24).
  7294. * include/nuttx/net/ip.h: Move include/nuttx/net/uip/uip-ipopt.h to
  7295. include/nuttx/net/ip.h (2014-6-24).
  7296. * include/nuttx/net/uip.h: Move include/nuttx/net/uip/uip.h to
  7297. include/nuttx/net/uip.h (2014-6-24).
  7298. * net/uip/uip.h: Rename net/uip/uip_internal.h to net/uip/uip.h
  7299. (2014-6-24).
  7300. * net/iob: Add support for throttling read-ahead buffering if the
  7301. read-ahead buffering is competing with write buffering for I/O
  7302. buffers (2014-6-24).
  7303. * net/: Many files changed. Convert existing TCP read-ahead logic
  7304. to use I/O buffer chains (2014-6-24).
  7305. * net/: Clean up all TCP and UDP related naming (204-6-24).
  7306. * net/: Clean up all ICMP, IGMP, ARP, and PKT related naming
  7307. (204-6-25).
  7308. * arch/arm/src/sam34 and include/sam34: Add support for the SAM4CM
  7309. family. From Max Neklyudov (2014-6-25).
  7310. 7.4 2014-08-15 Gregory Nutt <gnutt@nuttx.org>
  7311. * arch/arm/src/stm32/stm32_i2c.c: Fix missing configuration of
  7312. GPIO pins in I2C driver. Fix from Alex D. (2014-6-25).
  7313. * NET: Fix an include file ordering problem when CONFIG_NET_STATISTICS=y.
  7314. (2014-6-26).
  7315. * include/nuttx/net/netstats.h: Move statistics from uip.h to new netstats.h
  7316. to remove nasty circular inclusion problem (2014-6-26).
  7317. * arch/arm/src/sama5: Add logic to redirect all SAMA5D4 interrupts to
  7318. the AIC (2014-6-26).
  7319. * net/route: Move routing table functions to net/route (2014-6-26).
  7320. * net/utils: Move some files into net/utils (2014-6-26).
  7321. * net/: Repartition initialization logic so that net/uip is at the bottom
  7322. of the food chain, instead of at the top.
  7323. * apps/include/hex2bin.h: The hex2bin library did not build with
  7324. debug disabled (2014-6-26).
  7325. * configs/sama5d4-ek/dramboot and src/dram_main.c: Add a boot loader that
  7326. runs from ISRAM and loads an Intel HEX file into DRAM (2014-6-26).
  7327. * configs/sama5d4-ek/nsh and scripts/: Setup the SAMA5D4-EK NSH
  7328. configuration to use the DRAMBOOT loader by default (2014-6-26).
  7329. * binfmt: Various changes associated with symbol tables. Most from Pelle
  7330. Windestam (2014-6-27).
  7331. * Networking: Add network device ioctl to access PHY registers. From Daniel
  7332. Lazlo Sitzer (2014-6-27).
  7333. * net/netdev: Move net/netdev*.c to net/netdev/netdev*.c (2014-6-27).
  7334. * arch/arm/src/sam34/chip/sam4cm_ipc.h: Add SAM4CM IPC register header
  7335. file. From Max Neklyudov (2104-6-27).
  7336. * arch/arm/src/sam34: Various fixes PMC and clock configuration for the
  7337. SAM4CM port from Max Neklyudov (2104-6-27).
  7338. * configs/sama5d4-ek/src/dram_main.c: SAMA5D4: Bootloader needs to flush
  7339. D-Cache to memory before disabling the caches (2014-6-27).
  7340. * net/Makefile: Fix a Make.defs inclusion omitted in a previous check-in
  7341. (2014-6-17).
  7342. * net/utils: Move net/uip/uip_chksum.c to net/utils/net_chksum.c
  7343. (2014-6-17).
  7344. * configs/sama5d4-ek/at25boot and src/at25_main.c: Add a configuration
  7345. that will load a bootloader into AT25 Serial FLASH (2014-6-28).
  7346. * libc/math: Change double_t to double in rint(). Add rintf() and rintl()
  7347. while we are at it (2014-6-28).
  7348. * net/iob: Fix some errors in recent network I/O buffering when stack runs
  7349. from interrupt level. Reported by Manuel Stühn (2014-6-28).
  7350. * net/sockets: Create the net/sockets directory and hook it into the
  7351. build system. Move all socket-related C files into net/socket. Move
  7352. net/net.h to net/socket/socket.h (2014-6-28).
  7353. * net/ipv6: Move IPv6 files from net/uip to net/ipv6 (2014-6-28).
  7354. * net/devif: Rename net/uip to net/devif. Rename uip/uip.h to
  7355. devif/devif.h (2014-6-28).
  7356. * net/devif: Rename many functions in net/devif from uip_* to devif_*
  7357. (2014-6-28).
  7358. * configs/sama5d4-ek/src/nsh: The SAMA5D4-EK NSH configuration now
  7359. supports the RTC by default (2014-6-29).
  7360. * arch/arm/src/sama5/Kconfig and sam_hsmci.c: Add configuration to
  7361. assign an XDMAC channel to an HSMCI (2014-6029).
  7362. * Various fixes for networking and tiny webserver from Max (2014-6-29).
  7363. * SAMA5: Various fixes related to DMA in order to get the HSMCI
  7364. driver to build for the SAMA5D4 (2014-6-29).
  7365. * SAMA5D4-EK: Fix HSMCI card-detect pin selection (2014-6-29).
  7366. * net/: Still renaming, mostly uip_* to net_* (2014-6-29).
  7367. * arch/arm/src/stm32/stm32_i2c.c and stm32_i2c_alt.c, and
  7368. libc/time/lib_daysbeforemonth.c: Make variable definitions
  7369. 'static const' when possible to save RAM usage. From Kosma
  7370. Moczek (2014-6-30).
  7371. * include/stdint.h: Correct naming of [U]INT_LEASTn_{MAX|MIN}
  7372. and [U]INT_FASTn{MAX|MIN}. From Kosma Moczek (2014-6-30).
  7373. * drivers/mtd/mtd-config: Extend erase block size to 18-bits in
  7374. order (decrease block size to 14-bits) to handle parts with large
  7375. erase blocks. From Kosma Moczek (2014-6-30).
  7376. * drivers/analog/adc.c: Remove empty ADC write method. From Kosma
  7377. Moczek (2014-6-30).
  7378. * arch/arm/src/stm32/stm32_serial.c: Unconfigure GPIO pins when
  7379. closing a serial port to prevent back effects from back-powering on
  7380. the TX pin. From Kosma Moczek (2014-6-30)
  7381. * arch/arm/src/stm32/Kconfig: Move temperature ranges from chip
  7382. selection configuration prompts. Reorder MCUs in choice menu;
  7383. remove duplicates. Add support for the STM32F103RC and RD. From
  7384. Kosma Moczek (2014-6-30)
  7385. * configs/sam4s-xplained-pro: Correct description of LEDs and
  7386. usage. From Kosma Moczek (2014-6-30)
  7387. * include/unistd.h: Some POSIX_* and _POSIX_* macros are defined
  7388. without value, whereas (as far as I can tell) the newer versions
  7389. of the standard require them to have the value corresponding to
  7390. the standard version implemented, like 200809L. Are the any plans
  7391. to clean this up? For now I've put together a quick patch that
  7392. defines those macros to 1, consistent with the rest of unistd.h.
  7393. From Kosma Moczek (2014-6-30)
  7394. * arch/arm/src/sama5/sam_memories.c: Fix some logic in conversion
  7395. of physical and virtual DRAM addresses when running out of DRAM. This
  7396. is an important bug fix for the SAMA5D3 and 4 when running out of
  7397. DRAM (2014-6-30).
  7398. * arch/arm/src/sama5/sam_pio.c: Another *critical* SAMA5D3 and 4 bug
  7399. fix: PIO clocking must be enabled for all input pins or else the
  7400. value that is read never changes. (2014-6-30).
  7401. * net/: Many more functions renamed to follow new modularization of
  7402. the networking code. This is part of an ongoing repartitioning
  7403. effort and there is still more to be done. There will be no additional
  7404. notations in this ChangeLog until the renaming is complete (2014-6-30).
  7405. * arch/arm/src/sam34/sam_emac.c, sama5/sam_emaca.c, sam_emacb.c, and
  7406. sam_gmac.c: Fix cloned error: Wrong bits being cleared before ORing
  7407. in new bits (2014-7-1).
  7408. * drivers/syslog/ramlog.c: syslog_putc needs to set the errno and
  7409. return EOF on a failure (2014-7-1).
  7410. * SAM3/4 and SAMA5 Ethernet: Fix an error in the function that
  7411. determines the number of free TX descriptors. This is an important
  7412. bugfix on busy networks (2014-7-2).
  7413. * SAM4 AES driver. Contributed by Max Neklyudov (2014-7-3).
  7414. * crypto/ and include/crypto: Beginnings of a crypto/ subsystem from
  7415. Max Neklyudov (2014-7-3).
  7416. * arch/arm/src/stm32 and fs/procfs: Add a procfs entry to show the
  7417. state of the CCM heap usage. From Pelle Winderstam (2013-7-3).
  7418. * SAMA5 OHCI: Fix an error in a DEBUGASSERT statement. Caused assertion
  7419. to fire inappropriately when a low- or full-speed device was removed
  7420. and CONFIG_DEBUG=y (2013-7-3).
  7421. * SmartFS. Fix for a bug that would show up if CONFIG_MTD_BYTE_WRITE
  7422. was not selected and the SMART sector size was larger than the mt
  7423. device's block size (like it would be if using SMARTFS on larger
  7424. flash devices). From Ken Pettit (2014-7-3).
  7425. * tools/mkdeps.c: NAME_MAX not available on SunOS; use FILENAME_MAX
  7426. or MAXNAMELEN. Noted by Douglas Beattie (2014-7-4).
  7427. * drivers/mtd/smart.c: Increase some variables from uint16_t to uint32_t
  7428. to handle larger device sizes. From Ken Pettit (2014-7-4).
  7429. * SAMA5 OHCI: Pointers to allocated port values were not being nullified
  7430. after being deallocated. This caused some assertions to fire when
  7431. debug was enabled (2014-7-4).
  7432. * include/nuttx/net/ip.h and ipopt.h: ip.h renamed ipopt.h. Moved
  7433. parts of uip.h to net.h. Renamed the rest of uip.h to ip.h. Removed
  7434. all includes of uip.h; added includes of ip.h wherever needed.
  7435. Tried to fix problems of the now missing sneak inclusions because
  7436. uip.h was removed. There are probably a few of these that were
  7437. missed! (2014-7-4).
  7438. * drivers/input/mxt.c/h and include/nuttx/input/mxt.h: Add very basic
  7439. support for the Atmel maXTouch touchscreen controller (2014-7-5).
  7440. * net/*/*.h: Start moving the private definitions from header files
  7441. at include/nuttx/net to the corresponding header file under net/.
  7442. So far pkt.h, upd.h, and igmp.h have been sanitized. Still a few
  7443. to go (2014-7-5)
  7444. * configs/sama5d4-ek/src/sam_maxtouch.c: Add board support for the
  7445. maXTouch touchscreen controller (2014-7-5).
  7446. * net/*/*.h: Finish moving the private definitions from header files
  7447. at include/nuttx/net to the corresponding header file under net/.
  7448. This additional header files have been sanitized: arp.h, icmp.h, tcp.h
  7449. (2014-7-6)
  7450. * net/: Add a few missing configuration options to the Kconfig files
  7451. (2014-7-8).
  7452. * net/iob/iob_trimhead_queue.c and socket/recvfrom.c: Important fix to
  7453. the read-ahead buffer queue management: Consumed bytes were being
  7454. trimmed from the head of the queue, but the queue head itself was
  7455. not being updated. From Rony XLN (2014-7-7).
  7456. * drivers/bch: Add configurable AES encryption support to block-to-
  7457. character (BCH) driver. This allows any block device to be accessed
  7458. as an encrypted character device. From Max Nekludov (2014-7-7).
  7459. * SAM3/4: Fix compile of sam_aes.c if CONFIG_CRYPTO_AES is defined.
  7460. From Max Nekludov (2014-7-7)
  7461. * SAMA5D3/4 I2C: Test for read or write operation was reversed. How
  7462. could this have worked before? (2014-7-7).
  7463. * SAMA5D3/4 PIO Interrupts: Correct a typo in
  7464. arch/arm/src/sama5/sam_pio.h that could disable PIO interrupt support
  7465. if only PIOE interrupts were enabled (2014-7-7).
  7466. * SAMA5D4 PIO Interrupts: Macro SAM_PION_VBASE is not defined for the
  7467. SAMA5D4 and must be replaced with a table lookup (2014-7-7).
  7468. * configs/sam*: Fix some cloned errors in SAM GPIO interrupt setup
  7469. (1014-7-7).
  7470. * arch/arm/src/sama5/Kconfig and sam_allocateheap.c: Add a
  7471. configuration option to reserve DRAM for a framebuffer when executing
  7472. out of DRAM. This optional was available before when executing out of
  7473. NOR, but needs to work a little differently in this case (2014-7-7).
  7474. * arch/arm/src/sama5/sam_lcd.c and chip/sam_lcdc.h: Adapt the SAMA5D3
  7475. LCDC driver to work with the SAMA5D4 which has no hardware cursor
  7476. (2014-7-8).
  7477. * configs/sama5d4-ek: Add options to support an LCD (2014-7-7).
  7478. * arch/arm/src/sama5/sam_twi.c: Now support the up_i2creset() method
  7479. (2014-7-9)
  7480. * drivers/input/mxt.c: Use i2c_reset() if it thinks that the bus
  7481. might by hung (2014-7-9).
  7482. * arch/arm/src/sama5/sam_pio.c/.h: Add a new interface
  7483. sam_pio_forceclk() that can be used to force PIO clocking on. I am
  7484. afraid I was too conservative with PIO clocking in the initial design;
  7485. this is the price (2014-7-9).
  7486. * arch/arm/src/sama5/sam_twi.c: Use sam_pio_forceclk() so that we can
  7487. read the current state of an open-drain output in the TWI reset logic
  7488. (2014-7-9).
  7489. * arch/arm/src/sama5/sam_pio.c/.h: Fix a typo in Schmitt trigger
  7490. configuration; Configure pin as a a vanilla input first so that final
  7491. pin configuration is more read-able (i.e., easier to debug)
  7492. (2014-7-9).
  7493. * drivers/input/mxt: The maXTouch driver works! (2014-7-10).
  7494. * configs/sama5d4-ek: The TM7000 LCD works! (2014-7-10).
  7495. * configs/sama5d4-ek/NxWM: Add an NxWM configuration (2014-7-10).
  7496. * drivers/mtc_rwbuffer.c (and others): Add an MTD layer that will add
  7497. read-ahead or write buffering to any MTD driver (incomplete) (2014-7-11).
  7498. * arch/arm/src/lpc17xx/lpc17_ethernet.c: Comment out an assertion that
  7499. is reported to fire inappropriately. From Max (2014-7-11).
  7500. * drivers/mtd (mostly): Addition rwbuffer interfaces should not be
  7501. enabled unless they are needed; if rwbuffer support is enabled, it
  7502. should not be unconditionally enabled in SMART and FTL (2014-7-11).
  7503. * libnx/nxglib/nxglib_colorcmp.c and include/nuttx/nx/nxglib.h: New
  7504. utility to compare two colors (2014-7-11).
  7505. * graphics/Kconfig and nxbe/nxbe_configure.c: The initial background
  7506. color is now configurable (2014-7-11).
  7507. * graphics/nxmu/nxmu_server.c and nxsu/nx_setbgcolor.c: Don't change
  7508. the background if the color did not really change (2014-7-11).
  7509. * arch/arm/src/sama5/sam_ldc.c and sama5d4-ek/include/board.h: Back
  7510. out the delay kludge. The actual fix to the LDC instability was to
  7511. drive the LCD at 2xMCK instead of 1xMCK (2013-7-12).
  7512. * drivers/input/mxt.c: Fix an error in the state machine (2014-7-12).
  7513. * drivers/input/mxt.c: Add thresholding so that "move" reports are not
  7514. generated unless there is a significant change in the reported
  7515. position (2014-7-12).
  7516. * SAMA5D4-EK MXT: The maXTouch should be able to handler an I2C
  7517. frequency of 400KHz. Valid interrupts should occur only on the
  7518. falling edge of the ~CHG signal (2014-7-12).
  7519. * SAMA5D3x-EK: Use larger icons in NxWM configuration instead of
  7520. scaling (2014-7-14).
  7521. * Graphics: Rename CONFIG_NX_MOUSE to CONFIG_NX_INPUT, then add
  7522. CONFIG_NX_XYINPUT_MOUSE and CONFIG_XYINPUT_TOUCHSCREEN (2014-7-16).
  7523. * drivers/input/mxt.c: Fix error in threshoold test... backward
  7524. logic (2014-7-16).
  7525. * graphics/nxconsole/nxcon_scroll.c: Fix scrolling in the NxConsole
  7526. for the case of the framebuffer device. In this case, the logic
  7527. for clearing the vacated region at the bottom was missing so garbage
  7528. up from the last, uncleared line (2014-7-17).
  7529. * drivers/audio/wm8904.c/.h and include/nuttx/audio.wm8904.h: Framework
  7530. for a WM8904 audio driver. The initial driver check-in is simply Ken
  7531. Pettit's VS1053 driver forced to compile with only WM8904 definitions
  7532. (2014-7-18).
  7533. * configs/sama5d4-ek/src/sam_wm8904.c: Add logic to configure and
  7534. initialize the WM8904 audio CODEC (2014-7-17).
  7535. * arch/arm/src/sama5/sam_sckc.c/.h and chip/sam_sckc.h: Add SAMA5
  7536. slow clock support.
  7537. * arch/arm/src/sama5/sam_pck.c and .h: Add support to use the slow
  7538. clock as the PCK clock source (2014-7-19).
  7539. * drivers/audio/wm8904.c/: The WM8904 audio driver is mostly code
  7540. complete and ready to begin initial testing (2014-7-19).
  7541. * arch/arm/src/sama5/sam_pio.c: Logic for Schmitt trigger selection
  7542. backward (2014-7-20).
  7543. * drivers/net/slip.c: Fix an error in SLIP escaping. From Max
  7544. Neklyudov (2014-7-22).
  7545. * drivers/input/Kconfg: Add missing configuration option to select the
  7546. MAX11802 touchscreen controller. From Petteri Aimonen (2014-7-22).
  7547. * arm/src/stm32/chip/stm32_dac.h: Fix typos, from Peterri Aimonen
  7548. (2014-7-22).
  7549. * arch/arm/src/stm32/stm32_otgfsdev.c: STM32 OTGFS device: Various
  7550. changes to try to reduce that amount of time in interrupts handles and
  7551. with interrupts disbled. Needs verification on other platforms. From
  7552. Petteri Aimonen (2014-7-22).
  7553. * arch/arm/src/sama5/sam_pck.c: Fix a recently introduced typo that was
  7554. being masked by some bad conditional compilation (2015=4-7-22).
  7555. * drivers/audio/wm8904.c and include/nuttx/audio/wm8904.h: Remove WM8904
  7556. driver unused parameters, clean-up comments, remove some kruft in
  7557. capability reporting (2014-7-22).
  7558. * audio/Makefile and pcm_decode.c, include/nuttx/audio/pcm_decode.c,
  7559. configs/sama5d4-ek/src/sam_wm8904.c and others: Add new framework for
  7560. the PCM decoder. It is now a 'front end' for lower-level drivers like
  7561. the WM8904 that performs the PCM decoding from end (2014-7-22).
  7562. * audio/pcm_decode.c, configs/sama5d4-ek/src/sam_wm8904.c,
  7563. drivers/audio/wm8904.c, and include/nuttx/audio/pcm.h: Rename
  7564. pcm_decode.h to pcm.h since it will hold more than just decoding
  7565. definitions. Fix some porting errors like idbg should auddbg, etc.
  7566. Add wav file header and a few low-level wav utilities (2014-7-22).
  7567. * audio/pcm_decode.c and include/nuttx/audio/pcm.h: Flesh out a few
  7568. more PCM methods, still incomplete. Re-vision PCM structure
  7569. definition (2014-7-22).
  7570. * configs/sama*: Disable MMC/SD multiblock transfers in all SAMA5D3/4
  7571. configurations. I suspect an issue but have not had time to run it
  7572. down yet so the easiest thing is simply to disable the feature for
  7573. now (2014-7-23).
  7574. * drivers/audio/audio_null.c, include/nuttx/audio/audio_null.c, and
  7575. configs/sama5d4-ek/src/sam_audio_null.c: Add a NULL audio device that
  7576. can be used to simply unit-level testing of audio decoders (2014-7/23).
  7577. * audio/pcm_decode.c, include/nuttx/audio/audio.h, and drivers/audio/audio_null.c
  7578. and wm8904.c: Add ioctls so that PCM decoder can configure the driver
  7579. bitrate, num channels, and sample width (2014-7-23).
  7580. * drivers/audio/Kconfig: Fix a typo in the audio Kconfig file,
  7581. UDIO->AUDIO (2014-7-23).
  7582. * configs/sama5d4-ek/nxwm/defconfig: The NxPlayer and audio system are
  7583. now enabled in the default configuration (although they have not yet
  7584. been fully integrated into the NxWM media player) (2014-7-23).
  7585. * configs/sama5d4-ek/nsh/defconfig: Enable the command line media player
  7586. in the NSH configuration as well (still does not work, however)
  7587. (2014-7-23).
  7588. * audio/Kconfig, audio.c, and include/nuttx/audio/audio.h: Add hooks for
  7589. fast-forward and rewind needed by CMediaPlayer; add hooks for
  7590. equalizer settings needed by the WM8904 (2014-7-24).
  7591. * drivers/audio/audio_null.c and wm8904.c: Fix some compile errors when
  7592. audio DEBUG is enabled (2014-7-24).
  7593. * SAMA5D4-EK NxWM: Configuration refreshed (2014-7-24).
  7594. * arch/arm/src/armv7-m/up_initialstate.c: Correct the initial value of
  7595. the BASEPRI register. This was apparently never being initialized!
  7596. From Max (2014-7-24).
  7597. * configs/mbed/src/up_adc.c, up_dac.c, and up_pwm.c and include/board.h:
  7598. Port ADC, DAC, and PWM logic from the configs/zkit-arm-1769. From Max
  7599. (2014-7-24).
  7600. * arch/arm/src/lpc17xx/lpc176x_rtc.c: Eliminate warnings. From Max
  7601. (2014-7-24).
  7602. * arch/arm/src/lpc17xx/lpc17_pwm.c, lpc17_timer.c, lpc17_dac.c: Mostly
  7603. cosmetic updates from Max (2014-7-24).
  7604. * arch/arm/src/lpc17xx/lpc17_adc.c and Kconfig : Added burstmode ADC
  7605. conversion mode, with CONFIG_ADC_BURSTMODE option in Kconfig. From
  7606. Max (2014-7-24).
  7607. * arch/arm/src/lpc17xx/lpc17_ethernet.c: Added option to use the kernel
  7608. worker thread to do most of the workload with CONFIG_NET_WORKER_THREAD
  7609. option in Kconfig. Eliminated a problem with PHY DP83848C : it doesn't
  7610. need a specific initialization on mbed. Critical bugfix: From time to
  7611. time (after some hours) the Ethernet receiver would lose one receive
  7612. interrupt and the IP stack never recover because there is no receive
  7613. watchdog as the transmit watchdog. From Max (2013-7-24).
  7614. * audio/pcm_decode.c: Add missing audio callback forwarding logic
  7615. (2014-7-25).
  7616. * arch/arm/armv7-a/l2cc_pl310.h: Move arch/arm/sama5/chip/sam_l2cc.h to
  7617. arch/arm/armv7-a/l2cc_pl310.h. Adjust the two corresponding Kconfig
  7618. files as well (2014-7-25).
  7619. * arch/arm/src/armv7-a/arm_l2cc_pl310.c, l2cc.h, l2cc_pl310.h, Kconfig:
  7620. Add initial support for the ARM L2CC-PL310 L2 cache (2014-7-26).
  7621. * arch/arm/src/armv7-a/cp15_cacheops.h: Rename ARMv7-A cache.h to
  7622. cp15_cache.h. Things will be broken on this commit until I get the
  7623. new cache.h in place (2014-7-26).
  7624. * arch/arm/src/armv7-a/cache.h: New cache.h file. Renames all functions
  7625. like cp15_XYZ_cache() to arch_XYZ_cache() and adds L2 cache support if
  7626. L2 cache is enabled (2014-7-26).
  7627. * arch/arm/src/sama5/*.c (many files): Change naming from cp_XYZ_cache()
  7628. to arch_XYP_cache() so that all cache operations will pick up L2
  7629. support if it is enabled (2014-7-26).
  7630. * arch/arm/src/sama5/sam_boot.c: Enables cache early in boot-up sequence
  7631. (2014-7-26).
  7632. * arch/arm/src/armv7-a/arm_l2cc_pl310.c and l2cc.h: Minor bugfixes/
  7633. improvements (2014-7-26)
  7634. * arch/arm/src/armv7-a/Kconfig: L2 Cache currently depends on
  7635. EXPERIMENTAL because it does not yet work properly (2014-7-26).
  7636. * include/nuttx/audio/audio.h: Move sub-sampling rate definitions from
  7637. nxplayer.h to audio.h (2014-7-17).
  7638. * audio/pcm_decode.c: PCM: First cut at fast forward by sub-sampling.
  7639. This design is overkill: It manages too many audio buffers. I think
  7640. that a cleaner design could do all sub-sampling in place without
  7641. managing additional audio buffers (2014-7-27).
  7642. * drivers/audio/audio_null.c: Was not returning buffers to the upper
  7643. level (2014-7-27)
  7644. * include/nuttx/audio/audio.h and audio/pcm_decode.c: Misc bugfixes
  7645. while integrating fast forward by sub-sampling (2014-7-27).
  7646. * audio/pcm_decode.c: Back out a change; the fix really belongs in
  7647. NxPlayer. (2014-7-27).
  7648. * arch/arm/src/lpc17xx/lpc17_adc.c and arch/arm/src/lpc17xx/lpc17_ethernet.c:
  7649. ADC updates from Max. Also fixes some syntax errors that I introduced in
  7650. the last commit (2014-7-28).
  7651. * audio/pcm_decode.c: Fix a logic error in a DEBUG assertion (2014-7-28).
  7652. * configs/sama5d4-ek/src/sam_pmic.c, dram_main.c, sama5d4-ek.h, Makefile.
  7653. Add logic to disable the faulty PMIC. This must be done with JP23 open.
  7654. It is performed only from the DRAMBOOT loader (2014-7-28).
  7655. * drivers/audio/wm8904.c: Fix some compile problems with the WM8904 driver
  7656. due to recent audio subsystem changes (2014-7-28).
  7657. * arch/arm/src/sama5/sam_timerisr.c and configs/sama5d3*/include/board*.h:
  7658. Correct system timer frequency. Input clock is MCK/2, not MCK
  7659. (2014-7-29).
  7660. * fs/fs_automount.c and include/nuttx/fs/automount.h (plus hooks in other
  7661. files): Add support for an auto-mounter that will automatically mount
  7662. and unmount a file system a media is inserted and removed (2014-7-29 .
  7663. * configs/sama5d4-ek/src/sam_automount.c: Add automounter support for
  7664. HSMCI0 and HSMCI1 (2014-7-29).
  7665. * configs/sama5d4-ek/Kconfig and src/sam_hsmci.c: Minor warning/latent
  7666. bug clean-up of auto-mounter logic (2014-7-29).
  7667. * configs/sama5d4-ek/README.txt anand src/sam_nsh.c, fs/fs_automount.c,
  7668. and include/nuttx/fs/automount.h: Cosmetic updates to comments and
  7669. README files and some naming (2014-7-29).
  7670. * configs/sama5d4-ek/nsh/defconfig and nxwm/defconfig: The SAMA5D4-EK
  7671. NSH and NxWM configurations now have the auto-mounter configured to
  7672. automatically mount the FAT file system on HSMCI0 at /mnt/sdcard
  7673. (2014-7-29).
  7674. * arch/arm/src/sama5/sam_hsmci.c: Add method to do RX transfer without
  7675. DMA. The 8-byte SCR transfer was failing silently with the DMA
  7676. transfer, leaving the SD card in single bit mode (2014-7-29).
  7677. * arch/arm/src/sama5/sam_hsmci.c: Fix a problem on card insertion/removal
  7678. callback handling. Interrupts were being disable so that the callbacks
  7679. occurred with interrupts disabled. This resulted in loss of some
  7680. interrupts and some not-so-good behaviors. The solution is to perform
  7681. all callbacks on the work thread unconditionally (2014-7-30).
  7682. * nuttx/fs/fs_automount.c: Auto-mounter: Fix state setting. Not
  7683. harmful other than it can cause a debug assertion to fire if you
  7684. manually unmount the media before removing it which is, of course,
  7685. what you are supposed to do (2014-7-30).
  7686. * arch/arm/src/sama5/sam_hsmci.c and README files: Re-enable TX DMA and
  7687. verify that DMA writes to the SD card are functional. They are so now
  7688. TX DMA is re-enabled in the driver. This might affect the SAMA5D3
  7689. platforms where the TX DMA problem was found. The SAMA4D3 and 4 use
  7690. the same HSMCI driver. Much has change since then and it is not
  7691. surprising that DMA is now functional. However, the has not be re-
  7692. verified on the SAMA5D3 which has a different DMA controller
  7693. (2014-7-30).
  7694. * arch/arm/src/sama5/sam_dmac.c, sam_pio.c, and sam_pioirq.c: Changes
  7695. needed for a clean SAMA5D3 build after all of the recent SAMA5D4
  7696. changes (2014-7-31).
  7697. * configs/sama5d3x-ek/nsh/defconfig: Refresh configuration (2014-7-31).
  7698. * configs/sama5d3x-ek/Kconfig, README.txt, src/sam_wm8904.c, Makefile,
  7699. sam_nsh.c, and sama5d3x-ek.h: Add support for the WM8904 audio CODEC
  7700. (2014-7-31).
  7701. * configs/sama5d3x-ek/nxplayer: Add a configuration to support the
  7702. command line NxPlayer (2014-7-31).
  7703. * audio/audio.c: More debug output (2014-7-31).
  7704. * configs/sama5d3x-ek/README.txt: REAME update (2014-7-31).
  7705. * drivers/audio/wm8904.c: Was not saving I2S interface instance
  7706. (2014-7-31).
  7707. * sched/sem_wait.c: Use set_errno() and get_errno(). Direct access
  7708. inside the OS may not be supported in the future (2014-7-31).
  7709. * drivers/audio/audio_null.c, vs1053.c, wm8904.c, include/nuttx/audio/audio.h,
  7710. libc/audio/lib_buffer.c: Change how the end of the audio stream is
  7711. detected by the leaf audio component. This used to be done by looking
  7712. for the first partial buffer. That does not work with the in-place
  7713. sub-sampling performed by the PCM decoder: That always reduces the
  7714. size of the buffer so that all buffers only partially filled by the
  7715. time they get to the leaf. Now, a flag is set in the audio buffer
  7716. flags set to indicate the final buffer in the stream (2014-7-31).
  7717. * arch/arm/src/sama5/sam_ssc.c: Needs to account for data offset in
  7718. audio buffer (2014-7-31).
  7719. * drivers/audio/wm8904.c: Can't reset the WM8904 unless we also
  7720. reinitialize all registers. Try to get a saner timeout based on
  7721. sample rate, bits-per-sample, and buffer size (2014-7-31).
  7722. * arch/arm/src/sama5/Kconfig and sam_ssc.c: SCC Frame Synch Delay and
  7723. Start Delay are now configurable (2014-8-1).
  7724. * drivers/audio/wm8904_debug.c: Add logic to dump WM8904 registers
  7725. (2014-8-1).
  7726. * drivers/audio/wm8904.c: Fix an error in write logic. I am not sure
  7727. why this fixes the problem (2014-8-1).
  7728. * include/nuttx/audio/wm8904.h (and implementers of the interface):
  7729. the WM8904 driver needs to know the frequency of the MCLK in order
  7730. to set up the FLL to generate the correct bitrate (2014-8-1).
  7731. * WM8904: Add an option to control WM8904 register dumping (2014-8-2).
  7732. * WM8904: Add logic to program the FLL to achieve the bitrate
  7733. (2014-8-1).
  7734. * arch/arm/src/sama5/sam_ssc.c: Verify that the requested bit width
  7735. is supported. Correct some alignment tests that depend upon the data
  7736. bit width (2014-8-2).
  7737. * audio/pcm_decode.c: Correct the end of audio stream handling. It was
  7738. not being detected before so that logic was not examining the WAV
  7739. header in the first buffer of the next audio file (2014-8-2).
  7740. * configs/sama5d3x-ek/nxplayer/defconfig: Update with last WM8904
  7741. settings (2014-8-2).
  7742. * drivers/audio/wm8904.c: Disable the FFL at the end of playing
  7743. (2014-8-2).
  7744. * include/nuttx/audio/wm8904.h: Fix wm8904_dump_registers macro:
  7745. Wrong number of parameters (2014-8-2).
  7746. * arch/arm/src/sama5/sam_pck.* and all SAMA5D board header files:
  7747. Add Main clock as an option for the PCK clock source (2014-8-3).
  7748. * configs/sama5d*-ek/Kconfig and src/sam_wm8904.c: Add option to
  7749. use MAINCK as source fort he WM8904 MCLK (2015-8-3).
  7750. * include/nuttx/audio/wm8904.h, configs/sama5d3x-ek/src/sam_wm8904.cm,
  7751. and sama5d4-ek/src/sam_wm8904.c: WM8904 interface enable method now
  7752. returns the previous interrupt state (2014-8-4).
  7753. * configs/sama5d3x-ek/src/sama5d3x-ek.h and sama5d4-ek/src/sama5d4-ek.h:
  7754. Correct the WM8904 interrupt configuration, active high level. Fix
  7755. that and don't pull-up (2014-8-4).
  7756. * configs/sama5d3x-ek/src/sam_wm8904.cm, and sama5d4-ek/src/sam_wm8904.c:
  7757. Correct ordering of some WM8904initialization: Need to provide MCLK
  7758. before initializing the WM8904, not after (2014-8-4).
  7759. * drivers/audio/wm8904.c and .h: Correct calculation of bitrate (I am
  7760. not sure why this is correct). LR clock divisor is now a constant 32-
  7761. bits per frame. Conditioned out interrupt logic; it is not being used.
  7762. Also added some FLL lock interrupt/poll logic (which was subsequently
  7763. disabled) (2014-8-4).
  7764. * SAMA5D3x-EK and SAMA4D4-EK: Add/update usage documents for media
  7765. players (2014-8-4).
  7766. * drivers/audio/wm8904.c and .h: Add reset logic to put the part back
  7767. in its initial state after playing each WAV file. Base samples per
  7768. second on frame length, not bits-per-sample. Use a different frame
  7769. length for 8-bit and 16-bit data (2014-8-4).
  7770. * arch/arm/src/sama5/sam_hsmci.c: TX DMA is again disabled for the
  7771. SAMA5D3 family. Although it works with the SAMA5D4 (which has a
  7772. different DMA subsystem), it does not work with the SAMA5D3 (2014-8-5,
  7773. see also 2014-7-30).
  7774. * audio/pcm_decode.c: Handle errors in the PCM WAV file in a way that
  7775. the Nxplayer can recover gracefully: Send and Audio Complete message
  7776. (2014-8-5).
  7777. * arch/*/src/*/*_timerisr.c, up_initialize.c, and up_internal.h: Re-name
  7778. up_timerinit() to up_timer_intialaize() for compatibility with new
  7779. tickless OS interface name (2014-8-6).
  7780. * arch/*/src/*/Make.def: Don't build existing timer initialization
  7781. logic if CONFIG_SCHED_TICKLESS is defined (2014-8-6).
  7782. * include/nuttx/arch.h: First cut at platform-specific interfaces
  7783. needed to support tickless OS option (2014-8-6).
  7784. * sched/Kconfig: Add a new option CONFIG_SCHED_TICKLESS to enable the
  7785. tickless OS. This is a work in progress but should be relatively
  7786. safe since the new features are only enabled by this option (Safer
  7787. but not 100% safe since it does not protect from typos and other
  7788. dumb errors) (2014-8-6).
  7789. * arch/sim/src/Makefile, up_idle.c, up_internal.h, and up_tickless.c:
  7790. Add support for a simulated interval timer support verification of
  7791. the tickless OS (2014-8-6).
  7792. * include/nuttx/arch.h: Added another tickless OS interface to get
  7793. the timer remaining on the interval timer (2014-8-6).
  7794. * include/nuttx/clock.h, sched/clock_initialize.c and clock_internal.h:
  7795. If CONFIG_SCHED_TICKLESS is defined, then the global variable
  7796. g_system_timer does not exist (2014-8-6).
  7797. * sched/Makefile: Don't build in sched_processtimer.c if
  7798. CONFIG_SCHED_TICKLESS is selected (2014-8-6).
  7799. * sched/clock_gettime.c and clock_settime.c: Use the clock_systimer()
  7800. macro, do access the g_system_timer() global directly (2014-8-6).
  7801. * sched/clock_systimer.c: Uses interval timer interfaces to get the
  7802. time if CONFIG_SCHED_TICKLESS is selected (2014-8-6).
  7803. * sched/sched_timerexpiration.c, Makefile, os_internal.h,
  7804. sched_addreadytorun.c, sched_processtimer.c, sched_unlock.c,
  7805. wd_cancel.c, wd_internal.h, and wd_start.c: Implements the
  7806. tickless OS (2014-8-7).
  7807. * Many files: Remove CONFIG_DISABLE_CLOCK. Why? This option is not
  7808. really very useful and was only selected in a few unusable, mostly
  7809. unusable configurations anyway (m9s12/ostest, kl25z/minnsh,
  7810. z180/ostest, 8051, sh1, z80, and z8). The only real loss is probably
  7811. to the kl25z/minsh configuration . And with the addition of the
  7812. tickless OS, I just wanted to make the pain go away (2014-8-7).
  7813. * Many files: Change CONFIG_MSEC_PER_TICK to CONFIG_USEC_PER_TICK.
  7814. This gives more options for system timers in general, but more
  7815. importantly, let's us realize higher resolution for the case of
  7816. CONFIG_SCHED_TICKLESS=y -- of course, at the risk of some new
  7817. integer overflow problems 2014-8-7).
  7818. * Many files: Change all time conversions. Yech. New timer units
  7819. in microseconds breaks all existing logic that used milliseconds
  7820. in the conversions. Something likely got broken doing this,
  7821. probably because I confused a MSEC2TICK conversion with a TICK2MSEC
  7822. conversion (2014-8-7).
  7823. * arch/sim/src/up_tickless.c and sched/sched_timerexpiration.c: The
  7824. tickless OS now appears fully functional and passes the OS test
  7825. on the simulator with no errors (2014-8-7).
  7826. * sched/mqueue: Move POSIX message queue files from sched/ to
  7827. sched/mqueue (2014-8-8).
  7828. * sched/signal: Move signal-related files from sched/ to sched/signal
  7829. (2014-8-8).
  7830. * sched/pthread: Move all pthread files from sched/ to sched/pthread
  7831. (2014-8-8).
  7832. * sched/semaphore: Move POSIX counting semaphore files from sched/ to
  7833. sched/semaphore (2014-8-8).
  7834. * sched/environ: Move environment files from sched/ to sched/environ
  7835. (2014-8-8).
  7836. * sched/group: Move group logic from sched/ to sched/group (2014-8-8).
  7837. * sched/wdog: Move watchdog functions from sched/ to sched/wdog
  7838. (2014-8-8).
  7839. * sched/irq: Move interrupt dispatch logic from sched/ to sched/irq
  7840. (2014-8-8).
  7841. * sched/clock: Move clock functions from sched/ to sched/clock
  7842. (2014-8-8).
  7843. * sched/timer: Move POSIX timer files from sched/ to sched/timer
  7844. (2014-8-8).
  7845. * sched/paging: Move page fill sources from sched/ to sched/paging
  7846. (2014-8-8).
  7847. * sched/init: Move initialization functions from sched/ to sched/init
  7848. (2014-8-8).
  7849. * sched/errno: Move errno related files from sched/ to sched/errno
  7850. (2014-8-8).
  7851. * sched/task: Move task control files from sched/ to sched/task
  7852. (2014-8-8).
  7853. * sched/: Move a few files in sched/ that did not seem to have a home to
  7854. sched/signal and sched/task (2014-8-8).
  7855. * sched/sched: Move scheduler files from sched/ to sched/sched
  7856. (2014-8-8).
  7857. * (Many files): Replace os_internal.h with sched/sched.h in files that
  7858. actually reference something in sched.h (2014-8-8).
  7859. * sched/task/exit.c: Move sched/exit.c to sched/task/exit.c (2014-8-8).
  7860. * (Many files): Remove os_internal.h it has been replace by several new
  7861. header files under sched/. There have been some sneak inclusion paths
  7862. via os_internal.h, so expect a few compilation errors for some
  7863. architectures (2014-8-8).
  7864. * Documentation/NuttxPortingGuide.html, arch/sim/src/up_tickless.c, and
  7865. include/nuttx/arch.h: Fix errors in documentation and comments related
  7866. to the Tickless OS. From Vijay Kumar (2014-9-9).
  7867. * arch/arm/src/sama5/sam_tc.c and .h: Can now handle non-constant
  7868. BOARD_MCK_FREQUENCY. Also now supports methods to attach user
  7869. interrupt handlers (2014-8-9).
  7870. * drivers/audio/audio_null.c: Fix an error in a variable name
  7871. (2014-8-9).
  7872. * arch/arm/src/sama5/sam_oneshot.c, .h, Kconfig, Make.defs, sam_tc.c,
  7873. .h, and sam_adc.c: Add support for a one-shot timer wrapper around
  7874. the low-level timer/counter logic. This also involved several changes
  7875. that rippled into the ADC driver (untested) (2014-8-9).
  7876. * arch/arm/src/sama5/sam_freerun.c, .h, Kconfig, and Make.defs: Add
  7877. support for a free-running timer wrapper around the low-level
  7878. timer/counter logic (2014-8-9).
  7879. * arch/arm/Kconfig, src/sama5/sam_tickless.c, Kconfig, Make.defs: Use
  7880. the one-shot and free-running timers to implement tickless OS support
  7881. for SAMA5 (2014-8-9).
  7882. * arch/arm/src/sama5/sam_oneshot.c and sam_tc.c: Fix several bugs in
  7883. timer/counter interrupt logic and one-shot timer logic. Comments and
  7884. debug output updated in additional files (2014-8-10).
  7885. * sched/wdog/wd_start.c: Correct a bug in Tickless OS support: logic to
  7886. detect changes in head of timer list was wrong (2014-5-10).
  7887. * sched/sched/sched_timerexperation.c, sched.h, and wdog/wd_start.c: In
  7888. tickless mode, need to stop the interval timer before inserted a new
  7889. delay into the timer list. Otherwise, the time is incorrect on the
  7890. first entry of the list (2014-8-11).
  7891. * arch/arm/src/sama5/sam_freerun.c and sam_oneshot.c: Correct bad time
  7892. conversion, 1000000 not 1000 to convert seconds to microseconds
  7893. (2014-8-11).
  7894. * sched/sched/sched_timerexpiration.c: Fix inaccurate time conversion.
  7895. Remove MSEC_PER_TICK from calculation and convert uint32_t to uin64_t
  7896. (2014-8-11).
  7897. * libc/time/lib_localtime.c, private.h, tzfile.h and several header and
  7898. make-related files: Adds support for localtime. From Max Neklyudov
  7899. (2014-8-12)
  7900. 7.5 2014-09-28 Gregory Nutt <gnutt@nuttx.org>
  7901. * clock/clock_systimespec.c and sched/clock/clock_gettime.c: When
  7902. reading the system timer, don't read a struct timespec, convert it
  7903. to a fake tick count, then back to a timespec (2014-8-15).
  7904. * sched/clock/Make.defs, clock_gettime.c, clock_settime.c, include/time.h,
  7905. nuttx/clock.h, configs/vsn/src/sif.c: Remove CLOCK_ACTIVETIME. It is non-
  7906. standard, unused, and gets in the way of maintaining clocks (2014-8-15).
  7907. * libc/time/lib_localtime.c: Modified to that the coding style is much
  7908. closer to NuttX coding style. The local header files private.h and
  7909. tzfile.h were removed and incorporated into lib_localtime.c. All
  7910. conditional compilation within lib_localtime.c that unconditionally
  7911. evaluated to FALSE was removed (2014-8-15).
  7912. * drivers/net/Kconfig and include/nuttx/arch.h: Standardize a PHY
  7913. interrupt attachment interface (2014-8-16).
  7914. * configs/Kconfig, sama5d3-xplained, sama5d3x-ek, and sama5d4-ek:
  7915. Convert existing board specific PHY interrupt interfaces to use newly
  7916. defined standard interface (2014-8-16).
  7917. * include/net/slip.h: Move SLIP prototypes from net.h to slip.h
  7918. (2014-8-16).
  7919. * include/net/net.h and net/: Fix some missing function headers
  7920. (2014-8-16).
  7921. * drivers/net/phy_notify.c, include/nuttxarch.h, net/phy.h, and
  7922. ioctl.h: Add support for an ioctl that can be used to notify an
  7923. application when there is a change in the network status signalled
  7924. by a PHY interrupt (2014-8-16).
  7925. * drivers/net/phy_notify.c, include/net/if.h, ioctl.h, netdev.h, phy.h,
  7926. and net/netdev/netdev_ioctl.c: Finishes the ioctl definition to
  7927. subscribe to PHY events. Revamp network ioctl signature to support
  7928. arguments other than struct mii_ioctl_data (2014-8-16).
  7929. * arch/arm/src/stm32/stm32_eth.c: Modified to support the change to the
  7930. network ioctl signature changes. Also add support for new ioctl to
  7931. setup PHY event notifications (2014-8-16).
  7932. * arch/arm/src/sama5/sam_emaca.c, sam_emacb.c, and sam_gmac.c: Implement
  7933. all network ioctls, including the new ioctl to setup PHY event
  7934. notifications (2014-8-16).
  7935. * include/net/if.h: Add some helper macros to make the code that uses
  7936. the ioctls a little more compact (2014-8-17).
  7937. * libc/stdio/lib_sscanf.c: NuttX libc tried to guess how many characters
  7938. to parse, extracted them into a buffer, then ran strtol() on that
  7939. buffer. That guess is often wrong. A better approach would be to
  7940. call strtol() directly on the input data, using the endptr return
  7941. value to determine how many characters to skip after parsing. From
  7942. Kosma Moczek (2014-8-18).
  7943. * net/arp/arp_dump.c: Add missing configuration option to select
  7944. dumping of ARP packet headers. Move ARP dumping logic from
  7945. arp_inout.c to its own file (2014-8-18).
  7946. * net/arp/arp_out.c: Move arp_out() from arp_inout.c to its own file
  7947. (2014-8-18).
  7948. * net/arp/arp_arpin.c: Move arp_arpin() from arp_inout.c to its own file
  7949. (2014-8-18).
  7950. * net/arp/arp_ipin.c: Rename arp_inout.c to arpipin.c because that is
  7951. all that is left in the file (2014-8-18).
  7952. * net/arp/arp_format.c: Move the logic that formats an ARP packet into a
  7953. separate file where it can be re-used. (2014-8-18).
  7954. * net/arp/arp_out.c and net/pkt/pkt_send.c: Change how the IFF_NOARP
  7955. flag is handled. This should be set only when data is moved into the
  7956. buffer and cleared after tested by the ARP logic. Setting it globally
  7957. can cause packets to be sent with no valid MAC addresses (2014-8-18).
  7958. * net/arp/arp_send.c: Partial implementation of logic to send ARP
  7959. requests to assure that an IP address mapping is present in the ARP
  7960. table (2014-8-18).
  7961. * net/arp/arp_poll.c: Finished the implementation of logic to send ARP
  7962. requests. Complete, fully hooked into the networking logic, and ready
  7963. for test (but still untested) (2014-8-18).
  7964. * net/icmp/icmp_ping.c, net/socket/net_sendfile.c, sendto.c,
  7965. net/tcp/tcp_send_buffered.c, and tcp_send_unbuffered.c: If
  7966. CONFIG_NET_ARP_SEND is enabled, then all ICMP, TCP, and UDP send
  7967. operations will call arp_send() before attempting the real send
  7968. operation. arp_send() will check if the IP address mapping is in
  7969. the ARP table and, if not send ARP requests periodically until it is.
  7970. This eliminates losing the first outgoing message because there is not
  7971. mapping in the ARP table (2014-8-18).
  7972. * net/arp/arp_notify.c, arp_send.c, arp_arpin.c, and arp.h: Add
  7973. signalling logic so that we do not have to wait so long with the
  7974. network responses to ARP requests quickly (2014-8-19).
  7975. * include/nuttx/lcd/ili9341.h: Add a register definition header file
  7976. for the ILI9341 LCD (2014-8-19).
  7977. * net/arp/Kconfig: ARP request logic is no longer EXPERIMENTAL
  7978. (2014-8-20).
  7979. * net/arp/arp_send.c: ARP request logic needs to do the right thing if
  7980. (1) the address is a broadcast or multicast address, and (2) if the
  7981. IP address lies outside of the network. Problem noted by Manuel Stuehn
  7982. (2014-8-20).
  7983. * configs/sam4e-ek/src/Kconfig and src/sam_ili9341.c: Add ILI9341-based
  7984. LCD driver. Fully functional (2014-8-20).
  7985. * configs/sam4e-ek/nxwm: Add an NxWM configuration for the SAM4E-EK
  7986. (2014-8-21).
  7987. * configs/viewtool-stm32f107: Refresh some configurations (2014-8-20).
  7988. * nuttx/sched/wdog: If we run out of pre-allocated watchdog times, the
  7989. logic will allocate additional timers from the heap. A reserve of
  7990. pre-allocated watchdog timers is maintained so that there will always
  7991. be timers available for interrupt handlers (2014-8-21).
  7992. * include/nuttx/wdog.h (and many affected files): wdog.h does not
  7993. contain any application interface, only internal OS interface.
  7994. Further, it is non-standard. Move wdog.h from include/ to
  7995. include/nuttx (2014-8-21).
  7996. * Documentation/NuttxPortingGuide.h: For the same reason as above, move
  7997. the description of the watchdog timer interfaces from the Users Guide
  7998. to the Porting Guide (2014-8-21).
  7999. * arch/arm/src/stm32/stm32_uart.h: STM32 F401: Correct support for
  8000. USART6 on this chip. From Freddie Chopin (2014-8-22).
  8001. * nuttx/sched/wdog and include/nuttx/wdog.h: Add support for statically
  8002. allocated watchdog timer (also eliminate some unconventional typing)
  8003. (2014-8-22).
  8004. * configs/p112/ostest and tools/mkdeps.c: Changes to try to get P112 to
  8005. compile with latest SDCC (it still does not) (2014-8-22).
  8006. * sched/group/group_leave.c: Need to release the address environment when
  8007. the task group is released (2014-8-22).
  8008. * mm/mm_granreserve.c and and mm_granmark.c: gran_reserve(): Add a
  8009. new function to reserve unallocatable regions in the granule heap
  8010. (2014-8-23).
  8011. * include/nuttx/pgalloc.h and mm/mm_pgalloc.c: Add a simple page
  8012. allocator based on the existing NuttX granule allocator. I am not
  8013. certain if the granule allocator is sufficiently deterministic for
  8014. long range use, but it gets get a page allocator in place for testing
  8015. very quickly (2014-8-23).
  8016. * ARMv7-A: Add skeleton implementation and build support for process
  8017. address environments (2014-8-23).
  8018. * Many files: Change CONFIG_ADDRENV to CONFIG_ARCH_ADDRENV; change how
  8019. it is selected -- the architecture must first declare support
  8020. (2014-8-24).
  8021. * include/nuttx/addrenv.h, arch/arm/include/arch.h, armv7-a/irq.h, and
  8022. other files: Add addrenv.h; First cut at Cortex-A address environment
  8023. structures; Add configuration options to setup address environment
  8024. (2014-8-24).
  8025. * addrenv interface changes: up_addrenv_create() may need to create
  8026. .text and .bss/.data separately because of differing access privileges
  8027. (read/execute vs read/write). And, as a consequence, up_addrenv_vaddr()
  8028. needs to be split into up_addrenv_vtext() and up_addrenv_vdata().
  8029. Affects several files (2014-8-24).
  8030. * arch/arm/src/armv7-a/arch_coherent_cache.c: New file. These cache
  8031. operations are called from the ELF loader in order to flush D-cache
  8032. and invalidate I-cache after an ELF module has been loaded into memory.
  8033. With this change, ELF modules work correctly on the SAMA5/Cortex-A
  8034. platform (2014-8-24).
  8035. * configs/sim: Add build support for ELF modules. Useless at the moment
  8036. because there is no x86 relocation logic support (2014-8-25).
  8037. * configs/sim: Update some sim/ defconfig files. This now automatically
  8038. switches them to x86_64 builds (2014-8-25).
  8039. * arch/arm/include/arch.h, armv7-a/irq.h, src/armv7-a/arm_addrenv.c,
  8040. armv7-a/arm_mmu.c/.h, sama5/Kconfig, Make.defs, sam_pgalloc.c,
  8041. include/nuttx/addrenv.h, arch.h, pgalloc.h, mm/Kconfig, mm_pgalloc.c,
  8042. sched/init/os_start.c: Cortex-A/SAMA5 address environment support is
  8043. code complete (untested) (2014-8-25).
  8044. * arch/arm/include/tiva and src/tive: Add support for the TI CC3200.
  8045. From Jim Ewing (2014-8-26).
  8046. * configs/cc3200-launchpad: Add support for the TI CC3200 Launchpad.
  8047. From Jim Ewing (2014-8-26).
  8048. * arch/*/*_blocktask.c, arch/*/*_unblocktask.c, and arch/*/*_exit.c:
  8049. Add address environment support to all implementation of up_block_task(),
  8050. up_unblock_task(), and _exit() (2014-8-31).
  8051. * arch/arm/src/stm32/stm32_flash.c and chip/stm32_flash.h,
  8052. include/nuttx/progmem.h, and configs/vsn/src/sif.c: STM32 FLASH fixes:
  8053. use size_t instead of uint16_t, make interface more generic. From
  8054. Freddie Chopin (2014-8-28).
  8055. * Kconfig, Makefile.unix, Makefile.win, syscall/Kconfig,
  8056. arch/arm/src/armv6-m/svcall.h, up_svcall.c, armv7-m/svcall.h, and
  8057. up_svcall.c: The system call library can now be built with
  8058. CONFIG_NUTTX_KERNEL. New selection: CONFIG_LIB_SYSCALL (2014-8-28).
  8059. * arch/arm/src/armv7-a/syscall.h: "Add an ARMv7-A system call definition
  8060. header file (2014-8-28).
  8061. * arch/arm/include/armv7-a/irq.h, arm_syscall.c, syscall/Kconfig,
  8062. syscall_funclookup.c, syscall_nparms.c, and syscall_stublookup.c:
  8063. ARMv7-A: Add SYSCALL handling logic (2014-8-28).
  8064. * nuttx/fs/, drivers/, and sched/: Remove explicit references to errno.
  8065. That is a problem from within the kernel for certain configurations
  8066. (there are still more references to be fixed) (2014-8-28).
  8067. * sched/clock/clock.h: In some configurations, g_system_tmer must be
  8068. extern'ed as a private variable in the OS (2014-8-28).
  8069. * include/errno.h and nuttx/clock.h: errno and g_system_timer must be
  8070. handled in a special way if there are external modules (2014-8-28).
  8071. * include/sys/syscall.h: System definitions should depend on
  8072. CONFIG_LIB_SYSCALL not CONFIG_NUTTX_KERNEL (2014-8-28).
  8073. * arch/arm/src/armv7-a: Rename syscall.h to svcall.h to work around
  8074. some include path name collisions; fix some compilation errors in
  8075. SYSCALL logic when debug is enabled (2014-8-29).
  8076. * arch/arm/include/arm/syscall.h and armv7-a/syscall.h: Fix ARM7/9
  8077. and Cortex-A SYSCALLs: For threads in SVC mode, the SVC instructions
  8078. clobbers R14. This must be taken account in the inline assembly
  8079. (2014-8029).
  8080. * arch/arm/src/armv7-a/arm_syscall.c: Fix hard coded values in
  8081. dispatch_syscall() inline assembly. Back out/correct part of last
  8082. change; that was going the wrong direction. With this change, the
  8083. apps/examples/elf test works with address environments and call
  8084. gates! (2014-8029).
  8085. * Many, many files: Renamed CONFIG_NUTTX_KERNEL to CONFIG_BUILD_PROTECTED.
  8086. Added configuration CONFIG_BUILD_KERNEL that will be used to generate
  8087. a kernel (only) with full process support and will execute programs
  8088. only from a file system. This new configuration is defined but only
  8089. partially integrated (2014-8-29).
  8090. * tools/refresh.sh: Add a tool to make refreshing configurations easier
  8091. when you want to do a lot of them (2014-8-29).
  8092. * tools/mksyscall.c: Build syscalls that do not need header files (there
  8093. are none, however) (2014-8-30).
  8094. * include/nuttx/errno.h syscall/syscall.csv and syscall_funclookup.c:
  8095. Yet more issues with errno access via syscalls fixed (2014-8-30).
  8096. * Makefile.unix, Makefile.win, Directories.mk, FlatLibs.mk, ProtectedLibs.mk,
  8097. and KernelLibs.mk: Separate the common directory selection logic
  8098. into Directories.mk; add support for kernel build. Move library
  8099. selection logic in common *.mk files, one each for flat-, protected-,
  8100. and kernel- mode builds (2014-8-30).
  8101. * include/nuttx/syscall.h syscall/syscall.csv: clock_systimer needs the
  8102. same fix as for get/set_errno when used with system calls (2014-8-30).
  8103. * sched/Kconfig sched/init/os_bringup.c tools/cfgdefine.c: Add
  8104. configuration options to start the system from a program on a file
  8105. system (2014-8-30).
  8106. * mm/ and include/nuttx/mm.h: Remove CONFIG_MM_MULTIHEAP. Non-multiheap
  8107. operation is no longer supported (2014-8-31).
  8108. * configs/sama5d4-ek/kernel: Add a configuration for testing the
  8109. kernel build configuration (still a work in progress) (2014-8-31).
  8110. * include/nuttx/arch.h, kmalloc.h, mm.h, sched/init/os_start.c,
  8111. sched/sched_free.c, and arch/arm/src/sama5/sam_allocateheap.c: Clean
  8112. up some kernel build heap allocation issues. The Cortex-A kernel
  8113. build now compiles without errors (but cannot link until brk() and
  8114. sbrk() are implemented) (2014-8-31).
  8115. * mm/*mm_brkaddr.c, *mm_extend.c, Makefile, and include/nuttx/mm.h: Add
  8116. low-level memory management hooks that will be needed to support brk()
  8117. and sbrk() (2014-8-31).
  8118. * Rename krealloc() to kmm_realloc() and kmemalign to kmm_memalign() for
  8119. consistency with the rest of the naming (2014-8-31).
  8120. * Rename kurealloc() to kumm_realloc(), kumemalign to kumm_memalign(),
  8121. and kufree to kumm_free for consistency with the rest of the naming
  8122. (2014-8-31).
  8123. * Rename kumalloc() to kumm_malloc() and kuzalloc to kumm_zalloc() for
  8124. consistency with the rest of the naming (2014-8-31).
  8125. * Rename kmalloc() to kmm_malloc(), kzalloc() to kmm_zalloc(), and
  8126. kfree() to kmm_free() and kuzalloc to kumm_zalloc() for consistency
  8127. with the rest of the naming (2014-8-31).
  8128. * mm/mm_sbrk.c, kmm_sbrk.c, umm_sbrk.c, and include/unistd.h: Initial
  8129. implementation of sbrk() (2014-9-1).
  8130. * arch/arm/src/armv7-a/arm_pgalloc.c, mm/umm_malloc.c, and mm_zalloc.c:
  8131. Completes the implementation of sbrk() (untested) (2014-9-1).
  8132. * configs/cc3200-launchpad: Updates to the CC3200-Launchpad configuration
  8133. for better compatibility. From Jim Ewing (2014-9-1).
  8134. * Removed all support from the 8051 from the NuttX source tree. The
  8135. obsoleted code along with the removal patch can now be found at
  8136. misc/Obsoleted/ (2014-9-1).
  8137. * sched/sched/sched_releasetcb.c and task_setup.c, include/nuttx/arch.h
  8138. and sched.h, and arch/*/*/*/Make.defs: There used to be two ways to
  8139. pass parameters to new tasks, depending upon the configuration: Either
  8140. (1) argv[] as created as an array with each string strdup'ed. Or (1)
  8141. argv[] array and strings were created on the stack before the new task
  8142. was started. Now, there is only one way, way (1). Way (2) might be
  8143. slightly more compact, but this is not worth carry the complexity of
  8144. two different ways of doing the same thing (2014-9-1).
  8145. * sched/init/os_start.c: Fix error in initialize of IDLE TCB due to last
  8146. change. The argument list is no long in the TCB, but in the stack.
  8147. But not for the IDLE task. It needs its own mini-argv[] list so that
  8148. it looks more like other threads (2014-9-1).
  8149. * arch/arm/src/armv7-a/arm_addrenv.c, include/nuttx/addrenv.h, and
  8150. mm/umm_*.c: Space at the beginning of the process data space is now
  8151. reserved for user heap management structures. In the kernel build
  8152. mode, these heap structures are shared between the kernel and use
  8153. code in order to allocate user-specific data (2014-9-2).
  8154. * include/unistd.h, nuttx/mm.h, and kmalloc.h, sched/init/os_start.c
  8155. and sched/sched/sched_free.c, mm/kmm_sbrk.c and mm_sbrk.c, and
  8156. arch/arm/src/sama5/sam_allocateheap.c: Restructuring of build to
  8157. allow use of use-space allocators by kernel logic in the kernel
  8158. build (2014-9-2).
  8159. * arch/arm/include/armv7-a/irq.h, arm_syscall.c, crt0.c,
  8160. include/nuttx/addrenv.h, and mm/umm_*.c: Add support for delivery
  8161. of use-mode signals in the kernel build (2014-9-2).
  8162. * mm/mm_graninit.c: Granule allocator initialization uses wrong
  8163. allocator to setting aside kernel memory (2014-9-3).
  8164. * sched/init/os_start.c: IDLE TCB setup needs to indicate that the
  8165. IDLE thread is a privileged, kernel thread (2014-9-3).
  8166. * include/nuttx/sched.h: Add a flag to group structure: If the group
  8167. is created by a kernel thread, then all resources in the group must
  8168. be privileged (2014-9-3).
  8169. * sched/group/group_malloc.c, group_zalloc.c, group_free.c,
  8170. group_create.c, group.h: Group creation logic must use new group flag
  8171. when allocating resources so that the privileges on the resource are
  8172. set correctly (2014-9-3).
  8173. * sched/Kconfig and sched/init/os_bringup.c: Add capability to perform
  8174. initial board initialization on a separate worker thread (2014-9-3).
  8175. * tools/mkexport.sh: Fix 'make export'. Adding subdirectories to the
  8176. sched/ directory broke the header file collection logic (2014-9-4).
  8177. * Makefile.unix, Makefile.win, FlatLibs.mk, KernelLibs.mk, and
  8178. ProtectedLibs.mk: In the kernel or protected builds, only the user
  8179. libraries should be exported (2014-9-4).
  8180. * Makefile.unix, Makefile.win, and tools/mkexport.sh: In 'make export',
  8181. do not copy internal header files or build scripts if this is a
  8182. kernel or protected build (014-9-4).
  8183. * tools/mkexport.sh, arch/*/src/Makefile, arm/src/a1x/Make.defs,
  8184. sama5/Make.defs, armv7-a/crt0.c: The 'make export' target needs to
  8185. bundle up the user C startup file (crt0), not the kernel head object
  8186. for the kernel and protected builds (2014-9-4).
  8187. * tools/mkexport.sh: Add .config file to export package (2014-9-5).
  8188. * configs/16z: Support for this board has been removed from the NuttX
  8189. source tree (but still can be found in the misc/Obsoleted directory).
  8190. This port is not ready for usage but may return to the NuttX tree
  8191. at some point in the future (2014-9-5).
  8192. * tools/Makefile.export and mkexport.sh: The apps/ import build requires
  8193. that we extract more information from the platform Make.defs file
  8194. (2014-9-5).
  8195. * tools/Makefile.export and mkexport.sh: Need to export the setting of
  8196. WINTOOL as well (2014-9-5).
  8197. * SAMA5D4-EK kernel configuration now builds NSH instead of examples/elf
  8198. (2014-9-6).
  8199. * libc/pthread/pthread_attrinit.c, sched/pthread/pthread_create.c, and
  8200. include/nuttx/pthread.h: Fix some conditional compilation in kernel
  8201. build mode. And, while we are touching this logic, make
  8202. g_default_pthread_attr const (2014-9-7).
  8203. * arch/arm/src/armv7-a/arm_addrenv.c: Correct size comparison (pages vs.
  8204. sections) (2014-9-7).
  8205. * configs/sama5d4-ek/src/sam_bringup.c and sama5d4-ek.h: Need to call
  8206. elf_initialize() on bring-up before attempting to load ELF modules
  8207. (2014-9-7).
  8208. * arch/arm/src/armv7-a/arm_addrenv.c: Fix loop counter... was overrunning
  8209. a table on larger ELF files (2104-9-7).
  8210. * arch/arm/src/sama5/sam_memories.c, sam_pgalloc.c, and sam_pgalloc.h: In
  8211. kernel build with address environment, need logic to map user virtual
  8212. addresses to physical addresses, and vice versa (2104-9-7).
  8213. * SAM3X/Arduino Due: Fix typo in sam3x_periphclks.h; add SCLK
  8214. definitions to board.h header file. From Fabien Comte (2014-9-8).
  8215. * Several pthread interfaces: Add const storage class to to phthread
  8216. parameters. From Freddie Chopin (2014-9-8).
  8217. * libc/math: Corrected atan2 implementations from Denis Arnst (2014-9-8).
  8218. * sama5d4-ek/knsh: Rename the kernel configuration to knsh to better
  8219. match the naming used with other platforms (2014-9-8).
  8220. * configs/cc3200-launchpad/README.txt: Add README file for the CC3200
  8221. Launchpad (2014-9-9).
  8222. * configs/sama5d4-ek/README.txt, Kconfig, knsh/defconfig.ROMFS,
  8223. src/sam_bringup.c, and sama5d4-ek.h: SAMA5D4-EK kernel config can now
  8224. boot from a ROMFS file system (2014-9-9).
  8225. * LibTargets.mk, Makefile.unix, and Makefile.win: Move common library
  8226. targets out of Makefile.unix and Makefile.win into a new LibTargets.mk
  8227. (2014-9-9).
  8228. * LibTargets.mk and configs/sama5d4-ek/knsh/Make.defs: Add logic that will
  8229. permit us to build user libraries with different CFLAGS than kernel
  8230. code. This is needed because we need the -fno-common option when
  8231. building ELF code to prevent SHN_COMMON relocations (2014-9-8).
  8232. * binfmt/libelf/libelf_symbols.c, libelf_bind.c, and all implementations
  8233. of up_relocate(): ELF relocations. Some relocation types do not have
  8234. a named symbol associated with them. The design did not account for
  8235. that case (2014-9-9).
  8236. * binfmt/binfmt_execmodule.c: When allocating a stack for a new process
  8237. using the user-space allocator, need to select the address environment
  8238. first (2014-9-9).
  8239. * arch/Kconfig, arm/src/armv7-a/pginline.h, arm_addrenv.c, and
  8240. arm_pgalloc.c and include/nuttx/addrenv.h: Add configuration to use
  8241. the fixed DRAM mapping for the page pool (if available) instead of
  8242. remapping dynamically to access L2 page tables and page data. Also,
  8243. add logic in address environment creation to initialize the shared
  8244. data at the beginning of the .bss/.data process memory region
  8245. (2014-9-10).
  8246. * configs/sama5d4-ek/elf and knsh: These configurations now use the
  8247. fixed DRAM mapping for manipulating the page memory pool (2014-9-10).
  8248. * arch/arm/include/arch.h and src/armv7-a/arm_addrenv.c,
  8249. nuttx/binfmt/binfmt_execmodule.c, libelf/libelf_addrenv.c,
  8250. libelf_load.c, libnxflat/libnxflat_addrenv.c, include/nuttx/arch.h, and
  8251. mm/umm_initialize.c: Add logic to initialize the per-process user
  8252. heap when each user process is started (2014-9-10).
  8253. * sched/clock/clock.h, clock_initialize.c, and clock_settime.c: Remove
  8254. vestiges of g_tickbias; apply bias instead to g_basetime (2014-9-10).
  8255. * include/nuttx/lib.h, sched/init/os_start.c, and
  8256. configs/ea3131/locked/mklocked.sh: Replace the empty lib_initialize()
  8257. function with a pre-processor macro (2014-9-11).
  8258. * libc/misc/lib_stream.c: When a privileged thread exits, we have to use
  8259. the kernel allocator to free memory; when an unprivileged thread exits,
  8260. we don't have to do anything... heap memory will be cleaned up when the
  8261. address environment is torn down (2014-9-11).
  8262. * arch/arm/src/stm32/stm32_serial.c and chip/stm32f20xxx_rcc.h: Fix for
  8263. UART7 and UART8 on STM32 clock enable from Aton (2014-9-11).
  8264. * arch/arm/src/armv7-a/arm_vectors.S: ARMv7-A: Exception register
  8265. save/restore needs to work a little differently if we support user
  8266. mode processes (2014-9-11).
  8267. * configs/cc3200-launchpad/src/cc3200_leds.c and other board files: Add
  8268. LED support for the CC3200 Launchpad. From Jim Ewing (2014-9-11).
  8269. * arch/arm/src/armv7-a/arm_initialstate.c: All tasks, even user mode
  8270. tasks, must start in supervisor mode until they get past the start-up
  8271. trampoline (2014-9-11).
  8272. * arch/arm/src/armv7-a/arm_vectors.S: Fix logic for returning from
  8273. exceptions to user-mode contexts. NuttX processes are now functional
  8274. on the Cortex-A (2014-9-11).
  8275. * arch/arm/src/armv7-a/arm_fullcontextrestore.S, arm_syscall.c, crt0.c,
  8276. and svcall.h: Modify up_fullcontextrestore() for CONFIG_BUILD_KERNEL.
  8277. It changed CPSR while in kernel. That will crash if the new CPSR is
  8278. user mode while executing in kernel space. Fixed by adding a
  8279. SYS_context_restore system call. There is an alternative, simpler
  8280. modification to up_fullcontextrestore() that could have been done: It
  8281. might have been possible to use the SPSR instead of the CPRSR and then
  8282. do an exception return from up_fullcontextrestore(). That would be
  8283. more efficient, but I never tried it (2014-9-12).
  8284. * binfmt/libelf/libelf_load.c: ELF: Critical bugfix.. BSS was not being
  8285. cleared (2014-9-12).
  8286. * configs/sama5d4-ek/knsh/defconfig and defconfig.ROMFS: Enable NSH
  8287. file applications in these configurations (2014-9-12).
  8288. * libc/Kconfig, unistd/lib_execsymtab.c, configs/sim/nsh/defconfig, and
  8289. stm32f4discovery/posix_spawn/defconfig: Having a symbol table is an
  8290. option. There are no symbol tables with CONFIG_BUILD_KERNEL, for
  8291. example (2014-9-12).
  8292. * syscall/syscall.csv and include/sys/syscall.h: exevc, execvl,
  8293. posix_spawn, and posix_spawnp were not properly integrated as system
  8294. calls (2014-9-12).
  8295. * syscall/syscall_lookup.h: Fix typos in the stub lookup table
  8296. (2014-9-12).
  8297. * configs/stm32f4discovery/netnsh, Kconfig, README.txt, and
  8298. include/board.h: Add the network enabled NSH configuration for the
  8299. STM32F4Discovery board with the STM32F4DIS-BB base board installed
  8300. (2014-9-13).
  8301. * nuttx/mm/umm_sbrk.c: Fix a typo in use of a configuration setting
  8302. (2014-9-13).
  8303. * configs/stm32f4discovery/README.txt: Add STM32F4DIS-BB GPIO pin
  8304. usage (2014-9-13).
  8305. * arch/Kconfig, arch/arm/include/arch.h, src/armv7-a/arm_addrenv.c,
  8306. sama5/sam_pgalloc.c, and include/nuttx/addrenv.h: Add a configuration
  8307. option for dynamic stack management (stack management not yet
  8308. implemented) (2014-9-13).
  8309. * arch/Kconfig arm/src/armv7-a/addrenv.h, arm_addrenv.c, and
  8310. arm_addrenv_utils.c, a1x/Make.defs, and sama5/Make.defs,
  8311. include/nuttx/addrenv.h and arch.h: Move static helper routines from
  8312. arm_addrenv.c and may them global so that they can be shared by
  8313. forthcoming stack address environment logic (2014-9-13).
  8314. * arch/arm/src/armv7-a/arm_addrenv_stack.c, arm_addrenv.c,
  8315. a1x/Make.defs, sama5/Make.defs, and include/nuttx/arch.h: Add logic
  8316. needed to manage a virtualized stack. Not yet incorporated into
  8317. base OS logic (2014-9-13).
  8318. * sched/task/task_posixspawn.c: Kernel proxy thread should be a kernel
  8319. thread, not a user task (2014-9-14).
  8320. * include/sched.h and spawn.h, libc/Kconfig, spawn/Make.defs,
  8321. lib_psa_getstacksize.c, lib_psa_init.c, and lib_psa_setstacksize.c,
  8322. sched/task/Make.defs, task_create.c, and task_spawn.c: Don't build
  8323. task_create() or task_spawn() interfaces if there is an address
  8324. environment (2014-9-14).
  8325. * arch/arm/src/armv7-a/arm_addrenv_ustack.c, include/nuttx/addrenv.h,
  8326. arch.h, and other files: Rename everything associated with the dynamic
  8327. process stack to ustack to make room in the name space for a kstack
  8328. (2014-9-14).
  8329. * arch/arm/src/armv7-a/arm_addrenv_kstack.c, include/nuttx/addrenv.h,
  8330. arch.h, and other files: Add the initial implementation of the process
  8331. kernel stack logic. Not yet integrated into the main OS logic nor
  8332. tested (2014-9-14).
  8333. * binfmt/binfmt_execsymtab.c and Makefile, sched/task/task_execv.c,
  8334. task_posixspawn.c, and Make.defs, include/unistd.h,
  8335. include/nuttx/binfmt/symtab.h, and libc/unistd/Make.defs: execv() is
  8336. a basic system interface. It should not be in libc/ but rather in
  8337. sched/task. Its symbol table helper logic also belongs in the kernel
  8338. but belongs in binfmt/ with the other symbol table logic (2014-9-15).
  8339. * include/sys/syscall.h, syscall/syscall.csv, syscall_lookup.h, and
  8340. syscall_stublookup.c: execl() is not a system interface. It belongs
  8341. in libc and should not have a system call associated with it
  8342. (2014-9-15).
  8343. * arch/arm/include/armv7-a/irq.h and src/armv7-a/arm_syscall.c: If we
  8344. are configured to use a kernel stack while in SYSCALL handling, then
  8345. we need to switch back to the user stack to deliver a signal (2014-9-15).
  8346. * arch/arm/src/armv6-m/up_svcall.c, armv7-a/arm_syscall.c, and
  8347. armv7-m/up_svcall.c: Fix a typo in system call when fetching parameter
  8348. from the stack: regs[REG_PC]+4 is the address, not regs[REG_PC+4]
  8349. (2014-9-15).
  8350. * sched/sched/sched_releasetcb.c: Don't release user stack in kernel
  8351. build. Already destroyed with all of the address environment
  8352. (2014-9-15).
  8353. * arch/arm/src/armv6-m/up_signal_dispatch.c, src/armv7-a/arm_signal_dispatch.c,
  8354. and arch/arm/src/armv7-m/up_signal_dispatch.c: Move
  8355. common/up_signal_dispatch.c to armv6-m, armv7-m, and armv7-a. The
  8356. armv7-a version needs to be different to handle the case where we
  8357. are dispatch kernel mode signals when running under a user mode group
  8358. (2014-9-16).
  8359. * arch/arm/src/armv7-a/arm_syscall.c: Correct stack handling if signal
  8360. deliver to user processes (2014-9-16).
  8361. * arch/arm/src/armv7-a/arm_physpgaddr.c, pgalloc.h, sama5/sam_pgalloc.c,
  8362. and sam_pgalloc.h: Move some share-able logic from sama5/sam_pgalloc.c
  8363. to armv7-a/arm_physpgaddr.c (2014-9-16).
  8364. * arch/arm/src/sam34/sam_rtt.c: Only SAM4 family has RTTDIS bit in the
  8365. MR register. SourceForge bug #33 from Fabien Comte (2014-9-17).
  8366. * arch/arm/src/stm32/stm32_can.c: At the end of the interrupt handler,
  8367. the interrupts were being disabled, if all packets have been
  8368. transferred when the interrupt handler was invoked. This is
  8369. problematic, because the interrupt handler calls can_txdone of the
  8370. upper half which can enqueue new packets to send. Removed the block
  8371. altogether, because can_txdone calls can_xmit which disables
  8372. interrupts if there are no new packets to send. From Daniel Lazlo
  8373. Sitzer (2014-9-17).
  8374. * drivers/can.c: In can_txdone, waiters on the semaphore should be
  8375. informed regardless of the return value of can_xmit. First it returns
  8376. -EIO if there are no new packets, and second the information of the
  8377. waiters is about the last transferred packet. From Daniel Lazlo
  8378. Sitzer (2014-9-17).
  8379. * SAMA5D4-EK: Add documentation/support for Rev E. board. Refresh NSH
  8380. configuration. Fix some build errors/warnings introduced with recent
  8381. work with the knsh configuration (2014-9-17).
  8382. * arch/sim/Kconfig, src/up_spiflash.c, Makefile, up_initialize.c, and
  8383. up_internal.h: Emulated SPI FLASH driver for the sim target from Ken
  8384. Pettit (2014-9-19).
  8385. * configs/stm32f4discovery/include/board.h, netnsh/defconfig,
  8386. src/Makefile, stm32_sdio.c, stm32_boot.c, stm32_nsh.c,
  8387. stm32_bringup.c, and stm32f4discovery.h: STM32F4Discovery: Add
  8388. support for the microSD card slot on the STM32F4DIS-BB base board
  8389. (2014-9-20).
  8390. * Change all occurrences of NxConsole to NxTerm (2014-9-20).
  8391. * include/sys/ipc.h, shm.h, mman.h, and types.h: Add shared memory
  8392. definitions, types, prototypes (2014-9-22).
  8393. * fs/smartfs/smartfs_smart.c: SMART FS update from Ken Pettit
  8394. (2014-9-22).
  8395. * mm/mm_gran/: Move granule allocator and page allocator from mm/. to
  8396. mm/mm_gran/. (2014-9-22).
  8397. * mm/kmm_heap/: Move kernel heap allocator from mm/. to mm/kmm_heap/.
  8398. (2014-9-22).
  8399. * mm/umm_heap/: Move user heap allocator from mm/. to mm/umm_heap/.
  8400. (2014-9-22).
  8401. * mm/mm_heap/: Move common heap logic from mm/. to mm/mm_heap/.
  8402. (2014-9-22).
  8403. * mm/shm/: Create a home for forthcoming shared memory logic
  8404. (2014-9-22).
  8405. * fs/procfs/fs_procfs.c: Fix some procfs breakage introduced by
  8406. reorganizing some un-reorganizable data structures. From Ken
  8407. Pettit (2014-9-22).
  8408. * drivers/mtd/smart.c, fs/smartfs/smartfs.h, smartfs_procfs.c, and
  8409. smartfs_utils.c, include/nuttx/fs/ioctl.h, and mtd/smart.h: Updated
  8410. SMART FS procfs support. From Ken Pettit
  8411. * configs/mikroe-stm32f4: Fix a few compile bugs and minor corrections
  8412. to the mikroe-stm32f4 configuration source. From Ken Pettit
  8413. (2014-9-22).
  8414. * mm/Kconfig, shm/Make.defs, shmat.c, shmctl.c, shmdt.c, shmget.c, and
  8415. Documentation/NuttxUserGuide.html: Add the documentation, build
  8416. framework, and skeleton files for the shared memory feature (no logic
  8417. yet provided) (2014-9-22).
  8418. * include/sys/syscall.h, syscall/syscall.csv, syscall_lookup.h, and
  8419. syscall_stublookup.c: Add system calls for shared memory interfaces
  8420. (2014-9-22).
  8421. * include/nuttx/shm.h, mm/shm/shm.h, and shm_initialize.c: Add shared
  8422. memory initialization logic (2014-9-23).
  8423. * include/nuttx/arch.h, Documentation/NuttxPortingGuide.html, and
  8424. NuttxUserGuide.html: Add platform-specific interface definitions
  8425. needed to support the shared memory feature (2014-9-23).
  8426. * arch/arm/include/arch.h, src/armv7-a/addrenv.h, arm_addrenv.c,
  8427. arm_addrenv_ustack.c, and arm_addrenv_utils.c: Add logic necessary
  8428. to handle remapping of shared memory on context switches (2014-9-23).
  8429. * include/nuttx/gran.h, mm/mm_gran/mm_granrelease.c, and Make.defs: Add
  8430. interfaces to support un-initializing a granule allocator (2014-9-23).
  8431. * arch/arm/src/armv7-a/arm_pgalloc.cm sched/group/group_addrenv.c, and
  8432. other files: Fix some inconsistent field name in struct task_group_s:
  8433. addrenv should be tg_addrenv (2014-9-23).
  8434. * arch/arm/src/armv7-a/pgalloc.h: Extend virtual/physical address
  8435. conversions to include addresses in shared memory (2014-9-23).
  8436. * include/nuttx/shm.h, sched.h, mm/shm/shm_initialize.c,
  8437. binfmt/binfmt_execmodule.c, sched/group/group_leave.c: Add support
  8438. for a per-process virtual page allocator. This is a new member of
  8439. the task_group_s structure. The allocator must be initialized when a
  8440. new user process is started and uninitialize when the process group
  8441. is finally destroyed. It is used by shmat() and shmdt() to pick the
  8442. virtual address onto which to map the shared physical memory
  8443. (2014-9-23).
  8444. * mm/shm/shmat.c and shmdt.c: Completes the implementation of the core
  8445. shared memory logic: shmget(), shmctl(), shmat(), and shmdt(). This
  8446. is still some unfinished platform-specific code that needs to be done
  8447. before we can begin testing (2014-9-23).
  8448. * include/nuttx/mm: Move mm.h, gran.h, and shm.h from include/nuttx to
  8449. include/nuttx/mm (2014-9-24).
  8450. * arch/arm/src/stm32/stm32_can.c: STM32 CAN correction suggested by Max
  8451. Holtzberg (2014-9-24).
  8452. * arch/arm/src/armv7-a/addrenv.h, arm_addrenv_shm.c,
  8453. arm_addrenv_utils.c, and pgalloc.h: This completes the implementation
  8454. of shared memory support for the Cortex-A platforms (2014-9-24).
  8455. * fs/fs_poll.c: Fix unnecessary delays and timing jitter in the
  8456. implementation of poll(): No delay if timeout is zero; If timeout is
  8457. greater than zero, first check if events are already pending events
  8458. before starting the delay. From Johannes Hampel (2014-9-25).
  8459. * drivers/mtd/at45db.c: In at45db_bwrite , the buffer is not increased
  8460. when writing more than 1 page. Sourceforge bug #34 (2014-9-25).
  8461. * crypto/cryptodev.c: Path segments reversed in include file path.
  8462. Noted by Brennan Ashton (2014-9-25).
  8463. * drivers/mtd/mtd_rwbuffer.c: The MTD Read-ahead/Write buffer layer
  8464. appears to be functional (2014-9-25).
  8465. * libc/stdio/lib_libdtoa.c: Change to lib_dtoa() to fix precision error
  8466. from trailing zeroes. From Bob Doiron (2014-9-26)
  8467. * fs/fs_poll.c: Re-implemented poll() delay using sem_timedwait()
  8468. (2014-9-26).
  8469. 7.6 2014-11-26 Gregory Nutt <gnutt@nuttx.org>
  8470. * fs/fs.h and other files: Rename fs/fs_internal.h to fs/fs.h (2014-9-28).
  8471. * include/nuttx/semaphore.h and fs/fs.h: Add data structures that will
  8472. allow us to move name semaphore support out of the OS and into the
  8473. VFS (not complete) (2014-9-28).
  8474. * fs/inode: Move inode and VFS utils from fs/. to fs/inode/. (2014-9-28).
  8475. * fs/driver: Move driver logic from fs/. to fs/driver/. (2014-9-28).
  8476. * fs/dirent: Move directory operations from fs/. to fs/dirent/. (2014-9-23).
  8477. * fs/mount: Move mount-related files from fs/. to fs/mount/. (2014-9-23).
  8478. * fs/vfs: Move renaming files in fs/. to fs/vfs/. (Don't all belong there)
  8479. (2014-9-23).
  8480. * fs/semaphore: Create a build structure that will (eventually) support
  8481. using the VFS to manage named semaphores (2014-9-23).
  8482. * configs/stm32f4discovery/include/board.h: STM32F4-Discovery: Fix some
  8483. backward conditional compilation (2104-9-29).
  8484. * nuttx/sched/init/os_start.c, semaphore/Make.defs, sem_initialize.c,
  8485. and semaphore.h: Semaphore initialization is now only required if
  8486. priority inheritance is enabled (2014-9-29).
  8487. * fs/Makefile and mqueue/: Add build support for messages queues as part
  8488. of the VFS (only build logic, no C files yet) (2014-9-29).
  8489. * fs/inode/inode.h and fs/driver/driver.h: Move fs/fs.h to fs/inode/inode.h
  8490. and some to fs/driver/driver.h (2014-9-29).
  8491. * sched/task/task_vfork.c: Fix vfork(). Now that arguments are kept on
  8492. the stack, the way that arguments are passed from parent to child in
  8493. vfork() must change. This bug has always been present, but was not
  8494. visible with the old strdup() way of passing arguments (2014-9-29).
  8495. * arch/arm/src/common/up_vfork.c: Another vfork() problem: If we get to
  8496. vfork() via system call, then we need to clone some system call
  8497. information so that the return form the cloned system call works
  8498. correctly (2014-9-29).
  8499. * fs/mqueue: Move mq_open(), mq_close(), and mq_unlink() logic from
  8500. sched/mqueue to fs/mqueue. Convert the logic so that it uses the VFS to
  8501. managed the message queue namespace (instead of custom logic). By
  8502. default, now message queues can be seen in /var/mqueue (2014-9-29).
  8503. * arch/sim/src/up_simuart.c, up_uartwait.c: Removed old, strange
  8504. up_stdio.c and implemented a simulated UART driver to provide the
  8505. console input. Starts a separate, Linux domain pthread to read
  8506. the console input in raw mode and provides the incoming data to
  8507. NuttX via standard NuttX domain IPCs (2014-9-30).
  8508. * arch/sim/src/up_setjmp32.S, up_setjmp64.S, Kconfig, Makefile,
  8509. up_initialstate.c, up_internal.h, up_stackframe.c, and include/irq.h:
  8510. Add support for 64-bit longjmp/setjmp in simulator platform. This
  8511. will permit operation of the simulation natively on a 64-bit platform
  8512. (2014-10-2).
  8513. * include/fcntl.h: Implement create() as a macro (2014-10-4).
  8514. * fs/vfs/Make.defs, fs_pread.c fs_pwrite.c, and include/unistd.h: Add
  8515. pread() and pwrite() (2014-10-4).
  8516. * include/sys/syscall.h syscall/syscall.csv, syscall_lookup.h, and
  8517. syscall_stublookup.c: Add pread() and pwrite() system calls
  8518. (2014-10-4).
  8519. * include/aio.h: Add aio.h header file (2014-10-4).
  8520. * libc/aio/lio_listio.c and Make.defs: Add empty skeleton file where
  8521. lio_listio() will eventually be implemented (2014-10-4).
  8522. * libc/Kconfig, aio/aio_read.c, aio_write.c, aio_return.c, aio_error.c
  8523. aio.h, and Make.defs: Initial implementation of aio_read(),
  8524. aio_write(), aio_return(), and aio_error() (2014-10-4).
  8525. * include/signal.h and sched/Kconfig: Add definitions for SIGPOLL
  8526. (2014-9-5).
  8527. * libc/aio/aio_signal.c, Make.defs, and aio.h: Move AIO signal logic
  8528. to a common location in aio_signal.c. Also fix several typos
  8529. (2014-9-5).
  8530. * libc/aio/aio_suspend.c, aio_cancel.c, aio_fsync.c, lio_listio.c and
  8531. Make.defs: Initial implementation of aio_suspend(), aio_cancel(),
  8532. lio_listio.c, and aio_fsync.c. This completes this implementation
  8533. of the asynchronous I/O interfaces but there are still untested
  8534. (2014-9-5).
  8535. * fs/aio/Make.defs, aio.h, aio_cancel.c, aio_fsync.c, aio_read.c,
  8536. aio_signal.c, and aio_write.c: Move all file operations from libc/aio
  8537. to fs/aio. These will need to be kernel routines in order to
  8538. handler issues with using file descriptors on worker thread
  8539. (2014-10-5).
  8540. * fs/aio/aio.h, Kconfig, aio_initialize.c, aioc_contain.c, Make.defs,
  8541. and include/aio.h: Add a AIO control container to increase the
  8542. payload with OS internal stuff (2014-10-6).
  8543. * fs/aio/aio_cancel.c, aio_fsync.c, aio_read.c, aio_signal.c, and
  8544. aio_write.c: Modify logic to use AIO control block container
  8545. (2014-10-6).
  8546. * fs/fs_initialize.c, Makefile, fs/inode/fs_inode.c, and inode.h:
  8547. Modify FS initialization logic to handle AIO container
  8548. initialization (2014-10-6).
  8549. * Too many files to list: Major structuring of file system functions
  8550. to better support asynchronous I/O. Repository should not be
  8551. trusted until I have a chance to verify everything (2014-10-6).
  8552. * include/nuttx/mm/mm.h: Fix a place in the memory manager where it
  8553. explicitly assumed that the size of a pointer is 4 bytes. That is OK
  8554. if the actual size is smaller but makes the heap unstable when used
  8555. with the x86_64 host simulation (2014-10-6).
  8556. * sched/wqueue, include/nuttx/wqueue.h, and libc/Kconfig sched/Makefile:
  8557. Add support for priority inheritance on the low priority worker queue
  8558. (2014-10-7).
  8559. * sched/Makefile and sched/*/Make.defs: Simplify how C source files are
  8560. selected in the build (2014-10-7).
  8561. * fs/aio/aio_queue.c, Make.defs, aio.h, aio_fsync.c, aio_read.c, and
  8562. aio_write.c: The asynch I/O implementation now satisfies POSIX
  8563. priority requirements; it uses the new low priority worker thread
  8564. interfaces to adjust the priority of the worker thread according to
  8565. the priority of the client thread (2014-10-7).
  8566. * arch/arm/src/stm32/chip/stm32_otghs.hstm32_otghs.c/h and
  8567. chip/stm32_otghs.h: Add files that implement true high speed support
  8568. for the STM32 OTGHS peripheral. From Brennan Ashton (2014-10-7).
  8569. * arch/arm/src/stm32/ (several files): Integrates OTGHS support into
  8570. the STM32; Eliminates the older OTGHS in FS mode logic. From Brennan
  8571. Ashton (2014-10-7).
  8572. * arch/arm/src/stm32/Kconfig, stm32_otgfsdev.c, chip/stm32f40xxx_pinmap.h,
  8573. configs/stm32f429i-disco/ (several files): Remove non-functional
  8574. vestiges of OTGHS in FS mode (including OTGFS2); try to convert the
  8575. stm32f429i-disco configuration to use OTGHS instead of OTFHS in F
  8576. mode (OTGFS2). But I don't have the boards and can't test (2014-10-7).
  8577. * include/syslog.h, debug.h, libc/libc.csv, misc/lib_dbg.c,
  8578. lib_dumpbuffer.c, stdio/lib_lowsyslog.c, lib_printf.c, lib_syslog.c,
  8579. and fs/driver/fs_syslog.c: Make standard syslog and vsyslog POSIX
  8580. compliant (also modify non-standard syslog functions for
  8581. compatibility). This will break a lot of things until ALL usage of
  8582. syslog is updated to use the modified interfaces (2014-10-8).
  8583. * drivers/: Correct everything under nuttx/drivers, nuttx/arch, nuttx/net,
  8584. nuttx/binfmt, and nuttx/configs to use the corrected syslog interfaces
  8585. (2014-10-8).
  8586. * libc/syslog and fs/syslog: Move syslog logic from libc/misc and
  8587. libc/stdio to libc/syslog and fs/syslog. Also move some syslog logic
  8588. from fs/driver to fs/syslog (2014-10-8).
  8589. * fs/syslog/fs_syslogmask.c: Implement syslogmask() (2014-10-8).
  8590. * include/sys/syscall.h, syscall/syscall.csv, syscall_lookup.h, and
  8591. syscall_stublookup.c: Add syslog system calls (2014-10-8).
  8592. * fs/Kconfig, syslog/fs_syslogenable, and include/syslog.h: Remove
  8593. non-standard, conditional syslog_enable(), instead only the
  8594. required, standard setlogmask() (2014-10-9).
  8595. * arch/arm/src/stm32/chip/stm32_exti.h: Correct STM32 RTC EXTI bit
  8596. definition. From Lazlo (2014-10-9).
  8597. * include/syscall.h, syscall/, and libc/: Remove syslog interfaces
  8598. from the set of system calls (2014-10-9).
  8599. * libc/syslog: Move syslog back out of the kernel into the C libary
  8600. (2014-10-9).
  8601. * arch/mips/src/pic32mx/pic32mx-devcfg.h: For PIC32MX7, DEVCFG0 bit
  8602. 2 must be set. Writing bit 2 as zero can brick the CPU on some
  8603. versions. From Cris Kvist (2014-10-9).
  8604. * sched/wqueue/, libc/wqueue, and include/nuttx/wqeueue.h: Separate
  8605. kernel- and user-mode work queue logic. Decouple work queue data
  8606. structures. This is part of the preparation to support multiple
  8607. low-priority worker threads (2014-10-10).
  8608. * include/nuttx/wqueue.h, libc/wqueue/Make.defs, work_usrthread.c,
  8609. work_usrstart.c sched/init/os_bringup.c wqueue/kwork_hpthread.c,
  8610. kwork_lpthread.c, and wqueue.h: Modularize starting of worker
  8611. threads to better isolate individual initialization characteristics
  8612. (2014-10-10).
  8613. * arch/arm/src/ stm32_iwdg.c, stm32_wwdg.c, and chip/stm32_dbgmcu.h:
  8614. Fix watchdog stop bit usage. From Lazlo (2014-10-10).
  8615. * sched/wqueue/, libc/wqueue, and include/nuttx/wqueue.h: Add support
  8616. for multiple low-priority worker threads. This is a necessary
  8617. piece of the support for asynchronous I/O (2014-10-10).
  8618. * sched/wqueue/work_inherit.c: Add logic for priority inheritance with
  8619. multiple worker threads. How should this work? Tentatively, the all
  8620. get reprioritized together. It would be best to just reprioritize the
  8621. single thread doing the high priority work, but we don't know which
  8622. that will be in advance (2014-10-10).
  8623. * fs/aio/ and include/aio.h: Add support for socket-based transfers
  8624. (2014-10-11).
  8625. * arch/arm/include/stm32/chip.h, /src/stm32/Kconfig, and
  8626. stm32_allocateheap.c: Support for the STM32 F411RE from Serg Podtynnyi
  8627. (2014-10-14).
  8628. * configs/Kconfig, README.txt, and nucleo-f401re: Extend this board
  8629. configuration to also support the Nucleo-F411RE. From Serg Podtynnyi
  8630. (2014-10-14).
  8631. * tools/Config.mk: Add a PRELINK macro to Config.mk. From Kriegleder
  8632. (2014-10-17).
  8633. * arch/arm/src/efm32 and arch/arm/include/efm32: Add a basic port for
  8634. the SiLabs EFM32 family. Includes many files contributed by Pierre-noel
  8635. Bouteville (2104-10-20).
  8636. * configs/efm32-gxxx-stk: Add board support for the EFM32 Gecko Starter
  8637. Kit (2014-10-20).
  8638. * configs/olimex-efm32g880f128-stk: Add board support for the Olimex
  8639. EFM32G8809128 STK (2014-10-20).
  8640. * drivers/lcd/Kconfig, ili9341.c, Make.defs, and include/nuttx/lcd/ili9341.h:
  8641. Add support for a generic ILI9341 driver. From Marco Krahl (2014-10-20).
  8642. * configs/stm32f429i-disco/Kconfig, src/ and lcd/: Add support for the
  8643. STM32F429i Discovery's LCD. From Marco Krahl (2014-10-20).
  8644. * arch/arm/src/lpc43xx/lpc43_gpioint.c, .h, lpc43_irq.c, and
  8645. chip/lpc43_gpio.h: Fixes to allow compile of lpc43_gpioint.c. It
  8646. likely doesn't work. From Brandon Warhurst (2014-10-21).
  8647. * arch/arm/src/stm32/chip/stm32f103r_pinmap.h: Add ADC pinmap
  8648. definitions for the STM32 F103R from Martin Lederhilger (2014-10-21).
  8649. * arch/arm/src/armv7-m/up_itm.c and itm.h: Add CMSIS ITM header file and
  8650. library. From Pierre-noel Bouteville (2104-10-21).
  8651. * arch/arm/src/armv7-m/dwt.h and tpi.h: Add CMSIS DWT and TPI header files.
  8652. From Pierre-noel Bouteville (2104-10-21).
  8653. * arch/arm/src/armv7-m/arm_item_syslog.c, itm_syslog.h, and Kconfig: Add
  8654. ARMv7 support to use ITM for SYSLOG debug output. Includes logic from
  8655. Pierre-noel Bouteville (2014-10-22).
  8656. * arch/arm/src/efm32/efm32_clockconfig.c, efm32_start.c, and Make.defs:
  8657. Add logic to initialize and use ITM for syslog. Includes logic from
  8658. Pierre-noel Bouteville (2014-10-22).
  8659. * sched/sched/sched_timerexpiration.c and include/nuttx/arch.h: Fixes
  8660. to tickless operation code, especially in alarm mode. From Brandon
  8661. Warhurst (2014-10-23).
  8662. * nuttx/arch/arm/src/lpc43xx/lpc43_rit.c, lpc43_rit.h, and related
  8663. files: Add support for tickless operation using the NXP LPC43xx. From
  8664. Brandon Warhurst (2014-10-23).
  8665. * arch/arm/src/efm32/efm32_gpio.c and efm32_gpioirq.c: EFM32 port and
  8666. pin decoding backward in every case. From Pierre-Noel Bouteville
  8667. (2014-10-23).
  8668. * arch/arm/src/armv7-m/up_itm_syslog.c: Correct file naming and fix
  8669. compilation errors in up_itm_syslog.c. From Pierre-Noel Bouteville
  8670. (2014-10-23).
  8671. * configs/sam4e-ek/src/sam_ethernet.c (and other files):SAM4E-EK: Add
  8672. support for PHY interrupt (2014-10-24).
  8673. * include/wchar.h: Add a mostly bogus wchar.h header file. This file
  8674. is mostly bogus because none of the wide character operations are
  8675. currently supported in the Nuttx C library (2014-10-27).
  8676. * include/termios.h, libc/termios/lib_isatty.c, and Make.defs: Add
  8677. isatty() function. From Alan Carvalho de Assis (2014-10-27).
  8678. * arch/arm/include/efm32, src/efm32, and configs/efm32-gxxx-stk:
  8679. The EFM32 Gecko Starter Kit port is now functional. At least
  8680. NSH is running over LEUART0 on the board (2014-10-29).
  8681. * arch/arm/src/sam34/sam_serial.c and Kconfig: Add support for SAM3/4
  8682. basic TERMIOS and flow control. There are issues with IFLOW control:
  8683. PDC or DMAC support is required (2014-10-29).
  8684. * configs/sam4e-ek/src/sam4e-ek.h: Fix an error in a USART1 pin number
  8685. (2014-10-29).
  8686. * configs/efm32gg-stk3700: Board support for the SiLabs EFM32GG
  8687. Giant Gecko Starter kit. Current with basic NSH configuration only.
  8688. Testing is on hold until I receive hardware (2014-11-03).
  8689. * libc/Kconfig: Move CONFIG_NSH_TMPDIR to CONFIG_LIBC_TMPDIR (2014-11-05).
  8690. * libc/stdlib/lib_mkstemp.c, lib_mktemp.c, Make.defs and include/stdlib.h:
  8691. Add mktemp() and mkstemp() (2014-11-05).
  8692. * libc/stdio/lib_tempnam.c, lib_tmpnam.c, Kconfig, Make.defs and
  8693. include/stdio.h: Add tmpnam() and tempnam() (2014-11-05).
  8694. * drivers/rwbuffer.c: Fix typo that can cause compiler error (2014-11-05).
  8695. * drivers/mtd/m25px.c: Extend MTD support to M25P16. From Sébastien
  8696. Lorquet (2014-11-07).
  8697. * arch/arm/src/stm32/Kconfig, chip.h, and include/stm32/chip.h: Support
  8698. for the STM32F103RG. From Murilo Ponte (2014-11-10).
  8699. * configs/stm32f100rc_generic: Removed this generic board configuration.
  8700. I have decided to stop support of generic board configurations. Generic
  8701. board configurations do not provide support for any specific hardware
  8702. but can be useful only if there are not other examples for the setup
  8703. for a particular architecture. Not the case here (2014-11-10).
  8704. * include/nuttx/vt100.h: Add foreground and background color commands
  8705. (2014-11-10).
  8706. * sched/wdog/wd_create.c: Fix an important bug in the watchdog creation
  8707. logic (2014-11-10).
  8708. * include/unistd.h, libc/unistd/lib_access.c and Make.defs: From Lorenz
  8709. Meier: The implementation of access() as vararg macro has the issue that
  8710. any function call with the same name (even in a C++ class) will match
  8711. with it and result in a compile error. I have replaced it with a small
  8712. function, and tried to have decent documentation as well. This resolves
  8713. the compile issue, and shouldn’t have negative side effects for users
  8714. of the function (2014-11-11).
  8715. * mm/mm_gran/mm_granrelease.c: If the INTR granule allocator mode is
  8716. enabled, there is no semaphore to destroy. From Lorenz Meier (2014-11-12).
  8717. * fs/nxffs/nxffs_dump.c: Fix problems with redefinitions of fdb macro.
  8718. With the fix to the syslog prototype, a LOG priority must now be the
  8719. first parameter. Fixed by replacing all occurrences of fdbg with
  8720. syslog(LOG_DEBUG, and eliminating the macro redefinitions. Noted by
  8721. Sebastien Lorquet (2014-11-12).
  8722. * arch/arm/src/common/up_internal.h: Add protection from C++ name
  8723. mangling in the ARM up_internal.h. From Lorenz Meier (2014-11-12).
  8724. * include/nuttx/compiler.h: Defines inline functions as not
  8725. instrumented - this is relevant for anyone using instrumentation. From
  8726. Lorenz Meier (2014-11-12).
  8727. * libc/string/lib_strncpy.c: The definition of strncpy() is that empty
  8728. space should be zero-filled, the patch adds the zero filling (I didn’t
  8729. know this, see e.g. the POSIX spec here:
  8730. http://pubs.opengroup.org/onlinepubs/7908799/xsh/strncpy.html). From
  8731. Lorenz Meier (2014-11-12).
  8732. * arch/arm/include/limits.h: Remove the definition of INT_FAST32_MIN
  8733. which is already defined in stdint.h (the correct location). From
  8734. Lorenz Meier (2014-11-12).
  8735. * arch/arm/src/efm32/efm32_clockconfig.c, configs/efm32gg-stk3700/README.txt
  8736. and include/board.h: Fixes to get the EFM32GG-STK3700 basic NSH
  8737. configuration running. It works! (2014-11-12).
  8738. * drivers/bch/bchdev_driver.c: Add support for seeking in BCH. From
  8739. Sébastien Lorquet. (2014-11-13).
  8740. * sched/Kconfigs and configs/*/*/defconfig: Remove CONFIG_MAX_TASK_ARGS
  8741. (2014-11-13).
  8742. * binfmt/: Remove use of CONFIG_MAX_TASK_ARGS in exec() and unload_module()
  8743. (2014-11-13).
  8744. * libc/unistd: Remove use of CONFIG_MAX_TASK_ARGS in execl() (2014-11-13).
  8745. * sched/: Remove some misc. usage of CONFIG_MAX_TASK_ARGS in task_start(),
  8746. task_setup(), and vfork() (2014-11-13).
  8747. * arch/arm/src/stm32/chip/stm32_otgfs.h: Correct a typo in the STM32 OTGFS
  8748. register bit definitions (2014-11-13).
  8749. * drivers/lcd/st7565.c/.h and include/nuttx/lcd/st7565.h: Add driver for
  8750. ST7565 that works with NHD�C12864KGZ display. From Pierre-noel
  8751. Bouteville (2014-11-13).
  8752. * net/route/net_router.c: I don't think that the net_route function has
  8753. ever worked correctly. The source ip was updated in the match struct
  8754. instead of the route ip. From Brennan Ashton (2014-11-14).
  8755. * net/Kconfig arp/Make.defs, arp_send.c, and drivers/net/slip.c: ARP:
  8756. Add support for the case where there are multiple networks: One being
  8757. Ethernet and the other not. Suggested by Brennan Ashton (2014-11-14).
  8758. * net/Kconfig, netdev/netdev_register.c, arp/arp_send.c,
  8759. include/nuttx/net/net.h, netdev.h and several network drivers in arch/
  8760. and drivers/: Add a parameter to netdev_register() to indicate the
  8761. link protocol supported by the driver. Use this value to replace some
  8762. logic committed yesterday (2014-11-15).
  8763. * configs/stm32f4discovery/netnsh/defconfig: Needs to set MAC address
  8764. (2014-11-15).
  8765. * arch/ and drivers/: Remove use of NET_LL_HDRLEN from Ethernet drivers.
  8766. Use ETH_HDRLEN instead (2014-11-15).
  8767. * net/arp/: Remove use of NET_LL_HDRLEN from net/arp logic. Use
  8768. ETH_HDRLEN instead (2014-11-15).
  8769. * net/ and include/nuttx/net: All network logic will now handle
  8770. variable length link layer protocol headers within incoming packets.
  8771. This permits use of multiple network interfaces with differing data
  8772. links. For example, ETHERNET + SLIP (2014-11-15).
  8773. * arch/arm/src/sam34/sam4s_periphclks.h: Add missing SPI0 clock
  8774. configuration macro for the SAM4S. From spasbyspas (2014-11-16).
  8775. * arch/arm/src/efm32/efm32_lowputc.c: EFM32 USART setup: Computation of
  8776. BAUD includes shift; Eliminate additional shift. From Pierre-noel
  8777. Bouteville (2014-11-16).
  8778. * net/, include/, drivers/, arch/, various files: Rename
  8779. CONFIG_NET_BUFSIZE to CONFIG_NET_ETH_MTU; Add CONFIG_NET_SLIP_MTU.
  8780. Add data structures and logic to handle different MTUs when both
  8781. Ethernet and SLIP are enabled (2014-11-16).
  8782. * net/, include/, various files: Rename CONFIG_NET_RECEIVE_WINDOW to
  8783. CONFIG_NET_ETH_TCP_RECVWNDO and CONFIG_NET_SLIP_TCP_RECVWNDO. Add
  8784. data structures and logic to handler different TCP receive windows
  8785. when both Ethernet and SLIP are enabled (2014-11-16).
  8786. * configs/sama5d4-ek/bridge: Add a simple test for the dual EMACs on
  8787. the SAMA5D4 (2014-11-17).
  8788. * arch/arm/src/sama5/sam_emacb.c: Fix several typos that will prevent
  8789. EMAC1 from initializing properly (2014-11-17).
  8790. * include/nuttx/net/ip.h and tcp.h, net/icmp/icmp_send.c and
  8791. igmp/igmp_send.c: Move IP header flags from tcp.h to ip.h and rename
  8792. IP_FLAGS vs TCPFLAGS. The problem fixed here is that there IP flags
  8793. were not available when TCP was disabled. The IP flags are used in
  8794. ICMP and IGMP (2014-11-17).
  8795. * sched/clock/clock_abstime2ticks.c: Calling mq_timedreceived() with
  8796. immediate timeout was getting stuck and not timing out. Immediate
  8797. timeout is achieved by setting absolute timeout value to past time,
  8798. for example abstime={ .tv_sec=0, .tv_nsec=0 }. However absolute
  8799. time was converted to relative time using unsigned integer arithmetic
  8800. and resulted large ticks count by clock_abstime2ticks, instead of
  8801. expected negative ticks value. Change corrects clock_abstime2ticks()
  8802. to return negative ticks, if absolute time is in the past. From
  8803. Jussi Kivilinna (2014-11-19).
  8804. * fs/vfs/fs_poll.c: poll() was not waking up from signals (for example
  8805. mq_notify() events). From Jussi Kivilinna (2014-11-19).
  8806. * arch/arm/src/stm32/stm32_otghs.c, Make.defs,
  8807. configs/stm32f429i-disco/src/stm32_usb.c and Makefile: STM32 F4 OTGHS
  8808. device controller driver from Brennan Ashton (2014-11-20).
  8809. * configs/sama5d3-xplained/bridge: Add a simple test for the EMAC
  8810. and GMAC on the SAMA5D3 working together (2014-11-20).
  8811. * libnx/nxtk/nxtk_drawframe.c: Remove warnings when CONFIG_NXTK_BORDERWIDTH
  8812. is set to zero. From Pierre-Noel Bouteville (2014-11-20).
  8813. * fs/vfs/fs_poll.c: Add proper handling for sem_timedwait errnos.
  8814. From Jussi Kivilinna (2014-11-21).
  8815. * net/udp/udp_conn.c and udp.h: Extensions to UDP "connection" structure
  8816. for the case of multiple networks. In this case, assigned port numbers
  8817. only have to be unique with respect to the IP address. So, for
  8818. example, you could have multiple port 80's, one on each network
  8819. (2014-11-21).
  8820. * net/tcp/tcp_conn.c and tcp.h: Make tcp_listener static scope; it is
  8821. not used outside of tcp_conn.c (2014-11-22).
  8822. * net/udp/tcp_conn.c and tcp.h: Extensions to TCP connection structure
  8823. for the case of multiple networks. See the description of the similar
  8824. change for UDP above (2014-11-22).
  8825. * net/route/net_router.c: Refuse to perform routing table lookups for
  8826. the Broadcast IP address. From Brennan Ashton.
  8827. * net/netdev/netdev_findbyaddr.c and netdev: Add logic to netdev_findbyaddr()
  8828. to return the correct network device for the case where a broadcast
  8829. address is used. This change caused trivial ripples through other
  8830. files because additional parameters are required for netdev_findbyaddr()
  8831. when CONFIG_NET_MULTINIC. Those other file include net/netdev/netdev_rxnotify.c,
  8832. netdev_txnotify.c which, in turn, for changes to arp/arp_send.c,
  8833. icmp/icmp_ping.c, socket/net_sendfile.c, recvfrom.c, sendto.c,
  8834. tcp/tcp_send_buffered.c, and tcp_send_unbuffered.c (2014-11-23).
  8835. * arch/arm/src/kl/chip/kl_i2c.h: I2C header file for the Freescale KL
  8836. family. From Alan Carvalho de Assis (2014-11-23).
  8837. * include/nuttx/fs/fs.h: Fix typo in conditional compilation. From
  8838. Alan Carvalho de Assis (2014-11-23).
  8839. 7.7 2015-01-26 Gregory Nutt <gnutt@nuttx.org>
  8840. * nuttx/drivers/eeprom and include/nuttx/eeprom/: Add support for generic
  8841. EEPROM access via a character driver. Add also the EEPROM driver itself.
  8842. From Sébastien Lorquet (2014-11-26).
  8843. * libnx/nxfonts/nxfonts_pixel-lcd-machine.h and nxfonts_pixel-unicode.h,
  8844. include/nuttx/nx/nxfonts.h, graphpics/Kconfig, and build-related files
  8845. in libnx/nxfonts: Two new fonts from Pierre-noel Bouteville (2014-11-26).
  8846. * configs/lpc4357-evb, arch/arm/src/pc43xx/chip/, configs/Kconfig, and
  8847. and other related files: A port of NuttX to the LPC4357-EVB from
  8848. Toby Duckworth. This port is a leverage of the LPC3330-Xplorer port
  8849. and still have a some misinformation from that port that needs to be
  8850. updated for the LPC4357-EVB (2014-11-26).
  8851. * arch/arm/include/stm32/chip.h, src/stm32/Kconfig, chip.h, and
  8852. chip/stm32f102_pinmap.h: Enable support for the STM32 F102. From
  8853. https://github.com/PX4/NuttX/pull/28.diff (2014-11-27).
  8854. * drivers/loop.c: Loop device should return -EINTR is interrupt by a
  8855. signal (2014-11-27).
  8856. * drivers/input/djoystick.c and include/nuttx/input/djoystick.h. Also
  8857. drivers/input/Kconfig and Make.defs, and include/nuttx/fs/ioctl.h: Add
  8858. an interface definition and upper half driver for a discrete joystick
  8859. device (2014-11-27).
  8860. * arch/arm/src/efm32/Kconfig and efm32_serial.c: Add support for serial
  8861. termios TCGET and TCSET. For the moment, only set/get speed is
  8862. implemented. From Pierre-noel Bouteville (2014-11-27).
  8863. * drivers/wireless/ and include/nuttx/wireless/cc3000.h: A set of 11
  8864. patches correcting issues with the CC3000 networking. All from Jussi
  8865. Kivilinna (2014-11-28). Among these:
  8866. 03/11: CC3000 driver was getting stuck at recv() when remote host
  8867. closed connection and application tried to read data from remotely
  8868. shutdown socket. This patch adds proper handling for remotely closed
  8869. socket event.
  8870. 07/11: Socket state initialization was done in 'register', while it
  8871. should be initialized in 'open' and deinitialized in 'close'. Old
  8872. way caused problems when device is closed, power-cycled and then
  8873. reopened as old socket state was left enabled.
  8874. 08/11: Select thread was getting stuck after 'close, power-cycle,
  8875. reopen', since selectsem was not properly setup and cleaned up.
  8876. 09/11: 'maxFD' was not properly reset in select worker and not checked
  8877. for before calling cc3000_select().
  8878. 10/11: After wlan_stop()/cc3000_close(), irqsem was left with count
  8879. '-1'. Therefore on next wlan_start()/cc3000_open(), initial value
  8880. for irqsem was wrong. Additional repeated wlan_start()/wlan_stop()
  8881. decreased irqsem value further. Obviously this causes driver not to
  8882. function correctly and freeze. Patch moves initialization and
  8883. destruction of waitsem, irqsem and readysem to
  8884. cc3000_open/cc3000_close.
  8885. * include/cxx/cctype: Undefine macros defined ctype.h so that builtin
  8886. C++ implementations will be used intead. From Lorenz Meier
  8887. (2014-11-28).
  8888. * configs/stm3210e-eval/src/stm32_djoystick.c: Add a discrete Joystick
  8889. supportfor the STM3210E-EVAL (2014-11-28).
  8890. * drivers/input/djoystick.c include/nuttx/input/djoystick.h: Add a new
  8891. ioctl to get the supported joystick discrete signals (2014-11-28).
  8892. * drivers/input/ajoystick.c and include/nuttx/input/ajoystick.h. Also
  8893. drivers/input/Kconfig and Make.defs, and include/nuttx/fs/ioctl.h: Add
  8894. an interface definition and upper half driver for an analog joystick
  8895. device. Initial check-in is only a little more of a clone of the
  8896. discrete joystick driver and is as-of-yet untested (2014-11-27).
  8897. * libc/Kconfig, misc/Make.defs, misc/lib_ioctl.c, fs/vfs/fs_ioctl.c,
  8898. include/nuttx/fs/fs.h, include/sys/ioctl.h, syscall.h, and several
  8899. files in syscall/: Add support for a variadic ioctl() function. The
  8900. ioctl() interface is a non-standard, Unix interface. NuttX has always
  8901. used the older, three-parameter version. Most contemporary systems
  8902. now, however, use a variadic form of the ioctl() function. Added an
  8903. option to insert a shim layer to adapt the three-parameter ioctl() to
  8904. use the variadic interface form. Internally, the ioctl handling is
  8905. the same three-parameter logic. The only real complexity to the shim
  8906. is in how the system calls must be handled (2014-11-29).
  8907. * arch/arm/src/stm32/stm32_i2c.c: Port Tridge's I2C noise resilience
  8908. logic from the PX4 repository (2014-11-29).
  8909. * arch/arm/src/stm32/chip/stm32l15xxx_pinmap.h: Fix a typo in the
  8910. MCO pin definition. From Jussi Kivilinna (2014-12-02).
  8911. * arch/arm/src/stm32/stm32_rcc.h: Add missing MCO configuration for
  8912. the STM32L1xxx. From Jussi Kivilinna (2014-12-02).
  8913. * configs/sama5d3-xplained/src/sam_ajoystick.c: Add analog Joystick
  8914. shield support for the SAMA5D3 Xplained board (2014-12-3).
  8915. * configs/ucleo-f4x1re/src/sam_ajoystick.c and sam_adc.c: Add
  8916. analog Joystick shield support for the Nucleo F4x1RE boards. There
  8917. are still some ADC issues to be worke through as of the initial
  8918. commit (2014-12-3).
  8919. * /drivers/eeprom/spi_xx25xx.c and /include/nuttx/eeprom/spi_xx25xx.h:
  8920. Add support for ST Micro EEPROM device geometries. From Sebastien
  8921. Lorquet (2014-12-5).
  8922. * sched/mqueue: msg type should be char * not void * in mq_send,
  8923. mq_timedsend, mq_receive, and mq_timedreceive. Noted by Pierre-Noel
  8924. Bouteville (2014-12-05).
  8925. * fs/mqueue/mq_open.c and sched/mqueue/mq_msgqalloc.c: In message queue
  8926. creation return ENOSPC error if size exceeds the configured size of
  8927. pre-allocated messages; Use ENOSPC vs ENOMEM per OpenGroup.org. From
  8928. Pierre-Noel Bouteville (2014-12-6).
  8929. * Add sys/custom_file.h. Used when CUSTOM_FILE_IO is define and avoids
  8930. re-definition errors about the FILE define. From Thomas Gruber via
  8931. the PX4 repository (2014-12-06).
  8932. * tools/bfd-converter.c and mkdeps.c: Eliminate a warnging about
  8933. redefined strtok_r on some platforms (2014-12-8).
  8934. * arch/sim/Kconfig: Allow building the simulated framebuffer driver
  8935. even if NX is not enabled (12014-12-8).
  8936. * configs/sim/traveler and README.txt: Add a configuration build and test
  8937. the Traveler first person game using the simulator (2014-12-8).
  8938. * arch/arm/src/stm32/chip/stm32f20xxx_pinmap.h and stm32f40xxx_pinmap.h:
  8939. Set the GPIO_SPEED_50MHz on all F2 and F4 SPI pin configurations.
  8940. This is based on an F411 SPI1 errata but the fixed is generalized to
  8941. all SPI and all F2 and F4 (let me know if this introduces any other
  8942. issues). Discovered and fixed by Sebastien Lorquet after much
  8943. consternation (2014-12-8).
  8944. * libc/stdio/lib_avsprintf.c: avsprintf(): Fix a bug in usage of
  8945. va_list on x86. On x86, va_list is a pointer to a single copy on the
  8946. stack. avsprintf() calls lib_vsprintf() twice and so traverses the
  8947. va_list twice using va_start. va_start modifies that single copy on
  8948. the stack so that the second call to lib_vsprintf() fails. This appears
  8949. to be an issue with x86 only so far (2014-12-8).
  8950. * stdint.h: Don't use hex values to specify minimum values of fixed
  8951. width, signed values. Hex values are inherently unsigned and not
  8952. usable for this purpose in all contexts (2014-12-8).
  8953. * arch/arm/src/tiva/tiva_i2c.c, tiva_i2c.h, Kconfig, and Make.defs: Add
  8954. build framework and skeleton files for Tiva I2C driver. Initial
  8955. commit is just the STM32 I2C driver with name changes and STM32-
  8956. specific logic removed (2014-12-9).
  8957. * fs/procfs/fs_procfs.c: Add procfs write support. From Ken Pettit
  8958. (2014-12-9).
  8959. * include/crc8.h, libc/misc/lib_crc8.c, and Make.defs: Add CRC8 support.
  8960. From Ken Pettit (2014-12-9).
  8961. * drivers/mtd/smart.c, Kconfig, fs/smartfs/smartfs_smart.c,
  8962. smartfs_procfs.c, smartfs_utils.c, smartfs.h, Kconfig,
  8963. include/nuttx/fs/ioctl.h, smart.h, and mtd/smart.h: Implements wear-
  8964. leveling in the SmartFS. From Ken Pettit (2014-12-9).
  8965. * arch/arm/src/tiva/tiva_i2c.c: Driver is code complete but still
  8966. untested (2014-12-10).
  8967. * configs/tm4c123g-launchpad/src/tm4c_at24.c, tm4c_bringup.c, and other
  8968. files: Add initialization logic for an external AT24 EEPROM. This
  8969. is intended only to support testing of the Tiva I2C driver
  8970. (2014-12-10).
  8971. * libnx/Makefile, libnx/nxfonts/nxfonts_x11-misc-fixed-*.h, Make.defs,
  8972. Makefile.sources, nxfonts_bitmaps.c, graphics/Kconfig, and
  8973. include/nuttx/nx/nxfonts.h: Lots of fonts that derive from
  8974. X11-misc-fixed-* fonts. Converted for use by NuttX by Pierre-Noel
  8975. Bouteville (2014-12-10).
  8976. * nuttx/drivers/mtd/m25px.c; M25P serial flash driver: Add subsector
  8977. size of the M24P16 part. From Lazlo (2014-12-10).
  8978. * libc/string/lib_strncpy.c: Commit d0c76ccacf0dc8988f9617ad82bf4349f456bb08
  8979. will trash a lot of memory if n == 0. From Yasuhiro Osaki (2014-12-11).
  8980. * arch/arm/src/stm32/stm32_otghsdev.c. Fix for OTGHS device driver
  8981. working in FS mode. From Ken Pettit (2014-12-12).
  8982. * libc/stdio/lib_sscanf.c: Accept %X as well as %x as a format
  8983. specifier. From Sébastien Lorquet (2014-12-12).
  8984. * libc/stdio/lib_sscanf.c: Also accept %F as well as %f (2014-12-12).
  8985. * arch/arm/src/stm32/stm32_otghsdev.c: For STM32 OTG HS DEV (in FS
  8986. mode): Disable ULPI clock enable in RCC AHB1 Register. If Both ULPI
  8987. and the FS clock enable bits are set in FS mode, then the ARM never
  8988. awakens from WFI due to a chip issue. This is only an issue if you
  8989. are using the internal PHY. From Ken Pettit (2014-12-13).
  8990. * drivers/serial/serial.c: In case a thread is doing a blocking
  8991. operation (e.g. read()) on a serial device, while it is being
  8992. terminated by pthread_cancel(), then uart_close() gets called, but
  8993. the semaphore (dev->recv.sem in the above example) is still blocked.
  8994. This means that once the serial device is opened next time, data will
  8995. arrive on the serial port (and driver interrupts handled as normal),
  8996. but the received characters never arrive in the reader thread.
  8997. The problem was fixed by re-initializing the semaphores on the last
  8998. uart_close() on the device. From Harald Welte (2014-12-13).
  8999. * sched/semaphore/sem_recover.c, Make.defs, seamphore.c,
  9000. sched/wdog/wd_recover.c, Make.defs, wdog.h, sched/task/task_recover.c:
  9001. Add logic to clean up after task_delete() or pthread_cancel() if the
  9002. task happens to be waiting on a semaphore when it is cancelled
  9003. (2014-12-13).
  9004. * arch/arm/src/kl/kl_gpioirq.c, Kconfig, Make.defs, and kl_irq.c: Add
  9005. GPIO interrupt capability for the KL architecture. The patch is
  9006. almost the same as kinetis_pinirq.c, just minor modifications and
  9007. rename kl_pinirq to kl_gpioirq to make it more generic to developers.
  9008. From Alan Carvalho de Assis (2014-12-13).
  9009. * arch/sim/src/up_ajoystick.c, Kconfig, Makefile, up_idle.c,
  9010. up_internal.h, up_x11eventloop.c, up_x11framebuffer.c,
  9011. configs/sim/src/Makefile, sim_boot.c, and traveler/defconfig: Add an
  9012. X11 mouse-based simulation of an analog joystick device (2014-12-14).
  9013. * drivers/sensors/adxl345*, include/nuttx/sensors/adxl345.h and other
  9014. files: Add driver support for the ADXL345 accelerometer. From Alan
  9015. Carvalho de Assis (2014-12-16).
  9016. * configs/freedom-kl25z: Add board support for the ADXL345 accelerometer.
  9017. From Alan Carvalho de Assis (2014-12-16).
  9018. * Kconfig, include/debug.h, drivers/sensors/*, and Qencoder logic in
  9019. arch/arm/src/stm32 and various QEncoder board support files under
  9020. config/: Unify sensor debug. ADX driver was using input debug; LM75
  9021. and QENCODE that their own custom debug. Now all use
  9022. CONFIG_DEBUG_SENSOR, sndbg() (2014-12-16).
  9023. * configs/dk-tm4c129x: Initial board support for the Tiva DK-TM4C129x
  9024. Connected Development Kit. The initial commit is just the Tiva
  9025. TM4C123G-Launchpad board support with naming changes (2014-12-16).
  9026. * include/nuttx/sched.h, sched/Kconfig, sched/init/os_start.c,
  9027. sched/pthread/pthread_create.c, sched/task/task_prctl.c,
  9028. sched/task/task_setup.c: strncpy() will not copy the terminating \0
  9029. into the destination if the source is larger than the size of the
  9030. destination. Ensure that the last byte is always zero and let strncpy
  9031. only copy CONFIG_TASK_NAME_SIZE bytes. The issue of unterminated names
  9032. can be observed in ps when creating a pthread while
  9033. CONFIG_TASK_NAME_SIZE is set to 8. From Daniel Willmann (2014-12-17).
  9034. * configs/*/*/defconfig: The previous change increased the task name
  9035. size allocation by one to hold a NUL terminator. This changes reduces
  9036. the configured name size by one so that no additional memory is used
  9037. (2014-12-17).
  9038. * drivers/wireless/cc3000/cc3000.c: CC3000 Fix: Data can be unaligned.
  9039. When dereferenced as an input ntosh(), a bad value is returned.
  9040. Reported by Alan Carvalho de Assis (2014-12-18).
  9041. * configs/freedom-kl25z: Update the Freedom KL25Z board CC3000 support
  9042. to use the current CC300 interfaces. From Alan Carvalho de Assis
  9043. (2014-12-18).
  9044. * arch/arm/src/tiva, include/tiva, and many configurations: Change
  9045. negative Tiva logic CONFIG_TIVA_DISABLE_GPIOx_IRQS to positive logic
  9046. CONFIG_TIVA_GPIOx_IRQ (2014-12-18).
  9047. * arch/arm/src/tiva/Kconfig: Fix configuration logic for IRQ interrupts.
  9048. The various parts support varying numbers of GPIO blocks and with varying
  9049. capabilities to support interrupts on the pins of different GPIO blocks
  9050. (2014-12-18).
  9051. * arch/arm/src/stm32/chip/stm32f40xxx_rcc.h: PLLSAI register name to
  9052. this one in the reference manual. From Marco Krahl (2014-12-19).
  9053. * arch/arm/src/stm32/chip/stm32_ltdc.h: Rename CFBLR register name to
  9054. the name used in the reference manual. From Marco Krahl (2014-12-19).
  9055. * arch/arm/src/stm32/chip/stm32_ltdc.h: Add missing clut register
  9056. definition. From Marco Krahl (2014-12-19).
  9057. * arch/arm/src/stm32/stm32f40xxx_rcc.c: Configure PLLSAI clock to
  9058. enable ltdc register access. From Marco Krahl (2014-12-19).
  9059. * configs/stm32f429i-disco/include/board.h: Update board definition for
  9060. the ili9341 LCD display. This configures all LCD settings for the RGB
  9061. interface. Also adds a customer LCD display template. From Marco Krahl
  9062. (2014-12-19).
  9063. * arch/arm/src/stm32/stm32_ltdc.h: Define a common layer description for
  9064. the ltdc and dma2d controller. From Marco Krahl (2014-12-19).
  9065. * arch/arm/src/stm32/stm32_dma2d.c/.h and related files: Add
  9066. infrastructure for dma2d support. From Marco Krahl (2014-12-19).
  9067. * arch/arm/include/stm32/ltdc.h: Add interface to perform hardware
  9068. accelerated layer operation. The following methods must be supported
  9069. by the implementation: gevideoinfo, getplaneinfo, getlid, setclut,
  9070. getclut, setcolor, getcolor, setcolorkey, getcolorkey, setalpha,
  9071. getalpha, setblendmode, getblendmode, setarea, getarea, and update.
  9072. And if DMA2D is supported: blit and blend. The method up_ltdcgetlayer
  9073. provides access to a reference of a specific ltdc layer. From Marco
  9074. Krahl (2014-12-19).
  9075. * arch/arm/src/stm32/stm32_ltdc.c: Implements ltdc frambuffer support
  9076. for the generic nuttx framebuffer interface, (see nuttx/video/fb.h).
  9077. This also implements the interface to perform hardware accelerated
  9078. layer operation by the ltdc controller and dma2d controller later
  9079. (see nuttx/video/ltdc.h). The following methods are supported by the
  9080. ltdc interface: getvideoinfo, getplaneinfo, getlid, setclut, getclut,
  9081. setcolor, getcolor, setcolorkey, getcolorkey, setalpha, getalpha,
  9082. setblendmode, getblendmode, setarea, getarea, and update. From Marco
  9083. Krahl (2014-12-19).
  9084. * include/nuttx/lcd/ili9341.h: Update interface control definitions.
  9085. From Marco Krahl (2014-12-19).
  9086. * configs/stm32f429i-disco/src/stm32_lcd.c: Add support for
  9087. initializing ltdc framebuffer and the configured lcd display. This
  9088. adds support for initializing of the ltdc controller and the lcd
  9089. device connected on the stm32f429i-disco. The following methods are
  9090. provided for the generic fb interface: up_fbinitialize,
  9091. up_fbgetvplane, and up_fbuninitialize. The following methods are
  9092. provided for the ltdc interface: up_ltdcgetlayer. From Marco Krahl
  9093. (2014-12-19).
  9094. * zrch/arm/src/stm32/Kconfig: Add configuration option for ltdc. This
  9095. adds the following ltdc configuration options: dither support, cmap
  9096. support, is this the right place for CONFIG_FB_CMAP?, support for
  9097. extended ltdc interface. From Marco Krahl (2014-12-19).
  9098. * nuttx/configs/stm32f429i-disco: Enable configuration of framebuffer
  9099. support for the ltdc controller. From Marco Krahl (2014-12-19).
  9100. * configs/stm32f429i-disco/src/stm32_boot.c: Initialize ltdc during
  9101. bootup. From Marco Krahl (2014-12-19).
  9102. * configs/stm32f429i-disco/ltdc: Add default platform configuration to
  9103. test framebuffer support for the ltdc. From Marco Krahl
  9104. (2014-12-19).
  9105. * libnx/nxfonts/nxfonts_getfont.c: A patch to add previous added font
  9106. into nxf_getfonthandle function. From Pierre-Noel Bouteville
  9107. (2014-12-19).
  9108. * arch/arm/src/tiva, include/tiva, and many configurations: Change
  9109. negative Tiva logic CONFIG_SSIx_DISABLE to positive logic
  9110. CONFIG_TIVA_SSIx. Add support for SSI2 and SSI3 (2014-12-21).
  9111. * arch/arm/src/efm32/efm32_pwm.c/.h, efm32_timer.c/.h, and related
  9112. build files: Add support for timer/PWM on the EFM32GG. From
  9113. Pierre-noel Bouteville (2014-12-26).
  9114. * drivers/serial/Kconfig, serial.c, serialirq.c, and
  9115. include/nuttx/serial/serial.h: Add watermark levels to the serial
  9116. RX flow control logic. Modify the rxflowcontrol method to accept
  9117. the number of bytes in the buffer and a boolean indication of which
  9118. watermark was crossed (2014-12-27).
  9119. * sched/semaphore/sem_waitirq.c must be built when signals are disabled.
  9120. That is because not handles not only the case of semaphore wait
  9121. being awakened by a signal, but also the case with sem_timedwait.c
  9122. when the semaphore wait is awakened by a timeout (2014-12-28).
  9123. * arch/arm/src/stm32/stm32_ltdc.c: stm32: Fix faulty access to non-
  9124. existing layer. This disables operation that requires double layer
  9125. support, when configured for single layer only. From Marco Krahl
  9126. (2014-12-29).
  9127. * arch/arm/src/stm32/stm32_ltdc.c: stm32: Fix wait upon vertical blank.
  9128. This should never have occurred before. From Marco Krahl (2014-12-29).
  9129. * configs/stm32f429i-disco/ltdc/defconfig and src/stm32_boot.c:
  9130. stm32f429i-disco: change ltdc initializing during boot up. This moves
  9131. initializing of the ili9341 lcd and ltdc driver to the board specific
  9132. initializing routine. From Marco Krahl (2014-12-29).
  9133. * arch/arm/src/stm32/stm32_ltdc.c: Clean up documentation, some
  9134. formatting improvements. From Marco Krahl (2014-12-29).
  9135. * arch/arm/src/tiva/chip/tiva_ethernet.h, lm3s_ethernet.c, and
  9136. tm4c_ethernet.h: Add logic to discriminate between LM3S class Ethernet
  9137. register definitions and TM4C129X class Ethernet register definitions.
  9138. Add TM4C129X Ethernet register definitions (2014-12-30).
  9139. * arch/arm/src/tiva/tm4c_ethernet.c, lm3s_ethernet.c, Kconfig, and
  9140. Make.defs: First cut at TM4C129X Ethernet driver. Initial commit is
  9141. basically just the STM32 Ethernet driver with modifications for a clean
  9142. compilation in the Tiva environment (2014-12-31).
  9143. * arch/arm/src/stm32/stm32_rtc.c, stm32_rcc.c, Kconfig: Add support for
  9144. the internal low speed clock (LSI) as a source of the RTC clock. Some
  9145. boards do not have the external 32khz oscillator installed, for those
  9146. boards we must fallback to the crummy internal RC clock. Turn on by
  9147. defining CONFIG_RTC_LSICLOCK. From Kevin Hester (2015-01-02).
  9148. * net/tcp/tcp_conn.c: Fix a logic error when CONFIG_NETDEV_MULTINIC is
  9149. selected: net_unlock(flags) will be called will an uninitialized
  9150. variable (2015-01-03).
  9151. * arch/arm/src/tiva/tiva_irq.c: Fix Tiva IRQ control logic; was limited
  9152. to only 64 IRQs. That is a problem for higher numbered IRQs on many
  9153. platforms (2015-01-06).
  9154. * arch/arm/src/stm32/stm32_sdio.c, drivers/mmcsd/mmcsd_sdio.c and Kconfig,
  9155. and include/nuttx/sdio.h: MMCSD SDIO: Add support for a new
  9156. SDWAIT_WRCOMPLETE condition. The previous logic used a busy-wait loop
  9157. to poll the card R1 status to determine when the card was ready for
  9158. the next transfer. That busy-wait can be quite long -- up to hundreds
  9159. of milliseconds. An alternative is to look the SD D0 pin which
  9160. will change state when the card is no longer busy. This change avoids
  9161. the busy-wait poll by reconfiguring the SD D0 pin as a GPIO interrupt,
  9162. then waiting for the card to become ready without taking up CPU
  9163. cycles. This change is conditioned on CONFIG_MMCSD_SDIOWATI_WRCOMPLETE
  9164. and is currently only implemented for the STM32 SDIO driver. From
  9165. David Sidrane (2015-01-08).
  9166. * arch/arm/src/tiva/tiva_timerlib.c and .h: Add a timer library for
  9167. generic support of Tiva timers (2015-01-08).
  9168. * arch/arm/src/tiva/tiva_timerlow32.c: Add a driver lower half for
  9169. drivers/timer.c. Only 32-bit periodic timers are supported. This
  9170. provides userspace access to timers.
  9171. * configs/px4-v2_upstream, Kconfig, README.txt: Remove the px4-v2_upstream
  9172. configuration. Moved to misc/Obsoleted/configs. This was not the
  9173. official configuration for the PX4 board and has led to confusion by
  9174. NuttX users. The board configuration also requires some ongoing
  9175. maintenance and customization to support ongoing PX4 testing and
  9176. evaluation. It is best retained the PX4 repositories where it can be
  9177. properly maintained and not in the upstream NuttX repository
  9178. (2015-01-14).
  9179. * net/netdev/netdev_ioctl.c and include/nuttx/net/ioctl.h: Add support
  9180. for IPv6 ioctls to manipulate IP addresses (2015-01-14).
  9181. * net/icmpv6: Create a future home for ICMPv6 (2015-01-14).
  9182. * net/icmp: Remove all logic conditioned on CONFIG_NET_IPv6
  9183. (2015-01-14).
  9184. * net/, include/nuttx/net, and a few other files: (1) Copied all ICMP
  9185. sources files to net/icmpv6 with proper renaming and removal of IPv4
  9186. logic, (2) remove IPv6 logic from files in net/icmp, (3) copied
  9187. include/nuttx/icmp.h to icmpv6.h and removed IPv4 specific logic, (4)
  9188. removed all IPv6 logic from icmp.h, (5) IP_HDRLEN became IPv4_HDRLEN
  9189. and IPv6_HDRLEN, (6) ip_chksum() became ipv4_chksum() and
  9190. ipv6_chksum(), and (7) added partial support for ICMPv6 statistics
  9191. (2015-01-14).
  9192. * arch/, drivers/net/, include/nuttx/net, and net/devif: (1) Rename
  9193. devif_input() ipv4_input(), (2) copy net/devif/devif_input.c to
  9194. ipv6_input.c, remove all IPv4-specific logic, (3) rename
  9195. net/devif/devif_input.c to ipv4_input.c, remove all IPv6-specific
  9196. logic, and (4) xplit IPv4 header structure out as net_ipv4hdr_s from
  9197. net_iphdr_s (2015-01-15).
  9198. * arch/ and drivers/net: All Ethernet drivers: Call ipv6_input() if
  9199. IPv6 is enabled and an IPv6 packet is received (2015-01-15).
  9200. * net/devif, net/tcp, net/ucp, include/nuttx/net: Separate tcp_input()
  9201. and udp_input() into separate functions tcp_ipv4_input(),
  9202. tcp_ipv6_input(), udp_ipv4_input(), and upd_ipv6_input() than can deal
  9203. will the data offsets caused by the differing sizes of the IP header
  9204. (2015-01-15).
  9205. * net/utils/net_ipv6_maskcmp.c: Add missing implementation of
  9206. net_ipv6_maskcmp() (2015-01-15).
  9207. * Networking: Drivers can have both IPv4 and IPv6 addresses, but a
  9208. socket can only only one or the other; The socket connection
  9209. structures need to include a union of IPv4 and IPv6 addresses for
  9210. the local address binding and for the remote address connections
  9211. (2015-01-16).
  9212. * Networking: Replace all references to net_ipaddr_t with either
  9213. in_addr_t on net_ipv6addr_t. The goal is to support both IPv4 and
  9214. IPv6 simultaneously. This requires that the two types be distinct
  9215. and not conditionally typedef'ed to net_ipaddr_t (2015-01-16).
  9216. * Networking: Replace all references to the macros net_ipaddr_copy,
  9217. net_ipaddr_hdrcopy, net_ipaddr_cmp, net_ipaddr_hdrcmp, and
  9218. net_ipaddr_maskcmp with the appropriate IPv4 or IPv6 version of the
  9219. macro (such as net_ipv4addr_copy). The goal is to support both
  9220. IPv4 and IPv6 simultaneously. This requires that the macros be
  9221. distinct and not conditionally defined to one on or the other
  9222. (2015-01-16).
  9223. * Networking: UDP and TCP MSS depends on the IP header size (as well
  9224. as the link layer header size) and cannot be represented with a
  9225. single value (2015-01-16).
  9226. * net/neighbor: Move net/ipv6 to net/neighbor (2015-01-16).
  9227. * include/net/if.h: Add a bit to the device flags to indicate if the
  9228. device packet buffer holds an IPv4 or an IPv6 domain packet.
  9229. Set/clear the flag along with the correct offset to the application
  9230. payload data as each packet is received (2015-01-17).
  9231. * net/socket, net/tcp, net/udp: Add logic to select the domain of the
  9232. outgoing packet before sending any UDP or TCP packet. This sets the
  9233. bit to indicate the IPv4 or IPv6 domain and the correct offset to the
  9234. output going payload data (2015-01-17).
  9235. * net/socket and net/tcp: When we are ready to receive data or when we
  9236. have outgoing data ready to be sent, we need to the notify the
  9237. appropriate device driver of this condition. The notifying socket
  9238. will be configured as either PF_INET or PF_INET6 and must look up the
  9239. correct driver using the correct IP domain (2015-01-17).
  9240. * net/socket/accept.c: Fix accept() so that it returns the correct IP
  9241. address for the selected socket IP domain (2015-01-17).
  9242. * Networking: Final detangling off IPv4 and IPv6 TCP/UDP send logic.
  9243. The networking subsystem now compiles with IPv6 enabled (2015-01-18).
  9244. * arch/arm/src/tiva/tm4c_ethernet.c: When calling into the stack
  9245. from the worker thread, it is necessary to have the stack locked
  9246. (2015-01-18).
  9247. * nuttx/arch/arm/src/stm32/stm32_serial.c: Fix declaration and
  9248. definition of up_receive() and up_dma_receive() to match fields of
  9249. uart_ops_s from nuttx/include/nuttx/serial/serial.h. From Freddie
  9250. Chopin (2015-01-19).
  9251. * drivers/pipes/pipe.c, drivers/usbdev/cdcacm.c, and
  9252. mm/mm_gran/mm_granalloc.c: Fixes some issues found by the PX4 team
  9253. using Coverity. From Pavel Krienko (2015-01-19).
  9254. * net/icmpv6/icmpv6_solicit.c, net/neighbor/neighbor_out.c, and other
  9255. files: Add logic to search the Neighbor Table and update the
  9256. destination address in the output Ethernet header OR to send an
  9257. ICMPv6 Neighbor Solicitation if there is no entry in the Neighbor
  9258. table for the IPv6 address (2015-01-20).
  9259. * arch/ and drivers/net: Add missing raw/packet socket support to
  9260. all Ethernet driverss (2015-01-20).
  9261. * arch/ and drivers/net: Networking: Modify all Ethernet drivers:
  9262. Do neighbor look-up on all outgoing IPv6 packs in order to properly
  9263. set the destination link layer address (2015-01-20).
  9264. * Networking: When sending ICMPv6 advertisements and solicitations,
  9265. set the NOARP bit so that we don't overwrite the destination MAC
  9266. address (2015-01-20).
  9267. * Many files: Correct name of fields in struct sockaddr_in6: sin6_port
  9268. and sin6_family, not sin_port and sin_family (2015-01-20).
  9269. * net/socket/accept.c: Correct the value returned by accept() in the
  9270. case where net_lockingwait() is called. It was returning -1 and
  9271. losing the errno value. Noted by Rony Xln (2015-01-22).
  9272. * net/: After some significant effort, ICMPv6 and TCP are both
  9273. functional when IPv6 is selected. UDP still requires testing
  9274. (2015-01-22).
  9275. * configs/dk-tm4c129x/ipv6: Add an IPv6-enabled NSH configuration
  9276. (2015-01-23)
  9277. * include/nuttx/net/icmpv6.h and net/icmpv6/icmpv6_ping.c: First cut
  9278. at ICMPv6 ping logic. It works in both directions! (2015-01-23).
  9279. * arch/arm/src/efm32/efm32_rmu.c and .h: Add support for the EFM32
  9280. reset management unit (RMU). From Pierre-noel Bouteville
  9281. (2015-01-23).
  9282. * include/nuttx/math.h: Adds support for the expm1 functions:
  9283. http://pubs.opengroup.org/onlinepubs/009695399/functions/expm1.html.
  9284. From Brennan Ashton (2015-01-23).
  9285. * Many file: Add CONFIG_STACK_COLORATION that does the same thing as
  9286. CONFIG_DEBUG_STACK but without enabling debug. From David Sidrane
  9287. (2015-01-24).
  9288. * Remove CONFIG_DEBUG_STACK. Adding CONFIG_STACK_COLORATION makes
  9289. this configuration option pointless (2015-01-24).
  9290. * net/: Clean up network status collection for IPv6 (2015-01-24).
  9291. * arch/ and configs/: Changes to get USART 2 & 3 working on
  9292. lpc4357-evb. These changes are required to get USART 2 and 3 working
  9293. on the Embest development board. From Toby Duckworth.
  9294. 7.8 2015-02-11 Gregory Nutt <gnutt@nuttx.org>
  9295. * include/nuttx/math.h and libc/math: Add support for inverse
  9296. hyperbolic functions. From Brennan Ashton (2015-01-26).
  9297. * include/nuttx/math.h: Add math library definition for isfinite().
  9298. From Brennan Ashton (2015-01-26).
  9299. * include/nuttx/math.h and libc/math/lib_erf*.c: Add error function
  9300. to math library. From Brennan Ashton (2015-01-26).
  9301. * include/nuttx/math.h and libc/math: Add math library defines for
  9302. nan(), copysign(), and trunc() functions. From Brennan Ashton
  9303. (2015-01-26).
  9304. * sched/wqueue/kwork_process and libc/wqueue/lib_usrthread.c: Fix
  9305. a backward calculation when determining the time to the next event.
  9306. This is a bug in the back-up, "fail safe", work queue timing so it
  9307. not as bad as it seems. From Liio Chen via the PX4 repository
  9308. (2015-01-27).
  9309. * arch/arm/src/stm32/stm32_exti_gpio.c: Disabling any of EXTI 5-9
  9310. interrupts was disabling interrupts for all EXTI 5-9. Same issue with
  9311. EXTI 10-15. From Jussi Kivilinna (2015-01-27).
  9312. * arch/arm/src/stm32/stm32_rtcc.c and Kconfig: Recent changes to
  9313. stm32_rtcc.c do not compile with STM32L15XX configurations. From
  9314. Jussi Kivilinna (2015-01-27).
  9315. * net/local: Add initial support for local, Unix domain sockets.
  9316. Initial support is limited to SOCK_STREAM and is untested on
  9317. initial commit (2014-01-27).
  9318. * net/iob, net/tcp/tcp_callback.c, and include/nuttx/net/iob.h: There
  9319. were issues with the TCP write-ahead buffering if CONFIG_NET_NOINTS was
  9320. enabled: There is a possibility of deadlocks in certain timing conditions.
  9321. I have not seen this with the Tiva driver that I have been users but
  9322. other people claim to see the issue on other platforms. Certainly it
  9323. is a logic error: The network should never wait for TCP read-ahead
  9324. buffering space to be available. It should drop the packets
  9325. immediately. This was fixed by duplicating most of the IOB interfaces:
  9326. The versions that waited are still present (like iob_alloc()), but now
  9327. there are non-waiting versions of the same interfaces (like
  9328. iob_tryalloc()). The TCP read-ahead logic now uses only these non-
  9329. waiting interfaces (2015-01-27).
  9330. * net/tcp/tcp_send_buffered.c and tcp_wrbuffer.c: Fix another deadlock
  9331. condition. tcp_write_buffer_alloc() calls sem_wait() with network
  9332. locked. That worked if CONFIG_NET_NOINTS was not defined because
  9333. interrupts are automatically restored when the wait happens. But
  9334. with CONFIG_NET_NOINTS=y, the wait blocks with the network locked --
  9335. bad style and also can lead to a deadlock condition (2015-01-28).
  9336. * arch/arm/src/armv7-a/arm_memcpy.S and arch/arm/src/armv7-m/up_memcpy.S:
  9337. ARM assembly language memcpy.S's were not returning a value in R0 they
  9338. are required to do. From David Sidrane (2015-01-29).
  9339. * net/local: Extend Unix domain socket support to include support
  9340. for datagram Unix domain sockets (2015-01-29).
  9341. * net/socket/accept.c: Fix a major TCP bug introduced with commit
  9342. e71c09ce9777ff732cb60bd07fb43d85522f79d6. Some connection logic was
  9343. reordered; setting the socket as 'connected' got moved to BEFORE the point
  9344. where the check was made if the socket was already connected. The
  9345. resulting behavior was odd: Telnet would connect, but then when you
  9346. exit and reconnect, it would fail to connect. But then if try again, it
  9347. would connect okay. So the symptom was connect-fail-connect-fail-...
  9348. (2015-01-29).
  9349. * net/socket/net_poll.c, recvfrom.c, and udp/udp_callback.c: Add UDP
  9350. read-ahead support. This enables support for for poll/select on UDP
  9351. sockets and also non-blocking UDP sockets. From Macs N (2015-01-30).
  9352. * net/local/local_netpoll.c, socket/net_poll.c, and udp/udp_netpoll.c:
  9353. Separate out UDP poll logic from net_poll.c into a new udp_netpoll.c;
  9354. Create a skeleton local_netpoll (2015-01-30).
  9355. * net/socket/net_poll.c and tcp/tcp_netpoll.c: Separate TCP poll logic
  9356. out of net_poll.c and move it into the new tcp_netpoll.c (2015-01-30).
  9357. * arch/arm/src/efm32/efm32_clockconfig.c: Logic to unconditionally enable
  9358. LE clocking. Even you don't use core clock LE as source for LFA or LFB,
  9359. to read are write any register not clocked by HFPERCLK or HFCORECLK,
  9360. HFCORECLKLE should be enabled. From Pierre-noel Bouteville (2015-01-30).
  9361. * drivers/net/slip.c: SLIP interface improvements. From Macs N
  9362. (2015-01-30).
  9363. * clock_systimespec(): Fixes for compilation errors in certain
  9364. configurations. From Macs N.
  9365. * drivers/pipes/fifo.c, include/nuttx/fs/ioctl.h, and net/local/local_fifo.c:
  9366. Fix a race condition between FIFO buffer operations and the opening and
  9367. closing of FIFOs which necessary when the FIFOs are used to support
  9368. Unix domain, datagram sockets. The default policy is the deallocate
  9369. FIFO buffering when the last client closes the pipe. When when used
  9370. for datagram communications, packets left in the FIFO will be lost.
  9371. Some like UDP read-ahead is needed: The buffered data in the FIFO
  9372. needs to be retained until the reader gets a chance to re-open the
  9373. FIFO. Added an ioctl (PIPEIOC_POLICY) to control the buffer policy.
  9374. Default (0) is the legacy behavior; Unix domain datagram logic sets
  9375. the alternative policy so that the packet data persists after the FIFO
  9376. is closed (2015-01-30).
  9377. * net/local: Add configuration options so that Unix domain stream and
  9378. datagram support can be separately enabled (2015-01-31).
  9379. * fs/vfs/fs_unlink.c and include/nuttx/fs/fs.h: Add an unlink method to
  9380. both the character and block driver interface. This is important
  9381. because if the driver inode is unlinked and there are no open references
  9382. to the driver, then the driver resources will be stranded. On the unlink
  9383. call, the driver has the opportunity (1) check if there an any open
  9384. references, and if not, (2) free the driver resources (2015-01-31).
  9385. * drivers/pipes: Implement the unlink method. If the pipe/FIFO is
  9386. unlinked, it will marked the pipe/FIFO as unlinked. If/when all open
  9387. references to the driver are closed, all of the driver resources will
  9388. be freed (2015-01-31).
  9389. * arch/avr: Added architecture support for the Atmel AVR ATMega1284P
  9390. MCU. From Jedi Tek'Unum (2015-01-31).
  9391. * configs/moteino-mega: Added support for the LowPowerLab MoteinoMEGA
  9392. that is based on the Atmel AVR ATMega1284P MCU. From Jedi Tek'Unum
  9393. (2015-01-31).
  9394. * EFM32 RTC: RTC driver using BURTC. From Pierre-Noel Bouteville
  9395. (2015-02-01).
  9396. * drivers/ramdisk.c, include/nuttx/fs/ramdisk.h, and other files: Add
  9397. logic to dispose of the driver and RAM buffer when the RAM disk has
  9398. been unlinked and all open references to the RAM disk have been
  9399. closed. Add new parameters to romdisk() to specify what should be
  9400. done with the RAM/ROM buffer -- Should it be freed or not? Changed
  9401. all calls to ramdisk() to use these new parameters (2015-02-01).
  9402. * net/icmpv6/icmpv6_neighbor.c, icmpv6_notify.c (and other files): Adds
  9403. basic logic to support verification that we have the IPv6 address in
  9404. the Neighbor Table. This feature is important because otherwise the
  9405. first packet sent to a remote peer will fail (it will be replaced
  9406. with a Neighbor Solicitation) (2015-01-02).
  9407. * net/arp/arp.h, arp_notify.c, and arp_send.c: Fixes another
  9408. CONFIG_NET_NOINTS issues. When called sem_timedwait() with the
  9409. network locked, the network stays locked while we wait which is not
  9410. what we want (without CONFIG_NET_NOINTS, interrupts are re-enabled
  9411. while we wait and all is well) (2015-02-02).
  9412. * net/icmpv6/icmpv6.h, icmpv6_neighbor.c, icmpv6_notify.c: Apply the
  9413. same fix as for ARP to the Neighbor Solicitation logic (2015-02-02).
  9414. * sched/sched/sched_timerexpiration.c, Kconfig, and include/nuttx/arch.h:
  9415. On my platform I have just 16-bit timer clocked at 32kHz. As result
  9416. oneshot timer max delay is 2s. The patch adds limit of maximum ticks
  9417. in sched_timer_start(). From Macs N (2015-02-03).
  9418. * arch/arm/src/sam34: Add support for Tickless mode of operation for
  9419. the SAM4CM platform. From Macs N (2015-02-03).
  9420. * include/nuttx/net/icmpv6.h and net/icmpv6/Kconfig: Add support for
  9421. sending ICMPv6 Router Solicitation and receiving Router advertisement.
  9422. This is a part of the ICMPv6 auto-configuration logic is still not
  9423. complete (2015-02-03).
  9424. * libnx/nxfonts/nxfonts_getfont.c and nxfonts_sans39x48.h: Fixes a
  9425. problem with one of the font files. From Pierre-noel Bouteville
  9426. (2015-02-03).
  9427. * arch/arm/src/efm32/efm32_rtc_burtc.c: Remove a misbehaving assertion.
  9428. From Pierre-noel Bouteville (2015-02-03).
  9429. * net/icmpv6: Implemented the ICMPv6 Autonomous Auto-Configuration
  9430. logic. This is an IPv6 alternative to DHCP. It obtains the IPv6
  9431. addresses and masks using ICMPv6 Router Solicitation and
  9432. Advertisement messages (2015-02-03).
  9433. * arch/arm/src/stm32/stm32_aes.c, stm32_aes.h, and
  9434. chip/stm32l15xxx_aes.h: Add driver for STM32L162XX AES peripheral.
  9435. From Juha Niskanen (2015-02-04).
  9436. * net/icmpv6/icmpv6_radvertise.c, Kconfig, and other files: Add option
  9437. to send Router Advertisement Messages (2015-02-05).
  9438. * net/icmpv6/icmpv6_input.c, arch/arm/src/tiva/tm4c_ethernet.c, and
  9439. stm32/stm32_eth.c: Add logic to behave like a router (if so
  9440. configured): NuttX will not send the router advertisement message
  9441. in response to any router solicitation messages (2015-02-05).
  9442. * configs/stm32f4discovery/ipv6 and arch/arm/src/stm32/stm32_eth.c: Add
  9443. an IPv6 configuration for the STM32F4-Discovery board (with the
  9444. STM32-DISCO_BB base board). Verify that the STM32 Ethernet driver
  9445. works with IPv6 (2015-02-05).
  9446. * net/icmpv6/icmpv6_input.c and icmpv6_rnotify.c: With these two
  9447. changes both ICMPv6 autonomous autoconfiguration and router
  9448. functionality appear to be working with no problems (2015-02-05).
  9449. * arch/arm/src/tiva and configs/tm4c123g-launchpad: Adds support for
  9450. TM4C123G timers; integrates with the TM4C123G Launchpad. From Calvin
  9451. Maguranis (2015-02-05).
  9452. * arc/arc/src/tiva/tiva_adc.c and .h: Adds a Tiva ADC driver. From
  9453. Calvin Maguranis (2015-02-05).
  9454. * tmv4c123g-launchpad: Add Tiva ADC support to the TM4C123G-Launchpad.
  9455. From Calvin Maguranis (2015-02-05).
  9456. * arch/arm/src/stm32/stm32_spi.c: The source clock for SPI 4,5, and 6
  9457. should be PCLK2, not PCLK1 (for F411, F427, and F429). Per David
  9458. Sidrane (2015-02-07).
  9459. * drivers/syslog/syslog_console.c, include/nuttx/syslog/syslog_console.h,
  9460. and the console device initialization logic for all architectures: Add
  9461. an option to use the syslog'ing device as the system console. This
  9462. option enables a low-level, write-only console device at /dev/console
  9463. (similar to the low-level UART console device). From Pierre-noel
  9464. Bouteville (2015-02-08).
  9465. * net/utils: Clean up and consolidate some clunky stuff in ARP and
  9466. ICMPv6 time waiting logic by adding new net_timedwait() function
  9467. (2015-4-09).
  9468. * arch/arm/src/stm32/stm32_eth.c: Add logic so that STM32 Ethernet
  9469. driver can avoid interrupt level processing and, instead, execute on
  9470. the work thread (2015-4-09).
  9471. * configs/stm32f4discovery/netnsh and ipv6: Convert all STM32F4-
  9472. Discovery configurations (with base board) to configure the Ethernet
  9473. driver to use the work queue (vs. interrupt level processing)
  9474. (2015-4-09).
  9475. * libc/unisted/lib_execl.c: Fix bad logic in counting the number of
  9476. arguments. This could never have worked. Noted by Pierre-noel
  9477. Bouteville (2015-4-09).
  9478. * arch/arm/src/sama5/sam_emacb.c: Add support for Multicast address
  9479. matching and IPv6 in the SAMA5D4 Ethernet driver (2015-02-09).
  9480. * configs/sama5d4-ek/ipv6: Add a configuration for testing IPv6 with
  9481. the SAMA5D4-EK (2015-02-09).
  9482. * arch/arm/src/armv7-a/arm_doirq.c: ARMv7-A interrupt handler should not
  9483. automatically re-enable interrupts on interrupt return. That
  9484. interferes with the driver's ability to manage interrupts (2015-02-09).
  9485. * arch/arm/src/sama5/sam_emacb.c: Add support for CONFIG_NET_NOINTS in
  9486. the SAMA5D4 Ethernet driver so that the driver can operate from the
  9487. work queue thread instead of doing everything from the interrupt level
  9488. (2015-02-09).
  9489. * SAMA5D4-EK: CONFIG_NET_NOINTS is now enabled in the nsh and ipv6
  9490. configurations (2015-02-09).
  9491. * arch/arm/src/a1x, arm, c5471, common, dm320, imx, lpc2378, lpc31xx,
  9492. sama5, str71x, hc/src.common, sh/src/common, x86/src/common,
  9493. z16/src/common, z16f, z80/src/z8: Big, very risky change: Remove all
  9494. occurrences of up_maskack_irq() that disable and enable interrupts
  9495. with up_ack_irq() that only acknowledges the interrupts. This is only
  9496. used in interrupt decoding logic. Also remove the logic that
  9497. unconditionally re-enables interrupts with the interrupt exits. This
  9498. interferes with the drivers ability to control the interrupt state.
  9499. This is a necessary, sweeping, global change and unfortunately
  9500. to test (2015-02-09).
  9501. * mtd/ramtron.c: Table of parts is not terminated properly if
  9502. CONFIG_RAMTRON_FRAM_NON_JEDEC is not defined. Noted by David
  9503. Sidrane (2015-02-09).
  9504. * arch/arm/src/sam34/sam_emac.c, sama5/sam_emaca.c, and sama5/sam_gmac.c:
  9505. Clone the SAMA5D4 IPv6 support to the SAM4E EMAC and SAMAd3 EMAC and
  9506. GMAC drivers (2015-02-09).
  9507. * net/: Lots of build problems introduced into multiple NIC support.
  9508. Many places where conditional logic based on CONFIG_NETDEV_MULTINIC is
  9509. confused with CONFIG_NET_MULTILINK. Lots of code changed with IPv6
  9510. that was never compiled with MULTINIC enabled. Still some problem
  9511. with parameter passing in the MULTINIC configuration(2015-02-09).
  9512. * net/iob/Kconfig: In IOB Configuration, the default number of IOB
  9513. chains must be more than zero is UDP read-ahead is enabled (2015-02-10).
  9514. * net/tcp/tcp_conn.c and udp/udp_conn.c: Fix several build errors/warning
  9515. with IPv4 + IPv6 + multiple networks are enabled (2015-02-10).
  9516. * arch/arm/src/sam34/sam_emac.c: SAM4 Ethernet driver bow supports
  9517. operation using the high priority work queue so that packet processing
  9518. can occur outside of interrupt level processing (2015-02-10).
  9519. * SAM4E-EK: The nsh configuration now configures the Ethernet driver
  9520. for execution on the HP work thread (2015-02-10).
  9521. * arch/arm/src/lpc17xx/lpc17_ethernet.c: Add IPv6 support to the LPC17
  9522. Ethernet driver. Untested... I no longer have a proper environment
  9523. for LPC17 debug (2015-02-10).
  9524. * include/netinet/in.h and libc/net/lib_addrconfig.c: Some extensions
  9525. to netinet/in.h adding some Linux compatible definitions. From Macs N
  9526. (2015-02-11).
  9527. * arch/arm/src/kl: Add architectural support for the K26Z128VLH4 chip.
  9528. From Derek B. Noonburg (2015-02-11).
  9529. * configs/freedom-kl26z: Add board support for the Freedom KL26Z board.
  9530. From Derek B. Noonburg (2015-02-11).
  9531. 7.9 2015-04-14 Gregory Nutt <gnutt@nuttx.org>
  9532. * arch/arm/src/tiva: Add support for the TM4C1294. Contributed by
  9533. Frank Sautter (2015-02-11).
  9534. * configs/tm4c1294-launchpad: Add support for the TM4C1294 Launchpad.
  9535. Contributed by Frank Sautter (2015-02-11).
  9536. * gettimeofday(): Move gettimeofdady() from sched/clock to libc/time.
  9537. Remove gettimeofday() from NuttX system calls. It is only a wrapper
  9538. around clock_settime() and does not need a trap. gettimeofday() is
  9539. no longer treated as a core OS interface (2015-02-12).
  9540. * settimeofday(): gettimeofday has been decrecated in POSIX 2008.
  9541. settimeofday() was never part of POSIX, but I decided to add it to
  9542. libc as well just for symmetry (2015-02-12).
  9543. * drivers/sensors/mpl115a.c and include/nuttx/sensors/mpl115a.h: Add
  9544. driver for the Feescale MPL115A baramoter. From Alan Carvalho de
  9545. Assis (2015-02-12).
  9546. * configs/viewtool-stm32f107: Add support for an optional, add-on
  9547. Freescale MPL115A baramoter. From Alan Carvalho de Assis
  9548. (2015-02-12).
  9549. * sched/clock/clock_systimer.c: Fix a problem in clock_systimer64 that
  9550. occurs when (1) the 64-bit system time is enabled, and (2) the value
  9551. of CONFIG_USEC_PER_TICK is less than 1 milliseconds (such as when using
  9552. the tickless mode of operation). In that case, the conversion of time
  9553. to 64-bit millisecond value in clock_systmer64() causes some bad times
  9554. to be returned. Time was converted to milliseconds, then to configured
  9555. ticks. Precision was lost in the millisecond conversion. The fix is
  9556. to first convert time to a 64-bit microsecond value, then to the
  9557. configured tick value. Noted by David Sidrane (2015-02-13).
  9558. * include/nuttx/rtc.h, arch.h, and arch/*/src/*_rtc.h: Removed all of the
  9559. old, malformed RTC interface definitions from include/nuttx/rtc.h. The
  9560. necessary prototypes have been removed, renamed, scattered to the wind,
  9561. hidden under rocks, -- whatever it takes to make it clear that there is
  9562. no RTC interface callable from application code (2015-02-13).
  9563. * include/nuttx/rtc.h and fs/ioctl.h: Begin the definition of a proper,
  9564. driver based RTC interfaces that is better suited to the architectural
  9565. goals of nuttx (2015-02-13).
  9566. * drivers/timers/timer.c and watchdog.c: Move timer-related drivers from
  9567. drivers/ to drivers/timers (2015-02-13).
  9568. * drivers/timers/rtc.c: Add an RTC upper half driver. This is the driver
  9569. that is documented in include/nutt/rtc.h (2015-02-13).
  9570. * arch/arm/src/stm32/stm32_rtcc.c and stm32_rtc.h: Break out a new internal
  9571. interface, stm32_rtc_setdatetime(). This eliminates some un-necessary
  9572. time conversions. From Freddie Chopin (2015-02-13).
  9573. * arch/arm/src/stm32/stm32_rtc_lowerhalf.c, Make.defs, and stm32_rtc.h: Add
  9574. a skeleton implementation of the RTC lower half interface at
  9575. arch/arm/src/stm32/stm32_rtc_lowerhalf.c. This is just the framework for
  9576. the RTC lower half. None of the interface methods have yet been
  9577. implemented (2015-02-13).
  9578. * net/icmpv6/icmpv6_advertise.c and icmpv6_solicit.c: Add inclusion of
  9579. nuttx/net.h to two files. Without these there can be compilation errors
  9580. in certain configurations. From Max Neklyudov (2015-02-13).
  9581. * net/net_initialize.c, sched/init/os_start.c, and a few other files:
  9582. Divide net_intiialize() into net_setup() and net_initialize() to solve
  9583. a chicken-and-egg problem. net_setup() must be called before
  9584. up_initialize() is called so that networking data structures are ready
  9585. to register new network devices. net_initialize() now does only timer
  9586. related operations and is called AFTER up_initialize() where the timers
  9587. are configured. Problem note by Max Neklyudov (2015-02-14).
  9588. * include/time.h and sys/time.h: Move struct timeval from include/time.h
  9589. to include/sys/time.h where it belongs (2015-02-15).
  9590. * arch/arm/src/stm32/stm32_rtcc.c, stm32_rtc.h, and Kconfig: Extend the
  9591. RTC interface to support reading subseconds. From Jussi Kivilinna
  9592. (2015-02-16).
  9593. * arch/arm/src/efm32/efm32_usbdev.c: EFM32 USB Device is now basically
  9594. functional with this change. From Pierre-noel Bouteville (2015-02-16).
  9595. * include/nuttx/net/ip.h: Move macros and common logic for IPv4-mapped
  9596. IPv6 addresses from files in net/ to include/nuttx/ip.h. These are
  9597. currently only used for UDP, but will need to be be used in many places
  9598. in the future (2015-02-17).
  9599. * includes/nuttx/compiler.h: Add support for the restrict keyword
  9600. (2015-02-17).
  9601. * include/netdb.h: Add a mostly-commented-out version of the standard
  9602. netdb.h header file (2015-02-17).
  9603. * arch/arm/src/tiva/: Updated files to allow for ADC triggering by the
  9604. timer. I’ve cleaned up some parts of the ADC code, too, and fleshed
  9605. out the PWM triggering ioctl. From Calvin Maguranis (2015-02-17).
  9606. * configs/tm4c123g-launchpad: Add ADC support. From Calvin Maguranis
  9607. (2015-02-17).
  9608. * fs/fat/fs_mkfatfs.c: Use DMA memory for mkfatfs when needed. This makes
  9609. mkfatfs use fat_dma_alloc() when CONFIG_FAT_DMAMEMORY is set. This is
  9610. needed to ensure mkfatfs operates with boards that use DMA for microSD.
  9611. From Andrew Tridgell via the PX4/NuttX repository (2015-02-17).
  9612. * include/nuttx/rtc.h, fs/fs.h, drivers/ramdisk.c, pipes/, and
  9613. timers/rtc.c: The inode unlink method should not be support if
  9614. operations on the root pseudo-filesystem are disabled (2015-02-18).
  9615. * include/nuttx/sched timing functions: Fix some nanosecond comparisons.
  9616. Comparisons should be greate than OR EQUAL TO 1000000000 for maximum
  9617. value of nanoseconds in struct tm. From Juha Niskanen (2015-02-20).
  9618. * tm4c123g-launchpad: Add board button interrupt logic. From Calvin
  9619. Maguranis (2015-02-20).
  9620. * "Tiva: Move GPIO prototypes out of arch/arm/include/tiva/irq.h to
  9621. arch/arm/tiva/tiva_gpio.h where they belong (2015-02-20).
  9622. * arch/arm/src/tiva: Tiva GPIO clean-up by Calvin Maguranis (2015-02-20).
  9623. * arch/arm/src/stm32/stm32_pwr.c, stm32_pwr.h, and stm32_rtcc.c: Changes
  9624. to support fully write protecting the backup domain. N.B.
  9625. stm32_pwr_enablebkp did not account for the delay from enable to the
  9626. domain being writable. The KISS solution is a up_udelay. A more
  9627. complex solution would be a negated write test with restore. From
  9628. David Sidrane (2015-02-21).
  9629. * arch/arm/src/stm32/stm32_bbsram.c, stm32_bbsram.h, Kconfig, and
  9630. Make.defs: Adds the ability to use the STM32F2 and STM32F4 Battery
  9631. Backedup SRAM in the file system. With an option to Save Panic
  9632. context to one of the files. From David Sidrane (2015-02-21).
  9633. * configs/pic32mx-starterkit: Rename from pic32-starterkit to make
  9634. room on the namespace for a pic3mz-starterkit. Update src/ directory
  9635. file naming to match current standard. Refresh configurations. Move
  9636. linker scripts to a new scripts/directory. Make sure that it builds
  9637. using the Pinquino toolchain (2015-02-21).
  9638. * arch/mips/src/mips32/Toolchain.mk: Current Pinguino toolchain uses
  9639. the prefix p32- instead of mips- (2015-02-21).
  9640. * configs/pic32mz-starterkit: Add basic board support for the PIC32MZ
  9641. (can't build yet of course because there is not yet any PIC32MZ
  9642. support) (2015-02-22).
  9643. * arch/mips/src/pic32mz and include/pic32mz: Add some PIC32MZ header
  9644. file definitions and just enough logic in the source directory so
  9645. that we can run 'make menuconfig'. Still a very long way from being
  9646. complete (2015-02-22).
  9647. * libc/time/lib/lib_sfrtime.c: Missing implementation of %C in
  9648. sfrtime() C (was being treated as %y). From Freddie Chopin
  9649. (2015-02-23).
  9650. * drivers/can.c: In the can_open function: this line
  9651. 'dev->cd_ocount = tmp;' needs to be moved a few lines down otherwise
  9652. the open count will only be incremented from 0 to 1. This causes
  9653. problems when trying to open the can bus from two different tasks.
  9654. SourceForge Patch #46 from Anonymous (2015-02-23).
  9655. * Tiva TM4c1294: Updates from Frank Sautter (2015-02-24).
  9656. * fs/aio: correct some backward tests in aio_read() and aio_write():
  9657. Socket descriptors have higher numbers than file descriptors. In
  9658. aio_contain(), Copy u.ptr (void *) when initializing aioc and not
  9659. the case specific u.aioc_filep. From Michal Ulianko (2015-02-24).
  9660. * include/pthread.h: Fix PTHREAD_COND_INITIALIZER (2015-02-24).
  9661. * sched/clock/clock_systimespec.c: When an RTC is used clock_systimespec()
  9662. must subtract the basetime from the returned time. It needs to
  9663. return the time since power up, no the current time. Issue noted
  9664. by Max Neklyudov (2015-02-25).
  9665. * fs/vfs/fs_select.c and sched/semaphore/sem_timedwait.c: Fix places
  9666. where the errno value was being overwritten by subsequent actions so
  9667. that the returned errno value was incorrect. From Max Neklyudov
  9668. (2015-02-25).
  9669. * include/sys/select.h: Extend the fd_set type definition so that it
  9670. can handle more than 32 descriptors (if so configured). From Max
  9671. Neklyudov (2015-02-25).
  9672. * net/netdev/netdev_unregister.c: Fix a list handling error in
  9673. netdev_unregister(). From Max Neklyudov (2015-02-27).
  9674. * net/netdev/netdev_register.c: Improve the network device registration
  9675. logic. When multiple link types are used, modify how each interface
  9676. number is assigned to the device name by incrementing the device
  9677. number individually for each interface link type. From Max Neklyudov
  9678. (2015-02-27).
  9679. * include/nuttx/board.h: Remove common board function prototypes from
  9680. other files and consolidate them in this new header file (2015-02-27).
  9681. * arch/mips/src/pic32mz/: Implement support IO port interrupts
  9682. (2015-03-01).
  9683. * configs/pic32mz-starterkit/src: Add support for on-board buttons
  9684. (2015-03-01).
  9685. * include/nuttx/spi/spi.h: Add an SPIDEV_USER so that there can be
  9686. board-specific definitions of SPI devices (2015-03-01).
  9687. * arch/arm/src/stm32 and arch/arm/src/stm32: Adds architecture support
  9688. for the STM32F372 and F373 (no board support yet). Only tested on
  9689. STM32F373CC, but should work on the rest. Contributed by Marten
  9690. Svanfeldt (2015-03-01).
  9691. * arch/mips/src/pic32mz/pic32mz-spi.c and chip/pic32mz-spi.h: Add
  9692. support for a basic SPI driver for the PIC32MZ (2015-03-03).
  9693. * include/nuttx/i2c.h: Add a user provided void * argument to the
  9694. I2C callback method for the I2C slave interface. Suggested by
  9695. Nate Weibley (2015-03-03).
  9696. * crypto/, include/nuttx/crypto, and arm/src/common/up_initialize.c:
  9697. Fix issues when AES support was added for the STM32L1. From Juha
  9698. Niskanen (2015-03-04).
  9699. * arch/arm/src/stm32/stm32_spi.c and .h: Add missing SPI callback
  9700. functions to the STM32 SPI driver. From Freddie Chopin (2015-03-04).
  9701. * arch/*/src/*/*_assert.c, configs/Kconfig, and include/nuttx/board.h:
  9702. Add support for dumping board-specific information on assertion.
  9703. From David Sidrane (2015-03-04).
  9704. * drivers/spi/Kconfig: Add missing CONFIG_SPI_CALLBACK selection. Noted
  9705. by Freddie Chopin (2015-03-04).
  9706. * arch/arm/src/samv7 and include/samv7: Add basic build directories
  9707. and configuration logic for the Atmel SAMV7 family (2015-03-05).
  9708. * arch/arm/src/Makefile, armv7-m/Toolchain.defs: Make ARM build system
  9709. Cortex-M7 ready (2015-03-05).
  9710. * arch/arm/src/sam34/sam_start.c: Leverage start-up logic from STM32
  9711. to (1) Enable the FPU and (2) perform IDLE stack coloration
  9712. (2015-03-05).
  9713. * arch/arm/src/armv7-m/up_lazyexception.S, Kconfig and severl other
  9714. files: Add support for lazy FPU state saving. Not yet verified.
  9715. (2015-03-06).
  9716. * arch/arm/Kconfig, Make.defs, sam_start.c, configs/Kconfig,
  9717. samv71-xult: Add a bare bones framework that will do nothing more than
  9718. support configuration for the Atmel SAMV71 Xplained Ultra board. Very
  9719. much a work in progress (2015-03-06).
  9720. * sched/mqueue/mq_timedsend.c: Should not check for valid time if
  9721. there is space in the message queue. Noted by Freddie Chopin
  9722. (2015-03-10).
  9723. * arch/arm/src/tiva/tiva_timerlib.c: Fix a typo in peripheral wait
  9724. logic: gptm, not gpio. From Bradley Noyes (2015-03-10).
  9725. * drivers/net/tun.c, Make.defs, include/nuttx/net/net.h, tun.h, and
  9726. net/Kconfig: Add TUN device. From Max Neklyudov (2015-03-11).
  9727. * fs/fat/fs_fat32.c: fat_unbind() was accessing 'fs->fs_sem' after
  9728. freeing the 'fs' struct. From Juha Niskanen (2015-03-11).
  9729. * fs/procfs/fs_procfsproc.c: fs_procfsproc: Fix potential NULL pointer
  9730. dereference of 'node'. From Juha Niskanen (2015-03-12).
  9731. * sched/sched/sched_waitpid.c: Do not use uninitialized boolean in
  9732. waitpid(). From Juha Niskanen (2015-03-12).
  9733. * libc/stdio/lib_ungetc.c:Fix NULL pointer dereference in ungetc().
  9734. If 'stream' was NULL, 'stream->fs_oflags' was evaluated. From Juha
  9735. Niskanen (2015-03-12).
  9736. * arch/arm/src/stm32/stm32_i2c.c: Add missing NULL check. From Juha
  9737. Niskanen (2015-03-12).
  9738. * drivers/usbdev/usbmsc_scsi.c: Add NULL pointer check. From Juha
  9739. Niskanen (2015-03-12).
  9740. * drivers/bch/bchdev_driver.c: Avoid NULL pointer dereference when
  9741. bch->refs == 255. From Juha Niskanen (2015-03-12).
  9742. * arch/arm/src/armv7-m/mpu.h: Bad syntax in ARMv7-M MPU logic would
  9743. cause failure to write the correct value to the MPU_RASR register.
  9744. From Juha Niskanen (2015-03-12).
  9745. * net/socket/net_dupsd.c: Do not call sockfd_socket() twice. From
  9746. Juha Niskanen (2015-03-12).
  9747. * arch/arm/src/stm32/stm32_usbdev.c: Fix stale initialization
  9748. invalidating later NULL check. From Juha Niskanen (2015-03-12).
  9749. * arch/arm/src/stm32/stm32_serial.c and chip/stm32f10xxx_dma.h: Fix
  9750. RX DMA setup for UART5. From Jussi Kivilinna (2015-03-13).
  9751. * arch/arm/src/stm32/stm32_serial.c: Make input hardware flow-control
  9752. work with RX DMA. From Jussi Kivilinna (2015-03-13).
  9753. * drivers/pipes/pipe_common.c: Fix zero-lenth writes to pipes/FIFOs.
  9754. From Jussi Kivilinna (2015-03-13).
  9755. * drivers/serial/serial.c: Report correct number of bytes free in
  9756. serial buffer with FIONWRITE. From Sami Pelkonen via Jussi Kivilinna
  9757. (2015-03-13).
  9758. * drivers/mmcsd/mmcsd_spi.c: Debugging and manuals (this one
  9759. https://www.sdcard.org/downloads/pls/simplified_specs/part1_410.pdf
  9760. and this one https://www.sdcard.org/downloads/pls/simplified_specs/part1_410.pdf)
  9761. shows that ACMD23 must be preceded with CMD55 command as any other
  9762. ACMD commands. Also, after the block reading wait loop must be
  9763. inserted before writing the next block of data to the sd card. From
  9764. Dmitry Nikolaev via Jussi Kivilinna (2015-03-13).
  9765. * arch/arm/src/efm32/efm32_i2c.c: Add I2C driver. From Pierre-noel
  9766. Bouteville (2015-03-14).
  9767. * fs/mount/, include.sys/mount, syscall/: Add umount2(). umount() is
  9768. now a macro that just calls umount2() with flags = 0 (2015-03-14).
  9769. * fs/mount/fs_umount2.c, all file systems, include/nuttx/fs/fs.h: Pass
  9770. the umount2() flags to every unbind() implementation. That is where
  9771. the decision to umount or not will be made (2015-03-14).
  9772. * fs/fat/fs_fat32.c: Fix a bug in the FAT unbind() logic. There were
  9773. problems with the way certain internal list handling was implemented.
  9774. The end result is that newly opened or cloned file structures were
  9775. never being added to the list of open files. So when the unmount()
  9776. happens, it always looked like there were not open files and a crash
  9777. could ensue (2015-03-14).
  9778. * fs/fat/fs_fat32.c and fs_fat32.h: Add support for umount2(target,
  9779. MNT_FORCE) in the FAT file system (2015-03-15).
  9780. * drivers/mmcsd/mmcsd_sdio.c: Fix some bad logic when file system debug
  9781. is turned on: Arguments to syslog were missing so that garbage was
  9782. being printed (2015-03-15).
  9783. * arch/arm/src/sama5/sam_hsmci.c: Fix a bug in SAMA5 HSMCI. The
  9784. bitfield mask and shift values were reversed resulting in a trashed
  9785. value for the number of blocks in the BLOCKR register. This was
  9786. sufficient to prevent DMA writes from working (2015-03-15).
  9787. * drivers/mtd/at24xx.c, Kconfig, and include/nuttx/fs/ioctl.h: Add
  9788. support for (1) the byte-oriented read() method, (2) devices that
  9789. have extended memory regions, and (3) devices that use 8-bit
  9790. addressing (2015-03-17).
  9791. * arch/mips/src/mips32/Kconfig, Toolchain.defs, and
  9792. configs/pic32mz-starterkit/nsh/Make.defs: Changes that will permit
  9793. building of the PIC32MZ Start Kit configuration using MPLAB and the
  9794. XC32 toolchain. From David Sidrane (2015-03-17).
  9795. * arch/arm/src/stm32/stm32_rtc_lowerhalf.c: Fix some errors in the
  9796. STM32 RTC lower-half driver that cause compilation failures. From
  9797. shilo.xyz (2015-03-19).
  9798. * arch/arm/src/sama5/chip/sam_tc.h: Fix typos in timer/counter header
  9799. file. From Bob Doiron (2015-03-20).
  9800. * configs/olimexino-stm32: Board support for the Olimexino STM32 board
  9801. from David Sidrane (2015-03-20).
  9802. * PIC32MZ: Incorporated a set of patches that makes the basic NSH
  9803. configuration on the PIC32MZ Starter Kit. From Kristopher Tate
  9804. (2015-03-22).
  9805. * arch/arm/src/tiva: (1) ADC driver has been re-organized; configuration
  9806. is now handled in code instead of Kconfig to help reduce bloat and
  9807. confusion. (2) Timer changed to remove ADC coupling in Kconfig to code
  9808. and moved configuration up from arch/arm/src/tiva to
  9809. configs/tm4c123g-launchpad/src. (3) GPIO driver needed small fixes in
  9810. the configuration routines and discovered false-positive bugs in
  9811. interrupt testing: interrupts are now verified to actually be working
  9812. reliably. (4) Attempt to apply some consistency in the tiva arch/
  9813. level's interface to the config/board/ level driver configuration.
  9814. From Calvin Maguranis (2015-03-23).
  9815. * arch/mips/src/pic32mz: Various fixes for Ethernet support. Still
  9816. not fully functional. From Kristopher Tate (2015-030-29).
  9817. * arch/arm/src/armv7-m: Add configuration option and logic to support
  9818. the D-Cache in write-through mode (2015-03-29).
  9819. * arch/arm/src/stm32/Kconfig, stm32_lse.c, stm32_lsi.c, stm32_rtc.c/.h,
  9820. stm32_rtcc.c, stm32_rtcounter.c, and stm32f*_rcc.c: The
  9821. STM32F4Discovery board doesn't come with a Low speed external
  9822. oscillator so the default LSE source for the RTC doesn't work. In
  9823. stm32_rtcc.c the up_rtc_initialize() logic doesn't work with the LSI.
  9824. The check on RTC_MAGIC on the BK0R register lead to rtc_setup() call
  9825. that rightfully enables the lsi clock; but the next times, when the
  9826. rtc is already setup, the rtc_resume() call does NOT start the lsi
  9827. clock! The right place to put LSE/LSI initialization is inside
  9828. stm32_stdclockconfig() in stm32fxxxxx_rcc.c. Doing this I checked
  9829. the possible uses of the LSI and the LSE sources: the LSI can be used
  9830. for RTC and/or the IWDG, while the LSE only for the RTC (and to output
  9831. the MCO1 pin). This change is not verifed for any other platforms.
  9832. From Leo Aloe3132
  9833. * Rename arch_nshinitialize() to board_app_initialize() (2015-03-30).
  9834. * ./*.mk, configs/.gitignore, Makefile, boardctl.c, include/nuttx/fs/ioctl,
  9835. include/sys/boardctl.h, syscall.h, and syscall/: Add a new non-
  9836. standard OS interface called boardctl(). This is similar to a driver
  9837. IOCTL call. But this is an IOCTL call directly on the board logic.
  9838. This function will eventually replace all of the ad hoc OS interfaces
  9839. that are current used to perform application specific initialization
  9840. and application driver test configuration. It essentially formalizes
  9841. and institutionalizes these rogue interface in to at least a single
  9842. crazy call (2015-03-31).
  9843. * configs/: Modify all configurations: Make sure that
  9844. CONFIG_LIB_BOARDCTL=y appears wherever CONFIG_NSH_ARCHINIT=y appears.
  9845. Remove support for CONFIG_NSH_ARCHMAC. It is not used and there are
  9846. better ways to do that operation (2015-03-31).
  9847. * configs/Kconfig, boardctl.c, all touchscreen driver setup functions,
  9848. include/board.h, include/sys/boardctl.h, and
  9849. include/nuttx/input/touchscreen.h: arch_tcinitialize() and
  9850. arch_tcunitinitialize() renamed to board_tsc_setup() and
  9851. board_tsc_teardown(). These are not long called directly by
  9852. applications but only indirectly throught the crappy boardctl() OS
  9853. interface (2015-03-31).
  9854. * configs/Kconfig, boardctl.c, include/nuttx/board.h, include/sys/boardctl.h,
  9855. and several ADC files in configs/<board>/src/: Rename adc_devinit() to
  9856. board_adc_setup(). Add support to the boardctl() interface so that it
  9857. can call board_adc_setup() on behalf of an application. Make sure that
  9858. the proper features are enabled in the defconfig files that have
  9859. CONFIG_EXAMPLES_ADC=y (2015-03-31).
  9860. * configs/*/defconfig: Make sure that all defconfig files that require
  9861. external graphics intiialization also enable the correct boarctl()
  9862. settings (2015-03-31).
  9863. * include/nuttx/board.h, include/sys/boardctl.h, nuttx/configs/Kconfig and
  9864. boardctl.c, and board configurations and PWM implementations: Rename
  9865. pwm_devinit() to board_pwm_setup(). Add CONFIG_BOARDCTL_PWMTEST that
  9866. will enable calling board_pwm_setup() from boardctl(). In all
  9867. configurations that enable the apps/examples/pwm test, make sure that
  9868. boardctl() support is properly enabled (2015-03-31).
  9869. * Move include/nuttx/timer.h, rtc.h and watchdog.h to include/nuttx/timers/.
  9870. (2015-04-01).
  9871. * drivers/timer/cs2100-cp.c and include/nuttx/timers/cs2100-cp.h: Add a
  9872. very basic driver for the CS2100-CP Fractional-N Multipler chip (2015-04-02).
  9873. * configs/, graphics/, include/nuttx: More renaming: up_lcdinitialize->board_lcd_initialize,
  9874. up_lcdgetdev->board_lcd_getdev, up_lcduninitialize->board_lcd_uninitialize
  9875. (2015-04-04).
  9876. * include/nuttx/nx, libnx/nx, libnx/nxtk: Add a new 'capped' parameter to
  9877. nx_drawline(), nxtk_drawlinetoolbar(), and nxtk_drawlinewindow()
  9878. (2015-04-05).
  9879. * libnx/nx/nx_drawline.c, libnx/nxtk/nxtk_drawlinetoolbar.c and
  9880. nxtk_drawlinewindow.c: Implement line caps by drawing a file circle at
  9881. the each endpoint of a line with a radius equal to half of the width
  9882. of the line (2015-04-05).
  9883. * include/time.h, nuttx/time.h, libc/time/lib_dayofweek.c and
  9884. lib_gmtimer.c: Implements CONFIG_TIME_EXTENDED as we discussed
  9885. relative to providing the last 3 members of the tm struct and support
  9886. for filling them in and even using the wday in the STM32 RTC. From
  9887. David Sidrane.
  9888. * arch/arm/src/sam34/sam_serial.c and samv7/sam_serial.c: A side-effect
  9889. of changing serial settings via TERMIOS (such as tcsetattr) is that
  9890. serial interrupts were being left disabled. This is not a problem if
  9891. the serial configuration is changed when there are no open references
  9892. to the serial device. In that case, serial interrupts are disabled and
  9893. will not be enabled enabled until the serial device is first opened.
  9894. But it is fatal if the serial device is already opened and if there is
  9895. a task waiting to receive data. In that case, the side-effect of
  9896. disabling interrupts is fatal: That task is then left hanging with
  9897. interrupts disabled (2015-04-08)
  9898. * arch/arm/src/sama5/sam_serial.c: Backport support for flowcontrol and
  9899. termios from SAM3/4 -- UNVERIFIED. (2015-04-08).
  9900. * arch/arm/src/sam34/sam_serial.c and samv7/sam_serial.c: The IMR
  9901. register is read-only. This means that sam_restoreints() did not
  9902. actually re-enable UART interrupts (2015-04-08).
  9903. * sigaddset() and sigdelset(): Need to set errno if a bad signal number
  9904. is received (2015-04-09).
  9905. * sighold(), sigrelse(), sigignore(), sigset() and sigpause(): New
  9906. signal handling functions (2015-04-09).
  9907. * Fixes to asinh(), atanh(), and sinh(): The 'basic' expansions all
  9908. exhibited bad cancellation errors near zero (<= 1E-10). This can be
  9909. easily seen e.g. with x = 1E-30, the results are all zero though they
  9910. should be extremely close to x. The cutoff values (1E-5, 1E-9) are
  9911. chosen so that the next term in the Taylor series is negligible (for
  9912. double). Functions could maybe be optimized to use only first term (x)
  9913. and a smaller cutoff, just bigger than where the cancellation occurs
  9914. (2015-04-09).
  9915. * syscall/syscall.csv: Last changes to message queue prototypes did not
  9916. make it into call gate logic (2015-04-09).
  9917. * syscall/syscall_stublookup.c: Fix some errors that crept in recently
  9918. (2015-04-09).
  9919. * libc/time/lib_localtime.c: Inconsistent configuration name:
  9920. CONFIG_LIBC_TZDIR vs CONFIG_LIBC_TZ_TZDIR. Former wins (2015-04-11).
  9921. * libc/time/lib_calendar2utc.c and lib_mktime.c: Fix an error in time
  9922. initialization when there is not RTC and the time is initialized from
  9923. a fixed configured value. The call to clock_calendar2utc() was
  9924. returning the time in units of seconds. The initialization logic,
  9925. however, was expecting to get time in units of days. This problem
  9926. has been there forever but obviously has not significant impact to
  9927. behavior in systems where time is not visible (2015-04-12).
  9928. * fs/fat/fs_fat32utils.c: Fix misthink when CONFIG_ENDIAN_BIG=y. From
  9929. Lwazi Dube (2015-04-12).
  9930. * include/nuttx/net/netdev.h, net/devif/ipv6_input.c,
  9931. icmpv6/icmpv6_rsolicit.c and net/icmpv6/icmpv6_solicit.c: Use common
  9932. macro(s) for calculating link layer header length. From Brennan
  9933. Ashton (2015-04-13).
  9934. * apps/netutils/pppd/Kconfig, pppd.c, and ntpv3.h (removed): Remove
  9935. ntpclient header file in and NTP client references from the pppd
  9936. dir. From Brennan Ashton (2015-04-13).
  9937. * configs/galileo: Remove all references to the Galileo board. That
  9938. port is not going to happen (I don't even have the hardware anymore)
  9939. (2015-04-13).
  9940. * drivers/input/max11802.c: Fix possible unmatched IRQ restore. Noted
  9941. by Juha Niskanen (2015-04-14).
  9942. * atexit(): Fix reference to undefined variable in certain
  9943. configurations. From Juha Niskanen (2015-04-14).
  9944. 7.10 2015-06-09 Gregory Nutt <gnutt@nuttx.org>
  9945. * configs/sim/src/sim.h, sim_zoneinfo.c, Makefile, and sim_boot.c: Add
  9946. logic to test localtime and TZ database. See apps/system/README.txt
  9947. for info (2015-04-15).
  9948. * libc/Kconfig: Fix defaults for timezone limits. They need to be much
  9949. larger (2015-04-15).
  9950. * Watchdog files: Fix repeated typo wachog.h in several watchdog
  9951. drivers (2015-04-15).
  9952. * configs/boardctl.c and Kconfig: Add missing causing that caused
  9953. failures of PWM test (2015-04-15).
  9954. * arch/arm/src/stm32: Defines a second interface for the dma2d controller.
  9955. Controlling both LTDC and DMA2D was unpractical from the programmers
  9956. view because both controllers are to different. LTDC only controls the
  9957. display visibility but the DMA2D controller changes the content of the
  9958. frame buffer (buffer of the layer).
  9959. The main features are:
  9960. 1. DMA2D interface
  9961. Supports the nuttx pixel formats:
  9962. - FB_FMT_RGB8
  9963. - FB_FMT_RGB24
  9964. - FB_FMT_RGB16_565
  9965. Dynamic layer allocation during runtime for the supported formats
  9966. - The number of allocatable layer can be configured.
  9967. Supported dma2d operation:
  9968. - blit (Copy content from source to destination layer) also works
  9969. with selectable area.
  9970. - blend (Blend two layer and copy the result to a destination layer
  9971. which canbe a third layer or one of the source layer) also works
  9972. awith selectablerea.
  9973. - fillarea (Fill a defined area of the whole layer with a specific
  9974. color)
  9975. As a result of that the dma2d controller can't transfer data from the
  9976. core coupled memory, CCM is disabled but usable by the ccm allocator.
  9977. Currently the ccm allocator is used for allocating the layer structure
  9978. only. For the dma memory (layers frame buffer) memory is allocated from
  9979. heap 2 and 3.
  9980. 2. LTDC interface
  9981. I have changed the api for the currently non implemented operations:
  9982. - blit (Copy content from a dma2d layer to an ltdc layer) also works with
  9983. selectable area.
  9984. - blend (Blend two dma2d layer and copy the result to a destination ltdc
  9985. layer) also works with selectable area.
  9986. Note! ltdc layer is a layer referenced by the ltdc interface. dma2d layer
  9987. is a layer referenced by the dma2d interface.
  9988. One of the most important questions for me was, How can i flexible use an
  9989. ltdc layer with the dma2d interface, e.g. as source layer for dma2d
  9990. operations?
  9991. Get the layer id of the related dma2d layer by a special flag when using
  9992. getlid() function of the ltdc interface and use the layer id to reference
  9993. the specific dma2d layer by the dma2d interface.
  9994. The ltdc coupled dma2d layers are predefined and can't be dynamically
  9995. allocated of freed. They use the same frame buffer memory and the same
  9996. color lookup table.
  9997. Changes:
  9998. - layer internal format of the clut table
  9999. - interrupt handling for register reload (vertical vblank) instead using
  10000. waiting loop
  10001. - small fixes and refactoring
  10002. From Marco Krahl (2015-04-16).
  10003. * Add support for the new DMA2D features to the STM32F429i-Disco LTDC
  10004. configuration. From Marco Krahl (2015-04-16).
  10005. * stdlib.h: MAX_RAND should be RAND_MAX (2015-04-16).
  10006. * STM32F429i Disco: (1) Fix a bad return value if the LCD driver is already
  10007. initialized. (2) The LCD driver initialization is now performed during the
  10008. early boot sequence. (3) Increased the size of the message queue from 32
  10009. to 64 in the lcd configuration. From Marco, ocram.lhark@yahoo.com
  10010. (2015-04-17).
  10011. * STM23 RTC: Fix an error introduced into stm32_pwr_enablebkp(). That
  10012. function must preserve the previous state of backup domain access on
  10013. return (2015-04-19).
  10014. * include/nuttx/usb/hub.h: Add USB hub header file from Kaushal Parikh
  10015. (2015-04-18).
  10016. * drivers/usbhost/usbhost_hub.c: Bring in USB hub-related files from
  10017. https://github.com/kaushalparikh/nuttx. This is the work of Kaushal
  10018. Parikh. This initial commit is incomplete. This is quite a bit more
  10019. hub logic that needs to come in before the port is complete
  10020. (2015-04-18).
  10021. * arch/arm/src/stm32/stm32_rtcounter.c: Now need to enable backup
  10022. domain write access when setting the time. From Darcy Gong (2015-04-19).
  10023. * include/nuttx/usb/usbhost.h: Bring in more logic from
  10024. https://github.com/kaushalparikh/nuttx (2015-04-19).
  10025. * drivers/usbhost/usbhost_enumerate.c: Last of USB hub logic from
  10026. https://github.com/kaushalparikh/nuttx (2015-04-19).
  10027. * include/time.h: Add prototypes for localtime() and localtimer_r()
  10028. (2015-04-21).
  10029. * include/assert.h: Wrap definitions of assertion macros in do while.
  10030. Suggested by orbitalfox (2015-04-22).
  10031. * sched/semaphore/sem_wait.c: Missing comma on debug statement caused
  10032. compile error with DEBUG on. Why hasn't that been noted before?
  10033. (2015-04-23).
  10034. * drivers/lcd and include/nuttx/drivers: RA8875 LCD driver contributed
  10035. by Marten Svanfeldt (2015-04-24).
  10036. * arch/arm/src/stm32/chip/stm32_pwr.c and .h: Adds support for STM32's
  10037. Programmable Voltage Detector (PVD) feature. Register access is behind
  10038. CONFIG_STM32_ENERGYLITE as the feature has not been verified for
  10039. F1/F2/F4 etc. manuals. Tested on STM32L1. PVD interrupt looks generic,
  10040. at least #defines it needs are in headers for every chip variant. By
  10041. Dmitry Nikolaev, submitted by Juha Niskanen (2015-04-28).
  10042. * arch/arm/src/stm32/chip/stm32_exti.h, stm32f30xxx_memorymap.h, and
  10043. stm32f37xxx_memorymap.h: Added missing EXTI definitions for the STM32
  10044. F3; Correct an error the port D base address in the STM32 F30x and F37x
  10045. memory maps. From Greg Meiste (2015-05-01).
  10046. * arch/arm/src/lpc17xx/lpc176x_gpio.c: Reorder steps when an output
  10047. GPIO is configured in order to avoid transient bad values from being
  10048. output. From Hal Glenn (2015-05-02).
  10049. * arch/arm/src/stm32/stm32_otgfsdev.c and stm32_otghsdev.c: Add
  10050. protection in the event that out-of-bound endpoint numbers are
  10051. received. From David Sidrane (2015-05-02).
  10052. * USB host: Merged in the USB hub support that has been happening on
  10053. a separate branch up until this point. The interfaces are complete
  10054. and most platforms have been verified (still a little to be done
  10055. however). (2015-05-02)
  10056. * arch/arm/src/lpc31xx/lpc31_ehci.c, chip.h, sama5/sam_ehci.c, and
  10057. chip.h: Fix cache related problem in LPC31 and SAMA5Dx EHCI drivers.
  10058. All buffers are now aligned with the cache line size in both starting
  10059. address and in length. This cause major problems in unlucky builds
  10060. where the USB host buffers where unaligned and abutting other data.
  10061. The cache flush and invalidate operations could be subverted by
  10062. accesses to adjacent data or could have unexpected side effects. This
  10063. bug has been in the ECHI drivers forever, but was only revealed due to
  10064. unlucky memory allocations during the integration of the hub feature
  10065. (2015-05-03).
  10066. * arch/arm/src/lpc17xx/lpc17_usbhost.c: Correct some initialization of
  10067. data structures. When hub support is enabled, it would overwrite the
  10068. end of an array and clobber some OS data structures (2015-05-03).
  10069. * configs/olimex-lpc1766stk: Make stacks usage configurable for USB
  10070. host waiter. It needs to be a lot deeper when hub support is enabled
  10071. (2015-05-03).
  10072. * fs/vfs/fs_poll.c: Fix resource leak and memory corruption on poll
  10073. failure. From Jussi Kivilinna (2015-05-04).
  10074. * All USB host drivers in arch/ and all USB class drivers in drivers/usbhost:
  10075. Modify the transfer() and asynch() methods so that the actual size of
  10076. the transfer is returned. Unverified on initial commit (2015-05-05).
  10077. * drivers/usbhost/usbhost_cdcacm.c: Add initial implementation of a host-
  10078. side CDC/ACM driver. Completely untested on initial commit (2015-05-06).
  10079. * configs/, drivers/usbhost/usbhost_storage.c, and included/nuttx/usb/usbhost.h:
  10080. Rename usbhost_storageinit() to usbhost_msc_initialize(). Add calls
  10081. to usbhost_cdcacm_initialize() if CONFIG_USBHOST_CDCACM is selected
  10082. (2015-05-06).
  10083. * arch/arm/include/kl and src/kl: Add support for the KL25Z64. The
  10084. KL25Z64 is a lower memory variant of the KL25Z128 and is used on the
  10085. Teensy LC. From Michael as SourceForge patch 50 (2015-05-07)
  10086. * configs/teensy-lc and related board support files: Add board support
  10087. for the Teensy LC board. Support is based off the Freedom KL25Z board.
  10088. LED, PWM, and UART0 have been tested. The SPI pins are mapped
  10089. correctly but have not yet been tested. From Michael Hope as
  10090. SourceForge patch 51 (2015-05-07).
  10091. * arch/arm/src/kl/kl_pwm.c: Fix PWM debugging. TPM1 and TPM2 have two
  10092. channels instead of six and will hard fault if you try to read the
  10093. missing channels. From Michael Hope (2015-05-07).
  10094. * arch/arm/src/kl/kl_lowputc.c: enable the clocks to UART1 and UART2.
  10095. The previous version would cause a hard fault on startup due to the
  10096. modules not being clocked. Also drop the GPIO configuration as it's
  10097. done during kl_start(). From Michael Hope (2015-05-07).
  10098. * teensy-lc: remap UART0 to the standard pins. From Michael Hope
  10099. (2015-05-07).
  10100. * arch/arm/src/stm32 and include/stm32: Added support for STM32F302K8
  10101. and STM32F302K6. From Ben Dyer via PX4/David Sidrane (2015-05-08).
  10102. * configs/compal_e86: Calypso Compal-E86: Updates for execution out of
  10103. FLASH on the C139 phone. From Craig Comstock (2015-05-08).
  10104. * STM32 F3: Add DBGMCU register definitions for the F3 family. From
  10105. Greg Meiste (2015-05-09).
  10106. * arch/arm/src/stm32/chip/stm32_exti.h: Add EXTI line definitions for
  10107. the STM32L family (2015-05-09).
  10108. * net/tcp/tcp.h: Correct failures in long Telnet sessions by increasing
  10109. the size of the number of bytes sent from uint16_t to uint32_t. This
  10110. avoids an integer overflow that causes a Telnet sessions to be closed
  10111. unexpectedly. From Rony XLN (2015-05-12).
  10112. * include/stdio.h, sys/statfs.h, cxx/cstdio, and syscall/syscall.csv:
  10113. Remove duplicate prototype of statfs from stdio.h. Belongs in
  10114. sys/statfs.h only. Note by Michael Hope (2015-05-12).
  10115. * arch/arm/include/kl/chip.h: Fix typo in header file. From Michael
  10116. Hope (2015-05-12).
  10117. * arch/arm/src/kl/chip/kl_tpm.h: Fix offset to the TPM status register.
  10118. From Michael Hope (2015-05-12).
  10119. * net/local/local_connect.c: Correct some network lock logic: Two
  10120. error conditions where the network was not being unlocked and one
  10121. where it was getting unlocked twice. From Jussi Kivilinna (2015-05-12).
  10122. * net/local/, fs/vfs/fs_poll.c, drivers/pipes/pipe_common.c/.h,
  10123. include/nuttx/fs/fs.h: Add poll support for Unix stream sockets. From
  10124. Jussi Kivilinna (2015-05-12).
  10125. * net/local/: Local stream sockets had problem of double releasing pipes
  10126. (both server and client attempt release), which causes wrong pipe pair
  10127. being closed in multi-client case. Solve by adding per connection
  10128. instance ID to pipe names. From Jussi Kivilinna (2015-05-12).
  10129. * drivers/usbdev/ all class drivers: There needs to be a check to make
  10130. sure that the size of a returned string does not exceed the size of
  10131. the allocated request buffer. Strings such as vendor names or product
  10132. names will be truncated to fit in the request buffer (2015-05-12).
  10133. * arch/arm/src/samv7/sam_twihs.c: Fix SAMV TWIHS logic that performs
  10134. multi-message transfers with and without repeated starts (2015-05-12).
  10135. * maXTouch Xplained Pro: The above TWIHS fix was the last barrier to
  10136. getting the touchscreen working in the maXTouch Xplained Pro LCD
  10137. (2015-05-12).
  10138. * net/route/ and net/netdev/netdev_ioctl.c: Complete implementation of
  10139. the IPv6 routing logic. From Max Neklyudov (2015-05-13).
  10140. * net/udp/: Add inclusion of assert.h in networking files where needed
  10141. to avoid compilation errors. From Max Neklyudov (2015-05-13).
  10142. * /net/route/netdev_router.c: Fix bug in IPv6 router from Max Neklyudov
  10143. (2015-05-13).
  10144. * sched/pthread/pthread_kill.c: Re-implemented pthread_kill(). It was
  10145. just a simple wrapper around kill() but since the correct dispatching
  10146. of signals for multi-threaded task groups has been implemented,
  10147. calling kill() does not do what pthread_kill() is supposed to do. The
  10148. corrected implementation of pthread_kill() will direct the signal
  10149. specifically to the specific pthread and no other (2015-05-13).
  10150. * arch/arm/include/samdl, arch/arm/src/samdl, configs/samd20-xplained:
  10151. Rename the samd/ directories and configuration varialbes to samdl to
  10152. all the same directory structure to support the SAML21 (2015-05-14).
  10153. * arch/arm/include/samdl and arch/arm/src/samdl: And chip definitions,
  10154. configuration framework, and placeholder memory map and pin
  10155. configuration files for SAML21 support. Still incomplete on initial
  10156. commit (2015-05-14).
  10157. * include/nuttx/wdog.h, sched/mqueue/mq_timed*.c, semaphore/sem_timed*.c,
  10158. signal/sig_timed*.c, timer/timer_settime.c, and wdog/wd_start.c:
  10159. Update the type passed to watchdog timer handlers. Using uint32_t is
  10160. a problem for 64-bit machines (2015-05-18).
  10161. * configs/saml21-xplained: Add a board build configuration for the
  10162. SAML21 Xplained Pro. Initial commit is just the SAMD20 Xplained Pro
  10163. board support with naming changed. Does not yet build (2015-05-18).
  10164. * libc/net/lib_inetntoa.c: Correct errors in printing IP address when
  10165. type char is signed. From Max Neklyudov (2015-05-19).
  10166. * arch/arm/src/efm32/efm32_rtc_burtc.c: Updated EFM32 RTC driver from
  10167. Pierre-noel Bouteville (2015-05-19).
  10168. * arch/arm/src/tiva/chip/tm4c_memorymap.h, tm4c_pinmap.h, and vectors.h.
  10169. configs/tm4c1294-launchpad/include/board.h and src/tm4c_autoleds.c:
  10170. Fixes for Tiva TM4C1294NCPDT. From Frank Sautter. (2015-05-20).
  10171. * configs/tm4c1294-launchpad/include/board.h: Added TM4C1294NCPDT
  10172. EN0_LED2 (10/100-Base-Tx); removed all booster pack pin definitions.
  10173. From Frank Sautter (2015-05-20).
  10174. * nuttx/arch/arm/src/sam34/sam_serial.c: In NONBLOCKING mode serial
  10175. does not receive bytes from UART. This happens because RX interrupt
  10176. was disabled in the setup routine. To fix this I save interrupt
  10177. configuration before UART shutdown and restore it after. From Max
  10178. Neklyudov (2015-05-21).
  10179. * arch/arm/include/lpc11xx and src/lpc11xx: Support for the LPC11xx
  10180. family (the LPC1115 MCU in particular). Contributed by Alan Carvalho
  10181. de Assis (2015-05-22).
  10182. * configs/lpcxpresso-lpc1115: Support for the LPCXpression LPC1115
  10183. board. Contributed by Alan Carvalho de Assis (2015-05-22).
  10184. * arch/arm/src/sam34/Kconfig, sam_serial.c, and chip/sam_uart.h: Add
  10185. support for optical mode for the SAM4CM UART1. From Max Neklyudov
  10186. (2015-05-23).
  10187. * arch/arm/src/lpc11xx/: Add support for up_getc() which is needed
  10188. for NSH if there is no file system. From Alan Carvalho de Assis
  10189. (2015-05-23).
  10190. * LPCXpresso-LPC1115: Add a minimal NSH configuration that has the
  10191. file system disabled. Update README with OpenOCD instructions.
  10192. From Alan Carvalho de Assis (2015-05-23).
  10193. * Fix numerous typos in configuration variable names. Tracked down
  10194. by Alan Carvalho de Assis (2015-05-23).
  10195. * configs/teensy-2.0: Rename configs/teensy so that it is clearly
  10196. distinguished from teensy-lc and teensy-3.1 (2015-05-15).
  10197. * include/nuttx/mtd/mtd.h: Increase the size of the fields in the
  10198. geometry structure (again) to support larger FLASH sizes. Needed
  10199. by Sébastien Lorquet (2015-05-26).
  10200. * SAM4CM and SAMA5D Free-running timer: Logic that samples the free
  10201. running counter reads the pending interrupt status register and
  10202. can cause interrupts to be lost. So, if when the status register
  10203. is read, the logic must also handle the timer overflow event.
  10204. Found and fixed by Max Neklyudov (2015-05-26).
  10205. * arch/arm/include/kinetis and arch/arm/src/kinetis: Basic support
  10206. for the Kinetis K20 architecture. Taken from PX4. This is the
  10207. work of Jakob Odersky (2015-05-26).
  10208. * net/: Move some ICMP event lists to the device structure. That
  10209. allows for both device-specific event processing and also devices
  10210. to generate events like network down. From Max Neklyudov (2015-05-27).
  10211. * net/: Extend Macs logic to ARP and ICMPv6. Also found and fix
  10212. several IPv6-related compilation errors that have crept in. IPv6
  10213. has been broken for awhile (2015-05-27).
  10214. * net/tcp: Fix an important TCP networking bug: 16-bit flags was
  10215. being converted to 8-bits in a few locations, causing loss of
  10216. status indications (2015-05-27).
  10217. * net/socket and net/tcp: net_startmonitor.c always returned OK. In
  10218. the case where a socket has already been closed, it correctly handled
  10219. the disconnection event but still returned OK. Returning OK caused
  10220. the callers of net_startmonitor to assume that the connection was
  10221. okay, undoing the good things that net_startmonitor did and causing
  10222. the socket to be marked as connected. This behavior was noted by
  10223. Pelle Windestam (2015-05-28).
  10224. * include/nuttx/net, net/arp, net/devif, net/icmp, net/icmpv6,
  10225. net/netdev, net/pkt, net/tcp, net/udp: Modify event list handling:
  10226. Now there are two event lists each device structure: (1) One is
  10227. for ARP and ICMP data related events, the other is for device
  10228. related events. Callback allocation/free routines no accept a
  10229. device parameter as well as a list: If the device parameter is
  10230. added, then the callback goes into both the connection-related
  10231. list AND the device event list. Thus each socket type can
  10232. received both custom data-related events as well as common
  10233. device related events (2015-05-28).
  10234. * net/socket and net/utils: setsockopt() fails when setting timeouts
  10235. to values less that an 100 msec. That is because the timeout is
  10236. limited to stops of 1 decisecond and because the conversion of
  10237. structure timeval was truncating the microsecond remainder. The
  10238. utility net_timeval2dsec now accepts and option to determine how it
  10239. handles the remainder: truncate, discarding the remainder, use the
  10240. remainder to round to the closed decisecond value, or use any non-zero
  10241. remainder to the next larger whole decisecond value. Bug discovered
  10242. by Librae (2015-05-29).
  10243. * configs/stm32f4discovery/src: Move up_cxxinitialize from
  10244. nuttx/configs/stm32f4discovery/src to apps/platform/stm32f4discovery
  10245. where it belongs (2015-05-29).
  10246. * net/sockets, net/tcp, net/udp: UDP Networking: Add support for
  10247. device event notification for UDP transfers (2015-05-29).
  10248. * net/sockets and net/tcp: TCP Networking: Add support for device event
  10249. notification for UDP transfers (2015-05-30).
  10250. * libc/Kconfig and stdio/lib_libvsprintf.c: Add an option to disable
  10251. support for long long formats in lib_vsprintf. From Alan Carvalho
  10252. de Assis (2015-05-30).
  10253. * net/net_initialize.c, net/detdev, and net/socket: The network device
  10254. list was protected by a re-entrant semaphore. With the recent change
  10255. to support network device callback, the network stack needs to access
  10256. the network device list too. Some drivers, however, run the network
  10257. stack from the interrupt level -- this is bad but a fact in the
  10258. current state. Of course, those drivers are unable to take the
  10259. semaphore and would assert.
  10260. The solution here is to eliminate the device devices semaphore
  10261. altogether. This eliminates netdev_semtake() and netdev_semgive()
  10262. and replace them with net_lock() and net_unlock() which have the
  10263. larger scope that is needed and will integrate properly with the
  10264. dinosaur interrupt driven stack (2015-05-31).
  10265. * net/socket/connect.c: In the TCP connection operation, it was trying
  10266. to setup the network monitor BEFORE the socket was successfully
  10267. connected. This, of course, has ALWAYS failed because the socket is
  10268. not yet connected and the TCP state is not yet correct for a connected
  10269. socket. However, because of other changes net_startmonitor() now
  10270. returns a failure condition that causes worse problems when trying to
  10271. connect. The fix is to move the logic that starts the network monitor
  10272. to AFTER the socket has been successfully connected (2015-05-31).
  10273. * tools/configure.c: Fix test for the existence of the apps/ directory.
  10274. Fix backward interpretation of options, -l was selecting Windows and
  10275. -w was selecting Linux. This was SourceForege Ticket #39 (2015-05-31).
  10276. * arch/include/stm32/chip.h and arch/src/stm32/Kconfig: Add basic
  10277. support for the STM32F205RG. From SourceForge Ticket 40 (anonymous,
  10278. 2015-05-31).
  10279. * arch/arm/src/lpc17xx: Review, update, and modify the Ethernet driver
  10280. so that it works better with CONFIG_NET_NOINTS=y (2015-06-01).
  10281. * configs/: Update all LPC17xx networking configurations so that they
  10282. have CONFIG_NET_NOTINTS=y selected (2015-06-01).
  10283. * /arch/arm/src/armv7-m, binfmt/libelf, configs/stm32f4discovery/scripts,
  10284. /include/nuttx/binfmt, and libxx: Add support uClibc++ exceptions. This
  10285. involves additional handling for relative relation types, additional
  10286. support for unwinding, as well as additional changes. The culmination
  10287. of a big effort from Leo Aloe3132 (2015-06-01).
  10288. * configs/olimex-lpc1766stk: Rename the thttpd configuration to thttpd-nxflat.
  10289. Add a new configuration, thttpd-binfs, that provides an example of how
  10290. to build apps/netutils/thttpd using binfs instead NXFLAT+ROMFS
  10291. (2015-06-02).
  10292. * tools/cfgdefine.c: Extend the mkconfig tool so that it can dequote a
  10293. quoted list of quoted strings. THTTPD uses such a configuration
  10294. setting to provide the list of index files (2015-06-02).
  10295. * mq_timedreceive(): move the location where the errno value is set; the
  10296. ETIMEDOUT errno setting was being overwritten by subsequent actions
  10297. before returning. Noted by Freddie Chopin (2015-06-03).
  10298. * Networking: Modify how callback structures are stored to avoid
  10299. another potential use of a stale pointer (2015-06-03).
  10300. * POSIX message queues: Move mq_setattr() and mq_getattr() from
  10301. nuttx/libc/mqueue to nuttx/sched/mqueue. Also add syscall support
  10302. for mq_setattr() and mq_getattr(). This is necessary in protected and
  10303. kernel builds because in those cases the message queue structure is
  10304. protected and cannot be accessed directly from user mode code (2015-06-03).
  10305. * drivers/net/tun.c: TUN driver bug fix. From Max Neklyudov (2015-06-03.
  10306. * drivers/net/Kconfig, include/nuttx/net/mii.h, and
  10307. arch/arm/src/lpc17xx/lpc17_ethernet.c: Add support for the Micrel
  10308. KSZ8041 PHY to the LPC17xx Ethernet driver (2015-06-03).
  10309. * configs/lincoln60/netnsh: Add a network enabled configuration for
  10310. the Lincoln60 board (2015-06-03).
  10311. * drivers/net/tun.c: Misc. improvements to the TUN driver, mostly related
  10312. to poll(). From Max Neklyudov (2015-06-04).
  10313. * fs/, fs/unionfs, include/nuttx, include/sys, Documentation: Add
  10314. support for a union file system that can be used to overlay and merge
  10315. the content of two mounted file systems (2015-06-05).
  10316. * arch/arm/src/efm32/efm32_spi.c: Add SPI GPIO pin initialization. From
  10317. Pierre-noel Bouteville (2015-06-05).
  10318. * configs/sim/unionfs: Add a configuration for testing the Union File
  10319. System (2015-06-05).
  10320. * configs/lincoln60/thttpd-binfs: Add a thttpd-binfs configuration for
  10321. the Lincoln60. That configuration still does not work on initial
  10322. commit (2015-06-06).
  10323. * arch/arm/src/sama5/sam_can.c: Fix SAMA5 CAN frame construction. From
  10324. Max Holtzberg (2015-06-07).
  10325. 7.11 2015-08-13 Gregory Nutt <gnutt@nuttx.org>
  10326. * arch/arm/src/efm32/efm32_spi.c: Correct write to incorrect register in
  10327. EFM32 SPI driver. From Pierre-noel Bouteville (2015-06-09).
  10328. * configs/teensy-3.x: Add board support for the PJRC Teensy-3.1 board
  10329. (2015-06-09).
  10330. * arch/arm/src/samdl, configs/samd20-xplained, and configs/saml21-xplained:
  10331. In the SAML21, SERCOM5 uses a different SLOW clock channel (and, hence,
  10332. also a different SLOW GCLK generator). This means that the channel
  10333. selection cannot be a global definition but must be a per SERCOM
  10334. configuration setting (2015-06-10).
  10335. * arch/arm/src/kinetis and include/kinetis: Add support for MK20DN--VLH5
  10336. and MK20DX---VLH5. Needed for backward compatible support for
  10337. Teensy-3.0 (2015-06-10).
  10338. * configs/Kconfig and configs/teensy-3.x: Add support for Teensy-3.0
  10339. (2015-06-10).
  10340. * arch/arm/src/stm32/stm32l15xxx_rcc.c: STM322 F15x stm32_stdclockconfig()
  10341. was calling stm32_pw_setvos() which accessed PWR_CR via an inactive APB
  10342. From Juha Niskaneni (2015-06-11).
  10343. * fs/mount: Add the ability to mount a file system on top of en existing
  10344. node in the pseudo-file system (2015-06-11).
  10345. * arch/arm/src/sam34/sam_clockconfig.c: Add default loop optimization if
  10346. EEFC_FMR is available in the configuration (i.e., for SAM4S and 4E).
  10347. From Marco Aurélio da Cruz (2015-06-11).
  10348. * include/time.h and libc/time: Add asctime(), asctime_r(), ctime(), and
  10349. ctime_r() (2015-06-12).
  10350. * include/ and arch/: Clean up and review of header files for conformance
  10351. to standards (2015-06-12).
  10352. * arch/arm/src/samdl: Add build framework for SAML21 DMA support.
  10353. Nothing there yet except for skeletal logic taken from SAM3/4
  10354. (2015-06-12).
  10355. * include/pthread.h and nuttx/sched/pthread: Use -1 instead of 0 as PID
  10356. for unclaimed mutexes. From Juha Niskanen (2015-06-16).
  10357. * sched/pthread: Implement pthread_mutex_trylock() for recursive mutexes.
  10358. From Juha Niskanen (2015-06-16).
  10359. * libc/unistd/lib_getopt.c: Uninitialized variable can cause hardfault
  10360. from getopt if required argument is missing. From George McWilliams
  10361. (2015-06-18)
  10362. * arch/arm/include/samdl and arch/arm/src/samdl: Add architecture support
  10363. for the SAMD21 family (2015-06-19).
  10364. * configs/samd21-xplained: Board configuration for the SAMD21 Xplained
  10365. board (2015-06-21).
  10366. * arch/arm/src/sam34/sam_lowputc.c: Back out an error introduced with
  10367. commit 02c33f66c5a8be774034cd40e4125e9323c7b4d8. Causes an infinite
  10368. loop in up_lowputc(). From Max Neklyudov (2015-06-22).
  10369. * arch/arm/src/samv7/sam_lowput.c: Also back the bad change to sam_lowputc.c
  10370. for SAMV7 platform (2015-06-22).
  10371. * include/nuttx/fs/ioctl.h and power/relay.h: Add relay IOCTL definitions.
  10372. From Max Neklyudov (2015-06-22).
  10373. * sched/clock/clock_gettime.c: Use up_timer_gettime for CLOCK_MONOTONIC
  10374. in tickless mode. From Max Neklyudov (2015-06-22).
  10375. * crypto/ and SAM4CM: Add CFB and MAC AES modes. From Max Neklyudov
  10376. (2015-06-22).
  10377. * SAM4CM: Fix SUPC register definitions. From Max Neklyudov. Also
  10378. removed conditional logic form non-SAM4CM parts (Gregory Nutt)
  10379. (2015-06-22).
  10380. * SAM3/4: Add a TWI driver for the SAM4CM. From Max Neklyudov
  10381. (2015-06-22).
  10382. * SAMV7 Xplained: In clock configuration, divider was set to 25 to get
  10383. 25*12MHz=300MHz CPU clock. The correct multiplier is 24 because the
  10384. calculation if (24+1)*12MHz. So the board was running at 312MHz.
  10385. From Efim Monjak (2015-06-26).
  10386. * NFS client: Fix prototype of unbind method. The function prototype
  10387. was not updated for NFS after a recent change to the file system
  10388. interface. From Manuel Stühn (2015-06-25).
  10389. * Broke the NuttX GIT repository into several, smaller repositories.
  10390. Eliminated the misc/ directory and the content under misc/Obsoleted
  10391. and misc/sims (2015-06-27).
  10392. * Removed the Documentation/ directory. Replaced with a GIT submodule
  10393. that will bring in the new standalone Documentation directory
  10394. (2015-06-29).
  10395. * Removed the configs/ directory. Replaced with a GIT submodule
  10396. that will bring in the new standalone boards directory (2015-06-29).
  10397. * arch/arm/src/armv6-m/up_exception.S: Fix Cortex-M0 assembly error
  10398. when the interrupt stack is enabled. From Alan Carvalho de Assis
  10399. (2015-06-30).
  10400. * arch/arm/src/armv6-m/up_assert.c: Port some per-process stack
  10401. dumping logic from ARMv7-M to ARMv6-M. From Alan Carvalho de Assis
  10402. (2015-06-30).
  10403. * tools/testbuild.sh: Add a script that can be used to perform
  10404. building testing for several board configurations (2015-06-30).
  10405. * sched/pthread/pthread_create.c: Group binding needs to be cleared
  10406. before sched_releasetcb(), as otherwise group_leave() will be called
  10407. and group->tg_nmembers decremented or group being released.
  10408. group_leave() should be called only after group_join() is called,
  10409. not after group_bind(). From Jussi Kivilinna (2015-07-01).
  10410. * arch/arm/src/sama5/sam_ehci.c: Fix some bad conditional compilation
  10411. that left a function undefined if CONFIG_USBHOST_ASYNCH is not
  10412. selected (2015-07-01).
  10413. * arch/arm/src/common/up_vfork.c: Fix a Cortex-A compilation error
  10414. when system calls are enabled in modes other than CONFIG_BUILD_KERNEL
  10415. (2015-07-01)
  10416. * include/nuttx/net/netconfig.h: Fix some backward compilation that was
  10417. emitting #error in the wrong condition when SLIP was enabled (2015-07-01).
  10418. * drivers/net/slip.c: Fix a missed name change when many of network
  10419. interface names changed sometime back but were apparently never updated
  10420. for SLIP (2015-07-01).
  10421. * drivers/input/stmpe811_base.c: In stmpe811_instanciate() when
  10422. CONFIG_STMPE811_MULTIPLE is enabled, and the call to stmpe811_checkid()
  10423. fails, then the linked device list is not restored to its previous state.
  10424. From Sebastien Lorquet (2015-07-02).
  10425. * sched/sched/sched_waitpid.c: Implement WNOHANG for waitpid() only and
  10426. for the case of CONFIG_SCHED_HAVE_PARENT not selected. From Max
  10427. Neklyudov (2015-07-02).
  10428. * arch/sim/src/up_head.S: Implement board_power_off() for the simulation
  10429. platform (2015-07-04).
  10430. * libc/unistd/lib_gethostname.c: Add support for sethostname() (2015-07-05).
  10431. * libc/net: Add support for gethostbyname() and gethostbyaddr(). Also
  10432. support included for the non-standard gethostbyname_r() and
  10433. gethostbyaddr_r() (2015-07-08).
  10434. * drivers/ioexpander and include/nuttx/ioexpander: This commit adds:
  10435. - headers in nuttx/ioexpander to define the "generic" ioexpander
  10436. framework
  10437. - files in drivers/ioexpander for the implementation of the NXP
  10438. PCA9555 framework
  10439. - bindings in drivers/Kconfig and drivers/Makefile
  10440. From Sebastien Lorquet
  10441. * arch/arm/src/lpc43xx/chip/lpc4310203050_pinconfig.h: Correct some
  10442. LPC4350 GPIO pin configurations. From Alessandro Temil (2015-07-09).
  10443. * mm/umm_heap, include/nuttx/kmalloc.h, userspace.h, mm/mm.h, and all
  10444. configurations that support protected mode: Redesigned how the user
  10445. space heap is accessed from the kernel code in protected mode. It
  10446. used to call memory management functions in user space via function
  10447. pointers in the userspace interface. That is inefficient because the
  10448. first thing that those memory management functions do is to trap back
  10449. into the kernel to get the current PID. Worse, that operation can be
  10450. fatal is certain fragile situations such as when a task is exiting.
  10451. The solution is to remove all of the memory management function calls
  10452. from the interface. Instead, the interface exports the users pace
  10453. heap structure and then kernel size implementations of those memory
  10454. management functions will operate on the userspace heap structure.
  10455. This avoids the unnecessary system calls and, more importantly,
  10456. failures do to freeing memory when a test exits (2015-07-10).
  10457. * libc/netdb: Move netdb functions from lib/net to lib/netdb. Move
  10458. the DNS client logic from apps/netutils/dnscient to libc/netdb.
  10459. Add support to gethostbyname() so that it will attempt a DNS host
  10460. lookup before consulting the host table (if so enabled) (2015-07-10).
  10461. * arch/arm/src/samdl/chip/saml_usb.h: Several fixes to register
  10462. definitions and types. From Janne Rosberg (2015-07-10).
  10463. * include/nuttx/net/ and libc/netdb: Repartitioning of DNS client
  10464. logic in preparation for IPv6 support (2015-07-12):
  10465. - Rename include/nuttx/net/dnsclient.h to dns.h
  10466. - Move internal DNS prototypes from dns.h to libc/netdb/lib_dns.h
  10467. - Global standard DNS definitions from libc/netdb/dns_soccket.c to
  10468. dns.h
  10469. - Eliminate dns_gethostip(). This is now an internal part of
  10470. gethostbyname()
  10471. - Eliminate interface dns_whois(). Not needed in this new context.
  10472. * include/nuttx/net/ and libc/netdb: Modifications to DNS client logic
  10473. and to dns_get/setserver() interfaces to support DNS clients at IPv6
  10474. addresses (still no support for resolution to IPv6 addresses)
  10475. (2015-07-12).
  10476. * include/nuttx/net/ and libc/netdb: Implement the low-level network DNS
  10477. packet protocol to request and receive IPv6 address mappings
  10478. (2015-07-12).
  10479. * libc/netdb: Add a default value for DNS server IP address. Make
  10480. sure that the IP address has been initialized before permitting DNS
  10481. queries (2015-07-13).
  10482. * libc/netdb: Add support for a DNS host name resolution cache. This
  10483. can save a lot of DNS name server lookups (but might also have the
  10484. negative consequence of using stale IP address mappings (2015-07-13).
  10485. * graphics/, libnx/, and include/nuttx/nx: Implement anti-aliasing in
  10486. order to clean the drawing of all edges (2015-07-14).
  10487. * drivers/lcd/ and include/nuttx/lcd: Modify the SSD1306 LCD driver to
  10488. support either the SPI or I2C interface. From Alan Carvalho de Assis
  10489. (2015-07-15).
  10490. * arch/src/stm32f7 and arch/include/stm32f7: Add architecture support
  10491. for the STMicro STM32 F7 (2015-07-15).
  10492. * drivers/can.c: Fix an issue in the CAN driver where the rx_sem
  10493. count can grow beyond bounds (2015-07-15).
  10494. * configs/stm32f762g-disco/: Add initialize support for the STMicro
  10495. STM32 F7 Discovery board. This is a work in progress and will be a
  10496. while before it is fully functional (2015-07-16).
  10497. * arch/../up_etherstub.c, arch/../up_initialize, and other files: Add
  10498. CONFIG_NETDEV_LATEINIT that can be used to suppress calls to
  10499. up_netinitialize() from early in initialization (2015-07-17).
  10500. * arch/arm/src/stm32: Extend STM32 Ethernet operating frequency to
  10501. 180MHz. From Sebastien Lorquet (2015-07-17).
  10502. * STM32 F7 Discovery: Basic NSH configuration is functional with a
  10503. serial console. I-/D-Caches and DTCM have been enabled. The delay
  10504. loop has been calibrated -- very fast (2015-07-19).
  10505. * drivers/sensor and include/nuttx/sensors: Add support to Bosch BMP180
  10506. barometer. From Alan Carvalho de Assis (2015-07-20).
  10507. * configs/stm32f4discovery/: Add support to BMP180 driver on the
  10508. STM32F4Discovery. From Alan Carvalho de Assis (2015-07-20).
  10509. * arch/arm/src/stm32f7: Add an STM32 F7 Ethernet driver (2015-07-20).
  10510. * arch/arm/src/stm32f7: Port the STM32 F4 DMA driver. Untested on
  10511. initial commit (2015-07-20).
  10512. * arch/arm/src/sam34: Correct some problems with SAM3/4 watchdog driver.
  10513. Includes some small improvements. From Max Neklyudov (2015-07-21).
  10514. * arch/arm/src/stm32 and include/stm32: Add support for the STMicro
  10515. STM32 F446. From David Sidrane (2015-07-22).
  10516. * include/nuttx/sched.h, sched/, and fs/procfs: Increase the size of
  10517. the scheduling policy field from 1 to 2 bits to allow additional,
  10518. planned scheduling policies (2015-07-23).
  10519. * pthread_create: Fix an (unlikely) error in fallback value in the
  10520. event of a failure (which should never occur) (2015-07-23).
  10521. * include/, sched/, and libc/: Add support for sporadic scheduling
  10522. parameters in struct sched_param, posix_spawnattr_t, and pthread_attr_t.
  10523. Update all user interfaces to pass sporadic scheduling parameters.
  10524. (2015-07-23).
  10525. * sched/: Separate the round-robin logic into a separate file so that
  10526. it is symmetric with the sporadic stuff. Integrate the sporadic
  10527. scheduler into the time tick interrupt handling and into the tickless
  10528. operation (2015-07-24).
  10529. * arch/arm/src/moxart/: Add support for MoxaRT SoC found in the most
  10530. Moxa serial converters such as NP51x0, NP66xx, UC72xx. From Anton
  10531. D. Kachalov (2015-07-29).
  10532. * configs/moxa: Moxa NP51x0 series of 2-port advanced RS-232/422/485
  10533. serial device servers. From Anton D. Kachalov (2015-07-29).
  10534. * drivers/net/ and include/nuttx/net: Add support for a Faraday
  10535. * FTMAC100 Ethernet MAC Driver. From Anton D. Kachalov (2015-07-29).
  10536. * 16550 UART Driver: Add a configuration option to indicate the
  10537. THR empty bit is inverted. This is the case for the moxART SoC.
  10538. Based comments from Anton D. Kachalov (2015-07-29).
  10539. * STM32 F4: Add DMA support to the ADC driver for STM32 F4. From
  10540. Max Kriegler (2015-07-30).
  10541. * sem_tickwait(): Added this function for internal use within the
  10542. OS. It is a non-standard but more efficient version of sem_timedwait()
  10543. for use in higher performance device drivers (2015-08-01).
  10544. * drivers/net/slip.c: Fix another compilation error (2015-08-02).
  10545. * drivers/can.c include/nuttx/can.h, and fs/fs.h: Add CAN IOCTL command
  10546. definitions to manage CAN message filtering (2015-08-05)
  10547. * drivers/Kconfig and can.c: Add configuration to support DLC to byte
  10548. conversions needed for CAN FD mode (2015-08-05).
  10549. * arch/arm/src/samv7: Add an MCAN driver for the SAMV7 platform
  10550. (2015-08-06).
  10551. * drivers/sensors/lm92.c and include/nuttx/sensors/lm92.h: Add a driver
  10552. for the LM92 temperature sensor. Contributed by Paul Alexander Patience
  10553. (2015-08-06).
  10554. * drivers/sensors/as5048b.c and include/nuttx/sensors/as5048b.h: Add
  10555. support for an AS5048B rotary magnetic sensor. From Paul Alexander
  10556. Patience (2015-08-07).
  10557. * include/nuttx/spi/slave.h: Add a definition of an SPI slave
  10558. interface (2015-08-08).
  10559. * arch/arm/src/samv7: Add the framework for an SPI slave driver. This
  10560. driver has a lot of missing logic on initial commit (2015-08-09).
  10561. * arch/arm/src/samv7: Basic, no-DMA SPI slave driver is in place
  10562. (2015-08-10).
  10563. * fs/vfs/epoll.c and include/sys/epoll.h: Add a very simple epoll layer
  10564. just around poll calls. To satisfy build app requirements. From Anton
  10565. D. Kachalov (2015-08-10).
  10566. * drivers/mtd/ramtron.c: Update to include supportf for newer
  10567. RAMTRON parts. From David Sidrane (2015-08-10).
  10568. * Networking: Allow receipt of empty UDP packets. From Max Neklyudov
  10569. (2015-08-11).
  10570. * drivers/sensors/mb7040.c and include/nuttx/sensors/mb7040.h: Add
  10571. support for a MB7040 sonar driver. From Paul Alexander Patience
  10572. (2015-08-11).
  10573. * net/udp: Add support for send() for connected UDP sockets
  10574. (2015-08-11).
  10575. * drivers/sensors/ms5805.c and include/nuttx/sensors/ms5805.h: Add
  10576. support for an MS5805 altimeter. From Paul Alexander Patience
  10577. (2015-08-12).
  10578. 7.12 2015-10-01 Gregory Nutt <gnutt@nuttx.org>
  10579. * fs/vfs/fs_poll.c: Use sem_tickwait() instead of sem_timedwait()
  10580. From Macs Neklyudov (2015-08-13).
  10581. * fs/vfs/fs_poll.c: If we fail to setup the poll for any file
  10582. descriptor, for any reason, set the POLLERR bit (2015-08-13).
  10583. * libc/stdlib: Add support for div() to the C library. From
  10584. OrbitalFox (2015-08-14).
  10585. * libc/stdlib: Might as well add ldiv() and lldiv() to since
  10586. these are equivalent to div() with long and long long types,
  10587. respectively, instead of int (2015-08-14).
  10588. * include/signal.h and files that include it: Add si_errno to
  10589. siginfo_t (2015-08-14).
  10590. * drivers/sensors/mx58xx.c and include/nuttx/sensors/ms58xx.h:
  10591. Generalize the MS5805 altimeter driver to support other family
  10592. members and rename to ms58xx. From Paul Alexander Patience
  10593. (2015-08-14).
  10594. * Network drivers. Fix bug in tun interface driver. From Max
  10595. Neklyudov (2015-08-17).
  10596. * STM32: Added definitions for STM32F303K6, STM32F303K8, STM32F303C6,
  10597. STM32F303C8, STM32F303RD, and STM32F303RE devices. From Paul
  10598. Alexander Patience (2015-08-17).
  10599. * include/nuttx/can.h and all CAN drivers: Add an error indication
  10600. bit to the CAN message report. This indication must then be cleared
  10601. in all existing drivers. More to come (2015-08-18).
  10602. * arch/arm/src/lpc17/lpc17_irq.c: Set NVIC vector address so that
  10603. code can execute with a bootloader or can execute from RAM. From
  10604. Pavel Pisa (2015-08-20).
  10605. * All ARMV7-M IRQ setup: Always set the NVIC vector table address
  10606. unconditionally. This is needed in cases where the code is running
  10607. with a bootload and when the code is running from RAM. It is also
  10608. needed by the logic of up_ramvec_initialize() which gets the vector
  10609. base address from the NVIC. Suggested by Pavel Pisa (2015-08-21).
  10610. * SAMV7 USBHS DCD: The device controller driver is (finally) functional
  10611. (2015-08-21).
  10612. * recvfrom(): Correct wait for new data when NET_UDP_READAHEAD is
  10613. enabled. Fix size accounting when recvfrom_udpreadahead() sets
  10614. state.rf_recvlen == -1. I have not checked if data are accumulated
  10615. to the right position in the buffer however. From Pavel Pisa
  10616. (2015-08-21).
  10617. * sched/wdog/wd_create.c: Correct a counting error in the number
  10618. of available watchdog timers. When the number of free timers is
  10619. low, the counter could be incremented below zero (2015-08-21).
  10620. * arch/arm/src/stm32: Add OTG support for STM32F44x. From David
  10621. Sidrane (2015-08-21).
  10622. * arch/arm/src/lpc17: Actually implement options to use external
  10623. SDRAM and or SRAM for the heap. From Pavel Pisa (2015-08-21).
  10624. * gethostbyname(): correct returned address format when DNS is used.
  10625. The hostent.h_addr_list should point to raw in_addr or in6_addr
  10626. as defined in the standard. Original implementation used that
  10627. for numeric addresses but for DNS lookup returned pointer to
  10628. whole sockaddr_in or sockaddr_in6. From Pavel Pisa (2015-08-21).
  10629. * tools/mksymtab: declare g_symtab array as const to occupy RO
  10630. section (Flash). From Pavel Pisa (2015-08-23).
  10631. * libc/libc.csv and syscalls/syscalls.csv: Define some symbol
  10632. export conditions, correct errno and add sleep and usleep. From
  10633. Pavel Pisa (2015-08-23).
  10634. * net/ and include/nuttx/net: Remove references to PPP as a
  10635. link layer protocol (2015-08-24).
  10636. * net/, drivers/net, and include/net: Add definitions to support
  10637. a local loopback device and link layer (2015-08-24).
  10638. * libc/netdb, net/loopback, include/nuttx/net: Add NetDB support
  10639. for the local loopback device (2015-08-24).
  10640. * drivers/net/loopback.c: Add basic prototype of a local loopback
  10641. device (2015-08-24).
  10642. * networking: Correct return value from psock_tcp_accept(). From
  10643. SaeHie Park (2015-08-25).
  10644. * drivers/mtd/s25fl1.c: Add a driver for ST25L1*K QuadSPI parts
  10645. (2015-08-25).
  10646. * include/nuttx/spi/qspi.h: Develop a new interface for QSPI, at
  10647. least the way that QSPI is implemented on the SAMV71. Originally
  10648. planned to use the SPI interface, but it is just now compatible
  10649. with the SAMV71 QSPI hardware (2015-08-25).
  10650. * drivers/rwbuffer.c: Fix some logic errors. From Dmitry Nikolaev
  10651. via Juha Niskanen (2015-08-26).
  10652. * net/socket and net/tcp: Fix a problem in when there are multiple
  10653. network devices. Polls were being sent to all TCP sockets before.
  10654. This is not good because it means that packets may sometimes be
  10655. sent out on the wrong device. That is inefficient because it
  10656. will cause retransmissions and bad performance. But, worse, when
  10657. one of the devices is not Ethernet, it will have a different MSS
  10658. and, as a result, incorrect data transfers can cause crashes.
  10659. The fix is to lock into a single device once the MSS is locked
  10660. locked down (2015-08-27).
  10661. * drivers/lcd and include/nuttx/lcd: Add SSD1351 OLED controller
  10662. support. Contributed by Paul Alexander Patience (2015-08-28).
  10663. * include/nuttx/mtd/mtd.h: Move MTD ioctl command definitions from
  10664. include/nuttx/fs/fs.h to include/nuttx/mtd.h. Add ioctl commands
  10665. to protect and unprotect memory (2015-08-29).
  10666. * binfmt/builtin.c: Fix a memory leak: File was not being closed.
  10667. From Bruno Herrera (2015-08-30).
  10668. * fs/romfs: One allocation was not being freed if there was a
  10669. subsequent failure to allocation I/O buffers resulting in a memory
  10670. leak on certain error conditions. From Bruno Herrera (2015-08-30).
  10671. * arch/arm/src/up_internal.h and several ARM Make.defs files: In the
  10672. original implementation, !defined(CONFIG_ARMV7M_CMNVECTOR) was a
  10673. sufficient test to determine if lazy floating point register saving
  10674. was being used. But recents changes added common lazy register as
  10675. well so now that test must be (!defined(CONFIG_ARMV7M_CMNVECTOR) ||
  10676. defined(CONFIG_ARMV7M_LAZYFPU)) (2015-08-31).
  10677. * arch/arm/include/sama5 and src/sama5: Add basic chip description,
  10678. configuration support and interrupt definitions for the SAMA5D2
  10679. (2015-08-31).
  10680. * LPC43xx: Fix NVIC_SYSH_PRIORITY_STEP define. From Ilya Averyanov
  10681. (2015-09-01).
  10682. * LPC43xx: Fix missing #define in eeprom. From Ilya Averyanov
  10683. (2015-09-01).
  10684. * libc/math/lib_asin.c: The function did not convert for some input
  10685. values. Asin did not convert for values which do not belong to the
  10686. domain of the function. But aside of that the function also did not
  10687. converge for some allowed values. I achieved a conversion of the
  10688. function by reducing the DBL_EPSION and by checking if the input
  10689. value is in the domain of the function. This is a fix for the
  10690. problem but the function should always terminate after a given
  10691. number of iterations. From Stefan Kolb (2015-09-01).
  10692. * arch/arm/src/lpc43xx/lpc43_spi.c: Fix SPI driver. From Ilya
  10693. Averyanov (2015-09-02).
  10694. * arch/arm/src/lpc43xx/lpc43_ethernet.c: Add Ethernet support. From
  10695. Ilya Averyanov (2015-09-02).
  10696. * net/tcp: The logic that binds a specific network device to
  10697. a connection was faulty for the case of multiple network
  10698. devices. On bind(), the local address should be used to associate
  10699. a device with the connection (if the local address is not INADDR_ANY);
  10700. On connect(), the remote address should be used (in case the local
  10701. address is INADDR_ANY). On accept(), it does not matter but the
  10702. remote address is the one guaranteed to be available (2015-09-02).
  10703. * configs/Board.mk and configs/*/src/Makefile: Simplify configs/
  10704. Makefiles by combining common logic into a new Board.mk Makefile
  10705. fragment. From Paul Alexander Patience (2015-09-04).
  10706. * configs/sama5d2-xult: Add a very basic configuration for the SAMAD2
  10707. Xplained Ultra board. This configuration is incomplete and only
  10708. intended to support the initial board bring-up (2015-09-05).
  10709. * up_initialize() all architectures: Automatically initialize all
  10710. the TUN device if it is in the configuration (2015-09-06).
  10711. * Change all references from avsprintf to vasprintf. From Sebastien
  10712. Lorquet (2015-09-07).
  10713. * net/tcp: Fix unbuffered send compilation error when Ethernet is not
  10714. enabled. From Alan Cavalho de Assis (2015-09-07).
  10715. * LPC31 and SAMA5D EHCI: Fix qh_ioccheck to move bp to next QH. From
  10716. Ilya Averyanov (2015-09-07).
  10717. * LPC31 and SAMA5D EHCI: Performance improvement: Do not disable the
  10718. asynchronous queue when adding a new QH structure. From Ilya
  10719. Averyanov (2015-09-07).
  10720. * arch/arm/src/sama5: Separate memory mapping tables for SAMA5D2, 3,
  10721. and 4 (2015-09-08).
  10722. * libc/net/lib_shutdown.c: Add an empty implementation of the
  10723. standard shutdown function. This provides only the framework for
  10724. the shutdown function; the internal logic is not included
  10725. (2015-09-09).
  10726. * configs/nucleo-f303re: Support for the STMicro Nucleo F303RE board
  10727. from Paul Alexander Patience (2015-09-10).
  10728. * arch/arm/src/lpc43xx/lpc43_ehci.c and .h: LPC43xx EHCI driver from
  10729. Ilya Averyanov (2015-09-10).
  10730. * ARMv7-M, all "lazy" interrupt stack logic. Assembly instruction
  10731. that fetches the saved value is incorrect; replace with more
  10732. traditional push and pop. This is an important fix. Noted by
  10733. Stefan Kolb (2015-09-14).
  10734. * All ARMV7-M: Force 8-byte stack alignment when calling from assembly
  10735. to C to interrupt handling (2015-09-15).
  10736. * drivers/power/battery_gauge.c and include/nuttx/power/battery_gauge.h:
  10737. battery.c/h renamed to batter_gauge.c/.h since it really only
  10738. implements a battery fuel gauge. From Alan Carvalho de Assis (2015-09-19).
  10739. * drivers/power/battery_charger.c and include/nuttx/power/batter_charger.h:
  10740. Add a new framework to support a batter charger interface. From Alan
  10741. Carvalho de Assis (2015-09-19).
  10742. * drivers/power/bq2425x.c and .h: Battery Charger: Add BQ24250 driver.
  10743. From Alan Carvalho de Assis (2015-09-20).
  10744. * fs/mqueue/mq_open.c: When message queue is opened, inode_reserve()
  10745. leaves the reference count at zero. mq_open() logic must assure
  10746. that the reference count of the newly created inode is one (2015-09-23).
  10747. * arch/sim/src/Kconfig, Makefile, up_setjmp64.S: Modern Cygwin X86_64
  10748. machines follow the Microsoft ABI for parameter passing. The older,
  10749. Linux System 5 ABI will not work on X86_64-based Cygwin machines. Also,
  10750. the newer Cygwin tool chains do nor pre-pend symbol names with the
  10751. underscore character. With these changes the simulator agains works
  10752. with the newer Cygwin64 platform (2015-09-24).
  10753. * arch/arm/src/lpc43xx: Extensive I2C and clocking updates from Lok Tep
  10754. (2015-09-29).
  10755. * configs/lpc4370-link2: Support for the NXP LPC4370-Link2 development
  10756. board from Lok Tep (2015-09-29).
  10757. * configs/nucleo-f303re: Add SSD1351 SPI 4-wire interface. From Paul
  10758. Alexander Patience (2015-09-29).
  10759. * arch/arm/src/armv7-m/up_schedulesigaction.c: Fix logic that determines
  10760. if there is a pending signal action before scheduling the next signal
  10761. action. Both the test and the scheduling action need to be atomic
  10762. (2015-09-30).
  10763. * sched/wqueue/kwork_queue.c and libc/wqueue/work_queue.c: Logic that
  10764. sets the queued indication and the logic that does the actual queuing
  10765. must be atomic (2015-09-20).
  10766. 7.13 2015-12-05 Gregory Nutt <gnutt@nuttx.org>
  10767. * libc/stdlib/lib_bsearch.c and include/stdlib.h: Add the bsearch()
  10768. function from NetBSD (2015-10-02).
  10769. * libc/stdlib/lib_qsort.c and include/stdlib.h: Make coding style
  10770. more conformant, take description from OpenGroup.org, rename formal
  10771. parameters to match names used on OpenGroup.org (2015-10-02).
  10772. * drivers/lcd/st7565.c: Extend to include support for the ERC12864-3.
  10773. From Pierre-noel Bouteville (2015-10-07).
  10774. * fs/tmpfs: Created a directory that will eventually hold a trivial
  10775. temporary RAM file file system (2015-10-0i8).
  10776. * tools/: Add crappy style checking tool nxstyle.c. See thee tools/
  10777. README file for more info (2015-10-08).
  10778. * stm32 F4: Fix some TIM12 pin mappings. From Max Kriegleder
  10779. (2015-10-9).
  10780. * fs/tmpfs: TMPFS file system is code complete and bascially functional
  10781. although it has not been heavily tested (2015-10-9).
  10782. * drivers/input/button_upper.c and include/nuttx/input/buttons.h: Add a
  10783. driver to support application access to board buttons (2015-10-12).
  10784. * drivers/input/button_lower.c: Add a generic lower half button driver.
  10785. This lower half driver is only usable in a limited number of
  10786. situations, but can still serve as a module for the lower half button
  10787. driver. (2015-10-13).
  10788. * drivers/sensors/zerocross.c and include/nuttx/sensors/zerocross.h:
  10789. Add Zero Cross device driver support. From Alan Carvalho de Assis
  10790. (2015-10-13).
  10791. * configs/stm32f4discovery/src/stm32_zerocross.c: Add low level support
  10792. for the Zero Cross driver for the STM32F4-Discovery. From Alan
  10793. Carvalho de Assis (2015-10-13).
  10794. * drivers/sensors/max6675.c and include/nuttx/sensors/max6675.h: Add
  10795. support to Thermocouple-to-Digital converter MAX6675. From Alan
  10796. Carvalho de Assis (2015-10-18).
  10797. * configs/stm32f4discovery/src: Add board config to support MAX6675.
  10798. From Alan Carvalho de Assis (2015-10-18).
  10799. * arch/arm/src/samv7/sam_lowputc.c: Reconfigure System I/O when using
  10800. USART1. From Frank Benkert (2015-10-20).
  10801. * fs/semaphore: Named semaphores: Bad cast in sem_close(). Fixed by
  10802. reordering fields of struct nsem_inode_s so that the cast will work
  10803. (2015-10-22).
  10804. * Many files: Rename board_led_* functions to board_autoled_* functions.
  10805. This makes room in the namespace to handler user LED functions
  10806. (2015-11-01).
  10807. * Many files: Standardize naming of the user LED interface functions.
  10808. The new user LED interface functions are now prototyped in only in
  10809. include/nuttx/board.h and have name like board_userled_* (2015-11-01).
  10810. * drivers/leds/usersled_upper.c and include/leds/usersled.h: Add
  10811. a generic character driver that may be used by applications to write
  10812. to board LEDs (2015-11-01).
  10813. * drivers/leds/usersled_lower.c: Add a generic lower-half user LED
  10814. driver that may be used by any board that supports the standard
  10815. board user LED interfaces (2015-11-01).
  10816. * sched/clock: Fix error in clock_timespec_subtract(). Found by Lok
  10817. (2015-11-03).
  10818. * drivers/can.c and include/nuttx/can.h: Fix a problem in the CAN
  10819. upper-half driver that occurs only for CAN hardware that support a
  10820. H/W FIFO of outgoing CAN messages. In this case, there can be a
  10821. hang condition if both the H/W and S/W FIFOs are both full. In that
  10822. case, there may be no event to awaken the upper half driver. Add a
  10823. new (conditional) CAN upper half interface called can_txready() that
  10824. can be used by the lower half driver to avoid this hang condition
  10825. (2015-11-03).
  10826. * arch/arm/src/samv7: Add a call to can_txready() to the MCAN driver
  10827. (2015-11-03).
  10828. * arch/arm/src/samv7: Add MPU and protected build support (2015-11-06).
  10829. * arch/arm/src/samv7: The QSPI FLASH driver is now functional. This
  10830. driver operates in the memory-mapped, Serial Memory Mode (SMM)
  10831. (2015-11-07).
  10832. * drivers/bch: Block-to-character (BCH) driver should forward ioctl()
  10833. calls to the contained block driver (2015-11-09).
  10834. * arch/arm/samv7/sam_qspi.c: The QuadSPI driver is now functional
  10835. (2015-11-10).
  10836. * drivers/mtd/s25fl1.c: The S25FL1xx QuadSPI FLASH driver is now
  10837. functional (2015-10-11).
  10838. * arch/arm/samv7: Add an on-chip FLASH driver (2015-11-12).
  10839. * drivers/mtd/mtd_progmem.c: Add an upper half MTD device that can
  10840. use the interfaces defined in included/nuttx/progmem.h to provide
  10841. a standard MTD interface (2015-11-12).
  10842. * drivers/serial/serial.c, serialirq.c and include/nuttx/serial/serial.h:
  10843. Implement high level DMA infrastructure for serial devices. From
  10844. Max Neklyudov (2015-11-12).
  10845. * arch/arm/src/samv7 and arch/arm/include/samv7: Add support for the
  10846. SAME70 family of chips (2015-11-14).
  10847. * configs/stm32f429i-disco: configs/stm32f429i-disco/src/stm32_nsh.c
  10848. file calculated partition boundries based on page block sizes but
  10849. mtd_partition() is expecting calculations based on erase block size.
  10850. From Alan Carvalho de Assis (2015-11-16).
  10851. * Move rivers/wireless/cc3000/security.c to crypto/aes.c; move
  10852. include/nuttx/wireless/cc3000/security.h to include/nuttx/crypto/aes.h
  10853. (2015-11-16).
  10854. * drivers/mtd/at24xx.c: Add support for multiple AT24xx EEPROM parts,
  10855. each with unique I2C addresses, but otherwise identical (2015-11-17).
  10856. * drivers/timers/ds3231.c: Add support for the DS3231 I2C RTC. Untested
  10857. on the initial commit (2015-11-17).
  10858. * arch/arm/src/stm32/stm32_tim_lowerhalf.c: Add a compatible lower-half
  10859. timer driver for use with drivers/timers/timer.c. From Wail Khemir
  10860. (2015-11-17).
  10861. * drivers/sensors/ms58xx.c: Fix some issues with initialization and with
  10862. CRC calculation. From Karim Keddam (2015-11-17).
  10863. * drivers/mtd/w25.c: Fix W25 FLASH driver page read/write logic. From
  10864. Ken Pettit (2015-11-18).
  10865. * drivers/mtd/smart.c: Fix a Smart wear-leveling bug. From Ken Pettit
  10866. (2015-11-18).
  10867. * arch/sim/src/up_spiflash.c: Add support for W25 FLASH simulation.
  10868. From Ken Pettit (2015-11-18).
  10869. * configs/boardctl.h, Kconfig, include/sys/boardctl.h, and nuttx/board.h:
  10870. Add a command to the boardctl() interface to obtain a board unique ID
  10871. (2015-11-18).
  10872. * drivers/timers/ds3231.c: Driver extended to include support for the
  10873. DS1307 RTC (2015-11-18).
  10874. * configs/same70-xplained: Add basic NSH configuration for the SAME70
  10875. Xplained board. Initial commit is just the SAMV71-XULT files with
  10876. names changed appropriately (2015-11-18).
  10877. * drivers/mtd/smart.c: Fixed SmartFS wear level error that occurs when
  10878. the logical sector size is too small to save all wear level status
  10879. bytes in a single sector. Logical sectors 1 and 2 were simply not
  10880. being allocated and then the read_sector and write_sector routines
  10881. were failing. From Ken Pettit (2015-11-18).
  10882. * drivers/timers/ds3231.c: Untested support for DS1302 and DS3232.
  10883. Also definitions for the DS3234, but that is an unsupported SPI RTC
  10884. (2015-11-19).
  10885. * drivers/mtd/w25.c: Add support for byte write mode. From Ken Pettit
  10886. (2015-11-20).
  10887. * drivers/timers/pcf85263.c and include/nuttx/times/pcf85263.h: Add
  10888. a driver for the NXP PCF85263 I2C RTC. Untested on initial commit
  10889. (2015-11-20).
  10890. * fs/driver/fs_blockproxy.c: Add logic to create a temporary char driver
  10891. using drivers/bch to mediate character oriented accessed to a block
  10892. driver (2015-11-21).
  10893. * fs/vfs/open.c: If the use attempts to open a block driver, use
  10894. block_proxy() to insert a character driver conversion layer in front
  10895. of the block driver (2015-11-21).
  10896. * libc/stdio/lib_freopen.c and include/stdio.h: Add support for
  10897. freopen() (2015-11-22).
  10898. * include/sys/types.h and include/nuttx/mm.h: When building on a 64-bit
  10899. machine, the size of size_t should be 64-bits. In general, I believe
  10900. that sizeof(size_t) should be the same as sizeof(uinptr_t). mmsize_t
  10901. should always be 32-bits in any event. The last change to stddef has
  10902. been backed out. With these changes, the simulator builds without
  10903. * fs/hostfs and arch/sim/src: Add a special file system for use with
  10904. simulator that supports access to the host file system from the
  10905. simulation. From Ken Pettit (2015-11-25).
  10906. * libc/time/lib_strftime.c: Add day-of-week support. (2015-11-25).
  10907. * drivers/lcd/ili9432.c: Fixed errors in orientation. Portrait,
  10908. RPortrait, and RLandscript should work correly now. They were
  10909. displayed mirrored. From Marco Krahl (2015-11-25).
  10910. * drivers/mtd/mtd/mtd_procfs/c and include/nuttx/mtd/mtd.h: Add an
  10911. interface to un-register an MTD procfs entry. From Ken Pettit
  10912. (2015-11-25).
  10913. * drivers/mtd/filemtd.c: A new MTD conversion layer that will
  10914. convert a regular file (or driver file) to an MTD device. This is
  10915. useful for testing on the simulation using the hostfs. From Ken
  10916. Pettit (2015-11-25).
  10917. * drivers/loop: Add a loop character device. losetup() and
  10918. loteardown() should not be called directory from applications.
  10919. Rather, these functions are now available as IOCTL commands to the
  10920. loop driver (2015-11-25).
  10921. * include/nuttx/net/netdev.h and several Ethernet drivers in arch/:
  10922. Most network drivers do not support statistics. Those that do only
  10923. support them when DEBUG is enabled. Each driver collects an
  10924. architecture specific set of statistics and there is no mechanism in
  10925. place to view those statistics. Thus, the driver feature was mostly
  10926. useless. This change standardizes the driver statistics and puts the
  10927. definition in the common network device structure defined in netdev.h
  10928. where they can be accessed by network applications. All Ethernet
  10929. drivers that collect statistics have been adapted to use these common
  10930. statistics (2015-11-26).
  10931. * net/net_procfs.c: Add basic support for networking entries in the
  10932. procfs (2015-11-27).
  10933. * mtd/filemtd.c and smart.c: Add support for a /dev/smart loop device.
  10934. From Ken Pettit (2015-11-28).
  10935. * sched/pthread/: CRITICAL BUGFIX: Logic was wiping out the indication
  10936. that of the type of a pthread. Hence, it could be confused as a
  10937. task. Found because this was causing a crash when /proc/nnn/cmdline
  10938. was printed (2015-11-29).
  10939. * configs/same70-xplained/nsh: The NSH configuration now seems fully
  10940. functional: serial console, LEDs, buttons, SDRAM, and HSMCI SD card
  10941. (2015-11-30).
  10942. * configs/same70-xplained/netnsh: Added and verified a network-enabled
  10943. NSH configuration for the SAME70-Xplained board (2015-11-20).
  10944. * net/: Remove CONFIG_NET_PINGADDRCONF. This was a uIP way of assigning
  10945. IP addresses, but is not standard and not a appropriate feature in
  10946. general (2015-12-01).
  10947. * fs/procfs: The procfs file system can now be configured so that it
  10948. supports a runtime registration of procfs entries with
  10949. CONFIG_FS_PROCFS_REGISTER=y (2015-12-01).
  10950. * arch/arm/src/stm32/stm32_ccm_procfs.c: Is no longer a part of the
  10951. 'base' procfs entries and can now only be supported via run time
  10952. registration with CONFIG_FS_PROCFS_REGISTER=y (2015-12-01).
  10953. * arch/arm/src/samv7/sam_tc.c: Port the SAMA5 timer/counter driver
  10954. to the SAMV7 (2015-12-02).
  10955. * arm/arm/src/samv7/sam_tickless.c: Port the SAMA5/SAM4CM tickless
  10956. logic to the SAMV7 (2015-12-02).
  10957. * fs/semaphore: Named semaphores: Back out "fix" of 2015-10-22. It was
  10958. correct before. The change of 2015-10-22 probably broke named
  10959. semaphores (2015-12-02).
  10960. * arch/arm/src/samv7: Bring programmable clock logic from SAMA5 into
  10961. SAMV7 (2015-12-03).
  10962. * arch/arm/src/samv7: Add PCK6 as an optional source for the timer/
  10963. counter clock (2015-12-04).
  10964. * configs/samv7-xult/: If Tickless mode is selected then enable PCK6
  10965. as a timer/counter clock source (2015-12-04).
  10966. 7.14 2016-01-28 Gregory Nutt <gnutt@nuttx.org>
  10967. * arch/arm/src/samv7: Port the TRNG driver from the SAMA5D3/4 to the
  10968. SAMV7 (2015-12-06).
  10969. * arch/arm/src/samv7: Port the WDT driver from the SAMA5D3/4 to the
  10970. SAMV7 (2015-12-06).
  10971. * arch/arm/src/samv7: Add an RSWDT driver (2015-12-06).
  10972. * drivers/net/telnet.c: Move the Telnet driver from apps/netutils/telnetd
  10973. to drivers/net. It is a driver a belongs in the OS. There are still
  10974. some interface related issues, however (2015-12-07).
  10975. * configs/: Update all configurations that use the Telnet daemon; those
  10976. configurations now need to separately enable the Telnet drvier
  10977. (2015-12-07).
  10978. * drivers/net/telnet.c: Now works like the loop device. A new interface
  10979. called telnet_initialize() registers a telnet session "factory"
  10980. device at /dev/telnet. Via ioctl, the factory device can create
  10981. instances of the telnet character devices at /dev/telnetN to support
  10982. Telnet sessions (2015-12-07).
  10983. * arch/arm/src/samv7: In USBHS device driver, fix check if zero length
  10984. packet is needed (2015-12-08).
  10985. * sched/pthread/: CRITICAL BUGFIX: Logic was wiping out the indication
  10986. that of the type of a pthread. Hence, it could be confused as a
  10987. task. Same problem as fixed on 2015-11-29, but in different location
  10988. (2015-12-09).
  10989. * sched/module: Add support for kernel modules. Initial commit is
  10990. just the ELF module support with name changes (2015-12-10).
  10991. * configs/samv71-xult/module: Add configuration for testing OS
  10992. modules (2015-12-12).
  10993. * sched/module: Add an implementation of rmmod() (2015-12-12).
  10994. * sched/module and fs/procfs: Add some basic module procfs support
  10995. (2015-12-12),
  10996. * arch/arm/src/armv7-r: Add basic architecture support for the ARMv7-R
  10997. processor family (2015-12-13).
  10998. * drivers/led: Adds a driver for the PCA9635PW I2C LED driver IC which
  10999. can be used to control the intensity of up to 16 LEDs. From Alexander
  11000. Entinger (2015-12-15).
  11001. * configs/launchxl-tms57004: Add basic board support for TI LaunchXL-
  11002. TMS57004. Not much to see there yet (2015-12-15).
  11003. * waitpid: CRITICAL BUGFIX. Add a reference count to prevent waitpid
  11004. from using stale memory released by the waited-for task group
  11005. (2015-12-22).
  11006. * sys/time.h: Add timeradd(), timersub(), timerclear(), timerisset(),
  11007. and timercmp() as macros. These are non-POSIX interfaces, but
  11008. included in most BSD deriviatives, including Linux. From Manuel Stühn
  11009. (2015-12-23).
  11010. * arch/arm/src/stm32: Add timer input capture driver. From Pierre-Noel
  11011. Bouteville (2015-12-24).
  11012. * arch/avr: Add support for the Atmega2560. From Dimitry Kloper
  11013. (2015-12-19).
  11014. * configs/arduino-mega2560: Add support for the Arduino-Mega2560. From
  11015. Dimitry Koper (2015-12-29).
  11016. * sched/signal, sched/mqueue, sched/timer, include/signal.h,
  11017. include/nuttx/signal, fs/aio, libc/aio, and probably other
  11018. directories: Add support for the SIGEV_THREAD notification method in
  11019. struct sigevent. This initial implementation will only work in the
  11020. FLAT build. See the top-level TODO file for additional details
  11021. (2015-12-30).
  11022. * include/nuttx/compiler.h, include/nuttx/streams.h include/stdio.h
  11023. include/syslog.h libc/stdio/, and libc/syslog: introduce support for
  11024. Atmel toolchain in-flash strings. Atmel toolchain AVR compiler
  11025. provides a transparent in-flash object support using __flash and
  11026. __memx symbols. The former indicates to compiler that this is a flash-
  11027. based object. The later used with pointer indicates that the referenced
  11028. object may reside either in flash or in RAM. The compiler automatically
  11029. makes 32-bit pointer with flag indicating whether referenced object is
  11030. in flash or RAM and generates code to access either in run-time. Thus,
  11031. any function that accepts __memx object can transparently work with RAM
  11032. and flash objects.
  11033. For platforms with a Harvard architecture and a very small RAM like AVR
  11034. this allows to move all constant strings used in trace messages to flash
  11035. in the instruction address space, releasing resources for other things.
  11036. This change introduces IOBJ and IPTR type qualifiers. The 'I' indicates
  11037. that the object may lie in instruction space on a Harvard architecture
  11038. machine. For platforms that do not have __flash and __memx or similar
  11039. symbols IOBJ and IPTR are empty, making the types equivalent to, for
  11040. example, 'const char' and 'const char*'. For Atmel compiler these will
  11041. become 'const __flash char' and 'const __memx char*'. All printf()
  11042. functions and syslog() functions are changed so that the qualifier is
  11043. used with the format parameter. From Dimitry Kloper (2016-01-05).
  11044. * drivers/net/tun.c: Fix a compile time error in the TUN driver. From
  11045. Vladimir Komendantskiy (2016-01-05).
  11046. * Kconfig and include/debug.h: Add configuration to support an
  11047. architecture-specific debug.h header file. From Dimitri Kloper
  11048. (2016-01-09).
  11049. * arch/avr/include/debug.h: Add an AVR-specific header file used when
  11050. the AVR MEMX pointer is used. From Dimitri Kloper (2016-01-09).
  11051. * tools/cnvwindeps.c: Add a tool that will convert paths in
  11052. dependencies generated by a Windows compiler so that they can be
  11053. used with the Cygwin make (2016-01-09).
  11054. * tools/mkwindeps.sh: A script that coordinates use of cnvwindeps.exe
  11055. (2016-01-09).
  11056. * tools/mkdeps.c: Deleted mkdeps.sh and mkdeps.bat. The mkdeps
  11057. executable generated from mkdeps.c is now that the only supported
  11058. way to make dependencies (2016-01-09).
  11059. * tools/mkdeps.c: Extended/fixed support for --winpath option.
  11060. Dependencies now work under Cygwin with a native Windows toolchain
  11061. (2016-01-10).
  11062. * libc/netdb: Add support for the use of a DNS resolver file like
  11063. /etc/resolv.conf (2016-01-14).
  11064. * drivers/sensors/mcp9844.c and include/nuttx/sensors/mcp9844.h: Driver
  11065. for the MCP9844 I2C digital temperature sensor with a selectable
  11066. resolution. From Alexander Entinger (2016-01-15).
  11067. * arch/arm/src/lpc43xx: Numerous LPC43 improvements to SPIFI and ADC
  11068. from Lok Tep (2016-01-15).
  11069. * configs/lpc4337-ws: Support for the WaveShare LPC4337-WS board. From
  11070. Lok Tep (2016-01-15).
  11071. * drivers/wireless/pn532.c: Add driver for the NXP pn532 NFC-chip. From
  11072. Janne Rosberg and others at Offcode Ltd (2016-01-17).
  11073. * drivers/sensors/lsm9ds1.c: Add driver for the STMicro LSM9DS1 chip.
  11074. The LSM9DS1 is a system-in-package featuring a 3D digital linear
  11075. acceleration sensor, a 3D digital angular rate sensor, and a 3D
  11076. digital magnetic sensor. From Paul Alexander Patience (2016-01-17).
  11077. * configs/olimex-stm32-h407: Added a port to the Olimex STM32 H407
  11078. board. This board features the STMicro STM32F407ZGT6 (144 pins).
  11079. Contributed by Neil Hancock. (2016-01-18)
  11080. * arch/arm/src/stm32/stm32_otgfs/hs/host.c: Fix some backward
  11081. arguments to stm32_putreg(). Note by Hang Xu (2016-01-18).
  11082. * include/nuttx/can.h and several CAN drivers: Add more extensive
  11083. error reporting capaibility to the CAN interface. From Frank
  11084. Benkert (2016-01-18).
  11085. * libc/misc/lib_tea.h and include/nuttx/crypto/tea.h: Add an
  11086. implementation of the Tiny Encryption Algorithm (2016-01-19).
  11087. * sim/include: Now supports a customizable startup script with a
  11088. read-only passwd file (2016-01-20).
  11089. * sim/nsh: Uses the custom start up script, includes hooks for
  11090. an MOTD message. (2016-01-20).
  11091. * include/clock.h and lots of other files: If the 64-bit timer is
  11092. selected, then use it whenever clock_systimer() is called rather
  11093. then chopping the 64-bit timer down to 32-bits. Add a new type,
  11094. systime_t to represent the 32- or 64-bit system timer (2016-01-21).
  11095. * sched/clock/clock_systimespec.c: Fix an error in a time
  11096. conversion (2016-01-21).
  11097. * include/nuttx/clock.h: Get rid of clock_systimer32() and
  11098. clock_systime64(). There is now only clock_systimer() (2016-01-21).
  11099. * arch/arm/src/kinetis: Numerous updates to the Kinetis ENET driver.
  11100. From Andrew Webster (2016-01-21).
  11101. * arch/arm/src/kinetis: Add support for the MK60N512VLL100 Kinetis part.
  11102. From Andrew Webster (2016-01-21).
  11103. * net/tcp and net/iob: Numerous fixes, mostly relate to TCP and IOB
  11104. buffering and race conditions. These were necessary for for the
  11105. NuttX networking later to be stable in some stress testing. From
  11106. Andrew Webster (2016-01-22).
  11107. * include/spi/spi.h: Add an optional hwfeatures() method to the
  11108. SPI interface (2016-01-23).
  11109. * drivers/spi/Kconfig and many other files: Remove CONFIG_SPI_OWNBUS:
  11110. Now its not just a good idea, its the law (2015-01-23).
  11111. * include/nuttx/math32.h and libc/misc: Add some utilities to support
  11112. 64-bit arithmetic operations for platforms that do not support long
  11113. long types. Not yet used anywhere (2015-01-25).
  11114. * arch/arm/src/samv7/chip: Add an AFEC header file (2016-01-25).
  11115. * net/iob: iob_alloc_qentry() has the same issues as did iob_alloc()
  11116. fixed on 2016-01-23. (2016-01-26).
  11117. * drivers/usbhost/hid_parser.c: Wrong size used in memcpy(). From Hang
  11118. Xu (2016-01-25).
  11119. * drivers/ioexpander/pca9555.c: Fixed a bug in the function pca9555_setbit
  11120. which occurs if someone tries to set one of the pins 8-15. The problem is
  11121. that after the check if the pin is greater than 7 the variable addr is
  11122. incremented and used in the Call I2C_WRITEREAD. But later in the call to
  11123. the I2C_WRITE buf[0] is used as address but this address is not incremented
  11124. as it should be. Note address does mean the address to the register in the
  11125. ioexpander and not the I2C address. From Stefan Kolb (2016-01-26).
  11126. * drivers/ioexpander/pca9555: Convert to use I2C_TRANSFER vs. I2C_WRITEREAD,
  11127. the former is thread safe while the latter is deprecated (2016-01-26).
  11128. * drivers/i2c/i2c_writeread.c: Create a wrapper that uses I2C_TRANSFER
  11129. to implement I2C_WRITEREAD functionality (2016-01-26).
  11130. * I2C: Eliminate the I2C_WRITEREAD method (2016-01-26).
  11131. * drivers/i2c/i2c_read.c and i2c_write.c: Convert to use I2C_TRANSFER vs.
  11132. I2C_READ and I2C_WRITE which are not thread safe (2016-01-26).
  11133. * SPI: Rename the STM32 up_spiinitialize() to stm32_spibus_initialize()
  11134. (2016-01-26).
  11135. * SPI: Rename the SAM up_spiinitialize() to sam_spibus_initialize()
  11136. (2016-01-26).
  11137. * SPI: Rename the Tiva up_spiinitialize() to tiva_spibus_intialize()
  11138. (2016-01-26).
  11139. * SPI: Rename the PIC32MX/MZ up_spiinitialize() to pic32mx/mz_spibus_intialize()
  11140. (2016-01-26).
  11141. * SPI: Rename EFM32's efm32_spi_initialize to efm32_spibus_initialize()
  11142. for compatibility with these other changes (2016-01-26).
  11143. * SPI: Rename the KL up_spiinitialize() to kl_spibus_intialize() (2016-01-26).
  11144. * SPI: Rename the Kinetis up_spiinitialize() to kinetis_spibus_intialize()
  11145. (2016-01-26).
  11146. * SPI: Rename the LPC31xx up_spiinitialize() to lpc31_spibus_intialize(),
  11147. Rename the LPC17xx lpc17_spiinitialize() to lpc31_spibus_intialize(),
  11148. Rename the LPC43xx up_spiinitialize() to lpc43_spibus_intialize()
  11149. (2016-01-26).
  11150. * SPI: Rename the AVR up_spiinitialize() to avr_spibus_intialize(),
  11151. Rename the LPC2148 up_spiinitialize() to lpc214x_spibus_intialize(),
  11152. Rename the Calypso up_spiinitialize() to calypso_spibus_intialize(),
  11153. Rename the ez80 up_spiinitialize() to ez80_spibus_intialize(),
  11154. Rename the STR71xx up_spiinitialize() to str71_spibus_intialize(),
  11155. Rename the i.MX1 up_spiinitialize() to imx_spibus_intialize(),
  11156. Rename the LPC2378 up_spiinitialize() to lpc23_spibus_intialize(),
  11157. Rename the M9S12 up_spiinitialize() to hcs12_spibus_intialize(),
  11158. Rename the x86 up_spiinitialize() to i486_spibus_intialize(),
  11159. Rename the z16f up_spiinitialize() to z16_spibus_intialize().
  11160. up_spiinitialize() has been completely eliminated. (2016-01-27).
  11161. * fs/vfs/fs_poll.c: Fix handling of sem_tickwait() return value
  11162. sem_tickwait() does not return an -1+errno, it returns a negated
  11163. errno value. Noted by Freddie Chopin.
  11164. 7.15 2016-03-27 Gregory Nutt <gnutt@nuttx.org>
  11165. * drivers/analog/ads1242.c and include/nuttx/analog/ads1242.h: Driver
  11166. for the 24-Bit Differential Input ADC ADS1242 that communicates via
  11167. SPI with a MCU. Reading the ADC conversion result as well as configuring
  11168. the ADC, setting the input channel, etc. is implemented via ioctl calls.
  11169. However, it does not yet implement the standard ADC interface. From
  11170. Alexander Entinger (2016-01-29)
  11171. * configs/board/src/xyz_cxxinitialize.c: Move C++ initialization logic
  11172. out of the RTOS and into the application space, specifically to
  11173. apps/platform/board, where it belongs (2016-01-29).
  11174. * drivers/modem/u-blox.c and include/nuttx/drivers/u-blox.h: Add an upper
  11175. half driver for the U-Blox Modem. From Vladimir Komendantskiy
  11176. (2016-01-30).
  11177. * arch/arm/src/lpc17xx: Backport lpc43xx I2C driver, replacing the
  11178. lpc17xx I2C driver. This gives us the I2C_TRANSFER method (2016-01-30).
  11179. * arch/arm/src/lpc11xx: Backport the lpc17xx I2C driver, replacing the
  11180. lpc11xx I2C driver. This gives us the I2C_TRANSFER method (2016-01-30).
  11181. * arch/arm/src/lpc2378: Backo the Lpc17xx I2C driver, replacing the
  11182. lpc2378 I2C driver. This gives us the I2C_TRANSFER method (2016-01-30).
  11183. * configs/u-blox-c027: Support for the u-blox GSM and GPS module evaluation
  11184. board with NXP LPCExpresso LPC1768. The GSM module is one of LISA-C200,
  11185. LISA-U200 or SARA-G350. The GPS module is one of MAX-M7 or MAX-M8. From
  11186. Vladimir Komendantskiy (2016-01-31).
  11187. * drivers/, arch/, include/, numerous files: Restructuring of the I2C
  11188. interface necessary to eliminate some thread-safety issues inherent in
  11189. the legacy I2C interface design. This effects the interface definition,
  11190. all I2C clients, and all low-level I2C drivers. I have used caution,
  11191. but I still expect a change of this magnitude to introduce some errors.
  11192. Any bug reports of bug fixes will be much appreciated (2016-02-01).
  11193. * drivers/i2c/i2c_driver.c: Add an I2C character drivers to support
  11194. raw I2C data transfers for test applications (2016-02-02).
  11195. * I2C_RESET: Eliminate up_i2creset(). It should not be a global function;
  11196. Now it is an I2C interface method (2016-02-02).
  11197. * I2C: Rename up_i2cinitialize and up_i2cuninitilize to follow the correct
  11198. naming convention. These are not common interfaces used by the OS;
  11199. these are MCU-specific interfaces used only be MCU-specific code. The
  11200. the correct naming is xyz_i2cbus_initialize and xzy_i2cbus_uninitialize
  11201. where xzy is the MCU mnemonic (2016-02-02).
  11202. * Networking drivers that support CONFIG_NET_NOINTS: Fix a race condition
  11203. that can cause the TX poll timer to stop running. From Manuel Stuhn
  11204. (2016-02-03).
  11205. * All Network drivers: Remove the hsec parameter from devif_timer().
  11206. We can get better timing accuracy without it (2016-02-03).
  11207. * drivers/ioexpander/pca555.c: Add logic to make the PCA555 driver
  11208. thread safe (2016-02-03).
  11209. * sched/init/os_start.c and include/nuttx/init.h: Add a state variable
  11210. that provides the current level of OS initialization. This is needed by
  11211. some logic that may attempt to run early in the start-up sequence but
  11212. cannot run if a sufficient level of initialization has not yet occurred
  11213. (2016-02-05).
  11214. * libc/syslog/lib_syslog.c: If syslog timestamping is enabled, don't try to
  11215. get the time if the timer hardware has not yet been initialized
  11216. (2016-02-05).
  11217. * fs/procfs/fs_procfskmm.c: Add /proc/kmm entry that shows that state of
  11218. the kernel heap. Only useful in PROTECTED and KERNEL build modes where
  11219. there is a kernel heap (2016-02-06).
  11220. * sched/ and arch/: Replace explicit access to the OS internal data structure
  11221. g_readytorun() with the wrapper this_task() which hides the implementation
  11222. and will permit such things as more scalable representations of task queues
  11223. and SMP (2016-02-06).
  11224. * include/nuttx/net/arp.h, include/nuttx/net/ioctl.h, net/netdev/netdev_ioctl.c,
  11225. and ARP-related files: Add support for IOCTL commands to manage the
  11226. ARP table (2016-02-08).
  11227. * ARMv7-A, ARMv7-R, and ARMv7-A: Add test-and-set logic and definitions
  11228. needed to supports spinlocks (2016-02-09).
  11229. * include/nuttx/spinlock.h: Add basic definitions for spinlocks. Not yet
  11230. used by NuttX (2016-02-09).
  11231. * include/nuttx/arch.h, sched/sched/sched.h: Add some basic definitions
  11232. that may be needed for SMP support (2016-02-10).
  11233. * sched/init/os_start.c, sched/init/os_smpstart.c, and include/nuttx/arch.h:
  11234. Add some tentative SMP start-up logic (2016-02-10).
  11235. * arch/arm/sim/up_head.c and up_simsmp.c: Add multi-CPU support to the
  11236. simulation to support SMP investigation.. Currently crashes when CONFIG_SMP
  11237. is enabled as expected (2016-02-10).
  11238. * sched/sched.h and other files: Replace the bool 'prioritized' in the task
  11239. list table with a uint8_t bit set so that additional attributes of a task
  11240. list can be provided without adding more booleans (2016-10-11).
  11241. * Everywhere: Replace irqsave() with enter_critical_section(); replace
  11242. irqrestore() with leave_critical_section(). This is part of the onging
  11243. development of SMP support (2016-02-13).
  11244. * Conform to naming convention: Rename irqsave() to up_irq_save(); rename
  11245. irqrestore() to up_irq_restore(). These should no longer be used. If
  11246. your code still uses them, please switch to enter_critical_section()
  11247. and leave_critical_section() (2016-02-14).
  11248. * Also rename irqdisable() and irqenable() to up_irq_disable() and
  11249. up_irq_enable() (2016-02-14).
  11250. * sched/signal and include/nuttx/sched.h: Move the list of signal
  11251. actions from the TCB to the group structure. Signal handlers are not
  11252. per thread but, rather, per task group. I know, I preferred it the
  11253. other way too, but this is more compliant with POSIX (2016-02-18).
  11254. * fs/ procfs/fs_procfsproc.c: Add support for showing CPU if SMP is
  11255. enabled (2016-02-19).
  11256. * include/pthread.h, sched.h, sys/types.h and other files: Rename
  11257. cpuset_t to cpu_set_t which is the type used in some non-standard
  11258. Linux/GNU interfaces. Move definitions of cpu_set_t to include/sys/types.h.
  11259. Add prototypes for sched_setaffinity(), sched_getaffinity(),
  11260. pthread_attr_setaffinity_np(), pthread_attr_getaffinity_np(),
  11261. pthread_setaffinity_np(), and pthread_getaffinity_np(). No implementation
  11262. is yet in place (2016-02-19).
  11263. * sched/sched_cpuselect.c, include/nuttx/sched.h, and other files. Add
  11264. a CPU affinity set to the TCB if SMP is enabled and use this CPU set as
  11265. a mask for determining which CPUs the thread may run on (2016-02-19).
  11266. * libc/pthread, sched/pthread/pthread_start.c, and include/pthread.h:
  11267. Add an affinity field to the attrributes to permit controlling
  11268. which CPUs a pthread may run on. Implements pthread_att_setaffinity_np()
  11269. and pthread_attr_getaffinity_np() (2016-02-19).
  11270. * sched/pthread: Add pthread_setaffinity() and pthread_getaffinity()
  11271. (2016-02-19).
  11272. * sched/sched: Add sched_setaffinity() and sched_getaffinity() (2016-02-19).
  11273. * drivers/leds/rgbled.c: Add a driver to manage a RGB LED via PWM. From
  11274. Alan Carvalho de Assis (2016-02-22).
  11275. * arch/arm/src/stm32f4discovery: Add PWM support for the onboard RGB LED
  11276. From Alan Carvalho de Assis (2016-02-22).
  11277. * arch/arm/src/samv7: HSMCI driver can now be configured to handle unaligned
  11278. data buffers (2016-02-22).
  11279. * fs/fat: Add an option to force all transfers to be performed indirectly
  11280. using the FAT file system's internal sector buffers (2016-02-22).
  11281. * drivers/wireless/ieee802154: New directory. Nothing there yet (2016-02-25).
  11282. * wireless/: New top level directory. Nothing there yet (2015-02-26).
  11283. * wireless/ieee802154: Add an new directory to the build. Nothing there
  11284. yet (2016-02-26).
  11285. * include/nuttx/wireless/ieee802154: Add directory (and dummy header file)
  11286. (2016-02-16).
  11287. * arch/arm/include and src: Rename the imx directories to imx1 to make room
  11288. in the namespace for other members of the i.MX family (2016-02-27).
  11289. * arch/arm/include/imx6 and src/imx6: Evolving support for the NXP/Freescale
  11290. i.MX6Q (2016-02-28).
  11291. * configs/sabre-6quad: Placeholder that will eventually become board support
  11292. for the NXP/Freescale Sabre 6Quad board (2016-02-28).
  11293. * arch/arm/src/stm32: Support for STM32F46xx from Paul Alexander Patience
  11294. * sched/semaphore/sem_reset.c and include/nuttx/semaphore.h: Add an internal,
  11295. non-standard interface to reset a semaphore count. This is sometimes
  11296. needed by drivers in order to recover from error conditions (2016-03-05)
  11297. * AT24xx driver: Correct missing address calculation logic. From Frank
  11298. Benkert (2016-03-08).
  11299. * arch/ renaming: current_regs renamed to g_current_regs in all
  11300. architectures. For ARM which is slowly developing SMP capability,
  11301. g_current_regs is now an array of dimension 1 in most case but of higher
  11302. dimension of the architecuture supports multiple CPUs (2016-03-09).
  11303. * MTD: Increase block size in mtd_geometry_s to 32-bits (2016-03-09).
  11304. * include/nuttx/clock.h: Missing parenteses in MSEC2TICK macro can
  11305. cause wrong calculations. From Stefan Kolb (2016-03-09).
  11306. * Build system: Added a 'make olddefconfig' target that will refresh
  11307. a .config file without interaction. tools/refesh.sh now has a --silent
  11308. option so that it can be used in batch modes without human input
  11309. (2016-03-09).
  11310. * tools/testbuild.sh: .config files were not being updated because (a)
  11311. kconfig-conf was being called in the wrong directory and (b) apps/Kconfig
  11312. had not yet been created. Now uses 'make olddefconfig' (2016-03-09).
  11313. * arch/arm/src/stm32l4 and include/stm32l4: Add support for the STM32L4
  11314. family. From Sebastien Lorquet (2016-03-10).
  11315. * configs/nucleo-l476: Add support for the Nucleo-L476 board. From
  11316. Sebastien Lorquet (2016-03-10).
  11317. * sched/tls and include/nuttx/tls.h: Basic definitions needed to support
  11318. thread local storage (TLS). Not used anywhere yet (and may not be used
  11319. in the near future either) (2016-03-10).
  11320. * sched/sched_note.c and include/nuttx/sched_note.c: Add a configuration
  11321. option to buffer RTOS instrumentation data in an in-memory buffer
  11322. (2016-03-17).
  11323. * drivers/syslog/note_driver.c: Add a character driver that will allow
  11324. an application to read buffered scheduler instrumentation data (2016-03-17).
  11325. * arch/arm/src/samv7/sam_usbdevhs.c: The USB driver has had some issue that
  11326. would occasionally cause loss of packets. Back last December, a fix was
  11327. put in for this but the fix apparently worsens the problem; now causing
  11328. hangs. The basic problem is that the number of busy banks (NBUSYBKS)
  11329. status is not real time but is delayed. This was fixed; now when the DMA
  11330. completes and NBUSYBKS > 0, the NBUSYBK is interrupt is enabled and the
  11331. operations are deferred until NBUSYBKS is truly zero (2016-03-17).
  11332. * net/tcp/tcp_timer.c: Fix some logic when there are multiple network
  11333. interfaces. In this case, TCP timeout events can really only being
  11334. processed when the poll from the correct device is received (2016-03-20).
  11335. * sched/wqueue/kwork_signal.c: Fix logic to find an IDLE worker thread;
  11336. the test for busy was backward. From Linfei Chen (2016-03-22).
  11337. * include/sys/boardctl.h, configs/boardctl.c, and many configurations: Add
  11338. boardctl() support that will permit applications to control USB devices
  11339. (2016-03-25).
  11340. * configs/stm32l476vg-disco: Add support for the STM32L476VG Discovery
  11341. board. From Dave (2016-03-25).
  11342. 7.16 2016-06-01 Gregory Nutt <gnutt@nuttx.org>
  11343. * PM: Add activity domain to all PM interfaces and driver callbacks. If
  11344. CONFIG_PM_NDOMAINS == 1, then the legacy behavior is preserved. If
  11345. CONFIG_PM_NDOMAINS > 1, then multiple PM domains are supported. This
  11346. will allow separate control for certain power management groups. For
  11347. example, a network can be shut down without affect an ongoing UI (and
  11348. vice versa) (2016-03-27).
  11349. * apps/configs/vsn: Removed the VSN configuration from the main NuttX
  11350. repository. The VSN can still be found in the Obsoleted repository
  11351. (along with a full explanation in the README file there) (2016-03-29).
  11352. * arch/arm/src/armv7-m and stm32: Add support for the IAR toolchain for
  11353. the limited case of the ARMv7-M architecture and the STM32 chip. From
  11354. Aleksandr Vyhovanec (2016-04-02).
  11355. * arch/arm/src/stm32/stm32f40xxx_rtc.c: Add a custom RTC driver. From
  11356. Neil Hancock (2016-04-02).
  11357. * include/nuttx/timer/rtc.h and drivers/timers/rtc.c: Simplify the RTC
  11358. interface. The old interface was way to complex and was not fully
  11359. implemented anywhere (2016-04-02).
  11360. * Moved NuttX repository to https://bitbucket.org/nuttx/nuttx (2016-04-06).
  11361. * arch/arm/src/armv7-m/iar: Convert more assembly language files for
  11362. use with the IAR toolchain. From Kha Vo (2016-04-08)
  11363. * Fix miscellaneous build issues for the IAR compiler. From Kha Vo
  11364. (2016-04-08).
  11365. * tools/ide_exporter.py: IDE exported Python script for use with the
  11366. IAR toolchain. From Kha Vo (2016-04-08).
  11367. * STM3220G-EVAL: Add support for both the IAR and uVision GCC IDEs
  11368. From Kha Vo (2016-04-08).
  11369. * STM32F429I Discovery: Add support for the uVision GCC IDE. From
  11370. Kha Vo (2016-04-08).
  11371. * libc/signal and include/signal.h: Rename sigset() to signal().
  11372. sigset() is the System V function; signal() is the obsoleted POSIX
  11373. name. These seem to be equivalent. Neither are relevant in modern
  11374. POSIX programming but the name signal() probably has the better
  11375. credentials. sigset() is now relegated to a #define in signal.h that
  11376. makes it equivalent to signal() (2016-04-10).
  11377. * configs/nucleus2g: Removed the Nucleus2G configuration. There has
  11378. not been any activity with the commercial board in a few years and it
  11379. no longer appears to be available from the 2g-eng.com website.
  11380. Since the board is commercial and no longer publicly available, it
  11381. no longer qualifies for inclusion in the open source repositories.
  11382. The code as of this data is still available in the Obsoleted
  11383. repository at configs/nucleus2g (2016-04-12).
  11384. * arch/arm/src/stm32l4: Fix the STM32L4 SPI driver. That SPI driver is
  11385. quite different. They now handle frames of arbitrary size between 4
  11386. and 16 bits. It was broken before a new bit has to be set (RX fifo
  11387. threshold) to handle <= 8-bit transactions. If not set, the default is
  11388. 16-bit packed >=8-bit frames and the RXNE bit is never set (it is set
  11389. when 16-bits are received). weird things as always.
  11390. This also add 8-bit access routines to the data register, because a
  11391. 16-bit access to the data register when the frame size is below 9 bits
  11392. is interpreted as a packed dual frame exchange. Sebastien Lorquet
  11393. (2016-04-13).
  11394. * net/sockets/listen.c and accept.c and include/nuttx/net: Separate
  11395. out psock_listen() and psock_accept() for internal OS usage
  11396. (2016-04-14).
  11397. * fs/inode/, fs/vfs/, and sched/task/: File and socket descriptors are
  11398. no longer allocated for kernel threads. They must use SYSLOG for
  11399. output and the low-level psock interfaces for network I/O. This
  11400. saves a little memory which might be important for small footprint
  11401. configurations (2015-04-14).
  11402. * Framebuffer driver: Add a display number to each interface in order
  11403. to support multiple display devices (2015-04-14).
  11404. * drivers/wireless/nrf24l01.c: Fix backward calculation of relative
  11405. frequency. Noted by Henry Zhang (2015-04-15).
  11406. * drivers/sensors/h1750fvi.c: Add a character driver for Rohm Ambient
  11407. Light Sensor BH1750FVI. From Alan Carvalho de Assis (2016-04-15).
  11408. * configs/stm32f4discovery: Integrate BH1750FVI driver in the
  11409. STM32F4Discovery board. From Alan Carvalho de Assis (2016-04-15).
  11410. * drivers/mtd: Add MTD support for Micron N25Qxxx family of QSPI flash.
  11411. From Dave dev@ziggurat29.com (2016-04-17).
  11412. * arch/arm/src/stm32l: Add a QSPI driver. From Dave dev@ziggurat29.com
  11413. (2016-04-18).
  11414. * configs/stm32l476vb-disco: Add support for QSPI based N25Qxxx flash.
  11415. From Dave dev@ziggurat29.com (2016-04-18).
  11416. * graphics/vnc: Add support for a VNC server. This logic is code
  11417. complete, but untested and so not ready for prime time (2016-04-18).
  11418. * configs/samv71-xult/vnc: Add a configuration that will be used to
  11419. verify VNC (also untested) (2016-04-18).
  11420. * drivers/ioexpander: Fix an error in the PCA9555 driver: Under certain
  11421. error conditions, interrupts were not being re-enabled. Sebastien
  11422. Lorquet (2016-04-20).
  11423. * arch/arm/src/stm32 and configs/stm32f429i-disco: Correct some bad
  11424. commits that broke the LTDC display example. From Marco Krahl
  11425. (2016-04-22).
  11426. * configs/samv71-xult/vncwwm: Add a more complex NxWM configuration
  11427. to support further VNC testing (particularly of VNC keyboard and
  11428. mouse inputs). Initial configuration is not functional (2016-04-23).
  11429. * arch/arm/src/stm32l4: Add support for QSPI DMA. From Dave
  11430. dev@ziggurat29.com (2016-04-24).
  11431. * configs/stm32l476vg-disco: Update stm32l4 disco board to reflect QSPI
  11432. DMA support. From Dave dev@ziggurat29.com (2016-04-24).
  11433. * arch/arm/src/stm32l4: Add configuration options to allow SRAM2 to be
  11434. used for heap, or not at all, and to zero-initialize it on OS start,
  11435. or not at all. From Dave dev@ziggurat29.com (2016-04-24).
  11436. * drivers/mtd/smart.c: Return code of smart_scan not checked, can
  11437. cause success result in failure case, leading to 'dev' pointer being
  11438. invalid. From Dave dev@ziggurat29.com (2016-04-27).
  11439. * arch/arm/src/stm32l4: Add support for QSPI memory mapped mode. From
  11440. Dave dev@ziggurat29.com (2016-04-27).
  11441. * configs/stm32l476vg-disco: Add board ioctls for allowing user
  11442. application to cause QSPI memory mapped mode to be engaged and
  11443. disengaged. Also partitioned QSPI flash for file system and other
  11444. (eventually xip). From Dave dev@ziggurat29.com (2016-04-27).
  11445. * fs/mount: Fix a backward debug assertion. Noted by David Sidrane
  11446. (2016-04-29).
  11447. * arch/arm/src/stm32l4: Add support for HSE and MSI clocks, and auto
  11448. trim of MSI to LSE (needed for USB). From Dave dev@ziggurat29.com
  11449. (2016-04-29).
  11450. * arch/arm/src/stm32l4: Add support for unique id function to arch;
  11451. modified board to support unique id boardctl. From Dave
  11452. dev@ziggurat29.com (2016-05-03).
  11453. * Makefile.unix and tools/mkexport.sh: Pass top-level make to the
  11454. script to allow -j greater than 1. From David Sidrane (2016-05-04).
  11455. * arch/arm/src/stm32, stm32f7, stm32l4: Fix typo in variable name in
  11456. serial BREAK logic. Review other serial implementations for similar
  11457. naming problems. (2016-05-05).
  11458. * arch/arm/src/samv7: Fix typo in MATRIX register definitions. From
  11459. Stefan Kolb (2016-05-06).
  11460. * arch/arm/src/stm32l4: Problem with resetting backup domain clears
  11461. clocking options set up before in *rcc.c use INITS flag to avoid magic
  11462. reg value to detect power up reset state of RTC correct a problem
  11463. clearing interrupt flags (they weren't) which prevented an alarm from
  11464. ever being used more than once per reset cycle. From Dave
  11465. dev@ziggurat29.com (2016-05-07).
  11466. * arch/arm/src/tiva: Fix a bug of GPIO falling-edge interrupt for tiva.
  11467. From Young (2016-05-07).
  11468. * drivrs/mtd: Add a driver for SST26F spi/qspi flash devices (SPI mode
  11469. only). From Sebastien Lorquet (2016-05-10).
  11470. * Several Makefiles: Add .PHONY definitions to prevent 'clean up to date'
  11471. message weirdness when 'make clean' is done with no .config or Make.defs
  11472. file (2016-05-10).
  11473. * include/nuttx/can.h and drivers/can.c: Improve CAN error reporting.
  11474. From Frank Benkert (2016-05-11).
  11475. * fs/Kconfig: Allow CONFIG_FS_WRITABLE to be manually selectable
  11476. (2016-05-11).
  11477. * Various file: Search for places where a stray semicolon following an
  11478. if condition cause the if body to be executed unconditionally. Fixes
  11479. in all SAM DMA logic, unionfs, OS signalling logic,
  11480. * configs/nucleo-144: Basic port for the Nucleo-144 board with the
  11481. STM32F746ZG MCU. From Kconstantin Berezenko (2015-05-12).
  11482. * arch/arm-src/armv7-a: Complete re-design of logic to initialize each
  11483. CPUn, n > 0, when CONFIG_SMP=y (2016-05-13).
  11484. * arch/arm/src/imx6 and configs/sabre-6quad: The basic i.MX6 port is
  11485. complete. This is a very minimal port at present and probably still
  11486. has some as-of-yet-undiscovered issues (2016-05-17).
  11487. * arch/*/Makefile: Add definitions that can be overrided to use GCC
  11488. instead of LD in the final link. From Paul Alexander Patience
  11489. (2016-05-18) .
  11490. * arch/arm/src/stm32, stm32l4, and stm32f7 serial: Add support for
  11491. compliant BSD-style breaks. From David Sidrane (2016-05-18).
  11492. * enter/leave_critical_section() may attempt to access task lists before
  11493. they have been initialized in the SMP configuration (2016-05-18).
  11494. * configs/stm32f103-minimum: Add support for this minimual STM32F103CBT6
  11495. "blue" board. From Alan Carvalho de Assis (2016-05-18).
  11496. * arch/arm/src/sam* Watchdogs: Rename up_wdginitialize() to something
  11497. more appropriate for an internal, MCU-specific function (2016-05-18).
  11498. * configs/*/src/*_watchdog.c: Remove all implementations of
  11499. up_wdginitialize() which was only used by apps/examples/watchdog.
  11500. That internal OS function is no longer called from application code.
  11501. If you want to use the watchdog example, you will need to configure
  11502. the watchdog driver by calling the appropriate, MCU-specific driver
  11503. configuration function from your board initialization logic
  11504. (2016-05-18).
  11505. * arch/srm/src/stm32l4: Add CAN support for STM32L4. From Sebastien
  11506. Lorquet (2016-05-19).
  11507. * arch/arm/src/samv7: Adds a JTAG config and ERASE config to Kconfig to
  11508. set the CCFG_SYSIO SYSIO Pins. From David Sidrane (2016-05-19).
  11509. * arch/sim/src: Enhance networking support for the simulation under Linux.
  11510. Includes updated support for Linux TUN/TAP, and the addition of support
  11511. for Linux bridge devices. From Steve (2016-05-20).
  11512. * configs/stm32f411e-disco: Add basic configuration for stm32f411e-disco
  11513. board with STM32F411VE chip. From Konstantin Berezenko (2016-05-20).
  11514. * i.MX6 Sabre-6Quad: Basic SMP NSH configuration is now working. But
  11515. this is probably only because the SMP NSH case does not stress the
  11516. logic. There are know outstanding SMP issues as noted in the
  11517. Sabre-6Quad README.txt file (2016-05-22).
  11518. * configs/sabre-6quad: Add an SMP configuration; Enable procfs in all
  11519. configurations (2016-05-22).
  11520. * include/nuttx/crypto/aes.h: Modifications to the crypto API needed
  11521. for LPC43xx. From Alexander Vasiljev (2016-05-23).
  11522. * arch/arm/src/lpc43xx: Add AES support. From Alexander Vasiljev
  11523. (2016-05-24).
  11524. * configs/*/src/tiva_timer.c: Tiva boards: Fix a naming collision,
  11525. rename board-specific function from tiva_timer_initialize() to
  11526. tiva_timer_configure() to remove conflict (2016-05-23).
  11527. * arch/arm/src/sam*: Ensure that the TWIHS (i2c) hw get's its clock
  11528. set when the sequence of sam_i2cbus_initialize(),
  11529. sam_i2cbus_uninitialize(), then sam_i2cbus_initialize() or twi_reset()
  11530. is called. I found this a while back in the stm32 family, so there
  11531. may be more arch-es with this sort of bug. I suppose any driver that
  11532. has the notion of "do not set the freq if it is already set" could be
  11533. suspect. From David Sidrane (2016-05-23).
  11534. * arch/arm/src/samv7: Add the up_systemreset interface to the samv7
  11535. arch. The approach is slightly different in that: 1) It enables
  11536. ARCH_HAVE_RESET and allows the user to set if, and for how long, to
  11537. drive External nRST signal. It also does not contain a default
  11538. board_reset, as that really should be done in the config's src if
  11539. CONFIG_BOARDCTL_RESET is defined. From David Sidrane (2016-05-23).
  11540. * arch/arm/include/lpc43xx and src/lpc43xx: Adds definitions for the
  11541. LPC4337jet100 chip. From Alexander Vasiljev (2016-05-24).
  11542. * Many files: board_app_initialize() now accepts an argument that may
  11543. be used to support initialization in different configurations
  11544. (2016-05-24).
  11545. * arch/arm/src/samv7: Remove disabling of whole USB on suspend of USBHS.
  11546. This fix removes the disabling of the whole USB peripheral on suspend
  11547. interrupt. Its enough to freeze the clock instead. When disabling the
  11548. whole peripheral, the next wakeup-interrupt comes up with an disabled
  11549. clocking. The unfreeze clock has no effect, because the master clock
  11550. is disabled. This makes all registers, including the IDR unwriteable
  11551. and the IRQ falls in an endless loop blocking the whole system.
  11552. Furthermore the disabling of the peripheral clock prevents hotplugging
  11553. or reconnecting the USB. From Frank Benkert (2015-05-25).
  11554. * drivers/lcd: Add support for PCF8574 LCD Backpack driver. This driver
  11555. supports an interface board that is based on the PCF8574 io expander
  11556. and supports the HD44780-based (or compatible) LCD modules. There
  11557. are a myriad of different vendors of such, but they are principally
  11558. the same, save wiring and minor features like jumpers for I2C
  11559. addresses. This driver supports known and unknown variants. From
  11560. Dave (ziggurat29, 2013-6-26).
  11561. * arch/arm/stm32: Add support for a custom 1-wire driver. The serial
  11562. driver already supports a 1-wire interface, but this driver uses the
  11563. same serial logic to implement a lower half driver much like the I2C
  11564. lower half driver. From Aleksandr Vyhovanec (2015-05-25).
  11565. * fs/: Add logic to detach a file structure from a file descriptor.
  11566. This is for use only within the OS. It permits an open file or driver
  11567. to be used across multiple threads (2016-05-26).
  11568. * arch/arm/src/stm32l4: Get I2C working for STM32L4. From Dave
  11569. (ziggurat29) (2016-05-25).
  11570. * fs/ and include/nuttx/fs: Add logic to detach a file structure from a
  11571. file descriptor. This is for use only within the OS. It permits an
  11572. open file or driver to be used across multiple threads. (2016-05-26).
  11573. * drivers/analog/adc.c, include/nuttx/analog/adc.h, and all ADC lower
  11574. half drivers: No longer uses global adc_receive() call. Added a new
  11575. bind() method to the ADC interface. Now the ADC upper half driver
  11576. will register its receipt-of-data callback. This change allows the
  11577. ADC lower half driver to be used with a differ ADC upper half
  11578. (2016-05-26).
  11579. * drivers/analog/ads1255.c: Must not do SPI access from interrupt
  11580. handler. Use the worker thread instead. Must also lock the SPI bus
  11581. before using it. (2015-05-26).
  11582. * drivers/: Several SPI-based drivers modified. All drivers that use
  11583. SPI must call SPI_LOCK and SPI_UNLOCK. This is not optional
  11584. (2016-05-26).
  11585. * drivers/sensors: Fix a bug in crc computation for ms583730.
  11586. Implement POSIX read (2016-05-27).
  11587. * arch/arm/src/samv7: This is a fix to a problem in the handling of the
  11588. oneshot timer. Due to a wrong assumption concerning the behavior
  11589. directly after the start of the timer/counter the function
  11590. sam_oneshot_cancel(…) calculates the wrong remaining time. The code
  11591. assumes that the counter register is zero directly after the start of
  11592. the timer, but this is not true. To start the time/counter a software
  11593. trigger is invoked, this trigger starts the timer/count and sets the
  11594. counter register to zero, but the reset of the counter register is not
  11595. performed instantly. According to the datasheet: "The counter can be
  11596. reset by a trigger. In this case, the counter value passes to zero on
  11597. the next valid edge of the selected clock." Thus the counter is set to
  11598. zero between 0 and USEC_PER_TICK microseconds after the clock was
  11599. started.
  11600. In my fix I use the freerun count value to determine if at least one
  11601. tick passed since the start of the timer and thus if the value of the
  11602. oneshot counter is correct. I also tried to use the function
  11603. up_timer_gettime(…) to achieve this but, at least if compiled with no
  11604. optimization the problem vanishes without using the value of the
  11605. function, the function call takes too long.
  11606. Another problem treated in the fix is that if the oneshot timer/counter
  11607. is canceled, we only know the remaining time with a precision of
  11608. USEC_PER_TICK microseconds. This means the calculated remaining time
  11609. is between 0 and USEC_PER_TICK microseconds too long. To fix this I
  11610. subtract one tick if the calculated remaining time is greater than one
  11611. tick and otherwise set the remaining time to zero. By doing so the
  11612. measured times are much more precise as without it. From Stefan Kolb
  11613. (2016-05-27).
  11614. * arch/arm/src/sama5: Stefan Kolb's change to the SAMV7 Oneshot Timer
  11615. should also be applied to the SAMA5 oneshot time since the drivers are
  11616. identical (2016-05-27).
  11617. * arch/arm/src/stm32l4: Add support for SPI 4 and 5 on stm32f411 chips.
  11618. From Konstantin Berezenko (2016-05-27).
  11619. * arch/arm/src/sam34: Stefan Kolb's change to the SAMV7 Oneshot Timer
  11620. should also be applied to the SAM3/4 oneshot time since the drivers
  11621. are identical (2016-05-29).
  11622. * arch/arm/src/stm32: Allow to not use all channel in a lower part of
  11623. PWM. From Pierre-noel Bouteville (2016-05-30).
  11624. * libc/math: Add a NAN test on 'x' in asin function of lib_asin.c.
  11625. Suggested by Pierre-noel Bouteville (2016-05-31).
  11626. * arch/arm/src/stm32: Fix logic in F4 RTCC driver that prevent ALARM
  11627. interrupt. From Neil Hancock (2016-05-31).
  11628. * arch/arm/src/stm32: Fix STM32 ValueLine ADC IRQ number selection.
  11629. From David Sidrane (2016-05-31).
  11630. * arch/arm/src/samv7: Fix missing unlock of device in MCAN
  11631. mcan_txempty(). From Frank Benkert (2016-06-01).
  11632. 7.17 2016-07-25 Gregory Nutt <gnutt@nuttx.org>
  11633. * drivers/mtd/flash_eraseall.c: Removed. This is no longer used
  11634. in the OS and is simply a wrapper around the MDIOC_BULKERASE
  11635. IOCTL command. It used to be called (only) from
  11636. apps/system/flash_eraseall, but that has been removed because it
  11637. violated the OS/application interface -- by calling flash_eraseall().
  11638. The old code can be found in the Obsoleted' repository (and a revised
  11639. version can be found at apps/fsutils/flash_eraseall) (2016-06-03).
  11640. * arch/arm/src/stm32: STM32 Timer Driver: Change calculation of per-
  11641. timer pre-scaler value. Add support for all timers (2016-6-03)
  11642. * drivers/lcd: Correct conditional compilation in ST7565 driver. From
  11643. Pierre-noel Bouteville (2016-6-03)
  11644. * arch/arm/src/stm32: Correct conditional compilation in STM32 timer
  11645. capture logic. From Pierre-noel Bouteville (2016-6-03)
  11646. * arch/arm/src/efm32: Fix EFM32 FLASH conditional compilation. From
  11647. Pierre-noel Bouteville (2016-6-03)
  11648. * arch/arm/src/lpc43xx: Fix errors in GPIO interrupt logic. From v01d
  11649. (phreakuencies) (2016-06-04)
  11650. * arch/arm/src/kl and lpc11xx: rename xyz_lowputc to up_putc. Remove
  11651. all references to up_lowputc, everywhere (2016-06-04).
  11652. * configs/stm32f103-minimum: Add minnsh configuration. From Alan
  11653. Carvalho de Assis (2016-06-04).
  11654. * arch/arm/src/stm32: Add the up_getc() function to STM32 in order to
  11655. support the minnsh configuration. From Alan Carvalho de Assis
  11656. (2016-06-04).
  11657. * include/sys/boardctl.h: Needs to be usable with C++ files (2016-06-05).
  11658. * tools/tesbuild.sh will now build NxWM configurations (2016-06-05).
  11659. * arch/arm/src/stm32: In PWM driver, just update duty if frequency is
  11660. not changed and PSM started. This removeis glitch or blinking when
  11661. only duty is frequently changed. From Pierre-noel Bouteville (2016-06-05).
  11662. * arch/arm/src/kinetis: Add a USB device controller driver. Derived from
  11663. the pic32mx usb driver, which uses the same usb controller. From kfazz
  11664. (2016-06).
  11665. * configs/teensy-3.x: Add USB support and a usbnsh configuration. From
  11666. kfazz (2016-06).
  11667. * arch/arm/src/stm32: Add support for the STM32F105R. From Konstantin
  11668. Berezenko (2016-06-06).
  11669. * include/signal.h: Change type of SIG_ERR, SIG_IGN, ... to
  11670. _sa_handler_t. The type void does not work with the IAR toolchain.
  11671. From Aleksandr Vyhovanec (2016-06-07).
  11672. * configs/nucleo-144: Refactored configs/nucleo-144 sub-directories to
  11673. support additional nucleo-144 board. Add support for the Nucleo-F767ZI
  11674. board. From David Sidrane (2016-06-07).
  11675. * arch/arm/src/stm32f7 and include/stm32f7: Added STM32F76xxx and
  11676. STM32F77xx families. From David Sidrane (2016-06-08).
  11677. * Refactoring configs/nucleo-144 sub-directories to support additional
  11678. nucleo-144 board. Add support for the Nucleo-F767ZI board. From David
  11679. Sidrane (2016-06-08).
  11680. * include/assert.h: Check if NDEBUG is defined. From Paul Alexander
  11681. Patience (2016-06-08).
  11682. * arch/arm/src/stm32: Fix STM32 DMA code and configuration for STM32F37X
  11683. chips. From Marten Svanfeldt (2016-06-08).
  11684. * drivers/mtd: Add a driver of IS25xP SPI flash devices. From Marten
  11685. Svanfeldt (2016-06-09).
  11686. * arch/arm/src/Kconfig and configs/teensy-3.x: Teensy clock fixes. The
  11687. High Gain bit in MCG_C1 was preventing teensy from booting except
  11688. after a programming session. The second change doesn't appear to
  11689. change any functionality, but complies with restrictions in the k20
  11690. family reference manual on FEI -> FBE clock transiions. From kfazz
  11691. (2016-06-09).
  11692. * configs/*/include/board.h: Fix timer input clock definitions. From
  11693. David Sidrane (2016-06-09).
  11694. * Networking: In both IPv6 and IPv4 incoming logic: (1) Should check
  11695. if the packet size is large enough before trying to access the packet
  11696. length in the IP header. (2) In the comparison between the IP length
  11697. and the full packet length, need to subtract the size of the link
  11698. layer header before making the comparison or we will get false
  11699. positives (i.e., the packet is really too small) (2016-06-09)
  11700. * configs/: All configurations that have both CONFIG_NSH_LIBRARY=y and
  11701. CONFIG_NET=y must now also have CONFIG_NSH_NETINIT=y (2016-06-09).
  11702. * arch/arm/src/kinetis: Kinetis pwm support, based on kl_pwm driver.
  11703. From kfazz (2016-06-09).
  11704. * arch/srm/src/stm32: Fix compilation errors in debug mode of
  11705. stm32_pwm.c. From Konstantin Berezenko (2016-06-09).
  11706. * arch/arm/src/kinetis: Support up to 8 channels per timer. From kfazz
  11707. (2016-06-09).
  11708. * lib/: crc16: Fix error. From Paul Alexander Patience (2016-06-10).
  11709. * lib/: Add crc64 support. From Paul Alexander Patience (2016-06-10).
  11710. * arch/arm/src/kinetis: Added kl_dumpgpio functionality as
  11711. kinetis_pindump. From kfazz (2016-06-10).
  11712. * arch/arm/src/sam34: Fix some errors in AFEC header file. From
  11713. OrbitalFox (2016-06-10).
  11714. * arch/arm/include/stm32: Correct the can2 rx irq number for stm32f10xx
  11715. chips. From Konstantin Berezenko (2016-06-10).
  11716. * drivers/include/input: Button upper half driver: Add definitions
  11717. needed for compilation with the poll() interface is not disabled
  11718. (2016-06-11).
  11719. * Kconfig/, include/debug.h, and many other files: (1) Debug features
  11720. are now enabled separately from debug output. CONFIG_DEBUG is gone.
  11721. It is replaced with CONFIG_DEBUG_FEATURES. (2) The macros dbg() and
  11722. vdbg() have renamed as err() and info(), respectively. This also
  11723. applies to all of the variants as well, lldbg(), llvdbg(), XXdbg(),
  11724. XXvdbg(), XXlldbg(), and XXllvdbg(). (3) Add a new debug level,
  11725. warn() (and all variants vwarn(), llwarn(), etc.). (4) Debug
  11726. assertions can now be enabled separately from debug output. (5) You
  11727. can now enable subsystem/device driver debug output at different
  11728. output levels. For example, CONFIG_DEBUG_FS no longer enables file
  11729. system debug output. It enables general file system debug logic and
  11730. enables selection of CONFIG_DEBUG_FS_ERROR, CONFIG_DEBUG_FS_WARN,
  11731. and CONFIG_DEBUG_FS_INFO (2016-06-12).
  11732. * strtoul() and strtoull(): Fix errno settings required by function
  11733. definition. Resolved Bitbucket Issue #1. From Sebastien Lorquet
  11734. (2016-06-13)
  11735. * arch/arm/src/stm32f7: Add SPI driver. DMA not yet supported. From
  11736. David Sidrane (2016-06-14).
  11737. * configs/nucleo-144: Add test for STM32 F7 SPI. From David Sidrane
  11738. (2016-06-14).
  11739. * alert(): New debug macro: alert(). This is high priority,
  11740. unconditional output and is used to simplify and stanardize crash
  11741. error reporting(2016-06-14).
  11742. * arch/arm/src/tiva: Bug Fix in tiva_serial.c - UART5, UART6 and UART7
  11743. were not being configured as TTYS0 for printing over serial console.
  11744. From Shirshak Sengupta (2016-06-14).
  11745. * SAMV7: SPI: SPI-Freq. 40MHz; VARSELECT; hw-features
  11746. This change adds the following improvements:
  11747. - Increase the allowed SPI-Frequency from 20 to 40 MHz.
  11748. - Correct and rename the "VARSELECT" option
  11749. This option was included in the code as "CONFIG_SPI_VARSELECT" but
  11750. nowhere defined in a Kconfig file. The change renames it to
  11751. "CONFIG_SAMV7_SPI_VARSELECT" and corrects the implementation
  11752. according the datasheet of Atmel. In short, this option switches
  11753. the processor from "fixed peripheral selection" (single device) to
  11754. "variable peripheral selection" (multiple devices on the bus).
  11755. - Add a new Function to the interface to control the timing and delays
  11756. of the chip according the ChipSelect lines. This function can
  11757. control the delay between the assertion of the ChipSelect and the
  11758. first bit, between the last bit and the de-assertion of the
  11759. ChipSelect and between two ChipSelects. This is needed to tune the
  11760. transfer according the specification of the connected devices.
  11761. - Add three "hw-features" for the SAMV7, which controls the behavior
  11762. of the ChipSelect:
  11763. - force CS inactive after transfer: this forces a (short)
  11764. de-assertion of the CS after a transfer, even if more data is
  11765. available in time
  11766. - force CS active after transfer: this forces the CS to stay active
  11767. after a transfer, even if the chip runs out of data.
  11768. Btw.: this is a prerequisit to make the LASTXFER bit working at all.
  11769. - escape LASTXFER: this suppresses the LASTXFER bit at the end of the
  11770. next transfer. The "escape"-Flag is reset automatically.
  11771. From Frank Benkert (2016-06-14)
  11772. * Many CONFIG_DEBUG_* options did not have matching macros defined in
  11773. include/debug.h. Rather, there were various definitions scattered
  11774. throughout the sourse tree. These were collected together and
  11775. centralized with single macro definitions in include/debug.h
  11776. (2016-06-15)
  11777. * STM32F7: Add SPI, I2C, and ADC drivers. From Lok Tep (2016-06-15).
  11778. * err(), warn(), info(), and alert() renamed to include leading '_'.
  11779. This was done to avoid some naming collisions (2-06-16
  11780. * STM32: Move backup domain reset to to earlier in the initialization
  11781. sequence (stm32_rcc.c() in order to avoid disabling LSE during RTC
  11782. initialiation. From Alan Carvalho de Assis (2016-06-16).
  11783. * SYSLOG: syslog() will now automatically redirect output to lowsyslog()
  11784. if called from an interrupt handler (2016-06-16).
  11785. * STM32: When configuring a GPIO via stm32_configgpio() the function
  11786. will first set the mode to output and then set the initial state of
  11787. the gpio later on. If you have an application with an externaly
  11788. pulled-up pin, this would lead to a glitch on the line that may be
  11789. dangerous in some applications (e.G. Reset Line for other chips,
  11790. etc). This changes sets the output state before configuring the pin
  11791. as an output. From Pascal Speck (2016-06-17).
  11792. * STM32 F7: Apply Pascal Speck's GPIO STM32 change to STM32 L4
  11793. (2016-06-17).
  11794. * STM32 L4: Apply Pascal Speck's GPIO STM32 change to STM32 L4.
  11795. From Sebastien Lorquet (2016-06-17).
  11796. * Review all uses of *err(). These macro family should indicate only
  11797. error conditions. Convert *err() to either *info() or add ERROR:,
  11798. depending on if an error is reported (2016-06-17).
  11799. * STM32F7: Review, correct, and update I2C, SPI, and ADC drivers. From
  11800. David Sidrane (2016-06-17).
  11801. * LPC17 Ethernet: Needs to correctly ignore PHYID2 revision number
  11802. when comparing PHY IDs (2016-06-18).
  11803. * SYSLOG: Consolidate all SYSLOG logic in drivers/syslog. Add an
  11804. abstraction layer that supports: (1) redirection of SYSLOG outpout.
  11805. This is usually so that you can boot with one SYSLOG output but
  11806. transition to another SYSLOG output when the OS has initialialized,
  11807. (2) adds common serialization of interrupt output as a configuration
  11808. option. Without this configuration setting, interrupt level output
  11809. will be asynchronous. And (3) vsyslog is now a system call and is
  11810. usable with other-than-FLAT builds (2016-06-19).
  11811. * TCP Networking: While working with version 7.10 I discovered a
  11812. problem in TCP stack that could be observed on high network load.
  11813. Generally speaking, the problem is that RST flag is set in
  11814. unnecessary case, in which between loss of some TCP packet and its
  11815. proper retransmission, another packets had been successfully sent.
  11816. The scenario is as follows: NuttX did not receive ACK for some
  11817. sent packet, so it has been probably lost somewhere. But before
  11818. its retransmission starts, NuttX is correctly issuing next TCP
  11819. packets, with sequence numbers increasing properly. When the
  11820. retransmission of previously lost packet finally succeeds, tcp_input
  11821. receives the accumulated ACK value, which acknowledges also the
  11822. packets sent in the meantime (i.e. between unsuccessful sending of
  11823. lost packet and its proper retransmission). However, variable unackseq
  11824. is still set to conn->isn + conn->sent, which is truth only if no
  11825. further packets transmission occurred in the meantime. Because of
  11826. incorrect (in such specific case) unackseq value, few lines further
  11827. condition if (ackseq <= unackseq)is not met, and, as a result, we
  11828. are going to reset label. From Jakub �ągwa (2016-06-20).
  11829. * SYSLOG: Remove lowsyslog(), vlowsyslog(), and associated macros
  11830. *llinfo(), *llwarn(), and llerr(). In the redesigned syslog() logic,
  11831. these serve no purpose (2016-06-20).
  11832. * Make system: Need to build the drivers/ directory even it file
  11833. descriptors are not supported. There are things in the drivers/
  11834. directory that are still needed (like SYSLOG logic) (2016-06-20).
  11835. * assert.h: Define static assert for C++ usage. From Paul Alexander
  11836. Patience (2016-06-21).
  11837. * arch/arm/src/stm32l4: Add ioctls to set/get bit timing in stm32l4.
  11838. Add ioctl hooks to allow future management of can id filters. From
  11839. Sebastien Lorquet (2016-06-21).
  11840. * drivers/can.c: Add support for poll. From Paul Alexander Patience
  11841. (2016-06-21).
  11842. * drivers/syslog: Extend SYSLOG logic so that we can send SYSLOG output
  11843. to a file. Not verified on initial commit (2016-06-21).
  11844. * arch/arm/src/stm32l4: Add some CAN mode IOCTL calls. These will be
  11845. useful for device autotest when the application boots. They are
  11846. redundant with the CONFIG_CAN_LOOPBACK option, which can now just be
  11847. interpreted as a default setting. From Sebastien Lorquet (2016-06-22).
  11848. * drivers/syslog: syslog_dev_flush() needs to check if the inode is a
  11849. mountpoint before calling the flush() method. Noted by David Sidrane
  11850. (2016-06-22).
  11851. * arch/arm/src/stm32f7: Adds SDMMC1 for stm32F7 74-75. From Lok Tep
  11852. (2016-06-22).
  11853. * drivers/syslog: SYSLOG character device channel will now expand LF to
  11854. CR-LF. Controllable with a configuration option (2016-06-22).
  11855. * arch/arm/src/stm32l4: Implementation of loopback IOCTLs. From
  11856. Sebastien Lorquet (2016-06-22).
  11857. * Documentation: Add SYSLOG documentation to the porting guide
  11858. (2016-06-22).
  11859. * configs/stm32f746g-disco: Removed knsh configuration it failed to
  11860. refresh (via tools/refresh.sh). I assume that it is a hand-edited
  11861. configuration and, hence, must be removed from the repository
  11862. (2016-06-23).
  11863. * arch/arm/arc/sam34: DAC bugfix: DACC_WPMR_WPKEY_MASK -> DACC_WPMR_WPKEY.
  11864. Timer bugfix: Fix ops check in TCIOC_STOP. From Wolfgang Reissnegge
  11865. (2016-06-23).
  11866. * configs/nucleo-144: Added SDMMC support to Nucleo-144. From David
  11867. Sidrane (2016-06-23).
  11868. * arch/arm/src/stm32: Port STM32L4 CAN IOCTLs to STM32. From Sebastien
  11869. Lorquet (2016-06-24).
  11870. * drivers/ioexpander: Add support for a very simple GPIO driver. It
  11871. supports only pre-conrigured input and output pins and only basic
  11872. input and output operations (2016-06-24).
  11873. * arch/arm/src/lpc43xx: Correct auto-negotiation mode in the LPC43xx
  11874. Ethernet. From Alexander Vasiljev (2016-06-24)
  11875. * arch/arm/src/samv7: TWIHS Driver improved and GPIO-Driver fixed for
  11876. Open-Drain Pins
  11877. - sam_gpioread: Now the actual line level from the pin is read back.
  11878. This is extremely important for Open-Drain Pins, which can be used
  11879. bidirectionally
  11880. - Re-Implemented twi_reset-function and enhanced it so it can be
  11881. called from inside the driver (see next point)
  11882. - Glitch-Filter: Added a configuration option to enable the twi-built-
  11883. in glitch filter
  11884. - Added a "Single Master Mode": In EMC Testing the TWI-Bus got stuck
  11885. because the TWI-Master detected a Multi-Master access (but there is
  11886. no second master). With the option "Single Master" we detect these
  11887. events and automatically trigger a twi_reset. We also do an
  11888. automatic recovery if a slave got stuck (SDA stays low).
  11889. With the above changes I²C-Bus reliability in harsh environments (eg.
  11890. EMC) is greatly improved. The small change in the GPIO-Driver was
  11891. necessary because otherwise you cannot read back the correct line
  11892. status of Open-Drain Outputs and this is needed by the twi_reset
  11893. function. From Michael Spahlinger (2016-06-24)
  11894. * arch/arm/src/stm32f7: BUGFIX:PLLs IS2 and SAI P Calculation. From
  11895. David Sidrane (2016-06-24).
  11896. * arch/arm/src/stm32f7: USB support. From Lok Tep (2016-06-27).
  11897. * configs/olimex-stm32-e407: Add support for Olimex STM32 E407
  11898. board. From Mateusz Szafoni (2016-06-27).
  11899. * drivers/ioexpander: Shadow-Mode: The output- and configuration
  11900. registers of the IO-Expander are held in the microcontrollers memory
  11901. and only written to the IO-Expander. This reduces bus traffic and
  11902. is more error-proof than the normal read-modify-write operation. Retry
  11903. Mode: If enabled and an error occurs while writing to the IO-Expander
  11904. the current transmission is automatically repeated once. From Michael
  11905. Spahlinger (2016-06-27).
  11906. * libc/hex2bin: Move the portable library portion of apps/system/hex2bin
  11907. to nuttx/libc/hex2bin where it can be shared with the OS internals
  11908. (2016-06-27).
  11909. * configs/nucleo-144: Added USB OTG device to Nucleo-144. From David
  11910. Sidrane (2016-06-27).
  11911. * arch/arm/src/stm32l4: STM32 CAN fixes need to be backported to
  11912. STM32L4 as well (2016-06-27).
  11913. * ARM stack check: Fix double fault on IDLE task with stack size = 0.
  11914. From David Sidrane (2016-06-27).
  11915. * configs/nucleo-144: Added bbsram test to Nucleo-144. From David
  11916. Sidrane (2016-06-27).
  11917. * arch/arm/src/stm32f7: Added PWR, RTC, and BBSRAM support for stm32f7.
  11918. From David Sidrane (2016-06-27).
  11919. * Build system: Fixed build of SAMV71-XULT/nsh. With the changes from
  11920. 26f7b8c the build process of the default configuration did not succeed
  11921. anymore. From Michael Spahlinger (2016-06-28).
  11922. * sched/semaphore: Need to set errno to EINVAL on errors in sem_post()
  11923. and sem_wait(). From Paul Alexander Patience (2016-06-28).
  11924. * Build system: This change fixes a build problem that only occurs when
  11925. reconfiguring from Linux to Windows or vice-versa. It is a problem
  11926. that was present but not usually experienced until two things happened:
  11927. (1) The pre_config target was added to run before the menconfig
  11928. operation and (2) the context target was added before the pre_config
  11929. target in order to set up the correct symbolic links (in the apps/platform
  11930. directory) needed by the pre_config target.
  11931. But then now if you start with a Linux system and run 'make menuconfig'
  11932. to switch to Linux, the context target will execute first and set up
  11933. POSIX style symbolic links before doing the menuconfig. Then after the
  11934. menuconfig, the make will fail on Windows if you are using a Windows
  11935. native toolchain because that native toolchain cannot follow the Cygwin-
  11936. style symbolic links.
  11937. The fix here is to also execute the clean_context AFTER executing
  11938. menuconfig. A lot more happens now: It used to be that doing 'make
  11939. menuconfig' only did the menuconfig operation. Now it does context,
  11940. pre_config, menuconfig, clean_context. Not nearly as snappy as it used
  11941. to be (2016-06-28).
  11942. * arch/arm/src/efm32, lcp43, stm32, stm32l4: disable interrupts with
  11943. NVIC_IRQ_CLEAR. From Paul Alexander Patience (2016-06-28).
  11944. * arch/arm/src/stm32f7: STMF7xxx RTC: (1) Remove proxy #defines, (2)
  11945. Ensure the LSE(ON) etal are set and remembered in a) A cold start
  11946. (RTC_MAGIC invalid) of the RTC, and b) A warm start (RTC_MAGIC valid)
  11947. of the RTC but a clock change. The change was needed because in bench
  11948. testing a merge of the latest's STM32 53ec3ca (and friends) it became
  11949. apparent that the sequence of operation is wrong in the reset of the
  11950. Backup Domain in the RCC code. PWR is required before the Backup
  11951. Domain can be futzed with. !!!This Code should be tested on STM32 and
  11952. if needed rippled to the STM32 families. From David Sidrane
  11953. (2016-06-28).
  11954. * arch/arm/src/stm32f7: Added STMF7xxx RTC. From David Sidrane
  11955. (2016-06-28).
  11956. * arch/arm/src/stm32: STM32 BBSRAM fixed (and formatted) flags. From
  11957. David Sidrane (2016-06-28).
  11958. * arch/arm/src/stm32f7: STM32F7 BBSRAM fixed (and formatted) flags.
  11959. From David Sidrane (2016-06-28).
  11960. * arch/arm/src/stm32f7: Added STM32F7 DBGMCU. From David Sidrane
  11961. (2016-06-28).
  11962. * arch/arm/src/samv7: SAMV7: CAN Message Filtering fixed: (1) stdfilters
  11963. didn't work because the filter was never enabled (wrong number of bits
  11964. to shift), and (2) Filters were never used because the configuration
  11965. register cannot be written without using the initialization mode.
  11966. Both bugs are fixed by this change. Filtering has been tested with
  11967. both standard and extended identifiers and is now working properly.
  11968. From Michael Spahlinger (2016-06-29).
  11969. * configs/Kconfig and dummy/: Add logic to support custom board
  11970. directories that include a Kconfig file. During the context phase
  11971. of the build, any Kconfig file in the custom board directory is copied
  11972. into configs/dummy, replacing the existing Kconfig file with the
  11973. target Kconfig file (2016-06-29).
  11974. * arch/arm/src/stm32l4: Port support for both RX FIFOs from STM32 CAN.
  11975. From Paul Alexander Patience (2016-06-29).
  11976. * Remove all inclusion of header files from the apps/include directory.
  11977. This caused a lot of reshuffling of logic: binfmt pcode support,
  11978. usbmonitor is now a kernel thread, TZ/Olson database moved to
  11979. libc/zoneinfo (2016-06-29).
  11980. * drivers/mtd: Several MTD FLASH drivers nullify the freed 'priv'
  11981. structure and failed to return NULL as stated in the comments.
  11982. Result, will operate on a NULL pointer later. Noted by David Sidrane
  11983. (2016-06-30).
  11984. * arch/arm/src/kinetis: Add basic support for the K64 family. I
  11985. leveraged the changes from https://github.com/jmacintyre/nuttx-k64f
  11986. and merged into the existing kinetis code with a lot of changes and
  11987. additions (like pin multiplexing definitions). (2016-07-01).
  11988. * configs/freedom-k64f: Add support for the NXP Freedom-K64F board.
  11989. This is primarily the work of Jordan Macintyre. I leveraged this
  11990. code from https://github.com/jmacintyre/nuttx-k64f but with
  11991. significant corrections (LEDs, buttons, README, etc) and extensions
  11992. and updates to match more recent BSPs (2016-07-01).
  11993. * libc/signal: Add raise() (2016-07-04).
  11994. * drivers/syslog: Add a SYSLOG character device that can be used to re-
  11995. direct output to the SYSLOG (2016-07-05).
  11996. * net/netdev: Break out internal interface psock_ioctl() (2016-07-06).
  11997. * configs/stm32f4disovery: Add can driver for stm32f4discovery. From
  11998. Matthias Renner (2016-07-06).
  11999. * configs/freedom-k64f: Increase MCU clock to 120MHz (2016-07-06).
  12000. * arch/arm/src/stm32: Add support for Tickless mode (two timer
  12001. implementation). From Max Neklyudov (2016-07-06).
  12002. * drivers/usbdev: cdcacm_unbind leaks write request objects. This
  12003. arises due to freeing the bulk IN endpoint before the loop that
  12004. frees the requests via cdcasm_freereq. That function checks the
  12005. parameters and skips the freeing if either is NULL. Freeing the bulk
  12006. IN enpoint will cause the first param to be NULL, thereby bypassing
  12007. the free operation. To fix, I moved the release of the bulk IN
  12008. endpoint until after to loop (much as was the case for the OUT and
  12009. read requests, which did not exhibit the problem). From ziggurat29
  12010. (2016-07-07).
  12011. * arch/arm/src/stm32l4: Update usb dev/host controller drivers to
  12012. reflect new(ish) logging standards; augment device enpoint and fifo
  12013. allocation #defines to do more sanity checking, and be automatically
  12014. adaptive to size changes. Update README.txt to reflect current status
  12015. of the implementation. From ziggurat29 (2016-07-07).
  12016. * arch/arm/src/stm32f7: Fixed STM32F7 DMA stm32_dmacapable. DMA working
  12017. on SDMMC. From David Sidrane (2016-07-07).
  12018. * configs/stm32f4discovery: add configuration files for canard. From
  12019. Matthias Renner (2016-07-08).
  12020. * drivers/pipe: Add missing configuration for pipe ring buffer size.
  12021. From Frank Benkert (2016-07-08).
  12022. * STM32L4: Fix incorrect clock setup for LPTIM1. From ziggurat29
  12023. (2016-07-08).
  12024. * nucleo-l476rg and stm32lf76vg-disco: Define timer clock frequencies on
  12025. STM32L4-based boards. From ziggurat29 (2016-07-08).
  12026. * STM32L4: Add support for tickless OS, and incidentally timers, pwm,
  12027. oneshot, free-running.... From ziggurat29 (2016-07-08).
  12028. * SAM3/4 I2C: Fix reversed logic in twi_startmessage(). From Wolfgang
  12029. Reissnegger (2016-07-09).
  12030. * VFS ioctl(). Per comments from David Sidrane, file_ioctl() should not
  12031. return succeed if the ioctl method is not supported. It probably
  12032. should return ENOTTY in that case (2016-07-09).
  12033. * libm: This change should significantly improve the performance of
  12034. single precision floating point math library functions. The vast
  12035. majority of changes have to do with preventing the compiler from
  12036. needlessly promoting floats to doubles, performing the calculation
  12037. with doubles, only to demote the result to float. These changes only
  12038. affect the math lib functions that return float. From David Alessio
  12039. (2016-07-11).
  12040. * STM32F4 Discovery: Add FPU support for ostest for the STM32F4Discovery
  12041. platform. From David Alessio (2016-07-11).
  12042. * Build system: Remove the includes/apps link to apps/include. It is
  12043. no longer used. From Sebastien Lorquet (2016-07-11).
  12044. * printf(): If there are no streams, let printf() fall back to use
  12045. syslog() for output (2016-07-11).
  12046. * Qemu-i486: Fix qemu-i486/ostest/Make.defs test for M32. From Heath
  12047. Petersen (2016-07-12).
  12048. * UART 16550: Handle when CONFIG_SERIAL_UART_ARCH_IOCTL is not enabled.
  12049. From Heath Petersen (2016-07-12).
  12050. * Kinetis Ethernet: Add support for the KSZ8081 PHY (2016-07-12).
  12051. * SST26 Driver: Before accessing the sst26 flash, the "Global Unlock"
  12052. command must me executed, which I do in the sst26 driver. BUT re-
  12053. reading the datasheet, the WREN instruction is required to enable the
  12054. execution of this command. This was not done. I have no idea how the
  12055. driver currently works except by chance. The writes should never
  12056. happen at all, the flash is half-enabled! From Sebastien Lorquet
  12057. (2016-07-12).
  12058. * Freedom K64F: Add a networking NSH configuration. (2016-07-12).
  12059. * N25Qxx Driver: Alter the notion of 'blocksize' to be equivalent to
  12060. 'flash write page size' in order to align with assumptions in the
  12061. smartfs driver (at least, maybe other things do as well). Correct a
  12062. bug that was previously masked by having blocksize=eraseblocksize
  12063. which would cause buffer overflows and delicious hardfaults. Trivial
  12064. spelling changes in comments, etc. From ziggurat29 (2016-07-12).
  12065. * STM32L476 Discovery: Update stm32l476 disco to include init code for
  12066. smartfs and nxffs for cases where those fs are included in build.
  12067. From ziggurat29 (2016-07-12).
  12068. * Kinetis Ethernet and Freedom-K64F: Freedcom-K64F PHY address was
  12069. wrong. Modified Ethernet driver to try all PHY addresses and then
  12070. only fail if the driver cannot find a usable PHY address. MDIO pin
  12071. must have an internal pull-up on the Freedom-K64F (2016-07-12).
  12072. * Kinetis Ethernet: Add support for CONFIG_NET_NOINTS (2016-07-12).
  12073. * SmartFS: Fix a 32-byte memory leak. From Ken Pettit (2016-07-12).
  12074. * Freedom-K64F: SDHC is now enabled in the nsh configuration (but does
  12075. not work)Add hooks for automounter; Change NSH configuration to use
  12076. Windows (2016-07-13).
  12077. * SAMV7 USBHS Device: This change solves a problem which causes data
  12078. loss while sending data via USB. This problem is caused by an incorrect
  12079. handling of the endpoint state in the USB driver sam_usbdevhs. This
  12080. leads under some circumstances to situations in which an DMA transfer
  12081. is setup while a previous DMA transfer is currently active. Amongst
  12082. other things I introduced the new endpoint state USBHS_EPSTATE_SENDING_DMA
  12083. for the fix. To reproduce the problem, I used a program which send as
  12084. many data as possible via a CDC/ACM device and verified the received
  12085. data on the PC. From Stefan Kolb (2016-07-13).
  12086. * STM32: Fix bug in oneshot timer. From Max Neklyudov (2016-07-13).
  12087. * STM32L4: Port foward bugfix from stm32 of oneshot timer. From
  12088. ziggurat29 (2016-07-13).
  12089. * STM32 and EFM32: I'm using syslog through ITM. In this case
  12090. syslog_channel function is call before RAM initialization in
  12091. stm32_clockconfig. But syslog channel uses a global variable that is
  12092. reset to default by the RAM initialization. From Pierre-noel
  12093. Bouteville (2016-07-14).
  12094. * LPC43xx SPIFI: If CONFIG_SPIFI_SECTOR512 undefined, lpc43_bwrite
  12095. doesn't do actual write (probably copy/paste errors). Still not sure
  12096. about current state of lpc43_spifi implementation, but for me NXFFS
  12097. works with this patch. From Vytautas Lukenskas (2016-07-14).
  12098. * SMART MTD layer: Fixes freesector logic error when sectorsPerBlk=256,
  12099. adds DEBUGASSERT for invalid geometry and additional memory debug
  12100. logic. Also fixes the dangling pointer on error bug. From Ken
  12101. Pettit (2016-07-14).
  12102. * arch/arm/src/lpc43xx: Extend LPC43xx EMC code to support SDRAM on a
  12103. dynamic memory interface. From Vytautas Lukenskas (2016-07-19).
  12104. * arch/sim/src: Add the simulated QSPI (N25Q) flash to the simulation
  12105. and modify sim up_spiflash.c to enable it to run with different MTD
  12106. drivers based on config options (currently m25p, sst26 and w25).
  12107. From Ken Pettit (2016-07-19).
  12108. * drivers/pipe: Add support to allocating different sizes for pipe and
  12109. fifo buffers. Adds mkfifo2() and pipe2() which are just like mkfifo()
  12110. and pipe(), but allow control of the size of the underlying, in-memory
  12111. circular buffer . Move pipe() and mkpipe() to nuttx/libc, they are no
  12112. longer core OS interfaces. Capability currenty used only by PTY logic
  12113. to support, configurable, smaller buffers for PTYs (2016-07-19).
  12114. * include/nuttx/drivers: Move driver-related files from include/nuttx
  12115. to include/nuttx/drivers. Move driver related prototypes out of
  12116. include/nuttx/fs/fs.h and into new include/drivers/drivers.h
  12117. (2016-07-20).
  12118. * include /nuttx/lib: Move library-related files from include/nuttx to
  12119. include/nuttx/lib (2016-07-21).
  12120. * drivers/serial/serial.c: Fix a race condition noted by Stefan Kolb.
  12121. Between the test if the TX buffer is full and entering a critical
  12122. section, bytes may be removed from the TX buffer making the wait
  12123. unnecessary. The unnecessary wait is an inefficiency, but not really
  12124. a problem. But with USB CDC/ACM it can be a problem because the
  12125. entire TX buffer may be emptied when we lose the race. If that
  12126. happens that uart_putxmitchar() can hang waiting for data to be
  12127. removed from an empty TX buffer (2016-07-22).
  12128. * arch/arm/src/stm32 and stm32l4: STM32 F4/L4 RTC ALARM: were enabling
  12129. interrupts too early in the power-up sequence, BEFORE the interrupt
  12130. system was being initialized (2016-07-23).
  12131. * drivers/ioexpander: GPIO driver: Add support for receiving signals
  12132. from interrupt pins (2016-07-23).
  12133. * drivers/usbdev: USBMSC: Add locks when removing request from queue.
  12134. From Wolfgang Reissnegger (2016-07-23).
  12135. * drivers/usbdev: USBMSC: Fix reversed logic on waiting for SCSI thread
  12136. start. The scsi thread was waiting for the wrong condition. However,
  12137. this was masked by the fact that the code creating the scsi thread was
  12138. also holding usbmsc_scsi_lock(priv) while initializing data, hence
  12139. this lock synchronized the scsi thread start with init completion.
  12140. From Wolfgang Reissnegger (2016-07-23).
  12141. * arch/arm/src/sam34: SAM3/4 UDP: Fix handling of endpoint RX FIFO
  12142. banks. This fixes a race condition where the HW fills a FIFO bank
  12143. while the SW is busy, resulting in out of sequence USB packets
  12144. (2016-07-23).
  12145. * Freedom-K64F: Add PWM support. From Jordan MacIntyre (2016-07-25).
  12146. 7.18 2016-10-08 Gregory Nutt <gnutt@nuttx.org>
  12147. * drivers/serial/pty.c, serial.c, usbdev/cdcacm.c, include/nuttx/fs/ioctl.h:
  12148. Fix FIONWRITE and add FIONSPACE. All implementations of FIONWRITE
  12149. were wrong. FIONWRITE should return the number of bytes waiting in
  12150. the outgoing send queue, not the free space. Rather, FIONSPACE should
  12151. return the free space in the send queue (2016-07-25).
  12152. * lib_dumpbuffer: Now prints a large on-stack buffer first to avoid
  12153. problems when the syslog output is prefixed with time. From Pierre-
  12154. noel Bouteville (2016-07-27).
  12155. * sched/clock and sched/sched: Add standard adjtime() interface and
  12156. basic timekeeping support. Normally used with an NTP client to keep
  12157. system time in synchronizationi. From Max Neklyudov (Merged on
  12158. 20160-07-28).
  12159. * arch/arm/src/stm32: Add timekeeping support for the STM32 tickless
  12160. mode. From Max Neklyudov (Merged on 20160-07-28).
  12161. * Top-Level Makefiles. Fix a chicken-and-egg problem. In the menuconfig
  12162. target, the context dependency was executed before kconfig-mconf.
  12163. That was necessary because the link at apps/platform/board needed to
  12164. be set up before creating the apps/Kconfig file. Otherwise, the
  12165. platform Kconfig files would not be included. But this introduces
  12166. the chicken-and-egg problem in some configurations.
  12167. In particular: (1) An NX graphics configuration is used that requires
  12168. auto-generation of source files using cpp, (2) the configuration is
  12169. set for Linux, but (3) we are running under Cygwin with (4) a Windows
  12170. native toolchain. In this case, POSIX-style symbolic links are set
  12171. up but the Windows native toolchain cannot follow them.
  12172. The reason we are running 'make menuconfig' is to change from Linux
  12173. to Cygwin, but the target fails. During the context phase, NX runs
  12174. CPP to generate source files but that fails because the Windows native
  12175. toolchain cannot follow the links. Checkmate.
  12176. This was fixed by changing all of the make menuconfig (and related)
  12177. targets. They no longer depend on context being run. Instead, they
  12178. depend only on the dirlinks target. The dirlinks target only sets
  12179. up the directory links but does not try to run all of the context
  12180. setup; the compiler is never invoked; no code is autogeneraed; and
  12181. things work (2016-07-28).
  12182. * tools/refresh.sh: Recent complexities added to apps/ means that
  12183. configuration needs correct Make.defs file in place in order to
  12184. configure properly (2016-07-28).
  12185. * tools/kconfig2html.c: Update to handle absolute paths when sourcing
  12186. Kconfig files (2016-07-29).
  12187. * libc/math: This fixes the following libc/math issues: (1) asin[f l]()
  12188. use Newton’s method to converge on a solution. But Newton’s method
  12189. converges very slowly (> 500,000 iterations) for values of x close
  12190. to 1.0; and, in the case of asinl(), sometimes fails to converge
  12191. (loops forever). The attached patch uses an trig identity for
  12192. values of x > sqrt(2). The resultant functions converge in no more
  12193. than 5 iterations, 6 for asinl(). (2) The NuttX erf[f l]() functions
  12194. are based on Chebyshev fitting to a good guess. The problem there’s a
  12195. bug in the implementation that causes the functions to blow up with x
  12196. near -3.0. This patch fixes that problem. It should be noted that
  12197. this method returns the error function erf(x) with fractional error
  12198. less than 1.2E-07 and that’s fine for the float version erff(), but
  12199. the same method is used for double and long double version which
  12200. will yield only slightly better precision. This patch doesn't address
  12201. the issue of lower precision for erf() and erfl(). (3) a faster
  12202. version of copysignf() for floats is included. From David S. Alessio
  12203. (2016-07-30).
  12204. * I/O Expander: Remove hard-coded PCA9555 fields from ioexpander.h
  12205. definitons. Add support for an attach() method that may be used when
  12206. any subset of pin interrupts occur (2016-07-31).
  12207. * PCA9555 Driver: Replace the signalling logic with a simple callback
  12208. using the new definitons of ioexpander.h. This repartitioning of
  12209. functionality is necessary because (1) the I/O expander driver is the
  12210. lower-lower part of any driver that uses GPIOs (include the GPIO
  12211. driver itself) and should not be interacting directly with the much
  12212. higher level application layer. And (2) in order to be compatible
  12213. with the GPIO driver (and any arbitrary upper half driver), the
  12214. PCA9555 should not directly signal, but should call back into the
  12215. upper half. The upper half driver that interacts directly with the
  12216. application is the appropriate place to be generating signal
  12217. (2016-07-31).
  12218. * drivers/ioexpander/skeleton.c: Add a skeleton I/O Expander driver
  12219. (based on the PCA9555 driver) (2016-07-31).
  12220. * I/O Expander Interface: Encode and extend I/O expander options to
  12221. include interrupt configuration (2016-07-31).
  12222. * drivers/ioexpander: Add an (untested) TCA64XX I/O Expander driver
  12223. leveraged from Project Ara (2016-07-31).
  12224. * I/O Expander Interface: Add argument to interrupt callback. Add a
  12225. method to detach the interrupt (2016-08-01).
  12226. * drivers/ioexpander: Add a GPIO lower-half driver that can be used to
  12227. register a GPIO character driver for accessing pins on an I/O expander
  12228. (2016-08-01).
  12229. * drivers/ioexpander: Add PCF8574 I/O Expander driver. Some cleanup
  12230. also of other expander drivers (2016-08-01).
  12231. * drivers/ioexpander: GPIO driver: Add IOCTLs to get the pin type and
  12232. to unregister a signal handler (2016-08-01).
  12233. * configs/sim: Add simulator-based test support for apps/examples/gpio
  12234. 2016-08-01).
  12235. * drivers/sensors: Add KXTJ9 Accelerometer driver from the Motorola
  12236. Moto Z MDK (2016-08-02).
  12237. * arch/arm/sim: Add a simulated I/O Expander driver (2016-08-03).
  12238. * configs/sim: Add logic to set the simulated I/O expander for testing
  12239. with apps/examples/gpio (2016-08-03).
  12240. * fs/fat: FAT performance improvement. In large files, seeking to a
  12241. position from the beginning of the file can be very time consuming.
  12242. ftell does lssek(fd, 0, SET_CURR). In that case, that is wasted time
  12243. since we are going to seek to the same position. This fix short-
  12244. circutes fat_seek() in all cases where we attempt to seek to current
  12245. position. Suggested by Nate Weibley (2016-08-03).
  12246. * tools/sethost.sh: Add sethost.sh. This is a script that you can use
  12247. to quickly change the host platform from Linux to Windows/Cygwin.
  12248. Might save you a lot of headaches (2016-08-03).
  12249. * arch/arm/src/tiva: Add tiva PWM lower-half driver implementation.
  12250. From Young (2016-08-05).
  12251. * drivers/spi/spi_transfer.c: Add a helper function that encapsulates
  12252. and manages a sequence of SPI transfers (2016-08-05).
  12253. * drivers/spi: Add an SPI character driver that will permit access to
  12254. the SPI bus for testing purposes. This driver is a simple wrapper
  12255. around spi_transfer() (2016-08-05).
  12256. * drivers/wireless: Add MFRC522 RFID ISO14443 and Mifare transceiver
  12257. driver. From Alan Carvalho de Assis (2016-08-06).
  12258. * configs/stm32f103-minimum: Add board support to MFRC522 driver. From
  12259. Alan Carvalho de Assis (2016-08-06).
  12260. * arch/renesas: Rename arch/sh to arch/renesas (2016-08-06).
  12261. * arch/arm/src/efm32, stm32, stm32l4: STM32 and EFM32 SPI drivers
  12262. adopted an incompatible conventions somewhere along the line. The
  12263. set the number of bits to negative when calling SPI_SETBITS which had
  12264. the magical side-effect of setting LSB first order of bit
  12265. transmission. This is not only a hokey way to pass control
  12266. information but is supported by no other SPI drivers. This change
  12267. three things: (1) It adds HWFEAT_LSBFIRST as a new H/W feature.
  12268. (2) It changes the implementations of SPI_SETBITS in the STM32 and
  12269. EFM32 derivers so that negated bit numbers are simply errors and it
  12270. adds the SPI_HWFEATURES method that can set the LSB bit order, and
  12271. (3) It changes all calls with negative number of bits from all
  12272. drivers: The number of bits is now always positive and SPI_HWFEATURES
  12273. is called with HWFEAT_LSBFIRST to set the bit order (2016-08-08).
  12274. * arch/arm/src/stm32: Add missing SPI2 and SPI3 support for STM32F3F3.
  12275. Add STM32F37XX DMA channel configuration. For STM32F37XX,
  12276. SYSCFG_EXTICR_PORTE defined twice. From Alan Carvalho de Assis
  12277. (2016-08-08).
  12278. * arch/arm/src/stm32: Make stm32_pwr_enablebkp thread safe. From
  12279. Max Neklyudov (2016-08-09).
  12280. * arch/arm/src/stm32: SAM3/4 GPIO: Enable peripheral clock for GPIO port
  12281. when GPIO is configured as input. The value of a GPIO input is only
  12282. sampled when the peripheral clock for the port controller the GPIO
  12283. resides in is enabled. Therefore we need to enable the clock even when
  12284. polling a GPIO. From Wolfgang Reissnegger (2016-08-09).
  12285. * arch/arm/src/tiva: Fix two bugs of tiva pwm lower-half driver
  12286. implementation. From Young (2016-08-10).
  12287. * sched/group: Explicitly initialize the group tg_exitsem with
  12288. sem_init(). The existing logic worked because the correct
  12289. initialization value is all zero, but it is better to initialize the
  12290. semaphore explicitly (2016-08-10).
  12291. * arch/arm/stm32: Fix bad pllmul values for STM32F1XX connectivity line.
  12292. STM32F1XX connectivity line supports only x4, x5, x6, x7, x8, x9 and
  12293. x6.5 values. From Michał �yszczek (2016-08-11).
  12294. * include/nuttx/timers: Add oneshot timer lower half interface
  12295. (2016-08-11).
  12296. * arch/arm/src/stm32: Add a experimental oneshot, lower-half driver for
  12297. STM32 (2016-08-11).
  12298. * arch/arm/src/samv7: Add option to support oneshot timer without free-
  12299. running timer. Add oneshot lower half driver (2016-08-11).
  12300. * arch/arm/src/sama5: Add option to support oneshot timer without free-
  12301. running timer. Add oneshot lower half driver (2016-08-11).
  12302. * arch/arm/src/sam34: SAM4CM: Add option to support oneshot timer without
  12303. free-running timer. Add oneshot lower half driver (2016-08-11).
  12304. * arch/arm/src/stm32l4: Add oneshot lower half driver (2016-08-11).
  12305. * libc/stdlib: strtod() was not returning endptr on error conditions
  12306. (2016-08-11).
  12307. * libc/math: floor(), floorf(), and floorl(): Fix logic error. Was not
  12308. correctly handling negative integral value (2016-08-11).
  12309. * configs/sim: Add a configuration useful for testing Mini Basic
  12310. (2016-08-12).
  12311. * drivers/timers: Add an upper-half, oneshot timer character driver
  12312. (2016-08-12).
  12313. * arch/sim/src: Add a simulated oneshot lowerhalf driver (2016-08-12).
  12314. * arch/arm/src/stm32: STM32F3 SPI: Fix the number of bit setting for
  12315. the F3. That and data packing work differently on the STM32F3 than
  12316. for other STM32 parts (2016-08-12).
  12317. * arch/arm/stm32 and stm32l4: Enabling SPI DMA loses other bits in CR2
  12318. (2016-08-13).
  12319. * arch/arm/src/stm32: STM32F3 SPI: Cannot write always 16-bit value to
  12320. DR register because of how the F3 implements data packing (2016-08-13).
  12321. * Kinetis: Add support for I2C and RTC. From v01d (phreakuencies)
  12322. (2016-08-13).
  12323. * teensy 3.x i2c. From v01d (phreakuencies) (2016-08-13).
  12324. * SH1106 0.96 OLED module support (SSD1306 compatible) + I2C fixes.
  12325. From v01d (phreakuencies) (2016-08-13).
  12326. * Add support for SAMV7 DACC module. From iotr Mienkowski (2016-08-15).
  12327. * Add oneshot board initialization to stm32f103-minimum. From Alan
  12328. Carvalho de Assis (2016-08-15).
  12329. * drivers/audio/tone.c: Add Audio Tone Generator for NuttX. From Alan
  12330. Carvalho de Assis (2016-08-16).
  12331. * configs/stm32f103-minimum: Add board configuration to initialize Audio
  12332. Tone Generator. From Alan Carvalho de Assis (2016-08-16).
  12333. * STM32F411 and STM32F446 map i2c2_sda_4 to different alternate function
  12334. numbers. From Konstantin Berezenko (2016-08-17).
  12335. * STM32 DMA Fix: Change stm32 adc dma callback to send channel number
  12336. instead of index. From Konstantin Berezenko (2016-08-17).
  12337. * SAMA5: Add missing oneshot max_delay method (2016-08-18).
  12338. * configs/stm32bufferfly2: Add support for the Kamami stm32butterfly2
  12339. development board with optional ETH phy. From Michał �yszczek
  12340. (2016-08-19).
  12341. * libc/misc: Separate XorShift128 PRNG from /dev/urandom and make it
  12342. generally available (2016-08-20).
  12343. * sched/sched_cpuload_oneshot: Use the oneshot timer with optional
  12344. entropy to measure cPU load if so configured (2016-08-20).
  12345. * drivers/usbhost/usbhost_composite.c: An an EXPERIMENTAL prototype of
  12346. how USB host support for composite devices might be implemented. This
  12347. feature is EXPERIMENTAL because (1) it is untested and (2) has some
  12348. know design issues that must be addressed before it can be of use
  12349. (2016-08-28).
  12350. * CXXFLAGS: Add -fcheck-new whenever -fno-exceptions is used. From Beat
  12351. Küng (2016-08-23).
  12352. * tools/mkfsdata.pl was still generating the old-style apps/include
  12353. inclusion paths (2016-08-23).
  12354. * drivers/sensors: Add drvier for the LIS3MDL 3 axis magnetometer. From
  12355. Alexander Entinger (2016-08-23).
  12356. * drivers/sensors: Add driver for the MLX90393 3 axis magnetometer.
  12357. From Alexander Entinger (2016-08-23).
  12358. * drivers/mtd: Add Fujistu MB85RS256B ramtron support. From Beat Küng
  12359. (2016-08-23).
  12360. * drivers/sensors: Add driver for the LIS3DSH 3 axis accelerometer. From
  12361. Alexander Entinger (2016-08-24).
  12362. * drivers/sensors: Add driver for the Bosch BMG160 3 axis gyroscope.
  12363. From Alexander Entinger (2016-08-24).
  12364. * STM32: Add IAR-style STM32F1xx vectors. Tested on STM32F103RB and
  12365. STM32F107RC. From Aleksandr Vyhovanec (2016-08-24).
  12366. * libc/header files: Add POSIX type sig_atomic_t. From Sebastien
  12367. Lorquet (2016-08-24).
  12368. * libc/header files: isatty() should be prototypes in unstid.h, not
  12369. termios.h. From Sebastien Lorquet (2016-08-24).
  12370. * Documentation: Update to NuttX C coding style document with additions
  12371. discussing long comments on the right side of a statement or data
  12372. definition (2016-08-24).
  12373. * LPC43xx serial: Fix typos in LPC43 serial driver. Found by Vytautas
  12374. Lukenskas (2016-08-24).
  12375. * libc/time: This commit adds the difftime() function. The function
  12376. depends on the toolchain-dependent CONFIG_HAVE_DOUBLE so is not
  12377. available on tiny platforms. From Sebastien Lorquet (2016-08-24).
  12378. * libc/stdio: Add support for remove(). From Sebastien Lorquet
  12379. (2016-08-25).
  12380. * STM32 OTGFS device: Fix for lost first word from FIFO
  12381. 1) Do not overwrite Reserved Bits in GINTSTS (per ref manual)*
  12382. 2) Acknowledge all pending int on entry to ISR that are Only rc_w1*
  12383. 3) Do not disable RXFVL*
  12384. 4) Loop until RXFVL is cleared*
  12385. 5) Only clear the NAK on the endpoint on the
  12386. OTGFS_GRXSTSD_PKTSTS_SETUPDONE to not loose the first WORD of
  12387. FIFO all the data (Bug Fix)
  12388. Changed marked *are just driver clean up and ensure ints are not lost.
  12389. The bug fix is #5
  12390. Test case open putty and observer the Set/Get LineCoding. Without this
  12391. fix #5 the Get will not match the Set, and in fact the data might be
  12392. skewed by 4 bytes, that are lost from the FIFO if the
  12393. OTGFS_DOEPCTL0_CNAK bit is set in the OTGFS_GRXSTSD_PKTSTS_SETUPRECVD
  12394. as opposed to the OTGFS_GRXSTSD_PKTSTS_SETUPDONE
  12395. Set Line Coding DATA1: 4B | 00 c2 01 00 00 00 08 | c8 1B
  12396. Get Line Coding DATA1: 4B | .. .. .. .. 00 00 08 c8 .. 00 00 07 | 7a 72
  12397. From David Sidrane (2016-08-25).
  12398. * Add system() to stdlib.h. Actual implementation is in
  12399. apps/system/system (2016-08-25).
  12400. * include/nuttx/input: Add missing prototype for btn_lower_initialize()
  12401. (2016-08-27).
  12402. * configs/stm32f103-minimum: Add board config support to SPI LCD module
  12403. JLX12864G-086. From Alan Carvalho de Assis (2016-08-28).
  12404. * net/tcp: tcp_ipvX_bind() not actually using the ported selected with
  12405. port==0. Also removes duplicate call to pkt_input(). Issues noted by
  12406. Pascal Speck (2016-08-30).
  12407. * STM32 F7: Remove duplicate call to pkt_input from Ethernet driver.
  12408. Issues noted by Pascal Speck (2016-08-30).
  12409. * STM32L4 OTGFS device: Apply stm32 fix to stm32l4. From Sebastien
  12410. Lorquet (2016-08-31).
  12411. * drivers/contactless: Remove contactless drivers from drivers/wireless
  12412. to drivers contactless. From Sebastien Lorquet (2016-08-31).
  12413. * USB host composite is at least partially functional. No longer depends
  12414. on CONFIG_EXPERIMENTAL (2016-09-02).
  12415. * MTD: Fixed cloned typos in several FLASH drivers. From Aleksandr
  12416. Vyhovanec (2016-09-02).
  12417. * MTD: SPI-based driver for Macronix MX25L3233F or MX25L6433F. From
  12418. Aleksandr Vyhovanec (2016-09-02).
  12419. * sched/: The TCB nchildren field should not be incremented when
  12420. pthreads are created (2016-09-06).
  12421. * sched/: Move fields related to parent/child task relationship out of
  12422. TCB into group structure (2016-09-06).
  12423. * STM32L4: Add support for USART3-USART5. For STM32L4 parts, the higher
  12424. number USART ports supported varies. Add the HAVE_USARTx definitions
  12425. to the configuration to allow enabling the higher numbered USART ports.
  12426. From Jim Wylder (2016-09-15).
  12427. * configs/stm32l476-mdk: Support basic booting and nsh on Motorola MDK.
  12428. The Motorola MDK is based off of an earlier version of NuttX. This
  12429. only provides a basic NSH shell. From Jim Wylder (2016-09-15).
  12430. * STM32 USB: Set USB address to avoid a failed assertion. From Pierre-noel
  12431. Bouteville (2016-09-15).
  12432. * STM32 L4 and L7 USB: Pierre's assertion-avoidance change should also be
  12433. applied to STM32 F7 and L4 (2016-09-15).
  12434. * sched/: mq_send() was not setting the errno value on certain failures
  12435. to allocate a message (2016-09-15).
  12436. * include/nuttx/modem: Move all modem-related IOCTL commands to a common
  12437. file to assure that they will be unique (2016-09-16).
  12438. * STM32 F4 Discovery: Add support for XEN1210 3D-board. From Alan
  12439. Carvalho de Assis (2016-09-17).
  12440. * drivers/sensors: Adds support for the Sensixs XEN1210 3D-board. This
  12441. sensor is used on NANOSATC-BR2 a Brazillian CUBESAT project. From
  12442. Alan Carvalho de Assis (2016-09-16).
  12443. * include/analog/dac.h: Make DAC structure packed. From Marc Rechté
  12444. (2016-09-20).
  12445. * All SAM Ethernet Drivers: Add support so that the drivers can be built
  12446. with CONFIG_NET_MULTIBUFFER=y (2016-09-20).
  12447. * Tiva Ethernet: Needs support for CONFIG_NET_MULTIBUFFER=y (2016-09-20).
  12448. * drivers/net: NET_TUN=y => NET_MULTIBUFFER=y. From Vladimir
  12449. Komendantskiy (2016-09-20).
  12450. * SAM3/4: Fix GPIO pull-up/down code. Enabling the pull-down resistor
  12451. while the pull-up resistor is still enabled is not possible. In this
  12452. case, the write of PIO_PPDER for the relevant I/O line is discarded.
  12453. Likewise, enabling the pull-up resistor while the pull-down resistor
  12454. is still enabled is not possible. In this case, the write of PIO_PUER
  12455. for the relevant I/O line is discarded. From Wolfgang Reißnegger
  12456. (2016-09-20).
  12457. * SAM GPIO: Apply Wolfgang's change for SAM3/4 to SAMA5 and SAMV7
  12458. (2016-09-20).
  12459. * Tiva QEI: Add QEI lower-half driver impl. for Tiva series chip. From
  12460. Young (2016-09-21).
  12461. * STM32, L4, and F7: Remove GPIO_ETH_RMII_TX_CLK. TX_CLK is not present
  12462. in RMII. Mateusz Szafoni (2016-09-22).
  12463. * sched/: Define 'group' even if HAVE_GROUPID is not set. From Mateusz
  12464. Szafoni (2016-09-22).
  12465. * sched/: vector table should have dimension NR_IRQS, not NR_IRQS+1.
  12466. From Sagitta Li (2016-09-22).
  12467. * fs/mount: Corrects a bad assertion noted by Pierre-noel Bouteville.
  12468. Also fixes a reference counting problem in an error condition: When
  12469. the mountpoint inode is found but is not an appropriate mountpoint,
  12470. the reference count on the inode was not being decremented (2016-09-22).
  12471. * libnx/nxglib: Fix handling of near-horizontal lines of width 1 in
  12472. nxgl_splitline(). Missing handling for degenerate condition caused
  12473. width 1 lines such as (0, 0) - (100, 10) to have gaps in the drawing.
  12474. From Petteri Aimonen (2016-09-22).
  12475. * drivers/net/slip.c: Fix calculations using MSEC_PER_TICK. If
  12476. USEC_PER_TICK is less than 1000, then MSEC_PER_TICK will be zero. It
  12477. will be inaccurate in any case (2016-09-25).
  12478. * Tiva QEI: Add a new ioctl command (set MAXPOS) for tiva QEI. From
  12479. Young (2016-09-26).
  12480. * LPC43xx Serial: There are some small problems in LPC43xx RS485 mode
  12481. configuration. In particular: (1) UART0,2,3 do not have DTR pins
  12482. (different from UART1), so, Kconfig needs to be adjusted. (2)
  12483. lpc43_uart.c in RS485 mode only configures DIR pin, but doesn't enable
  12484. pin output for UART0,2,3. (3) should be option to reverse DIR control
  12485. pin output polarity. (4) lpc43xx/chip/lpc43_uart.h doesn't have USART3
  12486. definitions. NOTE: I didn't modified and didn't tested USART1, as it
  12487. has different hardware. From Vytautas Lukenskas. From Vytautas
  12488. Lukenskas (2016-09-30).
  12489. * STM32 Ethernet: Correct typo in conditional logic. From Neil Hancock
  12490. (2016-10-01).
  12491. * sched/pthread and task: When a pthread is started, there is a small
  12492. bit of logic that will run on the thread of execution of the new
  12493. pthread. In the case where the new pthread has a lower priority than
  12494. the parent thread, then this could cause both the parent thread and
  12495. the new pthread to be blocked at the priority of the lower priority
  12496. pthread (assuming that CONFIG_PRIORITY_INHERITANCE is not selected).
  12497. This change temporarily boosts the priority of the new pthread to at
  12498. least the priority of the new pthread to at least the priority of the
  12499. parent thread. When that bit of logic has executed on the thread of
  12500. execution of the new pthread, it will then drop to the correct
  12501. priority (if necessary) before calling into the new pthread's entry
  12502. point (2016-10-01).
  12503. * configs/stm32f103-minimum: Add stm32_bringup support and userled
  12504. example to STM32F103 Minimum board. From Alan Carvalho de Assis
  12505. (2016-10-02).
  12506. * STM32 L4: Add support for quadrature encoders on STM32L4. Sebastien
  12507. Lorquet (2016-10-02).
  12508. * configs: Add support for qencoders on various nucleo boards. From
  12509. Sebastien Lorquet (2016-10-03).
  12510. * STM32 L4 USB Device: Fixed L4 USB Driver by avoiding SETUPDONE and
  12511. EPOUT_SETUP. From David Sidrane (2016-10-04).
  12512. * configs/olimex-stm32-e407: Add some networking configurations. From
  12513. Mateusz Szafoni (2016-10-06).
  12514. * STM32 SPI: stm32_modifycr2 should be available on all platforms if DMA
  12515. is enabled. (2016-10-06).
  12516. * STM32 DMA2D: Fix an error in up_dma2dcreatelayer where an invalid
  12517. pointer was returned when a certain underlying function failed. From
  12518. Jens Gräf (2016-10-07).
  12519. 7.19 2016-12-26 Gregory Nutt <gnutt@nuttx.org>
  12520. * include/nuttx/fs/nxffs.h: Needs forward reference to struct mtd_dev_s
  12521. and needs to include stdbool.h (2016-10-09).
  12522. * STM32F103 Minimum: Note in Kconfig that the board supports buttons.
  12523. From Alan Carvalho de Assis (2016-10-11).
  12524. * STM32F103 Minimum: Add button support. From Alan Carvalho de Assis
  12525. (2016-10-11).
  12526. * arch/arm/kinetis and configs/freedom-k64f: Add UID Unique ID. From
  12527. Neil Hancock (2016-10-13).
  12528. * arch/arm/src/stm32l4: (1) too many parentheses when calculating max
  12529. chan count and (2) channel 4 does not have a complementary output. From
  12530. Sebastien Lorquet (2016-10-14).
  12531. * arch/arm/src/stm32l4: Support Complementary PWM outputs on STM32L4.
  12532. From Sebastien Lorquet (2016-10-14).
  12533. * Support PWM testing on board nucleo-l476. From Sebastien Lorquet
  12534. (2016-10-14).
  12535. * arch/arm/src/stm32: Support oversampling by 8 for the STM32 F4.
  12536. From David Sidrane (2016-10-15).
  12537. * libc/stdio: Fixes sscanf %sn where strlen(data) < n. From David
  12538. Sidrane (2016-10-15).
  12539. * arch/risc-v: Add support for the RISC-V architecture and
  12540. configs/nr5m100-nexys4 board. I will be making the FPGA code for
  12541. this available soon (within a week I would say). The board support on
  12542. this is pretty thin, but it seems like maybe a good idea to get the base
  12543. RISC-V stuff in since there are people interested in it. From Ken
  12544. Pettit (2016-10-16).
  12545. * C library: Add a dummy setlocale() function to avoid drawing the
  12546. function from newlib (2016-10-17).
  12547. * libc/wchar: Add wcslen, wmemchr, wmemcmp, wmemcpy and wmemset to NuttX.
  12548. From Alan Carvalho de Assis (2016-10-17).
  12549. * syscalls: Add setlocale to libc.csv (2016-10-17).
  12550. * libc/locale: Add clocale header file (2016-10-18).
  12551. * libc/wchar: Add functions btowc, mbrtowc, mbtowc, wcscmp, wcscoll,
  12552. wmemmove. From Alan Carvalho de Assis (2016-10-18).
  12553. * usbhost/enumerate: Fix possible buffer overwrite. From Janne Rosberg
  12554. (2016-10-18).
  12555. * configs/Board.mk: Add extra clean operations (2016-10-18).
  12556. * usbhost/composite: Fix compile; missing semicolons. From Jann
  12557. Rosberg (2016-10-18).
  12558. * libc/stdio: Include wchar.h in lib_libvsprintf.c to fix compilation
  12559. error. From Alan Carvalho de Assis (2016-10-18).
  12560. * arch/arm/src/kinetis: Added missing headers. From David Sidrane
  12561. (2016-10-18).
  12562. * arch/arm/src/kinetis: Kinetis broke out SPI to kinetis/kinetis_spi.h.
  12563. From David Sidrane (2016-10-18).
  12564. * arch/arm/src/kinetis: Broke out DMA to use the modern Nuttx chip
  12565. inclusion - still STUBS. From David Sidrane (2016-10-18).
  12566. * arch/arm/src/kinetis: Kinetis Support ARMV7 Common Vector and FPU.
  12567. From David Sidrane (2016-10-18).
  12568. * arch/arm/src/kinetis: Kinetis Allow CONFIG_ARMV7M_CMNVECTOR,
  12569. CONFIG_STACK_COLORATION, CONFIG_ARCH_FPU. From David Sidrane
  12570. (2016-10-18).
  12571. * arch/arm/src/kinetis: Kinetis i2c driver offset swapped for value
  12572. in kinetis_i2c_putreg. From David Sidrane (2016-10-18).
  12573. * Add functions wcrtomb, wcslcpy, wcsxfrm, wctob, wctomb, wctype,
  12574. localeconv, strcoll, strxfrm. From Alan Carvalho de Assis
  12575. (2016-10-18).
  12576. * libc/wctype: Add wctype.h; Move lib_wctype.c to libc/wctype.
  12577. From Alan Carvalho de Assis (2016-10-18).
  12578. * include/: Modify locale.h to add localeconv() and lconv structure.
  12579. From Alan Carvalho de Assis (2016-10-18).
  12580. * include/sys/time.h: timersub macro modified per recommendations of
  12581. phreakuencies (2016-10-18).
  12582. * include/: Add isblank() macro to ctype.h. From Alan Carvalho de
  12583. Assis (2016-10-19).
  12584. * libc/wctype: Add iswctype, towlower, towupper and wcsftime functions.
  12585. From Alan Carvalho de Assis (2016-10-19).
  12586. * syslog: Fixes required for file syslog output. From Max Kriegleder
  12587. (2016-10-19).
  12588. * arch/arm/src/stm32: Add TIM8 to STM32F103V pinmap. From Maciej Wójcik
  12589. (2016-10-19).
  12590. * libc/locale: Allows c++ code to compile with or without
  12591. CONFIG_LIBC_LOCALE and will generate a link error if CONFIG_LIBC_LOCALE
  12592. is not defined and setlocale is referenced. With CONFIG_LIBC_LOCALE
  12593. defined setlocale will act as if MB string is not supported and return
  12594. "C" for POSIX. C and "". From David Sidrane (2016-10-19).
  12595. * Xtensa ESP32: Add vectors for interrupt levels 2-6 (2016-10-20).
  12596. * strtof(): Add strtof() as simply a copy of strtod with types and
  12597. limits changed (2016-10-20).
  12598. * arch/arm/src/stm32v7: Register the watchdog device at the configured
  12599. device path CONFIG_WATCHDOG_DEVPATH vs. hard-coded /dev/wdt. From Frank
  12600. Benkert (2016-10-21).
  12601. * configs/*/defconfig: The buttons example was changed to archbuttons. As
  12602. a result all of the button configurations are broken and need some
  12603. renaming in the defconfig files. Noted by Frank Berkert (2016-10-21).
  12604. * configs/stm32f103-minimum: Add support to PWM on STM32F103-Minimum
  12605. board. From Alan Carvalho de Assis (2016-10-21).
  12606. * include/ctype.h and cxx/cctype: Implement ctype.h functions as inline
  12607. if possible. cctype can then properly select namespace (2016-10-22).
  12608. * libc/unisted: Add strtold() (2016-10-22).
  12609. * sscanf: Use strtof() instead of strtod() if a short floating point
  12610. value was requested. The should help performance with MCUs with 32-bit
  12611. FPU support with some additional code size (2016-10-22).
  12612. * Remove support for software prioritization of interrupts (2016-10-23).
  12613. * drivers/net/tun.c: Fix bug in TUN interface driver. From Max
  12614. Nekludov (2016-10-24).
  12615. * arch/arm/src/stm32: A new implementation of the STM32 F4 I2C bottom
  12616. half. The commin I2C as this did not handled correctly in the current
  12617. implementation (see also https://github.com/PX4/NuttX/issues/54). The
  12618. changes almost exclusively affect the ISR. From Max Kriegleder
  12619. (2016-10-24).
  12620. * arch/arm/src/stm32l4: Fix I2C devices RCC registers. From Sebastien
  12621. Lorquet (2016-10-25).
  12622. * arch/arm/src/stm32l4: Enable and renames for 32l4 UARTs 4 and 5.
  12623. From Sebastien Lorquet (2016-10-25).
  12624. * configs/stm32f103-minimum: Fix Timers 2 to 7 clock frequencies.
  12625. From Alan Carvalho de Assis (2016-10-25).
  12626. * arch/arm/src/stm32: Initial implemention of the STM32 F37xx SDADC
  12627. module. There are also changes to ADC, DAC modules. SDADC has only been
  12628. tested in DMA mode and does not support external TIMER triggers. This
  12629. is a work in progress. From Marc Rechté (2016-10-25).
  12630. * Add logic to attach peripheral interrupt sources to CPU interrupts
  12631. (2016-10-25).
  12632. * CHxN channels are always outputs. From Sebastien Lorquet
  12633. (2016-10-26).
  12634. * sched/semaphore: Within the OS, when a thread obtains a semaphore
  12635. count it must call sem_addholder() if CONFIG_PRIORITY_INHERITANCE is
  12636. enabled. If a count is available, then sem_wait() calls
  12637. sem_addholder(), otherwise it waited for the semaphore and called
  12638. sem_addholder() when it eventually received the count.
  12639. This caused a problem when the thread calling sem_wait() was very
  12640. low priority. When it received the count, there may be higher
  12641. priority threads "hogging" the CPU that prevent the lower priority
  12642. task from running and, as a result, the sem_addholder() may be
  12643. elayed indefinitely.
  12644. The fix was to have sem_post() call sem_addholder() just before
  12645. restarting the thread waiting for the semaphore count.
  12646. This problem was noted by Benix Vincent who also suggested the
  12647. solution (2016-10-26).
  12648. * configs/stm32f103-minimum: Add RGB LED support on STM32F103 Minimum
  12649. board. From Alan Carvalho de Assis (2016-10-26).
  12650. * arch/arm/src/stm32f7: stm32_i2c.c Dejavu. Fixes a bug previously
  12651. found in the F4. From David Sidrane (2016-10-26).
  12652. * arch/arm/src/stm32f7: stm32f76xx77xx_pinmap.h Missed one. From
  12653. David Sidrane (2016-10-26).
  12654. * LPC43xx serial: Fix a typo in ioctl TIOCSRS485 ioctl. From Vytautas
  12655. Lukenskas (2016-10-27).
  12656. * sched/clock: Correct clock initialization. The correct range for
  12657. the month is 0-11 but is entered as 1-12 in the .config file
  12658. (2016-10-27).
  12659. * arch/*/include: Add architecture-specific inttypes.h. From Paul
  12660. A. Patience (2016-10-27).
  12661. * sched/Kconfig: Add ranges to START_YEAR, MONTH, and DAY (2016-10-28).
  12662. * configs/nucleo-f303re: Add STM32 F303RE hello configuration; remove
  12663. duplicate setting from board.h. From Marc Rechté (2016-10-18).
  12664. * arch/arm/src/lpc43xx: Restore RS485 mode on serial port open (if
  12665. RS485 is enabled via menuconfig). From Vytautas Lukenskas (2016-10-28).
  12666. * arch/arm/src/stm32f7: otgdev fixed typo. From David Sidrane
  12667. (2016-10-28).
  12668. * arch/xtensa: Basic architectural support for Xtensa processors and
  12669. the Expressif. ESP32 added. Totally untested on initial release
  12670. (2016-10-31).
  12671. * configs/esp32-core: Basic support for Expressif ESP32 Core v2 board
  12672. added. The initial release includes an NSH and an SMP test
  12673. configuration. Totally untested on initial relesae (2016-10-31).
  12674. * configs/bambino-200e: Add basic support to Micromint Bambino 200E
  12675. board. This includes contributions from Jim Wolfman. From Alan
  12676. Carvalho de Assis (2016-11-01).
  12677. * drivers/mtd/at24xx.c: Added EEPROM timeout. Fromo Aleksandr
  12678. Vyhovanec (2016-11-02).
  12679. * arch/misoc: Adds basic support for the Misoc procoessors and the
  12680. LM32 in particular. From Ramtin Amin (2016-11-01).
  12681. * configs/misoc. Board support for testing Misoc LM32 with Qemu.
  12682. From Ramtin Amin (2016-11-01).
  12683. * arch/arm/src/stm32: I think, that Size is (highest address+1 - Base
  12684. address). Base address has been removed and if address+count >= size
  12685. we are outside of the Flash. From David Sidrane (2016-11-01).
  12686. * sched/semaphore, sched/phread/, libc/semaphore, libc/pthread: Add
  12687. pthread_mutexattr_get/set_protocol and non-standard sem_get/set_protocol.
  12688. These may use to enable or disable priority inheritance on a single
  12689. semaphore (2016-11-02).
  12690. * arch/arm/src/stm32: Fix ADC compilation error when DMA isn't enabled.
  12691. From Paul A. Patience (2016-11-02).
  12692. * drivers/ and drivers/spi: Fix Kconfig warning. This commit moves the
  12693. ARCH_HAVE_SPI options outside the check for SPI. Those options don't
  12694. depend on SPI, and Kconfig files in arch/ enable them even if SPI
  12695. isn't enabled. Source the driver's Kconfig in drivers/Kconfig only
  12696. if support for the driver is enabled prevents us from defining these
  12697. ARCH_HAVE options in the driver's Kconfig. We should probably remove
  12698. the other checks in drivers/Kconfig and check if the drivers are
  12699. enabled only in their Kconfig. From Paul A. Patience (2016-11-02).
  12700. * Move protoypes for the non-standard include/semaphore.h file to the
  12701. non-standard include/nuttx/semaphore.h with the other non-standard
  12702. semaphore interfaces (2016-11-02).
  12703. * include/semaphores.h: Provide macros for sem_setprotocol() and
  12704. sem_getprotocol() if priority inheritance is not enabled. More
  12705. SEM_PRIO_* definitions to include/nuttx/semaphore.h (2016-11-02).
  12706. * drivers/serial.c: Make sure that priority inheritance is not
  12707. enabled for the signaling semaphores used in the serial driver
  12708. (2016-11-03).
  12709. * arch/arm/src/stm32f7: Fix to SPI-Master driver. Without this the
  12710. chip select decoding feature will not work properly. From Michael
  12711. Spahlinger (2016-11-03).
  12712. * drivers/, net/, fs/, sched, arch/, graphics/, libnx,: Disable
  12713. priority inheritance on all semaphores used for signaling (2016-11-03).
  12714. * sched/semaphore: Handle a case of missing proxy for sem_setprotocol.
  12715. Reorder so that (1) this error is avoided, and (2) >No proxy is needed
  12716. if priority inheritance is not enabled (2016-11-03).
  12717. * config/*/defconfgs: More fallout from name change of
  12718. apps/examples/buttons to archbuttons (2016-11-03).
  12719. * configs/nucleo_f303re: Various fixes to get the adc configuration
  12720. building again after PR. Refresh all configurations (2016-11-03).
  12721. * arch/misoc/src/common: Add interrupting Misoc serial driver. From
  12722. Ramtin Amin (2016-11-04)
  12723. * Fix a number of header files with mismatched 'extern C {' and '}'
  12724. (2016-11-05).
  12725. * Provide do-nothing stubs for mutex attribute interfaces if features
  12726. ot enabled. pthread_cond includes a signaling semaphore and should
  12727. call sem_setprotocol (2016-11-05).
  12728. * arch/arm/src/armv7-r: Fix compilation error. This commit fixes
  12729. compilation errors on MPU support for ARMv7-R. From Heesub Shin
  12730. (2016-11-06).
  12731. * arch/arm/src/armv7-r: Fix invalid drbar handling. In ARMv7-R,
  12732. [31:5] bits of DRBAR is physical base address and other bits are
  12733. reserved and SBZ. Thus, there is no point in passing other than the
  12734. base address. From Heesub Shin (2016-11-06).
  12735. * arch/arm/src/armv7-r: Remove the redundant update on SCTLR.
  12736. mpu_control() is invoking cp15_wrsctlr() around SCTLR update
  12737. redundantly. From Heesub Shin (2016-11-06).
  12738. * arch/arm/src/armv7-r: Add new Kconfig entries for d/i-cache.
  12739. Unlike in ARMv7-A/M, Kconfig entries for data and instruction caches
  12740. are currently missing in ARMv7-R. This commit adds those missing
  12741. Kconfig entries. Actual implmenetation for those functions will be
  12742. added in the subsequent patches. From Heesub Shin (2016-11-06).
  12743. * arch/arm/src/armv7-r: Add cache handling functions. This commit
  12744. adds functions for enabling and disabling d/i-caches which were
  12745. missing for ARMv7-R. From Heesub Shin (2016-11-06).
  12746. * arch/arm/src/armv7-r: Fix typo in mpu support. s/ARMV7M/ARMV7R/g.
  12747. From Heesub Shin (2016-11-06).
  12748. * arch/arm/src/armv7-r: Fix CPSR corruption after exception handling.
  12749. A sporadic hang with consequent crash was observed when booting. It
  12750. seemed to be caused by the corrupted or wrong CPSR restored on return
  12751. from exception. NuttX restores the context using code like this:
  12752. msr spsr, r1
  12753. GCC translates this to:
  12754. msr spsr_fc, r1
  12755. As a result, not all SPSR fields are updated on exception return.
  12756. This should be:
  12757. msr spsr_fsxc, r1
  12758. On some evaluation boards, spsr_svc may have totally invalid value at
  12759. power-on-reset. As it is not initialized at boot, the code above may
  12760. result in the corruption of cpsr and thus unexpected behavior.
  12761. From Heesub Shin (2016-11-06).
  12762. * arch/arm/src/armv7-r: Fix to restore the Thumb flag in CPSR. Thumb
  12763. flag in CPSR is not restored back when the context switch occurs while
  12764. executing thumb instruction. From Heesub Shin (2016-11-06).
  12765. * sched/wqueue: When queuing new LP work, don't signal any threads
  12766. if they are all busy. From Heesub Shin (2016-11-06).
  12767. * sched/wqueue: Signal sent from work_signal() may interrupt the low
  12768. priority worker thread that is already running. For example, the worker
  12769. thread that is waiting for a semaphore could be woken up by the signal
  12770. and break any synchronization assumption as a result. It also does not
  12771. make any sense to send signal if it is already running and busy. This
  12772. commit fixes it. From Heesub Shin (2016-11-06).
  12773. * arch/arm/src/stm32f7: STM32F7 SD/MMC driver depends on
  12774. CONFIG_SDIO_DMA which is only defined in stm32/Kconfig. Changed to
  12775. CONFIG_STM32F7_SDMMC_DMA and defined in stm32f7/Kconfig (2016-11-07).
  12776. * arch/arm/src/stm32: Add PWM driver support for STMF37xx. The
  12777. changes have been tested successfuly for TIM4 and TIM17 (different
  12778. IPs). From Marc Rechté (2016-11-07).
  12779. * sched/semaphore: sem_trywait() no longer modifies the errno value
  12780. UNLESS an error occurs. This allows these functions to be used
  12781. internally without clobbering the errno value. From Freddie Chopin
  12782. (2016-11-09).
  12783. * arch/arm/src/stm32l4: Change the way to configure quadrature encoder
  12784. prescalers. From Sebastien Lorquet (2016-11-09).
  12785. * libc/unisted: Patch brings strtol() and related functions more
  12786. conformant with POSIX. Corner cases like strtol(-2147483648, NULL, 10)
  12787. now pass clang -fsanitize=integer without warnings. From Juha Niskanen
  12788. (2016-11-10).
  12789. * drivers/sensors and configs/stm32f103-minimum: Add Vishay VEML6070
  12790. driver and support for STM32F103-Minimum board. From From Alan
  12791. Carvalho de Assis(2016-11-13).
  12792. * Misoc LM32: Corrects a bug that never occured in qemu on simulation or
  12793. real fpga. The error was that the r1 register was being modified out of
  12794. context switching and not restoring it. From Ramtin Amin (2016-11-14)
  12795. * arch/arm/src/samv71: A problem occurred with the SAMV7 USBDEVHS driver
  12796. if the USB cable is unplugged while a large amount of data is send over
  12797. an IN endpoint using DMA. If the USB cable is plugged in again after a
  12798. few seconds it is not possible to send data over this IN endpoint again,
  12799. all other endpoints work as expected.
  12800. The problem occurs because if the USB cable is unplugged while an DMA
  12801. transfer is in flight the transfer is canceled but the register
  12802. SAM_USBHS_DEVDMACTRL is left in an undefined state. The problem was
  12803. fixed the problem by resetting the register SAM_USBHS_DEVDMACTRL to a
  12804. known state. Additionally all pending interrupts are cleared.
  12805. From Stefan Kolb (2016-11-14).
  12806. * configs/esp32-core: ESP32 Core v2: Add configuration to supporting
  12807. linking NuttX for execution out of IRAM (2016-11-14).
  12808. * libc/unistd: sleep() was returning remaining nanoseconds (kind of),
  12809. instead the remaining seconds. From Eunbong Song (2016-11-15).
  12810. * sched/irq: Fixes for the SMP case: (1) Change order for SMP case in
  12811. enter_critical_section: (1) Disable local interrupts BEFORE taking
  12812. spinlock and (2) If SMP is enabled, if any interrupt handler calls
  12813. enter_critical_section(), it should take the spinlock. (2016-11-15).
  12814. * arch/xtensa: Add EXPERIMENTAL hooks to support lazy Xtensa co-
  12815. processor state restore in the future (2016-11-16).
  12816. * Add some experimental changes to enter/leave_critical_section to
  12817. deal with the case where interrupts are disabled only on the local
  12818. CPU (2016-11-16).
  12819. * sched/irq: Add logic to handled nested calls to
  12820. enter_critical_section() from interrupts handlers (with SMP)
  12821. (2016-11-16).
  12822. * drivers/timer: Remove the timer driver TIOC_SETHANDLER IOCTL call.
  12823. This calls directly from the timer driver into application code. That
  12824. is non-standard, non-portable, and cannot be supported (2016-11-17).
  12825. *drivers/timer: Add timer driver hooks to support signal notification
  12826. of timer expiration. Commented out because invasive interface changes
  12827. would also be required to complete the implementation (2016-11-17).
  12828. * arch/arm/src/armv7-m: Fix double allocation of MPU region in mmu.h
  12829. (2016-11-17).
  12830. * timer driver: Use signal to notify of timer expiration. Add generic
  12831. argument so that there can be additional usage. From Sebastien Lorquet
  12832. (2016-11-17).
  12833. * All timer lower half drivers. Port Sebastien's changes to all all
  12834. other implementations of the timer lower half. Many changes and
  12835. untested. Expect some problems. (2016-11-17).
  12836. * sched/irq: irq_csection() has a bad assumption in the SMP case. It
  12837. assumed that the state of certain variables. That was true on entry
  12838. into the interrupt handler, but might change to the execution of logic
  12839. within the interrupt handler (2016-11-18).
  12840. * config/ nucleo-l476rg: Add support for timers to nucleo l476. From
  12841. Sebastien Lorquet (2016-11-18).
  12842. * drivers/net: Add option to use low-priority work queue to all drivers
  12843. in drivers/net. Not yet added to all architecture-specific network
  12844. drivers (2016-11-18).
  12845. * sched/wdog: Most interrupt handling logic interacts with tasks via
  12846. standard mechanism such as sem_post, sigqueue, mq_send, etc. These all
  12847. call enter_critical_section and are assumed to be safe in the SMP case.
  12848. But certain logic interacts with tasks in different ways. The only one
  12849. that comes to mind are wdogs. There is a tasking interface that to
  12850. manipulate wdogs, and a different interface in the timer interrupt
  12851. handling logic to manage wdog expirations.
  12852. In the normal case, this is fine. Since the tasking level code calls
  12853. enter_critical_section, interrupts are disabled an no conflicts can
  12854. occur. But that may not be the case in the SMP case. Most
  12855. architectures do not permit disabling interrupts on other CPUs so
  12856. enter_critical_section must work differently: Locks are required to
  12857. protect code.
  12858. So this change adds locking (via enter_critical section) to wdog
  12859. expiration logic for the case if the SMP configuration
  12860. (2016-11-18).
  12861. * SAM3/4: Add delay between setting and clearing the endpoint RESET bit
  12862. in sam_ep_resume(). We need to add a delay between setting and
  12863. clearing the endpoint reset bit in SAM_UDP_RSTEP. Without the delay the
  12864. USB controller will (may?) not reset the endpoint. If the endpoint is
  12865. not being reset, the Data Toggle (DTGLE) bit will not to be cleared
  12866. which will cause the next transaction to fail if DTGLE is 1. If that
  12867. happens the host will time-out and reset the bus. Adding this delay
  12868. may also fix the USBMSC_STALL_RACEWAR in usbmsc_scsi.c, however this
  12869. has not been verified yet. From Wolfgang Reißnegger (2016-11-18).
  12870. * SAM3/4: Remove unused 'halted' flag in UDP driver. From Wolfgang
  12871. Reißnegger (2016-11-18).
  12872. * SAM3/4: Remove 'stalled' flag in UDP driver. The flag is not necessary.
  12873. The state of the endpoint can be determined using 'epstate' instead.
  12874. From Wolfgang Reißnegger (2016-11-18).
  12875. * USBMSC: Fix length of mode6 sense reply packet. From Wolfgang
  12876. Reißnegger (2016-11-18).
  12877. * configs/dk-tm4c129x: Typo fix. From Wolfgang Reißnegger (2016-11-18).
  12878. * Typo fix in sam_udp.c. From Wolfgang Reißnegger (2016-11-18).
  12879. * STM32: STM32F303xB and STM32F303xC chips have 4 ADCs. From Paul A.
  12880. Patience (2016-11-19).
  12881. * vfork(): Fix a race condition in the SMP case. Existing logic
  12882. depended on the fact that the child would not run until waitpid was
  12883. called because the child had the same priority as the parent. BUT
  12884. in the SMP case that is not true... the child may run immediately on
  12885. a different CPU (2016-11-19).
  12886. * arch/: Add option to use low-priority work queue to all Ethernet
  12887. drivers in arch that support CONFIG_NET_NOINTS (2016-11-19).
  12888. * sched/clock: Correct calculation for the case of Tickless mode with
  12889. a 32-bit timer. In that case, the calculation was returning
  12890. millisecond accuracy. That is not good when the timer accuracy is < 1
  12891. msec. From Rajan Gill (2016-11-19).
  12892. * sched/task: task_restart() test not supported on SMP systems. This is
  12893. not fully implemented (2016-11-19).
  12894. * This commit adds a new internal interfaces and fixes a problem with
  12895. three APIs in the SMP configuration. The new internal interface is
  12896. sched_cpu_pause(tcb). This function will pause a CPU if the task
  12897. associated with 'tcb' is running on that CPU. This allows a different
  12898. CPU to modify that OS data stuctures associated with the CPU. When the
  12899. other CPU is resumed, those modifications can safely take place. The
  12900. three fixes are to handle cases in the SMP configuration where one CPU
  12901. does need to make modifications to TCB and data structures on a task
  12902. that could be running running on another CPU. Those three cases are
  12903. task_delete(), task_restart(), and execution of signal handles. In
  12904. all three cases the solutions is basically the same: (1) Call
  12905. sched_cpu_pause(tcb) to pause the CPU on which the task is running,
  12906. (2) perform the necessary operations, then (3) call up_cpu_resume() to
  12907. restart the paused CPU (2016-11-20).
  12908. * task_restart: Make sure new task starts with pre-emption disabled and
  12909. not in a critical section (2016-11-21).
  12910. * Fix a typo in a spinlock macro (2016-11-21).
  12911. * Spinlocks: Added capability to provide architecture-specific memory
  12912. barriers. This was for i.MX6 but does not help with the SMP problems.
  12913. It is still a good feature (2016-11-21).
  12914. * Remove a assertion condition that appears to rarely cause false-alarm
  12915. assertions. Teported by Petteri Aimonen (2016-11-21).
  12916. * The examples/qencoder app was trying to init the encoder by a direct
  12917. call into the board, cheating in a local header to declare the normally
  12918. unavailable function prototype. From Sebastien Lorquet (2016-11-22).
  12919. * configs: All QE encoder files. Last change made timer hard-coded to 3.
  12920. Make configurable (2016-11-22).
  12921. * configs: Remove all traces of the no-longer existent ARCHBUTTONS
  12922. example. Remove all button configurations that depended on the
  12923. obsoleted ARCHBUTTON example (2016-11-22).
  12924. * nucleo-l476rg: Add better selection of timer (2016-11-22).
  12925. * implementation of dumpgpio for stm32l4, was required for pwm debug.
  12926. From Sebastien Lorquet (2016-11-22).
  12927. * SMP: Add logic to avoid a deadlock condition when CPU1 is hung waiting
  12928. for g_cpu_irqlock and CPU0 is waitin for g_cpu_paused (2016-11-22).
  12929. * Misoc: Add timer driver. From Ramtin Amin (2016-11-22).
  12930. * Misoc: Add commits and warnings about missing caculation of the timer
  12931. reload value (2016-11-22).
  12932. * SAM3/4: Name of method is now setcallback, not sethandler (2016-11-22).
  12933. * sam4s-xplained-pro/nsh: Configuration uses old, improper timer interface.
  12934. CONFIG_TIMER disabled in configuration. (2016-11-22).
  12935. * sam4s-xplained-pro: Remove obsolete timer initialization logic
  12936. (2016-11-22).
  12937. * Misoc LM32: Make system timer configurable via CONFIG_USEC_PER_TICK.
  12938. From Ramtin Amin (2016-11-23).
  12939. * LPC43xx: Add timer driver; configs/bambino-200e: Add support for timer
  12940. driver. From Alan Carvalho de Assis (2016-11-23).
  12941. * SMP: Fix backward condition in test (2016-11-23).
  12942. * ARMv7-A SMP: Add a little logic to signal handling (2016-11-24).
  12943. * Misoc LM32: Add signal handling logic. From Ramtin Amin (2016-11-24).
  12944. * SMP: Add spin_trylock(). Use this in conditions where other CPUs need
  12945. to stopped but we cannot call enter_critical_section (2016-11-24).
  12946. * Fix for F1 RTC Clock, tested on F103. From Maciej Wójcik (2016-11-25).
  12947. * SMP: Fix yet another potential deadlock (2016-11-25).
  12948. * Enable CONFIG_RTC in the hymini-stm32v/nsh2 (kitchensink) config.
  12949. From Maciej Wójcik (2016-11-26).
  12950. * This adds support for keeping i.MX6 inter-processor communication data
  12951. in a non-cached address region (2016-11-26).
  12952. * i.MX6: Disable non-cached region support. Add SCU register definitions
  12953. (2016-11-26).
  12954. * i.MX6: Add some controls to enable SMP cache coherency in SMP mode
  12955. (2016-11-26).
  12956. * ARMv7-A: Fix some SCU SMP logic (2016-11-26).
  12957. * ARMv7-A/i.MX6: Modify handling of the SMP cache coherency
  12958. configuration so that it is identical to the steps from the TRM.
  12959. Makes no differenct, however (2016-11-27).
  12960. * The Smoothie project needs to compile C++ inside config/boardname/src/
  12961. to use with High Priority Interruption, then I modified the board
  12962. configs Makefile to support it. It works fine for the first time
  12963. compilation, but if we execute "touch config/boardname/src/Pin.cxx"
  12964. and execute "make" it will not detect that Pin.cxx was modified. I
  12965. think there is some other place I should modify, but I didn't find
  12966. it. From Alan Carvalho de Assis (2016-11-27).
  12967. * ARMv7-A/i.MX6 SMP: Move SMP coherent cache setup to earlier in
  12968. initialization of CPUn, n>0 (2016-11-27).
  12969. * ARMv7 GIC: SGIs are non-maskable but go through the same path as other,
  12970. maskable interrupts. Added logic to serialize SGI processing when
  12971. necessary (2016-11-27).
  12972. * sched_note: Extend OS instrumentation to include some SMP events
  12973. (2016-11-27).
  12974. * sched_note: Add spinlock instrumentation; In SMP configurations,
  12975. select to log only notes from certain CPUs (2016-11-28).
  12976. * Misoc LM3: Add Misoc Ethernet driver. Integrate network support into
  12977. configs/misoc/hello. Remove configs/misoc/include/generated directory.
  12978. I suppose the intent now is that this is a symbolic link? DANGER!
  12979. This means that you cannot compile this code with first generating
  12980. these files a providing a symbolic link to this location! From Ramtin
  12981. Amin (2016-11-28).
  12982. * Add tools/showsize.sh (2016-11-28).
  12983. * configs/misoc: Add a sample directory containing generated sources.
  12984. This is really only useful for performing test builds. You really
  12985. must generate the Misoc architecture for a real-life build. From
  12986. Ramtin Amin (2016-11-28).
  12987. * sched_note: Permit spinlock and critical section notes in in-memory
  12988. buffer iff sched_not_get() interfaces is disabled (2016-11-28).
  12989. * STM32 DAC: Fix shift value whenever there are is a DAC2 and, hence,
  12990. up to three interfaces. From Marc Rechté (2016-11-29).
  12991. * Back out a debug change that was included in commit (2016-11-29).
  12992. * i.MX6: Don't output the alphabet if CONFIG_DEBUG_FEATURES is not set
  12993. (2016-11-29).
  12994. * Misoc LM32: Add logic to flush/invalidate caches. From Ramtin Amin
  12995. (2016-11-29).
  12996. * drivers/net/: Adapt all Ethernet drivers to work as though
  12997. CONFIG_NET_MULTIBUFFER were set. Remove all references to
  12998. CONFIG_NET_MULTIBUFFER (2016-11-29).
  12999. * stm32_otghshost: if STM32F446 increase number of channels to 16. From
  13000. Janne Rosberg (2016-11-30).
  13001. * usbhost_composite: Fix end offset in usbhost_copyinterface(). From
  13002. Janne Rosberg (2016-11-30).
  13003. * usbhost_cdcacm: Add CDC_SUBCLASS_ACM and CDC_PROTO_ATM to supported
  13004. class and proto. From Janne Rosberg (2016-11-30).
  13005. * LPC43 SD/MMC: Correct some git definitions on SMMC control register
  13006. in lpc43_sdmmc.h. From Alan Carvalho de Assis (2016-11-30).
  13007. * STM32L4: Correct USART1/2 definitions. Use default mbed UART4
  13008. settings. From Sebastien Lorquet (2016-12-01).
  13009. * boardctl: Add new boardctl() command ,BOARDIOC_NX_START, to start the
  13010. NX server as a kernel thread (2016-12-01).
  13011. * GPDMA driver for the LPC43xx. The GPDMA block is basically the same
  13012. as the LPC17xx. Only the clock configuration is different and LPC43xx
  13013. has four different DMA request sources, where LPC17xx has only two.
  13014. From Alan Carvalho de Assis (2016-12-01).
  13015. * Remove RGMP and RGMP drivers (2016-12-02).
  13016. * i.MX6: Add an untested SPI driver taken directly from the i.MX1 port
  13017. (2016-12-02).
  13018. * Eliminate CONFIG_NO_NOINTS. There is no longer any support for
  13019. interrupt level processing of the network stack. Lots of files changed
  13020. -> lots of testing needed (2016-12-03).
  13021. * Fix DEBUGASSERT() in group_signal.c. From Masayuki Ishikawa
  13022. (2016-12-04).
  13023. * Add support for the SAM5CMP-DB board. From Masayuki Ishikawa
  13024. (2016-12-04).
  13025. * SAM3/4: Add SMP support for the dual-core SAM4CM. From Masayuki
  13026. Ishikawa (2016-12-04).
  13027. * C Library: Allow option to enable IP address conversions even when the
  13028. IP address family is not supported (2016-12-04).
  13029. * SSD1306: Fix errors in SPI mode configuration. From Gong Darcy
  13030. (2016-12-04).
  13031. * SAMA5 does not build when executing from SDRAM before board
  13032. frequencies are not constant. Rather, the bootloader configures the
  13033. clocking and we must derive the clocking from the MCK left by the
  13034. bootloader. This means lots more computations. This is untested on
  13035. initial commit because I don't have a good PWM test setup right now
  13036. (2016-12-04).
  13037. * Olimex-LPC1766-STK: Enable procfs in NSH configuration. Automount
  13038. /proc on startup (2016-12-05).
  13039. * SAM4CMP-DB: Add hooks to auto-mount the procfs file system on startup
  13040. in board bring-up logic (2016-12-05).
  13041. * Remove all references to BOARDIOC_PWMSETUP and board_pwm_setup()
  13042. (2016-12-05).
  13043. * Remove all references to BOARDIOC_ADCSETUP and board_adc_setup()
  13044. (2016-12-05).
  13045. * Added Timers 2-5 and control of SAI and I2S PLLs. From David Sidrane
  13046. (2016-12-05).
  13047. * Added support for stmf469 SAI and I2S PLL configuration and STM446
  13048. fixes. From David Sidrane (2016-12-05).
  13049. * Expanded otgfs support to stm32F469 and stm32f446. Added missing bits
  13050. definitions, Used stm32F469 and stm32f446 bit definitions, Removed
  13051. unsed header file. From David Sidrane (2016-12-05).
  13052. * Remove BOARDIOC_CAN_INITIALIZE. CAN initialization is now done in the
  13053. board initialization logic just like every other device driver
  13054. (2016-12-06).
  13055. * STM32F7: Allow the config to override the clock edge setting. From
  13056. David Sidrane (2016-12-06).
  13057. * For Cortex-A9, should also set ACTLR.FW in SMP mode to enble TLB and
  13058. cache broadcasts. Does not fix SMP cache problem (2016-12-07).
  13059. * sched notes: Add additional note to see if/when CPU is started in SMP
  13060. mode (2016-12-07).
  13061. * EFM32: Fix a compilation error. From Pierre-noel Bouteville
  13062. (2016-12-07).
  13063. * pthreads: Add pthread_cleanup_push() and pthread_cleanup_pop()
  13064. (2016-12-08).
  13065. * BUGFIX:STM32F427 was rebooting. Over reached family. From David
  13066. Sidrane (2016-12-08).
  13067. * Add pthread_setcanceltype() and pthread_testcancel() (2016-12-09).
  13068. * Added STM32F469 RAM size and deliberated STM32F446 size. From David
  13069. Sidrane (2016-12-09).
  13070. * Typo in stm32f76xx77xx_pinmap.h edited online with Bitbucket. From
  13071. David Sidrane (2016-12-09).
  13072. * stm32_allocateheap.c edited online with Bitbucket. From David Sidrane
  13073. (2016-12-09).
  13074. * LPC43xx SD card: Correct pin configuration options needed for SD card
  13075. pins. From Alan Carvalho de Assis (2016-12-09).
  13076. * pthread_mutex_destroy(): Fix an error in destroying a mutex which can
  13077. occur after a pthread has been canceled while holding the mutex
  13078. (2016-12-09).
  13079. * Add support for cancellation points (2016-12-09).
  13080. * Forgot to add some files in the last commit (2016-12-10).
  13081. * Correct some default font IDs. From Pierre-Noel Bouteville
  13082. (2016-12-10).
  13083. * task_delete() now obeys all cancellation point semantics (2016-12-10).
  13084. * Add task_setcancelstate(), task_setcanceltype(), and task_testcancel().
  13085. These are non-standard interfaces analogous to the correponding pthread_
  13086. interfaces that provide cancellation controls for tasks (2016-12-10).
  13087. * i.MX6 interrupt handling: Additional logic needed to handle nested
  13088. interrupts when an interrupt stack is used (2016-12-13).
  13089. * SAMV7 MCAN: Prevent Interrupt-Flooding of ACKE when not connected to
  13090. CAN-BUS. An Acknowledge-Error will occur every time no other CAN Node
  13091. acknowledges the message sent. This will also occur if the device is
  13092. not connected to the can-bus. The CAN-Standard declares, that the Chip
  13093. has to retry a given message as long as it is not sent successfully (or
  13094. it is not cancelled by the application). Every time the chip tries to
  13095. resend the message an Acknowledge-Error-Interrupt is generated. At high
  13096. baud rates this can lead in extremely high CPU load just for handling
  13097. the interrupts (and possibly the error handling in the application). To
  13098. prevent this Interrupt-Flooding we disable the ACKE once it is seen as
  13099. long we didn't transfer at least one message successfully. From Frank
  13100. Benkert (2016-12-13).
  13101. * i.MX6: Remove non-cached, inter-cpu memory region. Not a useful
  13102. concept (2016-12-13).
  13103. * minnsh Configurations: Remove minnsh configurations and support logic:
  13104. up_getc() and lowinstream. This was an interesting exercise to see
  13105. just how small you could get NuttX, but otherwise it was not useful:
  13106. (1) the NSH code violated the OS interface layer by callup up_getc and
  13107. up_putc directly, and (2) while waiting for character input, NSH would
  13108. call up_getc() which would hog all of the CPU. Not a reasonable
  13109. solution other than as a proof of concept (2016-12-13).
  13110. * Calypso Boards: Remove all Calypso board configurations (2016-12-13).
  13111. * Calypso: Remove Calypso architecture support and support for Calypso
  13112. SERCOMM driver (2016-12-13).
  13113. * ESP32 core v2: Two changes (1) flushes the UART TX buffer in the esp32
  13114. serial shutdown routine. The ROM bootloader does not flush the FIFO
  13115. before handing over to user code, so some of this output is not
  13116. currently seen when the UART is reconfigured in early stages of
  13117. startup. And changes the openocd config file's default flash voltage
  13118. from 1.8V to 3.3V. This is not necessary right now, but may save some
  13119. hard-to-debug moments down the track (3.3V-only flash running at 1.8V
  13120. often half-works and does weird things...). From Angus Gratton
  13121. (2016-12-14).
  13122. * Xtensa ESP32: Add missing ENTRY() and RET() macros in C callable
  13123. assembly language. At one time I though the that the ESP32 support the
  13124. CALL0 ABI. I was mistaken so there may be a few more like this
  13125. (2016-12-14).
  13126. * Xtensa ESP32: Fix a couple of bugs associated with handling of CPU
  13127. interrupts (2016-12-14).
  13128. * Xtensa ESP32: Fix several build-related issues associated with vector
  13129. section (2016-12-15).
  13130. * Xtensa ESP32: Fix missing CALL0 ABI condition (2016-12-15).
  13131. * Xtensa EPS32: Make sure that all C callable assembly functions includes
  13132. ENTRY prologue and RET epilogue (2016-12-15).
  13133. * Xtensa ESP32: Fix windowspill register handling + Use r6, not r2 when
  13134. passing paramters with call4 (2016-12-16).
  13135. * Xtensa ESP32: Use r6, not r2 when passing paramters with call4
  13136. (2016-12-16).
  13137. * Xtensa ESP32: Correct a logic problem the prevented dumping the IDLE
  13138. thread's stack on an assertion (2016-12-16).
  13139. * Xtensa ESP32: Fix some missing SMP logic (2016-12-16).
  13140. * Xtensa ESP32: Basically a redesign of the interrupt dispatch logic
  13141. (2016-12-16).
  13142. * Xtensa ESP32: Level 1 interrupts should return via RFE (2016-12-17).
  13143. * Xtensa ESP32: One register getting clobber on context save (2016-12-17).
  13144. * STM32 F7: Fix some STM32F7 copy paste errors. From David Sidrane
  13145. (2016-12-17).
  13146. * CDC/ACM Device Class: uart_ops_s portion of cdcacm will not be
  13147. initalized with correct functions if CONFIG_SERIAL_DMA is lit
  13148. (2016-12-17).
  13149. * Xtensa ESP32: Using wrong register to disable interrupts (2016-12-17).
  13150. * Xtensa ESP32: Fix clobbered a9 in co-processor context save/restore
  13151. (2016-12-17).
  13152. * Xtensa ESP32: Need to clone some logic for synchronous context switch.
  13153. Window spill logic in the conmon restores logic is inappropriate in
  13154. this context (2016-12-17).
  13155. * sscanf(): Add scansets to the scanf function. Enabled
  13156. CONFIG_LIBC_SCANSET option. From Aleksandr Vyhovanec (2016-12-17).
  13157. * Xtensa ESP32: Fix context save logic when called in window ABI
  13158. configuration. Add an IDLE stack. Don't depend on the mystery stack
  13159. received from the bootloader (2016-12-18).
  13160. * Xtensa ESP32: Need to spill registers to memory as the last dying
  13161. action before switching to a new thread (2016-12-18).
  13162. * ESP32 Serial: Add logic to prevent infinite loops in interrupt handler
  13163. (2016-12-18).
  13164. * Xtensa ESP32: Automatically mount /proc at start-up (2016-12-19).
  13165. * Xtensa ESP32: Corrects timer initialization and timer input frequency
  13166. (2016-12-19).
  13167. * Tiva PWM: Support PWM_PULSECOUNT feature for TI tiva. From Young.Mu
  13168. (2016-12-20).
  13169. * Xtensa ESP32: Missing prologue/epilogue macros on C callable function
  13170. (2016-12-20).
  13171. * Xtensa ESP32: Update APP CPU startup logic to match current Expressif
  13172. example code. Fix errors APP CPU startup (2016-12-20).
  13173. * fs/procfs: Fix procfs status for SMP case (2016-12-20).
  13174. * Xtensa ESP32: Clock frequency is different if running from IRAM or is
  13175. booting from FLASH. This is a booltloader issue (2016-12-20).
  13176. * Xtensa ESP32: Basic port is function in both single CPU and dual CPU
  13177. SMP configurations. There is an NSH configuration for each CPU
  13178. configuration (2016-12-21).
  13179. * STM32 F4: Merge in support for the Olimex STM32 P407 board (2016-12-21).
  13180. * Xtensa ESP32: Add an OS test to verify the port (2016-12-22).
  13181. * Xtensa ESP32: Corrects a problem with dispatching to signal handlers:
  13182. Cannot vector directly to the signal handling function as in other ABIs
  13183. under the Xtensa Window ABI. In that case, we need to go through a
  13184. tiny hook when performs the correct window call (call4) otherwise
  13185. registers will be scrambled in the signal handler (2016-12-22).
  13186. * SAMV7 CAN: Make delete_filter functions more robust. From Frank
  13187. Benkert (2016-12-23).
  13188. * Xtensa ESP32: Add stack checking logic (2016-12-23).
  13189. * sched note: record ID enumeration now results on constant values; ID
  13190. values do not change with configuration. This makes writing
  13191. post-processing software much easier (2016-12-24).
  13192. * STM32 F3: Forgot to update chip.h for STM32F303x[BC]'s 4 ADCs
  13193. (2016-12-24).
  13194. * STM32 F4: Allow dma in 1 bit mode in STM32F4xxx. From David Sidrane
  13195. (2016-12-24).
  13196. * termios.h: Fix CRTSCTS define to include input and output flow.
  13197. From Lorenz Meier (2016-12-26).
  13198. * SMP: Enforce this rule: Tasks which are normally restored when
  13199. sched_unlock() is called must remain pending (1) if we are in a
  13200. critical section, i.e., g_cpu_irqlock is locked , or (2) other CPUs
  13201. still have pre-emption disabled, i.e., g_cpu_schedlock is locked. In
  13202. those cases, the release of the pending tasks must be deferred until
  13203. those conditions are met (2016-12-26).
  13204. 7.20 2017-03-08 Gregory Nutt <gnutt@nuttx.org>
  13205. * i.MX6 SMP/NSH configuration: Enable examples/smp test (2016-12-27).
  13206. * SMP: There were certain conditions that we must avoid by preventing the
  13207. release of the pending tasks while withn a critical section. But this
  13208. logic was incomplete; there was no logic to prevent other CPUs from
  13209. adding new, running tasks while on CPU is in a critical section. This
  13210. commit corrects this. This is matching logic in sched_addreadytorun to
  13211. avoid starting new tasks within the critical section (unless the CPU is
  13212. the holder of the lock). The holder of the IRQ lock must be permitted
  13213. to do whatever it needs to do (2016-12-27).
  13214. * i.MX6: Fix clearing GPT status register. From Masayuki Ishikawa
  13215. (2016-12-28).
  13216. * SMP: Make checks for CPU lock set more robust. There are certains
  13217. conditions early in initialization on during interrupt handling where
  13218. things need to be done a little differently (2016-12-28).
  13219. * sched_cpulocked: Avoid use of spinlock. That has been reported to
  13220. cause a deadlock (2016-12-28).
  13221. * SMP: Fix a gap where we may try to make modifications to the task lists
  13222. without being in a critical sections. That permits concurrent access to
  13223. the tasks lists and many subtle problems. This fix just remains in the
  13224. critical section throughout the operation (and possible until the task
  13225. is restore in the event of a context switch). Makes a big difference in
  13226. stability (2016-12-28).
  13227. * SMP: Move sharable function to common file as irq_cpu_locked(). Use
  13228. irq_cpu_locked() in sched_unlock(). Use irq_cpu_locked() in
  13229. sched_removereadytorun() and sched_setpriority(). Use irq_cpu_locked()
  13230. in sched_mergepending() (2016-12-29).
  13231. * Add configuration support for builds with Ubuntu under Windows 10
  13232. (2017-01-01).
  13233. * Add support for Tom Thumb small mono-space font. From Alan Carvalho de
  13234. Assis (2017-01-03).
  13235. * Alternative way to encode font spacing for Tom Thumb font (2017-01-04).
  13236. * Graphics: Initial separation of font cache from graphics/nxterm. Now in
  13237. libnx/nxfronts where it can be shared with other grapics applications
  13238. (2017-01-05).
  13239. * Font cache: Fix a reference counting issue: count not be initialized
  13240. when font cache created. Fix initialization of a semaphore. Enforce
  13241. mutually exclusive access to the font cache Replace fixed-size array
  13242. with variable size link list. Font cache in libnx needs to use
  13243. context-specific memory allocators (2017-01-06).
  13244. * Add debug assertion in libdtoa to catch attempts to use floating point
  13245. output formats from within an interrupt handler. That will cause
  13246. assertions or crashes downstream because __dtoa will attempt to allocate
  13247. memory. From Pierre-noel Bouteville (2017-01-06).
  13248. * procfs: Correct to snprintf-related errors in fs_procfsproc.c.
  13249. Resolves issue #24 (2017-01-07).
  13250. * STM32F429i Discovery: Add support for NxWM on STM32F429i-Disco board.
  13251. From Alan Carvalho de Assis (2017-01-07).
  13252. * STM32F429i-DISCO: Enable keyboard input in nxwm configuration
  13253. (2017-01-07).
  13254. * STM32F429i-DISCO: Change NxWM cursor character from 137 (graphics
  13255. block) to 95 (underscore). NxWM is configured to use a 7-bit character
  13256. set so 137 is not a valid character code (2017-01-07).
  13257. * NX server: Correct message queue names. Should not be at /dev, but
  13258. rather relative to /var/mqueue (2017-01-08).
  13259. * NxWM configurations. If using a 7-bit character set, then the cursor
  13260. character cannot be 137 (graphic block). Use 95 (underscore) instead
  13261. (2017-01-08).
  13262. * packed_struct replaced by begin_packed_struct and end_packed_struct.
  13263. From Aleksandr Vyhovanec (2017-01-09).
  13264. * sched_note: Fix spinlock instrumentation. From Masayuki Ishikawa
  13265. (2017-01-12).
  13266. * SMP: Fix an error in critical section logic when performing a context
  13267. switch from an interrupt handler. The g_cpu_irqset bit was not being
  13268. set for the CPU so other CPUs did not know about the critical section
  13269. (2017-01-13).
  13270. * Kinetis: Added support for CHIP_MK60FN1M0VLQ12 chip. From Maciej
  13271. Skrzypek (2017-01-13).
  13272. * Kinetis: Fixed wrong MCG VDIV calculation on new NXP K60. From Maciej
  13273. Skrzypek (2017-01-13).
  13274. * Kinetis Serial: Fixed compile error when UART5 is selected. From Maciej
  13275. Skrzypek (2017-01-13).
  13276. * Kinetis: Need to set HAVE_UART_DEVICE when UART4 is selected. From
  13277. Maciej Skrzypek (2017-01-13).
  13278. * Kinetis MCG: Wrong FRDIV set in MCG_C1. From Maciej Skrzypek
  13279. (2017-01-13).
  13280. * Kinetis: New K60 has no Flex memory. From Maciej Skrzypek (2017-01-13).
  13281. * In all implementations of _exit(), use enter_critical_section() vs.
  13282. disabling local interrupts (2017-01-13).
  13283. * i.MX6: Corrects behavior of last SMP patch with i.MX6 (2017-01-13).
  13284. * SMP Signals: Fix some SMP signal delivery logic. Was not handling some
  13285. critical sections correctly and was missing logic to signal tasks
  13286. running on other CPUs (2017-01-14).
  13287. * STM32F103 Minimum: Add support for nRF24 on STM32F103-Minimum board.
  13288. From Alan Carvalho de Assis (2017-01-15).
  13289. * Kinetis: Add support for K64/K66 RTC lower half driver. From Neil
  13290. Hancock (2017-01-17).
  13291. * Networking: Fixed some issues that prevented ipv6 to work with ipv4
  13292. enabled. From Pascal Speck (2017-01-18).
  13293. * STM32 Oneshot: Fix logic so that it can support multiple oneshot timers
  13294. (2017-01-18).
  13295. * STM32L4: Port fix for multiple oneshot timers from STM32. Also fixes a
  13296. few issues with original STM32 implementation (2017-01-18).
  13297. * SAM3/4: Add support for ATSAM4S4C. From Wolfgang Reißnegger (2017-01-18).
  13298. * Math library: Leverage optimized ARM functions from BSD license ARM file
  13299. (2017-01-19).
  13300. * Math library optimatizations for FPU only apply to ARMv8 which is not
  13301. yet supported (2017-01-20).
  13302. * Move optimized ARM memcpy functions from arch/arm/src/ to
  13303. libc/machine/. This is necessary for the PROTECTED and KERNEL build
  13304. modes. Otherwise, memcpy() will be built in to kernel space and not
  13305. accessible to applications (2017-01-20).
  13306. * libc: Fix ARMv7-A/R memcpy assembly (2017-01-20).
  13307. * ARM memcpy(): Use DWord vs. HWord offset. ARM 32-bit instructions must
  13308. be aligned to DWord boundaries and this gives us more range in the jump
  13309. tables (2017-01-20).
  13310. * Fix a compile error: in sched_cpuload.c:Line136, the variables ts and
  13311. secs are not defined if CONFIG_CPULOAD_ONESHOT_ENTROPY = 0. However,
  13312. these variables are used regardless of CONFIG_CPULOAD_ONESHOT_ENTROPY at
  13313. lines~180:onwards. From Rajan Gill (2017-01-22).
  13314. * CPU load: Correct computation of the nominal period to use when the
  13315. source is a oneshot timer (2017-01-22).
  13316. * Kernel Modules: Module initializer may now return a symbol table
  13317. (2017-01-22).
  13318. * Modules: Extend the module interface so that we can access symbols
  13319. exported by the module (2017-01-22).
  13320. * Shared Libraries: In the FLAT build mode, kernel modules may be used to
  13321. provide minimal shared library functionality (2017-01-22).
  13322. * Shared libraries: Add a non-standard dllfnc.h function to set the
  13323. symbol table (2017-01-23).
  13324. * Olimex-stm32-p407: Add a NSH protected build configuration; Enable
  13325. procfs/ in all configurations (2017-01-23).
  13326. * SMP: Fix timer related issues: Round robin and sporadic scheduling
  13327. were only being performed for tasks running on the CPU that processes
  13328. the system timer interrupt. Similary, CPU load measurements were only
  13329. be processed for running on the CPU that receives the sampling interrupt
  13330. (2017-01-23).
  13331. * STM32 F7: Added missing ARCH_HAVE_RESET for F7. From David Sidrane
  13332. (2017-01-23).
  13333. * STM32: Add missing STM32_BKP_BASE. From David Sidrane (2017-01-23).
  13334. * Configurations that enable OSTEST must not disable signals (2017-01-24).
  13335. * Add missing sched_note_*() calls to sam4cm SMP functions (2017-01-24).
  13336. * Fix return value if x is NaN. From Aleksandr Vyhovanec (2017-01-25).
  13337. * MMCSD_SDIO: Only wait for card ejected if card detection is supported.
  13338. From Alan Carvalho de Assis (2017-01-26).
  13339. * LPC43 pinset definitions: Add more 1 bit to pinset to reach
  13340. SFSCLK0-SFSCLK3. Remove PINCONFIG_DIGITAL. From Alan Carvalho de Assis
  13341. (2017-01-26).
  13342. * sched/modules: Add support for dependencies between modules (2017-01-27).
  13343. * Back out use on inline functions to access 16-bit registers. The inline
  13344. functions were a work-around for misbehaving compiler years and years
  13345. ago. The mon standard macro-ized version should work just fine
  13346. (2017-01-27).
  13347. * Olimex STM32 P407: Add support for on-board microSD slot. Does not
  13348. work... Currently all commands to the SD card timeout (2017-01-28).
  13349. * libc/modlib: Add build a configuration logic for a shared module
  13350. library (2017-01-29).
  13351. * Module names are not needed in libc/modlib when the module library is
  13352. used only for shared library support (2017-01-29).
  13353. * Shared Libs: Implement module based shared libraries for the PROTECTED
  13354. mode build (2017-01-29).
  13355. * Typos withim mtd/ with Macronix MX25L. In NuttX/drivers/mtd/Make.defs
  13356. letters X between M and 25 are missing. Noted by Oleg Evseev
  13357. (2017-01-x30x).
  13358. * SAME70-Xplained: Clone some recent SAMV71-XULT changes (2017-01-30).
  13359. * Add capabilities() method to SDIO interface. Remove
  13360. CONFIG_SDIO_WIDTH_D1_ONLY. That should not be a global propertie, but
  13361. rather a capability/limitation of single slot when there may be multiple
  13362. slots (2017-01-31).
  13363. * Removed dmasupported() method from the SDIO interface. That is now a
  13364. bit in the capability set (2017-01-31).
  13365. * STM32F7 SDMMC: Add support for single bit operation on SDMMC2
  13366. (2017-01-31).
  13367. * STM32F103-Minimum: Fix a compile error.
  13368. CONFIG_STM32_TICKLESS_ONESHOT_TIMER is only defined in TICKLESS mode.
  13369. Somebody has been hand editing .config files (2017-01-31).
  13370. * Timer logic: Add private function prototypes to eliminate a warning;
  13371. Functions should not be inline because the may recurse (2017-01-31).
  13372. * STM32F7 SDMMC: Make sure that all SDMMC configuration variables begin
  13373. with STM32F7_; Eliminate CONFIG_SDMMC1/2_DMA altogether. Does not
  13374. appear to be used (2017-01-31).
  13375. * STM32F429-DISCO: Move some board initialization logic that is not
  13376. usable because it lacks the configuration options to make it so
  13377. (2017-01-31).
  13378. * Cancellation points: Fix some backward logic in conditional compilation
  13379. (2017-02-02).
  13380. * Soft links: Add an implementation of readlink() (2017-02-03).
  13381. * inode_find: Now takes struct inode_desc_s type as input. That
  13382. structure includes some data storage. It was used within inode_find(),
  13383. but that means that the life of the data was the life of inode_find().
  13384. That data must persist longer. It is now provided by the caller so that
  13385. the life of the data persists for the entire life of the caller
  13386. (2017-02-05).
  13387. * tools/noteinfo.c: A hack tool that I use to analyze some sched_note
  13388. output. Needs a home and may be useful to others (2017-02-05).
  13389. * Pseudo File System: Add support for soft links in the top-level pseudo
  13390. file system (2017-02-05).
  13391. * Updates to Kinetis SDHC driver. From Marc Rechté (2017-02-06).
  13392. * SDIO interface: Handle all possible DMA combinations in all SDIO drivers
  13393. (2017-02-07).
  13394. * up_timer_initialize() is named incorrectly. The prefix should be the
  13395. architecture name, not up_ since it is private to the architecture.
  13396. up_timerisr() is similarly misnamed and should also be private since it
  13397. is used only with the xyz_timerisr.c files (2017-02-07).
  13398. * MCG defines are based on the MCG feature configuration. We define the
  13399. bits as a common set of names. This means that an index may be added to
  13400. a name i.e. LOCK is LOCK0 as that is the superset name. From David
  13401. Sidrane (2017-02-07).
  13402. * Fixes illdefined BOARD_FR_DIV with BOARD_FRDIV from MCG. Original
  13403. BOARD_FR_DIV was never used - that is a good thing because the value ws
  13404. defined shifted and the code also shifted it. From David Sidrane
  13405. (2017-02-07).
  13406. * Added MCG settings that are defiend on the K64 SoC. Added
  13407. BOARD_MCG_C2_FCFTRIM and BOARD_MCG_C2_LOCRE0 to configure the MCG_C2
  13408. register cleanup of some comments. From David Sidrane (2017-02-07).
  13409. * Better granualarity and errno checking of the board's MCG settings.
  13410. Allow for complete MCG_C2 definition from the boart.h file. Moved
  13411. #ifdef out of code by setting default values. Allow for individule bit
  13412. setting in MCG_C2 for BOARD_EXTCLOCK_MCG_C2, BOARD_MCG_C2_FCFTRIM,
  13413. BOARD_MCG_C2_LOCRE0. Added range and sanity checking. From David
  13414. Sidrane (2017-02-07).
  13415. * Cosmetic changes from review of last PR (2017-02-07).
  13416. * C library: Remove comments blocks before empty sections (2017-02-08).
  13417. * C Library: Add a very limited, first step implementation of setvbuf().
  13418. This is a collaborative effort. Alan Carvalho de Assis did the initial
  13419. prototype (2017-02-08).
  13420. * setvbuf: Add support for configuration of line buffering (2017-02-08).
  13421. * Bamboo-200E: Add netnsh configuration. From Alan Carvalho de Assis
  13422. (2017-02-08).
  13423. * USBMSC: Always set LUN readonly flag. From Wolfgang Reißnegger
  13424. (2017-02-08).
  13425. * drivers/lcd: ssd1306_configspi() must have global scope (2017-02-09).
  13426. * SIM: Add readlink and setvbuf to nuttx-names.dat (2017-02-09).
  13427. * setvbuf: Add support for disabling I/O bufferin (2017-02-09).
  13428. * setvbuf: Fix some compile errors in first build of logic to
  13429. enable/disable buffering (2017-02-09).
  13430. * C Library: Clean-up buffer selections in Kconfig (2017-02-09).
  13431. * sem_open(): Fix a compiler error introduced with the setvbuf() changes
  13432. (2017-02-09).
  13433. * MMC/SD SDIO: Some drivers need to start DMA before sending CMD24 and
  13434. some AFTER. From Alan Carvalho de Assis (2017-02-09).
  13435. * Kinetis SDHC driver fixes. From Marc Rechté (2017-02-09).
  13436. * Bambino-200E: Use .elf extension on all executables. From Alan Carvalho
  13437. de Assis (2017-02-09).
  13438. * Kinetis: Add support for K66 family. From David Sidrane (2017-02-09).
  13439. * Created a kinetis MCG versioning scheme pulled in by Kinetis chip.h
  13440. The motivations is to version the IP blocks of the Kinetis K series
  13441. family of parts.
  13442. This added versioning and configuration features for the Kinetis MCG IP
  13443. block.
  13444. It is envisioned that in the long term as a chip is added. The author
  13445. of the new chip definitions will either find the exact configuration in
  13446. an existing chip define and add the new chip to it Or add the MCG
  13447. feature configuration #defines to the chip ifdef list in
  13448. arch/arm/include/kinetis/kinetis_mcg.h In either case the author should
  13449. mark it as "Verified to Document Number:" taken from the reference manual.
  13450. The version KINETIS_MCG_VERSION_UKN has been applied to most all the
  13451. SoCs in the kinetis arch prior to this commit.
  13452. The exceptions are the CONFIG_ARCH_CHIP_MK60FN1M0VLQ12, All K64 and K66
  13453. which not have Verified MCG configurations.
  13454. From David Sidrane (2017-02-09).
  13455. * Kinetis chip Adding K66 and including MCG versioning. This includes
  13456. arch/arm/include/kinetis/kinetis_mcg.h to bring in the MCG versioning
  13457. and defines the KINETIS_K66 family for the added SoCs:
  13458. --------------- ------- --- ------- ------- ------ ------ ------ -----
  13459. PART NUMBER CPU PIN PACKAGE TOTAL PROGRAM EEPROM SRAM GPIO
  13460. FREQ CNT FLASH FLASH
  13461. --------------- ------- --- ------- ------- ------ ------ ------ -----
  13462. MK66FN2M0VMD18 180 MHz 144 MAPBGA 2 MB — — KB 260 KB 100
  13463. MK66FX1M0VMD18 180 MHz 144 MAPBGA 1.25 MB 1 MB 4 KB 256 KB 100
  13464. MK66FN2M0VLQ18 180 MHz 144 LQFP 2 MB — — KB 260 KB 100
  13465. MK66FX1M0VLQ18 180 MHz 144 LQFP 1.25 MB 1 MB 4 KB 256 KB 100
  13466. From David Sidrane (2017-02-09).
  13467. * STM32: Fixes the bkp reference counter issue. From David Sidrane
  13468. (2017-02-09).
  13469. * STM32F7: Fixes the bkp reference counter issue. From David Sidrane
  13470. (2017-02-09).
  13471. * C Library: Add setbuf() which is a trivial wrapper around setvbuf()
  13472. (2017-02-09).
  13473. * tools/mkconfig.c: Add logic to keep all of the buffering options in sync
  13474. (2017-02-10).
  13475. * VFS rename: Fix issues with rename to subdirectories and some softlink
  13476. issues (2017-02-11).
  13477. * Add logic to VFS rename: If target of rename exists and is a directory,
  13478. then the source file should be moved 'under' the target directory.
  13479. POSIX also requires that if the target is a file, then that old file
  13480. must be deleted (2017-02-11).
  13481. * rename: An inode with no operations should be treated like a directory
  13482. for the purposes of rename (2017-02-12).
  13483. * rename(): Correct more issues. (1) Move to the root directory in the
  13484. pseudo file system, (2) Fix path naming calculation when the path is the
  13485. root directory of a mounted file system, and (3) dont't do the rename if
  13486. the source and destination of the rename are the same (2017-02-12).
  13487. * Add basic fstat() support (2017-02-12).
  13488. * Add fstat support to binfs (2017-02-12).
  13489. * fstat: Add fstat() support to romfs (2017-02-12).
  13490. * fstat: Add fstat() support to unionfs (2017-02-12).
  13491. * I found an issue inside the cp15_coherent_dcache function in file,
  13492. arch/arm/src/armv7-r/cp15_coherent_dcache.S.
  13493. The "mcr CP15_BPIALLIS(r0)" instruction is used for invalidating entire
  13494. branch predictor. But the problem is, since this is the generic code
  13495. and can be called on any armv7-r architecture based CPU's. It is a
  13496. problem, if this instruction is called in uni processor configuration.
  13497. Because, BPIALLIS (c7, 0, c1, 6) instruction is only added as part of
  13498. the "Multiprocessing Extensions" (As per ARM® Architecture Reference
  13499. Manual /ARMv7-A and ARMv7-R edition)
  13500. So in my opinion, this instruction should be under SMP configuration. In
  13501. non-SMP configuration this instruction could become undefined.
  13502. From Manohara HK (2017-02-13).
  13503. * fstat: Add fstat() support to tmpfs (2017-02-13).
  13504. * fstat: Add fstat() support to nxffs (2017-02-13).
  13505. * fstat: Add fstat() support to nfs (2017-02-13).
  13506. * NFS: Use clock_gettime() instead of deprecated gettimeofday()
  13507. (2017-02-13).
  13508. * fstat: Add fstat() support to FAT. From Alan Carvalho de Assis
  13509. (2017-02-13).
  13510. * ROMFS: stat() and fstat() should always indicate that directories are
  13511. executable (2017-02-13).
  13512. * Kinetis SDHC - Enable clock after selected. From David Sidrane
  13513. (2017-02-14).
  13514. * Kinetis SPI and I2C are 0 based. The K whole family line has max 4 or
  13515. each. But the supported parts have the maximums listed below:
  13516. K46 and K66 3 SPI SPI0-SPI2
  13517. K46 and K66 4 I2C I2C0-I2C3
  13518. From David Sidrane (2017-02-10).
  13519. * Add support for NXP Freedom-k66f development board. From David Sidrane
  13520. (2017-02-14).
  13521. * Kinetis: Define Alternate addresses for IP blocks in both AIPS0 &
  13522. AIPS1. Added ALT version of RNGA, FTM2, DAC0 as a facility to later
  13523. define secondary access via AIPS1 to these peripherals. From David
  13524. Sidrane (2017-02-14).
  13525. * Kinetis: Add support for K66. From David Sidrane (2017-02-14).
  13526. * procfs: stat() left several fields in uninitialized state (2017-02-14).
  13527. * hostfs: Add support for fstat() (2017-02-14).
  13528. * procfs: Add support for fstat() (2017-02-14).
  13529. * smartfs: Add support for fstat() (2017-02-14).
  13530. * Kinetis Freedom K66F: Add Ethernet support. From David Sidrane
  13531. (2017-02-14).
  13532. * LPC43 serial: Correct conditional logic that selects /dev/ttySN.
  13533. Problem noted by Alan Carvalho de Assis (2017-02-14).
  13534. * Add usbnsh config to Bambino 200E board. From Alan Carvalho de Assis
  13535. (2017-02-14).
  13536. * procfs: Most stat() implementations were not initializating the
  13537. st_atime, st_ctime, and st_mtime fields (2017-02-15).
  13538. * Kinetis Support RMII clock source select. This defined the RMII clock
  13539. source select bits and allows the selection to be made via Kconfig.
  13540. From David Sidrane (2017-02-15).
  13541. * Kinetis PWM: Add FTM3 to PWM. From David Sidrane (2017-02-15).
  13542. * Kinetis:Freedom-K66F uses ENET_1588_CLKIN as RMII clock. From David
  13543. Sidrane (2017-02-15).
  13544. * Fix for SAMv7 SPI: DLYBS value was calculated, but never written to any
  13545. registers. This led to incorrect timings on the bus. From Michael
  13546. Spahlinger (2017-02-16).
  13547. * C library: Add swab() (2017-02-16).
  13548. * C library: Add strtoimax and strtoumax (2017-02-16).
  13549. * C library: Add ffs(), rindex(), an index(). Add strings.h. Move
  13550. strcasecmp, strncasecmp, bzero, bcmp, and bcopy to where they belong in
  13551. strings.h.h, not string.h. bzero, bcmp, and bcopy are legacy functions;
  13552. the contemporary counterparts should be used instead (2017-02-16).
  13553. * Allow board to configure HSE clock in bypass-mode. This is needed to
  13554. enable HSE with Nucleo-F746ZG board. From Jussi Kivilinna (2017-02-17).
  13555. * C library: Add fstatfs(); fix a reference counting error in fstat()
  13556. (2017-02-17).
  13557. * Update cwchar. Add cwctype (2017-02-17).
  13558. * Add setbuf and setvbuf to cstdio (2017-02-17).
  13559. * Port STM32L4 SAI driver from MDK (2017-02-17).
  13560. * STM32L4: Bring power management logic from Motrola MDK into NuttX
  13561. (2017-02-18).
  13562. * STM32L4: Bring LPTIM driver in from the Motorola MDK (2017-02-18).
  13563. * drivers/sensors: Add driver for the ST L3GD20 3 axis gyro. From
  13564. raiden00 (2017-02-19).
  13565. * config/stm32f429i-disco: Add support for the L3GD20 driver. From
  13566. raiden00 (2017-02-19).
  13567. * STM32L4 COMP: Port from Motorola MDK (2017-02-19).
  13568. * Add twr-k64f120m config and fix some ENET related problems. From Marc
  13569. Rechté (2017-02-19).
  13570. * STM32 F7: stm32_allocateheap: allow use DTCM memory for heap. STM32F7
  13571. has up to 128KiB of DTCM memory that is currently left unused. This
  13572. change adds DTCM to main heap if CONFIG_STM32F7_DTCMEXCLUDE is not
  13573. enabled. From Jussi Kivilinna (2017-02-20).
  13574. * This should resolve issue #30: Audio Tone Generator and PWM Multiple
  13575. Output Channel options. I don't actually have a setup to verify it,
  13576. however (2017-02-20).
  13577. * drivers/tone.c: 50% duty needs to be expressed a a fixed precision
  13578. number (2017-02-21).
  13579. * Kinetis: Created a kinetis SIM versioning scheme pulled in by Kinetis
  13580. chip.h.
  13581. The motvations is to version the IP blocks of the Kinetis K series
  13582. family of parts.
  13583. This added versioning and configuration features for the Kinetis SIM IP
  13584. block.
  13585. It is envisioned that in the long term as a chip is added. The author
  13586. of the new chip definitions will either find the exact configuration in
  13587. an existing chip define and add the new chip to it Or add the SIM
  13588. feature configuration #defines to the chip ifdef list in
  13589. arch/arm/include/kinetis/kinetis_sim.h In either case the author should
  13590. mark it as "Verified to Document Number:" taken from the reference
  13591. manual.
  13592. The version KINETIS_SIM_VERSION_UKN has been applied to most all the
  13593. SoCs in the kinetis arch prior to this commit.
  13594. The exceptions are the CONFIG_ARCH_CHIP_MK60FN1M0VLQ12, All K64 and K66
  13595. which not have Verified SIM configurations.
  13596. From David Sidrane (2017-02-21).
  13597. * Created a kinetis PMC versioning scheme pulled in by Kinetis chip.h.
  13598. The motivation is to version the IP blocks of the Kinetis K series
  13599. family of parts. This added versioning and configuration features for
  13600. the Kinetis PMC IP block. It is envisioned that in the long term as a
  13601. chip is added. The author of the new chip definitions will either find
  13602. the exact configuration in an existing chip define and add the new chip
  13603. to it Or add the PMC fature configuration #defines to the chip ifdef
  13604. list in arch/arm/include/kinetis/kinetis_pmc.h In either case the
  13605. author should mark it as "Verified to Document Number:" taken from the
  13606. reference manual.
  13607. The version KINETIS_PMC_VERSION_UKN has been applied to most all the
  13608. SoCs in the kinetis arch prior to this commit.
  13609. The exceptions are the CONFIG_ARCH_CHIP_MK60FN1M0VLQ12,
  13610. CONFIG_ARCH_CHIP_MK20DXxxxVLH7 All K64 and K66 have been verified PMC
  13611. configurations. From David Sidrane (2017-02-22).
  13612. * Kinetis: kinetis_clockconfig uses the correct ACKISO. ACKISO is located
  13613. in the PMC_REGSC on the majority of the Kinetis SoCs. With the exception
  13614. of the MK40DXxxxZVLQ10 where ACKISO is located in LLWU_CS (2017-02-22).
  13615. * Kinetis: Refactor you use SIM_SOPT2_PLLFLLSEL, added warning. The
  13616. warning has been added because: SIM_SOPT2_PLLFLLSEL is a clock selection
  13617. that may feed many clock subsystem: USB, TPM, SDHCSRC, LPUARTSRC.
  13618. Therefore, there needs to be a global board level setting to select the
  13619. source for SIM_SOPT2_PLLFLLSEL and then derive all the sub selections
  13620. and proper fractions/divisors for each modules clock. From David
  13621. Sidrane (2017-02-22).
  13622. * Add support to QEncoder on STM32F103Minimum board. From Alan Carvalho
  13623. de Assis (2017-02-23).
  13624. * Olimex STM32 p407: Add external SRAM support. Unfortunately not usable
  13625. or testable unless you also disable the serial console (2017-02-23).
  13626. * drivers/spi/Kconfig: There is too much SPI in the configuration menu;
  13627. SPI Driver Support menu is empty. From Maciej Wójcik (2017-02-23).
  13628. * Kinetis: SIM add paramiterized SIM_CLKDIVx_xxFRAC|DIV macros. The makes
  13629. for cleaner board definitions. From David Sidrane (2017-02-23).
  13630. * kinetis_enet.c add #define for number of loops for auto negotiation to
  13631. complete. From Marc Rechté (2017-02-23).
  13632. * STM32F4 Discovery: Fix issues with QEncoder support. From Alan Carvalho
  13633. de Assis (2017-02-23).
  13634. * sigtimedwait: When timer expires, up_unblock_task() is called. This is
  13635. okay in the single CPU case because interrupts are disable in the timer
  13636. interrupt handler. But it is insufficient in the SMP case. enter_ and
  13637. leave_critical_section() must be called in order to manage spinlocks
  13638. correctly (2017-02-23).
  13639. * Fix QEncoder driver, based on STM32L4 driver. From Alan Carvalho de
  13640. Assis (2017-02-23).
  13641. * STM32 QEncoder. Enable clocking to the timer on QE setup; disable clock
  13642. on QE teardown (2017-02-23).
  13643. * Kinetis: Extend clockconfig to support SOPT2_PLLFLLSEL and
  13644. SIM_CLKDIV3. A board.h file can now specify the: 1)
  13645. BOARD_SOPT2_PLLFLLSEL to select the output of the SIM_SOPT2 MUX from:
  13646. MCGFLLCLK, MCGPLLCLK, USB1PFD, and IRC48MHZ. 2) If it defines
  13647. BOARD_SIM_CLKDIV3_FREQ then it must define BOARD_SIM_CLKDIV3_PLLFLLFRAC
  13648. and BOARD_SIM_CLKDIV3_PLLFLLDIV which wil be used to cpnfigure
  13649. SIM_CLKDIV3 [PLLFLLFRAC, PLLFLLDIV]. From David Sidrane (2017-02-23).
  13650. * Kinetis serial: Added configurable 1|2 stop bits. HAVE_SERIAL_CONSOLE
  13651. -> HAVE_UART_CONSOLE to be consistent with HAVE_LPUART_CONSOLE naming.
  13652. From David Sidrane (2017-02-23).
  13653. * Kinetis: Add LPUART serial driver and Clock configuartaion to
  13654. freedom-k66f board. Pin out LPUART0 for testing. Define
  13655. BOARD_SOPT2_PLLFLLSEL ti select MCGPLLCLK. Define
  13656. BOARD_SIM_CLKDIV3_FREQ etal to provide BOARD_LPUART0_FREQ. From David
  13657. Sidrane (2017-02-25).
  13658. * QEncoder: Add mechanism to assure that architecture-specific IOCTL
  13659. commands do not overlap (2017-02-25).
  13660. * include/nuttx/analog: Add an ioctl.h header file to coordinate analogic
  13661. driver IOCTL commands (2017-02-25).
  13662. * CAN: Add infrastructure to assure that all CAN IOCTL commands are
  13663. uniquely numbered (2017-02-25).
  13664. * Wireless and TSC: Add infrastructure to assure that all IOCTL commands
  13665. are uniquely numbered (2017-02-25).
  13666. * Add basic support for the STM32F334 and Nucleo F334R8 board. From
  13667. Mateusz Szafoni (2017-02-16).
  13668. * SAM3/4: GPIO bit numbering typo fixes. From Wolfgang Reißnegger
  13669. (2017-02-26).
  13670. * Add SDCard support over SPI on STM32F103-Minimum board. From Alan
  13671. Carvalho de Assis (2017-02-26).
  13672. * option to enable Memory Card debug output was hidden with SD cards
  13673. connected through SPI. From Maciej Wójcik (2017-02-27).
  13674. * Kinetis serial: Fixed up_rxint - did not disable the RX interuppts.
  13675. There was an OR where and AND NOT was needed. From David Sidrane
  13676. (2017-02-27).
  13677. * Kinetis:Add the configuring SIM_CLKDIV2[USBFRAC, USBDIV] in
  13678. kinetis_clockconfig. If a board.h provides BOARD_SIM_CLKDIV2_FREQ it
  13679. will configure the SIM_CLKDIV2 based on the additional provided
  13680. BOARD_SIM_CLKDIV2_USBFRAC and BOARD_SIM_CLKDIV2_USBDIV. The reason for
  13681. doing this globaly is that the output the SIM_CLKDIV2 divisor may be
  13682. also used for other IP blocks in future configurations (as is done for
  13683. SIM_CLKDIV3). From David Sidrane (2017-02-27).
  13684. * Kinetis: Refactor clocking in kinetis_usbdev. (1) Removed
  13685. SIM_CLKDIV2[USBFRAC, USBDIV] setting as it is now, done in
  13686. kinetis_clockconfig, (2) Use BOARD_USB_CLKSRC to select the clock source
  13687. to the USB block, (3) Removed CONFIG_TEENSY_3X_OVERCLOCK from the driver
  13688. as the board.h will now provide BOARD_SIM_CLKDIV2_USBDIV and
  13689. BOARD_SIM_CLKDIV2_USBFRAC to the kinetis_clockconfig. From David
  13690. Sidrane (2017-02-27).
  13691. * Kinetis: Use BOARD_xxxx to drive system clocking: (1) Shifted the clock
  13692. speed of MK20DX128VLH5 to 48 Mhz to be able to uses USB. (2) Set
  13693. BOARD_OUTDIV3 to 0 - there is no BOARD_OUTDIV3 on a MK20DX128VLH5 or
  13694. K20DX256VLH7, (3) Added BOARD_SOPT2_PLLFLLSEL and BOARD_SOPT2_FREQ along
  13695. with settings for BOARD_SIM_CLKDIV2_USBFRAC and BOARD_SIM_CLKDIV2_USBDIV
  13696. base on the BOARD_SOPT2_FREQ. From David Sidrane (2017-02-27).
  13697. * Kinetis: Define uart and lpuart versions of [early]serialinit. Add
  13698. serial init to centralize UART/LPUART management. Use kinetis_ not up_
  13699. where arch specific. Defined kinetis_[lp]uart_[early]serialinit to
  13700. facilitate bring up both UARTs and LPUARTs as devices and a console.
  13701. Support ordering and merging of serial devices names. From David
  13702. Sidrane (2017-02-27).
  13703. * Adapt more drivers to utilize the IRQ argument feature (2107-02-28).
  13704. * irq_attach() and type xcpt_t. irq_attach now accepts a argument that
  13705. will be provided to the interrupt handler when the interrupt ocurrs.
  13706. This affects many files by replace ad hoc parameter passing logic with a
  13707. standardized approach. From Mark Schulte (2017-03-01).
  13708. * Fix open() a block device with CONFIG_DISABLE_PSEUDOFS_OPERATIONS=y.
  13709. From Masayuki Ishikawa (2017-03-01).
  13710. * net/: Fixed a nullptr-dereference on iob_clone. From Pascal Speck
  13711. (2017-03-01).
  13712. * configs/: All functions that used to return an xcpt_t old handler value,
  13713. not return NULL. The oldhandler value is no longer useful with the
  13714. recent changes to the interrupt argument passing (2017-03-02).
  13715. * arch_phy_irq: Now returns int instead of xcpt_t oldhandler. The
  13716. oldhandler is useless after the changes to the interrupt argument. Also
  13717. access an argument for the PHY interrupt. phy_notify.c driver changed
  13718. to exploit new interrupt argument passing (2017-03-02).
  13719. * STM32/F7/L4: EXTI PVD function no longer returns the xcpt_t oldhandler.
  13720. There value is useless and dangerous after the recent changes to
  13721. interrupt argument passing (2017-03-02).
  13722. * STM3 L4: EXTI COMP function no longer returns the xcpt_t oldhandler.
  13723. There value is useless and dangerous after the recent changes to
  13724. interrupt argument passing (2017-03-02).
  13725. * STM32/F7/L4: EXTI ALARM function no longer returns the xcpt_t
  13726. oldhandler. There value is useless and dangerous after the recent
  13727. changes to interrupt argument passing (2017-03-02).
  13728. * Add support to USB Device on STM32F103-Minimum board. From Alan
  13729. Carvalho de Assis (2017-03-02).
  13730. * Kinetis GPIO: Pin IRQ logic no longer returns the xcpt_t oldhandler.
  13731. There value is useless and dangerous after the recent changes to
  13732. interrupt argument passing (2017-03-02).
  13733. * STM32 Ethernet: Need two work structures so that pending poll work is
  13734. not lost when an interrupt occurs (2017-03-02).
  13735. * Kinetis-L GPIO: Pin IRQ logic no longer returns the xcpt_t oldhandler.
  13736. There value is useless and dangerous after the recent changes to
  13737. interrupt argument passing (2017-03-02).
  13738. * PIC32MX: Pin IRQ logic no longer returns the xcpt_t oldhandler. There
  13739. value is useless and dangerous after the recent changes to interrupt
  13740. argument passing (2017-03-02).
  13741. * PIC32MZ: Pin IRQ logic no longer returns the xcpt_t oldhandler. There
  13742. value is useless and dangerous after the recent changes to interrupt
  13743. argument passing (2017-03-02).
  13744. * STM32 L4: Pin IRQ logic no longer returns the xcpt_t oldhandler. There
  13745. value is useless and dangerous after the recent changes to interrupt
  13746. argument passing (2017-03-02).
  13747. * Tiva: Pin IRQ logic no longer returns the xcpt_t oldhandler. There
  13748. value is useless and dangerous after the recent changes to interrupt
  13749. argument passing (2017-03-02).
  13750. * board_button_irq: Button IRQ logic no longer returns the xcpt_t
  13751. oldhandler. There value is useless and dangerous after the recent
  13752. changes to interrupt argument passing (2017-03-02).
  13753. * stm32_gpiosetevent: GPIO IRQ logic no longer returns the xcpt_t
  13754. oldhandler. This value is useless and dangerous after the recent
  13755. changes to interrupt argument passing (2017-03-02).
  13756. * Implements support for smaller interrupt tables as described at
  13757. http://www.nuttx.org/doku.php?id=wiki:howtos:smallvectors . This is
  13758. largely the work of Mark Schulte. However, I have made several changes
  13759. to match with the Wiki document. If you like the change, thanks go to
  13760. Marc. For any errors you can blame me (2017-03-03).
  13761. * Experimental change to STM32 Ethernet driver a success. Porting change
  13762. to all other Ethernet drivers (2017-03-03).
  13763. * FS: Don't build block driver proxy if PSEUDOFS_OPERATIONS are disabled
  13764. (2017-03-04).
  13765. * drivers/net: Add framework for serialization in the case where multiple
  13766. low-priority work queues are used (2017-03-04).
  13767. * net/drivers/skeleton.c: Back out serialization changes of the last
  13768. commit. They are not necessary in the skeleton.c example because the
  13769. calls to net_lock() at the beginning of each worker function will
  13770. enforce serialization (2017-03-04).
  13771. * STM32F33XX DAC, OPAMP, COMP and ADC headers. From Mateusz Szafoni
  13772. (2017-03-04).
  13773. * STM32 F7 SDMMC: Use new interrupt argument facility (2017-03-05).
  13774. * stm32f33xxx: Add HRTIM header file. From Mateusz Szafoni (2017-03-05).
  13775. * sendfile(): Fix error introduced with commit
  13776. ff73be870e38959b0aaee5961dc47b4b58dc2d86. Noted by Maciej Wójcik
  13777. (2017-03-05).
  13778. * Kinetis: Eliminate warning when USE_EARLYSERIALINIT is not defined
  13779. (2017-03-05).
  13780. * STM3210E-EVAL: Eliminte a warning. Return type of board_button_irq is
  13781. now type int (2017-03-05).
  13782. * dk-tm4c129x: Remove warning for variable that is set but not used
  13783. (2017-03-05).
  13784. * SAMA5D4-EK: Eliminate warning. Correct type of return value
  13785. (2017-03-05).
  13786. * STM32F103 Minimum: Eliminate warning stm32_usbdev.o givne twice in same
  13787. rule (2017-03-05).
  13788. * STM32 OTGHS host: stm32_in_transfer() fails and returns NAK if a
  13789. short transfer is received. This causes problems from class drivers
  13790. like CDC/ACM where short packets are expected. In those protocols,
  13791. any transfer may be terminated by sending short or NUL packet. From
  13792. Janne Rosberg. Adapt Janne Rosberg's patch to STM32 OTGHS host to
  13793. OTGFS host, and to similar USB host implementations for STM32 L4 and
  13794. F7 (2017-03-07).
  13795. * usbhost_cdcacm: Fix tx outbuffer overflow and remove now invalid
  13796. assert. From Janne Rosberg (2017-03-07).
  13797. 7.21 2017-06-05 Gregory Nutt <gnutt@nuttx.org>
  13798. * tools/kconfig2html: Need to increase the maximum number of default
  13799. values (2017-03-08).
  13800. * C library: Add strerror_r() (2017-03-08).
  13801. * C Library: Add wcstoull(), swprintf(), wcstod(), wcstof(), wcstol(),
  13802. wcstold(), wcstoul(), wcstoll() functions. Add mbsnrtowcs() and
  13803. wcsnrtombs() (just returning success). Add mbtowc() and wctomb() to
  13804. C++ std namespace. From Alan Carvalho de Assis (2017-03-08).
  13805. * Kinetis: Fixed GPIO _PIN_OUTPUT_LOWDRIVE swapped with
  13806. _PIN_OUTPUT_OPENDRAIN. From David Sidrane (2017-03-08).
  13807. * Ensure interrupts are back on BEFORE running code dependant on
  13808. clock_systimer. From David Sidrane (2017-03-08).
  13809. * Enable compilation of libc++ same way as uClibc++. From Alan
  13810. Carvalho de Assis (2017-03-08).
  13811. * Add LPC4337FET256. From Andreas Bihlmaier (2017-03-09).
  13812. * Change Kconfig type of ADC0_MASK from hex to int; add ADC driver
  13813. options to lpc43xx. From Andreas Bihlmaier (2017-03-09).
  13814. * Add missing PINCONF_INBUFFER in several places of
  13815. lpc4310203050_pinconfig.h. From Andreas Bihlmaier (2017-03-09).
  13816. * Rename LPC43_GPDMA_GLOBAL_CONFIG (already slipped previous commit C
  13817. file); fix GPDMA_CONTROL_SBSIZE_*, improve usability of
  13818. GPDMA_CONTROL_{S,D} macros. From Andreas Bihlmaier (2017-03-09).
  13819. * Fix errors in LPC43 SCT and SGPIO headers. From Andreas Bihlmaier
  13820. (2017-03-09).
  13821. * Fix logic error in lpc43_adc. From Andreas Bihlmaier (2017-03-09).
  13822. * Fix logic in preprocessor checks and correct arguments to
  13823. lpc43_pin_config initialization. From Andreas Bihlmaier (2017-03-09).
  13824. * Use correct macro for irqid (fortunately both point to
  13825. LPC43_IRQ_EXTINT+18). From Andreas Bihlmaier (2017-03-09).
  13826. * Actually write modified value to register. From Andreas Bihlmaier
  13827. (2017-03-09).
  13828. * Increase number of supported PWM channels from 4 to 6. From Andreas
  13829. Bihlmaier (2017-03-09).
  13830. * Fix as5048b by adding missing frequency parameter. From Andreas
  13831. Bihlmaier (2017-03-09).
  13832. * Kinetis: Allow Board to add Pullups on SDHC lines. From David
  13833. Sidrane (2017-03-09).
  13834. * EZ80F910200KITG: Missing support logic in configs/Kconfig (2017-03-09).
  13835. * Olimex-STM32-P407: Update USB host support (2017-03-09).
  13836. * Olimex STM32 P407: USB host support for USB FLASH sticks is now
  13837. supported in the base nsh configuration (2017-03-09).
  13838. * STM32, STM32 F7, and STM32 L4: Back out part of
  13839. 3331e9c49aaaa6dcc3aefa6a9e2c80422ffedcd3. Returning immediately in
  13840. the case of a NAK makes the Mass Storage Class driver unreliable.
  13841. The retry/timeout logic is necessary. This implementation tries to
  13842. implement a compromise: If a NAK is received after some data is
  13843. received, then the partial data received is returned as with
  13844. 3331e9c49aaaa6dcc3aefa6a9e2c80422ffedcd3. If if a NAK is received
  13845. with no data, then no longer returns the NAK error immediately but
  13846. retries until data is received or a timeout occurs. Initial testing
  13847. indicates that this fixes the issues the MSC. However, I have
  13848. concerns that if multiple sectors are read in one transfer, there
  13849. could be NAKs between sectors as well and, in that case, then change
  13850. will still cause failures (2017-03-09).
  13851. * STM32F2: Add USB OTG HS support for stm32f20xxx cores. From Simon
  13852. Piriou (2017-03-09).
  13853. * Remove all references to arch_usbhost_initialize(). That was
  13854. incorrectly called from apps/examples/hidkbd. That is violation of
  13855. the OS interfacing rules and will no longer be supported. USB host
  13856. should be initialized as part of the board bring-up logic was with
  13857. any other devices and should not involve illegal calls from
  13858. applications into the OS (2017-03-09).
  13859. * STM32, STM32 F7, STM32 L4: OTG host drivers: Do not do data toggle
  13860. if interrupt transfer is NAKed. Sugested by webbbn@gmail.com
  13861. (2017-03-09).
  13862. * apps/examples/usbterm is gone because it can be configured to perform
  13863. an illegal call into the OS. Remove all traces of
  13864. CONFIG_EXAMPLES_USBTERM* and all of the illegal device support
  13865. (2017-03-09).
  13866. * Save elapsed time before handling I2C in stm32_i2c_sem_waitstop().
  13867. This patch follows the same logic as in previous fix to
  13868. stm32_i2c_sem_waitdone(). It is possible that a context switch
  13869. occurs after I2C registers are read but before elapsed time is saved
  13870. in stm32_i2c_sem_waitstop(). It is then possible that the registers
  13871. were read only once with "elapsed time" equal 0. When scheduler
  13872. resumes this thread it is quite possible that now "elapsed time" will
  13873. be well above timeout threshold. In that case the function returns
  13874. and reports a timeout, even though the registers were not read
  13875. "recently". Fix this by inverting the order of operations in the loop
  13876. - save elapsed time before reading registers. This way a context
  13877. switch anywhere in the loop will not cause an erroneous "timeout"
  13878. error. From Freddie Chopin (2017-03-10).
  13879. * pthreads: Fix pthread_mutexattr_init(). It was not initializing the
  13880. protocol field when priority inheritance is enabled (2017-03-10).
  13881. * Priority inheritance: When CONFIG_SEM_PREALLOCHOLDERS==0, there is
  13882. only a single, hard-allocated holder structure. This is problem
  13883. because in sem_wait() the holder is released, but needs to remain in
  13884. the holder container until sem_restorebaseprio() is called. The call
  13885. to sem_restorebaseprio() must be one of the last things the
  13886. sem_wait() does because it can cause the task to be suspended. If in
  13887. sem_wait(), a new task gets the semaphore count then it will fail to
  13888. allocate the holder and will not participate in priority
  13889. inheritance. This fix is to add two hard-allocated holders in the
  13890. sem_t structure: One of the old holder and one for the new holder
  13891. (2017-03-10).
  13892. * STM32, STM32 F7, and STM32 L4: Clone Freddie Chopin's I2C change to
  13893. similar STM32 I2C drivers. From David Sidrane (2017-03-10).
  13894. * Priority Inversion fixes: Initalization. From David Sidrane
  13895. (2017-03-10).
  13896. * configs: Add Particle Photon board support. From Simon Piriou
  13897. (2017-03-10).
  13898. * tools/testbuild.sh: Add debug option (-d) (2017-03-10).
  13899. * multiple fixes in nrf24l01 driver: (1) signal POLLIN if there is
  13900. already data in the FIFO, (2) send ETIMEDOUT to userspace after 2
  13901. seconds if TX IRQ was not received, (3) handle FIFO overflow, (4)
  13902. handle invalid pipes/empty FIFO, and (5) multiple cosmetics (missing
  13903. static, duplicate define, missing \n). From Leif Jakob (2017-03-10).
  13904. * STM32 F33 ADC: Correct bad definitions of base addresses; Fix
  13905. naming collision by changing colliding STM32_ADC12_BASE to
  13906. STM32_ADC12_CMN_BASE (2017-03-10).
  13907. * photon: Add iwdg timer support. From Simon Piriou (2017-03-11).
  13908. * photon: Add usb otg hs support and usbnsh app. From Simon Piriou
  13909. (2017-03-11).
  13910. * photon: Add LEDs and BUTTONS support. From Simon Piriou (2017-03-11).
  13911. * As discovered by dcabecinhas. This fix assume the 8 byte alignment
  13912. options for size stack size or this will overwrite the first word
  13913. after TOS. See
  13914. https://github.com/PX4/Firmware/issues/6613#issuecomment-285869778.
  13915. From David Sidrane (2017-03-11).
  13916. * STM32F20xxx: Add BOARD_DISABLE_USBOTG_HSULPI flag. From Simon
  13917. Piriou (2017-03-11).
  13918. * STM32: Propagate STM32 F2 changes of last PR to STM32 F4 and F7
  13919. OTGHS (2017-03-11).
  13920. * STM32 OTG HS: A little research reveals that only the F2 RCC
  13921. initialization set the OTGHSULPIEN bit and Photon is the only F2
  13922. board configuration that uses OTG. Therefore, we can simplify the
  13923. conditional logic of the last PR. Negative logic was used (#ifndef
  13924. BOARD_DISABLE_USBOTG_HSULPI) to prevent bad settings in other
  13925. configurations. But giveh these facts, the preferred positive logic
  13926. now makes more sense (#ifdef BOARD_ENABLE_USBOTG_HSULPI) (2017-03-11).
  13927. * STM32: OTG host implementations of stm32_in_transfer() must obey the
  13928. polling interval for the case of isochronous and interrupt endpoints
  13929. (2017-03-12).
  13930. * Photon: Add basic support for wlan chip. From Simon Piriou
  13931. (2017-03-12).
  13932. * Networking: Add registration support for integrated ieee80211
  13933. wireless drivers. Rename CONFIG_IEEE802154 to
  13934. CONFIG_WIRELESS_IEEE8021514 following the convention of including the
  13935. location of the configuration variable as a part of its name
  13936. (2017-03-12).
  13937. * If whence is SEEK_END, the file offset shall be set to the size of
  13938. the file plus offset. Noted by eunb.song@samsung.com (2017-03-13).
  13939. * Move IEEE 802.11 wireless IOCTLs from include/nuttx/net/ioctl to
  13940. include/nuttx/wireless/wireless.h. Add some Linux compatible
  13941. structures to use with the IOCTL commands. (2017-03-13).
  13942. * semaphore: sem_holder sem_findholder missing inintalization of
  13943. pholder. sem_findholder would fail and code optimization covered
  13944. this up. From David Sidrane (2017-03-13).
  13945. * Partial Fix priority inheritance CONFIG_SEM_PREALLOCHOLDERS=0. From
  13946. David Sidrane (2017-03-13).
  13947. * semaphore: sem_boostholderprio prevent overrun of pend_reprios. The
  13948. second case rtcb->sched_priority <= htcb->sched_priority did not
  13949. check if there is sufficient space in the pend_reprios array. From
  13950. David Sidrane (2017-03-13).
  13951. * Include C++ library to 'make export'. From Alan Carvalho de Assis
  13952. (2017-03-13).
  13953. * arch/arm/src/xmc4: Initial, partial support for Infineon XMC4xxx
  13954. (2017-03-14).
  13955. * photon: Porting wlan device. From Simon Piriou (2017-03-14).
  13956. * lp_worker: Guard from pend_reprios overlow. From David Sidrane
  13957. (2017-03-15).
  13958. * wireless/ieee802154: Renamed file ieee802154_device to
  13959. radio802154_device. From Anthony Merlino (2017-03-15).
  13960. * Add option to enable wireless debug output (2017-03-15).
  13961. * wireless/ieee802.15.4: Refactors ieee802154_dev character driver to
  13962. be radio802154_device. From Anthony Merlino (2017-03-15).
  13963. * Integrate use of new wireless debug macros. Replace ad hoc debug
  13964. macros. Convert obsolete dbg() macros to current info(), warn(),
  13965. err() macros (2017-03-15).
  13966. * sem_holder: Fixes improper restoration of base_priority in the case
  13967. of CONFIG_SEM_PREALLOCHOLDERS=0. The call to
  13968. sem_restorebaseprio_task context switches in the
  13969. sem_foreachholder(sem, sem_restoreholderprioB, stcb); call prior to
  13970. releasing the holder. So the running task is left as a holder as is
  13971. the started task. Leaving both slots filled thus failing to perform
  13972. the boost/or restoration on the correct tcb. This PR fixes this by
  13973. releasing the running task slot prior to reprioritization that can
  13974. lead to the context switch. To faclitate this, the interface to
  13975. sem_restorebaseprio needed to take the tcb from the holder prior to
  13976. the holder being freed. In the failure case where sched_verifytcb
  13977. fails it added the overhead of looking up the holder. There is also
  13978. the additional thunking on the foreach to get from holer to
  13979. holder->tcb. An alternate approach could be to leve the interface
  13980. the same and allocate a holder on the stack of sem_restoreholderprioB
  13981. copy the sem's holder to it, free it as is done in this pr and and
  13982. then pass that address sem_restoreholderprio as the holder. It could
  13983. then get the holder's tcb but we would keep the same sem_findholder
  13984. in sched_verifytcb. From David Sidrane (2017-03-15).
  13985. * ARM: Remove redundant interrupt stack coloring. From David
  13986. Cabecinhas (2017-03-16).
  13987. * ARM: Set EABI stack alignment for all ARM architectures (remove OABI
  13988. code). From David Cabecinhas (2017-03-16).
  13989. * Remove redundant interrupt stack coloring and OABI code. From David
  13990. Cabecinhas (2017-03-16).
  13991. * Fixed descritpions of NUC100/120. From no1wudi (2017-03-16).
  13992. * XMC4500 Relax: Add basic board support infrastructure of Infineon
  13993. XMC4500 Relax Lite v1 (2017-03-16).
  13994. * Fix mksyscall host binary name. From Alan Carvalho de Assis
  13995. (2017-03-16).
  13996. * sem_holder: The logic for the list version is unchanged. From David
  13997. Sidrane (2017-03-16).
  13998. * sem_holder: Fixes improper restoration of base_priority. From David
  13999. Sidrane (2017-03-17).
  14000. * C Library: printf: Fix precision for string formatting. Fixes use
  14001. of format precision to truncate input string. From Jussi Kivilinna
  14002. (2017-03-17).
  14003. * vsnprintf(): If size is zero, then vsnprintf() should return the
  14004. size of the required buffer without writing anything. This is same
  14005. fix that was done for snprintf in 2014 by commit
  14006. 59846a8fe928abb389e3776ebdbb52022da45be3. From Jussi Kivilinna
  14007. (2017-03-17).
  14008. * Adds driver support for the XBox One controller. Currently only the
  14009. latest version (XBox One X) controller works. The older XBox One
  14010. controllers do not enumerate correctly. From Brian Webb (2017-03-17).
  14011. * USB Host driver for the XBox One game controller. From Brian Webb
  14012. (2017-03-18).
  14013. * ARM: Fix off-by-one interrupt stack allocation in 8-byte aligned
  14014. architectures. From David Cabecinhas (2017-03-18).
  14015. * configs/nucleo_f334r8: Add ADC example. From Mateusz Szafoni
  14016. (2017-03-18).
  14017. * mtd/progmem: Fix incorrect target address calculation.
  14018. progmem_read/write() is incorrectly calculating the target address,
  14019. expecting the offset argument is given in a block number. This is
  14020. completely wrong and as a result invalid flash region is accessed.
  14021. Byte-oriented read/write interfaces of mtd device accept the target
  14022. address in a byte offset, not a block number. From Heesub Shin
  14023. (2017-03-18).
  14024. * STM32F33: Move DMA logic to a separate files + add ADC support. From
  14025. Mateusz Szafoni (2017-03-18).
  14026. * Nucleo-F334R8: Add COMP support. From Mateusz Szafoni (2017-03-19).
  14027. * STM32F3: Add COMP support. From Mateusz Szafoni (2017-03-19).
  14028. * XMC4xxx/XMC4500 Relax: First, clean build of basic NSH configurtion
  14029. (2017-03-20).
  14030. * XMC4500-Relax: Add LED support (2017-03-20).
  14031. * input/mxt: Prevent overriding i2c transfer return value.
  14032. put_reg/get_reg function was overriding i2c transfer error code with
  14033. i2creset return value, that lead to OK status although actual
  14034. transfer failed. From Juha Niskanen (2017-03-21).
  14035. * drivers/audio/wm8904: WM8904 has same problem as that fixed by Juha
  14036. Niskanen in the MaxTouch driver (2017-03-21).
  14037. * drivers/lcd/st7565.c: Extend to include support for the AQM_1248A.
  14038. From Masayuki Ishikawa (2017-03-21).
  14039. * Fixed wrong assert on udp dgram send. From Pascal Speck (2017-03-21).
  14040. * sem_holder: Indexing error. From David Sidrane (2017-03-21).
  14041. if (sem->holder[0].htcb != NULL || sem->holder[**1**].htcb != NULL)
  14042. * sched/semaphore: Convert strange use of DEBUGASSERT to DEBUGPANIC
  14043. (2017-03-21).
  14044. * sched/semaphore: Fix a warning aout an unused variable when priority
  14045. inheritance is enabled (2017-03-21).
  14046. * Clicker2-STM32: Add support for Mikroelektronika Clicker 2 for
  14047. STM32. From Anthony Merlino (2017-03-21).
  14048. * Implement DMA support for the stm32f4 I2C. Max and I have verified
  14049. that it works on our systems. From Rajan Gill (2017-03-21).
  14050. * drivers/lcd/st7565.c: Use ST7565_POWERCTRL_INT instead of
  14051. ST7565_POWERCTRL_BRF. From Masayuki Ishikawa (2017-03-21).
  14052. * SMP Kconfig: Change the minimum SMP_NCPUS to 1. From Masayuki
  14053. Ishikawa (2017-03-21).
  14054. * SMP: Setting CONFIG_SMP_NCPUS=1 should only be permitted in a debug
  14055. configuration (2017-03-22).
  14056. * Clicker2-STM32: Create src/, kernel/, and scripts/ directories
  14057. (2017-03-22).
  14058. * Clicker2-STM32: Add an NSH configuration (2017-03-22).
  14059. * Clicker2 STM32: Add SPI support (2017-03-22).
  14060. * XMC4xxx: Add FPU support. From David S. Alessio (2017-03-22).
  14061. * Clicker2-STM32: Add definitions for remaining mikroBUS pins
  14062. (2017-03-22).
  14063. * STM32: Fix erase sector number for microcontrolers with more than 11
  14064. sectors. Erase a sector from the second bank cause the bit 4 of SNB
  14065. being set but never unsed, so trying to erase a sector from the first
  14066. bank was acually eraseing a sector from the second bank. From José
  14067. Roberto de Souza (2017-03-22).
  14068. * STM32: Make up_progmem thread safe. Writing to a flash sector while
  14069. starting the erase of other sector have a undefined behavior so lets
  14070. add a semaphore and syncronize access to Flash registers. But for
  14071. the semaphore to work it needs to be initialized so each board needs
  14072. call stm32_flash_initialize() on initialization, so to avoid runtime
  14073. problems it is only using semaphore and making it thread safe if
  14074. initialized, after all boards starts to call stm32_flash_initialize()
  14075. we can remove the boolean and the check. From José Roberto de Souza
  14076. (2017-03-22).
  14077. * STM32: Add workaround for flash data cache corruption on
  14078. read-while-write. This is a known hardware issue on some STM32 see
  14079. the errata of your model and if you make use of both memory banks you
  14080. should enable it. From José Roberto de Souza (2017-03-22).
  14081. * Clicker2-STM32: Add framework for MRF24J40 support. Untested and
  14082. still some missing logic (2017-03-22).
  14083. * STM32 Flash fixes. From José Roberto de Souza (2017-03-22).
  14084. * STM32F7: In stm32_allocateheap.c There are 5 not 4 configurations.
  14085. From David Sidrane (2017-03-23).
  14086. * Clicker2-STM32: Add logic to register the MRF24J40 radio character
  14087. device (2017-03-23).
  14088. * Clicker2-STM32: Add some mostly bogus MAC initializatinon logic
  14089. (2017-03-23).
  14090. * STM32 I2C: Do not allow CONFIG_I2C_POLLED and CONFIG_I2C_DMA. From
  14091. Rajan Gill (2017-03-23).
  14092. * stm32_flash: Need conditinal on non F4 targets. From David Sidrane
  14093. (2017-03-23).
  14094. * stm32_i2c_alt: Duplicate non CS dev of regval. From David Sidrane
  14095. (2017-03-23).
  14096. * stm32f40xxx_i2c: Duplicate non CS dev of regval. From David Sidrane
  14097. (2017-03-23).
  14098. * stm32_i2c_alt: Move def of regval to top func def per CS. From
  14099. David Sidrane (2017-03-31).
  14100. * stm322_flash: Missing unlock on F1 HSI off path. From David Sidrane
  14101. (2017-03-24).
  14102. * Fix compile error when disabled the flash data cache corruption for
  14103. stm32 f1xx. From no1wudi (2017-03-24).
  14104. * The interrupt occurs over the counter overflow. From Aleksandr
  14105. Vyhovanec (2017-03-24).
  14106. * I needed to use DS3231, I remember that in past it worked ok, but now
  14107. for stm32f4xx is used another driver (chip
  14108. specific, stm32f40xxx_i2c.c) and DS3231 driver doesn't work. After
  14109. investigating a problem I found that I2C driver (isr routine) has a
  14110. few places there it sends stop bit even if not all messages are
  14111. managed. So, e.g., removing stm32_i2c_sendstop (#1744) and adding
  14112. stm32_i2c_sendstart after data reading helps to make DS3231 working.
  14113. From Alexander Oryshchenko; verified by David Sidrane (2017-03-24).
  14114. * wireless/ieee802154: Adds IOCTL definitions for accessing PHY
  14115. layer. From Anthony Merlino (2017-03-24).
  14116. * Add ffsl(), ffsll(), fls(), flsl(), flsll() and use GCC's
  14117. __builtin_ctz/__builtin_clz for faster implementation of these. From
  14118. Jussi Kivilinna (2017-03-24).
  14119. * MRF24J40/Clicker2: Add an MRF24J40 radio configuration to the
  14120. Clicker2 STM32 board. Fix a few errors discovered during build
  14121. (2017-03-24).
  14122. * configs/: Rename all stm32_wireless.c files to stm32_cc3000.c
  14123. (2017-03-24).
  14124. * configs/: Rename all xyz_wifi.c files to stm32_cc3000.c (2017-03-24).
  14125. * Clicker2-STM32: Add usbnsh configuration (2017-03-25).
  14126. * drivers/analog: Add basic COMP driver. From Mateusz Szafoni
  14127. (2017-03-25).
  14128. * STM32F33: Support for COMP character driver. From Mateusz Szafoni
  14129. (2017-03-25).
  14130. * Nucleo-F334R8: Use new COMP driver. From Mateusz Szafoni
  14131. (2017-03-25).
  14132. * stm32/Kconfig: Update COMP and OPAMP definitions. From Mateusz
  14133. Szafoni (2017-03-26).
  14134. * pthreads: Add more robustness characteristics: pthread_mutex_lock()
  14135. and trylock() will now return EOWNERDEAD if the mutex is locked by a
  14136. thread that no longer exists. Add pthread_mutex_consistent() to
  14137. recover from this situation (2017-03-26).
  14138. * pthread: Fix return value of pthread_give/takesemaphore(). Add
  14139. option to pthread_takesemaphore to ignore EINTR or not (2017-03-26).
  14140. * pthreads: Partial implementation of final part of robust mutexes:
  14141. Keep list of all mutexes held by a thread in a list in the TCB
  14142. (2017-03-26).
  14143. * when pthread exits or is cancelled, mutexes held by thread are marked
  14144. inconsistent and the highest priority thread waiting for the mutex is
  14145. awakened (2017-03-26).
  14146. * pthreads: Add a configuration option to disable robust mutexes and
  14147. revert to the traditional unsafe mutexes (2017-03-26).
  14148. * pthread mutexes: Add option to support both unsafe and robust
  14149. mutexes via pthread_mutexattr_get/setrobust() (2017-03-26).
  14150. * pthread mutexes: Finish logic to support configuration mutex
  14151. robustness (2017-03-27).
  14152. * Rename CONFIG_MUTEX_TYPES to CONFIG_PTHREAD_MUTEX_TYPES (2017-03-27).
  14153. * Make sure that CONFIG_PTHREAD_MUTEX_ROBUST=y is selected every
  14154. configuration that enabled pthreads (2017-03-27).
  14155. * Add syscall support for pthread_mutex_consistent() (2017-03-27).
  14156. * Include wcstold in C++ cwchar header file. From Alan Carvalho de
  14157. Assis (2017-03-27).
  14158. * AT86RF23x: Clean-up, standardize lower half interface. Take
  14159. advantage of new OS features for interrupt parameter passing
  14160. (2017-03-27).
  14161. * MRF24J40: Take advantage of new OS features for interrupt parameter
  14162. passing (2017-03-27).
  14163. * lcd/: PCF8574 backpack logic needs to include poll.h
  14164. CONFIG_DISABLE_POLL is not set (2017-03-27).
  14165. * drivers/analog: Add driver for the LTC1767L ADC. From Martin
  14166. Lederhilger (2017-03-28).
  14167. * realloc(): When realloc() has to fall back to calling malloc(), size
  14168. including overhead was being provided to malloc(), causing a slightly
  14169. larger allocation than needed. Noted by initialkjc@yahoo.com
  14170. (2017-03-28).
  14171. * Fix PTHREAD_MUTEX_INITIALIZER which was not updated with last mutex
  14172. changes. From Jussi Kivilinna (2017-03-28).
  14173. * STM32 F7: Add stm32 RNG support. This is copied from stm32l4.
  14174. Tested on STM32F746ZG board. From Juha Niskanen (2017-03-29).
  14175. * STM32 RNG: Fix semaphore initial value and disable priority
  14176. inheritance. From Juha Niskanen (2017-03-29).
  14177. * Fix an assertion noted by Jussi Kivilinna. This was a consequence of
  14178. the recent robust mutex changes. If robust mutexes are selected,
  14179. then each mutex that a thread takes is retained in a list in threads
  14180. TCB. If the thread exits and that list is not empty, then we know
  14181. that the thread exitted while holding mutexes. And, in that case,
  14182. each will be marked as inconsistent and the any waiter for the thread
  14183. is awakened. For the case of pthread_mutex_trywait(), the mutex was
  14184. not being added to the list! while not usually a fatal error, this
  14185. was caught by an assertion when pthread_mutex_unlock() was called:
  14186. It tried to remove the mutex from the TCB list and it was not there
  14187. when, of course, it shoule be. The fix was to add
  14188. pthread_mutex_trytake() which does sem_trywait() and if successful,
  14189. does correctly add the mutext to the TCB list. This should
  14190. eliminated the assertion (2017-03-29).
  14191. * 6LoWPAN: IEEE802.15.4 MAC driver will need a special form of the
  14192. network device structure to manage fragmentation of the large packet
  14193. into frames (2017-03-29).
  14194. * wireless/ieee802154: Adds MAC character driver structure.
  14195. Nonfunctional. From Anthony Merlino (2017-03-29).
  14196. * configs/clicker2-STM32: Adds logic to create an 802.15.4 MAC and
  14197. register a character driver. From Anthony Merlino (2017-03-29).
  14198. * net/local: connect: Fix warning with gcc-arm-none-eabi-5-2016q1.
  14199. Using compiler from gcc-arm-none-eabi-5-2016q1 toolchain:
  14200. gcc version 5.3.1 20160307 (release) [ARM/embedded-5-branch revision 234589] (GNU Tools for ARM Embedded Processors)
  14201. gives error:
  14202. local/local_connect.c:188:7: error: '_local_semtake' is static but used in inline function 'local_stream_connect' which is not static [-Werror]
  14203. this is due to compiler enforcing ISO/IEC 9899:1999 6.7.4.3: "An
  14204. inline definition of a function with external linkage shall not
  14205. contain a definition of a modifiable object with static storage
  14206. duration, and shall not contain a reference to an identifier with
  14207. internal linkage." Fix by making inlined caller to have internal
  14208. linkage as well. From Juha Niskanen (2017-03-30).
  14209. * Add entropy pool and strong random number generator. Entropy pool
  14210. gathers environmental noise from device drivers, user-space, etc.,
  14211. and returns good random numbers, suitable for cryptographic use.
  14212. Based on entropy pool design from *BSDs and uses BLAKE2Xs algorithm
  14213. for CSPRNG output. Patch also adds /dev/urandom support for using
  14214. entropy pool RNG and new 'getrandom' system call for getting
  14215. randomness without file-descriptor usage (thus avoiding
  14216. file-descriptor exhaustion attacks). The 'getrandom' interface is
  14217. similar as 'getentropy' and 'getrandom' available on OpenBSD and
  14218. Linux respectively. From Jussi Kivilinna (2017-03-30).
  14219. * Change STM32 tickless to use only one timer. From Konstantin
  14220. Berezenko (2017-03-30).
  14221. * drivers/sensors: Add driver for ST HTS221 humidity sensor. From Juha
  14222. Niskanen (2017-03-30).
  14223. * HTS221 driver: Modify to use new interrupt parameter passing hooks
  14224. (2017-03-31).
  14225. * drivers/sensors: Add driver for ST LPS25H pressure sensor. From
  14226. Juha Niskanen (2017-03-31).
  14227. * drivers/usbmisc: Add driver for Fairchild FUSB301 USB type-C
  14228. controller. From Harri Luhtala <harri.luhtala@haltian.com>. Tested
  14229. with earlier version of NuttX; with current version checked that it
  14230. compiles. Via Juha Niskane (2017-03-31).
  14231. * Add user-space networking stack API (usrsock). User-space networking
  14232. stack API allows user-space daemon to provide TCP/IP stack
  14233. implementation for NuttX network. Main use for this is to allow use
  14234. and seamless integration of HW-provided TCP/IP stacks to NuttX. For
  14235. example, user-space daemon can translate /dev/usrsock API requests to
  14236. HW TCP/IP API requests while rest of the user-space can access
  14237. standard socket API, with socket descriptors that can be used with
  14238. NuttX system calls. From Jussi Kivilinna (2017-03-31).
  14239. * STM32F7: Add support for LSE RTC and enable RTC subseconds. From
  14240. Jussi Kivilinna (2017-03-31).
  14241. * TCP/IPv6: Fix a compile issue when IPv6, but not IPv4 is enabled
  14242. (2017-03-31).
  14243. * net/: Fix MULTINIC/MULTILINK selection when 6LoWPAN selected
  14244. (2017-03-31).
  14245. * net/: Permit net/neighbor to build when IPv6 is defined, but not
  14246. Ethernet. Needs more work to support 6LoWPAN (2017-03-31).
  14247. * stm32f7: Serial fix for dropped data: (1) Revert the inherited dma
  14248. bug from the stm32. see
  14249. https://bitbucket.org/nuttx/nuttx/commits/df9ae3c13fc2fff2c21ebdb098c520b11f43280d
  14250. for details. And (2) Most all CR1-CR3 settings can not be configured
  14251. while UE is true. Threfore we make all operation atomic and disable
  14252. UE and restore it's originalstate on exit. From David Sidrane
  14253. (2017-03-31).
  14254. * stm32f7: stm32_sdmmc removed stray semicolon. From David Sidrane
  14255. (2017-03-31).
  14256. * 6LoWPAN: Contiki 6LoWPAN port is now complete (but completely
  14257. untested) (2017-04-02).
  14258. * iee802154 loopback: Eliminate dependency on CONFIG_NET_LOOPBACK
  14259. (2017-04-02).
  14260. * drivers/sensors: Add driver for ST LIS2DH accelerometer. From Timo
  14261. Voutilainen <time.voutilainen@haltian.com> et al. via Juha Niskanen
  14262. (2017-04-03).
  14263. * net/socket/accept: Fix building with CONFIG_NET_LOCAL_STREAM. From
  14264. Jussi Kivilinna (2017-04-03).
  14265. * STM32: Fix IWDG and WWDG debug mode stop for STM32L15XX. From Juha
  14266. Niskanen (2017-04-03).
  14267. * STM32: Add STM32L162VE to chip.h. From Juha Niskanen (2017-04-03).
  14268. * iee802154 loopback: Eliminate dependency on CONFIG_NET_LOOPBACK
  14269. (2017-04-02).
  14270. * sim: Add a configuration for testing 6LoWPAN (2017-04-03).
  14271. * wireless/ieee802154: Add initialization logic for loopback driver;
  14272. configs/sim: Add configuration for testing 6LoWPAN; net/sixlowpan:
  14273. Fix for compilation with debug output enabled (2017-04-03).
  14274. * 6LoWPAN: Updates/fixes from initial testing with the IEEE802.15.4
  14275. loopback driver (2017-04-03).
  14276. * STM32: Add I2C3 SDA pin mapping for STM32F411. From no1wudi
  14277. (2017-04-04).
  14278. * sensors: lis2dh: Fix hardfault when reading from unconfigured
  14279. sensor. From Juha Niskanen (2017-04-04).
  14280. * STM32: stm32_flash: Add EEPROM writing for STM32L15XX. From Juha
  14281. Niskanen (2017-04-04).
  14282. * 6LoWPAN: Add option to dump buffers (2017-04-04).
  14283. * STM32: stm32l15xx_rcc: Add support for using MSI as system clock.
  14284. From Juha Niskanen (2017-04-05).
  14285. * STM32: stm32l15xxx_rcc: configure medium performance voltage range
  14286. and zero wait-state when allowed by SYSCLK setting. Zero wait-state
  14287. for flash can be configured when: (1) Range 1 and SYSCLK <= 16 Mhz,
  14288. (2) Range 2 and SYSCLK <= 8 Mhz, or (3) Range 3 and SYSCLK <= 4.2
  14289. Mhz. Medium performance voltage range (1.5V) can be configured when
  14290. SYSCLK is up to 16 Mhz and PLLVCO up to 48 Mhz. From Juha Niskanen
  14291. (2017-04-05).
  14292. * wireless/ieee802154: Initial MAC char driver write functionality.
  14293. From Anthony Merlino (2017-04-05).
  14294. * photon: wlan support. From Simon Piriou (2017-04-03).
  14295. * Document set [{+|-}{e|x|xe|ex}] [<name> <value>]. From David Sidrane
  14296. (2017-04-05).
  14297. * STM32: Fix SYSCFG_CFGR1_I2C_PBXFMP_SHIFT value. From Alan Carvalho
  14298. de Assis (2017-04-06).
  14299. * STM32F7: Serial: Add interface to get uart_dev_t by USART number,
  14300. stm32_serial_get_uart. From Jussi Kivilinna (2017-04-06).
  14301. * STM32F7: Default CONFIG_STM32F7_DMACAPABLE to 'n'. STM32F7 does not
  14302. have CCM RAM but DTCM, so this option does not need to enabled. DTCM
  14303. RAM is DMA-able through CPU AHBS bus. From Jussi Kivilinna
  14304. (2017-04-06).
  14305. * STM32F7: Fix UART7 and UART8 IFLOWCONTROL options. From Jussi
  14306. Kivilinna (2017-04-06).
  14307. * STM32F7: Add warning for RXDMA + IFLOWCONTROL combination.
  14308. Combination of RXDMA + IFLOWCONTROL does not work as one might
  14309. expect. Since RXDMA uses circular DMA-buffer, DMA will always keep
  14310. reading new data from USART peripheral even if DMA buffer underruns.
  14311. Thus this combination only does following: RTS is asserted on USART
  14312. setup and deasserted on shutdown and does not perform actual RTS
  14313. flow-control. Data loss can be demonstrated by doing long up_mdelay
  14314. inside irq critical section and feeding data to RXDMA+IFLOWCONTROL
  14315. UART. From Jussi Kivilinna (2017-04-06).
  14316. * sim/sixlowpan: Now supports apps/examples/udpblaster too (2017-04-06).
  14317. * SAMV7: Watchdog: Fix Forbidden Window Value. According the Datasheet
  14318. the WDD Value is the lower bound of a so called Forbidden Window and
  14319. to disable this we have to set the WDD Value greater than or equal to
  14320. the WDV Value. This seems to be a bug in the datasheet. It looks
  14321. like we have to set it to a greater value than the WDV to really
  14322. disable this Thing. When triggering the Watchdog faster than the
  14323. (very slow) clock source of the Watchdog fires, this Forbidden Window
  14324. Feature resets the System if WDD equals to WDV. This Changeset
  14325. disables the Forbidden Window by setting the WDD Value to the Maximum
  14326. (0xfff) Value possible. From Frank Benkert (2017-04-06).
  14327. * RTC: Add interface for check if RTC time has been set. New interface
  14328. allows checking if RTC time has been set. This allows to application
  14329. to detect if RTC has valid time (after reset) or should application
  14330. attempt to get real time by other means (for example, by launching
  14331. ntpclient or GPS). From Jussi Kivilinna (2017-04-06).
  14332. * 6LoWPAN: Add network IOCTL support to set the node address
  14333. (2017-04-06).
  14334. * EFM32 I2C: Fix timeout calculation. From Masayuki Ishikawa
  14335. (2017-04-06).
  14336. * Disable serial console on stm32f103-minimum usbnsh example project
  14337. config. Devices enumerate after this change. From Bob Ryan
  14338. (2017-04-07).
  14339. * pthreads: Adding rwlock implementation. Adding an implementation for
  14340. read/write locks into the pthread library. These locks are writer
  14341. priority, such that if any writers come in they are given priority
  14342. for writing. From Mark Schulte (2017-04-07).
  14343. * pthread rwlock bugfixes. From Mark Schulte (2017-04-07).
  14344. * 6LoWPAN: Add calculation of TCP header size. It is not a constant
  14345. (2017-04-07).
  14346. * Restore TCP_HDRLEN to MSS calculation. Also add to UDP MSS
  14347. calculation where it never appearred. Add some missing MSS and
  14348. RDVWNDO definitions for 6loWOPAN (2017-04-08).
  14349. * pthread.h: Remove duplicate, possible erroneous definition of
  14350. PTHREAD_MUTEX_INITIALIZER that crept in with some recent changes
  14351. (2017-04-08).
  14352. * pthread.h: Fix rwlock initializer. From Mark Schulte (2017-04-08).
  14353. * Add configuration/build support for an IEEE802.15.4 network device
  14354. (2017-04-08).
  14355. * Fix some old-style interrupt handling logic in drivers/net/skeleton.c
  14356. (2017-04-08).
  14357. * wireless/ieee802154: Add a implementation of the IEEE802.15.4
  14358. network driver. This is very incomplete on the initial commit
  14359. (2017-04-08).
  14360. * Buttons: Change return value of board_buttons() and the type of
  14361. btn_buttonset_t to uint32_t so that more than 8 buttons can be
  14362. supported (2017-04-09).
  14363. * Add support for NuttX controlled LEDS and for board_initialize.
  14364. Separate initialization logic to stm32_bringup.c so that in
  14365. initialization can occur either through board_initialize() or through
  14366. board_app_initialize(). Same as with most other newer board
  14367. configurations (2017-04-09).
  14368. * net procfs: Some long lines were being generated that cause
  14369. buffer-related problems and corrupted output (2017-04-09).
  14370. * stm32 COMP: Logic in stm32_comp.h must be configured on
  14371. CONFIG_STM32_COMP or otherwise it causes an error via #error on every
  14372. platform without COMP support (2017-04-09).
  14373. * Photon: Add logic to automatically mount the procfs file system on
  14374. startup. Fix some LED-related configuration conflicts (2017-04-09).
  14375. * Buttons: Correct some comments left after last button-related
  14376. change: 32- vs 8-bit bit set (2017-04-09).
  14377. * pthread: Use cancel cleanup handlers in rwlock. From Juha Niskanen
  14378. (2017-04-10).
  14379. * STM32F7: serial: disallow broken configuration combination of
  14380. CONFIG_STM32F7_FLOWCONTROL_BROKEN=y and
  14381. CONFIG_SERIAL_IFLOWCONTROL_WATERMARKS not set. From Jussi Kivilinna
  14382. (2017-04-11).
  14383. * STM32F7: serial: do not stop processing input in SW flow-control
  14384. mode. From Jussi Kivilinna (2017-04-11).
  14385. * STM32XX: Fix Pending Register definition. From Alan Carvalho de
  14386. Assis (2017-04-11).
  14387. * Add logic to disable cancellation points within the OS. This is
  14388. useful when an internal OS function that is NOT a cancellation point
  14389. calls an OS function which is a cancellation point. In that case,
  14390. irrecoverable states may occur if the cancellation is within the OS.
  14391. From Juha Niskanen (2017-04-11).
  14392. * Fix LLVM libc++ undefined reference to __cxa_guard_*. From Alan
  14393. Carvalho de Assis (2017-04-11).
  14394. * libc/netdb: in dns_query_callback, ret != -EADDRNOTAVAIL condition
  14395. consumes error returns including EAGAIN in this case, dns query
  14396. retransmission doesn't work. From Ritajina (2017-04-12).
  14397. * STM32L4 DMA: Correct bad channel definition. From Sebastien Lorquet
  14398. (2017-04-12).
  14399. * TUN driver: Implement TAP (OSI layer 2) mode. Enable by setting the
  14400. IFF_TAP flag instead of the IFF_TUN flag in ifr_flags. From Thomas
  14401. Keh (2017-04-13).
  14402. * Adds USB host support to stm32f411-disco board. From Brian Webb
  14403. (2017-04-13).
  14404. * ieee802.15.4 radio: Add data structure definitions for Radio IOCTLs
  14405. (2017-04-13).
  14406. * ieee802.15.4 MAC: Add data structure definitions for MAC IOCTLs
  14407. (2017-04-13).
  14408. * ieee802154 radio: Implement IOCTL decode and dispatch in all radio
  14409. drivers (2017-04-13).
  14410. * drivers/net/skeleton.c: Add support for IOCTL handling (2017-04-13).
  14411. * ieee802.15.4 netdev: Add IOCTL support (2017-04-13).
  14412. * ieee802.15.4 radio: Remove interface methods that duplicate IOCTL
  14413. commands (2017-04-13).
  14414. * ieee802.15.4: de-couple MAC driver interface. Now works more like
  14415. other drivers (2017-04-13).
  14416. * sched: Fix tg_flags check with GROUP_FLAG_NOCLDWAIT. From Masayuki
  14417. Ishikawa (2017-04-14).
  14418. * Add basic support for STM32F0. From Alan Carvalho de Assis
  14419. (2017-04-14).
  14420. * Add stm32f0discovery board support. From Alan Carvalho de Assis
  14421. (2017-04-14).
  14422. * arch/arm/Kconfig: Add option for STM32F0 (2017-04-14).
  14423. * IEEE802.15.4: There is only one instance of the IEEE802.15.4 MAC
  14424. lower level. There is no need for the interface to be indirect via a
  14425. vtable. In this case, standard global functions should be used
  14426. (2017-04-14).
  14427. * ieee802.15.4: New global functions exported by the lower MAC layer
  14428. should be private to the MAC module. Function prototypes moved from
  14429. include/nuttx/wireless/ieee802154/ieee802154_mac.h to
  14430. wireless/ieee802154/mac802154.h (2017-04-14).
  14431. * radio802154_device.c now accesses the PHY layer via the IOCTL helper
  14432. functions (2017-04-14).
  14433. * photon: Add sdpcm + thread support for wlan. From Simon Piriou
  14434. (2017-04-13).
  14435. * Not a clean fix, but at least makes DHCP working with
  14436. CONFIG_NETDEV_MULTINIC. From Andreas Bihlmaier (2017-04-15).
  14437. * networking: IPv4 change of last PR should also be applied to
  14438. corresponding IPv6 logic (2017-04-15).
  14439. * 6LoWPAN: Add some checks for the case where there are multiple
  14440. network devices and multiple link layer protocols (2017-04-15).
  14441. * net/: Add IOCTL support for forwarding IEEE802.15.4 MAC and PHY
  14442. IOCTLs (2017-04-15).
  14443. * Argument of network device IOCTL should be unsigned long, just as
  14444. will all other IOCTL methods (2017-04-15).
  14445. * wireless/ieee802154: Adds ability to receive notifications from MAC
  14446. char driver. From Anthony Merlino (2017-04-05).
  14447. * wireless/ieee802154/mrf24j40: Added bind method. From Anthony
  14448. Merlino (2017-04-15).
  14449. * wireless/ieee802154: Starts adding MAC request data functionality.
  14450. From Anthony Merlino (2017-04-15).
  14451. * wireless/ieee802154: Starts defining interface between PHY layer and
  14452. next highest layer. From Anthony Merlino (2017-04-15).
  14453. * wireless/ieee802154: Skeleton code for request associate. From
  14454. Anthony Merlino (2017-04-15).
  14455. * wireless/ieee802154: Bind MAC phyif to radio. From Anthony Merlino
  14456. (2017-04-15).
  14457. * STM32: Provide TIM5 definition for STM32F429. From Matias v01d
  14458. (2017-04-15).
  14459. * photon: Add sdpcm tx basic support. From Simon Piriou (2017-04-16).
  14460. * photon: Request firmware version and MAC address. From Simon Piriou
  14461. (2017-04-16).
  14462. * 6LoWPAN network driver: Still only a skeleton but has some added
  14463. thought experimentation (2017-04-16).
  14464. * 6LoWPAN: Correct ordering of headers. fragmentation header was
  14465. coming out before FCF (2017-04-16).
  14466. * wireless/ieee802154: Continues development on transmit structure.
  14467. From Anthony Merlino (2017-04-17).
  14468. * STM32F0: Enable the clock for all GPIO ports. From Alan Carvalho de
  14469. Assis (2017-04-17).
  14470. * STM32F0: Fix HSI clock definition. From Alan Carvalho de Assis
  14471. (2017-04-17).
  14472. * STM32F0: Fix System Clock value to 48MHz and remove MCLK
  14473. definition. From Alan Carvalho de Assis (2017-04-17).
  14474. * Update coding standard document to discuss un-named structure fields
  14475. (2017-04-17).
  14476. * STM32F0: Add basic support for STM32F07x family (2017-04-17).
  14477. * STM32F0: Move enabling of GPIO peripherals form UART setup to
  14478. clockconfig. This is not a UART function. It is needed by all
  14479. peripherals (2017-04-17).
  14480. * STM32F0: Add logic to enable other USARTs. No UART4/5. Rather
  14481. USART4/5 (2017-04-17).
  14482. * STM32F7: Warn if no DMA2 configured when using ADC with DMA. Also
  14483. correct ADC channel numbers that DMA callback passes to upper half
  14484. driver. From Juha Niskanen (2017-04-18).
  14485. * STM32F7: stm32_adc: Do not override ADCPRE_DIV when measuring
  14486. internal voltage. From Juha Niskanen (2017-04-18).
  14487. * Move CONFIG_ADC_NO_START_CONV from drivers/adc/Kconfig to
  14488. arch/arm/src/stm32[f7]/Kconfig as STM32[F7]_ADC_NO_START_CONV.
  14489. Refresh all configurations with any reference to
  14490. CONFIG_ADC_NO_START_CONV (2017-04-18).
  14491. * STM32F0: The STM32F2 does not have use alternate function groupings
  14492. as does the F1. Rather, it is like other members of the STM32 family
  14493. with An alternate setting AF0-AF7 for each pin (2017-04-18).
  14494. * Nucleo-F072RB: Add board configuration (2017-04-18).
  14495. * wireless/ieee802154: Lots of small fixes to eliminate build issues.
  14496. Generally cleans things up and fixes lots of small issues preventing a
  14497. successful build. Does not completely build, but there are
  14498. significantly less errors. From Anthony Merlino (2017-04-18).
  14499. * Coding standard: Defining structures within the scope of another
  14500. structure is discouraged (2017-04-18).
  14501. * Nucleo-F072RB: Enable board_app_inititalize, procfs, and built-in
  14502. functions (2017-04-19).
  14503. * wireless/ieee802154: Simplifies MAC callback interface. Adds
  14504. missing data type definitions. From Anthony Merlino (2017-04-19).
  14505. * wireless/ieee802154: Renames mac802154_devwrapper_s to
  14506. mac802154_chardevice_s. From Anthony Merlino (2017-04-19).
  14507. * wireless/ieee802154: Changes radio interface to match MAC callback
  14508. design. From Anthony Merlino (2017-04-19).
  14509. * 6LoWPAN: Fix a missing source address in header. Correct
  14510. calculation of payload size (2017-04-19).
  14511. * SAMV7 EMAC: Add conditional logic to account the fact that the
  14512. SAMV71 has 6 rather than 3 queues after version 1. From Ian McAfee
  14513. (2017-04-19).
  14514. * wireless/ieee802154: Starts structuring transmission completion
  14515. handling. From Anthony Merlino (2017-04-19).
  14516. * 6LoWPAN: Add an IOCTL to set the IEEE802.15.4 PAN ID (2017-04-19).
  14517. * STM32 L1: stm32l15xx_rcc: Allow board to configure HSE clock in
  14518. bypass-mode. Allows using MCO output from ST-link chip (on Nucleo
  14519. and Discovery boards) as HSE input. From Juha Niskanen (2017-04-20).
  14520. * Add support for STM32L152CC, STM32L152RC and STM32L152VC. Update
  14521. some bits and comments for other STM32L1 parts in chip.h. From Juha
  14522. Niskanen (2017-04-20).
  14523. * UART 16550: Missing left parenthesis in function prototype. This is
  14524. Bitbucket Issue #41 (2017-04-20).
  14525. * procfs: Fix wrong member IDs are displayed when 'cat
  14526. /proc/<pid>/group/status'. From Nobutaka Toyoshima (2017-04-28).
  14527. * STM32F0: Add support for HSI48 (2017-04-20).
  14528. * STM32F0: Add an untested port of the F1 USB device to the STM32F0
  14529. (2017-04-20).
  14530. * Move include/nuttx/net/iob.h to include/drivers/iob.h; rename
  14531. CONFIG_NET_IOB to CONFIG_DRIVERS_IOB (2017-04-20).
  14532. * Move net/iob to drivers/iob so that the I/O buffering feature can be
  14533. available to other drivers when networking is disabled (2017-04-20).
  14534. * VFS poll(): Add some error handling logic (2017-04-20).
  14535. * Add support for the STM32F09X family. From Juha Niskanen (2017-04-21).
  14536. * clock: Add clock_resynchronize and use subseconds RTC. Add
  14537. clock_resynchronize for better synchronization of CLOCK_REALTIME and
  14538. CLOCK_MONOTONIC to match RTC after resume from low-power state. Add
  14539. up_rtc_getdatetime_with_subseconds under
  14540. CONFIG_ARCH_HAVE_RTC_SUBSECONDS to allow initializing (and
  14541. resynchronizing) system clock with subseconds accuracy RTC. From
  14542. Jussi Kivilinna (2017-04-21).
  14543. * clock: Add new type ssystime_t for relative 64-bit ticks, change
  14544. ticks<->time conversion functions to use ssystime_t. From Jussi
  14545. Kivilinna (2017-04-21).
  14546. * clock: add testing for 32-bit overflow of 64-bit system timer. From
  14547. Jussi Kivilinna (2017-04-21).
  14548. * wireless/ieee802154: Simplifies TX completion interface. Documents
  14549. and cleans up some functions. From Anthony Merlino (2017-04-21).
  14550. * Remove the 6LoWPAN PANID IOCTLs they are redundant (2017-04-21).
  14551. * 6LoWPAN: Remove the PAN ID from the 6LoWPAN data structure. This is
  14552. owned by the radio driver. Rather, use an IOCTL to obtain the PAN ID
  14553. from the downstream radio driver (2017-04-21).
  14554. * photon: Add basic wlan scan function. From Simon Piriou (2017-04-22).
  14555. * 6LoWPAN: Separate MAC-related definitions from sixlowpan.h. Put in
  14556. ieee802154.h (2017-04-22).
  14557. * net/: network drver now retains Ethernet MAC address in a union so
  14558. that other link layer addresses may be used in a MULTILINK
  14559. environment (2017-04-22).
  14560. * 6LoWPAN: Add IEEE802.15.4 Rime address to union of link layer
  14561. addresses in the network driver (2017-04-22).
  14562. * SAM3/4: Fixed configurations for TWI master. Obviously an
  14563. incomplete port from SAMA5 (2017-04-23).
  14564. * SAM3/4: Remove inappropriate semicolon. From kc_dtm (2017-04-23).
  14565. * configs/photon: Add DOWNLOAD function to upload firmware through
  14566. DFU. From Simon Piriou (2017-04-23).
  14567. * drivers/ieee80211/: Change all occurrences of _info, _warn, and _err
  14568. to wlinfo, wlwarn, and wlerr (2017-04-23).
  14569. * USBMSC: Fix a wrong lun number issue. From Masayuki Ishikawa
  14570. (2017-04-24).
  14571. * sched: Fix CHILD_FLAG_EXITED in include/nuttx/sched.h. From
  14572. Masayuki Ishikawa (2017-04-24).
  14573. * wireless/ieee80211: Add skeleton for a broadcom network driver
  14574. (2017-04-24).
  14575. * wiress/ieee80211: Broadcom network driver needs to register as an
  14576. ieee802.11 driver, not an Ethernet driver (2017-04-24).
  14577. * wireless/ieee80211: Add broadcom network device registration logic
  14578. (2017-04-24).
  14579. * drivers/wireless/bcmf: Register network driver + update defconfig
  14580. file. From Simon Piriou (2017-04-24).
  14581. * procfs: Fix incorrect uptime with CONFIG_SYSTEM_TIME64. From
  14582. Masayuki Ishikawa (2017-04-25).
  14583. * configs/photon/wlan: Minor config changes to get a clean build
  14584. (2017-04-25).
  14585. * STM32L4: Add support for the STM32L496XX family. From Juha Niskanen
  14586. (2017-04-25).
  14587. * configs/photon: Rename ld.script to photon_jtag.ld for symmetry
  14588. (2017-04-25).
  14589. * configs/photon/src/stm32_wlan.c: Remove unused, inappropriate
  14590. network driver registration (2017-04-25).
  14591. * netdev_register: If there is only one ieee80211 and both
  14592. CONFIG_ETHERNET and CONFIG_DRIVERS_IEEE8011, then use the wlan0
  14593. naming, not the eth0 naming (2017-04-25).
  14594. * configs/nucle-f072rb/nsh: Correct amount of available SRAM in
  14595. defconfig (2017-04-26).
  14596. * CONFIG_DEBUG_HARDFAULT should be available for Cortex-M0 too
  14597. (2017-04-26).
  14598. * drivers/wireless/bcmf: Enable DMA for SDIO transfers. From Simon
  14599. Piriou (2017-04-26).
  14600. * configs: Remove all setenv.bat files. Remove all references to
  14601. setenv.sh and setenv.bat from all config README files (2017-04-26).
  14602. * drivers/syslog: Use monotonic clock for timestamp when available.
  14603. From Jussi Kivilinna (2017-04-26).
  14604. * Enable wireless IOCTL commands in photon/wlan configuration
  14605. (2017-04-26).
  14606. * Network IOCTLs: Correct a compilation error when wireless IOCTLs are
  14607. enabled (2017-04-26).
  14608. * binfmt/elf: Fix offset value when calling elf_read() in
  14609. elf_symname(). From Masayuki Ishikawa (2017-04-26).
  14610. * STM32, STM32F7, STM32L4: Remove incorrect comment about STM32L1
  14611. LSE/RTC/LCD. From Juha Niskanen (2017-04-27).
  14612. * STM32L4: Add some defines for the new peripherals in STM32L496
  14613. parts. From Juha Niskanen (2017-04-27).
  14614. * STM32F0: Fix some missing settings in the clock configuration logic
  14615. (2017-04-27).
  14616. * IOCTLS. Separate wireless character driver IOCTL commands from
  14617. wireless network driver IOCTL commands. Move from wireless.h to
  14618. ioctl.h (2017-04-27).
  14619. * IEEE 802.15.4: Move MAC character driver IOCTL commands from
  14620. ieee802154_mac.h to ieee802154_ioctl.h (2017-04-27).
  14621. * Wireless IOCTLs: Correct use of _WLIOC where _WLCIOC is required
  14622. (2017-04-27).
  14623. * net/socket: Fix cloning of local and raw sockets. From Jussi
  14624. Kivilinna (2017-04-28).
  14625. * STM32L4: stm32l4_i2c: Add I2C4 code. From Juha Niskanen (2017-04-28).
  14626. * STM32L4: I2C was not using current interrupt handling parameter
  14627. passing logic (2017-04-28).
  14628. * vfs/poll: round timeout up to next full tick. Calling poll() with
  14629. timeout less than half tick (thus MSEC2TICK(timeout) => 0) caused
  14630. returning error with EAGAIN. Instead of rounding timeout down, value
  14631. should be rounded up. Open Group spec for poll says:
  14632. "Implementations may place limitations on the granularity of timeout
  14633. intervals. If the requested timeout interval requires a finer
  14634. granularity than the implementation supports, the actual timeout
  14635. interval will be rounded up to the next supported value." From Jussi
  14636. Kivilinna (2017-04-28).
  14637. * In last change to poll(), converted timeout to unsigned to eliminate
  14638. the possibility of overflow of signed overflow (2017-04-28).
  14639. * drivers/wireless/bcmf: Add escan ioctls support + cleanup. From
  14640. Simon Piriou (2017-04-28).
  14641. * Add all network IOCTLs to include/sys/ioctl.h (2017-04-28).
  14642. * Add all ieee802.15.4 IOCTLs to include/sys/ioctl.h (2017-04-28).
  14643. * 6LoWPAN: Can't reuse same header on each fragment. DSN needs to
  14644. increment (2017-04-29).
  14645. * SPI: Add an instance argument to the SPIDEV definitions (2017-04-29).
  14646. * STM32F0: Add some protection. There is only one interrupt for
  14647. USART3-8. Current interrupt handling logic will support only one
  14648. interrupt in that range (2017-04-29).
  14649. * STM32F0 I2C: Initial cut at driver. Still a work in progress. From
  14650. Alan Carvalho de Assis (2017-04-29).
  14651. * STM32F33: Add OPAMP support. From Mateusz Szafoni (2017-04-30).
  14652. * drivers/analog: Add basic OPAMP driver. From Mateusz Szafoni
  14653. (2017-04-30).
  14654. * Nucleo-F334R8: Add OPAMP support. From Mateusz Szafoni (2017-04-30).
  14655. * Nucleo-F072RB: Add support for the I2C driver used by I2C tools
  14656. (2017-04-20).
  14657. * drivers/i2c: Fix compile issus if CONFIG_DISABLE_PSEUDOFS_OPERATIONS
  14658. is enabled (2017-04-30).
  14659. * STM32F0 I2C: Update driver to use the standard interrupt parameter
  14660. passing logic (2017-04-30).
  14661. * STM32F0 I2C: Pin definitions should specify open drain (and probably
  14662. 50Mhz) (2017-04-30).
  14663. * EFM32, STM32, and STM32 F7 I2C: Update to use the standard parameter
  14664. passing to interrupt handlers (2017-04-30).
  14665. * drivers/wireless/bcmf: Add netdev support for Broadcom FullMAC
  14666. driver. From Simon Piriou (2017-04-30).
  14667. * Tiva I2C: Update to use the standard parameter passing to interrupt
  14668. handlers (2017-04-30).
  14669. * ieee802.11: Bring some BSD licensed header files in from FreeBSD
  14670. (2017-04-30).
  14671. * Clicker2-STM32: Add protected build knsh configuration (2017-05-01).
  14672. * STM32F0: Fix I2C frequency table. From Alan Carvalho de Assis
  14673. (2017-05-01).
  14674. * STM32F0: I2C frequency quantization. Add logic to get closer if an
  14675. oddball frequency is used (2017-05-01).
  14676. * pthread: Fix compilation error on pthread_cond_wait when
  14677. CONFIG_CANCELLATION_POINTS and CONFIG_PTHREAD_MUTEX_UNSAFE are
  14678. enabled. From EunBong Song (2017-05-02).
  14679. * binfmt/elf: Fix offset value when calling elf_read() in
  14680. elf_sectname(). From Masayuki Ishikawa (2017-05-02).
  14681. * configs: Add nucleo-l496zg board files. From Juha Niskanen
  14682. (2017-05-02).
  14683. * configs: Add nucleo-f091rc board files. From Juha Niskanen
  14684. (2017-05-02).
  14685. * STM32L4: Don't think these chips have DPFPU, DTCM or ITCM. From
  14686. Juha Niskanen (2017-05-02).
  14687. * STM32L4: Add GPIO_PORTI definition. From Juha Niskanen (2017-05-02).
  14688. * STM32L4: Delete more references to DFPU, ITCM, and DTCM (2017-05-02).
  14689. * wireless/ieee802154: Changes transmit data path to use IOBs and
  14690. exposes function for getting size of MAC header. From Anthony
  14691. Merlino (2017-05-02).
  14692. * Extend wireless.h with definitions needed by wext. From Simon Piriou
  14693. (2017-05-02).
  14694. * drivers/wireless/bcmf: implement basic wext interface for
  14695. authentication. From Simon Piriou (2017-05-02).
  14696. * First attempt at a nucleo-l432kc board. From Sebastien Lorquet
  14697. (2017-05-02).
  14698. * STM32F7: Flash: macro naming errors, there is no FLASH_CONFIG_F for
  14699. F7. From Juha Niskanen (2017-05-02).
  14700. * STM32L4: stm32l4x6xx_pinmap: Update I2C4 and DCMI pins. From Juha
  14701. Niskanen (2017-05-02).
  14702. * 6LoWPAN: Add basic call path to interface with the MAC layer through
  14703. the MAC network driver. Logic has not yet been implemented. This is
  14704. just a structural change in preparation for additional changes
  14705. (2017-05-02).
  14706. * wireless/ieee802154: Sets up default PIB attributes. From Anthony
  14707. Merlino (2017-05-02).
  14708. * wireless/ieee802154: Finishes some IOCTL logic for MAC layer. From
  14709. Anthony Merlino (2017-05-02).
  14710. * 6LoWPAN: Changes to use new MAC interfaces. Incomplete and needs
  14711. some clean-up of dangling, unused definitions (2017-05-03).
  14712. * wireless/ieee802154: Starts work on setting PIB attributes. From
  14713. Anthony Merlino (2017-05-03).
  14714. * 6LoWPAN: Fixes hang in loopback test (2017-05-03).
  14715. * drivers/wireless/bcmf: Fix frame not freed when dropped + cleanup.
  14716. From Simon Piriou (2017-05-03).
  14717. * STM32L4: stm32l4_i2c: Change wrong macro to CONFIG_I2C_POLLED. From
  14718. Juha Niskanen (2017-05-04).
  14719. * STM32L4: modularize Kconfig to support different product
  14720. lines/families. This is modeled after STM32F7. Idea is to declare
  14721. each chip in Kconfig but allow for flash size override. Commit adds
  14722. many STM32L4_HAVE_XXX feature test macros. From Juha Niskanen
  14723. (2017-05-02).
  14724. * STM32L4: Changes needed for STM32L452 and Nucleo-L452RE board. GPIO
  14725. and UART seem similar across STMicro product matrix, so renamed files
  14726. accordingly. RCC is cloned just in case, while conflicting
  14727. differences there seem to be very minor. From Juha Niskanen
  14728. (2017-05-02).
  14729. * STM32L4: Flash: update override config macros and add
  14730. FLASH_CONFIG_B. From Juha Niskanen (2017-05-02).
  14731. * configs: Add nucleo-l452re board files. From Juha Niskanen
  14732. (2017-05-04).
  14733. * fixedmath: Add square root and b32_t conversion operators. From
  14734. Jussi Kivilinna (2017-05-04).
  14735. * Fix STM32F7 I2C interrupt handler. From Jussi Kivilinna (2017-05-04).
  14736. * STM32F7 serial: Allow configuring Rx DMA buffer size. From Jussi
  14737. Kivilinna (2017-05-04).
  14738. * 6LoWPAN: Replace Rime address naming with more consistent
  14739. short/exended address terminology (2017-05-04).
  14740. * 6LoWPAN: Remove all ieee802.15.4 MAC knowledge from 6LoWPAN. Now
  14741. relies on wires/ieee802154 for all MAC-related operations (2017-05-04).
  14742. * 6LoWPAN: Local address length is fixed by the configuration. The
  14743. remote address be with short or extended (2017-05-04).
  14744. * STM32L4: Separate SYSCFG into product line specific files for
  14745. clarity. From Juha Niskanen (2017-05-05).
  14746. * STM32L4: firewall for stm32l4x3xx. Not tested for any product
  14747. family, but now it at least compiles. L496 devices can have one bit
  14748. wider Volatile Data Segment. From Juha Niskanen (2017-05-05).
  14749. * STM32L4: Add more chips to Kconfig. This also removes
  14750. DPFPU/DTCM/ITCM features again, fixing a recent git history hickup.
  14751. From Juha Niskanen (2017-05-05).
  14752. * configs/nucleo-l496zg: Kconfig was copied from nucleo-144. Removed
  14753. as most options have not been tested. From Juha Niskanen (2017-05-05).
  14754. * nucleo-144: Default for choice in Kconfig was not one of the
  14755. possible choices (2017-05-05).
  14756. * Kinetis: Add TPM to K66 chip. From David Sidrane (2017-05-05).
  14757. * Kinetis: Fixed CLKSRC Bit Names. From David Sidrane (2017-05-05).
  14758. * Kinetis: Add OSC_DIV to the kinetis_osc header. From David Sidrane
  14759. (2017-05-05).
  14760. * Kinetis: Use optional BOARD_OSC_CR and BOARD_OSC_DIV in clock
  14761. configuration. From David Sidrane (2017-05-05).
  14762. * Kinetis: Added HW flow control and termios. From David Sidrane
  14763. (2017-05-05).
  14764. * wireless/ieee802154: Changes rxenable at radio layer. From Anthony
  14765. Merlino (2017-05-03).
  14766. * wireless/ieee802154: Finishes promiscuous mode IOCTL. From Anthony
  14767. Merlino (2017-05-03).
  14768. * wireless/ieee802154: Removes radio IOCTL. Starts bringing radio and
  14769. MAC closer with well-defined interface. From Anthony Merlino
  14770. (2017-05-05).
  14771. * STM32L4: Add support for many new MCUs from STM32L4X3XX product line
  14772. and Nucleo-L452 board. From Juha Niskanen (2017-05-05).
  14773. * 6LoWPAN: Use information in struct ieee802154_data_ind_s when
  14774. reassembling a packet (2017-05-05).
  14775. * ieee 802.15.4: Add a pool-based memory allocator for RX frame
  14776. meta-data (2017-05-05).
  14777. * kinetis k66, k64, k60, k40, k20: Pin mux configure all I2C signals as
  14778. Open Drain. The output structure of the GPIO for I2C needs to be
  14779. open drain. When left at the default, one can observe on a scope the
  14780. slave contending with the push-pull during the ACK. From David
  14781. Sidrane (2017-05-05).
  14782. * wireless/ieee802154: Removes msdu_length from meta-data since it is
  14783. intrinsically in the IOB. From Anthony Merlino (2017-05-06).
  14784. * wireless/ieee802154: Reworks data_ind allocation to include IOB
  14785. allocation/deallocation. Hides private data. From Anthony Merlino
  14786. (2017-05-05).
  14787. * wireless/ieee802154: Completes Rx data flow through MAC layer to
  14788. callback. From Anthony Merlino (2017-05-06).
  14789. * Kinetis: Add ARCH_HAVE_I2CRESET. From David Sidrane (2017-05-06).
  14790. * Reworks data_ind allocation to include IOB allocation/deallocation.
  14791. Hides private data. From Anthony Merlino (2017-05-06).
  14792. * STM32: Serial Allow configuring Rx DMA buffer size. From David
  14793. Sidrane (2017-05-06).
  14794. * 6LoWPAN: Minor cleanup and re-verification of all compression modes
  14795. after so many recent changes (2017-05-06).
  14796. * Update the C coding standard document (2017-05-06).
  14797. * IEEE 802.15.4 network driver. Remove support for multicast address
  14798. filtering; doesn't work that way on an IEEE 802.15.4 network
  14799. (2017-05-08).
  14800. * STM32: Serial DMA buffer round off not up. From David Sidrane
  14801. (2017-05-08).
  14802. * STM32 TIM: Add method to get timer width. Freerun timer: Use timer
  14803. width to get the correct clock rollover point (2017-05-08).
  14804. * wireless/ieee802154: Finishes MAC processing of received data frame.
  14805. From Anthony Merlino (2017-05-08).
  14806. * wireless/ieee802154: Finishes MAC char driver read functionality.
  14807. From Anthony Merlino (2017-05-08).
  14808. * wireless/ieee802154: MRF24J40: Finishes receive functionality,
  14809. supports promicuous mode, and rxonidle attributes. From Anthony
  14810. Merlino (2017-05-08).
  14811. * wireless/ieee802154: Completes basic receive functionality. From
  14812. Anthony Merlino (2017-05-08).
  14813. * Final fixes to get the nucleo-l432kc config build. Execution not
  14814. tested yet. From Sebastien Lorquet (2017-05-09).
  14815. * Adapt stm32l43x pin definitions. From Sebastien Lorquet (2017-05-09).
  14816. * More unbuilt stm32 -> stm32l4 changes. From Sebastien Lorquet
  14817. (2017-05-09).
  14818. * Restore settings for UARTs 4 and 5. From Sebastien Lorquet
  14819. (2017-05-09).
  14820. * IOBs: Move from driver/iob to a better location in mm/iob
  14821. (2017-05-09).
  14822. * STM32L4: Add dbgmcu header files. From Juha Niskanen (2017-05-09).
  14823. * wireless/ieee802154: Fixes missing handle of read/write being able to
  14824. be interrupted. From Anthony Merlino (2017-05-09).
  14825. * wireless/ieee802154: Starts implementing START.request primitive.
  14826. From Anthony Merlino (2017-05-09).
  14827. * drivers/serial: I discovered a problem in the file
  14828. drivers/serial/serial.c concerning the function uart_close(…). In the
  14829. case that a serial device is opened with the flag O_NONBLOCK the
  14830. function uart_close(…) blocks until all data in the buffer is
  14831. transmitted. The function close(…) called on an handle opened with
  14832. O_NONBLOCK should not block. The problem occurred with a CDC/ACM
  14833. device. From Stefan Kolb (2017-05-10).
  14834. * mtd/config: erase block between block read and write. From Juha
  14835. Niskanen (2017-05-10).
  14836. * Moved LIS3DSH from the I2C-dependent block to the SPI-block to make
  14837. Make.defs consistent with the driver (SPI only) and
  14838. drivers/sensors/Kconfig. From Floxx (2017-05-10).
  14839. * syslog: Add option to buffer SYSLOG output to avoid interleaving
  14840. (2017-05-10).
  14841. * syslog buffering: Use IOBs to buffer data, not an on-stack buffer
  14842. (2017-05-10).
  14843. * STM32L4: Add internal flash write support. From Juha Niskanen
  14844. (2017-05-11).
  14845. * When syslog message has addition characters after last new-line. With
  14846. buffering those now get lost as vsyslog does not flush output after
  14847. lib_sprintf. Additional trailing characters could be ANSI escape
  14848. sequence to reset state that message setups. For example, macro here
  14849. uses colors and resets state after actual message (including '\n'):
  14850. With flushing added to vsyslog, then there is problem that next
  14851. syslog line might come from other task before reset sequence, causing
  14852. wrong line getting color. This could be avoided by not flushing on
  14853. '\n' but only if IOB is full and/or at end of vsyslog. Would this
  14854. make sense?. From Jussi Kivilinna (2017-05-11).
  14855. * Syslog: Need inclusion of errno.h for fix building with
  14856. CONFIG_SYSLOG_TIMESTMAP=y (2017-05-11).
  14857. * mtd: Build RAMTRON and AT45DB drivers only if selected. From Juha
  14858. Niskanen (2017-05-11).
  14859. * mtd/config: Fix byte read interface test. From Juha Niskanen
  14860. (2017-05-11).
  14861. * mtd: Fix some unallocated and NULL pointer issues. rwb->wrflush and
  14862. rwb->wrmaxblocks in rwbuffer could get unallocated values from
  14863. ftl_initialize() in some configurations. Also fixes related assert:
  14864. up_assert: Assertion failed at file:rwbuffer.c line: 643
  14865. that can happen with the following configuration:
  14866. CONFIG_FTL_WRITEBUFFER=y
  14867. CONFIG_DRVR_WRITEBUFFER=y
  14868. # CONFIG_FS_WRITABLE is not set
  14869. These problems are caused by CONFIG variable differences between the
  14870. buffer layers. TODO: This is not a perfect solution. readahead
  14871. support has similar issues. From Juha Niskanen (2017-05-11).
  14872. * STM32L4: port stm32l4_serial_get_uart function from STM32F7. From
  14873. Juha Niskanen (2017-05-12).
  14874. * syslog: Avoid flushing syslog_stream buffer, if possible, until
  14875. lib_vsprintf() completely parses the format. This assures that the
  14876. flush will flush the entire output, even data that may potentially
  14877. follow the linefeed. And, in that case, it cannot be interleaved
  14878. with other devug output. Suggested by Jussi Kivilinna (2017-05-12).
  14879. * syslog: There is yet another place where the output can get split.
  14880. That is in syslog_dev_write(): It will break up the stream to insert
  14881. a CR before the LF. This can that can be avoid be generating the
  14882. CR-LF sequence in the buffer and then detecting and ignoring valid
  14883. CR-LF sequences, rather than expecting syslog_dev_write() to insert
  14884. the CR in this case. I don't like the idea that syslog_dev_write()
  14885. still scans the entire output buffer to expand CR-LF sequence. This
  14886. seems really wasteful, especially in this case where we can be sure
  14887. that the is no CR or LF without a matching LF or CR. Bu, I think,
  14888. the existing behavior in syslog_dev_write() must be retained because
  14889. it is needed in other contexts (2017-05-12).
  14890. * Bitbucket Issue 47: Some of last syslog changes needed to be
  14891. condition on #ifdef CONFIG_SYSLOG_BUFFER in order to be built without
  14892. syslog buffering enabled (2017-05-12).
  14893. * Move CAN subsystem to its own directory and put device drivers
  14894. there. From Alan Carvalho de Assis (2017-05-12).
  14895. * locale.h: Add a bogus definition of locale_t. From (2017-05-12).
  14896. * kinetis K66: Fixed TMP2_CH1 definition. From David Sidrane
  14897. (2017-05-12).
  14898. * kinetis K66: Define ALT1 to match ref manual. From David Sidrane
  14899. (2017-05-12).
  14900. * kinetis K66: GPIO and pin mux cleanup. From David Sidrane
  14901. (2017-05-13).
  14902. * STM32F410: Add support for STM32F410. STM32F410 is a version of
  14903. STM32F4 with 32 KB of RAM and 62 or 128 KB of flash. From Gwenhael
  14904. Goavec-Merou (2017-05-13).
  14905. * Kconfig/deconfigs: Add CONFIG_ARCH_TOOLCHAIN_GNU to indicate that
  14906. the toolchain is based on GNU gcc/as/ld. This is in addition to the
  14907. CPU-specific versions of the same definition (2017-05-13).
  14908. * Remove CONFIG_ARM_TOOLCHAIN_GNU; replace with
  14909. CONFIG_ARCH_TOOLCHAIN_GNU (2017-05-13).
  14910. * Tiva I2C: Correct an error in conditional compilation (2017-05-13).
  14911. * Kconfig: Rename CONFIG_ARM_TOOLCHAIN_IAR to
  14912. CONFIG_ARCH_TOOLCHAIN_IAR (2017-05-13).
  14913. * Move prototype for up_cxxinitialize() from nuttx/include/nuttx/arch.h
  14914. to apps/include/platform/cxxinitialize.h (2017-05-13).
  14915. * libc/wchar: Versions mbrlen and mbsrtowcs taken and adapted from
  14916. FreeBSD code (at https://github.com/freebsd/freebsd/). From Matias
  14917. v01d (2017-05-13).
  14918. * tcp: wait for 3-Way Handshare before accept() returns. From Simon
  14919. Piriou (2017-05-14).
  14920. * configs/photon/wlan: disable network logs and add nsh over telnet.
  14921. From Simon Piriou (2017-05-14).
  14922. * TCP: Send RST if applicaiton 'unlistens()' before we complete the
  14923. connection sequence (2017-05-14).
  14924. * drivers: fix some bad NULL checks. From Juha Niskanen (2017-05-15).
  14925. * drivers: rename newly introduced up_i2creset to I2C_RESET. From
  14926. Juha Niskanen (2017-05-15).
  14927. * TCP: An RST received during the 3-way handshake requires a little
  14928. more clean-up (2017-05-15).
  14929. * STM32 CAN: I had the problem that the transmit FIFO size (= actual
  14930. elements in FIFO) was slowly increasing over time, and was full after
  14931. a few hours. The reason was that the code hit the line
  14932. "canerr("ERROR: No available mailbox\n");" in stm32_cansend, so
  14933. can_xmit thinks it has sent the packet to the hardware, but actually
  14934. has not. Therefore the transmit interrupt never happens which would
  14935. call can_txdone, and so the size of the FIFO size does not decrease.
  14936. The reason why the code actually hit the mentioned line above, is
  14937. because stm32can_txready uses a different (incomplete) condition than
  14938. stm32can_send to determine if the mailbox can be used for sending,
  14939. and thus can_xmit forwards the packet to stm32can_send.
  14940. stm32can_txready considered mailboxes OK for sending if the mailbox
  14941. was empty, but did not consider that mailboxes may not yet be used if
  14942. the request completed bit is set - stm32can_txinterrupt has to
  14943. process these mailboxes first. Note that I have also modified
  14944. stm32can_txinterrupt - I removed the if condition, because the CAN
  14945. controller retries to send the packet until it succeeds. Also if the
  14946. condition would not evaluate to true, can_txdone would not be called
  14947. and the FIFO size would not decrease also. From Lederhilger Martin
  14948. (2017-05-16).
  14949. * drivers/bch: BCH character driver bch_ioctl() always returns -ENOTTY
  14950. for DIOC_GETPRIV command. It should returns OK if DIOC_GETPRIV
  14951. command succeeds. From EunBong Song (2017-05-16).
  14952. * There can be a failure in IOB allocation to some asynchronous
  14953. behavior caused by the use of sem_post(). Consider this scenario:
  14954. (1) Task A holds an IOB.  There are no further IOBs.  The value of
  14955. semcount is zero. Task B calls iob_alloc().  Since there are not
  14956. IOBs, it calls sem_wait().  The value of semcount is now -1. (2)
  14957. Task A frees the IOB.  iob_free() adds the IOB to the free list and
  14958. calls sem_post() this makes Task B ready to run and sets semcount to
  14959. zero NOT 1.  There is one IOB in the free list and semcount is zero.
  14960. When Task B wakes up it would increment the sem_count back to the
  14961. correct value. (3) But an interrupt or another task runs occurs
  14962. before Task B executes.  The interrupt or other tak takes the IOB off
  14963. of the free list and decrements the semcount.  But since semcount is
  14964. then < 0, this causes the assertion because that is an invalid state
  14965. in the interrupt handler. So I think that the root cause is that
  14966. there the asynchrony between incrementing the semcount. This change
  14967. separates the list of IOBs: Currently there is only a free list of
  14968. IOBs. The problem, I believe, is because of asynchronies due
  14969. sem_post() post cause the semcount and the list content to become out
  14970. of sync. This change adds a new 'committed' list: When there is a
  14971. task waiting for an IOB, it will go into the committed list rather
  14972. than the free list before the semaphore is posted. On the waiting
  14973. side, when awakened from the semaphore wait, it will expect to find
  14974. its IOB in the committed list, rather than free list. In this way,
  14975. the content of the free list and the value of the semaphore count
  14976. always remain in sync (2017-05-16).
  14977. * stm32_serial: Fix freezing serial port. Serial interrupt
  14978. enable/disable functions do not disable interrupts and can freeze
  14979. device when serial interrupt is received while execution is at those
  14980. functions. Trivially triggered with two or more threads write to
  14981. regular syslog stream and to emergency stream. In this case, freeze
  14982. happens because of mismatch of priv->ie (TXEIE == 0) and actually
  14983. enabled interrupts in USART registers (TXEIE == 1), which leads to
  14984. unhandled TXE interrupt and causes interrupt storm for USART. From
  14985. Jussi Kivilinna (2017-05-17).
  14986. * STM32 Ethernet: Add support for KSZ8081 PHY interrupts. From
  14987. Sebastien Lorquet (2017-05-17).
  14988. * IPv6: Fix net_ipv6_pref2mask(). From Masayuki Ishikawa (2017-05-18).
  14989. * net procfs: Fix buffer corruption and refactor netdev_statistics.c.
  14990. From Masayuki Ishikawa (2017-05-19).
  14991. * binfmt: Fix .dtor memory allocation. From Masayuki Ishikawa
  14992. (2017-05-19).
  14993. * stm32_i2c: make private symbols static. From Juha Niskanen
  14994. (2017-05-19).
  14995. * network IOCTL commands: The only place in net/netdev/netdev_ioctl.c
  14996. where the interface state should change is for SIOCSIFFLAGS. The
  14997. other ones .. SIOCSIFADDR, SIOSLIFADDR, SIODIFADDR .. should not
  14998. change the link state. From Sebastien Lorquet (2017-05-19).
  14999. * drivers/wireless/ieee80211: Add support for AP scanning. From Simon
  15000. Piriou (2017-05-21).
  15001. * drivers/audio: Add cs43l22 audio driver STM32F4: Add I2S driver.
  15002. From Taras Drozdovsky (2017-05-21).
  15003. * This is based on a patch by Taras Drozdovsky. Basically, the delay
  15004. that was added during the integration of the CDC/ACM host driver was
  15005. interfering with streaming audio. That delay was put there to
  15006. prevent build endpoints from hogging the system bandwidth. So what
  15007. do we do? Do we hog the bandwidth or do we insert arbitrarity
  15008. delays. I think both ideas such (2017-05-21).
  15009. * Replace sprintf() with snprintf() in pipe.c. From Nobutaka Toyoshima
  15010. (2017-05-22).
  15011. * drivers/bch: Fix 'Missing Unlock' in bchdev_driver.c. From Masayuki
  15012. Ishikawa (2017-05-22).
  15013. * FAT: Fix 'Missing unlock' in fs_fat32.c. From Masayuki Ishikawa
  15014. (2017-05-22).
  15015. * netdb: Fix time info in lib_dnscache.c. From Masayuki Ishikawa
  15016. (2017-05-23).
  15017. * STM32L4: Add IWDG peripheral. This is the same as for STM32 except
  15018. that prescale and reload can be changed after watchdog has been
  15019. started, as this seems to work on L4. From Juha Niskanen (2017-05-23).
  15020. * drivers/can: Add Microchip MCP2515 CAN Bus controller driver. From
  15021. Alan Carvalho de Assis (2017-05-23).
  15022. * button_upper: Fix interrupt enabling for poll-events. From Jussi
  15023. Kivilinna (2017-05-24).
  15024. * netdb: Fix bugs in lib_gethostbynamer.c. This fix sets h_name in
  15025. struct hostent returned by gethostbyname(). From Masayuki Ishikawa
  15026. (2017-05-25).
  15027. * TCP: Fix tcp_findlistner() in dual stack mode. From Masayuki
  15028. Ishikawa (2017-05-25).
  15029. * TCP: tcp_input() now receives IP domain as an input parameter vs.
  15030. deriving from the IP header length (2017-05-25).
  15031. * Kinetis ADC: Various corrections and updates. From David Sidrane
  15032. (2017-05-25).
  15033. * drivers/lcd: Add driver for Nokia 5110 (Philips PCD8544). From Alan
  15034. Carvalho de Assis (2017-05-26).
  15035. * configs/stm32f103-miniumum: Add board support to use the Nokia 5110
  15036. LCD display driver. From Alan Carvalho de Assis (2017-05-26).
  15037. * configs/pic32mx7mmb: Add support for the Pinquino toolchain
  15038. (2017-05-27).
  15039. * configs/pic32mx7mmb: Repartition files to match newer
  15040. configurations. Add support for PROCFS file system. Default is now
  15041. Pinguino toolchain. Verify networking (2017-05-27).
  15042. * pthread_trylock: Fixes a problem in pthread_trylock() noted by
  15043. initialkjc@yahoo.com. When CONFIG_PTHREAD_MUTEX_UNSAFE=y, the
  15044. special return value EAGAIN was not being detected due to differences
  15045. in reporting of returned values (2017-05-29).
  15046. * vfs: fdopen: Add missing file stream flags clearing. Clear file
  15047. stream structure regardless of config options. Structure clearing is
  15048. needed as previous use of stream list entry might leave fs_flags
  15049. set. From Harri Luhtala (2017-05-31).
  15050. * drivers/input: Add Cypress MBR3108 CapSense touch button driver.
  15051. From Juha Niskanen (2017-05-31).
  15052. * STM32L4: gpio: put back EXTI line source selection. From Juha
  15053. Niskanen (2017-05-31).
  15054. * mtd/smart: Fix use of uninitialized variable. From Jussi Kivilinna
  15055. (2017-05-31).
  15056. * drivers/mtd/w25.c: Erase sector only if it is not in erased state.
  15057. From Jussi Kivilinna (2017-05-31).
  15058. * stm32f7: Add SPI DMA support. From Jussi Kivilinna (2017-05-31).
  15059. * drivers/mtd/w25.c: Enable short delay after sector/chip erase. From
  15060. Jussi Kivilinna (2017-05-31).
  15061. * pthread robust mutexes: Fix memmory trashing problem: the main task
  15062. may also use mutexes; need to check thread type before accessing
  15063. pthread-specific mutex data structures. Problem noted by Jussi
  15064. Kivilinna (2017-05-31).
  15065. * STM32L4 RTC: store RTC MAGIC to backup reg, not to address zero.
  15066. From Juha Niskanen (2017-06-01).
  15067. * drivers/{sensors,usbmisc}: Fix uninitialized I2C frequency. From
  15068. Juha Niskanen (2017-06-01).
  15069. * mtd/config: Add some error checks for I/O errors. From Juha
  15070. Niskanen (2017-06-01).
  15071. * pthread mutex: Remove bogus DEBUGASSERT. Problem noted by Jussi
  15072. Kivilinna (2017-06-01).
  15073. * Tiva SSI: Resolves issue 52 'Copy-Paste error in
  15074. tiva_ssibus_initialize()' submitted by Aleksandr Kazantsev
  15075. (2017-06-01).
  15076. * nucleo-f4x1re User LEDS: Issue #51 reports compilation problems with
  15077. stm32_userled.c. Reported by Gappi92 (2017-06-01).
  15078. * tools/: Add initialconfig.c so that perhaps in the future we will be
  15079. able to use this to generate a new configuration from scratch (rather
  15080. than having to derive new configurations from existing
  15081. configurations). NOTE: Not yet intregated into the build system
  15082. (2017-06-02).
  15083. 7.22 2017-09-06 Gregory Nutt <gnutt@nuttx.org>
  15084. * Fix ELF loader up_checkarch on ARM arch. From Cristian Condurache
  15085. (2017-05-09).
  15086. * Kinetis: Disable MPU when not in protected mode. The hardware reset
  15087. state of the the MPU precludes any bus masters other then DMA access
  15088. to memory. Unfortunately USB and SDHC have there own DMA and will not
  15089. have access to memory in the default reset state. This change
  15090. disabled the MPU if present on system startup. From David Sidrane
  15091. (2017-06-02).
  15092. * Kinetis: teensy-3.x Define USBOTG-FS Read from FLASH access in board
  15093. config. Allow the board config to define the USBOTG-FS to have Read
  15094. access to FLASH. From David Sidrane (2017-06-02).
  15095. * Kinetis: usbdev clean up ensuring proper use of HW. Remove magic
  15096. numbers from code, documented the use of undocumented bits. Remove
  15097. comments and code that were not appropriate for this hardware.
  15098. Removed ifdef that's that were always compiled and removed code
  15099. blocks that were never compiled. Ensure proper access order to
  15100. hardware. Per the reference manual: disable endpoints prior to
  15101. configuring buffer descriptor, then enable endpoints Reorganize
  15102. interrupt processing order to offload data after processing errors.
  15103. Reorganize initialization so that there is a clear initialization
  15104. phase, reset phase for both the hardware and software structures. By
  15105. breaking the initialization into smaller pieces, the reset interrupt
  15106. only resets the resources within the controller that should be reset.
  15107. Rework suspend and resume logic so they perform properly. Made attach
  15108. and detach functions optional. As they do not make sense for a bus
  15109. powered device. Ensured the calls to up_usbinitalize
  15110. up_usbuninitalize do not violate the USB spec. From David Sidrane
  15111. (2017-06-02).
  15112. * WIP: wireless/ieee802154: More work on association/beacon-enabled
  15113. networks. From Anthony Merlino (2017-06-02).
  15114. * We developed a huge Changeset over a year ago to make USB Composite
  15115. configuration dynamical and be able to instanciate the CDCACM
  15116. multiple times inside this device. We use this feature to switch
  15117. between one in normal and up to three CDCACMs in maintenance boot.
  15118. The control path starts in boardctl.c where the configuration for the
  15119. device is constructed. There are still a few issues which I'll ask
  15120. you to have a look at before this beast can be merged. (1) To be
  15121. able to construct the data dynamically I have changed some
  15122. USB-Structs to be packed. Maybe there are additional structs to
  15123. change (just for completeness – not for current functionality). (2)
  15124. I've added the Macro COMPILE_TIME_ASSERTION two times (in
  15125. usbmsc_desc.c and in cdcacm_desc.c) to stay private. Maybe you’ll
  15126. find a better place. It’s used to check the size of the structs
  15127. against the assumptions. (3) I've changed the interface for some
  15128. USB-Functions to receive also the dynamic configuration. Maybe this
  15129. can be done more elegant. (4) The original NuttX (without the patch)
  15130. seems to have problems with a Composite device holding a CDCACM and
  15131. an MSC. The USB SET CONFIGURATION request does not to work at all.
  15132. This makes the test fail under Windows and under Linux. Applying this
  15133. patch doesn’t change anything – because it only changes the
  15134. configuration – not the behavior. Maybe you’ll have a look at
  15135. this problem before applying the patch. From Frank Benkert
  15136. (2017-06-01).
  15137. * power: battery_charger: add ioctl for charging input current. From
  15138. Juha Niskanen (2017-06-06).
  15139. * MTD FLASH drivers: The byte write method of several drivers had a
  15140. cloned error: It was not locking the bus while performing byte write
  15141. operations (2017-06-06).
  15142. * Kinetis:sim ensure isolation of clock dividers for 0 value case.
  15143. This fixes a bug were a SoC does not have a clockdivN register and
  15144. passes a 0 for the init value. This prevents overflow of the 0
  15145. decremented to -1 (0xffffffff) spilling over to other clockdivN
  15146. feilds. From David Sidrane (2017-06-06).
  15147. * teensy-3.x:Removed call to khci_usbattach. The call is not need by
  15148. the driver if CONFIG_USBDEV_BUSPOWERED=y. The class register will
  15149. enable the soft connect pull up. The khci_usbattach call only set a
  15150. flag, and that flag is only tested in the class register. On a USB
  15151. powered device if we are running we are attached. From David Sidrane
  15152. (2017-06-06).
  15153. * teensy-3.x:Refreshed config and made board self powered. From David
  15154. Sidrane (2017-06-06).
  15155. * Kinetis:USB-FS driver. Removed the notion of attached. The
  15156. khci_usbattach is call early in the init either in board_initalize or
  15157. in board_app_initalize. In either case it is always done prior to the
  15158. the class register. Therefore the khci_usbattach call only set a
  15159. flag, and that flag is only tested in the class register. The class
  15160. register will enable the soft connect pull up. From David Sidrane
  15161. (2017-06-06).
  15162. * Kinetis:Fixed waning for kinetis_mpudisable. Missing header file
  15163. added. From David Sidrane (2017-06-06).
  15164. * STM32L4: Ad support for the STM32L475 family. Incomplete -- still
  15165. needs pinmap, rcc, otgfs, syscfg (2017-06-08).
  15166. * STM32L4: Add L475 syscfg register definitions (2017-06-08).
  15167. * STM32L4: Add STM32L475 RCC definitions/logic (2017-06-08).
  15168. * STM32L4: Add STM32L475 OTGFS header file. Not fully reviewed
  15169. (2017-06-08).
  15170. * STM32L4: Add STM32L475 pinmap. Initial cut is just the the L476
  15171. pinmap with unsupported devices removed (2017-06-08).
  15172. * configs/stm32f103-minumum SPI: SPIDEV_WIRELESS used when this has
  15173. changed to SPIDEV_CONTACTLESS. From Nicolas Estibals (2017-06-08).
  15174. * stm32f103-minimum: dd GPIO device driver example for
  15175. STM32F103-Minimum. This chang eadds the initialization needed by
  15176. stm32f103-minimum board to support the NuttX GPIO Subsystem. From
  15177. Alan Carvalho de Assis (2017-06-08).
  15178. * STM32L4: Remove some C++ style comments (2017-06-08).
  15179. * configs/: a few more places where SPIDEV_WIRELELSS should be
  15180. SPIDEV_CONTACTLESS (2017-06-08).
  15181. * kinetis: lpserial fixed header inclusion. From David Sidrane
  15182. (2017-06-08).
  15183. * Kinetis: SPI driver. From David Sidrane (2017-06-08).
  15184. * Fix C++ __guard implementation for ARM. The standard C++ ABI that
  15185. most platforms follow defines __guard to be 64 bits. The existing
  15186. implementation of libxx_cxa_guard.cxx follows this. However, the
  15187. 32-bit ARM C++ ABI defines it as 32 bits instead, and changes the
  15188. meaning slightly so only the lowest bit is used. This matters because
  15189. GCC creates guard symbols without regards to what libxx_cxa_guard.cxx
  15190. says. So on ARM, gcc allocates 4 bytes, but __cxa_guard_release
  15191. writes 8 bytes, zeroing out another unlucky variable nearby. Fix it
  15192. by special-casing 32-bit ARM in libxx_cxa_guard. From Jim Paris
  15193. (2017-06-09).
  15194. * vfs/poll: fix timeout calculation. From Jim Paris (2017-06-09).
  15195. * stm32f103-minimum: Fix a small BUG when reading from output pin. We
  15196. need a different read_ops to read from output pin. This patch fixes
  15197. the issue. From Alan Carvalho de Assis (2017-06-09).
  15198. * testbuild:Added -x to fail build on errors for CI. On CI we want to
  15199. know ASAP of a failure. This adds the -x (exit on build failures)
  15200. option to faclitate that behavior. Use ${MAKE} ${MAKE_FLAGS} for
  15201. make invocation. When -x is provided change MAKE_FLAGS to --silent
  15202. --no-print-directory and set -e. Ignore exit status when using grep
  15203. for checking for CONFIG_NXWM=y. From David Sidrane (2017-06-10).
  15204. * stm32f103-minimum: Use separated read_ops for GPIO interrupt pins.
  15205. From Alan Carvalho de Assis (2017-06-11).
  15206. * STM32F33: Fix hrtim definitions, Add beginning of HRTIM driver. From
  15207. Mateusz Szafoni (2017-06-11).
  15208. * STM32 HRTIM: add character driver. From Mateusz Szafoni
  15209. (2017-06-11).
  15210. * nucleo-f334r8: add HRTIM initialization. From Mateusz Szafoni
  15211. (2017-06-11).
  15212. * i.MX6: Fix a wrong parameter passed when calling irq_attach() in
  15213. imx_serial.c. From Masayuki Ishikawa (2017-06-12).
  15214. * Based on the last PR, review all serial driver vector attachment.
  15215. Found one additional error and updated all relevant drivers to
  15216. current interrupt parameter passing (2017-06-12).
  15217. * gethostbyname_r: Fix check for space in buffer (2017-06-12).
  15218. * MTD M2PX: If we READ while a write/erase is pending, the command is
  15219. ignored and the write/erase continues. If we dont catch this
  15220. situation we will return garbage to the user because the flash will
  15221. not execute the command. So READ MUST wait for write completion, and
  15222. before that, the bus must be locked since it's a precondition to
  15223. calling waitwritecomplete(). From Sebastien Lorquet (2017-06-12).
  15224. * MTD FLASH driver: Clone Sebastien Lorquet's m25px change to at25,
  15225. is25xp, ramtron, and sst25xx (2017-06-12).
  15226. * STM32 HRTIM: GPIOs configuration + EEV and FAULT strucutres. From
  15227. Mateusz Szafoni (2017-06-12).
  15228. * stm32/stm32l4 PWM: While attempting to output a 70 MHz square wave
  15229. from the timer output of a STM32 clocked at 140 MHz (which works fine
  15230. in baremetal C), I stumbled on what I believe to be an error in
  15231. arch/arm/src/stm32/stm32_pwm.c. Line 1304 we are told that: reload =
  15232. timclk / info->frequency; which I belive to be incorrect, it should
  15233. be: reload = timclk / info->frequency - 1; since starting to count
  15234. from 0, if I want to output half of the TIM clock, I must count to 1
  15235. and not to 2. Surely enough, the original code did output 140/3=47
  15236. MHz, while this correction does allow the output up to 70 MHz. I am
  15237. not sure this affects most users generating slow PWM (e.g. PX4) but
  15238. for frequencies close to the PCLK, indeed the difference becomes
  15239. significant. From JM (2017-06-13).
  15240. * mtd/w25: add missing locking and fix SPI_SELECT usage for
  15241. w25_unprotect. From Jussi Kivilinna (2017-06-13).
  15242. * mtd/w25: wait for BUSY flag to clear in w25_readid and w25_unprotect.
  15243. W25Q128 datasheet says that all instructions expect 'Read Status
  15244. Register' and 'Erase/Program Suspend' are ignored when BUSY flag in
  15245. status register is '1'. Therefore wait for busy flag to clear in
  15246. w25_readid() and w25_unprotect(). From Jussi Kivilinna
  15247. (2017-06-13).
  15248. * freedom-k66f: Use SPI driver. Initalize SPI1 on connector J6. No
  15249. real use, as of yet. From David Sidrane (2017-06-13).
  15250. * pthreads: Move functions from sched/pthreads to libc/pthreads.
  15251. These functions just coordinate other OS interface calls but are not
  15252. a fundamental OS interfaces and, hence, do not belong within the OS:
  15253. pthread_yield(), pthread_once(), pthread_cond_init(),
  15254. pthread_cond_destroy(), pthread_barrier_init(),
  15255. pthread_barrier_destroy(), and pthread_barrier_wait() (2017-06-14).
  15256. * multiple fixes for stm32f1xx RTC clock: (1) compile issues because
  15257. of missing RTC_MAGIC #defines, (2) missing functionality based on
  15258. RTC_MAGIC in RTC based on stm32_rtcounter.c, (3) IRQ setup from
  15259. up_rtc_initialize was later reset in up_irqinitialize, (4) write
  15260. access to backup registers without enabling access to backup domain,
  15261. (5) possible races in set/cancel alarm. tested with STM32F103C8
  15262. only. device now wakes up from forced STANDBY mode by alarm. From
  15263. Leif Jakob (2017-06-14).
  15264. * stm32f103-minimum: Fix compiler error in MCP2415 logic (2017-06-14).
  15265. * Fixed ARMv7-M Toolchain setting. Cortex-M4 only have Single
  15266. Precision FPU. From Hidetaka Takano (2017-06-14).
  15267. * wireless/ieee802154: Lots of fixes, cleanup, new functionality.
  15268. Functional. From Anthony Merlino (2017-06-14).
  15269. * Fixed ARMv7-M Toolchain definition for Cortex-M4. From Hidetaka
  15270. Takano (2017-06-15).
  15271. * Improve configure.sh behavior: (1) enable to call from top
  15272. directory. (2) enable to designate direct path for config. (3)
  15273. install .gdbinit if the target has. From Hidetaka Takano
  15274. (2017-06-15).
  15275. * Update tools/configure.c to same functionality as configure.sh. Add
  15276. an array of optional file names. Currently, .gdbinit is the only
  15277. optional file but other things like IDE-specific project files might
  15278. need to be copied as well (2017-06-15).
  15279. * STM32 HRTIM: outputs enable, period and compare functions, cosmetics.
  15280. From Mateusz Szafoni (2017-06-15).
  15281. * tool/configure will now copy Eclipse project files if they are
  15282. present in the board directory file (2017-06-15).
  15283. * configs/.gitignore: Make sure that any .gdbinit, .project, or
  15284. .cproject files are ignore so that they are less likely to be
  15285. included in a patch or PR (2017-06-15).
  15286. * wireless/ieee802154: Fixes issue with wrong information being sent in
  15287. a rejected association response frame. From Anthony Merlino
  15288. (2017-06-15).
  15289. * wireless/ieee802154: Fixes issue with wrong information being sent in
  15290. a rejected association response frame. From Anthony Merlino
  15291. (2017-06-15).
  15292. * Rename configs/mrf24j40-radio to mrf24j40-mac (2017-06-15).
  15293. * clicker2-stm32: Add a configuration that will, eventually, be used
  15294. for 6loWPAN testing (2017-06-15).
  15295. * Fix a typo. And typo in Kconfig file is reflect in all defconfig
  15296. files (2017-06-15).
  15297. * SAMv7: TWIHS driver add reference counting. From David Sidrane
  15298. (2017-06-15).
  15299. * STM32 HRTIM: structures for deadtime and chopper, cosmetics. From
  15300. Mateusz Szafoni (2017-06-16).
  15301. * Clicker2-STM32: Enable RAMLOG in mrf24j40-6lowpan configuration.
  15302. Update README (2017-06-16).
  15303. * STM32 F4 FLASH: Enable/disable the flash write protection on any
  15304. sector. I have verified it to work on the stm32f427. From Sebastien
  15305. Lorquet (2017-06-16).
  15306. * STM32 SPI/I2S: Back out a bad pin mapping change from
  15307. 4ab2a3661ea57211f4ae12fe21c5de3454ba0ef2. Try to staighten out some
  15308. I2C3 and SPI3 pin configuration stuff (2017-06-16).
  15309. * Clicker2-stm32: Allow both IEEE 802.15.4 MAC character and network
  15310. devices to be registered (2017-06-16).
  15311. * Clicker2-STM32: Enable networking and 6loWPAN in the
  15312. mrf24j40-6lowpan configuration. Fix a couple of new 6loWPAN compile
  15313. issues revealed by this new configuration (2017-06-16).
  15314. * Merge remote-tracking branch 'origin/master' into ieee802154
  15315. (2017-06-16).
  15316. * clicker2-stm32: mrf24j40-6lowpan configuration needs to enabled the
  15317. ieee 802.15.4 MAC network device as well (2017-06-16).
  15318. * stm32:flash add CONFIG_STM32_STM32F469 to list defining OPTCR1. From
  15319. David Sidrane (2017-06-17).
  15320. * ieee802.15.4 loopback: Better simulation addressing: sort, extended,
  15321. panid, and IP address conversion (2017-06-17).
  15322. * ieee802154 MAC: Fix a warning when compiled for a target with 64-bit
  15323. addressing (2017-06-17).
  15324. * Update some 6loWPAN configurations based on changes to NSH Kconfig
  15325. (2017-06-17).
  15326. * wireless/ieee802154: Fixes ordering of strings associated with
  15327. changed enum. From Anthony Merlino (2017-06-17).
  15328. * wireless/ieee802154: Renames mac802154_poll to mac802154_radiopoll to
  15329. be more obvious. Merges shared logic for sending data request
  15330. commands. Minor improvements and simplified logic. From Anthony
  15331. Merlino (2017-06-17).
  15332. * STM32 HRTIM: Faults and events configuration, timers mode
  15333. configuration, add hrtim ops, ADC triggering and DAC synch events.
  15334. From Mateusz Szafoni (2017-06-18).
  15335. * Add RFC6775 header file (2017-06-18).
  15336. * rfc6775: Fix header, add references, correct naming. This is NOT
  15337. ICMPv6, but part of 6LoWPAN that acts like ICMPv6 (2017-06-18).
  15338. * wireless/ieee802154: Renames Kconfig option, adds option for
  15339. unimplemented receiver priority. From Anthony Merlino (2017-06-18).
  15340. * STM32 HRTIM: Fix initialization bug, minor changes. Remove unneeded
  15341. definitions. From Mateusz Szafoni (2017-06-18).
  15342. * IEEE 802.15.4 MAC: Add list management and prioritization logic that
  15343. will permit the MAC layer to support bound multiple clients
  15344. (2017-06-18).
  15345. * ieee 802.15.4: Need counting protection on the logic that releases
  15346. the notification resources. Otherwise, notification handlers may be
  15347. operating with a stale pointer (2017-06-18).
  15348. * IEEE 802.15.4 Network Driver: Add logic to setup the network mask,
  15349. update the MAC-based IPv6 addressing when the network is brought up.
  15350. The idea is that addressing changes are supposed to occur only while
  15351. the network is down but won't take effect until the network is up
  15352. again (2017-06-18).
  15353. * Swithches IEEE 802.15.4 based code to using byte arrays instead of
  15354. uint16_t values for short address and PAN ID. From Anthony Merlino
  15355. (2017-06-19).
  15356. * Throw error when error happens in the tcp_listen function. From
  15357. Roland Takacs (2017-06-19).
  15358. * Support listening sockets in the getsockname() function. From Roland
  15359. Takacs (2017-06-19).
  15360. * IEEE 802.15.4/6LoWPAN: Correct one more usage of saddr; also update a
  15361. README and the TODO list (2017-06-19).
  15362. * STM32 ADC: invalidate dma buffer before use. Missing invalidation
  15363. caused old samples being fetched from cache. From Jussi Kivilinna
  15364. (2017-06-19).
  15365. * Enable UDP example in clicker1-stm32/mrf24j40-6lowpan example, make
  15366. sure that CONFIG_EXAMPLES_UDP_NETINIT is set in all other
  15367. examples/udp configurations (2017-06-19).
  15368. * Use struct instead of pointer to the struct as sizeof argument in
  15369. memset in usbmsc.c. Otherwise it leads to error: argument to
  15370. 'sizeof' in 'memset' call is the same pointer type 'struct
  15371. usbmsc_lun_s *' as the destination. From Oleg Evseev (2017-06-19).
  15372. * /configs/clicker2-stm32/mrf24j40-6lowpan: Enables both client and
  15373. server UDP tests on the target; Update a README file (2017-06-19).
  15374. * wireless/ieee802154: Cleans up some endianness issues and fixes poll
  15375. request issue. From Anthony Merlino (2017-06-19).
  15376. * STM32 L4: Set I2C SDA and SCL pins to open drain mode. From Pekka
  15377. Ervasti (2017-06-20).
  15378. * STM32 L4: I2C4 was writing to wrong RCC registers. From Juha
  15379. Niskanen (2017-06-20).
  15380. * STM32 F7: Set I2C4 SDA and SCL pins to open drain mode. From Juha
  15381. Niskanen (2017-06-20).
  15382. * 6LoWPAN: Add debug statements; Update configuration, need to specific
  15383. 6LoWPAN compatible port numbers (2017-06-20).
  15384. * mac802154_req_data() can return without releasing the exclsem
  15385. (2017-06-20).
  15386. * STM32: Allow clock frequencies > 168 Mhz on stm32f427/429. We need
  15387. to enable the power overdrive for this case. This patch allows the
  15388. required bits to be set in proper sequence. It also modifies the
  15389. local register access operations to allow more than 16-bit registers.
  15390. From Sebastien Lorquet (2017-06-20).
  15391. * Kinetis:I2C driver added I2C3, reference counting and reset.
  15392. Refactored the driver to support reference counting and reset added
  15393. I2C3. From David Sidrane (2017-06-20).
  15394. * ieee802154 network driver now retries if ieee802154_req_data()
  15395. returns EINTR. In clicker2-stm32 6LoWPAN configuration, increased
  15396. the number of TX descriptors to match then number of IOBs
  15397. (2017-06-20).
  15398. * Kinetis:I2C fixed mis-placed kinetis_i2c_endwait. Fixed accedently
  15399. replaced post with wait. From David Sidrane (2017-06-20).
  15400. * ieee802154_req_data: Don't modify the IOB until we are certain that
  15401. no EINTR errors will occur. Otherwise, the retry will fail
  15402. (2017-06-20).
  15403. * ieee802154 MAC: Free allocated TX descriptor if an error occurs after
  15404. the descriptor has been allocated (2017-06-20).
  15405. * ieee802154: Adds some missing elements to start support for
  15406. beacon-enabled networks. From Anthony Merlino (2017-06-20).
  15407. * ieee802154: Fixes Kconfig naming for number of TX desc and number of
  15408. notifications. From Anthony Merlino (2017-06-21).
  15409. * pthread_mutex_unlock(): Missing check for the case where
  15410. pthread_mutex_lock() is called when the mutex is not locked. In that
  15411. case, it would increment the underlying semaphore avove 1. This is
  15412. the fix for a problem noted by initialkjc@yahoo.com (2017-06-21).
  15413. * Missing option to select CONFIG_MAC802154_NNOTIF in Kconfig
  15414. (2017-06-21).
  15415. * clicker2-stm32/mrf24j40-6lowpan: Network now runs on LP work queue
  15416. (2017-06-21).
  15417. * STM32 L4 DMA: Correct USART3_RX bad channel definition. From Juha
  15418. Niskanen (2017-06-21).
  15419. * 6LoWPAN: Correct an error in calculating the location of the UDP
  15420. header (2017-06-21).
  15421. * wireless/ieee802154: Minor naming change to align better with coding
  15422. guidelines. From Anthony Merlino (2017-06-21).
  15423. * mrf24j40: Fix a warning (which is actually an error) (2017-06-21).
  15424. * 6LoWPAN: Correct a few addressing issues. The apps/examples/udp test
  15425. now appears to be fully functional. Also reserve two bytes at the
  15426. end of the frame for the FCS (2017-06-21).
  15427. * Do not search net device when all-zeros address is used. From Roland
  15428. Takacs (2017-06-22).
  15429. * Fix problems in last commit noted by Jeongchan Kim: last change
  15430. returned -EINVAL vs EINVAL; Treat the case where the mutex is already
  15431. unlocked just like the case where the mutex is held by another thread
  15432. -- return EPERM (2017-06-22).
  15433. * Logic of a353602aa9cc50ed958df11af35e3972101b5f40 only applies if
  15434. CONFIG_NETDEV_MULTINIC (2017-06-22).
  15435. * 6LoWPAN: Fixes needed when extended addressing is enabled. Currently
  15436. breaks short addressing. Loopback driver needs to initialize the MAC
  15437. meta data; Address decompression logic must have the MAC address to
  15438. handle the most common compression cases. Fix a src/dest address
  15439. confusion. Fix yet another addressing problem. That does it.
  15440. Several recent, proper bugfixes unmasked a few errors in the 6LoWPAN
  15441. logic. But I think full functionality is restored (2017-06-22).
  15442. * ieee802154: Stubs out some SCAN.request code. From Anthony Merlino
  15443. (2017-06-22).
  15444. * drivers/net/tun.c: Use critical section instead of semaphore in
  15445. tun_ifdown(). From Masayuki Ishikawa (2017-06-23).
  15446. * netdb: Fixed buffer size used for sending DNS queries should depend
  15447. on the configured DNS name size. From Ritjaina (2017-06-23).
  15448. * 6LoWPAN: Add missing IPv6 address creation to HC1 decode logic. Fix a
  15449. typo in an index that prevented use with HC1 and extended addresses
  15450. (2017-06-23).
  15451. * clicker2-stm32/mrg24j40-6lowpan: Add apps/examples/nettest. Refresh
  15452. all configurations that enable the nettest (2017-06-23).
  15453. * configs/sim/sixlowpan: Disable I2C tool. Not so useful in a
  15454. simulation (2017-06-23).
  15455. * 6LoWPAN: TCP logic was not obeying MTU packet size limitations.
  15456. Other TCP-specific issues also fixed. There remains a major
  15457. outstanding issue with ACK handling. Handle case where the local
  15458. address is zero (listen socket). Major re-architecting of TCP logic
  15459. to properly handle TCP stuf like ACKs and TPC windowing which were
  15460. not properly covered in the initial design. Still does not work;
  15461. hangs waiting of ACKs.Various fixes for a clean build if either TCP
  15462. or UDP are disabled. Given the current state of TCP, it is
  15463. recommended that you disable TCP. HC06, copy TCP header as though it
  15464. were data. Modify the the way TCP headers are transferred -- yet
  15465. again. TCP packet reassembly now seems to work OK, but no there now
  15466. does not seem to be a listener on the port (2017-06-24).
  15467. * IEEE802.15.4: Update RX statistics in network driver (2017-06-25).
  15468. * 6LoWPAN TCP: Fix more ACK handling, fix some callback flag settings.
  15469. Now the TCP test appears fully functional on 6LoWPAN (2017-06-25).
  15470. * ieee802154: Finishes transmission of beacon frames, and performing a
  15471. passive scan. From Anthony Merlino (2017-06-25).
  15472. * ieee80215: starts adding support for beacon-enabled networking. From
  15473. Anthony Merlino (2017-06-26).
  15474. * STM32L4 serial: Allow configuring Rx DMA buffer size. From Juha
  15475. Niskanen (2017-06-26).
  15476. * stm32f33xxx_rcc: cleanup + move hrtim clock source selection. fix
  15477. typo in stm32f33xxx_rcc.h. From Mateusz Szafoni (2017-06-26).
  15478. * 6LoWPAN: Fix duplicate and bad memcpy in loopback driver
  15479. (2017-06-26).
  15480. * Beacon logic: Damage control. Looks like something went wrong with
  15481. the PR merge (2017-06-26).
  15482. * ieee802154: Renames mac802154_indalloc to ieee802154_indalloc since
  15483. the functions are ieee802154 scoped functions. Improves notification
  15484. freeing functionality. Each notification now has a number of
  15485. clients. When the last client calls free, the notification is freed
  15486. back to the pool. From Anthony Merlino (2017-06-26).
  15487. * Clicker2-STM32: Add support for the Telnet client to the
  15488. mrf24j40-6lowpan configuration. Useless at the moment because the
  15489. NuttX telnet daemon does not yet support IPv6 (2017-06-27).
  15490. * ieee802154: Supports get request for coordinator address. From
  15491. Anthony Merlino (2017-06-27).
  15492. * ieee802154: Finishes beacon association functionality. From Anthony
  15493. Merlino (2017-06-27).
  15494. * smart: fix wrong freeing of device structure and use-after-free
  15495. issues on error paths. From Jussi Kivilinna (2017-06-28).
  15496. * net/: IPv6 packet input, Improve checks that the packet is destined
  15497. for us. There might be some odd things that can happen in certain
  15498. forwarding scenarios (2017-06-28).
  15499. * Fix -Werror=implicit-fallthrough on gcc7. From Julien Lecoeur
  15500. (2017-06-28).
  15501. * Fix warning implicit-fallthrough with arm-none-eabi-gcc 7. From
  15502. Julien Lecoeur (2017-06-28).
  15503. * 6LoWPAN: Add configurable support for 6LoWPAN star topology. With
  15504. this change, the endpoints which are the 'points' of the star will
  15505. forward all traffic to the coordinator. The coordinator is assumed
  15506. to be the 'hub' of the star. This function also implements IPv6
  15507. forwarding. That forwarding implementation is minimal, just enough
  15508. to support the forwarding requirements of the star hub node
  15509. (2017-06-28).
  15510. * Clicker2-STM32 + net/: Add configurations to support the endpoint
  15511. and hub roles in a star topology. Fix various things that broke when
  15512. IPv6 forwarding was enabled (2017-06-29).
  15513. * 6LowPan: Change how the destination node address is handled in the
  15514. star endpoint configuration. When the star endpoint sent the IPv6
  15515. destination address, the HC06 compression logic elided the address --
  15516. meaning that it could be reconstructed by the recipient based on the
  15517. receiver's assigned short address. However, when intercepted by the
  15518. hub, the uncompressed address does not know the short address of the
  15519. recipient and instead uses the short address of the hub. This means
  15520. two things: (1) it looks like the hub address is the destination
  15521. address, and (2) the uncompressed UDP packet has a bad checksum.
  15522. This change assures that the destination IPv6 address is not elided
  15523. in the case of the star endpoint configuration (2017-06-30).
  15524. * 6LoWPAN: Fix a misconception about HC06 16-bit IPv6 address
  15525. compression (2017-06-30).
  15526. * 6LoWPAN fix compile issue in star hub configuration (2017-06-30).
  15527. * This change backs out the 'misconception' fix of
  15528. 76e6dba2e4bfab9515bef2866c5c59fd2a2f0fa0 and reimplements it in a way
  15529. that actually seems to work (2017-06-30).
  15530. * ieee802154: Random fixes to get beacon-enabled networking more
  15531. stable. From Anthony Merlino (2017-06-30).
  15532. * 6LoWPAN: TCP send logic was returning a failure in one case when, in
  15533. fact, the send was successful (2017-06-01).
  15534. * include/nuttx/net and net/: Move private prototype of
  15535. netdev_foreach() from the public include/nuttx/net/net.h to the
  15536. private net/netdev/ndetdev.h header file where it belongs
  15537. (2017-07-01).
  15538. * ieee802154: Cleans up some wireless logging. Fixes resp_waittime
  15539. field in ieee802154_macattr_u. Supports multiple incoming superframe
  15540. events. From Anthony Merlino (2017-07-01).
  15541. * Initial clang compile. From Goran Mekić (2017-07-01).
  15542. * Add CLANG definitions in Kconfig and Toolchain.defs (2017-07-02).
  15543. * samv71-xult: Add support for the MRF24J40 radio and create a
  15544. mrf24j40-starhub configuration. A few fixes to IPv6 and 6LoWPAN were
  15545. required to have 6LoWPAN and Ethernet coexisting. Untested and
  15546. expect some complexity in the bring-up. Put the serial console on
  15547. UART3, i.e., on a Arduino serial shield. Add missing MRF24J40
  15548. bring-up logic (2017-07-02).
  15549. * stm32f4 discovery: Add logic to register the button driver and the
  15550. user led driver if so configured. From Jan Pobrislo (2017-07-02).
  15551. * samv71-xult: Fix SP0 vs. TWHS0 in mrf24j40-starhub/defconfig; fix
  15552. copy-paste errors in SPI initialization logic. Fix a typo in
  15553. MRF24J40 initialization (2017-07-02).
  15554. * drivers/wireless/ieee802154: Moved radios to individual
  15555. sub-directories. From Anthony Merlino (2017-07-03).
  15556. * stm32f40xxx_rtcc ISR register and write protection fix. From Eetu
  15557. Nevalainen (2017-07-03).
  15558. * samv71-xult/mrf24j40-starhub: Disabled CONFIG_BOARD_INITIALIZE;
  15559. Correct MRF24J40 interrupt edge. Fix MRF24J40 interrupt pin. Should
  15560. have pull-ups on interrupting inputs. Reset pins backward. Add
  15561. reset logic (but comment out because it is not necessary)
  15562. (2017-07-03).
  15563. * Add some partial IP forwarding logic. Add some fragments of TCP
  15564. forwarding logic (2017-07-03).
  15565. * IPv6 forwarding logic must decrement the TTL and drop the packet if
  15566. the hop limit is exceeded (2017-07-04).
  15567. * IP forwarding. Adds a little more structure to handle passing
  15568. packets received on one network device to another network device.
  15569. Logic is still incomplete (2017-07-04).
  15570. * UDP networking: The TTL (time to live) was not being set in the IPv4
  15571. or IPv6 header unless the UDP socket was bound (2017-07-04).
  15572. * SAME70-Xplained: Add MRF24J40 support (2017-07-04).
  15573. * I've found that the interrupts aren't enabled since nothing updates
  15574. them after btn_poll() marks the file descriptor structure as being
  15575. polling. I've managed to make it work with this change. From Jan
  15576. Pobrislo (2017-07-04).
  15577. * include/nuttx/input: Remove bogus, obsolete keypad.h header file
  15578. (2017-07-04).
  15579. * net/udp: Fix a copy-paste error that could effect networking when
  15580. both IPv4 and IPv6 are enabled (2017-07-05).
  15581. * configs/Board.mk: Remove comment form end of line. In windows native
  15582. build, it appears to be trying to make that an extra parameter to the
  15583. AR command. From Jeff (2017-07-05).
  15584. * IP Forwarding: Flesh out TCP, UDP, and ICMPv6 packet forwarding
  15585. logic. In checking if the Ethernet MAC address is in the
  15586. ARP/Neighbor table, add an additional check to skip in the case of
  15587. CONFIG_NET_MULTILINK and the devices is not an Ethernet device. Add
  15588. IPv4 packet forwarding logic. Initial commit is an untested clone of
  15589. the IPv6 forwarding logic with a few minor logic changes for IPv4
  15590. (2017-07-05).
  15591. * IP forwarding: Add optional support to forward broadcast and
  15592. multicast packets. Add missing ICMP support (2017-07-06).
  15593. * FS: Remove DEBUGASSERT() in block_proxy() because the flags are
  15594. cleared later. From Masayuki Ishikawa (2017-07-06).
  15595. * Eliminate a warning with arm-none-eabi-gcc 7.1.0. From Julien
  15596. Lecoeur (2017-07-06).
  15597. * In arch/arm/src/stm32/Kconfig when the CPU is a STM32F4, some
  15598. STM32_HAVE_xx with xx = {OTGFS, TIM3, TIM4, SPI3, I2S3, I2C3} are
  15599. selected by default. But for F410 these peripherals are absent. This
  15600. change add tests to check if the target CPU is an F410 or not and
  15601. selects according to the situation. This also adds a select for
  15602. STM32_HAVE_DAC1 present on this STM32 flavor. From Gwenhael
  15603. Goavec-Merou (2017-07-06).
  15604. * Rename CONFIG_STM32_STM32F40XX to CONFIG_STM32_STM32FXXXX since it is
  15605. used by F4 parts other than F40x (2017-07-06).
  15606. * STM32 Kconfig: 'unfold' some of the dependencies to provide better
  15607. long term configuration support. This also effective reverts the
  15608. recent 15b85738e7b5b9df6377f56e2a6a629346f87964 (2017-07-06).
  15609. * ICMPv6: Fix so that ICMPv6 can be used with 6LoWPAN (2017-07-06).
  15610. * IPv6 Neighbor: Update table format to support IEEE 802.15.4 MAC
  15611. addresses (2017-07-06).
  15612. * configs/Board.mk: Remove quotes from CONFIG_ARCH_FAMILY. Causes
  15613. problems with Windows native build. From Jeff (2017-07-06).
  15614. * IP forwarding design simplication; might save some memory. Also fix
  15615. some compile issues introduce with last commit in MULTINIC
  15616. configration (2017-07-06).
  15617. * IP Forwarding: Another IP forwarding design simplification: Remove
  15618. an unnecessary field from state structure (2017-07-06).
  15619. * ICMPv6: Fix an address size calculation that was bungled in a recent
  15620. commit (2017-07-06).
  15621. * Networking: Improve naming and simplify some logic of previous
  15622. commit (2017-07-07).
  15623. * Networking: Correct some issues that prevent TCP from working
  15624. correctly when both IPv4 and IPv6 are enabled (2017-07-07).
  15625. * Add definitions that will permit TUN-only networking (2017-07-07).
  15626. * Move TUN ioctl commnd to include/nuttx/net/ioctl.h so that it will
  15627. always be unique. It a error in netdev_register: it was not handling
  15628. device names properly when TUN is the only network device
  15629. (2017-07-07).
  15630. * sim/ipforward: Add an IP forwarding configuration using TUN devices
  15631. and apps/examples/tun (2017-07-07).
  15632. * In TUN driver, do all polling on worker thread. Otherwise, the stack
  15633. gets very deep (2017-07-07).
  15634. * IP forwarding: Major rearchitecting of the outgoing portion of the
  15635. IP forwarding logic necessary into to properly received
  15636. device-related forwarding events (2017-07-07).
  15637. * ieee802154: Changes mac locking/unlocking to aid in debugging. From
  15638. Anthony Merlino (2017-07-07).
  15639. * IP forwarding: Remove some unnecessary data structure definitions
  15640. (2017-07-07).
  15641. * Makefile.unix: Add savedefconfig target. From Gwenhael Goavec-Merou
  15642. (2017-07-08).
  15643. * Add Gwenhael's change to Makefile.win and update README.txt to
  15644. described the new make target (2017-07-08).
  15645. * IP forwarding: Two bugfixes (1) IPFWD poll event must be unique and
  15646. different from other device poll events otherwise, some other waiting
  15647. task might get the poll, (2) Add logic necessary to forward 6LoWPAN
  15648. packets (2017-07-08).
  15649. * net/procfs: Fix some spacing when both IPv6 and IPv4 are enabled
  15650. (2017-07-08).
  15651. * Networking routing tables: Fix a compilation error when IPv6 and
  15652. routing are enabled (2017-07-08).
  15653. * ICMPv6: Add 6LoWPAN and IP forwarding support (2017-07-09).
  15654. * configs/b-l475e-iot01a: Add basic support for the STMicro
  15655. b-l475e-iot01a board. From Simon Piriou (2017-07-09).
  15656. * IP Forwarding: Fix a compile problem when IP forwarding of broadcast
  15657. messages is enabled (2017-07-09).
  15658. * ieee802154: mac802154_purge_timeout was not unlocking MAC before
  15659. returning. From Anthony Merlino (2017-07-09).
  15660. * ieee802154: Minor bug fix. Purging of indirect transaction was not
  15661. unlocking MAC. From Anthony Merlino (2017-07-09).
  15662. * Makefile.*: Add CONFIG_ARCH_CHIP_* definitions to defconfig in
  15663. savedefconfig target. Last of the conversions of defconfig files to
  15664. compressed format (2017-07-09).
  15665. * ieee802154: Improves internal timer logic to handle work serially.
  15666. Before, the MAC timer used a watchdog to schedule work with the high
  15667. priority worker queue. However, since everything in the MAC is
  15668. supposed to be serialized through the use of the high priority work
  15669. queue, but the timer uses a watchdog, there are some unintended
  15670. consequences. To simplify, we now use the delayed work feature of the
  15671. work queue. From Anthony Merlino (2017-07-09).
  15672. * Update configure.sh, configure.bat, configure.c: With compressed
  15673. format, part of the installation requires that we run 'make
  15674. olddefconfig' to restore the uncompressed defconfig format. Also,
  15675. while I was at it, I also added options to select host platform on
  15676. configure command line (2017-07-10).
  15677. * tools/refresh.sh: Now runs make savedefconfig before copying the new
  15678. defconfig file in place; Also, added a new option --defaults. Since
  15679. the number of defaults that you now have to answer is so large, the
  15680. option lets you just accept the default values. So it works just
  15681. like --slilent but still prompts you for the decision to save or
  15682. discard the new defconfig file (2017-07-10).
  15683. * tools/tesbuild.sh: Fix missing $ before variable name (2017-07-10).
  15684. * configs/clicker2-stm32: Adds support for per-function-call stack
  15685. checking. From Anthony Merlino (2017-07-10).
  15686. * drivers/wireless/ieee802154/mrf24j40: Minor timing fix. Matches
  15687. recommended value in datasheet. Splits up driver into multiple files
  15688. to make it easier to navigate. Fixes issue with non-beacon enabled
  15689. mode. From Anthony Merlino (2017-07-10).
  15690. * IP Forwaring. Fix some errors in ipforwar.h when
  15691. CONFIG_NET_STATISTICS is enabled, but CONFIG_NETDEV_MULTINIC is not.
  15692. Add some forward references that are needed when
  15693. CONFIG_NETDEV_MULTINIC is not enabled. ipfwd_dropstats needs to
  15694. include errno.h (2017-07-10).
  15695. * STM32 TIM3/4 are always 16-bits; never 32-bits. Noted by Eetu
  15696. Nevalainen. (2017-07-10).
  15697. * Build System: It is no longer necessary to have a unique Make.defs
  15698. file for each configuration. A board may share a common Make.defs
  15699. file in the scripts directory. Some duplicate Make.defs files
  15700. removed; Some common Make.defs file moved to the scripts/
  15701. sub-directory (2017-07-10).
  15702. * configs/clicker2-stm32/mrf24j40-mac: Updates stack size to 2048 to
  15703. avoid random stack overflows when logging is enabled. From Anthony
  15704. Merlino (2017-07-10).
  15705. * Add small hello example for stm32f103-minimum board. From Alan
  15706. Carvalho de Assis (2017-07-10).
  15707. * ieee802154: Many small bug fixes clean-ups that help stabilize the
  15708. functionality. From Anthony Merlino (2017-07-10).
  15709. * SAML21 I2C driver. Developed for and contributed with permissin from
  15710. Filament company. From Alan Carvalho de Assis (2017-07-11).
  15711. * SAMD/L21 I2C: Another update... needs to use
  15712. enter/leave_critical_section vs. old irqsave/restore (2017-07-11).
  15713. * Remove duplicate Make.defs files in configs/. Move remaining, common
  15714. Make.defs files to board/scripts directory (2017-07-11).
  15715. * SAMD21: Fix some SPI-related issues. From Matt Thompson
  15716. (2017-07-11).
  15717. * ICMPv6 w/Autoconfiguration: Fix a compile issue introduced with
  15718. recent change for 6LoWPAN support (2017-07-11).
  15719. * sockets: Coding fix fix + minor structuring for forthcoming socket
  15720. interface logic (2017-07-11).
  15721. * drivers/wireless/ieee802154/mrf24j40/: Fixes bug causing radio to
  15722. cease transmitting. From Anthony Merlino (2017-07-11).
  15723. * ieee802154: Notify radio layer of changes in devmode. From Anthony
  15724. Merlino (2017-07-12).
  15725. * drivers/mrf24j40: Hook in setdevmode from newly added radio attribute
  15726. setting. From Anthony Merlino (2017-07-12).
  15727. * ieee802154: Set devmode to endpoint on MAC layer reset. From Anthony
  15728. Merlino (2017-07-12).
  15729. * I was having issues with the bus freezing up .. slaves holding SDL
  15730. low.. so I rewrote a good portion of the interrupt logic based on the
  15731. application notes from Atmel. One major improvement is using the
  15732. RXNACK flag in the STATUS register, which indicates that no device
  15733. responded to an address packet. Assuming that the chip will always
  15734. give an interrupt status, I believe it's possible to eliminate the
  15735. timer as well. From Matt Thompson (2017-07-12).
  15736. * SAMD/L21: Add a USB driver. Developed for Filament Inc. by Offcode,
  15737. LTD. From Janne Rosberg (2017-07-12).
  15738. * drivers/mrf24j40: Adds header guards to mrf24j40_reg.h. From Anthony
  15739. Merlino (2017-07-12).
  15740. * C library: Fix an error in mkstemp() the could result in an infinite
  15741. loop. From Alan Carvalho de Assis (2017-07-12).
  15742. * SAMD/L21: Need to preserve errno value across syslog() call
  15743. (2017-07-12).
  15744. * SocketI/F: Initial steps to add a socket interface to the
  15745. networking. Each address family will have an interface that
  15746. describes how to perform socket operations on that address family.
  15747. Currently only a couple of methods are defined in the table as a
  15748. proof of concept. More to come. Currently there are only tables for
  15749. the INET/INET6 family, the Unix LOCAL family, and the raw PACKET
  15750. family. Hopefully there will be AF_IEEE802154 and AF_BLUETOOTH
  15751. comming down the pike. Add recvfrom() method to interface
  15752. (2017-07-12).
  15753. * ieee802154: Fixes setting devmode logic. From Anthony Merlino
  15754. (2017-07-13).
  15755. * drivers/mrf24j40: Fixes issues with sleeping for beacon enabled
  15756. networking. From Anthony Merlino (2017-07-13).
  15757. * Fixes timing issues for beacon enabled coordinators and endpoints.
  15758. From Anthony Merlino (2017-07-13).
  15759. * Socket I/F: Added bind(), connect(), listen(), accept(), close(),
  15760. addref() and sockcaps() interfaces (2017-07-13).
  15761. * ieee802154: Fixes issue with association on beacon-enabled
  15762. networking. From Anthony Merlino (2017-07-13).
  15763. * drivers/wireless/mrf24j40: Fixes math error for calculating sleep
  15764. count values. From Anthony Merlino (2017-07-13).
  15765. * STM32 F7 Ethernet: Fix typo in header; Add memory sync barrier
  15766. between writing to DMA TX descriptor and restarting DMA TX. Avoid
  15767. calling work_queue on pollwork if it's already queued, just skip a
  15768. poll cycle instead. Nucleo-144: Fix RMII TXD1 signal, connected to
  15769. PB13 not to PG14. From savinz (2017-07-14).
  15770. * Socket I/F: Added getsockname() interfaces. Add address family
  15771. support for poll() and sendfile() (2017-07-14).
  15772. * tools/refresh.sh: Update so that it can find the Make.defs file in
  15773. the new location (2017-07-15).
  15774. * Numerous fixes, updates generalizations needed in order to merge
  15775. Frank Berkert's massive USB composite change of June 1 into master.
  15776. Too many changes to summarize adequately here (2017-07-16).
  15777. * Makefile.win would only create uboot images for ARM. MIPS support
  15778. also needed. From Lwazi Dube (2017-07-16).
  15779. * IEEE 802.15.4 MAC: Disable option to select interrupt-level meta
  15780. data allocator (2017-07-16).
  15781. * ieee802154: Adds retry count to tx descriptor. Renames ack_wait_dur
  15782. to ack_waitdur and removes it from private mac struct. From Anthony
  15783. Merlino (2017-07-16).
  15784. * STM32 F7: I2C4_SDA can also be on GPIO PB7. From Titus von Boxberg
  15785. (2017-07-16).
  15786. * STM32 F7: Definitions for I2C4, SDMMC2. Adapted RAM start / size to
  15787. internal SRAM. From Titus von Boxberg (2017-07-16).
  15788. * Networking: When upd_input() cannot process a packet, it returns
  15789. ERROR so that network drivers may try calling ipv4_input() later. In
  15790. this case, it must also set d_len to zero. Otherwise, all network
  15791. drivers will assume tht there is also an outgoing packet. This
  15792. results in a gratuitous ARP (2017-07-17).
  15793. * STM32 F7: do not enforce CONFIG_STM32_CCMEXCLUDE for
  15794. CONFIG_ARCH_CHIP_STM32F7, macro rename STM32 -> STM32F7, #include
  15795. corrections. renamed STM32_LCDTFT_BASE to STM32_LTDC_BASE for
  15796. consistency. macro rename STM32 -> STM32F7. initial
  15797. (dysfunctional) lcd configuration (from STM32). From Titus von
  15798. Boxberg (2017-07-17).
  15799. * STM32 F7: option for DSI output, inconsistency: the stm32f746 does
  15800. not feature a DSI interface. compileable with LTDC_INTERFACE and
  15801. LTDC_USE_DSI. From Titus von Boxberg (2017-07-18).
  15802. * ieee802154: Adds special attribute that can be used to perform a
  15803. regdump of the radio. Sets txdesc retrycount to the maxretries MAC
  15804. attribute when allocated. From Anthony Merlino (2017-07-18).
  15805. * STM32 F7: Added functions for DSI clock source selection. From Titus
  15806. von Boxberg (2017-07-18).
  15807. * Network poll: Remove logic conditioned on non-existent HAVE_NET_POLL
  15808. (2017-07-19).
  15809. * CDC/ACM. Fix several known problems resulting from merge of USB
  15810. composite device. That merge now breaks some of the non-composite
  15811. USB devices. These fixes are for CDC/ACM (2017-07-19).
  15812. * SAMD21: Changes needed to get USB working. From Matt Thompson
  15813. (2017-07-19).
  15814. * Initial port to STM32F769I-DISCO. From Titus von Boxberg
  15815. (2017-07-20).
  15816. * libc/math: Fix wrong ouput in modf() API. The sign of integral part
  15817. given by the modf() should be same as sign of input. But for inputs
  15818. between 0 and 1, the sign of integral part was not same as sign of
  15819. input. From Lokesh B V (2017-07-20).
  15820. * libc/math: Fix wrong ouput in ceil() API. Ex:for input x = 1.0, the
  15821. ouput should be 1.0, but the ouput was 2.0. From Lokesh B V
  15822. (2017-07-20).
  15823. * USB device: Rename usbdev_description_s to usbdev_devinfo_s to avoid
  15824. any more confusion of naming with device descriptions in the future.
  15825. Instances of usbdev_devinfo_s are now called devinfo vs devdesc when
  15826. is a bad naming collision (2017-07-20).
  15827. * USB MSC: Add missing logic to define endpoints. The composite
  15828. changes broke the the non-composite, USB MSC only case because it
  15829. omitted the critical setup when USB MSC was not part of the composite
  15830. (2017-07-20).
  15831. * libc/stdlib: (1) Fix an error in mkstemp() the could result in an
  15832. infinite loop. (2) Fix for wrong output in some cases. For
  15833. Example: (a) input: "FILEXX", output: "FILE00" and repeats same
  15834. output for further invocations of mkstemp(). But, the ouput has to be
  15835. FILE01, FILE02, ...., FILEZZ. (b) input: "FILEXXXXXX", output:
  15836. "FILE100000", for next invocation "FILE200000" and so on. But it's
  15837. good, if the ouput goes like FILE000001, FILE000002, ..., FILE000101,
  15838. ... From Lokesh B V (2017-07-21).
  15839. * configs: add stm32f334-disco basic support. From Mateusz Szafoni
  15840. (2017-07-21).
  15841. * USB composite: Remove references to CDC/ACM and USB MSC from
  15842. composite logic. They are no longer coupled (2017-07-21).
  15843. * nucleo-f334r8: UART2 is default serial port (STLINK Virtual Port).
  15844. From Mateusz Szafoni (2017-07-22).
  15845. * STM32 HRTIM: add slave timers private data, fix some bad definitions,
  15846. some assertions. From Mateusz Szafoni (2017-07-22).
  15847. * b-l475e-iot01a: Add initial, unverified support for the
  15848. SPSRGF/Spirit1 module. Add a configuration for testing sprit radio
  15849. (2017-07-22).
  15850. * epoll: fix epoll_wait function. From Simon Piriou (2017-07-22).
  15851. * sim arch: Add non blocking read to devconsole driver. From Simon
  15852. Piriou (2017-07-22).
  15853. * sim arch: poll for TX frames to speed up driver. From Simon Piriou
  15854. (2017-07-22).
  15855. * sim arch: fix mkdir issue in GNU target. From Simon Piriou
  15856. (2017-07-22).
  15857. * drivers: add generic upper-half driver for SMPS. From Mateusz
  15858. Szafoni (2017-07-23).
  15859. * Add power-related debug output (2017-07-23).
  15860. * Move SMPS driver to drivers/power (and header to
  15861. include/nuttx/power). Rename debug to IOCTLs to more general power
  15862. naming; create a separate file to coordinate power-related IOCTL
  15863. commands (2017-07-23).
  15864. * STM32 F7: enable APB2 DSI clock. From Titus von Boxberg
  15865. (2017-07-26).
  15866. * drivers/leds: Add support for inverted LEDS. See common anode RGB
  15867. LED discussion in the Yahoo group. From Jeff (2017-07-27).
  15868. * drivers/analog: Fix some data alignment issues in the ADC driver
  15869. (2017-07-27).
  15870. * STM32 F7: added missing config option for register value debugging.
  15871. From Titus von Boxberg (2017-07-27).
  15872. * STM32 F7: No FSMC, only FMC for STM32F7. From Titus von Boxberg
  15873. (2017-07-27).
  15874. * sig_timedwait: Pending signal structure used after it has been
  15875. releasd. From anonymous Bitbucket Issue 59 (2017-07-27).
  15876. * Add driver for LTC4151 current and voltage monitor. From Giorgio
  15877. Groß (2017-07-28).
  15878. * drivers/leds: Lightness correction for RGB LED driver. From Jeff
  15879. (2017-07-28).
  15880. * We discovered a problem with the samv7 mcan driver which results,
  15881. under some circumstances, in a very high CPU load. The problem
  15882. occurs, and is easily reproducible, if the device is connected to a
  15883. CAN network with a wrongly configured CAN speed (baud rate). In our
  15884. tests we set the CAN speed of the device to 1000000 and the speed of
  15885. the other CAN nodes to 500000. The device is restarted and sends a
  15886. CANopen "bootup message" to the CAN network. This results in huge
  15887. amount of errors messages on the CAN bus, probably because of the CAN
  15888. feature for acknowledging error messages. The error messages can’t
  15889. be read by the device because of the misconfigured CAN speed, instead
  15890. the CAN chip reports lots of errors, which are reported to the
  15891. application which uses the CAN driver (CONFIG_CAN_ERRORS is enabled).
  15892. The CAN errors are reported from the CAN chip via interrupts and thus
  15893. the interrupt load is very high in this scenario. To fix the problem
  15894. the driver now disables each RX error interrupt after it is occurred.
  15895. The RX error interrupts are turned back on if at least one CAN
  15896. message is received successfully. From Stefan Kolb (2017-07-28).
  15897. * tcdrain implementation based on a new term ioctl. From Sebastien
  15898. Lorquet (2017-07-28).
  15899. * Spirit Network Driver: Create build directories, Add radio
  15900. initialization, interrupt handling logic, packet transmissin and
  15901. reception logic. Add some hooks that will eventually support address
  15902. filtering (2017-07-28).
  15903. * STM32 F7: HEAP2 depends on CONFIG_ARCH_HAVE_HEAP2, not on particular
  15904. FMC RAM type. From Titus von Boxberg (2017-07-28).
  15905. * STM32 F7: No board specific dithering values used; corrected
  15906. dithering init. Corrected LIPOS/LIPCR calculation. Change only
  15907. polarity bits in LTDC_GCR. From Titus von Boxberg (2017-07-29).
  15908. * STM32_RCC_DCKCFGR2 has nothing to do with PLLI2S; PLLI2S is not
  15909. dependent on LTDC, instead on SAICLK1/2 generated from PLLI2S. From
  15910. Titus von Boxberg (2017-07-29).
  15911. * To use an external oscillator module (not just a crystal) with the
  15912. STM32F4, one needs to enable the HSEBYP bit in the RCC_CR register.
  15913. This change allows an integrator to define STM32_RCC_CR_HSEBYP in
  15914. their board.h file if they want this configuration. From Jeff
  15915. (2017-07-30).
  15916. * 6LoWPAN PktRadio: Some initial changes to support raw packet radios
  15917. without IEEE 802.15.4 with 6LoWPAN. Add missing MetaData-related
  15918. prototypes and initialization logic. Perform a major renaming to
  15919. make room in the 6LoWPAN name space for packet radios. Replace
  15920. metadata input parameter type from struct ieee802154_data_ind_s to
  15921. void*. This permits radios with different MAC metadata to interact
  15922. with 6LoWPAN. Includes many changes to handle variable length radio
  15923. addresses. No longer just short and exteneded; any length.Remove
  15924. explicit type struct ieee802154_frame_meta_s from derive interface
  15925. methods. Replace with a opaque void * type so that other radio meta
  15926. data structures may use the interfaces. Add a new radion interface
  15927. to get properties of the radio. Spirit: Finish packet I/O interface
  15928. with the network. Fix case where source and destination IP address
  15929. were backward. Fix some compile issues when star topology support is
  15930. enabled. Condition out some types that depend on definitions that are
  15931. only available with 6LoWPAN is enabled (2017-07-30).
  15932. * STM32L4 PWR: correct PWR_SR2 REGLPS and REGLPF bits, add port I
  15933. registers. Also remove duplicate section from Kconfig. From Juha
  15934. Niskanen (2017-07-31).
  15935. * STM32L1: Add base address for TIM11. From Juha Niskanen
  15936. (2017-07-31).
  15937. * net/local: fix accept for local stream sockets. From Jussi Kivilinna
  15938. (2017-07-31).
  15939. * network: Move USRSOCK specific code from from inet_sockif to
  15940. usrsock_sockif. Fix USRSOCK to work with recent changes to
  15941. networking layer. From Jussi Kivilinna (2017-07-31).
  15942. * PktRadio/6LoWPAN: Add a loopback driver for testing on the simulator.
  15943. Fix more issues related to single byte radio addressing. Some
  15944. initial fixes resulting for early testing with loopback device
  15945. (2017-07-31).
  15946. * Simulator: Protect a few more NuttX symbols from collisions with host
  15947. symbols (2017-07-31).
  15948. * STM32 F7: added function for reset. From Titus von Boxberg
  15949. (2017-07-31).
  15950. * IoT Board/Spirit: Fix a few issues that interfered with testing.
  15951. Move console to the VCOM port (USART) for all configurations. Rename
  15952. the spirit-mac configuration to spirit-6lowpan. Add lots of debug
  15953. output the spirit network driver (2017-07-31).
  15954. * drivers/serial/serial.c: Add support for TCFLUSH. From Sebastien
  15955. Lorquet (2017-08-01).
  15956. * Fixes for compilation of stm32f746g-disco. From Ivan Ucherdzhiev
  15957. (2017-08-01).
  15958. * stm32f746g-disco: Make the initialization logic identical to the
  15959. standard way that is done for all other board (2017-08-01).
  15960. * serial.c: Finish implementation of TCDRAIN. Based partly on logic
  15961. from Sebastien Lorquet (2017-08-01).
  15962. * serial.c: Use common TX drain logic when closing a driver as with
  15963. the TCDRAIN IOCTL (2017-08-01).
  15964. * Spirit network driver: Network driver needs to setup IP address
  15965. based on configured node address. If no node address is provided,
  15966. then it will use a default. Make sure device is in READY state after
  15967. reset and before changing to STANDBY. Add a function to wait for a
  15968. state change with a timeout (2017-08-01).
  15969. * network procfs: Fix so that PktRadio address are shown correctly
  15970. (2017-08-01).
  15971. * arch/arm/src/lc823450: Initial support for ON Semiconductor LC823450.
  15972. From Masayuki Ishikawa (2017-08-02).
  15973. * configs/lc823450-xgevk: LC823450-XGEVK board support. From Masayuki
  15974. Ishikawa (2017-08-02).
  15975. * b-l475e-iot91a: Add apps/examples/nettest and eamples/udp to Spirit1
  15976. configuration. Add telnet support. fix driver statistics
  15977. configuration (2017-08-02).
  15978. * Networking: Add support for some packet radio IOCTL commands
  15979. (2017-08-02).
  15980. * b-l475e-iot01a: crude update to +CONFIG_BOARD_LOOPSPERMSEC. Not
  15981. precise but on assertions no flashes at approximately the correct
  15982. rate (2Hz) (2017-08-02).
  15983. * Fix for stm32f746g-disco board for button support with interrupt.
  15984. This change is tested with buttons app example and it is working with
  15985. interrupts (signals). I tried the test with polling but at this point
  15986. it doesn't work. From Ivan Ucherdzhiev (2017-08-02).
  15987. * configs/stm32f746g-disco: Remove inclusion of STM32-specific header
  15988. files from board.h (2017-08-02).
  15989. * Spirit1 network driver: Remove extra clear of pending interrupts,
  15990. could cause missing interrupts. Fix a deadlock. Also several other
  15991. design improvements to eliminate corner cases (2017-08-03).
  15992. * poll: fix poll for regular files and block devices. Open Group
  15993. documentation says that poll (and select) support regular files and
  15994. that 'Regular files shall always poll TRUE for reading and writing'.
  15995. From Jussi Kivilinna (2017-08-03).
  15996. * mm_mallinfo: do heap end debug assert check with heap semaphore held.
  15997. From Jussi Kivilinna (2017-08-03).
  15998. * Spirit1 network driver: Modify reg needs to toggle CS to get the
  15999. correct status. Make sprit_unlock an inline function. Tx timeout
  16000. should run on the HP work queue (2017-08-03).
  16001. * Simulator: x86 stack needs to be aligned to 16-byte boundaries
  16002. (2017-08-04).
  16003. * drivers: handle I2C_TRANSFER return value consistently. Some I2C
  16004. peripherals transfers return zero on success, others number of
  16005. completed transfers. Make drivers robust against this. From Juha
  16006. Niskanen (2017-08-04).
  16007. * syslog: Add option to use the CLOCK_MONOTONIC for time stamping.
  16008. From Jussi Kivilinna (2017-08-04).
  16009. * RAMTRON: Add support for splitting block writes in chunks. Some
  16010. Re-RAMs like MB85AS4MT have a write buffer size limitation. From
  16011. Boris Astardzhiev (2017-08-04).
  16012. * Spirit1 network driver: Correct setting of the length width field;
  16013. Add multicast and broadcast addresses to radio properties. Convert
  16014. network driver to use STack packets vs. Basic packets. We need to
  16015. use the STack packets in order to provide the source address
  16016. (2017-08-04).
  16017. * tools/mkdeps.c: Eliminate a warning. MAX_PATH may already be defined
  16018. in included system files. From Jeff (2017-08-04).
  16019. * Spirit1 network drvier: Increase number of retries if there is no
  16020. acknowledgement; Add interrupt handling for the case where the max
  16021. number of retries expires. Fix some badly implemented queue
  16022. management code. With these changes the basic UDP and TCP tests
  16023. work. Enable AutoACK, TX retries, and RX timeouts in the network
  16024. driver (2017-08-04).
  16025. * B-L475E-IOT01A: Make spirit-6lowpan configuration match what is
  16026. currently under test: Enable multicast, broadcast, but disable CRC
  16027. support. Currently CRCs are not working right (2017-08-04).
  16028. * b-l475e-iot01a: Add configurations to support a star topology
  16029. (2017-08-05).
  16030. * Spirit + 6LoWPAN: In STAR configuration, Spirit must use a
  16031. configured well known hub address. 6LoWPAN cannot assume that the
  16032. PAN coordinator is the STAR hub; it must ask the radio to provide it
  16033. with the address of the star hub (2017-08-05).
  16034. * IEEE 802.15.4 network driver: Fix more compile issues that only show
  16035. up when CONFIG_NET_STARPOINT is defined (2017-08-05).
  16036. * STM32F746-Disco: Add ADC3 support. From Ivan Ucherdzhiev
  16037. (2017-08-05).
  16038. * Spirit Network Driver: Attempts to eliminate RX FIFO errors. Reduce
  16039. max packet length to avoid an errata. Reducing the packet length had
  16040. no effect on eliminating RX FIFO errors. Add support for watermark
  16041. interrupts on RX FIFO. Restructure threading to reduce locking.
  16042. Still get a few RX FIFO errors (2017-08-06).
  16043. * STM32F103-Minimum: Add support for SmartFS on Winbond W25 SPI NOR
  16044. Flash. From Alan Carvalho de Assis (2017-08-06).
  16045. * MTD: Add driver for Macronix QuadSPI flash memory. From Simon Piriou
  16046. (2017-08-06).
  16047. * b-l475e-iot01a: add basic support for external Macronix QuadSPI flash
  16048. memory. From Simon Piriou (2017-08-06).
  16049. * Spirit radio: Dropping packet size to 94 seems to fix problem with
  16050. CRC failures (2017-08-06).
  16051. * STM32F103-Minimum: (1) Enable CONFIG_MTD_PARTITION in Kconfig if
  16052. flash partition is enabled and (2) Update the README.txt file with
  16053. info needed to get SmartFS working. From Alan Carvalho de Assis
  16054. (2017-08-06).
  16055. * 6LoWPAN: When obtaining the radio MAC address from the IP address,
  16056. handle the special case of broadcast and multicast address
  16057. (2017-08-06).
  16058. * Networking: Move INET socket interface out of net/sockets to its own
  16059. directory net/inet (2017-08-06).
  16060. * Spirit network driver: TX timeout was never being cancelled! Also
  16061. reviewed and cleaned up all error handling logic (2017-08-06).
  16062. * sched/: Fix return value in sched_setaffinity(). From Masayuki
  16063. Ishikawa (2017-08-07).
  16064. * Spirit bugfixes: Was hanging occasionally because there was no
  16065. mechanism to restart the poll timer if poll was not performed because
  16066. Spirit ws busy. Fixed by not checking if Spirit is busy. The TX
  16067. poll can be performed asynchronouly while spirit is busy; any
  16068. outgoing data will queued until Spirit is ready. Fixed handling of a
  16069. timeout condition. Failure to transmition to the TX state would fail
  16070. (timeout) if in a race condition Spirit already committed to the RX
  16071. state. The driver needs to recover the state properly and avoid
  16072. debug assertions in this event (2017-08-07).
  16073. * STM32 USB: I'm working on bringing up USB full-speed support on
  16074. STM32F405.  My board does not include a USB power switch, VBus
  16075. sensing, over current detection, or ID pin. This commit add a
  16076. config STM32_OTGFS_VBUS_ CONTROL which lets us selectively disable
  16077. VBus sensing and control.  I also sneaked in a change to disable the
  16078. configgpio call for the ID pin, which is only used in OTG mode which
  16079. isn't supported yet.  The only pins that need to be initialized
  16080. should be OTGFS_DP and OTGFS_DM. These changes let a USB mouse
  16081. enumerate on my platform if it's plugged in on power-up.  Plugging,
  16082. unplugging, clicking, or moving the mouse cause NSH to stop
  16083. responding.  Because I'm using the ramlog, I don't have useful debug
  16084. messaging yet, so there's a lot more work I have to do to
  16085. troubleshoot it or get my JTAG debugging set up, but these patches
  16086. shouldn't hurt anything.  I'm hoping my issue is something simple I
  16087. overlooked in configuration. From Jeff (2017-08-07).
  16088. * I discovered while working on the SAMV7 mcan driver that the
  16089. implementation of the CAN error handling is suboptimal. In the
  16090. current implementation the many errors are implemented as pending
  16091. errors. But those errors are not pending, the errors occurred and
  16092. are gone directly afterwards. This commit changes the described
  16093. behavior and simplifies the handling of CAN errors. From Stefan Kolb
  16094. (2017-08-07).
  16095. * IPv6: Remove comparisons to the address with all ones set. IPv6
  16096. does not support broadcast addresses and certainly not in that form.
  16097. Replace with multicast addresses beginning with 0xff02 (2017-08-07).
  16098. * ICMPv6: Support source link-layer address option in RA. From
  16099. Masayuki Ishikawa (2017-08-08).
  16100. * libm: Port gamma() and lgamma() from FreeBSD to NuttX. From Alan
  16101. Carvalho de Assis (2017-08-08).
  16102. * B-L475-IOT01A: Enable UDP broadcast test in the spirit-starhub
  16103. configuration (2017-08-08).
  16104. * Spirit Radio: Add support for CSMA backoff count reached interrupt
  16105. (2017-08-08).
  16106. * STM32F4-Discovery: Add a configuration for testing libc++. From
  16107. Alan Carvalho de Assis (2017-08-08).
  16108. * Remove CONFIG_NET_MULTILINK. This increases code size by a little,
  16109. but greatly reduces the complexity of the network code (2017-08-08).
  16110. * Networking: Fix netdev_dev_lladdrsize(). In some configurations, it
  16111. could return the wrong size for the address of a packet radio
  16112. (2017-08-08).
  16113. * Fix IPv6 loopback driver that depended on the removed
  16114. g_ipv6_allonesaddr. Noted by Masayuki Ishikawa (2017-08-09).
  16115. * Networking: Fix typo for 802.11 devices in netdev_register(). Was
  16116. being masked before because depended on CONFIG_NET_MULTLINK
  16117. (2017-08-09).
  16118. * Networking: Fix a compilation issue with
  16119. CONFIG_NET_ICMPv6_AUTOCONF=y. From Masayuki Ishikawa (2017-08-09).
  16120. * Update NSH documentation to show new usage for addroute and delroute
  16121. (2017-08-10).
  16122. * cwchar: Use CONFIG_LIBC_WCHAR to only export the wc/mb functions.
  16123. When a build does not want to use wide or multibyte char
  16124. CONFIG_LIBC_WCHAR is not set. Therefore we should to only export the
  16125. wc/mb functions when defined. Regardless of the stat of
  16126. CONFIG_LIBC_WCHAR the non mb/wc definitions such as mbstate_t,
  16127. wint_t, wctype_t need to be exported. From David Sidrane
  16128. (2017-08-10).
  16129. * inet_ntop: Was printing negative values for fields >127
  16130. (2017-08-11).
  16131. * procfs: Add support for routing tables at proc/net/route
  16132. (2017-08-11).
  16133. * Unify GCC/Clang config. From Goran Mekić (2017-08-12).
  16134. * procfs routing table: Don't print the IPv4 routing table header if
  16135. the table is empty. Fix a couple of places where CONFIG_NET_IPv4 was
  16136. used wehre IPv6 was intended (not noticed now because I am testing
  16137. with both enabled) (2017-08-12).
  16138. * C++: Compilation with recent C++ compiler needs an overloaded delete
  16139. operator that includes a size_t size argument (2017-08-12).
  16140. * ARM: The older ARM7 and ARM9 configurations were determining CFLAGS
  16141. based on the GCC version 4.x.x or not. That needx to be extended for
  16142. 5.x.x and 6.x.x which also behave like 4.x.x (2017-08-12).
  16143. * STM32F7: Some STM32F7 builds failed in build testing due to undefined
  16144. STM32_SRAM1_BASE. I think that is because stm32_allocateheap.c was
  16145. not including chip/stm32_memorymap.h (2017-08-13).
  16146. * Fix ESP32 gpio enable reg and default UART pin. Modify default uart
  16147. pin for ESP-WROOM-32. Fix gpio enable reg. From Sungki Kim
  16148. (2017-08-13).
  16149. * stm32/stm32f0: Fix some funny shifts in DAC header files. From Juha
  16150. Niskanen (2017-08-14).
  16151. * STM32L4 COMP: Input minus pin extended selection. From Juha
  16152. Niskanen (2017-08-14).
  16153. * STM32L4 DAC: Port from STM32. Add ADC register definitions. Note
  16154. that this does not address the somewhat confusing relation between
  16155. STM32L4_NDACS and DAC2 config macros that comes from original STM32
  16156. code. From Juha Niskanen (2017-08-14).
  16157. * libxx: New sized delete operators are only for C++14 and above
  16158. (2017-08-14).
  16159. * Miscellaneous fixes from astyle tool. Noted by Arjun Hary
  16160. (2017-08-14).
  16161. * SAMv71-XULT: Fix MRF24J40 interrupt GPIO number (2017-08-15).
  16162. * Clicker2: Configure EDBG SPI CS just to make that it is disabled
  16163. (2017-08-15).
  16164. * STM32L476VG Discovery: Add a knsh configuration that may be used to
  16165. test the PROTECTED build mode (2017-08-17).
  16166. * stm32f7:DMA correct comments and document stm32_dmacapable. Updated
  16167. comment to proper refernce manual for STM32F7 not STM32F4. Added
  16168. stm32_dmacapable input paramaters documentation. From David Sidrane
  16169. (2017-08-17).
  16170. * STM32 F7: DMA add dcache alignment check in stm32_dmacapable. In the
  16171. case dcache write-buffed mode is used (not write-through) buffer
  16172. alignment is required for DMA transfers because a)
  16173. arch_invalidate_dcache could lose buffered writes data and b)
  16174. arch_flush_dcache could corrupt adjacent memory if the maddr and the
  16175. mend+1, the next next address are not on ARMV7M_DCACHE_LINESIZE
  16176. boundaries. From David Sidrane (2017-08-17).
  16177. * STM32 F7: SDMMC remove widebus limitation on DMA. There is no
  16178. documantation for the STM32F7 that limits DMA on 1 bit vrs 4 bit
  16179. mode. From David Sidrane (2017-08-17).
  16180. * dcache write-buffed mode is used (not write-through) buffer alignment
  16181. is required for DMA transfers because a) arch_invalidate_dcache could
  16182. lose buffered writes data and b) arch_flush_dcache could corrupt
  16183. adjacent memory if the buffer and the bufflen, are not on
  16184. ARMV7M_DCACHE_LINESIZE boundaries. From David Sidrane (2017-08-17).
  16185. * STM32 F7: SDMMC add dcache alignment check in dma{recv|send}setup.
  16186. In the case where CONFIG_SDIO_PREFLIGHT is not used.
  16187. * drivers/sensors: Add support to HC-SR04 distance sensor. From Alan
  16188. Carvalho de Assis (2017-08-17).
  16189. * PF_IEEE802154 address family: With this commit PF_IEEE802154 address
  16190. family is basically functional. More testing is needed, of course:
  16191. Finishes up socket interfaces connect() sendto(), recvfrom(), and
  16192. bind() logic. Special initialization, device lookup, driver poll,
  16193. and frame input logic. Add configs/sim configuration for testing
  16194. (2017-08-19).
  16195. * STM32 COMP: add default INM configuration and some missing
  16196. COMP1,3,5,7 code. From Mateusz Szafoni (2017-08-20).
  16197. * 6LoWPAN/PF_IEEE802154: Created radiodev.h and renamed various
  16198. structures to provide a better separation between 6LoWPAN networking
  16199. and PF_IEEE802154 address family (2017-08-20).
  16200. * STM32 DAC: fix some configuration logic. When STM32_NDAC is greather
  16201. than 1, then second channel is always DAC1OUT2. From Mateusz Szafoni
  16202. (2017-08-20).
  16203. * PF_IEEE802154 address family: IEEE 802.15.4 network device: Make
  16204. same changes as per loopback device so that it will build with
  16205. PF_IEEE802154 but without 6LoWPAN. More fixes to device registration
  16206. and to IEEE 802.15.4 loopback driver for PF_IEEE802154 without
  16207. 6LoWPAN. Changes to conditional compilation so that PF_IEEE802154
  16208. can build without 6LoWPAN (2017-08-20).
  16209. * drivers/net/tun.c: Currently cannot support TAP mode unless Ethenet
  16210. is enabled (2017-08-20).
  16211. * PktRadio loopback driver: Fix compile problem by removing
  16212. inappropriate const storage class (2017-08-20).
  16213. * Networking: Remove driver based backlog support. This affects the
  16214. entire network, but is used by only one driver. The only supported
  16215. RX backlog is now via common read-ahead buffering (2017-08-21).
  16216. * PF_IEEE802154 socket family: (1) Improve some backlog counting
  16217. logic; add more assertions to catch cases where the backlog count
  16218. might deviate from the actual backlog. (2) Add a maximum backlog
  16219. option. This will prevent overrun of the RX frame queue if many
  16220. frames are received from the radio, but no application is receiving
  16221. the queued data. (3) On input, there may be a list of frames
  16222. provided, not just one. When closed() and connection is freed, also
  16223. need to free any frames remaining in the RX queue (2017-08-21).
  16224. * Network procfs: Add support for network procfs statistics when
  16225. nothing is enabled but PF_IEEE802154 (2017-08-21).
  16226. * STM32 DAC: Add support for HRTIM triggering. Separate dma buffer
  16227. configuration for channels. From Mateusz Szafoni (2017-08-21).
  16228. * ENCX24J600: Fix some warnings. Update interface to use newer
  16229. parameter passing to interrupt handlers (2017-08-21).
  16230. * ENC28J60: Update interface to use newer parameter passing to
  16231. interrupt handlers (2017-08-21).
  16232. * drivers/analog/comp: add poll support. From Pekka Ervasti
  16233. (2017-08-22).
  16234. * STM32L4 COMP: Bind to upper half comp driver. From Pekka Ervasti
  16235. (2017-08-22).
  16236. * STM32L4 ADC: correct EXTSEL macros. From Juha Niskanen
  16237. (2017-08-22).
  16238. * drivers/lcd: ssd1306: (1) Separate lcd_dev_s setup to separate
  16239. object. g_oleddev takes 1 KiB because framebuffer and was allocated
  16240. to .data section because of lcd_dev_s function pointer setup. Move
  16241. lcd_dev_s setup out, so that g_oleddev goes to .bss and avoid wasting
  16242. ROM. (2) Fix memory corruption caused by ssd1306_getrun().
  16243. ssd1306_getrun was writing one extra byte (with value 0) past target
  16244. buffer when pixlen is multiple of 8. When pixlen was not multiple of
  16245. 8, last byte of buffer was fully cleared, instead of modifying only
  16246. the (pixlen % 8) bits of last byte. (3) Add support for board power
  16247. control. ThingseeOne has regulator for controlling display power
  16248. on/off. Patch adds support for board based power control to SSD1306
  16249. driver. (4) Add DD-12864WO-4A/SSD1309 support to SSD1306 driver.
  16250. From Jussi Kivilinna (2017-08-22).
  16251. * Network procfs: procfs/net_procfs_route.c building error occur if
  16252. CONFIG_NET_ROUTE is enabled. Fix suggested by Aleksandr Kazantsev
  16253. (2017-08-22).
  16254. * Networking: Fix ompile error if Unix domain sockets selected
  16255. (2017-08-23).
  16256. * STM32L4 TIM: TIM15,16,17 are always in APB2. From Juha Niskanen
  16257. (2017-08-25).
  16258. * STM32L4 DAC: report transfer as completed in DMA callback. Without
  16259. this even O_NONBLOCK writes block the calling task if DAC was using
  16260. DMA. From Juha Niskanen (2017-08-25).
  16261. * STM32L4 COMP: comparators share RCC enable bit with SYSCFG. From
  16262. Juha Niskanen (2017-08-25).
  16263. * power: add driver for TI bq2429x battery charger. TODO: Untested.
  16264. Does not have poll() support. From Juha Niskanen (2017-08-25).
  16265. * 6LoWPAN: The original, Contiki-based design used only a single
  16266. buffer for reassemblying larger packets. This could be a problem
  16267. issue for hub configurations which really need the capability
  16268. concurrently reassemble multiple incoming streams concurrently.
  16269. These was also a design issue in that the reassembly buffer could be
  16270. corrupted by outgoing packets. The design was extended to support
  16271. multiple reassembly buffers, each associated with the reassembly tag
  16272. and source address. This assures that there can be be no corruption
  16273. of the reassembly once it has started (2017-08-26).
  16274. * Simulator: Adds necessary functionality to build Simulator under ARM
  16275. Linux. Tested only on Raspberry3. Currently setjmp/longjmp do not
  16276. save/restore floating point registers. From Nickolay Semyonov
  16277. (2017-08-26).
  16278. * fs: FS_AUTOMOUNTER should depend on SCHED_LPWORK. From Nickolay
  16279. Semyonov (2017-08-26).
  16280. * configs/lc823450-xgevk: Add eMMC/SD and USB support. From Masayuki
  16281. Ishikawa (2017-08-27).
  16282. * LC823450: eMMC/SD and USB support for LC823450. From Masayuki
  16283. Ishikawa (2017-08-27).
  16284. * drivers/analog/comp.c: Fix compilation errors when poll disabled.
  16285. From Mateusz Szafoni (2017-08-27).
  16286. * stm32_dac.c: conditional logic for timer triggering, fix TSEL
  16287. configuration when HRTIM, DMA request remapping, Add DMA buffers
  16288. initialization logic. From Mateusz Szafoni (2017-08-27).
  16289. * STM32 HRTIM: Fix DAC triggers configuration, Add missing master timer
  16290. logic, enable DAC triggering. From Mateusz Szafoni (2017-08-27).
  16291. * STM32F33: missing SYSCFG CFGR3 definitions. From Mateusz Szafoni
  16292. (2017-08-27).
  16293. * STM32 DAC: support external triggering for DMA transfer. From
  16294. Mateusz Szafoni (2017-08-27).
  16295. * ARM: Add support for STM32F433RC. From Alan Carvalho de Assis
  16296. (2017-08-27).
  16297. * STM32L4 RCC: Enable ADC clock source. From Juha Niskanen
  16298. (2017-08-28).
  16299. * drivers: analog: adc: Add poll support. From Juha Niskanen
  16300. (2017-08-28).
  16301. * STM32, STM32L4, STM32F7 ADC: fix channel 18 sample time. Frpm Juha
  16302. Niskanen (2017-08-28).
  16303. * STM32L4 ADC: implement peripheral. From Juha Niskanen (2017-08-28).
  16304. * work_queue() must cancel existing work prior to queuing new work,
  16305. otherwise the work queue list structure can become corrupted.
  16306. Problem noted by Pascal Speck (2017-08-28).
  16307. * STM32 HRTIM: Add DMA configuration. From Mateusz Szafoni
  16308. (2017-08-28).
  16309. * Networking: Move TCP specific files from inet/ to tcp/. There is
  16310. another TCP-specific logic in inet/ that should be moved sometime,
  16311. but those are more entangled (2017-08-29).
  16312. * Networking: TCP disconnection callbacks are not retained in a list.
  16313. This will support mutiple callbacks per lower-level TCP connection
  16314. structure. That is necessary for the cae where a socket is dup'ed
  16315. and shares the same lower-level connection structure. NOTE: There
  16316. still needs to be a call to tcp_start_monitor() when the socket is
  16317. dup'ed (2017-08-29).
  16318. * Networking: Start the network monitor for a socket when a TCP socket
  16319. is dup'ed (2017-08-29).
  16320. * Networking: A placeholder for some missing logic in the previous
  16321. change related to monitoring network status for dup'ed sockets. If
  16322. one of the dup'ed socket's is closed, then network monitor resources
  16323. associated with that one socket must be recovered. Also, in the
  16324. event that socket is being used on one thread, but then closed on
  16325. another, any threads waiting for events from the socket should be
  16326. informed of the closure. That latter requirement is not implemented
  16327. because current data structures do not support it (2017-08-29).
  16328. * Networking: Clean up some naming that has bothered me for a long
  16329. time... There are no interrupts and no interrupt handlers in the
  16330. network. There are events and event handler (there used to to be
  16331. interrupt logic in there years ago but that is long, long gone)
  16332. (2017-08-29).
  16333. * configs: update STM32L4 configs for ADC changes. From Juha Niskanen
  16334. (2017-08-30).
  16335. * configs: update STM32L4 configs for ADC changes. From Juha Niskanen
  16336. (2017-08-30).
  16337. * Porting Guide: Add usage tip for reading CAN messages from the CAN
  16338. driver without losing message (2017-08-30).
  16339. * Networking: socket dup() conditional operation was missing the test
  16340. for the condition (2017-08-30).
  16341. * ARMv7-M syscall logic: Clear bit 0 in PC settings. Bit 0 is the
  16342. thumb mode indication and should not be set in the PC. This extra
  16343. bit has not caused problems in the past, but seeing it set in the PC
  16344. is unnerving (2017-08-30).
  16345. * Networking: Fix a race condition. The accept() operation is
  16346. performed with the network locked. However, the network is unlocked
  16347. BEFORE the connected state is set. Therefore, a context switch may
  16348. occur and the socket may no longer be connected when it is marked so.
  16349. Noted by Pascal Speck (2017-08-31).
  16350. * Work queue: In a recent change for a problem noted by Pascal Speck,
  16351. it was noted (again by Pascal Speck) that the cancellation of
  16352. existing work and replacement with new work must be atomic. Thanks,
  16353. Pascal (2017-08-31).
  16354. * LPC43xx: Modify up_allocate_(k)heap() to support PROTECTED mode.
  16355. From Alan Carvalho de Assis (2017-08-31).
  16356. * STM32 Timer: Add the set counter function for stm32 timers. From
  16357. Sergey Ustinov (2017-08-31).
  16358. * configs/Bambino: Add protected mode configuration to Bambino board.
  16359. From Alan Carvalho de Assis (2017-08-31).
  16360. * STM32L4 DAC: add option for routing DAC output to ADC. Actually
  16361. write something to the DAC DMA buffer. From Juha Niskanen
  16362. (2017-08-29).
  16363. * STM32L4 DAC: separate DMA buffer configuration for channels. From
  16364. Juha Niskanen (2017-08-29).
  16365. * STM32L4 DAC: Fix naming so that DAC1 and DAC2 always refer to
  16366. channels 1 and 2. User should not be bothered by details like how
  16367. many IP blocks there are. As no current STM32L4 has second DAC block
  16368. (channel 3), remove support for such hypothetical hardware. DMA
  16369. channels corrected. From Juha Niskanen (2017-09-01).
  16370. * configs/nucleo-l496zg: add DAC and missing TIM frequencies. From
  16371. Juha Niskanen (2017-09-01).
  16372. * Networking: net_timedwait() and net_lockedwait() no longer return
  16373. errors via errno but returned negated errno values like other
  16374. internal OS functions (2017-09-01).
  16375. * Networking: Fix net_lock returning ERROR when instead of real error
  16376. code on failure. From Jussi Kivilinna (2017-09-01).
  16377. * net/local: Fix server lc_waitsem overflow. From Jussi Kivilinna
  16378. (2017-09-01).
  16379. * drivers/bch: Add poll support. From Jussi Kivilinna (2017-09-01).
  16380. * STM32 F7: do not enable read-modify-write on DTCM. "AN 4667 -
  16381. STM32F7 Series system architecture and performance" recommends to
  16382. disable read-modify-write on DTCM: "If the DTCM-RAM is used as data
  16383. location and the variables used are byte or/and halfword types, since
  16384. there is no ECC management in this RAM on the STM32F7 Series, it is
  16385. recommended to disable the read-modify-write of the DTCM-RAM in the
  16386. DTCM interface (inthe DTCMCR register) to increase the performance."
  16387. From Jussi Kivilinna (2017-09-01).
  16388. * Networking: IGMP: Remove special support for interrupt level
  16389. processing (there is none) and fix some timer cancellation logic. In
  16390. many files, correct comments. There is no interrupt level processing
  16391. in the networking layer (2017-09-02).
  16392. * stm32_dac.c: fix compilation when DMA disabled for channel. From
  16393. Mateusz Szafoni (2017-09-02).
  16394. * Extend the RTC framework with an alarm read ioctl (RTC_RD_ALARM).
  16395. Through it consumer could get configuration settings about previously
  16396. scheduled hardware alarms (active status, hours, minutes, seconds).
  16397. From Boris Astardzhiev (2017-09-03).
  16398. * STM32 F7: Port Boris Astardzhiev's RTC change for STM32L4 to STM32F7
  16399. (2017-09-03).
  16400. * STM32: Port Boris Astardzhiev's RTC change for STM32L4 to STM32
  16401. (2017-09-03).
  16402. * Kinetis: Unverified implementation of the alarm read function.
  16403. Pretty simple because the Kinetis RTC is just a 1Hz counter
  16404. (2017-09-03).
  16405. * STM32 HRTIM: add burst mode configuration, rename some definitions.
  16406. From Mateusz Szafoni (2017-09-03).
  16407. * Update net_timedwait() and net_lockedwait() call sites to handle
  16408. negated errno in return value. From Jussi Kivilinna (2017-09-04).
  16409. * stm32f7: Add new configuration option for enabling flash ART
  16410. Accelerator and flash prefetcher. From Jussi Kivilinna
  16411. (2017-09-04).
  16412. * Simulation: Fix building 32-bit simulation on 32-bit X86. From
  16413. Jussi Kivilinna (2017-09-04).
  16414. * waitpid(): Corrects two problems when
  16415. CONFIG_SCHED_HAVE_PARENT+CONFIG_SCHED_CHILD_STATUS are enabled: (1)
  16416. Was erroring out if the waited for task had already exited, and (2)
  16417. was not freeing resources when a wait was completed. From Boris
  16418. Astardzhiev (2017-09-04).
  16419. 7.23 2017-12-04 Gregory Nutt <gnutt@nuttx.org>
  16420. * STM32L4: ADC, Kconfig small changes:
  16421. - STM32L4 ADC: port analog watchdog ioctls from the Motorola MDK
  16422. - STM32L4: Kconfig: add some L486 and L496 chips, remove duplicates
  16423. From Juha Niskanen (2017-09-06).
  16424. * 6LoWPAN: Correct an error in uncompressing multicast address
  16425. (2017-09-08).
  16426. * sem_open() should return SEM_FAILED on any failures. This is change
  16427. in the POSIX specification since the original sem_open() was written
  16428. so many years ago (2017-09-08).
  16429. * STM32: Add logic for enabling wakeup pins. From Oleg Evseev
  16430. (2017-09-08).
  16431. * Update/fix last commit: On some STM32's, the CSR regiser is 18 vs. 16
  16432. bits wide. Need to use 32-bit register accesses (2017-09-08).
  16433. * 6LoWPAN: I believe, based on RFC review, that with the last multicast
  16434. change, the NuttX 6LoWPAN is now compliant with RFC 6282 (2017-09-08).
  16435. * arch/arm/Kconfig: Add more classic ARM11 architecture selections
  16436. (2017-09-09).
  16437. * 6LoWPAN/Radio: Rename radio property sp_pktlen to sp_framelen. Add
  16438. 6LoWPAN utility to get the max frame length (not yet hooked in)
  16439. (2017-09-10).
  16440. * 6LoWPAN: Remove the option to disable fragmentation support. Two
  16441. reasons: (1) First fragementation is always required because IPv6
  16442. requires an MTU of 1280 bytes. The is no application use case that can
  16443. work without fragmentation support. And (2) it greatly reduces the
  16444. complexity of the code (2017-09-10).
  16445. * net/sixlowpan: Remove CONFIG_NET_6LOWPAN_FRAMELEN. In this case where
  16446. multiple radios are supported, this may not be a constant. 6LoWPAN now
  16447. always queries the driver to get the maximum frame length (2017-09-10).
  16448. * drivers/smps.c: fix error messages. From Mateusz Szafoni (2017-09-10).
  16449. * configs/stm32f334-disco: beginning of lower half driver for high power
  16450. LED (powerled). From Mateusz Szafoni (2017-09-10).
  16451. * Misc STM32 fixes
  16452. - stm32f33xxx_hrtim.h: fix definition
  16453. - stm32_hrtim: fix pclk calculation
  16454. - stm32_hrtim.c: cosmetics
  16455. - add upper-half driver for high power LED driver (powerled)
  16456. From Mateusz Szafoni (2017-09-10).
  16457. * drivers/video/fb.c: Add framebuffer character device (2017-09-11).
  16458. * drivers/video/fb.c: Add support for LCD drivers that use a simulated
  16459. framebuffer and must receive explicit notification when there is an
  16460. update to a region in the framebuffer (2017-09-11).
  16461. * configs/lc823450-xgevk: Enable ADC and watchdog driver. From Masayuki
  16462. Ishikawa (2017-09-12).
  16463. * arch/arm/src/lc823450: Conform to the NuttX coding style, merge the
  16464. latest fix in lc823450_rtc.c, add ADC driver, add watchdog driver. From
  16465. Masayuki Ishikawa (2017-09-12).
  16466. * net/sock: recvfrom: Fix double leave_cancellation_point on error
  16467. path. From Jussi Kivilinna (2017-09-12).
  16468. * net/socket: Do not enter cancellation point in psock_send() as this
  16469. is already done in send(). From Jussi Kivilinna (2017-09-12).
  16470. * net/socket: send: verify that sockfd is valid, fixes assert when using
  16471. send on closed socket. From Jussi Kivilinna (2017-09-12).
  16472. * drivers/video/fb.c and include/nuttx/video.fb.h: Some improvements
  16473. and fixes from early testing sith the sim/fb cnofiguration (2017-09-12).
  16474. * sim/configs/fb: Add a configuration for non-graphical testing of the
  16475. frambuffer character driver using apps/example/fb (2017-09-12).
  16476. * Rename CONFIG_VIDEO_DEVICES to CONFIG_DRIVERS_VIDEO to conform better
  16477. to the evolving configuration naming standard (2017-09-12).
  16478. * Rename CONFIG_AUDIO_DEVICES to CONFIG_DRIVERS_AUDIO to conform better
  16479. to the evolving configuration naming standard (2017-09-12).
  16480. * stm32: stm32 alt I2C ensure proper error handling. Injecting data
  16481. errors would cause the driver to continually reenter the isr with BERR
  16482. an RxNE. This fix allows the error to be cleared and propagated to the
  16483. waiting task. From David Sidrane (2017-09-12).
  16484. * stm32x i2c fixes, stm32: Fix coding standard error, stm32f7 I2C: fixed
  16485. typo in comment. From David Sidrane (2017-09-13).
  16486. * STM32 Tickless: Fixes compilation error when timer info/debug messages
  16487. are enabled. From Rajan Gill (2017-09-13).
  16488. * net/: Fix some errors found by Coverity.
  16489. * STM32/STM32 F7: Fix some errors found by Coverity (2017-09-13).
  16490. * drivers/video/fb.c: File offset is in units of bytes, not pixels
  16491. (2017-09-14).
  16492. * drivers/lis3dsh.c: Added the argument parameter (FAR void *arg) to
  16493. the interrupt handler provided by the LIS3DSH driver to fit the
  16494. definition for ISRs in xcpt_t. Changed the check for working queue
  16495. availability in lis3dsh interrupt handler to use work_available() and
  16496. not crash in case of an overrun. From Florian Olbrich (2017-09-14).
  16497. * configs/stm32f4discover: Added initialization code and Kconfig entries
  16498. to set up the LIS3DSH accelerometer driver on STM32F4Discovery rev. C
  16499. boards and attach the associated interrupt callback. From Florian
  16500. Olbrich (2017-09-14).
  16501. * Added initialization code and Kconfig entries for LIS3DSH
  16502. accelerometer on STM32F4Discovery + associated changes to LIS3DSH
  16503. driver. From Florian Olbrich (2017-09-14).
  16504. * LPC31xx: Change naming of some global variables to match coding
  16505. standard (2017-09-14).
  16506. * wireless/ieee802154/: Moves MAC802154IOC from ieee802154_ioctl.h and
  16507. renames ieee802154_ioctl.h to ieee802154_device.h since it only contains
  16508. types relevant to the MAC char device now. From Anthony Merlino
  16509. (2017-09-15).
  16510. * wireless/ieee802154: Adds support for receiving MAC events via IOCTL
  16511. through socket interface. Other small fixes and cleanup. From Anthony
  16512. Merlino (2017-09-15).
  16513. * drivers/wireless: Adds XBee S2C (802.15.4 firmware) support. XBee
  16514. driver emulates mac802154 interface. From Anthony Merlino (2017-09-15).
  16515. * sched/waitpid.c: Eliminate a warning detected by GCC 6 (2017-09-15).
  16516. * drivers/xbee: Fixes a few warnings
  16517. - drivers/xbee: Fixes a few warnings
  16518. - configs/clicker2-stm32: Updates sections about i8sak usage in the
  16519. README
  16520. From Anthony Merlino (2017-09-15).
  16521. * STM32 Tickless: The attached patch removes the restriction to 16bit
  16522. counts when a 32bit timer is used for the new tickless on the stm32. As
  16523. it is now, the restriction is very limiting, especially if one wants
  16524. high granularity and large achievable intervals and has the hardware
  16525. (namely the 32bit timers) available. From Rajan Gill (2017-09-16).
  16526. * configs/open1788: Initialization now follows the pattern of other
  16527. boards. Add initialization of fb driver. Add a configuration for
  16528. testing the framebuffer driver (2017-09-16).
  16529. * drivers/video: fb driver now clears framebuffer initially. Eliminates
  16530. (or minimizes) initial garbage on the display (2017-09-16).
  16531. * SAMV71-XULT: Add support for fb_driver (2017-09-17).
  16532. * drivers/lcd: Add suppose for a generic front-end that will convert
  16533. any LCD driver into a framebuffer driver (2017-09-17).
  16534. * SAMv71-XULT: Add a configuration to test the LCD framebuffer driver.
  16535. Not quite yet working properly (2017-09-17).
  16536. * configs/stm3210e-eval: Rename stm32_appinit.c to stm32_bringup.c so
  16537. that the start up logic is compatible with other, new boards. Bring in
  16538. new stm32_appinit.c, add board_initialize(), add support for FB
  16539. character driver (2017-09-17).
  16540. * configs/stm3240g-eval: Rename stm32_appinit.c to stm32_bringup.c to
  16541. better match other architectures. Replace the old-style stm32_appinit.c
  16542. with tne new one from the STM32F4-Discovery. Add a configuration for
  16543. testing the FB character driver at drivers/video/fb.c using the LCD
  16544. frame driver front end at drivers/lcd/lcd_framebuffer.c. Appears to be
  16545. fully functional (2017-09-17).
  16546. * netinet/in.h: Add missing IN6_IS_ADDR_V4COMPAT macro (2017-09-18).
  16547. * configs/stm32f4discovery: Update README. Add summary of differences
  16548. with the newest STM32F407G-DISC1 part. Remove a lot of old discussion
  16549. that is really no longer helpful (2017-09-18).
  16550. * Networking: sockgetname() files need to include udp/udp.h and
  16551. tcp/tcp.h or otherwise NET_UDP_HAVE_STACK and NET_TCP_HAVE_STACK are
  16552. undefined and the logic is never compiled. Noted by Anthony Merlino
  16553. (2017-09-18).
  16554. * Add driver for APA102 LED controller. These LEDs are used on LED
  16555. Strips and are controlled over SPI (2017-09-18).
  16556. * configs/stm32f103-minimum: Add board support for APA102 driver. From
  16557. Alan Carvalho de Assis (2017-09-18).
  16558. * sched/env_dup.c: Fix an error in the duplication of the child tasks
  16559. environment in the special case where the parent's environment was
  16560. created, but then all of the variables were unset. In that case, there
  16561. is still an allocation in place but the size of the allocation is zero.
  16562. This case was not being handled correctly when a child task attempts to
  16563. create its environment and inherit the zero-size partent environment.
  16564. Noted by Anthony Merlino (2017-09-18).
  16565. * STM32L4 DFSDM: add peripheral, DAC, TIM: small changes
  16566. - STM32L4 DAC: do not configure output pin if it is not used
  16567. - STM32L4 TIM: fix compilation of timers with complementary outputs
  16568. when not PWM_MULTICHAN
  16569. - STM32L4 DFSDM: peripheral for digital filters for sigma-delta ADCs
  16570. Initial version. Timer trigger support is not completed and there is
  16571. some issue with DMA.
  16572. From Juha Niskanen (2017-09-19).
  16573. * stm3240g-eval: Remove some bad conditional compilation (2017-09-19).
  16574. * Networking: IPv4 getsockname(): Fix a typo that can cause a compile
  16575. error (2017-09-19).
  16576. * viewtool-stm32f107: Enable NSH arch-specific initialization. Rename
  16577. stm32_appinit.c to stm32_bringup.c for consistency with other boards.
  16578. Replace old stm32_appinit.c (now stm32_bringup.c) with 'standard'
  16579. stm32_appinit.c from the STM32F4-Discovery. Add CONFIG_BOARD_INITIALIZE
  16580. logic to stm32_boot.c. Add support to auto-mount the procfs file system
  16581. (2017-09-19).
  16582. * Networking: Add implementation of logic for SIOCGIFCONF and
  16583. SIOCGLIFCOF IOCTL commnds (2017-09-19).
  16584. * Networking: drivers/net/loopback.c: Eliminate a warning.
  16585. net/netdev/netdev_ifconfig.c: Was not returning all of the address info
  16586. (2017-09-19).
  16587. * STM32L4 ADC, DFSDM: add routing of ADC data to DFSDM filters. From
  16588. Juha Niskanen
  16589. - configs/nucleo-l496zg: add DFSDM initialization
  16590. - STM32L4 ADC: add option for routing ADC data to DFSDM, fix DFSDM
  16591. DMA (2017-09-20).
  16592. * SIOCGIFCONF and SIOCGLIFCONF IOCTL commands should only report on
  16593. network adatpors in the UP state (2017-09-20).
  16594. * In some cases, packets are still not sent behind the router. I found
  16595. that NuttX sends the ARP requests not to the router but to the target.
  16596. Mistake in file net/route/netdev_router.c. From Aleksandr Kazantsev
  16597. (2017-09-20).
  16598. * stm32: stm32f40xxx I2C ensure proper isr handling. Injecting data
  16599. errors that causes a STOP to be perceived by the driver, will
  16600. continually re-enter the isr with SB not set and BTF
  16601. and RxNE set. This changes allows the interrupts to be cleared and
  16602. propagates a I2C_SR1_TIMEOUT to the waiting task. From David Sidrane
  16603. (2017-09-21).
  16604. * include/nuttx/net/net.h: Add missing semicolon in prototype. Fixes
  16605. error in certain combinations of configuration options. From Pavel Pisa
  16606. (2017-09-21).
  16607. * drivers/pipes: pipe_common: Fix writing large buffers not triggering
  16608. POLLIN for reader poll. From Jussi Kivilinna (2017-09-21).
  16609. * drivers/usbdev: Add support for RX flow control to the CDC/ACM driver
  16610. (2017-09-22).
  16611. * STM32 Serial: Fix some incorrect conditional compilation (2017-09-23).
  16612. * drivers/usbdev: Add support for flow control TERMIOs in CDC/ACM
  16613. driver (2017-09-23).
  16614. * drivers/usbdev: CDC/ACM should reset all 'irregular' notifications to
  16615. zero after sending the SerialState packet (2017-09-23).
  16616. * drivers/usbdev: Fix some bad conditional logic (2017-09-23).
  16617. * Fixes several errors preventing icmpv6_radvertise.c from being
  16618. compiled. Fixes conversions to network byte order (namely vlifetime,
  16619. plifetime, mtu). IPv6 source address is set to link-local IP address
  16620. instead of the address in the netdev structure. This is in compliance to
  16621. RFC 4861. RA didn't work on Linux before this change. Finally, router
  16622. prefix and prefix length are derived from the IPv6 address and netmask
  16623. in the netdev structure. This seems to make more sense than using a
  16624. predefined, separate prefix from the config. From Sakari Kapanen
  16625. (2017-09-24).
  16626. * drivers/usbdev/usbdev: Add RNDIS-over-USB driver. From Sakari Kapanen
  16627. (2017-09-24).
  16628. * net/igmp/igmp_send.c: Fix incoming IGMP checksum calculation. From
  16629. Louis Mayencourt (2017-09-25).
  16630. * Fixes for problems found by Coverity in the nuttx repository:
  16631. - net/socket/recvfrom.c: Check fromlen integrity before using it.
  16632. - net/socket/net_sockets.c: Always check for valid psock before using.
  16633. - net/tcp/tcp_send_unbuffered.c: Avoid using psock beforing
  16634. checking its integrity.
  16635. - sched/timer/timer_create.c: Fix watchdog resource leak if cannot
  16636. allocate a new timer.
  16637. From Bruno Herrera (2017-09-25).
  16638. * drivers/usbdev/Kconfig: Add comments in regard to RNDIS selection
  16639. (2017-09-25).
  16640. * configs/nucleo-f410rb: Add support for the nucleo-F410RB board. From
  16641. Gwenhael Goavec-Merou (2017-09-25).
  16642. * STM32 L4: Add SDMMC driver. From Miha Vrhovnik (2017-09-26).
  16643. * Nucleo-L496ZG: Add support for SDMMC driver. From Miha Vrhovnik
  16644. (2017-09-26).
  16645. * drivers/usbdev/cdcacm.c: Avoid using priv before checking its
  16646. validity. From Juha Niskanen (2017-09-26).
  16647. * drivers/usbdev/cdcacm.c: Change design for queuing RX packets that
  16648. cannot be processed. Previous design had a logic problem that could
  16649. cause data loss (2017-09-26).
  16650. * drivers/usbdev/cdcacm.c: Add a failsafe time to assure that the RX
  16651. pending queue cannot stall indefinitely. I can imagine a corner case
  16652. where the serial driver's RX buffer is full and it stops accepting data
  16653. and where all of the read requests are queued and there is not event to
  16654. restart RX processing. I am not sure that that scenario can really
  16655. happen, but the failsafe timer gives me peace of mind (2017-09-26).
  16656. * Build break fix: define PWM_TIM2_CH1CFG for channel 1 PWM. From
  16657. Tomasz Wozniak (2017-09-26).
  16658. * Fixed directory unlocking in tmpfs_opendir. From Dmitriy Linikov
  16659. (2017-09-27).
  16660. * drivers/usbdev/cdcacm.c: Add some missing logic when flow control is
  16661. disabled. Also make sure that the flowcontrol and rxint can handle
  16662. being re-entered when cdcacm_release_rxpending() is called (2017-09-27).
  16663. * drivers/usbdev/cdcacm.c: Fix confusion between flow control being
  16664. enabled and being active. Different things (2017-09-27).
  16665. * drivers/usbdev/cdcacm.c: Change ordering of some operations to avoid
  16666. races; Add missing uppder watermark logic that is normally in
  16667. serial_io.c but must be duplicated in cdcacm.c (2017-09-27).
  16668. * net/route: Permit IPv4 and IPv6 routing tables to be of different
  16669. sizes (2017-09-27).
  16670. * ROMFS for STM32F4 Discovery board. From Tomasz Wozniak (2017-09-28).
  16671. * STM32 PWR: Adds stm32_pwr_getsbf and stm32_pwr_getwuf functions that
  16672. return the standby flag and the wakeup flag PWR power control/status
  16673. register. From Oleg Evseev (2017-09-28).
  16674. * net/arp/arp_out.c: Fix IGMP Ethernet address computation. From Louis
  16675. Mayencourt (2017-09-28).
  16676. * net/route: Adds support for read-only routing tables. Prior to this
  16677. change, routing tables were only support in RAM and had to be
  16678. initialized with explicit logic to add the necessary routes to the
  16679. routing table. With this change, routes may be defined in the
  16680. pre-initialized, read-only routing table provided by the board-specific
  16681. logic
  16682. This would be particularly useful, for example, in the case where
  16683. there is only a single network adaptor and you want all output packets
  16684. to go to the single adaptor in all cases. So for that behavior you
  16685. could add a read-only routing table to the board-specific long that
  16686. contains a single entry, the default route: 0.0.0.0/0 (2017-09-28).
  16687. * fs/vfs: file_seek() is an internal OS interface and should not errors
  16688. via the errno (2017-09-28).
  16689. * fs/vfs: file_read() is an internal OS interface and should not errors
  16690. via the errno (2017-09-28).
  16691. * fs/vfs: file_write() and file_pwrite() are internal OS interfaces and
  16692. should not report errors via the errno (2017-09-28).
  16693. * STM32L4 FLASH, DFSDM: option bytes, JEXTSEL bits, ADC1 output to DFSDM
  16694. chips change
  16695. - STM32L4 FLASH: add function for modifying device option bytes
  16696. - STM32L4 DFSDM: add JEXTSEL bits, ADC1 output to DFSDM chips change
  16697. ST's documentation hints that ADC output can be routed to DFSDM on
  16698. some STM32L4X3 chips, but I got confirmation from tech support that
  16699. this is just a documentation error so remove this from Kconfig
  16700. From Juha Niskanen (2017-09-29).
  16701. * This commit adds support for routing tables in files in a file
  16702. system. This might be useful for customized, per-unit routing tables.
  16703. There are two issues with it however:
  16704. 1. Reading from file system on a per packet basis could be slow. I
  16705. think it probably should have a small, in-memory cache of most
  16706. frequently used routes for good problem.
  16707. 2. Currently the delroute logic is disabled due to a problem with
  16708. the design. NuttX does not currently support truncate().
  16709. Therefore, it is not possible to delete entries from the routing
  16710. table file.
  16711. In this current implementation, that leaves the last entry intact at
  16712. the end of the file. An alternative design might include a tag on
  16713. each record to indicate if the record is valid or not. That would
  16714. work but would add complexity to the other routing table functions
  16715. (2017-09-29).
  16716. * net/route: Add support for an in-memory routing table cache in order
  16717. to improve performance when the routing table is retained in a file.
  16718. The cache holds the most recently used routing table entries and so can
  16719. eliminate some file access. Flush the in-memory cache when any entry is
  16720. deleted from the routing table. When a router matching an IP address is
  16721. found, add the routing table entry to the cache (2017-09-29).
  16722. * fs/vfs: null check for path on open and buf on write. Null path
  16723. check is depend on CONFIG_DEBUG_FEATURES and CONFIG_DEBUG_ASSERTIONS,
  16724. added null checking so it's always performed Added null checking on buf
  16725. for write(). From Xiao Qin (2017-09-29).
  16726. * net/route: File read/write logic should be able to handle short reads
  16727. and writes (2017-09-29).
  16728. * drivers/syslog: syslog internal functions should not set the errno
  16729. variable: ramlog_putc(), syslog_dev_putc(), syslog_dev_write(),
  16730. syslog_force() (2017-09-29).
  16731. * net/sockets: psock_sendto() is an internal OS interface an should not
  16732. set the errno variable (2017-09-29).
  16733. * net/sockets: psock_send() is an internal OS interface an should not
  16734. set the errno variable (2017-09-29).
  16735. * psock_send() no longer sets errno, so send() must now set it
  16736. (2017-09-30).
  16737. * net/: Versions of psock_send() and pock_sendto() should not set
  16738. errno. That is taken care of at a higher level in the send()/sendto()
  16739. implementation as appropriate (2017-09-30).
  16740. * net/: psock_accept() is an internal interface and should not set the
  16741. errno (2017-09-30).
  16742. * net/: psock_bind() is an internal interface and should not set the
  16743. errno (2017-09-30).
  16744. * net/: psock_connect() is an internal interface and should not set the
  16745. errno nor should it be a cancellation point (2017-09-30).
  16746. * net/: psock_listen() is an internal interface and should not set the
  16747. errno (2017-09-30).
  16748. * net/: psock_getsockopt() is an internal interface and should not set
  16749. the errno (2017-09-30).
  16750. * net/: psock_getsockopt() and psock_socket() are an internal interfaces
  16751. and should not set the errno (2017-09-30).
  16752. * net/: psock_accept() is not a cancellation point (2017-09-30).
  16753. * net/: psock_recvfrom() is an internal interface and should not set the
  16754. errno nor should it be a cancellation point (2017-09-30).
  16755. * net/ and fs/: net_vfcntl(), file_fcntl(), file_dup(), and file_dup2()
  16756. are all internal OS interfaces and should not modify the errno value
  16757. (2017-09-30).
  16758. * net_dupsd() and net_dupsd2() are internal OS functions and should not
  16759. set the errno variable (2017-09-30).
  16760. * psock_ioctl() and netdev_ioctl() are internal OS functions and should
  16761. not set the errno variable (2017-09-30).
  16762. * psock_close() and net_close() are internal OS functions and should not
  16763. set the errno variable (2017-09-30).
  16764. * SAMv7, STM32, STM32 L4: DAC and ADC drivers are not permitted to set
  16765. the errno (2017-09-30).
  16766. * SIM LPC31xx: Serial and console drivers are not permitted to set the
  16767. errno (2017-09-30).
  16768. * STM32, STM32 F7: LTDC and DMA2D drivers are not permitted to set the
  16769. errno (2017-09-30).
  16770. * drivers/serial: 16550 UART driver IOCTL method must not set errno; it
  16771. must return a negated errno value (2017-09-30).
  16772. * drivers/lcd: ILI9341 initialize method not permitted to set errno
  16773. (2017-09-30).
  16774. * drivers/sensors: LIS331DL driver not permitted to set errno
  16775. (2017-09-30).
  16776. * drivers/wireless: CC1101 driver not permitted to set errno
  16777. (2017-09-30).
  16778. * configs/z80sim and xtrs: Serial driver lower halfs ioctl methods
  16779. should return a negated errno value, not set the errno variable
  16780. (2017-10-30).
  16781. * compiler.h, limits.h, types.h: Update SDCC/z80 files to include
  16782. support for long long, inline, __FILE__, and __func__ (2017-10-01).
  16783. * z80 Make.defs: Fixes dependency generation with newest SDCC compiler
  16784. (2017-10-01).
  16785. * include/: Add stdnoreturn.h (2017-10-01).
  16786. * tools/configure.sh: Add special support so that you can start with a
  16787. windows native configuration and install on a different host (and vice
  16788. versa). (2017-10-01).
  16789. * stm32_hrtim: add support for capture, chopper, deadtime and dump
  16790. registers. From Mateusz Szafoni (2017-10-01).
  16791. * tools/configure.c: Duplicate new functionaity added to configure.sh
  16792. (2017-10-01).
  16793. * tools/configure.sh: Another fix for the script. The last change only
  16794. worked for Windows Cygwin; for Linux, it needed to remove some
  16795. additional things from the defconfig file (2017-10-01).
  16796. * configs/z80sim: convert other configurations to default to Linux
  16797. (2017-10-01).
  16798. * tools/: configure.sh and configure.c should redirect stdout to
  16799. /dev/null but should not suppress stderr output (2017-10-01).
  16800. * stdnoreturn.h: Add definitions for the C11 noreturn keyword. Also
  16801. Remove C++11 dependency. Applies to C too (2017-10-02).
  16802. * net/route: Add logic to mark a route as most-recently-used in the
  16803. route cache (2017-10-02).
  16804. * commit b2ea300b6fb7672cdb682a0957b5dd2cff63804d broke the STM32L4 port
  16805. for people not using the L496xx or L4A6xx. That was because
  16806. stm32l4_sdmmc.h is included from the stm32l4.h global header, and this
  16807. header fires an #error for other chips. I see that ALL stm32l4 have the
  16808. same SDMMC except the stm32l4x2, which has none. From Sebastien Lorquet
  16809. (2017-10-02).
  16810. * net/route: Fix an error in cache list management (2017-10-02).
  16811. * Add support for Micron MT25Q series MT25Q128. From Sebastien Lorquet
  16812. (2017-10-02).
  16813. * binfmt/: Don't schedule starthook if there are no constructors
  16814. (2017-10-02).
  16815. * binfmt/: exec_module(), load_module(), unload_module(), and
  16816. schedule_unload() are internal OS functions and must not alter the errno
  16817. variable (2017-10-02).
  16818. * stm32f103-minimum: Add ADC support on stm32f103-minimum board. From
  16819. Alan Carvalho de Assis (2017-10-02).
  16820. * syscall/: The non-standard interface exec() is now enshrined as a
  16821. official NuttX API. I really dislike doing this but I think that this
  16822. is probably the only want to load programs in the protected mode. It is
  16823. currently used by some example code under apps/ that generate their own
  16824. symbol tables for linking. Other file execution APIs relay on a symbol
  16825. table provided by the OS. In the protected mode, the OS cannot provide
  16826. any meaning symbol table for execution of code in the user-space blob so
  16827. that is they exec() is really needed in that build case. And, finally,
  16828. the interface is completely useless and will not be supported in the
  16829. KERNEL build mode where the contrary is true: An application process
  16830. cannot provide any meaning symbolic information for use in linking a
  16831. different process (2017-10-03).
  16832. * STM32L4 RTC, PM: small fixes to subseconds handling, ADC
  16833. power-management hooks
  16834. - STM32L4 ADC: add PM hooks from Motorola MDK
  16835. - STM32L4 RTC: add up_rtc_getdatetime_with_subseconds
  16836. - STM32 RTC: workaround for potential subseconds race condition. In
  16837. all recent STM32 chips reading either RTC_SSR or RTC_TR is supposed
  16838. to lock the values in the higher-order calendar shadow registers
  16839. until RTC_DR is read. However many old chips have in their errata
  16840. this silicon bug (at least F401xB/C, F42xx, F43xx, L15xxE, L15xVD
  16841. and likely others): "When reading the calendar registers with
  16842. BYPSHAD=0, the RTC_TR and RTC_DR registers may not be locked after
  16843. reading the RTC_SSR register. This happens if the read operation is
  16844. initiated one APB clock period before the shadow registers are
  16845. updated. This can result in a non-consistency of the three
  16846. registers. Similarly, RTC_DR register can be updated after reading
  16847. the RTC_TR register instead of being locked."
  16848. - STM32L4 RTC: correct RTC_SSR and RTC_TR read ordering. In all
  16849. recent STM32 chips reading either RTC_SSR or RTC_TR is supposed to
  16850. lock the values in the higher-order calendar shadow registers until
  16851. RTC_DR is read. Change the register read ordering to match this and
  16852. don't keep a workaround for a hypothetical race condition (not in
  16853. any L4 errata, lets for once assume ST's silicon works as it is
  16854. documented...)
  16855. - STM32L4 PM: remove useless #ifdefs and old non-L4 STM32 code
  16856. From Juha Niskanen (2017-10-03).
  16857. * sched/semaphore: Rename sem_reset() to nxsem_reset() so that it is
  16858. clear this is an internal OS function (2017-10-03).
  16859. * sched/semaphore: Rename sem_tickwait() to nxsem_tickwait() so that it
  16860. is clear this is an internal OS function (2017-10-03).
  16861. * libc/semaphore: Add nxsem_init() which is identical to sem_init()
  16862. except that it never modifies the errno variable. Changed all
  16863. references to sem_init in the OS to nxsem_init() (2017-10-03).
  16864. * sched/semaphore: Rename all internal private functions from sem_xyz
  16865. to nxsem_xyz. The sem_ prefix is (will be) reserved only for the
  16866. application semaphore interfaces (2017-10-03).
  16867. * libc/semaphore: Add nxsem_getvalue() which is identical to
  16868. sem_getvalue() except that it never modifies the errno variable.
  16869. Changed all references to sem_getvalue in the OS to nxsem_getvalue()
  16870. (2017-10-03).
  16871. * libc/semaphore and sched/semaphore: Add nxsem_getprotocol() and
  16872. nxsem_setprotocola which are identical to sem_getprotocol() and
  16873. set_setprotocol() except that they never modifies the errno variable.
  16874. Changed all references to sem_setprotocol in the OS to
  16875. nxsem_setprotocol(). sem_getprotocol() was not used in the OS
  16876. (2017-10-03).
  16877. * sched/semaphore: Add nxsem_destroy() which is identical to
  16878. sem_destroy() except that it never modifies the errno variable. Changed
  16879. all references to sem_destroy() in the OS to nxsem_destroy() (2017-10-03).
  16880. * sched/semaphore: Add nxsem_post() which is identical to sem_post()
  16881. except that it never modifies the errno variable. Changed all
  16882. references to sem_post in the OS to nxsem_post() (2017-10-03).
  16883. * sched/semaphore: Add the function nxsem_wait(). This is a new
  16884. internal OS interface. It is functionally equivalent to sem_wait()
  16885. except that (1) it is not a cancellation point, and (2) it does not set
  16886. the per-thread errno value on return. In all OS functions (not
  16887. libraries), change sem_wait() to nxsem_wait(). This will prevent the OS
  16888. from creating bogus cancellation points and from modifying the per-task
  16889. errno variable. This commit also backs out most of commit
  16890. b4747286b19d3b15193b2a5e8a0fe48fa0a8638c. That change was added because
  16891. sem_wait() would sometimes cause cancellation points inappropriately.
  16892. But with these recent changes, nxsem_wait() is used instead and it is
  16893. not a cancellation point (2017-10-04).
  16894. * sched/semaphore: sem_timedwait() is a cancellation point and, hence,
  16895. cannot be called from within the OS. Created nxsem_timedwait() that is
  16896. equivalent but does not modify the errno and does not cause
  16897. cancellation. All calls to sem_timedwait() change to calls to
  16898. nxsem_timedwait() in the OS (2017-10-05).
  16899. * sched/semaphore: sem_trywait() modifies the errno value and, hence,
  16900. should not be used within the OS. Use nxsem_trywait() instead
  16901. (2017-10-05).
  16902. * This change renames all internal, private NuttX signal-related
  16903. functions to use the prefix nxsig_ so that they cannot be confused with
  16904. application interfaces that begin, primarily, with sig_. This is
  16905. analogous to similar renaming that was done previously for semaphores
  16906. (2017-10-05).
  16907. * drivers/input/cypress_mbr3108: Add missing variable for nxsem_wait
  16908. return value. From Jussi Kivilinna (2017-10-06).
  16909. * fs/vfs and net/socket: fcntl() is not return success fail for
  16910. F_SETFL. Reported by Jussi Kivilinna (2017-10-06).
  16911. * This commit adds internal versions of the signal interfaces:
  16912. - sigtimedwait() -> nxsig_timedwait()
  16913. - sigwaitinfo() -> nxsig_waitinfo()
  16914. - nanosleep() -> nxsig_nanosleep()
  16915. Replace all usage of sigwaitinfo(), sigtimedwait(), and nanosleep()
  16916. with the OS internal counterparts nxsig_waitinfo(), nxsig_timedwait(),
  16917. and nxsig_nanosleep(). The internal OS versions differ from the
  16918. standard application interfaces in that they do not create
  16919. cancellation points and they do not modify the application's errno
  16920. variable (2017-10-06).
  16921. * Adds new OS internal functions nxsig_sleep() and nxsig_usleep. These
  16922. differ from the standard sleep() and usleep() in that (1) they don't
  16923. cause cancellation points, and (2) don't set the errno variable (if
  16924. applicable). All calls to sleep() and usleep() changed to calls to
  16925. nxsig_sleep() and nxsig_usleep() (2017-10-06).
  16926. * drivers/serial/tcdrain: tcdrain() was recently added to the NuttX C
  16927. library. But there is a problem. The specification of tcdrain()
  16928. requires that it be a cancellation point. In order to do this, tcdrain
  16929. was moved from the C library into the OS and the addition cancellation
  16930. point hooks were added. In non-FLAT builds, access via system calls is
  16931. also now supported (2017-10-06).
  16932. * net/Kconfig: Remove improper use of comma in syntax (2017-10-06).
  16933. * mm/: Heap semaphore logic needs to use nxsem_* interfaces when
  16934. available, but the standard semaphores only when implementing a
  16935. user-space heap. Not this does introduce and issue: the memory
  16936. management functions them become cancellation points because of the use
  16937. of sem_wait (2017-10-07).
  16938. * syscall/: Fix some backward conditional compilation (2017-10-07).
  16939. * sched/signal: Add nxsig_kill() which is functionally equivalent to
  16940. kill() except that it does not modify the errno variable. Replace all
  16941. usage kill() in the OS proper with nxsig_kill() (2017-10-07).
  16942. * graphics/vnc/server: Fix an error in the VNC server introduced with
  16943. recent big set of changes (2017-10-07).
  16944. * sched/signal: Add nxsig_queue() which is functionally equivalent to
  16945. sigqueue() except that it does not modify the errno variable. Replace
  16946. all calls to sigqueue() in the OS proper with calls to nxsig_queue() to
  16947. avoid accessing the errno variable (2017-10-07).
  16948. * sched/signal: Add internal OS interface nxsig_procmask(). This
  16949. internal interface is equivalent to the standard sigprocmask() used by
  16950. applications except that it does not modify the errno value. Also fixes
  16951. a problem in that the original sigprocmask() was not setting the errno.
  16952. Replace all calls to sigprocmask() in the OS proper with calls to
  16953. nxsig_procmask(). (2017-10-07).
  16954. * sama5d4-ek: Remove a really old defconfig example file that is so far
  16955. out of date that it can only be misleading (2017-10-07).
  16956. * Fix some build problems after recent separation of internal OS from
  16957. application interfaces. The build problem only occurs in the PROTECTED
  16958. and KERNEL builds where separate libraries are built for the
  16959. applications and for use within the OS. In these cases, the correct
  16960. interfaces must be used. This commit fixes a few of these, so I can get
  16961. through build testing, but there are many more that need fixin'
  16962. (2017-10-08).
  16963. * SDCC Fixes: Change some prototypes and some assumptions about the
  16964. size of unsigned int to get to a clean SDCC compile (2017-10-08).
  16965. * Fix some problems in the previous commits: Forgot to update sigset()
  16966. after change to prototype. Also there was a stray semicolon in the
  16967. change signal() (2017-10-08).
  16968. * libc/stdio: Build the lib_noflush() and lib_snoflush() stubs even if
  16969. CONFIG_FILE_DESCRIPTORS=0. They may still be needed (2017-10-08).
  16970. * configs/z80sim: Fix a naming problem. Also, don't try to build the
  16971. serial driver if CONFIG_NFILE_DESCRIPTOR=0 (2017-10-08).
  16972. * libc and libnx: When the libraries are built into two libraries, a
  16973. user space library and a OS space library (as in the PROTECTED and
  16974. KERNEL build). Then the user space library must not use the OS internal
  16975. interfaces; similarly, the OS must avoid using the userspace interfaces
  16976. so that it does not muck the errno value or create spurious cancellation
  16977. points (2017-10-08).
  16978. * Misc STM32 Fixes
  16979. - stm32_hrtim.c: fix burst mode prescaler update
  16980. - stm32f334-disco: add flash mode support for powerled driver +
  16981. cosmetics
  16982. From Mateusz Szafoni (2017-10-08).
  16983. * powerled.h: Add fault field to state structure. From Mateusz Szafoni
  16984. (2017-10-08).
  16985. * libc/termios: Adds tcflow() (2017-10-09).
  16986. * RNDIS: Use CONFIG_USBDEV_MAXPOWER instead of hardcoded value. Use
  16987. LPWORK for network operations by default. From Sakari Kapanen
  16988. (2017-10-09).
  16989. * sched/mqueue: Rename all OS internal functions declared in
  16990. sched/mqueue/mqueue.h to begin with nxmq_ vs. mq_. The mq_ prefix is
  16991. reserved for standard application interfaces. Rename all private static
  16992. functions for use the nxmq_ vs. mq_ naming (2017-10-09).
  16993. * task: Add new cancellation point interface,
  16994. check_cancellation_point() (2017-10-09).
  16995. * STM32, STM32L4 serial changes:
  16996. - stm32: serial: add interface to get uart_dev_t by USART number,
  16997. stm32_serial_get_uart
  16998. - stm32: serial: do not stop processing input in SW flow-control mode
  16999. - stm32l4: serial: do not stop processing input in SW flow-control
  17000. mode
  17001. - stm32l4: serial: suspend serial for Stop mode
  17002. From Juha Niskanen (2017-10-09).
  17003. * Misc STM32 Fixes
  17004. - stm32_powerled.c: cosmetics
  17005. - stm32_hrtim.c: cosmetics
  17006. - stm32/Kconfig: add HRTIM configuration and add DAC external
  17007. trigger configuration
  17008. - stm32f334-disco: Add powerled example configuration. From Mateusz
  17009. Szafoni (2017-10-09).
  17010. * drivers/power: Add powerled to Kconfig. From Mateusz Szafoni
  17011. (2017-10-09).
  17012. * BCM2708: Add enough infrastructrue (more stubs) to get a clean
  17013. compilation of the Pi Zero configuration (with many undefined things at
  17014. link time). This includes several register definition header files
  17015. (some from Alan Carvalho de Assis), basic interrupt handling logic,
  17016. boot-up files, GPIO support, build and configuration logic, basic board
  17017. support at configs/pizero (2017-10-09).
  17018. * sched/mqueue: Add internal function nxmq_send() and nxmq_timedsend()
  17019. that are equivalent to mq_send() and mq_timedsend() except that they do
  17020. not create cancellation points and do to not modify the errno variable.
  17021. Change all calls to mq_send() and mq_timedsend() in the OS to calls to
  17022. nxmq_send() and nxmq_timedsend(), making appropriate changes for
  17023. differences in return values (2017-10-10).
  17024. * sched/mqueue: Add nxmq_receive() and mxmq_timedreceive() which are
  17025. functionally equivalent to the standard mq_receive and mq_timedreceive()
  17026. except that (1) they do not create cancellation points, and (2) the do
  17027. not modify the application's errno variable. Change all calls to
  17028. mq_receive() and mq_timedreceive() in the OS to calls to nxmq_receive()
  17029. and nxmq_timedreceive(), making appropriate changes for differences in
  17030. return values (2017-10-10).
  17031. * Fix a few places where there was a semicolon following the 'if'
  17032. condition, making the following logic unconditional (2017-10-10).
  17033. * The INA219 is a combined voltage and current sensor that can measure
  17034. up to 26 volts and a current that depends on an external shunt
  17035. resistor. Connection happens via i2c/smbus and the chip features a
  17036. power supply rail that is independent from the measured voltage, so it
  17037. can measure low voltages.
  17038. This commit adds a driver for this chip. Right now it measures bus
  17039. voltage and current, and does not use the internal calibrated current
  17040. reading, nor the available power measurement. From Sebastien Lorquet
  17041. (2017-10-10).
  17042. * configs/clicker2-stm32: Adds SD card, automount, and syslog file
  17043. support and fixes a few minor issues
  17044. - Moves defines for xbee from clicker2-stm32.h to stm32_xbee.h
  17045. - Adds support for uSD click boards and automount support
  17046. - Fixes minor guard clause
  17047. - Bring-up automounter before MMCSD
  17048. - MRF24J40 interrupt should only fire on falling edge.
  17049. - Adds file syslog support for logging to file on SD card
  17050. From Anthony Merlino (2017-10-11).
  17051. * Z80: Makefile fix for use with current SDCC (2017-10-11).
  17052. * fs/vfs: Change the return value of internal function fs_getfilep().
  17053. It no longer sets the errno variable but, rather, returns errors in the
  17054. same manner as other internal OS functions (2017-10-11).
  17055. * Adds OS internal functions nx_send(), ns_recv(), and nx_recvfrom()
  17056. which are functionally equivalent to send(), recv(), and recvfrom()
  17057. except that they do not set the errno variable and do not cause
  17058. cancellation points (2017-10-11).
  17059. * Adds OS internal function nx_write() which is functionally equivalent
  17060. to write() except that it does not set the errno variable and do not
  17061. cause cancellation points (2017-10-11).
  17062. * sched/task: task_exithook.c fails to link if signals are disabled
  17063. because was unconditionally trying to send the SIGCHLD signal to the
  17064. parent in certain configurations. Noted by Jeongchan Kim (2017-10-11).
  17065. * arch/arm/src/samv7: Correct an error in RX DMA setup. From Manish
  17066. Kumar Sharma (2017-10-11).
  17067. * net/socket: psock_send/psock_sendto: remove assert check for null
  17068. psock and buf input pointers. Removes check as 'psock == NULL'
  17069. altogether because that checked for later in psock_send and
  17070. psock_sendto. Change null check for 'buf' so that it is handled same as
  17071. in recvfrom.c (return -EINVAL instead of assert). From Jussi Kivilinna
  17072. (2017-10-11).
  17073. * fs/vfs: Add new internal OS interface nx_read(). nx_read() is
  17074. functionally equivalent to read() except that it does not modify the
  17075. errno variable and it is not a cancellation point. Changed all
  17076. references to read() in the OS to nx_read() (2017-10-11).
  17077. * sched/signal: Add logic to wake up a thread that is waiting on a
  17078. signal if it is canceled (2017-10-12).
  17079. * nxsig_timedwait: Add logic to suppress the wait if there is a pending
  17080. cancellation (2017-10-12).
  17081. * stm32 SPI: Add missing include required when CONFIG_SPI_CALLBACK is
  17082. enabled. From Anthony Merlino (2017-10-12).
  17083. * STM32L4 RTC fixes:
  17084. - STM32L4 RTC: init mode was never exited because nested locking in
  17085. rtc_synchwait() disabled backup domain access
  17086. - STM32L4 RTC: Use backup register magic value instead of INITS
  17087. bit. The INITS (bit 4) of RTC_ISR register cannot be used to
  17088. reliably detect backup domain reset. This is because we can operate
  17089. our device without ever initializing the year field in the RTC
  17090. calendar if our application does not care about correct date being
  17091. set. Hardware also clears the bit when RTC date is set back to year
  17092. 2000.
  17093. - STM32L4 RTC: put back the SSR race condition workaround. ST has
  17094. confirmed that the issue has not been fixed, and that it applies to
  17095. STM32L4 too (was not in errata sheets due to documentation bug) See
  17096. discussion: https://community.st.com/thread/43710-issue-with-rtc-maximum-time-resolution
  17097. - STM32F4, STM32L4, STM32F7 RTC: add more CONFIG_RTC_NALARMS > 1 to
  17098. reduce code size
  17099. - STM32L4: rename stm32l4_rtcc.c to stm32l4_rtc.c to better match
  17100. STM32F7
  17101. - STM32, STM32L4, STM32F7 RTC: stray comment and typos in
  17102. chip/stm32_rtcc.h
  17103. - STM32L4 RTC: change maximum alarm time from 24h to one month
  17104. From Juha Niskanen (2017-10-13).
  17105. * TCP Networking: When CONFIG_NET_TCP_WRITE_BUFF=y there is a situation
  17106. where a NULL pointer may be dereferenced. In this configuration, the
  17107. TCP connection's 'semi-permanent' callback, s_sndcb was nullified in
  17108. tcp_close_disconnect. However, other logic in tcp_lost_connection()
  17109. attempt to use that callback reference after it was nullifed. Fixed in
  17110. tcp_lost_connectino() by adding a NULL pointer change before the
  17111. access. This was reported by Dmitriy Linikov in Bitbucket Issue 72
  17112. (2017-10-13).
  17113. * stm32f7 BBSRAM: stm32_bbsram: avoid assert in stm32_bbsram_savepanic.
  17114. If panic happens before stm32_bbsram is initialized,
  17115. stm32_bbsram_savepanic caused additional assert panic. Function has null
  17116. pointer check, so drop DEBUGASSERT. From Jussi Kivilinna (2017-10-13).
  17117. * FS FAT: Fix hard-fault when listing contents of FAT root. From Jussi
  17118. Kivilinna (2017-10-13).
  17119. * configs/stm32f4discovery: Add a USB MSC configuration. From Alan
  17120. Carvalho de Assis (2017-10-13).
  17121. * 6LoWPAN: Correct a bug in handling uncompressed frames (IPv6
  17122. dispatch) (2017-10-13).
  17123. * 6LoWPAN: Fix a whole in the logic of the previous commit. It turns
  17124. out that g_uncomp_hdrlen has other usages so it cannot be modified as I
  17125. was doing. Instead, I needed to add a separate localt variable,
  17126. protosize, to keep track of the two usages of g_uncomp_hdrlen
  17127. (2017-10-13).
  17128. * configs/: The nx and nxtext examples no longer supports single user
  17129. mode (2017-10-14).
  17130. * The lcdrw example has been removed because it violates the portable OS
  17131. interface (2017-10-14).
  17132. * All configurations that use NXIMAGE or NXHELLO must select
  17133. NX_MULTIUSER. All configurations that use examples/nxterm must enable
  17134. CONFIG_LIB_BOARDCTL (2017-10-14).
  17135. * configs/stm32f103-minimum: Add support for LM75 in the
  17136. stm32f103-minimum board. From Alan Carvalho de Assis (2017-10-14).
  17137. * configs/: All configurations that use NXLINES must select
  17138. NX_MULTIUSER. All configurations that use the NX server need to have
  17139. larger POSIX messages (2017-10-14).
  17140. * boardctl(): Remove the BOARDIOC_GRAPHICS_SETUP command (2017-10-15).
  17141. * Initial ADC support for the STM32F33XX
  17142. - stm32_adc.h: add JEXTSEL definitions and hrtim trigger configuration
  17143. - stm32_adc.c: move STM32F33 ADC logic to a separate file
  17144. From Mateusz Szafoni (2017-10-15).
  17145. * configs/sim: Update touchscreen driver initialization to use only
  17146. multiple-user NX server logic (2017-10-15).
  17147. * configs/sim: Convert the traveler configuration so that it uses the
  17148. framebuffer driver (2017-10-16).
  17149. * task_delete(): Do not permit user applications to delete kernel
  17150. threads (2017-10-16).
  17151. * kthread_create(): Rename kernel_thread() to kthread_create() for
  17152. better naming consistency with task_create() and kthread_delete()
  17153. (2017-10-16).
  17154. * All other STM32: SHIFTR_SUBFS_MASK was correct in STM32F0 only
  17155. - STM32L1: use correct EXTI line definitions (2017-10-17).
  17156. * STM32 RTC fixes:
  17157. - RTC: canceling an alarm marks it as inactive
  17158. - STM32L4, STM32F4, STM32F7 RTC: fix reading alarm value that is
  17159. more than 24h in future
  17160. - STM32F0 RTC: fix backup register count in stm32_rtcc.h
  17161. From Juha Niskanen (2017-10-17)
  17162. * BCM2708: Add system timer register definitions and a partial
  17163. implementation of the tickless mode timer (2017-10-17).
  17164. * BCM2708: Add support for AUX interrupts. Add some build configuration
  17165. and support logic for low-level serial output (2017-10-17).
  17166. * drivers/usbdev: Correct input flow control logic when watermarks are
  17167. not enabled. Problem noedt by and change based on suggestion by Juha
  17168. Niskanen (2017-10-18).
  17169. * BCM2708: Add hooks to support both Mini- and PL011 UARTs (2017-10-18).
  17170. * BCM2708: Fleshes out GPIO interrupt logic (2017-10-18).
  17171. * fs/vfs: Fix after recent changes. write() was return negative values
  17172. in errno. Noted by Jussi Kivilinna (2017-10-18).
  17173. * drivers/usbdev: Move test for NULL pointer before the pointer is
  17174. deferences. Noted by Juha Niskanen (2017-10-18).
  17175. * net/: Fix some build issues noted when both IPv4 and IPv6 are
  17176. enabled. From Anthony Merlino (2017-10-18).
  17177. * photon: Support SPI1 and SPI3. From Anthony Merlino (2017-10-18).
  17178. * BCM2708: Allow pass parameters with AUX interrupts; Add mini-UART
  17179. break capability. BCM2708: Add Mini-UART logic. Still missing UART
  17180. configuration logic (2017-10-18).
  17181. * Alexey T, Bitbuck Issue 73: Lower part of STM32 CAN driver
  17182. arch/arm/src/stm32/stm32_can.c uses all three hw tx mailboxes and clears
  17183. TXFP bit in the CAN_MCR register (it means transmission order is defined
  17184. by identifier and mailbox number).
  17185. This creates situation when order frames are put in upper part of CAN
  17186. driver (via can_write) and order frames are sent on bus can be
  17187. different (and I experience this in wild). Since CAN driver API
  17188. pretends to be "file like" I expect data to be read from fd the same
  17189. order it is written. So I consider described behaviour to be a bug.
  17190. I propose either to set TXFP bit in the CAN_MCR register (FIFO
  17191. transmit order) or to use only one mailbox (2017-10-19).
  17192. * The timer frequencies (BOARD_TIMx_FREQUENCY) are incorrectly defined
  17193. in configs/stm3240g-eval/include/board.h. Since the APB prescalers are
  17194. set to divide by 4 and 2 respectively, the frequencies should be
  17195. "2xAPBx" as said in the comment.  The correct frequencies are already
  17196. defined but as STM32_APBx_TIMx_CLKIN. From Mattias Edlund (2017-10-19).
  17197. * drivers/ioexpander: The IRQ subsystem now supports passing a void *
  17198. parameter to IRQ handlers. Use that method to support multiple pc9555
  17199. devices, by passing a pointer to the device to the board defined irq
  17200. handler. Now the CONFIG_ for multiple PCA devices just allocates device
  17201. structures dynamically instead of statically when not enabled.
  17202. The same interrupt handler is entered with the device structure
  17203. parameter in all situations, multiple or single PCA. One should still
  17204. be careful if multiple PCA devices share the same IRQ. From Sebastien
  17205. Lorquet (2017-10-19).
  17206. * libc/match: Use of exp() vs expf() in logf() caused function to be
  17207. slow. From Alan Carvalho de Assis (2017-10-19).
  17208. * drivrs/mtd/filemtd.c: add block device MTD interface. Block MTD
  17209. interface allows using block device directly as MTD instead of having to
  17210. use file-system in between. NOTE that this provides the opposite
  17211. capability of FTL which will let you use an MTD interface directly as a
  17212. block device. From Jussi Kivilinna (2017-10-19).
  17213. * There was a reference counting problem in the TPC logic of
  17214. net_clone(). net_clone() which is the common logic underlying dup() and
  17215. dup2() for sockets. When net_clone() calls net_start_monitor() and
  17216. net_start_monitor() returns a failure (because the underlying TCP
  17217. connection) then net_clone() must back out the reference count on the
  17218. structure. Problem noted by Pascal Speck and this implementation of the
  17219. solution is based on his suggestion (2017-10-19).
  17220. * There was a possible recursion that could eventually overflow the
  17221. stack. The error occurred when closing the socket with inet_close()
  17222. while a socket callback was still queued. When the socket callback was
  17223. executed by devif_conn_event(), this resulted in a call to
  17224. psock_send_eventhandler() with TCP_CLOSE flag set which then called
  17225. tcp_lost_connection(). tcp_shutdown_monitor() then called
  17226. tcp_callback() again, which again called psock_send_eventhandler(), and
  17227. so on.... Noted by Pascal Speck. Solution is also similar to a
  17228. solution proposed by Pascal Speck (2017-10-19).
  17229. * nucleo-f334r8/adc: change serial console to USART2 (STLINK COM). From
  17230. Mateusz Szafoni (2017-10-19).
  17231. * stm32f33xxx_adc.c: fix some warnings and compilation error when extsel
  17232. not in use. From Mateusz Szafoni (2017-10-19).
  17233. * net/tcp: Same change to tcp_send_buffered.c probably also applies to
  17234. tcp_send_unbuffered.c (2017-10-19).
  17235. * net/tcp: Same change to tcp_send_buffered.c probably also applies to
  17236. tcp_sendfile.c (2017-10-19).
  17237. * tcp_lost_connection() is called from two places in tcp_sendfile.c
  17238. (2017-10-19).
  17239. * net/tcp: Same change to tcp_send_buffered.c probably also applies to
  17240. sixlowpan_tcpsend.c and inet_recvfrom.c (2017-10-19).
  17241. * drivers/sensor: Add driver for the APDS-9960 gesture sensor. From
  17242. Alan Carvalho de Assis (2017-10-20).
  17243. * include/nuttx/sensors/ioctl: deduplicate SNIOC_CFGR. From Jussi
  17244. Kivilinna (2017-10-20).
  17245. * drivers/sensors/hts221: power-on sensor for loading calibration data.
  17246. From Jussi Kivilinna (2017-10-20).
  17247. * arch/arm/src/stm32f7/i2c: fix I2C_M_NORESTART handling. From Jussi
  17248. Kivilinna (2017-10-20).
  17249. * drivers/sensors/apds9960.c: Use work_queue to read/process data when
  17250. receive an IRQ. From Alan Carvalho de Assis (2017-10-20).
  17251. * STM32L1, STM32L4 RTC: add periodic interrupts, update L1 RTC
  17252. implementation
  17253. - STM32L4 RTC: add support experimental CONFIG_RTC_PERIODIC
  17254. - STM32 RTC: separate STM32L1 RTC into a separate file
  17255. STM32L1 RTC is very close to F4 or L4 versions, with two alarms and
  17256. periodic wakeup support so backported L4 peripheral to L1.
  17257. - RTC: Add periodic alarms to upper and lower halves
  17258. From Juha Niskanen (2017-10-20).
  17259. * stm32_adc.c: clear pending interrupts. From Mateusz Szafoni
  17260. (2017-10-20).
  17261. * drivers/bch: The character driver to block device access now supports
  17262. an IOCTL to get the geomtry of the underlying block device (2017-10-20).
  17263. * fs/fat: Remove mkfatfs from the OS. This is a user-space application
  17264. and belongs in apps, not in the OS (2017-10-20).
  17265. * configs/nucleo-f334r8: add logic for zero latency high priority
  17266. interrupts example. From Mateusz Szafoni (2017-10-22).
  17267. * Misc STM32 chagnes
  17268. - STM32 HRTIM: Fix warnings related with RCC
  17269. - STM32F33xxx ADC: Add some publicly visable interfaces and some
  17270. code to support injected channels
  17271. - STM32F33xxx DMA: Add public interface to handle with DMA interrupts
  17272. From Mateusz Szafoni (2017-10-22).
  17273. * stm32f103-minimum: Add an ADPS-9960 example configuration. From Alan
  17274. Carvalho de Assis (2017-10-23).
  17275. * net/icmp: This change adds support for semi-standard IPPROTO_ICMP
  17276. AF_INET datagram sockets. This replaces the old ad hoc, nonstandard way
  17277. of implementing ping with a more standard, socket interface (2017-10-23).
  17278. * net/inet: Add check for protocol before handing out TCP and UDP
  17279. sockets (2017-10-23).
  17280. * arch/arm/common/up_checkstack: fix assert panic when both TLS and
  17281. interrupt stack are enable. From Jussi Kivilinna (2017-10-23).
  17282. * net/icmp: Correct some comments, typings, spacing problems from last
  17283. big ICMP socket change (2017-10-23).
  17284. * configs/: All defconfig filess that include
  17285. CONFIG_NET_ICMPv6_SOCKET=y need to select CONFIG_SYSTEM_PING6=y and
  17286. deselect CONFIG_DISABLE_POLL (2017-10-24).
  17287. * net/icmpv6: This commit adds support for semi-standard IPPROTO_ICMP6
  17288. sockets. This is a replacement for the non-standard ICMPv6 ping support
  17289. that violated the portable POSIX OS interface (2017-10-24).
  17290. * mm/mm-heap: memalign: fix heap corruption caused by using unaligned
  17291. chuck size. Unaligned nodes generated by memalign later cause heap
  17292. corruptions when nodes are shrink further (for example, 24 bytes -> 8
  17293. bytes, when alignment is 16 bytes). From Jussi Kivilinna (2017-10-24).
  17294. * lm3s8962: NX configuration needs CONFIG_NXSTART_EXTERNINIT=y
  17295. (2017-10-24).
  17296. * sched/: move POSIX thread specific data from pthread TCB to common
  17297. TCB structure. This change allows using
  17298. pthread_getspecific/pthread_setspecific from main thread. Patch also
  17299. enables using pthread data with config option CONFIG_DISABLE_PTHREAD=y.
  17300. From Jussi Kivilinna (2017-10-25).
  17301. * net/local: fix typo in config macro name. From Juha Niskanen
  17302. (2017-10-25).
  17303. * Olimex stm32-h407 serial support for the on-board UEXT connector
  17304. (fixed style & defconfig). Add USART6 for UEXT connector. Add
  17305. nsh_uext configuration and README update. From Jan Pobříslo (2017-10-26).
  17306. * configs/nucleo-l496zg/nsh: enable I2C4 bus with i2ctool. From Jussi
  17307. Kivilinna (2017-10-26).
  17308. * arch/arm/stm32f7: i2c: restore bus frequency after I2C reset. Copy
  17309. frequency restoration fix from STM32L4 I2C driver to STM32F7 I2C
  17310. driver. From Jussi Kivilinna (2017-10-26).
  17311. * arch/stm32l4: port STM32F7 I2C driver to STM32L4. STM32L4 I2C driver
  17312. is in work-in-progress state (plentiful of TODOs and #warnings) and lags
  17313. many features found in more up-to-date STM32 I2C drivers. The peripheral
  17314. on STM32F7 and STM32L4 are identical except for L4's 'wakeup from stop
  17315. mode' flag and STM32F7's I2C driver is in more 'ready to use' state.
  17316. Commit ports the STM32F7 I2C driver to STM32L4. The I2C clock
  17317. configuration is kept the same as before (I2CCLK = PCLK1 80 Mhz)
  17318. instead of switching to STM32F7 arch default that is I2CCLK=HSI.
  17319. Further work would be to add configuration option for choosing I2C
  17320. clock source instead of current hard-coded default. From Jussi
  17321. Kivilinna (2017-10-26).
  17322. * drivers/sensors/lis2dh: fixes for self-test. From Jussi Kivilinna
  17323. (2017-10-26).
  17324. * include/nuttx/fs/: Move prototype of foreach_mountpoint out of
  17325. include/nuttx/fs/fs.h to fs/mount/mount.h (2017-10-26).
  17326. * fs/mount: Implements procfs /proc/fs/blocks and /proc/fs/usage files,
  17327. replacing the NSH df command. Also implements procfs /proc/fs/mount
  17328. file, replacing the NSH mount command when there are no arguments
  17329. (2017-10-26).
  17330. * Correct a problem that was causing an apparent directory to be
  17331. reported as a file instead of a directory by opendir. This happened
  17332. after adding these three new procfs entries: fs/block, fs/mount, and
  17333. fs/usage. Of course, there is no directory fs in this case, only three
  17334. files that have fs/ in their relative pathnames. The logic was
  17335. detecting that fs was the name of the enty to report, but it was then
  17336. declaring that fs was a file (because fs/block is of type file). This
  17337. was fixed by adding a check for matching lenghts. i.e., if strlen(fs)
  17338. != strlen(fs/block), then report fs as a directory instead of a file
  17339. (2017-10-26).
  17340. * fs/procfs: Missing some conditional logic for cases where mountpoint
  17341. procfd entries excluded (2017-10-27).
  17342. * drivers/can/mcp2515.c: Fix the MCP2515 Bit Rate Prescale
  17343. calculation. Fix BRP for SET_BITTIMING ioctl as well. From Alan
  17344. Carvalho de Assis (2017-10-27).
  17345. * sensors/lis2dh: Fix use of obsolete dbg macro. From Jussi Kivilinna
  17346. (2017-10-27).
  17347. * nucleo-f334r8: Add highpri example configuration. From Mateusz
  17348. Szafoni (2017-10-28).
  17349. * STM32 F33xx: Add ADC DMA support to STM32F33 configuration. From
  17350. Mateusz Szafoni (2017-10-28).
  17351. * drivers/net: Remove the old, unfinished Crystal LAN driver. I don't
  17352. even have the hardware that it goes with anymore (2017-10-28).
  17353. * configs/mx1ads: This commit removes board support for the mx1ads
  17354. board. That board support was never completed and I no longer even have
  17355. the hardware. The unfinished board support is still available in the
  17356. Obsoleted repository if anyone would ever like to resurrect it
  17357. (2017-10-28).
  17358. * STM32 ADC: Added support for ADC's IO_ENABLE_TEMPER_VOLT_CH ioctl on
  17359. STM32F10XX and STM32F20XX. From Dmitriy Linikov (2017-10-30).
  17360. * STM32 F2: Fixed build for STM32F20XX platforms when
  17361. CONFIG_STM32_DMACAPABLE is enabled. From Dmitriy Linikov (2017-10-30).
  17362. * fs/userfs: This completes coding of the UserFS client and of the
  17363. UserFS feature in general. This feature is being merged to main now
  17364. because I believe it is innocuous. It is, however, untesed. The next
  17365. step will be to develop a test case to verify the feature. Uses Unix
  17366. domain local sockets instead of message queues. Easier to transfer big
  17367. data in local sockets than message queues (2017-10-30).
  17368. * Fix DEBUGASSERT() issues with nxhello on lc823450-xgevk
  17369. - sched/task: Remove DEBUGASSERT in task_exitstatus() and
  17370. task_groupexit()
  17371. - graphics: Change DEBUGASSERT condition in nx_runinstance()
  17372. From Masayuki Ishikawa (2017-10-31).
  17373. * Fix GPIO operation of STMPE811 driver.
  17374. 1. STMPE811_GPIO_DIR was defined for register name and later was
  17375. redefined to be the pin direction mask for `stmpe811_gpioconfig`. I
  17376. decided to change register name to be STMPE811_GPIO_DIR_REG, and keep
  17377. pin direction mask STMPE811_GPIO_DIR, so that any external code that
  17378. already use this driver will be unchanged.
  17379. 2. The STMPE811 register GPIO_DIR uses bit value 1 for output and 0
  17380. for input, but `stmpe811_gpioconfig` set the opposite.
  17381. 3. The call to `stmpe811_gpiowrite` from inside of
  17382. `stmpe811_gpioconfig` leaded to deadlock.
  17383. From Dmitriy Linikov (2017-10-31).
  17384. * sim/userfs: Add a configuration for testing the UserFS using
  17385. apps/examples/userfs (2017-10-31).
  17386. * Fixes a memory leak that is caused because the client message queue is
  17387. not unlinked after the client disconnects from the NX server. From
  17388. Masayuki Ishikawa (2017-10-31).
  17389. * drivers/wireless/ieee80211: Fix typos and spelling errors as needed
  17390. for Photon build. From Anthony Merlino (2017-11-01).
  17391. * net/icmpv6: Add some header file necessary for correct build. From
  17392. Anthony Merlinoo (2017-11-01).
  17393. * libc/userfs: Correct return value from dispatchers. Should return
  17394. zero on success, not the number of bytes sent (2017-11-01).
  17395. * net/ipforward: Fixes typo that caused build error when IP forwarding
  17396. was enabled with CONFIG_NET_ICMPv6_NEIGHBOR enabled as well. From
  17397. Anthony Merlino (2017-11-01).
  17398. * ieee802154: Simplifies notify() and rxframe() calls to a single
  17399. notify() call. dataind's and all other "notifs" are now "primitives"
  17400. which aligns with standard terminology From Anthony Merlino (2017-11-01).
  17401. * fs/userfs: Correct check for response type (2017-11-01).
  17402. * net/local: This commit modifies the Unix domain local socket design.
  17403. Local sockets are built on top of pipes. The Local socket
  17404. implementation maintained file descriptors to interrupt with the pipes.
  17405. File descriptors have the bad property that they are valid only while
  17406. running on the thread within the task that created the local socket.
  17407. As a policy, all internal OS implementations must use "detached" files
  17408. which are valid in any context and do not depend on the validity of a
  17409. file descriptor at any point in time. This commit converts the usage
  17410. of file descriptors to detached files throughout the local socket
  17411. implementation (2017-11-02).
  17412. * fs/userfs: There are some deadlock issues that make the UserFS
  17413. un-usable at the current time. Added to the TODO list; also feature is
  17414. now marked EXPERIMENTAL (2017-11-02).
  17415. * drivers/serial/serial.c: Optimize wait time in tcdram() for buffer
  17416. emptying. According to the specification, the close function must wait
  17417. until all data has been written before it closes the file (except
  17418. O_NONBLOCK is set). The maximum waiting time for this is not specified.
  17419. To be able to edit the file list of the process, the close function
  17420. has to lock the file list semaphore. After that the close function of
  17421. the serial driver is called.
  17422. Waiting for the complete transmission of all data is done in the
  17423. serial driver. This causes the semaphore to remain locked until all
  17424. data has been sent. However, no other thread of the process can edit
  17425. the file list for that time (open, close, dup2, etc.). This is not
  17426. optimal in a multithreaded environment. Therefore, we have to keep
  17427. the waiting time within the driver as short as possible. From Frank
  17428. Benkert (2017-11-02).
  17429. * drivers/loop: Don't use file descriptors... Use the internal file
  17430. system interfaces so that the loop device can be shared across threads
  17431. (2017-11-02).
  17432. * drivers/mtd/filemtd.c: Don't use file descriptors... Use the internal
  17433. file system interfaces so that the loop device can be shared across
  17434. threads (2017-11-02).
  17435. * mac802154: Fixes a warning for unused variable and returns -1 from
  17436. macnet_notify() if event is not used. From Anthony Merlino (2017-11-03).
  17437. * drivers/lcd/max7219.c: Add support to MAX7219 LED Matrix as LCD
  17438. interface. From Alan Carvalho de Assis (2017-11-04).
  17439. * configs/stm32f103-minimum: Add board support for MAX7219 LED Matrix
  17440. controller. From Alan Carvalho de Assis (2017-11-04).
  17441. * stm32f334-disco, nucleo-f334r8: add missing ram_vectors configuration
  17442. in linker script. From Mateusz Szafoni (2017-11-04).
  17443. * Kconfigs: Add CONFIG_LCD_UPDATE that works like CONFIG_NX_UPDATE but
  17444. can be enabled without enabling the graphics subsystem (2017-11-04).
  17445. * SAMv71-XULT: Remove non-functional framebuffer configuration
  17446. (2017-11-05).
  17447. * stm32f103-minimum: Remove warning when selecting MMCSD support, Add
  17448. board_usbmsc_initialize to stm32f103-minimum. From Alan Carvalho de
  17449. Assis (2017-11-05).
  17450. * nucleo-f334r8/highpri: missing ADC trigger configuration. From
  17451. Mateusz Szafoni (2017-11-05).
  17452. * stm32f334-Disco: beginning of lower-half driver for SMPS (buck-boost
  17453. onboard converter). From Mateusz Szafoni
  17454. * Misc. STM32 Fixes:
  17455. - STM32 HRTIM: add helper macros
  17456. - STM32F33xxx ADC: injected channels support, fix some definitions,
  17457. add interface to disable interrupts
  17458. From Mateusz Szafoni (2017-11-05).
  17459. * fs/userfs: This commit converts the underlying IPC used by the
  17460. UserFS from Unix domain local sockets to UDP LocalHost loopback
  17461. sockets. The problem with the local sockets is that they do require
  17462. operations on the top level pseudo-file system inode tree. That tree
  17463. must be locked during certain traversals such as enumerate mountpoints
  17464. or enumerating directory entries.
  17465. This conversion is unfortunate in the sense that Unix local domain
  17466. sockets are relatively lightweight. LocalHost UDP sockets are much
  17467. heavier weight since they rely on the full UDP stack. If anyone is
  17468. up for a complete redesign, then using some shared memory and a POSIX
  17469. message queue would be lightweight again.
  17470. This commit also fixes several bugs that were not testable before the
  17471. inode tree deadlock. I cannot say that the logic is 100% stable but
  17472. it does not have basic functionality (2017-11-05).
  17473. * fs/userfs: Fix return value from dup method. In order to return a
  17474. pointer, the parameter must be a pointer to a pointer (2017-11-06).
  17475. * configs/stm32f429i-disco/ltdc: This configuration has been deleted
  17476. because it violated the portable POSIX OS interface. It used
  17477. apps/examples/ltdc and include ltdc.h and dma2d.h which were also
  17478. removed for the same reason (2017-11-06).
  17479. * arch/arm/include/stm32 and stm32f7: Remove ltdc.h and dma2d.h.
  17480. Those header files in that location permitted inclusion into
  17481. application space logic and, hence, facilitated and encouraged calling
  17482. into the OS and violating the portable POSIX OS interface. The
  17483. definitions in those header files were move the appropriate location in
  17484. the counterpart, architecture specific files at arch/arm/src/stm32 and
  17485. stm32f7 dma2d.h and ltdc.h (2017-11-06).
  17486. * lpc43xx Ethernet: Fix some backward logic setting full-duplex and
  17487. 100mbps when autoconfiguration is disabled. Noted by Anonymous in
  17488. Issue #76 (2017-11-06).
  17489. * sched/sched/sched_cpuselect.c: For SMP, In order to find the cpu
  17490. with the lowest priority thread, we have to remember the already found
  17491. lowest priority. Noted by Anonymous in Issue #75 (2017-11-06).
  17492. * Add IPL2 support for LC823450
  17493. - arch/arm/src/lc823450: Add IPL2 support
  17494. - configs/lc823450-xgevk: Add IPL2 support
  17495. From Masayuki Ishikawa (2017-11-07).
  17496. * drivers/audio: Add WM8774 support. From Masayuki Ishikawa
  17497. (2017-11-08).
  17498. * lc823450-xgevk audio support
  17499. - arch/arm/src/lc823450: Add IPL2 support
  17500. - configs/lc823450-xgevk: Add IPL2 support
  17501. - libc/audio: Fix compilation error in lib_buffer.c
  17502. - arch/arm/src/lc823450: Add I2S support
  17503. - configs/lc823450-xgevk: Add WM8774 support
  17504. From Masayuki Ishikawa (2017-11-08).
  17505. * drivers/usbdev/rndis.c: fix packet receiving logic. The logic didn't
  17506. take single-byte termination frames in account. From Sakari Kapanen
  17507. (2017-11-08).
  17508. * net/icmpv6/icmpv6_radvertise.c: Add option to manually specify router
  17509. prefix. From Sakari Kapanen (2017-11-08).
  17510. * net/icmpv6/icmpv6_radvertise.c: set the prefix length to
  17511. preconfigured value (2017-11-08).
  17512. * STM32 L4 RCC: restore backup-registers after backup-domain reset.
  17513. From Jussi Kivilinna (2017-11-08).
  17514. * STM32 L4: Build stm32l4_idle.c only if CONFIG_ARCH_IDLE_CUSTOM is
  17515. not enabled. From Jussi Kivilinna (2017-11-08).
  17516. * drivers/power/bq2429x.c: Add BATIO_OPRTN_SYSON for enabling BATFET
  17517. after SYSOFF. From Jussi Kivilinna (2017-11-08).
  17518. * lc823450 auto LED support
  17519. - arch/arm/src/lc823450: Add auto LED for CPU activity
  17520. - configs/lc823450-xgevk: Add auto LED support
  17521. From Masayuki Ishikawa (2017-11-09).
  17522. * tools/configure.sh: This commit adds a -m option for macOS. For
  17523. anyone not aware, Apple renamed OSX to macOS recently; thus the 'm'
  17524. instead of 'o'. This does not change the other uses of *_OSX to macOS.
  17525. From jeditekunum (2017-11-09).
  17526. * tools/configure.c: Update functionality to match last change to
  17527. tools/configure.sh (2017-11-10).
  17528. * STM32L4 serial PM interface improvements: Check rx/tx buffers for
  17529. pending data in pmprepare. Remove adhoc PM interfaces and move serial
  17530. suspend functionality behind CONFIG_PM. From Jussi Kivilinna
  17531. (2017-11-10).
  17532. * procfs: Fix uptime being clse to maximum 32-bit value in certain
  17533. config. From Juha Niskanen (2017-11-10).
  17534. * libc: Add support for readv() and write(). Also includes some
  17535. cosmetic changes to some unrelated files (2017-11-11).
  17536. * libc/signal: Add support for sigwait() (2017-11-11).
  17537. * sched/signal/sig_nanosleep.c and libc/time/lib_nanosleep.c:
  17538. Implement clock_nanosleep(). nanosleep() is now reduced to a libc
  17539. wrapper around clock_nanosleep() (2017-11-11).
  17540. * Changes from review of clock_nanosleep(): Misplaced right bracket,
  17541. but return value in one failure case (2017-11-11).
  17542. * include/netinet/tcp.h: Add trivial standard tcp.h header file
  17543. (2017-11-12).
  17544. * Trivial re-ordering of socket option bit numbers to match order
  17545. presented on OpenGroup.org (2017-11-12).
  17546. * arch/arm/src/stm32/stm32f33xx_adc.c: Eliminate warnings about
  17547. cj_channels and j_chanlist being set but not used (2017-11-12).
  17548. * configs/stm32l476-mdk: Add support for the on-board LEDs (2017-11-12).
  17549. * include/netinet/tcp.h: Add trivial standard tcp.h header file
  17550. (2017-11-12).
  17551. * configs/stm32l476-mdk: Repartition bring-up logic so that it is more
  17552. like other board directories. Add support for USERLED driver. Add
  17553. bring-up initialization logic for the USERLED driver (2017-11-12).
  17554. * drivers/usbdev/rndis.c: Fix some issues in rndis.c Introduce
  17555. rndis_transmit() and change rndis_rxdispatch() to avoid packet
  17556. corruption. Introduce max packet size for dual speed whichis mainly
  17557. used for high speed mode. Fix adjusting MTU warning on Linux host. Fix
  17558. data corruption if a packet size excceds MTU. NOTE: Max packet size is
  17559. not configured dynamically. This should be fixed in the future
  17560. version. Change HPWORK to ETHWORK. NOTE: In the commit 07b98ccbb5,
  17561. max packet size of bulkout was assumed to be 64. In this commit,
  17562. priv->epbulkout->maxpacket is used instead. From Masayuki Ishikawa
  17563. (2017-11-13).
  17564. * configs/stm32f4discovery: RNDIS support on STM32F4Discovery
  17565. - Add rndis configuration. NOTE: STM32F4Discovery + DM-STF4BB
  17566. - Add stm32_netinit.c to avoid a compilation error
  17567. - Add rndis initialization in stm32_bringup.c
  17568. NOTE: MAC address for the host side starts 0xaa. This assignment
  17569. scheme should be fixed later. From Masayuki Ishikawa (2017-11-13).
  17570. * configs/: apps/system/free has been deleted because it violates the
  17571. portable POSIX OS interface. Remove CONFIG_SYSTEM_FREE=y from all
  17572. defconfig files (2017-11-13).
  17573. * fs/procfs/fs_procfsprogrem: Add /proc/progmem. This is an
  17574. alternative way to get the information that was previoulsy available in
  17575. apps/system/free. apps/system/free was removed beause it made illegal
  17576. calls into the OS violating the portable interface. This new procfs
  17577. entry provides the same information with no such violation (2017-11-13).
  17578. * Nucleo-F746ZG: Use the serial console over /dev/ttyACM0 by default.
  17579. The Nucleo-F746ZG doesn't come with Arduio RS-232 shield, then it is
  17580. better to use the serial over the /dev/ttyACM0 that is created
  17581. automatically when the board is plugged in the computer. From Alan
  17582. Carvalho de Assis (2017-11-13).
  17583. * SAMA5/SAMv7: It is necessary to disable pre-emption and interrupts
  17584. around a loop that copies TX data into the hardware in order to avoid a
  17585. TX data underrun condition. From Anthony Merlino (2017-11-13).
  17586. * fs/profcs: Add file to show user space heap. This replaces the NSH
  17587. free command (2017-11-13).
  17588. * fs/procfs: Optimization of previous commits. /proc/umm and
  17589. proc/progmem are deleted. /proc/kmm is renamed /proc/meminfo and
  17590. contains the output that was in all three files previously (2017-11-13).
  17591. * configs/stm32f439i-disco: Add an fb configuration (2017-11-13).
  17592. * configs/stm32f429i-disco/fb: Fix a compile issue. Disable all NX
  17593. features in the fb configuration. NX is not needed (2017-11-13).
  17594. * configs/stm32f429i-disco/fb: Refactor initialization logic so that
  17595. it is a little more like other boards. Remove double initialization of
  17596. framebuffer or LCD drivers (whichever is enabled) (2017-11-13).
  17597. * configs/stm32f429i-disco: Add logic to auto-mount procfs. Enable
  17598. procfs in all configurations that use NSH (2017-11-13).
  17599. * configs/stm32f429-disco/fb: Enable support for the STMPE811
  17600. touchscreen controller and also for the apps/exmaples/touchscreen test
  17601. (2017-11-14).
  17602. * Remove CONFIG_GRAN_SINGLE. It adds no technical benefit (other than
  17603. some minor reduction in the number of interface arguments) but adds a
  17604. lot of code complexity. Better without it (2017-11-14).
  17605. * mm/mm_gran: Add a function to get information about the state of the
  17606. granuale allocator (2017-11-14).
  17607. * fs/procfs: Add logic to show the state of the page allocator in
  17608. /proc/meminfo (2017-11-14).
  17609. * mm/mm_gran: Fix some issues found during test of the new gran_info()
  17610. interface (2017-11-14).
  17611. * configs/stm32429i-disco/src: Fix a compile error when
  17612. CONFIG_BOARD_INITIALIZE is defined (2017-11-14).
  17613. * configs/lc823450-xgevk: Fix compilation errors on Cygwin. From
  17614. Masayuki Ishikawa (2017-11-15).
  17615. * mm/mm_gran: Combine some common logic into a function (also fixes a
  17616. subtle bug) (2017-11-15).
  17617. * Build system: Fix CONFIG_BUILD_KERNEL logic directories that have
  17618. ubin and kbin subdirectories. Conditional logic was fine for
  17619. CONFIG_BUILD_FLAT and CONFIG_BUILD_PROTECTED but generated useless
  17620. dependencies if CONFIG_BUILD_KERNEL (2017-11-15).
  17621. * arch/arm/src/lpc43: Add LPC43xx CAN driver. From Alexander Vasiljev
  17622. (2017-11-15).
  17623. * arch/arm/src/lpc43: UART_RX pins should be configured with input
  17624. buffers enabled. Otherwise it cannot be read. From Alexander Vasiljev
  17625. (2017-11-15).
  17626. * STM32F429i-Disco: Convert NxWM configuration to use LTDC framebuffer
  17627. driver instead of SPI serial. Also reduce number of layers from 4 to 1
  17628. in fb configuration. Only one layer is used (2017-11-15).
  17629. * configs/stm32f429i-disco/ide: Remove the uVision IDE setup that goes
  17630. along with the ltdc configuration that was removed on 2017-10-28
  17631. (2017-11-16).
  17632. * configs/stm3220g-eval/ide: Remove the uVision IDE setup. This has
  17633. not been used for years and it a maintenance problem for me (2017-11-16).
  17634. * arch/arm/src/xmc4: Fix XMC4xxx USIC UART sginal to be high level when
  17635. in idle. From Alan Carvalho de Assis (2017-11-16).
  17636. * arch/arm/src/xmc4: Kconfig was not selecting XMC4_USIC for USIC1.
  17637. From Alan Carvalho de Assis (2017-11-16).
  17638. * configs/xmc4500-relax: Add config for UART3 on RXD P0.0 and TXD P0.1
  17639. pins. From Alan Carvalho de Assis (2017-11-16).
  17640. * STM32 F72xx and F73xx: Add register definition header files and
  17641. clocking logic. From Bob Feretich (2017-11-17).
  17642. * STM32F7: Fix typos in two RCC register definition header files.
  17643. From Bob Feretich (2017-11-17).
  17644. * STM32F7: Completes architecture support for the STM32 F72x and F73x
  17645. families. Adds support for the Nucleo-144 boards with STM32F722. From
  17646. Bob Feretich (2017-11-18).
  17647. * configs/sim: Disable NX graphics support in the fb configuration.
  17648. * libnx: Changes to allow the font subsystem to be built without
  17649. enabling the entire graphics system (CONFIG_NX). Adds CONFIG_NXFONTS
  17650. and CONFIG_NXGLIB. NX and NXFONTS are still pretty heavily entangled.
  17651. Needed to duplicate some Kconfig setting for NXFONTs if it can be
  17652. configured and built independently of NX. Also includes some
  17653. build-related fixes (2017-11-18).
  17654. * configs/mcb1700: Add support for Keil MCB1700 board. From Alan
  17655. Carvalho de Assis (2017-11-18).
  17656. * configs/open1788/pdcurses: Add a configuration for testing pdcurses
  17657. (2017-11-19).
  17658. * C library: Fix sscanf character conversion (%c): do not add '\0' at
  17659. the end as for strings, cause, for example, parsing one character will
  17660. fill two bytes: character itself and zero one '\0' after it, so will
  17661. overflow one byte variable argument and corrupt memory for variables
  17662. allocated after it. From Oleg Evseev (2017-11-19).
  17663. * arch/arm/src/xmc4:xmc4_uart_configure() expects the channel# not
  17664. uartbase as an input parameter. From Alan Carvalho de Assis
  17665. (2017-11-20).
  17666. * configs/open1788: Add support for the discrete joystick driver.
  17667. Update the pdcurses configuration to use apps/examples/djoystick
  17668. (2017-11-20).
  17669. * net/icmpv6: icmpv6_input() needs to set d_len to 0 after consuming
  17670. echo reply, otherwise, garbage will get sent out. From Anthony Merlino
  17671. (2017-11-20).
  17672. * configs/open1788: Enable discrete joystick input. This is
  17673. sufficient to get through all menuing that does not require text input
  17674. (2017-11-20).
  17675. * net/sixlowpan: Fix an endian-ness problem in 6LoWPAN address
  17676. decompression. From Anthony Merlino (2017-11-20).
  17677. * net/sixlowpan: The logic that extracts interface identifier from the
  17678. IP address needs to be generalized to handle cases where the address is
  17679. not a link local address. From Anthony Merlino (2017-11-20).
  17680. * arch/arm/src/xmc4 UART: Enable RX/TX status and small fixes. From
  17681. Alan Carvalho de Assis (2017-11-21).
  17682. * Various fixes for errors ound while debugging OTG on L496
  17683. - STM32, STM32 L4, and STM32 M4: USB OTGFS DMA trace output fix
  17684. - STM32: Add dump buffer feature to stm32 F4 series
  17685. - STM32 and STM32 L4: Fix bad USB OTGFS register address
  17686. - STM32 L4: Fix typo in USB OTGFS register usage
  17687. - STM32 L4: Add check in USB OTGFS driver to assure that SYSCFG is
  17688. enabled
  17689. - Nucleo-L496ZG: Make HSE on Nucleo-L496ZG default to enable USB
  17690. From Miha Vrhovnik (2017-11-21).
  17691. * Two changes for STM32F7.
  17692. 1) The first enables building with CONFIG_ARCH_IDLE_CUSTOM enabled.
  17693. 2) The second allows changing voltage output scaling setting and
  17694. prevents enabling over-drive mode for low frequencies (STM32 F74xx,
  17695. 75xx, 76xx, 77xx)
  17696. From Jussi Kivilinna (2017-11-21).
  17697. * Replicate Jussi Kivilinna's change for the newly added STM32F2xx and
  17698. F3xx family members. This change allows selecting voltage output scale
  17699. mode and enable over-drive only when needed (2017-11-21).
  17700. * mm: Add a debug assertion to check for integer overflow in malloc
  17701. (2017-11-21).
  17702. * net/icmpv6: Fix an error in the poll logic. It was assume that the
  17703. input parmeter pvconn was valid. It was not. Instead, the poll logic
  17704. must work like the sendto() and recvfrom() logic: It must keep a copy
  17705. of the conn structure in the private data (2017-11-21).
  17706. * net/icmpv6: Remove the 'list' field from struct icmpv6_conn_s. It
  17707. is not used (2017-11-21).
  17708. * net/icmp: Ports the changes in ICMPv6 of commits
  17709. 4629cf9461e5ac6f5f01ef8c9bee3ec9a60ce081 and
  17710. 74a633ea94bc308cd2eca0ec6c2be798d5794e72 to ICMP. ICMP and ICMPv6
  17711. sockets are nearly identical, bug-for-bug (2017-11-21).
  17712. * net/sixlowpan: Add htohs() in arguments to debug statements that
  17713. print IP addresses so that they are all shown in friendlier host
  17714. order. From Anthony Merlino (2017-11-21).
  17715. * stm32f33xxx_rcc: Fix CAN clock enable. From Mateusz Szafoni
  17716. (2017-11-22).
  17717. * drivers/lcd_framebuffer.c: If BPP is less then 8, then we need to
  17718. byte-align the update region (2017-11-22).
  17719. * configs/stm32f103-minimum: Add framebuffer driver initialization for
  17720. stm32f103-minimum board. From Alan Carvalho de Assis (2017-11-22).
  17721. * mm: Fix a typo in a debug assertion (2017-11-22).
  17722. * net/icmp and icmpv6: Fix some errors in debug assertions introduced
  17723. with last changes in this area. Also updates a REAME.txt file
  17724. (2017-11-22).
  17725. * net/: Fix some issues with regard to UDP broadcast handling. This
  17726. is Bitbucket Issue #77. This commit tentatively closes the issues,
  17727. subject to verification (2017-11-22).
  17728. * sixlowpan: Support sending to a router that is on-link and may be
  17729. able to forward the packet for us if the destination is not reachable
  17730. directly. From Anthony Merlino (2017-11-22).
  17731. * Pass header-payload offset to application for use when the MAC layer
  17732. is in promiscuous mode
  17733. - mac802154_device: When in promiscuous mode, the char driver sends
  17734. the entire frame, including the MAC header. This change adds an
  17735. offset field indicating the header-payload boundary. It is set to 0
  17736. when not in promiscuous mode as the header is not passed to the
  17737. application
  17738. - mac802154: Adds support for getting promiscuous mode state
  17739. From Anthony Merlino (2017-11-22).
  17740. * USB RNDIS - Fixes minor build error while using USB RNDIS with USB
  17741. debugging information enabled. From Anthony Merlino (2017-11-22).
  17742. * clicker2-stm32: Adds support for USB RNDIS device. From Anthony
  17743. Merlino (2017-11-22).
  17744. * STM32 L4 USB OTGFS: Remove dumpbuffer feature added in the last
  17745. commit. I don't want in features that cannot be controlled be via
  17746. Kconfig files and I do not accept debug code in the upstream GIT. My
  17747. mistake for merging it in the first place (2017-11-22).
  17748. * include/nuttx/video/fb.h: Add definition for a Y2 color format. I
  17749. don't know if this standard but I do have 2-bit greyscale hardware so
  17750. the definition is needed (2017-11-22).
  17751. * sixlowpan: Fixes build error introduced by recent PR when routing
  17752. table is enabled. From Anthony Merlino (2017-11-22).
  17753. * sixlowpan: Fixes build error introduced by recent PR when routing
  17754. table is enabled. From Anthony Merlino (2017-11-22).
  17755. * net/netdev: Add support for the SIOCGIFBRDADDR ioctl() command
  17756. (2017-11-22).
  17757. * include/nuttx/audio: Remove CONFIG_SCHED_WORKQUEUE check in pcm.h.
  17758. From Masayuki Ishikawa (2017-11-23).
  17759. * sched/semaphore/spinlock.c: Disable local interrupts in spin_setbit()
  17760. and spin_clrbit() in order to avoid a deadlock condition. From
  17761. Masayuki Ishikawa (2017-11-23).
  17762. * configs/stm32f4disovery: Add support for JLX12864G display on STM32F4
  17763. Discovery board. From Alan Carvalho de Assis (2017-11-23).
  17764. * configs: All NX configuration... Because of recent changes to
  17765. libnx/nxfonts, Supported bit per pixel must be separated specified for
  17766. NXFONTs too and need to match the select BPP for NX (2017-11-24).
  17767. * fs/procfs: Correct ordering of procfs entries. For consistency, use
  17768. alphabetical ordering (2017-11-24).
  17769. * configs/xmc4500-relax: Setup max. freq. 120MHz and setup pull-up to
  17770. UART RXD pin. From Alan Carvalho de Assis (2017-11-24).
  17771. * arch/arm/src/xmc4: Do not run at 144MHz unless BOARD_FCPU_144MHZ is
  17772. selected in the board.h header file. From Alan Carvalho de Assis
  17773. (2017-11-24).
  17774. * configs/xtrs: Removed the XTRS configuration This was an unverified
  17775. port of NuttX to a TRS-80 simulator. It was removed because (1) it is,
  17776. as I said, unverified as well as unsupported, and (2) the TRS-80
  17777. simulation is a sub-optimal platform. That platform includes a 16-bit
  17778. ROM image and only a 48Kb RAM space (2017-11-24).
  17779. * arch/arm/src/xmc4: Remove hard-coded values in clock configuration.
  17780. USB will be fixed later. From Alan Carvalho de Assis (2017-11-25).
  17781. * drivers/lcd: Add support for external LCD initialization required by
  17782. some board logic. configs/zpa214xpa: Tried to get the LCD working
  17783. again unsuccessfully. Too much bit rot I suppose (2017-11-25).
  17784. * STM32F4 Discovery: Fix some errors due to missing inclusion of
  17785. stm32_gpio.h (2017-11-25).
  17786. * XMC4 Serial: The Alternative Receive Interrupt was not being
  17787. configured (2017-11-25).
  17788. * drivers/lcd: Make LCD driver configuration indepently selected from
  17789. NX graphics configuration. This makes things awkward and loses some
  17790. error checking but is a necessary step in order to make LCD drivers
  17791. usable when the NX graphics system is disabled (2017-11-25).
  17792. * STM3240G-EVAL: Mount procfs if enabled (2017-11-25).
  17793. * arm/src/xmc4: Include Alt. Interrupt Enable to RX_EVENTS and rename
  17794. serial GPIO configurations. From Alan Carvalho de Assis (2017-11-25).
  17795. * configs/: CONFIG_QENCODER was renamed to CONFIG_SENSORS_QENCODER:
  17796. update occurrences in several Kconfig files (2017-11-25).
  17797. * configs/stm3240g-eval: Add support for pdcurses and the pdcurses
  17798. demo programs in the 'fb' configuration (2017-11-26).
  17799. * arch/arm/src/stm32: Fix compile error when trace is enabled.
  17800. I2CEVENT_ERROR was used but never defined (2017-11-26).
  17801. * configs/lc823450-xgevk: Enable CONFIG_SMP for audio.Update README.txt
  17802. regarding SMP audio. From Masayuki Ishikawa (2017-11-27).
  17803. * lc823450 smp audio
  17804. - arch/arm/src/lc823450: Remove a workaround in up_cpu_paused().
  17805. Introduce g_gpio_lock to improve write performance in SMP mode.
  17806. NOTE: This is a tentative solution and should be replaced with more
  17807. generic one. Add a workaround in up_txready() to avoid data
  17808. corruption. From Masayuki Ishikawa (2017-11-27).
  17809. * arch/arm/src/lpc43xx: lpc43_adc.c was being selected by the build
  17810. system wehn DAC was selected (2017-11-27).
  17811. * configs/lc823450-xgevk: Add rndis configuration. From Masayuki
  17812. Ishikawa (2017-11-28).
  17813. * drivers/input/nunchuck.c: Add Nintendo Wii Nunchuck driver. From
  17814. Alan Carvalho de Assis (2017-11-28).
  17815. * configs/stm32f4discovery/include/board.h: Remove only I2C pin config,
  17816. we can use PB6 and PB9. From Alan Carvalho de Assis (2017-11-28).
  17817. * configs/stm32f4discovery/src: Add stm32f4discovery board support for
  17818. Nunchuck joystick. From Alan Carvalho de Assis (2017-11-28).
  17819. * net/devif: Do not add link layer header size to d_len inside
  17820. devif_forward(). From Anthony Merlino (2017-11-29).
  17821. * Framebuffer Driver: Small modification convention for multi-planar
  17822. displays (of which there are none) (2017-11-29).
  17823. * configs/stm32f103-minimum: Add Nunchuck board support for
  17824. stm32f103-minimum board. From Alan Carvalho de Assis (2017-11-29).
  17825. * drivers/mtd: Add a driver for Macronix MX35LFxGE4AB serial NAND
  17826. flash. From Ekaterina Kovylova (2017-11-29).
  17827. * net/pkt: Eliminate a compile error due to missing include and also a
  17828. warning (2017-11-29).
  17829. * sched/task/task_exithook.c: Clear atexit() function pointer before
  17830. calling it. On most archs, up_assert() calls exit() so without this
  17831. change, if atexit() function triggers an assertion we are in endless
  17832. loop. From Juha Niskanen (2017-11-30).
  17833. * arch/arm/src/xmc4/Kconfig: Define user friendly SPI, I2C, LIN, and
  17834. I2S aliases to follow other arch names. From Alan Carvalho de Assis
  17835. (2017-11-30).
  17836. 7.24 2018-03-02 Gregory Nutt <gnutt@nuttx.org>
  17837. * drivers/pipes: poll: fix off-by-one error in calculation of bytes in the
  17838. buffer. Buffer calculation in pipe poll setup is off-by-one when read
  17839. index is larger than write index. This causes poll() not getting POLLIN when
  17840. buffer has one byte as calculation gives zero bytes in buffer. From Jussi
  17841. Kivilinna (2017-12-07).
  17842. * This adds basic architectural support for the LPC546xx family and
  17843. includes support for the LPCXpresso-LPC54628 board. The basic NSH port is
  17844. almost complete... still lacking GPIO support and LED support. There are
  17845. still no significant drivers available.
  17846. * SMP: Introduce spin_lock_irqsave() and spin_unlock_irqrestore(). These
  17847. APIs are simplified version of enter_critical_section() and
  17848. leave_critical_section() to protect data (e.g. registers) in SMP mode. By
  17849. using these APIs inside drivers, performance will be improved. From
  17850. Masayuki Ishikawa (2017-12-07).
  17851. * sixlowpan: Completes configuration options for specifying preloaded
  17852. address contexts for compression From Anthony Merlino (2017-12-07).
  17853. * configs/photon: Adds BOARD_TIMn_FREQUENCY macros From Anthony Merlino
  17854. (2017-12-07).
  17855. * arch/arm/src/lc823450 SMP improvements. (1) Apply irq_spin APIs to
  17856. modifyregXX, (2) Do not use modifyreg32() to enable Mutex, (3) Modify IRQ
  17857. control for i2s. Interrupt will be handled on CPU0 with this change. (4)
  17858. Apply irq_spin APIs to dma/syscontrol/usbdev. (5) Assign CPU1 to lpwork.
  17859. This change will improve load balancing for networking with RNDIS. From
  17860. Masayuki Ishikawa (2017-12-08).
  17861. * drivers/audio/wm8776.c: Improve stability in SMP mode. Apply irq_spin
  17862. APIs to improve performance. Repeat to process a message to avoid
  17863. deadlock. From Masayuki Ishikawa (2017-12-08).
  17864. * configs/lc823450-xgevk: Enable SPINLOCK_IRQ and NXPLAYER in rndis. From
  17865. Masayuki Ishikawa (2017-12-08).
  17866. * arch/arm/src/xmc4: Only setup USB clock when USB PLL is enabled From
  17867. Alan Carvalho de Assis (2017-12-08).
  17868. * arch/arm/src/lpc54628: LPCXpresso-LPC54628 NSH configuration is fully
  17869. functional. From Gregory Nutt (2017-12-10).
  17870. * arch/arm/src/lpc54xx: Add basic build support for EMC and external
  17871. SDRAM. From Gregory Nutt (2017-12-10).
  17872. * configs/lpcxpresso-lp54629: Add logic to configure EMC pins.
  17873. arch/arm/src/lpc54xx: Update pin configuration for EMC pins. All should
  17874. have the input file offset and fast slew rate. From Gregory Nutt
  17875. (2017-12-11).
  17876. * arch/arm/src/lpc54xx: Add skeleton of SPI driver just as a starting
  17877. point. From Gregory Nutt (2017-12-11).
  17878. * arch/arm/src/lpc54xx: SDRAM is now fully functional on this board! From
  17879. Gregory Nutt (2017-12-12).
  17880. * arch/arm/src/lpc54xx: Add the ported LPC1788 LCD driver to use the
  17881. LPC54xx pin definitions and SYSCON. From Gregory Nutt (2017-12-12).
  17882. * configs/lpcxpresso-lpc54628: Add the fb configuration testing the LCD.
  17883. From Gregory Nutt (2017-12-13).
  17884. * arch/arm/src/lpc54xx: Fix some LCD clocking. There is now recognizable
  17885. albeit corrupted data on the display. From Gregory Nutt (2017-12-13).
  17886. * arch/arm/src/lpc43xx: Adapt LPC176x RTC driver for the LPC43xx. From
  17887. Gintaras Drukteinis (2017-12-14).
  17888. *arch/arm/src/lpc54xx: LCD.. Fix some misconceptions about how the video
  17889. address lines are used. Fix some LCD BPP and BRG vs RGB settings. From
  17890. Gregory Nutt (2017-12-14).
  17891. * fs/fat: CONFIG_FAT_MAXFNAME may not exceed NAME_MAX (CONFIG_NAME_MAX)
  17892. From Gregory Nutt (2017-12-15).
  17893. * arch/arm/src/lpc54xx: Complete coding of the I2C driver. I2C now appears
  17894. to be functional. config/lpcxpresso-lpc54628: Add support for I2C2 and
  17895. for the I2C tool to the nsh configuration. From Gregory Nutt (2017-12-15).
  17896. * arch/arm/src/stm32f7: Completes support for the STM32F72x/73x family.
  17897. From Bob Feretich (2017-12-16).
  17898. * arch/arm/src/lpc54xx: Implement GPIO interrupt support.
  17899. configs/lpcxpress-lpc54628: Add support for the USER button. Enable the
  17900. apps/examples/button test in the NSH configuration. From Gregory Nutt
  17901. (2017-12-16).
  17902. * arch/arm/src/lpc54xx: Fix some GPIO interrupt configuration errors. Add
  17903. logic to acknowledge rising/falling edge events.
  17904. config/lpcxpresso-lpc545628: Add an intermediate interrupt handler to
  17905. support acknowledgment of rising and falling edge interrupts. From Gregory
  17906. Nutt (2017-12-16).
  17907. * configs/indium-f7: Adds support for the RAF Research Indium-F7 board.
  17908. From Bob Feretich (2017-12-16).
  17909. * configs/*/include; Remove prototype of xyz_boardinitialize() from
  17910. board.h files. The authoritative prototype is in
  17911. arch/arm/src/xyz/xyz_start.h From Gregory Nutt (2017-12-16).
  17912. * fs/nfs/nfs_vfsops.c: Correctly infer file type. The file type is in
  17913. struct nfs_statinfo_s's ns_type field, not in the ns_mode field. From
  17914. Michael Jung (2017-12-17).
  17915. * drivers/input/ft5x06.c: Add a driver for the FT5x06 capacitive,
  17916. multi-touch, touchscreen controller. configs/lpcxpresso-lpc54628: Add
  17917. support for the the FT5x06. Enable the driver as well as the apps/examples
  17918. touchscreen test. Untested on initial commit. From Gregory Nutt
  17919. (2017-12-17).
  17920. * fs/fat: Don't warn about the CONFIG_FAT_MAXFNAME being too large if long
  17921. file name support is not implemented. From Gregory Nutt (2017-12-17).
  17922. * configs: Still trying to get consistent name. button driver expects
  17923. board to define NUM_BUTTONS, not BOARD_NUM_BUTTONS. That was changed in
  17924. all board.h header files, but there are still references in configs/ C
  17925. files to BOARD_NUM_BUTTONS From Gregory Nutt (2017-12-17).
  17926. * Fixed build of PCF8574 driver when its interrupts aren't enabled by
  17927. config. From Dmitriy Linikov (2017-12-18).
  17928. * net/tcp: Introduce tcp receive window control based on I/O buffer. NOTE:
  17929. The algorithm is still experimental but useful for http streaming. From
  17930. Masayuki Ishikawa (2017-12-18).
  17931. * drivers/input/ft5x06: Fix a misconception.. WAKE is an output, not an
  17932. input. From Gregory Nutt (2017-12-18).
  17933. * drivers/power/bq2429x.c: Add trickle charging mode From Juha Niskanen
  17934. (2017-12-18).
  17935. * drivers/ft5x06: Add a polled mode of operation for the FT5x06 in attempt
  17936. to work around the fact that the LPCXpresso-LPC54628 chose a non-interrupt
  17937. pin for the FT5x06 interrupt. Driver is still not yet functional. From
  17938. Gregory Nutt (2017-12-18).
  17939. * drivers/ft5x06.c: Add additional configuration options: Optimize if
  17940. multi-touch capability is not used. Add options to swap X/Y and
  17941. thresholding to reduce the rate of false alarm reports (with no motion).
  17942. From Gregory Nutt (2017-12-18).
  17943. * configs/lpcxpresso-lpc54628: Add an NxWM configuration. Not yet
  17944. functional. From Gregory Nutt (2017-12-18).
  17945. * drivers/input/ft5x06.c: Fix a problem was was causing missing reports
  17946. when the touch ends. From Gregory Nutt (2017-12-18).
  17947. * arch/arm/src/lpc54xx: Bring in LPC43xx SD/MMC driver from
  17948. https://github.com/Smoothieware/smoothie-nuttx/tree/master/nuttx/arch/arm/src/lpc43xx
  17949. From Gregory Nutt (2017-12-19).
  17950. * arch/arm/src/lc823450: lc823450 http streaming improvements: (1) Use
  17951. spinlock APIs in lc823450_gpio.c. (2) In SMP mode, H/W interrupts should
  17952. be handled on CPU0 to avoid deadlocks. (3) Fix a potential race condition
  17953. in up_enable_irq(), (4) Use spinlock APIs instead of critical section APIs,
  17954. (5) Enable HRT_TIMER in lc823450_timerisr.c, (6) Call up_enable_irq() to
  17955. assign CPU0 for IRQ handling. (7) Use spinlock APIs instead of critical
  17956. section APIs. (8) Fix race conditions in dma/usbdev. (9) Enable HRT_TIMER,
  17957. LC823450_MTM0_TICK, SPINLOCK_IRQ, (10) Enable NET_TCP_RWND_CONTROL,
  17958. NXPLAYER_HTTP_STREAMING_SUPPORT (rndis only) From Masayuki Ishikawa
  17959. (2017-12-20).
  17960. * syslog: Fixes LOG_UPTO macro to include specified log level From Anthony
  17961. Merlino (2017-12-20).
  17962. * Rename the configs/stm32f0discovery board directory to
  17963. configs/stm32f051-discovery. There are others stm32f0discovery boards with
  17964. different MCUs and different peripherals on the board. From Alan Carvalho
  17965. de Assis (2017-12-20).
  17966. * This commit adds support for stm32f072b-disco board. This is the board. I
  17967. added the LEDs of this board and tested the compilation, more tests will be
  17968. needed. From Alan Carvalho de Assis (2017-12-20).
  17969. * drivers/sensors/hts221.c: Fix sensor reset with BOOT bit From Jussi
  17970. Kivilinna (2017-12-20).
  17971. * arch/arm/src/lpc54xx: Add support for card detect and write protect to
  17972. SDMMC driver. configs/lpcxpresso-lpc54628: Add logic to bring up SDMMC.
  17973. SDMMC pin configurations should have SLEW on and FILTER off. Add support
  17974. for power pin to SDMMC driver. In SDMMC driver, don't do DMA if the entire
  17975. transfer will fit in the FIFO. In SDMMC driver, add logic to transfer data
  17976. when TXDR or RXDR interrupts occur. Also, add logic to set the RX
  17977. watermark to 2 when receiving short, non-DMA data transfers. In SDMMC
  17978. driver, fix an error which was clobbering the interrupt mask register
  17979. (xfrmask). Also, add a kludge for the missing DTO interrupt. From Gregory
  17980. Nutt (2017-12-20).
  17981. * arch/arm/src/lc823450: Add SP_DMB() into lc823450_testset.c. In
  17982. lc823450, ldrex and strex are not supported. So we implemented up_testset()
  17983. with H/W Mutex. However, there was a bug in memory access order. This
  17984. change ensures correct memory access order in up_testset() for lc823450.
  17985. From Masatoshi.Tateishi (2017-12-21).
  17986. * sched/semaphore/spinlock.c: Add memory barrier operations in
  17987. spin_unlock(). In ARM document regarding memory barriers, SP_DMB() must be
  17988. issued before changing a spinlock state to SP_UNLOCKED. However, we found
  17989. that SP_DSB() is also needed to ensure that spin_unlock() works correctly
  17990. for network streaming aging test. From Masayuki Ishikawa (2017-12-21).
  17991. * arch/arm/src/lpc43xx: Add Windowed Watchdog Timer (WWDT) driver. Tested
  17992. on LPC4357 but should be compatible for all LPC43xx MCUs. From Gintaras
  17993. Drukteinis (2017-12-21).
  17994. * arch/arm/src/lpc54xx: SDMMC fixes.. DMA should not be enabled on non-DMA
  17995. transfers, the burst setting in FIFOTH is supposed to match the burst
  17996. setting in the BMOD reseters, Add DMA error interrupt support. With these
  17997. changes DMA now works on the LPC54xx. From Gregory Nutt (2017-12-21).
  17998. * fs/vfs: reopen should return NULL when oflags is less than 0, not equal
  17999. to 0. Because negative value is returned on failure of lib_mode2offlags
  18000. which converts the mode string into file open mode flag. From Gregory Nutt
  18001. (2017-12-21).
  18002. * tools/cvsparser.c: Add a check to avoid access past the end of a fixed
  18003. size array From Gregory Nutt (2017-12-21).
  18004. * arch/arm/src/arm/up_cache.S: Fix cp15_invalidate_dcache. In cases where
  18005. more than one dcache line was to be invalidated, a missing branch label
  18006. would result in a false branch target into cp15_flush_idcache. Also the
  18007. .size macro was fixed for both cp15_invalidate_dcache. From Michael Jung
  18008. (2017-12-22).
  18009. * Leverage the LPC54xx SD/MMC back to the LPC43xx (where it came from
  18010. originally). From Gregory Nutt (2017-12-22).
  18011. * arch/arm/src/lpc54xx/43xx: SDMMC driver: Need to disable DMA interrupts
  18012. at completion of DMA. From Gregory Nutt (2017-12-22).
  18013. * configs/bambino-200e: Add LPC43 SDMMC board support to Bambino-200E and
  18014. fix errors/warns From Alan Carvalho de Assis (2017-12-22).
  18015. * arch/arm/src/lpc43xx/lpc54xx SDMDC: Don't enable internal DMA in the
  18016. control register if not doing internal DMA. Clear pending DMA-related
  18017. interrupts before enabling them. From Gregory Nutt (2017-12-22).
  18018. * arch/arm/src/lpc43/54 SDMMC: DTO is a wait event, not a transfer event.
  18019. Defer enabling DMA transfer interrupts until after command has been sent.
  18020. From Gregory Nutt (2017-12-23).
  18021. * arch/arm/src/lpc43/lpc54 SDMMC: Add missing test for response errors in
  18022. interrupt handler. From Gregory Nutt (2017-12-23).
  18023. * arch/arm/src/lpc54xx: Add DMA driver ported from the LPC43xx GPDMA
  18024. driver. From Gregory Nutt (2017-12-24).
  18025. * arch/arm/src/lpc54xx: Bring in WWDT driver from LPC43. From Gregory
  18026. Nutt (2017-12-24).
  18027. * arch/arm/src/lpc54xx: Add an RTC driver and a RTC character driver lower
  18028. half. configs/lpcxpresso-lpc54628: Add logic to register the RTC
  18029. character driver if it is enabled. Enable the RTC and RTC character driver
  18030. in the NSH configuration. From Gregory Nutt (2017-12-25).
  18031. * arch/arm/src/lpc54xx: Add support for a random number generator. From
  18032. Gregory Nutt (2017-12-26).
  18033. * arch/arm/src/lpc54xx: Add an Ethernet driver. From Gregory Nutt
  18034. (2017-12-26).
  18035. * fs/nfs/nfs_vfsops.c: Fix buffer corruption. In case multiple read
  18036. requests to the NFS server are required to fill up the user provided
  18037. buffer, nfs_read might write behind the end of said buffer. This is fixed
  18038. with this change. From Michael Jung (2017-12-28).
  18039. * arch/arm/src/lpc54xx: Ethernet drivers ready for testing.
  18040. configs/lpcxpresso-lpc54628: Add a netnsh configuration that will be used
  18041. to test the Ethernet driver. From Gregory Nutt (2017-12-30).
  18042. * arch/arm/src/lpc54xx: Finishes open design issues with AVBTP
  18043. multi-channel operation. From Gregory Nutt (2017-12-30).
  18044. * net: Fix an error introduced when ICMP and ICMP6 socket support was
  18045. added in NuttX-7.3. A gratuitous ARP (or solicitation) was being sent
  18046. after receive of the ECHO replay (advertisement). From Gregory Nutt
  18047. (2018-01-01).
  18048. * arch/arm/src/lpc54xx: Correct handling of the Ethernet RBU error. With
  18049. this fix, Ethernet now appears to be fully functional. From Gregory Nutt
  18050. (2018-01-01).
  18051. * Add FPU to xmc4 ostest. Remove +x from makefiles, preserve .gdbinit
  18052. across make clean, add FPU support to ostest on xmc4, add FPU test to
  18053. ostest on xmc4 From David Alessio (2018-01-02).
  18054. * net/arp: Fix IGMP multicast address computation on Nuttx network stack.
  18055. This change fixes the IGMP address computation to allow multicast UDP
  18056. messages. The destination address was created with the incorrect bytes of
  18057. the given IPv4 address. From Louis Mayencourt (2018-01-02).
  18058. * stm32/chip.h: minor fixes for STM32F334 From raiden00pl (2018-01-03).
  18059. * net/route: Adding ftruncate() support eliminates an issue in file-based
  18060. routing table management system. From Gregory Nutt (2018-01-03).
  18061. * fs/userfs: Add truncate() support for userfs, fs/unionfs: Add truncate()
  18062. support to the unionfs, fs/tmpfs: Add ftruncate() support to tmpfs,
  18063. syscall/: Add system call support for ftruncate(). From Gregory Nutt
  18064. (2018-01-03).
  18065. * fs/vfs: Add support for truncate() and ftruncate(). The infrastructure
  18066. is complete. Now, however, the actual implementation of ftruncate() will
  18067. have to be done for each file. From Gregory Nutt (2018-01-04).
  18068. * fs/nxffs: Add partial implementation of the truncate method: It
  18069. extends files, but cannot yet shrink them. From Gregory Nutt (2018-01-04).
  18070. fs/smartfs: Add implementation of the truncate method, fs/fat: Add
  18071. implementation of the truncate method. fs/nfs: Add support for the
  18072. truncate method to the NFS file system. From Gregory Nutt (2018-01-04).
  18073. * net/route: Fix a couple of compile-related issues that have crept in
  18074. since the last time the file-based routing table was used. From Gregory
  18075. Nutt (2018-01-05).
  18076. * configs/sim: Add support for a RAM MTD driver and initialization for use
  18077. with SmartFS. From Gregory Nutt (2018-01-05).
  18078. * FAT. Effectively handles the situation when a new file position is
  18079. within the current sector. Accelerates the work of the FS with a multitude
  18080. of operations to write small pieces of data within the current sector.
  18081. From Aleksandr Vyhovanec (2018-01-05).
  18082. * configs/sim: Add support for testing NXFFS. From Gregory Nutt
  18083. (2018-01-06).
  18084. * configs/flipnclick-sam3x: Add board support for the Mikroe Flip&Click
  18085. SAM3X. From Gregory Nutt (2018-01-06).
  18086. * configs/stm32f103-minimum: Add AT24 EEPROM support on STM32F103-Minimum
  18087. board From Alan Carvalho de Assis (2018-01-06).
  18088. * arch/mips/include/pic32mz: Add architectural support for the PIC32MZEF
  18089. family. From Gregory Nutt (2018-01-08).
  18090. * configs/flipnclick-pic32mz: Adds board support for the Mikroe Flip&Click
  18091. PIC32MZ board. From Gregory Nutt (2018-01-08).
  18092. * drivers/net: Add support for telnet character mode From Masayuki
  18093. Ishikawa (2018-01-09).
  18094. * arch/arm/src/lc823450: Introduce DVFS. This version only supports
  18095. manual mode and Vdd1 is fixed to 1.2V. From Masayuki Ishikawa (2018-01-10).
  18096. * configs/lc823450-xgevk: Enable DVFS in lc823450_bringup.c. Enable DVFS
  18097. in audio and rndis. Add telnet character mode to rndis. From Masayuki
  18098. Ishikawa (2018-01-10).
  18099. * arch/arm/src/samdl: In sam_spibus_initialize(), the pinmux configuration
  18100. was smashing the previous CTRLA register configuration. There are also some
  18101. typos in samd_spi.h From Matt Thompson (2018-01-11).
  18102. * SAMDL fix g_spi2ops and g_spi2dev using incorrect values From Matt
  18103. Thompson (2018-01-11).
  18104. * SAMD External Interrupt Controller (EIC) support From Matt Thompson
  18105. (2018-01-11).
  18106. * fs/procfs: Fix an error in a common function that manages read data.
  18107. From Gregory Nutt (2018-01-12).
  18108. * sched/irq: Add a configuration option to show interrupt information via
  18109. a procfs file. From Gregory Nutt (2018-01-12).
  18110. * arch/arm/src/lpc54xx: The SPI driver is code complete but still
  18111. untested. This driver is 'basic' in that in only supports polled mode
  18112. operations. From Gregory Nutt (2018-01-14).
  18113. * arch/arm/src/stm32/stm32_hrtim: fix deadtime configuration. Add
  18114. interface to change outputs SET/RST configuration From Mateusz Szafoni
  18115. (2018-01-14).
  18116. * drivers/loop/losetup.c: If we want to open read-only in losetup.c, flags
  18117. should be O_RDONLY not O_RDWR From Fabio D'Urso (2018-01-14).
  18118. * sched/clock/clock_systimer.c: Replace critical section APIs with
  18119. spinlock APIs. (64bit only). If SMP=n or SMP=y && SPINLOCK_IRQ=n, this
  18120. works in the same way as before. If SMP=y && SPINLOCK_IRQ=y, performance
  18121. will be improved. From Masayuki Ishikawa (2018-01-15).
  18122. * sched/clock/clock_systimer.c: Change the way that the 64-bit time is
  18123. sampled. Previously, we disabled interrupts before sampling the 64-bit
  18124. timer since the uint64_t access is not atomic on most CPUs. However,
  18125. disabling (local) interrupts does not work in the SMP case. In that case,
  18126. the timer interrupt will be running on only one of the CPUs; disabling
  18127. interrupts on a different CPU will provide no protection from timer
  18128. rollover. To work around this, logic was added that samples 64-bit timer
  18129. is sampled twice and if 32-bit rollover was detected between samples, then
  18130. loops until there is no rollover. From Gregory Nutt (2018-01-15).
  18131. * configs/nucleo-l432kc/src: Fix some bogus logic noted by Fanda. From
  18132. Gregory Nutt (2018-01-15).
  18133. * fs/smartfs: Fix inverted ifdef for CONFIG_SMARTFS_USE_SECTOR_BUFFER in
  18134. smartfs_extendfile() From Jussi Kivilinna (2018-01-16).
  18135. * configs/nucleo-* and configs/stm32l476vg-disco: Fix more
  18136. stm32_userleds.c bogus logic From Juha Niskanen (2018-01-16).
  18137. * Fixes two bugs in multi-block SD-card operations on the STM32F7
  18138. platform. arch/arm/src/stm32f7: DBLOCKSIZE must be the size of SD-card
  18139. block, not the total amount of transferred bytes. drivers/mmcsd: respect
  18140. SDIO_CAPS_DMABEFOREWRITE on CMD25. From Evgeniy Bobkov (2018-01-16).
  18141. * Fixed nucleo-l432kc broken build when CONFIG_USERLED_LOWER defined From
  18142. Fanda (2018-01-16).
  18143. * Remove the BOARDIOC_TSCTEST_TEARDOWN boardctl() command. Remove all
  18144. implementations of board_tsc_teardown() (they were all stubs anyway except
  18145. for the simulation). From Gregory Nutt (2018-01-16).
  18146. * SMP: Introduce spin_lock_wo_note() and spin_unlock_wo_note(). These APIs
  18147. are used in sched_note.c to protect instrumentation data. The difference
  18148. between these APIs to exsiting spin_lock() and spin_unlock() is that they
  18149. do not perform instrumentation to avoid recursive call when
  18150. SCHED_INSTRUMENTATION_SPINLOCKS=y. From Masayuki Ishikawa (2018-01-17).
  18151. * configs: Eliminates the BOARDIOC_TSCTEST_SETUP command. Each board now
  18152. initializes the touchscreen controller as a normal part of its board
  18153. bring-up. board_tsc_setup() is gone; the touchscreen controller is now
  18154. treated like any other on-board device.
  18155. * configs: Since the touch screen initialization is now called from
  18156. one-time board-initialization logic, it no longer needs protection from
  18157. re-entry. From Gregory Nutt (2018-01-17).
  18158. * configs: CONFIG_MAX_TASKS must be a power of 2. From Gregory Nutt
  18159. (2018-01-17).
  18160. * configs: There should be either CONFIG_LIB_BOARDCTL=y or
  18161. CONFIG_BOARD_INITIALIZE=y (but not both) in the defconfig of every
  18162. standalone NxWM configuration to assure that all of the board resources are
  18163. initialized... especially the touchscreen since it is now a part of the
  18164. board driver initialization. From Gregory Nutt (2018-01-17).
  18165. * arch/arm/src/samdl: SPI must be disabled before changing the mode bits in
  18166. CTRLA register From Matt Thompson (2018-01-17).
  18167. * arch/arm/src/lc823450: Explicitly assign I2S IRQ handling to CPU0. From
  18168. Masayuki Ishikawa (2018-01-18).
  18169. * drivers/input/ft5x06.c: Remove logic to disable polling when there there
  18170. is no client waiting for read data. That was a great idea to save CPU
  18171. cycles when there is nothing reading from the touchscrren but,
  18172. unfortunately, does not work with readers that open the driver in
  18173. non-blocking mode. So I think we just have to eat the CPUs even when there
  18174. is nothing waiting for touchscreen input. From Gregory Nutt (2018-01-18).
  18175. * configs/lpcxpresso-lpc54628/lvgl: Add LittlevGL graphics demo
  18176. configuration. From Gregory Nutt (2018-01-18).
  18177. * sched/semaphore: Add DEBUGPANIC() in nxsem_post() if no waiting task is
  18178. found. From Masayuki Ishikawa (2018-01-19).
  18179. * sched/sched/sched_sporadic.c: fix compiler error when priority
  18180. inheritance is enabled. Noted by eunb.song@samsung.com From Gregory Nutt
  18181. (2018-01-19).
  18182. * sched/sched: Fix some priority inheritance related issues noted during
  18183. review of logic. Also add some REVISIT comments for some issues noted in
  18184. the design. From Gregory Nutt (2018-01-20).
  18185. * Issue #85: /dev/userleds is not working for nucleo-l432kc fixed From
  18186. Fanda Vacek (2018-01-20).
  18187. * arch/arm/src/stm32/stm32_hritm.c: Add interface to get timer clock
  18188. frequency, fix timer freq calculation, add compare/capture registers
  18189. significant bits checking. From Mateusz Szafoni (2018-01-21).
  18190. * stm32f334-disco: add buck converter and boost converter logic From
  18191. Mateusz Szafoni (2018-01-21).
  18192. * fs/userfs: use correct req type in userfs_truncate, remove use of
  18193. undeclared buf From Juha Niskanen (2018-01-22).
  18194. * arch/arm/src/xmc4: Refactor pll setup, refactored PLL/CLK config, easier,
  18195. checks for correctness, call go_os_start if STACK_COLORIZED, smarter config
  18196. of EXTCLK output freq. From David Alessio (2018-01-22).
  18197. * net/: The existence of the network driver ioctl() method should depend on
  18198. CONFIG_NETDEV_IOCTL rather than CONFIG_NETDEV_PHY_IOCTL. The former
  18199. enables the method, the later enables a subset of possible driver IOCTLs.
  18200. This change should be basically a no-operation. The affected ioctl methods
  18201. only support those subset of driver IOCTLs selected by
  18202. CONFIG_NETDEV_PHY_IOCTL and the network logic will tolerate a nul ioctl
  18203. method. From Gregory Nutt (2018-01-22).
  18204. * net/tcp: Write buffering logic should not wait for a free buffer if the
  18205. socket was opened non-blocking. Also, rename the TCP write buffering
  18206. macros from WRB_* to TCPWB_* to make room in the namespace for write
  18207. buffering with other protocols. From Gregory Nutt (2018-01-22).
  18208. * net/udp: Remove some conditional logic that was true if there is only a
  18209. single network device, but not true in the multi-device context. From
  18210. Gregory Nutt (2018-01-22).
  18211. * net/udp: This commit adds an implementation of UDP write buffering.
  18212. From Gregory Nutt (2018-01-22).
  18213. * net/udp: In sendto(), return EHOSTUNREACH if the network is down. From
  18214. Gregory Nutt (2018-01-22).
  18215. * drivers/mtd/at24xx.c: Correct page size for AT24C02 part. From Alexander
  18216. Oryshchenko (2018-01-24).
  18217. * arch/arm/src/stm32: Make STM32 usable with an external RTC.
  18218. * drivers/timers/ds3231.c: Correct some debug statments. From Alexander
  18219. Oryshchenko (2018-01-24).
  18220. * arch/arm/src/stm32/stm32_spi.c: Removed unnecessary (and incorrect) speed
  18221. limitation From Alexander Oryshchenko (2018-01-24).
  18222. * arch/arm/src/stm32/stm32f40xxx_i2c.c: Correct some recent changes to
  18223. STM32F4 I2C that broke poll mode of operation. From Alexander Oryshchenko
  18224. (2018-01-24).
  18225. * arch/arm/src/samdl: Added SAMD DAC header file. Fixed SAMD EVSYS header.
  18226. Added SAMD TC header file. Fixed some minor typos. Added missing EVCTRL
  18227. register bits in TC. From Matt Thompson (2018-01-24).
  18228. * configs/flipnclick-sam3x (also Arduio-Due): Remove disabling of
  18229. environment, mountpoints, and poll. Add NSH arch initialization so that
  18230. procfs will be automounted. Increase task name size from 0 to 32. Update
  18231. README. From Gregory Nutt (2018-01-25).
  18232. * arch/arm/src/samdl: Added DMAC header for SAMD, fixed up sam_dmac to
  18233. compile with debugging enabled From Matt Thompson (2018-01-25).
  18234. * arch/arm/src/samv7/sam_lowputc.c: Fix undefined variable when using
  18235. USART1 for other purposes than UART (e.g. SPI). From Frank Benkert
  18236. (2018-01-26).
  18237. * arch/arm/src/stm32 and stm32f7: Remove confusing, redundant, and
  18238. misleading definitions of STM32_BKP_BASE from the F2, F3, and F4 memory
  18239. maps. Unlike the F1, these parts do not have a separate BKP address
  18240. region. The BKP registers are with the RTCC address regions. stm32_bkp.h
  18241. should only be used for STM32 F1. stm32_rtcc.h should be used to access BKP
  18242. registers on F2, F3, and F4. From Gregory Nutt (2018-01-26).
  18243. * stm32/Kconfig: fix COMP7 dependency. stm32_hrtim: add HRTIM push-pull
  18244. mode configuration. stm32f334-disco: add buck-boost converter mode From
  18245. raiden00pl (2018-01-27).
  18246. * arch/arm/src/samdl: Added Analog Comparator headers and basic
  18247. initialization From Matt Thompson (2018-01-28).
  18248. * arch/arm/src/stm32: I have a SPI bus with both Mode 0 and Mode 3 devices
  18249. on it. After performing SPI I/O to a Mode 0 device, switching to a Mode 3
  18250. device locked up the SPI interface. Only zeroes would be read. I traced
  18251. the reason for the lock-up to arm/arm/src/stm32f7/stm32_spi.c function
  18252. spi_setmode(). Changing the mode causes a spurious SPI clock transmission
  18253. that confuses the stm32f7 SPI input hardware. This problem is solved by
  18254. (1) changing the SPI mode with SPI (and perhaps DMA) disabled, and (2)
  18255. flushing the receive FIFO if the mode change results in garbage in the
  18256. FIFO. From Bob Feretich (2018-01-29).
  18257. * drivers/sensors: Add support to MAX44009 ambient light sensor From Juha
  18258. Niskanen (2018-01-29).
  18259. * tools/logparser: Add a tool which (when it matures) will help me to
  18260. convert git logs to ChangeLog format. From Gregory Nutt (2018-01-29).
  18261. * tools/: Add #define _GNU_SOURCE to all C files that call asprintf()
  18262. From Gregory Nutt (2018-01-29).
  18263. * arch/arm/src/samdl: Added Timer Compare for Control registers header
  18264. From Matt Thompson (2018-01-29).
  18265. * sched/sched: Add new internal OS function nxsched_setaffinity() that is
  18266. identical to sched_isetaffinity() except that it does not modify the errno
  18267. value. All usage of sched_setaffinity() within the OS is replaced with
  18268. nxsched_setaffinity(). From Gregory Nutt (2018-01-30).
  18269. * sched/sched: Internal functions sched_reprioritize() and
  18270. sched_setpriority() no longer modify the errno value. Also renamed to
  18271. nxsched_reprioritize() and sched_setpriority(). From Gregory Nutt
  18272. (2018-01-30).
  18273. * sched/sched: Add new internal OS function nxsched_getscheduler() that is
  18274. identical to sched_getscheduler() except that it does not modify the errno
  18275. value. All usage of sched_getscheduler() within the OS is replaced with
  18276. nxsched_getscheduler(). From Gregory Nutt (2018-01-30).
  18277. * sched/sched: Add new internal OS function nxsched_setparam() that is
  18278. identical to sched_setparam() except that it does not modify the errno
  18279. value. All usage of sched_setparam() within the OS is replaced with
  18280. nxsched_setparam(). From Gregory Nutt (2018-01-30).
  18281. * sched/sched: Add new internal OS function nxsched_getparam() that is
  18282. identical to sched_getparam() except that it does not modify the errno
  18283. value (actually, the previous value erroneously neglected to set the errno
  18284. value to begin with, but this fixes both issues). All usage of
  18285. sched_getparam() within the OS is replaced with nxsched_getparam(). From
  18286. Gregory Nutt (2018-01-30).
  18287. * sched/: Fix several inappropriate accesses to get_errno() that were
  18288. missed in previous changes (some going back to nuttx-.23). Add new
  18289. nxsched_setscheduler() and nxsched_getaffinity() which are equivalent to
  18290. their counterparts without the nx on front. These versions do not modify
  18291. the errno value. Changed all calls within the OS to use these newer
  18292. versions of the functions. From Gregory Nutt (2018-01-30).
  18293. * binfmt/, configs/, grahics/, libc/, mm/, net/, sched/: OS references to
  18294. the errno variable should always use the set_errno(), get_errno() macros.
  18295. From Gregory Nutt (2018-01-30).
  18296. * arch/arm/src/stm32 and stm32f7: Architecture-specific code is not
  18297. permitted to modify the errno variable. drivers/ and libc/: OS references
  18298. to the errno variable should always use the set_errno(), get_errno()
  18299. macros. From Gregory Nutt (2018-01-30).
  18300. * SMP: Introduce a new global IRQ clearing logic and tasklist protection.
  18301. The previous implementation of clearing global IRQ in sched_addreadytorun()
  18302. and sched_removereadytorun() was done too early. As a result, nxsem_post()
  18303. would have a chance to enter the critical section even nxsem_wait() is
  18304. still not in blocked state. This patch moves clearing global IRQ controls
  18305. from sched_addreadytorun() and sched_removereadytorun() to
  18306. sched_resumescheduler() to ensure that nxsem_post() can enter the critical
  18307. section correctly. For this change, sched_resumescheduler.c is always
  18308. necessary for SMP configuration. In addition, by this change, task_exit()
  18309. had to be modified so that it calls sched_resumescheduler() because it
  18310. calls sched_removescheduler() inside the function, otherwise it will cause
  18311. a deadlock. However, I encountered another DEBUGASSERT() in
  18312. sched_cpu_select() during HTTP streaming aging test on lc823450-xgevk.
  18313. Actually sched_cpu_select() accesses the g_assignedtasks which might be
  18314. changed by another CPU. Similarly, other tasklists might be modified
  18315. simultaneously if both CPUs are executing scheduling logic. To avoid this,
  18316. I introduced tasklist protetion APIs. With these changes, SMP kernel
  18317. stability has been much improved. From Masayuki Ishikawa (2018-01-31).
  18318. * arch/arm/src/samdl: Added I2S register definitions. From Matt Thompson
  18319. (2018-01-31).
  18320. * drivers/sensors/lis2dh: Use realtime clock if monotonic is not
  18321. available From Juha Niskanen (2018-01-31).
  18322. * fs/aio: Fix one additional place where the errno variable is being
  18323. accessed inappropriately. From Gregory Nutt (2018-01-31).
  18324. * sched/wdog: wd_start() is an internal OS function and should not set the
  18325. errno value. Reviewed and updated every call to wd_start() to verify if
  18326. return value is used and if so if the errno value is accessed. From
  18327. Gregory Nutt (2018-01-31).
  18328. * sched/task: Add nxtask_create(). Kthread_create() and nxtask_create()
  18329. are internal OS functions and should not modify the errno variable.
  18330. configs/: threads started by board bringup logic should be kernel threads,
  18331. not user tasks. From Gregory Nutt (2018-01-31).
  18332. * drivers/: threads started by drivers should be kernel threads, not user
  18333. tasks. Review return values for all calls to kthread_start() because it no
  18334. longer returns an errno. From Gregory Nutt (2018-01-31).
  18335. * graphics/: Review return values for all calls to kthread_start() because
  18336. it no longer returns an errno. From Gregory Nutt (2018-01-31).
  18337. * sched/: Convert legitimate uses of task_create() to nxtask_create().
  18338. Review handling of returned values from all uses of kthread_create() (as
  18339. well as nxtask_create()). From Gregory Nutt (2018-01-31).
  18340. * arm/src/kinetis: Correct some Ethernet PHY register bit tests for the
  18341. KSZ8081 PHY. From Stewart (2018-02-01).
  18342. * libc/stdio: in dtoa(), up_interrupt_context() is used in a debug
  18343. assertion. up_interrupt_context() is not available in the user-mode phase
  18344. of the PROTECTED or KERNEL build configurations. In those configurations,
  18345. enabling libc floating point support and debug assertions will result in an
  18346. undefined reference to up_interrupt_context(). From Gregory Nutt
  18347. (2018-02-01).
  18348. * binfmt/: Fix one more inappropriate access to the errno variable. From
  18349. Gregory Nutt (2018-02-01).
  18350. * configs/stm32f103-minimum: Add support to BMP180 on BluePill
  18351. (stm32f103-minimum) board. From Alan Carvalho de Assis (2018-02-04).
  18352. * armv7-a, armv7-r, armv7-m: Add atomic read-add-write and
  18353. read-subtract-write functions. From Gregory Nutt (2018-02-04).
  18354. * spin_lock_irqsave() and spin_unlock_irqrestore() are only valid if the
  18355. CPU supports global disabling of interrupts. From Gregory Nutt (2018-02-04).
  18356. * sched/sched: SMP: Fix this_task() to be an atomic operation. In the
  18357. previous implementation, this_task() was defined in sched.h by using just a
  18358. macro current_task(this_cpu()). However, I found that this is not atomic
  18359. and actually sometimes switching CPU happened in executing the macro when
  18360. we tested audio steaming plus executing commands via telnet. This change
  18361. resolves this issue by implementing atomic this_task()in sched_thistask.c
  18362. which is newly introduced. From Masayuki Ishikawa (2018-02-04).
  18363. * configs/stm32f429i-disco: Separate SPI4 from MTD init. I was trying to
  18364. attach a non-MTD peripheral to an STM32F429I Discovery Board's SPI4 port
  18365. and was hitting compilation problems, since CONFIG_MTD and thus 'struct
  18366. mtd_geometry_s' was not defined. This patch separates SPI4 initialization
  18367. logic from MTD initialization logic. From Michael Jung (2018-02-05).
  18368. * sched/sched: Implements a global scheduler lock capability as part of
  18369. SMP support. This allows the scheduler to be locked with no knowledge or
  18370. access to the TCB of the currently running task. This is necessary because
  18371. accessing the TCB of the currently running task is, itself, a non-atomic
  18372. operation. This global scheduler lock capability was add just to support
  18373. that atomic access to the TCB. From Gregory Nutt (2018-02-05).
  18374. * sched/sched: Extend the last global lock change to work with the
  18375. lc823450-xgevk which does not support the atomic fetch add but does support
  18376. disabling interprocessor interrupts. Disabling interprocessor interrupts
  18377. will also guarantee that the TCB address calculation is atomic. From
  18378. Gregory Nutt (2018-02-05).
  18379. * sched/irq: Fix a infinite recursion problem that a recent change
  18380. introduced into the i.MX6 SMP implementation. From Gregory Nutt
  18381. (2018-02-06).
  18382. * arch/arm/src/armv7-a: Found some additional places were the new
  18383. this_task() function cannot be called in the i.MX6 SMP configuration. From
  18384. Gregory Nutt (2018-02-06).
  18385. * sched/ and arch/arm/src/armv7-a: Replace a few more occurrences of
  18386. this_task() with current_task(cpu) in an effort to get the i.MX6 working in
  18387. SMP mode again. It does not yet work, sadly. From Gregory Nutt
  18388. (2018-02-06).
  18389. * sched/task: It is not appropriate for logic in task_exit() to call the
  18390. new version of this_task(). sched/irq: Remove redundant fetch of CPU
  18391. index; configs/sabre-6quad: update README. From Gregory Nutt (2018-02-06).
  18392. * arch/arm/src/lpc17xx: Disable LPC17 FDR when not used. If a boot loader
  18393. set the fractional divider (FDR) the baud rate in nuttx will be wrong
  18394. (multiplied by this fraction). So if it is not used, it should be
  18395. disabled. From hg42 (2018-02-08).
  18396. * arch/mips/src/mips32: In up_idle, the kludge that was conditionally
  18397. enabled if the work queue was enable appears to be needed even when he work
  18398. queue is not enabled on the PIC32MZ.
  18399. * arch/mips/src/pic32mz: Fix some typos in debug instrumentation in
  18400. pic32mz-gpio.c; fix some typos related to UART5 configuration in
  18401. pic32mz-serial.c.
  18402. * configs/flipnclick-pic32mz/nsh: Switch serial console to UART3. There
  18403. is some problem with the UART4 RX pin documentation or configuration. From
  18404. Gregory Nutt (2018-02-09).
  18405. * arch/arm/src/xmc4/: Fix USIC_BRG_SCLKCFG definition From Alan Carvalho
  18406. de Assis (2018-02-09).
  18407. * drivers/lcd: Add configuration support for HiletGo OLED.
  18408. configs/flipnclick-pic32mz: Add board support for HiletGo OLED. From
  18409. Gregory Nutt (2018-02-10).
  18410. * configs/flipnclick-pic32mz: Add an nxlines configuration for use in
  18411. testing the custom HiletGo Click board. From Gregory Nutt (2018-02-10).
  18412. * arch/arm/src/samdl: Added FDPLL clock support. Fixed sequence of OSC32K
  18413. calibration setup. From Matt Thompson (2018-02-10).
  18414. * arch/arm/src/samdl: Fix EIC interrupt edge sensitivity for pin numbers >
  18415. 8 From Matt Thompson (2018-02-10).
  18416. * arch/arm/src/samdl: Added loading factory USB calibration data from
  18417. NVRAM From Matt Thompson (2018-02-11).
  18418. * arch/arm/src/stm32/stm32_hritm: Add interface to set timer frequency,
  18419. fix slave timers reset configuration, change POWER_INFO to TIMER_INFO From
  18420. Mateusz Szafoni (2018-02-11).
  18421. * configs/stm32f103-minimum: Add zerocross support to STM32F103-Minimum
  18422. board From Alan Carvalho de Assis (2018-02-11).
  18423. * configs/flipnclick-sam3x: Adds basic board support for the HiletGo
  18424. OLED. From Gregory Nutt (2018-02-11).
  18425. * arch/arm/src/lpc17xx: DisableDisable LPC17 FDR when not used (second
  18426. fix). If a boot loader sets the fractional divider (FDR) the baud rate
  18427. in nuttx will be wrong (multiplied by this fraction). This also has to
  18428. be added to lpc17_lowputc.c. From Harald Gutsche (2018-02-11).
  18429. * arch/arm/src/samdl: Fix DMA controller support. From Matt Thompson
  18430. (2018-02-11).
  18431. * arch/arm/src/samdl: Added experimental DMA support to SPI driver.
  18432. spi_exchange() uses a pair of DMA channels for TX and RX. From Matt
  18433. Thompson (2018-02-11).
  18434. * configs/stm32f103-minimum: Add OLED SSD1306 support to
  18435. STM332F103-Minimum From Alan Carvalho de Assis (2018-02-11).
  18436. * drivers/lcd: Fix the default I2C address of SSD1306 OLED display (7- vs
  18437. 8-bit addressing) From Alan Carvalho de Assis (2018-02-11).
  18438. * net/tcp: Fixed bad return value handling in psock_tcp_send(). send()
  18439. expects psock_tcp_send() to return a negated errno value, not -1 with the
  18440. errno set (GN: I added same change for tcp_send_buffered.c which has the
  18441. same issue as tcp_send_unbuffered.c) From Pelle Windestam (2018-02-13).
  18442. * arm/arm/src/stm32: Corrections to STM32 F4 I2C to restore
  18443. functionality. From Alexander Oryshchenko (2018-02-13).
  18444. * arm/arm/src/stm32: Corrections to STM32 F4 I2C to fix the NORESTART
  18445. flag. From Alexander Oryshchenko (2018-02-13).
  18446. * drivers/sensors: Added support for LIS3DH accelerometer sensor. From
  18447. Matt Thompson (2018-02-13).
  18448. * drivers/eeprom: EEPROM driver for AT24xx compatible EEPROMs. From
  18449. Sebastien Lorquet (2018-02-14).
  18450. * configs/stm32f103-minimum: Add board support to MAX6675 Thermocouple
  18451. sensor From Alan Carvalho de Assis (2018-02-14).
  18452. * sched/signal: Remove SMP related logic in sig_dispatch.c. This change
  18453. prevents from a deadlock in up_schedulesigaction.c where inter-CPU signal
  18454. handling is actually implemented. arch/arm/src/armv7-m: Fix signal
  18455. handling for SMP. In previous implementation, signal handling for SMP was
  18456. incorrect. Thus, for example, if an inter-CPU signal happened an incorrect
  18457. tcb was signaled and caused ASSERT(). This change fixes the issues and
  18458. works for both inter-CPU signal handling and signal handling on the same
  18459. CPU. From Masayuki Ishikawa (2018-02-14).
  18460. * arch/arm/src/armv7-a: Port the SMP change by Masayuki Ishikawa to the
  18461. ARMv7-A family. From Gregory Nutt (2018-02-14).
  18462. * arch/xtensa/common: Port the SMP change by Masayuki Ishikawa to the
  18463. Xtensa family. From Gregory Nutt (2018-02-14).
  18464. * configs/stm32f103-minimum: Remove CONFIG_NX_LCDDRIVER dependence from
  18465. stm32_ssd1306.c From Alan Carvalho de Assis (2018-02-14).
  18466. * drivers//sensors: LIS3DH: Fix missing shift when writing output data
  18467. rate to register From Matt Thompson (2018-02-14).
  18468. * sched/clock: Replace critical section APIs with spin lock APIs in
  18469. clock_gettime.c. This change will improve performance for SMP systems but
  18470. nothing changes for non-SMP systems. In SMP mode, rtrtcb is not always at
  18471. the g_readytorun.head. This change removes DEBUGASSERT() to avoid this
  18472. condition. From Masayuki Ishikawa (2018-02-15).
  18473. * drivers/lcd: lcd_framebuffer.c does not need to include board-specific
  18474. board.h. From Gregory Nutt (2018-02-15).
  18475. * include/lcd: Eliminate a warning from an SSD1306 header file by adding a
  18476. forward reference to struct i2c_master_s. From Sebastien Lorquet
  18477. (2018-02-15).
  18478. * lcd/ft80x: This commit adds an FTDI/BridgeTek FT80x driver. It is
  18479. untested (I don't even have hardware yet and, hence, it is marked as
  18480. EXPERIMENTAL (2018-02-16).
  18481. * arch/arm/src/stm32/stm32f33xxx_rcc.c: A flash wait state configuration.
  18482. Flash latency must be fixed according to sysclk frequency. If this
  18483. operation is not done or done after PLL configuration, the STM32 fail to
  18484. continue boot operation if the frequency if greater than 24MHz according to
  18485. the board variable STM32_SYSCLK_FREQUENCY. Tested on stm32f334-disco
  18486. board. From Gwenhael Goavec-Merou (2018-02-17).
  18487. * configs/stm32f746g-disco: Add stm32f746g-disco Ethernet configuration.
  18488. Add USART1 support (connected to the USB virtual serial port) From Louis
  18489. Mayencourt (2018-02-19).
  18490. * drivers/mtd: mtd_config.c: Add still more error handling (to detect bad
  18491. underlying flash implementations). Remove MTD_ERASE that was erasing data
  18492. block instead of erase block. This is a partial revert of 4f18b4.
  18493. Reported-by: Pascal Speck <iktek01@yahoo.com>
  18494. * arch/arm/src/stm32l4: stm32l4_flash: change flash programming to use
  18495. page buffer for unaligned writes. From Juha Niskanen (2018-02-19).
  18496. * arch/arm/src/stm32: stm32_flash.c: add progmem support for STM32L15XX
  18497. From Juha Niskanen (2018-02-20).
  18498. * Added ECANCELED condition to DEBUGASSERT-s checking sem_wait result From
  18499. Dmitriy Linikov (2018-02-20).
  18500. * net/tcp: Fixes hardfault when network goes done and network monitoring
  18501. is in place. From Gianpaolo Ferroni Ariani (2018-02-22).
  18502. * arch/arm/src/sam34: Fix a typo resulting in duplicate names in DMAC bit
  18503. definitions. From Gregory Nutt (2018-02-22).
  18504. * net/tcp: tcp_send_[un]buffered.c: Check routing table in
  18505. psock_send_addrchck(). Previously only ARP table was considered when
  18506. determining if the data will actually be sent. From Juho Grundstrom
  18507. (2018-02-22).
  18508. * net/tcp: Generalize Juho Grundstrom's IPv4 change for IPv6 as well.
  18509. From Gregory Nutt (2018-02-22).
  18510. * arch/arm/src/lc823450: Fix up_enable_irq() timing for I2S. In previous
  18511. commit, I2S IRQ might be sometimes assigned to CPU1 when CONFIG_SMP=y.
  18512. This change fixes this issue. Refactor timer driver. Introduce
  18513. lc823450_timer.h and move lc823450_timerisr.c to lc823450_timer.c Add MTM
  18514. timer APIs for DVFS. Introduce up_rtc_gettime() for CONFIG_RTC_HIRES.
  18515. Introduce idle time calculation in DVFS. Also, DVFS autonomous mode based
  18516. on CPU idle time is supported. NOTE: voltage control is still disabled.
  18517. From Masayuki Ishikawa (2018-02-23).
  18518. * configs/lc823450-xgevk: Update defconfigs. Enable RTC_HIRES instead of
  18519. RTC_DATETIME (audio/rndis). Disable TCP_WRITE_BUFFERS and change
  18520. SCHED_LPWORKPRIORITY (rndis). Update SMP and DVFS related part. From
  18521. Masayuki Ishikawa (2018-02-23).
  18522. * net/icmpv6/icmpv6: Eliminate warnings by correct the type uses to link
  18523. structure into lists. From SP (2018-02-23).
  18524. * configs/viewtool-stm32f107: Add support for FT80X initialization. Add
  18525. ft80x configuration that will eventually be used for testing the ft80x if I
  18526. ever receive hardware. From Gregory Nutt (2018-02-24).
  18527. * Fixed parsing of DNS response packets having compressed names ending with
  18528. pointer. There were troubles parsing response packets which have
  18529. compression of QNAME/NAME field when only trailing part of the name (not
  18530. the whole name) is replaced with pointer to another part of the packet.
  18531. This commit fixes parsing of such packets. Also I added checks to keep
  18532. parsing only in bounds of the read part of DNS response packet. From
  18533. Dmitriy Linikov (2018-02-26).
  18534. * arch/arm/src/stm32f7: Backport RTC alarm setting changes from STM32L4.
  18535. Most notably this fixes RTC getting stuck issue when both alarms were used.
  18536. Root cause was writing RTC ISR register contents to RTC CR register. From
  18537. Juha Niskanen (2018-02-27).
  18538. * stm32_hrtim: add repetition support and fix enum overflow From Mateusz
  18539. Szafoni (2018-02-27).
  18540. * drivers/i2c and drivers/spi: Fix compile if
  18541. CONFIG_DISABLE_PSEUDOFS_OPERATIONS, fix bad NULL checks From Juha Niskanen
  18542. (2018-03-01).
  18543. 7.25 2018-06-03 Gregory Nutt <gnutt@nuttx.org>
  18544. * arch/arm/src/stm32/stm32f33xxx_adc.c: Fix bug in RCC reset logic that
  18545. resets ADC1 configuration when both ADC1 and ADC2 are in use From Mateusz
  18546. Szafoni (2018-03-02).
  18547. * drivers/wireless/cc1101.c: Driver improvements from from lihaichen
  18548. (2018-03-03).
  18549. * Remove all usage of printf() from the OS. That is not an acceptable
  18550. context for the use of an application-oriented interface that depends on a
  18551. task-specific file descriptor and C buffered I/O. From Gregory Nutt
  18552. (2018-03-03).
  18553. * stm32_hrtim: fix capture_get function, add software capture trigger, add
  18554. software reset trigger, add outputs polarization configuration From
  18555. raiden00pl (2018-03-04).
  18556. * Per OpenGroup.org, syslog -- and, hence, nonstandard vsyslog, and debug
  18557. wrappers -- does not return a value. Rename _vsyslog to nx_vsyslog. Use
  18558. internal nx_vsyslog in the few cases where a return value is required.
  18559. From Gregory Nutt (2018-03-04).
  18560. * arch/srm/src/stm32f7: Add CONFIG_RTC_PERIODIC support. Also makes the
  18561. RTC lowerhalf more like in STM32L4. From Juha Niskanen (2018-03-05).
  18562. * drivers/i2c: Add support for the pca9540bdp i2cmultiplexer. From Giorgio
  18563. Groß (2018-03-05).
  18564. * arch/arm/src/stm32: Add support for the STM32F401xB and STM32F401xC
  18565. families. From Gregory Nutt (2018-03-05).
  18566. * drivers/power: Add pm_unregister From Juha Niskanen (2018-03-06).
  18567. * arch/srm/src/stm32f7: add PM hooks to ADC, I2C and SPI. From Juha
  18568. Niskanen (2018-03-06).
  18569. * Makefile.unix: Eliminate the spurious errors reported by 'make
  18570. savedefconfig' From Gregory Nutt (2018-03-07).
  18571. * drivers/net/phy_notify.c: Use phy debug macros instead of net debug
  18572. macros. ninfo() and nerr() are used a bit too much, so the console output
  18573. is difficult to read with network debug. From Sebastien Lorquet
  18574. (2018-03-09).
  18575. * drivers/lcd/ft80x: ACTIVE host command appears to be formatted
  18576. differently than other host commands; Fix ROM CHIPID. Appears to be
  18577. big-ending, BCD. Fix some compile issues when debug features are
  18578. enabled. From Gregory Nutt (2018-03-09).
  18579. * drivers/lcd/ft80x: Fix a typo that caused the driver to fail to recognize
  18580. the ft801 chip version. From Gregory Nutt (2018-03-11).
  18581. * drivrs/leds: Userled driver was using LCD debug output instead of LED
  18582. debug output. From Sebastien Lorquet (2018-03-11).
  18583. * net/tcp: Add support for TCP Keepalive, add SO_KEEPALIVE socket option.
  18584. Adds socket options needed to manage TCP-keepalive and TCP state machine
  18585. logic to detect if that the remote peer is alive. From Gregory Nutt
  18586. (2018-03-12).
  18587. * arch/arm/src/stm32/usb: skip recipient check for descriptor related
  18588. requests From Simon Piriou (2018-03-12).
  18589. * net/tcp: In tcp_input(), add the logic to detect, decode, and respond to
  18590. TCP Keep-Alive packets. In tcp_timer(), fix some problems with the way
  18591. that TCP Keep-Alive probes were being formatted. From Gregory Nutt
  18592. (2018-03-12).
  18593. * stm32f103-minimum: add support for DFU bootloader From Simon Piriou
  18594. (2018-03-12).
  18595. * arch/arm/src/stm32/lowputc: Fix uart glitch when lowputc is enabled..
  18596. From Simon Piriou (2018-03-12).
  18597. * libc/time: Add an implementation of clock() From Gregory Nutt
  18598. (2018-03-13).
  18599. * drivers/sensors: Add support for Sensirion SHT2x humidity sensor From
  18600. Juha Niskanen (2018-03-13).
  18601. * drivers/serial/Kconfig: Kconfig is too big, divide into Kconfig,
  18602. Kconfig-uart, Kconfig-usart, Kconfig-sci, Kconfig-16550. More than one
  18603. MCU supports LPUARTs. Add Kconfig-lpuart and remove MCU-specific LPUART
  18604. definitions. Affects Kinetis and STM32L4. From Gregory Nutt (2018-03-14).
  18605. * libc/lzf: Add Marc Alexander Lehmann's LIBLZF3.6 library From Boris
  18606. Astardzhiev (2018-03-14).
  18607. * configs/stm32f4discover/posix_spawn: With recent changes, needs to enable
  18608. boardctl() w/symbol table support. From Gregory Nutt (2018-03-16).
  18609. * fs/craomfs: Add CROMFS file system. CROMFS is a commpressed, in-memory
  18610. read-only file system based on LZF. From Gregory Nutt (2018-03-19).
  18611. * sched/sched: Fix a deadlock in SMP mode. Two months ago, I introduced
  18612. sched_tasklist_lock() and sched_tasklist_unlock() to protect tasklists in
  18613. SMP mode. This change works well for HTTP audio streaming aging test with
  18614. lc823450-xgevk. However, I found a deadlock in the scheduler when I tried
  18615. similar aging tests with DVFS autonomous mode where CPU clock speed
  18616. changed based on cpu load. In this case, call sequences were as follows.
  18617. To avoid this deadlock, I added sched_tasklist_unlock() when calling
  18618. up_cpu_pause() and sched_addreadytorun(). Also, added
  18619. sched_tasklist_lock() after the call. Also added critical sections to
  18620. lib_filesem.c, mm_sem.c, and net_lock.c for SMP for SMP. From Masayuki
  18621. Ishikawa (2018-03-20).
  18622. * arch/arm/src/stm32l4: Port 1wire driver from stm32. From Juha Niskanen
  18623. (2018-03-20).
  18624. * mm/iob/iob_copyin.c: Fixed problem with send() ret value when using
  18625. nonblocking io over buffered tcp socket From Dmitriy Linikov (2018-03-20).
  18626. * tools/gencromfs.c: Adds tools/gencromfs.c, a tool that can be used to
  18627. generate CROMFS file system images. From Gregory Nutt (2018-03-20).
  18628. * |arch/arm/src/stm32l4: Add PM hooks to I2C, SPI and 1-wire From Juha
  18629. Niskanen (2018-03-21).
  18630. * drivrs/sensors/lis2dh: Clear INT1 at SNIOC_WRITE_INT1THRESHOLD ioctl
  18631. From Jussi Kivilinna (2018-03-21).
  18632. * drivers/sensors/sht21: Change I2C_TRANSFER return value so that it return
  18633. on zero on success, not the count of bytes transferred. From Juha
  18634. Niskanen (2018-03-22).
  18635. * i2c/i2c_master.h: Change incorrect comment about I2C_TRANSFER return
  18636. value to indicate that the method returns zero on success rather than the
  18637. number of bytes transferred. From Juha Niskanen (2018-03-22).
  18638. * configs/: Remove configurations using canutils/libuavcan and
  18639. examples/uavcan. libuavcan has not built for a year or so. The basic
  18640. problem is that as NuttX advances, the old frozen version of libuavcan has
  18641. become absolute because it violates the portable POSIX OS interface. No
  18642. one is maintaining the port so there is no alternative but to remove it.
  18643. From Gregory Nutt (2018-03-23).
  18644. * STM32, STM32L4: Add one bit read and write to 1-wire interface. This is
  18645. needed for devices that require single bit timeslot generation and for
  18646. 1-Wire search algorithm triplets. From Juha Niskanen (2018-03-23).
  18647. * arch/arm/src/imx6: Bring in a few i.MX6 fixes that were committed on the
  18648. i.MX RT branch. From Gregory Nutt (2018-03-23).
  18649. * configs/: Add definition of strip to many Make.defs files. From Gregory
  18650. Nutt (2018-03-25).
  18651. * arch/arm/src/nrf52: Initial support for the NRF52 include UART and GPIO
  18652. support. From Janne Rosberg (2018-03-26).
  18653. * Per Matias Edlund: I recently used the tcflush function and found that it
  18654. failed with ENOTTY. The reason is that the TCFLSH case in the function
  18655. uart_ioctl in the file drivers/serial/serial.c does not update the ret
  18656. value." On success, the TCFLSH IOCTL logic needs to explicitly set the
  18657. return value (ret) to zero. From Gregory Nutt (2018-03-26).
  18658. * netdb: Fix boundary conditions in dns_recv_response(). Fix typos in
  18659. include/nuttx/net/dns.h From Masayuki Ishikawa (2018-03-27).
  18660. * configs/nrf52-pca10040: Add support for the NRF52-PCA10040 board
  18661. including LEDs and buttons From Janne Rosberg (2018-03-27).
  18662. * arch/arm/src/stm32: In case of PHY failure, usually because of the lack
  18663. of 25/50 MHz REFCLK input, the Ethernet block would lock up in a while
  18664. loop waiting for readiness, which will never happened. This prevented the
  18665. board from starting at all in the case of a PHY failure. This commit adds
  18666. a retry loop to avoid bricking the board if the Ethernet block is unable
  18667. to start. From Sebastien Lorquet (2018-03-27).
  18668. * mac802154: Adds basic support for RX-ENABLE.request primitive From
  18669. Anthony Merlino (2018-03-28).
  18670. * mac802154: Adds ackreq flag to TX descriptor for use by radio driver. The
  18671. radio layer is responsible for a full "transaction". Because of
  18672. differences in radio capabilities, the radio must be responsible for the
  18673. handling of acks and retransmissions. This commit simply passes the ackreq
  18674. meta-data flag along to the radio. Also Fixes bug where primitive was
  18675. freed when it shouldn't have been, causing double free call. From Anthony
  18676. Merlino (2018-03-28).
  18677. * wireless/bluetooth: Bring in the Bluetooth stack from the Intel/Zephyr
  18678. arduino101_firmware_source-v1.tar package.
  18679. * drivers/bluetooth: Adds re-architected version of the Bluetooth UART
  18680. driver from the Intel/Zephyr arduino101_firmware_source-v1.tar package.
  18681. From Gregory Nutt (2018-03-29).
  18682. * wireless/bluetooth and include/nutt/net: Add support for Bluetooth IOCTL
  18683. commands. From Gregory Nutt (2018-03-30).
  18684. * net/bluetooth: Adds basic support for AF_BLUETOOTH sockets. From Gregory
  18685. Nutt (2018-03-31).
  18686. * arch/arm/src/tiva: Fix compilation errors on Tiva ADC code when ADC is
  18687. enable. From Vinicius Maciel (2018-04-01).
  18688. * drivers/wireless/bluetooth: Add a NULL device to support some very low
  18689. level testing on the Simulator. From Gregory Nutt (2018-04-03).
  18690. * configs/sim: Add a configuration that will support some limited testing
  18691. of the Bluetooth stack. From Gregory Nutt (2018-04-03).
  18692. * Change all Sony related copyright to conform with our company's internal
  18693. rules. From Masayuki Ishikawa (2018-04-04).
  18694. * drivers/wireless/cc3000: Eliminate support for the CC3000 wireless part
  18695. because it doesn't use the USRSOCKET. From Alan Carvalho de Assis
  18696. (2018-04-04).
  18697. * configs/spark: Removes Spark board configuration. Still available in the
  18698. Obsoleted repository. If there is no CC3000 support, then there is no
  18699. purpose in supporting the Spark either. From Gregory Nutt (2018-04-04).
  18700. * drivers/1wire: Add 1-wire subsystem and ds28e17 driver From Juha
  18701. Niskanen (2018-04-04).
  18702. * stm32/Kconfig: Add ADC injected channels configuration; stm32f334-disco:
  18703. Add buck/boost converter example configuration From Mateusz Szafoni
  18704. (2018-04-04).
  18705. * drivers/mtd/w25.c: Fix w25_cacheflush sector bug. From lihaichen
  18706. (2018-04-04).
  18707. * arch/arm/src/stm32 and stm32l4: In 1wire driver, do not write useless
  18708. WRITEBIT zero return value to const buffer From Juha Niskanen (2018-04-04).
  18709. * drivers/sensors: Add LSM330 SPI and ADXL372 drivers along with the
  18710. cluster driver infrastructure. From Bob Feratich (2018-04-07).
  18711. * drivers/power/motor.c: Add generic upper-half motor driver From Mateusz
  18712. Szafoni (2018-04-09).
  18713. * drivers/sensors/max31855: Add multiple max31855 sensors feature and
  18714. support for bambino-200e and stm32f4discovery From Tiago Almeida
  18715. (2018-04-09).
  18716. * arch/arm/include/tiva and configs/cc3200-launchpad: Remove all support
  18717. for the CC3200 and CC3200-Launchpad. This was a port that was started but
  18718. never completed. What good is partial CC3200-Launchpad board support with
  18719. no wireless support? From Gregory Nutt (2018-04-09).
  18720. * drivers/sensors/apds9960.c: Fix APDS9960 work queue BUG found by Kyle
  18721. Lei From Alan Carvalho de Assis (2018-04-10).
  18722. * tools/uncrustify.cfg: An initial cut at an uncrustify C formatting
  18723. script. From Gregory Nutt (2018-04-11) Updated, corrected, and verified.
  18724. From Bob Feretich (2018-04-11).
  18725. * tools/nxstyle.c;: Add check for blank lines before and after single line
  18726. comments. From Bob Feretich (2018-04-11).
  18727. * arch/arm/src/: Problem: stm32f30xx hangs waiting for LSE to initialize.
  18728. Reason for hang is that operation of setting LSE_ON does not take effect
  18729. because there is no clock on PWR peripheral. this is initialized later in
  18730. the code From Michał �yszczek (2018-04-11).
  18731. * arch/arm/src/imxrt: Brings in basic support for the i.MX RT 1050
  18732. 'crossover' SoC. Includes timer and UART support. This port was the
  18733. joint effort of Janne Rosberg, Ivan Ucherdzhiev, and myself. I give
  18734. credit to Ivan for the kill because he is the one to held on to the end.
  18735. From Ivan Ucherdzhiev (2018-04-12).
  18736. * sched/sched: Change ordering of round-robin time slice check
  18737. (sched_process_scheduler()) and processing of wdog timers (wd_timer()).
  18738. wd_timer()'s callback function can change current running task and, hence,
  18739. must be done after the time slice check. The time slice check will
  18740. decrement the currently running task's time slice allotment. If such a
  18741. context switch occurs, then the newly started task will lost one could of
  18742. that allotment before it even has a chance to run. From EunBong Song
  18743. (2018-04-13).
  18744. * arch/arm/src/stm32: Adds a Bluetooth HCI UART lower half driver for the
  18745. STM32. From Gregory Nutt (2018-04-13).
  18746. * configs/imxrt1050-evk: This commit adds support for booting from the on
  18747. board HYPER Flash. From Ivan Ucherdzhiev (2018-04-13).
  18748. * configs/stm32fdiscovery: Add support in bringup logic to initialize the
  18749. HCI UART and register the HCI UART network device. From Gregory Nutt
  18750. (2018-04-13).
  18751. * fs/smartfs: Fix a hardfault in SmartFS. Problem occurred when opening a
  18752. file with O_CREAT (only) when the file arelready exists but has a size of
  18753. zero. From Michał �yszczek (2018-04-14).
  18754. * arch/arm/src/xmc4: Add SPI support for Infineon XMC45xx microcontroller
  18755. From Alan Carvalho de Assis (2018-04-14).
  18756. * fs/mount: Fix wrong size reported by df -h. Reason is that size in bytes
  18757. is calculated always on uint32_t types and cards bigger than 4GB will
  18758. overflow uint32_t type. Solution is to use uint64_t where possible. From
  18759. Michał �yszczek (2018-04-14).
  18760. * tools/mkromfsimg.sh: Include an option in mkromfsimg.sh to ignore
  18761. FAT/RAMDISK. This permits you to build tiny systems with ROMFS but with
  18762. the rather large FAT FS support. From Alan Carvalho de Assis (2018-04-14).
  18763. * arch/arm/src/imxrt: Corrects error in serial interrupts and baud setup.
  18764. Now the basic IMXRT1050-EVK port is ready. The console is working. From
  18765. Ivan Ucherdzhiev (2018-04-17).
  18766. * arch/arm/src/imxrt: Add power management hooks From Gregory Nutt
  18767. (2018-04-17).
  18768. * net/sixlowpan: Fix a nasty, byte-ordering/endian-ness problem. The root
  18769. cause has been found and corrected. And a half dozen or so bandaid fixes
  18770. were reverted. From Gregory Nutt (2018-04-17).
  18771. * arch/arm/include/tms570, arm/src/armv7-r, and arm/src/tms570: Adds
  18772. support for the TMS570LS3137ZWT and corrects several ARMv7-R and TMS570
  18773. issues From Gregory Nutt (2018-04-18).
  18774. * configs/tms570ls31x-usb-kit: Adds support for the TI Hercules TMS570LS31x
  18775. USB Kit From Ivan Ucherdzhiev (2018-04-18).
  18776. * drivers/ieee802154/xbee: Adds a timeout to send logic to handle case
  18777. where XBee module fails to respond to a Transmit request with a Transmit
  18778. Status From Anthony Merlino (2018-04-19).
  18779. * arch/arm/src/tiva: Allow building of Tiva platform with no serial
  18780. console. From Dmitry Sharihin (2018-04-19).
  18781. * drivers/net: Add TAP (network bridge) mode to tun.c. In previous
  18782. implementation, TAP mode did not handle a packet correctly. Also, the
  18783. driver did not set the link layer type and could not assign the interface
  18784. name. This change fixes such issues and supports TAP mode correctly. From
  18785. Masayuki Ishikawa (2018-04-20).
  18786. * arch/arm/src/nrf52: Add watchdog timer drivers. Includes significant
  18787. updates from Alan Carvalho de Assis <acassis@gmail.com> From Levin Li
  18788. (2018-04-20).
  18789. * configs/nrf52-pca10040: Add support for starting the watchdog timer on
  18790. the nRF52. From Alan Carvalho de Assis (2018-04-20).
  18791. * net/tcp: Extended support for sending to non-blocking tcp sockets. From
  18792. Pelle Windestam (2018-04-20).
  18793. * configs/nrf52-pca10040: Add a configuration for testing the watchdog
  18794. timer. From Alan Carvalho de Assis (2018-04-20).
  18795. * arch/arm/src/nrf52: nrf52_wdt_initialize() should return a success/fail
  18796. indication. From Gregory Nutt (2018-04-20).
  18797. * arch/arm/src/stm32: Enable DMA for SPI on stm32f30xxx MCUs. From Michał
  18798. �yszczek (2018-04-20).
  18799. * configs/imxrt1050-evk: Add logic to support user LED From Jake Choy
  18800. (2018-04-20).
  18801. * fs/vfs: Fix negative errno set in fs_open.c From Michał �yszczek
  18802. (2018-04-20).
  18803. * /arch/arm/src/lpc17xx: Fix USB device endpoint allocation bookkeeping.
  18804. From Michael Jung (2018-04-21).
  18805. * configs/stm32f4discovery: Add MAX7219 support to STM32F4Discovery board
  18806. From Alan Carvalho de Assis (2018-04-21).
  18807. * configs: Review all implementations of board_lcd_initialize(). The NuttX
  18808. convention is that all internal functions that return errors as an 'int'
  18809. must return a negated errno value on failure and a non-negative value on
  18810. success. Most were right but eight of them had cloned logic that returns
  18811. 1 on success and zero on failure... both of which are interpreted as
  18812. success by the caller since they are non-negative. From Gregory Nutt
  18813. (2018-04-21).
  18814. * Makefile: Add support for nconfig frontend for 'make nconfig' From Michał
  18815. �yszczek (2018-04-22).
  18816. * arch/arm/sc/lpc17xx: Freeing endpoints should be set the same allocations
  18817. as when endpoint was allocated. From Gregory Nutt (2018-04-23).
  18818. * configs/imxrt1050-evk: Add procfs auto-mount support in imxrt_bringup.c.
  18819. From Ivan Ucherdzhiev (2018-04-24).
  18820. * drivers/1wire: Add PM hooks and unlink support to sht21 sensor (allowing
  18821. hot-swappable I2C bus from 1-wire converter). Unlike most other unlink
  18822. implementations in NuttX drivers, this one does not allow any I2C
  18823. operations after unlink, making it possible to deallocate the I2C bus.
  18824. From Juha Niskanen (2018-04-24).
  18825. * configs/ stm32f746g-disco. Add clang support to stm32f746g-disco board
  18826. From Goran Mekić (2018-04-24).
  18827. * net/udp: Fix several issues using connected UDP sockets: sendto() should
  18828. not accept an address. Normally send() should be used with connect UDP
  18829. sockets instead. recvfrom() is no longer necessary. recvfrom() and
  18830. poll() should not reset to accept any addresses but should, instead, only
  18831. accept inputs and events from the connected remote peer. On of these
  18832. issues was noted by �桂� <liguiding@pinecone.net>. Changes were made as
  18833. summarized here:
  18834. http://www.masterraghu.com/subjects/np/introduction/unix_network_programming_v1.3/ch08lev1sec11.html
  18835. From Gregory Nutt (2018-04-25).
  18836. * include/nuttx/wireless: Add a setbaud() method to the HCI UART lower half
  18837. interface that can be used to change the default BAUD selection.
  18838. arch/arm/src/stm32: Implement the setbaud() method for the STM32 HCI
  18839. UART. From Gregory Nutt (2018-04-25).
  18840. * arch/arm/src/imxrt: Minor repartitioning to account for the fact that the
  18841. GPIO5 base address is not contiguous with the GPIO1-4 base addresses.
  18842. From Gregory Nutt (2018-04-25).
  18843. * arch/arm/src/imxrt/chip: Add some missing definitions for GPIO5 From
  18844. Gregory Nutt (2018-04-25).
  18845. * fs/vfs: Added support for checking if a descriptor is a socket in
  18846. fstat(). From Pelle Windestam (2018-04-26).
  18847. * drivers/wiresless/ieee80211: Correct some initialization problems with
  18848. BCM43362 chip. Adds BCM43428 support. arch/arm/src: Add support for SDIO
  18849. card to SDIO driver. From hhuysqt (2018-04-26).
  18850. * arch/arm/src/imxrt: Add LIBCXX test configuration for IMXRT. From
  18851. Gregory Nutt (2018-04-26).
  18852. * configs/photon: Configurations the use the SDIO card interface must
  18853. support CONFIG_STM32_SDIO_CARD. From Gregory Nutt (2018-04-26).
  18854. * arch/or1k/src and configs/or1k. Adds basic architectural support for the
  18855. OpenRISK mor1kx architecture. The initial commit was verified on a Qemu
  18856. simulation but is otherwise untested. From Matt Thompson (2018-04-26).
  18857. * configs/stm32f429i-disco: Add a LittlevGL configuration for
  18858. stm32f429i-disco From seyyah (2018-04-26).
  18859. * net/udp: Correct an error introduce in recent fixes for UDP connected
  18860. sockets. The interaction between psock_udp_send() and psock_udp_sendto()
  18861. was perverse: It should always pass a NULL destinatino address. From
  18862. Gregory Nutt (2018-04-26).
  18863. * Cosmetic changes to README and to comments. From Gregory Nutt
  18864. (2018-04-26).
  18865. * arch/arm/include/nrf52: All nRF52 IRQs above NRF52_IRQ_TEMP were wrong.
  18866. From Alan Carvalho de Assis (2018-04-26).
  18867. * net/udp: Fix a backward conditional test added in commit
  18868. 434da18cd71ae667c801f41291fbbc205b24320b. From Gregory Nutt (2018-04-27).
  18869. * arch/arm/src/imxrt: IMXRT LPUART Clock enable fix. From Ivan Ucherdzhiev
  18870. (2018-04-27).
  18871. * fs/vfs and net/udp: Repartition logic of commit
  18872. 0c963449d6e8f5f8b2dfe96e9de3116633a3749a, moving into net/udp. Add
  18873. support to handle connected UDP sockets. The correct 'optimal blksize' to
  18874. return is the MSS. The MTU is always too big. From Gregory Nutt
  18875. (2018-04-27).
  18876. * arch/arm/src/imxrt: Add IOMUX implemention for GPIO5. From Jake
  18877. (2018-04-27).
  18878. * net/udp: Remove an unused variable warning. Add some comments. From
  18879. Gregory Nutt (2018-04-27).
  18880. * arch/arm/src/kinetis: USB device fixes: Use correct CONFIG OTG control,
  18881. Fix interrupt storm when cable is disconnected. The DM, DP state were
  18882. incorrect because the pulldowns were not enabled. Also the pending
  18883. asynchronous resume interrupt needed to be re-armed after the suspend is
  18884. in effect. This is now done in the isr. From David Sidrane (2018-04-28).
  18885. * arch/arm/src/tiva: Add TERMIOS IOCTL support to the Tiva serial driver.
  18886. From Dmitry Sharihin (2018-04-28).
  18887. * configs/nucleo-l476rg: Add support to Nokia LCD PCD8544 on nucleo-l476rg
  18888. From Alan Carvalho de Assis (2018-04-28).
  18889. * configs/nucleo-l476rg: Add nxdemo configuration to nucleo-l476rg using
  18890. PCD8544 From Alan Carvalho de Assis (2018-04-28).
  18891. * Makefile.unix: There is a sort command in the 'make savedefconfig' file.
  18892. I found that sort behaves differently on different platforms based on the
  18893. environment variable LC_ALL. Now, Makefile.unix will force LC_ALL=C just
  18894. for the sort command so that we can all generate equivalent defconfig
  18895. files. From Gregory Nutt (2018-04-29).
  18896. * arch/arm/src/tiva: Implements an EEPROM driver in compliance with MTD
  18897. driver as provided by NUTTX for TM4C1294. The EEPROM driver currently
  18898. supports only two functionalities - read bytes(multiple of 4) and write
  18899. bytes (multiple of 4). From Shirshak Sengupta (2018-04-29).
  18900. * arch/arm/src/tiva: Implemented Flash CONFIG_MTD_BYTE_WRITE for TM4c1294.
  18901. Implemented the tiva_write function which will write an arbitrary number
  18902. of bytes to flash (in multiple of 4). From Shirshak Sengupta (2018-04-29).
  18903. * progmem interface: Discern r/w and erase page sizes. Introduce new
  18904. up_progmem_erasesize architecture API to be able to communicate the
  18905. read/write page size independently from erase page size. Implement
  18906. up_progmem_erasesize for all architectures that already support progmem,
  18907. assuming that for those architectures the sizes of both read/write and
  18908. erase pages are identical. From Michael Jung (2018-05-01).
  18909. * arch/arm/src/include/kinetis and src/kinetis: Add architecture support
  18910. for the Kinetis K28F. From Gregory Nutt (2018-05-01).
  18911. * arch/arm/src/imxrt: This commit fixes more issues with the i.MX RT GPIO
  18912. IRQ. Add check for interrupt mask register before dispatching ISR. The
  18913. GPIO_ISR bits are set independent of the GPIO_IMR bits. Fixed a range
  18914. check for extint in function imxrt_irqinfo(). From Jake Choy (2018-05-01).
  18915. * configs/imxrt1050-evk: This commit adds support for the imxrt button.
  18916. From Jake Choy (2018-05-01).
  18917. * arch/arm/src/lpc17xx: This commit adds a configurable option to allow
  18918. using a part of LPC17xx's internal flash memory as a Memory Technology
  18919. Device via NuttX' mtd_progmem infrastructure. Tested with LPC1769. From
  18920. Michael Jung (2018-05-01).
  18921. * arch/arm/src/imxrt: Add GPIO5 IRQ support. From Jake Choy (2018-05-02).
  18922. * configs/freedome-k28f. Adds support for the Kinetis Freedom-K28F board.
  18923. From Gregory Nutt (2018-05-02).
  18924. * fs/nfs/rpc_clnt.c: Commit 091e3f7 broke the NFS client. sendto() can
  18925. (correctly) no longer be used with a connected UDP socket. In that case,
  18926. send() must be used instead. From Michael Jung (2018-05-02).
  18927. * drivers/rgbled: Adds support for multichannel PWM (multiple PWM channels
  18928. on a single timer) From Anthony Merlino (2018-05-02).
  18929. * drivers/sensors: Adds support for INA3221 power sensor. This has a 3
  18930. channel bus/shunt voltage pairs. From Anthony Merlino (2018-05-02).
  18931. * configs/photon: Adds RGB led support From Anthony Merlino (2018-05-02).
  18932. * arch/arm/src/nrf52: Add nRF52 Flash PROGMEM support From Alan Carvalho
  18933. de Assis (2018-05-04).
  18934. * configs/freedom-k28f: The NSH configuration is now functional on the
  18935. freedom-k28f board. Also fixes corrects the active logic level for the
  18936. RGB LED. arch/arm/src/kinetis/chip: Fixes an error in vector
  18937. configuration. From Gregory Nutt (2018-05-05).
  18938. * configs/freedom-k28f: If drivers/leds/rgbled.c is enabled, then treat the
  18939. board as though it had no discrete LEDs. From Gregory Nutt (2018-05-05).
  18940. * arch/arm/src/lpc17xx: Add support for ARMv7-M run time stack checking on
  18941. NXP LPC17xx MCUs based on CONFIG_ARMV7M_STACKCHECK. Basically copied from
  18942. stm32. From Michael Jung (2018-05-06).
  18943. * arch/arm/src: All ARM and MIPS architectures now support
  18944. CONFIG_ARCH_IDLE_CUSTOM From Gregory Nutt (2018-05-07).
  18945. * drivers/mtd/mtd_config.c: mtdconfig_register() returned OK instead of
  18946. -ENOMEM on failed malloc From Michał �yszczek (2018-05-08).
  18947. * configs/teensy-3.x/usbnsh: Remove CONFIG_USBDEV_DUALSPEED from
  18948. configuration. Hardware supports only FS. From Gregory Nutt (2018-05-09).
  18949. * libc/unistd: Initial, minimal implementation of sysconf(). Only
  18950. sufficient to support the functionality of less standard
  18951. getdtabilesize(). From Michael Jung (2018-05-10).
  18952. * Documentation/NuttShell.html: Document the mkfatfs the -r option which
  18953. can be used to specify the number of entries in the FAT12/FAT16 root
  18954. directory. From Gregory Nutt (2018-05-11).
  18955. * LibTargets.mk, tools/Config.mk: Drop executable bit on installed
  18956. libraries. The rules to install libraries under lib/ were modified to use
  18957. mode 0644 instead of the default 0755. From Andrey Zabolotnyi (2018-05-12).
  18958. * arch/arm/src/stm32: Add internal pull-up option for SDIO pins (also picks
  18959. up an unrelated change to a README.txt file) From Alan Carvalho de Assis
  18960. (2018-05-12).
  18961. * arch/arm/src/kinetis + SDHC configs: Make Kinetis SDHC pullups work the
  18962. same as the STM32 SDIO pullups From Gregory Nutt (2018-05-12).
  18963. * net/udp: Resolve race condition in connection-less UDP sockets with
  18964. read-ahead buffering. In connection-mode UDP sockets, a remote address is
  18965. retained in the UDP connection structure. This determines both there
  18966. send() will send the packets and which packets recv() will accept. This
  18967. same mechanism is used for connection-less UDP sendto: A temporary remote
  18968. address is written into the connection structure to support the sendto()
  18969. operation. That address persists until the next recvfrom() when it is
  18970. reset to accept any address. When UDP read-ahead buffering is enabled,
  18971. however, that means that the old, invalid remote address can be left in
  18972. the connection structure for some time. This can cause read-ahead buffer
  18973. to fail, dropping UDP packets. Shortening the time between when he remote
  18974. address is reset (i.e., immediately after the sendto() completes) is not a
  18975. solution, that does not eliminate the race condition; in only makes it
  18976. smaller. With this change, a flag was added to the connection structure
  18977. to indicate if the UDP socket is in connection mode or if it is
  18978. connection-less. This change effects only UDP receive operations: The
  18979. remote address in the UDP connection is always ignored if the UDP socket
  18980. is not in connection-mode. No for connection-mode sockets, that remote
  18981. address behaves as before. But for connection-less sockets, it is only
  18982. used by sendto(). From Gregory Nutt (2018-05-13).
  18983. * include/sys: Add resource.h From Gregory Nutt (2018-05-13).
  18984. * rgbled: Fixes led issues caused by uninitialized memory with
  18985. CONFIG_RGBLED_MULTICHAN. The uninitialized pwm_info_s struct caused a
  18986. rogue channel to be started causing errros in the pwm driver From Anthony
  18987. Merlino (2018-05-14).
  18988. * arch/arm/src/imxrt/chip: Add pin multiplexing header files. From Gregory
  18989. Nutt (2018-05-14).
  18990. * configs/nucleo-l452re: Add buttons example From Juha Niskanen
  18991. (2018-05-15).
  18992. * arch/arm/src/imxrt/imxrt_serial.c: Fix some interrupt instabilities; must
  18993. be in a critical section when modifying serial interrupts.
  18994. configs/imxrt1050-evk/nsh/defconfig: Use the BASEPRI register to
  18995. enable/disable interrupts; enable the PROCFS file system. From Gregory
  18996. Nutt (2018-05-15).
  18997. * arch/arm/src/imxrt: Add missing support for the Cortex-M7 caches;
  18998. configs/imxrt1050-evk: Enable I- and D-Caches in the nsh configuration.
  18999. Calibrate the delay loop. Add support for the on-board LED. From Gregory
  19000. Nutt (2018-05-15).
  19001. * arch/arm/src/imxrt: Corrects some IOMUX controls. From Jake Choy
  19002. (2018-05-15).
  19003. * net/sixlowpan: Preserve big-endian (network order) when uncompressing
  19004. address. From Anthony Merlino (2018-05-15).
  19005. * arch/arm/src/imxrt/chip: Add DMA channel assignments. From Gregory Nutt
  19006. (2018-05-15).
  19007. * arch/arm/src/stm32f7: Add support for the second SDMMC device. The
  19008. second SDMMC device was already supported but the clock was never
  19009. enabled. This fixes that. From William Douglas (2018-05-15).
  19010. * arch/arm/src/imxrt: Add eDMA support (unverified). From Gregory Nutt
  19011. (2018-05-16).
  19012. * net/sixlowpan: TCP send should have PSH and ACK flags set when sending.
  19013. This matches the standard network (Ethernet) TCP send logic. From Anthony
  19014. Merlino (2018-05-17).
  19015. * net/udp: Recent changes to UDP in order to correct problems with UDP
  19016. connection mode introduced a new bug: The 'to' address passed to sendto()
  19017. must now be NULL in connection mode. But there are errors because there
  19018. was one place where the 'to' address was still being used. This commit
  19019. adds logic to first check for UDP connection mode. If the UDP socket is
  19020. connected, then the NULL 'to' address is ignored and saved connection
  19021. address is used instead. From Gregory Nutt (2018-05-17).
  19022. * arch/arm/src/stm32: Added Vbat measurement to adc driver for STM32F20xx
  19023. and STM32F4xxx. As with the MCU temperature and VREFINT measurement, this
  19024. change requires user to enable the corresponding channel first. For Vbat
  19025. channel the ioctl cmd is IO_ENABLE_DISABLE_VBAT_CH, and its arg should be
  19026. a pointer to bool which must be true to enable and false to disable the
  19027. Vbat channel. Moreover, since Vbat input contains a built-in voltage
  19028. divider, it is highly suggested to disable Vbat input channel after
  19029. measurement is done in order to prevent battery drain through the
  19030. divider. From Dmitriy Linikov (2018-05-18).
  19031. * configs/stm32l1discovery: Add support for the STM32L152RCT6 version.
  19032. From Gregory Nutt (2018-05-18).
  19033. * configs/stm32f4discovery/audio: Add board configuration for CS43L22 audio
  19034. example. From Alan Carvalho de Assis (2018-05-19).
  19035. * drivers/lcd and configs/olimex-lpc1766stk: Remove support for the
  19036. Nokia6100 LCD. That LCD uses a 9-bit SPI interface (the 9th bit being the
  19037. command/data bit that is normally a discrete). That communication was
  19038. never successfully integrated. I now believe that it would would require
  19039. some special support from the low-level, MCU SPI driver to manage that 9th
  19040. bit. The deleted code is still available in the Obsoleted repository in
  19041. the nuttx/drivers/lcd, nuttx/configs/olimex-lpc1766stk, and Patches
  19042. directories. From Gregory Nutt (2018-05-19).
  19043. * arch/arm/src/lpc17xx/lpc17_usbdev.c: Fix loss of RX initiatives. USB
  19044. bulk endpoints are double buffered on LPC17xx MCUs. This means that up to
  19045. two packets might be received on an OUT endpoint that can not be handled
  19046. immediately if the receive request queue is empty. Thus, rxpending must
  19047. be a counter not a boolean flag. From Michael Jung (2018-05-20).
  19048. * configs/imxrt1050-evk/src: Add support for on-board NOR FLASH boot. From
  19049. Ivan Ucherdzhiev (2018-05-21).
  19050. * fs/fat: In fs_stat(), when stat'ing the root directory, avoid calculating
  19051. the address of the root directory entry. The calculation is bogus (but
  19052. not harmful) because the root directory does not have a directory entry.
  19053. Noted by Boris Astardzhiev. From Gregory Nutt (2018-05-23).
  19054. * fs/fat: Avoid calculating the bogus directory entry address for the FAT
  19055. root directory (since it has no directory entry). This change should have
  19056. no effect, other than making the logic clearer. From Boris Astardzhiev
  19057. (2018-05-24).
  19058. * configs/indium-f7: Removes support for the Indium-F7 board. This was
  19059. done for two reasons: (1) The board support was just clone of the
  19060. Nucleo-144 board support with naming changes. There has been no support
  19061. and no further development for the board support. (2) There does not seem
  19062. to be any available Indium-F7 board available to the public anywhere on
  19063. the internet. There is not even a reference to the board on the
  19064. rafresearch.com web stie. Gotta go. Its in the way. From Gregory Nutt
  19065. (2018-05-24).
  19066. * arch/arm/src/imxrt: Add Ethernet driver. From Jake Choy (2018-05-25).
  19067. * arch/arm/src/imxrt: Add cache operations to permit the Ethernet driver to
  19068. work with the D-Cache enabled, at least in write-through mode. Add
  19069. support for PHY interrupts and PHY IOCTLs.
  19070. * configs/imxrt1050-evk/netnsh/defconfig: Disable LED support because pins
  19071. conflict with PHY. Enable device statistics. Enable NSH ifup and ifdown
  19072. commmands. Add an NSH configuration for testing Ethernet. From Gregory
  19073. Nutt (2018-05-25).
  19074. * configs/xmc4500-relax: Add board support for SPI From Alan Carvalho de
  19075. Assis (2018-05-26).
  19076. * configs/olimex-stm32-p407: Add a zmodem test configuration. From Gregory
  19077. Nutt (2018-05-26).
  19078. * drivers/serial: Add a timeout to uart_tcdrain(). Even if tcflush() is
  19079. used to discard buffered data, the close() can still hang if (a) hardware
  19080. flow control is enabled, (b) CTS == 1, and (c) there is data stuck in the
  19081. hardware Tx FIFO. tcflush() does not currently clear the MCU serial
  19082. drivers' hardware Tx FIFOs. This is a workaround for that. From Gregory
  19083. Nutt (2018-05-27).
  19084. * Build system: Remove fixed lib/ subdirectory and its content. Replace
  19085. with new directory called staging/ that is created dynamically when
  19086. building and removed when 'make clean' is done. This both improves the
  19087. name and eliminates a garbage directory from the repository. From Gregory
  19088. Nutt (2018-05-29).
  19089. * Build system: Move all build-related files (except the top-level
  19090. Makefile) into the tools/ sub-directory. This really cleans up the
  19091. top-level directory. From Gregory Nutt (2018-05-29).
  19092. * libs/: This commit moves all of the libraries under a common directory
  19093. called libs/ (libc, libnx, and libxx). This most certainly break libcxx
  19094. for now. From Gregory Nutt (2018-05-29).
  19095. * libs/libdsp: Adds DSP support library. From Mateusz Szafoni (2018-05-30).
  19096. * arch/arm/src/kinetis: In kinetis_lowputc.c, fix esBRFA calculation
  19097. effecting baudrate. Previous BRFA was not cleared and or-ed into new
  19098. BRFA, hence, buadrate was wrong. Where Baud Rate Fractional Divisor
  19099. (BRFD) UART baud rate = clock / (16 * (SBR + BRFD)) From David Sidrane
  19100. (2018-05-30).
  19101. * arch/arm/src/kinetis: In kinetis_lowputc.c, fixed parity settings.
  19102. Kinetis UART must be placed in 9 bit mode (M=1) with when 8 bit data with
  19103. parity is required. If left in 8 bit mode (M=0) with parity then D7 of the
  19104. TX/RX register becomes parity bit. Hence what is called 9-bit or 8-bit
  19105. Mode Select is a misnomer. 8 bit mode when parity is enabled is realy 7
  19106. bit with parity. From David Sidrane (2018-05-30).
  19107. * arch/sim: Various fixes necessary to build the simulator under MSYS2.
  19108. From Gregory Nutt (2018-05-31).
  19109. * Makefile: The clean_context target needs to invoke a corresponding
  19110. clean_context target in the apps/Makefile in order to remove linkages
  19111. From Gregory Nutt (2018-05-31).
  19112. * configs/stm32f4discovery: Add Load Modules flags to STM32F4Discovery
  19113. board From Alan Carvalho de Assis (2018-06-01).
  19114. * libs/libc/modlib/modlib_verify.c: Fix backward test for an error. From
  19115. Gregory Nutt (2018-06-01).
  19116. * Change all references from OSX to macOS From Gregory Nutt (2018-06-01).
  19117. * tools/sethost.sh: Add support for macOS From Gregory Nutt (2018-06-01).
  19118. * configs/olimex-stm32-p407: Add the module configuration. From Gregory
  19119. Nutt (2018-06-01).
  19120. * configs/xmc4500-relax/src: Call xmc4_spidev_initialize() in xmc4_boot.c.
  19121. From Alan Carvalho de Assis (2018-06-02).
  19122. * configs/stm32f4discovery: Add a module configuration for testing the
  19123. kernel module example with the STM32F4Discovery board. From Alan Carvalho
  19124. de Assis (2018-06-02).
  19125. 7.26 2018-09-08 Gregory Nutt <gnutt@nuttx.org>
  19126. * tools/kconfig2html.c: Due to new usage, tool needs to be able to
  19127. handle configuration files with names other than Kconfig. From
  19128. Gregory Nutt (2018-06-03).
  19129. * arch/arm/src/stm32: Added progmem interface support for STM32F20XX
  19130. From Dmitriy Linikov (2018-06-05).
  19131. * arch/arm/src/stm32/chip/stm32_flash.h: Add register definitions for
  19132. F1 parts that have dual banked FLASH. From Dmitriy Linikov
  19133. (2018-06-05).
  19134. * arch/arm/src/stm32: STM32 FLASH logic has reached a limit in
  19135. complexity and, hence, needs to be divided into multiple C files of
  19136. lower complexity. From Gregory Nutt (2018-06-05).
  19137. * configs/lc823450-xgevk: Add loopback test for digital MIC on lc823450
  19138. via i2schar driver. From Masayuki Ishikawa (2018-06-05).
  19139. * arch/arm/src/stm32: Implement support for STM32 F1 banked FLASH From
  19140. Gregory Nutt (2018-06-05).
  19141. * arch/arm/src: Change ASSERT macros to DEBUGASSERT. From Juha
  19142. Niskanen (2018-06-06).
  19143. * stm32f334-disco/buckboost: Use a PID controller from libdsp From
  19144. Mateusz Szafoni (2018-06-06).
  19145. * arch/: Make sure the up_irq_enable() is available on all
  19146. architectures. From Gregory Nutt (2018-06-06).
  19147. * Based on a change recommended by Mark Shulte:
  19148. Signal handlers maybe run with interrupts enabled or disabled,
  19149. depending on how the task the received the signal was blocked. (i.e.:
  19150. If sem_wait() is called, then we disable interrupts, then block the
  19151. currently running task). This could be dangerous, because user code
  19152. would be running with interrupts disabled.
  19153. This change forces interrupts to be enabled in up_sigdeliver() before
  19154. executing the signal handler calling up_irq_enable() explicitly.
  19155. This is safe because, when we return to normal execution, interrupts
  19156. will be restored to their previous state when the signal handler
  19157. returns. From Gregory Nutt (2018-06-06).
  19158. * arch/arm/src/stm32: Ports stm32 ltdc and stm32 dma2d to use the
  19159. framebuffer interface From Marco Krahl (2018-06-06).
  19160. * syslog: Enable a partial, crippled version of syslog_flush();
  19161. arch/: Call syslog_flush() from assertion handling logic. From
  19162. Gregory Nutt (2018-06-07).
  19163. * libs/libc/net: Add inet_aton() From Juha Niskanen (2018-06-08).
  19164. * libs/libc/netdb: Add getaddrinfo() and friends. From Juha
  19165. Niskanen (2018-06-08).
  19166. * configs/imxrt1050-evk: Add knsh configuration.. PROTECTED mode NSH
  19167. build. From Gregory Nutt (2018-06-08).
  19168. * libs/libc/termios: Add lib_cfmakeraw.c From Masayuki Ishikawa
  19169. (2018-06-12).
  19170. * drivers/xbee: Fixes issue with timeouts. Timeouts were in ticks but
  19171. should have been in ms. This caused false triggers of timeout
  19172. causing redundant packets, etc. From Anthony Merlino (2018-06-13).
  19173. * arch/arm/src/lc823450: Add lc823450 Bluetooth support. From
  19174. Masayuki Ishikawa (2018-06-13).
  19175. * stm32f7: serial: Fix ioctl TIOCSSINGLEWIRE
  19176. The TRM notes that UE must be disabled in order to write HDSEL in
  19177. USART_CR3. This was not being done, so calls to TIOCSSINGLEWIRE were
  19178. silently failing.
  19179. This change checks the state of UE in USART_CR1, clears the UE bit
  19180. before writing HDSEL, then re-enables it if neccesary. From Kurt
  19181. Kiefer (2018-06-14).
  19182. * drivers/sensors: Add support for Telair T6713 carbon dioxide
  19183. sensor. From Juha Niskanen (2018-06-15).
  19184. * arch/arm/src/stm32f7: This change ports in Marco Krahl's STM32F4
  19185. framebuffer overlays for the LTDC and DMA2D into the STM32F7. That
  19186. driver was same as the STM32F4 driver. From Gregory Nutt (2018-06-15).
  19187. * Eliminate use of the non-standard type systime_t and replace it the
  19188. equivalent, standard type clock_t From Gregory Nutt (2018-06-16).
  19189. * syscall/: clock_systimer() is no longer a system call. It has been
  19190. replaced with the equivalent, standard interface clock() as the
  19191. system call.
  19192. sched/clock: Move the implementation of clock() from libs/libc/time
  19193. to sched/clock. This is necessary because it calls the (now)
  19194. internal OS function clock_systimer. clock() is now accessed only
  19195. via a system call in certain configurations. From Gregory Nutt
  19196. (2018-06-16).
  19197. * /arch/arm/src/xmc4: Fix XMC4 SPI. It was working only for the first
  19198. transfer From Alan Carvalho de Assis (2018-06-16).
  19199. * configs/xmc4500-relax: Add support to MAX6675 on XMC4500-Relax
  19200. board. drivers/sensors/max6675.c: Increases SPI frequency from
  19201. 400Khz to 4MHz. From Alan Carvalho de Assis (2018-06-16).
  19202. * This commit brings in a partial STMicro STM32H7. From Simon Laube
  19203. (2018-06-16).
  19204. * configs/stm32f4discovery: Remove STM32F4BB dependence from rndis; add
  19205. RAMDISK support. From Alan Carvalho de Assis (2018-06-18).
  19206. * arch/arm/src/stm32l4: STM32L4 has fetchadd and testset From Juha
  19207. Niskanen (2018-06-18).
  19208. * libs/libc/netdb/lib_getaddrinfo.c: The 'port' argument to the static
  19209. alloc_ai() function is always in network byte order. However, that
  19210. static function was still calling HTONS() on the port, incorrectly
  19211. converting it back to host byte order. From Gregory Nutt (2018-06-18).
  19212. * arch/arm/src/: This commit removes support for the dedicated vector
  19213. handling from the many older architectures. Only common vectors are
  19214. now supported. From Gregory Nutt (2018-06-19).
  19215. * fs/smartfs: Fixed filesystem corruption when writing to small file
  19216. after open(... O_APPEND) From Dmitriy Linikov (2018-06-20).
  19217. * arch/arm/src/stm32f7: Port input capture from stm32 From Juha
  19218. Niskanen (2018-06-21).
  19219. * arch/arm/src/armv7a and imx6: Add support for per-CPU IRQ and FIQ
  19220. interrupt stacks (bugfix). Add support so that up_assert will print
  19221. the correct interrupt stack on an assertion (FIQ stack is still not
  19222. printed). From Gregory Nutt (2018-06-21).
  19223. * net/udp: When sending a broadcast (or multicast) packet do not
  19224. attempt to look up the device by the destination IP address. Rather,
  19225. use the locally bound address for these cases to select the correct
  19226. network device. From Gregory Nutt (2018-06-22).
  19227. * net/: There are many different checks for IPv6 multicast addresses.
  19228. Most of the checks are different. RFC 3513 clearly specifies how to
  19229. detect an IPv6 multicast address: they should begin with 0xffxx. I
  19230. did not change some of the checks in ipv6_input.c, however. In that
  19231. file, the comments indicate that the code should only pick of certain
  19232. multicast address that begin withi 0xff02. From Gregory Nutt
  19233. (2018-06-23).
  19234. * net/: Fix a sixlowpan typo bug recently introduced; Rename
  19235. g_ipv6_allzeroaddre with the more meaning g_ipv6_unspecaddr since the
  19236. all-zero address is the IPv6 unspecified address (sometime
  19237. IN6_ADDR_ANY). Replace more inline tests for IPv6 multicast with
  19238. common net_is_addr_mcast() macro. From Gregory Nutt (2018-06-23).
  19239. * net/: Rename CONFIG_TCP_REASSEMBLY to CONFIG_IPv4_REASSEMBLY. Add
  19240. some fixes to get a clean compile with CONFIG_IPv4_REASSEMBLY
  19241. enabled. There are several problems with the current
  19242. implementation: It is untested (and depends on
  19243. CONFIG_EXPERMIMENTAL). It uses some Ethernet specific definitions
  19244. (and depends on CONFIG_NET_ETHERNET). There is only a single
  19245. reassembly buffer. The last two issues prevent use of this feature
  19246. in any context where IPv4 packets may be reassembled for multiple
  19247. network devices concurrently). From Gregory Nutt (2018-06-24).
  19248. * net/tcp: Re-think CONFIG_NET_TCP_RWND_CONTROL TCP windowing
  19249. controls. From Gregory Nutt (2018-06-24).
  19250. * net/udp: Fix a hole in the address lookup logic. From Gregory Nutt
  19251. (2018-06-25).
  19252. * stm32f7: Fix compile error caused by intentional use of fall through
  19253. From Daniel Agar (2018-06-25).
  19254. * net/: Add driver interface index support. Add implementation of
  19255. if_nametoindex() and if indextoname(). Raw AF_PACKET sockets now
  19256. depend on CONFIG_NETDEV_IFINDEX. Add syscall support for
  19257. if_nametoindex() and if_indextoname().
  19258. Includes an algorithm to prevent an interface index from being reused
  19259. until all network interfaces have by assigned once. The prevents
  19260. removable devices from being removed, unregistered and re-installed,
  19261. re-registered and keeping the same interface index. From Gregory
  19262. Nutt (2018-06-25).
  19263. * net/netdev: Fix.. Too many calls to net_unlock() From Gregory Nutt
  19264. (2018-06-25).
  19265. * net/udp: Add support for the UDP_BINDTODEVICE protocol socket
  19266. option From Sebastien Lorquet (2018-06-25).
  19267. * configs/stm32f746g-disco: Add support for STM32F746G-disco board
  19268. LCD From Marcin Wyrwas (2018-06-25).
  19269. * arch/arm/src/stm32f7/chip/stm32f72xx73xx_dma.h: Macros did not
  19270. account for the increase from 8 to 16 DMA channels. From Gregory
  19271. Nutt (2018-06-26).
  19272. * configs/nucleo-l476rg: Add support for an extern SPI-driver SD card
  19273. on the Nucleo-L476RG. From Gregory Nutt (2018-06-26).
  19274. * fs/mount/fs_automount.c: Ignore return values from work_cancel().
  19275. From Gregory Nutt (2018-06-27).
  19276. * arch/arm/src/lc823450: Fix setintstack macro in chip.h. In case of
  19277. CONFIG_SMP=y, g_cpu0_instack_base and g_cpu1_instack_base are not
  19278. allocated just after g_instack_alloc but these values show the
  19279. addresses for interrupt stack of each CPU. So to set the stack
  19280. pointer based on these variables, temporal register has to be used.
  19281. From Masayuki Ishikawa (2018-06-27).
  19282. * arch/arm/src/imxrt: Add support for the i.MXRT RTC. This initial
  19283. commit is code complete (with limited features and options) but untested.
  19284. The HPRTC is functional. However, if the LPSRTC is enabled, then
  19285. there is a hang during LPSRTC initialization. It appears that there
  19286. is some problem in providing clocking and initializing the LPSRTC
  19287. domain. From Gregory Nutt (2018-06-27).
  19288. * tools/testbuild.sh: Add option to specify location of nuttx
  19289. directory. From Gregory Nutt (2018-06-27).
  19290. * stm32f7: I2C reset Configure I2C pins as GPIO output. Pins were
  19291. reset to inputs in the deinit. This resets them to outputs. From
  19292. David Sidrane (2018-06-27).
  19293. * Commit 0c963449d6e8f5f8b2dfe96e9de3116633a3749a, 'fs/vfs: Added
  19294. support for checking if a descriptor is a socket in fstat().',
  19295. changed sys/stat.h in way that breaks smartfs file-type stat flags.
  19296. CROMFS is similarly broken, as tools/gencromfs.c was not updated to
  19297. match the sys/stat.h changes. This commit fixes both issues. It
  19298. probably is not a good idea to use NuttX sys/stat.h bit-field values
  19299. directly in stored structure of filesystem. From Jussi Kivilinna
  19300. (2018-06-28).
  19301. * arch/arm/src/imxrt: Add trivial SNVS from Rev 1. of the Reference
  19302. Manual. From Gregory Nutt (2018-06-28).
  19303. * arch/arm/src/lpc43: Fix lpc43 CAN configuration. Configuration
  19304. settings were used and documented in README.txt files, but never in
  19305. any Kconfig file. From Gregory Nutt (2018-06-28).
  19306. * tools/refresh.sh: Add a --prompt option that will let you use
  19307. --silent but will prompt before overwriting the original defconfig.
  19308. From Gregory Nutt (2018-06-28).
  19309. * Update tools/link.sh per suggestions by Mark so that it can be used
  19310. with MSYS vs copydir.sh. From Gregory Nutt (2018-06-29).
  19311. * configs/pcblogic-pic32mx, sure-pic32mx, ubw32: Update configurations
  19312. so that either the MPLAB or Penguino toolchains may be used. From
  19313. Gregory Nutt (2018-06-29).
  19314. * net/tcp: Re-work of TCP receive window size algorithm. The new
  19315. logic is based only on the ability to buffer TCP read-ahead data.
  19316. From Gregory Nutt (2018-07-01).
  19317. * arch/arm/src/xmc4/xmc4_gpio.c: Add a specific bit encoding for
  19318. opendrain GPIO pin. From Alan Carvalho de Assis (2018-07-02).
  19319. * configs/stm32f746g-disco: Add support for STM32F746G-disco board
  19320. SDRAM Changed fb config to use SDRAM and fixed compilation From
  19321. Marcin Wyrwas (2018-07-02).
  19322. * arch/arm/src/lc823450: Add tx start threshold to lc823450_i2s.c In
  19323. addition, lc823450_i2s_send() now accepts byte-aligned stream. From
  19324. Masayuki Ishikawa (2018-07-03).
  19325. * drivers/usbhost/usbhost_max3421e.c: Add support for the Maxim M3421E
  19326. USB host driver. From Gregory Nutt (2018-07-03).
  19327. * net/udp: Restore some legacy behavior that was lost with the
  19328. implementation of CONFIG_NET_UDP_BINDTODEVICE: If no device has a
  19329. local address when the broadcast packet is sent and the UDP socket is
  19330. not bound to a device, there select some arbitrary device. This is
  19331. certainly lunacy in the case where there are multiple network devices
  19332. registered because the wrong device will probably be returned. It
  19333. works find, however, for the legacy case where only a single network
  19334. device is registered. From Gregory Nutt (2018-07-04).
  19335. * arch/arm/src/samv7: Add ability for CAN BUS_OFF autorecovery
  19336. according ISO11898-1:2015. With this change we added an ioctl for
  19337. triggering the autorecovery sequence for BUS_OFF to the CAN-driver
  19338. and the SAMV7 low-level driver. According the datasheet: If the
  19339. device goes Bus_Off, it will set MCAN_CCCR.INIT of its own accord,
  19340. stopping all bus activities. Once MCAN_CCCR.INIT has been cleared by
  19341. the processor (application), the device will then wait for 129
  19342. occurrences of Bus Idle (129 * 11 consecutive recessive bits) before
  19343. resuming normal operation. At the end of the Bus_Off recovery
  19344. sequence, the Error Management Counters will be reset. During the
  19345. waiting time after the resetting of MCAN_CCCR.INIT, each time a
  19346. sequence of 11 recessive bits has been monitored, a Bit0 Error code
  19347. is written to MCAN_PSR.LEC, enabling the processor to readily check
  19348. up whether the CAN bus is stuck at dominant or continuously disturbed
  19349. and to monitor the Bus_Off recovery sequence. MCAN_ECR.REC is used to
  19350. count these sequences. From Frank Benkert (2018-07-04).
  19351. * This commit attempts remove some long standard confusion in naming
  19352. and some actual problems that result from the naming confusion. The
  19353. basic problem is the standard MTU does not include the size of the
  19354. Ethernet header. For clarity, I changed the naming of most things
  19355. called MTU to PKTSIZE. For example, CONFIG_NET_ETH_MTU is now
  19356. CONFIG_NET_ETH_PKTSIZE.
  19357. This makes the user interface a little hostile. People thing of an
  19358. MTU of 1500 bytes, but the corresponding packet is really 1514 bytes
  19359. (including the 14 byte Ethernet header). A more friendly solution
  19360. would configure the MTU (as before), but then derive the packet
  19361. buffer size by adding the MAC header length. Instead, we define the
  19362. packet buffer size then derive the MTU.
  19363. The MTU is not common currency in networking. On the wire, the only
  19364. real issue is the MSS which is derived from MTU by subtracting the IP
  19365. header and TCP header sizes (for the case of TCP). Now it is derived
  19366. for the PKTSIZE by subtracting the IP header, the TCP header, and the
  19367. MAC header sizes. So we should be all good and without the recurring
  19368. 14 byte error in MTU's and MSS's. From Gregory Nutt (2018-07-04).
  19369. * arch/arm/src/stm32f7/stm32_sdmmc.c: Add SDIO card support. From
  19370. Ramtin Amin (2018-07-05).
  19371. * net/tcp: Set the default TCP MSS to the value required by RFC 879
  19372. and never change it under any circumstance unless the remote host
  19373. requests a larger MSS via an option the TCP header. From Gregory
  19374. Nutt (2018-07-05).
  19375. * configs/viewtool-stm32f107: Add a TCP performance test using
  19376. apps/examples/tcpblaster. From Gregory Nutt (2018-07-05).
  19377. * net/tcp: Fix a deadlock condition that can occur when (1) all
  19378. network logic runs on a single work queue, (1) TCP write buffering is
  19379. enabled, and (2) we run out of IOBs. In this case, the TCP write
  19380. buffering logic was blocking on iob_alloc() with the network locked.
  19381. Since the network was locked, the device driver polls that would
  19382. provide take the write buffer data and release the IOBs could not
  19383. execute. This fixes the problem by unlocking the network lock while
  19384. waiting for the IOBs. From Gregory Nutt (2018-07-06).
  19385. * stm32_dac.c: set OUTEN bit for DAC1CH2 and DAC2CH1
  19386. power/motor: direction parameter is now int8 + add overload fault
  19387. libdsp: all floats with f-sufix
  19388. libdsp: add precision option for library
  19389. libdsp: add debug option for library and assertions in functions
  19390. libdsp: add current samples correction for SVM3
  19391. libds: add some motor control specific functions
  19392. libdsp: add basic speed observer
  19393. libdsp: fix phase shift in SMO observer
  19394. libdsp: add more logic to FOC
  19395. config/sim/dsptest: add dsptest configuration
  19396. libdsp/lib_motor.c: remove unused comparation
  19397. libdsp/lib_observer.c: update some comments From Mateusz Szafoni
  19398. (2018-07-07).
  19399. * drivers/leds/pca9635pw.c and
  19400. configs/stm32f4discovery/src/stm32_pca9635.c: Fix pca9635pw LED
  19401. driver compilation From Alan Carvalho de Assis (2018-07-07).
  19402. * arch/arm/src/lpc54xx: The LPC54608 can only run at a maximum
  19403. frequency of 180Mhz. This configuration requires uses the clk_in,
  19404. external crystal clock, to drive the PLL. When that input was
  19405. selected, the board bootup failed waiting for the PLL to lock. After
  19406. referring the driver from NXP, we should turn on power sources for
  19407. the ext clock if system pll input select clk_in. NOTE that the
  19408. LPC54628 did not require this step... perhaps because the system
  19409. oscillator power was already enabled. From kxjiang (2018-07-08).
  19410. * tools/mkexport.sh: Save the System.map file in the export package so
  19411. that it can be used to extract addresses. From Gregory Nutt
  19412. (2018-07-08).
  19413. * tools/mkexport.sh: Save the User.map file in the export package if
  19414. available. From Gregory Nutt (2018-07-09).
  19415. * include/nuttx/fs/hostfs.h: Update duplicated definitions in HOSTFS
  19416. that must match NuttX values. From ligd (2018-07-09).
  19417. * arch/arm/src/stm32l4/chip/: Corrects some mistakes in pin definitions
  19418. for the STM32L4 family. According to datasheet of STM32L496xx,
  19419. STM32L475xx and STM32L443XX the AF2 of PE14 is TIM1_BKIN2 not
  19420. TIM2_BKIN. From Daniel Pereira Carvalho (2018-07-10).
  19421. * arch/arm/src/lc823450: Add lc832450 elf test From Masayuki Ishikawa
  19422. (2018-07-12).
  19423. * - arch/arm/src/stm32h7: After numerous changes, the basic STM32 H7
  19424. NSH configuration is now functional From Mateusz Szafoni (2018-07-12).
  19425. * nucleo-h743zi/nsh: use Nucleo Virtual console as default serial From
  19426. Mateusz Szafoni (2018-07-12).
  19427. * STM32 F0, F1-F4, F7, L4, H7: Added Single Wire Kconfig variable.
  19428. From David Sidrane (2018-07-12).
  19429. * drivers/audio: Fix compile error in i2schar.c
  19430. (CONFIG_DEBUG_ASSERTIONS=y) From Masayuki Ishikawa (2018-07-13).
  19431. * configs/viewtool-stm32f107: Add support for the MAX3421E to the
  19432. viewtool-stm32107 board support From Gregory Nutt (2018-07-13).
  19433. * configs/lc823450-xgevk: Fix parallel build on lc823450-xgevk
  19434. This change fixes an archive file (*.a) corruption by locking
  19435. $(TOPDIR). Please note that locking the current directory is
  19436. insufficient because some archive files such as libapps.a are
  19437. specified with absolute path. From Masayuki Ishikawa (2018-07-14).
  19438. * configs/lc82345-xgevk: Add posix_spawn configuration From Masayuki
  19439. Ishikawa (2018-07-14).
  19440. * libs/libc/unistd/Kconfig: Fix backward conditional logic. From
  19441. Gregory Nutt (2018-07-14).
  19442. * configs/stm32f4discovery/src/stm32_rgbled.c: Krassimir Cheshmedzhiev
  19443. claims that sys/types.h needs to be included to avoid undeclared
  19444. 'OK' From Gregory Nutt (2018-07-15).
  19445. * arch/arm/src/stm32f7/chip/stm32f72xx73xx_pinmap.h: All of the SDMMC
  19446. pins were set to 50 MHz, but not the clock. This sets the clock to 50
  19447. MHz also. This combined with turning on I/O compensation makes
  19448. intermittent failures go away. From Bob Feritich (2018-07-15).
  19449. * arch/arm/src/stm32f7: Port Bob Feritich's change to SDMMC2 and to
  19450. all other STM32F7 architectures. Also add a configuration option to
  19451. automatically enable I/O compensation.
  19452. arch/arm/src/stm32: Port Bob Feritich's change to STM32 F2 and F4
  19453. which appear to have identical SD support and I/O compensation
  19454. requirements. From Gregory Nutt (2018-07-15).
  19455. * arch/arm/src/stm32l4: Added custom pin mapping for STM32L4X2XX
  19456. processors. From Daniel P. Carvalho (2018-07-16).
  19457. * stm32f746g-disco/nxdemo: Add a configuration to build working nxdemo
  19458. application From Fanda (2018-07-17).
  19459. * configs/nucleo-l432kc: Fix RAM size; STM31L4x2xx has only 64Kb of
  19460. RAM. Remove references to I2C and SDIO: There is no I2C2 or SDIO on
  19461. the STM32F4x2xx. From Daniel P. Carvalho (2018-07-17).
  19462. * net/udp/udp_finddev.c: Fix for network byte-order issue when
  19463. checking if an address is a multicast address. From Jake Choy
  19464. (2018-07-17).
  19465. * arch/arm/src/lc823450: Add SPI flash driver for lc823450. NOTE: Only
  19466. bus accelerator mode is supported. From Masayuki Ishikawa
  19467. (2018-07-18).
  19468. * net/ and include/nuttx/net: Add getpeername() support From ligd
  19469. (2018-07-19).
  19470. * syscall/: Add support for getpeername() and get_sockname() system
  19471. calls. From Gregory Nutt (2018-07-19).
  19472. * libs/libc/stdlib and include/stdlib.h: Add implementation of
  19473. random() and srandom(). From Gregory Nutt (2018-07-19).
  19474. * kinetis: USB0 fix interrupt storm on error. The ERROR bit of
  19475. USBx_ISTAT needed to be cleared once an error occurs. From David
  19476. Sidrane (2018-07-19).
  19477. * configs/lpcxpresso-lpc54628/lvgl: Update lvgl board config to use
  19478. the new version From Alan Carvalho de Assis (2018-07-19).
  19479. * arch/arm/src/lc823450: Add support for mpu and userspace
  19480. configs/lc823450-xgevk: Add kostest PROTECTED build
  19481. configs/lc823450-xgevk: Add knsh PROTECTED build From Masayuki
  19482. Ishikawa (2018-07-20).
  19483. * syscall/: Fix 6th parameter type of posix_spawnp in syscall.csv
  19484. From Masayuki Ishikawa (2018-07-20).
  19485. * libs/libc/unistd/: Add a crippled version of daemon(). From Gregory
  19486. Nutt (2018-07-20).
  19487. * arch/arm/src/stm32f7/: Fix data timeout errors with multiblock
  19488. transfers. From Bob Feretich (2018-07-20).
  19489. * drivers/mmcsd/mmcsd_sdio.c: Fix an error that was causing SDIO
  19490. multiple block transfers from achieving full performance. From Bob
  19491. Feretich (2018-07-20).
  19492. * drivers/leds/max7219.c: Add support to MAX7219 to control 7-segment
  19493. displays
  19494. configs/stm32f4discovery/src: Add board support to MAX7219 as
  19495. numeric display controller From Alan Carvalho de Assis (2018-07-22).
  19496. * Rename all usage of samdl/SAMDL to samd2l2/SAMD2L2 to make room in
  19497. the name space for the forthcoming samd5e5/SAMD5E5 From Gregory Nutt
  19498. (2018-07-22).
  19499. * syscall/: Fix parallel build in making context. This change avoids
  19500. running $(MKSYSCALL) and .context in parallel and ensures that
  19501. tools/mksyscall is built before it is actually used. From Masayuki
  19502. Ishikawa (2018-07-23).
  19503. * arch/arm/src/samv7/sam_mcan.c: Correct an error in the BUS_OFF
  19504. reporting. In case of BUS_OFF the old implementation was leading to
  19505. a package storm. Now it reports the error condition BUS_OFF only
  19506. once. From Frank Benkert (2018-07-23).
  19507. * arch/arm/src/kinetis: SDHC fix SDIO driver so that DMA works.
  19508. There were 2 problems. The first was that the interrupt did test DINT
  19509. and raise a completion events. But since DINT is just an indication
  19510. of DMA completion, TC is a valid way to determine that the transfer
  19511. is complete. The second problem is that Software Reset For DAT Line
  19512. SDHC_SYSCTL[RSTD] clears the bits 24-0 in SDHC_PROTO this looses the
  19513. wide bus setting DTW From David Sidrane (2018-07-23).
  19514. * arch/arm: Add CONFIG_DEBUG_MEMFAULT to Kconfig. Also, fix
  19515. src/armv7-m/up_memfault.c From Masayuki Ishikawa (2018-07-24).
  19516. * fs/tmpfs/fs_tmpfs.c: Correct logic in tmpfs_ioctl() that extracts
  19517. the priv state structure from the file system structures. It was not
  19518. getting the right value and causing mmap() to fail. Noted by Jesse.
  19519. From Gregory Nutt (2018-07-24).
  19520. * include/sys: Fix SYS_maxsyscall in syscall.h From Masayuki Ishikawa
  19521. (2018-07-25).
  19522. * libs/libc/netdb: Fix a link error in lib_gethostbynamer.c with
  19523. protected build. NOTE: g_lo_ipv4addr also exists in
  19524. net/loopback/lo_globals.c which can be linked with kernel build only.
  19525. From Masayuki Ishikawa (2018-07-25).
  19526. * arch/arm/src/imxrt/chip/imxrt_lpspi.h: IMXRT1050 LPSPI register and
  19527. bit definitions added.
  19528. arch/arm/src/imxrt/imxrt_serial.c: IMXRT1050 LPUART TERMIOS support
  19529. added. From Ivan Ucherdzhiev (2018-07-26).
  19530. * include/sys: Remove unused SYS_nnetsocket from syscall.h. Because
  19531. SYS_nnetsocket is not implemented so far, it should be removed so that
  19532. SYS_prctl can work correctly. From Masayuki Ishikawa (2018-07-26).
  19533. * binfmt/: Refactor binfmt_exec.c. This change also fixes an argv
  19534. issue for CONFIG_SCHED_ONEXIT=n or CONFIG_SCHED_HAVE_PARENT=n From
  19535. Masayuki Ishikawa (2018-07-26).
  19536. * arch/arm/src/imxrt: I finally got the Ethernet CRC32 to work
  19537. properly after the FAE pointed me in the right direction: (1) Added
  19538. CRC32 functions for multicast address filtering, (2) Do not reset PHY
  19539. settings when doing an ifup, (2) Use chip's unique id as the device
  19540. MAC, and (4) Enable discard enet frames with errors at PHY layer.
  19541. From Jake Choy (2018-07-26).
  19542. * arch/arm/src/samd5e5 and configs/metro-m4: Initial commit the port
  19543. to the SAMD5x/E5x MCU family and also support for the Adafruit Metro
  19544. M4 board. It port is untested and unfinished. It currently will not
  19545. even link due to some missing clock related logic. From Gregory Nutt
  19546. (2018-07-26).
  19547. * configs/stm32vldiscovery: Changed the status LED to be the green one
  19548. as mentioned in the README file. Removed the global array for buttons
  19549. and replace it with the only button. Improve defconfig for the nsh
  19550. configuration. From Ouss4 (2018-07-27).
  19551. * arch/arm/src/samd5e5: Completes XOSC32, XOSC0/1, MCLK, and GCLK
  19552. configuration logic. Still needs FDPLL and FDLL support. From
  19553. Gregory Nutt (2018-07-27).
  19554. * arch/arm/src/samd5e5/sam_clockconfig.c: Implement DFLL and DFPLL0/1
  19555. support. This completes coding the the re-architected clock
  19556. configuration logic. From Gregory Nutt (2018-07-28).
  19557. * arch/arm/src/samd5e5: Bring in untested SPI and I2C drivers from
  19558. SAMD2L2. From Gregory Nutt (2018-07-29).
  19559. * arch/arm/src/samd5e5: Leverage the SAMD2L2 DMA controller. From
  19560. Gregory Nutt (2018-07-29).
  19561. * arch/arm: Introduce CONFIG_DEBUG_HARDFAULT_INFO to Kconfig
  19562. arch/arm/src/armv7-m: Introduce CONFIG_DEBUG_HARDFAULT_INFO to
  19563. up_hardfault.c
  19564. arch/arm/src/armv6-m: Introduce CONFIG_DEBUG_HARDFAULT_INFO to
  19565. up_hardfault.c From Masayuki Ishikawa (2018-07-30).
  19566. * sched/mqueue/mq_notify.c: Fix - only part of struct copied to
  19567. internal structure. As source address the address of the struct
  19568. member sigev_value was used, and it is not located the start of the
  19569. struct. This leads to invalid data being copied to internal
  19570. structure. Both source and destination should be of type struct
  19571. sigevent* . From Simon Liedl (2018-07-30).
  19572. * arch/arm/src/samd5e5/sam_usb.c: Bring the SAMDL2 USB driver into the
  19573. SAMD5E5 port. From Gregory Nutt (2018-07-30).
  19574. * drivers/usbhost/usbhost_max3421e.c: Fix several errors found in
  19575. early testing.
  19576. drivers/usbhost/usbhost_max3421e.c: Mutual exclusion semaphore must
  19577. be re-entrant.
  19578. drivers/usbhost/usbhost_max3421e.c: Fix unmatched SPI lock/unlock.
  19579. From Gregory Nutt (2018-07-30).
  19580. * configs/metro-m4: Correct SERCOM3 pin configuration From Gregory
  19581. Nutt (2018-08-01).
  19582. * stm32f746g-disco: touchscreen support: Fixed FT5x06 driver to
  19583. correctly close (previously it unregistered interrupt handler during
  19584. close). Also added LittlevGL demo for STM32F746G-DISCO From Marcin
  19585. Wyrwas (2018-08-01).
  19586. * drivers/analog: Add driver for digital to analog converted DAC7571.
  19587. configs/nucleo-l432kc: Add support for a connect DAC7571 converter.
  19588. From Daniel Pereira Carvalho (2018-08-02).
  19589. * drivers/sensors/adxl345: remove comment references to touchscreens
  19590. From Russ Webber (2018-08-02).
  19591. * arch/arm/include/armv7-m, arch/arm/include/armv7-m,
  19592. arch/arm/include/stm32f7: Add a configuration to enable workaround
  19593. for r0p1 Errata 837070: Increasing priority using write to BASEPRI
  19594. does not take effect immediately.
  19595. This update is required to be serialized to the instruction stream
  19596. meaning that after this update completes, it takes effect immediately
  19597. and no exceptions of lower priority than the new boosted priority can
  19598. pre-empt execution. Because of this erratum, the priority boosting
  19599. does not take place immediately, allowing the instruction after the
  19600. MSR to be interrupted by an exception of lower priority than the new
  19601. boosted priority. This effect is only limited to the next
  19602. instruction. Subsequent instructions are guaranteed to see the new
  19603. boosted priority.
  19604. This was raised in Bitbucket issue 113 from Vadzim Dambrouski. From
  19605. Gregory Nutt (2018-08-02).
  19606. * net/tcp: Remove g_netstats.tcp.syndrop++ from tcp_data_event() From
  19607. Masayuki Ishikawa (2018-08-03).
  19608. * include/nuttx/i2c/i2c_master.h: Add a definition to distinguish a
  19609. new START of messages from a repeated start. No lower-half I2C
  19610. drivers actually implement this new flag bit, however.
  19611. drivers/i2c/i2c_writeread.c: Use new repeated START definition where
  19612. appropriate. Rename I2C_M_NORESTART to I2C_M_NOSTART since it may be
  19613. used in other contexts than a repeated start. Add comments to
  19614. clarify setup for repeated start. From Gregory Nutt (2018-08-03).
  19615. * configs/nucleo-l432kc: Fix stm32_userleds. After change LD2 to LD3
  19616. in board.h stm32_userleds.c was broken. From Daniel P. Carvalho
  19617. (2018-08-03).
  19618. * arch/arm/src/stm32f7: This commit ports the stm32f20xxf40xx_flash.c
  19619. driver to the STM32F7 platform and fixes some relevant problems in
  19620. the header files. From Evgeniy Bobkov (2018-08-03).
  19621. * net/netlink: This commit brings in a fragmentary, experimental
  19622. implementation of NETLINK sockets. There is not too much to that
  19623. socket support on this initial commit, just the netlink socket
  19624. framework. However, I decided to bring it into master because there
  19625. is a enough that I would not want to lose what is in place. And
  19626. since it is dependent on CONFIG_EXPERIMENTAL, its presence on master
  19627. should be innocuous. From Gregory Nutt (2018-08-03).
  19628. * configs/metro-m4: Add an option to build the Metro M4 image to run
  19629. out of SRAM. This ought to be a safer and quicker way to do the
  19630. initial bring-up (having bricked the first Metro M4 due to a bad
  19631. FLASH image). From Gregory Nutt (2018-08-03).
  19632. * Revise the Cortex-M7 workaround: That change had the subtle
  19633. side-effect of unconditionally enabling interrupts in the primask.
  19634. That may be what we want in most cases, but certainly not all. This
  19635. does increase the size of the inline function by about 48-bits per
  19636. instantiation. From Gregory Nutt (2018-08-04).
  19637. * configs/olimex-stm32-p407: Add kernel ELF (kelf) configuration.
  19638. From Gregory Nutt (2018-08-04).
  19639. * binfmt/ and sched/group: Re-architect the way that loadable ELF or
  19640. NXFLAT modules are unloaded. Memory resources must be recovered when
  19641. the task loaded into memory exits. The original implementation used
  19642. the death-of-child SIGCHLD signal to perform the unload. There are
  19643. several problems with this: It is overly complex, it requires that
  19644. the parent task stay resident while the loaded task runs, and it has
  19645. fatal logic flaws in the protected and kernel model builds because
  19646. the user signal handler attempts to run in the kernel address space.
  19647. This commit corrects with using a mindlessly simply BINFMT callback
  19648. when the task exits. From Gregory Nutt (2018-08-05).
  19649. * Kconfig files: Fix several errors noted by Alex Denisov in Bitbucket
  19650. issue 115. From Gregory Nutt (2018-08-05).
  19651. * configs/olimex-stm32-p407/kmodule: Add a configuration that can be
  19652. used for testing installation of kernel modules in the protected
  19653. build. From Gregory Nutt (2018-08-05).
  19654. * sched/group: Fix a deadlock when loading an ELF From Masayuki
  19655. Ishikawa (2018-08-06).
  19656. * arch/arm/src/lc823450: Change C-Buffer under-level control. The
  19657. under-level setting was changed from 1KB to 55KB. In previous
  19658. implementation, the setting can ben changed by the tx threshold but
  19659. it is fixed at startup. Also, check write size and adjust alignment
  19660. if needed.
  19661. configs/lc823450-xgevk: Change IOB related params for rndis. Since
  19662. TCP flow control scheme was changed, HTTP audio streaming has not
  19663. been working. These IOB params are not optimized but HTTP audio
  19664. streaming now works. From Masayuki Ishikawa (2018-08-06).
  19665. * arch/arm/src/stm32l4/chip/stm32l4x3xx_pinmap.h: Recent commit removed
  19666. some of the pin definitions for STM32L451xx, and probably some other
  19667. chips of the STM32L4x3 subfamily, breaking our builds. Some chips of
  19668. the subfamily don't have these peripherals, but some do, so that is
  19669. not a valid reason to remove them. From Juha Niskanen (2018-08-06).
  19670. * stm32f103-minimum: Add blackpill LED support From Russ Webber
  19671. (2018-08-07).
  19672. * Build System: This change extends support for the two-pass build.
  19673. Its primary purpose is to incorporate source logic generated by
  19674. applications into the kernel phase of the build.
  19675. In the two pass build, the application logic is built during the
  19676. first phase, pass 1. In that phase, the application may generate and
  19677. install source files in the pass1/directory. The operating system is
  19678. built during phase 2 of the build. At that time, those source files
  19679. in the pass1/ directory will be built and incorporated into the
  19680. kernel address space.
  19681. The primary purpose of the pass1/ directory is to such
  19682. application-generated kernel symbol tables. For an example of the
  19683. use of this feature, look at apps/examples/module/drivers/Makefile.
  19684. Kernel symbol tables are needed to support kernel modules. Of
  19685. course, addition board-specific logic in, say, configs/<board>/src
  19686. would have to be included to make use of the application-installed
  19687. symbol tables. From Gregory Nutt (2018-08-07).
  19688. * configs/olimex-stm32_p407: Add logic to support initialization of
  19689. the kernel module symbol table installed in the pass1/ directory
  19690. during the application phase of the build. The kmodule configuration
  19691. appears to be fully functional. From Gregory Nutt (2018-08-07).
  19692. * configs/nucleo-l432kc/include/nucleo-l432kc.h: Fix TIMx clock
  19693. configuration. Also removes definitions related to timers not
  19694. available in the STM32L432KC. From Daniel Pereira Carvalho
  19695. (2018-08-07).
  19696. * arch/arm/src/stm32l4: Fix ADC and COMP breakage caused by
  19697. CONFIG_STM32L4_STM32L4X2 separation in 9223123c From Juha Niskanen
  19698. (2018-08-08).
  19699. * configs/nucleo-l452re: Fix TIMx clock configuration. This is cloned
  19700. from 391f3715 for nucleo-l432kc. Also fixes DAC build failure. From
  19701. Juha Niskanen (2018-08-08).
  19702. * arch/arm/src/stm32, stm32f7, stm32l4, and related defconfig files:
  19703. The STM32 RTC driver was being selected by the global CONFIG_RTC
  19704. option. That is in correct. For example, if you want to disabled
  19705. the STM32 RTC and use an external RTC you cannot because the external
  19706. RTC also depends on the global CONFIG_RTC. The solution is to add a
  19707. new CONFIG_STM32xx_RTC configuration option the permits to you select
  19708. or deselect the STM32 RTC but still be able to selecte the external
  19709. RTC. From Gregory Nutt (2018-08-08).
  19710. * configs/stm32f4discovery/scripts/ld.script: Missing
  19711. EXTERN(_vectors) From Gregory Nutt (2018-08-08).
  19712. * arch/arm/src/stm32l4: Avoid using redundant
  19713. CONFIG_STM32L4_STM32L4X2. This is almost always same as
  19714. CONFIG_STM32L4_STM32L4X3. Avoid duplication to reduce macro clutter.
  19715. This patch limits CONFIG_STM32L4_STM32L4X2 usage to dependency
  19716. tracking and pinmap. Also enable ADC for CONFIG_STM32L4_STM32L4X5
  19717. (untested, but same RM). From Juha Niskanen (2018-08-09).
  19718. * arch/arm/src/stm32l4/chip: Merged stm32l4x2xx and stm32l4x3xx pinmap
  19719. files. Removed references to stm32l4x2xx_pinmap.h From Daniel P.
  19720. Carvalho (2018-08-09).
  19721. * arch/arm/src/kinetis: PIT add Liftime and Chaining
  19722. arch/arm/src/kinetis: flexcan fix duplicate line and ordering
  19723. arch/arm/src/kinetis: kinetis_lowput.c LPUART data format with
  19724. parity fix. The 9-bit data mode is typically used with parity to
  19725. allow eight bits of data plus the parity
  19726. arch/arm/src/kinetis: lowputc LPUART_BAUD_INIT has to be defined.
  19727. Build fails with test case enable LPUART0 and make UART1 console. If
  19728. HAVE_LPUART_DEVICE is defined then LPUART_BAUD_INIT has to be defined
  19729. even if the lpuart is not the console From David Sidrane (2018-08-09).
  19730. * - arch/arm/src/kinetis: Add DMA support and use Circular DMA as an
  19731. option to augment the RX FIFOs in the Serial driver. From David
  19732. Sidrane (2018-08-10).
  19733. * fs/proc and sched/environ: Add support for a procfs entry that will
  19734. permit examining the environment of any task. From Gregory Nutt
  19735. (2018-08-10).
  19736. * tools/kconfig2html.c: Update tool to handle tristate types. Fix a
  19737. few errors detected in Kconfig files. From Gregory Nutt (2018-08-10).
  19738. * arch/arm/src/stm32l4: Add initial support to STM32L4+ chips From
  19739. Juha Niskanen (2018-08-13).
  19740. * configs/stm32l4r9ai-disco: Add stm32l4r9ai-disco support. From Juha
  19741. Niskanen (2018-08-13).
  19742. * arch/arm/src/stm32l4: stm32l4xrxx: allow board to override flash
  19743. wait states From Juha Niskanen (2018-08-14).
  19744. * configs/stm32l4r9ai-disco: Fix HSE clock config and clock board to
  19745. maximum 120 MHz From Juha Niskanen (2018-08-14).
  19746. * drivers/net/tun.c: Fixed custom tun devname formatting. From Dmitriy
  19747. Linikov (2018-08-14).
  19748. * net/: Remove all references to CONFIG_NET_USER_DEVFMT. That feature
  19749. is now unconditionally enabled. This was done because (1) the
  19750. feature does not require very much additional memory, and (2) it
  19751. causes confusion in the configuration due to the additional
  19752. complexity. Any network drivers that fail to zero the device
  19753. structure interface name field (d_ifname) because calling
  19754. netdev_register() will, however, get a nasty surprise. From Gregory
  19755. Nutt (2018-08-14).
  19756. * net/: Change order of logic: Select the user-defined interface name
  19757. format BEFORE determining the minor device number. Otherwise, the
  19758. default interface name will be used. From Gregory Nutt (2018-08-14).
  19759. * tools/Config.mk: Add function CATFILE definition. Currently only
  19760. used in apps/builtin/Makefile. From Gregory Nutt (2018-08-15).
  19761. * tools/Config.mk: Move the RWILDCARD function definition from
  19762. apps/builtin/Makefile to nuttx/tools/Config.mk. It may have a
  19763. broader usage than it does now. From Gregory Nutt (2018-08-15).
  19764. * arch/arm/src/stm32/stm32_adc.c: Allow multiple channels without DMA
  19765. on STM32L15XX From Juha Niskanen (2018-08-16).
  19766. * arch/arm/src/stm32, stm32f7, stm32l4: Make STM32F4XX RTC depend on
  19767. CONFIG_STM32_RTC. From Juha Niskanen (2018-08-16).
  19768. * arch/arm/src/stm32l4: Some updates to analog peripherals ADC, COMP
  19769. and DFSDM for STM32L4XR From Juha Niskanen (2018-08-16).
  19770. * drivers/usbdev/cdcecm.c: Adds USB Device Support for CDC/ECM From
  19771. Michael Jung (2018-08-16).
  19772. * include/stdio.h: Add prototypes for popen() and pclose(). Actual
  19773. implementation is in apps/system/popen() From Gregory Nutt
  19774. (2018-08-17).
  19775. * include/stdio.h: popen()/pclose() are not available in KERNEL mode
  19776. because they depend on task_spawn() which is not available in KERNEL
  19777. mode. From Gregory Nutt (2018-08-17).
  19778. * fs/procfs/: Add support for /self, a convenient way for getting
  19779. information about the currently running task. From Gregory Nutt
  19780. (2018-08-18).
  19781. * fs/procfs: Add a configuration option to disable environment
  19782. variable info. From Gregory Nutt (2018-08-19).
  19783. * include/endian.h and libs/libc/endian: Add support for endian.h.
  19784. From Gregory Nutt (2018-08-19).
  19785. * include/sys/param.h: Add a dummy sys/param.h header file. This is
  19786. not a standard file but is used by other systems and having the dummy
  19787. file may minimize some porting efforts. From Gregory Nutt
  19788. (2018-08-19).
  19789. * Remove CONFIG_ARCH_CALIBRATION. It is awkward to use and no longer
  19790. necessary now that we have apps/examples/calib_udelay. From Gregory
  19791. Nutt (2018-08-19).
  19792. * arch/arm/src/stm32f7/stm32_serial.c: Previous logic would invalidate
  19793. the data cache as each byte was read from the DMA buffer. This
  19794. change adds logic to invalidate the data cache less frequently by
  19795. monitoring the state of the Rx DMA buffer cache coherency and
  19796. invalidating only regions as necessary. From Evgeniy Bobkov
  19797. (2018-08-21).
  19798. * net/procfs/netdev_statistics.c: Was not handling the output correct
  19799. for the case of an IEEE 802.11 device. From Gregory Nutt (2018-08-21).
  19800. * fs/hostfs: Add support for open() append mode From anchao
  19801. (2018-08-22).
  19802. * fs/hostfs: Add ftruncate support. From Xiang Xiao (2018-08-22).
  19803. * sched/symtab: Reference default symtab name to binfmt From anchao
  19804. (2018-08-22).
  19805. * binfmt/elf: Set priority level to default if parent has no
  19806. priority. From anchao (2018-08-22).
  19807. * configs: Several applications in apps/ were calling elf_initialize()
  19808. nxflat_initialize(), or builtin_initialize() in violation of the
  19809. portable POSIX interface. Those calls were removed from the
  19810. applications and added to the appropriate board initialization with
  19811. this commit. From Gregory Nutt (2018-08-22).
  19812. * drivers/wireless/ieee80211/bcmf_netdev.c: Add missing logic to poll
  19813. for more Tx data after the last transfer completes. From Gregory
  19814. Nutt (2018-08-22).
  19815. * configs/: Change CONFIG_BOARD_RESET_ON_CRASH to
  19816. CONFIG_BOARD_RESET_ON_ASSERT, arch/: Implement call to board_reset()
  19817. if in all implementations of up_assert() when
  19818. CONFIG_BOARD_RESET_ON_ASSERT=y. From Xiang Xiao (2018-08-22).
  19819. * apps/system/system/system.c: Add 'const' to make function prototype
  19820. compatible with OpenGroup.org requirement From Xiang Xiao
  19821. (2018-08-23).
  19822. * arch/arm: (1) Add semihost support for syslog, (2) Add semihost
  19823. support for HostFS From Gregory Nutt (2018-08-23).
  19824. * binfmt: Add binfmt_initialize(). All binary formats are now
  19825. registered centrally vs. in board-specific logic. This simplifies
  19826. the usage of the binfmt subsystem. From Xiang Xiao (2018-08-23).
  19827. * mm/: add mm_heapmember function and reimplement kmm_heapmember base
  19828. on mm_heapmember since this function is very useful if multiple heaps
  19829. exist. From Xiang Xiao (2018-08-23).
  19830. * pthreads: Add support static pthread stack. Add standard
  19831. pthread_attr_setstack() and pthread_attr_getstack(). In all cases
  19832. where the stack is released, add check to see which allocator must be
  19833. used to free the stack: The user or the kernel allocator. From
  19834. xuanlin (2018-08-23).
  19835. * arch/arm/src/armv7-m: Implement SYSTICK timer driver From Xiang
  19836. Xiao (2018-08-23).
  19837. * configs/sim/loadable: Add loadable demo for arch sim
  19838. sched/init: Restore previously reverted option to mount block device
  19839. for INIT_FILEPATH case
  19840. configs/stm3240g-eval/knxwm: Fix build breakage.
  19841. configs: With recent changes to apps/ all configurations that build
  19842. applications as modules must now also select CONFIG_APPS_LOADABLE.
  19843. configs/sim/loadable: Add loadable demo for arch sim
  19844. Kconfig and tools/Makefile.unix and : add dynamic application
  19845. loadable support From anchao (2018-08-23).
  19846. * tools/nxstyle.c: Add capability to detect multiple blank lines.
  19847. Single spacing required by the coding standard. Also coding standard
  19848. fixes to server .c files for problems found during testing nxstyle.
  19849. From Gregory Nutt (2018-08-24).
  19850. * Replace non critical PANIC with DEBUGPANIC to save the code space
  19851. From Xiang Xiao (2018-08-24).
  19852. * Replace all ASSERT with DEBUGASSERT to save the code space From
  19853. Xiang Xiao (2018-08-24).
  19854. * arm syscalls: svcall/sycall logic needs to get the ucontext argument
  19855. from R4 instead of stack since all syscall parameters pass from
  19856. registers in syscall.h From Xiang Xiao (2018-08-24).
  19857. * arch/arm/armv7-m: MPU: mpu_log2regionceil needs take into account
  19858. the offset too From Xiang Xiao (2018-08-24).
  19859. * arch/ and task/sched: vfork operation needs to allocate and copy the
  19860. task argument too. Also correction of the address correction cannot
  19861. depend on the stack pointer since it is not available in all
  19862. architectures. Rather calculate the offset from the stack
  19863. allocation pointer From Xiang Xiao (2018-08-24).
  19864. * include/nuttx/arch.h: Add prototype for an architecture-specific
  19865. up_trigger_irq function From dongjianli (2018-08-24).
  19866. * include/nuttx/arch.h: Add prototype for an architecture-specific
  19867. up_trigger_irq function
  19868. arch/, include/nuttx, sched/sched: Add the garbage collection hook
  19869. so each architecture can do custom memory cleanup if necessary.
  19870. arch/Kconfig: Add configuration CONFIG_ARCH_GNU_NO_WEAKFUNCTIONS to
  19871. suppress use of weak functions. Some gnu derived toolchains do not
  19872. support weak symbols From Xiang Xiao (2018-08-24).
  19873. * include/nuttx/arch.h: Add architecture-specific prototypes for
  19874. conversions between physical and virtual address. From ligd (2018-08-24).
  19875. * net/arp: arp_find() now checks if the target IP belongs to one of the
  19876. local network devices. From Xiang Xiao (2018-08-24).
  19877. * net/netdev: add devif_loopback() to check the loopback case where
  19878. a packet is being sent to itself. Modify the net driver to call this
  19879. function in this case. This function will simply re-inject the
  19880. packet back into the network and the network driver will not put
  19881. anything on the wire. From Xiang Xiao (2018-08-24).
  19882. * include/nuttx/clock.h, sched/sched: Support the CPU load measurement
  19883. using timer_lowerhalf_s interface From Xiang Xiao (2018-08-24).
  19884. * drivers/timers: Add maxtimeout method to the struct timer_ops_s
  19885. interface From Xiang Xiao (2018-08-24).
  19886. * drivers/timers: Add a new method to the struct oneshot_operations_s
  19887. interface to get the current time from a oneshot timer driver (if it
  19888. is available from the lower half) From Xiang Xiao (2018-08-24).
  19889. * drivers/net: drivers/net: Add support for Microchip LAN91C111
  19890. driver From Xiang Xiao (2018-08-24).
  19891. * arch/sim/src/up_netdriver.c: (1) Remove up_comparemac() check for
  19892. matching MAC address. Let's trust that the tap device just return the
  19893. packet which belong to us like other real network device hardware.
  19894. (2) Add network device statistics support. From Xiang Xiao
  19895. (2018-08-24).
  19896. * up_internal.h: Define out the prototype for up_netinitialize() if
  19897. CONFIG_NETDEV_LATEINIT is also defined From dongjianli (2018-08-24).
  19898. * sched/irq/irq_dispatch.c: Ensure vector never points to NULL since
  19899. interrupt may happen before irq_initialize() From Xiang Xiao
  19900. (2018-08-24).
  19901. * sched/irq: Add support interrupt chains in NuttX. IRQ chain is very
  19902. useful in these cases: (1) Multiple hardware connect to the same
  19903. request line(e.g. PCI), (2) Need multiple driver to support one
  19904. hardware block (like Linux MFD) From zhuguangqing (2018-08-24).
  19905. * sched/irq/irq_procfs.c: Fix occasional computation error when
  19906. fracpart >= 1000 From Xiang Xiao (2018-08-24).
  19907. * arch/: Fix an error found in build testing. The prototype of
  19908. mpu_log2regionfloor() changed; an additional parameter was added.
  19909. However, none of the calls to mpu_log2regionfloor() were updated to
  19910. pass the new, additional parameter. From Gregory Nutt (2018-08-24).
  19911. * net/arp: Make the function arp_find() thread-safe. It now returns a
  19912. copy of the MAC address from the ARP table entry, rather than a
  19913. potentially unstable reference to the ARP table entry. From Gregory
  19914. Nutt (2018-08-24).
  19915. * arch/arm/src/kinetis: I2C ensure timeout on bus error. The code had
  19916. a dead wait on I2C_S_BUSY. Noise on the bus would cause the driver to
  19917. hang. Add timeout on invalid states of I2C_S_BUSY to allow the upper
  19918. layers do deal with restart or abort. From David Sidrane (2018-08-25).
  19919. * sched/irq: Monitor the irq execution time. This is very useful for
  19920. measuring the interrupt latency. From Xiang Xiao (2018-08-25).
  19921. * drivers/sensors and configs/nucleo-l476g: Add support for LSM303AGR
  19922. and LSM6DSL sensors From DisruptiveNL (2018-08-25).
  19923. * arch/arm/src/armv7-m/up_trigger_irq.c: Add logic to trigger ARMv7-M
  19924. interrupts and exceptions. From Gregory Nutt (2018-08-25).
  19925. * arch/arm/src/armv-7m/nvic.h: Add definitions needed by
  19926. up_trigger_irq(). From Gregory Nutt (2018-08-25).
  19927. * drivers/wireless/ieee80211/bcmf_sdio.c: Bring in some fixes from the
  19928. 'Haywire' branch. From Gregory Nutt (2018-08-25).
  19929. * sched/wqueue: Modify high priority work queue to support multiple
  19930. threads.
  19931. sched/wqueue and libs/libc/wqueue: workqueues don't need set global
  19932. data to zero since .bss is cleared automatically. Removing this
  19933. unnecessary initialization also avoids the loss the work items queued
  19934. before initialization. From ligd (2018-08-25).
  19935. * sched/wqueue, libs/libc/wqueue, configs: Remove work queue polling
  19936. delay to simplify the code logic and save the power. From xuanlin
  19937. (2018-08-25).
  19938. * drivers/syslog: Channel configuration. Decouple
  19939. SYSLOG_SERIAL_CONSOLE and ARCH_LOWPUTC. Since some hardware can
  19940. output log to the special debug channel not serial.
  19941. drivers/syslog/vsyslog.c: Support pre-pending a prefix string to log
  19942. output if enabled. This very useful to identify which cpu send out
  19943. the log in AMP SoC.
  19944. drivers/syslog/vsyslog.c: Make timestamp output same as linux
  19945. kernel. It's very useful if NuttX syslog retarget to Linux syslog.
  19946. From Xiang Xiao (2018-08-26).
  19947. * libs/libc/syslog/lib_syslog.c: Fix syslog crash on 64bit simulation.
  19948. From anchao (2018-08-26).
  19949. * Write to a pipe when there are no readers from the pipe should return
  19950. -EPIPE. From ligd (2018-08-26).
  19951. * drivers/serial/pty.c: Add support so that a PTY can poll for both
  19952. IN/OUT event simultaneously. From ligd (2018-08-26).
  19953. * drivers/serial: Add Ctrl-C/Ctrl-X support. This is an initial
  19954. working implementation that still requires that several details be
  19955. resolved.
  19956. sched/task/task_start.c: Add default signal action to SIGKILL. From
  19957. ligd (2018-08-26).
  19958. * Send poll() notification when the Tx buffer is flushed From ligd
  19959. (2018-08-26).
  19960. * drivers/serial/serial.c: Support UART direct write for non console
  19961. device From xuanlin (2018-08-26).
  19962. * drivers/serial/serial.c: Don't overwrite nwritten unconditionally on
  19963. UART write failure. From Xiang Xiao (2018-08-26).
  19964. * drivers/serial: Move head/tail pointer reset to uart_recvchars_dma
  19965. since dma may be still transferring in the background. From Xiang
  19966. Xiao (2018-08-26).
  19967. * drivers/serial/serial.c: In DMA mode, the use of uart_disablexinit()
  19968. is insufficient to protect a critical section.
  19969. enter/leave_critical_section() must be used in those cases if
  19970. CONFIG_SERIAL_DMA=y From Xiang Xiao (2018-08-26).
  19971. * drivers/serial/uart_16550.c: Add a configuration, analogous to the
  19972. STM32 configuration option, to suppress the NuttX standard
  19973. re-ordering for /dev/ttySN for special case of the 16550 UART.
  19974. config/serial: UART 16550: Add CONFIG_SERIAL_UART_ARCH_MMIO option so
  19975. the a memory mapped device doesn't need to provide uart_getreg() and
  19976. uart_putreg() implementations.
  19977. u16550_txempty() should check UART_LSR_TEMT to avoid some data left
  19978. in the transmit FIFO From Xiang Xiao (2018-08-26).
  19979. * drivers/serial/uart_16550.c: Add stub implementations of DMA-related
  19980. methods in the 16550 UART v-table. From ligd (2018-08-26).
  19981. * drivers/serial/uart_16550.c: Add serial termios handling From
  19982. anchao (2018-08-26).
  19983. * drivers/serial/uart_16550.c: Support 16550 auto hardware flow control
  19984. drivers/serial/uart_16550.c: Add configuration option
  19985. CONFIG_16550_SUPRESS_INITIAL_CONFIG. This is identical to the
  19986. standard configuration in arch/Kconfig CONFIG_SUPPRESS_UART_CONFIG,
  19987. but with scope of only the 16550 driver. From Xiang Xiao (2018-08-26).
  19988. * fs/hostfs/Kconfig: Remove ARCH_SIM dependence since other
  19989. architectures (e.g., arm semihosting) could support hostfs too From
  19990. Xiang Xiao (2018-08-26).
  19991. * fs/hostfs/hostfs.c: Support remote directory names without a trailing
  19992. '/' From ligd (2018-08-26).
  19993. * fs/hostfs/hostfs.c: Ensure f_type is equal to HOSTFS_MAGIC. From
  19994. Xiang Xiao (2018-08-26).
  19995. * fs/hostfs/hostfs.c: Add re-try when hostfs mount() fails From ligd
  19996. (2018-08-26).
  19997. * fs/romfs/fs_romfsutil.c: Make romfs_devread32 more portable From
  19998. anchao (2018-08-26).
  19999. * fs/nfs: Update nfs mount to VER3 From zhangyuan7 (2018-08-26).
  20000. * fs/vfs/fs_select.c: Make select be more consistent with Linux man
  20001. page: 'The timeout ... Some code calls select() with all three sets
  20002. empty, nfds zero, and a non-NULL timeout as a fairly portable way to
  20003. sleep with subsecond precision.' From anchao (2018-08-26).
  20004. * fs/vfs/fs_fstat.c: Add file_fstat() function for internal OS use.
  20005. From ligd (2018-08-26).
  20006. * fs/vfs/fs_fcntl.c, net/socket/net_dupsd.c, and
  20007. net/socket/net_vfcntl.c: Add file_fcntl, psock_fcntl, and
  20008. psock_dupsd for use within the kernel. From Xiang Xiao (2018-08-26).
  20009. * fs/vfs/fs_poll.c: Add poll use in kernel space. From dongjianli
  20010. (2018-08-26).
  20011. * include/nuttx/compiler.h, include/poll.h: Add logic to determine if
  20012. the compiler supports anonymous structures and unions. From Gregory
  20013. Nutt (2018-08-26).
  20014. * Move psock check from [get|set]sockopt to psock_[get|set]sockopt
  20015. From Xiang Xiao (2018-08-26).
  20016. * net/Kconfig: Uncomment the prompt of NET_SLIP_PKTSIZE From Xiang
  20017. Xiao (2018-08-26).
  20018. * net/tcp/tcp_monitor.c: Fix net unlock issue when tcp close. This
  20019. bug could leave the net locked. From zhangyuan7 (2018-08-26).
  20020. * netdev_findby_ipv[4|6]addr return netdev_default() as last resort but
  20021. don't return loopback device if another network device is in the UP
  20022. state. From Xiang Xiao (2018-08-26).
  20023. * net/socket/getsockname.c: Add psock_getsockname function From Xiang
  20024. Xiao (2018-08-26).
  20025. * net/netdev/netdev_ioctl.c: Add si_ioctl callback and
  20026. net_ioctl_arglen so usrsock could forward the ioctl to the remote
  20027. end From dongjianli (2018-08-26).
  20028. * include/nuttx/net/ethernet.h: Remove CONFIG_NET_ETHERNET guard From
  20029. Xiang Xiao (2018-08-26).
  20030. * net/usrsock/: Correct of semaphore usage issues. From Gregory Nutt
  20031. (2018-08-26).
  20032. * net/usrsock: Combine some the duplicated logic. From Xiang Xiao
  20033. (2018-08-26).
  20034. * net/usrsock/usrsock.h: Fix re-definitions of struct iovec. From
  20035. ligd (2018-08-26).
  20036. * net/usrsock: Optimize option dependence From Xiang Xiao (2018-08-26).
  20037. * net/usrsock: Add the listen/accept/getpeername/ioctl support From
  20038. dongjianli (2018-08-26).
  20039. * net/icmp/icmp_conn.c and net/icmpv6/icmpv6_conn.c: Change the type
  20040. of id in icmpv[6]_findconn to uint16_t From Xiang Xiao (2018-08-26).
  20041. * net/icmp and icmpv6: Fix failure to poll ICMP socket issue. From
  20042. dongjianli (2018-08-26).
  20043. * include/nuttx/fs/fs.h: ... conflicting types for file_fstat(). From
  20044. Gregory Nutt (2018-08-26).
  20045. * include/crc64.h: fix warning: integer constant is too large for its
  20046. type From Xiang Xiao (2018-08-27).
  20047. * include/nuttx/fs/binfs.h: Fix warning: Type defaults to 'int' in
  20048. declaration of 'mountpt_operations' From Xiang Xiao (2018-08-27).
  20049. * include/nuttx/compiler.h: fix warning: __cplusplus is not defined.
  20050. Some gcc derived compiler do not define __cplusplus From Xiang Xiao
  20051. (2018-08-27).
  20052. * include/nuttx/kmalloc.h: Add {kumm/kmm}_calloc API. Add calloc API
  20053. for manage user memory and kernel memory in Flat Build/Kernel Build
  20054. without kernel heap. From zhuyanlin (2018-08-27).
  20055. * include/queue.h: Add dq_tail marco From zhuguangqing (2018-08-27).
  20056. * include/spawn.h: Fix posix_spawnattr_destroy warning: 'the address
  20057. of attr will always evaluate as true' From Xiang Xiao (2018-08-27).
  20058. * include/nuttx/i2c/i2c_master.h: Add the standard speed macros. From
  20059. dongjiuzhu (2018-08-27).
  20060. * Move clock_timespec_[add|subtract] to include/nuttx/clock.h From
  20061. Xiang Xiao (2018-08-27).
  20062. * include/nuttx/semaphore.h: don't include nuttx/fs/fs.h. (1) Avoid
  20063. nested loops if CONFIG_SIG_EVTHREAD enabled, (2) semaphore.h doesn't
  20064. depends on fs.h. From Gregory Nutt (2018-08-27).
  20065. * include/nuttx/semaphore: apply the semaphore wait function
  20066. nxsem_wait_uninterruptible(). The function
  20067. nxsem_wait_uninterruptible() is a wrapped version of nxsem_wait(),
  20068. which is uninterruptible and convenient for use. From liuhaiyang
  20069. (2018-08-27).
  20070. * include/nuttx/mutex.h: Add inline wrapper functions to more clearly
  20071. support semaphores when used as mutexs. From QianWenfa (2018-08-27).
  20072. * include/sys/types: Move wint_t and wctype_t from wchar.h to
  20073. types.h. This change is compatible as before since wchar.h include
  20074. types.h indirectly. This fixes a compilation error with newlib's
  20075. math.h: 'unknown type name wint_t' From Xiang Xiao (2018-08-27).
  20076. * include/nuttx/nuttx.h: Added nuttx.h header file which is analogous
  20077. to the linux.h header file. Currently, it contains on the definition
  20078. of the container_of() macro. From zhuyanlin (2018-08-27).
  20079. * Kconfig: Move 'option modules' from NSH_FILE_APPS to BUILD_LOADABLE
  20080. From anchao (2018-08-27).
  20081. * drivers/crypto: Move dev_urandom.c into new crypto folder. From
  20082. Xiang Xiao (2018-08-27).
  20083. * drivers/pwm: Move pwm.c into pwm folder From Xiang Xiao (2018-08-27).
  20084. * drivers/audio: Move the I2S character driver to a dedicated folder.
  20085. From Xiang Xiao (2018-08-27).
  20086. * arch/arm/src/stm32/stm32f30xxx_i2c.c: Fix compile error with I2C
  20087. reset From Juha Niskanen (2018-08-27).
  20088. * include/nuttx/audio/audio.h: Change member samp of apb to pointer so
  20089. driver can customize sample buffer allocation From ZhongAn
  20090. (2018-08-27).
  20091. * libs/libc/audio/lib_buffer.c: Call nxsem_destroy in apb_free From
  20092. Xiang Xiao (2018-08-27).
  20093. * include/nuttx/audio/audio.h: Add ioctl cmd 'AUDIOIOC_SETBUFFERINFO'
  20094. so user space could config the buffer From ZhongAn (2018-08-27).
  20095. * nuttx/audio: Add hardware format support From anchao (2018-08-27).
  20096. * include/nuttx/audio/i2s.h: Add i2s_rxchannels and i2s_txchannels
  20097. methods to the I2S lower half interface. From ZhongAn (2018-08-27).
  20098. * drivers/audio/audio_i2s.c: Add audio_i2s device driver. From
  20099. ZhongAn (2018-08-27).
  20100. * audio/audio_comp.c: Add the composite audio driver From Xiang Xiao
  20101. (2018-08-27).
  20102. * driver/ioexpander: Add gpio_pin_unregister function to GPIO driver
  20103. driver/ioexpander: Add pinset struct to GPIO driver for interrupt
  20104. pins larger than 64
  20105. driver/ioexpander: Initialize pintype/inttype when registering
  20106. ioexpander device
  20107. driver/ioexpander: Add SETPINTYPE ioctl command to the GPIO driver
  20108. From zhuyanlin (2018-08-27).
  20109. * drivers/serial/Kconfig: It is no longer necessary to restrict Ctrl-C
  20110. handling to the FLAT build
  20111. sched/signal: Add a new configuration option to select signal
  20112. default actions, separate handling of signal default actions from
  20113. both task startup logic and from the serial TTY Ctrl-C logic. Add a
  20114. signal set in the group structure to keep track of what signals have
  20115. been set to the default action. In dispatching signals in PROTECTED
  20116. or KERNEL mode, use this signal set to determine if the default
  20117. signal handler is attached and dispatch the signal in kernel mode for
  20118. the default actions. From Gregory Nutt (2018-08-27).
  20119. * drivers/timers/arch_timer.c: implement timer arch API on top of timer
  20120. driver interface
  20121. drivers/timers/arch_alarm.c: Implement alarm arch API on top of
  20122. oneshot driver interface
  20123. drivers/timers/arch_rtc.c: Implement RTC arch API on top of RTC
  20124. driver interface
  20125. include/nuttx/timers/rtc.h: Extend struct rtc_time by adding
  20126. tm_nsec if RTC supports hiresolution time. From Xiang Xiao
  20127. (2018-08-27).
  20128. * sched/signals: Update the signal default action logic to support
  20129. sigaction(). signaction() must be able to handle and input action
  20130. of SIG_DFL to setup the default signal action; it mast also return
  20131. SIG_DFL it is replacing the default action. From Gregory Nutt
  20132. (2018-08-27).
  20133. * drivers/power: PM: Add pm_stay and pm_relax function so special
  20134. apps(e.g. mediaplayer) could disable suspend during playback much like
  20135. linux kernel counterpart From Xiang Xiao (2018-08-27).
  20136. * drivers/power: PM: Add pm_querystate function From zhuguangqing
  20137. (2018-08-27).
  20138. * drivers/power/: PM: Don't update the power state in work thread:
  20139. (1) Simplify the code logic and remove the work queue dependence,
  20140. (2) Power calculation is too simple to delay into the work queue
  20141. From Xiang Xiao (2018-08-27).
  20142. * drivers/pm: PM: Decrease the power state in the reverse order.
  20143. Since the child driver need power off before parent driver. From
  20144. zhuguangqing (2018-08-27).
  20145. * drivers/power: PM: Make power manager service available as soon as
  20146. possible: (1) Initialize g_pmglobals at the definition, (2) skip
  20147. hold the lock if OS isn't ready From Xiang Xiao (2018-08-27).
  20148. * drivers/pm: PM: Add PM_RESTORE to notify driver that device exit
  20149. WFI so the driver could restore state. For example, WDT may stop
  20150. counting before enter low power state and restore the counting again
  20151. in PM_RESTORE notification From zhuguangqing (2018-08-27).
  20152. * drivers/power: PM: Add timer to decrease PM level automatically
  20153. From ligd (2018-08-27).
  20154. * sched/signal: Default Signal Actions. Change some types to
  20155. superficially simplify. Add configuration options to enabled
  20156. default signal behaviors on a per-signal basis. I don't think users
  20157. are prepared for SIGALRM to terminate the task (which is the correct
  20158. default behavior if you don't change it). Extend the implementation
  20159. of default signals so that it is totally table driven and extensible
  20160. by simply mondifying the content of const tables. From Gregory Nutt
  20161. (2018-08-27).
  20162. * drivers/power/pm_register.c: Fix an error found in build testing.
  20163. From Gregory Nutt (2018-08-27).
  20164. * drivers/mtd: Add gd25 driver From wangyanjiong (2018-08-28).
  20165. * include/limits.h and include/sys/types.h: Fix warning about
  20166. 'SIZE_MAX' redefined. include/nuttx/usb/audio.h: Fix warnings due
  20167. to '-' used whete '_' intended. From Xiang Xiao (2018-08-28).
  20168. * drivers/mtd/mtd_partition.c: Copy the partition name to internal
  20169. buffer so that the caller can free the name argument From Xiang
  20170. Xiao (2018-08-28).
  20171. * drivers/mtd/ftl.c: Support initialization of an FTL block device
  20172. with a custom name From Xiang Xiao (2018-08-28).
  20173. * fs/partition/fs_partition.c: Add PTABLE parser
  20174. fs/partion: Add a partition parser framework
  20175. fs/driver/fs_blockpartition.c: Add register_blockpartition for
  20176. block partition From Xiang Xiao (2018-08-28).
  20177. * drivers/mtd/ftl.c: Reduce size of stack buffer from 64 to a maximum
  20178. size as determined from NAME_MAX From Gregory Nutt (2018-08-28).
  20179. * drivers/serial: Integrate new Ctrl-C logic with the ISIG flag in
  20180. the termios c_lflag. Fix several compiler errors resulting from
  20181. recently flurry of renaming. From Gregory Nutt (2018-08-28).
  20182. * sched/signal: Add support for SIGINT in addition to SIGKILL.
  20183. drivers/serial: Use SIGINT instead of SIGKILL when control-C is
  20184. pressed. From Gregory Nutt (2018-08-28).
  20185. * sched/signal: Add logic and an interface to determine if a signal
  20186. can be caught or ignored. sigaction now correctly returns EINVAL on
  20187. any attempt to catch or ignore such signals (only SIGKILL for now
  20188. and only if CONFIG_SIG_DEFAULT=y). From Gregory Nutt (2018-08-28).
  20189. * configs/boardctl.c: Add support for board_app_finalinitialize()
  20190. From ligd (2018-08-28).
  20191. * configs/metro-m4/nsh/defconfig: Correct RAM size From Gregory Nutt
  20192. (2018-08-28).
  20193. * arm/armv7-r: Add general interrupt controller. This is based on
  20194. armv7-a gic controller code.
  20195. arm/armv7-r: Add invalidate dcache in arm_head.S.
  20196. arm/armv7-r: Fix some wrong configuration of program status
  20197. register. PSR_E_BIT bit should be set for big endian system.
  20198. PSR_A_BIT bis is set automatically as arm cortex-r4 reference manual
  20199. 3.7.4. So we don't need to set this bit.
  20200. arm/armv7-r: Fix some wrong MPU register definition. Change
  20201. MPU_RBAR_ADDR_MASK and MPU_RACR_TEX_SHIFT mask as arm cortex-r4
  20202. reference manual. Region Base Address Register 0-4 bits are
  20203. reserved. MPU Region Access control register type 3-5 bits.
  20204. driver/mtd: fix compilation error. From EunBong Song (2018-08-29).
  20205. * drivers/audio/audio_i2s.c: Fix bad NULL pointer check From Juha
  20206. Niskanen (2018-08-29).
  20207. * sched/group/group_killchildren.c: In some circumstances,
  20208. group_killchildren() could have called pthread_cancel() to kill a
  20209. task. Also, the behavior would not be as expected if a pthread had
  20210. cancellation disabled. sched/signal/sig_default.c: Correct signal
  20211. handling in the multiple threaded case. The SIGKILL signal may
  20212. actually be processed on a pthread, not the main thread of the
  20213. task. From Gregory Nutt (2018-08-29).
  20214. * drivers/serial/serial_dma.c: Fix typo error in uart_recvchars_dma()
  20215. From Xiang Xiao (2018-08-29).
  20216. * net/arp/arp_out.c: Fix some backward logic in an if condition.
  20217. From Gregory Nutt (2018-08-29).
  20218. * sched/signal/sig_default.c: Lock the scheduler while while killing
  20219. the children so that we do not lose priority and let the task group
  20220. continue to run in an indeterminate state. From Gregory Nutt
  20221. (2018-08-29).
  20222. * sched/signal: This adds support for default signal actions for
  20223. SIGSTOP, SIGSTP, and SIGCONT"
  20224. Add procfs support to show stopped tasks. Add nxsig_action() to
  20225. solve a chicken and egg problem: We needed to use sigaction to set
  20226. default actions, but sigaction() would refuse to set actions if the
  20227. default actions could not be caught or ignored.
  20228. Add configuration option to selectively enabled/disable default
  20229. signal actions for SIGSTOP/SIGSTP/SIGCONT and SIGKILL/SIGINT. Fix
  20230. some compilation issues.
  20231. sched/sched: If a task/thread was already blocked when
  20232. SIGSTOP/SIGSTP was received, it will restart in the running state.
  20233. It will appear that to the task/thread that the blocked condition was
  20234. interrupt by a signal and returns the EINTR error. From Gregory
  20235. Nutt (2018-08-30).
  20236. * arch/arm/src/lpc43xx: Make WWDT usable again. LPC43xx WWDT driver
  20237. was not updated when irq_dispatch grew an argument parameter. Also
  20238. fixes two typos and a naming inconsistency (WWDT vs. WWDG). From
  20239. Jakob Haufe (2018-08-30).
  20240. * arch/arm/src/samd5e5: Updates to clock configuration from initial
  20241. testing. With these changes the boot up gets through clock
  20242. configuration but hangs in the low-level USART configuration before
  20243. completing the boot. From Gregory Nutt (2018-08-31).
  20244. * arch/arm/src/stm32f7: Add up_stackcheck.c From Daniel Agar
  20245. (2018-08-31).
  20246. * stm32h7/stm32_serial.c: don't include stm32_dma.h From raiden00pl
  20247. (2018-09-01).
  20248. * drivers/sensors/dhtxx.c: Driver for DHTxx sensor.
  20249. configs/olimex-stm32-p407: Add board support for the DHTxx sensor.
  20250. From Ouss4 (2018-09-01).
  20251. * arch/arm/src/samd5e5/sam_lowputc.c: Only the console USART was
  20252. begin enabled. From Gregory Nutt (2018-09-01).
  20253. * arch/arm/src/samd5e5: Correct some bad addresses in the memory
  20254. map. From Gregory Nutt (2018-09-01).
  20255. * configs/metro-m4: Fix RxD PAD selection. Add a configuration
  20256. option to use OSCULP32K instead of XOSC32K. From Gregory Nutt
  20257. (2018-09-01).
  20258. * configs/metro-m4: Fix RxD interrupt pin selection. The number
  20259. SERCOM interrupts do not refer to PAD numbers, but to bit positions
  20260. in the INFLAG register (very tiny footnote in the data sheet). With
  20261. with final fix, the basic NSH configuration appears fully
  20262. functional. From Gregory Nutt (2018-09-01).
  20263. * configs/metro-m4: Verify the CMCC and enable it by default in the
  20264. NSH configuration. From Gregory Nutt (2018-09-01).
  20265. * configs/metro-m4: Fix problem with SysTick timer running too fast.
  20266. This turned out to be a dumb typo in board.h that was providing the
  20267. wrong CPU frequency to the SysTick setup logic. From Gregory Nutt
  20268. (2018-09-02).
  20269. * arch/arm/src/stm32h7: Remove old references to RXDMA. Add
  20270. configuration option to select the Rx FIFO threshold level. From
  20271. Gregory Nutt (2018-09-02).
  20272. * sched/: Update signal default STOP action. If waitpid was called
  20273. with the WUNTRACED then wake up waitpid(). From Gregory Nutt
  20274. (2018-09-02).
  20275. * drivers/serial: Add support for Ctrl-Z. This works just like the
  20276. recently added Ctrl-C support except that SIGSTP is sent when the
  20277. Ctrl-Z characters is encountered vs. SIGINT. From Gregory Nutt
  20278. (2018-09-02).
  20279. * configs/b-l475e-iot01a/src: Fix copy paste errors in names:
  20280. stm32_bringup->stm32l4_bringup. Noted by Freemans Goden. From
  20281. Gregory Nutt (2018-09-04).
  20282. * configs/b-l475e-iot01a/src: Add timer driver support. From Goden
  20283. Freemans (2018-09-04).
  20284. * arch/arm/src/stm32f7: Port the low-level PM functions to STM32F7.
  20285. From Juha Niskanen (2018-09-04).
  20286. * tools/Makefile.unix: Was not cleaning up export directory if it was
  20287. left from a failed export. configs/sama5d4-ek/README.txt: Update.
  20288. From Gregory Nutt (2018-09-04).
  20289. * tools/mkexport.sh: Save the name of the STRIP tool too. From
  20290. Gregory Nutt (2018-09-04).
  20291. * arch/arm/src/stm32l4: Add getstatus and getperiod() method to the
  20292. timer driver (includes coding standard changes made prior to
  20293. commit) From Goden Freemans (2018-09-05).
  20294. * configs/: apps/netutils/ping has been removed. Ping support is now
  20295. provided by apps/system/ping. Remove references to
  20296. -CONFIG_NETUTILS_PING or change them to CONFIG_SYSTEM_PING with
  20297. CONFIG_NET_ICMP_SOCKET=y From Gregory Nutt (2018-09-05).
  20298. 7.27 2018-11-14 Gregory Nutt <gnutt@nuttx.org>
  20299. * mm/iob: Add an IOB notifier that will send a signal to any registered
  20300. threads that want to be notified when an IOB has been freed. This is an
  20301. untested work-in-progress and is intended to be a part of a larger solution
  20302. to correctly handling network poll operations. From Gregory Nutt
  20303. (2018-09-08).
  20304. * sched/signal: Add a generic signal notification facility. Modify the
  20305. custom IOB available notifier so that it is now just a wrapper around this
  20306. generic signal notification. This generic signal notification facility
  20307. will, eventually, be used to support network polling. From Gregory Nutt
  20308. (2018-09-09).
  20309. * net/tcp and udp: Add logic to signal events when TCP or UDP read-ahead
  20310. data is buffered. From Gregory Nutt (2018-09-09).
  20311. * net/netdev: Add signal notification for the case where the network goes
  20312. down. From Gregory Nutt (2018-09-09).
  20313. * sched/signal: In signal notification facility, use sigqueue() to notify
  20314. vs. kill(). With sigqueue(), we can pass more info (but still not enough).
  20315. From Gregory Nutt (2018-09-09).
  20316. * Signals were not a good choice of IPC to implement the poll function for
  20317. several reasons: In order to handle the asynchronous poll-related event, a
  20318. substantial amount of state information is needed. Signals are only capable
  20319. of passing minimal amounts of data. There are also complexities with
  20320. performing kernel space signal handlers in kernel space code that is better
  20321. to avoid. So, instead of signals, the equivalent logic was converted to run
  20322. via a callback that executes on the high-priority work queue. From Gregory
  20323. Nutt (2018-09-09).
  20324. * net/TCP: Extend the TCP notification logic logic so that it will also
  20325. report loss of connection events. From Gregory Nutt (2018-09-09).
  20326. * arch/arm/src/lpc43xx: Fix Ethernet TX_EN pin definitions. TX_EN on
  20327. LPC43xx can be routed via P0.1 and PC.4 in both MII and RMII mode. Before,
  20328. P0.1 was hard-coded for MII and PC.4 was hard-coded for RMII. Also, the
  20329. definitions used inconsistent naming (TXEN vs. TX_EN). From Jakob Haufe
  20330. (2018-09-10).
  20331. * sched/wqueue: Notifier design cleanup. The original concept used
  20332. pre-allocated notification data structures. However, the notification data
  20333. must persist for an indeterminate amount of time. So the design was
  20334. modified to use dynamically allocated data structures. This commit
  20335. simplifies the design by removed some residual 'machinery' that is no longer
  20336. needed. From Gregory Nutt (2018-09-10).
  20337. * sched/sched/sched_waitpid.c: Remove a bad error check. From Gregory Nutt
  20338. (2018-09-10).
  20339. * mm/iob and sched/semaphore: Work around some issues with the IOB throttle
  20340. semaphore. It has some odd behaviors that can cause assertions in
  20341. sem_post(). Also, it seems to get outside of its range occasionally. Need
  20342. to REVISIT this. From Gregory Nutt (2018-09-10).
  20343. * sched/wqueue: Add an option to work queue notifier so that the
  20344. notification can occur on different work queues. From Gregory Nutt
  20345. (2018-09-11).
  20346. * This patch prevent heap corruption as in below case.
  20347. TASK A TASK B
  20348. malloc()
  20349. mm_takesemaphore()
  20350. heap holder is set to TASK B
  20351. <--- preempt
  20352. ...
  20353. task_exit()
  20354. Set to current task to
  20355. TASK B
  20356. Try to release tcb, and
  20357. stack memory
  20358. free()
  20359. mm_takesemaphore()
  20360. - Successfully obtain
  20361. semaphore because current
  20362. task and heap holder is
  20363. same.
  20364. Free memory....
  20365. Heap corrupt.
  20366. This change forces all de-allocations via sched_kfree() and sched_ufree()
  20367. to be delayed. Eliminating the immediate de-allocation prevents the
  20368. above problem with the the re-entrant semaphore because the deallocation
  20369. always occurs on the worker thread, never on TASK B.
  20370. There could be consequences in the timing of memory availability. We
  20371. will see. From EunBong Song (2018-09-11).
  20372. * mm/iob: IOB free notifier should accept the work queue ID as a
  20373. parameter. The notification may need to run on either the high- or low-
  20374. priority work queue. sched/work: Change the default priority of the
  20375. low-priority work queue to 100. From Gregory Nutt (2018-09-11).
  20376. * net/tcp and net/udp: In the POLLOUT poll logic, request an immediate Tx
  20377. poll from the network device bound to the socket. This obviously cannot
  20378. work if there is not single device bound to the network device. From
  20379. Gregory Nutt (2018-09-11).
  20380. * kinetis: i2c On failed reset re-init i2c and clocking. If a reset fails,
  20381. we still must reinitializes the i2c block so that subsequent transfers will
  20382. not cause a hard-fault due to the clock being off. If that transfer fails
  20383. it can try to reset again. From David Sidrane (2018-09-11).
  20384. * net/tcp/tcp_netpoll.c: Add logic to receive notifications when IOBs are
  20385. freed (Needs CONFIG_NET_TCP_WRITE_BUFFERS and CONFIG_IOB_NOTIFIER). At
  20386. present, does nothing because the logic in in psock_tcp_cansend() does not
  20387. check for the availability of IOBs. That will change. From Gregory Nutt
  20388. (2018-09-11).
  20389. * mm/iob: iob_navail() was returning the number of free IOB chain queue
  20390. entries, not the number of free IOBs. Completely misnamed. From Gregory
  20391. Nutt (2018-09-12).
  20392. * net/tcp/tcp_netpoll.c: Add logic to receive notifications when IOBs are
  20393. freed (Needs CONFIG_NET_TCP_WRITE_BUFFERS and CONFIG_IOB_NOTIFIER). At
  20394. present, does nothing because the logic in in psock_tcp_cansend() does not
  20395. check for the availability of IOBs. That will change.
  20396. mm/iob: iob_navail() was returning the number of free IOB chain queue
  20397. entries, not the number of free IOBs. Completely misnamed.
  20398. net/tcp/tcp_send_buffered.c: Extend psock_tcp_cansend() so that it also
  20399. requires that at least on IOB is also available.
  20400. net/tcp/tcp_netpoll.c: tcp_iob_work() needs to free the allocated
  20401. argument when it is finished.
  20402. sched/wqueue/kwork_notifier.c: Redesign some data structures. struct
  20403. works_s must appear at the beginning of the notifier entry structure.
  20404. That is because it contains the work queue indexes. This solves a
  20405. hard-fault issue. From Gregory Nutt (2018-09-12).
  20406. * net/udp/udp_netpoll.c: Port TCP poll changes to UDP. From Gregory Nutt
  20407. (2018-09-12).
  20408. * tools/Config.mk: Fix an error in RWILDCARD implementation From Anthony
  20409. Merlino (2018-09-12).
  20410. * mm/iob: Add a divider that can be used to reduce the rate of IOB
  20411. notifications. From Gregory Nutt (2018-09-13).
  20412. * tools/Directories.mk: Correct the path to the installed libcxx
  20413. directory. From Gregory Nutt (2018-09-13).
  20414. * fs/smartfs/smartfs_smart.c: Current sector should have a space for next
  20415. entry size. If not, we should move to next sector. From EunBong Song
  20416. (2018-09-14).
  20417. * task/task_restart.c: Restarted with sigprocmask set. Should have been
  20418. cleared. Noted by Jeongchan Kim From Gregory Nutt (2018-09-14).
  20419. * net/usrsock: Revert commit 'net/usrsock: Optimize option dependence'.
  20420. Re-allow combination of usrsock and NuttX TCP/IP stack. For example, in
  20421. case device has Ethernet and mobile connectivity and NuttX TCP/IP stack is
  20422. used when configured to use Ethernet connection and usrsock when
  20423. configured to use modem (modem TCP/IP stack through usrsock). From Jussi
  20424. Kivilinna (2018-09-14).
  20425. * libs/libc/wqueue/work_usrthread.c: Eliminate a race condition noted by
  20426. Xiang Xiao. Use sigprocmask() so that we do not lose a signal. From
  20427. Gregory Nutt (2018-09-14).
  20428. * fs/vfs/fs_open.c: Add nx_open() which is the same as open() except that
  20429. it does not create a cancellation point nor does it modify the errno
  20430. variable.
  20431. many locations: Change occurrences of open() followed by file_detach() to
  20432. file_open(). Change most non-controversial calls to open() to nx_open().
  20433. fs/inode/fs_fileopen.c: Add file_open() implementation with some interim,
  20434. placeholder logic. From Gregory Nutt (2018-09-15).
  20435. * include/nuttx/fs/fs.h: Fix some backward parameters in a new macro
  20436. definition. From Gregory Nutt (2018-09-15).
  20437. * Replace calls to ioctl() in the OS to file_ioctl() From Gregory Nutt
  20438. (2018-09-15).
  20439. * configs/stm32l4r9ai-disco/src/stm32_adc.c: Replace calls to ioctl() in
  20440. the OS to file_ioctl() From Gregory Nutt (2018-09-15).
  20441. * Rename file_close_detached() to just file_close() for better consistency
  20442. in naming. From Gregory Nutt (2018-09-15).
  20443. * fs/inode/fs_fileclose.c: Move file_close() a separate file. It no
  20444. longer makes sense for it to cohabitate with file_detach(). From Gregory
  20445. Nutt (2018-09-15).
  20446. * configs/b-l475e-iot01a/include/b-l475e-iot01a_clock.h: Correct timer
  20447. source clock frequencies. From Freemans Goden (2018-09-16).
  20448. * tools/tesbuild.sh: No longer installs and builds the NxWidgets
  20449. libraries. They are now a port of apps/. From Gregory Nutt (2018-09-16).
  20450. * I2C support for STM32H7
  20451. - stm32h7/chip.h: Update peripherals
  20452. - stm32h7x3xx_rcc.h: Update definitions
  20453. - stm32h7x3xx_rcc.c: Remove some unused code and configure I2C clocks
  20454. - stm32h7: add lower half I2C driver (based on F7 I2C driver)
  20455. - configs/nucleo-h743zi: Add LSM303AGR and LSM6DSL configuration
  20456. - sensors/lsm303agr.c, sensors/lsm6dsl.c: add missing include, remove
  20457. whitespace From raiden00pl (2018-09-16).
  20458. * libs/libc/math: Add variable convergence in log() and logf() to avoid
  20459. hangs caused by failure to converge for very specific input values.
  20460. libs/libc/math: Small change to log() and logf() that improves accuracy
  20461. and convergence time From Rajan Gill (2018-09-16).
  20462. * drivers/timers: RTC_PERIODIC is no longer EXPERIMENTAL, remove
  20463. unimplemented EXPERIMENTAL RTC configuration variables. From Juha
  20464. Niskanen (2018-09-17).
  20465. * C library: Add some new functions defined in POSIX.1-2017: stpncpy(),
  20466. strsignal(), psignal(), psiginfo(). From Gregory Nutt (2018-09-17).
  20467. * libs/libc/string/lib_stpncpy.c: Correct the return pointer value for the
  20468. case where the NUL terminator is transferred. From Gregory Nutt
  20469. (2018-09-18).
  20470. * drivers/usbdev: Fix buffer overrun check in rndis.c. The rndis driver has
  20471. been working since 13 Nov 2017. However, I finally found that it depends
  20472. on network and buffer configurations. If a receiving TCP packet is
  20473. divided into smaller ones based on USB max packet size, this condition
  20474. check works correctly. From Masayuki Ishikawa (2018-09-20).
  20475. * - mtd/progmem: change up_progmem_npages to up_progmem_neraseblocks
  20476. page is a unit for read/write operation.
  20477. eraseblock is a unit for erase operation.
  20478. up_progmem_npages is a little bit confusing because it returns number of
  20479. erase blocks in flash memory. This patch changes up_progmem_npages to
  20480. up_progmem_neraseblocks. There is no logical change.
  20481. - mtd/progmem: up_progmem_erasesize.
  20482. Change argument name to be more readable.
  20483. - mtd/progmem: up_progmem_eraseblock
  20484. Change up_progmem_erasepage to up_progmem_eraseblock.
  20485. eraseblock is more readable name than erasepage.
  20486. - mtd/progmem: change up_progmem_eraseblock's return value.
  20487. up_progmem_eraseblock erase a block. so it's better to return the erase block
  20488. size than page size.
  20489. - arm/cortex-r : fix wrong cp15_flash_dcache.
  20490. change mcrne to mcr for unconditional dcache. From EunBong Song (2018-09-21).
  20491. * arch/arm/src/armv7-a: Replicate the same fix was previously committed for
  20492. the armv7-r. From Gregory Nutt (2018-09-20).
  20493. * arch/arm/src/lc823450: Fix up_allocate_heap() in
  20494. lc823450_allocateheap2.c. For lc823450, heap area in flat build mode must
  20495. start just after _eronly. Because bss/data area is allocated in lower
  20496. address than text area in SRAM. See ld.scripts for details. Also, this
  20497. change removes unused up_allocateheap.c From Masayuki Ishikawa
  20498. (2018-09-21).
  20499. * arch/arm/src/stm32f7: Remove adhoc PM interfaces and add CONFIG_PM serial
  20500. suspend. From Gregory Nutt (2018-09-21).
  20501. * arch/arm/src/kinetis: Remove all attempts to reprioritize interrupts.
  20502. From Gregory Nutt (2018-09-21).
  20503. * arch/arm/src: Correct all ARMv7-M architectures. Interrupts were not be
  20504. disabled correctly on power up. Writing zero to the NVIC SET-ENABLE
  20505. registers has no effect. In order to disable interrupts, it is necessary
  20506. to write all ones to the NVIC CLEAR-ENABLE register. Noted by David
  20507. Sidrane. From Gregory Nutt (2018-09-21).
  20508. * net/tcp/tcp_recvwindow.c: In order to receive data we must not only have
  20509. IOBs available, but we must also have at least one IOB chain qentry
  20510. available. Otherwise, we will advertise that we an buffer a lot of data
  20511. when, in fact, we cannot. This is an experimental fix to a performance
  20512. problem noted by Masayuki Ishikawa. From Gregory Nutt (2018-09-22).
  20513. * fs/driver: Add support for named MTD drivers in the pseudo file system.
  20514. This will, eventually, allow us to mount file systems that need MTD
  20515. drivers without having to fake an intervening block driver.
  20516. fs/driver and fs/mount: Add mount() support for file systems that require
  20517. MTD drivers (vs. block drivers). From Gregory Nutt (2018-09-22).
  20518. * include/sys/socket.h: Renumber the socket types. They must begin at 1,
  20519. not zero. Socket type zero has a special meaning for some interfaces. For
  20520. example, getaddrinfo() uses a socket type of zero to many any type of
  20521. socket. The is no standard name for the any-type-socket, but macOS uses
  20522. SOCK_UNSPEC. NuttX will do the same. Issue noted by Anthony Merlino.
  20523. From Gregory Nutt (2018-09-24).
  20524. * Brings in an initial port of version 0.3.7 of Peter Anderson's SPIFFS
  20525. flash file system into NuttX. From Gregory Nutt (2018-09-24).
  20526. * arch/arm/src/imxrt/imxrt_enet.c: The board would not come up if I ran
  20527. Nuttx from cold. I dumped the PHY registers to see what the differences
  20528. were and the PHY was coming up in NANDTree mode. This is a mode for
  20529. testing connectivity between the PHY and the MAC. Switching this mode off
  20530. in the PHY registers has fixed the problem. From Dave Marples (2018-09-25).
  20531. * net/tcp/tcp_wrbuffer.c: Fix buffer release handling on failed buffer
  20532. alloc. Attempt to release write buffer on failed TCP write I/O buffer
  20533. alloc and tryalloc failed to wrb->wb_iob assertion. From Harri Luhtala
  20534. (2018-09-25).
  20535. * drivers/net/enc28j60.c: Adjust debug trace levels. Correct typos in some
  20536. comments. From Harri Luhtala (2018-09-25).
  20537. * A few improvements to getaddrinfo: (1) Use the protocol and socktype
  20538. hints in returned address, (2) Ignore AI_PASSIVE argument if hostname is
  20539. not NULL From Anthony Merlino (2018-09-25).
  20540. * Fixes issue with libcxx build. This was changed multiple times, but
  20541. should be fixed now. From Anthony Merlino (2018-09-25).
  20542. * include/nuttx: Fix definitions used to access OS functions within the
  20543. libraries. In the FLAT build, we must always set the errno and/or create
  20544. cancellation points because the same library functions are used within the
  20545. OS as are used by applications. This could cause issues for the OS but
  20546. corrects some problems at the user interface. Noted by Federico
  20547. Braghiroli in Bitbucket issue 121. From Gregory Nutt (2018-09-26).
  20548. * arch/arm/src/imxrt: Add LPI2C driver. From Ivan Ucherdzhiev (2018-09-26).
  20549. * arch/arm/src/imxrt/imxrt_lpsrtc.c: SVNC LPCR register bits 0 & 1 are NOT
  20550. reserved and are, in fact, needed to enabled the SRTC. Now the SRTC is
  20551. working. From Ivan Ucherdzhiev (2018-09-26).
  20552. * arch/arm/src/imxrt/imxrt_enet.c: Fix a race condition in setting up the
  20553. Ethernet Tx transfer. From Dave Marples (2018-09-26).
  20554. * arch/arm/src/lc823450: MPU support for FLAT build From Masayuki Ishikawa
  20555. (2018-09-27).
  20556. * Corrections for the i.MXRT Ethernet:
  20557. (1) Now the Ethernet is completely re-initialized when an error occurs by
  20558. means of taking the interface down and back up but the PHY is _not_
  20559. renegotiated for that case because that is very time consuming and an
  20560. error in the Ethernet is no reflection on the state of the PHY anyway.
  20561. (2) Explicitly sets the expected PHY address to zero (this could be moved
  20562. into the config) rather than searching for it which takes ages, and
  20563. it's zero anyway for this board (that's the broadcast address, and
  20564. anything that cannot respond on that has multiple PHYs, so that would
  20565. be a new board).
  20566. (3) Allows for the renegotiation of the PHY to be optional when a reset is
  20567. needed. If a non-renegotiated reset doesn't result in good comms to
  20568. the PHY then it'll automatically be escalated to a renegotiated one.
  20569. (4) Only performs a reset for errors that need it (the CRITICAL_ERROR
  20570. define). The list of errors that need reset are somewhat arbitrarily
  20571. chosen based on my prejudices and might need to be revisited, but
  20572. certainly the jabber errors don't need reset, the partial packet is
  20573. thrown away by the layer above anyway.
  20574. (5) Re-loads the multicast table on reset.
  20575. (6) Adds a bit more logging into the imxrt Ethernet module. From Dave
  20576. Marples (2018-09-28).
  20577. * fs/spiffs: SPIFFS is basically functional although still immature. From
  20578. Gregory Nutt (2018-09-28).
  20579. * drivers/leds/max7219.c: Support all digits presented in the MAX7219
  20580. datasheet. From Alan Carvalho de Assis (2018-09-29).
  20581. * fs/procfs/fs_procfsproc.c: Change output of the env file so that it looks
  20582. more like output from the 'env' command. Documentation/NuttShell.html:
  20583. Document the new NSH 'env' command. From Gregory Nutt (2018-09-30).
  20584. * sched/environ/env_unsetenv.c: Fix and error in unsetenv() when unsetting
  20585. the last of the environment variables. From Gregory Nutt (2018-09-30).
  20586. * Documentation/NuttShell.html: Update document to describe the 'export'
  20587. command, the CONFIG_NSH_VARS setting, and the effect of this setting on
  20588. the behavior of the 'set' and 'unset' commands. Add description of the
  20589. PATH environment variable. From Gregory Nutt (2018-10-01).
  20590. * EFM32, STM32 (FS/HS), STM32F7, and STM32L4 OTGFS/HS: Th epin_configure()
  20591. function used the same eptype as the TxFIFO number for all endpoints.
  20592. This should probably be the physical EP number, not the EP type.
  20593. Suggested by Key Two. From Gregory Nutt (2018-10-02).
  20594. * libs/libc/stdio/lib_sscanf.c: Fix conversion for format specifiers that
  20595. appear right after a floating point format specifier. When performing a
  20596. floating point conversion the parsing code could consume more than
  20597. required characters from the input buffer. This made impossible to convert
  20598. input of form "1.1K" using format "%f%c". Fix the issue by advancing the
  20599. input buffer with the actual characters converted as a float point
  20600. number. From Mihai Serban (2018-10-03).
  20601. * stm32h7/rcc: update rcc defs, add SPI clock configuration and some fixes
  20602. in rcc
  20603. stm32h7: initial defs for SPI
  20604. stm32h7: initial defs for MDMA, DMA, BDMA and DMAMUX
  20605. From raiden00pl (2018-10-04).
  20606. * stm32_tim.c: don't use hard-coded UIF interrupt in some functions From
  20607. raiden00pl (2018-10-04).
  20608. * configs: add support for nucleo-f302r8 board From raiden00pl (2018-10-05).
  20609. * libs/libc/stdio: Remove CONFIG_NOPRINTF_FIELDWIDTH. That option does,
  20610. indeed, make the printf family of functions much smaller. But it also
  20611. adds a lot of complexity and makes the functions non-standard. Removing
  20612. this might break some of the tinier platforms but it is the best thing to
  20613. do for long term maintenance for for OpenGroup.org compliance.
  20614. libs/libc/stdio/lib_libvsprintf.c: Resolves the integer field width
  20615. problem if Issue 35 for the cases of integer, long and long long integer
  20616. types. The output now matches the output form glibc. From Gregory Nutt
  20617. (2018-10-05).
  20618. * configs/olimex-stm32-p407: Added a HID keyboard configuration. From
  20619. Gregory Nutt (2018-10-06).
  20620. * configs/olimex-lpc1766stk: Add support to initialize a USB HID keyboard.
  20621. Still don't have a working configuration. Seems to require a lot of
  20622. transfer descriptors. Also reorganized some logic. It has been a long
  20623. time since the Olimex LPC1766-STK has had any TLC.
  20624. configs/olimex-lpc1766stk/hidkbd: Add a configuration for testing the HID
  20625. keyboard. From Gregory Nutt (2018-10-06).
  20626. * drivers/wireless/ieee802.11: Add capability for Broadcom chips to get
  20627. firmware and CLM data from a mounted file system vs. in-memory data
  20628. structures. From Ramtin Amin (2018-10-07).
  20629. * drivers/wireless/ieee802.11: Extend Add capability to get firmware from a
  20630. mounted file system to BCM43362. From Gregory Nutt (2018-10-07).
  20631. * arch/arm/src/stm32f7/stm32_serial.c: Force invalidation of data cache
  20632. after DMA re-enable when returning from low-power mode From Juha Niskanen
  20633. (2018-10-09).
  20634. * stm32f0, stm32f7, stm32h7, stm32l4 serial: Fix use of
  20635. CONFIG_SERIAL_IFLOWCONTROL where CONFIG_SERIAL_OFLOWCONTROL was intended.
  20636. From Juha Niskanen (2018-10-10).
  20637. * EFM32, Kinetis, BCM2708: Juha Niskanen's fix related to
  20638. CONFIG_SERIAL_OFLOWCONTROL also applies to cloned logic in BCM2708, EFM32,
  20639. and Kinetis. From Gregory Nutt (2018-10-10).
  20640. * arch/mips/include/mips32/cp0.h: Fix some copy-paste errors that cause
  20641. malformed comments and syntax errors when certain CP0 CONFIG1 bits are
  20642. referenced. Note in Issue 123 by Anonymous. From Gregory Nutt
  20643. (2018-10-12).
  20644. * arch/arm/src/lpc43xx/lpc43_serial.c: Fix copy-paste error:
  20645. g_usart1port->g_uart1port. From Dave Marples (2018-10-12).
  20646. * arch/arm/src/imxrt/imxrt_lpi2c.c: Fixes 2 bugs in the for IMXRT1050: (1)
  20647. I2C time out and did not send STOP condition when sending single byte, (2)
  20648. I2C could not receive bytes after repeated start. From Ivan Ucherdzhiev
  20649. (2018-10-13).
  20650. * Improvements in STM32 PWM low level driver
  20651. stm32_pwm: remove some impossible PWM configurations
  20652. stm32_pwm: support for complementary outputs
  20653. stm32_pwm: deadtime configuration
  20654. stm32_pwm: output polarity and IDLE state configuration
  20655. nucleo-f302r8: pwm support
  20656. stm32f429i-disco: pwm support From Mateusz Szafoni (2018-10-14).
  20657. * stm32_pwm: break and lock configuration and some cosmetics From Mateusz
  20658. Szafoni (2018-10-15).
  20659. * arch/mips/src/pic32mz/pic32mz-serial.c: Fix a typo in assignment of TTYS0
  20660. to UART6 From Ouss4 (2018-10-15).
  20661. * arch/mips/src/pic32mz/pic32mz-head.S: Initialize the global pointer in
  20662. all shadow sets. From Ouss4 (2018-10-16).
  20663. * arch/mips/src/mips32/Toolchain.defs: Add toolchain flags for the pinguino
  20664. toolchain under Linux. From Ouss4 (2018-10-16).
  20665. * configs/pcblogic-pic32mx: Remove support for the PCB Logic PIC32MX
  20666. board. I do not find any references to PCB Logic on the web and I do not
  20667. believe that this breakout board is available any longer. From Gregory
  20668. Nutt (2018-10-17).
  20669. * drivers/mtd: Add support to Macronix MX25LF25635F serial NOR flash From
  20670. David Sidrane (2018-10-17).
  20671. * drivers/mtd/s25fl1.c: During a MTDIOC_GEOMETRY ioctl call, the driver was
  20672. incorrectly reporting the blocksize to be the same as the erasesize. The
  20673. blocksize should be 256 (the page size). This patch fixes that, and now
  20674. the SmartFS configration is working. From Ken Pettit (2018-10-18).
  20675. * configs/bambino-200e/include/board.h: Correct calculation of SDMMC clock
  20676. configuration. The LPC43 has no SDMMC source clock divider. Error noted
  20677. by Dave Marples. From Gregory Nutt (2018-10-18).
  20678. * stm32 enable separate DMA per SPI configuration From Daniel Agar
  20679. (2018-10-18).
  20680. * drivers/sensors/ina226.c: Add INA226 device driver. From Daniel P.
  20681. Carvalho (2018-10-19).
  20682. * configs/lpcxpresso-lpc54628/include/board.h: Update logic used to
  20683. calculate SDMMC input clock divider. From Gregory Nutt (2018-10-21).
  20684. * Fix the LPC4330 family SDMMC card access. Some of these fixes (e.g. DELAY
  20685. register) may also be applicable elsewhere. These are _NOT_ extensively
  20686. tested, but they are certainly better than the current state of the
  20687. driver. The fixes, specifically, are;
  20688. - Clocks were wrongly configured - way too fast because there is no
  20689. primary divider on LPC4330
  20690. This is fixed by means of changing the definitions in the board.h file.
  20691. I've edited the one for the lpc4330-xplorer board because I'm actually
  20692. working with Versiboard and don't want to contribute that config just
  20693. yet while I've still got the drains up on it.
  20694. - The LPC43_SDMMC_DELAY register was not being set
  20695. I suspect, in the 'real world', it's possible to get away without
  20696. setting this, but I've added a register definition, default value and
  20697. register access macros into arch/arm/src/lpc43xx/chip/lpc43_scu.h and
  20698. then used them in arch/arm/src/lpc43xx/lpc43_sdmmc.c.
  20699. - The LPC43_SDMMC_BLKSIZ and LPC43_SDMMC_BYTECNT registers had the wrong
  20700. values.
  20701. The management have already implemented a rather nice block level
  20702. interface for the stm32 so I've just re-used that to write to these
  20703. registers as required. I'm slightly nervous that accessing the
  20704. configuration registers (SCR being the prime example) which has a much
  20705. smaller block size may not be being done in the right way but it does
  20706. seem to work correctly, so let's assume it's all OK until someone tells
  20707. me otherwise.
  20708. These fixes have been tested with DMA-based read/write on a LPC4330. Speed
  20709. via nsh is pretty low but I'm assuming that's just a
  20710. buffering/implementation issue for now. From Dave Marples (2018-10-21).
  20711. * arch/arm/src/lpc54/lpc54_sdmmc: Port Dave Marple's LPC43 USB DCD fix to
  20712. the LPC54 with appropriate naming changes. From Gregory Nutt (2018-10-21).
  20713. * arch/arm/src/stm32f7/stm32_flash.c: Allow programming OTP blocks through
  20714. progmem interface From Jussi Kivilinna (2018-10-22).
  20715. * arch/arm/src/lpc54xx/lpc54_sdmmc.c: Tested Dave Marple's LPC43 fix with
  20716. the LPC54. The driver still does not work on the LPC54. This commit adds
  20717. support for and SDMMC errata and setting of the delay register which was
  20718. missing in the previous commit. It appears that now I can read the SD
  20719. card successfully, but I get CRC errors when writing to the card. From
  20720. Gregory Nutt (2018-10-22).
  20721. * arch/arm/src/lpc43xx/lpc43_sdmmc.c: This commit corrects a problem in
  20722. lpc43_dmasendsetup(). There was no linked DMA descriptor code on the send
  20723. side. The end result was stalls while sending multiple sectors. This
  20724. commit adds that in and the send code is working much better. From Dave
  20725. Marples (2018-10-23).
  20726. * arch/arm/src/lpc54xx/lpc54_sdmmc.c: This commit ports Dave Marple's DMA
  20727. fix for the LPC43 SD/MMC to the LPC54. From Gregory Nutt (2018-10-23).
  20728. * - imxrt: Fix typos bit# and names
  20729. - imxrt: wdog Registers are 16 Bits
  20730. - imxrt: wdog Update has to be within 255 clocks of unlock
  20731. - imxrt: clockconfig Fix comments
  20732. - imxrt1050-evk: board.h Fix comments
  20733. - imxrt: imxrt_ccm.h Define Mux Selects for board.h use
  20734. - imxrt: clockconfig Allow better control from board.h
  20735. 1) Allows a board config clock setting to be defined
  20736. in terms of the /n values shown in Figure 18-2.
  20737. Clock Tree of the i.MX RT1050 Processor Reference
  20738. Manual, Rev. 1, 03/2018
  20739. 2) Allows the clock multiplex selection to be made in
  20740. The board config.
  20741. - imxrt1050-evk: Define board clocking based on divisor and muxes
  20742. From David Sidrane (2018-10-23).
  20743. * nuttx/drivers/usbdev/rndis.c: Account for CONFIG_NET_GUARDSIZE in
  20744. allocation of packet buffer
  20745. nuttx/drivers/usbdev/rndis.c: Make USB device parameters configurable
  20746. From Sakari Kapanen (2018-10-24).
  20747. * nuttx/net/tcp/tcp_input.c: Fix recovery when ackseq > unackseq. The
  20748. comment near this line says "reset the number of outstanding,
  20749. unacknowledged bytes". However, the code actually resets the whole TCP
  20750. connection. It was changed to the current form in commit f034d84ea1f with
  20751. no explanation of the intent. Recover the line to what it was before that
  20752. commit. From Sakari Kapanen (2018-10-24).
  20753. * libs/libc: Correct some errors in psignal() and stpncpy(). From Lokesh B
  20754. V (2018-10-24).
  20755. * configs/nucleo-l432kc/include/board.h: Fix SPI pin definitions. From
  20756. Daniel P. Carvalho (2018-10-24).
  20757. * With these changes the SDMMC card for LPC4330 is now working properly BUT
  20758. it needs more testing, especially with different cards etc. This code
  20759. should be applicable to all members of the lpc43xx family.
  20760. In addition to the problems that were previously identified there were a
  20761. few other bits and pieces outstanding;
  20762. - Timing was dependent on CPU speed rather than absolute time
  20763. - End of transfer handling was a bit mixed up
  20764. - It's possible for data to still be in the FIFO (i.e. not have reached
  20765. the card) when a next write is requested, so we need to wait for that to
  20766. complete
  20767. - Interrupt Status could be carried over from one transfer episode to the
  20768. next, corrupting progress
  20769. - Multi-descriptor DMA writing simply wasn't implemented, but there were no
  20770. indications ... it just failed silently From Dave Marples (2018-10-24).
  20771. * arch/arm/src/lpc54xx/lpc54_sdmmc.c: Ported the last of Dave Marples fixes
  20772. to the LPC54. Not yet verified. From Gregory Nutt (2018-10-24).
  20773. * drivers/wireless/ieee80211/bcmf_core.c: There were two functions that
  20774. have a address issue. In bcmf_read_sbreg and bcmf_write_sbreg,
  20775. SBSDIO_SB_OFT_ADDR_MASK should be used before map address space. Noted by
  20776. Shao Li in Bitbucket issue #126. From Gregory Nutt (2018-10-25).
  20777. * configs/nucleo-l432kc: Added support for AT45DB Serial Flash From Daniel
  20778. P. Carvalho (2018-10-25).
  20779. * drivers/wireless/ieee80211/bcmf_sdpcm.c: Remove incorrect OR condition.
  20780. Always true, would always cause allocation failure. Noted by Shao Li in
  20781. Issue 127. From Gregory Nutt (2018-10-26).
  20782. * arch/x86/src/qemu/qemu_head.S: Correct .bss, IDLE stack, heap
  20783. organization. From Gregory Nutt (2018-10-26).
  20784. * net/sixlowpan: Fixes bug in uncompress_addr handling of odd postfix. This
  20785. affected multicast compress/uncompress since it's the only logic that used
  20786. an odd postfix. The odd byte needs to be handled first, not last. From
  20787. Anthony Merlino (2018-10-27).
  20788. * Fixes logic in ipv6_input to handle more than ff02::/16 multicast
  20789. addresses. Don't forward mcast packets if scope is not appropriate From
  20790. Anthony Merlino (2018-10-27).
  20791. * Adds extern "C" guard in include/net/if.h From Anthony Merlino
  20792. (2018-10-27).
  20793. * Adds definitions for IPPROTO_IPV6 socket options to netinet/in.h Adds
  20794. missing fields to sockaddr_in6. Adds struct ipv6-mreq. These changes all
  20795. follow the opengroup standard for netinet/in.h From Anthony Merlino
  20796. (2018-10-27).
  20797. * include/sys/socket.h: With increased size of struct sockaddr_in6 of
  20798. commit 55f31f03f9cca55b8b94ebf31cef3f501d8d76cf, the size of struct
  20799. sockaddr_storage in include/sys/socket.h must also be increase so that it
  20800. can contain the new, larger sockaddr_in6. From Gregory Nutt (2018-10-27).
  20801. * libs/libc/misc/lib_crc8ccitt.c: Adds implementation of CRC8-CCITT. From
  20802. Alan Carvalho de Assis (2018-10-27).
  20803. * Add basic SPI support for H7
  20804. - stm32h7: basic SPI support (nodma, noirq)
  20805. - nucleo-h743zi: nrf24l01 support
  20806. - nrf24l01.c: fix compilation errors
  20807. - stm32h7x3xx_rcc.c: enable SYSCFG clock From Mateusz Szafoni (2018-10-28).
  20808. * arch/arm/stm32: add support for STM32F303xD/E; configs: add basic support
  20809. for nucleo-f303ze From Mateusz Szafoni (2018-10-28).
  20810. * include/netinet/in.h: Per OpenGroup.org, type of sin_port in struct
  20811. sockaddr_in must be in_port_t vs uint16_t. NOTE: in_port_t is typdef'ed
  20812. as uint16_t anyway. Plus additional cosmetic changes for things like long
  20813. lines. From Gregory Nutt (2018-10-28).
  20814. * include/netinet/in.h: Add IPv4 SOL_IP socket options for symmetry with
  20815. IPv6 definitions added in a previous commit. None of the socket options
  20816. have been implemented! From Gregory Nutt (2018-10-28).
  20817. * include/netinet/in.h: Add other definitions required by OpenGroup.org.
  20818. From Gregory Nutt (2018-10-28).
  20819. * drivers/sensors/mlx90614.c: Add support for the Infrared Thermometer
  20820. MLX90614 From Alan Carvalho de Assis (2018-10-28).
  20821. * configs/stm32f4discovery/src/stm32_mlx90614.c: Add MLX90614 support for
  20822. the STM32F4Discovery board From Alan Carvalho de Assis (2018-10-28).
  20823. * include/sys/sockio.h, net/netdev/netdev_ioctl.c: Fix a recently compile
  20824. error introduced with commit that added the semi-standard ip_msfilter
  20825. structure to netinet/in.h. However, there was a non-standard version of
  20826. that structure in sys/sockio.h. This commit removes the non-standard
  20827. version of struct ip_msfilter and adapts the IOCTL and device lookup logic
  20828. in net/netdev to work with the new, semi-standard version in
  20829. netinet/in.h. From Gregory Nutt (2018-10-29).
  20830. * This commit brings in support for the GAP8 architecture. The GAP8 is a
  20831. 1+8-core DSP-like RISC-V MCU. Also included is support for the Gapuino
  20832. GAP8 evaluation board. From hhuysqt (2018-10-30).
  20833. * Fixes Kconfig options to include all STM32F20XX processors, not just
  20834. STM32F207
  20835. - arch/arm/src/stm32: Fixes Kconfig options to include all STM32F20XX
  20836. processors, not just STM32F207
  20837. - arch/arm/src/stm32: Removes redundant STM32_STM32F429 depends from
  20838. Kconfig. STM32F4XXX already does this
  20839. From Anthony Merlino (2018-10-31).
  20840. * include/nuttx/net/mld.h: Add MLD header file based on RFC2710 and
  20841. RFC3810. From Gregory Nutt (2018-10-31).
  20842. * arch/arm/src/imxrt: Add full support for the LPSPI in poll mode; includes
  20843. a minor fix for LPI2C. From Gregory Nutt (2018-10-31).
  20844. * net/mld: Add basic build structure for Multicast Listener Discovery
  20845. (MLD). No yet functional. From Gregory Nutt (2018-10-31).
  20846. * Add new configuration CONFIG_NET_MCASTGROUP. This option is selected
  20847. automatically if either CONFIG_NET_IGMP or CONFIG_NET_MLD are selected.
  20848. Most conditional logic based on CONFIG_NET_IGMP replaced with conditioning
  20849. on CONFIG_NET_MCASTGROUP. From Gregory Nutt (2018-10-31).
  20850. * net/inet: Add framework to support IPv4 and IPv6 protocol socket options
  20851. (i.e., SOL_IP and SOL_IP6). Handling of these socket options is a
  20852. necessary step on the way to future ICMPv6 MLD support. From Gregory Nutt
  20853. (2018-10-31).
  20854. * net/inet/ipv4_setsockopt.c: Add implementation for all IPv4 socket
  20855. options that have implemented IOCTL command counterparts. From Gregory
  20856. Nutt (2018-10-31).
  20857. * configs/imxrt1050-evk/src: Previous committed implemented atypical
  20858. SPI-based MMC/SD card support conditioned on CONFIG_MMCSD. This is, of
  20859. course, incorrect and interferes with the implementation of correct MMC/SD
  20860. card support using the correct SDIO-based peripheral. This commit renames
  20861. that atypical support to *mmcsd_spi* and conditions using that atypical
  20862. support on CONFIG_MMCSD_SPI with should then not interfere with the
  20863. correct MMC/SD support that can be conditioned on CONFIG_MMCSD_SDIO. From
  20864. Gregory Nutt (2018-10-31).
  20865. * arch/arm/src/imxrt/imxrt_usdhc.c: Initial commit of the i.MXRT SDHC
  20866. driver. This driver is partially functional, working in PIO mode. DMA
  20867. support and additional testing are needed. From Dave Marples (2018-10-31).
  20868. * This change is needed specifically for the case where a boot loader sets
  20869. the SPE bit before starting NuttX. In that case, the test in the SPI
  20870. driver is bogus. This change fixes that by assuring that NuttX has booted
  20871. and initialized at least once (whether or not SPE is set) before the
  20872. driver starts refusing to initialize.
  20873. arch/arm/stm32*: Don't rely on SPI_CR1_SPE to determine if peripheral has
  20874. been initialized yet. From Anthony Merlino (2018-11-01).
  20875. * Xbee getset txpwr
  20876. - drivers/wireless/ieee802154/xbee: Minor improvements to debug facilities.
  20877. - drivers/wireless/ieee802154/xbee: Add support for setting/getting tx
  20878. power.
  20879. From Anthony Merlino (2018-11-01).
  20880. * net/mld: Initialize implementation of MLD. From Gregory Nutt (2018-11-01).
  20881. * include/nuttx/net/ipv6ext.h: Create header file with all of the
  20882. definitions of IPv6 extension headers that I could find.
  20883. net/mld/mld_send.c: Correct the size and format of the Hop-to-hop, Router
  20884. alert extension header. From Gregory Nutt (2018-11-01).
  20885. * drivers/sensors/mlx90614.c: Fix MLX90614 to re-flash new device address
  20886. From Alan Carvalho de Assis (2018-11-02).
  20887. * net/inet/ipv6_setsockopt.c: Implement the IPV6_JOIN_GROUP and
  20888. IPV6_LEAVE_GROUP socket options.
  20889. net/devif/ipv6_input.c and net/icmpv6/icmpv6_input.c: Add logic to skip
  20890. over the variable number of IPv6 extension headers that may be present
  20891. between the IPv6 header and the transport layer header. The extension
  20892. headers are simply ignored. This is necessary because with MLD, certain
  20893. incoming messages may have, at a minimum, a Router Alert Hop-by-hop
  20894. extension header.
  20895. net/devif, net/tcp, and net/udp: Extend so that all support Transport
  20896. protocols supported by IPv6 can handle the presence of IPv6 header
  20897. extension options. From Gregory Nutt (2018-11-02).
  20898. * net/mld: Updates from comparison with roughly leveraged code and the MDL
  20899. RFCs 2710 and 3810.
  20900. net/mld: Defer all timeout-related operations to the work queue vs.
  20901. handling within the timer interrupt. Need to notify the device driver for
  20902. an immediate poll when there are MLD packets waiting to be sent. From
  20903. Gregory Nutt (2018-11-03).
  20904. * net/igmp: Backport some MLD design improvements/fixes. From Gregory Nutt
  20905. (2018-11-04).
  20906. * net/mld: Implement MLDv1 compatibility mode. This completes coding of
  20907. MLD. MLD is, however, still completely untested. From Gregory Nutt
  20908. (2018-11-04).
  20909. * net/mld: Fix some compile errors fill debug info is enabled. Fix some
  20910. errors in formatting the Listener report. Still has a checksum error.
  20911. From Gregory Nutt (2018-11-04).
  20912. * tools/configure.c: Add missing '\n' in printf statement
  20913. tools/configure.c: Add missed -g option to getopt() string
  20914. tools/configure.c and tools/configure.sh: Fix Windows native pre-build
  20915. kconfig-conf incompatibility. Looks like pre-built Windows native
  20916. kconfig-conf interprets "..\apps" as "..apps" (possibly '\a' as
  20917. escape-sequence) so expand winnative path to double-backslashed variant
  20918. "..\\apps".
  20919. tools/mkdeps.c: Fix '\0' missing in MinGW. Implicit bug. There are 2
  20920. cases.
  20921. 1. Under Linux. The code works as planned: '\n' is always replaced with
  20922. '\0' due to sprintf fills n-1 bytes and reaches buffer length limit.
  20923. 2. Under Windows/MinGW. There is memory corruption. Seems like it`s a bug
  20924. inside MinGW/snprintf. Snprintf fills consecutively "oldbase",'
  20925. ',"str",'\n', but does not inserts trailing '\0' instead of '\n'. And
  20926. when next append() occurs, strlen() returns garbage-appended "oldbase".
  20927. So the fix just removes '\n' and reserves space for '\0'.
  20928. tools/link.bat: Fix .fakelink creation
  20929. configs/Makefile and tools/Config.mk: Move single file copy to the new
  20930. function COPYFILE. This fixes the Windows native build case when there is
  20931. no cp or cp does not recognize Windows paths. From Anatol Ivanov
  20932. (2018-11-05).
  20933. * configs/nucleo-l432kc: Add support for the INA226. From Daniel P.
  20934. Carvalho (2018-11-05).
  20935. * tools/Config.mk and tools/Makefile.win: Force use 'cmd' for shell with
  20936. windows native build From Anatol Ivanov (2018-11-06).
  20937. * tools/Makefile.win/unix: Staging directory (and its libraries) should be
  20938. removed on 'make clean' (issue noted by Dave Marples). From Gregory Nutt
  20939. (2018-11-06).
  20940. * net/procfs: Add support to provide MLD stats at /proc/net/mld. net/mld:
  20941. Fix a couple more bugs found in further MLD testing. From Gregory Nutt
  20942. (2018-11-06).
  20943. * Adding imxrt 106x
  20944. - imxrt: Fix comment in imxrt105x_memorymap
  20945. - imxrt: Add imxrt1060 memory map
  20946. - imxrt: Add imcrt106x to imxrt_memorymap
  20947. - imxrt: Add i.MX RT 106x to Kconfig
  20948. - imxrt: Moved IMXRT_GPIO_NPORTS to chip.h & fixed comments
  20949. - imxrt: 105x IRQ fix comment
  20950. - imxrt: gpioirq GPIO4,5 using wrong boundary
  20951. - imxrt: Add RT106x irq headers & Kconfig
  20952. - imxrt: Add rt106x GPIO chip headers
  20953. - imxrt: Extend Number of GPIO ports
  20954. - imxrt: Add 106x DMAMUX header
  20955. - imxrt: iomuxc add 106x
  20956. - imxrt: 106x iomuxc extend Indexes
  20957. - imxrt: pinmux Add 106x
  20958. - imxrt: clockconfig use imxrt_memorymap.h
  20959. - imxrt: allocateheap use OCRAM2 as BASE when available
  20960. From David Sidrane (2018-11-06).
  20961. * net/mld: Implement 'Other Querier Present Timer'. This timer is used to
  20962. revert to Querier mode if there is no other querier on the network. Also,
  20963. fix some naming: The Done message is not just Version 1 but is used with
  20964. Version 2 as well. From Gregory Nutt (2018-11-07).
  20965. * Reported by Anonymous in Bitbucket Issue #129: When MIPS port is built
  20966. for microMIPS and then loaded as an application, the __start entry point
  20967. is entered in microMIPS mode, but the CPU core initialization code there
  20968. misses to set the config3ISAOnExc bit to 1. Subsequently, exceptions are
  20969. entered in MIPS32 mode, but the code base was built for microMIPS. From
  20970. Gregory Nutt (2018-11-07).
  20971. * sched/group/group_foreachchild.c: group_foreachchild iterate by reverse
  20972. order since the callback(e.g. group_killchildren) may remove the tcb from
  20973. list
  20974. sched Kconfig and sched/task/exit.c: Add SCHED_EXIT_KILL_CHILDREN option
  20975. to kill all child threads when the main thread of a task exits. From
  20976. zhangyuan7 (2018-11-08).
  20977. * binfmt/ and libs/libc: Make exepath_*() more common:
  20978. 1. Move exepath_*() related code to libc/misc
  20979. 2. Rename exepath_ to envpath_
  20980. 3. Rename BINFMT_EXEPATH to LIB_ENVPATH
  20981. libs/libc/modlib: Add pre module library symbol table support.
  20982. From nchao (2018-11-08).
  20983. * tools/csvparser.h: Extend MAX_PARMSIZE to 256. Fixes this issue: 70:
  20984. Parameter too long: ... From Xiang Xiao (2018-11-08).
  20985. * sched/signal/sig_suspend.c: sigsuspend() shouldn't eat the pending signal
  20986. but dispatch all instead From Xiang Xiao (2018-11-08).
  20987. * sched/signal and syscall/: Add support for pselect() and ppoll()
  20988. functions From dongjianli (2018-11-08).
  20989. * fs/aio, libs/libc/aio, sched/mqueue, sched/timer, and sched/signal:
  20990. Remove the code duplication for SIGEV_THREAD. From Xiang Xiao (2018-11-08).
  20991. * drivers/ioexpander: Support multiple registrations of GPIO signal
  20992. events. From Xiang Xiao (2018-11-08).
  20993. * libs/libc/netdb/lib_dnsbind.c: Make DNS receive timeout configurable.
  20994. From ligd (2018-11-08).
  20995. * libs/libc/string/lib_memrchr.c: Add memrchr() function From Xiang Xiao
  20996. (2018-11-08).
  20997. * libs/libc/stdio/lib_libvsprintf.c: Eliminate recursive in conversion
  20998. functions of lib_vsprintf(). From Xiang Xiao (2018-11-08).
  20999. * fs/partition: Try MTDIOC_GEOMETRY IOCTL before bops's geometry
  21000. fs/driver/fs_blockpartition.c: Support MTD IOCTL From Xiang Xiao
  21001. (2018-11-08).
  21002. * drivers/mtd and other MTD drivers: Remove mtd_procfsoperations since we
  21003. can now get the same information from inode From Xiang Xiao (2018-11-08).
  21004. * fs/mount/fs_mount.c mount: Add support for mounting a file system with
  21005. either a block or an MTD driver. From Xiang Xiao (2018-11-08).
  21006. * fd/dirent, fs/driver/, and fs/vfs: Make MTD device accessible via a
  21007. character driver proxy like block devices From Xiang Xiao (2018-11-08).
  21008. * fs/driver: Add register_mtdpartition() for MTD partition From Xiang Xiao
  21009. (2018-11-08).
  21010. * fs/procfs: Add /proc/version support to get version info From iuhaitao
  21011. (2018-11-08).
  21012. * drivers/serial/uart_16550.c: Fox UART flow control issue. UART_MCR_RTS
  21013. need be high even UART_MCR_AFCE is enabled From zhangyuan7 (2018-11-08).
  21014. * drivers/serial/uart_16550.c: Remove disabling of interrupts in
  21015. up_earlyserialinit. up_irqinitialize() already disable all interrupts
  21016. From ligd (2018-11-08).
  21017. * drivers/timers/arch_alarm.c: Fix alarm ISR error when no
  21018. CONFIG_SCHED_TICKLESS
  21019. drivers/timers/arch_alarm.c: Use uint64_t to avoid alarm 32-bit overflow
  21020. From ligd (2018-11-08).
  21021. * drivers/timers: Simplify the error handling in arch rtc/alarm/timer
  21022. wrapper From Xiang Xiao (2018-11-08).
  21023. * imxrt:Clock config fixes and board.h sets sources and divisors
  21024. - imxrt:clockconfig bug fix & Board config set clocks
  21025. Fixed logic that was not clearing bits as ~ was
  21026. missing in &= mask operations.
  21027. Use values from the board.h file so set the Mux that
  21028. selects the clock sources.
  21029. Use board defined PODF values to select clock.
  21030. Only configure USDHC2 clocks when board defines clocks.
  21031. - imxrt1050-evk: Board setting used to set LSPI and USDHC Clocks
  21032. From David Sidrane (2018-11-09).
  21033. * NuttX: Add DFU Runtime driver for activating boot-loader through USB
  21034. command. From Petteri Aimonen (2018-10-31).
  21035. * NuttX: USB Composite and DFU drivers: Add support for Microsoft OS
  21036. descriptors.
  21037. These Microsoft-only descriptors help in loading the correct driver on
  21038. Windows. They are especially helpful to give libusb access to a custom
  21039. device without having to manually configure/install WinUSB driver.
  21040. With this change DFU interface works automatically on Windows 10 with
  21041. dfu-util 0.9 and libusb 1.0.22. On Windows 7 it still appears to need
  21042. driver installation. From Petteri Aimonen (2018-11-02).
  21043. * NuttX: STM32F407VG has only one DAC. NDAC=2 causes compilation error when
  21044. trying to use e.g. STM32_DAC1_CR macro. From Petteri Aimonen (2018-11-09).
  21045. * RNDIS composite support
  21046. - NuttX usb/composite.h: Forward-declare composite_devdesc_s.
  21047. This avoids "error: conflicting types for 'composite_initialize'"
  21048. on some versions of GCC. Because of the cross-inclusion between
  21049. usbdev.h and composite.h, the full declaration is not always
  21050. available.
  21051. - NuttX: USB Composite driver: Fix strid comparison
  21052. The last string ID used by composite driver is 4, and
  21053. the number of IDs used is 5 (0..4). The comparison
  21054. strid <= COMPOSITE_NSTRIDS caused composite driver to
  21055. reply with -EINVAL for id 5, even though it should be
  21056. available for sub-devices to use.
  21057. - NuttX: RNDIS USB driver: Add support for composite configuration.
  21058. From Petteri Aimonen (2018-11-09).
  21059. * FAT improvements
  21060. - NuttX: Add CONFIG_FAT_LFN_ALIAS_HASH to speed up creating long filenames.
  21061. Long filenames on FAT file systems have associated 8.3 character alias
  21062. short filenames. The traditional form of these is FILENA~1.EXT with
  21063. a running count of the number of similar names. However creating this
  21064. unique count can take several seconds if there are many similarly named
  21065. files in the directory. Enabling FAT_LFN_ALIAS_HASH uses an alternative
  21066. format of FI0123~1.TXT where the four digits are a hash of the original
  21067. filename. This method is similar to what is used by Windows 2000 and
  21068. later.
  21069. - NuttX: Add CONFIG_FAT_LFN_ALIAS_TRAILCHARS alternative format for 8.3
  21070. filenames.
  21071. Traditional format for long filename 8.3 aliases takes first 6
  21072. characters of long filename. If this option is set to N > 0,
  21073. NuttX will instead take first 6-N and last N characters to form
  21074. the short name. This is useful for filenames like "datafile12.txt"
  21075. where the first characters would always remain the same.
  21076. - NuttX: FAT32: Fix file date corruption in fat_truncate().
  21077. - NuttX: if SD card wait seems to be a long one, give time for other
  21078. threads to run. From Petteri Aimonen (2018-11-09).
  21079. * max11802: Fix compilation errors and allow setting PULL and SAMPLE
  21080. registers. From Petteri Aimonen (2018-11-09).
  21081. * imxrt Add imxrt1060-evk
  21082. - imxrt1050-evk: Fix typo
  21083. - imxrt1050-evk: Use naming for flash types that match documentation
  21084. - imxrt1050-evk: Fix typo
  21085. - imxrt:Add imxrt1060-evk board support
  21086. From David Sidrane (2018-11-09).
  21087. * drivers/rwbuffer.c: Fix a lock issue From Xiang Xiao (2018-11-09).
  21088. * rivers/rwbuffer.c: Don't queue work to flush write buffer if
  21089. CONFIG_DRVR_WRDELAY == 0 From Xiang Xiao (2018-11-09).
  21090. * drivers/rwbuffer.c: Improve the rwb_read/write overlap performance From
  21091. zhuyanlin (2018-11-09).
  21092. * drivers/mtd/ftl.c: Support BIOC_FLUSH ioctl From Xiang Xiao (2018-11-09).
  21093. * drivers/mtd/ftl.c: Make READAHEAD and WRITEBUFFER work independently of
  21094. each other. There have cases we use writebuffer but not readbuffer, so
  21095. the write buffer must be flushed before read. Let rwb driver do it. From
  21096. zhuyanlin (2018-11-09).
  21097. * drivers/mtd/ftl.c: Allocate eblock only when it's really needed From
  21098. Xiang Xiao (2018-11-09).
  21099. * drivers/mtd/ftl.c: Add support support unlink operation to avoid the
  21100. memory leak From Xiang Xiao (2018-11-09).
  21101. * drivers/mtd/mtd_partition.c: Remove the hard code partition name length
  21102. From Xiang Xiao (2018-11-09).
  21103. * drivers/syslog/vsyslog.c: nx_syslog's return value should include the
  21104. timestamp length From Xiang Xiao (2018-11-09).
  21105. * drivers/syslog/syslog_flush.c: Uncomment the g_syslog_channel->sc_flush
  21106. call From Xiang Xiao (2018-11-09).
  21107. * drivers/syslog/syslog_putc.c: Call sc_force in idle task even interrupt
  21108. buffer enabled. The following cases may hang randomly in the bring up
  21109. phase: (1) boot up process and (2) suspend/resume process. Either case
  21110. runs in the idle task context, so it's difficult to debug the hang issue
  21111. if these output go through the interrupt buffer. From Xiang Xiao
  21112. (2018-11-09).
  21113. * drivers/syslog: Ensure interrupt log doesn't interlace in normal log.
  21114. Don't call syslog_putc in syslog_default_write because syslog_putc will
  21115. try to empty the interrupt buffer every time. From Xiang Xiao (2018-11-09).
  21116. * drivers/syslog: syslog_initialize initialize dev/syslog too and call
  21117. syslog to add the prefix and timestamp From Xiang Xiao (2018-11-09).
  21118. * include/netdb.h Add NO_ADDRESS definition From zhangyuan7 (2018-11-09).
  21119. * Fix typographical error in endian.h and resource.h From anchao
  21120. (2018-11-09).
  21121. * Fixes warnings from header files:
  21122. - include/nuttx/clock.h: Fix uptime wrong if DEBUG_FEATURES and
  21123. SCHED_TICKLESS enabled
  21124. - iinclude/nuttx/arch.h: fix CONFIG_ARCH_INTERRUPTSTACK not defined warning
  21125. - iinclude/nuttx/audio/audio_i2s.h: Fix warning: struct i2s_dev_s declared
  21126. inside parameter list
  21127. From Xiang Xiao (2018-11-09).
  21128. * arch/sim/src/up_hostfs.c: Support S_IFSOCK, DT_LNK, O_DIRECT and O_SYNC
  21129. From Xiang Xiao (2018-11-09).
  21130. * sched/wdog: improve accuracy of wd_gettime() in tickless mode From ligd
  21131. (2018-11-09).
  21132. * sched/wdog: Improve accuracy of wd_gettime() in tickless mode From ligd
  21133. (2018-11-09).
  21134. * include/nuttx/fs/fs.h: Register_mtddriver should depend on CONFIG_MTD not
  21135. CONFIG_MTD_PARTITION From Xiang Xiao (2018-11-09).
  21136. * drivers/net/lan91c111.c: Reuse lan91c111_reply for ARP case From Xiang
  21137. Xiao (2018-11-09).
  21138. * drivers/net/slip.c: Add IPv6 support and fix minor issue From Xiang Xiao
  21139. (2018-11-09).
  21140. * drivers/net/tun.c: Call ipv[4|6]_input dynamically by checking packet
  21141. header and remove the code duplication From Xiang Xiao (2018-11-09).
  21142. * arch/arm/src/stm32l4: Add initial support for STM32L412 and STM32L422
  21143. chips From Juha Niskanen (2018-11-09).
  21144. * Remove deletion of Eclipse project files from make distclean target per
  21145. request of David Sidrane. From Gregory Nutt (2018-11-09).
  21146. * net/udp/udp_finddev.c: Fallback to netdev_default device if the device is
  21147. not found, rather than arbitrary using the device at the head of the list
  21148. of devices. From Xiang Xiao (2018-11-09).
  21149. * Fix compiler error and warning when CONFIG_NET_SENDFILE=y From Xiang Xiao
  21150. (2018-11-09).
  21151. * net/tcp/tcp_backlog.c: Add SOMAXCONN definition and implementation per
  21152. OpenGroup.org. From zhangyuan7 (2018-11-09).
  21153. * net/arp and net/icmpv6: don't call d_txavail directly since it may point
  21154. to NULL From Xiang Xiao (2018-11-09).
  21155. * net/: Add NET_ICMP[v6]_NO_STACK for usrsock case From Xiang Xiao
  21156. (2018-11-09).
  21157. * net/usrsock/usrsock_accept.c: Mark newconn ready before issue accept
  21158. request to avoid the event get discarded due to the socket in the invalid
  21159. state From Xiang Xiao (2018-11-09).
  21160. * libs/libc/net: Add basic implementation for recvmsg() and sendmsg() per
  21161. OpenGroup.org specification. From ligd (2018-11-09).
  21162. * include/netinet/in.h: Add Linux IP_PKTINFO and IPV6_PKTINFO definitions,
  21163. but not yet realized. From Gregory Nutt (2018-11-09).
  21164. * include/net and include/sys: Align the constant values with values in the
  21165. Linux kernel which makes targeting the usrsock server to Linux kernel
  21166. easier. From Xiang Xiao (2018-11-09).
  21167. * include/arpa/inet.h: Remove the dup INET[6]_ADDRSTRLEN from arpa.inet.h
  21168. already define in netinet/in.h From Xiang Xiao (2018-11-09).
  21169. * net/arp: Redesign ARP table aging to simplify the net initialization From
  21170. Xiang Xiao (2018-11-09).
  21171. * net/arp/arp_send.c: Check ifname match before sending packet. From Xiang
  21172. Xiao (2018-11-09).
  21173. * Remove duplicate definition in nuttx/net/arp.h and
  21174. include/nuttx/net/ioctl.h From Xiang Xiao (2018-11-09).
  21175. * net/: Remove the unnecessary arp.h inclusion From Xiang Xiao (2018-11-09).
  21176. * net/neighbor: Simplify the neighbor table aging process From Xiang Xiao
  21177. (2018-11-09).
  21178. * net/neighbor/neighbor_dumpentry.c: Simplify neighbor_dumpentry()
  21179. implementation From Xiang Xiao (2018-11-09).
  21180. * net/neighbor: neighbor_lookup() checks if the target IP belongs to one of
  21181. the local network devices. From Xiang Xiao (2018-11-09).
  21182. * net/neighbor: Support neighbor_out() for multiple link layer at the same
  21183. time From Xiang Xiao (2018-11-09).
  21184. * net/: Fix some compile errors introduce with recent networking patches.
  21185. Found in build testing. From Gregory Nutt (2018-11-09).
  21186. * net/icmpv6/icmpv6_neighbor.c: icmpv6_neighbor() shouldn't use the out of
  21187. scope variable(dripaddr) From Xiang Xiao (2018-11-09).
  21188. * net/icmpv6/icmpv6_conn.c: icmpv6_free() remove reference count operation
  21189. since it's already done in icmpv6_close(). From Xiang Xiao (2018-11-09).
  21190. * net/icmpv6/icmpv6_linkipaddr.c: Encapsulate the link scope address
  21191. generation into icmpv6_linkipaddr() From Xiang Xiao (2018-11-09).
  21192. * net/icmpv6: Remove the coupling between ICMPv6 and Ethernet by moving all
  21193. Ethernet stuff to neighbor_ethernet_out.c and make the mac address as
  21194. first field. From Xiang Xiao (2018-11-09).
  21195. * net/arp and icmpv6: Double the delay time on each iteration for ARP/ICMP
  21196. to fight work jitter better. From Xiang Xiao (2018-11-09).
  21197. * net/icmpv6, neighbor, and netdev: Rename netdev_dev_lladdrsize() to
  21198. netdev_lladdrsize() and move the prototype to include/nuttx/nex/netdev.h,
  21199. giving is global scope within the OS. Reviewer: This degrades the
  21200. integrity of the modular architecture by introducing a new coupling via C
  21201. function call. Not a good thing at all. From Xiang Xiao (2018-11-09).
  21202. * net/devif/ipv6_input.c: Fix a logic error when the received IPv6 srcaddr
  21203. is a multicast address. Exiting logic only supported UDP multicast. But
  21204. MLD and certain other ICMPv6 packets also require acceptance of multicast
  21205. packets. From Gregory Nutt (2018-11-09).
  21206. * drivers/timers/arch_rtc.c: up_rtc_set_lowerhalf call clock_synchronize()
  21207. for external RTC. From Xiang Xiao (2018-11-09).
  21208. * net/icmpv6/icmpv6_autoconfig.c and icmpv6_rnotify.c: Don't take the
  21209. network device down when reconfiguring only the IP address from within
  21210. ICMPv6 logic. Recommended by Xiang Xiao in order to avoid the long
  21211. delays of bringing some networks back up.
  21212. Normally it is required that the network be in the "down" state when
  21213. re-configuring the network interface. This is thought not to be a
  21214. necessary here because.
  21215. 1. The ICMPv6 logic here runs with the network locked so there can be no
  21216. outgoing packets with bad source IP addresses from any asynchronous
  21217. network activity using the device being reconfigured.
  21218. 2. Incoming packets depend only upon the MAC filtering. Network drivers
  21219. do not use the IP address; they filter incoming packets using only the
  21220. MAC address which is not being changed here.
  21221. From Gregory Nutt (2018-11-10).
  21222. * drivers/power/pm_initialize.c: Fix pm_domain_s.stime unintialize caused
  21223. time error. Bug detail:
  21224. 1. open CONFIG_DEBUG_FEATURES CONFIG_SYSTEM_TIME64 CONFIG_CLOCK_MONOTONIC
  21225. ==> INITIAL_SYSTEM_TIMER_TICKS very big data, not zero
  21226. 2. close CONFIG_SCHED_TICKLESS
  21227. ==> use g_system_timer as system clock
  21228. 3. pm_domain_s.stime init to zero
  21229. 4. clock_systimer() - pm_domain_s.stime get big data, error
  21230. From ligd (2018-11-10).
  21231. * drivers/power/pm: Use the start time of state btime to calculate thrcnt;
  21232. remove the loop whose count may be very big after the long idle From
  21233. ligd (2018-11-10).
  21234. * net/udp/Kconfig: Auto-select CONFIG_WQUEUE_NOTIFIER when
  21235. CONFIG_UDP_READAHEAD_NOTIFIER is selected. From Gregory Nutt (2018-11-10).
  21236. * /net/devif/ipv6_input.c: Correct handling of IPv6 extension headers.
  21237. The main confusion was that the payload length in the IPv6 header does
  21238. not include its extension headers.
  21239. net/icmpv6/icmpv6_input.c: Correct calculation of the ICMPv6 header
  21240. address
  21241. net/mld/mld_query.c: Correct back test for group found.
  21242. net/mld/mld_report.c: Fix host vs. network order problem.
  21243. net/mld/mld_send.c: Correct the address used in sending the General
  21244. Query. It should be the unspecified address in that case.
  21245. net/MLD: The MAS query should be sent on the group multicast address.
  21246. net/mld: There is an issue with the general query timer design. There
  21247. should be a single instance, not a per-group instance of the timer (ditto
  21248. for the v1 compatibility timer). Fall back for now and use the per-group
  21249. MAX query.
  21250. From Gregory Nutt (2018-11-10).
  21251. * arch/sim/src/up_netdriver.c: Fix error 'invalid operands to binary &'
  21252. From Xiang Xiao (2018-11-10).
  21253. * arch/arm/src/common/up_exit.c: Fix typo. Caused compiler error when
  21254. system debug enabled. From Xiang Xiao (2018-11-10).
  21255. * arch/: Add 'BOARD_ASSERT_RESET_VALUE' in config/Kconfig and replace
  21256. reboot status '0' to 'CONFIG_BOARD_ASSERT_RESET_VALUE'. From Gregory
  21257. Nutt (2018-11-10).
  21258. * net/mld: Resolve and issue with sending reports from multiple groups in
  21259. the same polling cycle. From Gregory Nutt (2018-11-11).
  21260. * The MLD implementation did not follow the RFC correctly when it is the
  21261. Querier. The Querier should use a general query and get query messages
  21262. from all members of all groups. This would be driven by a single timer
  21263. per sub-net since all groups are queried at once. Instead, the design
  21264. used a Multicast Address Specific Query with one timer per group and
  21265. ignores groups that we are not members of.
  21266. Similarly, the MLDv1 compatibility timer should be a single, separate
  21267. timer, not a per-group timer.
  21268. net/mld: Group may be NULL when sending a general query
  21269. From Gregory Nutt (2018-11-11).
  21270. * net/mld: Fix logic error when testing for the case where all members
  21271. have left the group. From Gregory Nutt (2018-11-11).
  21272. * arch/arm/src: Remove general register dump from fault handler since the
  21273. same info already dump in PANIC From Xiang Xiao (2018-11-11).
  21274. * arch/ assertions files: up_registerdump capture the general register if
  21275. not yet saved and up_saveusercontext is implemented, the register dump is
  21276. very useful to find the cause of failure. From Xiang Xiao (2018-11-11).
  21277. * arch/ all assertion functions: up_stackdump() dump the full stack if
  21278. stack overflow the stack info is very useful to find the backtrace From
  21279. Xiang Xiao (2018-11-11).
  21280. * arch/ all assertion functions: up_assert() move the register dump to
  21281. first make the more important info first From Xiang Xiao (2018-11-11).
  21282. * net/procfs/netdev_statistics.c: Eliminate warning: array subscript is
  21283. above array bounds. From Gregory Nutt (2018-11-11).
  21284. * Move NETDEV_LATEINIT from drivers/net/Kconfig to net/Kconfig so that we
  21285. can select NETDEV_LATEINIT without enabling NETDEVICES since the net
  21286. driver in arch folder may need to initialize later too. From Xiang Xiao
  21287. (2018-11-12).
  21288. * sched/clock/clock_getres.c: Support CLOCK_MONOTONIC From Xiang Xiao
  21289. (2018-11-12).
  21290. * sched/clock/: Remove g_monotonic_basetime and g_clock_monotonic_time
  21291. since we don't need ensure monotonic time start from zero as state here:
  21292. http://pubs.opengroup.org/onlinepubs/009696899/functions/clock_getres.html
  21293. From Xiang Xiao (2018-11-12).
  21294. * sched/clock/: Don't call up_timer_gettime in clock_gettime() and
  21295. clock_systimer() to ensure the return value from them consistent with
  21296. clock_systimespec From Xiang Xiao (2018-11-12).
  21297. * sched/clock/clock_initialize.c: clock_inittime() needs to be done with
  21298. CONFIG_SCHED_TICKLESS and clock_initialize should skip clock_inittime()
  21299. for external RTC case since the RTC isn't ready yet. From Xiang Xiao
  21300. (2018-11-12).
  21301. * sched/clock/ timekeeping: Use clock_basetime() to initialize
  21302. g_clock_wall_time to get the best initial RTC value and initialize
  21303. g_clock_last_counter too since the hardware may not start counting from
  21304. zero. From Xiang Xiao (2018-11-12).
  21305. * libc libnx updates
  21306. - NuttX: make strerror() return 'Success' for 0
  21307. - NuttX: fix strrchr() so that it considers null terminator as part of
  21308. string
  21309. From strrchr(3) man page: "The terminating null byte is considered
  21310. part of the string, so that if c is specified as '\0', these functions
  21311. return a pointer to the terminator."
  21312. - NuttX: mm_free(): Add DEBUGASSERT()'s to catch memory corruption early.
  21313. It's easier to find the source when asserts fail already when freeing
  21314. an overflowed buffer, than if the corruption is only detected on next
  21315. malloc().
  21316. - MM_FILL_ALLOCATIONS: Add debug option to fill all mallocs()
  21317. This is helpful for detecting uninitialized variables,
  21318. especially in C++ code. I seem to be forgetting to initialize
  21319. member variables and then they just get random values..
  21320. - NuttX: nxtk_bitmapwindow: Fix warning message when bitmap is fully
  21321. off-screen.
  21322. - nxfonts_getfont: Avoid unnecessary warnings for other whitespace chars
  21323. also.
  21324. - NuttX: Fix kerning of 'I' in Sans17x22 font
  21325. The I character was running together with some other
  21326. characters, e.g. in sequence "IMI".
  21327. - NXMU: Re-validate window pointer for mouse events.
  21328. NXMU caches the previous window pointer so that further mouse
  21329. events can be sent to the same window. However, if the window
  21330. is destroyed while mouse button is held down, the pointer may
  21331. become invalid and cause a crash. This patch revalidates the
  21332. pointer before using it.
  21333. From Petteri Aimonen (2018-11-12).
  21334. * stm32/stm32_adc: major refactor
  21335. - stm32/stm32_adc: use STM32 ADC IP core version and ADC available
  21336. functions instead of chip family names in conditional compilation
  21337. - stm32/chip: replace family specific ADC headers with STM32 ADC IP core
  21338. version headers
  21339. - stm32/stm32_adc: configurable sample time supported for all chips, not
  21340. only L1
  21341. - stm32/stm32_adc: enable/disable interrupts supported for all chips, not
  21342. only L1
  21343. - stm32/stm32_adc: resolution configuration
  21344. - stm32/stm32f33xxx_adc: remove wrong assertion
  21345. - configs/nucleo-f303ze: support for ADC and ADC example
  21346. - configs/stm32f429i-disco: support for ADC and ADC example
  21347. From Mateusz Szafoni (2018-11-12).
  21348. * arch/arm/src/imxrt: This commit completes the interrupt driven USDHC1
  21349. functionality for the IMXRT EVKB. There is more work to be done to
  21350. complete DMA mode and further changes will follow. From Dave Marples
  21351. (2018-11-12).
  21352. * arch/arm/src/imxrt/imxrt_usdhc.c: Improve SD card handling in the DMA
  21353. case. For now I think we can consider this complete for both Interrupt
  21354. and DMA transfers. There is other stuff to add (high speed, low voltage,
  21355. DDR etc.) later, From Dave Marples (2018-11-13).
  21356. 7.28 2019-01-19 Gregory Nutt <gnutt@nuttx.org>
  21357. * arch/arm/src/imxrt: Add PIT, GPT, and QIMER(TMR) header files From David
  21358. Sidrane (2018-11-13).
  21359. * libs/libc/netdb: Make DNS retries configurable From Juha Niskanen
  21360. (2018-11-14).
  21361. * drivers/input/button_upper.c: Fix two bad NULL checks From Juha
  21362. Niskanen (2018-11-14).
  21363. * Assertions: Identify the running task correctly when dumping task state
  21364. information. It takes time to switch to the target task after
  21365. g_readytorun has been modified. If panic/assert happen during this
  21366. period, the dump will contain the incorrect and confusing information due
  21367. to the difference between the real running task and the return value of
  21368. this_task(). This change resolve this problem by adding g_running_task to
  21369. track the real running task through the context switch. From Xiang Xiao
  21370. (2018-11-15).
  21371. * arch/arm/src/stm32: STM32F446 & STM32F469 correct PC1 SPI assignments
  21372. From David Sidrane (2018-11-15).
  21373. * arch/arm/src/imxrt: Add FLEXPWM From David Sidrane (2018-11-15).
  21374. * libs/libc/netdb/lib_dnsquery.c: Harden against DNS spoofing. This
  21375. commit implements most of the RFC 5452 guidelines for making DNS more
  21376. resilient. We now verify response matches against what was queried and
  21377. use unpredictable query IDs. It is also checked that response come from
  21378. correct DNS server. Also fixes a buffer overflow when querying hostnames
  21379. longer than CONFIG_NETDB_DNSCLIENT_NAMESIZE. From Juha Niskanen
  21380. (2018-11-16).
  21381. * fs/dirent: Corrects a problem with opendir() noted by Petteri Aimonen in
  21382. Bitbucket Issue 132: "opendir() fails for FAT filesystem with trailing
  21383. slash in path". I see the following behaviour on NuttX 7.26, where I
  21384. have SD card mounted on /flash and a directory called "frm" on it:
  21385. opendir("/flash") returns (DIR *) 0x1000c580
  21386. opendir("/flash/") returns (DIR *) 0x1000c5d0
  21387. opendir("/flash/frm") returns (DIR *) 0x1000c620
  21388. opendir("/flash/frm/") returns (DIR *) 0x0
  21389. From POSIX specs for opendir(): "A pathname ... that ends with one or
  21390. more trailing slashes shall be resolved as if a single dot character
  21391. ( '.' ) were appended to the pathname."
  21392. So for mount points, opendir() works correctly, but for FAT32 filesystem
  21393. it fails to open directory if the path has a trailing slash...
  21394. NOTE: You would not see this problem if you call opendir() indirectly in
  21395. NSH (like 'ls -R /') because NSH contains logic to remove trailing '/'
  21396. characters from paths. From Gregory Nutt (2018-11-16).
  21397. * arch/arm/src/max36xx: Brings in WIP port for the Maxim Integrated
  21398. MAX326xx MCU family. Not really very much in place yet so marked
  21399. EXPERIMENTAL in Kconfig file. From Gregory Nutt (2018-11-16).
  21400. * configs/stm32f429i-disco/lvgl/defconfig: Fix lvgl demo removing
  21401. STM32_FB_CMAP. From Alan Carvalho de Assis (2018-11-17).
  21402. * arch/arm/src/stm32/stm32_pwm.c: STM32 MOE is not being appropriately
  21403. handled for PWM for advanced timers. It is only ever reset and so no PWM
  21404. train is generated. This change addresses this. Noted by Dave Marples.
  21405. From Mateusz Szafoni (2018-11-17).
  21406. * arch/arm/stm32: stm32_flash_writeprotect supported the same for
  21407. STM32F20XX as STM32F4XXX From Anthony Merlino (2018-11-17).
  21408. * configs/max32660-evysy/: Add support for the Maxim Integrated
  21409. MAX32660-EVSYS board. From Gregory Nutt (2018-11-17).
  21410. * Improve LED handling #if~#endif in nrf52_autoleds.c and nrf52_userleds.c
  21411. - Add Adafruit Feather nRF52 board LED support
  21412. - Add Adafruit Feather nRF52 board
  21413. - Add nrf52-generic
  21414. - Replace 'pca10040' with 'generic'
  21415. - Copy from nrf52-pca10040 to nrf52-generic
  21416. From Zou Hanya (2018-11-18).
  21417. * arch/arm/src/tiva: After commit
  21418. 51b78034ac8d1fdf598107bf4093f0beccd5b80b, my tiva console does not work -
  21419. enter key produces garbage characters. This commit fixes the problem for
  21420. me. From Lwazi Dube (2018-11-18).
  21421. * tools/nxstyle.c: Add logic to detect long lines. From Gregory Nutt
  21422. (2018-11-19).
  21423. * arch/arm/src/stm32f7: Ported the QEncoder from F4 to F7 From Eduard
  21424. Niesner (2018-11-19).
  21425. * tools/nxstyle.c: Add -h for help. From Gregory Nutt (2018-11-19).
  21426. * arch/arm/src/imxrt: Add ADC chip header From David Sidrane (2018-11-20).
  21427. * configs/imxrt1050-evk: GPIO device driver support added and tested by
  21428. Pavlina Koleva and Ivan Ucherdzhiev From Pavlina Koleva (2018-11-20).
  21429. * arch/arm/src/armv7-m/arch_invalidate_dcache.c,
  21430. drivers/mmcsd/mmcsd_sdio.c, and other files in arch/: This commit adds a
  21431. new function arch_invalidate_dcache_by_addr(). It takes the same
  21432. parameters as arch_invalidate_dcache(), but performs invalidation of only
  21433. the lines in cache that need to be invalidated. This new function could
  21434. be used as a a direct replacement for arch_invalidate_dcache().
  21435. The user of this invalidation are mmcsd_sdio currently. The mmcsd_sdio
  21436. driver makes calls for dcache invalidation through the chip specific
  21437. architecture function SDIO_DMARECVSETUP(). I changed the arch/arm/stm32f7
  21438. chips to use arch_invalidate_dcache_by_addr() instead of
  21439. arch_invalidate_dcache().
  21440. This commit includes additional changes to mmcsd_sdio.c. I created
  21441. SDIO_DMADELYDINVLDT() (DMA delayed invalidate) to invalidate store-into
  21442. mode dcaches after the DMA transfer. I have been using
  21443. SDIO_DMADELYDINVLDT() for several weeks now and it has fixed the problems
  21444. that I previously reported regarding non-cache aligned buffer
  21445. invalidation errors (for my store-through dcache). However, it does not
  21446. permit use of unaligned DMA buffers for store-into mode dcaches.
  21447. SDIO_DMADELYDINVLDT() is a NoOp unless the chip specific Kconfig file
  21448. selects CONFIG_ARCH_HAVE_SDIO_DELAYED_INVLDT. I have modified all the
  21449. stm32f7 chips to select it. From Bob Feretich (2018-11-20).
  21450. * All network drivers! Change pre-processor logic that selects the high
  21451. priority work queue or gives preferential treatment to the high priority
  21452. work. All network logic must run on the low priority work queue! Or
  21453. suffer the consequences. From Gregory Nutt (2018-11-21).
  21454. * configs/stm32vldiscovery/scripts/stm32vldiscovery.ld: Fix SRAM and FLASH
  21455. size in the linker script. There is STM32F100RB with 8KB RAM and 128KB
  21456. FLASH on the STM32VL Discovery kit. Invalid memory size could cause a
  21457. hard fault. From Matous Pokorny (2018-11-21).
  21458. * arch/mips/src/pic32m[x|z]/pic32m[x|z]-ethernet.c: Fix a comparison in a
  21459. debug assertion. Should be <= vs <. Noted by Anonymous in Bitbucket
  21460. Isue 134. From Gregory Nutt (2018-11-21).
  21461. * sched/signal/sig_timedwait.c: Remove unnecessary disable of
  21462. pre-emption. From Gregory Nutt (2018-11-23).
  21463. * libs/libc/netdb: Support multiple IP addresses per hostname From Juha
  21464. Niskanen (2018-11-23).
  21465. * configs/stm32vldiscovery: Fix memory size configuration and
  21466. documentation. There is STM32F100RB instead of STM32F100RC on the STM32
  21467. VL Discovery kit. From Matous Pokorny (2018-11-23).
  21468. * Improvements in STM32 ADC, minor changes in STM32 PWM, DMA, HRTIM and add
  21469. some highpri ADC examples:
  21470. - arch/arch/src/stm32/stm32_adc: fix RCC reset logic
  21471. - arch/arch/src/stm32/stm32_adc: move sample time change functions to
  21472. low-level ADC ops
  21473. - arch/arch/src/stm32/stm32_adc: configurable ADC DMA mode (one shot
  21474. mode, circular mode)
  21475. - arch/arch/src/stm32/stm32_pwm: remove llops_get interface. We can use
  21476. structure casting to get pwm low-level ops
  21477. - arch/arch/src/stm32/stm32_pwm: add timer enable/disable and frequency
  21478. update to low-level ops
  21479. - arch/src/arm/stm32: remove redundant stm32f33xxx_dma.c
  21480. - arch/arm/src/stm32/stm32f40xxx_dma.c: add interfaces to interact with
  21481. highp priority DMA interupts
  21482. - arch/src/arm/stm32/stm32_hrtim: do not enable timers on startup if
  21483. option from Kconfig selected and add interface to enable/disable timers
  21484. - configs/nucleo-f334r8/highpri: update configuration due to changes in
  21485. stm32_adc
  21486. - configs/stm32f334-disco/buckboost: update configuration due to changes in
  21487. stm32_adc
  21488. - configs/nucleo-f334r8/highpri: add support for ADC injected sequence,
  21489. add triggering from TIM1
  21490. - configs/nucleo-f302r8/highpri: add high priority ADC interrupts example
  21491. - configs/stm32f429i-disco/highpri: add high priority ADC interrupts
  21492. example
  21493. From Mateusz Szafoni (2018-11-23).
  21494. * fs/procfs/fs_procfsproc: Extended the process ID ProcFS output to show
  21495. per-thread maximum time for pre-emption disabled and maximum time within
  21496. a critical section. From Gregory Nutt (2018-11-24).
  21497. * sched/sched/sched_critmonitor.c: Adds data collection logic in support
  21498. of monitoring critical sections and pre-emption state. From Gregory Nutt
  21499. (2018-11-24).
  21500. * configs/stm32f4discovery: Add timing support for the critical section
  21501. monitor using the DWT CYCNT register. From Gregory Nutt (2018-11-24).
  21502. * fs/procfs/fs_procfscritmon.c and sched/sched/sched_critmonitor.c: Add
  21503. support for global pre-emption and global critical sections to monitor as
  21504. suggested by Xiang Xaio. From Gregory Nutt (2018-11-24).
  21505. * Critical Section Monitor: Add low level timer support for simulation.
  21506. From Gregory Nutt (2018-11-24).
  21507. * arch/: Update all _exit() implementations for all architectures so that
  21508. they correctly called the scheduler instrumentation layer for the new
  21509. task that runs when the old one exits. This missing instrumentation was
  21510. confusing the Critical Section Monitor logic with uses this
  21511. instrumentation to track the state of critical sections. From Gregory
  21512. Nutt (2018-11-24).
  21513. * drivers/lcd: Add support to Alphanumeric Sitronix ST7032i display From
  21514. Alan Carvalho de Assis (2018-11-24).
  21515. * configs/stm32f4discovery: Add board support to display ST7032i From
  21516. Alan Carvalho de Assis (2018-11-24).
  21517. * wireless/bluetooth/bt_conn.c: Fix uninitialized variable. From Lwazi
  21518. Dube (2018-11-25).
  21519. * sched/irq/Make.defs: Fix warning about irq_csection.o appearing multiple
  21520. times in the same rule. From Gregory Nutt (2018-11-25).
  21521. * sched/irq and sched/sched: Measurement of interrupt handler duration
  21522. used to be available only in Tickless mode since it used the high
  21523. resolution Tickless timer to measure interrupt time. This commit adds
  21524. CONFIG_SCHED_IRQMONITOR_GETTIME which, if enabled, will force the
  21525. interrupt duration calculation to use the same high-resolution,
  21526. platform-specific timer as is used with the Critical Section Monitor.
  21527. This leads to two improvements: (1) You can now measure interrupt
  21528. duration in non-Tickless mode, and (2) in either mode, the interrupt
  21529. duration and the critical section measures will use the same
  21530. high-resolution timer and should, therefore, never be any discrepancy due
  21531. to different clock sources. From Gregory Nutt (2018-11-26).
  21532. * wireless/bluetooth/bt_att.c: Fix uninitialized variable. From Lwazi
  21533. Dube (2018-11-27).
  21534. * net/socket/net_clone.c: On a failure to start the TCP monitor, the clone
  21535. socket is closed but is not properly freed, leaving it attached to a TCP
  21536. connection structure with the wrong reference count. From Gregory Nutt
  21537. (2018-11-27).
  21538. * arch/arm/src/max326xx: Fixes for GPIO configuration problems and serial
  21539. driver problems. I now get the NuttShell prompt (if I also band on ENTER
  21540. to force all of the characters out). Progress, but not yet ready. From
  21541. Gregory Nutt (2018-11-27).
  21542. * arch/arm/src/max326xx and configs/max32660-evsys/src: Fix some issues
  21543. with GPIO setup of output pins. Correct polarity of on-board LED
  21544. output. The on-board LED is now functional. From Gregory Nutt
  21545. (2018-11-28).
  21546. * arch/arm/src/max326xx: WFI instruction in IDLE loop seems to interfere
  21547. with stability. Commented out for now. Needs to be investigated
  21548. further. From Gregory Nutt (2018-11-28).
  21549. * arch/arm/src/max326xx: Fixes UART interrupt problems. With these
  21550. changes, the NSH configuration appears stable and is no longer
  21551. conditioned on EXPERIMENTAL. From Gregory Nutt (2018-11-29).
  21552. * fs/procfs: Remove the unnecessary critical section From Xiang Xiao
  21553. (2018-11-29).
  21554. * sched/sched_foreach.c: sched_foreach() should not have to hold the
  21555. critical section over the entire traversal. It should be acceptable to
  21556. simply only the critical section while one entry is being processed (the
  21557. caller can always call sched_foreach within a critical section is greater
  21558. stability is needed). From Gregory Nutt (2018-11-29).
  21559. * wireless/bluetooth/bt_hcicore.c: Add second RX work function From Lwazi
  21560. Dube (2018-11-30).
  21561. * include/nuttx/wireless/bluetooth/bt_gatt.h: Fix struct name. From Lwazi
  21562. Dube (2018-11-30).
  21563. * sched/: Add debug assertions before each call to up_block_task() to
  21564. assure that there is no attempt to block an IDLE task. From Dave Marples
  21565. (2018-11-30).
  21566. * arch/mips/src/mips32/Kconfig: Allow Penguino for windows for the
  21567. Windows Ubuntu platform as well (2018-11-30).
  21568. * arch/arm/src/max326xx/max32660/max32660_spim.c: SPI0 master mode support
  21569. is complete (sans DMA and completely untested). From Gregory
  21570. Nutt (2018-11-30).
  21571. * configs/max32660-evsys/src: Add framework for SPI support. From Gregory
  21572. Nutt (2018-11-30).
  21573. * configs/max32660-evsys: Added support for an SPI-based micro-SD card.
  21574. Does not yet work (SPI hangs with no data transferred). From Gregory
  21575. Nutt (2018-11-30).
  21576. * drivers/lcd/Kconfig and several other places: Rename CONFIG_LCD_CONSOLE
  21577. to CONFIG_SLCD_CONSOLE. The original name CONFIG_LCD_CONSOLE is
  21578. incorrect because it runs on SLCD display. This patch fix it and update
  21579. its dependences From Alan Carvalho de Assis (2018-11-30).
  21580. * configs/stm32f4discovery: If the Critical Section Monitor, modify the
  21581. ITM_LAR register to assure that the DWT cycle counter is enabled.
  21582. Suggested by Dave Marples. From Gregory Nutt (2018-11-30).
  21583. * arch/arm/src/armv7-m/itm.h: Fix missing space causing macro issues From
  21584. Alan Carvalho de Assis (2018-12-01).
  21585. * configs: Add support for nucleo-f103rb, nucleo-f207zg and nucleo-l152re
  21586. From Mateusz Szafoni (2018-12-01).
  21587. * tools/convert-comments.c: Add a tool to convert C++-style comments to
  21588. C89 C-style comments. From Gregory Nutt (2018-12-01).
  21589. * configs/nucleo-f207zg, configs/nucleo-f103rb: Add ADC and PWM examples;
  21590. arch/arm/src/stm32_adc.c: There is no DMA CFG bit for the basic IPv1
  21591. ADC. From Mateusz Szafoni (2018-12-02).
  21592. * Use STM32 DMA IP core version instead of chip family names and some minor
  21593. improvements:
  21594. - arch/arm/src/stm32/chip/stm32_adc.h: raise error if two IP cores selected
  21595. - arch/arm/src/stm32/Kconfig: hide TIMER menu, HRTIM menu and USB Host
  21596. debug menu if peripherals not enabled
  21597. - configs/stm32f429i-disco/highpri/defconfig: fix configuration warning
  21598. From Mateusz Szafoni (2018-12-02).
  21599. * drivers/spi/Kconfig and include/nuttx/spi/spi.h: Extend the HW features
  21600. supported by SPI. It now supports a deferred DMA trigger hardware
  21601. configuration. arch/arm/src/stm32/stm32_spi.c: Implements the new
  21602. deferred DMA trigger feature. From Dave Marples (2018-12-02).
  21603. * include/nuttx/wireless/bluetooth and include/nuttx/wireless/bluetooth:
  21604. Add SIOCBTCONNECT and SIOCBTDISCONNECT ioctl commands From Lwazi Dube
  21605. (2018-12-02).
  21606. * arch/arm/src/stm32/stm32_adc.c: Refactor adc_reset. It should be easier
  21607. to maintain this code if it's divided into smaller functions From
  21608. Mateusz Szafoni (2018-12-02).
  21609. * arch/arm/include/tiva: Started integration of support for the CC13x0,
  21610. CC13x2, and CC26x2. From Gregory Nutt (2018-12-03).
  21611. * tools/detab.c: Add detab.c which will convert all tabs in a file to
  21612. spaces. From Gregory Nutt (2018-12-03).
  21613. * tools/lowhex.c: Add lowhex.c that will convert hexadecimal constants in
  21614. a file to use lower case representation. From Gregory Nutt (2018-12-03).
  21615. * STM32F7, STM32H7, and STM32L4: Port Dave Marples STM32 fix to other
  21616. STM32 SPI drivers From Gregory Nutt (2018-12-03).
  21617. * configs/launchxl-cc1312r1/: Add a configuration for the
  21618. LAUNCHXL-CC1312R1 board. This is a very stripped down configuration. It
  21619. was needed to support verification of the CC13xx configuration logic and
  21620. will be needed to support completion of the CC13xx port. From Gregory
  21621. Nutt (2018-12-03).
  21622. * arch/: In the current implementation we only use very high priority
  21623. interrupts (levels 0, 0x10 and 0x20 in CORTEX-M speak) but that means
  21624. there are loads of lower priority ones that are effectively unused. I
  21625. have *not* changed the semantics of these levels but have 'shifted' them
  21626. to be based around the midpoint of the available interrupts (0x80) rather
  21627. than at the top end....that allows for interrupts to be defined above
  21628. (or, indeed, below) them as needed by the application. This should have
  21629. no functional effect on existing code but adds in a clean capability to
  21630. define higher priority interrupts. From Dave Marples (2018-12-03).
  21631. * arch/arm/src/stm32f0/stm32f0_clockconfig.c: Fixes the problem in GPIO
  21632. port clocks. Only port A clock was enabled although the comment states
  21633. otherwise. From Juha Paalijärvi (2018-12-04).
  21634. * arch/arm/src/tiva: Remove option CONFIG_TIVA_BOARD_CLOCKCONFIG. It is
  21635. not used and unnecessary. Fix some naming. up_clockconfig() is
  21636. inappropriate. Change tiva_clockconfig() to tiva_clock_reconfigure()
  21637. then we can change up_clockconfig() to tive_clock_configure(). From
  21638. Gregory Nutt (2018-12-04).
  21639. * arch/arm/include/stm32/chip.h: Remove redundant STM32 family
  21640. definitions. It is already done in arch/arm/src/stm32/Kconfig From
  21641. Mateusz Szafoni (2018-12-05).
  21642. * stm32f7: I2C out of bounds access on priv->msgv. Error in if statement.
  21643. It was checking for msgc > 0. If message count is 1, only index 0 is
  21644. valid on priv->msgv. Therefore random values in memory were used to set
  21645. next_norestart. From David Sidrane (2018-12-05).
  21646. * STM32H7 and STM32L4: Applied David Sidrane's I2C to
  21647. arch/arm/src/stm32h7/stm32_i2c.c and arch/arm/src/stm32l4/stm32l4_i2c.c.
  21648. Those easy because F7 patch applied with no problem (after changing path
  21649. and file names appropriately). The patch could not be applied to the
  21650. following. The logic is different. I don't know if a similar change is
  21651. needed there or not.
  21652. - arch/arm/src/stm32/stm32f30xxx_i2c.c
  21653. - arch/arm/src/stm32/stm32f40xxx_i2c.c
  21654. - arch/arm/src/stm32/stm32_i2c.c
  21655. - arch/arm/src/stm32/stm32_i2c_alt.c
  21656. - arch/arm/src/stm32f0/stm32f0_i2c.c
  21657. From Gregory Nutt (2018-12-05).
  21658. * arch/arm/src/armv7-m: This commit changes the lazy and non-lazy
  21659. exception handler to remove a couple of cpsid instructions from them on
  21660. ARMv7-m. If my understanding is correct then these interrupt
  21661. manipulations aren't doing anything anyway because prioritization stops
  21662. secondary interrupts arriving and, even if they did work, they would have
  21663. introduced race conditions for the period of time between the interrupt
  21664. arriving and further interrupts being disabled. From Dave Marples
  21665. (2018-12-06).
  21666. * arch/arm/src: Remove all driver-specific logic to set the interrupt
  21667. priority. There is no good reason to change the interrupt priority
  21668. unless you just want to debug a difficult problem. OR if you want to use
  21669. high priority interrupts. In that case the specific interrupt priorities
  21670. will need to be set by board-specific logic. From Gregory Nutt
  21671. (2018-12-06).
  21672. * fs/cromfs/fs_cromfs.c: Fixes hardfault From David Sidrane (2018-12-06).
  21673. * libs/libc/stdio/lib_libfread.c: fread() should always set EOF if fewer
  21674. than the requested number of bytes was not read. Per Anthony Merlino.
  21675. From Gregory Nutt (2018-12-07).
  21676. * arch/mips/include/pic32mz/chip.h: Add a missing " in an error message.
  21677. From Ouss4 (2018-12-07).
  21678. * arch/mips/src/pic32mz: Add support for the I2C bus. From Ouss4
  21679. (2018-12-07).
  21680. * arch/arm/src: In most I2C drivers, correct upper index value in I2C
  21681. trace dump. Eliminates the extra NONE event from the trace dump output.
  21682. From Ouss4 (2018-12-08).
  21683. * wireless/bluetooth and include/nuttx/wireless/bluetooth: Remove
  21684. unnecessary gatt ioctls From Lwazi Dube (2018-12-08).
  21685. * STM32F3 and STM32F4 I2C: Remove the extra NONE event from the trace dump
  21686. output. From Ouss4 (2018-12-08).
  21687. * STM32 I2C (alternate): Remove the extra NONE event from the trace dump
  21688. output. From Ouss4 (2018-12-08).
  21689. * Improvements in STM32 ADC:
  21690. - arch/arm/src/stm32/stm32_adc.c: Start conversion on startup is now
  21691. possible if TIM triggering selected. This can be useful to start ADC
  21692. TIM conversion for ADC IPv2 when opening ADC device.
  21693. - arch/arm/src/stm32/stm32_adc.c: Fix compilation errors for chips with
  21694. one ADV TIM
  21695. - configs/nucleo-f303re: Refresh ADC example
  21696. - configs/nucleo-f334r8: Refresh ADC example
  21697. From Mateusz Szafoni (2018-12-09).
  21698. * configs/nucleo-f334r8: Add example for the SPWM generation (custom STM32
  21699. PWM usage). From Mateusz Szafoni (2018-12-09).
  21700. * arch/arm/src/stm32/stm32_pwm: Fix compilation errors if the upper-half
  21701. PWM logic is not enabled. From Mateusz Szafoni (2018-12-09).
  21702. * include/nuttx/drivers/pwm.h: Remove dependency on CONFIG_PWM for the
  21703. upper-half PWM header. This allows compilation for the lower-level PWM
  21704. drivers even if the upper-half PWM logic is not used. From Mateusz
  21705. Szafoni (2018-12-09).
  21706. * arch/arm/src/stm32/stm32_tim.c: Fix compilation error if there is no
  21707. TIM8. From Mateusz Szafoni (2018-12-09).
  21708. * configs/nucleo-f334r8/highpri: Remove the upper-half ADC from
  21709. configuration. From Mateusz Szafoni (2018-12-09).
  21710. * configs/nucleo-f302r8/highpri: Remove the upper-half ADC from
  21711. configuration. From Mateusz Szafoni (2018-12-09).
  21712. * configs/stm32f429i-disco/highpri: remove the upper-half ADC from
  21713. configuration From Mateusz Szafoni (2018-12-09).
  21714. * include/nuttx/net/arp.h: Fix whitespace after ARPHRD_IEEE80211 From
  21715. Daniel Agar (2018-12-09).
  21716. * fs/vfs: dup() and dup2() were broken some time back. fs_dupfd() was
  21717. return returning OK on success, not the file descriptor of the duplicated
  21718. fd. From David Sidrane (2018-12-10).
  21719. * drivers/wireless/bluetooth/bt_uart_cc2564.c: Add cc2564 driver. From
  21720. Lwazi Dube (2018-12-11).
  21721. * drivers/1wire/ds28e17.c: Optimize I2C write followed by read to same
  21722. address. From Juha Niskanen (2018-12-11).
  21723. * arch/arm/src/stm32/Kconfig: Simplify ARM core selection logic From
  21724. Mateusz Szafoni (2018-12-12).
  21725. * drivers/mtd/at25.c: Added support for AT25DF081A serial flash chip.
  21726. From Marc Rosen (2018-12-12).
  21727. * fs/nxffs/nxffs_ioctl.c: Pass unrecognized IOCTL commands to the
  21728. contained MTD driver. From Daniel P. Carvalho (2018-12-12).
  21729. * arch/arm/src/stm32/Kconfig: USB Host is an option. From David Sidrane
  21730. (2018-12-12).
  21731. * drivers/mtd/at25.c: Fixed missing opening parenthesis. From Marc Rosen
  21732. (2018-12-13).
  21733. * gencromfs.c:1171:3: warning: ignoring return value of 'asprintf',
  21734. declared with attribute warn_unused_result [-Wunused-result]. From David
  21735. Sidrane (2018-12-13).
  21736. * arch/arm/src/tiva/common/tiva_hciuart.c: Port bluetooth HCI uart
  21737. interface from stm32 to tiva From Lwazi Dube (2018-12-15).
  21738. * arch/arm/src/stm32f0l0: Rename stm32f0 to stm32f0l0 to make a space
  21739. for STM32 L0. Rename files, functions and defines, removing the f0_
  21740. from the names in order to make them MCU agnostic. From Gregory Nutt
  21741. (2018-12-16).
  21742. * Numerous files: Fixes usage of CONFIG_BIG_ENDIAN; should be
  21743. CONFIG_ENDIAN_BIG From Anthony Merlino (2018-12-16).
  21744. * net/sixlowpan: Fixes decompression of ipaddr from MAC address. The
  21745. logic used to populate the IP from the radio address should match
  21746. sixlowpan_ipfromsaddr/sixlowpan_ipfromeaddr From Anthony Merlino
  21747. (2018-12-16).
  21748. * Fix lc823450 related:
  21749. - configs/lc823450-xgevk: Fix IOB params in rndis/defconfig. These
  21750. prameters work for HTTP audio streaming.
  21751. - arch/arm/src/lc823450: Fix up_allocate_heap() in
  21752. lc823450_allocateheap2.c. This change fixes heap size and also
  21753. implements up_addregion(). From Masayuki Ishikawa (2018-12-18).
  21754. * sixlowpan: Fixes logic surrounding the Universal/Local bit. This bit
  21755. represents whether the IID is locally/globally administered. The U/L
  21756. bit is bit 1 of the MSB of the EUI-64. It should only be inverted in
  21757. cases where there is a full EUI-64. In cases where the IID is derived
  21758. from say, a short address, this bit should be forced to 0, indicating
  21759. that it is locally administered. See:
  21760. - https://tools.ietf.org/html/rfc4291#section-2.5.1
  21761. - https://tools.ietf.org/html/rfc4944#section-6
  21762. - https://tools.ietf.org/html/rfc2464#section-4
  21763. From Anthony Merlino (2018-12-18).
  21764. * sched/task/task_spawn.c: Correct description of input parameters to
  21765. task_spawn_exec(). Noted by: JeongchanKim From Gregory Nutt
  21766. (2018-12-18).
  21767. * sixlowpan/ieee802154: IEEE802.15.4 stores and uses addresses in little
  21768. endian order. From Anthony Merlino (2018-12-18).
  21769. * crypto/aes.c: This commit provides an improved AES cipher API in
  21770. addition to the existing routines. The reasons for this new API are:
  21771. 1) better performance, giving the possibility to avoid re-setting-up
  21772. the key for each AES block when the same key is used multiple times.
  21773. This is important for the current single user of AES, which is related
  21774. to storage and FTL. And 2) suitable for simultaneous use of multiple
  21775. AES keys, which will be required by the upcoming crypto framework. It
  21776. retains compatibility with the previous API, so there is no need to
  21777. change anything else right now. From Sebastien Lorquet (2018-12-18).
  21778. * arch/ assertions: Correct duplicated logic from commit
  21779. dbf01d12b7321d1b48b68d3b69842a853b049376. Checking for PID == zero is
  21780. not a valid way to test for the IDLE task in all configurations! This
  21781. is only true in the single CPU configuration. In multiple CPU
  21782. configurations, there will be a separate IDLE task for each CPU with a
  21783. different PID and an alternative check must be used. NOTE: The logic
  21784. fixed in somes places still lacks sufficient intelligence to find the
  21785. right stack for the CPU IDLE thread and could still show the wrong
  21786. stack. From Gregory Nutt (2018-12-18).
  21787. * Change rndis mac:
  21788. - configs/lc823450-xgevk: Change RNDIS MAC address assignment. In
  21789. previous implementation, mac[0] was assigned to 0xaa for RNDIS host
  21790. to avoid MAC address conflicts with RNDIS device.. However, I
  21791. noticed that this assignment causes a random MAC address generation
  21792. on ubuntu16.04 or later which is inconvenient to set up network
  21793. interface. This new assignment scheme fixes this issue.
  21794. - configs/viewtool-stm32f107: Change RNDIS MAC address assignment.
  21795. Same issue.
  21796. From Masayuki Ishikawa (2018-12-19).
  21797. * crtypo/: This change:
  21798. - Avoids the use of up_aesinitialize() entirely, which resolves
  21799. dependency problems, because this function does not make sure that an
  21800. actual hardware aes implementation was made available: each SoC is
  21801. now responsible to ensure the AES hardware is initialized before
  21802. first use. This applies to lpc43xx, stm32 and sam34.
  21803. - Remove definitions of the NEVER used aes_init and aes_update
  21804. operations. The new AES API will be more suitable.
  21805. - Change the unusual naming in stm32 (avoiding possible naming clashes)
  21806. - Change the unusual naming in sam34 (avoiding possible naming clashes)
  21807. - Add some FAR to pointers and enforce the 80 col limit in stm32 and sam
  21808. From Sebastien Lorquet (2018-12-19).
  21809. * arch/arm/src/stm32: Add support for DMA v1 CSELR support. From
  21810. Mateusz Szafoni (2018-12-19).
  21811. * Brings in initial WIP support for the STML0. This initial commit is
  21812. unverified and, hence it it marked "EXPERIMENTAL." From Mateusz
  21813. Szafoni (2018-12-19).
  21814. * configs/: Hook new STM32L0 boards into the configuration system.
  21815. nucleo boards use as default ST LINK MCO as clock input from MCU and
  21816. for this HSEBYP must be enabled
  21817. - configs/nucleo-l073rz: Add basic support for nucleo-l073rz
  21818. - configs/b-l072z-lrwan1: Add basic support for b-l072z-lrwan1.
  21819. From Mateusz Szafoni (2018-12-19).
  21820. * sixlowpan: Address comment regarding avoiding double lookup of address
  21821. context. From Anthony Merlino (2018-12-19).
  21822. * Revert "This patch prevent heap corruption as in below case." This
  21823. solution to the problem noted by EunBong Song results in major memory
  21824. fragmentation and and out-of-memory conditions on the PX4 platform. On
  21825. that platform the lower priority work queue is very low priority and
  21826. essentially never runs when the system is busy. As a result, the
  21827. systems gets slowly starved of memory until failures and bad behaviors
  21828. begin to occur. This reverts commit
  21829. 91aa26774b291fa553f701ce5222e56a6156c323. From Gregory Nutt
  21830. (2018-12-20).
  21831. * mm/mm_heap/mm_sem.c: This is a candidate replacement for the reverted
  21832. change 91aa26774b291fa553f701ce5222e56a6156c323. This change adds a
  21833. check to mm_trysemaphore() (the root implementation of both
  21834. kmm_trysemaphore() and umm_trysemaphore()). It checks if the that task
  21835. that is apparently executing is marked as RUNNING. If not, how could
  21836. the non-running task be trying to get the MM semaphore? I think only
  21837. in the exact scenario that Eunbong Song has described. So I think the
  21838. solution should provide the same protection as
  21839. 91aa26774b291fa553f701ce5222e56a6156c323 but without the horrific
  21840. consequences to memory usage. From Gregory Nutt (2018-12-20).
  21841. * sched/Kconfig and sched/init/os_bringup.c: Allow the init task
  21842. priority to be set. From David Sidrane (2018-12-20).
  21843. * arch/arm/src/stm32/chip/stm32_dma_v1.h: Add missing DMA channel
  21844. configuration.
  21845. * mm/mm_heap/mm_sem.c: Defer freeing if mm is held by a not running
  21846. task. When the holder is running we can add a holder count. If there
  21847. is no holder OR it is not running we want to try to take the semaphore.
  21848. There will not be a count if the task is the holder and not running
  21849. because it already holds the count. This will result it the deferred
  21850. free. We will take it when not held and do the free when we can get
  21851. the count because there was no holder. From David Sidrane (2018-12-20).
  21852. * Extends the MTD configdata device with the following features /
  21853. additions:
  21854. 1. Configurable option to use named config items instead of enumerated
  21855. ID/Instance numbers.
  21856. 2. Ability to iterate through the existing configdata items in the
  21857. /dev/config device.
  21858. 3. Ability to "unset" a configdata item.
  21859. 4. Ability to perform "flash_eraseall" on the /dev/config device.
  21860. From Ken Pettit (2018-12-20).
  21861. * drivers/analog/lmp92001.c: Add support for the TI LMP92001 device.
  21862. * arch/arm/src/samd2l2/sam_i2c_master.c: Corrects behavior of the
  21863. I2C_M_NOSTART flag. Also adds a release a bus on RXNACK and corrects
  21864. typo priv->flags to msg->flags as priv->flags is never set. From
  21865. Alexander Vasiliev (2018-12-22).
  21866. * arch/arm/src/samd5e5/sam_i2c_master.c: Alexander Vasiliev's fix to the
  21867. SAMD21 I2C Master (commit b1110ba91c549572e94c24ebed202643233deee3)
  21868. should probably also be applied to the SAMD51 I2C Master which is
  21869. identical. From Gregory Nutt (2018-12-22).
  21870. * Fix lc823450 start:
  21871. - arch/arm/src/lc823450: Use CONFIG_STACK_COLORATION instead of
  21872. CONFIG_DEBUG_STACK
  21873. - arch/arm/src/lc823450: Fix go_os_start() in lc823450_start.c. I
  21874. found a bug in go_os_start() that it returns immediately because it
  21875. does not compare r1 to zero. This commit fixes this bug. Also, this
  21876. commit fixes its description.
  21877. From Masayuki Ishikawa (2018-12-25).
  21878. * arch/arm/src: Masayuki Ishikawa's change to go_os_start() should be
  21879. applied to all MCU-specific start-up functions that support
  21880. go_os_start(). From Gregory Nutt (2018-12-25).
  21881. * configs/stm32f4discovery: Add loadable app build support in
  21882. Make.defs From Masayuki Ishikawa (2018-12-25).
  21883. * arch/arm/src/samd2l2/chip: Adds a complete ADC header file for SAMD21
  21884. and a partially complete ADC header file for the SAML21. From
  21885. Alexander Vasiliev (2018-12-26).
  21886. * net/sixlowpan: Record and restore d_buf on entry/exit of
  21887. sixlowpan_input. This avoids an issue where d_buf gets set to NULL by
  21888. sixlowpan, and then is used by forwarding logic from another network
  21889. interface before getting set back to the drivers internal b From
  21890. Anthony Merlino (2018-12-26).
  21891. * tools/gencromfs.c: Fix build on macOS From David Sidrane (2018-12-26).
  21892. * sched/pthread: Implement pthread_key_delete(). This involves some
  21893. minor changes to the group data structure. From Gregory Nutt
  21894. (2018-12-28).
  21895. * arch/arm/src/imxrt/chip/imxrt106x_pinmux.h: Add FLEXCAN3 to pinmux.
  21896. From David Sidrane (2018-12-28).
  21897. * arch/arm/src/tiva/: Add support for LM3S9B92. From Lwazi Dube
  21898. (2018-12-28).
  21899. * Add some conditional compilation to logic added with commit
  21900. 1cf992ed04c230e639bf29e55f2ec110cb9c4340 to better 'idiot-proof' the
  21901. LM3S support. From Gregory Nutt (2018-12-28).
  21902. * arch/arm/src/samd2l2, configs/samd20-xplained, samd21-xplained,
  21903. saml21-xplained: Fix SAMD2L2 arch to use calibrated oscillator value.
  21904. Now SAMD20 and SAMD21 should work fine without external crystal. Note
  21905. that SAML21 Xplained board has an external crystal and doesn't need
  21906. this change, unless you don't want to use the crystal. From Alexander
  21907. Vasiliev (2018-12-29).
  21908. * drivers/mtd/smart.c: Fix smart_write_alloc_sector sector size
  21909. calculation. From Daniel P. Carvalho (2018-12-29).
  21910. * mm/mm_heap/mm_sem.c and sched/task/task_getpid.c: Commits
  21911. 43d37c866bdaefeff659dec20ed380389c4880d5 and
  21912. f37202cbc0f72526ecfa58e5d27c5b4973289140 resolved some problems with
  21913. the original fix of 91aa26774b291fa553f701ce5222e56a6156c323. However,
  21914. Those changes used an internal OS interface (sched_self()) which is not
  21915. available when the the user-space memory manager is built in the
  21916. PROTECTED or KERNEL builds and resulted in build failures. This commit
  21917. repartitions the logic by moving some of the changes from mm_sem.c into
  21918. task_getpid.c. The logic is equivalent for the case of
  21919. mm_trysemaphore(), but now has wider impact (since it potentially
  21920. affects all callers of getpid()). Hence, this change may also
  21921. introduce some other issues that will need to be addressed. From
  21922. Gregory Nutt (2018-12-30).
  21923. * arch/arm/src/samd2l2/sam_i2c_master.h: Export
  21924. sam_i2c_master_initialize(int bus) to be used by board config. From
  21925. Alan Carvalho de Assis (2018-12-30).
  21926. * drivers/eeprom/i2c_xx24xx.c and include/nuttx/eeprom/i2c_xx24xx.h: Add
  21927. support to Microchip AT24CM02 From Alan Carvalho de Assis (2018-12-30).
  21928. * configs/saml21-xplained/include/board.h: Fix removed MAXCOARSESTEP
  21929. from saml21-xplained board From Alan Carvalho de Assis (2018-12-30).
  21930. * arch/arm/src/tiva/common/lmxx_tm4c_gpioirq.c: Fix tiva gpio
  21931. interrupts From Lwazi Dube (2018-12-30).
  21932. * configs/: Commit fd68d74264c breaks all STM32 board configurations
  21933. that use STM32 USB host. That is because that commit requires
  21934. CONFIG_STM_USBHOST to be set to build in USB host support, but did not
  21935. update the necessary board defconfig files to add that required
  21936. configuration. From Gregory Nutt (2018-12-30).
  21937. * drivers/net/tun.c: Fixes a problem reported by Masayuki Ishikwawa:
  21938. Recently I noticed that ARP response packet is corrupted when I tried
  21939. to run bluekitchen with the latest tun.c in TAP mode. If I revert
  21940. commit 8193c28e9126c9cb89042e80d6ebab7485a831e4, then it works again.
  21941. From Xiang Xiao (2018-12-30).
  21942. * arch/arm/include/tiva and src/tiva: Improve GPIO interrupt support by
  21943. removing unnecessary, hard-coded per-MCU defines and using the existing
  21944. Kconfig configuration options instead. From Lwazi Dube (2018-12-31).
  21945. * drivers/power/mcp73871.c: Add support to Microchip MPC73871 Battery
  21946. Charger. From Alan Carvalho de Assis (2018-12-31).
  21947. * configs/tm4c1294-launchpad/src: Add IRQBUTTONS support to tm4c1294
  21948. launchpad. From Lwazi Dube (2018-12-31).
  21949. * arch/arm/src/stm32: Unified naming for DAC interfaces From Mateusz
  21950. Szafoni (2019-01-02).
  21951. * drivers/usbdev/cdcacm.c: When implemented usb cdc on nrf52840,
  21952. I found some issues with cdc driver:
  21953. 1. Lost data when receiving buffer is full;
  21954. 2. Low-water mask implement issue;
  21955. 3. Re-flush cdc buffer when enabling
  21956. 4. Serial dma is conflict with cdc , modify the serial.h
  21957. From Levin Li (2019-01-02).
  21958. * drivers/mtd/mtd_config.c: Check return value mtdconfig_readbytes().
  21959. From Jussi Kivilinna (2019-01-02).
  21960. * configs/pizero: Remove the partial support for the Raspberry Pi Zero.
  21961. This port was started with the best of intentions but was never
  21962. completed. The board support can still be found in the Obsoleted
  21963. repository. From Gregory Nutt (2019-01-02).
  21964. * arch/arm/src/bcm2708 and arch/arm/include/bcm2708: Remove all support
  21965. for the BCM2708/2835. This was added only for support of the Pi Zero
  21966. board which was previously removed. The support was minimal and
  21967. unverified. The removed files can still be found in the Obsoleted
  21968. directory. From Gregory Nutt (2019-01-02).
  21969. * arch/arm/src/stm32f7: stm32f7 enable separate DMA per SPI
  21970. configuration From Daniel Agar (2019-01-02).
  21971. * lc823450 spif boot:
  21972. - arch/arm/src/lc823450: Add support for SPI flash boot. Also, remove
  21973. unnecessary code for the SPI flash boot.
  21974. - configs/lc823450-xgevk: Add linker script for SPI flash boot
  21975. From Masayuki Ishikawa (2019-01-04).
  21976. * drivers/power/battery_gauge.c: Add missing initialization of
  21977. semaphore. From Alan Carvalho de Assis (2019-01-04).
  21978. * drivers/power/battery_charger.c: Add missing initialization of
  21979. semaphore. From Alan Carvalho de Assis (2019-01-04).
  21980. * tools/mkconfig.c: Add definitions to distinguish between tristate 'y'
  21981. and 'm' options. From Gregory Nutt (2019-01-05).
  21982. * drivers/power/mcp73871.c: Fix MCP73871 driver to register correctly as
  21983. a battery charger. The first element of a 'struct
  21984. battery_charger_dev_s' should be a pointer to operations structure.
  21985. From Alan Carvalho de Assis (2019-01-05).
  21986. * drivers/net/telnet.c: Add NAWS and poll interface to telnet for screen
  21987. size negotation used with termcurses. From Ken Pettit (2019-01-05).
  21988. * arch/arm/src/samv7/sam_serial.c: Fix case where TTYS0 is not defined.
  21989. From Ken Pettit (2019-01-05).
  21990. * arch/arm/src/armv7-a/arm_mmu.c: Fix end address calculation for
  21991. mmu_invalidate_region() API From Petro Karashchenko (2019-01-06).
  21992. * arch/arm/src/armv7-a/mmu.h: Use TLBIMVA vs TLBIMVAAIS to invalidate
  21993. the Cortex-A8 cache. From Petro Karashchenko (2019-01-06).
  21994. * Initial changes for BeagleBone Black board support (TI AM335x family
  21995. based on Cortex-A8):
  21996. - configs/beaglebone-black: Adds initial support for the BeagleBone
  21997. Black board.
  21998. - arch/arm/src/am335x: Adds initial support for the TI AM355x family.
  21999. From Petro Karashchenko (2019-01-06).
  22000. * drivers/telnet/telnet.c: telnet.c priv only used if
  22001. CONFIG_TELNET_SUPPORT_NAWS From Daniel Agar (2019-01-06).
  22002. * arch/arm/src/am335x/chip/am3358_memorymap.h: Code cleanup for
  22003. beaglebone black port. From Petro Karashchenko (2019-01-06).
  22004. * arch/arm/src/am335x/am335x_irq.c: Uncomment code for interrupt
  22005. enable/disable. From Petro Karashchenko (2019-01-06).
  22006. * drivers/timers/mcp7941x.c: Add support for the MCP741x external RTC.
  22007. From Ouss4 (2019-01-06).
  22008. * configs/lc823450-xgevk: Enable NFS client for rndis. Also, some stack
  22009. size were adjusted to work with NFS From Masayuki Ishikawa (2019-01-07).
  22010. * include/dsp.h: Fix missing semicolon error in dsp.h From MYAPICI
  22011. (2019-01-07).
  22012. * fix stm32 tim bug. From lihaichen (2019-01-07).
  22013. * drivers telnet common_ioctl() - inode only used with
  22014. CONFIG_TELNET_SUPPORT_NAWS From Daniel Agar (2019-01-07).
  22015. * mm/mm_heap/mm_calloc.c: Verify that the number of elements times the
  22016. size of an element will not overflow type size_t. This is required by
  22017. the SEI CERT C coding style and resolves anonymous Bitbucket Issue
  22018. #139 From Gregory Nutt (2019-01-07).
  22019. * Revert "arch/arm/armv7-m: MPU: mpu_log2regionceil needs take into
  22020. account the offset too". Masayuki Ishikawa reports that this commit
  22021. breaks ALL PROTECTED mode builds. It violates the basic requirements
  22022. of the use of the MPU in protected mode. Those basic requirements are:
  22023. 1. The MPU region must be aligned to the base address of the memory
  22024. region being mapped (it may NEVER extend before the memory region).
  22025. That is, the following MUST always be zero:
  22026. (base & ((1 << l2size) - 1))
  22027. 2. The MPU region must never extend beyond the end of the memory
  22028. region. That is, the following must be true: size >= (1 << l2size)
  22029. This reverts commit 8b63d0230936bd7d6bd94f4c76b9402946f69b21. From
  22030. Gregory Nutt (2019-01-08).
  22031. * drivers/net/telnet.c: Add missing logic to set read event flags in
  22032. poll() method. From Ken Pettit (2019-01-08).
  22033. * drivers/timers/mcp794xx.c: Rename the module to mcp794xx. From Ouss4
  22034. (2019-01-08).
  22035. * Revert "arch/: The protoype of mpu_log2regionfloor() changed; an
  22036. additional parameter was added. However, none of the calls to
  22037. mpu_log2regionfloor() were updated to pass the new, additional
  22038. parameter." Commit 8b63d0230936bd7d6bd94f4c76b9402946f69b21 was
  22039. reverted. This related commit must now also be reverted to avoid
  22040. compilation errors. This reverts commit
  22041. e8270defc9b26f7a7199288fa9ba203a96ed63d4. From Gregory Nutt
  22042. (2019-01-08).
  22043. * drivers/mtd/s25fl1.c: Minor change for the s25fl1 QSPI FLASH driver
  22044. which fixes additional sectorshift vs. pageshift confusion. From Ken
  22045. Pettit (2019-01-09).
  22046. * STM32F7 and L4 I2cC: Use clock_t for ticks instead of uint32_t to hold
  22047. system time. From Jussi Kivilinna (2019-01-09).
  22048. * Drivers for Sensirion SCD30, SGP30 and SPS30 sensors:
  22049. - drivers/sensors: add driver for Sensirion SCD30 CO2 sensor
  22050. - drivers/sensors: add driver for Sensirion SGP30 gas sensor
  22051. - drivers/sensors: add driver for Sensirion SPS30 particulate matter
  22052. sensor
  22053. From Jussi Kivilinna (2019-01-09).
  22054. * Adds the ARM mbed littlefs to NuttX:
  22055. - depends on !DISABLE_MOUNTPOINT && MTD_BYTE_WRITE
  22056. - register_mtddriver("/dev/w25", mtd, 0755, NULL);
  22057. mount("/dev/w25", "/w25", "littlefs", 0, NULL);
  22058. From lihaichen (2019-01-09).
  22059. * arch/arm/src/stm32f0l0: Add support for GPIO EXTI. From Mateusz
  22060. Sfafoni (2019-01-09).
  22061. * configs/nucleo-l073rz: Support for nrf24l01. From Mateusz Sfafoni
  22062. (2019-01-09).
  22063. * configs/b-l072z-lrwan1/include/board.h: Add note about onboard Murata
  22064. CMWX1ZZABZ-09 module and definitions for available peripherals. From
  22065. Mateusz Sfafoni (2019-01-09).
  22066. * include/nuttx/compiler.h: Correct support of C-version-specific
  22067. features. Cannot depend on GCC version because -std=c89 may be used on
  22068. command line. Need instead to use __STDC_VERSION__ to determine if a
  22069. feature is supported. Also add conditional support inline, depending
  22070. on C99. From Gregory Nutt (2019-01-09).
  22071. * With these changes, I am able to access NSH on Beaglebone Black. I
  22072. still observe data abort crash if I compile the code with optimization
  22073. enabled. The next steps are to investigate the optimization issue and
  22074. add Watchdog module. Currently, NSH does not run for a long time.
  22075. - arch/arm/src/am335x/am335x_irq.c: Correct interrupt processing routine
  22076. - configs/beaglebone-black/nsh/defconfig: Enable debug compilation
  22077. options. Otherwise data abort crash is observed
  22078. - arch/arm/src/am335x/am335x_timerisr.c: Make sure that Timer 1
  22079. interrupts are disabled before any access to peripheral registers
  22080. From Petro Karashchenko (2019-01-09).
  22081. * drivers/mtd/smart.c: Fix for the SmartFS MTD layer size mapping
  22082. issue. With this patch, existing SmartFS drives should still mount and
  22083. work properly, plus the larger sector sizes are now supported
  22084. correctly. From Ken Pettit (2019-01-10).
  22085. * stm32f0l0: Fix GPIO EXTI lines assignment for STM32 M0. From Mateuz
  22086. Szafoni (2019-01-12).
  22087. * drivers/timers/mcp794xx.c: Fix MCP794xx driver to wait for OSCRUN and
  22088. fix tm_year. From Abdelatif Guettouche (2019-01-12).
  22089. * net/sixlowpan: sixlowpan_input should always return 0 if the incoming
  22090. frame was consumed. From Anthony Merlino (2019-01-13).
  22091. * configs/lc823450-xgevk: Fix overlapped memory settings in memory.ld
  22092. From Masayuki Ishikawa (2019-01-14).
  22093. * configs/stm32f4discovery: Update nsh configuration: (1) Add
  22094. CONFIG_BOARD_INITIALIZE=y, (2) Add CONFIG_EXAMPLES_HELLO=y From
  22095. Masayuki Ishikawa (2019-01-14).
  22096. * configs/stm32f4discovery: Update rndis configuration:
  22097. - Add NFS and adjusted stack size for usermain and telnetd client.
  22098. - Add support for loadable application and ping.
  22099. From Masayuki Ishikawa (2019-01-14).
  22100. * drivers/lcd/st7032.c: Fix seek method. Was not taking into account
  22101. the offset for the SEEK_END case. Did not account for negative
  22102. offsets. On errors, it was clobbering the filep->f_pos setting. From
  22103. Gregory Nutt (2019-01-14).
  22104. * drivers/lcd/pcf8574_lcd_backpack.c: Fix seek method. Had the same
  22105. problems as noted for st7032.c driver. From Gregory Nutt (2019-01-14).
  22106. * arch/arm/src/am335x: Add minimal wdog logic needed to disable the
  22107. watchdog timer. Otherwise, the board is rebooted after certain time
  22108. expires while NuttX is running. From Petro Karashchenko (2019-01-15).
  22109. * drivers/lcd/tda19988: This commit brings in a complete, but untested,
  22110. implementation of a driver for the TI TDA19988 HDMI Encoder. This
  22111. encoder is used on the Beaglebone Black board. Since this driver is
  22112. untested, it requires CONFIG_EXPERIMENTAL in the configuration. From
  22113. Gregory Nutt (2019-01-15).
  22114. * arch/arm/src/samd2l2/sam_i2c_master.c: Adds calculation of a timeout
  22115. and disables interrupts in case of error. From Alexander Vasiliev
  22116. (2019-01-15).
  22117. * include/nuttx/lcd/edid.h: Add EDID definitions From Gregory Nutt
  22118. (2019-01-15).
  22119. * nucleo-f767zi: Use on board USB UART as default console. Board is
  22120. powered by USB which can be used as UART link for upload and console.
  22121. Previously it was set to use Arduino shield which developer may not
  22122. have. From Phil Coval (2019-01-15).
  22123. * nucleo-144-f767-netnsh: Add ethernet config based on nsh configuration
  22124. plus stm32f769i-disco/nsh-ethernet. From Phil Coval (2019-01-15).
  22125. * stm32: Align ethernet config name to netnsh. nsh-ethernet was only
  22126. used for stm32f7*-disco, other configurations with network enabled are
  22127. commonly named netnsh or derived: (eg: nucleo-144/f7670-netnsh) From
  22128. Phil Coval (2019-01-16).
  22129. * arch/arm/src/am335x/am335x_timerisr.c: Switch to DMTimer2 for system
  22130. tick generation. U-Boot does not enable DMTimer1ms clocks hence it is
  22131. not possible to use it until implementation in am335x_clockconfig.c is
  22132. ready From Petro Karashchenko (2019-01-16).
  22133. * arch/arm/src/imxrt/chip/imxrt_flexpwm.h: Correct duplicated
  22134. definitions From David Sidrane (2019-01-16).
  22135. * arch/arm/src/imxrt/imxrt_serial.c: Fix TTYS0 defined definitions of
  22136. higher numbered ports From David Sidrane (2019-01-16).
  22137. * arch/arm/src/imxrt/imxrt_serial.c: Support independent input and
  22138. output flow control. From David Sidrane (2019-01-16).
  22139. * arch/arm/src/imxrt/imxrt_usdhc.c and related board.h files: Use single
  22140. define for USB pin definitions. From David Sidrane (2019-01-16).
  22141. * arch/arm/src/imxrt: ADD GPIO Support Input daisy selection From David
  22142. Sidrane (2019-01-16).
  22143. * arch/arm/src/imxrt/imxrt_lpspi.c: Removed unused clock, that borked
  22144. the build From David Sidrane (2019-01-16).
  22145. * arch/arm/src/imxrt/Make.defs: Include up_systemreset and
  22146. up_stackcheck.c From David Sidrane (2019-01-16).
  22147. * arch/arm/src/imxrt/imxrt_lpi2c.c: I2C Reset rework From David Sidrane
  22148. (2019-01-16).
  22149. * arch/arm/src/imxrt/imxrt_periphclks.h: Ensure C++ compatibility. From
  22150. David Sidrane (2019-01-16).
  22151. * arch/arm/src/tiva: Support for the CC13x0 and CC13x2 families is
  22152. basically code complete except for integration with ROM DriverLib.
  22153. And, of course, completely untested. Support for the CC26x2, which is
  22154. nearly identical to the CC13x2 is fragmentary. From Gregory Nutt
  22155. (2019-01-17).
  22156. * arch/arm/include/kinetis/kinetis_sim.h: Remove extra characters following
  22157. #undef. From Daniel Agar (2018-01-19).
  22158. 7.29 2019-xx-xx Gregory Nutt <gnutt@nuttx.org>