ReleaseNotes 635 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536
  1. NuttX Release Notes
  2. ===================
  3. This file contains are the release notes for the NuttX (and apps) packages
  4. for every release. The text is just as was written at the time of release
  5. (with perhaps some corrected typos). Over the course of time, NuttX has
  6. used several different repositories: CVS, two SVN repositories, and
  7. currently a GIT repository. Therefore, revision information specific to an
  8. older repository may not be meaningful today.
  9. To make it easier to track there older versions in the current GIT
  10. repository, a GIT lightweight tag has been applied for each release. The
  11. tag name is the release name (for example, the release 6.27 has tag name
  12. "nuttx-6.27").
  13. NuttX-0.1.0
  14. -----------
  15. This is the initial. This initial includes the complete NuttX RTOS
  16. with support for the Linux user mode simulation and the TI TMS320C5471
  17. (Arm7) processor. Partial support for the 87C52 is included.
  18. This release has been verified on both the Linux user-mode and C5471
  19. platforms using the test program under examples/ostest. Test results
  20. for the C5471 can be found in arch/c5471/doc/test-results.txt.
  21. This tarball contains a complete CVS snapshot from March 9,2007.
  22. NuttX-0.1.1
  23. -----------
  24. This is the second release of NuttX. This release includes the following.
  25. See the ChangeLog for more detailed description of the changes.
  26. (1) General OS bugfixes (see the ChangeLog for details),
  27. (2) bugfixes for the TI TMS320C5471 (Arm7) platform (see
  28. the ChangeLog)
  29. (3) Complete support for the 87C52. (However, the 87C52
  30. release is not stable enough for general usage).
  31. (4) Added the beginning of a shell call NuttShell (nsh)
  32. This release has been verified on the Linux user-mode platform, the
  33. Spectrum Digital TMS320C5471 EVM, and the PJRC 87C52 development board
  34. using the test program under examples/ostest.
  35. STATUS: The development status remains as ALPHA until further testing
  36. is performed.
  37. This tarball contains a complete CVS snapshot from March 14, 2007.
  38. NuttX-0.1.2
  39. -----------
  40. This is the third release of NuttX. This release is
  41. primarily a bugfix release with minimal new features. See
  42. the ChangeLog for a more detailed description of the
  43. changes.
  44. (1) Several important OS and ARM7 bugfixes,
  45. (2) opendir(), closedir(), readdir(), etc. added
  46. (3) Added C5471 watchdog timer.
  47. (4) Created a shareable, serial driver.
  48. (5) Added 'ls' command to NuttShell (nsh)
  49. (6) Added a test of the round robin scheduler
  50. This release has been verified on the Linux user-mode
  51. platform, the Spectrum Digital TMS320C5471 EVM using the
  52. test program under examples/ostest.
  53. This tarball contains a CVS snapshot from March 19, 2007.
  54. NuttX-0.2.1
  55. -----------
  56. This is the fourth release of NuttX. This release adds adds
  57. support for a new platform, restructures many header files,
  58. and adds a few new features:
  59. (1) Support for Neuros OSD / DM320
  60. (2) Restructuring of header files for better POSIX compliance
  61. (3) Added kill()
  62. (4) Added POSIX timers
  63. (5) bugfixes and documentation updates
  64. This release has been verified on the Linux user-mode
  65. platform, the Spectrum Digital TMS320C5471 EVM, and the
  66. Neuros OSD using the test program under examples/ostest. Because
  67. of the stability of these tests, the project status
  68. has been upgraded to 'beta.'
  69. This tarball contains a complete CVS snapshot from March 22, 2007.
  70. NuttX-0.2.2
  71. ------------
  72. This is the fifth release of NuttX. There is no major new
  73. functionality in this release. This release adds support
  74. for new pthread barrier APIs, changes the directory
  75. structure, to better handle different board configurations
  76. using the same processor architecture, and corrects a few
  77. defects.
  78. See the ChangeLog for a complete list of changes.
  79. This release has been verified on the Linux user-mode
  80. platform and the Neuros OSD using the test program under
  81. examples/ostest. There are no known, critical defects but
  82. the project development status remains at 'beta' status
  83. pending further test and evaluation.
  84. This tarball contains a complete CVS snapshot from
  85. March 26, 2007.
  86. NuttX-0.2.3
  87. ------------
  88. This is the sixth release of NuttX. This release is
  89. primarily a bugfix release. Numerous problems were fixed
  90. as detailed in the change log. New functionality includes
  91. support for timed message queues.
  92. See the ChangeLog for a complete list of changes.
  93. This release has been verified on the Linux user-mode
  94. platform and the Neuros OSD using the test program under
  95. examples/ostest. The results of the testing is available in
  96. the source tree under configs/ntosd-dm320/doc/test-results.
  97. There are no known, critical defects but the project
  98. development status remains at 'beta' status pending further
  99. test and evaluation.
  100. This tarball contains a complete CVS snapshot from March 29,
  101. 2007.
  102. NuttX-0.2.4
  103. ------------
  104. This is the 7th release of NuttX. This release is only to roll out
  105. build changes to better support different SoC's that use the same
  106. processor architecture. In particular, the two existing ARM architectures,
  107. c5471 and DM320 were combined into a single ARM directory. This was done
  108. in preparation for an LPC2148 port that is currently in progress. There
  109. is NO new functionality or significant bugfixes in this release.
  110. See the ChangeLog for a complete list of changes.
  111. This release has been verified on the Linux user-mode platform
  112. and the Neuros OSD using the test program under examples/ostest.
  113. The results of the testing is available in the source tree under
  114. configs/ntosd-dm320/doc/test-results and under configs/sim/doc/test-results.
  115. There are no known, critical defects but the project development status
  116. remains at 'beta' status pending further test and evaluation.
  117. This tarball contains a complete CVS snapshot from April 28, 2007.
  118. NuttX-0.2.5
  119. ------------
  120. This is the 8th release of NuttX. This release includes:
  121. (1) Several bug fixes
  122. (2) Initial support for FAT filesystems. Testing has not
  123. been exhaustive and some functionality is missing
  124. (mkdir, stat, unlink chmod, and rename functionality is
  125. not yet implemented).
  126. (3) Support for the NXP lpc2148 processor is included but
  127. is untested as of this writing. The current
  128. implementation includes only support for serial console
  129. and timer interrupt.
  130. See the ChangeLog for a complete list of changes.
  131. This release has been verified only on the Linux user-mode
  132. platform.
  133. This tarball contains a complete CVS snapshot from May 19,
  134. 2007.
  135. NuttX-0.2.6
  136. -----------
  137. This is the 9th release of NuttX. This is primarily a
  138. bugfix release to correct a number of problems introduced
  139. with the 0.2.5 release. This release does include some FAT
  140. filesystem extensions including unlink(), mkdir(), rmdir(),
  141. rename(), opendir(), closedir(), readdir(), seekdir(),
  142. telldir(), rewindir(). There are some pending FAT changes
  143. that did not make it into this release including stat(),
  144. truncate(), and long file names.
  145. See the ChangeLog for a complete list of changes.
  146. This release has been verified only on the Linux user-mode platform.
  147. This tarball contains a complete CVS snapshot from May 26, 2007.
  148. NuttX-0.2.7
  149. -----------
  150. This is the 10th release of NuttX. This is primarily a bugfix
  151. release to correct a number of problems reported to me (thanks
  152. Didier!). This release does include the final changes complete the
  153. FAT filesystem logic including stat(), statfs(), and non-standard
  154. APIs to manage FAT attributes. At present, FAT long file names and
  155. file truncate() are still not supported.
  156. See the ChangeLog for a complete list of changes.
  157. This release has been verified only on the Linux user-mode platform.
  158. This tarball contains a complete CVS snapshot from June 9, 2007.
  159. NuttX-0.2.8
  160. -----------
  161. This is the 11th release of NuttX. This release:
  162. (1) corrects important bugs in opendir() and realloc()
  163. (2) adds support for environment variables
  164. (3) adds several new C library interfaces
  165. (4) extends several example programs
  166. See the ChangeLog for a complete list of changes.
  167. This release has been verified only on the Linux user-mode platform.
  168. This tarball contains a complete CVS snapshot from July 2, 2007.
  169. NuttX-0.3.0
  170. -----------
  171. This is the 12th release of NuttX. This release includes the initial
  172. integration of a network subsystem and the uIP TCP/IP stack into NuttX
  173. (see http://www.sics.se/~adam/uip/index.php/Main_Page). Also included
  174. is a device driver for the Davicom DM90x0 Ethernet controller.
  175. This integration is very preliminary. Only a small portion of the
  176. network functionality has been integrated and there are a number of
  177. open issues (see the TODO file). The network subsystem is pre-alpha
  178. at this point in time. I expect that it will stabilize and mature
  179. over the next few releases.
  180. The baseline functionality of NuttX continues to mature and remains at
  181. post-beta (as long as the network is not used).
  182. See the ChangeLog for a complete list of changes.
  183. This release has been verified only on the Neuros OSD (DM320 ARM9)
  184. platform using the DM90x0 driver.
  185. This tarball contains a complete CVS snapshot from November 6, 2007.
  186. NuttX-0.3.1
  187. -----------
  188. This is the 13th release of NuttX and the second release containing
  189. the integration of a network subsystem and the uIP TCP/IP, UDP, and
  190. ICMP stacks into NuttX (see http://www.sics.se/~adam/uip/index.php/Main_Page).
  191. Many network-related problems have been fixed and the implementation
  192. has matured significantly. However, the level of network reliability
  193. is probably still at the pre-alpha or early level. It is sufficiently
  194. complete that you may begin to perform some network integration and
  195. is expected to achieve beta level of reliability over the next few
  196. releases.
  197. The baseline functionality of NuttX continues to mature and remains at
  198. post-beta (as long as the network is not used).
  199. See the ChangeLog for a complete list of changes.
  200. This release has been verified only on the Neuros OSD (DM320 ARM9)
  201. platform using the DM90x0 driver.
  202. This tarball contains a complete CVS snapshot from November 19, 2007.
  203. NuttX-0.3.2
  204. -----------
  205. This is the 14th release of NuttX and the 3rd release containing
  206. the integration of a network subsystem and the uIP TCP/IP, UDP, and
  207. ICMP stacks into NuttX (see http://www.sics.se/~adam/uip/index.php/Main_Page).
  208. Many network-related problems have been fixed and the implementation
  209. has matured significantly. This release consists of:
  210. o TCP-related bug-fixes
  211. o TCP performance improvements
  212. o Initial UDP integration
  213. o Initial uIP micro webserver integration
  214. See the ChangeLog for a complete list of changes.
  215. The level of network reliability is at alpha level is expected to
  216. achieve beta level of reliability over the next few releases.
  217. The baseline functionality of NuttX continues to mature and remains at
  218. post-beta.
  219. This release has been verified only on the Neuros OSD (DM320 ARM9)
  220. platform using the DM90x0 driver.
  221. This tarball contains a complete CVS snapshot from November 23, 2007.
  222. NuttX-0.3.3
  223. -----------
  224. This is the 15th release of NuttX and the 4th release containing
  225. the integration of a network subsystem and the uIP TCP/IP, UDP, and
  226. ICMP stacks into NuttX (see http://www.sics.se/~adam/uip/index.php/Main_Page).
  227. Many network-related problems have been fixed and the implementation
  228. has matured significantly. This release consists of:
  229. o TCP-related bug-fixes for disconnecting sockets
  230. o Correction of some TCP read-ahead logic
  231. o TCP performance improvements
  232. o Misc. additions and cleanup (See the ChangeLog for a complete list of
  233. changes).
  234. The level of network reliability is at an early beta release level. The
  235. baseline functionality of NuttX continues to mature and remains at
  236. post-beta. Open network-related issues include only:
  237. o Some minor unimplemented BSD socket functionality,
  238. o Thread safety issues: the same socket cannot be used concurrently on
  239. different threads.
  240. o Pending design changes necessary to support multiple network interfaces.
  241. o IPv6 support is incomplete.
  242. This release has been verified only on the Neuros OSD (DM320 ARM9)
  243. platform using the DM90x0 driver. Any feedback for improving the network
  244. reliability/performance would be greatly appreciated.
  245. This tarball contains a complete CVS snapshot from November 28, 2007.
  246. NuttX-0.3.4
  247. -----------
  248. This is the 16th release of NuttX and the 5th release containing
  249. the integration of a network subsystem and the uIP TCP/IP, UDP, and
  250. ICMP stacks into NuttX (see http://www.sics.se/~adam/uip/index.php/Main_Page).
  251. This release is primarily a bug-fix release. New features include
  252. only:
  253. o TELNET front-end to NSH,
  254. o DHCPC server functionality, and
  255. o C5471 Ethernet driver.
  256. Numerous network related problems were fixed related to DHCPC, UDP
  257. input processing, UDP broadcast, send timeouts, and bad compilation when
  258. uIP is compiled at high levels of optimization.
  259. The level of network reliability is at a strong beta release level. The
  260. baseline functionality of NuttX continues to mature and remains at
  261. post-beta or production level.
  262. Parts of this release were verified only on the Neuros OSD (DM320 ARM9)
  263. platform using the DM90x0 Ethernet driver and other parts on the Spectrum
  264. Digital C5471 EVM using the C5471 Ethernet driver. Any feedback about bugs
  265. or suggestions for improving the network reliability/performance would be
  266. greatly appreciated.
  267. This tarball contains a complete CVS snapshot from December 10, 2007.
  268. NuttX-0.3.5
  269. -----------
  270. This is the 17th release of NuttX this release is primarily a bug-fix
  271. release and intended to synchronize with the current CVS contents. See
  272. the ChangeLog for a detailed list of changes and fixes.
  273. This release were verified only on the Spectrum Digital C5471 EVM using
  274. the C5471 Ethernet driver. Any feedback about bugs or suggestions for
  275. improvement would be greatly appreciated.
  276. This tarball contains a complete CVS snapshot from December 18, 2007.
  277. NuttX-0.3.6
  278. -----------
  279. This is the 18th release of NuttX. This release contains on a few
  280. changes. The primary purpose of this release is to synchronize with
  281. the release of the pascal-0.1.0 add-on package.
  282. This release of NuttX includes the following changes:
  283. * Fixes for use with SDCC compiler
  284. * Added a simulated z80 target (arch/z80)
  285. * Fix deadlock errors when using stdio but with no buffering
  286. * Add support for the add-on Pascal P-Code interpreter (pcode/)
  287. (see the pascal-0.1.0 package)
  288. This release were verified only on the simulated Z80 and and host
  289. simulation targets. As usual, any feedback about bugs or suggestions
  290. for improvement would be greatly appreciated.
  291. This tarball contains a complete CVS snapshot from January 6, 2007.
  292. ====
  293. There was an error in the initial 0.3.6 release that prevented
  294. a successful build unless the Pascal add-on was present. The
  295. tarball was patched to include the fix. Make sure that you download
  296. the nuttx-0.3.6.1.tar.gz version to avoid this problem.
  297. NuttX-0.3.7
  298. -----------
  299. This is the 19th release of NuttX. This release includes the
  300. preliminary port of NuttX to the ZiLOG z16f 16-bit microcontroller.
  301. This port was verified using the ZiLOG z16f2800100zcog Development
  302. and the ZiLOG ZDS-II toolchain. See http://www.zilog.com for
  303. further information.
  304. I emphasize that this is a preliminary release of the z16f port and
  305. is only alpha or, perhaps, pre-alpha quality as of this writing.
  306. There are a list of known issues in the TODO file in the root of
  307. the NuttX directory. The overall quality of NuttX (excluding the
  308. z16f port) continues to improve beyond the late beta level.
  309. The z16f port required numerous changes to NuttX to handle:
  310. * NEAR and FAR addressing, and
  311. * Use of a Windows native toolchain in a Cygwin build environment.
  312. In addition to the z16f port, at least one very critical bug was
  313. found and corrected in NuttX: The thread-specific errno value of one
  314. task was being randomly trashed when a different thread exited.
  315. This release were verified on the ZiLOG z16f2800100zcog, Neuros OSD
  316. (ARM9), and the simulation platforms. As usual, any feedback about bugs
  317. or suggestions for improvement would be greatly appreciated.
  318. This tarball contains a complete CVS snapshot from January 31, 2008.
  319. NuttX-0.3.8
  320. -----------
  321. This is the 20th release of NuttX. This is a minor bugfix release.
  322. It corrects a few minor problems, adds a few minor features, and
  323. continues the integration of the ZiLOG Z18F and of the Pascal P-Code
  324. add-on. This release is synchronized with the release of Pascal-0.1.2.
  325. This tarball contains a complete CVS snapshot from February 10, 2008.
  326. NuttX-0.3.9
  327. -----------
  328. This is the 21st release of NuttX. This is a minor future enhancement
  329. release. This release includes support for the ZiLOG Z8Encore! micro-
  330. controller. Also included is the initial framework for support for
  331. the Z80, XTRS platform (http://www.tim-mann.org/xtrs.html).
  332. This released has been verified only on the ZiLOG ZDS-II Z8Encore!
  333. chip simulation.
  334. This tarball contains a complete CVS snapshot from March 9, 2008.
  335. NuttX-0.3.10
  336. ------------
  337. This is the 22nd release of NuttX. This is an important bug fix
  338. release. This release incorporates fixes to correct critical list
  339. handling errors in task shutdown logic: One in timer deletion logic
  340. (timer_delete.c) and one in stream logic (lib_init.c). This release
  341. also includes support to ZiLOG EZ80Acclaim microcontroller (EZ80F91
  342. chip) and configurations for the ZiLOG z8f64200100kit (Z8F6423) and
  343. ez80f0910200kitg (EZ80F091) development kit.
  344. NuttX-0.3.11
  345. ------------
  346. This is the 23rd release of NuttX. This is another important bugfix
  347. release. This releases fixes several bugs:
  348. * Two POSIX timer bugs: a memory leak as well a fatal sequencing error.
  349. * Several FAT filesystem errors.
  350. * A deadlock that can occur in opendir()
  351. A few new features were also added:
  352. * Support for recursive mutexes
  353. * Added a RAM disk block driver
  354. * The host simulator no longer uses direct Linux system calls and
  355. now also works on Cygwin.
  356. * The OS test was strengthen and now runs as an endurance test
  357. These changes were verified only on the Host simulator under Cygwin.
  358. Please report any errors to me.
  359. This tarball contains a complete CVS snapshot from June 1, 2008.
  360. NuttX-0.3.12
  361. ------------
  362. This is the 24th release of NuttX. This release includes some minor
  363. bugfixes as well as a few new features. Bugs fixed include:
  364. * Corrected an error in recursive mutex implementation.
  365. * task_create() was only dup()ing the first three file descriptors.
  366. * Fixed driver open reference counting errors in dup(), dup2(), and exit().
  367. * Fixed error handling logic in fflush().
  368. New features were also added:
  369. * Pipes and pipe() API
  370. * FIFOs and mkfifo() API
  371. * mkfatfs() API can be used to format FAT file systems.
  372. These changes were verified only on the Host simulator under Cygwin.
  373. Please report any errors to me.
  374. This tarball contains a complete CVS snapshot from August 10, 2008.
  375. NuttX-0.3.13
  376. ------------
  377. This is the 25th release of NuttX. This release includes some
  378. important bugfixes as well as a few new features. Bugs fixed
  379. include:
  380. * Fixed problems with Cygwin-based console input. NSH now works
  381. with the Cygwin simulator.
  382. * sched_get_priority_max/min returned error on SCHED_RR
  383. * Corrected detection of End-of-File in fgets()
  384. * Fixed an error in opendir() that could cause an assertion to fail
  385. inappropriately.
  386. * Corrected an error in the FAT that caused files opened for writing
  387. with O_APPEND to fail.
  388. * Fix error in getopt() when called with argc==1
  389. * Fix error in stat() when used on the root directory
  390. * Fixed a critical bug that effects the way that environment variables
  391. are shared among pthreads.
  392. * uIP port now supports multi-threaded, concurrent socket access.
  393. So, for example, one thread can be reading from a socket while
  394. another is writing to the socket.
  395. New features were also added:
  396. * New OS APIs: chdir() and getcwd()
  397. * The Nuttx shell (NSH) has been extended in many ways.
  398. - New commands: mkfatfs, mkfifo, sleep, usleep, nice, sh, cd, and pwd
  399. - New memory inspection commands and heap usage commands
  400. - New capabilities:
  401. - Execution of commands in background
  402. - Execution of simple scripts
  403. - Redirection of command output
  404. - Last command status ($?)
  405. - Now supports if-then[-else]-fi construct
  406. - Other features as noted in the ChangeLog.
  407. These changes were verified only on the Host simulator under Cygwin
  408. and under Linux and also on the Neuros OSD (ARM9). Please report
  409. any errors to me.
  410. This tarball contains a complete CVS snapshot from September 1, 2008.
  411. nutt-0.3.14
  412. -----------
  413. This is the 26th release of NuttX. This release includes some
  414. important bugfixes as well as a few new features. Critical bugs
  415. fixed include:
  416. FAT FS:
  417. * Fixed several critical bugs with regard to fat reading and
  418. writing and FAT12 accesses. Basically the FAT FS only worked
  419. with my tiny test files and test cases. A lot of stronger FAT
  420. tested is still needed!
  421. * Fixed another FAT bug in implementation of FAT lseek();
  422. this prohibited correct random access to large files.
  423. Network:
  424. * Corrected a critical bug that may prevent recvfrom from receiving
  425. packets from most remote UDP port numbers.
  426. * Corrected an error in multi-threaded socket handling in send() and
  427. sendto(). Outgoing data could overwrite incoming data.
  428. * Corrected IP checksum calculation in ICMP and UDP message send logic.
  429. * Corrected an error in send() timeout logic.
  430. New features were also added:
  431. Network:
  432. * Added support for application access to ICMP protocol stacks
  433. * Added ping request logic (net/uip).
  434. * Added basic TFTP client logic (netutils/tftpc).
  435. NuttShell (NSH):
  436. * New commands: 'test', '[', 'ping', 'mkrd', 'xd', and TFTP 'get' and 'put'
  437. See the new NuttShell User Guide for additional information.
  438. Other less critical bugs were also fixed and other less important
  439. features were were added. See the ChangeLog for details.
  440. These changes were verified only on the Neuros OSD (ARM9). Please
  441. report any errors to me.
  442. This tarball contains a complete CVS snapshot from September 8, 2008.
  443. nutt-0.3.15
  444. -----------
  445. This is the 27th release of NuttX. This release includes some new features:
  446. * Adds support for the ROMFS filesystem
  447. * ROMFS supports mmap() to provide eXecute In Place (XIP) capability
  448. * NuttShell (NSH) can be configured to use ROMFS to provide a tiny read-only
  449. filesystem with a startup script in /etc.
  450. * Completed the basic port of the NXP LPC2148 on the mcu123.com board.
  451. The basic port includes successful booting, timer interrupts,
  452. serial console, successfully passing the examples/ostest, and a
  453. NuttShell (NSH) configuration.
  454. These changes were verified only on the mcu123.com NXP LPC2148
  455. board. Please report any errors to me.
  456. This tarball contains a complete CVS snapshot from September 20, 2008.
  457. nutt-0.3.16
  458. -----------
  459. This is the 28th release of NuttX. This release includes the first
  460. support for USB in NuttX. A set of USB APIs were added to support
  461. USB device controller drivers and bindings to USB device class
  462. drivers. The form of the interface was inspired by the Linux Gadget APIs.
  463. At present USB device controller drivers are included for:
  464. * The NXP LPC214x. This driver has been verified and is an early alpha
  465. stage in quality.
  466. * TI DM320. Coding for this driver is complete but it is completely
  467. untested as of this release.
  468. A controller-independent class driver is also included for:
  469. * USB serial class device driver (emulates the Prolific PL2303
  470. serial-to-USB adapter). This driver has only been verified with
  471. the Linux host PL2303 driver.
  472. Other new features include:
  473. * Add an option to set aside a separate stack for interrupt
  474. handling (ARM only). This is useful when memory is constrained,
  475. there are multiple tasks, and the interrupt stack requirement
  476. is high (as when USB is enabled).
  477. A few bugs were also fixed:
  478. * Fixed the frequency of system timer interrupts in the NXP LPC214x port
  479. (off by 20x in nuttx-0.3.15)
  480. * Fixed serial driver bugs related to (1) open counts and (2) recognizing
  481. O_NONBLOCK on read.
  482. * Fixed an error in read(); it was not setting the errno on errors returned
  483. from the driver.
  484. These changes were verified only on the mcu123.com NXP LPC2148 board
  485. using with a Linux host. Please report any errors to me.
  486. This tarball contains a complete CVS snapshot from October 10, 2008.
  487. UPDATE
  488. ------
  489. This release does not build for the ARM target when USB is disabled.
  490. Here is the fix:
  491. Index: arch/arm/src/common/up_internal.h
  492. ===================================================================
  493. RCS file: /cvsroot/nuttx/nuttx/arch/arm/src/common/up_internal.h,v
  494. retrieving revision 1.13
  495. diff -u -r1.13 up_internal.h
  496. --- arch/arm/src/common/up_internal.h 6 Oct 2008 16:20:52 -0000 1.13
  497. +++ arch/arm/src/common/up_internal.h 13 Oct 2008 20:48:21 -0000
  498. @@ -200,7 +200,8 @@
  499. extern void up_usbinitialize(void);
  500. extern void up_usbuninitialize(void);
  501. #else
  502. -# define up_netinitialize()
  503. +# define up_usbinitialize()
  504. +# define up_usbuninitialize()
  505. #endif
  506. #endif /* __ASSEMBLY__ */
  507. NuttX-0.3.17
  508. ------------
  509. This is the 29th release of NuttX. This release includes the
  510. additional support for USB in NuttX. The following new features
  511. were added:
  512. * Added support for SPI-based MMC/SD cards (with an SPI driver
  513. for the NXP LPC214x).
  514. * Added USB storage class device side driver (BBB)
  515. * Added an example that demonstrates the USB storage class by
  516. exporting the SPI based MMC/SD card on the NXP LPC214x.
  517. This is an early alpha release of these drivers. At present they
  518. only work with debug features enabled so there are probably some
  519. race conditions that occur only with debug features disabled.
  520. (Anyone out there with a USB analyzer? I would love to know what
  521. is happening.)
  522. Several important bugs were also fixed in the FAT file system, USB
  523. serial driver and NXP LPC214x USB controller driver. (See the ChangeLog
  524. for details.)
  525. These changes were verified only on the mcu123.com NXP LPC2148 board
  526. using a Linux development environment. USB testing was performed
  527. using both a Linux host and a WinXP host. Please report any errors
  528. to me.
  529. This tarball contains a complete CVS snapshot from October 28, 2008.
  530. NuttX-0.3.18
  531. ------------
  532. This is the 30th release of NuttX. This release includes two
  533. partially completed ports, several new features, and a couple of
  534. important bug fixes. The two partially completed ports are:
  535. * The STMicro STR71x processor and configuration for the Olimex
  536. STR-P711 board.
  537. * The Hitachi SH-1 using the SH1_LCEVB1 (SH-1/US7032EVB1) board
  538. Progress on these ports is stalled (as detailed in the ChangeLog).
  539. The new features focus primarily on management of block devices and
  540. extensions of the NuttShell (NSH). These include:
  541. * A loop device that converts a file into a block device.
  542. * A block to character (BCH) driver that allow access a block device as
  543. if it were character device.
  544. * Added strcasecmp() and strncasecmp() libc functions.
  545. * Added the 'dd' and 'losetup' commands to NSH. These commands
  546. (along with mkfatfs and mount), give good management of filesystems
  547. on the target.
  548. Several bugs were fixed, the most important of which are:
  549. * Fixed a race condition workaround delay in LPC214X SPI logic.
  550. This was also the cause of some bad MMC/SD performance on that
  551. platform.
  552. * Fixed a recently introduced FAT file system problem: It would
  553. mount a (invalid) FAT file system even if the medium is not formatted!
  554. * Corrected two other important errors in the FAT lseek() implementation:
  555. 1 - The sectors-per-cluster value was being reset to "1".
  556. 2 - Important lseek logic was omitted when the seek position was zero.
  557. The FAT filesystem has had many bugs fixed in it and, I think, is
  558. now maturing and becoming stable.
  559. These changes were verified only on the mcu123.com NXP LPC2148
  560. board, the Hitachi SH1_LCEVB1 board, and the Linux simulator, all
  561. using a Linux development environment. Please report any errors
  562. to me.
  563. This tarball contains a complete CVS snapshot from November 16, 2008.
  564. NuttX-0.3.19
  565. ------------
  566. This is the 31st release of NuttX. This release includes the
  567. following new feature:
  568. * Add poll() and select() APIs that may be used to monitor for
  569. data availability on character devices or TCP/IP sockets.
  570. * Implemented support TCP/IP connection backlog. This allows
  571. select() to wake-up on new connections to a listener socket.
  572. * Added definition of a framebuffer driver and implement framebuffer
  573. drivers for the simulated platform and the TI DM320 (untested
  574. as of the initial check-in).
  575. * Partially developed a graphics framework based on the framebuffer
  576. drivers, however, this will not be ready for use for a few more
  577. releases. Currently this includes only a few color conversion
  578. routines and some rasterizing functions. A tiny windowing system
  579. is under development but not ready for check-in yet.
  580. * Added support for fixed precision math.
  581. * Added support for outgoing multicast packets.
  582. Several bugs were fixed, the most important of which are:
  583. * Fixed an important bug in the TCP/IP buffering logic. When
  584. TCP/IP read-ahead is enabled and not recv() is in-place when a
  585. TCP/IP packet is received, the packet is placed into a read-ahead
  586. buffer. However, the old contents of the read-ahead buffer
  587. were not being cleared and old data would contaminate the newly
  588. received buffer.
  589. * Changed the behavior of the serial driver read. It now returns
  590. data as it is available rather than waiting for the full requested
  591. read size. This makes functions like fgetc() work much more
  592. smoothly.
  593. These changes were verified only on the Neuros OSD (ARM9) using a
  594. Linux development environment. Please report any errors to me.
  595. This tarball contains a complete CVS snapshot from November 26, 2008.
  596. NuttX-0.4.0
  597. -----------
  598. This is the 32nd release of NuttX. This release adds graphics
  599. support and a tiny windowing subsystem. That new graphics subsystem
  600. is documented at http://nuttx.sourceforge.net/NXGraphicsSubsystem.html.
  601. No other substantial changes were made.
  602. These changes were verified only on the NuttX simulation platform
  603. with X11 windows simulating a device framebuffer. Please report any
  604. errors to me.
  605. The version number was bumped up to 0.4.0 in part to reflect the
  606. new graphics subsystem, but also to recognize the NuttX is approaching
  607. complete functionality. In the 0.3.x versions, network support was
  608. added, Pascal P-code runtime support was added, FAT and ROMFS
  609. filesystems were added, MMC/SD and USB device support were added.
  610. There were also numerous extensions to the NuttShell, NuttX APIs,
  611. and architecture ports.
  612. This tarball contains a complete CVS snapshot from December 6, 2008.
  613. NuttX-0.4.1
  614. -----------
  615. This is the 33rd release of NuttX. This is a minor bugfix release.
  616. The primary reason for this release is to correct numerous build
  617. errors that have accumulated for the ZiLOG ZDS-II based targets.
  618. All ZDS-II targets now build correctly (but have not been re-tested).
  619. In addition to platform-specific build failures, this release also
  620. adds the following features which were not tested as of the time
  621. of the release:
  622. * Board support for the ZiLog ez80Acclaim! ez80f910200zco Development Kit
  623. * ZiLOG eZ80F91 EMAC driver
  624. These changes were verified only on the NuttX simulation platform.
  625. Please report any errors to me.
  626. This tarball contains a complete CVS snapshot from February 6, 2009.
  627. NuttX-0.4.2
  628. -----------
  629. This is the 34th release of NuttX. This release adds no new OS
  630. features but does include support for two new architectures:
  631. * ez80Acclaim! Basic support has been integrated and verified
  632. for the ez80f910200zcog-d board (eZ80F91-based). That basic
  633. support includes timer interrupts and serial console. Ongoing
  634. work includes an EMAC driver that should be integrated for the
  635. next release nuttx-0.4.2. eZ80Acclaim! support has been in the
  636. code base for some time, but has only just been integrated due
  637. to toolchain issues.
  638. * Renesas M16C/20. Support for the Renesas SKP16C20 board has
  639. been included in the NuttX source tree. However, as the
  640. eZ80Acclaim!, testing and integration of that port is stalled
  641. due to toolchain issues.
  642. These changes were verified only on the ZiLOG eZ80910200zcog-d
  643. board. Please report any errors to me.
  644. This tarball contains a complete CVS snapshot from February 28, 2009.
  645. NuttX-0.4.3
  646. -----------
  647. This is the 35th release of NuttX. This release one important new
  648. OS feature and corrects and extends the eZ80 port:
  649. * Priority Inheritance. The basic NuttX waiting logic was extended
  650. to support priority inheritance. See the NuttX User Manual for
  651. further information:
  652. http://www.nuttx.org/NuttxUserGuide.html#priorityinheritance.
  653. * ez80Acclaim! Corrected several critical, show-stopping bugs on that
  654. platform including:
  655. - Errors in the serial driver interrupts.
  656. - An error in the eZ80 table.
  657. * eZ80Acclaim!: Completed integration of the eZ80F91 EMAC driver.
  658. These changes were verified only on the ZiLOG eZ80910200zcog-d board
  659. and on Cygwin-based simulation platform in various configurations.
  660. Please report any errors to me.
  661. This tarball contains a complete CVS snapshot from March 13, 2009.
  662. NuttX-0.4.4
  663. -----------
  664. This is the 36th release of NuttX. This release focuses on bugfixes
  665. and extending and verifying certain networking features.
  666. * Important bugs were fixed in NSH, UDP checksum calculation, UDP
  667. bind() behavior for port==0, the eZ80Acclaim! EMAC driver, Z80
  668. interrupt handling, and in the C libraries.
  669. * Testing was extended to further verify the tiny webserver,
  670. DHCPD, wget(), and sendmail.
  671. See the Changelog for a detailed description of these changes.
  672. These changes were verified only on the ZiLOG eZ80910200zcog-d board
  673. using the ZDS-II toolchain in Cygwin-based environment. Please
  674. report any errors to me.
  675. This tarball contains a complete CVS snapshot from March 29, 2009.
  676. NuttX-0.4.5
  677. -----------
  678. This is the 37th release of NuttX. This release focuses on a few new features.
  679. * The basic port for the Freescale ARM920T i.MX1 processor on the
  680. Freescale MX1ADS board. Coding is complete for this port, but
  681. it is has not yet fully integrated
  682. * Extended I2C and SPI interface definitions
  683. * Add basic support for C++ applications. Very simple C++
  684. applications can now be built against NuttX without any external
  685. libraries. At present, only the most primitive C++ programs
  686. are supported, but it is hoped that this support will be extended
  687. in future releases.
  688. See the Changelog for a detailed description of these changes.
  689. This tarball contains a complete CVS snapshot from April 19, 2009.
  690. NuttX-0.4.6
  691. -----------
  692. This is the 38th release of NuttX. The release features support
  693. for the Micromint Eagle-100 development board. This board is based
  694. around, the Luminary LM3S6918 MCU. This is the first ARM Cortex-M3
  695. architecture supported by Nuttx. This initial, basic port includes
  696. timer and serial console with configurations to execute the NuttX
  697. OS test and to run the NuttShell (NSH). Work is still underway on
  698. this port and current plans are to have I2C, SSI, MMC/SD, and and
  699. Ethernet driver in the 0.4.7 release.
  700. Additional work was done on the MXADS i.MX1 port, however, that
  701. work has been set aside until I complete work on the Eagle-100 (I
  702. also need to come up with a 3V power supply).
  703. Other changes in this release include: Extensions to the SPI interface
  704. definition in order to handle 9-bit interfaces to displays. Several
  705. bugs were fixed (see the ChangeLog for a complete list of changes).
  706. This tarball contains a complete CVS snapshot from May 19, 2009.
  707. NuttX-0.4.7
  708. -----------
  709. This is the 39th release of NuttX. This release focuses on cleaning
  710. up and extending the Eagle100/LM3S6918 port released in nuttx-0.4.6
  711. and on improved MMC/SD support. New features include:
  712. * Improved reliably and additional drivers for the Eagle-100 board
  713. (LM3S6918 ARM Cortex-M3). Additional drivers include Ethernet,
  714. SSI, and support for the on-board LEDs and microSD cards.
  715. * The SPI-based MMC/SD driver was extended to support SDHC Version
  716. 2.xx cards.
  717. In addition, this release includes several important bugfixes for
  718. the LM3S6918, the LPC2148, the SPI-based MMC/SD driver, and to
  719. FAT32. See the ChangeLog for details of these bugfixes.
  720. This tarball contains a complete CVS snapshot from May 29, 2009.
  721. NuttX-0.4.8
  722. -----------
  723. This is the 40th release of NuttX. This release adds:
  724. * Support for the Olimex STRP711 board. That board is based on
  725. the STMicro STR711 MCU (ARM7TDMI). Integration is complete on
  726. the basic port (boot logic, system time, serial console). Two
  727. configurations have been verified: (1) The board boots and
  728. passes the OS test with console output visible on UART0, and
  729. the NuttShell (NSH) is fully functional with interrupt driven
  730. serial console. An SPI driver is available but untested (because
  731. the Olimex card slot appears to accept only MMC cards; I have
  732. only SD cards). Additional needed: USB and driver, MMC
  733. integration.
  734. * Support for the CodeSourcery and devkitARM Windows-native GNU
  735. toolchains. Makefiles have been modified for the LM3S6918,
  736. LPC2148, and STR711 to support these toolchains under Cygwin.
  737. This tarball contains a complete CVS snapshot from June 13, 2009.
  738. NuttX-0.4.9
  739. -----------
  740. This is the 41st release of NuttX. This release adds:
  741. * Support for a new binary format call NXFLAT that can be used to
  742. execute separately linked programs in place in a file system.
  743. See http://www.nuttx.org/NuttXNxFlat.html.
  744. * Several important bugs were files related to networking and ROMFS.
  745. See the ChangeLog for a complete list.
  746. This tarball contains a complete CVS snapshot from June 26, 2009.
  747. NuttX-0.4.10
  748. -----------
  749. This is the 42nd release of NuttX. This released focused on the
  750. port of Jeff Poskanzer's THTTPD HTTP server (see
  751. http://acme.com/software/thttpd/). As of the 0.4.10 release, that
  752. port is still not fully complete and functional. However, numerous
  753. related bug-fixes and functional additions for THTTPD were added:
  754. * Several new standard C-library functions (fileno, strstr,
  755. strpbrk, fcntl).
  756. * Improved and extended timing APIs (mktime, gmtime, gmtime_r,
  757. gettimeofday, localtime, localtime_r, and strftime)
  758. * Networking enhancements: recvfrom() and accept() now work with
  759. non-blocking sockets.
  760. * NXFLAT extensions (exec)
  761. * Pattern matching logic.
  762. * And miscellaneous bug fixes (see the ChangeLog for details).
  763. This tarball contains a complete CVS snapshot from August 8, 2009.
  764. NuttX-0.4.11
  765. ------------
  766. This is the 43rd release of NuttX. This release of NuttX incorporates
  767. the verified port of Jeff Poskanzer's THTTPD HTTP server (see
  768. http://acme.com/software/thttpd/). Many of the key features of
  769. THTTPD have been tested on the Micromint Eagle-100 development board
  770. (Cortex-M3). These tests verify:
  771. * Serving of files from any file system
  772. * Execution of CGI executable. This release supports execution
  773. of NXFLAT executables on a ROMFS file system
  774. (http://www.nuttx.org/NuttXNxFlat.html)
  775. A standard CGI interface is used: Information is pasted to the CGI
  776. program via POST commands and via environment variables. CGI socket
  777. I/O is redirected to stdin and stdout so that the CGI program only
  778. need to printf() to send its content back to the HTTP client.
  779. Another value to this THTTPD integration effort has been that THTTPD
  780. has provided a very good test bed for finding NuttX networking bugs.
  781. Several very critical networking bugs have been fixed with this
  782. 0.4.11 release (see the ChangeLog for details). Networking throughput
  783. has also been greatly improved. Anyone using NuttX networking
  784. should consider upgrading to this release.
  785. This tarball contains a complete CVS snapshot from September 16, 2009
  786. NuttX-0.4.12
  787. ------------
  788. This is the 44th release of NuttX. This release adds basic support
  789. for the STMicro STM32, Cortex-M3 MCU. The specific port is to the
  790. STMicro STM3210E-EVAL development board based around the STM32F103ZET6
  791. MCU. Some highlights of this port:
  792. * This basic port includes boot-up logic, interrupt driven serial
  793. console, and system timer interrupts.
  794. * Includes a basic STMicro RIDE7 project that can be used to
  795. perform basic STM32 board bring-up (due to RIDE7 size limitations,
  796. it cannot be used for the full NuttX bring-up).
  797. * Working, Tested Configurations: the NuttX OS test and the
  798. NuttShell (NSH) example.
  799. This basic STM32 port will be extended in the 0.4.13 NuttX release.
  800. Functionality needed for complete STM32 support includes: USB
  801. device driver, LCD driver and NX bringup on the development board's
  802. display and MicroSD support. An SPI driver and a DMA support was
  803. included in this 0.4.12 release, but is not yet tested.
  804. This tarball contains a complete CVS snapshot from October 17, 2009
  805. NuttX-0.4.13
  806. ------------
  807. This is the 45th release of NuttX. The release extends the support
  808. for the STMicro STM32 microcontroller. Minimal support for the
  809. STM3210E-EVAL development board based around the STM32F103ZET6 MCU
  810. was released in NuttX-0.4.12. This release adds:
  811. * A simple interface definition to support some FLASH, EEPROM,
  812. NVRAM, etc. devices.
  813. * Verified SPI operation using driver for SPI based FLASH parts
  814. M25P64 and M25P128.
  815. * Improved Cortex-M3 context switching. This should improve
  816. context switching performance be 2x in certain cases.
  817. * Added a USB device-side driver for the STM32. This is an early
  818. release of a very complex driver; some bugs are expected.
  819. * The USB driver has been verified against the USB serial device
  820. class driver. There is at least one known outstanding issue
  821. (see the full bug description in the TODO list).
  822. This release also corrects some important bugs in the early STM32 release:
  823. * Fixed several errors the prevented operation of NuttX on an
  824. STM32 development board using USART2 as the serial console.
  825. * Fixed and optimization-dependent race condition in the clock
  826. initialization.
  827. * Fixed a critical bug in the interrupt control logic that could
  828. cause interrupt operations to failed used for interrupts in a
  829. certain range.
  830. This tarball contains a complete CVS snapshot from November 4, 2009
  831. NuttX-4.14
  832. ----------
  833. This is the 46th release of NuttX. The release extends the support
  834. for the STMicro STM32 microcontroller. Minimal support for the
  835. STM3210E-EVAL development board based around the STM32F103ZET6 MCU
  836. was released in NuttX-0.4.12 and extended in Nuttx-0.4.13 to include
  837. initial USB support. This completes the STM32F103ZET6 and adds:
  838. New Generic RTOS Features:
  839. * Added generic support that can be included in any block driver
  840. to provide read-ahead buffering and write buffering for improved
  841. driver performance.
  842. * Added a generic worker thread that can used to defer processing
  843. from an interrupt to a task.
  844. * Defined a generic SD/SDIO interface can can be bound to a MMC/SD
  845. or SDIO driver to provide SDIO support.
  846. * Implemented a an SDIO-based MMC/SD driver using this new SDIO
  847. interface.
  848. New STM32 Features:
  849. * Add support to configure an STM32 input GPIO to generate an
  850. EXTI interrupt.
  851. * Added support for buttons on the STM3210E-EVAL board.
  852. * Implemented an STM32 version of the common the SDIO interface.
  853. * Added a configuration to exercise the STM32 with the USB mass
  854. storage device class example.
  855. This release also corrects some important bugs in the early STM32 release:
  856. * Correct error handling in the mount() logic.
  857. * Fixed several STM32 DMA-related issues. Integrated and debugged
  858. STM32 DMA functionality that was added in 0.4.12.
  859. * Fixed several bugs in the STM32 USB device-side driver.
  860. NOTE: This version, 4.14, is equivalent to what would have been
  861. called 0.4.14 to follow 0.4.13. The zero has been eliminated from
  862. the front of the version number to avoid confusion about the state
  863. of development: Some have interpreted the leading zero to mean
  864. that the code is in some way unstable. That was not the intent.
  865. Beginning in January 2010, I will switch to the 2010.nn versioning
  866. as many others have done to avoid such confusion.
  867. This tarball contains a complete CVS snapshot from December 2, 2009
  868. NuttX-5.0
  869. ---------
  870. This is 47th release of NuttX and the successor to nuttx-4.14. This
  871. major revision number has been incremented to indicate that an
  872. incompatibility with previous nuttx releases has been introduced.
  873. This version adopts standard fixed width integer names as specified
  874. by the ANSI C99 standard. The core logic of NuttX is older than
  875. that standard and did not conform to it.
  876. If you have applications running on NuttX-4.14, those applications
  877. should continue to build and execute without problem on NuttX-5.0.
  878. However, if you have device drivers or other OS-internal logic, you
  879. will probably have to make some minor changes to your code to use
  880. this version. Below is a summary of those changes:
  881. * If you include sys/types.h to get the non-standard, fixed width
  882. integer types (uint32, uint16, ubyte, etc.), that is no longer
  883. necessary.
  884. * Instead, you will need to include stdint.h where the new fixed
  885. width integer types are defined (uint32_t, uint16_t, uint8_t, etc).
  886. * You will have to change all occurrences of the following types:
  887. uint32 -> uint32_t
  888. uint16 -> uint16_t
  889. ubyte -> uint8_t
  890. uint8 -> uint8_t
  891. sint32 -> int32_t
  892. sint16 -> int16_t
  893. sint8 -> int8_t
  894. * In addition, the non-standard type 'boolean' must replaced with
  895. the standard type 'bool'. The type definition for 'bool' is in
  896. stdbool.h
  897. This change in typing caused small changes to many, many files. It
  898. was verified that all configurations in the release still build
  899. correctly (other than the SDCC-based configurations). Regression
  900. testing was performed on a few configurations, but it is possible
  901. that minor build issues still exist. (If you encounter any, please
  902. let me know and I will help you to fix them.)
  903. In the course of the regression testing, several important bugs
  904. unrelated to the type changes were found and corrected.
  905. * Fixed an important error in the RX FIFO handling logic of the
  906. LM3S6918 Ethernet driver.
  907. * Corrected the handling of TCP sequence numbers in the TCP stack.
  908. * And other less important bugs as detailed in the ChangeLog.
  909. The primary focus of this release was standards compatibility, but
  910. a few new features were added including a (1) Flash Translation
  911. Layer (FTL) that will support filesystems on a FLASH device and (2)
  912. partial ports for the STM32F107VC and HCS12 C9S12NE64 MCUs. Those
  913. ports are very incomplete as of this writing.
  914. This tarball contains a complete CVS snapshot from December 21, 2009
  915. NuttX-5.1
  916. ---------
  917. This is the 48th release of NuttX. This release adds support for
  918. two new MCU architectures in various states of development:
  919. * AT91SAM3U (http://www.atmel.com/products/at91/sam3landing.asp?family_id=605)
  920. This release adds support for the SAM3U-EK development board with
  921. the AT91SAM3U4E MCU
  922. (http://www.atmel.com/dyn/products/product_card_mcu.asp?part_id=4562).
  923. As with most NuttX architecture releases, the release will be
  924. rolled out in two parts: A basic port and an extended port.
  925. NuttX-5.1 includes the basic port for the SAM3U-EK board. This
  926. release passes the NuttX OS test and is proven to have a valid
  927. OS implementation. It supports the basic boot-up, serial console
  928. and timer interrupts. A configuration to support the NuttShell
  929. is also included.
  930. The extended port will also include support for SDIO-based SD
  931. cards and USB device (and possible LCD support). These extensions
  932. may or may not happen by the Nuttx 5.2 release as my plate is
  933. kind of full now.
  934. * LPC3131 (http://ics.nxp.com/products/lpc3000/lpc313x.lpc314x.lpc315x/)
  935. This release also adds the complete implementation of the basic
  936. port for the NXP LPC3131 MCU on the Embedded Artists EA3131 board
  937. (http://www.embeddedartists.com/products/kits/lpc3131_kit.php).
  938. That port, unfortunately has stalled due to tools issues. Those
  939. tool issues have been resolved and I am confident that the verified
  940. basic port will be available in NuttX-5.2.
  941. The extended release will follow and should include SDIO-based
  942. SD card support and device USB.
  943. A few additional features and bugfixes of a minor nature were also
  944. incorporated as detailed in the ChangeLog.
  945. NuttX-5.2
  946. ---------
  947. This is the 49th release of NuttX. This release completes the
  948. verification of the basic port for the NXP LPC3131 MCU on the
  949. Embedded Artists EA3131 board
  950. (http://www.embeddedartists.com/products/kits/lpc3131_kit.php).
  951. This basic port includes basic boot-up, serial console, and timer
  952. interrupts. This port has been verified on the using the NuttX OS
  953. test and includes a working implementation of the NuttShell (NSH).
  954. An extended release will follow and should include SDIO-based SD
  955. card support and device USB.
  956. NuttX-5.3
  957. ---------
  958. This is the 50th release of NuttX. This release support for one new
  959. architecture:
  960. * A basic port for the NXP LPC2378 MCU on the Olimex-LPC2378
  961. development board was contributed by Rommel Marcelo.
  962. And extensions to two existing architectures:
  963. * David Hewson contributed a dual-speed (full/high) USB device-side
  964. driver for the NXP LPC3131 on the Embedded Artists EA3131
  965. development board.
  966. * A DMA driver and a high speed MCI driver for the Atmel AT91SAM3U
  967. are included (but not fully tested in this release).
  968. Two important bugfix was also included:
  969. * An important fix to the USB mass storage driver was contributed
  970. by David Hewson.
  971. * A serious error in the AT91SAM3U PIO handling was fixed.
  972. NuttX-5.4
  973. ---------
  974. This is the 51st release of NuttX. This release includes one new,
  975. important extension to th NX graphics system (See
  976. http://www.nuttx.org/NXGraphicsSubsystem.html).
  977. NX was develop a couple years back on hardware that supported only
  978. framebuffer devices, that is, video hardware with video memory
  979. directly converts the memory content to video. However, most MCUs
  980. that NuttX focuses on do not support such video memory; rather,
  981. that typically only support LCDs via parallel or serial interfaces.
  982. This release of NuttX extends NX so that now renders directly to
  983. the LCD device via its serial or parallel interface. No in-memory
  984. copy of the screen memory need be maintained so this solution should
  985. also work in MCUs with very limited SRAM.
  986. This initial release of this feature includes the verified NX
  987. extensions plus a driver for the HX8347, 16-bit parallel LCD. This
  988. LCD supports 16-bit RGB (5:6:5).
  989. NuttX-5.5
  990. ---------
  991. This is the 52nd release of NuttX. This release includes one new
  992. port, some new drivers and some important bugfixes:
  993. * NuttX was ported to the Luminary/TI LM3S6965 Ethernet Evaluation
  994. Kit. At present, that port includes an OS test configuration
  995. and a NuttShell (NSH) configuration with Telnet support.
  996. MMC/SD and Networking support are provided but not thoroughly
  997. verified in this release: Current development efforts are focused
  998. on porting the NuttX window system (NX) to work with the
  999. Evaluation Kits OLED display.
  1000. * A NuttX Ethernet driver for the Microchip ENC28J60 SPI Ethernet
  1001. chip is available in the source tree (but has not yet been fully
  1002. verified because I haven't properly connected it to hardware
  1003. yet).
  1004. * The Olimex STR-P711 NuttX port was extended to support the
  1005. ENC28J60 and some new networking configurations were added.
  1006. The ENC28J60 has not been tested on the STR-P711, however,
  1007. because of hardware issues (I don't think the USB powered board
  1008. provides enough power for the ENC28J60 and I don't have the
  1009. right wall wart yet).
  1010. Along the way, external interrupt support (XTI) was added to
  1011. the STMicro STR-P711 port and some important bugs were fixed
  1012. in the STR-P711 SPI driver.
  1013. * Added (optional) floating point support for printf().
  1014. (Contributed by Yolande Cates.)
  1015. * Corrected an important UDP reference counting error. It was
  1016. not a serious error, but it trigger an assertion was IS a serious
  1017. error.
  1018. NuttX-5.6
  1019. ---------
  1020. This is the 53rd release of NuttX. This release includes one several
  1021. new drivers for existing NuttX ports:
  1022. * This port adds support for the RiT displays P14201 4-bpp,
  1023. greyscale OLED. 4-bpp greyscale support was integrated into
  1024. the NX graphics sub-system and verified using the TI/Luminary
  1025. LP3S6965 Ethernet Evaluation Kit.
  1026. * The M25Px driver was extended for the M24P1 FLASH part (see NOTE).
  1027. * An I2C driver and (basic) SPI driver were added for the NXP
  1028. LPC313x port. The I2C interface definition was extended to
  1029. efficiently handle multiple I2C transfers.
  1030. (Contributed by David Hewson.)
  1031. As well as a few, important USB-related bugfixes (See the ChangeLog
  1032. for details).
  1033. This release also includes the beginnings of a port for the NXP
  1034. LPC1768 MCU. However, it is too early for that port to be useful
  1035. (stay tuned for a future announce of the availability of the LPC1768
  1036. port).
  1037. NuttX-5.7
  1038. ---------
  1039. This is the 54th release of NuttX. This release adds basic support
  1040. for one new ARM Cortex-M3 architecture:
  1041. * Added support for NXP LPC1768 MCU as provided on the Nucleus
  1042. 2G board from 2G Engineering (http://www.2g-eng.com).
  1043. * Some initial files for the LPC17xx family were released in NuttX
  1044. 5.6, but the first functional release for the NXP LPC1768/Nucleus2G
  1045. occurred with NuttX 5.7.
  1046. * That initial basic release included timer interrupts and a
  1047. serial console and was verified using the NuttX OS test.
  1048. * That release includes a verified NuttShell (NSH) configuration
  1049. (see the http://www.nuttx.org/NuttShell.html).
  1050. * Also included are unverified SPI and USB device drivers.
  1051. Further efforts include:
  1052. (1) development of a DMA support library
  1053. (2) SPI-based MMC/SD support
  1054. (3) verification of the USB driver
  1055. Watch for announcement of the completed LPC1768 port expected in
  1056. NuttX-5.8.
  1057. NuttX-5.8
  1058. ---------
  1059. This is the 55th release of NuttX. This includes several important
  1060. bugfixes:
  1061. * Corrects some interrupt vectoring for the TI/Stellarix LM3S
  1062. port
  1063. * Correct initialization logic for NXP LPC17xxx NuttX ports:
  1064. Power was not being provided to the GPIO module!
  1065. * Corrected (but did not verify) implementation of the optional
  1066. interrupt stack feature (all Cortex M3 architectures).
  1067. * Correct a HardFault in the LPC17xx SSP driver.
  1068. Additional minor fixes are also included as detailed in the ChangeLog.
  1069. Several new features have been fully developed and included in this
  1070. release, but full verification of most of these new features has
  1071. been blocked for a variety of issues:
  1072. * Added microSD support for the NuttShell (NSH) configuration in
  1073. the Nucleus2G LPC1768 port. For reasons that have not yet been
  1074. determined, I have not successfully accessed the microSD card
  1075. as of this writing.
  1076. * Two USB configurations were also added for the Nucleus2G board:
  1077. One to support the USB serial device and one for the USB mass
  1078. storage device. Some testing of the USB driver was performed,
  1079. but full verification is stalled for an OTG style USB cable.
  1080. * LEDs now work correctly on the Nucleus2G LPC1768 board.
  1081. * The NuttX/uIP networking subsystem now supports IGMPv2 client.
  1082. IGMP (Internet Group Multicast Protocol) network "appliances"
  1083. to join into multicast groups. Outbound traffic to enter and
  1084. leave multicast groups has been verified, but full verification
  1085. will require a switch capable of multicast. Issues associated
  1086. with the receipt of multicast packets are likely.
  1087. NuttX-5.9
  1088. ---------
  1089. This is the 56th release of NuttX. This release is difficult to
  1090. categorize; NuttX-5.9 was really released because there were too
  1091. many changes accumulating in CVS -- a few important, some unfinished
  1092. implementations, and a couple of important bugfixes.
  1093. * By far biggest change in this release is the complete implementation
  1094. of on-demand paging support. This feature will allow you to
  1095. execute large programs on a mass storage device (such as SPI
  1096. FLASH) in a small RAM. All of the core on-demand paging logic
  1097. was completed (see http://www.nuttx.org/NuttXDemandPaging.html)
  1098. and support was implemented for the ARM-9 family. A test
  1099. configuration is in place for the NXP LPC3131. It has been
  1100. verified that this new logic does not interfere with normal
  1101. fixed-page ARM9 operation, but otherwise this new on-demand
  1102. paging feature is untested.
  1103. * Add support for the CodeSourcery toolchain to the Olimex-lpc2378
  1104. port and for the Neuros OSD port.
  1105. * The Neuros OSD port has been updated to work with the production
  1106. v1.0 OSD (previously it only worked with the development board).
  1107. * And some miscellaneous feature enhancements as detailed in the
  1108. ChangeLog.
  1109. This includes several important bugfixes:
  1110. * NXP LPC17xx - Fixed a critical bug in the GPIO configuration
  1111. logic: When attempting to set no pull-up or pull-down (floating),
  1112. it would, instead, select pull-down.
  1113. * TI/Luminary LM3Sxxxx - Fixed:
  1114. (1) A logic error in an address table lookup.
  1115. (2) GPIO port encoding the limited support to only 8 GPIO ports.
  1116. * Corrected the lease time in the DHCPC implementation: It was
  1117. not in host byte order.
  1118. * And several other less important bugs as documented in the
  1119. ChangeLog: Warnings, cornercase compilation problems, etc.
  1120. NuttX-5.10
  1121. ----------
  1122. This is the 57th release of NuttX. This release includes a combination
  1123. of some new features as well as several bugfixes. New features
  1124. include:
  1125. * TI/Luminary Stellaris LM3S9B96:
  1126. Header file changes contributed by Tiago Maluta.
  1127. * TI/Luminary Stellaris LM3S8962:
  1128. Header file changes and support for the Stellaris LM3S8962
  1129. Ethernet+CAN Evaluation Board contributed by Larry Arnold.
  1130. * On-Demand Paging Support:
  1131. The basic logic for the On-Demand Paging feature is complete,
  1132. implemented for the NXP LPC3131, and partially tested. See
  1133. http://www.nuttx.org/NuttXDemandPaging.html. Some additional
  1134. test infrastructure will be needed in order to complete the
  1135. verification. See configs/ea3131/README.txt for details.
  1136. * Two Pass Build Support:
  1137. The make system now supports a two pass build where a relocatable,
  1138. partially linked object is created on the first pass and that
  1139. object is linked with the NuttX libraries to produce the final
  1140. executable on the second pass. This two pass build is currently
  1141. only used to support the On-Demand paging feature: The first
  1142. pass link forces critical logic into the locked text region;
  1143. the second pass builds the NuttX executable more-or-less as
  1144. normal.
  1145. * CONFIG_APP_DIR:
  1146. Generalized the way in which applications are built and linked
  1147. with NuttX. The new configuration CONFIG_APP_DIR replaces
  1148. CONFIG_EXAMPLE. CONFIG_EXAMPLE used to identify the sub-directory
  1149. within the NuttX examples/ directory that held the example
  1150. application to be built. That made it awkward to configure to
  1151. build an application that resides outside of the NuttX examples/
  1152. directory. CONFIG_APP_DIR is more general; it can be used to
  1153. refer to any directory containing the application to be built.
  1154. For people who have their own configurations and/or Makefiles,
  1155. you will need to make a couple of changes:
  1156. - Replace all occurrences of CONFIG_EXAMPLE=foobar with
  1157. CONFIG_APP_DIR=examples/foobar in all of the configuration
  1158. files.
  1159. - Replace any occurrences of examples/$(CONFIG_EXAMPLE) with
  1160. $(CONFIG_APP_DIR)
  1161. - Replace any occurrences of lib$(CONFIG_EXAMPLE)$(LIBEXT)
  1162. with libapp$(LIBEXT) in your Makefiles.
  1163. - Check any other occurrences of CONFIG_EXAMPLE.
  1164. * Several bugfixes are included as well as code changes to eliminate
  1165. some warnings. See the ChangeLog for details.
  1166. NuttX-5.11
  1167. ----------
  1168. This is the 58th release of NuttX. This is a bugfix release.
  1169. * One very important bug fixes a race condition that can occur
  1170. using semaphores that can be awakened by signals. Under this
  1171. particular race condition, a task could hang waiting for a
  1172. semaphore.
  1173. * Corrections to lm3s8962 port contributed by Larry Arnold. That
  1174. port is purported to work correctly with these changes in place.
  1175. Plus less critical bugfixes as detailed in the ChangeLog. New features
  1176. include:
  1177. * A new configuration to support the mbed.org LPC1768 board.
  1178. (Contributed by Dave Marples.)
  1179. * A driver for the Atmel AT45DB161D 4Mbit SPI FLASH part
  1180. NuttX-5.12
  1181. ----------
  1182. This is the 59th release of NuttX. This is a critical bugfix release.
  1183. * Fixed an important error in the signal trampoline logic.
  1184. Essentially, interrupts are re-enabled while the signal handler
  1185. executes, but the logic to re-disable the interrupts before
  1186. returning from the signal handler trampoline was missing. Under
  1187. certain circumstances, this can cause stack corruption. This
  1188. was discovered by David Hewson on an ARM9 platform, but since
  1189. the code has been leveraged, the bug has been propagated from
  1190. ARM to Cortex-M3, AVR32, M16C, SH1, ZNEO, eZ80, Z8, and Z80 --
  1191. almost every architecture. The correction has been incorporated
  1192. for all architectures but only verified on a few.
  1193. Other notable changes in NuttX-5.12:
  1194. * A complete port for the AVR32 (AT32UC3B0256) is incorporated
  1195. in the source tree. Testing of this port is underway now. This
  1196. release was made before verifying this port in order to get the
  1197. important bugfix in place.
  1198. * Other miscellaneous bugfix and enhancements as noted in the
  1199. ChangeLog.
  1200. NuttX-5.13
  1201. ----------
  1202. This is the 60th release of NuttX. Headlines for this release
  1203. include:
  1204. * AVR32, www.mcuzone.com AVR32DEV1
  1205. The port for the www.mcuzone.com AVRDEV1 board based on the
  1206. Atmel AT32UC3B0256 MCU was (almost) fully integrated. The port
  1207. now successfully passes the NuttX OS test (examples/ostest).
  1208. A NuttShell (NSH) configuration is in place (see the NSH User
  1209. Guide at http://www.nuttx.org/NuttShell.html). Testing of that
  1210. NSH configuration, however, has been postponed (because it got
  1211. bumped by the Olimex LPC1766-STK port -- see below)
  1212. Current Status: I think I have a hardware problem with my serial
  1213. port setup. There is a good chance that the NSH port is complete
  1214. and functional, but I am not yet able to demonstrate that. At
  1215. present, I get nothing coming in the serial RXD line (probably
  1216. because the pins are configured wrong or I have the MAX232
  1217. connected wrong).
  1218. A complete port will include drivers for additional AVR32 UC3
  1219. devices -- like SPI and USB --- and will be available in a
  1220. later release, time permitting.
  1221. * LPC1766, Olimex LPC1766-STK
  1222. Support for the Olimex-LPC1766 is newly added to NuttX and is
  1223. still undergoing development, test, and integration. Verified
  1224. configurations for the NuttX OS test and for the NuttShell (NSH,
  1225. see the NSH User Guide at http://www.nuttx.org/NuttShell.html.
  1226. Additional USB configurations are in the release as well, but
  1227. they have not yet been verified. Goals for NuttX-5.14 include:
  1228. (1) An Ethernet driver, (2) Verified USB support, and (3) SD
  1229. card support.
  1230. * Additional changes and bugfixes as detailed in the ChangeLog.
  1231. NuttX-5.14
  1232. ----------
  1233. The 61st release of NuttX, NuttX-5.14, was made on November 27,
  1234. 2010. This release includes multiple, important bugfixes as well
  1235. as a new driver for the NXP LPC1766.
  1236. This release corresponds with SVN release number: r3137
  1237. Important bugfixes include:
  1238. * Cortex-M3 Hard Fault. Fixed a hard fault problem that can occur
  1239. if certain types of interrupts are pending at the time another
  1240. interrupt returns. This problem has only been observed on the
  1241. LPC1766 (returning from a SYSTICK interrupt with a pending
  1242. Ethernet interrupt). However, it is assumed that all Cortex-M3
  1243. ports could have this as a latent bug.
  1244. * TCP/IP Sequence Number Bug. Corrected errors some important
  1245. logic in the way that sequence numbers are managed when send()
  1246. sends out packets before a previous packet has been acknowledged.
  1247. Some of that send() logic was incompatible with logic in the
  1248. uIP layer. Errors seen include: (1) The final final packet in
  1249. a sequence of packets might be too large! In the THTTPD example,
  1250. this might leave some garbage at the bottom of the display. Or
  1251. (2) send() might hang with outstanding, unacknowledged data
  1252. (and with no re-transmission requests). This was due to
  1253. differences in sequence number handling in send() and in
  1254. uip_tcpinput.c; uip_tcpinput.c thought (incorrectly) that all
  1255. of the bytes were acknowledged; send.c knew that they were not.
  1256. * One-Shot POSIX Timer Bug. Fixed an error in set-up of a one-shot
  1257. POSIX timer. It was using the repetitive timer value (which
  1258. is zero in the one-shot case), always resulting in a 10Ms timer!
  1259. Found and fixed by Wilton Tong.
  1260. Additional support has been included for the Olimex-LPC1766. Support
  1261. for that board was added to NuttX 5.13. This release extends that
  1262. support with an Ethernet driver. Verified configurations are now
  1263. available for the NuttX OS test, for the NuttShell (NSH, see
  1264. http://www.nuttx.org/NuttShell.html), for the NuttX network test,
  1265. and for the THTTPD webserver. (Additional USB configurations are
  1266. in the release as well, but those have not yet been verified. Goals
  1267. for NuttX-5.15 (and beyond) include: (1) Verified USB support, (2)
  1268. SD card support, and (3) LCD support.
  1269. NuttX-5.15
  1270. ----------
  1271. The 62nd release of NuttX, NuttX-5.15, was made on December 12,
  1272. 2010. This release includes several bugfixes as well as feature
  1273. enhancements, primarily for the Olimex LPC1766-STK board.
  1274. Important bugfixes included:
  1275. * Additional fixes needed with the TCP sequence number problem
  1276. "fixed" in NuttX-5.14.
  1277. * In the send() logic, now checks if the destination IP address
  1278. is in the ARP table before sending the packet; an ARP request
  1279. will go out instead. This improves behavior, for example, on
  1280. the first on the first GET request from a browser
  1281. * All USB class drivers need to call DEV_CONNECT() when they are
  1282. ready to be enumerated. That is, (1) initially when bound to
  1283. the USB driver, and (2) after a USB reset.
  1284. * The SPI_SETBITS macro was calling the SPI setmode method.
  1285. * And several other bug fixes of lower importance (see the
  1286. ChangeLog for details).
  1287. And feature enhancements:
  1288. * The LPC176x Ethernet driver was using all of AHB SRAM Bank0 for
  1289. Ethernet packet buffers (16K). An option was added to limit
  1290. the amount of SRAM used for packet buffering and to re-use any
  1291. extra Bank0 memory for heap.
  1292. * Enabled networking and SD/MMC card support in the Olimex
  1293. LPC1766-STK NuttShell (NSH) configuration.
  1294. * The LPC176x USB driver is now fully fully functional.
  1295. * Added an optional cmddata() method to the SPI interface. Some
  1296. devices require an additional out-of-band bit to specify if the
  1297. next word sent to the device is a command or data. The cmddata
  1298. method provides selection of command or data.
  1299. * A driver for the Nokia 6100 LCD (with either the Phillips PCF8833
  1300. LCD controller and for the Epson S1D15G10 LCD controller) and
  1301. an NX graphics configuration for the Olimex LPC1766-STK have
  1302. been added. However, neither the LCD driver nor the NX
  1303. configuration have been verified as of the this release.
  1304. NuttX-5.16
  1305. ----------
  1306. The 63rd release of NuttX, Version 5.16, was made on January 10,
  1307. 2010 and is available for download from the SourceForge website.
  1308. This release includes initial support for USB host in NuttX. The
  1309. USB host infrastructure is new to NuttX. This initial USB host release
  1310. is probably only beta quality; it is expected the some bugs remain
  1311. in the logic and that the functionality requires extension.
  1312. Below is a summary of the NuttX USB host implementation as extracted
  1313. from the NuttX Porting Guide:
  1314. 6.3.9 USB Host-Side Drivers
  1315. * include/nuttx/usb/usbhost.h. All structures and APIs needed to
  1316. work with USB host-side drivers are provided in this header
  1317. file.
  1318. * struct usbhost_driver_s. Each USB host controller driver must
  1319. implement an instance of struct usbhost_driver_s. This structure
  1320. is defined in include/nuttx/usb/usbhost.h. Examples:
  1321. arch/arm/src/lpc17xx/lpc17_usbhost.c.
  1322. * struct usbhost_class_s. Each USB host class driver must implement
  1323. an instance of struct usbhost_class_s. This structure is also
  1324. defined in include/nuttx/usb/usbhost.h. Examples:
  1325. drivers/usbhost/usbhost_storage.c
  1326. * USB Host Class Driver Registry. The NuttX USB host infrastructure
  1327. includes a registry. During its initialization, each USB host
  1328. class driver must call the interface, usbhost_registerclass()
  1329. in order add its interface to the registry. Later, when a USB
  1330. device is connected, the USB host controller will look up the
  1331. USB host class driver that is needed to support the connected
  1332. device in this registry. Examples: drivers/usbhost/usbhost_registry.c,
  1333. drivers/usbhost/usbhost_registerclass.c, and
  1334. drivers/usbhost/usbhost_findclass.c,
  1335. * Detection and Enumeration of Connected Devices. Each USB host
  1336. device controller supports two methods that are used to detect
  1337. and enumeration newly connected devices (and also detect
  1338. disconnected devices):
  1339. + int (*wait)(FAR struct usbhost_driver_s *drvr, bool connected);
  1340. Wait for a device to be connected or disconnected.
  1341. + int (*enumerate)(FAR struct usbhost_driver_s *drvr);
  1342. Enumerate the connected device. As part of this enumeration
  1343. process, the driver will (1) get the device's configuration
  1344. descriptor, (2) extract the class ID info from the configuration
  1345. descriptor, (3) call usbhost_findclass() to find the class
  1346. that supports this device, (4) call the create() method on
  1347. the struct usbhost_registry_s interface to get a class instance,
  1348. and finally (5) call the connect() method of the struct
  1349. usbhost_class_s interface. After that, the class is in charge
  1350. of the sequence of operations.
  1351. * Binding USB Host-Side Drivers. USB host-side controller drivers
  1352. are not normally directly accessed by user code, but are usually
  1353. bound to another, higher level USB host class driver. The class
  1354. driver exports the standard NuttX device interface so that the
  1355. connected USB device can be accessed just as with other, similar,
  1356. on-board devices. For example, the USB host mass storage class
  1357. driver (drivers/usbhost/usbhost_storage.c) will register a
  1358. standard, NuttX block driver interface (like /dev/sda) that can
  1359. be used to mount a file system just as with any other other
  1360. block driver instance. In general, the binding sequence is:
  1361. 1. Each USB host class driver includes an initialization entry
  1362. point that is called from the application at initialization
  1363. time. This driver calls usbhost_registerclass() during this
  1364. initialization in order to makes itself available in the
  1365. event that the device that it supports is connected. Examples:
  1366. The function usbhost_storageinit() in the file
  1367. drivers/usbhost/usbhost_storage.c
  1368. 2. Each application must include a waiter thread thread that
  1369. (1) calls the USB host controller driver's wait() to detect
  1370. the connection of a device, and then (2) call the USB host
  1371. controller driver's enumerate method to bind the registered
  1372. USB host class driver to the USB host controller driver.
  1373. Examples: The function nsh_waiter() in the file
  1374. configs/nucleus2g/src/up_nsh.c and the function nsh_waiter()
  1375. in the file configs/olimex-lpc1766stk/src/up_nsh.c.
  1376. 3. As part of its operation during the binding operation, the
  1377. USB host class driver will register an instances of a standard
  1378. NuttX driver under the /dev directory. To repeat the above
  1379. example, the USB host mass storage class driver
  1380. (drivers/usbhost/usbhost_storage.c) will register a standard,
  1381. NuttX block driver interface (like /dev/sda) that can be
  1382. used to mount a file system just as with any other other
  1383. block driver instance. Examples: See the call to
  1384. register_blockdriver() in the function usbhost_initvolume()
  1385. in the file drivers/usbhost/usbhost_storage.c.
  1386. NuttX-5.17
  1387. ----------
  1388. The 64th release of NuttX, Version 5.17, was made on January 19,
  1389. 2011 and is available for download from the SourceForge website.
  1390. This release follows close on the heels of the 5.16 release and
  1391. extends the USB host capabilities first introduced in that version.
  1392. * The LPC17xx USB host controller driver was extended to (1) add
  1393. support for low-speed devices, (2) handle multiple concurrent
  1394. transfers on different endpoints (still only one TD per endpoint),
  1395. and (3) handle periodic interrupt endpoint types.
  1396. * Add a USB host HID keyboard class driver. Now you can connect
  1397. a standard USB keyboard to NuttX and receive keyboard input for
  1398. an application.
  1399. And other changes as detailed in the ChangeLog.
  1400. NuttX-5.18
  1401. ----------
  1402. The 65th release of NuttX, Version 5.18, was made on February 27,
  1403. 2011 and is available for download from the SourceForge website.
  1404. This is first release from the new NuttX SVN repository. This
  1405. release is made primarily to keep the release tarball in synchronization
  1406. with SVN. Many smaller changes have been made as identified in the
  1407. ChangeLog. Headlines include:
  1408. * Incorporate several important uIP patches -- including the well
  1409. known patch to handle missing SYNACK.
  1410. * The Freescale mc8s12ne64 port is code complete but testing has
  1411. not yet begun due to toolchain issues. Added support for the
  1412. Future Electronics Group NE64 Badge board.
  1413. * Added support for a new STM32 board, the ISOTEL NetClamps VSN
  1414. V1.2 ready2go sensor network platform. This board is based on
  1415. a STM32F103RET6 and includes some interesting power saving/clock
  1416. control extensions.
  1417. * USB host support expanded to handle vendor specific USB devices.
  1418. * Incorporated the LUFA HID parser.
  1419. * Various bugfix as detailed in the ChangeLog
  1420. NuttX-5.19
  1421. ----------
  1422. The 66th release of NuttX, Version 5.19, was made on March 12, 2011
  1423. and is available for download from the SourceForge website. This
  1424. release includes several new features in various states of integration
  1425. and maturity:
  1426. * 486SX QEMU port. This port supports the Intel 486SX architecture
  1427. using the QEMU simulator. Initial functionality is in place a
  1428. partially tested. There are still some outstanding issues with
  1429. timer interrupts.
  1430. * Platform specific application support. A new apps/ directory
  1431. appears in this port. This apps/ directory provides a mechanism
  1432. for applications using NuttX to have a highly customized
  1433. initialization process. It supports a set of end-user applications
  1434. than can be executed (1) standalone so you can have a fully
  1435. customized application startup, or (2) on top of NSH. Think
  1436. of it this way: In a buckled-up embedded application, your
  1437. end-user programs will probably have their own dedicated start-up
  1438. logic. But, during development, you might want to have you
  1439. applications available and executable from the NSH command line.
  1440. This apps/ add-on (and NSH hooks) was contributed by Uros to
  1441. accomplish just that.
  1442. * NSH was also extended to support application specific ROMFS
  1443. /etc/init.d/rcS start-up scripts. This feature, as well, as
  1444. all of the above-mentioned apps/ directory support was contributed
  1445. by Uros Platise
  1446. * Additional NSH improvements and bug fixes. See the Changelog
  1447. for details.
  1448. * This release also provides a new SLIP network driver. This
  1449. driver should support point-to-point network communications to
  1450. a host using TCP/IP or UDP. This driver is code complete, but
  1451. not tested in this release.
  1452. * New RAMTRON FRAM driver (contributed by Uros Platise)
  1453. * New generic 16550 UART driver.
  1454. * Cortex-M3 Power improvements: Waits for Interrupt (WFI) in idle
  1455. loop for reduced power consumption (LPC17xx and STM32 only -
  1456. contributed by Uros Platise))
  1457. * New waitpid() system interface.
  1458. * Additional bugfixes: pipes, stdint.h, STM32 SDIO and SPI drivers
  1459. NuttX-6.0
  1460. ---------
  1461. The 67th release of NuttX, Version 6.0, was made on March 21, 2011
  1462. and is available for download from the SourceForge website. The
  1463. version number of this release was bumped from 5.19 to 6.0. A
  1464. change in the major revision number is used to reflect an incompatibility
  1465. with previous versions. In this release, the NuttX core OS
  1466. functionality has been separated from NuttX application-related
  1467. functionality. These are provided as separate tarballs:
  1468. * nuttx-6.0.tar.gz, and
  1469. * apps-6.0.tar.gz
  1470. The purpose of this separation is both to better organize and
  1471. modularize the NuttX source tree, but also to provide better support
  1472. for incorporation of end-user applications with Nuttx.
  1473. The incompatibility results from the changes to the board configuration
  1474. logic needed to supported the separable application. The major
  1475. changes to the configuration include:
  1476. * CONFIG_APPS_DIR - This should not be set. The default is
  1477. ../apps. This should only be set if you have a custom,
  1478. product-specific application directory in some different location.
  1479. * appconfig - Each board configuration now requires a new file
  1480. called 'appconfig.' As its name suggests, this file provides
  1481. new configuration information needed by the logic in ../apps.
  1482. In addition to this major reorganization in the directory structure,
  1483. this release also includes some important extensions to existing
  1484. features and some important bugfixes. These include:
  1485. * The SLIP driver was been well debugged and significantly
  1486. re-designed. Now you can have an Ethernet connection to you
  1487. board even if you have no Ethernet hardware. How cool is that?
  1488. * The QEMU i486 port is now functional. It has also been reported
  1489. to work on the Bifferboard (see http://bifferos.bizhat.com/).
  1490. * And extensions to the uIP driver interface, and
  1491. * Bug fixes to fopen() and STM32 GPIO configuration
  1492. Please see the ChangeLog for details.
  1493. NuttX-6.1
  1494. ---------
  1495. The 68th release of NuttX, Version 6.1, was made on April 10, 2011
  1496. and is available for download from the SourceForge website. The
  1497. 6.0 release introduced a detach-able application environment to
  1498. build applications outside of the NuttX source tree. The primary
  1499. purpose of this release is to correct numerous build problems
  1500. introduced by that architectural change:
  1501. * In many newer environments, NuttX produced strange Makefile
  1502. errors but built correctly in older environments. A fix provided
  1503. by Rafael Noronha was incorporated and is reported to fix those
  1504. build problems.
  1505. * The apps/ directory build system would not handle Windows-native
  1506. toolchains due to obscure path formatting issues.
  1507. * And other problems as detailed in the Changelog.
  1508. Many additional changes were made in the 6.1 release for another
  1509. major architectural change: NuttX will now build as a separately
  1510. linked microkernel. In this build option the RTOS builds as a
  1511. kernel, applications build separately and interface with kernel via
  1512. system calls. Applications run in user mode and kernel logic users
  1513. in kernel-mode. This provides a secure environment for NuttX. This
  1514. feature is fully coded in NuttX-6.1, but has not been tested due
  1515. to higher priority tasks that have arisen.
  1516. Related to this change, support for the Cortex-M3 memory protection
  1517. unit (MPU) has been integrated with the NuttX kernel build to provide
  1518. an even higher level of security.
  1519. NOTE: This kernel build is an option; the default build configuration
  1520. is still the standard, flat, unsecured RTOS as in previous releases.
  1521. Additional new features in this release:
  1522. * Support for LPC17xx GPIO interrupts (with much support from
  1523. Decio Renno).
  1524. * Basic timer support for STM32 (Contributed by Uros Platise)
  1525. * A binfs file system. This is a tiny pseudo file system that
  1526. lets named applications to be viewed and accessed in NSH under
  1527. the /bin directory.
  1528. * An I2C-based driver for the LIS331DL MEMS motion sensor.
  1529. (Contributed by Uros Platise.)
  1530. * A configuration for the Embedded Artists LPCXpresso LPC1768 board.
  1531. * The user_initialize() interface has been removed.
  1532. And several bugfix associated with SD drivers, opendir(), signed
  1533. 8-bit types (int8_t), and USB serial device. See the ChangeLog for
  1534. details.
  1535. NuttX-6.2
  1536. ---------
  1537. The 69th release of NuttX, Version 6.2, was made on May 6, 2011 and
  1538. is available for download from the SourceForge website. The 6.2
  1539. release includes several new features:
  1540. * NXFFS: The obvious new feature is NXFFS, the NuttX wear-leveling
  1541. FLASH file system. This new file system is intended to be
  1542. small for the MCU usage and has some limitations. No formal
  1543. documentation of NXFFS yet exists. See the fs/nxffs/README.txt
  1544. file for details (see
  1545. http://svn.code.sf.net/p/nuttx/code/trunk/nuttx/fs/nxffs/README.txt?view=log)
  1546. * Support for NXP LPCXpresso LPC1768 board on the Embedded
  1547. Artists base board. The Code Red toolchain is supported under
  1548. either Linux or Windows. Verified configurations include
  1549. dhcpd, nsh, nx, ostest, thttpd, and usbstorage.
  1550. * Support for the Univision UG-9664HSWAG01 OLED with Solomon
  1551. Systech SD1305 LCD controller.
  1552. * A new RAM MTD driver with FLASH simulation capability.
  1553. * A version.h file is now automatically generated so that C code
  1554. can now be version aware.
  1555. In addition to these new feature, several important bugfixes are
  1556. included in this release correcting problems with dup2(), LPC17xx
  1557. GPIO interrupts, LPC17xx UART2/3, the FAT file system, build issues,
  1558. and strrch(). See the ChangeLog for more details.
  1559. NuttX-6.3
  1560. ---------
  1561. The 70th release of NuttX follows only a nines days after the release
  1562. of version 6.2. It was released on May 15, 2011. This special
  1563. back-to-back release was made so that the current released version
  1564. of NuttX will correspond to the initial release from the RGMP
  1565. project.
  1566. This release adds architecture support and build configuration for
  1567. RGMP. RGMP is a project for running GPOS and RTOS simultaneously
  1568. on multi-processor platforms. See
  1569. http://rgmp.sourceforge.net/wiki/index.php/Main_Page for further
  1570. information about RGMP.
  1571. This release also includes support for STM32 FLASH, build improvements,
  1572. and initial, incomplete support for the MicroChip PIC32MX MCU. Bug
  1573. fixes are included for some build problems, USB host class driver
  1574. error handling, NX graphics color mapping, and problems with C
  1575. standard I/O buffer flushing. See the ChangeLog for further details.
  1576. NuttX-6.4
  1577. ---------
  1578. The 71st release of NuttX, Version 6.4, was made on June 5, 2011
  1579. and is available for download from the SourceForge website. The
  1580. 6.4 release includes several new features:
  1581. * A new, full-featured FTP client. This client may be used as a library
  1582. for automated FTP or via an FTP client shell. The FTP shell
  1583. supports the following commands: cd, chmod, get, help, idle,
  1584. login, ls, quit, mkdir, noop, put, pwd, rename, rhelp, rm,
  1585. rmdir, size, time, and up. A configuration is available for
  1586. the NXP LPC17xx to demonstrate this functionality.
  1587. * A functional C1101 wireless driver (contributed by Uros Platise)
  1588. * A PCI-based E1000 Ethernet driver (contributed by Yu Qiang)
  1589. * New C library functions: inet_addr() (contributed by Yu Qiang),
  1590. strndup(), asprintf()
  1591. * Reduced memory allocation overhead for MCUs with small heaps (<64K).
  1592. * fdopen() now works with socket descriptors allowing standard
  1593. buffered C functions to be used for network communications.
  1594. * The NSH ifconfig command can now be used to set or change the
  1595. IP address (contributed by Yu Qiang)
  1596. This release also includes some completed but untested functionality.
  1597. * The MicroChip PIC32MX port is now code complete and ready to
  1598. begin testing. Unfortunately, testing will be delayed due to
  1599. tool issues.
  1600. * Support for the NXP LPC315x MCUs.
  1601. Additional miscellaneous enhancements and bug fixes to task_delete(),
  1602. recvfrom(), and other changes as noted in the ChangeLog.
  1603. NuttX-6.5
  1604. ---------
  1605. The 72nd release of NuttX, Version 6.5, was made on June 21, 2011
  1606. and is available for download from the SourceForge website. The
  1607. 6.5 release is all about support for the Atmel 8-bit AVR family.
  1608. I have been interested in the AVR family for some time but because
  1609. of the severe SRAM constraints and because of the availability of
  1610. many tiny schedulers for the AVR, it has not been "on the radar
  1611. screen." However, I have recently become interested because of
  1612. interest expressed by members of the forum and because of the
  1613. availability of newer, larger capacity AVR parts (that I don't have
  1614. yet).
  1615. This release corresponds with SVN release number: r3730
  1616. This release includes support for the following AVR boards. As
  1617. with any initial support for new architectures, there are some
  1618. incomplete areas and a few caveats that need to be stated. Here
  1619. they are, ordered from the least to the most complete:
  1620. * SoC Robotics Amber Web Server (ATMega128).
  1621. This port of NuttX to the Amber Web Server from SoC Robotics
  1622. (http://www.soc-robotics.com/index.htm). Is only partially in
  1623. place. The Amber Web Server is based on an Atmel ATMega128
  1624. (128K FLASH but only 4K of SRAM).
  1625. STATUS: Work on this port has stalled due to toolchain issues. It
  1626. is complete, but untested.
  1627. * Micropendous 3 AT9USB647
  1628. This port of NuttX to the Opendous Micropendous 3 board. The
  1629. Micropendous3 may be populated with an AT90USB646, 647, 1286,
  1630. or 1287. See http://code.google.com/p/opendous/. I have only
  1631. the AT90USB647 version for testing. This version has very
  1632. limited memory resources: 64K of FLASH and 4K of SRAM.
  1633. STATUS: The basic port was released in NuttX-6.5. This basic
  1634. port consists only of a "Hello, World!!" example that demonstrates
  1635. initialization of the OS, creation of a simple task, and serial
  1636. console output. The tiny SRAM limits what you can do with the
  1637. AT90USB647 (see issues below).
  1638. * PJRC Teensy++ 2.0 AT9USB1286
  1639. This is a port of NuttX to the PJRC Teensy++ 2.0 board. This
  1640. board was developed by PJRC (http://pjrc.com/teensy/). The
  1641. Teensy++ 2.0 is based on an Atmel AT90USB1286 MCU with 128K
  1642. of FLASH and 8K of SRAM; a little more room to move than the
  1643. AT90USB647.
  1644. STATUS: The basic port was released in NuttX-6.5. This basic
  1645. port consists of a "Hello, World!!" example and also slightly
  1646. simplified NuttShell (NSH) configuration (see the NSH User Guide
  1647. at http://www.nuttx.org/NuttShell.html).
  1648. An SPI driver and a USB device driver exist for the AT90USB as
  1649. well as a USB mass storage configuration. However, this
  1650. configuration is not fully debugged as of the NuttX-6.5 release.
  1651. AVR-specific issues. The basic AVR port is solid and biggest issue
  1652. for using AVR is its tiny SRAM memory and its Harvard architecture.
  1653. Because of the Harvard architecture, constant data that resides to
  1654. flash is inaccessible using "normal" memory reads and writes (only
  1655. SRAM data can be accessed "normally"). Special AVR instructions
  1656. are available for accessing data in FLASH, but these have not been
  1657. integrated into the normal, general purpose OS.
  1658. Most NuttX test applications are console-oriented with lots of
  1659. strings used for printf and debug output. These strings are all
  1660. stored in SRAM now due to these data accessing issues and even the
  1661. smallest console-oriented applications can quickly fill a 4-8K
  1662. memory. So, in order for the AVR port to be useful, one of two
  1663. things would need to be done:
  1664. 1. Don't use console applications that required lots of strings.
  1665. The basic AVR port is solid and your typical deeply embedded
  1666. application should work fine.
  1667. 2. Create a special version of printf that knows how to access
  1668. strings that reside in FLASH (or EEPROM).
  1669. NuttX-6.6
  1670. ---------
  1671. The 73rd release of NuttX, Version 6.6, was made on July 11, 2011
  1672. and is available for download from the SourceForge website. The
  1673. 6.6 release adds several smaller features but is mostly a bugfix
  1674. release.
  1675. Bugfixes include
  1676. * Fixed several NX Graphics bugs: Rendering fonts at >8 bits-per-pixel,
  1677. graphics move logic, and display artifacts that appear when a
  1678. window is closed.
  1679. * Corrections to the USB host mass storage class driver
  1680. * STM32 bugfixes: serial driver, GPIO interrupt handling
  1681. * LPC17xx: Changes for a success compilation with no console.
  1682. * Corrections to the Teensy AT90USB SD driver
  1683. * Changes for a clean compilation under the ZDS-II toolchain.
  1684. Minor features:
  1685. * Add logic to extract printf strings from FLASH (but there are
  1686. still printf issues for that target)
  1687. * Added a configuration for the Sure Electronics PIC32MX board.
  1688. However, higher priority tasks have stopped work on that
  1689. configuration.
  1690. * Added several new configurations for the STMicro STM3210E-EVAL
  1691. board.
  1692. * Added support for the STM3210E-EVAL board: (1) LCD in either
  1693. landscape or portrait mode, and (2) interrupting buttons.
  1694. * Added a configuration option to use different serial ports for
  1695. debug and for the NSH serial console (there are some issues
  1696. with CR-LF expansion and character echo if NSH is not run on
  1697. the console).
  1698. * Standardized the button press and button interrupt interfaces
  1699. so that they are common across all boards.
  1700. * Added a new graphics example that focuses on placing text on
  1701. the background while pop-up windows occur. Text should continue
  1702. to update normally with or without the popup windows present.
  1703. * Added ARM stack checking logic.
  1704. See the ChangeLog for a detailed description of these changes.
  1705. NuttX-6.7
  1706. ---------
  1707. The 74th release of NuttX, Version 6.7, was made on August 2, 2011
  1708. and is available for download from the SourceForge website. Note
  1709. that release consists of two tarballs: nuttx-6.7.tar.gz and
  1710. apps-6.7.tar.gz. Both may be needed (see the top-level nuttx/README.txt
  1711. file for build information). Changes in this release are summarized
  1712. below:
  1713. * New OS APIs: Add the standard sem_timedwait() interface.
  1714. * FAT File System: Adds (optional) support for VFAT long file
  1715. names.
  1716. * USB: Now the mass storage device can be connected when needed
  1717. and disconnected when not needed (or re-connected as a different
  1718. kind of device).
  1719. * Touchscreen Support: Defined a new NuttX touchscreen interface.
  1720. Added a driver for the TI TSC2007 touchscreen controller chip.
  1721. * NX Fonts: Add support for multiple fonts; developed a tool to
  1722. convert open source fonts into NuttX format; Converted and
  1723. installed nine new, high quality fontsets.
  1724. * NX Graphics: Add new NX APIs to support drawing of wide lines
  1725. in any orientation. Added new low level routines to set
  1726. individual pixel more efficiently.
  1727. * Build system: Added a export target that will bundle up all
  1728. of the NuttX libraries, header files, and the startup object
  1729. into an exportable tarball.
  1730. * LPC17xx: A CAN driver was contributed by Li Zhuoyi (Lzyy).
  1731. * STM32: New NX-related configurations to exercise text and
  1732. graphic image displays.
  1733. * C Library: Added a fixed precision atan2() math function.
  1734. * Bugfixes: Serial RX overrun error, FAT upper/lower NT 8.3 name
  1735. handling fixed. FAT directory allocation and initialization
  1736. bug. STM32 SDIO DMA race condition bug. eZ80 UART1 serial
  1737. driver errors (Paul Osmialowski)
  1738. NuttX-6.8
  1739. ---------
  1740. The 75th release of NuttX, Version 6.8, was made on August 19, 2011
  1741. and is available for download from the SourceForge website. Note
  1742. that release consists of two tarballs: nuttx-6.8.tar.gz and
  1743. apps-6.8.tar.gz. Both may be needed (see the top-level nuttx/README.txt
  1744. file for build information). Changes in this release are summarized
  1745. below:
  1746. * NuttX has been ported to run on the Freescale Cortex-M4 "Kinetis"
  1747. boards. Two board ports are available for (1) the Kinetis
  1748. KwikStik-K40 and (2) the Kinetis TWR-K60N512 tower.
  1749. * Support for RGMP 0.3. This version of RGMP now runs on the
  1750. OMAP4430 (arm) pandaboard
  1751. * LPC17xx CAN driver extended to support both CAN1 and CAN2
  1752. (submitted by Li Zhuoy (Lzzy))
  1753. * Fixed several critical bugs related to signal handling
  1754. initialization and for signals the wake up tasks that are waiting
  1755. to send or receive message queues.Both are important. (submitted
  1756. by hkwilton).
  1757. * drivers/can.c: Fixed a semaphore overflow problem in the CAN
  1758. driver (reported by Li Zhouy (Lzzy)).
  1759. * Added a new ADC driver infrastructure and TI ADS1255 driver
  1760. both developed and submitted by Li Zhouy (Lzzy)).
  1761. See the Changelog for additional changes included in this release.
  1762. NuttX-6.9
  1763. ---------
  1764. The 76th release of NuttX, Version 6.9, was made on September 11, 2011
  1765. and is available for download from the SourceForge website. Note
  1766. that release consists of two tarballs: nuttx-6.9.tar.gz and
  1767. apps-6.9.tar.gz. Both may be needed (see the top-level nuttx/README.txt
  1768. file for build information).
  1769. This release includes a few new features and several important bug fixes.
  1770. The new features (some still incomplete) include:
  1771. * Analog Support/ NXP LPC17xx: New DAC sub-system including ADC and DAC
  1772. drivers for the LPC17xx. Extensions to the ADS1255 driver.
  1773. (Contributed by Li Zhuoyi (Lzyy))
  1774. * Power Management: Added a new NuttX power management sub-system for
  1775. controlling and coordinating reduced power states. At present, only
  1776. verified in a simulation environment.
  1777. * I2C Test Tool: A new application was added that can be used to
  1778. verify and debug I2C interfaces from the NuttShell (NSH) command
  1779. line.
  1780. * NuttShell (NSH): In addition to the I2C test tool, a date command
  1781. is now supported (if CONFIG_RTC is defined) that can be used to
  1782. read and set the RTC.
  1783. * NXP LPC17xx: I2C and DAC driver for the NXP LPC17xx family submitted by Li Zhuoyi
  1784. (Lzyy)
  1785. * Kinetis Cortex-M4: Added a SDHC driver for the Kinetis parts.
  1786. Complete debug of the Kinetis SDHC driver was not completed, however,
  1787. do to some higher priority tasks that forced me to stop work.
  1788. * Other new drivers: Driver for I2C-based at24cxx EEPROM submitted by
  1789. Li Zhuoyi (Lzyy); Driver for the LM-75 temperature sensor. Support
  1790. for the LM-75 temperature sensor integrated into the SM3210E-EVAL
  1791. development board.
  1792. * NuttX Graphics (NX): Added new NX interfaces for drawing circles,
  1793. both circle outlines and filled circles.
  1794. * FLASH: Added a function that accepts the path to a block driver and
  1795. then erases the underlying FLASH memory
  1796. * Build System: The Make export logic now also tries to track down all
  1797. architecture-specific header files and include these in the NuttX
  1798. export bundle as well. Various changes and modifications so that
  1799. NuttX wil build on FreeBSD using the ASH shell (submitted by Kurt Lidl).
  1800. Bugfixes, order roughly on decreasing criticality include:
  1801. * STM32 I2C Driver: Add resets, timeout, and other fixes to work
  1802. reliably with the I2C tool. Corrected a major error introduced in
  1803. NuttX 6.8.
  1804. * BCH Driver. Several important bugs (noted by Li Zhuoyi (Lzyy))
  1805. were fixed.
  1806. * C Library: Fixed errors in gmtime() and gmtime_r() that could lead to
  1807. errors in date calculations.
  1808. * Timing: Correct an error in the tv_nsec calculation that happens
  1809. only config CONFIG_RTC is enabled
  1810. * Build System: Use of -print-libgcc-file-name to get path to
  1811. libgcc.a might select the wrong libgcc.a if a multilib toolchain
  1812. is used
  1813. NuttX-6.10
  1814. ----------
  1815. The 77th release of NuttX, Version 6.10, was made on October 6, 2011
  1816. and is available for download from the SourceForge website. Note
  1817. that release consists of two tarballs: nuttx-6.10.tar.gz and
  1818. apps-6.10.tar.gz. Both may be needed (see the top-level nuttx/README.txt
  1819. file for build information).
  1820. This release corresponds with SVN release number: r4028
  1821. This release includes a few new features and several important bug fixes.
  1822. The new features (some still incomplete) include:
  1823. * CDC ACM serial class device-side driver
  1824. * RTC: Now supports hi-res and lo-res hardware RTC. The lo-res RTC
  1825. runs at 1Hz.
  1826. * STM32 I2C driver. Now supports faster, polled mode of operation.
  1827. Added an I2C trace capability.
  1828. * ADS7843E touchscreen driver. As used on the SAM3U-EK development
  1829. board.
  1830. * AT91SAM3U SPI driver. To support the ADS7843E toucscreen
  1831. * X11 Support on simulation target. Build errors in the X11 windows
  1832. for the simulated target have been correct. Added support for a
  1833. simulated touchscreen on the X11 window (based on mouse inputs).
  1834. * System Timer. Added support for a 64-bit system timer.
  1835. * TIFF Support. Added a TIFF library (currently used for storing
  1836. LCD screen shots).
  1837. * LCD Support. Added a test to verify that we read and write correct
  1838. to LCD GRAM memory.
  1839. * I2C tool. Extended to support to include a verify command and
  1840. repititions and auto-address increment for most commands.
  1841. * USB terminal example. Line oriented serial bridge connects a host
  1842. USB serial terminal to a host UART serial terminal.
  1843. * Build System. apps/ Makefile will now include external directories
  1844. in the application build.
  1845. Bugfixes, order roughly on decreasing criticality include:
  1846. * Message Queues. Correct errors in mq_timedsend() and
  1847. mq_timedrecieve().
  1848. * FAT. Writes that cross sector boundaries, stray write into the FAT,
  1849. and a FAT long file name issue
  1850. * NXFFS. Added a missed error check. Files cannot be opened for
  1851. writing if they are already opened for reading.
  1852. * Library: fopen() for append modse was not appending.
  1853. * STM32 I2C driver. Correct another conflict between concurrent FSMC
  1854. and I2C1 accesses. Fixed some bad error detection logic.
  1855. * STM32 SDHC driver. Interrupts were being left disabled.
  1856. NuttX-6.11
  1857. ----------
  1858. The 78th release of NuttX, Version 6.11, was made on November 12, 2011
  1859. and is available for download from the SourceForge website. Note
  1860. that release consists of two tarballs: nuttx-6.11.tar.gz and
  1861. apps-6.11.tar.gz. Both may be needed (see the top-level nuttx/README.txt
  1862. file for build information).
  1863. This release corresponds with SVN release number: r4090
  1864. This release is a maintenance release that includes a few new features
  1865. and some important bugfixes. New features include:
  1866. * NX Graphics: New interfaces to read from graphics memory
  1867. * Drivers: AT24 FLASH driver will now supports clustering of blocks
  1868. to achieve a larger, more usable block size for NXFFS.
  1869. * STM32: LCD color corrections
  1870. * PIC32: Board configuration for the Microchip PIC32 Ethernet Starter kit
  1871. (not yet verified), new GPIO support library, button and LED support
  1872. for the Sure Electronics PIC32MX board. A lot of progress has been
  1873. made on the PIC32 NuttX port, but it is still not ready for prime time.
  1874. * NXP LPC3152: Board configuration for the Embedded Artists EA3152.
  1875. Bugfixes, order roughly on decreasing criticality include:
  1876. * NXFFS: Corrected critical bugs in initialization, some full FLASH handling,
  1877. and errors in certain cases where the FLASH is repacked.
  1878. * ARM EABI: Fix stack aligment required for passing floating point values.
  1879. * Build system: Fix build issues when g++ is used as the compiler.
  1880. * NX Graphics: Bitmap error handling, correct RGB color conversion macros,
  1881. Error when the background window is released.
  1882. * STM32: RTC build fixes, LCD color corrections
  1883. * Simulation target: build fixes
  1884. * C Library: fclose() return value.
  1885. See the change log for more detailed information.
  1886. NuttX-6.12
  1887. ----------
  1888. The 79th release of NuttX, Version 6.12, was made on December 6, 2011
  1889. and is available for download from the SourceForge website. Note
  1890. that release consists of two tarballs: nuttx-6.12.tar.gz and
  1891. apps-6.12.tar.gz. Both may be needed (see the top-level nuttx/README.txt
  1892. file for build information).
  1893. This release corresponds with SVN release number: r4141
  1894. New features in this release include:
  1895. * STM32. Basic support added for the STM32 F4 family. Board support
  1896. verified for the STMicro STM3250G-EVAL board.
  1897. * FAT. Enhanced partition handling.
  1898. * SDIO-Based SD Card support. Add support for large (>4Gb) devices
  1899. * Graphics. Added four new small sans serif fonts.
  1900. * Drivers. Fix a banding problem with the R61580 LCD.
  1901. Bugfixes, order roughly on decreasing criticality include:
  1902. * FAT. Fix errors in how the first entries in the root directory are
  1903. added. Fix errors in FAT date/time handling.
  1904. * Signals. Fix bug in certain sig_timedwait() error handling.
  1905. * Drivers. Fix cloned errors in poll() handling in several drivers.
  1906. * Message Queues. errno was not being set correctly by mq_notify().
  1907. * C Library. wchar_t is a built-in type for C++
  1908. NuttX-6.13
  1909. ----------
  1910. The 80th release of NuttX, Version 6.13, was made on December 26, 2011
  1911. and is available for download from the SourceForge website. Note
  1912. that release consists of two tarballs: nuttx-6.13.tar.gz and
  1913. apps-6.13.tar.gz. Both may be needed (see the top-level nuttx/README.txt
  1914. file for build information).
  1915. This release corresponds with SVN release number: r4231
  1916. New features in this release include:
  1917. * Drivers. New standard interface for PWM drivers and common
  1918. "upper half" PWM driver. Updated the MP25x driver to support
  1919. the Macronix MX25 chips (submitted by Mohammad Elwakeel).
  1920. * STM32 F1/F4. Added an Ethernet driver, ADC drivers, DAC driver,
  1921. PWM driver, CAN driver, F4 RTC driver, F4 DMA support,
  1922. logic for saving/restoring F4 FPU registers in context switches.
  1923. * STM32 Boards. Added STM3240G-EVAL DHPCD and nettest configuration.
  1924. Support for a new STM32 board, the HY-Mini STM32v board, was
  1925. contributed by Laurent Latil
  1926. * PIC32. The port to the Microchip PIC32MX is finally functional and
  1927. reliable. The NuttX PIC32 port has verified configurations for
  1928. the OS test and the NuttShell (NSH) both exist.
  1929. * Tests: New re-usable tests (in apps/examples) for PWM, ADC, and
  1930. CAN loopback. Several existing tests can now be built as NSH built-in
  1931. applicaitons (dhcpd, nettest, and all of the new tests).
  1932. Bugfixes, order roughly on decreasing criticality include:
  1933. * STM32: Correct handling of data overrun conditions. Existing logic
  1934. would hang with infinite interrupts when a data overrun occurred.
  1935. * DHCPD. Fix several problems using host order address where network
  1936. addresses expected (and vice versa).
  1937. And several others. See the ChangeLog for more details.
  1938. NuttX-6.14
  1939. ----------
  1940. The 81st release of NuttX, Version 6.14, was made on January 15, 2012,
  1941. and is available for download from the SourceForge website. Note
  1942. that release consists of two tarballs: nuttx-6.14.tar.gz and
  1943. apps-6.14.tar.gz. Both may be needed (see the top-level nuttx/README.txt
  1944. file for build information).
  1945. This release corresponds with SVN release number: r4301
  1946. New features in this release include:
  1947. * Drivers. The upper-half PWM driver will now support a pulse count (as
  1948. would be needed to control a stepper motor).
  1949. * STM32. The CAN driver has been verified in loopback mode. ADC driver
  1950. support for the STM32 F4. Add support for UART4-5 and USART6
  1951. (Contributed by Mike Smith). The PWM driver now supports a pulse
  1952. count for TIM1 and TIM8. Timer driver now supports the F4's 32-bit
  1953. timers (Contributed by Mikhail Bychek)
  1954. * STM32F4Discovery. Support for the STM32F4-Discovery board contributed
  1955. by Mike Smith.
  1956. * STM3240G-EVAL. Add support for user control of LEDs.
  1957. * LPC17xx. Add support for loopback mode to CAN driver. CAN TX done
  1958. perations are now interrupt driver. Now supports configurable CAN bit
  1959. rate.
  1960. * LPC1766-STK. Add support for on-board buttons. Add support for user
  1961. control of LEDs.
  1962. * LM3S. Add support for the LM3S6432S2E on the TI RDK-S2E (Contributed
  1963. by Mike Smith)
  1964. * PIC32MX. USB device-side driver (needs further testing). A partial
  1965. Ethernet driver is also in place.
  1966. * Library. Support added for fixed floating point fieldwidths in output
  1967. formatting (Contributed by Mikhail Bychek)
  1968. * Build. New targets apps_clean and apps_distclean to simplify working
  1969. with application diretories.
  1970. Bugfixes include:
  1971. * Drivers. Fixed a buffer-full test in the upper-half CAN driver.
  1972. * STM32. GPIO initialize logic (submitted by Mike Smith). Fix the
  1973. debug logic that dumps the GPIO configuration.
  1974. * LPC17xxx. Correct an integeter overlow in GPIO interrupt setup
  1975. (prevented pins > 15 from being used as interrupt sources). Correct
  1976. a value used in GPIO interrupt number range test.
  1977. * FAT. Now returns the correct error value when it is unable to
  1978. recognize the file system.
  1979. * Build. MAC OS build fixes (submitted by Mike Smith)
  1980. And several others. See the ChangeLog for more details.
  1981. NuttX-6.15
  1982. ----------
  1983. The 82nd release of NuttX, Version 6.15, was made on February 12, 2012,
  1984. and is available for download from the SourceForge website. Note
  1985. that release consists of two tarballs: nuttx-6.15.tar.gz and
  1986. apps-6.15.tar.gz. Both may be needed (see the top-level nuttx/README.txt
  1987. file for build information).
  1988. This release corresponds with SVN release number: r4387
  1989. New features and extended functionality:
  1990. * General Drivers: Add support for (29-bit) extended CAN IDs. Add an
  1991. infrastructure to support battery drivers. Add a driver for MAX17040x
  1992. battery "fuel gauge". Add support for Composite USB drivers (in
  1993. particular for a CDC/ACM with MSC USB composite driver).
  1994. Added a new RAM logging driver. This will allow debug output into
  1995. a RAM buffer associated with a character driver at /dev/ramlog.
  1996. Added the new command 'dmesg' to NSH that can be used to dump the
  1997. current contents of the log. This is useful for systems that do not
  1998. have the usual serial console (for example, if you only have a
  1999. Telnet console with NSH).
  2000. * Networking: Add a lower level, primitive socket interface. Telnet
  2001. driver:
  2002. A New Telnet daemon was created. It wraps a Telnet session within a
  2003. character driver that can serve as a "controlling terminal." The
  2004. Telnet session will then be inherited by tasks created from the
  2005. Telnet session and the stdin/stdout from the created task will
  2006. still go through the same Telnet connection.
  2007. * STM32 Drivers. PWM driver pulse count was limited to 128; now is
  2008. (essentially) unlimited. Add support for (29-bit) extended CAN IDs.
  2009. Add support for I2C3. The SDIO driver is (mostly) verified on the
  2010. STM32 F4 platforms.
  2011. * LPC17xx Drivers. Extended the CAN driver so that the TSEG1 and TSEG2
  2012. bit times can be set via the NuttX configuration. Add support for
  2013. (29-bit) extended CAN IDs.
  2014. * PIC32 Drivers. The PIC32 Ethernet driver is code complete (but still
  2015. untested).
  2016. * FTPD. Add a new FTP server daemon. This is based loosely on
  2017. the hwport_ftpd library provided by Jaehyuk Cho.
  2018. * Library: Add support for on_exit(). Implemented tcsetattr() and
  2019. tcgetattr(). Moved the old, too-smart fgets() to a new application
  2020. library function called readline(). Dumbed down the original fgets().
  2021. Add strcasestr(), avsprintf(), inet_ntop(), and inet_pton().
  2022. Add support to enable or disable debug output.
  2023. * Build system: Support for building a 32-bit simulation executable on
  2024. a 64-bit Linux machine. Correct a dependency issue in the arch/*/src/board
  2025. directory.
  2026. Bugfixes:
  2027. * System: Correct PTHREAD_MUTEX_INITIALIZER
  2028. * FAT: Fix an error in the FAT statfs() reported by David Sidrane.
  2029. * STM32: Fix clock frequencies for APB2 timers. Correct AFIO register
  2030. offset.
  2031. * PIC32. Correct GPIOs used for LEDs on the Sure PIC32MX board.
  2032. * NSH. Wait for a USB connection if a USB serial class is used to
  2033. interface with the host.
  2034. Additional bugfixes, name changes, and other differences as detailed in the
  2035. ChangeLog.
  2036. NuttX-6.16
  2037. ----------
  2038. The 83rd release of NuttX, Version 6.16, was made on March 10, 2012,
  2039. and is available for download from the SourceForge website. Note
  2040. that release consists of two tarballs: nuttx-6.16.tar.gz and
  2041. apps-6.16.tar.gz. Both may be needed (see the top-level nuttx/README.txt
  2042. file for build information).
  2043. This release corresponds with SVN release number: r4475
  2044. New features and extended functionality:
  2045. * ARMv7M Support: Includes new, streamlined Cortex-M exception
  2046. handling provided by Mike Smith. Context switching support for the
  2047. Cortex-M4 FPU registers is now provided (in both "lazy" and "non-lazy"
  2048. modes)
  2049. * General Drivers: Added a generic "upper half" Quadrature Encoder driver.
  2050. The USB CDC/ACM serial driver can now be dynamically connnected or
  2051. disconnected from the host (programmatically or using NSH commands).
  2052. * STM32 Drivers: Added a "lower half" Quadrature Encoder driver.
  2053. Verified the STM32 F4 DMA driver; Added F4 DMA support to the existing
  2054. STM32 SDIO driver.
  2055. * STM32 Board Support. Added support for the STM32 F2 family and
  2056. for the STM3220G-EVAL board (contributed by Gary Teravskis).
  2057. Support is now included for C++ static constructors (verified using
  2058. the Atollic toolchain). Added support for the SRAM available on the
  2059. STM3240G-EVAL board.
  2060. * PIC32 Drivers. PIC32MX USB (device) driver is now functional.
  2061. The PIC32MX Ethernet driver not yet fully verified (and an
  2062. unverified SPI driver is also available).
  2063. * Networking. Added a lower-level, thread-independent socket layer.
  2064. Parts of this layer were created in 6.15 to support the FTPD
  2065. controlling terminal; this support has been extended in order
  2066. to support an NFS file system (not yet released).
  2067. * NuttShell (NSH). NSH will now support a USB serial connection for
  2068. the console (such as CDC/ACM). This is useful in environments
  2069. where there is no physical serial port on the board.
  2070. * Build System. Reorgnaization of networking header files.
  2071. Critical Bugfixes. The following bug fixes are considered critical:
  2072. * Networking: Fixed a "leak" in the TCP/IP read-ahead buffering logic.
  2073. Corrected an error in TCP/IP sequence numbering/ACK logic which
  2074. occurred when read-ahead buffering memory is exhausted.
  2075. * STM32 Drivers: Fixed an buffer sizing error in the STM32 Ethernet
  2076. driver.
  2077. Additional Bugfixes: Other important bug fixes are listed below. See
  2078. the ChangeLog of a complete, detailed list of bug fixes.
  2079. * Networking: Corrected recv()/recvfrom() return value. Added logic to
  2080. monitor for loss of connection after a new connection has been
  2081. established via accept() (Contributed by Max Nekludov). Add
  2082. logic to select() to correctly handle POLLHUP (Contributed by Max
  2083. Nekludov)
  2084. Additional bugfixes, name changes, and other differences as detailed in the
  2085. ChangeLog.
  2086. NuttX-6.17
  2087. ----------
  2088. The 84th release of NuttX, Version 6.17, was made on April 14, 2012,
  2089. and is available for download from the SourceForge website. Note
  2090. that release consists of two tarballs: nuttx-6.17.tar.gz and
  2091. apps-6.17.tar.gz. Both may be needed (see the top-level nuttx/README.txt
  2092. file for build information).
  2093. This release corresponds with SVN release number: r4607
  2094. New features and extended functionality:
  2095. * Networking: Additional low-level, thread-independent socket
  2096. interfaces (for NFS client support).
  2097. * RTC: Added a new interface call clock_synchronize(). This function
  2098. will reload the system time from an RTC and is required when the
  2099. system re-awakens from certain deep-sleep modes.
  2100. * Graphics: Add NxConsole. This is a character device driver that
  2101. wraps an NX window and can be re-directed for stdout. This allows,
  2102. for example, a pop-up graphics window that contains a NuttShell (NSH)
  2103. session. A test of NxConsole is available at apps/examples/nxconsole.
  2104. * Watchdog Drivers: Added an interface definition an "upper half"
  2105. driver to support watchdog timers.
  2106. * Calypso: Support for TI Calypso-based cellphones (as supported by
  2107. the Osmocom-BB project) was contributed by members of the Osmocom-BB
  2108. team. This includes configurations for the Compal e88 and e99 phones.
  2109. * USB Device Interface: Needed to extend the USB device interface
  2110. because there was no mechanism for passing endpoint OUT data that
  2111. may need to accompany a setup request.
  2112. * STM32 drivers: Added some power management controls for entering
  2113. reduced power consumption states. An OTG FS driver was completed
  2114. and partially verified (this driver seems to be functional but since
  2115. it has been test so lightly, it might better be listed in the
  2116. next section "Work in progress").
  2117. * PIC32 drivers: The PIC32 Ethernet driver is now stable. The PIC32
  2118. USB device controller driver is now functional (but not yet stable).
  2119. * PIC32 boards: Added support for the Sure DB-DP11212 PIC32 General
  2120. Purpose Demo Board. There is now a PIC32 Starter Kit that
  2121. provides NSH only through a Telnet connection.
  2122. * Build System: Some header files were moved into include/nuttx.
  2123. The goal is to move any non-standard header files to include/nuttx
  2124. or include/arch. Moved include/math.h to include/nuttx/math.h;
  2125. this file is now only instantiated as the 'system' math.h if
  2126. CONFIG_ARCH_MATH_H=y is defined.
  2127. * Tools: Added tools/cmpconfig.c, a tool for comparing two
  2128. configuration files.
  2129. Work in progress. This release includes some partially completed
  2130. work that is still not ready for prime time.
  2131. * NFS Client: Work is progressing on support for an NFS client
  2132. file system. This is a port of the BSD NFS client file system
  2133. that is being done by Jose Pablo Rojas V.
  2134. * Automated Configuration: Automated configuration based on the
  2135. kconfig-frontends tool is being incorporated into the build
  2136. system. The configuration is still not complete enough for
  2137. general use in this release.
  2138. * STM32 Drivers: Added files that will (eventually) hold an STM32
  2139. OTG FS host driver. This is still a work in progress.
  2140. Bugfixes:
  2141. * Networking: Corrected a deadlock that only occurred when
  2142. executing the NSH 'ifconfig' command over Telnet.
  2143. * File system: Fix incorrect return errno value from read() when
  2144. the file is opened write-only.
  2145. * Graphics: Fix several compilation errors that have crept into the
  2146. multi-user NX server because of lack of use.
  2147. * STM32: In order to use CAN2, both CAN1 and CAN2 clocking must be
  2148. enabled. Fixed a troublesome bug in the STM32 F4 I2C driver that
  2149. resulting in timeouts.
  2150. * LPC17xx: Fixes for errors the crept in the LPC17xx DAC logic
  2151. Contributed by Lzyy).
  2152. * Build System: Reordered the link command line to account for new
  2153. versions of libgcc.a that require symbols from the application
  2154. (abort()).
  2155. NuttX-6.18
  2156. ----------
  2157. The 85th release of NuttX, Version 6.18, was made on May 19, 2012,
  2158. and is available for download from the SourceForge website. Note
  2159. that release consists of two tarballs: nuttx-6.18.tar.gz and
  2160. apps-6.18.tar.gz. Both may be needed (see the top-level nuttx/README.txt
  2161. file for build information).
  2162. The majority of changes in this release are focused on supporting the
  2163. synchronized release of NxWM, the NuttX tiny window manager. That
  2164. window manager is released as part of the NxWidgets package, but depends
  2165. upon many of the changes in this NuttX release.
  2166. This release corresponds with SVN release number: r4751
  2167. New features and extended functionality:
  2168. * Drivers. Added a watchdog timer driver infrastructure. Add general
  2169. support for STMicro STMPE811 I/O Expander/touchscreen device.
  2170. * STM32. Add support for the STM32 IWDG and WWDG watchodog timers. DMA
  2171. now supports cicular buffer mode; serial driver now uses circular
  2172. DMA to improve Rx performance (Contributed by Mike Smith).
  2173. * STM3240G-EVAL Board. Add support for the LCD and for the STMPE811
  2174. I/O Expander as a touchscreen controller.
  2175. * PIC32 Boards. Board support for the Mikroelektronika PIC32MX7
  2176. Multimedia Board (MMB) and for the Sparkfun UBW32 PIC32 board.
  2177. * NX. Framed windows are now draw in three colors instead of just two.
  2178. Numerous other extensions needed to support NxWM (see the ChangeLog
  2179. for details).
  2180. * Library. Add prctl() command that can be used to setting and getting
  2181. the names of threads. This (plus several other improvements and bug
  2182. fixes) are part of a larger effort to improve task monitoring
  2183. capabilities.
  2184. Work in progress. This release includes some partially completed
  2185. work that is still not ready for prime time.
  2186. * NFS Client. Work is progressing on support for an NFS client
  2187. file system. This is a port of the BSD NFS client file system
  2188. that is being done by Jose Pablo Rojas V.
  2189. * Automated Configuration. Automated configuration based on the
  2190. kconfig-frontends tool is being incorporated into the build
  2191. system. The configuration is still not complete enough for
  2192. general use in this release.
  2193. * STM32 Drivers. Added files that will (eventually) hold an STM32
  2194. OTG FS host driver. This is still a work in progress.
  2195. Bugfixes (see the change log for details) :
  2196. * sched_setscheduler() return value (Contributed by Richard Cochran).
  2197. * stdio. Ignore CONFIG_STDIO_LINEBUFFER if the file was opened in binary mode.
  2198. * fopen(). Correct an error in parsing open mode string.
  2199. * serial driver. Improved performance be reducing the amount of time
  2200. that Rx interrupts are disabled.
  2201. * recvfrom(). Fix a compilation problem.
  2202. * CDC/ACM device driver. Fix an infinite loop that occurs when the serial
  2203. device is unregistered.
  2204. * STM32 OTG FS device driver. Numerous fixes and the driver is partially
  2205. functional but there are still some issues that become apparent when
  2206. debug output is disabled.
  2207. * fcntl(). Always returned zero on success; however, some fcntl commands
  2208. need to return non-zero values on success.
  2209. * graphics: Many multi-use mode fixes added to support NxWM (see the
  2210. ChangeLog for details). Auto-raise is temporarily disabled in multi-
  2211. user mode because it causes some problems with NxWM.
  2212. * on_exit(): Fix compilation errors if CONFIG_SCHED_ONEXIT is enabled.
  2213. NuttX-6.19
  2214. ----------
  2215. The 86th release of NuttX, Version 6.19, was made on June 15, 2012,
  2216. and is available for download from the SourceForge website. Note
  2217. that release consists of two tarballs: nuttx-6.19.tar.gz and
  2218. apps-6.19.tar.gz. Both may be needed (see the top-level nuttx/README.txt
  2219. file for build information).
  2220. This release corresponds with SVN release number: r4847
  2221. This release features new support for a Network File System (NFS) client.
  2222. This feature allows a tiny, embedded MCU to mount a remote file system
  2223. exported by an NFS server and then to access the file system as it would
  2224. any local file system. Then the tiny MCU can effectively have terabytes
  2225. of storage!
  2226. This might be useful for data collection, for MCU configuration information,
  2227. for software updates, for providing modular, loadable code modes, controlling
  2228. a "farm" of MCUs, ... there are many possibilities and opportunities for
  2229. innovation!
  2230. The NuttShell (NSH) now supports the following command:
  2231. nfsmount <server-address> <mount-point> <remote-path>
  2232. That command will mount the remote NFS server directory <remote-path> at
  2233. <mount-point> on the target machine. <server-address> is the IP address of
  2234. the remote server.
  2235. The NFS development was the graduation project of Jose Pablo Rojas V. who
  2236. is a student at the Instituto Tecnológico de Costa Rica (ITCR, or TEC).
  2237. A lot of effort went into understanding what a tiny, embedded NFS client should
  2238. do and getting the target resource usage to a bare minimum. Only around a
  2239. kilobyte or so of memory is required to run the NFS client (and most of that
  2240. for I/O buffers). Jose Pablo has spent several months living with NFS and
  2241. should be congratulated.
  2242. Additional new features and extended functionality:
  2243. * Drivers: SSD1289 LCD driver, MIO283QT2 LCD driver
  2244. * LM3S: Additional register definition header files (contributed by Max
  2245. Neklyudov).
  2246. * STM32 Boards: The STM32F4Discovery will now support an SSD1289 LCD,
  2247. The STM3220G-EVAL board support is now equivalent to the STM3240G-EVAL
  2248. board support.
  2249. * PIC32 Boards: The Mikroelektronika PIC32MX7 MMB board port is now
  2250. functional, very complete, and stable.
  2251. * Graphics: The NxConsole will now take keyboard input from the NX graphics
  2252. subsystem. This means that if there are multiple NxConsole windows, only
  2253. the top instance that has focus will receive the keyboard input.
  2254. * apps/: Add the capability to use an arbitrary USB device as the console
  2255. (not necessarily /dev/console). Additional enhancements for USB consoles.
  2256. Added the 'mv' command.
  2257. Work in progress. This release includes some partially completed
  2258. work that is still not ready for prime time.
  2259. * Automated Configuration. Automated configuration based on the
  2260. kconfig-frontends tool is being incorporated into the build
  2261. system. The configuration is still not complete enough for
  2262. general use in this release.
  2263. * STM32 Drivers. Added files that will (eventually) hold an STM32
  2264. OTG FS host driver. This is still a work in progress.
  2265. Bugfixes (see the change log for details) :
  2266. * General: sleep() and usleep() return values, sig_timedwait() errno setting
  2267. on timeout.
  2268. * Drivers: STMPE811 touchscreen driver, USB PLC2303, USB CDC/ACM
  2269. * STM32: Several USB device controller driver fixes, F4 interrupt priorities
  2270. (contributed by Mike Smith).
  2271. * Graphics: Keyboard input, fill trapezoid bug
  2272. As well as other, less critical bugs (see the ChangeLog for details)
  2273. NuttX-6.20
  2274. ----------
  2275. The 87th release of NuttX, Version 6.20, was made on July 12, 2012,
  2276. and is available for download from the SourceForge website. Note
  2277. that release consists of two tarballs: nuttx-6.20.tar.gz and
  2278. apps-6.20.tar.gz. Both may be needed (see the top-level nuttx/README.txt
  2279. file for build information).
  2280. This release corresponds with SVN release number: r4937
  2281. Additional new features and extended functionality:
  2282. * Power Management: An evolving power management example is being
  2283. created by Diego Sanchez. This effort currently involves on the
  2284. STM32 F1 but clearly demonstrates the NuttX power management
  2285. system which will automatically drive the system to lower power
  2286. usage states due to lack of use.
  2287. * Drivers: Added a driver for the SST 25 SPI-based FLASH parts.
  2288. * PIC32: Added support for the PIC32MX1 and PIC32MX2 families.
  2289. Added support for the microchipOpen and Pinguino toolchains.
  2290. * NXP LPC43XX: Added support for the entire LPC43xx family
  2291. * PIC32 boards: Added support for the DTX1-4000L "Mirtoo" module
  2292. from http://www.dimitech.com/ (PIC32MX2).
  2293. * NXP LPC43XX Boards: Added support for NGX LPC4330-Xplorer board.
  2294. * NXP LPC17XX Boards: Added support for Micromint Lincoln60 board
  2295. (LPC1769).
  2296. * LM3S Boards: Add a configuration to support the TI/Stellaris
  2297. EKK-LM3S3B96 development board. Contributed by Jose Pablo Rojas V.
  2298. * Library: NuttX now supports platform-specific stdarg.h header
  2299. files.
  2300. Work in progress. This release includes some partially completed
  2301. work that is still not ready for prime time.
  2302. * Automated Configuration. Automated configuration based on the
  2303. kconfig-frontends tool is being incorporated into the build
  2304. system. The configuration is still not complete enough for
  2305. general use in this release.
  2306. * STM32 Drivers. Added files that will (eventually) hold an STM32
  2307. OTG FS host driver. This is still a work in progress.
  2308. Bugfixes (see the change log for details) :
  2309. * PIC32: GPIO output configuration (critical bug)
  2310. * STM32: Typos in pin mapping files.
  2311. * LM3S: Fixed an optimization related but that caused slow start-up
  2312. times if optimization was disabled.
  2313. * Library: Fixed signed extension but in all limit.h files
  2314. (reported by Lorenz Meier). inet_ntoa compilation failure
  2315. on Z80.
  2316. As well as other, less critical bugs (see the ChangeLog for details)
  2317. NuttX-6.21
  2318. ----------
  2319. The 88th release of NuttX, Version 6.21, was made on August 25, 2012,
  2320. and is available for download from the SourceForge website. Note
  2321. that release consists of two tarballs: nuttx-6.21.tar.gz and
  2322. apps-6.21.tar.gz. Both may be needed (see the top-level nuttx/README.txt
  2323. file for build information).
  2324. This release corresponds with SVN release number: r5052
  2325. Additional new features and extended functionality:
  2326. * Core: Add support for multiple registered atexit() functions. Syslog
  2327. extended: Now any character driver may be used for the debug logging
  2328. device. Mountpoint traversal logic.
  2329. * Drivers: Added support for the TI PGA112-7 amplifier/multiplexor.
  2330. * LPC43xx: Added clock ramp-up logic to run at 204 MHz
  2331. * LPC43xx Drivers: SPIFI block driver, RS-485 support, Minimal termios
  2332. support. Framework for USB0 device controller driver.
  2333. * LPC17xx Drivers: Minimal termios support
  2334. * STM32: Support for STM32 F1 "Value Line" (contributed by Mike Smith).
  2335. Add support for STM32 F107 "Connectivity Line" (contributed by Max
  2336. Holtzberg).
  2337. Clock restart logic needed for recovery from low power modes.
  2338. * STM32 Drivers: RTC alarm support. Usable for wakeup from sleep mode,
  2339. Minimal serial termios support. USB OTG FS host driver (alpha).
  2340. * STM32 Boards: Add power management hooks for the STM32F4Discovery,
  2341. Add support for the Olimex STM32-P107 (contributed by Max Holtzberg).
  2342. * PIC32: Add support for the Pinguino MIPS toolchain.
  2343. * PIC32 Drivers: GPIO driver now supports F1 analog regiaters (ANSEL).
  2344. * PIC32 Boards: Add support for the PGA117 on the Mirtoo module.
  2345. * Calypso: Add support for the SSD1783 LCD on the Compal E99.
  2346. * Library: cfsetispeed(), cfsetospeed(), tcflush(), memchr(), and
  2347. memccpy().
  2348. * Applications: Port of freemodbus-v1.5.0. Add support for testing
  2349. devices with multiple ADC, PWM, and QE devices.
  2350. NSH: NSH 'mount' command (with no arguments) will now show mounted
  2351. volumes. Add new NSH 'df' command. Extended 'help' support. NSH
  2352. now catches the return value from spawned applications (provided
  2353. by Mike Smith).
  2354. * Build System: mkconfig will not define CONFIG_DRAM_END. A lot of
  2355. progress has been made on the automated NuttX configuration logic
  2356. (Thanks go to Richard Cochran).
  2357. * Documentation: Document ways to customize the behavior of NSH.
  2358. Bugfixes (see the change log for details) :
  2359. * Serial drivers (all): Fix ioctl return value. Common "upper half"
  2360. serial driver will now return with EINTR if a serial wait is
  2361. interrupted by a signal.
  2362. * FAT: Fix statfs() file name length.
  2363. * LPC43xx: Clock configuration.
  2364. * STM32: Pinmap fixes, SPI driver re-initialization
  2365. * STM32 Boards: Correct and lower SDIO frequency for F2 and f4 boards.
  2366. * AVR: C++ build issues.
  2367. * PM: Fix a place where interrupts were not be re-enabled.
  2368. * Applications: NSH application start-up race conditions.
  2369. * Library: Fieldwidth and justification for %s format. Fixed several
  2370. issues with presenting floating point numbers. NULL definition
  2371. for C++
  2372. As well as other, less critical bugs (see the ChangeLog for details)
  2373. NuttX-6.22
  2374. ----------
  2375. The 89th release of NuttX, Version 6.22, was made on September 29, 2012,
  2376. and is available for download from the SourceForge website. Note
  2377. that release consists of two tarballs: nuttx-6.22.tar.gz and
  2378. apps-6.22.tar.gz. Both may be needed (see the top-level nuttx/README.txt
  2379. file for build information).
  2380. This release corresponds with SVN release number: r5206
  2381. Note that all SVN information has been stripped from the tarballs. If you
  2382. need the SVN configuration, you should check out directly from SVN. Revision
  2383. r5206 should equivalent to release 6.22 of NuttX 6.22:
  2384. svn checkout -r5206 svn://svn.code.sf.net/p/nuttx/code/trunk nuttx-code
  2385. Or
  2386. svn checkout -r5206 http://svn.code.sf.net/p/nuttx/code/trunk nuttx-code
  2387. Additional new features and extended functionality:
  2388. * RTOS: Application entry point is no longer user_start, but can be
  2389. configured using CONFIG_USER_ENTRYPOINT. NuttX now supports two work
  2390. queues: A lower priority work queue (for extended processing) and a
  2391. higher priority work queue (for quick, high priority operations).
  2392. * Memory Management: Added a new granule-based allocated that can be
  2393. used to manage, aligned and quantized DMA memory.
  2394. * File System: Add hooks to allocate I/O memory with and external
  2395. allocated (need if required by DMA).
  2396. * Networking: ENC28J60 driver is (finally) verified.
  2397. * Drivers: Add hooks USB device drivers to allocate I/O memory with and
  2398. external allocated (need if required by DMA). Driver for the Windbond
  2399. SPI FLASH family (W25x16, W25x32, W25x64, and others). ADS7843E driver
  2400. extended for TSC2046 and XPT2046 and verified.
  2401. * ARMv7-M: Added logic to reset the MCU using the NVIC.
  2402. * STM32: Add support for STM32F103VET6.
  2403. * STM32 Drivers: Add logic to re-initialize UARTs a second time to
  2404. enable DMA (Mike Smith). I2C driver error recovery (Mike Smith).
  2405. * STM32 boards: Support for USB host added add to several configurations
  2406. (or at least explained in README files). Support for the Shenzhou
  2407. STM32F107 board (see www.armjishu.com). Support for M3 Wildfire
  2408. STM32F103 board (v2 and v3).
  2409. * Build System: Kconfig string de-quoting logic. Remove comments from
  2410. defconfig files (Kate). Add tool to create NuttX-style symbol tables.
  2411. Numerous changes to configuration logic as needed for the new mconf-based
  2412. configuration (much of this from Richard Cochran). Refactor common
  2413. Make.defs logic into tools/Config.mk (Richard Cochran).
  2414. * Library: Configurable terse output from strerror(). Added perror() (Kate).
  2415. Add %n format to sscanf() (Kate).
  2416. * Applications: Numerous changes and extensions to the old uIP web server
  2417. (from Kate and Max Holtzberg, see the ChangeLog for specific extensions).
  2418. UDP network discovery utility (Max Holtzberg). Embeddable Lightweight
  2419. XML-RPC Server (http://www.drdobbs.com/web-development/an-embeddable-lightweight-xml-rpc-server/184405364, Max Holtzberg).
  2420. Bugfixes (see the change log for details). Some of these are very important
  2421. (marked *critical*):
  2422. * RTOS: Fixes to priority inheritance logic (*critical*). waitpid()
  2423. critical section. Assertion in work_cancel() (Mike Smith). mmap() (Kate).
  2424. * FAT File System: Improper Boolean expression caused un-necessary writes
  2425. and performance issues (*critical*, Ronen Vainish).
  2426. * Networking: Remove an un-necessary delay from recvfrom(). This greatly
  2427. improves network performance (*critical*, Max Holtzberg).
  2428. * Graphics: NX parameter checking errors.
  2429. * Drivers: Fix double release of memory in SDIO-based, MMC/SD driver
  2430. (Ronen Vainish).
  2431. * LPC17xx: Ethernet driver fixes needed for certain PHYs (Kate).
  2432. * AVR: Fix build error (Richard Cochran).
  2433. * STM32: USB OTG FS host driver NAKing an retries. Power management
  2434. compilation errors (Diego Sanchez). Missing SPI3 remap logic.
  2435. * STM32 Drivers: Fix for Ethernet errata for STM32F107 (*critical*).
  2436. Ethernet buffer alignment check. Add "kludge" to Ethernet driver to
  2437. handle DM9161 PHY which (at least on the Shenzhou board), sometimes
  2438. does not come up correctly.
  2439. * Applications: THTTPD (Kate). NSH ping when IP address is on a different
  2440. network (Darcy Gong).
  2441. * Library: fread(), fflush(), fdopen(): Fix error handling logic (Ronen
  2442. Vainish). Fix some field-width handling issues in sscanf()
  2443. As well as other, less critical bugs (see the ChangeLog for details)
  2444. NuttX-6.23
  2445. ----------
  2446. The 90th release of NuttX, Version 6.23, was made on November 5, 2012,
  2447. and is available for download from the SourceForge website. Note
  2448. that release consists of two tarballs: nuttx-6.23.tar.gz and
  2449. apps-6.23.tar.gz. Both may be needed (see the top-level nuttx/README.txt
  2450. file for build information).
  2451. This release corresponds with SVN release number: r5313
  2452. Note that all SVN information has been stripped from the tarballs. If you
  2453. need the SVN configuration, you should check out directly from SVN. Revision
  2454. r5313 should equivalent to release 6.23 of NuttX 6.23:
  2455. svn checkout -r5313 svn://svn.code.sf.net/p/nuttx/code/trunk nuttx-code
  2456. Or
  2457. svn checkout -r5313 http://svn.code.sf.net/p/nuttx/code/trunk nuttx-code
  2458. Additional new features and extended functionality:
  2459. * RTOS: If both atexit() and on_exit() are enabled, use on_exit() to
  2460. implement atexit(). Updates for RGMP 4.0.
  2461. * Binfmt: Add support for loading and executing ELF binary modules from
  2462. a file system.
  2463. * Drivers: Maxim MAX11802 touchscreen controller (Petteri Aimonen)
  2464. * STM32 Driver: Implementation of /dev/random using the STM32 Random Number
  2465. Generator (RNG).
  2466. * STM32 Boards: ADC support for the Shenzhou IV board. Relay support for
  2467. the Shenzhou IV board.
  2468. * C Library: Support is now included for the add-on uClibc++ C++
  2469. standard library support. This includes support for iostreams, strings,
  2470. STL, RTTI, exceptions -- the complete C++ environment. (uClibc++ is
  2471. provided as a separate add-on package due to licensing issues).
  2472. Optimized generic and ARM-specific memcpy() function. Optimized
  2473. memset() function.
  2474. Add support for ferror(), feof(), and clearerror(). Add support for
  2475. __cxa_atexit().
  2476. Math Library: Port of the math library from Rhombus OS by Nick Johnson
  2477. (Darcy Gong).
  2478. * Applications: New NSH commands: ifup, ifdown, urlencode, urldecode,
  2479. base64enc, bas64dec, md5 (Darcy Gong). Add support for NSH telnet login
  2480. (Darcy Gong). Enancements to NSH ping command to support pinging hosts
  2481. with very long round-trip times. Extensions to the ifconfig command
  2482. Darcy Gong),
  2483. Many extensions to the webclient/wget and DNS resolver logic from Darcy
  2484. Gong. JSON, Base64, URL encoding, and MD5 libraries contributed by Darcy
  2485. Gong.
  2486. New examples: ELF loader, JSON, wgetjson, cxxtest, relays.
  2487. Bugfixes (see the change log for details). Some of these are very important
  2488. (marked *critical*):
  2489. * Drivers: W25 SPI FLASH
  2490. * STM32 Drivers: ADC reset
  2491. * Graphics: Missing implementation of the blocked method (*critical*,
  2492. Petteri Aimonen).
  2493. * C Library: Floating point numbers in printf and related formatting functions
  2494. (Mike Smith), cf[get|set]speed() (Mike Smith)
  2495. As well as other, less critical bugs (see the ChangeLog for details)
  2496. NuttX-6.24
  2497. ----------
  2498. The 91st release of NuttX, Version 6.24, was made on December 20, 2012,
  2499. and is available for download from the SourceForge website. Note
  2500. that release consists of two tarballs: nuttx-6.24.tar.gz and
  2501. apps-6.24.tar.gz. Both may be needed (see the top-level nuttx/README.txt
  2502. file for build information).
  2503. This release corresponds with SVN release number: r5447
  2504. Note that all SVN information has been stripped from the tarballs. If you
  2505. need the SVN configuration information, you should check out directly from
  2506. SVN. Revision r5447 should equivalent to release 6.24 of NuttX 6.24:
  2507. svn checkout -r5447 svn://svn.code.sf.net/p/nuttx/code/trunk nuttx-code
  2508. Or (HTTP):
  2509. svn checkout -r5447 http://svn.code.sf.net/p/nuttx/code/trunk nuttx-code
  2510. Additional new features and extended functionality:
  2511. * RTOS:
  2512. - Implemented the POSIX pause() function (still has some compiance
  2513. issues).
  2514. - Tasking logic is extended to support the notion of address
  2515. environments. An address environment is the key notion underlying
  2516. "process" vs. tasks. If tasks are created with address environments
  2517. (by binfmt), the OS will propogate that environment to child threads
  2518. and will destroy the address environment when the "process" exists.
  2519. - If support for the PATH variable is enabled, the OS start up logic
  2520. will create an initial environment containing the default PATH
  2521. setting (CONFIG_PATH_INITIAL). This initial PATH will then be
  2522. inherited by all tasks.
  2523. * Binfmt
  2524. - The NuttX binary loaders have been updated to support the PATH
  2525. environment variable. Now, if the PATH is properly defined, programs
  2526. can be executed from mass storage using only the file name. This
  2527. feature is added to support more standard behavior (eventually, NSH
  2528. will support execution of programs in file systems by just entering
  2529. the file name, perhaps in 6.25?).
  2530. - The NXFLAT and ELF binary loaders have been extended to create
  2531. address environments for any new tasks executed from the file system.
  2532. This feature requires that the architecture support a memory management
  2533. unit (MMU) and the address environment interfaces declared in
  2534. include/nuttx/arch.h (currently, this is only supported by the z180).
  2535. * Drivers: LCD driver for the Univision UG-2864AMBAG01 OLED
  2536. * STM32: Support for STM32F100 high density chips contributed by Freddie
  2537. Chopin.
  2538. * STM32 Drivers: Added optional RS-485 direction bit control (from
  2539. Freddie Chopin).
  2540. * STM32 Boards:
  2541. - Support for generic STM32F100RC board contributed by Freddie Chopin.
  2542. - stm32f4discovery/nxlines: STM32F4Discovery support for the
  2543. UG-2864AMBAG01 OLED.
  2544. - stm32f4discovery/winbuild: A version of the NuttX OS test
  2545. configured to build natively on Windows.
  2546. - stm32f4discovery/elf: Now uses the PATH variable to find ELF
  2547. executables.
  2548. - configs/cloudctrl: Added for Darcy Gong's CloudController board
  2549. * PIC32 Boards: Update the Mirtool configuration for Release 2 of the
  2550. Mirtoo module.
  2551. * Calypso: Add Calypso keypad driver. From Denis Cariki.
  2552. * ZiLOG:
  2553. - Add support for the z180 chip family and, specifically, for
  2554. the P112 retro hardware (see http://p112.feedle.net/).
  2555. - All ZiLOG configurations updated to use the current ZDS-II
  2556. and/or SDCC toolchains.
  2557. * Graphics:
  2558. - Add a semaphore handshake so that operations on buffers from
  2559. the NXMU client will be blocked until the NX server operates on the
  2560. buffer data (from Petteri Aimonen).
  2561. - nxtk_subwindowmove() and nxtk_getwindow(): Improvements to clipping
  2562. logic from Petteri Aimonen.
  2563. * C Library: lib/ sub-directory renamed libc/ (there is a new lib/ sub-
  2564. directory that is used to hold all archives).
  2565. * C++: Exception stubs from Petteri Aimonen.
  2566. * Applications:
  2567. - Add NSH hexdump command to dump the contents of a file (or character
  2568. device) to the console (contributed by Petteri Aimonen).
  2569. - Extend the NSH ifconfig command plus various DHCPC improvements
  2570. (from Darcy Gong).
  2571. * apps/examples:
  2572. - ostest: Replace large tables with algorithmic prime number
  2573. generation. This allows the roundrobin test to run on platforms
  2574. with minimal SRAM (Freddie Chopin).
  2575. - keypadtest: A new keypad test example contributed by Denis Carikli.
  2576. - elf and nxflat: If CONFIG_BINFMT_EXEPATH is defined, these examples
  2577. will now use a relative path to the program and expect the binfmt/
  2578. logic to find the absolute path to the program using the PATH
  2579. variable.
  2580. * Build system:
  2581. - New top-level Makefiles: Makefile.unix and Makefile.win (along with
  2582. numerous changes to other make-related files). This adds basic
  2583. support for building NuttX natively under Windows from a CMD.exe
  2584. window (rather than in a POSIX-like environment). This build: (1)
  2585. Uses all Windows style paths, (2) Uses primarily Windows batch
  2586. commands from cmd.exe, with (3) a few extensions from GNUWin32.
  2587. This capability should still be considered a work in progress
  2588. because: (1) it has not been verfied on all targets and tools,
  2589. and (2) still lacks some of the creature-comforts of the more
  2590. mature environments (like a function configure.sh script and
  2591. 'make menuconfig' support).
  2592. - Example Windows native builds for STM32F4Discovery, eZ80, z16f, z8,
  2593. Z80, and Z180.
  2594. - Several configurations have been converted to work the kconfig-
  2595. frontends mconf configuration tool: stm32f4discovery/nxlines, and
  2596. all eZ80, z16f, z8, Z80, and Z180 configurations.
  2597. - Architectures now include a common Toolchain.defs file that can be
  2598. used to manage toolchains in a more configurable way (most of this
  2599. contributed by Mike Smith).
  2600. * Build tools:
  2601. - Renamed tools/winlink.sh to tools/copydir.sh.
  2602. - Several new tools/scripts to support the Windows native build:
  2603. tools/mkdeps.bat, tools/mkdeps.c, tools/link.bat, unlink.bat, and
  2604. copydir.bat.
  2605. - tools/incdir.sh and incdir.bat now support an -s option to generate
  2606. system header file paths.
  2607. - tools/b16.c: Fixed precision math conversion utility.
  2608. Bugfixes (see the change log for details). Some of these are very important
  2609. (marked *critical*):
  2610. * RTOS: Fix some backward conditional compilation in the work queue
  2611. logic (Freddie Chopin).
  2612. * File System: Uninitialized variable caused assertions (from Lorenz
  2613. Meier).
  2614. * Drivers: Partial fix for STM32 OTGFS device drivers and fix for short,
  2615. unaligned writes in the flash translation layer (drivers/mtd/ftl.c),
  2616. both from Petteri Aimonen.
  2617. * STM32 Drivers:
  2618. - Qencoder driver and TIM3 driver fixes from Ryan Sundberg.
  2619. - Fix timeout delay calculation in the STM32 OTG FS host driver.
  2620. * LPC17xx Drivers: Resources not being properly released when I2C
  2621. driver is un-initialized.
  2622. * Graphics:
  2623. - Fix logic when the mouse drags outside of the window; fix
  2624. another "blocked message" handling case (both from Petteri Aimonen).
  2625. - nxtk_filltrapwindow(): Correct an offset problem (also from Peterri
  2626. Aimonen).
  2627. - nxglib_splitline(): Correct the "fat flat line" bug.
  2628. * C Library:
  2629. - nrand() changes to prevent coefficients from becoming zero which
  2630. would "lock up" the random number generate.
  2631. - Add rounding functions to the math library (contributed by Petteri
  2632. Aimonen).
  2633. * Build system: Changes to MIN definitions in all limit.h header files
  2634. to avoid integer overflows. For example from (-128) to (-127 - 1)
  2635. (from Petteri Aimonen).
  2636. * Applications: Modbus fixes from Freddie Chopin.
  2637. As well as other, less critical bugs (see the ChangeLog for details)
  2638. NuttX-6.25
  2639. ----------
  2640. The 92nd release of NuttX, Version 6.25, was made on February 1, 2013,
  2641. and is available for download from the SourceForge website. Note
  2642. that release consists of two tarballs: nuttx-6.25.tar.gz and
  2643. apps-6.25.tar.gz. Both may be needed (see the top-level nuttx/README.txt
  2644. file for build information).
  2645. This release corresponds with SVN release number: r5595
  2646. Note that all SVN information has been stripped from the tarballs. If you
  2647. need the SVN configuration information, you should check out directly from
  2648. SVN. Revision r5595 should equivalent to release 6.25 of NuttX:
  2649. svn checkout -r5595 svn://svn.code.sf.net/p/nuttx/code/trunk nuttx-code
  2650. Or (HTTP):
  2651. svn checkout -r5595 http://svn.code.sf.net/p/nuttx/code/trunk nuttx-code
  2652. Additional new features and extended functionality:
  2653. * OS Initialization
  2654. - Removed support for CONFIG_BUILTIN_APP_START. This is not really a
  2655. useful feature and creates a violation of the OS layered
  2656. architecture.
  2657. * Task Creation:
  2658. - Implement a simple vfork(). In NuttX-6.25, this interface is
  2659. available only for ARM7/9, ARMv7-M (Cortext-M3/4), and MIPS32
  2660. (PIC32MX) platforms.
  2661. - exec() now sets the priority of the new task to the same priority as
  2662. the parent task (instead of the arbirtrary value of 50).
  2663. - New, partially complient implementations of execv() and execl().
  2664. These are only partially compliant because they do not overlay any
  2665. existing "process space" but rather create the new task and exit().
  2666. - Add a complete implementation of posix_spawn(). This standard
  2667. interface is a better match for an MMU-less architecture than are
  2668. vfork() plus execv() or execl().
  2669. - Add a task start hook that will be called before the task main
  2670. is started. This can be used, for example, to schedule C++
  2671. static constructors to run automatically in the context of the
  2672. new task.
  2673. * Task Parentage
  2674. - Repartitioned tasking data structures. All shared resources are now
  2675. collected together in a "task group". A task group includes the
  2676. original task plus all of the pthreads created by the task.
  2677. - Added support for remember the parent "task group" when a new task is
  2678. started.
  2679. - Added optional support to record the membership of each thread in
  2680. the "task group".
  2681. - Implement support for retaining child task status in the "task group"
  2682. after the child task exists. This is behavior required by POSIX.
  2683. But in NuttX is only enabled with CONFIG_SCHED_HAVE_PARENT and
  2684. CONFIG_SCHED_CHILD_STATUS
  2685. - Add internal logic to "reparent" a task. This is useful,
  2686. for example, where the child task is created through a trampoline
  2687. task that redirects I/O. Reparenting allows the caller of posix_spawn()
  2688. to be reparented for the eventual child thread.
  2689. - Added support for SIGCHLD. Sent to all members of the parent task
  2690. group when the file member of the child task group exits.
  2691. - If SIGCHLD and retention of child task exist status are enabled, then
  2692. a more spec-compliant version of waitpid() is enabled.
  2693. - New interfaces waitid() and wait() are also enabled when SIGCHLD
  2694. is enabled.
  2695. * File System
  2696. - dup() and dup2() can new be used with opened files in a mounted file
  2697. system. This supports re-direction of output in NSH to files.
  2698. - The binfs file system was moved from apps/builtin to fs/binfs. The
  2699. binfs file system was extended to support execution of "builtin
  2700. applications" using exec(), execv(), execl(), or posix_spawn().
  2701. - Added logic based on SIGCHLD to automatically unload and clean-up
  2702. after running a task that was loaded into memory.
  2703. * Binary Formats
  2704. - Much of the logic for "builtin applications" was moved from
  2705. apps/builtin to nuttx/binfmt/libbuiltin. Includes some extensions
  2706. contributed by Mike Smith.
  2707. - A binary loader was added for builtin applications to support
  2708. execution of "builtin applications" using exec(), execv(),
  2709. execl(), or posix_spawn().
  2710. * Drivers:
  2711. - Added logic to marshal and serialized "out-of-band" keyboard
  2712. commands (such as cursor controls and key release events) intermixed
  2713. with normal ASCII keypress data. The encoding is partially integrated
  2714. in the HID keyboard driver and the decoding full integrated into the
  2715. apps/examples hidkbd and keypadtest (the latter contributed by Denis
  2716. Carlikli).
  2717. - Driver for the UG-2864HSWEG01 OLED contributed by Darcy Gong.
  2718. - Add support for removable serial devices (like USB serial). This
  2719. support is enabled by CONFIG_SERIAL_REMOVABLE.
  2720. * ARMv7-M:
  2721. - Added an option to use the BASEPRI register to disable interrupts
  2722. (instead of the PRIMASK). This eliminates some innocuous hardfaults
  2723. that interfere with some debug tools. You need to switch to the
  2724. BASEPRI method only if you have such tool interference.
  2725. * STM32 Drivers
  2726. - Bring STM32 F1 DMA capabilities up to par with the STM32 F2/F4
  2727. (contributed by Mike Smith).
  2728. - Add support for USART single wire mode (Contributed by the PX4
  2729. team).
  2730. - Updates to support for SPI DMA on the STM32 F1/F2/F4. From
  2731. Petteri Aimonen.
  2732. * STM32 Boards:
  2733. - New configuration to support the UG-2864HSWEG01 OLED on the
  2734. STM32F4Discovery board.
  2735. - Added a posix_spawn() test configuration for the STM32F4Discovery.
  2736. * LM3S/LM4F
  2737. - Files and directories repartitioned to support both LM3S and LM4F
  2738. using the STM32 organization as a model.
  2739. - Partial definitions for the LM4F contributed by Jose Pablo Carballo
  2740. (this is still a work in progress).
  2741. * LM3S Boards
  2742. - Added scripts and documentation to use OpenOCD with the LM3S (from
  2743. Jose Pablo Carballo).
  2744. * LPC176x/LPC178x
  2745. - Files and directories repartitioned to support both LPC175x/LPC176x
  2746. and the LPC177x/LPC178x families using the STM32 organization as a
  2747. model. The LPC1788 port is a work in progress by Rommel Marcelo.
  2748. * LPC176x/LPC178x Boards:
  2749. - Added a configuration to support the Wave Share Open1788 board.
  2750. This is still a work in progress by Rommel Marcelo.
  2751. * LPC2148 Boards:
  2752. - Add basic support for the The0.net ZP213x/4xPA board (with the LPC2148
  2753. and the UG_2864AMBAG01 OLED).
  2754. - Add an nxlines configuration for the ZP213x/4xPA (with the LPC2148
  2755. and the UG_2864AMBAG01).
  2756. * Simulator:
  2757. - Add an nxlines configuration for the simulator.
  2758. * Networking:
  2759. - Add logic to work around delayed ACKs by splitting packets
  2760. (contributed by Yan T.).
  2761. - Split net_poll() to create the internal interface psock_poll().
  2762. * LCDs:
  2763. - Added support for LCD1602 alphanumeric LCD (HD4468OU controller).
  2764. * Graphics:
  2765. - Added 5x8 monospace font. This tiny font is useful for graph
  2766. labels and for small bitmapped display. Contributed by Petteri
  2767. Aimonen.
  2768. * Build System:
  2769. - Add an options to better manage toolchain prefixes.
  2770. - Redesigned how the context targer works in the apps/ directory.
  2771. The old design caused lots of problems when changing configurations
  2772. because there is no easy way to get the system to rebuild the
  2773. context. This change should solve most the problems and eliminate
  2774. questions like "Why don't I see my builtin application in NSH?"
  2775. * Kconfig Files:
  2776. - There are several new configurations that use the kconfig-frontends
  2777. tools and several older configurations that have been converted to
  2778. use these tools. There is still a long way to go before the conversion
  2779. is complete:
  2780. configs/sim/nxwm
  2781. configs/sim/nsh
  2782. configs/stm3220g-eval/nxwm
  2783. configs/stm32f4discovery/posix_spawn
  2784. configs/olimex-lpc1766stk/nsh
  2785. configs/olimex-lpc1766stk/hidkbd
  2786. configs/olimex-lpc1766stk/nettest
  2787. configs/open1788/ostest
  2788. configs/stm32f4discovery/nsh
  2789. configs/stm32f4discovery/usbnsh
  2790. configs/lm326965-ek (all configurations)
  2791. configs/mcu123-214x/nsh
  2792. configs/ubw32/ostest
  2793. * Tools:
  2794. - tools/kconfig.bat: Kludge to run kconfig-frontends from a DOS shell.
  2795. - tools/configure.c: configure.c can be used to build a work-alike
  2796. program as a replacement for configure.sh. This work-alike
  2797. program would be used in environments that do not support Bash
  2798. scripting (such as the Windows native environment).
  2799. - tools/configure.bat: configure.bat is a small Windows batch
  2800. file that can be used as a replacement for configure.sh in a
  2801. Windows native environment. configure.bat is actually just a
  2802. thin layer that executes configure.exe if it is available. If
  2803. configure.exe is not available, then configure.bat will attempt
  2804. to build it first.
  2805. * Applications:
  2806. - New and modified examples:
  2807. apps/examples/wlan: Remove non-functional example.
  2808. apps/examples/ostest: Added a test of vfork(). Extend signal
  2809. handler test to catch death-of-child signals (SIGCHLD). Add a
  2810. test for waitpid(), waitid(), and wait().
  2811. apps/exampes/posix_spawn: Added a test of posix_spawn().
  2812. - NSH:
  2813. NSH now supports re-direction of I/O to files (but still not from).
  2814. The block driver source argument to the mount command is now
  2815. optional for file systems that do not require a block driver.
  2816. NSH can now execute a program from a file system using posix_spawn().
  2817. Added support for a login script. The init.d/rcS script will be
  2818. executed once when NSH starts; the .nshrc script will be executed
  2819. for each session: Once for serial, once for each USB connection,
  2820. once for each Telnet session.
  2821. - Supports a new daemon that can be used to monitor USB trace outpout.
  2822. - Removed non-functional wlan example.
  2823. Bugfixes (see the ChangeLog for details). Some of these are very important:
  2824. * Tasking:
  2825. - Fixed a *critical* task exit bug. Here is the failure scenario:
  2826. (1) sched_lock() is called increments the lockcount on the current
  2827. TCB (i.e., the one at the head of the ready to run list), (2)
  2828. sched_mergepending is called which may change the task at the head
  2829. of the ready-to-run list, then (3) sched_unlock() is called which
  2830. decrements the lockcount on the wrong TCB. The failure case that
  2831. I saw was that pre-emption got disabled in the IDLE thread, locking
  2832. up the whole system.
  2833. * Signals:
  2834. - sigtimedwait() would return a bad signal number if the signal was
  2835. already pending when the function was called.
  2836. * Drivers:
  2837. - Some SD cards will appear busy until switched to SPI mode for
  2838. first time. Having a pull-up resistor on MISO may avoid this
  2839. problem, but this fix from Petteri Aimonen makes it work also
  2840. without pull-up.
  2841. * STM32 Drivers:
  2842. - STM32 FLASH driver counting error (from Freddie Chopin).
  2843. - STM32 F4 maximum SPI frequency was wrong (corrected by Petteri
  2844. Aimonen).
  2845. * STM32 Boards
  2846. - Due to cloning of untested code, the logic to control on-board
  2847. LEDs did not work on any STM32 boards.
  2848. - Serial devices number /dev/ttyS0-5 is there is a serial console,
  2849. but /dev/ttyS1-6 if there is no serial console.
  2850. * Binary Formats
  2851. - C++ static constructors execute now using a start taskhook
  2852. so that they execute in the context of the child task (instead
  2853. of in the context of the parent task).
  2854. * File Systems:
  2855. - Several FAT-related bugs fixed by Petteri Aimonen.
  2856. * Networking:
  2857. - Fix poll/select issure reported by Qiang: poll_interrupt() must call
  2858. net_lostconnection() when a loss of connection is reported. Otherwise,
  2859. the system will not remember that the connection has been lost and will
  2860. hang waiting on a unconnected socket later.
  2861. - Similar issues corrected for recvfrom() and send().
  2862. - Telnetd would hang in a loop if recv() ever returned a value <= 0.
  2863. * Libraries:
  2864. - fread() could hang on certain error conditions.
  2865. - Can't handle SYSLOG output to a character device from the IDLE task
  2866. (because the IDLE task can't block).
  2867. * Build System:
  2868. - Serial was driver was not being built if there is no console
  2869. device. Obviously, the serial driver may be needed even in
  2870. this case.
  2871. * Additional Bugfixes:
  2872. - sig_timedwait() and clock_time2ticks.c: Timing "rounding" logic
  2873. - ARM9 Compilation issue with low vectors.
  2874. - readline() return value
  2875. - Others as detailed in the ChangeLog: HID keyboard, LPC17xx bit
  2876. definitions, strndup(), PL2303, SYSLOG error handling, AT25,
  2877. apps/examples.
  2878. NuttX-6.26
  2879. ----------
  2880. The 93rd release of NuttX, Version 6.26, was made on March 15, 2013,
  2881. and is available for download from the SourceForge website. Note
  2882. that release consists of two tarballs: nuttx-6.26.tar.gz and
  2883. apps-6.26.tar.gz. Both may be needed (see the top-level nuttx/README.txt
  2884. file for build information).
  2885. This release corresponds with SVN release number: r5745
  2886. Note that all SVN information has been stripped from the tarballs. If you
  2887. need the SVN configuration information, you should check out directly from
  2888. SVN. Revision r5745 should equivalent to release 6.26 of NuttX:
  2889. svn checkout -r5745 svn://svn.code.sf.net/p/nuttx/code/trunk nuttx-code
  2890. Or (HTTP):
  2891. svn checkout -r5745 http://svn.code.sf.net/p/nuttx/code/trunk nuttx-code
  2892. Additional new features and extended functionality:
  2893. * OS Initialization:
  2894. - Add an additional call-out to support board-specific driver
  2895. initialization during the boot-up phase (available with
  2896. CONFIG_BOARD_INITIALIZE=y).
  2897. * Tasking:
  2898. - New interface task_spawn() that is like posix_spawn(), but uses
  2899. entry point addresses like task_create().
  2900. - Additional data restructuring as a continuation of the task group
  2901. changes of NuttX 6.25. These data structures were moved from the
  2902. TCB structure into the task group: pthread join data,
  2903. atexit/on_exit callbacks, waitpid data structures, and message
  2904. queues.
  2905. - TCBs for tasks and pthreads are now separate structures. This
  2906. saves a little memory since tasks do not have to carry the overhead
  2907. for threads and vice versa.
  2908. * Kernel Build:
  2909. - Extensive changes were made to support the kernel build mode. In
  2910. this mode, NuttX is built as a monolithic kernel. NuttX is built
  2911. as a separate kernel mode "blob" and the applications are built
  2912. as a separate user mode "blob". The kernel runs in kernel mode and
  2913. the applications run in user mode (with the MPU restricting user
  2914. mode accesses). Access to the kernel from the user blob is only
  2915. via system calls (SVCalls).
  2916. - Extensive changes were made to the syscall, SVCall, and trapping
  2917. logic. Many internal interfaces were renamed.
  2918. - The memory manager was extended to support both kernel- and user-
  2919. mode allocations. Logic within the kernel needs to use the
  2920. correct kernel- or user-space allocator, depending upon the user
  2921. of the allocated memory.
  2922. - The user-space blob now contains a header built in at the beginning
  2923. of the block that provides the same information that was previously
  2924. provided by a kludgy, auto-generated header file (user_map.h).
  2925. - Basic support implemented for the ARMv7-M family with fragments
  2926. also implemetned for the ARMv6-M and MIPS32 families.
  2927. - Kernel build supported added for the LPC17xx Open1788 and for
  2928. the Atmel SAM3U-EK board. All testing is being performed on the
  2929. Open1788 board.
  2930. * Signals:
  2931. - Delivery of signals to threads within a task group is now compatible
  2932. with the way that signals are delivered to threads within a process.
  2933. * Drivers:
  2934. - Add a driver for the SST29VF NOR FLASH parts.
  2935. - USB device trace/debug feature extended to decode device-specific
  2936. trace events to make the trace output more readable (from Petteri
  2937. Aimonen).
  2938. - USB MSC device driver can not support names of differing sizes
  2939. in the USB descriptor and the SCSI fields (from Petteri Aimonen).
  2940. - Locking added to MMC/SD SPI drivers so that MMC/SD can co-exist on
  2941. the same bus as other SPI devices. Frequency is reset each time
  2942. that the MMC/SD SPI has the bus locked. (from Petteri Aimonen).
  2943. * ARMv6-M (Cortex-M0):
  2944. - Added support for the ARM Cortex-M0 family.
  2945. * nuvoTon NUC120:
  2946. - Added support for the nuvoTon NUC120 MCU (Cortex-M0).
  2947. * nuvoTon NUC120 Boards:
  2948. - Added basic support for the nuvoTon NuTiny-SDK-NUC120 board (Cortex-M0).
  2949. * LPC17xx:
  2950. - Added support for the LPC177x and LPC178x families. Most of this is
  2951. the work of Rommel Marcelo.
  2952. * LPC17xx Boards:
  2953. - Added support for Zilogic System's ARM development Kit, ZKIT-ARM-1769.
  2954. From Rashid.
  2955. - The port for the WaveShare Open1788 board is now functional. Basic
  2956. OS test and NuttShell (NSH) configurations are functional. More
  2957. driver development and testing is needed (from Rommel Marcelo).
  2958. * LPC17xx Drivers:
  2959. - Added an SD card MSI driver for the LPC178x. The driver is marginally
  2960. functional but requires DMA capability to be reliable.
  2961. * STM32
  2962. - Support extended to handle the STM32 F3 family (Cortex-M4 with F1-like
  2963. peripherals).
  2964. * STM32 Boards
  2965. - Added support the STMicro STM32F3Discovery board (STM32 F3).
  2966. * Stellaris LM3S/LM4F
  2967. - Basic support for the LM4F120 family is in place, but untested (mostly
  2968. from Jose Pablo Carballo).
  2969. * Stellaris LM4F Boards
  2970. - Add support for the LM4F120 LaunchPad (untested).
  2971. * Networking:
  2972. - select() should now allocate a little less memory.
  2973. * Memory Management:
  2974. - Extended to support multiple heaps. This is used as part of
  2975. the kernel build in order to support separater user- and
  2976. kernel-mode heaps.
  2977. - The stand-alone memory manger test had to be removed. It
  2978. was too entangled and made extension of the memory manager
  2979. nearly impossible. This is a loss.
  2980. * Build System:
  2981. - Several configurations converted to use the kconfig-frontends
  2982. configuration tool. There are still many more that need to
  2983. be converted.
  2984. * C Library:
  2985. - Move the workqueue logic into the C library. There is now a
  2986. special user-space version of the work queue (which will only
  2987. be used with a NuttX kernel build).
  2988. - Implementation of itoa() contributed by Ryan Sundberg.
  2989. * Applications:
  2990. - The NSH builtin task logic now uses task_spawn() to start builtin
  2991. applications.
  2992. - The OS test now includes a test cased to verify task_restart().
  2993. Efforts In Progress. The following are features that are partially
  2994. implemented but present in this release. Most are expected to be fully
  2995. available in NuttX 6.27.
  2996. * LM4F120 LaunchPad port. Code is in place, but nothing has been tested.
  2997. * WaveShare Open1788 port. This port as actually complete and
  2998. functional. However, there is still ongoing development and
  2999. testing of drivers.
  3000. * Kernel Build. Much progress has been made, but there kernel build is
  3001. not yet fully functional due to several user resources that are not yet
  3002. properly disentangled from the kernel blob.
  3003. * Conversion of old configurations to use the kconfig-frontends
  3004. tool is an ongoing effort that will continue for some time.
  3005. Bugfixes (see the ChangeLog for details). Some of these are very important:
  3006. * Tasking:
  3007. - The wrong PID was being signalled with SIGCHILD. It should be
  3008. the PID of the task that create the task group, not the ID of
  3009. the last thread to leave the task group.
  3010. - Added logic so that some internal resources and states are recovered
  3011. when tasks are deleted or restarted. Handle cases where there are
  3012. outstanding timed events pending when tasks are deleted or restarted.
  3013. * ARMv7-M:
  3014. - Several fixes to the MPU control logic.
  3015. * Drivers:
  3016. - Removable serial drivers race conditions fixed.
  3017. - MAX11802 timing bug (from Petteri Aimonen).
  3018. * STM32 Drivers:
  3019. - Handle cases were SPI DMA logic fails if sem_wait is awakened
  3020. by a signal. Need to clear error flags to prevent corruption of
  3021. subsequent transfers. Also, bit count should not be changed while
  3022. the SPI peripheral is enabled (from Petteri Aimonen).
  3023. - Fixes to the OTG FS device driver from Petteri Aimonen.
  3024. - Fix typos in DMA register header file (from Yan T.)
  3025. * Graphics:
  3026. - Correction to the hyphen in the SANS 17x22 font (from Petteri
  3027. Aimonen).
  3028. * Networking:
  3029. - Corrected errors in the socket poll/select logic. Additional
  3030. state logic was needed to detect if the socket is still connected
  3031. before starting the poll wait. (bug reported by Qiang Yu).
  3032. * Memory Management:
  3033. - mallinfo() should hold the memory manager semaphore (from Petteri
  3034. Aimonen.
  3035. * Build System:
  3036. - Resolved several build errors reported by Mike Smith.
  3037. * Applications:
  3038. - Fixed an NSH memory leak: Needed to detach after creating each
  3039. pthread.
  3040. - readline() now returns EOF on any failure (instead of a negated
  3041. errno value). This is because the underlying read is based on
  3042. logic similar to getc. The value zero (meaning end-of-file)
  3043. was being confused with a NUL. So if a NUL was received, the
  3044. NSH session would terminate because it thought it was the end of
  3045. file.
  3046. NuttX-6.27
  3047. ----------
  3048. The 94th release of NuttX, Version 6.27, was made on April 28, 2013,
  3049. and is available for download from the SourceForge website. Note
  3050. that release consists of two tarballs: nuttx-6.27.tar.gz and
  3051. apps-6.27.tar.gz. Both may be needed (see the top-level nuttx/README.txt
  3052. file for build information).
  3053. Additional new features and extended functionality:
  3054. * OS Initialization:
  3055. - Add missing registration of /dev/zero. Registration of /dev/null
  3056. should depend upon conditional compilation. From Ken Pettit.
  3057. * Tasking:
  3058. - Added a new interface to set aside memory on the task's stack. This
  3059. is used (at least in the kernel build) to hold task arguments.
  3060. - Remove up_assert_code(). One assertion routine is enough.
  3061. * Kernel Build:
  3062. - Extensive changes were made to support the kernel build mode. In
  3063. this mode, NuttX is built as a monolithic kernel. NuttX is built
  3064. as a separate kernel mode "blob" and the applications are built
  3065. as a separate user mode "blob". The kernel runs in kernel mode and
  3066. the applications run in user mode (with the MPU restricting user
  3067. mode accesses). Access to the kernel from the user blob is only
  3068. via system calls (SVCalls).
  3069. - Kernel build configurations for the Open1788 board and for the
  3070. STM32F4Discovery now execute correctly.
  3071. - Changes were made to task and thread start-up routines, signal
  3072. handling, data structures, ARMv7-M SVCalls, stack management
  3073. interfaces,
  3074. * Drivers:
  3075. - Driver for the ST7567 LCD Display Module from Univision Technology
  3076. Inc. Contributed by Manikandan.S
  3077. - SPI initialize functions renamed so that multiple SPI blocks can
  3078. be initialized.
  3079. - Extended to support the RAMTRON FM25V01 device. Contributed by
  3080. Lorenz Meier
  3081. - Serial drivers: TIOCSERGSTRUCT ioctls now conditioned on
  3082. CONFIG_SERIAL_TIOCSERGSTRUCT
  3083. * ARMv7-M (Cortex-M3/4):
  3084. - Added support for modifiable interrupt vectors in RAM
  3085. * nuvoTon NUC1xx:
  3086. - Added kernel build support
  3087. * Freescale Kinetis:
  3088. - Add kernel build support
  3089. - Add support for the Kinetis L family of Cortex-M0+ MCUs. Contributed
  3090. by Alan Carvalho de Assis.
  3091. * LPC17xx:
  3092. - Now holds off sleep mode in the IDLE loop is DMA is in progress
  3093. (because sleep mode will disable CPU SRAM).
  3094. * LPC17xx Boards:
  3095. - ZKIT-ARM-1769: Now supports the ST7567 LCD display module. Added
  3096. an nxhello configuration for testing (Manikandan.S).
  3097. - ZKIT-ARM-1769: Add support for both CAN1 and CAN2. Contributed by
  3098. M.Kannan
  3099. - Open1788: Basic support for the WaveShare Open1788 board is complete
  3100. with working OS test, NSH, and graphics configurations.
  3101. - Open1788: Integrated the LPC178x LCD driver with the WaveShare display.
  3102. Touchscreen support is included, howerver, there appears to be an
  3103. issue with the Open1788 touchscreen interrupt signal.
  3104. - Open1788: Now supports SDRAM (used to provide the LCD framebuffer).
  3105. - Open 1788: Reversed sense of the IDLE LCD. It is now off when the
  3106. LPC17 is sleeping and on when awake. That is much a better visual
  3107. indication of the dynamic CPU load
  3108. * LPC17xx Drivers:
  3109. - Added an LCD framebuffer driver for the LPC177x/8x family.
  3110. - Implemented LPC17xx GPDMA support.
  3111. - Integrated the LPC17xx GPDMA support into the SD card driver.
  3112. - SSP driver adapted to work with the LPC178x family.
  3113. - Separate LPC176x and LPC178x GPIO logic; this logic is too different
  3114. to maintain in one file with conditional compilation.
  3115. - Re-design of the GPIO logic for the LPC178x family by Rommel Marcelo.
  3116. * LPC43xx:
  3117. - Added kernel build support
  3118. * STM32:
  3119. - Added support for kernel mode build.
  3120. - Added architecure support for the STM32 F427/F437 chips. Contributed
  3121. by Mike Smith
  3122. * STM32 Boards:
  3123. - Added a configuration to support a kernel mode build of the OS test
  3124. on the STM32F4Discovery
  3125. * Stellaris LM3S/LM4F:
  3126. - Added kernel build support
  3127. - Added support for the 7 UARTs on the LM4F120
  3128. * Stellaris LM4F Boards:
  3129. - Added scripts and instructions to simplify use of OpenOCD with ICDI
  3130. (JP Carballo)
  3131. - The basic for the Stellaris LM4F120 Launchpad is complete. This
  3132. includes support for OS test and NSH configurations. Additional
  3133. driver development is needed.
  3134. * Build System:
  3135. - Directories where the same sources files are used to build different
  3136. objects in the first and second pass kernel builds need to keep those
  3137. objects in separate directories so that they are not constantly
  3138. rebuilt.
  3139. * Applications:
  3140. - apps/system/ramtest: Add a simple memory test that can be built
  3141. as an NSH command.
  3142. * Tools:
  3143. - kconfig2html is a new tool which will replace the hand-generated
  3144. documentation of the NuttX configruation variables with auto-
  3145. generated documentation.
  3146. Efforts In Progress. The following are features that are partially
  3147. implemented but present in this release. Most are expected to be fully
  3148. available in NuttX 6.28.
  3149. * A port to the Freescale Freedom KL25Z is complete but not yet stable
  3150. enough. The KL25Z is a low-cost Cortex-M0+ part with 128KB of FLASH
  3151. and 16KB of SRAM. This is is the effort of Alan Carvalho de Assis.
  3152. * Conversion of old configurations to use the kconfig-frontends
  3153. tool is an ongoing effort that will continue for some time.
  3154. At this time, only 32% of the configurations have been converted
  3155. to use the kconfig-frontends tools.
  3156. Bugfixes (see the ChangeLog for details). Some of these are very important:
  3157. * Tasking:
  3158. - Fixed a critical bug: When there is pending C buffered output
  3159. and the system is very busy, the a pthread may be blocked at
  3160. a critical point when trying to exit. Blocking at this critical
  3161. point would cause crashes. All entire task/thread exit logic
  3162. paths were reviewed and failsafe mechanisms were put in place
  3163. to assure that exitting tasks never block after task teardown
  3164. has been started.
  3165. * ARMv6-M:
  3166. - Fixed parameter passing for all system call inline functions with > 3
  3167. parameters
  3168. - Fixed a major problem: The Cortex-M0 has no BASEPRI register but the
  3169. logic of NuttX-6.26 was using it to manage interrupts. Switch to
  3170. using the PRIMASK instead. This means that hardfaults will (again)
  3171. occur when SVC instructions are executed
  3172. * ARMv7-M:
  3173. - Corrected Correct MPU sub-region settings for unaligned regions.
  3174. - In exception handling with CONFIG_NUTTX_KERNEL, need to explicitly
  3175. set and clear the privilege bit in the CONTROL
  3176. - Fixed parameter passing for all system call inline functions with > 3
  3177. parameters
  3178. * Drivers:
  3179. - Support for O_NONBLOCK was not supported in the "upper half"
  3180. serial driver.
  3181. - PL2303 compilation errors
  3182. * Stellaris LM3S/4F:
  3183. - Corrected typos in alternate function definitions.
  3184. * LPC17xx Drivers:
  3185. - Added a work-around for an ADC errata. From Chris Taglia
  3186. - Only one ADC pin was configured. Need to configure all that
  3187. are in the ADC0 set. From MKannan
  3188. * File Systems:
  3189. - The FAT logic was not making a distinction between directory
  3190. non-existence and file non-existence so when it you try to
  3191. create a file in a non-existent directory, it would create a
  3192. file with the name of the missing directory. Reported by Andrew
  3193. Tridgell
  3194. - Several fixes to the FAT file system from Ronen Vainish. These
  3195. fixes mostly involve the logic to extend directory clusters for
  3196. the case of long file names but also include a few important
  3197. general fixes (such as for storing 32 bit FAT values)
  3198. - mkfatfs was writing the boot code to the wrong location. From
  3199. Petteri Aimonen
  3200. * Networking:
  3201. - Fixed a compilation error when socket options are are disabled.
  3202. Reported by Daniel O'Connor
  3203. * C Library:
  3204. - Corrected an error in sscanf. If %n occurs in the format statement
  3205. after the input data stream has been fully parsed, the %n format
  3206. specifier will not be handled. Reported by Lorenz Meier
  3207. - strchr(str, '\0') should return a pointer to the end of the string,
  3208. not NULL. From Petteri Aimonen
  3209. * Build System:
  3210. - Fix naming of NuttX target if EXEEXT is defined.
  3211. * Applications:
  3212. - OS test: Fix timing error in non-cancelable thread test.
  3213. - NSH: Correct the test of the skip input parameter. Was limiting the
  3214. range to <= count. From Ken Petit.
  3215. NuttX-6.28
  3216. ----------
  3217. The 95th release of NuttX, Version 6.28, was made on June 14, 2013,
  3218. and is available for download from the SourceForge website. Note
  3219. that release consists of two tarballs: nuttx-6.28.tar.gz and
  3220. apps-6.28.tar.gz. Both may be needed (see the top-level nuttx/README.txt
  3221. file for build information).
  3222. Additional new features and extended functionality:
  3223. * File Systems:
  3224. - SMART FLASH file system (contributed by Add Ken Pettit).
  3225. * MTD (FLASH) Drivers:
  3226. - Add support of MTD partitions via a new MTD driver that manages a
  3227. set of MTD devices, each managing a subset of the FLASH region
  3228. managed by the parent MTD driver.
  3229. - Extended the MTD interface to provide an (optional) method to
  3230. perform byte oriented writes if supported by the FLASH part.
  3231. - M25Px driver re-architected to use the byte write capability (when
  3232. possible) and to use 4KB sectors for the erase block size when the
  3233. part supports it (from Ken Pettit).
  3234. * LCD Drivers:
  3235. - New interface definitions to support audio devices (from Ken Pettit)
  3236. and alphanumeric, segment LCDs.
  3237. * Wireless Drivers:
  3238. - Added new driver for the wireless nRF24L01+ transceiver (from
  3239. Laurent Latil).
  3240. * Calypso:
  3241. - Added support for the Pirelli DP-L10 phone (from Craig Comstock via
  3242. Alan Alan Carvalho de Assis)
  3243. * STM32:
  3244. - Added an option to conditionally disable the "wfi" sleep mode. This
  3245. is needed with certain JTAG debuggers to to prevent the debug
  3246. session from begin disconnected (from Ken Pettit).
  3247. - Added support for the STM32L (STM32L15X/STM32L16x) family.
  3248. - Added STM32F103C4 and F103C8 chip support (from Laurent Latil).
  3249. - Added a new interface function, stm32_dmacapable() that can be used
  3250. to determine if DMA is possible from the specified memory address
  3251. (from Petteri Aimonen)
  3252. * STM32 Drivers:
  3253. - If CONFIG_STM32_DMACAPABLE is defined, the STM32 SPI driver now uses
  3254. stm32_dmacapable() to determine if it is possible to perform DMA
  3255. from the specified address. This change is important for the STM32
  3256. F4 which may have SPI data buffers allocated on the stack in CCM
  3257. memory which cannot support the DMA (from Petteri Aimonen).
  3258. * STM32 Boards:
  3259. - Support added for the MikroElektronika Mikromedia for STM32F4
  3260. development board (from Ken Pettit) with the MIO283QT2 LCD and
  3261. touchscreen. Several graphics configurations are included.
  3262. - The HY-mini STM32v board now uses the common SSD1289 driver
  3263. and supported the card detect interrupt. Several new
  3264. configurations also added and some removed (from Laurent Latil).
  3265. - Support added for the R65105-based LCD that comes with some
  3266. HY-Mini STM32v boards (from Christian Faure).
  3267. - Added basic support for the STM32L-Discovery board. Drivers
  3268. for the on-board segment LCD are included.
  3269. - Added support for the STM32 Tiny development board based on the
  3270. STM32 F103C8T6 MCU. This includes support for the nRF24L01+
  3271. wireless on the board (from Laurent Latil).
  3272. * Stellaris LM3S/LM4F:
  3273. - Support added for a TI/Stellaris internal FLASH MTD driver (from Max
  3274. Holtzberg).
  3275. * Stellaris LM4F Boards:
  3276. - The LM3S6965-EK now has configurations for the UDP discovery tool and
  3277. for the TCP echo server (both from Max Holtzberg)
  3278. * Atmel ATSAM3/4:
  3279. - Reorganized, renamed, and updated directory structure to better
  3280. support additional members of the SAM3/4 family.
  3281. - Added support for both the ATSAM4S and ATSAM4L families. The
  3282. ATSAM4S is similar to the ATSAM3U, but the ATSAM4L is quite a
  3283. different beast, really much more akin to the AVR32s SoCs but
  3284. with a Cortex-M4.
  3285. * Atmel ATSAM3/4 Boards:
  3286. - Added support for the Atmel SAM4L Xplained Pro development board.
  3287. This board features the ATSAM4LC4C MCU (Cortex-M4 with 256KB FLASH +
  3288. 32KB SRAM).
  3289. - Added support for the Atmel SAM4S Xplained developement board. This
  3290. board features the ATSAM4S16C MCU (Cortex-M4 with 1MB FLASH + 128KB
  3291. SRAM).
  3292. * PIC32MX Boards:
  3293. - Added support for the 1602 segment LCD on-board the Sure PIC32MX
  3294. board. This board will now also support a USB NuttX console and
  3295. the USB monitor test program.
  3296. * Build System:
  3297. - Clean-up of almost all .gitignore files: Made scope of ignore to be
  3298. only the current directory; Ignore .dSYM files in directories where
  3299. .exe's may be built. Also, in Makefiles, clean .dSYM files in
  3300. directories where an .exe may be built.
  3301. - Standardize and consolidated all build-as-an-NSH-application
  3302. configuration settings. Now only CONFIG_NSH_BUILTIN_APPS is
  3303. sufficient to build an application, test, or or example as an NSH
  3304. builtin application.
  3305. - Added support for a generic ARM, ARMv6-M and ARMv7-M Windows EABI
  3306. toolchains.
  3307. * Libraries:
  3308. - Added encoder/decoder logic to marshal and serialize special segment
  3309. LCD (SLCD) commands intermixed with normal ASCII data. This is the
  3310. similar to the encoding/decoding logic that is used to marshal
  3311. special commands from a keyboard.
  3312. - Add dprintf() and vdprintf() (the latter from Andrew Tridgell).
  3313. - Add an application that may be built as an NSH builtin command that
  3314. will erase FLASH using a flash_eraseall NSH command (from Ken Pettit).
  3315. * Applications:
  3316. - Added an MTD partition test/examples. Currently used with (1) the a
  3317. simulation configuration to test MTD partitions on a RAM emulation
  3318. of FLASH and (2) with the Mikroe STM32F4 configuration.
  3319. - Added a test/example to verify alphanumeric, segment LCDs.
  3320. - Added a simple single threaded, poll based TCP echo server based
  3321. on W. Richard Stevens UNIX Network Programming Book (from Max
  3322. Holtzberg).
  3323. - Added several tests of the SMART block driver and file system (from
  3324. Ken Pettit).
  3325. - Added a runtime configuration for the UDP discover utility (from
  3326. Max Holtzberg).
  3327. - Added an example application to demo the nRF24L01 driver (from
  3328. Laurent Latil).
  3329. - New and modified NSH commands:
  3330. Added a -h option to the df command to show the volume information
  3331. in human readable form (from Ken Petit).
  3332. Add a new mksmartfs command (from Ken Petit).
  3333. Efforts In Progress. The following are features that are partially
  3334. implemented but present in this release. Most are expected to be fully
  3335. available in NuttX 6.28.
  3336. * Audio System:
  3337. - A complete audio subsystem include CODECs, higher level management,
  3338. interface definitions, and audio drivers was contributed by Ken
  3339. Pettit. This work has not been completely verified as of this
  3340. release and so is categorized as a work-in-progress. At present,
  3341. progress is blocked due to issues interfacing with the VS1053
  3342. audio DAC on the Mikroe STM32F4 board.
  3343. * kconfig-fronted Configuration:
  3344. - Conversion of old configurations to use the kconfig-frontends
  3345. tool is an ongoing effort that will continue for some time.
  3346. At this time, only 43% of the configurations have been converted
  3347. to use the kconfig-frontends tools.
  3348. Bugfixes (see the ChangeLog for details). Some of these are very important:
  3349. * Tasking:
  3350. - Modify assertion in the priority inheritance logic that is reported
  3351. to cause false alarm assertions.
  3352. * Kernel Build:
  3353. - Typo in syscall proxying logic corrected by Ken Pettit.
  3354. * Networking:
  3355. - Poll setup/teardown logic should ignore invalid (i.e., negative)
  3356. file descriptors (from Max Holtzberg).
  3357. - When readahead data is available, the network poll() logic should
  3358. set POLLIN (or POLLRDNORM), not POLLOUT (from Max Holtzberg).
  3359. * LCD Drivers:
  3360. - Correct power controls in the MIO283QT2 LCD driver.
  3361. * USB Device Controller Drivers:
  3362. - Change the default IN request buffer size from 64 to 96. This will
  3363. avoid requests of exactly MAXPACKET size and, hence, avoid so many
  3364. NULL packets. Also, fix the OUT request buffers size to exactly the
  3365. max packet size. It really cannot be any other size.
  3366. * STM32 Drivers:
  3367. - Correct some bad STM32 F1 DMA definitions that crept into the system
  3368. a few months ago a broke STM32 F1 DMA (from Laurent Latil)
  3369. - Fixed an error in NULL packet handling in the STM32 F1 USB device
  3370. controller driver: If the NULL-packet needed flag ever got set,
  3371. then it was not being cleared and infinite NULL packets resulted.
  3372. This only affects the CDC/ACM class and was the cause of the
  3373. failures using the USB CDC/ACM device as a NuttX console. With this
  3374. change the USB works well as an alternative NuttX console device for
  3375. the STM32 F1 family.
  3376. - Correct some bad condition compilation in the RCC logic (CONFIG_
  3377. missing from setting names). This affects some STM32 FLASH pre-
  3378. fetch settings (from Lorenz Meier).
  3379. - Change for hardware flow control support for STM32. The change also
  3380. fixes incorrect operation of USART2 and UART5 in current master
  3381. (from Lorenz Meier and Mike Smith).
  3382. - Fixed a backward conditional in USB OTG FS host controller driver
  3383. that prevented detection of disconnection events (from Scott).
  3384. * LPC17xx Drivers:
  3385. - I2C interrupt control. Also correction for a single byte read
  3386. timeout error (from M. Kannan).
  3387. * Freescale Kinetis:
  3388. - Freedom KL25Z pin multiplexing and LED control corrections (from
  3389. Alan Carvalho de Assis)
  3390. * PIC32MX:
  3391. - Fix NULL packet handling in the PIC32 USB device driver. Without
  3392. this fix the CDC/ACM driver cannot be used reliably with the PIC32
  3393. USB. With this change the USB works well as an alternative NuttX
  3394. console device.
  3395. * Graphics:
  3396. - Default priorities for NxWidget and NxWM threads should be 100,
  3397. not 50, to be consistent with other default priorities.
  3398. * Applications:
  3399. - Remove the CONFIG_EXAMPLES_NXTEXT_NOGETRUN option from the NXTEXT
  3400. example. The test logic was bad for the case where this options is
  3401. not selected. Also, completed the empty Kconfig file.
  3402. - C++ name mangling was occurring when this example is built as an NSH
  3403. built-in application causing the entry to be undefined when called
  3404. from C code.
  3405. - Add some missing NSH library configuration values (from Lorenz
  3406. Meier).
  3407. NuttX-6.29
  3408. ----------
  3409. The 96th release of NuttX, Version 6.29, was made on July 31, 2013,
  3410. and is available for download from the SourceForge website. Note
  3411. that release consists of two tarballs: nuttx-6.29.tar.gz and
  3412. apps-6.29.tar.gz. Both may be needed (see the top-level nuttx/README.txt
  3413. file for build information).
  3414. Additional new features and extended functionality:
  3415. * Drivers:
  3416. - Generalized the SSD1306 driver and added support UG-2832HSWEG04
  3417. which is very similar to the existing support for the
  3418. UG-2864HSWEG01.
  3419. - Added support for a generic bit-bang SPI driver. This includes
  3420. both a common "upper half" driver as well as a platformp-specific
  3421. "lower half" dirvers based on a common "template."
  3422. * ARMv7-A, Cortex-A5
  3423. - Added support for the ARMv7-A architecture and the Cortex-A5 in particular.
  3424. * ARMv7-M, Cortex-M3/4
  3425. - Modified how some registers are copied during a context switch (with
  3426. lazy FPU register saving). This should save some context switching
  3427. time when the context switch is due to interrupt level processing.
  3428. * STM32:
  3429. - Added support for a separate CCM heap. This may be useful for
  3430. segregating allocations for CCM (which cannot be used for DMA)
  3431. from other allocations (that may be used used for DMA).
  3432. * STM32 Drivers:
  3433. - DAC: Added support for DAC DMA (contributed by John Wharington).
  3434. - I2C: An I2C driver for the STM32 F3 family (from John Wharington).
  3435. * Atmel AT91 SAM/4:
  3436. - Add support for SAM3X and SAM3A chips
  3437. * Atmel AT91 SAM/4 Drivers:
  3438. - Re-architect the SAM3/4 SPI driver so that is it compatible with the
  3439. SPI drivers of other MCUs.
  3440. - Added register definition file for the SAM4L LCD peripheral.
  3441. - Added SAM4L PDCA register definition file
  3442. * Atmel AT91 SAM/4 Boards:
  3443. - SAM4L-Xplained: Added support for the SPI-based SD card on the I/O1
  3444. module.
  3445. - SAM4L-Xplained: Added a driver for the LED1 segment LCD module.
  3446. - SAM4L-Xplained: Added support for the UG-2832HSWEG04 OLED on the
  3447. SAM4L Xplained Pro's OLED1 module
  3448. - SAM4S-Xplained: Added support for on-board 1MB SRAM
  3449. - Arduino Due: Basic support for the Arduino Due (SAM3X) is now
  3450. included.
  3451. - SAM3U-EK: The touchscreen is now functional.
  3452. * Atmel AT91 SAMA5D3
  3453. - Added support for the Atmel AT91SAMA5D3 Cortex-A5 chip family.
  3454. * Atmel AT91 SAMA5D3 Boards
  3455. - Added support for the Atmel SAMA5D3x-EK boards which use the AT9
  3456. SAMA5D3x chips (x=1,3,4,5).
  3457. * Freescale KL25Z Drivers
  3458. - Freescale KL25Z TSI register definitions and example TSI driver for
  3459. the Freedom KL25Z board from Alan Carvalho de Assis.
  3460. - Added SPI driver and register definitions for the Freescale KL25Z.
  3461. - Added a framework for controlling SPI-related discrete inputs and
  3462. outputs. Taken from work by Alan Carvalho de Assis
  3463. * Build System:
  3464. - New sub-directories to hold SPI-related files: includes/nuttx/spi.h
  3465. moved to include/nuttx/spi/.; SPI-related Kconfig info moved from
  3466. drivers/Kconfig to drivers/spi/kconfig.
  3467. - Finally... I changed the naming of configuration variables like
  3468. CONFIG_DRAM_ to CONFIG_RAM_. This has bothered me for a long time
  3469. since most boards don't have DRAM. The more generic RAM naming
  3470. should not produce so much cognitive dissonance
  3471. * Libraries:
  3472. - Added CRC16 support.
  3473. * Applications:
  3474. - Added Zmodem file transfer support. This may be used as an embedded
  3475. library or may be built as 'sz' and 'rz' commands that can be
  3476. executed from NSH.
  3477. - C++ initializers should be set once and, preferably, in the context
  3478. of the task that uses any C++ statically initialized classes. This
  3479. only becomes an issue if cxxtest or helloxx are built as NSH builtin
  3480. applications. Then you want the initialization done in cxxtext or
  3481. helloxx and not in NSH (and certainly not twice). Added
  3482. configuration options to control who does the C++ initialization.
  3483. NSH now does not do C++ initialization be default and must be
  3484. configured to do otherwise. Conversely, cxxtest and helloxx
  3485. will always do C++ initialization unless configured do otherwise.
  3486. - examples/cxxtext: Add ostream test as provided by Michael.
  3487. - NSH: Added a 'cmp' command that can be used to compare two files
  3488. for equivalence. Returns an indication if the files differ.
  3489. Contributed by Andrew Tridgell (via Lorenz Meier).
  3490. Efforts In Progress. The following are features that are partially
  3491. implemented but present in this release. They are not likely to be
  3492. completed soon.
  3493. * Audio System:
  3494. - A complete audio subsystem include CODECs, higher level management,
  3495. interface definitions, and audio drivers was contributed by Ken
  3496. Pettit. This work has not been completely verified as of this
  3497. release and so is categorized as a work-in-progress. At present,
  3498. progress is blocked due to issues interfacing with the VS1053
  3499. audio DAC on the Mikroe STM32F4 board.
  3500. * kconfig-fronted Configuration:
  3501. - Conversion of old configurations to use the kconfig-frontends
  3502. tool is an ongoing effort that will continue for some time.
  3503. At this time, only 45% of the configurations have been converted
  3504. to use the kconfig-frontends tools.
  3505. Bugfixes (see the ChangeLog for details). Some of these are very important:
  3506. * File Systems:
  3507. - Fixed compilation error if no file systems are enabled: Change
  3508. error to ERROR.
  3509. - Read-Ahead/Write buffering: Correct typos that can cause failures
  3510. in some configurations (From Chia Cheng Tsao).
  3511. * Drivers
  3512. - Remove the wait for the touchscreen busy bit in the ADS7843E driver.
  3513. From my reading of the ADS7843 spec, it would not be appropriate to
  3514. wait for the BUSY bit to de-asserted anyway (since it is only de-
  3515. asserted when we read the data). Most boards do not even bother to
  3516. provide the BUSY bit.
  3517. - MMC/SD SPI based driver: Driver needs to make sure that the SPI
  3518. mode and data width are correct.
  3519. - ENC28J60: Change buffer ordering to work around Errata. From Dave
  3520. (ziggurat29).
  3521. * USB Device Controller Drivers:
  3522. - Fixed a typo in the composite device driver unitialization logic.
  3523. DEV1 should be DEV2 in one case.
  3524. - usbdev.h: Fix some typos that cause compiler errors when
  3525. CONFIG_USBDEV_DMA and CONFIG_USBDEV_DMAMEMORY are selected (From
  3526. Chia Cheng Tsao).
  3527. * ARM9:
  3528. - Fix a bug (uninitialized register error) that crept in the ARM9
  3529. boot-up code several years ago. Obviously no one has used the
  3530. ARM9 NuttX port for years!
  3531. * STM32 Drivers:
  3532. - Fix STM32 OTF FS endpoint allocation logic. Apparently the same
  3533. endpoint can be allocated as both an IN or an OUT endpoint. The
  3534. existing implementation only supported one allocation, either IN or
  3535. OUT. This resulted in failures to allocate endpoints when used with
  3536. the CDC/ACM + MSC composite driver (From Chia Cheng Tsao).
  3537. - SDIO: Add support for the data block end (DBCKEND) interrupt to
  3538. terminate transfers (From Chia Cheng Tsao).
  3539. - DAC: Fixed numerous DAC driver errors and added support for DAC
  3540. DMA (contributed by John Wharington).
  3541. * SAM3/4:
  3542. - SAM4S: Correct configuration of PIO pins for SAM4S B and C peripherals.
  3543. - Need to disable write protection before configuring PIO pins.
  3544. - GPIO configuration logic must protect against re-entrancy.
  3545. - Clocking must be applied to the SMC module for the 3X and 3A family in
  3546. order for the NFC SRAM to be functional.
  3547. - Fixed some errors for interrupts on ports D-F.
  3548. * SAM3/4 Drivers:
  3549. - Common SPI driver: Fix SPI mode setting. In the SAM3/4 family, the
  3550. clock phase control (CPHA) is inverted (NPHA). Also fixed an
  3551. incorrect pointer test. Was checking if the wrong pointer was NULL.
  3552. * SAM3/4 Boards:
  3553. - SAM3U-EK: Fix polarity of the /PENIRQ signal (it is active low).
  3554. The SAM3U-EK board now runs at 96MHz.
  3555. * Applications:
  3556. - apps/examples/nxhello: Minor fix for compilation error when the
  3557. display resolution is low (< 8bpp) due to a typo that has been there
  3558. for a long time. Also Correct default colors when in Y1 code mode.
  3559. - apps/system/ramtest: The RAM test was not correctly built
  3560. into the configuration and build system.
  3561. - apps/examples/composite: Change to prevent some false alarm debug
  3562. assertions (From Chia Cheng Tao).
  3563. NuttX-6.30
  3564. ----------
  3565. The 97th release of NuttX, Version 6.30, was made on September 14, 2013,
  3566. and is available for download from the SourceForge website. Note
  3567. that release consists of two tarballs: nuttx-6.30.tar.gz and
  3568. apps-6.30.tar.gz. Both may be needed (see the top-level nuttx/README.txt
  3569. file for build information).
  3570. Additional new features and extended functionality:
  3571. * Common Drivers:
  3572. - Extended TERMIOS support for serial and CDC/ACM drivers. From
  3573. Mike Smith, Andrew Tridgell and Lorenz Meier.
  3574. - Added option to disable serial port reordering. From Lorenz Meier.
  3575. - Several changes to the USB host control interface and extensions to
  3576. common USB host logic to handle host controllers with multiple
  3577. downstream ports in the root hub.
  3578. - USB device tracing: Extended decoding and stringifying of USB trace
  3579. output to include trace output from class drivers.
  3580. - USB host tracing: Added support for USB host tracing similar in
  3581. some ways to USB device tracing: Stringification is an inherent
  3582. part of the trace decoding (not an option). Only available in the
  3583. SAMA5 USB host drivers now.
  3584. * Networking / Network Drivers
  3585. - Support for the Microchip ENCX24J600 Ethernet driver from Max
  3586. Holtzberg
  3587. - CC3000 Networking. Initial support for the TI CC3000 network
  3588. module on the Freescale Freedom-KL25Z board from Alan Carvalho
  3589. de Assis. This is still a work in progress.
  3590. * ARMv7-A, Cortex-A5
  3591. - Restructured some MMU-related logic and header files.
  3592. - Hooks added for Cortex-A8, but not yet used.
  3593. * STM32 Drivers:
  3594. - STM32 SPI: nbits() interface extended to control bit order as well
  3595. as bit width (from Teemu Pirinen)
  3596. * STM32 Boards
  3597. - Olimex STM32-P107: Incorporate ENCX24J600 networking for the Olimex
  3598. STM32 P107 board.
  3599. - LeafLabs Maple Board: Add board support for the LeafLabs Maple and
  3600. Maple Mini boards. From Librae.
  3601. * Atmel AT91 SAMA5D3x
  3602. - Added support for the SAMA5 DMAC controllers.
  3603. - DMA-capable drivers for the SAMA5 SPI peripherals.
  3604. - DMA-capable HSCMCI 0/1/2 drivers.
  3605. - Support for PIO interrupts
  3606. - Utilities for intelligent conversions between physical and virtual
  3607. addresses.
  3608. - Added USB host controller drivers for both the OHCI (low- and full-
  3609. speed) peripheral and the ECHI (high-speed) peripheral.
  3610. - Added USB device controller for the SAMA5 UDPHS peripheral (full-
  3611. and high-speed).
  3612. - Added a Two Wire (TWI) driver. This is a variant of I2C.
  3613. * Atmel AT91 SAMA5D3x-EK Development Boards
  3614. - Now supports onboard SDRAM. Modified heap initialization logic
  3615. to include SDRAM if configured.
  3616. - Integrated a FAT file system on the on-board SPI-based AT25 serial
  3617. FLASH
  3618. - Integrated HSMCI0 and HSMCI1 support for the microSD and full file
  3619. SD card slots. Includes PIO interrupts for card detection events.
  3620. - Integrated USB OHCI and ECHI host and high-speed peripheral support.
  3621. File system on AT25 now exported via Mass Storage Class. Includes
  3622. PIO VBUS controls.
  3623. - Integrated the TWI driver and the I2C tool. Added support for an
  3624. external AT24 serial EEPROM.
  3625. * Applications:
  3626. - apps/examples/cc3000. Initial support for the TI CC3000 network
  3627. module on the Freescale Freedom-KL25Z board from Alan Carvalho de
  3628. Assis. Includes the test to verify the CC3000.
  3629. - apps/examples/usbmsc: apps/examples/usbstorage renamed usbmsc for
  3630. consistency. Change submitted by CCTSAO.
  3631. - apps/system/usbmonitor: The USB monitor has been extended so that
  3632. it can be used with USB device or host trace data.
  3633. Efforts In Progress. The following are features that are partially
  3634. implemented but present in this release. They are not likely to be
  3635. completed soon.
  3636. * CC3000 Networking
  3637. - CC3000 Networking. Initial support for the TI CC3000 network
  3638. module on the Freescale Freedom-KL25Z board from Alan Carvalho
  3639. de Assis. This is still a work in progress.
  3640. * kconfig-fronted Configuration:
  3641. - Conversion of old configurations to use the kconfig-frontends
  3642. tool is an ongoing effort that will continue for some time.
  3643. At this time, only 46% of the configurations have been converted
  3644. to use the kconfig-frontends tools.
  3645. Bugfixes (see the ChangeLog for details). Some of these are very important:
  3646. * File Systems:
  3647. - ROMFS: Fix an error where long (>15) file names were read
  3648. incorrectly from a ROMFS file system. From Mike Smith
  3649. - NXFFS: Clean up some compiler warnings.
  3650. * Common Drivers
  3651. - MMC/SD driver: Correction for a bad return value when multiple
  3652. block SDIO transfers are suppressed. By Andrew Tridgell.
  3653. - USB HID keyboard and mass storage host-side class drivers: Fix some
  3654. compilation errors and warnings when pre-allocated data structures
  3655. are used.
  3656. - USB device-side class drivers: Fix some compilations errors when
  3657. DUALSPEED (i.e., full- and high-sped) support is enabled.
  3658. - CDC/ACM and PL2303: Don't use max packetsize assigned to the endpoint
  3659. when allocating request buffers; The default value of the endpoint
  3660. max packetsize may be incorrect because the endpoint has not yet
  3661. been configured. Really only an issue for high-speed endpoints.
  3662. - USB Host Mast Storage Class: Fixed a problem that was causing some
  3663. devices to fail to initialize: If device is returning fatal transfer
  3664. errors while attempting to initialize, don't bother with the startup
  3665. retries; abort immediately so that the device will be reset and we
  3666. can try again with a better ready device.
  3667. - USB Host Mast Storage Class: Correct a reference counting error:
  3668. When an MSC device transfer fails while waiting for UnitTestReady,
  3669. the reference count on the class was not being decremented. The end
  3670. result is a memory leak as can be seen by the USB device numbers
  3671. incrementing: sda, sdb, sdc, ...
  3672. - USB Device CDC/ACM: Fix backward conditional compilation in the
  3673. CDC/ACM driver with regard to remote wakeup and self-powered
  3674. capabilities. From the PX4 team via Lorenz Meier,
  3675. * Networking / Network Drivers
  3676. - ARP IP harvesting: Correct backward condition in netmask task.
  3677. From Max Holtzberg.
  3678. - Network connection monitor: Fixes a race condition where a loss of
  3679. connection may not be detected when the connection is lost before it
  3680. has been accepted (from Max Holtzberg).
  3681. - TCP/IP Backlog: Fix a critical bug in the TCP/IP backlog
  3682. initialization: Only the first backlog buffer was getting added to
  3683. the free list. From Max Holtzberg.
  3684. - ENC28J60: Fixes and improvements back-ported from the ENCX24J600
  3685. to the ENC28J60 by Max Holtzberg.
  3686. * STM32 Drivers:
  3687. - STM32 I2C fixes for the STM32 F3 family from John Wharington.
  3688. - STM32 I2C Correct an error that crept into the STM32 F1 I2C
  3689. driver with some recent changes. From Librae
  3690. - STM32 F4: Added some missing CONFIG_SERIAL_TERMIOS support; Fixed
  3691. some STM32 F4 Timer 8 pin configurations. From CCTSAO.
  3692. - STM32 SDIO: If CONFIG_SDIO_BLOCKSETUP defined, OS would crash. Now
  3693. Generate an error if CONFIG_SDIO_BLOCKSETUP is defined; that
  3694. option is not yet supported by the STM32 SDIO driver. From CCTSAO
  3695. - STM32 I2C Timers: Some CCER bit settings changed. Submitted by
  3696. CCCTSAO.
  3697. - STM32 CAN: Fix access to CAN filter registers. From the PX4 team
  3698. via Lorenz Meier.
  3699. - STM32 Kconfig: Fix STM32 UART7/8 Kconfig names and UART DMA. From
  3700. the PX4 team via Lorenz Meier.
  3701. * LPC17xx Drivers
  3702. - Fix #endif with missing #if in USB host header file. Reported
  3703. by Andrew Bradford,
  3704. * SAM3/4 Boards:
  3705. - Corrected DMA-related problems: Bad register definitions, parameters
  3706. reversed in a function call.
  3707. - Correct a race condition in the HSMCI driver when an interrupt
  3708. occurs before the wait for the interrupt begins.
  3709. - Peripheral clock setup: Correct a typo in a register name.
  3710. * Atmel AT91 SAMA5D3
  3711. - Order of some operations changed in boot-up logic to defer
  3712. enabling of caching of memory regions until SDRAM is initialized.
  3713. - Correct handling of spurious interrupts.
  3714. * Freescale KL25Z Drivers
  3715. - KL25Z SPI: Correct typo in name of a function. From Alan Carvalho
  3716. de Assis.
  3717. * Applications:
  3718. - apps/examples/composite: Fix a typo that can cause a configuration
  3719. error. From CCTSAO.
  3720. - apps/examples/pwm: Clean-up some configuration confusion.
  3721. - apps/netutils/dhcpd/dhcpd.c: Fixed calculation of the next lease
  3722. address. From Paolo Messina.
  3723. - apps/examples/usbmsc: Don't try to control USB trace if we are
  3724. an NSH built-in task. In that case our attempts are inadequate
  3725. and only interfere with with other logic that is attempting to
  3726. to do the same thing (in NSH or in the USB monitor).
  3727. - apps/examples/usbmsc: IMPORTANT bug fix: Change how the msconn
  3728. works. Because of recent changes the msconn command was hanging.
  3729. This was because the USB MSC start-up logic creates a pthread;
  3730. Now waitpid() will wait until all members of the task group
  3731. exit. So NSH was hanging in waitpid when msconn started even
  3732. though msconn returned. The USB MSC logic really should not use
  3733. a pthread, but we are stuck with that for now. The work-around
  3734. is the msconn now daemonizes itself so that it so that the pthread
  3735. is created in a different task group.
  3736. - apps/nshlib: Fix NSH listing output for the case of a single file.
  3737. From the PX4 team; provided by Lorenz Meier.
  3738. NuttX-6.31
  3739. ----------
  3740. The 98th release of NuttX, Version 6.31, was made on October 28, 2013,
  3741. and is available for download from the SourceForge website. Note
  3742. that release consists of two tarballs: nuttx-6.31.tar.gz and
  3743. apps-6.31.tar.gz. Both may be needed (see the top-level nuttx/README.txt
  3744. file for build information).
  3745. Additional new features and extended functionality:
  3746. * General:
  3747. - Standardized stack checking logic so the interfaces can be used
  3748. by common stack monitoring logic.
  3749. * Audio Subsystem and Audio Drivers:
  3750. - Ken Pettit has finally released his long awaited audio subsystem.
  3751. This is a generic audio subsystem that is appropriate for the
  3752. deeply embedded MCU. Current testing has, however, been focused
  3753. on the VS1053 CODEC chip.
  3754. - Ken Pettit's VS1053 audio CODEC driver is now functional.
  3755. * Networking / Network Drivers
  3756. - Add the prefix ETH0 to all PHY configuration selections. This
  3757. will allow us to support to Ethernet MAC drivers with two different
  3758. PHYs (identified with ETH0 and ETH1). Enabled with CONFIG_NETDEV_MULTINIC.
  3759. - Add MII/RMII PHY definitions for the Micrel KSZ8051 PHY.
  3760. - Add GMII/GRMII PHY definitions for the Micrel KSZ9021/31 PHY.
  3761. - New network-optimized, higher-performance sendfile() implementation
  3762. from Max Holtzberg.
  3763. - Added a simple routing table. This table is currenly only used (1)
  3764. when we need to look-up an Ethernet device based on an IP address,
  3765. and (2) in the ARP logic when we need to request the MAC address of
  3766. the router, vs the MAC address of the peer.
  3767. - Make net_close() nonblocking and free unestablished connections if
  3768. no free connections available. From Max Holtzberg.
  3769. - Changed the meaning of the uip_*input functions. They now return
  3770. success when a packet is dropped; This is needed for the ENCX24J600
  3771. driver that must make a decision to return the packet or not: It
  3772. should not retry dropped packets. From Max Holtzberg.
  3773. - David Sidrane has completed integration of the CC3000 networking.
  3774. This is much more than a network driver: It is a complete
  3775. replacement for the NuttX networking with off-chip networking support
  3776. in the CC3000.
  3777. - Numerous enhancements to the ENCX24J600 driver from Max Holtberg.
  3778. * Other Common Drivers:
  3779. - The SST25 serial FLASH MTD driver now includes support for the
  3780. SST25VF016B. From David Sidrane.
  3781. - Add a preflight method to the SDIO interface to support the STM32
  3782. DMA usage model. From Mike Smith.
  3783. - Enhanced the MMC/SD SDIO driver to perform DMA preflight operations
  3784. and fail DMA read/write requests that fail preflighting. From Mike
  3785. Smith.
  3786. - Add an ioctl command that can be used to trigger ADC/DAC conversion
  3787. under application control.
  3788. * File Systems:
  3789. - Enhanced the FAT32 filesystem code to understand DMA preflight
  3790. failures, and to use the file sector buffer as a bounce buffer when
  3791. a user-supplied buffer is not suitable for DMA. From Mike Smith.
  3792. * Atmel AT91 SAMA5D3x
  3793. - Add support so that subsets of the total DRAM (and other external
  3794. memory) can be added to the heap, leaving other memory reserved for
  3795. other purposes (like the LCDC framebuffers).
  3796. * Atmel AT91 SAMA5D3x Drivers:
  3797. - Use more descriptive task names when starting the EHCI and OHCI
  3798. monitor tasks.
  3799. - Added a 10/100Base-T Ethernet (EMAC) driver.
  3800. - Added a 1000Base-T Ethernet (GMAC) driver.
  3801. - Added a Real Time Clock (RTC) driver and integrated with the NuttX
  3802. system time logic.
  3803. - Added support for /dev/random using the SAMA5D3x True Random Number
  3804. Generator (TRNG).
  3805. - Added a Watchdog Timer (WDT) driver.
  3806. - Added a Timer/Counter (TC) library with interface that make be used
  3807. by other drivers that need timer support.
  3808. - Added an ADC driver that can collect multiple samples using the
  3809. sequencer, can be trigger by a timer/counter, and supports DMA data
  3810. transfers.
  3811. - Added a touchscreen driver based on the special features of the
  3812. SAMA5D3 ADC peripheral.
  3813. - Added an LCD controller (LCDC) frame buffer driver.
  3814. - Added a CAN driver. However, testing has been delayed because of
  3815. cabling issues.
  3816. - Basic header file support is available for the Image Sensor
  3817. Interface (ISI) camera interface. Work on the camera driver is
  3818. underway and is expected in the next release.
  3819. * Atmel AT91 SAMA5D3x-EK Development Boards
  3820. - Add OS test support for the FPU test.
  3821. - Enable the task name feature board configuration sto provide
  3822. prettier ps command output.
  3823. - Added NX and NxWM configurations to verify the LCD and touchscreen.
  3824. There are still some outstanding issues with the NxWM configuration
  3825. as of this release.
  3826. - The TRNG and /dev/random are now enabled by default in the demo
  3827. configuration.
  3828. * Atmel AT91 SAM3/4 Boards:
  3829. - Add configuration to select revision 3 of the Arduino Due which has
  3830. some small but important differences. Suggested by gdi@embedders.org.
  3831. * STMicro STM32:
  3832. - Add support for the STM32F207ZE chip. From Martin Lederhilger.
  3833. * STMicro STM32 Boards:
  3834. - Add configuration for the Spark Core. The initial check-in is
  3835. basically the Maple Mini board and subsequent development by David
  3836. Sidrane is his special Spark emulation hardware. The configuration
  3837. should be very mature when actual Spark hardware is available.
  3838. - Support for the Olimex STM32 P207 board added by Martin Lederhilger.
  3839. - Configuration for the Mikroe STM32F4 board configuration updated for
  3840. audio support by Ken Pettit.
  3841. * NXP LPC17xx Boards:
  3842. - zkit-arm-1769: LED1 is now user controllable after booting. From
  3843. Rashid Fatah.
  3844. * Kinetis KL Drivers:
  3845. - PIT and TPM register definitions header files for the from Alan
  3846. Carvalho de Assis.
  3847. - Added low-level getc() function for operation with no file system.
  3848. The KL25Z can now support NSH in a very minimal system that does
  3849. not even have a file system.
  3850. * Kinetis KL Boards
  3851. - A new configuration called minnsh was added is an experiement to
  3852. see how small we can get the NuttX footprint and still support NSH.
  3853. From Alan Carvalho de Assis..
  3854. * TI Calypso Phones:
  3855. - Basic board support for the Motorola C139 (Compal E86) phone. From
  3856. Craig Comstock.
  3857. * Applications:
  3858. - Moved several useful examples from apps/examples to apps/system.
  3859. This includes USB MSC, USB CDC/ACM, and USB Composite.
  3860. - New addroute and delroute commands added to NSH in order to manage
  3861. the network routing table.
  3862. - Numerous enhancements and updates to the CC3000 example from David
  3863. Sidrane.
  3864. - Add a new stack monitor daemon that can be used to constantly
  3865. monitor stack usage by all threads.
  3866. - Numerous changes to get NSH working with no file system. Basically
  3867. this suppresses I/O redirection and replaces file I/O with calls to
  3868. low-level console read/write functions. Suggested by Alan Carvalho
  3869. de Assis.
  3870. - apps/system/nxplayer: A new, command-line media player called
  3871. 'nxplayer' from Ken Pettit.
  3872. - apps/examples/random: Add a simple test that dumps values from
  3873. /dev/random.
  3874. - apps/examples/adc: Add support so that a ADC driven by software
  3875. triggering can be tested.
  3876. * Build System:
  3877. - The MKDEP tools now support a new argument that identifies the
  3878. object file path.
  3879. Efforts In Progress. The following are features that are partially
  3880. implemented but present in this release. They are not likely to be
  3881. completed soon.
  3882. * kconfig-fronted Configuration:
  3883. - Conversion of old configurations to use the kconfig-frontends
  3884. tool is an ongoing effort that will continue for some time.
  3885. At this time, only 48% of the configurations have been converted
  3886. to use the kconfig-frontends tools.
  3887. Bugfixes (see the ChangeLog for details). Some of these are very important:
  3888. * Initialzation and Scheduling:
  3889. - IDLE thread initialization logic should not call group_setupidlefiles()
  3890. if there are no file descriptors (and, hence, no file system).
  3891. - Fix some cornercase error handling logic: If sched_releasetcb() is
  3892. called as part of a failed pthread startup before the flags field in
  3893. the TCB has been initialized, then a crash occurs. Pointed out by
  3894. David Sidrane.
  3895. * Networking / Network Drivers:
  3896. - Look up of a device using subnet will fail if the packet is being
  3897. sent out of our subnet (via a router). The fallback here is just to
  3898. use the only device ("eth0") if the subnet lookup fails (this logic
  3899. was extended to handle multiple Ethernet devices by adding a simple
  3900. routing table).
  3901. - Fix some backward conditional logic in send() that enabled the
  3902. check if the ARP address is in the ARP table. From Max Holtzberg.
  3903. - Notify the socket layer from the network monitor if a connection is
  3904. lost before the monitoring callback has been registered. From Max
  3905. Holtzberg.
  3906. - send(): Reset the send timeout when the data is ACKed, not when the
  3907. data is sent. Remove conditions on checking for timeout. From Max
  3908. Holtzberg.
  3909. - Correct how the TCP/IP initial minimum MSS is calculated. Max
  3910. Holtzberg.
  3911. - TCP state machine: Move tcp connection into SYN_RCVD state after
  3912. aception instead of bypassing and moving directly into ESTABLISHED.
  3913. From Max Holtzberg.
  3914. - Numerous fixes to the ENCX24J600 driver from Max Holtberg.
  3915. * USB Drivers:
  3916. - Change naming of SELFPOWERED and REMOTEWAKEUP to avoid name
  3917. collisions. Prepend the name of the driver (for example
  3918. CDCACM_SELFPOWERED).
  3919. - CDC/ACM class driver: Change the interval for the interrupt
  3920. endpoint from 0xff (invalid) to 10. This is not a critical
  3921. change but will avoid a complaint from the Linux driver when
  3922. it overrides the 0xff value.
  3923. * ARM Cortex-A5:
  3924. - Fix an error in data cache clean and invalidate functions: Fix of
  3925. addresses to cache line boundaries.
  3926. * Atmel AT91 SAMA5D3x Drivers:
  3927. - Correct some inconsistencies in the way that USB configuration
  3928. settings are used. This caused compilation errors in SAMA5 OHCI
  3929. when USB debug was ON but USB host tracing was off.
  3930. - When 480MHz UPLL is used to drive OHCI, it should have a divider
  3931. of 10. However, that does not work. A divider of 5 does. Why?.
  3932. - OHCI HCD: Fix a place where DMA-related data needed to be flushed
  3933. to data cache; Fix another where a virtual address was being used
  3934. in a register where a physical address was required.
  3935. - HSMCI Driver: TX DMA disabled. It is just not reliable. No idea
  3936. why. RX DMA is still used.
  3937. - STM32F103C pinmapping corrections from David Sidrane.
  3938. * Atmel SAMA5D3x-EK Board
  3939. - Increase the number of pre-allocated watchdog timers. The default
  3940. number of 4 was easily being exhausted in the more complex
  3941. configurations.
  3942. * STMicro STM32:
  3943. - STM32 F4 DMA definitions: Typo fixes for UART7 and UART8 DMA
  3944. configs. From Mike Smith.
  3945. - DMA priority configuration corrections from Mike Smith.
  3946. - Changes to the stm32_dmacapable API. In order to correctly
  3947. verify that a buffer can be transferred, the transfer count and
  3948. the CCR value are required. Implemented stm32_dmacapable for
  3949. stm32f1xx devices. Enhanced stm32_dmacapable for stm32f2xx and
  3950. stm32f4xx devices to check for additional conditions that will cause
  3951. DMA to fail or lose data.
  3952. - STM32 F1 DMA fix from David Sidrane: The DMA_CNDTRx register
  3953. cannot be modified if the DMA channel is disabled.
  3954. * STMicro STM32 Drivers:
  3955. - Fix compilation errors from bad bit definitions in ADC and PWM
  3956. register. From Martin Lederhilger.
  3957. - DMA-related fixes to the SPI driver from Ken Pettit.
  3958. * NXP LPC17xx Drivers:
  3959. - Remove undefined spi_select() prototype. This was causing compile
  3960. time warnings.
  3961. * NXP LPC17xx Boards:
  3962. - zkit-arm-1768: MMC/SD is on SPI, not SSP0. From Rashid Fatah.
  3963. * C Library
  3964. - scanf() fixes from kfrolov: 1) sscanf() function hangs in the
  3965. following example: sscanf("2", "%u,%u,%u,%u", ...), 2) sscanf()
  3966. returns incorrect number of parsed numbers if some arguments
  3967. can't be parsed: sscanf("=2", "%u,%u,%u,%u",...)==1 instead of
  3968. 0, and 3) using of char* instead of const char* in vsscanf
  3969. function leads to warnings from GCC.
  3970. * Build System
  3971. - Dependency generation generation was broken for directories that
  3972. keep objects in a sub-directory. The MKDEP tools now support a new
  3973. argument that identifies the object file path.
  3974. - tools/define.sh: 'cut' no longer works as it once did. Script
  3975. adapted to observed behavior.
  3976. * Applications:
  3977. - Remove a warning from the NSH library when DHCP is not enabled.
  3978. - Default NSH IP address should be 0x0a000001 (10.0.0.1), not
  3979. 0xa0000001 (160.0.0.1). Ditto for the gateway.
  3980. - Add some missing options to the OS test Kconfig file
  3981. - Fix some bad conditional compilation in the USB monitor.
  3982. - Fix default I2C frequency used by the I2C tool: 400KHz instead
  3983. of 4MHz. Suggested by Max Kriegleder.
  3984. - Increase stack size for the system/info command. Ken Petit
  3985. reports that this simple command can exceed its 768 stack size
  3986. under certain conditions. The size is marginal and has been
  3987. increased to 1024 by default but is also now configurable.
  3988. - apps/Makefile: Needs to include external/Make.defs if we want
  3989. allow external applications to participate in the NuttX
  3990. configuration. Suggested by gdi@embedders.org.
  3991. - apps/netutils/telnetd: Missing argument to debug statement
  3992. can cause crashes in certain error conditions. From David
  3993. Sidrane.
  3994. - apps/examples/can: Correct an error in a debug statement. From
  3995. Martin Lederhilger.
  3996. NuttX-6.32
  3997. ----------
  3998. The 99th release of NuttX, Version 6.32, was made on December 7, 2013,
  3999. and is available for download from the SourceForge website. Note
  4000. that release consists of two tarballs: nuttx-6.32.tar.gz and
  4001. apps-6.32.tar.gz. Both may be needed (see the top-level nuttx/README.txt
  4002. file for build information).
  4003. Additional new features and extended functionality:
  4004. * General:
  4005. - Extension and standardization of stack debug logic. Now includes
  4006. coloration of the IDLE and interrupt stacks as well as the heap.
  4007. Suggested by David Sidrane.
  4008. * Audio Subsystem and Audio Drivers:
  4009. - I2S interface definition. Integrates with audio sub-system.
  4010. - VS1053 worker thread stack size is now configurable and assigned a
  4011. name via pthread_setname_np(). From Ken Pettit.
  4012. * Networking / Network Drivers
  4013. - Updates and adaptations to support for TI CC3000 wireless module
  4014. from David Sidrane. These updates include multi-threading support
  4015. and interface and header file changes to integrate more seamlessly
  4016. with NuttX applications.
  4017. * File Systems:
  4018. - procfs: Add support for a tiny procfs file system. The initial
  4019. offering is little more that a proof of concept but may be developed
  4020. further in subsequent releases.
  4021. - NXFFS: An initial attempt was made to integrate NXFFS with the NAND
  4022. MTD driver. Changes were made to handle bad blocks. However, I
  4023. later realized that NXFFS cannot handle NAND because the way that
  4024. is re-writes blocks is incompatible with the NAND ECC handling.
  4025. These changes were backed-out so as not to introduce turmoil, but
  4026. can be re-enabled if needed via configuration option.
  4027. - NXFFS: Make the start up scan of the media a configuration option.
  4028. It just takes to long and is not really necessary! Those rare cases
  4029. where the scan was helpful can be fixed using MDIOC_BULKERASE IOCTL
  4030. command.
  4031. * General Drivers:
  4032. - I2S: A simple character driver was added to support I2S accesses.
  4033. This driver in its current state is intended only to support I2C
  4034. testing and would not be appropriate to used for any real driver
  4035. application.
  4036. * MTD Drivers
  4037. - Add a container for an MTD device that can be used to provide a
  4038. simple, lightweight interface to configuration data storage that
  4039. resides on some storage media that is wrapped as an MTD device.
  4040. From Ken Pettit.
  4041. - New interface definition for lower half NAND drivers.
  4042. - MTD Nand: Add MTD NAND driver that will support ONFI devices,
  4043. non-ONFI devices (via table lookup), bad block checking, software
  4044. ECC (Hamming), and will interact with the lower-half, hardware-
  4045. specific, NAND driver. Based on BSD-compatible Atmel sample code.
  4046. - MTD geometry structure is now packed so that it can support larger
  4047. erase block sizes needed by NAND without increasing the size of
  4048. the geometry structure.
  4049. - SST25: Add another SST25 SerialFlash driver, sst25xx.c. This one
  4050. differs from sst25.c in that it supports larger SST25 parts: In
  4051. the larger parts support page write instead of byte/word writes
  4052. like the smaller parts. From Ken Pettit.
  4053. * USB Drivers
  4054. - STM32 F1 USB Device: Add support for decoded USB trace strings.
  4055. From David Sidrane.
  4056. * ARM
  4057. - Add more ARM9 cache management functions to flush and invalidate
  4058. D-Cache for DMA support.
  4059. * Atmel AT91 SAMA5D3x Drivers:
  4060. - Many new drivers including CAN, PWM, SSC/I2S
  4061. - PCK: Add support for programmable clock outputs.
  4062. - NAND: Driver with hardware ECC and DMA support
  4063. * Atmel AT91 SAMA5D3x Boards:
  4064. - SAMA5D3x-EK: Add support for the apps/examples/i2schar test.
  4065. - SAMA5D3x-EK: Provides board-specific memory controller initialize
  4066. for NAND flash.
  4067. - SAMA5D3x-EK: Add support for "auto-mounting" NAND MTD block driver
  4068. or NXFFS file system.
  4069. * Atmel AT91 SAM3/4 Boards:
  4070. - Basic support for the Atmel SAM4E family. From Mitko.
  4071. * STMicro STM32:
  4072. - Added support for the STM32F429. From Ken Pettit.
  4073. - Added support for GPIOK and GPIOJ. From Ken Pettit.
  4074. * STMicro STM32 Drivers
  4075. - STM32 F4 OTG FS/HS Device: OTG FS device and host drivers extended
  4076. so that they can support either the OTG FS peripheral or the OTG HS
  4077. peripheral (in FS mode). This was done as a quick way to get USB
  4078. support on the STM32F429 which has only OTG HS. From Ken Pettit.
  4079. - Added header files and driver framework for the STM32F429 LTDC
  4080. framebuffer driver. From Ken Pettit.
  4081. * STMicro STM32 Boards:
  4082. - Support for the Spark board was completely by Davide Sidrane. The
  4083. Spark configuration includes integrated CC3000 wireless support, FAT
  4084. file system on the SerialFlash and a composite device that can be
  4085. used both to export the FAT file system and to provide a serial
  4086. interface.
  4087. - The Mikroe-stm32f4 now uses /dev/config for configuration data
  4088. storage. From Ken Pettit.
  4089. - Added support for the STM32F429I-Discovery board from Ken Pettit.
  4090. - Added board support for the ViewTool STM32F103/F107 board with the
  4091. STM32F107VCT6 installed.
  4092. * NXP LPC31xx Drivers:
  4093. - USB ECHI HCD: Add a driver for the low-/full-/high-speed variant
  4094. of the EHCI host controller.
  4095. * NXP LPC31xx Boards:
  4096. - Board-specific USB host support for the Emedded Artists EA3131 board.
  4097. (Missing PCA9532 controls).
  4098. - Add support for the Olimex LPC-H3131 board. Including USB host
  4099. support (which does not depend on the PCA8532 interface).
  4100. * Kinetis KL Drivers:
  4101. - PWM driver for the Freescale Kinetis KL family from Alan Carvalho
  4102. de Assis.
  4103. * Kinetis KL Boards
  4104. - Freedom-KL25Z: Add PWM support from Alan Carvalho de Assis.
  4105. * TI Stellaris LM3S
  4106. - Don't initialize .data in start-up logic if not running from FLASH.
  4107. * Applications:
  4108. - apps/platform: A new home for platform-specific application code.
  4109. - Define a common interface that can be used to manage platform-
  4110. specific configuration data. From Ken Pettit.
  4111. - apps/examples/configdata: A unit test for the MTD configuration
  4112. data driver from Ken Pettit.
  4113. - Aapps/platform/mikroe-stm32f4: dd platform-specific storage of
  4114. configuration data for the Mikroe-stm32f4. From Ken Pettit.
  4115. - apps/examples/cc3000: Fine tuning of memory usage from David Sidrane.
  4116. - apps/system/nxplayer: Play thread stack size is now configurable.
  4117. All NxPlayer threads now have names assigned via pthread_setname_np().
  4118. From Ken Pettit.
  4119. - apps/examples/i2schar: The I2S test based on the I2S character
  4120. driver.
  4121. - apps/examples/hidkbd/hidkbd_main.c: Now calls a function named
  4122. arch_usbhost_initialize() that must be provided by the platform-
  4123. specific code.
  4124. - NSH:
  4125. - hexdump: Add skip= and count= options to the hexdump command. From Ken Pettit.
  4126. - Allow USB trace without a USB console. From David Sidrane.
  4127. - Mount command updates from Ken Pettit.
  4128. - Add an option to the mkfatfs command to specify FAT12, FAT16, or FAT32.
  4129. * Tools
  4130. - tools/mkctags.sh: A script for creating ctags from Ken Pettit.
  4131. Efforts In Progress. The following are features that are partially
  4132. implemented but present in this release. They are not likely to be
  4133. completed soon.
  4134. * kconfig-fronted Configuration:
  4135. - Conversion of old configurations to use the kconfig-frontends
  4136. tool is an ongoing effort that will continue for some time.
  4137. At this time, only 50% of the configurations have been converted
  4138. to use the kconfig-frontends tools.
  4139. Bugfixes (see the ChangeLog for details). Some of these are very important:
  4140. * File Systems
  4141. - FAT: In one error return case, the error return value was not being
  4142. set, making the failure look like success. From David Sidrane.
  4143. - mount: SMART FS must be included in the conditional compilation for
  4144. the set of file systems that require block drivers. From Daniel
  4145. Palmer.
  4146. - SmartFS: Fixed a minor bug with SMART partition number reporting
  4147. that would only be seen if both partition support and multi-root
  4148. directory support are enabled at the same time. From Ken Pettit.
  4149. - Deadlock: The inode semaphore must be re-entrant. Here is the re-
  4150. entrant path that I found: (1) USB host connects to FLASH drive and
  4151. creates /dev/sda, (2) /dev/sda is mounted, (3) FLASH drive is
  4152. removed but /dev/sda is not destroyed because there is still a
  4153. reference on the device because of the mount, (4) umount() is
  4154. called, taking the inode semaphore, now the driver tries to destroy
  4155. the block driver by calling unregister_blockdriver(). But (5)
  4156. unregister_blockdriver() also takes the inode semaphore causing a
  4157. deadlock if the inode semaphore is not re-entrant.
  4158. - FAT: Fix a typo in the FAT16 formatting logic. Was this ever able to
  4159. format a FAT16 volume?
  4160. * MTD Drivers
  4161. - MTD Partitions: Fix erase block vs page block confusion. From Ken
  4162. Pettit
  4163. - SST25 Serial Flash: Improved write performance by fixing a bug that
  4164. prevented operation in the faster write mode. From David Sidrane.
  4165. * USB Drivers:
  4166. - USB MSC Device: pthread_join() does not work if called from a
  4167. different task group than the pthread. This is correct behavior,
  4168. but still a problem. The correct solution would be configure the
  4169. USB MSC thread to a task, however, this workaround from David
  4170. Sidrane plugs the hole for now.
  4171. - USB CDC/ACM, USB MSC, and Composite Device Classes: Un-initialization
  4172. logic caused re-use of a stale pointer. Changed to a two pass
  4173. un-initialization for the case of the composite driver: Memory
  4174. resources are not freed until the second un-initialization pass.
  4175. From David Sidrane.
  4176. * STMicro STM32 Drivers:
  4177. - STM32 F1 USB Device: Fix some errors that cause crashes when the USB
  4178. was disconnected. From David Sidrane.
  4179. - STM32 F1 USB Device: Correct EP0 state handling logic when buffers
  4180. larger than the EP0 packet size are sent. From David Sidrane.
  4181. - STM32 F1 USB Device: The long outstanding bug involving the handling
  4182. of OUT SETUP commands has been fixed in the STM32 F1 USB device
  4183. driver by David Sidrane.
  4184. - Kconfig: Add missing setup of CAN TSEG1 and TSEG2 values. From
  4185. Martin Lederhilger.
  4186. * Tools
  4187. - tools/mkconfig.c: SMART FS must be included in the conditional
  4188. compilation for the set of writable file systems. Noted by Daniel
  4189. Palmer.
  4190. * Applications:
  4191. - apps/platform/Makefile: Was not dealing with the bin sub-directory
  4192. correctly.
  4193. - apps/system/composite/composite_main.c: The wrong handle was getting
  4194. nullified. From David Sidrane.
  4195. NuttX-6.33
  4196. ----------
  4197. The 100th release of NuttX, Version 6.33, was made on January 30, 2014,
  4198. and is available for download from the SourceForge website. Note
  4199. that release consists of two tarballs: nuttx-6.33.tar.gz and
  4200. apps-6.33.tar.gz. Both may be needed (see the top-level nuttx/README.txt
  4201. file for build information).
  4202. Additional new features and extended functionality:
  4203. * Core OS Interfaces
  4204. - nanosleep() added. sleep() and usleep() are no longer core OS
  4205. interfaces. These have been moved into the library and re-implemented
  4206. as simple wrappers around nanosleep().
  4207. * File Systems
  4208. - procfs restructured by Ken Pettit. Added files for MTD status.
  4209. - procfs extended to show uptime and task group status.
  4210. - procfs now shows stack information.
  4211. * Networking
  4212. - Add support for the SO_LINGER socket option. Extended from logic
  4213. provided by Jason Jiang. Enabled with CONFIG_NET_SOLINGER.
  4214. - TCP write buffering support added. From Jason Jiang.
  4215. - Changes from Max Holtzberg to improve how network status is
  4216. reported. New controls to manage carrier detect.
  4217. * Graphics
  4218. - Massive reshuffling of files with little or no logic changes. This
  4219. reshuffling was necessary to build graphics applications with the
  4220. kernel builds where the graphics application lie in user space and
  4221. the core graphic server likes in kernel space. Moved much logic out
  4222. of nuttx/graphics to a new user library, libnx.
  4223. * Cortex-A5/A8/A9
  4224. - Existing Cortex-A5 support updated to include Cortex-A8/9.
  4225. - Add the syscall.h header file needed for the Cortex-A architecture.
  4226. - Start-up logic now supports execution from FLASH with .data and
  4227. .bss in SDRAM. This was not possible prior to this because .bss
  4228. and .data were initialized before SDRAM was configured.
  4229. * Allwinner A10:
  4230. - Basic support for the Allwinner A10 (Cortex-A8) is in place.
  4231. * Allwinner A10 boards
  4232. - Support for the pcDuino v1 board has been added. This support
  4233. is not yet very mature and still lacks many drivers. It is a
  4234. good starting point, however, if anyone wants to develop A10
  4235. support.
  4236. * Atmel SAMA5D3X
  4237. - Start-up logic now supports execution from FLASH with .data and
  4238. .bss in SDRAM. This was not possible prior to this because .bss
  4239. and .data were initialized before SDRAM was configured.
  4240. * Atmel SAMA5D3X Boards
  4241. - Partial logic in place to support the OV2640 camera. Still needs
  4242. quite a bit of additional logic to be useful.
  4243. * ARMv7-M
  4244. - Add support for high priority, nested interrupts. This change
  4245. effects not only core ARMv-7M logic, but all ARMv7-M MCU logic:
  4246. LM3S, LM4F, LPC17xx, LPC43xx, SAM3, SAM4, and STM32. See
  4247. http://www.nuttx.org/doku.php?id=wiki:nxinternal:highperfints
  4248. * STMicro STM32
  4249. - Add clocking support for STM32F107 USB OTG FS (which does not yet
  4250. work)
  4251. - Single-wire UART support for the F1 series from Thomas Grubler.
  4252. * STMicro STM32 Boards
  4253. - The Viewtool board can now be configured to support either the
  4254. STM32F103VCT6 or the STM32F107VCT6.
  4255. - The Viewtool STM32F107VCT6 now supports networking with the
  4256. DP83848C module installed.
  4257. - Add support for Viewtool SSD1289-based LCD on the Viewtool
  4258. STM32F103VCT6 board (untested)
  4259. - Add support for the XPT2046 touchscreen controller on the Viewtool
  4260. LCD module connected to the Viewtool STM32F103 board.
  4261. - Added kernel mode build support for the STM3240G-EVAL board. Added
  4262. a new kernel mode NxWM build configuration
  4263. - C++ static constructor logic from the nuttx/configs/stm3240g-eval/
  4264. directory to the apps/platform/stm3240g-eval/up_cxxinitialize.c
  4265. where is belongs so that it is available in user-space in the kernel
  4266. mode build.
  4267. - Add native Windows build support for the Olimex STM32 P107. From
  4268. Max Holtzberg
  4269. - Support for the STM32VL-Discovery board. Contributed by Alan
  4270. Carvalho de Assis
  4271. - Added a configuration for testing simple configurations on the
  4272. PX4FMU v2.
  4273. * ZiLOG ZNEO Boards
  4274. - Add an NSH configuration for the Z16F2800100ZCOG ZNEO board.
  4275. - Added support for the Toyaga 16Z ZNEO board. The 16Z board is
  4276. based on the ZiLOG ZNEOZ16F2811AL20EG part. See
  4277. https://github.com/toyaga/16z for further information
  4278. - Developed a patch to work around a compiler error that is revealed
  4279. when building the NSH configuration.
  4280. * Architecture-Independent Drivers
  4281. - OV2640 Camera Driver.
  4282. - Support for the Sharp Memory LCD from Librae.
  4283. * Library
  4284. - Pattern matching logic extended to handle set of characters and
  4285. ranges of character values. From Ken Pettit.
  4286. - sleep() and usleep() moved intot the C library. These are not
  4287. longer core OS interfaces; they are simple wrappers for the
  4288. nanosleep().
  4289. - Add an implementation of gets_s().
  4290. - Extend fopen() to include support for C11 exclusive open ("x")
  4291. open mode.
  4292. - Add an implementation of stpcpy()
  4293. - strtol(), strtoll, strtoul(), strtoull(), and strtod() from
  4294. libc/string to libc/stdlib where they belong.
  4295. * Header Files
  4296. - Add rsize_t to include/sys/types.h
  4297. - Add the C11 thread.h header file
  4298. * Configuration/Build System
  4299. - Top level Makefile now supports qconfig and/or gconfig targets that
  4300. may be used for configuration. These may be used if you build
  4301. kconfig-frontends with support for kconfig-qconf and/or
  4302. kconfig-gconf.
  4303. - Add CONFIG_DEBUG_NOOPT. Now you can independently enable/disable
  4304. debug symbols and optimization
  4305. - File system related header files moved to include/nuttx/fs
  4306. - Video related header files moved to include/nuttx/video
  4307. - Changes for native Windows build: fix creation of a .version file
  4308. if one does not exist. Make sure that the APPDIR environment
  4309. variable is set before configuring. From Max Holtzberg.
  4310. - Board configuration sub-directory can now be specified. The default
  4311. need not be used. This is only useful when CONFIG_ARCH_BOARD_CUSTOM
  4312. is selected and there is no meaningful default sub-directory.
  4313. - Many functions renamed to better conform with the naming standard:
  4314. up_buttoninit() renamed to board_button_initialize(), up_buttons()
  4315. renamed to board_buttons(), up_irqbutton() renamed to
  4316. board_button_irq(), up_ledinit() renamed to board_led_intialize(),
  4317. up_ledon() renamed to board_led_on(), and up_ledoff() renamed to
  4318. board_led_off(). All prototypes removed from board.h header files.
  4319. Now ONLY prototypes in include/nuttx/arch.h.
  4320. * Applications
  4321. - NSH: Refactor. Separate NSH command handling and command execution
  4322. from NSH line parsing.
  4323. - NSH: Will now support multiple commands on a command line, each
  4324. separated with a semi-colon.
  4325. - NSH: Add support of commands enclosed in back quotes as command
  4326. arguments.
  4327. - NSH: Can now handle arguments that are concatenations of constant
  4328. strings, command return data, application return data, and
  4329. environment variables.
  4330. - NSH: Add true and false commands.
  4331. - NSH: Add support for while-do-done and until-do-done loops. These
  4332. only work when executing a script file because they depend on the
  4333. ability to seek in the file to implement the looping behaviors.
  4334. Can be conditionally compiled out to reduce footprint.
  4335. - NSH: Loosen up if-then-else-fi syntax to allow a command to be on
  4336. the same line as the then or else tokens like:
  4337. "if true; then echo true; else echo false; fi". More like bash.
  4338. - NSH: Add a break command that can be executed with a loop to
  4339. terminate the loop immediately.
  4340. - system/inifile: A simple .INI file parser.
  4341. - system/vi: Add support for a tiny, VI work-alike editor. This is
  4342. a minimal full screen editor that works with a terminal emulator
  4343. that using VT100 commands.
  4344. Efforts In Progress. The following are features that are partially
  4345. implemented but present in this release. They are not likely to be
  4346. completed soon.
  4347. * kconfig-fronted Configuration:
  4348. - Conversion of old configurations to use the kconfig-frontends
  4349. tool is an ongoing effort that will continue for some time.
  4350. At this time, only 53% of the configurations have been converted
  4351. to use the kconfig-frontends tools.
  4352. Bugfixes (see the ChangeLog for details). Some of these are very important:
  4353. * Core OS
  4354. - Added missing sem_timedwait() system call.
  4355. * Networking
  4356. - Prevent tcp_connect callback from being double freed. From Max
  4357. Holtzberg
  4358. - uiplib: Support new definitions and state passing for network
  4359. device status. From Maz Holtzberg.
  4360. * File Systems
  4361. - FAT: (1) A correction to FAT cluster allocation, and (2) Fix to some
  4362. root directory logic that was conditionally done only for FAT 32.
  4363. Apparently this needs to done for all FAT types. Both from Andrew
  4364. "Tridge" Tridgell via Lorenz Meier.
  4365. * Binary Formats
  4366. - Fix a small memory leak when attempting to load a program from a file.
  4367. * Cortex-A8/9
  4368. - Fix some errors in the cache invalidation logic (only seem to matter
  4369. for Cortex-A8).
  4370. - Add more nop's after enabling the MMU. The cortex-a8 seems to need
  4371. these
  4372. * Graphics
  4373. - Fix a typo that caused a compilation error when
  4374. CONFIG_NXCONSOLE_BPP < 8. From Librae
  4375. * ARMv7-M
  4376. - Correct alignment of RAM vector table.
  4377. - Interrupt handling: Do not disable and enable the IRQ on each
  4378. entry, (2) this interferes with controlling the IRQ interrupt
  4379. setting from interrupt handlers, and (3) up_disable_irq() does
  4380. not work anyway so that this has never done anything.
  4381. - Fix all implementations of up_disable_irq() for all Cortex-M3 and
  4382. M4 architectures: To enable an interrupt on the Cortex-M3/4 CPU,
  4383. you need to set a bit in the ISER register. To disable the
  4384. interrupt, you need to set a bit in the ICER register. Existing
  4385. logic was trying to disable interrupts by clearing the bit in the
  4386. ISER register. That will not work; writing a '0' to the ISER
  4387. register has no effect. That means that up_disable_irq() was
  4388. doing nothing! It turns out that that is not really important
  4389. because up_disable_irq() is not really used for that purpose. But
  4390. some spurions STM32 ADC interrupts have been reported to me and this
  4391. turned out to be the cause in that case. Thanks to Manuel Stühn for
  4392. the tip.
  4393. * STMicro STM32
  4394. - Fix configuration and pin definitions that would prevent building
  4395. USB for the connectivity and performance lines.
  4396. - STM32L15xx: Fix a typo in USB pin definitions
  4397. - Fix pin definition names for SPI2 MOSI and MISO. Noted by Brian Webb
  4398. - Various fixes for STM32F103ZE SPI3 pin mapping definitions. From
  4399. Steve Redler IV
  4400. * STMicro STM32 Boards
  4401. - Olimex STM32-P107: Failed to build if SPI3 for UEXT is not remapped.
  4402. From Max Holtzberg
  4403. * x86 Boards
  4404. - Add a configuration option to select the -m32 compiler option when
  4405. building for a 32-bit target on a native 64-bit compiler. So far,
  4406. only used for the qemu/i486 configuration.
  4407. - Patch from Matt Campbell to fix 'Error: .size expression for idle_stack
  4408. does not evaluate to a constant".
  4409. * Library
  4410. - strftime(): Needs null termination on the generated string. From
  4411. Max Holtzberg.
  4412. - Typo in ctype.h macro name: iscntrl(), not iscontrol().
  4413. - If there are no arguments (argc == 1), then getopt() will leave the
  4414. optind variable in an undefined state (2014-1-20).
  4415. - ARMv7-M memcpy(): Assembler changes with the gcc-47 distribution
  4416. from ARM mean that we need to be explicit about branch sizes; one
  4417. or more of the wide branch opcodes results in bad table branching.
  4418. From Mike Smith.
  4419. * Configuration/Build System
  4420. - Fixes for some tools/ for Windows build issues from Max Holtzberg.
  4421. - Config.mk: 'cypath' must be called if we are using a Windows native
  4422. toolchain with the Cygwin 'make' to convert paths to proper
  4423. Windows paths. From Richard Cochran.
  4424. - ARM Makefile: Dependency directory list is now computed from the
  4425. VPATH. From Richard Cochran.
  4426. - builtin/Makefile: Fixes for native Windows build from Max Holtzberg.
  4427. - Refactor some configuration dependencies: NSH networking features
  4428. should depend on netutil selections; netutil selections, in turn,
  4429. should depend on networking selections.
  4430. * Applications
  4431. - NSH: Modified the df -h logic to eliminate truncating numbers in
  4432. conversion (like 7900 -> 7M). From Ken Pettit.
  4433. NuttX-7.1
  4434. ---------
  4435. The 101st release of NuttX, Version 7.1, was made on March 15, 2014,
  4436. and is available for download from the SourceForge website. Note
  4437. that release consists of two tarballs: nuttx-7.1.tar.gz and
  4438. apps-7.1.tar.gz. Both may be needed (see the top-level nuttx/README.txt
  4439. file for build information).
  4440. The previous NuttX version was 6.33. The NuttX minor version number is
  4441. incremented on each release, but the major version number is incremented
  4442. only when an incompatibility with previous versions is included in the
  4443. release. In this case, the legacy, manual configuration is no longer
  4444. supported by the NuttX build system beginning with NuttX 7.1. Only the
  4445. newer configurations generated by the kconfig-frontends tools will generate
  4446. viable NuttX configurations.
  4447. All board configurations in the NuttX source tree have been converted to
  4448. use the newer configuration, but if you have some older style configurations
  4449. for you board, you will need to convert those configurations to use the
  4450. kconfig-frontends tools before taking any new code from the repository. See
  4451. http://www.nuttx.org/doku.php?id=wiki:howtos:convertconfig for some
  4452. guidelines.
  4453. Additional new features and extended functionality:
  4454. * Core OS:
  4455. - System time logic now includes logic to measure and calculate the
  4456. CPU load percentage (from David Alessio). This CPU load logic
  4457. extended to keep counts on each thread. The per-thread CPU is
  4458. now reported in the procfs under <pid>/loadavg An asynchronous,
  4459. "external" clock may be used to drive the CPU load calculations
  4460. for more accurate measurements when needed.
  4461. * File Systems:
  4462. - As mentioned above, the per-thread CPU load information is now
  4463. reported in the procfs under <pid>/loadavg.
  4464. - Many file system interfaces have been extended to operate on the
  4465. top-level NuttX pseudo filesystem. These include rmdir, mkdir,
  4466. rename, and unlink. This capability can be disabled with
  4467. CONFIG_DISABLE_PSEUDOFS_OPERATIONS in order to keep the footprint
  4468. small.
  4469. * Networking:
  4470. - Numerous updates and improvements to the CC3000 driver from David
  4471. Sidrane.
  4472. * Common Drivers:
  4473. - Defined a mouse interface that is very similar to a touchscreen
  4474. interface, but allows reporting of all mouse buttons. Also, unlike
  4475. touchscreen drivers, mouse drivers need to report positional data
  4476. with no button is pressed so that the mouse position can drive a
  4477. cursor.
  4478. - Added support for a USB HID boot mouse device. Cursor support is
  4479. not integrated and must be provided by the application based upon
  4480. the reported mouse data.
  4481. - Support added for the MIO283QT9A LCD from Toby Duckworth.
  4482. * Atmel SAMA4E:
  4483. - Added complete architecture support for the Atmel AT91 SAM4E
  4484. Cortex-M4F parts.
  4485. * Atmel SAM4E Board Support:
  4486. - Add board support for the SAM4E-EK board.
  4487. * Atmel SAM4E Drivers:
  4488. - Added logic to manage the Cortex-M Cache Control block.
  4489. - Developed and integrated an Ethernet MAC driver for the SAM4E.
  4490. - Backported the SAMA5 SPI driver to the SAM3/4 architecture. The
  4491. SAMA5 version supports both multiple SPI peripherals as needed by the
  4492. SAM3A and SAM3X and also supports DMAC (but not PDC) needed by the
  4493. SAM4E.
  4494. * Atmel SAM D20:
  4495. - Added basic architecture support for the Atmel AT91 SAM D20
  4496. Cortex-M0+ parts.
  4497. * Atmel SAM D20 Board Support:
  4498. - Added basic support for SAM D2 Xplained Pro board. Currently, the
  4499. NuttShell (NSH) works reliably over a serial port. An SPI driver
  4500. has also been developed. Work with the SAM D20 has been temporarily
  4501. stopped, however, in order to focus on the SAM4E-EK.
  4502. * TI Tiva TMC4C123G:
  4503. - Added architecture support for the TI Tiva TM4C123G parts. This was
  4504. merged into the existing support for the LM3S and LM4F families.
  4505. All directory, file, and function references changed from lm to tiva.
  4506. * TI Tiva TMC4C123G Board Support:
  4507. - Added basic board support for the TM4C123G-Launchpad. As of this
  4508. release the TM4C123G-Launchpad board support is untested and likely
  4509. incomplete.
  4510. * STMicro STM32 Boards:
  4511. - The Mikroe STM32F4 can now support the newer MIO283QT9A LCD. From
  4512. Toby Duckworth.
  4513. - Miscellaneous changes to better support FPU on STM32F429 Discovery
  4514. from David Alessio.
  4515. * NXP LPC2378 Drivers:
  4516. - Incorporated I2C and SPI drivers for the LPC23xx from Lizhuoyi.
  4517. * QEMU i486 Drivers:
  4518. - New QEMU keyboard and VGA drivers from Lizhuoyi.
  4519. * Documentation:
  4520. - Added a coding standards document. See
  4521. http://www.nuttx.org/doku.php?id=documentation:codingstandard
  4522. * Configuration/Build System:
  4523. - A configuration option, CONFIG_DEFAULT_SMALL, was added to select
  4524. default values for configuration variables based upon whether you
  4525. want a smaller footprint or more features. This is not very useful
  4526. if you are modifying existing configurations because then the
  4527. default values do not apply.
  4528. - CONFIG_DEFAULT_SMALL has been defined on all tiny MCU configurations
  4529. so that they do not grow so rapidly when new, optional features are
  4530. added.
  4531. - The legacy, manual configuration is no longer supported by the
  4532. NuttX build system. Only the newer configurations generated by
  4533. the kconfig-frontends tools will generate viable NuttX
  4534. configurations. All board configurations in the NuttX source tree
  4535. have been converted to use the newer configuration, but if you have
  4536. some older style configurations for you board, you will need to
  4537. convert those configurations to use the kconfig-frontends tools. See
  4538. http://www.nuttx.org/doku.php?id=wiki:howtos:convertconfig for some
  4539. guidelines.
  4540. * Applications:
  4541. - NSH can now use an EMACS-like command line editor. This CLE, is
  4542. really more like the traditional readline than is the default, tiny
  4543. the NuttX readline .
  4544. - The touchscreen example can now be configured to work with either a
  4545. touchscreen or a mouse device.
  4546. - Several NSH commands can now be used to operate on objects in the
  4547. top-level pseudo-filesystem: rmdir, mkdir, mv, and rm. This
  4548. capability can be disabled with CONFIG_DISABLE_PSEUDOFS_OPERATIONS
  4549. in order to keep the footprint small.
  4550. - If both the CPU load feature and the procfs features are enabled,
  4551. then the NSH 'ps' command will show the CPU load used by each
  4552. thread.
  4553. Bugfixes (see the ChangeLog for details). Some of these are very important:
  4554. * Core OS:
  4555. - task_terminate() always returned an error because the return value
  4556. was not being set correctly (from Gosha).
  4557. - nanosleep() Fix a missing call to re-enable interrupts (from Jason
  4558. Jiang).
  4559. * File Systems:
  4560. - Fixed an error in the FAT logic that can cause file corruption. The
  4561. error conditions are rare and only seen with very large files (from
  4562. Andrew Tridgell). This replaces a previous, partial fix for the same
  4563. problem.
  4564. - Fixed memory leaks in the NXFFS open() and stat() implementations
  4565. (from Lzyy).
  4566. - The interfaces include opendir(), readdir(), et al, were modified so
  4567. that errors will not be reported if you attempt to list a empty
  4568. pseudo-directory.
  4569. * Networking:
  4570. - Fix one place where the connection reference count was not being
  4571. decremented in the socket close() logic. This is really a cosmetic
  4572. change BUT when CONFIG_DEBUG_NET is enabled, it will cause assertions.
  4573. - Backed out a small part of the NuttX 6.33 write buffering changed.
  4574. David G says that this causes problems in connecting to a server.
  4575. - In DHCPD, there was a place where the logic was calling ntohl()
  4576. inappropriately; the address was already in the correct order. How
  4577. could DHCPD have worked with this bug?
  4578. * TI Tiva/Stellaris Drivers:
  4579. - Fixed cut'n'paste error that prevented UARTS2-7 from being used with
  4580. the LM4F120 Launchpad.
  4581. - Fixed several errors there were unmasked with UARTs > UART2 are
  4582. enabled (grom Gosha).
  4583. * Allwinner A10 Drivers:
  4584. - Fixed cut'n'paste error that prevented UARTS2-7 from being used with
  4585. the pcDuino.
  4586. * NXP LPC17xx Drivers:
  4587. - Fix an compilation error that crept into the LPC17xx USB host driver.
  4588. * STMicro STM32 Drivers:
  4589. - Fix cloned typo in the serial driver: FLOWCONTROL vs FLOWCONROL.
  4590. - Disable SPI before changing DPI CR1 register (from David Sidrane).
  4591. - stm32 TIM: Set the timer CCMR when selecting timer channel. From
  4592. David Sidrane.
  4593. - Fix typo in a Makefile: stm32_pwm.c not stm32_psm.c. Noted by Max
  4594. Kriegleder.
  4595. * Library:
  4596. - More sscanf() bug fixes from David Sidrane.
  4597. * Header files:
  4598. - cstdbool: Ignore _Bool8 if CONFIG_C99_BOOL8=y
  4599. * Configuration/Build System:
  4600. - Several changes to restore the broken native Windows build
  4601. * NuttShell (NSH):
  4602. - Use strncpy vs strcpy in the Telnet console logic to avoid
  4603. overruning the username and password buffers (from Bertold Van den
  4604. Bergh).
  4605. - Add a newline after printing the file in the 'cat' command. This
  4606. prevents the NSH prompt from be in the same line as the final line
  4607. of the file in the case where there is no newline at the end of the
  4608. file.
  4609. NuttX-7.2
  4610. ---------
  4611. The 102nd release of NuttX, Version 7.2, was made on April 29, 2014,
  4612. and is available for download from the SourceForge website. Note
  4613. that release consists of two tarballs: nuttx-7.2.tar.gz and
  4614. apps-7.2.tar.gz. Both may be needed (see the top-level nuttx/README.txt
  4615. file for build information).
  4616. Additional new features and extended functionality:
  4617. * Core OS:
  4618. - Add support for CLOCK_REALTIME. From Macs N.
  4619. * Network Utilities:
  4620. - Add a very primitive NTP client.
  4621. - DNS resolver: Long needed major clean up for coding style and
  4622. unification of naming conventions (resolv vs dns).
  4623. * Common Drivers:
  4624. - Add a new MTD driver that can be used to contain another driver and
  4625. force its apparent sector size to be 512 bytes.
  4626. - If DCD can support queuing of stall requests, then the USB MSC stall
  4627. work around delays are not necessary.
  4628. - Redesign threading module used with the USB MSC driver. It was using
  4629. pthreads before and these were changed to a kernel thread. The reason
  4630. for this has to do with task grouping: A pthread is a memory of the
  4631. group of the task that started it. A kernel thread is independent of
  4632. the task that started in (other than knowing it as the parent). This
  4633. allows me to remove so kludge logic to "deparent" the pthread on
  4634. startup.
  4635. - Update the MIO183QT-9A LCD driver to support reading from the LCD.
  4636. From Toby Duckworth.
  4637. - Timer "upper half" driver and l"lower half" interface definition from
  4638. Bob Doiron.
  4639. * Atmel SAM4E/4S Board Support:
  4640. - All SAM4E configurations updated to run with 120MHz CPU speed and
  4641. with the CMCC enabled.
  4642. - Support for the SAM4S Xplained Pro board from Bob Doiron.
  4643. - Add watchdog driver. From Bob Doiron.
  4644. * Atmel SAM4E/4S Drivers:
  4645. - Add a USB full speed device driver (UDP) for the SAM4E.
  4646. - Add support in HSMCI and SPI drivers to invalidate cached memory if
  4647. the CMCC is enabled.
  4648. - Add logic to handle SPI word widths > 8
  4649. - Port RTC driver from SAMA5 to SAM3/4. From Bob Doiron.
  4650. - HSMCI: Extensions from Bob Doiron needed to support PDC-based HSMCI
  4651. DMA transfers. Verified on the SAM4S Xplained Pro.
  4652. * Atmel SAMA5:
  4653. - Add support for the SAMA5D36 chip.
  4654. - Add functions to calculate PLLACK, PCK, and MCK frequencies given
  4655. the main clock frequency.
  4656. - Implemented RAM functions. When booting directly into NOR flash,
  4657. reconfiguring the PLL while executing out of NOR FLASH causes
  4658. crashes. This was fixed by David Sidrane by implementing RAM
  4659. functions. The killer code is copied and executed from ISRAM and
  4660. the crash is avoided.
  4661. * Atmel SAMA5 Drivers:
  4662. - Add support for the SAMA5D3 DBGU.
  4663. * Atmel SAMA5 Board Support:
  4664. - Add a board support configuration for the Atmel SAMA5D3 Xplained
  4665. board running out of SDRAM. When booting from SDRAM, start-up logic
  4666. needd to query the PMC registers to determine the MCK, PCK, etc.
  4667. - For all SAMA5 boards, added support for 528MHz clocking.
  4668. * TI Tiva/Stellaris:
  4669. - Modify the logic to disables the interrupts and sets the default
  4670. interrupt priority so that it uses the ICTR to get the number of
  4671. interrupt lines/registers. This is instead of using some fixed
  4672. number of initializations based a priori knowledge of the number
  4673. of interrupt lines in the MCU.
  4674. * STMicro STM32
  4675. - Add support for the STM401RE. From Frank Bennett.
  4676. * STMicro STM32 Boards:
  4677. - STM32F4Discovery: Add support to register keyboard and mouse
  4678. classes if so configured. From Leo.
  4679. - Add support for the Nucleo-F401RE board. From Frank Bennett.
  4680. * STMicro STM32 Drivers:
  4681. - Add STM32 Ethernet IGMP hashing support. From Manuel Stühn.
  4682. - OTG FS Host: USB host tracing added by Leo.
  4683. * Freescale Kinetis
  4684. - Modify the logic to disables the interrupts and sets the default
  4685. interrupt priority so that it uses the ICTR to get the number of
  4686. interrupt lines/registers. This is instead of using some fixed
  4687. number of initializations based a priori knowledge of the number
  4688. of interrupt lines in the MCU.
  4689. * NXP LPC17xx
  4690. - Modify the logic to disables the interrupts and sets the default
  4691. interrupt priority so that it uses the ICTR to get the number of
  4692. interrupt lines/registers. This is instead of using some fixed
  4693. number of initializations based a priori knowledge of the number
  4694. of interrupt lines in the MCU.
  4695. * ZiLOG ZNEO Drivers
  4696. - Added ZNEO ESPI driver.
  4697. * Library:
  4698. - Finish incomplete support for ferror(). From Macs N.
  4699. * Documentation:
  4700. - UsbTrace.html: Add some discussion of the USB monitor.
  4701. * Configuration/Build System:
  4702. - compiler.h: Add macro UNUSED() that can be used to eliminate
  4703. warnings about variables that are set to values that are not
  4704. used.
  4705. * Debugging Support:
  4706. - Add a configuration option to enable dumping of the USB trace buffer
  4707. on assertion.
  4708. * Applications:
  4709. - IGMP Example: Fill out Kconfig file; update makefile so that the
  4710. IGMP example can be used as an NSH built-in application. From Manuel
  4711. Stühn.
  4712. - lcdrw Example: Fill out empty Kconfig file.
  4713. - touchscreen Example: Add a configuration option to indicate if
  4714. architecture-specific initialized is required, yes or no.
  4715. - System usbmsc: Back out the USBMSC daemon... it is no longer needed
  4716. with the recent fix to the USBMSC class driver.
  4717. - NSH: malloc/free IOBUFFER for 'cat' and 'hexdump' commands instead of
  4718. using the stack. From Bob Doiron.
  4719. - cpuhog, serialblaster, and serialrx Examples: Stress test examples
  4720. added by Bob Doiron.
  4721. Bugfixes (see the ChangeLog for details). Some of these are very important:
  4722. * Core OS:
  4723. - errno_get_errno_ptr() and getpid(): Add some checks. If these
  4724. functions are called very early in initialization before the tasking
  4725. structures are initialized, they would not behave properly.
  4726. * Networking:
  4727. - IGMP-related bug fixes from Manuel Stühn.
  4728. - In netdev_findbyaddr(), skip network devices that are in the "down"
  4729. state. It does not make sense to consider an address match with a
  4730. "down" device. From Brennan Ashton.
  4731. * Network Utilities:
  4732. - DHCPD: The correct value of the PAD option. Should be zero, not
  4733. one. From Brennan Ashton.
  4734. - Corrections to the NTP client from Manuel Stuehn.
  4735. * Common Drivers:
  4736. - usbhost.h: Fix some USB HID-related conditional compilation. From Leo.
  4737. - USB HID mouse driver: Don't include NAKs from the device in the error
  4738. count. From Leo.
  4739. * TI Tiva/Stellaris:
  4740. - Add corrected control logic for TM4C125GXL based on logic from Daniel
  4741. Carvalho with modifications. The LM4F120 also works well with this
  4742. change.
  4743. * STMicro STM32 Drivers:
  4744. - STM32 F2 SPI: Correct a mapping for SPI MOSI pin. From dlsitzer.
  4745. - OTG FS Host: Fixes related to low-speed devices and interrupt
  4746. endpoints from Leo. Necessary in order to use a USB HID mouse
  4747. device.
  4748. - STM32 SDIO: The dmaflight method must be conditioned on
  4749. CONFIG_SDIO_PREFLIGHT. Noted by Pelle Windestam.
  4750. - Sourceforge Ticket #26. up_prioritize_irq should not be called
  4751. if CONFIG_ARCH_IRQPRIO is not defined.
  4752. * Atmel SAM3/4:
  4753. - Fix some backward conditional compilation in the start-up logic.
  4754. - Fix initialization of the default interrupt priorities. This is
  4755. a critical bug fix!
  4756. - SAM4S: Fix error in macros that disable peripheral clocking. From
  4757. Bob Doiron.
  4758. * Atmel SAMA5:
  4759. - Fix double mapping of SDRAM when executing out of SDRAM. In this
  4760. case, the SDRAM was already mapping in arm_head.S.
  4761. - In clock configuration, the BMS bit handling was fixed to match
  4762. what the HW really does. From David Sidrane.
  4763. - TLB Bufferable bit did not do what I thought it was going to do.
  4764. I though I was selecting a write-through cache, but the result was
  4765. that all caching was disabled and NOR FLASH accesses were very slow.
  4766. - Move the un-definitions of __ramfuncs__ from the clock configuration
  4767. .c file to the .h file. Otherwise, the attribute will be applied
  4768. differently for the prototype and the function definition.
  4769. Sourceforge patch 38 from Luciano Neri.
  4770. * Atmel SAMA5 Drivers:
  4771. - Fix a case in the UDPHS driver where received status was not being
  4772. cleared, causing OUT SETUP commands to fail.
  4773. - TWI data sending fails to increment the number of byes transferred
  4774. on first byte sent. from David Sidrane.
  4775. - If running from SDRAM, then BOARD_MCK_FREQUENCY is not a constant
  4776. and cannot be used in conditional compilation. All drivers fixed
  4777. EXCEPT for the PWM and Timer/Counter drivers which will need some
  4778. more extensive redesign.
  4779. * Atmel SAMA5 Boards:
  4780. - SAMA5D3x-EK: The red LED is controlled by PE24 which is also the
  4781. camera/ISI interface reset line. So if the a camera is installed,
  4782. then we must avoid controlling the red LED or we inadvertently
  4783. also reset the camera module. Noted by David Sidrane.
  4784. - Header files reference type xcpt_t in certain configurations and
  4785. so must include nuttx/irq.h. This is Sourceforge bug 25 submitted
  4786. by Luciano Neri.
  4787. * NXP LPC17xx Drivers
  4788. - arm/src/lpc17xx/Kconfig and lpc17_ethernet.c: The default interrupt
  4789. priority should be default, not the highest priority (2014-4-19).
  4790. * ZiLOG ZNEO
  4791. - Fix calculation of timer reload and prescaler. The timer frequency
  4792. was way too fast.
  4793. * Library:
  4794. - strncpy(): Change ordering of test and copy. Logic would have
  4795. failed if n=0; one byte was always copying before testing
  4796. for the end of the copy.
  4797. - Fix a counting error in the return value from sscanf(). Noted by
  4798. kfrolov. Also, sscanf() should return EOF if no values were
  4799. converted.
  4800. - Fix a logic error in ftell(). It was simply using the file offset
  4801. and did not take into account data buffered in memory. From Macs N.
  4802. - sccanf(): Use stroul() vs strol() with %u format otherwise, range
  4803. of values is restricted because of sign bit. From kfrolov.
  4804. * Configuration/Build System:
  4805. - Fix a build error that occurs when only USB device tracing is enabled.
  4806. * NuttShell (NSH):
  4807. - Fix NuttShell version number display in the NSH welcome message.
  4808. version.h was not being included.
  4809. * Other Applications:
  4810. - sysinfo: CONFIG_VERSION_BUILD is a string an needs to be
  4811. printed with %s, not %d. Noted by Librae.
  4812. - nxplayer: Compilation failure in one configuration reported by
  4813. Manuel Stuhn.
  4814. - System sdcard: Remove an STM32 dependency. From Bob Doiron.
  4815. - telnetd Example: Naming is confused. In someplaces 'telnetd',
  4816. and in others 'shell.' All changes to telnetd. Noted by Pelle
  4817. Windestam.
  4818. NuttX-7.3
  4819. ---------
  4820. The 103rd release of NuttX, Version 7.3, was made on June 25, 2014,
  4821. and is available for download from the SourceForge website. Note
  4822. that release consists of two tarballs: nuttx-7.3.tar.gz and
  4823. apps-7.3.tar.gz. Both may be needed (see the top-level nuttx/README.txt
  4824. file for build information).
  4825. Additional new features and extended functionality:
  4826. * Core OS:
  4827. - Dynamic loader: Framework to support Pascal P-Code as a binary
  4828. format that can be exec'ed from a file system.
  4829. - Dynamic Loader: Extend the binfmt interface to handle error
  4830. conditions where format-specific clean-up is needed in the event
  4831. of error conditions. This is needed by the P-Code binfmt.
  4832. * Networking
  4833. - IOB: Add a generic I/O buffer chain logic. This logic uses small,
  4834. pre-allocated buffers that can be chained together to support
  4835. transfers of any size, using fewer resources and also without
  4836. committing in advance to a TCP window size. There is now only
  4837. one I/O type used in the networking and it is these I/O buffer
  4838. chains.
  4839. - TCP Write Buffering: TCP write buffering logic converted to use
  4840. I/O buffer chains.
  4841. - TCP Read-Ahead Buffering: TCP read-ahead buffering logic converted
  4842. to use I/O buffer chains.
  4843. - Includes logic to support throttling of read-ahead buffering if
  4844. the read-ahead buffering is competing with write buffering for
  4845. I/O buffers.
  4846. - Raw Sockets: Add support for the AF_PACKET socket family. From
  4847. Daniel Lazlo Sitzer.
  4848. * Common Drivers:
  4849. - W25 Serial FLASH driver extended by Mark Whitehorn to support the
  4850. 8Mbit W25Q80BV part.
  4851. - Add support for Fujitsu MB85RS1MT RAMTRON part. From Charles Ash.
  4852. - Enhancements to the generic timer interface to support capture mode
  4853. from Bob Doiron.
  4854. - Add an rxflowcontrol method to the serial interface to better
  4855. support RX flow control. This involves common changes in addition to minor updates to all MCU-specific serial drivers (only fully implemented for the STM32). From Jussi Kivilinna.
  4856. * Atmel SAM4C
  4857. - Add support for the SAM4CM family. From Max Neklyudov.
  4858. * Atmel SAM4E/4S Drivers:
  4859. - RTT driver from Bob Doiron. Also added high resolution RTC
  4860. emulation using the RTT for the sub-second counter.
  4861. * Atmel SAM4E/4S Board Support:
  4862. - The SAM4S Xplained Pro now uses the extended timer/counter
  4863. features. From Bob Doiron.
  4864. - Added a touchscreen and LCD driver for the SAM4E-EK board (the LCD,
  4865. however, not yet fully functional).
  4866. * Atmel SAMA5:
  4867. - Optimized, high performance, assembly language memcpy(). This is
  4868. the same optimized memcpy() function that Mike Smith brought in
  4869. for the ARMv7-M with minor tweaks by David Sidrane to work with
  4870. the ARMv7-A.
  4871. - Basic support added for the SAMA5D4 family.
  4872. * Atmel SAMA5 Drivers:
  4873. - SAMA5D4: New drivers unique to the SAMA5D4: XDMAC, SAIC, and
  4874. others.
  4875. * Atmel SAMA5 Board Support:
  4876. - SAMA5D4-MB: Initial board support for the SAMA5D4-MB/EK boards.
  4877. * STMicro STM32
  4878. - Add support for the STM32152 and STM32162 Medium+ density parts
  4879. (plus miscellaneous other improvements to the original STM32151
  4880. logic). From Jussi Kivilinna and Sami Pelkonen.
  4881. * STMicro STM32 Boards:
  4882. - Support for the Olimex STM32 H405 board contributed by Martin
  4883. Lederhilger.
  4884. * STMicro STM32 Drivers:
  4885. - Implement the rxflowcontrol method to the serial interface to better
  4886. support RX flow control. From Jussi Kivilinna.
  4887. * NXP LPC17xx Drivers:
  4888. - Added support for the RTC, ADC, DAC, Timers, PWM and MCPWM
  4889. drivers. From Max (himax).
  4890. * NXP LPC17xx Boards:
  4891. - Support for the RTC, ADC, DAC, Timers, PWM and MCPWM integrated
  4892. in the LPCXpresso LPC1768 board support. From Max (himax).
  4893. * Library:
  4894. - Add support for seek-able streams.
  4895. * Configuration/Build System:
  4896. - Restructured network directories, header files, and naming to
  4897. better modularize the networking and to better integrate the
  4898. networking with the rest of NuttX.
  4899. * Applications:
  4900. - prun: An NSH built-in application that can be used to run
  4901. Pascal P-Code programs either programatically or from the NSH
  4902. command line.
  4903. - netpkt: A "raw" socket test from Lazlo Sitzer.
  4904. - hex2bin: A library and built-in task to convert from
  4905. Intel HEX to binary format. It can write the binary data to a file or it can store the binary data to memory (to support, for example, a loader).
  4906. Bugfixes. Only the most critical bugfixes are listed here (see the ChangeLog for the complete list of bugfixes and for additional, more detailed bugfix information):
  4907. * Core OS:
  4908. - Dynamic Loader: Fix an error in a symbol table search function.
  4909. Noted by Pelle Windestam.
  4910. - Dynamic Loader: Fix a critical error in exec(); argv was not
  4911. being passed.
  4912. - mq_notify: Test for a valid signal number was inverted; this
  4913. function could not have been working correctly before??? From
  4914. eero.nurkkala.
  4915. - Fix typo in conditional compilation: CONFIG_CLOCK_MONOTONIC vs.
  4916. CLOCK_MONOTONIC. From Manuel Stühn.
  4917. * Graphics
  4918. - Fix typos in several RGB conversion macros.
  4919. * Networking:
  4920. - Modify TCP timout handling to provent situations where connections
  4921. may not be freed. From Max Holtzberg.
  4922. - Improved TCP fallback allocation logic from Max Holtzberg. Also,
  4923. fallback mechanism is disabled when SO_LINGER is to prevent
  4924. deadlocks.
  4925. - Write Buffering: Add checks from buffer allocation failures. From
  4926. Max/Himax.
  4927. * Network Utilities:
  4928. - webserver: httpd_fs_open() should return OK on success and ERROR on
  4929. failure, not 1 and 0.
  4930. * Common Drivers:
  4931. - Make sure that all references to up_prioritize_irq() are
  4932. conditioned on CONFIG_ARCH_IRQPRIO. Problem noted by Mike Smith.
  4933. - CC3000: Correct SPI mode for CC3000 is CPOL=0 CHPA=1. From Jussi
  4934. Kivilinna.
  4935. - CC3000: Fix a race condition in thread start-up logic. From Jussi
  4936. Kivilinna.
  4937. - CC3000: Additional fixes including a compilation failure if POLL is
  4938. enabled. From Jussi Kivilinna.
  4939. * USB Drivers:
  4940. - CDC/ACM and PL2303 device: Reset RX head to avoid resending last
  4941. serial data when USB cable disconnected/re-connected. From
  4942. Lizhuoyi.
  4943. * TI Tiva/Stellaris Boards:
  4944. - The Nucleo-F401RE has no on-board crystals and, hence, needs to run
  4945. with the PLL input from the on-chip HSI clock.
  4946. * STMicro STM32 Drivers:
  4947. - Serial: Handle configuration for the case of 8-bit data with
  4948. parity. From Freddie Chopin.
  4949. * Atmel SAM3/4 Boards:
  4950. - There was a cloned error in all SAM3/4 board configurations (and
  4951. for a few other architectures as well). Button interrupts not
  4952. being disabled after being detached. As a result, unexpected
  4953. interrupts could be received after the button interrupt was
  4954. detached.
  4955. * Atmel SAMA5:
  4956. - Fix some critical typos in the SAMA5D3 DMA definitions.
  4957. * STMicro STM32 Drivers
  4958. - I2C: Add an alternative I2C implementation for the STM32 F103 that
  4959. works around errata in that specific part. From Patrizio Simona.
  4960. - RTCC: Add retry logic to RTC initialization. It sometimes takes
  4961. longer for the RTC to initialize, at least as noted on an F2 part.
  4962. From Daniel Lazlo Sitzer.
  4963. * NXP LPC17xx Drivers
  4964. - GPDMA: Fix an error when DMA is started: The read-modify-write
  4965. fails when the DMA is started. This is because the value read is
  4966. not the same as the value set (on write it is the number of
  4967. transfers to do; on read it is the number of transfers completed).
  4968. From Lizhuoyi.
  4969. * Library:
  4970. - snprintf(): If the size passed to snprintf() is zero, then
  4971. snprintf() must write nothing, but instead return the size of the
  4972. buffer needed to hold the entire string. From Sami Pelkonen.
  4973. * Configuration/Build System:
  4974. - The alternate console device CONFIG_NSH_CONDEV must not be defined
  4975. unconditionally. This causes errors when using Telnet sessions.
  4976. This was solved by adding CONFIG_NSH_ALTCONDEV: CONFIG_NSH_ALTCONDEV enables or disables the feature then, if
  4977. enabled, CONFIG_NSH_CONDEV provides the alternative console
  4978. device name.
  4979. - Many files: Convert all old-style GCC variadic macros to the C99
  4980. form. Recent GCC changes tightens up that behavior and can cause
  4981. some problems (at least for the IAR compiler for some reason).
  4982. Noted by Bob Grimes.
  4983. - tools/configure.sh: In-place SED edit messes up permissions on
  4984. windows. From Hannes Delago.
  4985. * Build Tools:
  4986. - tools/mkfsdata.pl: Apparently, the trailing the 0x00 in http
  4987. server files is seen as a bug in javascript and images. From
  4988. Max/Himax.
  4989. * Other Applications:
  4990. - I2C Tool: Fix to show the updated register address on each
  4991. fetch (vs. showing the same starting address each time). From
  4992. Ryan VanSickle.
  4993. - CLE was not returning the terminating newline character. But
  4994. reported by Max kriegleder.
  4995. NuttX-7.4
  4996. ---------
  4997. The 104th release of NuttX, Version 7.4, was made on August 15, 2014,
  4998. and is available for download from the SourceForge website. Note
  4999. that release consists of two tarballs: nuttx-7.4.tar.gz and
  5000. apps-7.4.tar.gz. Both may be needed (see the top-level nuttx/README.txt
  5001. file for build information).
  5002. Additional new features and extended functionality:
  5003. * Core OS:
  5004. - Beginnings of a crypto/ subsystem from Max Neklyudov
  5005. - Tickless operation: NuttX now supports a mode with no periodic
  5006. timer interrupts. Rather, timed events are handle via an interval
  5007. timer. This (1) lowers the rate of interrupt processing to timer
  5008. events, (2) gives much high timing resolution, and (3) allows lower
  5009. power modes of operation where the CPU is not constantly being
  5010. interrupted by the timer.
  5011. - Restructured the OS files under sched/ to better support the already
  5012. modular nature of the RTOS.
  5013. * Networking
  5014. - Substantial directory and header file reorganization and renaming to
  5015. make the NuttX networking implementation more modular.
  5016. - Add network device ioctl to access PHY registers. From Daniel Lazlo
  5017. Sitzer
  5018. * Binary Loader:
  5019. - Various changes associated with symbol tables from Pelle Windestam.
  5020. * Graphics:
  5021. - colorcmp(): New utility to compare two colors.
  5022. - The initial background color is now configurable. Includes logic to
  5023. eliminates multiple background updates to get the right color.
  5024. - Minor configuration changes to handle mouse X/Y and touchscreen
  5025. X/Y differently.
  5026. * File System/Block Drivers:
  5027. - SmartFS: Increase some variables from uint16_t to uint32_t to handle
  5028. larger device sizes. From Ken Pettit.
  5029. - Add configurable AES encryption support to the block-to-character
  5030. (BCH) driver. This allows any block device to be accessed as an
  5031. encrypted character device. From Max Nekludov
  5032. - Add an MTD layer that will add read-ahead or write buffering to any
  5033. MTD driver (incomplete).
  5034. - Automounter: Add support for an auto-mounter that will automatically
  5035. mount and unmount a file system a media is inserted and removed
  5036. * Audio/Audio Drivers
  5037. - WM8904 audio CODEC driver.
  5038. - PCM .WAV file decoder. Fast forward implemented with sub-sampling
  5039. (currently no rewind support).
  5040. - Add a NULL audio device that can be used to simply unit-level testing
  5041. of audio decoders.
  5042. - Audio subsystem now supports interfaces for fast-forward and rewind
  5043. needed by CMediaPlayer; add hooks for equalizer settings needed by
  5044. the WM8904 CODEC.
  5045. * Other Common Drivers:
  5046. - MTD: Extend erase block size to 18-bits in order (decrease block
  5047. size to 14-bits) to handle parts with large erase blocks. From Kosma
  5048. Moczek
  5049. - maxTouch: Add support for the Atmel maXTouch touchscreen controller.
  5050. * Host Simulation:
  5051. - Provides the timers needed to support the Tickless mode of operation.
  5052. * Atmel SAM4C:
  5053. - Add SAM4CM IPC register header file. From Max Neklyudov
  5054. - Various fixes PMC and clock configuration for the SAM4CM port from
  5055. Max Neklyudov
  5056. * Atmel SAM4E/4S Drivers:
  5057. - SAM4 AES driver. Contributed by Max Neklyudov
  5058. * Atmel SAMA5:
  5059. - Add logic to redirect all SAMA5D4 interrupts to the AIC
  5060. - Add a configuration option to reserve DRAM for a framebuffer when
  5061. executing out of DRAM. This optional was available before when
  5062. executing out of NOR, but needs to work a little differently in
  5063. this case.
  5064. - Add SAMA5 slow (32.768KHz) clock support.
  5065. - Add support for the ARM L2CC-PL310 L2 cache. The system runs with
  5066. L2CC cache enabled but there is some issues still with the LCD DMA;
  5067. I suspect that the memory timing configuration for L2CC needs to
  5068. be tuned.
  5069. - Provides the timers needed to support the Tickless mode of operation.
  5070. * Atmel SAMA5 Drivers:
  5071. - XDMAC-based HSCMI driver for the SAMA5D4
  5072. - Adapt the SAMA5D3 LCDC driver to work with the SAMA5D4 which has
  5073. no hardware cursor.
  5074. - PIO: Add a new interface sam_pio_forceclk() that can be used to
  5075. force PIO clocking on. I am afraid I was too conservative with
  5076. PIO clocking in the initial design; this is the price.
  5077. - TWI: Now supports the up_i2creset() method.
  5078. - TWI: Use sam_pio_forceclk() so that we can read the current state
  5079. of an open-drain output in the TWI reset logic.
  5080. - SSC: SCC Frame Synch Delay and Start Delay are now configurable.
  5081. - PCK: Add the slow clock and the main clocks as options for the
  5082. PCK configuration.
  5083. - Timer/Counter: Can now handle non-constant BOARD_MCK_FREQUENCY. Also
  5084. now supports methods to attach client interrupt handlers
  5085. - One shot and free-running timers. These are wrappers around the low
  5086. level timer/counter logic to provide one-shot and free-running
  5087. timers. These were developed to support the Tickless operation, but
  5088. can be used for any purpose.
  5089. * Atmel SAMA5 Board Support:
  5090. - Add a boot loader that runs from ISRAM and loads an Intel HEX file
  5091. into DRAM.
  5092. - Add a configuration that will load a bootloader into AT25 Serial
  5093. FLASH
  5094. - SAMA5D4-EK NSH configuration supports many more features: RTC, HSCMI
  5095. card detection, maXTouch touchscreen, TM7000 LCD, the command line
  5096. media player (currently using the NULL audio device), automounter,
  5097. and others.
  5098. - SAMA5D4-EK: Add an NxWM configuration using the TM7000 LCD with
  5099. the maXTouch multi-touch touchscreen.
  5100. - SAMA5D4-EK NxWM: Uses new, larger icons in configuration instead of
  5101. scaling.
  5102. - SAMA5D4-EK NxWM: The NxPlayer and audio system are now enabled in
  5103. the default configuration (but currently using the NULL audio
  5104. device). The automounter is used to automatically mount media
  5105. on an SD card.
  5106. - SAMA5D3x-EK: Add a configuration to support the command line
  5107. NxPlayer and to verify the WM8904 CODEC driver.
  5108. * STMicro STM32:
  5109. - Add support for the STM32F103RC and RD. From Kosma Moczek
  5110. - Add a procfs entry to show the state of the CCM heap usage.
  5111. From Pelle Winderstam
  5112. * STMicro STM32 Drivers:
  5113. - Unconfigure GPIO pins when closing a serial port to prevent back
  5114. effects from back-powering on the TX pin. From Kosma Moczek
  5115. * NXP LPC17xx Drivers:
  5116. - ADC: Added burstmode ADC conversion mode, with CONFIG_ADC_BURSTMODE
  5117. option in Kconfig. From Max
  5118. - Ethernet: Added option to use the kernel worker thread to do most of
  5119. the workload with CONFIG_NET_WORKER_THREAD option in Kconfig. From Max
  5120. - Ethernet: Critical bugfix: From time to time (after some hours) the
  5121. Ethernet receiver would lose one receive interrupt and the IP stack
  5122. never recover because there is no receive watchdog as the transmit
  5123. watchdog. From Max
  5124. * NXP LPC17xx Boards:
  5125. - mbed: Port ADC, DAC, and PWM logic from the configs/zkit-arm-1769.
  5126. From Max
  5127. - mbed: Eliminated a problem with PHY DP83848C : it doesn't need a
  5128. specific initialization on mbed. From Max
  5129. * Library:
  5130. - Adds support for localtime. From Max Neklyudov
  5131. * Configuration/Build System:
  5132. - Make variable definitions 'static const' when possible to save RAM
  5133. usage. From Kosma Moczek
  5134. * Applications:
  5135. - sysem/mdio: New PHY tool from Daniel Lazlo Sizter.
  5136. - NSH: Networking logic modified to handler the case of SLIP
  5137. transport. From Max Neklyudov.
  5138. - NSH: Add a configuration to use a USB keyboard for the stdin
  5139. device.
  5140. - NSH: Software assigned MAC address is now configurable. From Lazlo.
  5141. - NSH: Also add an option to let platform-specific logic select the
  5142. MAC address.
  5143. - NSH: There is now a configuration option that will bring up the
  5144. network on an separate thread. Since the network bring-up is
  5145. asynchronous, there are no serial console start-up delays due
  5146. to the network negotiation time.
  5147. - NxPlayer: Changes to integrate with Ken's NxWM::CMediaPlayer.
  5148. - NxPlayer: Add interfaces for fast-forward and rewind needed by
  5149. CMediaPlayer; add interface for equalizer settings needed by the
  5150. WM8904.
  5151. - NxPlayer: Supports new way of identifying the end of the audio
  5152. stream (see the Audio section above).
  5153. - Sudoku: Add a sudoku game.
  5154. Bugfixes. Only the most critical bugfixes are listed here (see the ChangeLog for the complete list of bugfixes and for additional, more detailed bugfix information):
  5155. * Graphics:
  5156. - NxConsole: Fix scrolling for the case of the framebuffer device. In
  5157. this case, the logic for clearing the vacated region at the bottom
  5158. was missing so garbage would scroll up from the last, uncleared
  5159. line.
  5160. * Networking:
  5161. - Important fix to the read-ahead buffer queue management: Consumed
  5162. bytes were being trimmed from the head of the queue, but the queue
  5163. head itself was not being updated. From Rony XLN.
  5164. - Fix an error in SLIP escaping. From Max Neklyudov
  5165. * Network Utilities:
  5166. - Fix an include file ordering problem when CONFIG_NET_STATISTICS=y.
  5167. - Move statistics from uip.h to new netstats.h to remove a circular
  5168. inclusion problem
  5169. - Various fixes for networking and tiny webserver from Max
  5170. - webclient: Fix to offset calculation from Rony Xln. Prevents 0x0a
  5171. at the beginning of lines.
  5172. - webserver: Fix some configuration usage issues. From Max.
  5173. - webserver: Missing logic to close sockets on loop termination.
  5174. * File System / Block Drivers:
  5175. - SmartFS: Fix for a bug that would show up if CONFIG_MTD_BYTE_WRITE
  5176. was not selected and the SMART sector size was larger than the MTD
  5177. device's block size (like it would be if using SMARTFS on larger
  5178. flash devices). From Ken Pettit.
  5179. * Audio:
  5180. - Change how the end of the audio stream is detected by the leaf audio
  5181. component. This used to be done by looking for the first partial
  5182. buffer. That does not work with the in-place sub-sampling performed
  5183. by the PCM decoder: That always reduces the size of the buffer so
  5184. that all buffers only partially filled by the time they get to the
  5185. leaf. Now, a flag is set in the audio buffer flags set to indicate
  5186. the final buffer in the stream.
  5187. * Common Drivers:
  5188. - RAMLOG putc() method needs to set the errno and return EOF on a
  5189. failure.
  5190. - Add missing configuration option to select the MAX11802 touchscreen
  5191. controller. From Petteri Aimonen
  5192. * Atmel SAMA5D3/4:
  5193. - Fix logic in conversion of physical and virtual DRAM addresses when
  5194. running out of DRAM. This is an important bug fix for the SAMA5D3
  5195. and 4 when running out of DRAM .
  5196. - Critical SAMA5D3 and 4 bug fix: PIO clocking must be enabled for
  5197. all input pins or else the value that is read never changes.
  5198. * Atmel SAMA5D3/4 Drivers:
  5199. - OHCI: Fix an error in a DEBUGASSERT statement. Caused an
  5200. assertion to fire inappropriately when a low- or full-speed device
  5201. was removed and CONFIG_DEBUG=y
  5202. - OHCI: Pointers to allocated port values were not being
  5203. nullified after being deallocated. This caused some assertions
  5204. to fire when debug was enabled
  5205. - SSC: Needs to account for data offset in audio buffer
  5206. * ARMv7-M:
  5207. - Correct the initial value of the BASEPRI register. This was
  5208. apparently never being initialized! From Max
  5209. * STMicro STM32 Drivers:
  5210. - I2C: Fix missing configuration of GPIO pins in I2C driver. Fix
  5211. from Alex D.
  5212. - STM32 OTGFS device: Various changes to try to reduce that amount of
  5213. time in interrupts handles and with interrupts disabled. From
  5214. Petteri Aimonen
  5215. * Atmel SAM3/4 Drivers:
  5216. - Ethernet: Wrong bits being cleared before OR-ing in new settings.
  5217. - Ethernet: Fix an error in the function that determines the number
  5218. of free TX descriptors. This is an important bugfix on busy
  5219. networks.
  5220. - I2C: Test for read or write operation was reversed. How could
  5221. this have worked before?
  5222. * Atmel SAM3/4 Boards:
  5223. - SAM4S Xplained-Pro: Correct description of LEDs and usage. From
  5224. Kosma Moczek
  5225. * Atmel SAMA5:
  5226. - PIO: Fix definitions that could disable PIO interrupt support if only
  5227. PIOE interrupts were enabled
  5228. - PIO: Macro SAM_PION_VBASE is not define-able for the SAMA5D4 and must
  5229. be replaced with a table lookup.
  5230. - PIO: Fix a typo in Schmitt trigger configuration; Configure pin as a
  5231. vanilla input first so that final pin configuration is more read-able
  5232. (i.e., easier to debug)
  5233. - PIO: Logic for Schmitt trigger selection backward
  5234. - SAMA5D4: Correct system timer frequency. Input clock is MCK/2, not MCK.
  5235. * Atmel SAMA5 Drivers:
  5236. - Ethernet: Wrong bits being cleared before OR-ing in new settings.
  5237. - Ethernet: Fix an error in the function that determines the number
  5238. of free TX descriptors. This is an important bugfix on busy
  5239. networks.
  5240. - HSMCI: The 8-byte SCR transfer was failing silently with the DMA
  5241. transfer, leaving the SD card in single bit mode. Fixed by adding
  5242. a non-DMA read transfer mode.
  5243. - HSMCI: Fix a problem on card insertion/removal callback handling.
  5244. Interrupts were being disable so that the callbacks occurred with
  5245. interrupts disabled. This resulted in loss of some interrupts and
  5246. some not-so-good behaviors. The solution is to perform all
  5247. callbacks on the work thread unconditionally
  5248. * Atmel SAMA5 Boards:
  5249. - PIO: Fix some cloned errors in SAM GPIO interrupt setup
  5250. * NXP LPC17xx Drivers:
  5251. - Ethernet: Comment out an assertion that is reported to fire
  5252. inappropriately. From Max
  5253. * Library:
  5254. - stdint.h: Correct naming of [U]INT_LEASTn_{MAX|MIN} and
  5255. [U]INT_FASTn{MAX|MIN}. From Kosma Moczek
  5256. - unistd.h: POSIX definitions should be defined to a value. rom Kosma
  5257. Moczek
  5258. - Fixes associated with rint() and related interfaces in the math
  5259. library.
  5260. * Configuration/Build System:
  5261. - NAME_MAX not available on SunOS; use FILENAME_MAX or MAXNAMELEN.
  5262. Noted by Douglas Beattie
  5263. * Applications:
  5264. - NSH: if # appears on line, need to comment ignore additional
  5265. commands on the line
  5266. - NxPlayer: Check for file read errors and end-of-file with zero
  5267. bytes read. Other error handling corrected as well.
  5268. - NxPlayer: NxPlayer needs to set curbyte field to zero before
  5269. enqueuing a buffer. Otherwise, it looks like beginning of the
  5270. buffer has already been consumed.
  5271. NuttX-7.5
  5272. ---------
  5273. The 105th release of NuttX, Version 7.5, was made on September 28, 2014,
  5274. and is available for download from the SourceForge website. Note
  5275. that release consists of two tarballs: nuttx-7.5.tar.gz and
  5276. apps-7.5.tar.gz. Both may be needed (see the top-level nuttx/README.txt
  5277. file for build information).
  5278. Additional new features and extended functionality:
  5279. * Core OS:
  5280. - Watchdog Timer Allocation: (1) If we run out of pre-allocated
  5281. watchdog times, the logic will now allocate additional timers
  5282. from the heap. A reserve of pre-allocated watchdog timers is
  5283. maintained so that there will always be timers available for
  5284. interrupt handlers. (2) Added support for statically allocated
  5285. watchdog timer
  5286. - Address Environment Support: (2) New OS APIs integrated into all
  5287. platform-specific context switching logic (up_block_task(),
  5288. up_unblock_task(), _exit(), and others).
  5289. - Kernel Build Support: (1) The MPU based "kernel build" renamed to a
  5290. protected build (CONFIG_BUILD_PROTECTED); added support for the a
  5291. new MMU-based "kernel build" (CONFIG_BUILD_KERNEL), (2) The system
  5292. call library can now be built with CONFIG_NUTTX_KERNEL. New
  5293. selection: CONFIG_LIB_SYSCALL.
  5294. - System Startup: Add configuration options to start the system from
  5295. a program on a file system (versus an address in memory).
  5296. - Startup Parameter Passing. There used to be two ways to pass
  5297. parameters to new tasks, depending upon the configuration: Either
  5298. (1) argv[] as created as an array with each string strdup'ed. Or
  5299. (2) argv[] array and strings were created on the stack before the
  5300. new task was started. Now, there is only one way, way (1). Way
  5301. (2) might be slightly more compact, but this is not worth carry the
  5302. complexity of two different ways of doing the same thing.
  5303. - Board Initialization: Add capability to perform initial board
  5304. initialization on a separate worker thread. This is needed because
  5305. there are many cases where initialization logic cannot execute on
  5306. the start-up/IDLE thread. That is because blocking or waiting is
  5307. not permitted on the IDLE thread.
  5308. * Memory Management:
  5309. - Granule Allocator: (1) Add a new function to reserve un-allocatable
  5310. regions in the granule heap. (2) Add interfaces to support
  5311. un-initializing a granule allocator.
  5312. - Page Allocator: Add a simple physical page allocator based on the
  5313. existing NuttX granule allocator. I am not certain if the granule
  5314. allocator is sufficiently deterministic for long range use, but it
  5315. gets get a page allocator in place for testing very quickly.
  5316. - Remove CONFIG_MM_MULTIHEAP. Non-multiheap operation is no longer
  5317. supported.
  5318. - sbrk(): sbrk() is now supported in the kernel build to permit
  5319. dynamically sized, per-process heaps.
  5320. - Per-Process Heaps: Space at the beginning of the process data space
  5321. is now reserved for user heap management structures. In the kernel
  5322. build mode, these heap structures are shared between the kernel and
  5323. use code in order to allocate user-specific data.
  5324. - User Heap Management: When a privileged thread exits, we have to
  5325. use the kernel allocator to free memory; when an unprivileged thread
  5326. exits, we don't have to do anything... heap memory will be cleaned
  5327. up when the address environment is torn down.
  5328. - Inter-Process Shared Memory Support: (1) Add implementation and
  5329. documentation for shmget(), shmctl(), shmat(), and shmdt(). (2)
  5330. Add system system calls to support the user call gate to the shared
  5331. memory interfaces. (3) Add platform-specific interface definitions
  5332. needed to support the shared memory feature.
  5333. - Virtual Page Allocator: Add support for a per-process virtual page
  5334. allocator. This is a new member of the task_group_s structure. The
  5335. allocator must be initialized when a new user process is started and
  5336. uninitialize when the process group is finally destroyed. It is
  5337. used by shmat() and shmdt() to pick the virtual address onto which
  5338. to map the shared physical memory.
  5339. * File Systems/Block Drivers/MTD:
  5340. - SMART FS and SMART FS procfs updates from Ken Pettit.
  5341. - The MTD Read-ahead/Write buffer layer appears is now functional.
  5342. * Binary Formats:
  5343. - Add logic to initialize the per-process user heap when each user
  5344. process is started.
  5345. * Graphics:
  5346. - Change all occurrences of NxConsole to NxTerm.
  5347. * Networking:
  5348. - PHY Interrupts: (1) Standardize a PHY interrupt attachment
  5349. interface. (2) Add support for an ioctl that can be used to notify
  5350. an application when there is a change in the network status
  5351. signalled by a PHY interrupt.
  5352. - Improved Send Logic: In the past, the first packet send to a new
  5353. network peer would fail; there would be no entry in the ARP table
  5354. for the peer and so an ARP request could replace that first packet.
  5355. Now as an option if CONFIG_NET_ARP_SEND=y, all send logic will (1)
  5356. check if the peer MAC address is in the ARP table and, if not, (2)
  5357. send ARP requests periodically to get the mapping and (3) wait for
  5358. the ARP response. Then (4) when the ARP response is received then
  5359. the actual send logic will be initiated. Thus there may be a delay
  5360. with the first packet sent to a new peer, but the packet should not
  5361. be lost
  5362. * Host Simulation:
  5363. - Emulated SPI FLASH driver for the sim target from Ken Pettit.
  5364. * Intel x86:
  5365. - The default host is now x86_64 and the -m32 option will be
  5366. automatically selected for simulation builds.
  5367. * Intel 8051 Family:
  5368. - Removed all support for the 8051 family architecture from the NuttX
  5369. source tree. The obsoleted code along with the removal patch can
  5370. now be found at misc/Obsoleted/. This code was removed because (1)
  5371. although some functionality has been demonstrated, I am not aware of
  5372. any really successful ports of NuttX to any 8051, and (2) the 8051,
  5373. with its hardware stack, forces limitations and complications to the
  5374. other architectures and make growth and development of NuttX more
  5375. complex.
  5376. * ZiLOG ZNeo Boards:
  5377. - configs/16z: Support for this board has been removed from the NuttX
  5378. source tree (but still can be found in the misc/Obsoleted
  5379. directory). This port is not ready for usage but may return to the
  5380. NuttX tree at some point in the future.
  5381. * Atmel SAM3/4 Boards:
  5382. - SAM4E-EK: Add (1) a fully-functional ILI9341-based LCD driver and
  5383. (2) a fully-functional NxWM configuration.
  5384. * ARMv7-A:
  5385. - Address Environments: Add support for application address
  5386. environments using the Cortex-A MMU. Implement standardized
  5387. platform-specific interfaces of NuttX address environment
  5388. support.
  5389. - Cache Operations: Implement standardized, platform-specific cache
  5390. operations. These are called from the ELF loader in order to flush
  5391. D-cache and invalidate I-cache after an ELF module has been loaded
  5392. into memory. With this change, ELF modules work correctly on the
  5393. SAMA5/Cortex-A platform.
  5394. - Kernel Build: (1) Add implementations of system call gate. (2) Add
  5395. CRT0 start-up file that can be linked with separately built user
  5396. programs. (3) Add support for delivery of use-mode signals in the
  5397. kernel build. (4) Add logic to initialize the per-process user heap
  5398. when each user process is started. (5) ARMv7-A exception handling
  5399. needs to work a little differently if we support user mode
  5400. processes. This is because R13 and R14 are paged differently
  5401. between user and SVC mode.
  5402. - Shared Memory Support: (1) Add logic necessary to handle remapping
  5403. of shared memory on context switches. (2) Extend virtual/physical
  5404. address conversions to include addresses in shared memory. (3) Add
  5405. implementation of platform-specific shared memory support.
  5406. * Atmel SAMA5D Drivers:
  5407. - Implement all network ioctls, including the new ioctl to setup PHY
  5408. event notifications.
  5409. - In kernel build with address environment, need logic to map user
  5410. virtual addresses to physical addresses, and vice versa.
  5411. * Atmel SAMA5D Boards:
  5412. - SAMA5D3 Xplained, SAMA5D3-EK, and SAMA5D4-EK: Convert existing
  5413. board specific PHY interrupt interfaces to use newly defined
  5414. standard interface.
  5415. - SAMA5D4-EK: Add a configuration for testing the kernel build
  5416. configuration. There are configurations to boot either from an SD
  5417. card or from and in-memory ROMFS file system.
  5418. - SAMA5D4-EK: Add documentation/support for Rev E. board.
  5419. * STMicro STM32 Drivers:
  5420. - Ethernet: Modified to support the change to the network ioctl
  5421. signature changes. Also add support for new ioctl to setup PHY
  5422. event notifications.
  5423. * STMicro STM32 Boards:
  5424. - STM32F4Discovery with STM32F4DIS-BB: Add a network enabled NSH
  5425. configuration for the STM32F4Discovery board with the STM32F4DIS-BB
  5426. base board installed. Includes support for the microSD card slot on
  5427. the STM32F4DIS-BB base board.
  5428. * TI Tiva Drivers:
  5429. - Add support for the TI CC3200. From Jim Ewing.
  5430. * TI Tiva Boards:
  5431. - Add support for the TI CC3200 Launchpad. From Jim Ewing.
  5432. * C Library:
  5433. - Re-implemented poll() delay using sem_timedwait().
  5434. * Configuration/Build System:
  5435. - Export Target: In the kernel or protected builds, (1) only the user
  5436. libraries should be exported, (2) do not copy internal header files
  5437. or build scripts if this is a kernel or protected build, and (3)
  5438. needs to bundle up the user C startup file (crt0), not the kernel
  5439. head object for the kernel and protected builds.
  5440. - Add logic that will permit us to build user libraries with different
  5441. CFLAGS than kernel code. This is needed because we need the
  5442. -fno-common option when building ELF code to prevent SHN_COMMON
  5443. relocations.
  5444. * Applications:
  5445. - NSH: Extend the NSH network initialization logic. There is now an
  5446. option that will create a network monitor thread that will monitor
  5447. the state of the link. When the link goes down, the code will
  5448. attempt to gracefully put the Ethernet driver in a down state; When
  5449. the link comes back, the code will attempt to bring the network back
  5450. up.
  5451. - ELF Example: The ELF test/example has been extended so the
  5452. individual ELF test programs can link against the SYSCALL library
  5453. (if it is available) or against the C library to eliminate or
  5454. minimize the need for symbol tables.
  5455. - Change all occurrences of NxConsole to NxTerm.
  5456. - MTDRWB Example: Add an example to test MTD R/W buffering.
  5457. - OS Test Example: Add a trivial test of sem_timedwait.
  5458. * Application Configuration/Build System:
  5459. - Import Target: (1) Add logic that will allow building applications
  5460. against a NuttX export package (vs. the nuttx/ source tree). (2)
  5461. Add .config file to export package. (3) Create apps/import. Create
  5462. apps/import/Make.defs that does things like define CFLAGS; ELF build
  5463. requires -fno-common in CFLAGS. Copy some base logic from
  5464. nuttx/tools/Config.mk to apps/import/Make.defs. (4) Add
  5465. apps/import/scripts/gnu-elf.ld GCC linker script for ELF import
  5466. builds.
  5467. - All Makefiles: (1) Add an install target to all makefiles. For
  5468. the import build, the top-level Makefile now does two passes: (1)
  5469. builds libapp.a, then (2) installs the programs into apps/bin. (2)
  5470. Add program installation for CONFIG_BUILD_KERNEL in all Makefiles
  5471. that build a main(). (3) For kernel build, the object file
  5472. containing main cannot go into library because of name collisions.
  5473. The object file must be handled as a special case in every Makefile.
  5474. - All Built-In Programs: With kernel build (CONFIG_BUILD_KERNEL),
  5475. entry point to all tasks is main(), not some xyz_main().
  5476. - NSH: Several commands must be disabled in the kernel build because
  5477. they depend on interfaces that are not available outside of the
  5478. kernel: dd, df, losetup, mkfatfs, mkdr, and ps.
  5479. - apps/tools/: (1) Add mkimport.sh to expload an NuttX import package
  5480. and install in apps/import. (2) Add mkromfsimg.sh script to create
  5481. a BOOT ROMFS filesystem image.
  5482. - ELF and NxFLAT Examples: Do not build test cases that use
  5483. task_create() if there is an address environment.
  5484. * Tools:
  5485. - refresh.sh: Add a tool to make refreshing configurations easier
  5486. when you want to do a lot of them.
  5487. - mksyscall.c: Build syscalls that do not need header files.
  5488. - mkexport.sh: Add .config file to export package.
  5489. - See above for new apps/tools scripts.
  5490. Efforts In Progress. The following are features that are partially
  5491. implemented but present in this release. They are not likely to be
  5492. completed soon.
  5493. * Processes. Much of the work in this release is focused on the
  5494. realization of Unix-style user processes in NuttX. There is more to
  5495. be done, however. The full roadmap and status is available at:
  5496. http://www.nuttx.org/doku.php?id=wiki:nxinternal:memconfigs#the_roadmap_toward_processes
  5497. * XMega: There are some fragments in place for an XMega port. That
  5498. port has not really started, however.
  5499. * Galileo: Similarly, there are fragments in place for an Intel Galileo
  5500. port. The port not been started in earnest either.
  5501. Bugfixes. Only the most critical bugfixes are listed here (see the ChangeLog for the complete list of bugfixes and for additional, more detailed bugfix information):
  5502. * Core OS:
  5503. - Kernel build fixes: (1) IDLE TCB setup needs to indicate that the
  5504. IDLE thread is a privileged, kernel thread. (2) Don't build
  5505. task_create() or task_spawn() interfaces if there is an address
  5506. environment. (3) posix_spawn() kernel proxy thread should be a
  5507. kernel thread, not a user task.
  5508. - Several pthread interfaces: Add const storage class to phthread
  5509. parameters. From Freddie Chopin.
  5510. - sched/clock: Remove vestiges of g_tickbias; need, instead, to apply
  5511. time bias to g_basetime in order to provide the correct system time.
  5512. - System Calls: (1) Several typos fixed; corrected integration of
  5513. exevc(), execvl(), posix_spawn, and posix_spawnp system calls. (2)
  5514. If we are configured to use a kernel stack while in SYSCALL handling,
  5515. then we need to switch back to the user stack to deliver a signal.
  5516. * File Systems/Block Drivers/MTD:
  5517. - procfs: Fix some procfs breakage introduced by reorganizing some
  5518. non-reorganizable data structures. From Ken Pettit.
  5519. - AT45: In at45db_bwrite , the buffer is not increased when writing
  5520. more than 1 page. Sourceforge bug #34.
  5521. * Binary Formats:
  5522. - ELF relocations. Some relocation types do not have a named symbol
  5523. associated with them. The design did not account for that case.
  5524. - ELF Loader: Critical bugfix.. BSS was not being cleared.
  5525. * Memory Management:
  5526. - Granule allocator initialization uses wrong allocator to setting
  5527. aside kernel memory.
  5528. - Add a flag to group structure: If the group is created by a kernel
  5529. thread, then all resources in the group must be privileged.
  5530. * Cryptogrphic Support:
  5531. - crypto/cryptodev.c: Path segments reversed in include file path. Noted by Brennan Ashton.
  5532. * Common Drivers:
  5533. - Common CAN upper-half: In can_txdone, waiters on the semaphore
  5534. should be informed regardless of the return value of can_xmit. First
  5535. it returns -EIO if there are no new packets, and second the
  5536. information of the waiters is about the last transferred packet.
  5537. From Daniel Lazlo Sitzer.
  5538. * ARM:
  5539. - System Calls: Fix a typo in system call when fetching parameter from
  5540. the stack: regs[REG_PC]+4 is the address, not regs[REG_PC+4].
  5541. * STMicro STM32 Drivers:
  5542. - STM32 F401 UART: Correct support for USART6 on this chip. From
  5543. Freddie Chopin.
  5544. - STM32 FLASH fixes: use size_t instead of uint16_t, make interface
  5545. more generic. From Freddie Chopin.
  5546. - Fix for UART7 and UART8 on STM32 clock enable from Aton.
  5547. - CAN: At the end of the interrupt handler, the interrupts were being
  5548. disabled, if all packets have been transferred when the interrupt
  5549. handler was invoked. This is problematic, because the interrupt
  5550. handler calls can_txdone of the upper half which can enqueue new
  5551. packets to send. Removed the block altogether, because can_txdone
  5552. calls can_xmit which disables interrupts if there are no new packets
  5553. to send. From Daniel Lazlo Sitzer.
  5554. - Additional STM32 CAN correction suggested by Max Holtzberg.
  5555. * STMicro ST32 Boards:
  5556. - configs/mikroe-stm32f4: Fix a few compile bugs and minor corrections
  5557. to the mikroe-stm32f4 configuration source. From Ken Pettit.
  5558. * ARM9/ARMv7-A:
  5559. - System Calls: Fix ARM7/9 and Cortex-A SYSCALLs: For threads in SVC
  5560. mode, the SVC instructions clobbers R14. This must be taken account
  5561. in the inline assembly.
  5562. - Task Setup: All tasks, even user mode tasks, must start in
  5563. supervisor mode until they get past the start-up trampoline.
  5564. - ARMv7-A: Modify up_fullcontextrestore() for CONFIG_BUILD_KERNEL.
  5565. It changed CPSR while in kernel. That will crash if the new CPSR is
  5566. user mode while executing in kernel space. Fixed by adding a
  5567. SYS_context_restore system call. There is an alternative, simpler
  5568. modification to up_fullcontextrestore() that could have been done:
  5569. It might have been possible to use the SPSR instead of the CPRSR and
  5570. then do an exception return from up_fullcontextrestore(). That
  5571. would be more efficient, but I never tried it.
  5572. * Atmel SAM3/4 Boards:
  5573. - SAM3X/Arduino Due: Fix typo in sam3x_periphclks.h; add SCLK
  5574. definitions to board.h header file. From Fabien Comte.
  5575. - SAM3 RTT: Only SAM4 family has RTTDIS bit in the MR register.
  5576. SourceForge bug #33 from Fabien Comte.
  5577. * C Library:
  5578. - sscanf(): NuttX libc tried to guess how many characters to parse,
  5579. extracted them into a buffer, then ran strtol() on that buffer.
  5580. That guess was often wrong. A better approach would be to call
  5581. strtol() directly on the input data, using the endptr return value
  5582. to determine how many characters to skip after parsing. From Kosma
  5583. Moczek.
  5584. - Corrected atan2 implementations from Denis Arnst.
  5585. - Change to lib_dtoa() to fix precision error from trailing zeroes.
  5586. From Bob Doiron.
  5587. * Applications:
  5588. - Fix NSH PS command: If there are no arguments, it could print
  5589. garbage for argument list.
  5590. * Configuration/Build System:
  5591. - Null Example: Need to include config.h it order know if this is or
  5592. is not a kernel build. This problem still exists in several other
  5593. file that may need to define main().
  5594. NuttX-7.6
  5595. ---------
  5596. The 106th release of NuttX, Version 7.6, was made on November 26, 2014,
  5597. and is available for download from the SourceForge website. Note
  5598. that release consists of two tarballs: nuttx-7.6.tar.gz and
  5599. apps-7.6.tar.gz. Both may be needed (see the top-level nuttx/README.txt
  5600. file for build information).
  5601. Additional new features and extended functionality:
  5602. * Core OS:
  5603. - Moved name semaphore and message queue support out of the OS and
  5604. into the VFS. These improves the architecture by unifying the
  5605. management of named resources, removes redundant resource management
  5606. logic, and makes named semaphores and message queues visible in the
  5607. file system. By default, these are visible at /var/lock and
  5608. /var/mqueue.
  5609. - Add SIGPOLL for use as part of the AIO implementation.
  5610. - Remove CONFIG_MAX_TASK_ARGS configuration. There is now no
  5611. predetermined limit on the number of arguments that may be passed
  5612. to a new task on start-up.
  5613. * Work queues:
  5614. - Add support for priority inheritance on the low priority worker
  5615. queue. That is, if a higher priority thread has scheduled work, the
  5616. priority of the low priority worker thread(s) will be boost to the
  5617. priority of the queuing thread. At work is performed at at least
  5618. thread priority of the scheduling thread. If there are multiple
  5619. worker threads, then all threads get reprioritized. Currently
  5620. only implemented for AIO.
  5621. - Add support for multiple low-priority work queue threads. This
  5622. allows individual worker threads to block indefinitely for I/O as
  5623. necessary without halting the entire work queue.
  5624. * VFS/General Drivers:
  5625. - Implement create() (as a macro).
  5626. - Add pread() and pwrite(). Also added pread() and pwrite()
  5627. system calls.
  5628. - AIO: Add aio_read(), aio_write(), aio_return(), aio_error(),
  5629. aio_suspend(), aio_canel(), lio_listio(), and aio_fsync(). This
  5630. logic minimizes the creation of new threads by using the new
  5631. features also added to the low priority work queue with this
  5632. release. It uses the new low priority worker thread interface
  5633. to adjust the priority of the worker thread according to the
  5634. priority of the AIO client thread
  5635. - Implement standard syslogmask() to control logging (also removing
  5636. the non-standard syslog_enable()).
  5637. * File Systems/Block Drivers/MTD:
  5638. - Extend MTD support to the M25P16. From Sébastien Lorquet.
  5639. * Drivers:
  5640. - BCH (Block-to-Character): Add support for seeking in BCH. From
  5641. Sébastien Lorquet.
  5642. * Graphics Support/Graphics-Related Drivers:
  5643. - Add support for a generic ILI9341 LCD driver. From Marco Krahl.
  5644. - Add ANSI/VT100 foreground and background color commands.
  5645. - Add driver for ST7565 LCD that works with NHD-C12864KGZ display. From Pierre-noel Bouteville.
  5646. * Networking:
  5647. - Verify that multiple networks can be supported.
  5648. - Add support for the case where there are multiple networks: One
  5649. being Ethernet and the other not (SLIP, PPP, ...). The primary
  5650. difference from the standpoint of the stack is that (1) ARP may or
  5651. may not be necessary, (2) the size of the link layer header will
  5652. vary, and (3) different MTUs and TCP receive windows may be used
  5653. with each link. Suggested by Brennan Ashton.
  5654. - Extensions to UDP and TCP connection structures for the case of
  5655. multiple networks. In this case, assigned port numbers only have to
  5656. be unique with respect to the IP address. So, for example, you
  5657. could have multiple port 80's, one on each network.
  5658. * Host Simulation:
  5659. - Removed the old, strange up_stdio.c and implemented a simulated UART
  5660. driver to provide the console input. The new logic starts a
  5661. separate, Linux domain pthread to read the console input in raw mode
  5662. and provides the incoming data to NuttX via standard NuttX domain
  5663. IPCs.
  5664. - Add support for 64-bit longjmp/setjmp in simulator platform. This
  5665. will permit operation of the simulation natively on a 64-bit
  5666. platform.
  5667. * ARMv7-M:
  5668. - Add ARMv7-M CMSIS ITM header file and library. From Pierre-noel
  5669. Bouteville.
  5670. - Add ARMv7-M CMSIS DWT and TPI header files. From Pierre-noel
  5671. Bouteville.
  5672. - Add ARMv7-M support to use ITM for SYSLOG debug output. Includes
  5673. logic from Pierre-noel Bouteville.
  5674. * Atmel SAM3/4 Drivers:
  5675. - Add support for SAM3/4 basic serial TERMIOS and flow control.
  5676. There are issues with IFLOW control: PDC or DMAC support is
  5677. required.
  5678. * Atmel SAM3/4 Boards:
  5679. - SAM4E-EK: Add support for PHY interrupt.
  5680. * Atmel SAMA5D Boards:
  5681. - SAMA5D3-Xplained: Add a configuration that provides a simple test
  5682. for the EMAC and GMAC on the SAMA5D3 working together.
  5683. - SAMA5D4-EK: Add a configuration that provides a simple test for the
  5684. EMAC0 and EMAC1 on the SAMA5D4 working together.
  5685. * Freescale KL:
  5686. - Add an I2C header file for the Freescale KL family. From Alan
  5687. Carvalho de Assis.
  5688. * NXP LPC32xx:
  5689. - Add support for tickless operation using the NXP LPC43xx. From
  5690. Brandon Warhurst.
  5691. * SiLabs EFM32:
  5692. - Add a basic port for the SiLabs EFM32 family. Includes many files
  5693. contributed by Pierre-noel Bouteville .
  5694. * SiLabs EFM32 Boards:
  5695. - Add board support for the EFM32 Gecko Starter Kit.
  5696. - Add board support for the Olimex EFM32G8809128 STK. NOTE: I am
  5697. unable to test this configuration due to tool-related issues.
  5698. - Add board support for the SiLbas EFM32GG Giant Gecko Starter kit.
  5699. * STMicro STM32:
  5700. - Add support for the STM32 F411RE from Serg Podtynnyi.
  5701. - Add support for the STM32F103RG. From Murilo Ponte.
  5702. * STMicro STM32 Drivers:
  5703. - STM32 F4: Add logic that implement true high speed support for the
  5704. STM32 OTGHS peripheral and concurrent support for both LS and HS
  5705. OTG. New OTGHS drivers provided for both device and host. From
  5706. Brennan Ashton.
  5707. * STMicro STM32 Boards:
  5708. - STM32 Nucleo-F411RE: Extend this board configuration to also support
  5709. the Nucleo-F411RE. From Serg Podtynnyi.
  5710. - Add support for the STM32F429i Discovery's LCD (SPI based). From
  5711. Marco Krahl.
  5712. - configs/stm32f100rc_generic: Removed this generic board configuration.
  5713. I have decided to stop support of generic board configurations. Generic
  5714. board configurations do not provide support for any specific hardware
  5715. but can be useful only if there are not other examples for the setup
  5716. for a particular architecture. Not the case here.
  5717. * C Library:
  5718. - Add a mostly bogus wchar.h header file. This file is mostly bogus
  5719. because none of the wide character operations are currently
  5720. supported in the Nuttx C library. The file does provide the wchar_t
  5721. types needed by some software, however.
  5722. - Add isatty() function. From Alan Carvalho de Assis.
  5723. - Add mktemp(), mkstemp(), tmpnam() and tempnam().
  5724. * Configuration/Build System:
  5725. - Add a PRELINK macro to Config.mk. From Kriegleder.
  5726. - compiler.h: Defines inline functions as not instrumented - this is
  5727. relevant for anyone using instrumentation. From Lorenz Meier.
  5728. * Applications:
  5729. - apps/interpreter/bas: Added in the Michael Haardt's BAS 2.4 adapted
  5730. for use by NuttX by Alan Carvalho de Assis. Includes support for
  5731. VT100 terminals and color commands.
  5732. - Examples: Added bastest/ which holds a special version of Michael
  5733. Haardt's BAS 2.4 test files adapted for use by NuttX on a ROMFS file
  5734. system.
  5735. - Examples: Add a simple UDP relay bridge for testing configurations
  5736. with multiple networks. Includes a host-side test driver for
  5737. testing the bridge.
  5738. - Netutils: Add implementation of timeouts for the netutils webclient.
  5739. From Brennan Ashton
  5740. - NSH: Add support for a custom NSH ROMFS startup image header file
  5741. location. From Martin Lederhilger.
  5742. - OS test: Add a simple test of named semaphores.
  5743. - OS test: Add AIO test case in OS test.
  5744. Efforts In Progress. The following are features that are partially
  5745. implemented but present in this release. They are not likely to be
  5746. completed soon.
  5747. * Processes. Much of the work in this release is focused on the
  5748. realization of Unix-style user processes in NuttX. There is more to
  5749. be done, however. The full roadmap and status is available at:
  5750. http://www.nuttx.org/doku.php?id=wiki:nxinternal:memconfigs#the_roadmap_toward_processes
  5751. * XMega: There are some fragments in place for an XMega port. That
  5752. port has not really started, however.
  5753. * Galileo: Similarly, there are fragments in place for an Intel Galileo
  5754. port. The port not been started in earnest either.
  5755. Bugfixes. Only the most critical bugfixes are listed here (see the
  5756. ChangeLog for the complete list of bugfixes and for additional, more
  5757. detailed bugfix information):
  5758. I ran cppcheck against the entire code base and correct many latent bugs
  5759. including things as serious as memory leaks, two locations where interrupts
  5760. were be disabled but never re-enabled, and errors in the Tickless mode of
  5761. operation. My thanks to the developers of cppcheck! I am impressed!
  5762. * Core OS:
  5763. - vfork(): Now that arguments are kept on the stack, the way that
  5764. arguments are passed from parent to child in vfork() must change.
  5765. This bug has always been present, but was not visible with the
  5766. old strdup() way of passing arguments.
  5767. - vfork() problem: If we get to vfork() via system call, then we
  5768. need to clone some system call information so that the return form
  5769. the cloned system call works correctly.
  5770. - Fixes to tickless operation code, especially in alarm mode. From
  5771. Brandon Warhurst.
  5772. - Fix an important bug in the watchdog timer creation logic.
  5773. - Calling mq_timedreceived() with immediate timeout was getting stuck
  5774. and not timing out. Immediate timeout is achieved by setting absolute
  5775. timeout value to past time, for example abstime={ .tv_sec=0,
  5776. .tv_nsec=0 }. However absolute time was converted to relative time
  5777. using unsigned integer arithmetic and resulted large ticks count by
  5778. clock_abstime2ticks, instead of expected negative ticks value.
  5779. Change corrects clock_abstime2ticks() to return negative ticks, if
  5780. absolute time is in the past. From Jussi Kivilinna.
  5781. * Memory Management:
  5782. - Fix a place in the memory manager where it explicitly assumed that
  5783. the size of a pointer is 4 bytes. That assumption was OK if the
  5784. actual size is smaller but made the heap unstable when used with
  5785. the x86_64 host simulation.
  5786. - Granule Allocator: If the INTR granule allocator mode is enabled,
  5787. there is no semaphore to destroy. From Lorenz Meier.
  5788. * Networking:
  5789. - Network routing: I don't think that the net_route() function has
  5790. ever worked correctly. The source IP was updated in the match
  5791. struct instead of the route IP. From Brennan Ashton.
  5792. - Move and rename IP header flag definitions. The problem fixed here
  5793. is that there IP header flag definitions were not available when TCP
  5794. was disabled. The IP flags are used in ICMP and IGMP.
  5795. - Network routing: Refuse to perform routing table lookups for the
  5796. Broadcast IP address. From Brennan Ashton.
  5797. - Network routing: Add logic to netdev_findbyaddr() to return the
  5798. correct network device for the case where a broadcast
  5799. address is used. This change caused trivial ripples through other
  5800. files because additional parameters are required for
  5801. netdev_findbyaddr() when CONFIG_NET_MULTINIC.
  5802. * File Systems/Block Drivers/MTD:
  5803. - NXFFS Dump: Fix problems with redefinitions of fdbg macro. With the
  5804. fix to the syslog prototype, a LOG priority must now be the first
  5805. parameter. Fixed by replacing all occurrences of fdbg with
  5806. syslog(LOG_DEBUG, and eliminating the macro redefinitions. Noted
  5807. by Sebastien Lorquet.
  5808. - poll() was not waking up from signals (for example mq_notify()
  5809. events). From Jussi Kivilinna.
  5810. - poll(): Add proper handling for sem_timedwait errnos. From Jussi
  5811. Kivilinna.
  5812. - include/nuttx/fs/fs.h: Fix typo in conditional compilation. From
  5813. Alan Carvalho de Assis.
  5814. * Graphics/Graphic-Related Drivers:
  5815. - Remove warnings when CONFIG_NXTK_BORDERWIDTH is set to zero. From
  5816. Pierre-Noel Bouteville.
  5817. * Common Drivers:
  5818. - Make standard syslog and vsyslog POSIX compliant (also modify
  5819. non-standard syslog functions for compatibility).
  5820. - R/W buffering: Fix typo that can cause compilation error.
  5821. * Atmel SAM3/4:
  5822. - SAM4S: Add missing SPI0 clock configuration macro for the SAM4S. From spasbyspas.
  5823. * Atmel SAM3/4 Drivers:
  5824. - SAM4E-EK: Fix an error in a USART1 pin number.
  5825. * Atmel SAMA5D3/4 Drivers:
  5826. - SAMA5DF4: Fix several typos that will prevented EMAC1 from
  5827. initializing properly.
  5828. * NXP LPC43xx:
  5829. - Fixes to allow compile of lpc43_gpioint.c. From Brandon Warhurst.
  5830. * STMicro STM32:
  5831. - Add missing ADC pinmap definitions for the STM32 F103R from Martin
  5832. Lederhilger.
  5833. * STMicro STM32 Drivers:
  5834. - STM32 EXTI: Correct STM32 RTC EXTI bit definition. From Lazlo.
  5835. - STM32 IWDG, WWDG, DBGMCU: Fix watchdog stop bit usage. From Lazlo.
  5836. - STM32 OTGFS: Correct a typo in the STM32 OTGFS register bit definitions.
  5837. * ARM:
  5838. - ARM up_internal.h: Add protection from C++ name mangling in the
  5839. ARM up_internal.h. From Lorenz Meier.
  5840. * MicroChip PIC32MX:
  5841. - PIC32MX7: DEVCFG0 bit 2 must be set. Writing bit 2 as zero can
  5842. brick the CPU on some versions. From Cris Kvist.
  5843. * C Library:
  5844. - The implementation of access() as vararg macro has the issue that
  5845. any function call with the same name (even in a C++ class) will
  5846. match with it and result in a compile error. Replaced with a small
  5847. function. This resolves the compile issue, and shouldn’t have
  5848. negative side effects for users of the function. From Lorenz Meier.
  5849. - The definition of strncpy() is that empty space should be zero-
  5850. filled, the change adds the zero filling (See the POSIX spec here:
  5851. http://pubs.opengroup.org/onlinepubs/7908799/xsh/strncpy.html). From
  5852. Lorenz Meier.
  5853. - limits.h: Remove the definition of INT_FAST32_MIN which is already
  5854. defined in stdint.h (the correct location). From Lorenz Meier.
  5855. * Applications:
  5856. - apps/: Correct everything under apps to use the corrected syslog
  5857. interfaces. Remove any non-portable uses of syslog.
  5858. - NSH: Fix ls -l output for regular files.
  5859. - NSH: Fix reversed in/out file closing in DD command when an error
  5860. occurs. From Ken Pettit.
  5861. - NSH: Add logic to restart the console wait if an error occurs
  5862. while reading from the console. In USB console startup, the logic
  5863. must be able to open the USB serial and receive 3 newlines.
  5864. However, it the USB driver is disconnected or otherwise fails before
  5865. the 3 newlines are received, the receive loop becomes a killer,
  5866. infinite loop, CPU hog. Noted by spasbyspas.
  5867. - Netutils: Fix memcpy of host address in netlib_gethostaddr(). From
  5868. Brennan Ashton.
  5869. - Netutils: If you make a DNS request before the DNS address it would
  5870. cause an assertion. The state of the IP setting is not something the
  5871. application should be aware of, it should only be concerned with
  5872. whether or not the name was resolved. From Brennan Ashton.
  5873. - Netutils: Fix md5 hashing when digest[$i] islower that 16. From
  5874. Sergey.
  5875. - Stack Monitor: Fix compile problems introduced when the syslog()
  5876. prototype changed; Also update Makefile for kernel build From
  5877. Radoslaw Adamczyk.
  5878. - Examples: Update NxTerm makefile for kernel-build issues. From
  5879. Radoslaw Adamczyk.
  5880. - Examples: Fixes to keypadtest from Pierre-Noel Bouteville.
  5881. - Examples: These examples all set the IP address of eth1 but the
  5882. netmask and gateway of eth0 if DHCP is enabled: discover, tcpecho,
  5883. webserver, xmlrpc. That can't be right.
  5884. NuttX-7.7
  5885. ---------
  5886. The 107th release of NuttX, Version 7.7, was made on January 26, 2015,
  5887. and is available for download from the SourceForge website. Note
  5888. that release consists of two tarballs: nuttx-7.7.tar.gz and
  5889. apps-7.7.tar.gz. Both may be needed (see the top-level nuttx/README.txt
  5890. file for build information).
  5891. Additional new features and extended functionality:
  5892. * Core OS:
  5893. - Task exit handling: Add logic to clean up after task_delete() or
  5894. pthread_cancel() if the task happens to be waiting on a semaphore
  5895. when was is cancelled.
  5896. - Stack coloration: Removed CONFIG_DEBUG_STACK and replaced it with
  5897. CONFIG_STACK_COLORATION that does the same thing but without enabling
  5898. debug. From David Sidrane.
  5899. * Common Drivers:
  5900. - Discrete joystick driver: Added an interface definition and upper
  5901. half driver for a discrete joystick device (where X/Y changes are
  5902. indicated with button presses).
  5903. - Analog joystick driver: Added an interface definition and upper
  5904. half driver for a analog joystick device (where X/Y positions are
  5905. sampled, numeric values).
  5906. - Add driver support for the ADXL345 accelerometer. From Alan
  5907. Carvalho de Assis
  5908. - Generic serial driver: Add watermark levels to the serial RX flow
  5909. control logic. Modify the rxflowcontrol method to accept the number
  5910. of bytes in the buffer and a boolean indication of which watermark
  5911. was crossed.
  5912. * File Systems/Block Drivers/MTD:
  5913. - Add procfs write support. From Ken Petit.
  5914. - Implemented wear-leveling in the SmartFS. From Ken Pettit.
  5915. - MMC/SD Interface: MMCSD SDIO: Add support for a new
  5916. SDWAIT_WRCOMPLETE condition. The previous logic used a busy-wait
  5917. loop to poll the card R1 status to determine when the card was
  5918. ready for the next transfer. That busy-wait can be quite long --
  5919. up to hundreds of milliseconds. An alternative is to look the SD D0
  5920. pin which will change state when the card is no longer busy. This
  5921. change avoids the busy-wait poll by reconfiguring the SD D0 pin as a
  5922. GPIO interrupt, then waiting for the card to become ready without
  5923. taking up CPU cycles. From David Sidrane.
  5924. * Drivers:
  5925. - Add support for a generic EEPROM driver that accesses EEPROM as a
  5926. character driver (vs. an MTD driver). From Sébastien Lorquet.
  5927. * Graphics Support:
  5928. - Many new fonts converted for use with NuttX and added by
  5929. Pierre-noel Bouteville
  5930. * Networking:
  5931. - IPv4 support is now conditioned on CONFIG_NET_IPv4.
  5932. - Implemented and verified IPv6 support conditioned on
  5933. CONFIG_NET_IPv6. Either IPv4 or IPv4 or both may be selected.
  5934. Sockets, of course, must be bound to one or the other. Added support
  5935. for IPv6 ioctls to manipulate IP addresses.
  5936. - Integrated support for ICMPv6 and the ICMPv6 Neighbor Discovery
  5937. Protocol and ICMPv6 ECHO request/reply needed to support ping logic.
  5938. - All Ethernet drivers: Modified to support. Most, however, are
  5939. still missing address filtering logic required for ICMPv6 Neighbor
  5940. Discovery Protocol. See
  5941. http://www.nuttx.org/doku.php?id=wiki:howtos:ipv6#ethernet_driver_requirements
  5942. - Also added missing raw/packet socket support to all Ethernet drivers.
  5943. * Host Simulation:
  5944. - Add a configuration build and test the Traveler first person game
  5945. using the simulator.
  5946. - Add an X11 mouse-based simulation of an analog joystick device
  5947. * Atmel SAMA5D Boards:
  5948. - Add analog Joystick shield support for the SAMA5D3 Xplained board.
  5949. * Freescale KL Drivers:
  5950. - Add GPIO interrupt capability for the KL architecture. From Alan
  5951. Carvalho de Assis
  5952. * Freescale KL Boards:
  5953. - Freedom-KL25Z: Add board support for the ADXL345 accelerometer. From
  5954. Alan Carvalho de Assis
  5955. - Freedom-KL25Z: Update the Freedom KL25Z board CC3000 support to use
  5956. the current CC300 interfaces. From Alan Carvalho de Assis
  5957. * NXP LPC43xx Boards:
  5958. - A port of NuttX to the LPC4357-EVB from Toby Duckworth. This port
  5959. is a leverage of the LPC3330-Xplorer port and still have a some
  5960. misinformation from that port that needs to be updated for the
  5961. LPC4357-EVB.
  5962. * SiLabs EFM32 Drivers:
  5963. - Serial: Add support for serial termios TCGET and TCSET. For the
  5964. moment, only set/get speed is implemented. From Pierre-noel
  5965. Bouteville.
  5966. - RMU: Add support for the EFM32 reset management unit (RMU). From
  5967. Pierre-noel Bouteville.
  5968. * SiLabs EFM32 Boards:
  5969. - Add support for timer/PWM on the EFM32GG. From Pierre-noel
  5970. Bouteville
  5971. * STMicro STM32:
  5972. - Enable support for the STM32 F102. From the PX4 team.
  5973. * STMicro STM32 Drivers:
  5974. - STM32 F429 LTDC: Add interface to perform hardware accelerated layer
  5975. operation. Provides access to a reference of a specific ltdc layer.
  5976. From Marco Krahl
  5977. - STM32 F429 LTDC support: Implemented LTDC framebuffer support for the
  5978. generic nuttx framebuffer interface. Also implements the interface to
  5979. perform hardware accelerated layer operation by the ltdc controller
  5980. and dma2d controller later. From Marco Krahl.
  5981. - STM32: Add support for the internal low speed clock (LSI) as a
  5982. source of the RTC clock. Some boards do not have the external
  5983. 32kKhz oscillator installed, for those boards we must fallback to
  5984. the crummy internal RC clock. From Kevin Hester
  5985. - STM32 SDIO: Add support for the new SDWAIT_WRCOMPLETE condition.
  5986. From David Sidrane
  5987. * STMicro STM32 Boards:
  5988. - Add a discrete Joystick support for the STM3210E-EVAL.
  5989. - Add analog Joystick shield support for the Nucleo F4x1RE boards.
  5990. - STM32 F429i-Disco: Add support for initializing of the ltdc
  5991. controller and the lcd device connected on the stm32f429i-disco.
  5992. From Marco Krahl.
  5993. - Removed the px4-v2_upstream configuration. This was not the
  5994. official configuration for the PX4 board and has led to confusion
  5995. by NuttX users. The board configuration also requires some ongoing
  5996. maintenance and customization to support ongoing PX4 testing and
  5997. evaluation. It is best retained the PX4 repositories where it can
  5998. be properly maintained and not in the upstream NuttX repository.
  5999. * TI Tiva:
  6000. - Add support for the TI Tiva TM4C 129X family. Some unverified
  6001. support for the TM4C 1294 is also in place.
  6002. * TI Tiva Drivers:
  6003. - Added support for Tiva I2C driver. Verified on the Tiva TM4C123G
  6004. and TM4C129X.
  6005. - Added a Tiva TM4C129X Ethernet driver.
  6006. - Add a timer library for generic support of Tiva timers
  6007. - Add a driver lower half for drivers/timer.c. Only 32-bit periodic
  6008. timers are supported. This provides userspace access to timers.
  6009. * TI Tiva Boards:
  6010. - TM4C123G Launchpad: Add initialization logic for an external AT24
  6011. EEPROM. This is intended only to support testing of the Tiva I2C
  6012. driver.
  6013. - Board support for the Tiva DK-TM4C129x Connected Development Kit.
  6014. - DK-TMC129X: Add an IPv6-enabled NSH configuration.
  6015. * C Library/Header Files:
  6016. - Added support for a variadic ioctl() function. The ioctl()
  6017. interface is a non-standard, Unix interface. NuttX has always used
  6018. the older, three-parameter version. Most contemporary systems now,
  6019. however, use a variadic form of the ioctl() function. Added an
  6020. option to insert a shim layer to adapt the three-parameter ioctl()
  6021. to use the variadic interface form. Internally, the ioctl handling
  6022. is the same three-parameter logic. The only real complexity to the
  6023. shim is in how the system calls must be handled.
  6024. - Added sys/custom_file.h. Used when CUSTOM_FILE_IO is define and
  6025. avoids re-definition errors about the FILE define. From Thomas
  6026. Gruber via the PX4 repository
  6027. - Add CRC8 support to the C library. From Ken Pettit.
  6028. - math.h: Added support for the expm1 functions. From Brennan Ashton
  6029. * Applications:
  6030. - apps/examples/djoystick: Add a test of the discrete joystick
  6031. driver.
  6032. - apps/examples/ajoystick: Add a test of the analog joystick
  6033. driver.
  6034. - apps/examples/ltdc: Add ltdc test example. From Marco Krahl
  6035. - apps/system/lm75: Add a tiny application to read the temperature
  6036. from an LM-75 (or compatible) temperature sensor
  6037. - apps/examples/timer: Add a trivial test of the timer driver
  6038. - apps/system/cu: Add a minimalist implementation of the 'cu'
  6039. terminal program (part of Taylor UUCP for ages). Using it, you can
  6040. simply open a serial port and interact with it. Using '~.' you can
  6041. leave the terminal program and drop back to nsh. This might come
  6042. in handy for people that have e.g. GSM modems, GPS receivers or
  6043. other devices with text based serial communications attached to
  6044. their Nuttx systems. From Harald Welte
  6045. - apps/interpreters/micropython: A port of Micro Python to NuttX.
  6046. Contributed by Dave Marples
  6047. - apps/netutils/dnsclient: Can select to be either IPv4 or IPv6, but
  6048. not both (IPv6 still does not compile)
  6049. - apps/netutils/netlib: Add new library functions to manipulate IPv6
  6050. addresses.
  6051. - apps/examples/nettest: Update test so that it can be used to test
  6052. IPv6 TCP sockets
  6053. - apps/examples/udp: The UDP test example has been extend to support
  6054. IPv6 domain sockets
  6055. - apps/nshlib: Add logic to initialize IPv6 addresses
  6056. - apps/nshlib: Add the ping6 command to support checking IPv6 networks.
  6057. - apps/nshlib: Clean up network status presentation for IPv6
  6058. Efforts In Progress. The following are features that are partially
  6059. implemented but present in this release. They are not likely to be
  6060. completed soon.
  6061. * IPv6. While basic IPv6 support was completed in NuttX-7.7,
  6062. there are lingering issues with getting IPv6 compatibility
  6063. with applications and network utilities.
  6064. * Processes. Much of the work in this release is focused on the
  6065. realization of Unix-style user processes in NuttX. There is more to
  6066. be done, however. The full roadmap and status is available at:
  6067. http://www.nuttx.org/doku.php?id=wiki:nxinternal:memconfigs#the_roadmap_toward_processes
  6068. * XMega: There are some fragments in place for an XMega port. That
  6069. port has not really started, however.
  6070. * Galileo: Similarly, there are fragments in place for an Intel Galileo
  6071. port. The port probably will not happen (I gave my Galileo board away!).
  6072. Bugfixes. Only the most critical bugfixes are listed here (see the
  6073. ChangeLog for the complete list of bugfixes and for additional, more
  6074. detailed bugfix information):
  6075. * Core OS:
  6076. - POSIX message queues: msg type should be char * not void * in
  6077. mq_send, mq_timedsend, mq_receive, and mq_timedreceive. Noted by
  6078. Pierre-Noel Bouteville
  6079. - POSIX message queues: In message queue creation return ENOSPC error
  6080. if size exceeds the configured size of pre-allocated messages; Use
  6081. ENOSPC vs ENOMEM per OpenGroup.org. From Pierre-Noel Bouteville.
  6082. - Task Names: strncpy() will not copy the terminating \0 into the
  6083. destination if the source is larger than the size of the
  6084. destination. Ensure that the last byte is always zero and let
  6085. strncpy() only copy CONFIG_TASK_NAME_SIZE bytes. The issue of
  6086. unterminated names can be observed in ps when creating a pthread
  6087. while CONFIG_TASK_NAME_SIZE is set to 8. From Daniel Willmann
  6088. * Memory Management:
  6089. - Granule allocator: Fixes some issues found by the PX4 team using
  6090. Coverity. From Pavel Krienko
  6091. * Networking:
  6092. - Several fixes correcting issues with the CC3000 networking. From
  6093. Jussi Kivilinna
  6094. - CC3000 Fix: Data can be unaligned. When dereferenced as an input
  6095. ntosh(), a bad value is returned. Reported by Alan Carvalho de
  6096. Assis
  6097. - Correct naming of fields in struct sockaddr_in6: sin6_port and
  6098. sin6_family, not sin_port and sin_family.
  6099. - accept(): Correct the value returned by accept() in the case where
  6100. net_lockingwait() is called. It was returning -1 and losing the
  6101. errno value. Noted by Rony Xln
  6102. * Common Drivers:
  6103. - Loop device should return -EINTR is interrupted by a signal.
  6104. - M25P serial flash driver: Add subsector size of the M24P16 part.
  6105. From Lazlo
  6106. - Common serial driver: In case a thread is doing a blocking operation
  6107. (e.g. read()) on a serial device, while it is being terminated by
  6108. pthread_cancel(), then uart_close() gets called, but the semaphore
  6109. is still blocked. This means that once the serial device is opened
  6110. next time, data will arrive on the serial port (and driver
  6111. interrupts handled as normal), but the received characters never
  6112. arrive in the reader thread. The problem was fixed by re-
  6113. initializing the semaphores on the last uart_close() on the device.
  6114. From Harald Welte
  6115. - Pipes: Fixes some issues found by the PX4 team using Coverity. From
  6116. Pavel Krienko
  6117. - CDC/ACM driver: Fixes some issues found by the PX4 team using
  6118. Coverity. From Pavel Krienko
  6119. * NXP LPC43xx Drivers:
  6120. - LPC4357: Changes required to get USART 2 & 3 working on the
  6121. lpc4357-evb. From Toby Duckworth.
  6122. * STMicro STM32:
  6123. - Several fixes correcting issues with the STM32 header files from
  6124. Jussi Kivilinna
  6125. * STMicro STM32 Drivers:
  6126. - Ported Tridge's STM32 I2C noise resilience logic from the PX4
  6127. repository.
  6128. - STM32 F2 and F4: Set the GPIO_SPEED_50MHz on all F2 and F4 SPI pin
  6129. configurations. This is based on an F411 SPI1 errata but the fixed
  6130. is generalized to all SPI and all F2 and F4. Discovered and fixed
  6131. by Sebastien Lorquet.
  6132. - Fix for STM32 OTGHS device driver working in FS mode. From Ken
  6133. Pettit.
  6134. - For STM32 OTG HS DEV (in FS mode): Disable ULPI clock enable in RCC
  6135. AHB1 Register. If Both ULPI and the FS clock enable bits are set in
  6136. FS mode, then the ARM never awakens from WFI due to a chip issue.
  6137. This is only an issue if you are using the internal PHY. From Ken
  6138. Pettit.
  6139. - STM32 F429 LTDC: Add missing clut register definition. From Marco
  6140. Krahl
  6141. - STM32 serial: fix declaration and definition of up_receive() and
  6142. up_dma_receive() to match fields in the interface definition of
  6143. struct uart_ops_s. From Freddie Chopin.
  6144. * TI Tiva Drivers:
  6145. - Fix Tiva IRQ control logic; was limited to only 64 IRQs. That is a
  6146. problem for higher numbered IRQs on many platforms
  6147. * C Library/Header Files:
  6148. - avsprintf(): Fix a bug in usage of va_list on x86. On x86,
  6149. va_list is a pointer to a single copy on the stack. avsprintf()
  6150. calls lib_vsprintf() twice and so traverses the va_list twice using
  6151. va_start. va_start modifies that single copy on the stack so that
  6152. the second call to lib_vsprintf() fails. This appears to be an
  6153. issue with x86 only so far.
  6154. - stdint.h: Don't use hex values to specify minimum values of fixed
  6155. width, signed values. Hex values are inherently unsigned and not
  6156. usable for this purpose in all contexts.
  6157. - strncpy(): Would trash a lot of memory if n == 0. From Yasuhiro
  6158. Osaki.
  6159. - sscanf(). Accept %X and %F as well as %x %f as a format specifiers.
  6160. From Sébastien Lorquet
  6161. * Applications:
  6162. - apps/examples/romfs: fix romfs example builtin app registry issue.
  6163. From Librae
  6164. - apps/system/cdcacm, composite and usbmsc: Fix some strangely placed
  6165. conditional compilation. Looks like an automated update went awry
  6166. - apps/netutils/telnetd: Add protection when CONFIG_SCHED_HAVE_PARENT
  6167. is enabled: Call sigaction with SA_NOCLDWAIT so that exit status is
  6168. not retained (no zombies) and block receipt of SIGCHLD so that
  6169. accept is not awakened by a signal. If accept() is awakened by a
  6170. signal, do not do anything crazy like exit. Most from Rony Xln
  6171. - apps/nshlib/: NSH TFTP get command: Wrong file name used for the
  6172. destination. From Lazlo
  6173. NuttX-7.8
  6174. ---------
  6175. The 108th release of NuttX, Version 7.8, was made on February 11, 2015,
  6176. and is available for download from the SourceForge website. Note
  6177. that release consists of two tarballs: nuttx-7.8.tar.gz and
  6178. apps-7.8.tar.gz. Both may be needed (see the top-level nuttx/README.txt
  6179. file for build information).
  6180. This release is primarily a bugfix release for the NuttX-7.7 version that
  6181. was release just two weeks prior. That release included substantial
  6182. modifications in the NuttX networking to accommodate support for IPv6. This
  6183. release follows close behind NuttX-7.7 in order to correct some the problems
  6184. discovered in that networking code. This release does, however, include a
  6185. small number of new features and bug fixes unrelated to NuttX networking.
  6186. Additional new features and extended functionality:
  6187. * Core OS:
  6188. - Tickless Mode: added limit of maximum delay that can be request
  6189. by the scheduler tickless logic. This is necessary so that the
  6190. tickless logic does not request a delay beyond the capability of the
  6191. underlying hardware. From Macs Neklyudov.
  6192. * Common Drivers:
  6193. - VFS Unlink: Add an unlink method to both the character and block
  6194. driver interface. This is important because if the driver inode is
  6195. unlinked and there are no open references to the driver, then the
  6196. driver resources will be stranded. On the unlink call, the driver
  6197. has the opportunity (1) check if there an any open references, and
  6198. if not, (2) free the driver resources.
  6199. - Pipes and FIFOs: Implement the unlink method. If the pipe/FIFO is
  6200. unlinked, it will marked the pipe/FIFO as unlinked. If/when all
  6201. open references to the driver are closed, all of the driver
  6202. resources will be freed.
  6203. - Added an option to use the syslog'ing device as the system console.
  6204. This option enables a low-level, write-only console device at
  6205. /dev/console (similar to the low-level UART console device). From
  6206. Pierre-noel Bouteville.
  6207. * File Systems/Block Drivers/MTD:
  6208. - RAM/ROM disk: Add logic to dispose of the driver and RAM buffer
  6209. when the RAM disk has been unlinked and all open references to the
  6210. RAM disk have been closed. Add new parameters to romdisk() to
  6211. specify what should be done with the RAM/ROM buffer in this case --
  6212. Should it be freed or not? Changed all calls to ramdisk() to use
  6213. these new parameters.
  6214. * Networking:
  6215. - Add support for local, Unix domain sockets. Support included for
  6216. both SOCK_STREAM and SOCK_DGRAM style local socket.
  6217. - UDP enhancement: Add UDP read-ahead support. In addition to
  6218. eliminating the main reason for lost UDP packets, then change
  6219. enables support for for poll/select on UDP sockets and also non-
  6220. blocking UDP sockets. From Macs Neklyudov.
  6221. - SLIP interface improvements. From Macs Neklyudov.
  6222. - IPv6 Neighbor Solicitation: Added logic to support verification
  6223. that we have the IPv6 address in the Neighbor Table before sending
  6224. any packets. If not, then the Neighbor Solicitation message is
  6225. sent. This feature is important because otherwise the first packet
  6226. sent to a remote peer will fail (it would have been replaced with a
  6227. Neighbor Solicitation).
  6228. - IPv6 Autonomous Auto-Configuration: Added support for sending
  6229. ICMPv6 Router Solicitation and receiving Router advertisement. The
  6230. local IPv6 address, mask, and router address are then auto-configured
  6231. from the response..
  6232. - IPv6 Router Support: Add logic to behave like a router (if so
  6233. configured) only in the sense that NuttX will send the router
  6234. advertisement message in response to any received router solicitation
  6235. messages. Thus, one NuttX node in a network can configure the IPv6
  6236. addresses of all other nodes in the network.
  6237. - Optional IPv6 address filtering added to all Ethernet drivers for
  6238. the all-routers multicast address.
  6239. * Atmel AVR:
  6240. - Added architecture support for the Atmel AVR ATMega1284P MCU. From
  6241. Jedi Tek'Unum.
  6242. * Atmel AVR Boards:
  6243. - Added support for the LowPowerLab MoteinoMEGA that is based on the
  6244. Atmel AVR ATMega1284P MCU. From Jedi Tek'Unum.
  6245. * Atmel SAMA4:
  6246. - Add support for Tickless mode of operation for the SAM4CM platform.
  6247. From Macs Neklyudov.
  6248. * Atmel SAMA4 Drivers:
  6249. - Ethernet: The SAM4E Ethernet driver can now be configuration to
  6250. perform all network processing on the work queue. This greatly
  6251. reduces the amount of interrupt level processing to service Ethernet
  6252. packets.
  6253. - SAM4E Ethernet: Add support multicast address matching and IPv6.
  6254. * Atmel SAMA4 Boards:
  6255. - SAM4E-EK: The nsh configuration now configures the Ethernet driver
  6256. for execution on the work thread.
  6257. * Atmel SAMA5D Drivers:
  6258. - SAMA5D4 Ethernet: The SAMA5D4 Ethernet driver can now be configuration
  6259. to perform all network processing on the work queue. This greatly
  6260. reduces the amount of interrupt level processing to service Ethernet
  6261. packets.
  6262. - SAMA5D3 and SAMA5D4 Ethernet: Add support multicast address matching
  6263. and IPv6.
  6264. * Atmel SAMA5D Boards:
  6265. - SAMA5D4-EK; Added a configuration to testing IPv6.
  6266. - SAMA5D4-EK: Converted the nsh and ipv6 configurations to configure
  6267. the Ethernet driver to use the work queue (vs. interrupt level
  6268. processing).
  6269. * Freescale KL:
  6270. - Add architectural support for the K26Z128VLH4 chip. From Derek B. Noonburg.
  6271. * Freescale KL Boards:
  6272. - Add board support for the Freedom KL26Z board. From Derek B. Noonburg.
  6273. * NXP LPC17xx Drivers:
  6274. - Ethernet: Add support multicast address matching and IPv6.
  6275. * SiLabs EFM32:
  6276. - Add configurable option to unconditionally enable LE clocking. Even
  6277. you don't use core clock LE as source for LFA or LFB, to read are
  6278. write any register not clocked by HFPERCLK or HFCORECLK, HFCORECLKLE
  6279. should be enabled. From Pierre-noel Bouteville.
  6280. * SiLabs EFM32 Drivers:
  6281. - EFM32 RTC: RTC driver using BURTC. From Pierre-Noel Bouteville.
  6282. * STMicro STM32 Drivers:
  6283. - AES: Add driver for STM32L162XX AES peripheral. From Juha Niskanen.
  6284. - Ethernet: The STM32 Ethernet driver can now be configuration to
  6285. perform all network processing on the work queue. This greatly
  6286. reduces the amount of interrupt level processing to service Ethernet
  6287. packets.
  6288. - Ethernet: Add support multicast address matching and IPv6.
  6289. * STMicro STM32 Boards:
  6290. - Added an IPv6 configuration for the STM32F4-Discovery board (with the
  6291. STM32-DISCO_BB base board).
  6292. - Converted all STM32F4-Discovery configurations (with base board) to
  6293. configure the Ethernet driver to use the work queue (vs. interrupt
  6294. level processing).
  6295. * TI Tiva Drivers:
  6296. - Added support for TM4C123G timers. From Calvin Maguranis.
  6297. - Added a Tiva ADC driver. From Calvin Maguranis.
  6298. * TI Tiva Boards:
  6299. - Added TM4C123G timers on the TM4C123G Launchpad. From Calvin Maguranis.
  6300. - Added Tiva ADC support to the TM4C123G-Launchpad. From Calvin Maguranis.
  6301. * C Library/Header Files:
  6302. - Math Library: Added support for inverse hyperbolic functions,
  6303. isfinite(), error functions, nan(), copysign(), and trunc()
  6304. functions. From Brennan Ashton.
  6305. * Applications:
  6306. - apps/examples/ustream: Add a simple test of Unix domain stream
  6307. sockets.
  6308. - apps/examples/udgram: Add a simple test of Unix domain datagram
  6309. sockets.
  6310. - apps/netutils/netlib: Add utilities to convert to/from prefix
  6311. lengths from/to 128-bit network masks.
  6312. - apps/nshlib: Modify the NSH IPv6 ifconfig command to show the more
  6313. standard post-pended prefix value, rather than the full 128-bit
  6314. netmask.
  6315. Efforts In Progress. The following are features that are partially
  6316. implemented but present in this release. They are not likely to be
  6317. completed soon.
  6318. * Processes. Much of the work in this release is focused on the
  6319. realization of Unix-style user processes in NuttX. There is more to
  6320. be done, however. The full roadmap and status is available at:
  6321. http://www.nuttx.org/doku.php?id=wiki:nxinternal:memconfigs#the_roadmap_toward_processes
  6322. * XMega: There are some fragments in place for an XMega port. That
  6323. port has not really started, however.
  6324. Bugfixes. Only the most critical bugfixes are listed here (see the
  6325. ChangeLog for the complete list of bugfixes and for additional, more
  6326. detailed bugfix information):
  6327. * Core OS:
  6328. - Work Queues: Fix a backward calculation when determining the time
  6329. to the next interesting event. . From Liio Chen via the PX4
  6330. repository.
  6331. - clock_systimespec(): Fixes for compilation errors in certain
  6332. configurations. From Macs Neklyudov.
  6333. * Graphics
  6334. - Fixed a problem with one of the font files. From Pierre-noel Bouteville.
  6335. * Networking:
  6336. - IOB Deadlock: There were issues with the TCP write-ahead buffering
  6337. if CONFIG_NET_NOINTS was enabled: There is a possibility of
  6338. deadlocks in certain timing conditions: The network should never
  6339. wait for TCP read-ahead buffering space to be available. It should
  6340. drop the packets immediately if no buffering is available. This was
  6341. fixed by duplicating most of the IOB interfaces: The versions that
  6342. waited are still present (like iob_alloc()), but now there are non-
  6343. waiting versions of the same interfaces (like iob_tryalloc()). The
  6344. TCP read-ahead logic now uses only these non-waiting interfaces.
  6345. - TCP Deadlock: Fix another deadlock when CONFIG_NET_NOINTS is enabled.
  6346. tcp_write_buffer_alloc() calls sem_wait() with network locked. That
  6347. worked if CONFIG_NET_NOINTS was not defined because interrupts are
  6348. automatically restored when the wait happens. But with
  6349. CONFIG_NET_NOINTS=y, the wait blocks with the network locked -- bad
  6350. style and also can lead to a deadlock condition.
  6351. - ARP response waiting: Fixes another CONFIG_NET_NOINTS issue. When
  6352. called sem_timedwait() with the network locked, the network stays
  6353. locked while we wait which is not what we want (without CONFIG_NET_NOINTS,
  6354. interrupts are re-enabled while we wait and all is well).
  6355. - TCP accept(): Fix a major TCP bug introduced with the NuttX-7.7
  6356. IPv6 changes: Some connection logic was reordered; setting the
  6357. socket as 'connected' got moved to BEFORE the point where the check
  6358. was made if the socket was already connected. The resulting behavior
  6359. was odd: Telnet would connect, but then when you exit and reconnect,
  6360. it would fail to connect. But then if try again, it would connect
  6361. okay. So the symptom was connect-fail-connect-fail-...
  6362. - Lots of build problems introduced into multiple NIC support with the
  6363. IPv6 changes of NuttX-7.7. Many places where conditional logic based
  6364. on CONFIG_NETDEV_MULTINIC is confused with CONFIG_NET_MULTILINK.
  6365. Lots of code changed with IPv6 that was never compiled with MULTINIC
  6366. enabled.
  6367. * Common Drivers:
  6368. - Pipes and FIFOs: Fix a race condition between FIFO buffer operations
  6369. and the opening and closing of FIFOs which necessary when the FIFOs
  6370. are used to support Unix domain, datagram sockets. The default
  6371. policy is the deallocate FIFO buffering when the last client closes
  6372. the pipe. When when used for datagram communications, packets left
  6373. in the FIFO will be lost. Some like UDP read-ahead is needed: The
  6374. buffered data in the FIFO needs to be retained until the reader gets
  6375. a chance to re-open the FIFO. Added an ioctl (PIPEIOC_POLICY) to
  6376. control the buffer policy. Default (0) is the legacy behavior; Unix
  6377. domain datagram logic sets the alternative policy so that the packet
  6378. data persists after the FIFO is closed.
  6379. - RAMTRON: Table of parts is not terminated properly if
  6380. CONFIG_RAMTRON_FRAM_NON_JEDEC is not defined. Noted by David
  6381. Sidrane.
  6382. * All Architectures:
  6383. - Removed all occurrences of up_maskack_irq() that disables interrupts
  6384. with up_ack_irq() that only acknowledges the interrupts. This is only
  6385. used in interrupt decoding logic. Also remove the logic that
  6386. unconditionally re-enables interrupts with the interrupt exits. This
  6387. interferes with the drivers ability to control the interrupt state.
  6388. This is a necessary, sweeping, global change and unfortunately
  6389. impossible to test.
  6390. * ARM
  6391. - ARMv7-A and ARMv7-M memcpy(): Optimized ARM assembly language
  6392. memcpy's were not returning a value in R0 they are required to do.
  6393. From David Sidrane.
  6394. - ARMv7-A interrupt handler should not automatically re-enable interrupts
  6395. on interrupt return. That interferes with the driver's ability to
  6396. manage interrupts. Analogous change made to all other architectures
  6397. as well (ARM7, ARM9, HC, SH, x86, z16, z80, etc,. See above.).
  6398. * STMicro STM32:
  6399. - GPIO Interrupts: Disabling any of EXTI 5-9 interrupts was disabling
  6400. interrupts for all EXTI 5-9. Same issue with EXTI 10-15. From Jussi
  6401. Kivilinna.
  6402. * STMicro STM32 Drivers:
  6403. - RTCC: Fix for recent changes that caused compilation failrues with
  6404. STM32L15XX configurations. From Jussi Kivilinna.
  6405. - SPI: The source clock for SPI 4,5, and 6 should be PCLK2, not PCLK1
  6406. (for F411, F427, and F429). Per David Sidrane.
  6407. * C Library/Header Files:
  6408. - execl(): Fix bad logic in counting the number of arguments.
  6409. execl() parameter passing could never have worked. Noted by
  6410. Pierre-noel Bouteville.
  6411. * Applications:
  6412. - Fix for building with parallel make. Build-server sometimes failed
  6413. 'make -j24' with errors in the builtin line or or sometimes silently
  6414. succeeds but generated builds that contain a random subset of
  6415. configured NuttX applications. There are two root causes for this:
  6416. (1) Recipes for building builtin_list.h and builtin_proto.h are
  6417. not linearizable, and (2) Nothing ensures that 'make context' is run
  6418. first for apps/builtin. This change address both issues. From Juha
  6419. Niskanen.
  6420. NuttX-7.9
  6421. ---------
  6422. The 109th release of NuttX, Version 7.9, was made on April 14, 2015,
  6423. and is available for download from the SourceForge website. Note
  6424. that release consists of two tarballs: nuttx-7.9.tar.gz and
  6425. apps-7.9.tar.gz. Both may be needed (see the top-level nuttx/README.txt
  6426. file for build information).
  6427. Additional new features and extended functionality:
  6428. * Core OS:
  6429. - Assertions: Add support for dumping board-specific information on
  6430. assertions. From David Sidrane.
  6431. - boardctl(): : Add a new non-standard OS interface called boardctl().
  6432. This is similar to a driver IOCTL call. But this is an IOCTL call
  6433. directly on the board logic. This function will eventually replace
  6434. all of the ad hoc OS interfaces that are current used to perform
  6435. application specific initialization and application driver test
  6436. configuration. It essentially formalizes and institutionalizes
  6437. these rogue interface in to at least a single crazy call.
  6438. * Graphics:
  6439. - Line Joins: Line drawing graphic functions now take an argument that
  6440. will draw a circular "cap" on the ends of lines to support cleaner
  6441. joining of lines segments..
  6442. * Common Drivers:
  6443. - SPI iInterface: Add an SPIDEV_USER so that there can be board-
  6444. specific definitions of SPI devices.
  6445. - I2C Interface: Add a user provided void * argument to the I2C
  6446. callback method for the I2C slave interface. Suggested by Nate
  6447. Weibley.
  6448. - AT24 EEPROM Driver: Add support for (1) the byte-oriented read()
  6449. method, (2) devices that have extended memory regions, and (3)
  6450. devices that use 8-bit addressing.
  6451. - Freescale MPL115A barometer: Add driver for the Freescale MPL115A
  6452. barometer. From Alan Carvalho de Assis.
  6453. - CS2100-CP: Add a driver for the CS2100-CP Fractional-N Multipler
  6454. chip.
  6455. - RTC IOCTls: Added the definitions of a driver based RTC interfaces
  6456. and RTC upper half driver.
  6457. * File Systems/Block Drivers/MTD:
  6458. - umount2(): Added to support un-mount flags. umount() is now a macro
  6459. that just calls umount2() with flags = 0.
  6460. - File system interface: Pass the umount2() flags to every unbind()
  6461. implementation. That is where the decision to umount or not and how
  6462. to umount will be made.
  6463. - FAT unbind: Add support for umount2(target, MNT_FORCE) in the FAT
  6464. file system.
  6465. * Networking:
  6466. - netdev_register(): Improve the network device registration logic.
  6467. When multiple link types are used, modify how each interface number
  6468. is assigned to the device name by incrementing the device number
  6469. individually for each interface link type. From Max Neklyudov.
  6470. - Add TUN network device. Used to support the Netutils PPPD
  6471. implementation. From Max Neklyudov.
  6472. * ARMv7-M
  6473. - ARM Cortex-M7: Add basic support for the Cortex-M7 architecture.
  6474. - ARMv7 Common Lazy Exception handling. Add common support for lazy
  6475. FPU state saving. MCU-specific lazy FPU saving was already in place.
  6476. This change just makes the code share-able.
  6477. * Atmel SAMA5D3/4 Drivers:
  6478. - SAMA5 Serial: Backport support for flowcontrol and termios from
  6479. SAM3/4.
  6480. * Atmel SAMV7:
  6481. - Atmel SAMV7: Add architecture support for the Atmel SAMV7 family
  6482. (Cortex-M7)
  6483. * Atmel SAMV7 Boards:
  6484. - Atmel SAMV71 Xplained Ultra: Add board support for this SAMV7 board.
  6485. This initialize release includes support for: SDRAM, TWI/I2C, SPI,
  6486. Ethernet, HSMCI, DMA, GPIOs, UARTs, AT24 EEPROM and the maXTouch
  6487. Xplained Pro LCD. Drivers are available for SSC/I2C, the WM8904,
  6488. the maXTouch trouchscreen, and USB device but have not yet been
  6489. fully integrated in this release.
  6490. * SiLabs EFM32 Drivers:
  6491. - EFM32 USB Device is now functional with the efforts of From Pierre-
  6492. noel Bouteville.
  6493. - EFM32 I2C: Add I2C driver. From Pierre-noel Bouteville.
  6494. * STMicro STM32:
  6495. - STM32F372/F373: Adds architecture support for this STM32 parts.
  6496. Tested on STM32F373CC. Contributed by Marten Svanfeldt.
  6497. * STMicro STM32 Drivers:
  6498. - STM32 RTCC: Break out a new internal interface, stm32_rtc_setdatetime().
  6499. This eliminates some un-necessary time conversions. From Freddie Chopin.
  6500. - STM32 RTCC: Add an implementation of the RTC lower half interface
  6501. for the STM32.
  6502. - STM32 RTCC: Extend the RTC interface to support reading subseconds.
  6503. From Jussi Kivilinna.
  6504. - STM32 BBSRAM: Adds the ability to use the STM32F2 and STM32F4 Battery
  6505. Backed SRAM in the file system. With an option to Save Panic context
  6506. to one of the files. From David Sidrane.
  6507. * STMicro STM32 Boards:
  6508. - Olimexino-STM32: Board support for the Olimexino STM32 board from David
  6509. Sidrane.
  6510. - Viewtool-STM32F107: Add support for an optional, add-on Freescale
  6511. MPL115A baramoter. From Alan Carvalho de Assis.
  6512. * TI Tiva:
  6513. - TM4C1294: Add support for the TM4C1294. Contributed by Frank Sautter.
  6514. * TI Tiva Drivers:
  6515. - Tiva ADC: Updated files to allow for ADC and PWM triggering by a
  6516. timer. Refactoring of ADC implementation. From Calvin Maguranis.
  6517. - Tiva Timer: Refactoring by Calvin Maguranis
  6518. * TI Tiva Boards:
  6519. - TM4C123G-launchpad: Add ADC support. From Calvin Maguranis.
  6520. - TM4C123G-launchpad: Add board button interrupt support. From Calvin
  6521. Maguranis.
  6522. - TM4C1294 Launchpad: Add support for the TM4C1294 Launchpad.
  6523. Contributed by Frank Sautter.
  6524. * Microchip PIC32
  6525. - PIC32MZ: Add architectural support for the PIC32MZ (MIPS32 M14k).
  6526. Includes contributions from Kristopher Tate.
  6527. * Microchip PIC32MZ Boards
  6528. - PIC32MZ Starter Kit: Add basic board support for the PIC32MZ.
  6529. Includes contributions from David Sidrane.
  6530. * C Library/Header Files:
  6531. - gettimeofday(): This function is no longer a core OS interface. It
  6532. is only a wrapper around clock_settime().
  6533. - settimeofday(): Added. gettimeofday has been deprecated in POSIX
  6534. 2008. settimeofday() was never part of POSIX, but I decided to add
  6535. it to libc as well just for symmetry.
  6536. - Day-of-Week: Add CONFIG_TIME_EXTENDED to support the last 3 members
  6537. of the tm struct and support for filling them in with the day of the
  6538. week. From David Sidrane.
  6539. - sighold(), sigrelse(), sigignore(), sigset() and sigpause(): New
  6540. signal handling functions.
  6541. - sys/select.h: Extend the fd_set type definition so that it can
  6542. handle more than 32 descriptors (if so configured). From Max
  6543. Neklyudov.
  6544. - netdb.h: Add a mostly-commented-out version of the standard netdb.h
  6545. header file.
  6546. - include/nuttx/board.h: Remove common board function prototypes from
  6547. other files and consolidate them in this new header file.
  6548. * Applications:
  6549. - OS test: Improved error checking for sem_timedwait() from Juha
  6550. Niskanen.
  6551. - OS test: Add a simple test of sigprocmask, sighold, and sigrelse.
  6552. - PPPD test: Add PPPD test case. Split out from the PPPD daemon by
  6553. Brennan Ashton.
  6554. - Netutils: Add a PPP daemon. From Max Neklyudov.
  6555. - NSH: NSH initialization now calls boardctl(BOARDIOC_INIT) instead
  6556. of nsh_archinitialize(). Remove support for CONFIG_NSH_ARCHMAC.
  6557. It is not used and there are better ways to do that operation.
  6558. - NSH: Allow NSH 'date' command with no hardware RTC. This command
  6559. is useful without an RTC too. Also, this permits testing on the
  6560. simulator which never has an RTC.
  6561. - apps/examples/: Several tests changed (touchscreen adc, pwm,
  6562. graphics). No longer call directly into the OS, but rather
  6563. indirectly via boardctl().
  6564. - Modbus: Includes extensions to support RTU master mode by
  6565. Armink(383016632@qq.com): https://github.com/armink/FreeModbus_Slave-Master-RTT-STM32.
  6566. Ported to NuttX by Darcy Gong.
  6567. - TZ database: All logic to build timezone database needed for
  6568. localtime() support. Does not do much else yet.
  6569. Efforts In Progress. The following are features that are partially
  6570. implemented but present in this release. They are not likely to be
  6571. completed soon.
  6572. * Processes. Much of the work in this release is focused on the
  6573. realization of Unix-style user processes in NuttX. There is more to
  6574. be done, however. The full roadmap and status is available at:
  6575. http://www.nuttx.org/doku.php?id=wiki:nxinternal:memconfigs#the_roadmap_toward_processes
  6576. * XMega: There are some fragments in place for an XMega port. That
  6577. port has not really started, however.
  6578. Bugfixes. Only the most critical bugfixes are listed here (see the
  6579. ChangeLog for the complete list of bugfixes and for additional, more
  6580. detailed bugfix information):
  6581. * Core OS:
  6582. - atexit(): Fix compile failure due to reference to undefined variable
  6583. in certain configurations. From Juha Niskanen.
  6584. - syscalls: Last changes to message queue prototypes did not make it
  6585. into call gate logic. Some additional errors had crept as well since
  6586. the system calls are seldom used.
  6587. - waitpid(): Do not use uninitialized boolean in waitpid(). From Juha
  6588. Niskanen.
  6589. - Timing functions: Fix some nanosecond comparisons. Comparisons should
  6590. be greater than OR EQUAL TO 1000000000 for maximum value of nanoseconds
  6591. in struct tm. From Juha Niskanen.
  6592. - Time initialization: Fix an error in time initialization when there
  6593. is no RTC and the time is initialized from a fixed configured value.
  6594. The call to clock_calendar2utc() was returning the time in units of
  6595. seconds. The initialization logic, however, was expecting to get
  6596. time in units of days. This problem has been there forever but
  6597. obviously has not significant impact to behavior in systems where
  6598. time is not visible.
  6599. - mq_timedsend(): Should not check for valid time if there is space
  6600. in the message queue. Noted by Freddie Chopin.
  6601. - select() and sem_timedwait(): Fix places where the errno value was
  6602. being overwritten by subsequent actions so that the returned errno
  6603. value was incorrect. From Max Neklyudov.
  6604. - clock_systimer64(): Fix a problem in clock_systimer64 that occurs
  6605. when (1) the 64-bit system time is enabled, and (2) the value of
  6606. CONFIG_USEC_PER_TICK is less than 1 milliseconds (such as when using
  6607. the tickless mode of operation). In that case, the conversion of
  6608. time to 64-bit millisecond value in clock_systmer64() causes some
  6609. bad times to be returned. Time was converted to milliseconds, then
  6610. to configured ticks. Precision was lost in the millisecond
  6611. conversion. The fix is to first convert time to a 64-bit microsecond
  6612. value, then to the configured tick value. Noted by David Sidrane.
  6613. - clock_systimespec(): When an RTC is used clock_systimespec() must
  6614. subtract the basetime from the returned time. It needs to return
  6615. the time since power up, no the current time. Issue noted by Max
  6616. Neklyudov.
  6617. - AIO: correct some backward tests in aio_read() and aio_write():
  6618. Socket descriptors have higher numbers than file descriptors. In
  6619. aio_contain(), Copy u.ptr (void *) when initializing aioc and not
  6620. the case specific u.aioc_filep. From Michal Ulianko.
  6621. * File Systems/Block Drivers/MTD:
  6622. - procfs: Fix potential NULL pointer dereference of 'node'. From
  6623. Juha Niskanen.
  6624. - FAT: fat_unbind() was accessing 'fs->fs_sem' after freeing the 'fs'
  6625. struct. From Juha Niskanen.
  6626. - mkfatfs: Use DMA memory for mkfatfs when needed. This makes mkfatfs
  6627. use fat_dma_alloc() when CONFIG_FAT_DMAMEMORY is set. This is needed
  6628. to ensure mkfatfs operates with boards that use DMA for microSD.
  6629. From Andrew Tridgell via the PX4/NuttX repository.
  6630. - FAT unmount: Fix a bug in the FAT unbind() logic. There were
  6631. problems with the way certain internal list handling was
  6632. implemented. The end result is that newly opened or cloned file
  6633. structures were never being added to the list of open files. So
  6634. when the unmount() happens, it always looked like there were not
  6635. open files and a crash could ensue.
  6636. - FAT mounting: Fix misthink when CONFIG_ENDIAN_BIG=y. From Lwazi Dube.
  6637. * Common Drivers:
  6638. - CAN upper half driver: Some lines had to be reordered in the can_open
  6639. function otherwise the open count will only be incremented from 0 to
  6640. 1. This caused problems when trying to open the can bus from two
  6641. different tasks. SourceForge Patch #46.
  6642. * Crypto:
  6643. - crypto: Fix issues when AES support was added for the STM32L1.
  6644. From Juha Niskanen.
  6645. * Networking:
  6646. - Network initialization: Divide net_intiialize() into net_setup() and
  6647. net_initialize() to solve a chicken-and-egg problem. net_setup()
  6648. must be called before up_initialize() is called so that networking
  6649. data structures are ready to register new network devices.
  6650. net_initialize() now does only timer related operations and is
  6651. called AFTER up_initialize() where the timers are configured.
  6652. Problem noted by Max Neklyudov.
  6653. - netdev_unregister(): Fix a list handling error. From Max Neklyudov.
  6654. - Socket dup: Do not call sockfd_socket() twice. From Juha Niskanen.
  6655. * Common Drivers:
  6656. - max11802 touchscreen: Fix possible unmatched IRQ restore (not
  6657. normally a problem, but could happen in certain configurations).
  6658. Noted by Juha Niskanen.
  6659. - MMCSD SPI Multi-block transfers: ACMD23 must be preceded with CMD55
  6660. command as any other ACMD commands. Also, after the block reading
  6661. wait loop must be inserted before writing the next block of data to
  6662. the sd card. From Dmitry Nikolaev via Jussi Kivilinna.
  6663. - MMCSD SDIO: Fix some bad logic when file system debug is turned on:
  6664. Arguments to syslog were missing so that garbage was being printed.
  6665. - Common upper-half serial driver: Report correct number of bytes free
  6666. in serial buffer with FIONWRITE. From Sami Pelkonen via Jussi Kivilinna.
  6667. - Pipes/Fifos: Fix zero-lenth writes to pipes/FIFOs. From Jussi Kivilinna.
  6668. - USB device MSC: Add NULL pointer check. From Juha Niskanen.
  6669. - BCH driver: Avoid NULL pointer dereference when bch->refs == 255.
  6670. From Juha Niskanen.
  6671. - Various drivers: The inode unlink method should not be support if
  6672. operations on the root pseudo-filesystem are disabled.
  6673. * ARMv7-M
  6674. - ARMv7M MPU: Bad syntax in ARMv7-M MPU logic would cause failure to
  6675. write the correct value to the MPU_RASR register. From Juha Niskanen.
  6676. * Atmel SAM3/4 Drivers:
  6677. - SAM3/4 Serial TERMIOS: A side-effect of changing serial settings
  6678. via TERMIOS (such as tcsetattr) is that serial interrupts were being
  6679. left disabled. This is not a problem if the serial configuration is
  6680. changed when there are no open references to the serial device. In
  6681. that case, serial interrupts are disabled and will not be enabled
  6682. enabled until the serial device is first opened. But it is fatal if
  6683. the serial device is already opened and if there is a task waiting
  6684. to receive data. In that case, the side-effect of disabling
  6685. interrupts is fatal: That task is then left hanging with interrupts
  6686. disabled.
  6687. - SAM3/4 Serial: The IMR register is read-only. This means that
  6688. sam_restoreints() did not actually re-enable UART interrupts
  6689. (Fortunately, that function was not being used up to this point).
  6690. - SAMA5 HSMCI: Fix a bug in SAMA5 HSMCI. The bitfield mask and shift
  6691. values were reversed resulting in a trashed value for the number of
  6692. blocks in the BLOCKR register. This was sufficient to prevent DMA
  6693. writes from working.
  6694. * Atmel SAMA5 Drivers:
  6695. - SAMA5 Timer/Counter: Fix typos in timer/counter header file. From
  6696. Bob Doiron.
  6697. * STMicro STM32 Drivers:
  6698. - STM32 PWR and RTC: Changes to support fully write protecting the
  6699. backup domain. N.B. stm32_pwr_enablebkp did not account for the delay
  6700. from enable to the domain being writable. The KISS solution is a
  6701. up_udelay. A more complex solution would be a negated write test
  6702. with restore. From David Sidrane.
  6703. - STM32 SPI: Add missing SPI callback functions to the STM32 SPI
  6704. driver. From Freddie Chopin.
  6705. - STM32 I2C: Add missing NULL check. From Juha Niskanen.
  6706. - STM32 USB device: Fix stale initialization invalidating later NULL
  6707. check. From Juha Niskanen.
  6708. - STM32 UART: Fix RX DMA setup for UART5. From Jussi Kivilinna.
  6709. - STM32 UART: Make input hardware flow-control work with RX DMA. From
  6710. Jussi Kivilinna.
  6711. - STM32 RTC and clock control: The STM32F4Discovery board doesn't
  6712. come with a Low speed external oscillator so the default LSE source
  6713. for the RTC doesn't work. In stm32_rtcc.c the up_rtc_initialize()
  6714. logic doesn't work with the LSI. The check on RTC_MAGIC on the BK0R
  6715. register lead to rtc_setup() call that rightfully enables the LSI
  6716. clock; but the next times, when the rtc is already setup, the
  6717. rtc_resume() call does NOT start the LSI clock! The right place to
  6718. put LSE/LSI initialisation is inside stm32_stdclockconfig() in
  6719. stm32fxxxxx_rcc.c. Doing this I checked the possible uses of the
  6720. LSI and the LSE sources: the LSI can be used for RTC and/or the
  6721. IWDG, while the LSE only for the RTC (and to output the MCO1 pin).
  6722. This change is not verifed for any other platforms. From Leo
  6723. Aloe3132
  6724. * Tiva Drivers:
  6725. - Tiva GPIO driver needed small fixes in the configuration routines and
  6726. discovered false-positive bugs in interrupt testing: interrupts are
  6727. now verified to actually be working reliably. From Calvin Maguranis .
  6728. * MIPS32:
  6729. - mips32/Toolchain.mk: Current Pinguino toolchain uses the prefix p32-
  6730. instead of mips-.
  6731. * C Library/Header Files:
  6732. - sigaddset() and sigdelset(): Need to set errno if a bad signal
  6733. number is received.
  6734. - sfrtime(): Missing implementation of %C in sfrtime() C (was being
  6735. treated as %y). From Freddie Chopin.
  6736. - pthread.h: Fix PTHREAD_COND_INITIALIZER.
  6737. - ungetc.c: Fix NULL pointer dereference in ungetc() if 'stream' was
  6738. NULL, 'stream->fs_oflags' was evaluated. From Juha Niskanen.
  6739. - Fixes to asinh(), atanh(), and sinh(): The 'basic' expansions all
  6740. exhibited bad cancellation errors near zero (<= 1E-10). This can be
  6741. easily seen e.g. with x = 1E-30, the results are all zero though they
  6742. should be extremely close to x. The cutoff values (1E-5, 1E-9) are
  6743. chosen so that the next term in the Taylor series is negligible (for
  6744. double). Functions could maybe be optimized to use only first term (x)
  6745. and a smaller cutoff, just bigger than where the cancellation occurs
  6746. - localtime(): Inconsistent configuration name: CONFIG_LIBC_TZDIR vs
  6747. CONFIG_LIBC_TZ_TZDIR. Former wins.
  6748. * Applications:
  6749. - Modbus: Fix some compile problems when TCP is enabled.
  6750. NuttX-7.10
  6751. ----------
  6752. The 110th release of NuttX, Version 7.10, was made on June 9, 2015,
  6753. and is available for download from the SourceForge website. Note
  6754. that release consists of two tarballs: nuttx-7.10.tar.gz and
  6755. apps-7.10.tar.gz. Both may be needed (see the top-level nuttx/README.txt
  6756. file for build information).
  6757. Additional new features and extended functionality:
  6758. * Binary Loader:
  6759. - ARMv-7M, binfmt/, STM32: Add support uClibc++ exceptions. This
  6760. involved additional handling for relative relation types, additional
  6761. support for unwinding, as well as additional changes. The
  6762. culmination of a big effort from Leo Aloe3132.
  6763. * Graphics/Graphic Drivers:
  6764. - RA8875 LCD driver contributed by Marten Svanfeldt.
  6765. * File Systems/Block Drivers/MTD:
  6766. - Union File System: Add support for a union file system that can be
  6767. used to overlay and merge the content of two mounted file systems.
  6768. * USB Host:
  6769. - USB Hub Support: Bring in USB hub-related files from
  6770. https://github.com/kaushalparikh/nuttx. This is the work of Kaushal
  6771. Parikh. This is quite a bit more hub logic was needed in before the
  6772. USB hub support was fully functional. This involved changing many
  6773. USB host controller driver interfaces and modifications to many
  6774. drivers.
  6775. - USB host CDC/ACM class driver: Added initial implementation of a
  6776. host-side CDC/ACM driver. Initial version was a great learning
  6777. experience, but probably should be partially redesigned (as
  6778. discussed in the top-level TODO file).
  6779. - IPv6 Routing: Complete implementation of the IPv6 routing logic.
  6780. From Max Neklyudov.
  6781. * Networking:
  6782. - Local Sockets: Add poll support for Unix stream sockets. From Jussi
  6783. Kivilinna.
  6784. - net/: ARP, ICMP, ICMPv6, PKT, TCP, and UDP now all receive event
  6785. notifications from both network device packet processing, but now
  6786. also from Device-specific events such as when the network goes down.
  6787. The device notification callback structure is now supports dual
  6788. linkages so that the client can receive notifications from both
  6789. source; The device structure now includes a list of clients that
  6790. want to receive device related notifications. This prevents network
  6791. actions from hanging when the device goes down and will be an
  6792. essential part of future support for removable network devices.
  6793. Some of the core logic was contributed by Max Neklyudov.
  6794. - TUN: Misc. improvements to the TUN driver, mostly related to poll().
  6795. Also several bugfixes. From Max Neklyudov.
  6796. * Simulation Platform:
  6797. - Simulator: Add logic to test localtime and TZ database. See
  6798. apps/system/README.txt for info.
  6799. - Simulation: Add a configuration for testing the Union File System.
  6800. * Calypso:
  6801. - Calypso Compal-E86: Updates for execution out of FLASH on the C139
  6802. phone. From Craig Comstock.
  6803. * Atmel SAMD/L:
  6804. - SAML21 Support: And chip definitions, configuration framework,
  6805. memory map and pin configuration files for SAML21 support.
  6806. * Atmel SAMD/L Boards:
  6807. - SAML21-Xplained: Add a board support for the SAML21 Xplained Pro.
  6808. This is based on the similar SAMD20 Xplained Pro board.
  6809. * Freescale/NXP KL:
  6810. - KL25Z64: Added support for the KL25Z64. The KL25Z64 is a lower
  6811. memory variant of the KL25Z128 and is used on the Teensy LC. From
  6812. Michael as SourceForge patch 50.
  6813. * Freescale/NXP KL Boards:
  6814. - Teensy-LC: Add board support for the Teensy LC board. Support is
  6815. based off the Freedom KL25Z board. LED, PWM, and UART0 have been
  6816. tested. The SPI pins are mapped correctly but have not yet been
  6817. tested. From Michael Hope as SourceForge patch 51.
  6818. * NXP LPC111x:
  6819. - LPC111x: Support for the LPC11xx family (the LPC1115 MCU in
  6820. particular). Contributed by Alan Carvalho de Assis.
  6821. * NXP LPC111x Boards:
  6822. - LPCXpresso LPC1115: Support for the LPCXpression LPC1115
  6823. board. Contributed by Alan Carvalho de Assis.
  6824. * NXP LPC17xx Drivers:
  6825. - LPC17xx Ethernet: Add support for the Micrel KSZ8041 PHY to the
  6826. LPC17xx Ethernet driver.
  6827. * NXP LPC17xx Boards:
  6828. - Lincoln60: Add a network enabled configuration for the Lincoln60
  6829. board.
  6830. * Atmel SAM3/4 Drivers:
  6831. - SAM4CM: Add support for optical mode for the SAM4CM UART1. From
  6832. Max Neklyudov.
  6833. * Freescale (NXP) Kinetis:
  6834. - Kinetis K20: Basic support for the Kinetis K20 architecture. Taken
  6835. from PX4. This is the work of Jakob Odersky.
  6836. * Atmel SAMV7 Boards:
  6837. - SAMV71-Xplained w/maXTouch Xplained Pro: A TWIHS fix was the last
  6838. barrier to getting the touchscreen working in the maXTouch Xplained
  6839. Pro LCD. Added the NxWM integrated graphics demonstration
  6840. configuration.
  6841. * STMicro STM32:
  6842. - STM32: Added support for STM32F302K8 and STM32F302K6. From Ben Dyer
  6843. via PX4/David Sidrane.
  6844. - STM32F205RG: Add basic support for the STM32F205RG. From SourceForge
  6845. Ticket 40 (anonymous, 2015-05-31).
  6846. - STM32 F3: Add DBGMCU register definitions for the F3 family. From
  6847. Greg Meiste.
  6848. * STMicro STM32 Drivers:
  6849. - STM32 LCDC: Defined a second interface for the dma2d controller.
  6850. LTDC only controls the display visibility but the DMA2D controller
  6851. changes the content of the frame buffer (buffer of the layer). From
  6852. Marco Krahl.
  6853. - STM32 PVD: Added support for STM32's Programmable Voltage Detector
  6854. (PVD) feature. By Dmitry Nikolaev, submitted by Juha Niskanen.
  6855. * STMicro STM32 Boards:
  6856. - STM32F429i-Disco: Add support for the new DMA2D features to the LTDC
  6857. configuration. From Marco Krahl.
  6858. * TI Tiva Boards:
  6859. - TM4C1294 Launchpad: Added TM4C1294NCPDT EN0_LED2 (10/100-Base-Tx);
  6860. removed all booster pack pin definitions. From Frank Sautter.
  6861. * C Library/Header Files:
  6862. - libc: Add an option to disable support for long long formats in
  6863. lib_vsprintf(). On very tiny platforms, this reduces the footprint
  6864. by omitting large libgcc.a libraries to perform the 64-bit
  6865. arithmetic operations. From Alan Carvalho de Assis.
  6866. * Applications: apps/system:
  6867. - nuttx/zoneinfo: Add logic to build a ROMFS file system
  6868. containing the timezone data.
  6869. * Applications: apps/nshlib:
  6870. - Add poll support for Unix stream sockets. From Jussi Kivilinna.
  6871. - Enhancements to NSH ifconfig for case of multi-link operation, TUN
  6872. device and local connections. From Max Neklyudov.
  6873. - Enhanced output to NSH ping command from Max Neklyudov.
  6874. - The NSH mount command now recognizes the Union filesystem type when
  6875. listing mounted file systems.
  6876. * Applications: apps/netutils:
  6877. - apps/netutils/thttpd/ and apps/examples/thttpd/: Add support for
  6878. using binfs/ with the Union FS instead of NXFLAT. NXFLAT is
  6879. probably the better solution but recently compiler changes make it
  6880. unusable. binfs or ELF are fallback binary formats. This commit
  6881. adds an option to use binfs with the Union FS.
  6882. * Applications: apps/examples:
  6883. - Modify/simpify apps/examples build files. From Roman Saveljev.
  6884. - apps/examples/ltdc: Add testing support for the STM32 LTDC's 2D DMA.
  6885. From Marco Krahl.
  6886. - apps/examples/ostest: Add a test of nested signals. There are no
  6887. failures to handle signals but neither am I getting any nested signal
  6888. handling.
  6889. - apps/examples/elf: Add configuration options to support building the
  6890. hello++4 example that depends upon having uClibc++ available. Also
  6891. add hello++5 to the ELF example From Leo aloe3132.
  6892. - apps/examples/unionfs: Add a test of the union file system to
  6893. apps/examples.
  6894. Efforts In Progress. The following are features that are partially
  6895. implemented but present in this release. They are not likely to be
  6896. completed soon.
  6897. * Processes. Much of the work in this release is focused on the
  6898. realization of Unix-style user processes in NuttX. There is more to
  6899. be done, however. The full roadmap and status is available at:
  6900. http://www.nuttx.org/doku.php?id=wiki:nxinternal:memconfigs#the_roadmap_toward_processes
  6901. * XMega: There are some fragments in place for an XMega port. That
  6902. port has not really started, however.
  6903. Bugfixes. Only the most critical bugfixes are listed here (see the
  6904. ChangeLog for the complete list of bugfixes and for additional, more
  6905. detailed bugfix information):
  6906. * Core OS:
  6907. - boardctl(): Add missing case causing that caused failures of PWM
  6908. test.
  6909. - pthread_kill(): Re-implemented pthread_kill(). It was just a simple
  6910. wrapper around kill() but since the correct dispatching of signals
  6911. for multi-threaded task groups has been implemented, calling kill()
  6912. does not do what pthread_kill() is supposed to do. The corrected
  6913. implementation of pthread_kill() will direct the signal specifically
  6914. to the specific pthread and no other.
  6915. - uint32_t callbacks: Update the type passed to watchdog timer
  6916. handlers. Using uint32_t is a problem for 64-bit machines because
  6917. it it too small to pass a pointer. uintptr_t is a more appropriate
  6918. type.
  6919. - mq_timedreceive(): move the location where the errno value is set;
  6920. the ETIMEDOUT errno setting was being overwritten by subsequent
  6921. actions before returning. Noted by Freddie Chopin.
  6922. - POSIX message queues: Move mq_setattr() and mq_getattr() from
  6923. nuttx/libc/mqueue to nuttx/sched/mqueue. Also add syscall support
  6924. for mq_setattr() and mq_getattr(). This is necessary in protected
  6925. and kernel builds because in those cases the message queue
  6926. structure is protected and cannot be accessed directly from user
  6927. mode code.
  6928. * File Systems/Block Drivers/MTD:
  6929. - MTD: Increase the size of the fields in the geometry structure
  6930. (again) to support larger FLASH sizes. Needed by Sebastien Lorquet.
  6931. * Common Drivers:
  6932. - poll(): Fix resource leak and memory corruption on poll failure.
  6933. From Jussi Kivilinna.
  6934. * USB Host:
  6935. - LPC31xx and SAMA5Dx EHCI: Fix cache related problem in LPC31 and
  6936. SAMA5Dx EHCI drivers. All buffers are now aligned with the cache
  6937. line size in both starting address and in length. This cause major
  6938. problems in unlucky builds where the USB host buffers where
  6939. unaligned and abutting other data. The cache flush and invalidate
  6940. operations could be subverted by accesses to adjacent data or could
  6941. have unexpected side effects. This bug has been in the ECHI drivers
  6942. forever, but was only revealed due to unlucky memory allocations
  6943. during the integration of the hub feature.
  6944. * USB Device:
  6945. - All USB device class drivers: There needs to be a check to make
  6946. sure that the size of a returned string does not exceed the size of
  6947. the allocated request buffer. Strings such as vendor names or
  6948. product names will be truncated to fit in the request buffer.
  6949. * Networking:
  6950. - TCP: Correct failures in long Telnet sessions by increasing th
  6951. size of the number of bytes sent from uint16_t to uint32_t. This
  6952. avoids an integer overflow that causes a long Telnet session to be
  6953. closed unexpectedly. From Rony XLN.
  6954. - Network locks: Correct some network lock logic: Two error
  6955. conditions where the network was not being unlocked and one where it
  6956. was getting unlocked twice. From Jussi Kivilinna.
  6957. - Local Sockets: Local stream sockets had problem of double releasing
  6958. pipes (both server and client attempt release), which causes wrong
  6959. pipe pair being closed in multi-client case. Solve by adding per
  6960. connection instance ID to pipe names. From Jussi Kivilinna.
  6961. - TCP: Fix an important TCP networking bug: 16-bit flags was being
  6962. converted to 8-bits in a few locations, causing loss of status
  6963. indications.
  6964. - TCP: net_startmonitor() always returned OK. In the race case
  6965. where a socket has already been closed, it correctly handled the
  6966. disconnection event but still returned OK. Returning OK caused the
  6967. callers of net_startmonitor() to assume that the connection was
  6968. okay, undoing the good things that net_startmonitor() did and
  6969. causing the socket to be incorrectly marked as connected. This
  6970. behavior was noted by Pelle Windestam.
  6971. - setsockopt() failed when setting timeouts to values less tha 100
  6972. msec. That is because the timeout is limited to stops of 1
  6973. decisecond and because the conversion of structure timeval was
  6974. truncating the microsecond remainder. The utility
  6975. net_timeval2dsec() now accepts and option to determine how it
  6976. handles the remainder: truncate, discarding the remainder, use
  6977. the remainder to round to the closed decisecond value, or use any
  6978. non-zero remainder to the next larger whole decisecond value. Bug
  6979. discovered by Librae.
  6980. - TCP: In the TCP connection operation, it was trying to setup the
  6981. network monitor BEFORE the socket was successfully connected. This,
  6982. of course, has ALWAYS failed because the socket is not yet connected
  6983. and the TCP state is not yet correct for a connected socket. However,
  6984. because of other changes net_startmonitor() now returns a failure
  6985. condition that causes worse problems when trying to connect. The fix
  6986. is to move the logic that starts the network monitor to AFTER the
  6987. socket has been successfully connected.
  6988. * Atmel SAM3/4 Drivers:
  6989. - SAM4CM and SAMA5D Free-running timer: Logic that samples the free
  6990. running counter reads the pending interrupt status register and can
  6991. cause interrupts to be lost. So, if when the status register is
  6992. read, the logic must also handle the timer overflow event. Found
  6993. and fixed by Max Neklyudov.
  6994. * Atmel SAMA5 Drivers:
  6995. - SAM3/4 Serial: When reconfigured, serial does not receive bytes
  6996. from UART. This happens because RX interrupt was disabled in the
  6997. setup routine. Fixed this I save interrupt configuration before
  6998. UART shutdown and restore it after. From Max Neklyudov.
  6999. * NXP LPC17xx Drivers:
  7000. - LPC176x GPIO: Reorder steps when an output GPIO is configured in
  7001. order to avoid transient bad values from being output. From Hal
  7002. Glenn.
  7003. - LPC17 USB OHCI: Correct some initialization of data structures.
  7004. When hub support is enabled, it would overwrite the end of an array
  7005. and clobber some OS data structures.
  7006. - LPC17xx Ethernet: Review, update, and modify the Ethernet driver so
  7007. that it works better with CONFIG_NET_NOINTS=y. Also, update all
  7008. LPC17xx networking configurations so that they have
  7009. CONFIG_NET_NOTINTS=y selected.
  7010. * SiLabs EMF32 Drivers:
  7011. - EFM32 SPI: Add missing SPI GPIO pin initialization. From Pierre-noel
  7012. Bouteville.
  7013. * STMicro STM32:
  7014. - STM32 F3: Added missing EXTI definitions for the STM32 F3; Correct
  7015. an error the port D base address in the STM32 F30x and F37x memory
  7016. maps. From Greg Meiste.
  7017. * STMicro STM32 Drivers:
  7018. - STM23 RTC: Fix an error introduced into stm32_pwr_enablebkp().
  7019. That function must preserve the previous state of backup domain
  7020. access on return.
  7021. - STM32 RTC counter: Now need to enable backup domain write access
  7022. when setting the time. From Darcy Gong.
  7023. - STM32 OTG FS and HS: Added protection in the event that out-of-bound
  7024. endpoint numbers are received. From David Sidrane.
  7025. * STMicro STM32 Boards:
  7026. - STM32F429i Disco: (1) Fix a bad return value if the LCD driver is
  7027. already initialized. (2) The LCD driver initialization is now
  7028. performed during the early boot sequence. (3) Increased the size
  7029. of the message queue from 32 to 64 in the lcd configuration. From
  7030. Marco Krahl.
  7031. * TI Tiva
  7032. - Fixes for Tiva TM4C1294NCPDT. From Frank Sautter.
  7033. * Atmel SAMV71 Drivers:
  7034. - SAMV7 TWIHS: Fix SAMV TWIHS logic that performs multi-message
  7035. transfers with and without repeated starts.
  7036. * Atmel SAMA5D3/4 Dirvers:
  7037. - SAMA5 CAN: Fix SAMA5 CAN frame construction. From Max Holtzberg.
  7038. * C Library/Header Files:
  7039. - stdlib.h: MAX_RAND should be RAND_MAX.
  7040. - assert.h: Wrap definitions of assertion macros in do while so that
  7041. they are valid C statements. Numerous places throughout the code
  7042. where semicolons were missing at the end of an assertion also had to
  7043. be fixed. Suggested by orbitalfox.
  7044. - inetntoa(): Correct errors in printing IP address when type char is
  7045. signed and the value is >= 128. From Max Neklyudov.
  7046. * Tools:
  7047. - Tools: Fix test for the existence of the apps/ directory in
  7048. configure.c. Fix backward interpretation of options, -l was selecting
  7049. Windows and -w was selecting Linux. This was SourceForege Ticket #39.
  7050. * Applications: apps/nshlib:
  7051. - apps/nshlib/nsh_timcmds.c: Check return values from time functions.
  7052. - apps/nshlib/: Fix handling of gmtime_r return value in time commands.
  7053. gmtime_r returns a pointer, not an int.
  7054. * Applications: apps/netutils:
  7055. - apps/netutils/ntp: Fix mismatched sched_lock/unlock. Noted by Juha
  7056. Niskanen.
  7057. * Applications: apps/examples:
  7058. - apps/examples/nxlines: Fix missing right bracket that causes
  7059. compile error when CONFIG_NX_XYINPUT=y. From Librae.
  7060. - apps/examples: When boardctl() fails, need to print errno not the
  7061. returned value which will always be -1.
  7062. - apps/examples: Correct use of the BOARDIOC_GRAPHICS_SETUP boardctl()
  7063. call.
  7064. NuttX-7.11 Release Notes
  7065. ------------------------
  7066. The 111th release of NuttX, Version 7.11, was made on August 13 2015,
  7067. and is available for download from the Bitbucket.org website. Note
  7068. that release consists of two tarballs: nuttx-7.11.tar.gz and
  7069. apps-7.11.tar.gz. These are available from:
  7070. https://bitbucket.org/patacongo/nuttx/downloads
  7071. https://bitbucket.org/nuttx/apps/downloads
  7072. Both may be needed (see the top-level nuttx/README.txt file for build
  7073. information).
  7074. Additional new features and extended functionality:
  7075. * Core OS:
  7076. - clock_gettime(): Use up_timer_gettime for CLOCK_MONOTONIC in
  7077. tickless mode. From Max Neklyudov.
  7078. - waitpid(): Implement WNOHANG for waitpid() only and for the case of
  7079. CONFIG_SCHED_HAVE_PARENT not selected. From Max Neklyudov.
  7080. - SCHED_SPORADIC: Add a sporadic scheduler to NuttX.
  7081. - Extend the processor-specific interface to include information to
  7082. support the Sporadic Scheduler.
  7083. - sem_tickwait(): Added this function for internal use within the OS.
  7084. It is a non-standard but more efficient version of sem_timedwait()
  7085. for use in higher performance device drivers.
  7086. * Binary Loader:
  7087. * Graphics/Graphic Drivers:
  7088. - Graphics: Implement anti-aliasing in order to clean the drawing of
  7089. all edges. Anti-aliasing is supported in the horizontal, raster
  7090. direction only.
  7091. - SSD1306 LCD Driver: Modify the SSD1306 LCD driver to support either
  7092. the SPI or I2C interface. From Alan Carvalho de Assis.
  7093. * File Systems/Block Drivers/MTD:
  7094. - mount: Add the ability to mount a file system on top of en existing
  7095. node in the psuedo-file system.
  7096. - epoll(): Add a very simple epoll layer just around poll calls. To
  7097. satisfy build app requirements. From Anton D. Kachalov.
  7098. * Common Device Drivers:
  7099. - IOCTL: Add relay IOCTL definitions. From Max Neklyudov.
  7100. - I/O Expander Framework: Add an I/O expander driver framework. From
  7101. Sebastien Lorquet
  7102. - NXP PCA9555 I/O Explander. Add PCA9555 driver.From Sebastien
  7103. Lorquet
  7104. - BMP180 Barameter: Add support to Bosch BMP180 barometer. From
  7105. Alan Carvalho de Assis.
  7106. - CAN IOCTLs: Add CAN IOCTL command definitions to manage CAN message
  7107. filtering
  7108. - CAN Driver: Add configuration to support DLC to byte conversions
  7109. needed for CAN FD mode.
  7110. - SPI Slave Interface: Add a definition of an SPI slave interface.
  7111. - LM92 Temperature Sensor: Add a driver for the LM92 temperature
  7112. sensor. Contributed by Paul Alexander Patience.
  7113. - AS5048B Rotary Magnetic Sensor: Add support for an AS5048B rotary
  7114. magnetic sensor. From Paul Alexander Patience.
  7115. - Ramtron Driver: Update to include supportf for newer RAMTRON parts.
  7116. From David Sidrane.
  7117. - MB7040 Sonar Driver: Add support for a MB7040 sonar driver. From
  7118. Paul Alexander Patience.
  7119. - ms5805 Altimeter Driver: Add support for an MS5805 altimeter. From
  7120. Paul Alexander Patience.
  7121. * Networking:
  7122. - DNS Client: Implement the low-level network DNS packet protocol to
  7123. request and receive IPv6 address mappings.
  7124. - NetDB: Add support for a DNS host name resolution cache. This can
  7125. save a lot of DNS name server lookups (but might also have the
  7126. negative consequence of using stale IP address mappings.
  7127. - NetDB: Name resolution logic now supports lookups from a file like
  7128. /etc/hosts.
  7129. - Network Initialization: Add CONFIG_NETDEV_LATEINIT that can be
  7130. used to suppress calls to up_netinitialize() from early in
  7131. initialization.
  7132. - FTMAC100 Ethernet MAC Driver. Add support for Faraday FTMCA100
  7133. Ethernet MAC/ From Anton D. Kachalov.
  7134. - UDP Networking: Add support for send() for connected UDP sockets.
  7135. * Crypto:
  7136. - Add CFB and MAC AES modes. From Max Neklyudov.
  7137. * Simulation Platform:
  7138. - Simulation: Implement board_power_off() for the simulation platform.
  7139. This allows for a graceful exit from the simulation.
  7140. * MoxaRT:
  7141. - MoxaRT SoC: Add support for MoxaRT SoC found in the most Moxa serial
  7142. converters such as NP51x0, NP66xx, UC72xx. From Anton D. Kachalov.
  7143. * MoxaRT Boards:
  7144. - Moxa NP51x0: Moxa NP51x0 series of 2-port advanced RS-232/422/485
  7145. serial device servers. From Anton D. Kachalov.
  7146. * ARMv6-M:
  7147. - ARMv6-M Assertions: Port some per-process stack dumping logic from
  7148. ARMv7-M to ARMv6-M. From Alan Carvalho de Assis.
  7149. * Atmel SAMD/L Boards:
  7150. - SAML21: DMA: Add SAML21 DMA support.
  7151. - SAMD21: Add architecture support for the SAMD21 family.
  7152. - SAMD21-Xplained: Board configuration for the SAMD21 Xplained board.
  7153. * Atmel SAM3/4 Drivers:
  7154. - SAM4E: Add default loop optimization if EEFC_FMR is available in the
  7155. configuration (i.e., for SAM4S and 4E). From Marco Aurélio da Cruz.
  7156. - crypto/ and SAM4CM: Add CFB and MAC AES modes. From Max Neklyudov.
  7157. - SAM3/4: Add a TWI driver for the SAM4CM. From Max Neklyudov.
  7158. * Freescale (NXP) Kinetis:
  7159. - Kinetis: Add support for MK20DN--VLH5 and MK20DX---VLH5. Needed
  7160. for backward compatible support for Teensy-3.0.
  7161. * Freescale (NXP) Kinetis Boards:
  7162. - Teensy 3.x: Add board support for the PJRC Teensy-3.0 and
  7163. Teensy-3.1 boards.
  7164. * Atmel SAMV7 Drivers:
  7165. - SAMV7: Add an MCAN driver for the SAMV7 platform.
  7166. - SAMV7 SPI Slave Driver: Add the an SPI slave driver.
  7167. * STMicro STM32:
  7168. - STMicro STM32 F7: Add architecture support for the STMicro STM32
  7169. F7.
  7170. - STM32 F446: Add support for the STMicro STM32 F446. From David
  7171. Sidrane.
  7172. * STMicro STM32 Drivers:
  7173. - STM32 F7: Add an STM32 F7 Ethernet driver.
  7174. - STM32 F7: Port the STM32 F4 DMA driver.
  7175. - STM32 F4 ADC: Add DMA support to the ADC driver for STM32 F4. From
  7176. Max Kriegler.
  7177. * STMicro STM32 Boards:
  7178. - STM32F762G-Disco: Add support for the STMicro STM32 F7 Discovery
  7179. board.
  7180. - STM32F4-Disco: Add support to BMP180 driver on the STM32F4 Discovery.
  7181. From Alan Carvalho de Assis.
  7182. * C Library/Header Files:
  7183. - Add asctime(), asctime_r(), ctime(), and ctime_r().
  7184. - sethostname(): Add support for sethostname().
  7185. - gethostbyname() and gethostbyaddr(): Add support for
  7186. gethostbyname() and gethostbyaddr(). Also support included for the
  7187. non-standard gethostbyname_r() and gethostbyaddr_r(). This moves
  7188. the DNS client logic from apps/ into the NuttX libc implementation.
  7189. * Tools:
  7190. - testbuild.sh: Add a script that can be used to perform building
  7191. testing for several board configurations.
  7192. * Build/Configuration System:
  7193. - apps/ Build System: No longer depends on hardcoded lists of
  7194. directories. Instead, it does a wildcard search to find all
  7195. appropriate directories. This means that to install a new
  7196. application, you simply have to copy the directory (or link it) into
  7197. the apps/ directory. If the new directory includes a Makefile and
  7198. Make.defs file, then it will automatically be included in the build.
  7199. - mkkonfig.sh: Add the tool mkkconfig.sh that dynamically builds the
  7200. apps/Kconfig file at configuration time. The hardcoded
  7201. configuration file has been removed and now the top-level Makefile
  7202. executes tools/mkkconfig.sh to auto-generate the top-level Kconfig
  7203. file. A new apps/ make target call preconfig: was added to support
  7204. this operation. Now you do not have to modify the top-level Kconfig
  7205. file to add a new directory into the configuration; the top-level
  7206. subdirectory simply needs to include a Kconfig file and it will
  7207. automatically be included in the configuration. The native Windows
  7208. build is temporarily broken until a new apps/tools/mkconfig.bat
  7209. script is generated.
  7210. - mkkconfig.bat: Add the Windows script corresponding to
  7211. apps/tools/mkkconfig.sh. Needed for a Windows native build.
  7212. * Applications: apps/nshlib:
  7213. - NSH shutdown command: NSH will now support an (optional) shutdown
  7214. command if the board provides the option CONFIG_BOARDCTL_POWEROFF.
  7215. The command can also be used to reset the system if
  7216. CONFIG_BOARDCTL_RESET=y.
  7217. - NSH uname command: Add support for a uname command.
  7218. - NSH nslookup command: Add an nslookup command.
  7219. * Applications: apps/system:
  7220. - NetDB: Add a system command to access the network database.
  7221. - readline(): Add support for Unix-style tab complete to readline.
  7222. Contributed by Nghia Ho.
  7223. - readline(): Extended the tab-completion support to also expand NSH
  7224. command names.
  7225. - readline(): Add support for an in-memory command line history that
  7226. can be retrieved using the up and down arrows. Contributed by Nghia
  7227. Ho.
  7228. * Applications: apps/netutils:
  7229. - DNS client: Moved the DNS client logic into the NuttX C library.
  7230. It is a necessary part for the full implementation of the netdb logic
  7231. and provides more flexibility in that location.
  7232. - Replace calls to the non-standard dns_gethotip() with calls to
  7233. standard gethostbyname().
  7234. - NetLib: Create netlib wrapper functions around dns_getserver() and
  7235. dns_setserver() to isolate application code from changes to those
  7236. interfaces.
  7237. * Applications: apps/examples:
  7238. - OS test: Extend the OS test to include a test of
  7239. pthread_mutex_trylock() for recursive mutexes. From Juha Niskanen.
  7240. - OS test: Add a test for the sporadic scheduler.
  7241. Bugfixes. Only the most critical bugfixes are listed here (see the
  7242. ChangeLog for the complete list of bugfixes and for additional, more
  7243. detailed bugfix information):
  7244. * Core OS:
  7245. - pthreads: Use -1 instead of 0 as PID for unclaimed mutexes. From
  7246. Juha Niskanen.
  7247. - pthreads: Implement pthread_mutex_trylock() for recursive mutexes.
  7248. From Juha Niskanen.
  7249. - pthread_create(): Group binding needs to be cleared before
  7250. sched_releasetcb(), as otherwise group_leave() will be called and
  7251. group->tg_nmembers decremented or group being released. group_leave()
  7252. should be called only after group_join() is called, not after
  7253. group_bind(). From Jussi Kivilinna.
  7254. - Protected Mode User Memory Allocator: Redesigned how the user space
  7255. heap is accessed from the kernel code in protected mode. It used to
  7256. call memory management functions in user space via function pointers
  7257. in the userspace interface. That is inefficient because the first
  7258. thing that those memory management functions do is to trap back into
  7259. the kernel to get the current PID. Worse, that operation can be
  7260. fatal is certain fragile situations such as when a task is exiting.
  7261. The solution is to remove all of the memory management function
  7262. calls from the interface. Instead, the interface exports the users
  7263. pace heap structure and then kernel size implementations of those
  7264. memory management functions will operate on the userspace heap
  7265. structure. This avoids the unnecessary system calls and, more
  7266. importantly, failures do to freeing memory when a test exits.
  7267. - pthread_create(): Fix an (unlikely) error in fallback value in the
  7268. event of a failure (which should never occur).
  7269. * Common Drivers:
  7270. - STMPE811 Driver: In stmpe811_instanciate() when
  7271. CONFIG_STMPE811_MULTIPLE is enabled, and the call to
  7272. stmpe811_checkid() fails, then the linked device list is not
  7273. restored to its previous state. From Sebastien Lorquet.
  7274. - CAN driver: Fix an issue in the CAN driver where the rx_sem count
  7275. can grow beyond bounds.
  7276. * File System/Block Drivers:
  7277. - NFS client: Fix prototype of unbind method. The function prototype
  7278. was not updated for NFS after a recent change to the file system
  7279. interface. From Manuel St??.
  7280. * Networking/Network Drivers:
  7281. - netconfig.h: Fix some backward compilation that was emitting #error
  7282. in the wrong condition when SLIP was enabled.
  7283. - SLIP Driver: Fix a missed name change when many of network
  7284. interface names changed sometime back but were apparently never
  7285. updated for SLIP.
  7286. - Networking: Allow receipt of empty UDP packets. From Max Neklyudov.
  7287. * ARMv6-M:
  7288. - ARMv6-M: Fix Cortex-M0 assembly error when the interrupt stack is
  7289. enabled. From Alan Carvalho de Assis.
  7290. * Atmel SAMD/L Drivers:
  7291. - SAMD20, D21, L21: In the SAML21, SERCOM5 uses a different SLOW clock
  7292. channel (and, hence, also a different SLOW GCLK generator). This
  7293. means that the channel selection cannot be a global definition but
  7294. must be a per SERCOM configuration setting.
  7295. - SAMD/L: Several fixes to register definitions and types. From
  7296. Janne Rosberg.
  7297. * Atmel SAM3/4 Drivers:
  7298. - SAM3/4 UART: Back out an error introduced with commit
  7299. 02c33f66c5a8be774034cd40e4125e9323c7b4d8. Causes an infinite loop in
  7300. up_lowputc(). From Max Neklyudov.
  7301. - SAM4CM: Fix SUPC register definitions. From Max Neklyudov.
  7302. - SAM3/4 WDT: Correct some problems with SAM3/4 watchdog driver.
  7303. Includes some small improvements. From Max Neklyudov.
  7304. * Atmel SAMV7 Drivers:
  7305. - SAMV7 UART: Also back the bad cloned change o sam_lowputc.c for
  7306. SAMV7 platform.
  7307. * NXP LPC43xx Drivers:
  7308. - LPC4350: Correct some LPC4350 GPIO pin configurations. From
  7309. Alessandro Temil.
  7310. * SiLabs EMF32 Drivers:
  7311. - EFM32 SPI: Correct write to incorrect register in EFM32 SPI driver.
  7312. From Pierre-noel Bouteville.
  7313. * STMicro STM32 Drivers:
  7314. - STM32 F15x: STM322 F15x stm32_stdclockconfig() was calling
  7315. stm32_pw_setvos() which accessed PWR_CR via an inactive APB From
  7316. Juha Niskaneni.
  7317. - STM32 Ethernet: Extend STM32 Ethernet operating frequency to 180MHz.
  7318. From Sebastien Lorquet.
  7319. * STMicro STM32 Boards:
  7320. - SAMV7 Xplained: In clock configuration, divider was set to 25 to get
  7321. 25*12MHz=300MHz CPU clock. The correct multiplier is 24 because the
  7322. calculation if (24+1)*12MHz. So the board was running at 312MHz.
  7323. From Efim Monjak.
  7324. * ARMv7-A:
  7325. - Cortex-A5 vfork(): Fix a Cortex-A compilation error when system
  7326. calls are enabled in modes other than CONFIG_BUILD_KERNEL.
  7327. * Atmel SAMA5 Drivers:
  7328. - SAMA5Dx EHCI: Fix some bad conditional compilation that left a
  7329. function undefined if CONFIG_USBHOST_ASYNCH is not selected.
  7330. * C Library/Header Files:
  7331. - getopt(): Uninitialized variable can cause hardfault from getopt()
  7332. if required argument is missing. From George McWilliams.
  7333. * Applications: apps/nshlib:
  7334. - NSH/THHPD: Change decoding to handle the increased size of the
  7335. scheduling policy field in the TCB.
  7336. * Applications: apps/netutils:
  7337. - THTTPD: Fix compilation problems when
  7338. CONFIG_THTTPD_GENERATE_INDICES is defined.
  7339. - THTTPD: Missing gci-src as a dependency path when building with
  7340. BINFS enabled.
  7341. * Applications: apps/examples:
  7342. - poll() example: Fix a few bit-rot compilation errors.
  7343. - Nx Lines example: If CONFIG_NX_ANTIALIASING=y, then the nxlines
  7344. example now erases a line that is 2 pixels longer and 2 pixels wider
  7345. than the line it drew. That eliminates edges effects due to
  7346. applying the anti-aliasing algorithm twice. A better solution
  7347. would be to make anti-aliasing an option for each graphics call so
  7348. you would rend the line with anti-aliasing ON and clear it with
  7349. anti-aliasing OFF. but I don't have the wherewithal for that change
  7350. today.
  7351. - OS test: Improve synchronization in round robin tests. On very fast
  7352. processors, there are race conditions that make the test fail.
  7353. Need better interlocking to assure that the threads actually do start
  7354. at the same time.
  7355. NuttX-7.12 Release Notes
  7356. ------------------------
  7357. The 112th release of NuttX, Version 7.12, was made on October 1, 2015,
  7358. and is available for download from the Bitbucket.org website. Note
  7359. that release consists of two tarballs: nuttx-7.12.tar.gz and
  7360. apps-7.12.tar.gz. These are available from:
  7361. https://bitbucket.org/patacongo/nuttx/downloads
  7362. https://bitbucket.org/nuttx/apps/downloads
  7363. Both may be needed (see the top-level nuttx/README.txt file for build
  7364. information).
  7365. Additional new features and extended functionality:
  7366. * Graphics/Graphic Drivers:
  7367. - Added SSD1351 OLED controller support. Contributed by Paul
  7368. Alexander Patience.
  7369. * Common Device Drivers:
  7370. - MS58xx: Generalize the MS5805 altimeter driver to support other
  7371. family members. From Paul Alexander Patience.
  7372. - CAN driver interface: Add an error indication bit to the CAN
  7373. message report.
  7374. - Developed a new interface for QSPI. Most QSPI hardware (such as the
  7375. SAMV71) used a programmed interface to access the QuadSPI FLASH.
  7376. That programmed interface is no compatible with the simpler NuttX
  7377. SPI data transfer interface.
  7378. - Added a driver for ST25L1*K QuadSPI parts.
  7379. - Renamed the battery driver interface to battery_gauge since it
  7380. really only implements a battery fuel gauge. From Alan Carvalho de
  7381. Assis.
  7382. - Added a new framework to support a batter charger interface. From
  7383. Alan Carvalho de Assis.
  7384. - Added a BQ24250 battery charger driver. From Alan Carvalho de Assis.
  7385. * Networking:
  7386. - Added support for the local loopback device (dev lo, hostname localhost).
  7387. - Added NetDB support for the local loopback device.
  7388. - Network initialization: Automatically initialize all the TUN and
  7389. loopback devices if they arein the configuration.
  7390. * Simulation Platform:
  7391. - The simulation now runs under Cygwin64. Modern Cygwin X86_64
  7392. machines follow the Microsoft ABI for parameter passing. The Linux
  7393. System 5 ABI would not work on X86_64-based Cygwin machines. Newer
  7394. Cygwin tool chains do nor pre-pend symbol names with the underscore
  7395. character.
  7396. * Atmel SAMA5Dx:
  7397. - Added architectural support for the Atmel SAMA5D2 parts. Not fully
  7398. verified in this NuttX release.
  7399. * Atmel SAMA5Dx Boards:
  7400. - Added support for the Atmel SAMA45D2 Xplained Ultra board. Not
  7401. fully verified in this NuttX release.
  7402. * Atmel SAMV7 Drivers:
  7403. - SAMV7 USBHS DCD: The device controller driver is (finally)
  7404. functional.
  7405. * NXP LPC17xx:
  7406. - Implement options to use external SDRAM and or SRAM for the heap.
  7407. From Pavel Pisa.
  7408. * NXP LPC43x:
  7409. - Added architectural support for the LPC4370. From Lok Tep.
  7410. * NXP LPC43xx Drivers:
  7411. - Added Ethernet support. From Ilya Averyanov.
  7412. - Added LPC43xx EHCI driver from Ilya Averyanov.
  7413. * NXP LPC43xx Drivers:
  7414. - Added support for the NXP LPC4370-Link2 development board from Lok
  7415. Tep.
  7416. * STMicro STM32:
  7417. - Added architectural for STM32F303K6, STM32F303K8, STM32F303C6,
  7418. STM32F303C8, STM32F303RD, and STM32F303RE devices. From Paul
  7419. Alexander Patience.
  7420. * STMicro STM32 Drivers:
  7421. - Added OTG support for STM32F44x. From David Sidrane.
  7422. * STMicro STM32 Boards:
  7423. - Added support for the STMicro Nucleo F303ERE board from Paul
  7424. Alexander Patience.
  7425. * C Library/Header Files:
  7426. - stdlib: Add support for div() to the C library. From OrbitalFox.
  7427. Also added ldiv() and lldiv() which are equivalent to div() with
  7428. long and long long types, respectively, instead of int.
  7429. - Added an implementation of the standard shutdown function.
  7430. * Tools:
  7431. - tools/mksymtab: declare g_symtab array as const to occupy RO section
  7432. (Flash). From Pavel Pisa.
  7433. * Build/Configuration System:
  7434. - Simplify configs/ Makefiles by combining common logic into a new
  7435. Board.mk Makefile fragment. From Paul Alexander Patience.
  7436. * Applications: apps/system:
  7437. - apps/system/symtab: Optional canned symtab inclusion to the build.
  7438. When option CONFIG_SYSTEM_SYMTAB is selected and symbol table file
  7439. libc/symtab/canned_symtab.inc is prepared then application can use
  7440. system provided complete symbol table. The option has substantial
  7441. effect on system image size. Mainly code/text. If loading of
  7442. applications at runtime is not planned do not select this. From
  7443. Pavel Pisa.
  7444. * Applications: apps/canutils:
  7445. - apps/canutils/uavcan: Add support for libuavcan. From Paul Alexander Patience.
  7446. * Applications: apps/examples:
  7447. - apps/examples/can: Extend the CAN loopback test by adding more
  7448. command line options.
  7449. - apps/examples/usbserial: Can now be run as an NSH builtin-function.
  7450. Now uses a configurable IO buffer size.
  7451. - apps/examples/nettest: Add option to suppress network initialization.
  7452. This is necessary if the nettest is run from NSH which has already
  7453. initialized the network.
  7454. - apps/examples/nettest: Extend test so that can be performed using
  7455. the local loopback device.
  7456. - apps/examples/netloop: Add a test of the local loopback device.
  7457. - apps/examples/udpblaster: Add a test to stress the network by
  7458. sending UDP packets at a very high rate. .
  7459. - apps/examples/uavcan: libuavcan example from Paul Alexander Patience.
  7460. Bugfixes. Only the most critical bugfixes are listed here (see the
  7461. ChangeLog for the complete list of bugfixes and for additional, more
  7462. detailed bugfix information):
  7463. * Core OS:
  7464. - wd_create(): Correct a counting error in the number of available
  7465. watchdog timers. When the number of free timers is low, the counter
  7466. could be incremented below zero.
  7467. - mq_open(): When message queue is opened, inode_reserve() leaves the
  7468. reference count at zero. mq_open() logic must assure that the
  7469. reference count of the newly created inode is one.
  7470. - work_queue(): Logic that sets the queued indication and the logic
  7471. that does the actual queuing must be atomic.
  7472. * Binary Loader:
  7473. - Fix a memory leak in the built-in application logic: File was not
  7474. being closed. From Bruno Herrera.
  7475. * File System/Block Drivers:
  7476. - poll(): If we fail to setup the poll for any file descriptor, for
  7477. any reason, set the POLLERR bit.
  7478. - rwbuffer: Fix some logic errors. From Dmitry Nikolaev via Juha
  7479. Niskanen.
  7480. - ROMFS: One allocation was not being freed if there was a subsequent
  7481. failure to allocation I/O buffers resulting in a memory leak on
  7482. certain error conditions. From Bruno Herrera.
  7483. * Networking/Network Drivers:
  7484. - Fix a bug in tun interface driver. From Max Neklyudov.
  7485. - recvfrom(): Correct wait for new data when NET_UDP_READAHEAD is
  7486. enabled. Fix size accounting when recvfrom_udpreadahead() sets
  7487. state.rf_recvlen == -1. I have not checked if data are accumulated
  7488. to the right position in the buffer however. From Pavel Pisa.
  7489. - networking: Correct return value from psock_tcp_accept(). From
  7490. SaeHie Park.
  7491. - TCP: Fix a problem in when there are multiple network devices.
  7492. Polls were being sent to all TCP sockets before. This is not good
  7493. because it means that packets may sometimes be sent out on the wrong
  7494. device. That is inefficient because it will cause retransmissions
  7495. and bad performance. But, worse, when one of the devices is not
  7496. Ethernet, it will have a different MSS and, as a result, incorrect
  7497. data transfers can cause crashes. The fix is to lock into a single
  7498. device once the MSS is locked locked down.
  7499. - net/tcp: The logic that binds a specific network device to a
  7500. connection was faulty for the case of multiple network devices. On
  7501. bind(), the local address should be used to associate a device with
  7502. the connection (if the local address is not INADDR_ANY); On connect(),
  7503. the remote address should be used (in case the local address is
  7504. INADDR_ANY). On accept(), it does not matter but the remote address
  7505. is the one guaranteed to be available.
  7506. - net/tcp: Fix unbuffered send compilation error when Ethernet is not
  7507. enabled. From Alan Cavalho de Assis.
  7508. * ARMv7-M:
  7509. - All ARMV7-M IRQ setup: Always set the NVIC vector table address
  7510. unconditionally. This is needed in cases where the code is running
  7511. with a bootload and when the code is running from RAM. It is also
  7512. needed by the logic of up_ramvec_initialize() which gets the vector
  7513. base address from the NVIC. Suggested by Pavel Pisa.
  7514. - Fix some H/W floating point logic: In the original implementation,
  7515. !defined(CONFIG_ARMV7M_CMNVECTOR) was a sufficient test to determine
  7516. if lazy floating point register saving was being used. But recents
  7517. changes added common lazy register as well so now that test must be
  7518. (!defined(CONFIG_ARMV7M_CMNVECTOR) || defined(CONFIG_ARMV7M_LAZYFPU)).
  7519. - ARMv7-M, all "lazy" interrupt stack logic. Assembly instruction
  7520. that fetches the saved value is incorrect; replace with more
  7521. traditional push and pop. This is an important fix. Noted by
  7522. Stefan Kolb.
  7523. - All ARMV7-M: Force 8-byte stack alignment when calling from assembly
  7524. to C to interrupt handling.
  7525. - up_schedulesigaction(): Fix logic that determines if there is a
  7526. pending signal action before scheduling the next signal action.
  7527. Both the test and the scheduling action need to be atomic. This
  7528. problem was fixed on the ARMv7-M but also ported to other
  7529. architectures that had the same issue.
  7530. * NXP LPC43xx:
  7531. - LPC43xx: Fix NVIC_SYSH_PRIORITY_STEP define. From Ilya Averyanov.
  7532. - LPC43xx: Fix missing #define in eeprom. From Ilya Averyanov.
  7533. * NXP LPC43xx Drivers:
  7534. - Fixed the SPI driver. From Ilya Averyanov.
  7535. * Atmel SAMA5 Drivers:
  7536. - LPC31 and SAMA5D EHCI: Fix qh_ioccheck to move bp to next QH. From
  7537. Ilya Averyanov.
  7538. - LPC31 and SAMA5D EHCI: Performance improvement: Do not disable the
  7539. asynchronous queue when adding a new QH structure. From Ilya
  7540. Averyanov.
  7541. * C Library/Header Files:
  7542. - gethostbyname(): correct returned address format when DNS is used.
  7543. The hostent.h_addr_list should point to raw in_addr or in6_addr
  7544. as defined in the standard. Original implementation used that for
  7545. numeric addresses but for DNS lookup returned pointer to whole
  7546. sockaddr_in or sockaddr_in6. From Pavel Pisa .
  7547. - asin(): The function did not convert for some input values. asing()
  7548. did not convert for values which do not belong to the domain of the
  7549. function. But aside of that the function also did not converge for
  7550. allowed values. I achieved a conversion of the function by
  7551. reducing the DBL_EPSION and by checking if the input value is in
  7552. the domain of the function. This is a fix for the problem but the
  7553. function should always terminate after a given number of iterations.
  7554. From Stefan Kolb.
  7555. - Change all references from avsprintf to vasprintf. From Sebastien
  7556. Lorquet.
  7557. * Applications: apps/nshlib:
  7558. - Fix error handling in 'cat' command. On a failure to allocate
  7559. memory, a file was not being closed. From Bruno Herrera.
  7560. - Fix error handling in 'mv' command. On a failure to expand the
  7561. second path, the memory allocated for the expansion of the first
  7562. path was not being freed. From Bruno Herrera.
  7563. * Applications: apps/system:
  7564. - apps/system/netdb: Failed to build if CONFIG_NET_HOSTFILE was not
  7565. defined because gethostbyaddr() was not available. Noted by
  7566. OrbitalFox.
  7567. * Applications: apps/netutils:
  7568. - Various Kconfig files in netutils: Fix some changes from from
  7569. NETUTILS_DNSCLIENT to NETDB_DNSCLIENT. From Pavel Pisa.
  7570. * Applications: apps/modbus:
  7571. - Macros PR_BEGIN_EXTERN_C and PR_END_EXTERN_C were not defined in
  7572. all contexts. Replace with explicit expansion in all cases. From Stefan Kolb.
  7573. NuttX-7.13 Release Notes
  7574. ------------------------
  7575. The 113th release of NuttX, Version 7.13, was made on December 5, 2015,
  7576. and is available for download from the Bitbucket.org website. Note
  7577. that release consists of two tarballs: nuttx-7.13.tar.gz and
  7578. apps-7.13.tar.gz. These are available from:
  7579. https://bitbucket.org/patacongo/nuttx/downloads
  7580. https://bitbucket.org/nuttx/apps/downloads
  7581. Both may be needed (see the top-level nuttx/README.txt file for build
  7582. information).
  7583. Additional new features and extended functionality:
  7584. * Core OS:
  7585. - External RTC: Added OS support for external RTC chips.
  7586. - boardctl(): Add a command to the boardctl() interface to obtain a
  7587. board unique ID.
  7588. * File Systems:
  7589. - TMPFS: Add support for a new TMPFS, RAM file system. The TMPFS
  7590. file system does not require any significant amount of memory
  7591. itself. It will grow dynamically as files are added and shrink back
  7592. when files are deleted. A very low overhead way to retain temporary
  7593. files.
  7594. - VFS: The VFS was extended to support standard file operations on
  7595. block drivers (open, close, read, write, etc.). The open() interface
  7596. accomplishes this by creating a temporary characer driver to mediate
  7597. the character oriented accesses to tje block driver.
  7598. - HOSTFS: Added a HOSTFS file system for use with the simulator. The
  7599. HOSTFS file system mounts in the simulated Nuttx context by provides
  7600. proxied access to the file system on the host PC. This is useful for
  7601. providing file system content and nonvolatile storage of files in the
  7602. simulation environment. From Ken Pettit.
  7603. - MTD/PROCFS: Add an interface to un-register an MTD procfs entry.
  7604. From Ken Pettit.
  7605. - filemtd: A new MTD conversion layer that will convert a regular file
  7606. (or driver file) to an MTD device. This is useful for testing on the
  7607. simulation using the HOSTFS. From Ken Pettit.
  7608. - PROCFS: Extended to include networking entries in the procfs. Device
  7609. status, device statistics, and network statistics are now available
  7610. from the PROCFS.
  7611. - PROCFS: The PROCFS file system can now be configured so that it
  7612. supports runtime registration of PROCFS entries with
  7613. CONFIG_FS_PROCFS_REGISTER=y.
  7614. * Graphics/Graphic Drivers:
  7615. - ST7565 Driver: Extend to include support for the ERC12864-3. From
  7616. Pierre-noel Bouteville.
  7617. * Common Device Drivers:
  7618. - User buttons: Added a character driver to support application access
  7619. to board buttons. Supports notification of button activity via
  7620. signals.
  7621. - User LEDs: Added a character driver to support application access
  7622. to on-board LEDs.
  7623. - Zero Cross: Added a Zero Cross device driver support. From Alan
  7624. Carvalho de Assis.
  7625. - MAX6675: Added support to Thermocouple-to-Digital converter MAX6675.
  7626. From Alan Carvalho de Assis.
  7627. - BCH: Block-to-character (BCH) driver should forward ioctl() calls
  7628. to the contained block driver.
  7629. - S25FL1xx: Added a S25FL1xx QuadSPI FLASH driver.
  7630. - On-Chip FLASH: Added an upper half MTD device that can use the
  7631. interfaces defined in included/nuttx/progmem.h to provide a
  7632. standard MTD driver.
  7633. - Serial: Implemented high level DMA infrastructure for serial
  7634. devices. From Max Neklyudov.
  7635. - AT24XX: Add support for multiple AT24xx EEPROM parts, each with
  7636. unique I2C addresses, but otherwise identical.
  7637. - External RTC: Added drivers for external I2C RTC chips: DS3102,
  7638. DS1307, DS3231, DS3232, and NXP PCF85263.
  7639. - W25: Added support for byte write mode to the W25 FLASH driver. From
  7640. Ken Pettit.
  7641. - dev/loop: Added a loop character device. losetup() and loteardown()
  7642. should not be called directory from applications. Rather, these
  7643. functions are now available as IOCTL commands to the loop driver.
  7644. - dev/smart: Added support for a /dev/smart loop device. From Ken
  7645. Pettit.
  7646. * Networking:
  7647. - Driver Statistics: Most network drivers do not support statistics.
  7648. Those that do only supported them when DEBUG is enabled. Each
  7649. driver collected an architecture specific set of statistics and
  7650. there was no common mechanism to view those statistics. Thus,
  7651. the driver feature was mostly useless. This release standardizes
  7652. the driver statistics and puts the definition in the common network
  7653. device structure defined in netdev.h where they can be accessed by
  7654. network applications. All Ethernet drivers that collect statistics
  7655. have been adapted to use these common statistics.
  7656. * Simulation Platform:
  7657. - W25 FLASH: Added support for W25 FLASH simulation. From Ken Pettit.
  7658. - HOSTFS: Added support for the HOSTFS file system (see "File Systems",
  7659. above).
  7660. * Atmel SAMV7:
  7661. - SAME70: Added support for the SAME70 family of chips.
  7662. - Tickless: SAMV7 now supports the tickless mode of operation.
  7663. * Atmel SAMV7 Drivers:
  7664. - MPU: Added MPU and protected build support.
  7665. - QSPI: Added a QuadSPI FLASH driver. This driver operates in the
  7666. memory-mapped, Serial Memory Mode (SMM).
  7667. - FLASH: Added support to write on-chip FLASH.
  7668. - Timer/Counter: TC driver ported to SAMV7 from the SAMA5. Free-running
  7669. and one-short timer logic also ported.
  7670. - PCK: Brought programmable clock (PCK) logic from SAMA5 into SAMV7.
  7671. - Timer/Counter: Support PCK6 as an optional source for the timer/
  7672. counter clock.
  7673. * Atmel SAMV7 Boards:
  7674. - SAME70-Xplained: Add NSH and networking configurations for the
  7675. SAME70 Xplained board. Includes verified support for serial console,
  7676. LEDs, buttons, SDRAM, HSMCI SD card, and networking.
  7677. - SAMV7-XULT and SAME70-Xplained: If Tickless mode is selected then
  7678. enable PCK6 as a timer/counter clock source
  7679. * STMicro STM32:
  7680. - CCM PROCFS: Is no longer a part of the 'base' procfs entries and can
  7681. now only be supported via run time registration with
  7682. CONFIG_FS_PROCFS_REGISTER=y.
  7683. * STMicro STM32 Drivers:
  7684. - Timers: Add a compatible lower-half timer driver for use with the
  7685. common timer upper-half driver. From Wail Khemir.
  7686. * STMicro STM32 Boards:
  7687. - STM32F4-Discovery: Add low level support for the Zero Cross driver
  7688. for the STM32F4-Discovery. From Alan Carvalho de Assis.
  7689. - STM32F4-Discovery: Add board config to support for the MAX6675. From
  7690. Alan Carvalho de Assis.
  7691. * C Library/Header Files:
  7692. - bsearch(): Added the bsearch() function from NetBSD.
  7693. - freopen(): Added support for freopen().
  7694. - strftime(): Added day-of-week support (when avaialable).
  7695. * Tools:
  7696. - nxstyle: Add crappy style checking tool nxstyle.c. See thee tools/
  7697. README file for more info.
  7698. * Applications: NSH
  7699. - mksmartfs command: Add configuration option to supported multiple
  7700. rootdirectories. From Ken Pettit.
  7701. - Add support for 'basename' and 'dirname' commands.
  7702. - set command: Like bash, NSH set command now strips off any leading
  7703. or trailing whitespace.
  7704. - mount command: The mount commands now accepts mount options
  7705. (currently needed only for the hostfs file system). From Ken
  7706. Pettit.
  7707. - losetup command: NSH no longer calls losetup() and loteardown
  7708. directly. Now it opens /dev/loop and accomplishes these things
  7709. using ioctl() calls.
  7710. - ifconfig command: If CONFIG_NETDEV_STATISTICS=y, then print the
  7711. network driver statistics in the ifconfig.
  7712. - ifconfig, ifup, and ifdown: These commands now uses /proc/net/<dev>
  7713. to view network device configuration and status and /proc/net/stat
  7714. to show network statistics. A consequence of this is that you
  7715. cannot view this network information if the procfs is not enabled
  7716. and mounted at /proc.
  7717. - losmart command: Added a new NSH losmart command. losmart setups
  7718. up a loop device for the smart MTD driver similar to losetup but
  7719. with different syntax. From Ken Pettit.
  7720. - ps command: The 'ps' command now uses /proc/<pid>/ to obtain task
  7721. status information. A consequence of this is that you cannot use
  7722. the 'ps' command if the procfs is not enabled and mounted at /proc.
  7723. * Applications: apps/system:
  7724. - apps/system/hexed: Port the hexed command line hexadeciamal editor
  7725. to Nuttx. See http://apps.venomdev.net/hexed/.
  7726. * Applications: apps/fsutils:
  7727. - apps/fsutils/smartfs: Move into apps/fsutils from kernel, now uses
  7728. only open and ioctl. From Ken Pettit.
  7729. * Applications: apps/examples:
  7730. - apps/examples/fstest: Add a generic file system test. This is
  7731. essentially the same as examples/smart, but has all of the SmartFS
  7732. specific logic ripped out. This was created for testing the new
  7733. TMPFS.
  7734. - apps/examples/zerocross: Add a Zero Cross application example. From
  7735. Alan Carvalho de Assis.
  7736. - apps/examples/media: Add a simple test for access of media via a
  7737. block driver or MTD driver.
  7738. Bugfixes. Only the most critical bugfixes are listed here (see the
  7739. ChangeLog for the complete list of bugfixes and for additional, more
  7740. detailed bugfix information):
  7741. * Core OS:
  7742. - Fixed an error in clock_timespec_subtract(). Found by Lok.
  7743. - pthreads: CRITICAL BUGFIX: Logic was wiping out the indication that
  7744. of the type of a pthread. Hence, it could be confused as a task.
  7745. Found because this was causing a crash when /proc/nnn/cmdline was
  7746. printed.
  7747. * File System/Block Drivers:
  7748. - SMART MTD: Fix some Smart wear-leveling bugs. Fixed SmartFS wear
  7749. level error that occurs when the logical sector size is too small to
  7750. save all wear level status bytes in a single sector. Logical
  7751. sectors 1 and 2 were simply not being allocated and then the
  7752. read_sector and write_sector routines were failing. From Ken
  7753. Pettit.
  7754. * Graphics/Graphic Drivers:
  7755. - ILI9432: Fixed errors in orientation. Portrait, RPortrait, and
  7756. Landscript should work correly now. They were displayed mirrored.
  7757. From Marco Krahl.
  7758. * Common Drivers:
  7759. - CAN: Fix a problem in the CAN upper-half driver that occurs only
  7760. for CAN hardware that support a H/W FIFO of outgoing CAN messages.
  7761. In this case, there can be a hang condition if both the H/W and
  7762. S/W FIFOs are both full. In that case, there may be no event to
  7763. awaken the upper half driver. Add a new (conditional) CAN upper
  7764. half interface called can_txready() that can be used by the lower
  7765. half driver to avoid this hang condition.
  7766. - MS58xx: Fix some issues with initialization and with CRC
  7767. calculation. From Karim Keddam.
  7768. - W25: Fixed W25 FLASH driver page read/write logic. From Ken Pettit.
  7769. * Atmel SAMV7 Drivers:
  7770. - USART1 pin configuration: Reconfigure System I/O when using USART1.
  7771. From Frank Benkert.
  7772. - MCAN: Added a call to can_txready() to the MCAN driver.
  7773. * STMicro STM32 Drivers:
  7774. - stm32 F4: Fix some TIM12 pin mappings. From Max Kriegleder.
  7775. * STMicro STM32 Boards:
  7776. - STM32F429i-Disco: Calculated partition boundries based on page
  7777. block sizes but mtd_partition() is expecting calculations based on
  7778. erase block size. From Alan Carvalho de Assis.
  7779. * C Library/Header Files:
  7780. - sys/types.h: When building on a 64-bit machine, the size of size_t
  7781. should be 64-bits. In general, I believe that sizeof(size_t) should
  7782. be the same as sizeof(uinptr_t). mmsize_t should always be 32-bits
  7783. in any event. The last change to stddef has been backed out. With
  7784. these changes, the simulator builds without errors or warnings an a
  7785. 64-bit machine.
  7786. * Applications: apps/nshlib:
  7787. - The I/O buffer, g_iobuffer, should not be a global buffer. That
  7788. will not work in an environment where there are multiple NSH
  7789. sessions. The I/O buffer must, instead, be a part part of the
  7790. session-specific data defined in nsh_console.h.
  7791. NuttX-7.14 Release Notes
  7792. ------------------------
  7793. The 114th release of NuttX, Version 7.14, was made on January 28, 2016,
  7794. and is available for download from the Bitbucket.org website. Note
  7795. that release consists of two tarballs: nuttx-7.14.tar.gz and
  7796. apps-7.14.tar.gz. These are available from:
  7797. https://bitbucket.org/patacongo/nuttx/downloads
  7798. https://bitbucket.org/nuttx/apps/downloads
  7799. Both may be needed (see the top-level nuttx/README.txt file for build
  7800. information).
  7801. Additional new features and extended functionality:
  7802. * Core OS:
  7803. - modules: Add support for kernel modules: insmod, rmmod, support
  7804. functions. procfs support for user lsmod functioniality.
  7805. - SIGEV_THREAD: Add support for the SIGEV_THREAD notification method
  7806. in struct sigevent. This initial implementation will only work in
  7807. the FLAT build since it utilizes the work queue for signal
  7808. callbacks. See the top-level TODO file for additional details.
  7809. - 64-Bit Timer: If the 64-bit timer is selected, then use it whenever
  7810. clock_systimer() is called rather then chopping the 64-bit timer
  7811. down to 32-bits. Add a new type, systime_t to represent the 32- or
  7812. 64-bit system timer. This eliminates clock_systimer32() and
  7813. clock_systime64(); there is now only clock_systimer().
  7814. * Common Device Drivers:
  7815. - Telnet Driver: Move the Telnet driver from apps/ to
  7816. nuttx/drivers/net. It is a driver a belongs in the OS. Now works
  7817. like the loop device: A new interface called telnet_initialize()
  7818. registers a telnet session "factory" device at /dev/telnet. Via
  7819. ioctl, the factory device can create instances of the telnet
  7820. character devices at /dev/telnetN to support Telnet sessions.
  7821. - PCA9635PW: Add a driver for the PCA9635PW I2C LED driver IC which
  7822. can be used to control the intensity of up to 16 LEDs. From
  7823. Alexander Entinger.
  7824. - MCP9844: Driver for the MCP9844 I2C digital temperature sensor with
  7825. a selectable resolution. From Alexander Entinger.
  7826. - PN532: Add driver for the NXP PN532 NFC-chip. From Janne Rosberg
  7827. and others at Offcode Ltd.
  7828. - LSM9DS1: Add driver for the STMicro LSM9DS1 chip. The LSM9DS1 is a
  7829. system-in-package featuring a 3D digital linear acceleration sensor,
  7830. a 3D digital angular rate sensor, and a 3D digital magnetic sensor.
  7831. From Paul Alexander Patience.
  7832. - CAN Interface: Add more extensive error reporting capaibility to
  7833. the CAN interface definitions. From Frank Benkert.
  7834. - SPI Interface: Add an optional hwfeatures() method to the SPI
  7835. interface.
  7836. * Simulation Platform:
  7837. - NSH configuration uses the custom start up scriptwith a read-only
  7838. passwd file. Includes hooks for an MOTD message.
  7839. * ARMv7-R
  7840. - ARMv7-R: Add basic architecture support for the ARMv7-R processor
  7841. family.
  7842. * Atmel AVR:
  7843. - Atmega2560: Add support for the Atmega2560. From Dimitry Kloper.
  7844. - debug.h: Add an AVR-specific header file used when the AVR MEMX
  7845. pointer is used. From Dimitri Kloper.
  7846. * Atmel AVR Boards:
  7847. - Arduino-Mega2560: Add support for the Arduino-Mega2560. From
  7848. Dimitry Koper.
  7849. * Atmel SAMV7 Drivers:
  7850. - Port the TRNG driver from the SAMA5D3/4 to the SAMV7.
  7851. - Port the WDT driver from the SAMA5D3/4 to the SAMV7.
  7852. - Add an RSWDT driver.
  7853. * Atmel SAMV7 Boards:
  7854. - SAMV71-XULT: Add configuration for testing OS modules.
  7855. * Freescale Kinetis:
  7856. - MK60N512VLL100: Add support for the MK60N512VLL100 Kinetis part.
  7857. From Andrew Webster.
  7858. * Freescale Kinetis Boards:
  7859. - ENET: Numerous updates to the Kinetis ENET driver. That driver is
  7860. now functional. From Andrew Webster.
  7861. * NXP LPC43xx Boards:
  7862. - WaveShare LPC4337-WS: Support for the WaveShare LPC4337-WS board.
  7863. From Lok Tep.
  7864. * STMicro STM32 Drivers:
  7865. - Timer Capture: Add timer input capture driver. From Pierre-Noel
  7866. Bouteville.
  7867. * STMicro STM32 Boards:
  7868. - Olimex STM32 H407: Added a port to the Olimex STM32 H407 board.
  7869. This board features the STMicro STM32F407ZGT6 (144 pins).
  7870. Contributed by Neil Hancock.
  7871. * TI TMS550 Boards:
  7872. - TI LaunchXL-TMS57004: Add basic board support for TI LaunchXL-
  7873. TMS57004. Still a work in progress.
  7874. * C Library/Header Files:
  7875. - sys/time.h: Add timeradd(), timersub(), timerclear(), timerisset(),
  7876. and timercmp() as macros. These are non-POSIX interfaces, but
  7877. included in most BSD deriviatives, including Linux. From Manuel St??.
  7878. - AVR support: Introduce support for Atmel toolchain in-flash strings.
  7879. Atmel toolchain AVR compiler provides a transparent in-flash object
  7880. support using __flash and __memx symbols. The former indicates to
  7881. compiler that this is a flash-based object. The later used with
  7882. pointer indicates that the referenced object may reside either in
  7883. flash or in RAM. The compiler automatically makes 32-bit pointer
  7884. with flag indicating whether referenced object is in flash or RAM
  7885. and generates code to access either in run-time. Thus, any function
  7886. hat accepts __memx object can transparently work with RAM and flash
  7887. objects.
  7888. For platforms with a Harvard architecture and a very small RAM like
  7889. AVR this allows to move all constant strings used in trace messages
  7890. to flash in the instruction address space, releasing resources for
  7891. other things. This change introduces IOBJ and IPTR type qualifiers.
  7892. The 'I' indicates that the object may lie in instruction space on a
  7893. Harvard architecture machine. For platforms that do not have __flash
  7894. and __memx or similar symbols IOBJ and IPTR are empty, making the
  7895. types equivalent to, for example, 'const char' and 'const char*'.
  7896. For Atmel compiler these will become 'const __flash char' and
  7897. 'const __memx char*'. All printf() functions and syslog() functions
  7898. are changed so that the qualifier is used with the format parameter.
  7899. From Dimitry Kloper.
  7900. - debug.h: Add configuration to support an architecture-specific
  7901. debug.h header file. From Dimitri Kloper.
  7902. - netdb: Add support for the use of a DNS resolver file like
  7903. /etc/resolv.conf.
  7904. - TEA: Add an implementation of the Tiny Encryption Algorithm.
  7905. - math32.h: Add some utilities to support 64-bit arithmetic
  7906. operations for platforms that do not support long long types.
  7907. * Tools:
  7908. - tools/cnvwindeps.c: Add a tool that will convert paths in
  7909. dependencies generated by a Windows compiler so that they can be
  7910. used with the Cygwin make.
  7911. - tools/mkwindeps.sh: A script that coordinates use of cnvwindeps.exe.
  7912. Dependencies now work on the Cygwin platform when using a Windows
  7913. ative toolchain.
  7914. * Applications: NSH
  7915. - Module Commands: Add module commands: insmod, rmmod, and lsmod.
  7916. - Time Command: Add a 'time' command that may be used to time the
  7917. execution of other commands.
  7918. - Password Commands: Add useradd, userdel, and passwd commands.
  7919. - MOTD: Now supports a Message of the Day (MOTD) that will be
  7920. presented after the NSH greeting.
  7921. - Session Logins: All sessions may be protected with logins using the
  7922. encrypted password in /etc/passwd.
  7923. - Extended Logins. Added optional platform-specific function to
  7924. perform password verification and optional delay after each failed
  7925. login attempt.
  7926. * Applications: apps/fsutils:
  7927. - apps/fsutils/passwd: Utility library for accessing a password file
  7928. like /etc/passwd.
  7929. * Applications: apps/netutils:
  7930. - apps/netutils/telnetd: Now creates Telnet sessions by opening a new
  7931. factory device at /dev/telnet and then using ioctl calls to create
  7932. the session character drivers at /dev/telnetN.
  7933. - apps/netutils/netlib: Add netlib_get_dripv4addr() and
  7934. netlib_get_ipv4netmask(). From Pelle Windestam.
  7935. * Applications: apps/examples:
  7936. - apps/examples/module: Add a test harness for verifying NuttX kernel
  7937. modules.
  7938. - apps/examples/pca9635: Add a simple test of PCA9635PW PWM LED driver.
  7939. From Alan Carvalho de Assis.
  7940. - apps/examples/ostest: Add a test of POSIX timers using SIGEV_THREAD.
  7941. Bugfixes. Only the most critical bugfixes are listed here (see the
  7942. ChangeLog for the complete list of bugfixes and for additional, more
  7943. detailed bugfix information):
  7944. * Core OS:
  7945. - pthreads: CRITICAL BUGFIX: Logic was wiping out the indication that
  7946. of the type of a pthread. Hence, it could be confused as a task.
  7947. - waitpid: CRITICAL BUGFIX. Add a reference count to prevent waitpid
  7948. from using stale memory released by the waited-for task group.
  7949. - clock_systimespec(): Fix an error in a time conversion.
  7950. * File System/Block Drivers:
  7951. - poll(): Fix handling of sem_tickwait() return value sem_tickwait()
  7952. does not return an -1+errno, it returns a negated errno value.
  7953. Noted by Freddie Chopin.
  7954. * Common Drivers:
  7955. - TUN Driver: Fix a compile time error in the TUN driver. From
  7956. Vladimir Komendantskiy.
  7957. - USB Host HID Parser: Wrong size used in memcpy(). From Hang Xu.
  7958. - PCA9555: Fixed a bug in the function pca9555_setbit which occurs if
  7959. someone tries to set one of the pins 8-15. The problem is that
  7960. after the check if the pin is greater than 7 the variable addr is
  7961. incremented and used in the Call I2C_WRITEREAD. But later in the
  7962. call to the I2C_WRITE buf[0] is used as address but this address is
  7963. not incremented as it should be. Note address does mean the address
  7964. to the register in the ioexpander and not the I2C address. From
  7965. Stefan Kolb.
  7966. * Networking:
  7967. - TCP/IOB: Numerous fixes, mostly relate to TCP and IOB buffering
  7968. and race conditions. These were necessary for for the NuttX
  7969. networking later to be stable in some stress testing. From Andrew
  7970. Webster.
  7971. * Atmel SAMV7 Drivers:
  7972. - USBHS Device: In USBHS device driver, fix check if zero length
  7973. packet is needed.
  7974. * STMicro STM32 Drivers:
  7975. - OTG FS Host: Fix some backward arguments to stm32_putreg(). Note
  7976. by Hang Xu.
  7977. * Tools:
  7978. - tools/mkdeps.c: Extended/fixed support for --winpath option.
  7979. Dependencies now work under Cygwin with a native Windows toolchain.
  7980. * Build System:
  7981. - apps/platform/Makefile: Use a relative path to the board directory
  7982. link rather than the absolute path. For Cygwin, the absolute would
  7983. would need converted with cygpath. But just using the relative path
  7984. is a simpler solution.
  7985. NuttX-7.15 Release Notes
  7986. ------------------------
  7987. The 115th release of NuttX, Version 7.15, was made on March 27, 2016,
  7988. and is available for download from the Bitbucket.org website. Note
  7989. that release consists of two tarballs: nuttx-7.15.tar.gz and
  7990. apps-7.15.tar.gz. These are available from:
  7991. https://bitbucket.org/patacongo/nuttx/downloads
  7992. https://bitbucket.org/nuttx/apps/downloads
  7993. Both may be needed (see the top-level nuttx/README.txt file for build
  7994. information).
  7995. Additional new features and extended functionality:
  7996. * Core OS:
  7997. - Add a state variable that provides the current level of OS
  7998. initialization. This is needed by some logic that may attempt to
  7999. run early in the start-up sequence but cannot run if a sufficient
  8000. level of initialization has not yet occurred.
  8001. - Spinlocks: Add interface definitions for to support spinlocks as
  8002. needed for multi-CPU configurations.
  8003. - SMP support. Support for Symmetric Multi-Processing (SMP) added.
  8004. This affects many internal data structures, spinlock extensions
  8005. and renaming of interrupt enable/disable interfaces, new platform
  8006. interfaces to support CPU initialization and inter-actions, and
  8007. new application interfaces to manage CPU affinity. The changes
  8008. are too extensive to summarize here; see the SMP Wiki page at
  8009. http://www.nuttx.org/doku.php?id=wiki:nxinternal:smp. The
  8010. new platform interfaces are also described in the NuttX porting
  8011. guide: http://www.nuttx.org/doku.php?id=documentation:portingguide.
  8012. Only partially verified; awaiting hardware for the complete
  8013. verification.
  8014. - TLS: Basic definitions needed to support thread local storage
  8015. (TLS). TLS is not used anywhere yet (and may not be used in the
  8016. near future either).
  8017. - Performance Monitoring: Add a configuration option to buffer
  8018. RTOS instrumentation data in an in-memory buffer.
  8019. - boardctl(): Add boardctl() support that will permit applications
  8020. to control USB devices.
  8021. * File Systems/Block Drivers:
  8022. - procfs: Add /proc/kmm entry that shows that state of the kernel
  8023. heap. Only useful in PROTECTED and KERNEL build modes where there
  8024. is a kernel heap.
  8025. - procfs: Add support for showing CPU in the tast status if SMP is
  8026. enabled.
  8027. * Networking:
  8028. - ARP: Add support for IOCTL commands to manage the ARP table.
  8029. - IEEE 802.15.4 and 6LowPAN: There are some radio drivers and a
  8030. directory structure is in place. However, most of this
  8031. development is occurring on a fork and is not yet available in the
  8032. NuttX repositories. Hopefully in NuttX-7.16.
  8033. * Common Device Drivers:
  8034. - ADS1242: Driver for the 24-Bit Differential Input ADC ADS1242 that
  8035. communicates via SPI with a MCU. Reading the ADC conversion result
  8036. as well as configuring the ADC, setting the input channel, etc. is
  8037. implemented via ioctl calls. However, it does not yet implement
  8038. the standard ADC interface. From Alexander Entinger.
  8039. - U-Blox Modem: Add an upper half driver for the U-Blox Modem. From
  8040. Vladimir Komendantskiy.
  8041. - I2C: Add an I2C, "upper half", character drivers to support raw I2C
  8042. data transfers for test applications.
  8043. - RGB LED: Add a driver to manage a RGB LED via PWM. From Alan
  8044. Carvalho de Assis.
  8045. - Performance Monitoring: Add a character driver that will allow an
  8046. application to read buffered scheduler instrumentation data.
  8047. * Simulation Platform:
  8048. - SMP: Add multi-CPU support to the simulation to support SMP
  8049. investigation. There are issues with the simulation and it is less
  8050. than perfect but sufficient for some very preliminary testing of
  8051. the core SMP feature.
  8052. * ARMv7-A, ARMv7-R, and ARMv7-M:
  8053. - ARMv7-A, ARMv7-R, and ARMv7-M: Add test-and-set logic and
  8054. definitions needed to supports spinlocks.
  8055. - ARMv7-A: Added MPCOre Generic Interrupt Controller (GICv2) and
  8056. Global Timer support
  8057. - ARMv7-A: Now includes in MCU-specific hooks needed for SMP support.
  8058. * Atmel SAMV7 Drivers:
  8059. - HSMSI: HSMCI driver can now be configured to handle unaligned data
  8060. buffers.
  8061. * NXP Freescale LPC11xx/17xx/43xx and LPC2378 Drivers:
  8062. - I2C: Backported the LPC43XX I2C driver, replacing the LPC11XX,
  8063. LPC17XX, and LPC2378 I2C drivers. This gives us the I2C_TRANSFER
  8064. method in all I2C drivers.
  8065. * NXP Freescale LPC17xx Boards:
  8066. - Support for the u-blox GSM and GPS module evaluation board with
  8067. NXP LPCExpresso LPC1768. The GSM module is one of LISA-C200,
  8068. LISA-U200 or SARA-G350. The GPS module is one of MAX-M7 or
  8069. MAX-M8. From Vladimir Komendantskiy.
  8070. * NXP Freescale i.MX6:
  8071. - Basic support is in place for the i.MX6 Quad/Dual MCUs.
  8072. Verification is, however, waiting for the receipt of hardware.
  8073. * NXP Freescale i.MX6 Boards:
  8074. - Sabre-6Quad: Basic support for the NXP/Freescale Sabre 6Quad
  8075. board is in place but waiting for hardware for verification.
  8076. * STMicro STM32:
  8077. - STM32F46xx: Support for STM32F46xx from Paul Alexander Patience
  8078. - STM32L4: Add support for the STM32L4 family. From Sebastien
  8079. Lorquet.
  8080. * STMicro STM32 Boards:
  8081. - STM32F4 Discovery: Add PWM support for the onboard RGB LED. From
  8082. Alan Carvalho de Assis.
  8083. - Nucleo-L476: Add support for the Nucleo-L476 board. From Sebastien
  8084. Lorquet.
  8085. - STM32L476VG Discovery: Add support for the STM32L476VG Discovery
  8086. board. From Dave.
  8087. * Tools:
  8088. - tools/refesh.sh now has a --silent option so that it can be used in
  8089. batch modes without human input.
  8090. * Build System:
  8091. - Added a 'make olddefconfig' target that will refresh a .config file
  8092. without interaction.
  8093. * Applications: NSH
  8094. - 'arp': Add an 'arp' command that will support access to the OS ARP
  8095. table.
  8096. - 'ps': The 'ps' command will show CPU if SMP is enabled.
  8097. * Applications: apps/netutils:
  8098. - apps/netutils/chat: Chat logic contributed by Vladimir
  8099. Komendantskiy.
  8100. - apps/netutils/netlib: Add utility functions to support accesses to
  8101. the ARP table.
  8102. * Applications: apps/examples:
  8103. - apps/examples/chat: Chat example contributed by Vladimir
  8104. Komendantskiy.
  8105. - apps/sysem/ubloxmodem: Example to control the power
  8106. state of the modem in nsh. From Vladimir Komendantskiy.
  8107. - apps/examples/leds: An example to demonstrate use of LED driver.
  8108. - apps/examples/smp: Add a test to verify SMP configurations.
  8109. - apps/examples/rgbled: Example using the RGB LED driver to drive an
  8110. RGB LED via PWM. From Alan Carvalho de Assis.
  8111. - apps/examples/ostest: Add a test of TLS.
  8112. - apps/examples/sched_note: Add a simple example to exercise the
  8113. scheduler instrumentation logic.
  8114. Bugfixes. Only the most critical bugfixes are listed here (see the
  8115. ChangeLog for the complete list of bugfixes and for additional, more
  8116. detailed bugfix information):
  8117. * Core OS:
  8118. - Signals: Move the list of signal actions from the TCB to the group
  8119. structure. Signal handlers are not per thread but, rather, per task
  8120. group. I know, I preferred it the other way too, but this is more
  8121. compliant with POSIX.
  8122. - Semaphores: Add an internal, non-standard interface to reset a
  8123. semaphore count. This is sometimes needed by drivers in order to
  8124. recover from error conditions. Were previously using sem_init()
  8125. which is both inappropriate and incorrect if the semaphore count is
  8126. negative.
  8127. - Low-Priority Work Queue: Fix logic to find an IDLE worker thread;
  8128. the test for busy was backward. From Linfei Chen.
  8129. * File System/Block Drivers:
  8130. - FAT: Add an option to force all transfers to be performed
  8131. indirectly using the FAT file system's internal sector buffers.
  8132. This is a fix for the case where the user provided buffers are not
  8133. properly aligned for DMA (as with THTTPD).
  8134. - MTD: Increase block size in mtd_geometry_s to 32-bits.
  8135. * Common Drivers:
  8136. - I2C: Restructured the I2C interface as necessary to eliminate some
  8137. thread-safety issues inherent in the legacy I2C interface design.
  8138. This effects the interface definition, all I2C clients, and all low-
  8139. level I2C drivers. I have used caution, but I still expect a change
  8140. of this magnitude to introduce some errors. Any bug reports of bug
  8141. fixes will be much appreciated.
  8142. - I2C_RESET: Eliminate up_i2creset(). It should not be a global
  8143. function; Now it is an I2C interface method.
  8144. - PCA555: Add logic to make the PCA555 driver thread safe.
  8145. - syslog: If syslog timestamping is enabled, don't try to get the time
  8146. if the timer hardware has not yet been initialized.
  8147. - AT24xx driver: Correct missing address calculation logic. From Frank
  8148. Benkert.
  8149. * Networking:
  8150. - Networking drivers that support CONFIG_NET_NOINTS: Fix a race
  8151. condition that can cause the TX poll timer to stop running. From
  8152. Manuel Stuhn.
  8153. - Timer Poll: Fix some logic when there are multiple network
  8154. interfaces. In this case, TCP timeout events can really only being
  8155. processed when the poll from the correct device is received.
  8156. * Atmel SAMV7 Drivers:
  8157. - SAMV7 USB HS device: The USB driver has had some issue that would
  8158. occasionally cause loss of packets. Back last December, a fix was
  8159. put in for this but the fix apparently worsens the problem; now
  8160. causing hangs. The basic problem is that the number of busy banks
  8161. (NBUSYBKS) status is not real time but is delayed. This was fixed;
  8162. now when the DMA completes and NBUSYBKS > 0, the NBUSYBK is
  8163. interrupt is enabled and the operations are deferred until NBUSYBKS
  8164. is truly zero.
  8165. * Tools:
  8166. - tools/testbuild.sh: .config files were not being updated because
  8167. (a) kconfig-conf was being called in the wrong directory and (b)
  8168. apps/Kconfig had not yet been created. Now uses 'make
  8169. olddefconfig'.
  8170. * Applications: apps/system:
  8171. - apps/system/i2c: The I2C tool now obeys it OS interfacing: it now
  8172. uses an I2C character driver to access the I2C bus.
  8173. - apps/system/cdcacm, usbmsc, and composite: Use new boardctl()
  8174. instead of calling directly in the OS when possible.
  8175. * Applications: apps/netutils:
  8176. - apps/netutils/dhcpd: DHCPD no longer calls directly into the OS but
  8177. uses the new network IOCTL commands to modify the ARP table.
  8178. * Applications: apps/modbus:
  8179. - apps/modbus/nuttx/portserial.c: Was not returning an error on
  8180. failure to open the device driver. From Olololshka kokoko.
  8181. * Applications: apps/examples:
  8182. - apps/examples/usbserial, composite, usbterm: Use new boardctl()
  8183. instead of calling directly in the OS when possible. There are
  8184. still a few bad OS calls for USB device interfaces that do not yet
  8185. have boardctl() commands.
  8186. * Applications: apps/platform:
  8187. - Moved C++ initialization logic out of the RTOS and into the
  8188. application space, specifically to apps/platform/board, where it
  8189. belongs.
  8190. NuttX-7.16 Release Notes
  8191. ------------------------
  8192. The 116th release of NuttX, Version 7.16, was made on June 1, 2016,
  8193. and is available for download from the Bitbucket.org website. Note
  8194. that release consists of two tarballs: nuttx-7.16.tar.gz and
  8195. apps-7.16.tar.gz. These are available from:
  8196. https://bitbucket.org/nuttx/nuttx/downloads
  8197. https://bitbucket.org/nuttx/apps/downloads
  8198. Both may be needed (see the top-level nuttx/README.txt file for build
  8199. information).
  8200. Additional new features and extended functionality:
  8201. * Core OS:
  8202. - Power Management: Add activity domain to all PM interfaces and
  8203. driver callbacks. If CONFIG_PM_NDOMAINS == 1, then the legacy
  8204. behavior is preserved. If CONFIG_PM_NDOMAINS > 1, then multiple
  8205. PM domains are supported. This will allow separate control for
  8206. certain power management groups. For example, a network can be
  8207. shut down without affect an ongoing UI (and vice versa).
  8208. - board_app_initialize(): board_app_initialize() now accepts an
  8209. argument that may be used to support initialization in different
  8210. configurations.
  8211. * File System and Block and MTD Drivers:
  8212. - N25Qxxx: Add MTD support for Micron N25Qxxx family of QSPI flash.
  8213. From Dave (ziggurat29).
  8214. - SST26F: Add an MTD driver for SST26F spi/qspi flash devices (SPI
  8215. mode only). From Sebastien Lorquet.
  8216. - File Descriptor Detach: Add logic to detach a file structure from a
  8217. file descriptor. This is for use only within the OS. It permits an
  8218. open file or driver to be used across multiple threads.
  8219. * Networking and Network Drivers:
  8220. - listen()/accept(): Separate out psock_listen() and psock_accepti()
  8221. for internal, thread independent OS usage (i.e., without a socket
  8222. descriptor).
  8223. - VNC Server: Add support for a VNC server. This logic is code
  8224. complete and functional, but not well tested.
  8225. * Graphics and Graphic Drivers:
  8226. - Framebuffer driver: Add a display number to each interface in order
  8227. to support multiple display devices.
  8228. - VNC Server: Add support for a VNC server. This logic is code
  8229. complete and functional, but not well tested.
  8230. - LCD Backpack: Add support for PCF8574 LCD Backpack driver. This
  8231. driver supports an interface board that is based on the PCF8574 I/O
  8232. expander and supports the HD44780-based (or compatible) LCD modules.
  8233. There are a myriad of different vendors of such, but they are
  8234. principally the same, save wiring and minor features like jumpers
  8235. for I2C addresses. This driver supports known and unknown variants.
  8236. From Dave (ziggurat29).
  8237. * Common Device Drivers:
  8238. - RTC: Simplify the RTC interface. The old interface was way too
  8239. complex and was not fully implemented anywhere.
  8240. - BH1750FVI: Add a character driver for Rohm Ambient Light Sensor
  8241. BH1750FVI. From Alan Carvalho de Assis.
  8242. - CAN: Improve CAN error reporting. From Frank Benkert.
  8243. - aes.h: Modifications to the crypto API needed for LPC43xx. From
  8244. Alexander Vasiljev.
  8245. - ADC: Interface no longer uses global adc_receive() call. Added a
  8246. new bind() method to the ADC interface. Now the ADC upper half
  8247. driver will register its receipt-of-data callback. This change
  8248. allows the ADC lower half driver to be used with a differ ADC upper
  8249. half.
  8250. * Simulation Platform:
  8251. - Linux Host Networking: Enhance networking support for the
  8252. simulation under Linux. Includes updated support for Linux TUN/TAP,
  8253. and the addition of support for Linux bridge devices. From Steve.
  8254. * ARMv7-A, ARMv7-R, and ARMv7-M:
  8255. - ARMv7-M: Convert more assembly language files for use with the IAR
  8256. toolchain. From Kha Vo.
  8257. - ARMv7-A: Complete re-design of SMP-related logic to initialize each
  8258. CPUn, n > 0, when CONFIG_SMP=y.
  8259. * Atmel SAMV7:
  8260. - Add a JTAG config and ERASE config to Kconfig to set the
  8261. CCFG_SYSIO SYSIO Pins. From David Sidrane.
  8262. - System Reset: Add the up_systemreset interface to the samv7 arch. The
  8263. approach is slightly different in that: 1) It enables ARCH_HAVE_RESET
  8264. and allows the user to set if, and for how long, to drive External
  8265. nRST signal. It also does not contain a default board_reset, as that
  8266. really should be done in the config's src if CONFIG_BOARDCTL_RESET
  8267. is defined. From David Sidrane.
  8268. * Atmel SAMV7 Boards:
  8269. - SAMV71-XULT: Add configuration(s) that were be used to verify VNC
  8270. graphics output as well as mouse and keyboard input.
  8271. * NXP Freescale i.MX6 Boards:
  8272. - Sabre-6Quad: The basic i.MX6 port is complete. This is a minimal
  8273. port at present and probably still has some as-of-yet-undiscovered
  8274. issues.
  8275. - Sabre-6Quad: Basic SMP NSH configuration is now working. But this
  8276. is probably only because the SMP test case does not stress the
  8277. logic. There are know outstanding SMP issues as noted in the
  8278. Sabre-6Quad README.txt file.
  8279. * NXP Freescale LPC43xx:
  8280. - LPC4337jet100: Add definitions for the LPC4337jet100 chip. From
  8281. Alexander Vasiljev.
  8282. * NXP Freescale LPC43xx Drivers:
  8283. - AES: Add AES support. From Alexander Vasiljev.
  8284. * STMicro STM32:
  8285. - STM32 L4: Add configuration options to allow SRAM2 to be used for
  8286. heap, or not at all, and to zero-initialize it on OS start, or not
  8287. at all. From Dave dev@ziggurat29.com.
  8288. - STM32 L4: Add support for HSE and MSI clocks, and auto trim of MSI
  8289. to LSE (needed for USB). From Dave (ziggurat29)
  8290. - STM32 L4: Add support for unique id function to arch; modified board
  8291. to support unique id boardctl. From Dave (ziggurat29)
  8292. * STMicro STM32 Drivers:
  8293. - STM32 F4 RTC: Add a custom RTC driver with support for alarms. From
  8294. Neil Hancock.
  8295. - STM32 L4 QSPI: Add a QSPI driver with DMA support and (optional
  8296. memory mapped mode support. From Dave ziggurat29).
  8297. - STM32, STM32 L4, and STM32 F7 Serial: Add support for compliant
  8298. SD-style breaks. From David Sidrane.
  8299. - STM32 L4 CAN: Add CAN support for STM32L4. From Sebastien Lorquet.
  8300. - STM32 1-Wire: Add support for a custom 1-wire driver. The serial
  8301. driver already supports a 1-wire interface, but this driver uses the
  8302. same serial logic to implement a lower half driver much like the
  8303. I2C lower half driver. From Aleksandr Vyhovanec.
  8304. - STM32 L4 SPI: Add support for SPI 4 and 5 on stm32f411 chips. From
  8305. Konstantin Berezenko.
  8306. - STM32 ADC: Allow omitting use of channels in a lower part of PWM.
  8307. From Pierre-noel Bouteville.
  8308. - STM32 L4 I2C: Get I2C working for STM32L4. From Dave (ziggurat29).
  8309. * STMicro STM32 Boards:
  8310. - STM3220G-EVAL: Add support for both the IAR and uVision GCC IDEs.
  8311. From Kha Vo.
  8312. - STM32F429I Discovery: Add support for the uVision GCC IDE. From
  8313. Kha Vo.
  8314. - STM32F4 Discovery: Integrate BH1750FVI driver in the STM32F4 Discovery
  8315. board. From Alan Carvalho de Assis.
  8316. - STM32L476VG Discovery: Add support for QSPI based N25Qxxx flash.
  8317. From Dave (ziggurat29)
  8318. - STM32L476VG Discovery: Add board ioctls for allowing user application
  8319. to cause QSPI memory mapped mode to be engaged and disengaged. Also
  8320. partitioned QSPI flash for file system and other (eventually xip).
  8321. From Dave (ziggurat29)
  8322. - Nucleo-144: Basic port for the Nucleo-144 board with the STM32F746ZG
  8323. MCU. From Kconstantin Berezenko.
  8324. - STM32F103 Minimum: Add support for this minimual STM32F103CBT6 "blue"
  8325. board. From Alan Carvalho de Assis.
  8326. - STM32F411E Discovery: Add basic configuration for stm32f411e-disco
  8327. board with STM32F411VE chip. From Konstantin Berezenko.
  8328. * Build/Configuration System:
  8329. - Moved NuttX repository to https://bitbucket.org/nuttx/nuttx.
  8330. Eliminated use of sub-modules.
  8331. - Add support for the IAR toolchain for the limited case of the ARMv7-M
  8332. architecture and the STM32 chip. From Aleksandr Vyhovanec.
  8333. - make export: Pass top-level make to the script to allow -j greater
  8334. than 1. From David Sidrane.
  8335. - fs/Kconfig: Allow CONFIG_FS_WRITABLE to be manually selectable. This
  8336. is needed when there are no writable file systems, but write support
  8337. is still needed in BCH or FTL.
  8338. - arch/*/Makefile: Add definitions that can be overrided to use GCC
  8339. instead of LD in the final link. From Paul Alexander Patience .
  8340. * Applications: apps/netutils:
  8341. - apps/netutils/esp8266: ESP8266 driver application. From Pierre-noel
  8342. Bouteville.
  8343. * Applications: apps/examples:
  8344. - apps/examples/alarm: Add a simple test of the ALARM iotcl calls of
  8345. the RTC driver.
  8346. - apps/examples/nximage: Add a configuration option to select
  8347. greyscale.
  8348. * Platforms: apps/platform:
  8349. - apps/platform/nucleo-144: Add platform files for NUCLEO-144
  8350. (NUCLEO-F746ZG). From Mark Olsson.
  8351. - apps/examples/media: You can now override the default device driver
  8352. path by providing an alternal path on the command line. From
  8353. Sébastien Lorquet.
  8354. Works-In-Progress:
  8355. * IEEE802.14.5/6LowPAN. Hooks and framework for this effort were
  8356. introduced in NuttX-7.15. Work has continued on this effort on
  8357. forks from the main repositories, albeit with many interruptions.
  8358. The completion of this wireless feature will postponed until at
  8359. least NuttX-7.17.
  8360. * i.MX6 SMP. Partially functional, but there is more that still
  8361. needs to be done.
  8362. Bugfixes. Only the most critical bugfixes are listed here (see the
  8363. ChangeLog for the complete list of bugfixes and for additional, more
  8364. detailed bugfix information):
  8365. * Core OS:
  8366. - Various places: Search for places where a stray semicolon following
  8367. an if condition cause the if body to be executed unconditionally.
  8368. Fixes in all SAM DMA logic, unionfs, OS signalling logic, and others.
  8369. - enter/leave_critical_section() may attempt to access task lists
  8370. before they have been initialized in the SMP configuration.
  8371. * File System/Block Drivers:
  8372. - SMART MTD: Return code of smart_scan not checked, can cause success
  8373. result in failure case, leading to 'dev' pointer being invalid. From
  8374. Dave (ziggurat29)
  8375. - mount: Fix a backward debug assertion. Noted by David Sidrane.
  8376. * Common Drivers:
  8377. - NRF24L01: Fix backward calculation of relative frequency. Noted by
  8378. Henry Zhang.
  8379. - PCA9555 I/O expander: Fix an error in the PCA9555 driver: Under
  8380. certain error conditions, interrupts were not being re-enabled.
  8381. Sebastien Lorquet.
  8382. - ADS1255: Must not do SPI access from interrupt handler. Use the
  8383. worker thread instead. Must also lock the SPI bus before using it.
  8384. - Several SPI-based drivers modified. All drivers that use SPI must
  8385. call SPI_LOCK and SPI_UNLOCK. This is not optional.
  8386. - MS583730: Fix a bug in crc computation for ms583730. Implement
  8387. POSIX read.
  8388. * Atmel SAMV7:
  8389. - Fix typo in MATRIX register definitions. From Stefan Kolb.
  8390. - SAMV7 Tickless Mode: This is a fix to a problem in the handling of
  8391. the oneshot timer. Due to a wrong assumption concerning the behavior
  8392. directly after the start of the timer/counter the function
  8393. sam_oneshot_cancel(…) calculates the wrong remaining time. The code
  8394. assumes that the counter register is zero directly after the start
  8395. of the timer, but this is not true. To start the time/counter a
  8396. software trigger is invoked, this trigger starts the timer/count and
  8397. sets the counter register to zero, but the reset of the counter
  8398. register is not performed instantly. According to the datasheet:
  8399. "The counter can be reset by a trigger. In this case, the counter
  8400. value passes to zero on the next valid edge of the selected clock."
  8401. Thus the counter is set to zero between 0 and USEC_PER_TICK
  8402. microseconds after the clock was started.
  8403. In my fix I use the freerun count value to determine if at least one
  8404. tick passed since the start of the timer and thus if the value of
  8405. the oneshot counter is correct. I also tried to use the function
  8406. up_timer_gettime(…) to achieve this but, at least if compiled with
  8407. no optimization the problem vanishes without using the value of the
  8408. function, the function call takes too long.
  8409. Another problem treated in the fix is that if the oneshot timer/counter
  8410. is canceled, we only know the remaining time with a precision of
  8411. USEC_PER_TICK microseconds. This means the calculated remaining time
  8412. is between 0 and USEC_PER_TICK microseconds too long. To fix this I
  8413. subtract one tick if the calculated remaining time is greater than
  8414. one tick and otherwise set the remaining time to zero. By doing so
  8415. the measured times are much more precise as without it. From Stefan
  8416. Kolb.
  8417. * Atmel SAMA5:
  8418. - SAMA5: Stefan Kolb's change to the SAMV7 Oneshot Timer should also
  8419. be applied to the SAMA5 oneshot time since the drivers are identical.
  8420. * Atmel SAM3/4:
  8421. - SAM3/4: Stefan Kolb's change to the SAMV7 Oneshot Timer should also
  8422. be applied to the SAM3/4 oneshot time since the drivers are identical.
  8423. * Atmel SAMV7 Drivers:
  8424. - SAMV7 TWIHS (as well as SAM3/4 and SAMA5: Ensure that the TWIHS
  8425. (i2c) hw get's its clock set when the sequence of
  8426. sam_i2cbus_initialize(), sam_i2cbus_uninitialize(), then
  8427. sam_i2cbus_initialize() or twi_reset() is called. I found this a
  8428. while back in the stm32 family, so there may be more arch-es with
  8429. this sort of bug. I suppose any driver that has the notion of "do
  8430. not set the freq if it is already set" could be suspect. From David
  8431. Sidrane.
  8432. - USBHS Device: Remove disabling of whole USB on suspend of USBHS.
  8433. This fix removes the disabling of the whole USB peripheral on
  8434. suspend interrupt. Its enough to freeze the clock instead. When
  8435. disabling the whole peripheral, the next wakeup-interrupt comes up
  8436. with an disabled clocking. The unfreeze clock has no effect, because
  8437. the master clock is disabled. This makes all registers, including
  8438. the IDR unwriteable and the IRQ falls in an endless loop blocking
  8439. the whole system. Furthermore the disabling of the peripheral clock
  8440. prevents hotplugging or reconnecting the USB. From Frank Benkert.
  8441. - MCAN: Fix missing unlock of device in MCAN mcan_txempty(). From
  8442. Frank Benkert.
  8443. * STMicro STM32:
  8444. - STM32 L4 Clocking: Problem with resetting backup domain clears
  8445. clocking options set up before in *rcc.c use INITS flag to avoid
  8446. magic reg value to detect power up reset state of RTC correct a
  8447. problem clearing interrupt flags (they weren't) which prevented an
  8448. alarm from ever being used more than once per reset cycle. From
  8449. Dave (ziggurat29)
  8450. * STMicro STM32 Drivers:
  8451. - STM32L4 SPI: That STM32Lr SPI driver is quite different. They now
  8452. handle frames of arbitrary size between 4 and 16 bits. It was broken
  8453. before a new bit has to be set (RX fifo threshold) to handle <= 8-bit
  8454. transactions. If not set, the default is 16-bit packed >=8-bit
  8455. frames and the RXNE bit is never set (it is set when 16-bits are
  8456. received). weird things as always. This also add 8-bit access
  8457. routines to the data register, because a 16-bit access to the data
  8458. register when the frame size is below 9 bits is interpreted as a
  8459. packed dual frame exchange. Sebastien Lorquet.
  8460. - STM32: Correct some bad commits that broke the LTDC display example.
  8461. From Marco Krahl.
  8462. - STM32 F4 RTC: Fix logic in F4 RTCC driver that prevent ALARM
  8463. interrupt. From Neil Hancock.
  8464. - STM32 F1 ADC: Fix STM32 ValueLine ADC IRQ number selection. From
  8465. David Sidrane.
  8466. * STMicro STM32 Boards:
  8467. - STM32F429I Discovery: Correct some bad commits that broke the LTDC
  8468. display example. From Marco Krahl.
  8469. * TI Tiva:
  8470. - GPIO Interrupts: Fix a bug of GPIO falling-edge interrupt for tiva.
  8471. From Young.
  8472. * C Library:
  8473. - math: Add a NAN test on 'x' in asin function of lib_asin.c. Suggested
  8474. by Pierre-noel Bouteville.
  8475. * Build/Configuration System:
  8476. - Several Makefiles: Add .PHONY definitions to prevent 'clean up to date'
  8477. message weirdness when 'make clean' is done with no .config or
  8478. Make.defs file.
  8479. NuttX-7.17 Release Notes
  8480. ------------------------
  8481. The 117th release of NuttX, Version 7.17, was made on July 25, 2016,
  8482. and is available for download from the Bitbucket.org website. Note
  8483. that release consists of two tarballs: nuttx-7.17.tar.gz and
  8484. apps-7.17.tar.gz. These are available from:
  8485. https://bitbucket.org/nuttx/nuttx/downloads
  8486. https://bitbucket.org/nuttx/apps/downloads
  8487. Both may be needed (see the top-level nuttx/README.txt file for build
  8488. information).
  8489. Additional new features and extended functionality:
  8490. * File System and Block and MTD Drivers:
  8491. - drivers/mtd: Add a driver of IS25xP SPI flash devices. Based on
  8492. sst25xx driver. From Marten Svanfeldt.
  8493. * Networking and Network Drivers:
  8494. - Break out internal interface psock_ioctl().
  8495. * Common Device Drivers:
  8496. - PTYs: Added support for pseduo-terminals: Device drivers that can be
  8497. used for communications between tasks (usually with re-directed I/O).
  8498. Based on existing pipe logic.
  8499. - Button upper half driver: Added support for poll().
  8500. - CAN: Add support for poll. From Paul Alexander Patience.
  8501. - GPIO: Add support for a simple GPIO driver. It supports only pre-
  8502. configured input, output, and interrupting pins with basic input and
  8503. output operations. Interrupt events can lead to notification via a
  8504. signal.
  8505. - I/O Expander: Shadow-Mode: The output- and configuration registers of
  8506. the IO-Expander are held in the microcontrollers memory and only
  8507. written to the IO-Expander. This reduces bus traffic and is more
  8508. error-proof than the normal read-modify-write operation. Retry Mode:
  8509. If enabled and an error occurs while writing to the IO-Expander the
  8510. current transmission is automatically repeated once. From Michael
  8511. Spahlinger.
  8512. - Pipes/FIFOs: Add support to allocating different sizes for pipe and
  8513. fifo buffers. Adds mkfifo2() and pipe2() which are just like mkfifo()
  8514. and pipe(), but allow control of the size of the underlying, in-memory
  8515. circular buffer. Move pipe() and mkpipe() to the C library, they are
  8516. no longer core OS interfaces. Capability currenty used only by PTY
  8517. logic to support, configurable, smaller buffers for PTYs.
  8518. * SYSLOG/Debug Output:
  8519. - SYSLOG: Consolidated all SYSLOG logic in drivers/syslog. Added an
  8520. abstraction layer that supports: (1) redirection of SYSLOG outpout.
  8521. This is usually so that you can boot with one SYSLOG output but
  8522. transition to another SYSLOG output when the OS has initialialized,
  8523. (2) adds common serialization of interrupt output as a configuration
  8524. option. Without this configuration setting, interrupt level output
  8525. will be asynchronous. And (3) vsyslog is now a system call and is
  8526. usable with other-than-FLAT builds.
  8527. - SYSLOG: syslog() will now automatically redirect output to
  8528. lowsyslog() if called from an interrupt handler.
  8529. - Extended SYSLOG logic so that we can send SYSLOG output to a file.
  8530. - SYSLOG character device channel will now expand LF to CR-LF.
  8531. Controllable with a configuration option.
  8532. - Add a SYSLOG character device that can be used to re-direct output
  8533. to the SYSLOG channel (Not be be confused the SYSLGO output to a
  8534. character device).
  8535. - Debug features are now enabled separately from debug output.
  8536. (1) CONFIG_DEBUG is gone. It is replaced with CONFIG_DEBUG_FEATURES.
  8537. (2) The macros dbg() and vdbg() have renamed as _err() and _info(),
  8538. respectively. This also applies to all of the variants as well,
  8539. XXdbg() and XXvdbg(). (3) Add a new debug level, _warn() (and
  8540. all variants XXwarn(), XXvwarn(), etc.). (4) Debug assertions can
  8541. now be enabled separately from debug output. (5) You can now enable
  8542. subsystem/device driver debug output at different output levels. For
  8543. example, CONFIG_DEBUG_FS no longer enables file system debug output
  8544. It enables general file system debug logic and enables selection of
  8545. CONFIG_DEBUG_FS_ERROR, CONFIG_DEBUG_FS_WARN, and CONFIG_DEBUG_FS_INFO.
  8546. - Since the SYSLOG layer now automatically handles low-level vs.
  8547. high-level output, the low-level (ll) variants of the debug macros
  8548. were eliminated.
  8549. - Reviewed all uses of *err(). These macro family should indicate
  8550. only error conditions. Convert *err() to either *info() or add
  8551. ERROR:, depending on if an error is reported.
  8552. - _alert(): New debug macro: _alert(). This is high priority,
  8553. unconditional output and is used to simplify and standardize crash
  8554. error reporting.
  8555. - Many CONFIG_DEBUG_* options did not have matching macros defined in
  8556. include/debug.h. Rather, there were various definitions scattered
  8557. throughout the sourse tree. These were collected together and
  8558. centralized with single macro definitions in include/debug.h
  8559. * Simulation Platform:
  8560. - Added the simulated QSPI (N25Q) flash to the simulation and extened
  8561. flash simulation capabilities to run with MTD drivers based on config
  8562. options (currently m25p, sst26 and w25). From Ken Pettit.
  8563. * Atmel SAMV7 Drivers:
  8564. - SPI: SPI-Freq. 40MHz; VARSELECT; hw-features This change adds the
  8565. following improvements:
  8566. o Increase the allowed SPI-Frequency from 20 to 40 MHz.
  8567. o Correct and rename the "VARSELECT" option This option was
  8568. included in the code as "CONFIG_SPI_VARSELECT" but nowhere
  8569. defined in a Kconfig file. The change renames it to
  8570. "CONFIG_SAMV7_SPI_VARSELECT" and corrects the implementation
  8571. according the datasheet of Atmel. In short, this option
  8572. switches the processor from "fixed peripheral selection"
  8573. (single device) to "variable peripheral selection" (multiple
  8574. devices on the bus).
  8575. o Add a new Function to the interface to control the timing and
  8576. delays of the chip according the ChipSelect lines. This function
  8577. can control the delay between the assertion of the ChipSelect and
  8578. the first bit, between the last bit and the de-assertion of the
  8579. ChipSelect and between two ChipSelects. This is needed to tune
  8580. the transfer according the specification of the connected devices.
  8581. o Add three "hw-features" for the SAMV7, which controls the behavior
  8582. of the ChipSelect:
  8583. - force CS inactive after transfer: this forces a (short) de-
  8584. assertion of the CS after a transfer, even if more data is
  8585. available in time
  8586. - force CS active after transfer: this forces the CS to stay
  8587. active after a transfer, even if the chip runs out of data.
  8588. Btw.: this is a prerequisit to make the LASTXFER bit working
  8589. at all.
  8590. - escape LASTXFER: this suppresses the LASTXFER bit at the end
  8591. of the next transfer. The "escape"-Flag is reset automatically.
  8592. From Frank Benkert
  8593. - TWISHS: Driver improvements from Michael Spahlinger.
  8594. - GPIO-Driver fixed for Open-Drain Pins:
  8595. o sam_gpioread: Now the actual line level from the pin is read
  8596. back. This is extremely important for Open-Drain Pins, which
  8597. can be used bidirectionally
  8598. o Re-Implemented twi_reset-function and enhanced it so it can be
  8599. called from inside the driver (see next point)
  8600. o Glitch-Filter: Added a configuration option to enable the twi-
  8601. built-in glitch filter
  8602. o Added a "Single Master Mode": In EMC Testing the TWI-Bus got
  8603. stuck because the TWI-Master detected a Multi-Master access (but
  8604. there is no second master). With the option "Single Master" we
  8605. detect these events and automatically trigger a twi_reset. We
  8606. also do an automatic recovery if a slave got stuck (SDA stays
  8607. low).
  8608. With the above changes I²C-Bus reliability in harsh environments (eg.
  8609. EMC) is greatly improved. The small change in the GPIO-Driver was
  8610. necessary because otherwise you cannot read back the correct line
  8611. status of Open-Drain Outputs and this is needed by the twi_reset
  8612. function. From Michael Spahlinger
  8613. * NXP Freescale LPC43xx Drivers:
  8614. - EMC: Extend LPC43xx EMC code to support SDRAM on a dynamic memory
  8615. interface. From Vytautas Lukenskas.
  8616. * NXP Freescale Kinetis:
  8617. - Kinetis K64: Add basic support for the K64 family. I leveraged the
  8618. changes from https://github.com/jmacintyre/nuttx-k64f and merged
  8619. into the existing kinetis code with a lot of changes and additions
  8620. (like pin multiplexing definitions).
  8621. * NXP Freescale Kinetis Drivers:
  8622. - Add a KinetisUSB device controller driver. Derived from the pic32mx
  8623. usb driver, which uses the same usb controller. From kfazz.
  8624. - Kinetis pwm support, based on the KL pwm driver. From kfazz.
  8625. - Kinetis Ethernet: Add support for the KSZ8081 PHY.
  8626. - Kinetis Ethernet: Modified Ethernet driver to try all PHY addresses
  8627. and then only fail if the driver cannot find a usable PHY address.
  8628. This means that you no longer have to specific the PHY address in
  8629. advance.
  8630. - Kinetis Ethernet: Add support for CONFIG_NET_NOINTS. The driver no
  8631. longer runs the networking at interrupt level but can defer interrupt
  8632. work to the high-priority work queue.
  8633. * NXP Freescale Kinetis Boards:
  8634. - Teensy-3.x: Add USB support and a usbnsh configuration.
  8635. From kfazz (2016-06).
  8636. - Freedom-K64F: Add support for the NXP Freedom-K64F board at 120MHz.
  8637. This is primarily the work of Jordan Macintyre. I leveraged this
  8638. code from https://github.com/jmacintyre/nuttx-k64f which was, itself,
  8639. a leverage from the old K60 TWR configuration. This includes
  8640. significant corrections (LEDs, buttons, README, etc) and extensions
  8641. and updates to match more recent BSPs.
  8642. - Freedom-K64F: Added a configuration that supports networking.
  8643. * STMicro STM32:
  8644. - STM32 F1-4: Added support for the STM32F105R. From Konstantin
  8645. Berezenko.
  8646. - STM32 F4: Added support for the STM32FF76xxx and STM32FF7xx
  8647. families. From David Sidrane.
  8648. - STM32 F1-4: Add support for Tickless mode (two timer
  8649. implementation). From Max Neklyudov.
  8650. - STM32 L4: Add support for tickless OS, and incidentally timers,
  8651. PWM, oneshot, free-running.... From ziggurat29.
  8652. * STMicro STM32 Drivers:
  8653. - STM32 F1-4: Add the up_getc() function to STM32 in order to support
  8654. the minnsh configuration. From Alan Carvalho de Assis.
  8655. - STM32 F7: Add SPI driver. From David Sidrane.
  8656. - STM32 F7: Add SPI, I2C, and ADC drivers. From Lok Tep.
  8657. - STM32 L4: Add ioctls to set/get CAN bit timing in stm32l4. Add
  8658. ioctl hooks to allow future management of can id filters. From
  8659. Sebastien Lorquet.
  8660. - STM32 L4: Add some CAN mode IOCTL calls. These will be useful for
  8661. device autotest when the application boots. They are redundant
  8662. with the CONFIG_CAN_LOOPBACK option, which can now just be
  8663. interpreted as a default setting. From Sebastien Lorquet.
  8664. - STM32 F1-4: Port STM32L4 CAN IOCTLs to STM32. From Sebastien Lorquet.
  8665. - STM32 L4: Implementation of loopback IOCTLs. From Sebastien
  8666. Lorquet.
  8667. - STM32 F7: Added SDMMC1 support for stm32F7 74-75. From Lok Tep.
  8668. - STM32 F7: Add USB support. From Lok Tep.
  8669. - STM32 F7: Added PWR, RTC, and BBSRAM support for stm32f7. From David
  8670. Sidrane.
  8671. - STM32 F7: Added STMF7xxx RTC. From David Sidrane.
  8672. - STM32 F7: Added STM32F7 DBGMCU. From David Sidrane.
  8673. - STM32 L4: Port support for both RX FIFOs from STM32 CAN. From Paul
  8674. Alexander Patience.
  8675. * STMicro STM32 Boards:
  8676. - Added a minnsh configuration for the STM32F103-Minimum board. From
  8677. Alan Carvalho de Assis .
  8678. - Added support for the Nucleo-F767ZI board. From David Sidrane.
  8679. - Nucleo-144/Nucleo-F767ZI: Add test for STM32 F7 SPI. From David
  8680. Sidrane.
  8681. - Nucleo-144: Added SDMMC support to Nucleo-144. From David Sidrane.
  8682. - Olimex STM32-E4077: Add support for Olimex STM32 E407 board. From
  8683. Mateusz Szafoni.
  8684. - Nucleo-144: Added USB OTG device to Nucleo-144. From David Sidrane.
  8685. - Nucleo-144: Added bbsram test to Nucleo-144. From David Sidrane.
  8686. - STM32F4 Disovery: add CAN support for STM32F4 Discovery. From
  8687. Matthias Renner.
  8688. - STM32F4 Disovery: added a canard configuration files. From
  8689. Matthias Renner.
  8690. - STM32F4 Discovery: Add FPU support for ostest for the STM32F4
  8691. Disovery platform. From David Alessio.
  8692. - STM32L476 Discovery: Update stm32l476 disco to include init code for
  8693. smartfs and nxffs for cases where those fs are included in build.
  8694. From ziggurat29.
  8695. * C Library/Header Files:
  8696. - include/assert.h: Check if NDEBUG is defined. From Paul Alexander
  8697. Patience.
  8698. - assert.h: Define static assert for C++ usage. From Paul Alexander
  8699. Patience.
  8700. - Add crc64 support. From Paul Alexander Patience.
  8701. - hex2bin: Move the portable library portion of apps/system/hex2bin
  8702. the C library with the OS internals. It is used in certain internal
  8703. boot-loader builds.
  8704. - Add raise().
  8705. - libm: This change should significantly improve the performance of
  8706. single precision floating point math library functions. The vast
  8707. majority of changes have to do with preventing the compiler from
  8708. needlessly promoting floats to doubles, performing the calculation
  8709. with doubles, only to demote the result to float. These changes only
  8710. affect the math lib functions that return float. From David Alessio.
  8711. - printf(): If there are no streams, let printf() fall back to use
  8712. syslog() for output.
  8713. - Move pipe() and mkpipe() to nuttx/libc, they are no
  8714. longer core OS interfaces. Capability currenty used only by PTY logi
  8715. to support, configurable, smaller buffers for PTYs.
  8716. - Move driver-related files from include/nuttx to include/nuttx/drivers.
  8717. Move driver related prototypes out of include/nuttx/fs/fs.h and into
  8718. new include/drivers/drivers.h.
  8719. - include /nuttx/lib: Move library-related files from include/nuttx to
  8720. include/nuttx/lib.
  8721. * Build/Configuration System:
  8722. - Custom Board Configuration: Add logic to support custom board
  8723. directories that include a Kconfig file. During the context phase
  8724. of the build, any Kconfig file in the custom board directory is
  8725. copied into configs/dummy, replacing the existing Kconfig file with
  8726. the target Kconfig file.
  8727. - Remove the includes/apps link to apps/include. It is no longer
  8728. used. From Sebastien Lorquet.
  8729. * Tools:
  8730. - tools/tesbuild.sh will now build NxWM configurations.
  8731. * Appplication Build/Configuration System:
  8732. - Change to the way that apps/ Kconfig files are generated in
  8733. order to better support reuse of the apps/ directory in NuttX
  8734. products. Changes include: Make the full tree use wildcards
  8735. make.defs, Add empty preconfig rules to 'leaf' makefiles, Use
  8736. directory.mk for recursive dir makefiles, Individual app kconfig
  8737. fixes, Recursive Kconfig autogeneration, Add kconfig files for
  8738. pcode and tiff, and fix a gitignore rule, From Sébastien Lorquet.
  8739. - apps/include directory structure reorganized. There are no longer
  8740. any header files in the apps/include/. directory. Rather, sub-
  8741. directories were added to match the partitioning of apps/ sub-
  8742. directories and the header files were moved into the appropriate
  8743. sub-directory. This change is intended to help with some changes
  8744. being considered by Sébastien Lorquet.
  8745. - Call all includes from <apps/bla/bla.h> to "bla/bla.h". From Sebastien
  8746. Lorquet.
  8747. - Add apps/include to include path in top-level Make.defs file.
  8748. * Applications: apps/nshlib:
  8749. - Make NSH net-initialization be a configuration option. From Marten
  8750. Svanfeld.
  8751. - Add NTP client initialization in NSH network startup logic. From
  8752. David S. Alessio .
  8753. - 'ps' command now prints out the stack usage if stack coloration is
  8754. enabled. From Frank Benkert.
  8755. - Allow stack usage to be disabled on constrained systems. From David
  8756. Sidrane.
  8757. * Applications: apps/netutils:
  8758. - NTP Client: Add retries. From David S. Alessio.
  8759. - NTP Client: The NTP client will now optionally use pool.ntp.org as
  8760. the NTP server; and reset the retry count upon success -- more robust.
  8761. From David Alessio.
  8762. - ESP8266: Add logic to set the BAUD rate. From Pierre-noel Bouteville.
  8763. - ESP8266: In Kconfig, select ARCH_HAVE_NET when NETUTILS_ESP8266 is
  8764. selected. This allows, among other things, support for network debug
  8765. output. From Pierre-noel Bouteville.
  8766. * Applications: apps/fsutils:
  8767. - flash_eraseall: IOCTL wrapper for MDCIO_BULKERASE command. Was in
  8768. nuttx/drivers/mtd. Moved to apps/fsutils because the call directly into
  8769. the OS was incorrect.
  8770. * Applications: apps/canutils:
  8771. - canlib: Basic CAN utility library. From Sebastien Lorquet.
  8772. * Platforms: apps/system:
  8773. - flash_eraseall: Now uses the IOCTL wrapper at apps/fsutils/flash_eraseall.
  8774. * Platforms: apps/platform:
  8775. - Add platform files for Olimex STM32 E407. From Mateusz Szafoni.
  8776. * Applications: apps/examples:
  8777. - apps/examples/canard: Add canard example application. From
  8778. Matthias Renner.
  8779. - apps/examples/pty_test: PTY test program. From Alan Carvalho de
  8780. Assis.
  8781. Works-In-Progress:
  8782. * IEEE802.14.5/6LowPAN. Hooks and framework for this effort were
  8783. introduced in NuttX-7.15. Work has continued on this effort on
  8784. forks from the main repositories, albeit with many interruptions.
  8785. The completion of this wireless feature will postponed until at
  8786. least NuttX-7.18.
  8787. * i.MX6 SMP. Partially functional, but there is more that still
  8788. needs to be done.
  8789. Bugfixes. Only the most critical bugfixes are listed here (see the
  8790. ChangeLog for the complete list of bugfixes and for additional, more
  8791. detailed bugfix information):
  8792. * Core OS:
  8793. - semaphores: Need to set errno to EINVAL on errors in sem_post()
  8794. and sem_wait(). From Paul Alexander Patience.
  8795. * File System/Block Drivers/MTD Drivers:
  8796. - Several MTD FLASH drivers nullify the freed 'priv' structure and
  8797. failed to return NULL as stated in the comments. Result, will
  8798. operate on a NULL pointer later. Noted by David Sidrane.
  8799. - VFS ioctl(). Per comments from David Sidrane, file_ioctl() should
  8800. not return succeed if the ioctl method is not supported. It
  8801. probably should return ENOTTY in that case.
  8802. - SST26 Driver: Before accessing the sst26 flash, the "Global Unlock"
  8803. command must me executed, which I do in the sst26 driver. BUT re-
  8804. reading the datasheet, the WREN instruction is required to enable
  8805. the execution of this command. This was not done. I have no idea how
  8806. the driver currently works except by chance. The writes should never
  8807. happen at all, the flash is half-enabled! From Sebastien Lorquet.
  8808. - N25Qxx Driver: Alter the notion of 'blocksize' to be equivalent to
  8809. 'flash write page size' in order to align with assumptions in the
  8810. smartfs driver (at least, maybe other things do as well). Correct a
  8811. bug that was previously masked by having blocksize=eraseblocksize
  8812. which would cause buffer overflows and delicious hardfaults.
  8813. Trivial spelling changes in comments, etc. From ziggurat29.
  8814. - SmartFS: Fix a 32-byte memory leak. From Ken Pettit.
  8815. - SMART MTD layer: Fixes freesector logic error when sectorsPerBlk=256,
  8816. adds DEBUGASSERT for invalid geometry and additional memory debug
  8817. logic. Also fixes the dangling pointer on error bug. From Ken
  8818. Pettit.
  8819. * Common Drivers:
  8820. - USB CDC/ACM Device Class: cdcacm_unbind leaks write request objects.
  8821. This arises due to freeing the bulk IN endpoint before the loop
  8822. that frees the requests via cdcasm_freereq. That function checks
  8823. the parameters and skips the freeing if either is NULL. Freeing
  8824. the bulk IN enpoint will cause the first param to be NULL, thereby
  8825. bypassing the free operation. To fix, I moved the release of the
  8826. bulk IN endpoint until after to loop (much as was the case for the
  8827. OUT and read requests, which did not exhibit the problem). From
  8828. ziggurat29.
  8829. - Pipes and FIFOs: Add missing configuration for pipe ring buffer
  8830. size. From Frank Benkert.
  8831. - UART 16550: Handle when CONFIG_SERIAL_UART_ARCH_IOCTL is not
  8832. enabled. From Heath Petersen.
  8833. - Common Serial Upper Half: Fix a race condition noted by Stefan
  8834. Kolb. Between the test if the TX buffer is full and entering a
  8835. critical section, bytes may be removed from the TX buffer making
  8836. the wait unnecessary. The unnecessary wait is an inefficiency,
  8837. but not really a problem. But with USB CDC/ACM it can be a problem
  8838. because the entire TX buffer may be emptied when we lose the race.
  8839. If that happens that uart_putxmitchar() can hang waiting for data
  8840. to be removed from an empty TX buffer.
  8841. - USB MSC Device Class: Add locks when removing request from queue.
  8842. From Wolfgang Reissnegger.
  8843. - USB MSC Device Class: Fix reversed logic on waiting for SCSI thread
  8844. start. The scsi thread was waiting for the wrong condition.
  8845. However, this was masked by the fact that the code creating the
  8846. scsi thread was also holding usbmsc_scsi_lock(priv) while
  8847. initializing data, hence this lock synchronized the scsi thread
  8848. start with init completion. From Wolfgang Reissnegger.
  8849. * Graphics and Graphic Drivers:
  8850. - Correct conditional compilation in ST7565 LCD driver. From Pierre-
  8851. noel Bouteville
  8852. * Networking:
  8853. - In both IPv6 and IPv4 incoming logic: (1) Should check if the
  8854. packet size is large enough before trying to access the packet
  8855. length in the IP header. (2) In the comparison between the IP
  8856. length and the full packet length, need to subtract the size of
  8857. he link layer header before making the comparison or we will get
  8858. false positives (i.e., the packet is really too small)
  8859. - TCP Networking: While working with version 7.10 I discovered a
  8860. problem in TCP stack that could be observed on high network load.
  8861. Generally speaking, the problem is that RST flag is set in
  8862. unnecessary case, in which between loss of some TCP packet and its
  8863. proper retransmission, another packets had been successfully sent.
  8864. The scenario is as follows: NuttX did not receive ACK for some sent
  8865. packet, so it has been probably lost somewhere. But before its
  8866. retransmission starts, NuttX is correctly issuing next TCP packets,
  8867. with sequence numbers increasing properly. When the retransmission
  8868. of previously lost packet finally succeeds, tcp_input receives the
  8869. accumulated ACK value, which acknowledges also the packets sent in
  8870. the meantime (i.e. between unsuccessful sending of lost packet and
  8871. its proper retransmission). However, variable unackseq is still set
  8872. to conn->isn + conn->sent, which is truth only if no further
  8873. packets transmission occurred in the meantime. Because of incorrect
  8874. (in such specific case) unackseq value, few lines further condition
  8875. if (ackseq <= unackseq)is not met, and, as a result, we are going to
  8876. reset label. From Jakub Lagwa.
  8877. * ARMv7-M:
  8878. - ARM stack check: Fix double fault on IDLE task with stack size = 0.
  8879. From David Sidrane.
  8880. * Atmel SAMV7 Drivers:
  8881. - CAN: CAN Message Filtering fixed: (1) stdfilters didn't work because
  8882. the filter was never enabled (wrong number of bits to shift), and
  8883. (2) Filters were never used because the configuration register
  8884. cannot be written without using the initialization mode. Both bugs
  8885. are fixed by this change. Filtering has been tested with both
  8886. standard and extended identifiers and is now working properly. From
  8887. Michael Spahlinger.
  8888. * Atmel SAMA5:
  8889. * Atmel SAM3/4 Drivers:
  8890. - Fix some errors in AFEC header file. From OrbitalFox.
  8891. - DAC: DACC_WPMR_WPKEY_MASK -> DACC_WPMR_WPKEY. From Wolfgang
  8892. Reissnegge.
  8893. - Timer: Fix ops check in TCIOC_STOP. From Wolfgang Reissnegge.
  8894. - I2C: Fix reversed logic in twi_startmessage(). From Wolfgang
  8895. Reissnegger.
  8896. - SAM3/4 UDP: Fix handling of endpoint RX FIFO banks. This fixes
  8897. a race condition where the HW fills a FIFO bank while the SW is
  8898. busy, resulting in out of sequence USB packets.
  8899. * Atmel SAMV7 Drivers:
  8900. - USBHS Device: This change solves a problem which causes data loss
  8901. while sending data via USB. This problem is caused by an incorrect
  8902. handling of the endpoint state in the USB driver sam_usbdevhs. This
  8903. leads under some circumstances to situations in which an DMA
  8904. transfer is setup while a previous DMA transfer is currently active.
  8905. Amongst other things I introduced the new endpoint state
  8906. USBHS_EPSTATE_SENDING_DMA for the fix. To reproduce the problem, I
  8907. used a program which send as many data as possible via a CDC/ACM
  8908. device and verified the received data on the PC. From Stefan Kolb.
  8909. * NXP Freescale Kinetis Drivers:
  8910. - Timers: Support up to 8 channels per timer. From kfazz.
  8911. * NXP Freescale Kinetis Boards:
  8912. - Teensy 3.x clock fixes: The High Gain bit in MCG_C1 was preventing
  8913. teensy from booting except after a programming session. The second
  8914. change doesn't appear to change any functionality, but complies with
  8915. restrictions in the k20 family reference manual on FEI -> FBE clock
  8916. transiions. From kfazz.
  8917. * NXP Freescale LPC17xx Drivers:
  8918. - LPC17 Ethernet: Needs to correctly ignore PHYID2 revision number
  8919. when comparing PHY IDs.
  8920. * NXP Freescale LPC43xx Drivers:
  8921. - Fix errors in GPIO interrupt logic. From v01d (phreakuencies)
  8922. - Ethernet: Correct auto-negotiation mode in the LPC43xx Ethernet.
  8923. From Alexander Vasiljev
  8924. - Writing zero to NVIC_IRQ_ENABLE has no effect. Disable interrupts
  8925. with NVIC_IRQ_CLEAR. From Paul Alexander Patience.
  8926. - SPIFI: If CONFIG_SPIFI_SECTOR512 undefined, lpc43_bwrite doesn't do
  8927. actual write (probably copy/paste errors). Still not sure about
  8928. current state of lpc43_spifi implementation, but for me NXFFS works
  8929. with this change. From Vytautas Lukenskas.
  8930. * Qemu-i486:
  8931. - Fix qemu-i486/ostest/Make.defs test for M32. From Heath Petersen.
  8932. * SiLabs EFM32 Drivers:
  8933. - Fix EFM32 FLASH conditional compilation. From Pierre-noel
  8934. Bouteville
  8935. - Writing zero to NVIC_IRQ_ENABLE has no effect. Disable interrupts
  8936. with NVIC_IRQ_CLEAR. From Paul Alexander Patience.
  8937. * STMicro STM32:
  8938. - STM32 F1-F4: In PWM driver, just update duty if frequency is not
  8939. changed and PSM started. This removeis glitch or blinking when
  8940. only duty is frequently changed. From Pierre-noel Bouteville.
  8941. * STMicro STM32 Drivers:
  8942. - STM32 F7: Fixed STM32F7 DMA stm32_dmacapable. DMA working on SDMMC.
  8943. From David Sidrane.
  8944. - STM32 F1-F4 Timer Driver: Change calculation of per- timer pre-scaler
  8945. value. Add support for all timers
  8946. - STM32 F1-F4: Correct conditional compilation in STM32 timer capture
  8947. logic. From Pierre-noel Bouteville
  8948. - STM32 F1-F4: Fix STM32 DMA code and configuration for STM32F37X chips.
  8949. From Marten Svanfeldt.
  8950. - STM32 F1-F4: Fix compilation errors in debug mode of stm32_pwm.c.
  8951. From Konstantin Berezenko.
  8952. - STM32 F1-F4: Correct the CAN2 RX IRQ number for stm32f10xx chips.
  8953. From Konstantin Berezenko.
  8954. - STM32 F1-F4: Move backup domain reset to to earlier in the
  8955. initialization sequence (stm32_rcc.c() in order to avoid disabling
  8956. LSE during RTC initialiation. From Alan Carvalho de Assis.
  8957. - STM32 F1-F4: When configuring a GPIO via stm32_configgpio() the
  8958. function will first set the mode to output and then set the initial
  8959. state of the gpio later on. If you have an application with an
  8960. externaly pulled-up pin, this would lead to a glitch on the line
  8961. that may be dangerous in some applications (e.G. Reset Line for
  8962. other chips, etc). This changes sets the output state before
  8963. configuring the pin as an output. From Pascal Speck .
  8964. - STM32 F7: Apply Pascal Speck's GPIO STM32 change to STM32 L4.
  8965. - STM32 L4: Apply Pascal Speck's GPIO STM32 change to STM32 L4.
  8966. From Sebastien Lorquet.
  8967. - STM32 F7: BUGFIX: PLLs IS2 and SAI P Calculation. From David
  8968. Sidrane.
  8969. - STM32 L4: STM32 CAN fixes need to be backported to STM32L4 as well.
  8970. - STM32 F1-F4 and L4: Writing zero to NVIC_IRQ_ENABLE has no effect.
  8971. Disable interrupts with NVIC_IRQ_CLEAR. From Paul Alexander
  8972. Patience.
  8973. - STM32 F7: STMF7xxx RTC: (1) Remove proxy #defines, (2) Ensure the
  8974. LSE(ON) etal are set and remembered in a) A cold start (RTC_MAGIC
  8975. invalid) of the RTC, and b) A warm start (RTC_MAGIC valid) of the
  8976. RTC but a clock change. The change was needed because in bench
  8977. testing a merge of the latest's STM32 53ec3ca (and friends) it
  8978. became apparent that the sequence of operation is wrong in the
  8979. reset of the Backup Domain in the RCC code. PWR is required before
  8980. the Backup Domain can be futzed with. !!!This Code should be tested
  8981. on STM32 and if needed rippled to the STM32 families. From David
  8982. Sidrane.
  8983. - STM32 F1-F4: STM32 BBSRAM fixed (and formatted) flags. From David
  8984. Sidrane.
  8985. - STM32 F7: STM32F7 BBSRAM fixed (and formatted) flags. From David
  8986. Sidrane.
  8987. - STM32 L4: Fix incorrect clock setup for LPTIM1. From ziggurat29.
  8988. - STM32 F4/L4 RTC ALARM: were enabling interrupts too early in the
  8989. power-up sequence, BEFORE the interrupt system was being
  8990. initialized.
  8991. * STMicro STM32 Boards:
  8992. - STM32 board.h: Fix STM32 timer input clock definitions. From David
  8993. Sidrane.
  8994. * TI Tiva Drivers:
  8995. - Bug Fix in tiva_serial.c - UART5, UART6 and UART7 were not being
  8996. configured as TTYS0 for printing over serial console. From Shirshak
  8997. Sengupta.
  8998. * C Library/Header Files:
  8999. - include/signal.h: Change type of SIG_ERR, SIG_IGN, ... to
  9000. _sa_handler_t. The type void does not work with the IAR toolchain.
  9001. From Aleksandr Vyhovanec.
  9002. - crc16: fix error. From Paul Alexander Patience.
  9003. - strtoul() and strtoull(): Fix errno settings required by function
  9004. definition. Resolved Bitbucket Issue #1. From Sebastien Lorquet.
  9005. * Build/Configuration System:
  9006. - Build system: This change fixes a build problem that only occurs
  9007. when reconfiguring from Linux to Windows or vice-versa. It is a
  9008. problem that was present but not usually experienced until two
  9009. things happened: (1) The pre_config target was added to run before
  9010. the menconfig operation and (2) the context target was added before
  9011. the pre_config target in order to set up the correct symbolic links
  9012. (in the apps/platform directory) needed by the pre_config target.
  9013. But then now if you start with a Linux system and run 'make
  9014. menuconfig' to switch to Linux, the context target will execute
  9015. first and set up POSIX style symbolic links before doing the
  9016. menuconfig. Then after the menuconfig, the make will fail on
  9017. Windows if you are using a Windows native toolchain because that
  9018. native toolchain cannot follow the Cygwin- style symbolic links.
  9019. The fix here is to also execute the clean_context AFTER executing
  9020. menuconfig. A lot more happens now: It used to be that doing
  9021. 'make menuconfig' only did the menuconfig operation. Now it does
  9022. context, pre_config, menuconfig, clean_context. Not nearly as
  9023. snappy as it used to be.
  9024. - Need to build the drivers/ directory even it file descriptors are
  9025. not supported. There are things in the drivers/ directory that are
  9026. still needed (like SYSLOG logic).
  9027. - Remove all inclusion of header files from the apps/include
  9028. directory from NuttX core logic. There should be no dependency on
  9029. logic within NuttX on logic within apps/. This caused a lot of
  9030. reshuffling of logic: binfmt pcode support, usbmonitor is now a
  9031. kernel thread, TZ/Olson database moved to libc/zoneinfo.
  9032. * Application Build/Configuration System:
  9033. - Make sure that APPNAME is defined in all Makefiles that generate
  9034. applications. From Sebastien Lorquet.
  9035. * apps/builtins:
  9036. - apps/builtins: exec_builtin was not using the provided open flags.
  9037. As a result >> redirection was not working; it was treated the same
  9038. as >.
  9039. * apps/nshlib:
  9040. - apps/nshilib: PS Command: When Priority Inheritance is enabled, the
  9041. format of /proc/<PID>/status changes to show both the current
  9042. priority and the thread’s base priority. This messes up the format
  9043. of cmd_ps. From David Alessio.
  9044. * apps/netutils:
  9045. - apps/netutils, uIP webserver: Fix a data declaration in a header
  9046. file.
  9047. * apps/canutils:
  9048. - apps/canutils/libuavcan: Fix for recent change to STM32 timer
  9049. frequency definiitions.
  9050. * apps/examples:
  9051. - apps/examples/alarm: ioctl call was clobbering file descriptor.
  9052. - apps/examples/can: Some variables were not declared in all required
  9053. cases. From Sebastien Lorquet.
  9054. - apps/examples/media: media example was intended to take either a
  9055. command line argument, or a compiled-in default value from config.
  9056. However, the default was ignored, leading to confusing error
  9057. messages. From ziggurat29.
  9058. NuttX-7.18 Release Notes
  9059. ------------------------
  9060. The 118th release of NuttX, Version 7.18, was made on October 8, 2016,
  9061. and is available for download from the Bitbucket.org website. Note
  9062. that release consists of two tarballs: nuttx-7.18.tar.gz and
  9063. apps-7.18.tar.gz. These are available from:
  9064. https://bitbucket.org/nuttx/nuttx/downloads
  9065. https://bitbucket.org/nuttx/apps/downloads
  9066. Both may be needed (see the top-level nuttx/README.txt file for build
  9067. information).
  9068. Additional new features and extended functionality:
  9069. * Core OS:
  9070. - Add standard adjtime() interface and basic timekeeping support.
  9071. Normally used with an NTP client to keep system time in
  9072. synchronization. From Max Neklyudov.
  9073. - Use the oneshot timer with optional entropy to measure CPU load if
  9074. so configured.
  9075. * File System and Block and MTD Drivers:
  9076. - Add Fujistu MB85RS256B ramtron support. From Beat Küng.
  9077. - SPI-based MTD driver for Macronix MX25L3233F or MX25L6433F. From
  9078. Aleksandr Vyhovanec.
  9079. * Graphics/Display Drivers:
  9080. - SH1106 0.96 OLED module support (SSD1306 compatible) + I2C fixes.
  9081. From v01d (phreakuencies).
  9082. * Sensor Drivers:
  9083. - Add KXTJ9 Accelerometer driver from the Motorola Moto Z MDK.
  9084. - Add MFRC522 RFID ISO14443 and Mifare transceiver driver. From Alan
  9085. Carvalho de Assis.
  9086. - Add driver for the LIS3MDL 3 axis magnetometer. From Alexander
  9087. Entinger.
  9088. - Add driver for the MLX90393 3 axis magnetometer. From Alexander
  9089. Entinger.
  9090. - Add driver for the LIS3DSH 3 axis accelerometer. From Alexander
  9091. Entinger.
  9092. - Add driver for the Bosch BMG160 3 axis gyroscope. From Alexander
  9093. Entinger.
  9094. - Add support for the Sensixs XEN1210 3D-board. This sensor is used
  9095. on NANOSATC-BR2 a Brazillian CUBESAT project. From Alan Carvalho
  9096. de Assis.
  9097. - Add a new ioctl command (set MAXPOS) for Tiva QEI. From Young.
  9098. * Other Common Device Drivers:
  9099. - I/O Expander: Remove hard-coded PCA9555 fields from ioexpander.h
  9100. definitons. Add support for an attach() method that may be used
  9101. when any subset of pin interrupts occur.
  9102. - I/O Expander Interface: Encode and extend I/O expander options to
  9103. include interrupt configuration.
  9104. - PCA9555 Driver: Replace the signalling logic with a simple callback
  9105. using the new definitons of ioexpander.h. This repartitioning of
  9106. functionality is necessary because (1) the I/O expander driver is
  9107. the lower-lower part of any driver that uses GPIOs (include the GPIO
  9108. driver itself) and should not be interacting directly with the much
  9109. higher level application layer. And (2) in order to be compatible
  9110. with the GPIO driver (and any arbitrary upper half driver), the
  9111. PCA9555 should not directly signal, but should call back into the
  9112. upper half. The upper half driver that interacts directly with the
  9113. application is the appropriate place to be generating signal.
  9114. - Add a skeleton I/O Expander driver (based on the PCA9555 driver).
  9115. - Add PCF8574 I/O Expander driver.
  9116. - GPIO driver: Add IOCTLs to get the pin type and to unregister a
  9117. signal handler.
  9118. - Add a GPIO lower-half driver that can be used to register a GPIO
  9119. character driver for accessing pins on an I/O expander.
  9120. - Add an SPI helper function that encapsulates and manages a sequence
  9121. of SPI transfers.
  9122. - Add an SPI character driver that will permit access to the SPI bus
  9123. for testing purposes.
  9124. - Add oneshot timer lower half interface definition.
  9125. - Add an upper-half, oneshot timer character driver.
  9126. - Add Audio Tone Generator for NuttX. From Alan Carvalho de Assis.
  9127. - Add USB host support for composite devices. This feature is not
  9128. well tested.
  9129. - drivers/ioexpander: Add an (untested) TCA64XX I/O Expander driver
  9130. leveraged from Project Ara.
  9131. * Simulation Platform:
  9132. - Add a simulated I/O Expander driver.
  9133. - Add simulator-based test support for apps/examples/gpio.
  9134. - Add a configuration useful for testing Mini Basic.
  9135. - Add a simulated oneshot lowerhalf driver.
  9136. * Atmel SAM3/4 Drivers:
  9137. - SAM4CM: Add option to support oneshot timer without free-running
  9138. timer. Add oneshot lower half driver.
  9139. * Atmel SAMA5 Drivers:
  9140. - SAMA5D: Add option to support oneshot timer without free-running
  9141. timer. Add oneshot lower half driver.
  9142. * Atmel SAMV7 Drivers:
  9143. - SAMV71/SAME70: Add option to support oneshot timer without
  9144. free-running timer. Add oneshot lower half driver.
  9145. - Add support for SAMV7 DACC module. From Piotr Mienkowski.
  9146. * NXP Freescale Kinetis Drivers:
  9147. - Add support for I2C and RTC. From v01d (phreakuencies).
  9148. * NXP Freescale Kinetis Boards:
  9149. - Add teensy 3.x I2C support. From v01d (phreakuencies).
  9150. * STMicro STM32:
  9151. - Add IAR-style STM32F1xx vectors. Tested on STM32F103RB and
  9152. STM32F107RC. From Aleksandr Vyhovanec.
  9153. * STMicro STM32 Drivers:
  9154. - Add timekeeping support for the STM32 tickless mode. From Max
  9155. Neklyudov.
  9156. - Add a oneshot, lower-half driver for STM32.
  9157. - STM32 L4: Add oneshot lower half driver for STM32 L4.
  9158. - STM32 L4: Add support for quadrature encoders on STM32L4. Sebastien
  9159. Lorquet.
  9160. * STMicro STM32 Boards:
  9161. - stm32f103-minimum: Add board support to MFRC522 driver. From Alan
  9162. Carvalho de Assis.
  9163. - Add oneshot board initialization to stm32f103-minimum. From Alan
  9164. Carvalho de Assis.
  9165. - stm32f103-minimum: Add board configuration to initialize Audio Tone
  9166. Generator. From Alan Carvalho de Assis.
  9167. - stm32bufferfly2: Add support for the Kamami stm32butterfly2
  9168. development board with optional ETH phy. From Michal Lyszczek.
  9169. - stm32f103-minimum: Add board config support to SPI LCD module
  9170. JLX12864G-086. From Alan Carvalho de Assis.
  9171. - stm32l476-mdk: Support basic booting and nsh on Motorola MDK. The
  9172. Motorola MDK is based off of an earlier version of NuttX.
  9173. This only provides a basic NSH shell. From Jim Wylder.
  9174. - STM32 F4 Discovery: Add support for XEN1210 3D-board. From Alan
  9175. Carvalho de Assis.
  9176. - stm32f103-minimum: Add stm32_bringup support and userled example to
  9177. STM32F103 Minimum board. From Alan Carvalho de Assis.
  9178. - Add support for qencoders on various nucleo boards. From Sebastien
  9179. Lorquet.
  9180. - olimex-stm32-e407: Add some networking configurations. From Mateusz
  9181. Szafoni.
  9182. * TI Tiva Drivers:
  9183. - Add tiva PWM lower-half driver implementation. From Young.
  9184. - Tiva QEI: Add QEI lower-half driver for Tiva series chip. From
  9185. Young.
  9186. * C Library/Header Files:
  9187. - Separate XorShift128 PRNG from /dev/urandom and make it generally
  9188. available.
  9189. - Add POSIX type sig_atomic_t. From Sebastien Lorquet.
  9190. - Add the difftime() function. The function depends on the toolchain-
  9191. dependent CONFIG_HAVE_DOUBLE so is not available on tiny platforms.
  9192. From Sebastien Lorquet.
  9193. - Add support for remove(). From Sebastien Lorquet.
  9194. - Add system() to stdlib.h. Actual implementation is in
  9195. apps/system/system.
  9196. * Build/Configuration System:
  9197. - Rename arch/sh to arch/renesas.
  9198. - Remove contactless drivers from drivers/wireless to drivers
  9199. contactless. From Sebastien Lorquet.
  9200. - Move all modem-related IOCTL commands to a common file to assure
  9201. that they will be unique.
  9202. * Tools:
  9203. - Add sethost.sh. This is a script that you can use to quickly
  9204. change the host platform from Linux to Windows/Cygwin. Might save
  9205. you a lot of headaches.
  9206. * Applications: apps/nshlib:
  9207. - Add logic to support an NSH-specific system command.
  9208. - Add printf command to NSH, e.g., controlling /dev/userleds from
  9209. command line: nsh> printf \x01 > /dev/userleds. From Alan Carvalho
  9210. de Assis.
  9211. * Platforms: apps/system:
  9212. - Port tee command from NetBSD.
  9213. - Add a generic system command. Current implentation cannot use
  9214. /bin/sh and spawns the custom NSH system command directly.
  9215. * Platforms: apps/platform:
  9216. - Add C++ support for STM32L476-MDK.
  9217. * Platforms: apps/interpreters:
  9218. - Add a port of Mini Basic, version 1.0, written by Malcom McLean and
  9219. released under the Creative Commons Attribution license.
  9220. * Applications: apps/examples:
  9221. - Add a simple test of the GPIO driver.
  9222. - Add RFID_READUID sample application. From Alan Carvalho de Assis.
  9223. - Add Oneshot timer example.
  9224. - Add a simple test of the system command.
  9225. Works-In-Progress:
  9226. * IEEE802.14.5/6LowPAN. Hooks and framework for this effort were
  9227. introduced in NuttX-7.15. Work has continued on this effort on
  9228. forks from the main repositories, albeit with many interruptions.
  9229. The completion of this wireless feature will postponed until at
  9230. least NuttX-7.19.
  9231. Bugfixes. Only the most critical bugfixes are listed here (see the
  9232. ChangeLog for the complete list of bugfixes and for additional, more
  9233. detailed bugfix information):
  9234. * Core OS:
  9235. - Explicitly initialize the group tg_exitsem with sem_init(). The
  9236. existing logic worked because the correct initialization value is
  9237. all zero, but it is better to initialize the semaphore explicitly.
  9238. - The TCB nchildren field should not be incremented when pthreads are
  9239. created.
  9240. - Move fields related to parent/child task relationship out of TCB
  9241. into group structure where they belong. Child is a group, not a
  9242. thread.
  9243. - mq_send() was not setting the errno value on certain failures to
  9244. allocate a message.
  9245. - Define 'group' even if HAVE_GROUPID is not set. From Mateusz
  9246. Szafoni.
  9247. - Vector table should have dimension NR_IRQS, not NR_IRQS+1. From
  9248. Sagitta Li.
  9249. - pthreads: When a pthread is started, there is a small bit
  9250. of logic that will run on the thread of execution of the new
  9251. pthread. In the case where the new pthread has a lower
  9252. priority than the parent thread, then this could cause both the
  9253. parent thread and the new pthread to be blocked at the priority of
  9254. the lower priority pthread (assuming that CONFIG_PRIORITY_INHERITANCE
  9255. is not selected). This change temporarily boosts the priority of the
  9256. new pthread to at least the priority of the new pthread to at least
  9257. the priority of the parent thread. When that bit of logic has
  9258. executed on the thread of execution of the new pthread, it will then
  9259. drop to the correct priority (if necessary) before calling into the
  9260. new pthread's entry point.
  9261. * File System/Block Drivers/MTD Drivers:
  9262. - FAT performance improvement. In large files, seeking to a
  9263. position from the beginning of the file can be very time consuming.
  9264. ftell does lssek(fd, 0, SET_CURR). In that case, that is wasted
  9265. time since we are going to seek to the same position. This fix
  9266. short-circuits fat_seek() in all cases where we attempt to seek to
  9267. current position. Suggested by Nate Weibley.
  9268. - MTD: Fixed cloned typos in several FLASH drivers. From Aleksandr
  9269. Vyhovanec.
  9270. - mount: Corrects a bad assertion noted by Pierre-noel Bouteville.
  9271. Also fixes a reference counting problem in an error condition:
  9272. When the mountpoint inode is found but is not an appropriate
  9273. mountpoint, the reference count on the inode was not being
  9274. decremented.
  9275. * Common Drivers:
  9276. - Various serial drivers: Fix FIONWRITE and add FIONSPACE. All
  9277. implementations of FIONWRITE were wrong. FIONWRITE should return
  9278. the number of bytes waiting in the outgoing send queue, not the free
  9279. space. Rather, FIONSPACE should return the free space in the send
  9280. queue.
  9281. - Add missing prototype for btn_lower_initialize().
  9282. - Make DAC sample structure packed. From Marc Rechté.
  9283. * Networking:
  9284. - TCP: tcp_ipvX_bind() not actually using the port selected with
  9285. port==0. Also removes duplicate call to pkt_input(). Issues noted
  9286. by Pascal Speck.
  9287. - drivers/net: NET_TUN=y => NET_MULTIBUFFER=y. From Vladimir
  9288. Komendantskiy.
  9289. - slip driver: Fix calculations using MSEC_PER_TICK. If
  9290. USEC_PER_TICK is less than 1000, then MSEC_PER_TICK will be
  9291. zero. It will be inaccurate in any case.
  9292. * Atmel SAM3/4 Drivers:
  9293. - SAM3/4 GPIO: Enable peripheral clock for GPIO port when GPIO is
  9294. configured as input. The value of a GPIO input is only sampled when
  9295. the peripheral clock for the port controller the GPIO resides in is
  9296. enabled. Therefore we need to enable the clock even when polling a
  9297. GPIO. From Wolfgang Reissnegger.
  9298. - All SAM Ethernet Drivers: Add support so that the drivers can be
  9299. built with CONFIG_NET_MULTIBUFFER=y.
  9300. - SAM3/4: Fix GPIO pull-up/down code. Enabling the pull-down resistor
  9301. while the pull-up resistor is still enabled is not possible. In this
  9302. case, the write of PIO_PPDER for the relevant I/O line is discarded.
  9303. Likewise, enabling the pull-up resistor while the pull-down resistor
  9304. is still enabled is not possible. In this case, the write of
  9305. PIO_PUER for the relevant I/O line is discarded. From Wolfgang
  9306. Reißnegger.
  9307. * Atmel SAMV7 Drivers:
  9308. - All SAM Ethernet Drivers: Add support so that the drivers can be
  9309. built with CONFIG_NET_MULTIBUFFER=y.
  9310. - SAM GPIO: Apply Wolfgang's change for SAM3/4 to SAMA5 and SAMV7.
  9311. * Atmel SAMA5:
  9312. - Add missing oneshot max_delay method.
  9313. - All SAM Ethernet Drivers: Add support so that the drivers can be
  9314. built with CONFIG_NET_MULTIBUFFER=y.
  9315. - SAM GPIO: Apply Wolfgang's change for SAM3/4 to SAMA5 and SAMV7.
  9316. * NXP Freescale LPC43xx Drivers:
  9317. - LPC43xx serial: Fix typos in LPC43 serial driver. Found by Vytautas
  9318. Lukenskas.
  9319. - LPC43xx Serial: There are some small problems in LPC43xx RS485 mode
  9320. configuration. In particular: (1) UART0,2,3 do not have DTR pins
  9321. (different from UART1), so, Kconfig needs to be adjusted. (2)
  9322. lpc43_uart.c in RS485 mode only configures DIR pin, but doesn't
  9323. enable pin output for UART0,2,3. (3) should be option to reverse DIR
  9324. control pin output polarity. (4) lpc43xx/chip/lpc43_uart.h doesn't
  9325. have USART3 definitions. NOTE: I didn't modified and didn't tested
  9326. USART1, as it has different hardware. From Vytautas Lukenskas.
  9327. From Vytautas Lukenskas.
  9328. * SiLabs EFM32 Drivers:
  9329. - EFM32 SPI drivers adopted incompatible conventions (See STM32 for
  9330. details of the issue).
  9331. * STMicro STM32 Drivers:
  9332. - STM32, STM32 L4, and EFM32 SPI drivers adopted incompatible
  9333. conventions somewhere along the line. They set the number of bits
  9334. to negative when calling SPI_SETBITS which had the magical side-
  9335. effect of setting LSB first order of bit transmission. This is not
  9336. only a hokey way to pass control information but is supported by no
  9337. other SPI drivers. This change three things: (1) It adds
  9338. HWFEAT_LSBFIRST as a new H/W feature. (2) It changes the
  9339. implementations of SPI_SETBITS in the STM32 and EFM32 drivers so
  9340. that negated bit numbers are simply errors and it adds the
  9341. SPI_HWFEATURES method that can set the LSB bit order, and
  9342. (3) It changes all calls with negative number of bits from all
  9343. drivers: The number of bits is now always positive and
  9344. SPI_HWFEATURES is called with HWFEAT_LSBFIRST to set the bit order.
  9345. - Add missing SPI2 and SPI3 support for STM32F3F3. Add STM32F37XX DMA
  9346. channel configuration. For STM32F37XX, SYSCFG_EXTICR_PORTE defined
  9347. twice. From Alan Carvalho de Assis.
  9348. - STM32: Make stm32_pwr_enablebkp thread safe. From Max Neklyudov.
  9349. - Fix bad pllmul values for STM32F1XX connectivity line. STM32F1XX
  9350. connectivity line supports only x4, x5, x6, x7, x8, x9 and x6.5
  9351. values. From Michal Lyszczek.
  9352. - STM32F3 SPI: Fix the number of bit setting for the F3. That and
  9353. data packing work differently on the STM32F3 than for other STM32
  9354. parts.
  9355. - STM32 and STM32 L4: Enabling SPI DMA loses other bits in CR2.
  9356. - STM32F3 SPI: Cannot write always 16-bit value to DR register
  9357. because of how the F3 implements data packing.
  9358. - STM32F411 and STM32F446 map i2c2_sda_4 to different alternate
  9359. function numbers. From Konstantin Berezenko.
  9360. - STM32 DMA Fix: Change stm32 adc dma callback to send channel
  9361. number instead of index. From Konstantin Berezenko.
  9362. - STM32 OTGFS device: Fix for lost first word from FIFO
  9363. 1) Do not overwrite Reserved Bits in GINTSTS (per ref manual)*
  9364. 2) Acknowledge all pending int on entry to ISR that are Only rc_w1*
  9365. 3) Do not disable RXFVL*
  9366. 4) Loop until RXFVL is cleared*
  9367. 5) Only clear the NAK on the endpoint on the OTGFS_GRXSTSD_PKTSTS_SETUPDONE to not loose the first WORD of FIFO all the data (Bug Fix)
  9368. Changed marked *are just driver clean up and ensure ints are not lost. The bug fix is #5
  9369. Test case open putty and observer the Set/Get LineCoding. Without this fix #5 the Get will not match the Set, and in fact the data might be skewed by 4 bytes, that are lost from the FIFO if the OTGFS_DOEPCTL0_CNAK bit is set in the OTGFS_GRXSTSD_PKTSTS_SETUPRECVD as opposed to the OTGFS_GRXSTSD_PKTSTS_SETUPDONE
  9370. Set Line Coding DATA1: 4B | 00 c2 01 00 00 00 08 | c8 1B
  9371. Get Line Coding DATA1: 4B | .. .. .. .. 00 00 08 c8 .. 00 00 07 | 7a 72
  9372. From David Sidrane.
  9373. - STM32 L4 OTGFS device: Apply stm32 fix to stm32l4. From Sebastien
  9374. Lorquet.
  9375. - STM32 F7: Remove duplicate call to pkt_input from Ethernet driver.
  9376. Issues noted by Pascal Speck.
  9377. - STM32 L4: Add support for USART3-USART5. For STM32L4 parts, the
  9378. higher number USART ports supported varies. Add the HAVE_USARTx
  9379. definitions to the configuration to allow enabling the higher
  9380. numbered USART ports. From Jim Wylder.
  9381. - STM32 USB: Set USB address to avoid a failed assertion. From
  9382. Pierre-noel Bouteville.
  9383. - STM32 L4 and L7 USB: Pierre's assertion-avoidance change should
  9384. also be applied to STM32 F7 and L4.
  9385. - STM32, L4, and F7: Remove GPIO_ETH_RMII_TX_CLK. TX_CLK is not
  9386. present in RMII. Mateusz Szafoni.
  9387. - STM32 Ethernet: Correct typo in conditional logic. From Neil
  9388. Hancock.
  9389. - STM32 L4 USB Device: Fixed L4 USB Driver by avoiding SETUPDONE and
  9390. EPOUT_SETUP. From David Sidrane.
  9391. - STM32 SPI: stm32_modifycr2 should be available on all platforms if
  9392. DMA is enabled.
  9393. - STM32 DMA2D: fix an error in up_dma2dcreatelayer where an invalid
  9394. pointer was returned when a certain underlying function failed.
  9395. From Jens Gräf.
  9396. * TI Tiva Drivers:
  9397. - Fix two bugs of tiva pwm lower-half driver implementation. From
  9398. Young.
  9399. - Tiva Ethernet: Needs support for CONFIG_NET_MULTIBUFFER=y.
  9400. * C Library/Header Files:
  9401. - lib_dumpbuffer() now prints a large on-stack buffer first to avoid
  9402. problems when the syslog output is prefixed with time. From
  9403. Pierre-noel Bouteville.
  9404. - libc/math: This fixes the following libc/math issues: (1) asin[f l]()
  9405. use Newton’s method to converge on a solution. But Newton’s method
  9406. converges very slowly (> 500,000 iterations) for values of x close to
  9407. 1.0; and, in the case of asinl(), sometimes fails to converge (loops
  9408. forever). The attached patch uses an trig identity for values of
  9409. x > sqrt(2). The resultant functions converge in no more than 5
  9410. iterations, 6 for asinl(). (2) The NuttX erf[f l]() functions are
  9411. based on Chebyshev fitting to a good guess. The problem there’s a
  9412. bug in the implementation that causes the functions to blow up with
  9413. x near -3.0. This patch fixes that problem. It should be noted that
  9414. this method returns the error function erf(x) with fractional error
  9415. less than 1.2E-07 and that’s fine for the float version erff(), but
  9416. the same method is used for double and long double version which
  9417. will yield only slightly better precision. This patch doesn't
  9418. address the issue of lower precision for erf() and erfl(). (3) a
  9419. faster version of copysignf() for floats is included. From David S.
  9420. Alessio.
  9421. - strtod() was not returning endptr on error conditions.
  9422. - libc/math: floor(), floorf(), and floorl(): Fix logic error. Was
  9423. not correctly handling negative integral value.
  9424. - isatty() should be prototyped in unstid.h, not termios.h. From
  9425. Sebastien Lorquet.
  9426. - nxglib: Fix handling of near-horizontal lines of width 1 in
  9427. nxgl_splitline(). Missing handling for degenerate condition caused
  9428. width 1 lines such as (0, 0) - (100, 10) to have gaps in the
  9429. drawing. From Petteri Aimonen.
  9430. * Build/Configuration System:
  9431. - Top-Level Makefiles: Fix a chicken-and-egg problem. In the menuconfig
  9432. target, the context dependency was executed before kconfig-mconf. That
  9433. was necessary because the link at apps/platform/board needed to be set
  9434. up before creating the apps/Kconfig file. Otherwise, the platform
  9435. Kconfig files would not be included. But this introduces the chicken-
  9436. and-egg problem in some configurations. In particular: (1) An NX
  9437. graphics configuration is used that requires auto-generation of
  9438. source files using cpp, (2) the configuration is set for Linux, but
  9439. (3) we are running under Cygwin with (4) a Windows native toolchain.
  9440. In this case, POSIX-style symbolic links are set up but the Windows
  9441. native toolchain cannot follow them. The reason we are running
  9442. 'make menuconfig' is to change from Linux to Cygwin, but the target
  9443. fails. During the context phase, NX runs CPP to generate source files
  9444. but that fails because the Windows native toolchain cannot follow
  9445. the links. Checkmate. This was fixed by changing all of the make
  9446. menuconfig (and related) targets. They no longer depend on context
  9447. being run. Instead, they depend only on the dirlinks target. The
  9448. dirlinks target only sets up the directory links but does not try
  9449. to run all of the context setup; the compiler is never invoked; no
  9450. code is autogenerated and things work.
  9451. - CXXFLAGS: add -fcheck-new whenever -fno-exceptions is used. From
  9452. Beat Küng.
  9453. * Tools
  9454. - tools/refresh.sh: Recent complexities added to apps/ means that
  9455. configuration needs the correct Make.defs file in place in order to
  9456. configure properly.
  9457. - tools/kconfig2html.c: Update to handle absolute paths when sourcing
  9458. Kconfig files.
  9459. - tools/mkfsdata.pl was still generating the old-style apps/include
  9460. inclusion paths.
  9461. * Application Build/Configuration System:
  9462. - Add DIRLINK and DIRUNLINK tool definitions to apps/Make.defs.
  9463. * apps/nshlib:
  9464. - Fix FIFO_SIZE vs PIPE_SIZE.
  9465. - Fix hex representation of IP address in Kconfig. Noted by Michal
  9466. Lyszczek.
  9467. - nsh_syscmds.c: missing semicolon. From Mateusz Szafoni.
  9468. - In system command, don't try to flush output streams if stdio
  9469. buffered I/O is not supported.
  9470. * apps/canutils:
  9471. - libuavcan: Under certain circumstances, DELIM is not be defined in
  9472. Makefile.
  9473. - Add definition for APPNAME in apps/canutils/canlib. From Sebastien
  9474. Lorquet.
  9475. * apps/gpsutils:
  9476. - Fix an error minmea. From Aleksandr Vyhovanec.
  9477. * apps/examples:
  9478. - apps/examples/oneshot: If the requested delay is > max_delay, then
  9479. break the delay up into several pieces.
  9480. NuttX-7.19 Release Notes
  9481. ------------------------
  9482. The 119th release of NuttX, Version 7.19, was made on December 26, 2016,
  9483. and is available for download from the Bitbucket.org website. Note
  9484. that release consists of two tarballs: nuttx-7.19.tar.gz and
  9485. apps-7.19.tar.gz. These are available from:
  9486. https://bitbucket.org/nuttx/nuttx/downloads
  9487. https://bitbucket.org/nuttx/apps/downloads
  9488. Both may be needed (see the top-level nuttx/README.txt file for build
  9489. information).
  9490. Additional new features and extended functionality:
  9491. * Core OS:
  9492. - sched/semaphore, sched/phread/, libc/semaphore, libc/pthread: Add
  9493. pthread_mutexattr_get/set_protocol and non-standard
  9494. sem_get/set_protocol. These may use to enable or disable priority
  9495. inheritance on a single semaphore.
  9496. - Spinlocks: Added capability to provide architecture-specific memory
  9497. barriers.
  9498. - SMP: Add spin_trylock(). Use this in conditions where other CPUs need
  9499. to stopped but we cannot call enter_critical_section().
  9500. - sched note: Extend OS instrumentation to include some SMP events.
  9501. Also add spinlock instrumentation; In SMP configurations, add a
  9502. filter mask to log only notes from certain CPUs.
  9503. - sched note: Permit spinlock and critical section notes in in-memory
  9504. buffer iff sched_not_get() interfaces is disabled.
  9505. - sched note: Add additional note to see if/when CPU is started in SMP
  9506. mode.
  9507. - sched note: Record ID enumeration now results on constant values; ID
  9508. values do not change with configuration. This makes writing post-processing software much easier.
  9509. - boardctl: Add new boardctl() command, BOARDIOC_NX_START, to start the
  9510. NX server as a kernel thread.
  9511. - pthreads: Add pthread_cleanup_push() and pthread_cleanup_pop().
  9512. - pthreads: Added pthread_setcanceltype() and pthread_testcancel().
  9513. - pthreads: Add support for cancellation points.
  9514. - task_delete() now obeys all cancellation point semantics.
  9515. - Add task_setcancelstate(), task_setcanceltype(), and
  9516. task_testcancel(). These are non-standard interfaces analogous to the
  9517. correponding pthread_ interfaces that provide cancellation controls
  9518. for tasks.
  9519. * Graphics/Display Drivers:
  9520. - boardctl: Add new boardctl() command, BOARDIOC_NX_START, to start the
  9521. NX server as a kernel thread.
  9522. * Networking/Network Drivers:
  9523. - Network drivers: Add option to use low-priority work queue to all
  9524. Ethernet and MAC level drivers.
  9525. - Network Drivers: Adapt all Ethernet (and other MAC) drivers to work
  9526. as though CONFIG_NET_MULTIBUFFER were set. Remove all references to
  9527. CONFIG_NET_MULTIBUFFER.
  9528. - Eliminate CONFIG_NO_NOINTS. There is no longer any support for
  9529. interrupt level processing of the network stack. Lots of files changed.
  9530. * Other Common Device Drivers:
  9531. - Vishay VEML6070: Add Vishay VEML6070 driver. From Alan Carvalho de
  9532. Assis.
  9533. * ARMv7-A
  9534. - ARMv7-A/i.MX6: Add SCU register definitions. Add some controls to
  9535. enable SMP cache coherency in SMP mode. Makes no difference, however
  9536. -- cache still incoherent on i.MX6.
  9537. - ARMv7 GIC: SGIs are non-maskable but go through the same path as
  9538. other, maskable interrupts. Added logic to serialize SGI processing
  9539. when necessary.
  9540. * Atmel SAM3/4:
  9541. - SAM3/4: Add SMP support for the dual-core SAM4CM. From Masayuki
  9542. Ishikawa.
  9543. * Atmel SAM3/4 Drivers:
  9544. - Add support for the SAM5CMP-DB board. From Masayuki Ishikawa.
  9545. * Atmel SAM3/4 Boards:
  9546. - SAM4CMP-DB: Add support for the Atmel SAM4CMP-DB board running in an
  9547. SMP configuration. From Masayuki Ishikawa.
  9548. - SAM4CMP-DB: Add hooks to auto-mount the procfs file system on startup
  9549. in board bring-up logic.
  9550. * Atmel SAMV7 Drivers:
  9551. - SAMv7: Register the watchdog device at the configured device path
  9552. CONFIG_WATCHDOG_DEVPATH vs. hard-coded /dev/wdt. From Frank Benkert.
  9553. * Calypso
  9554. - Calyps: Remove all Calypso board configurations. Remove Calypso
  9555. architecture support and support for Calypso SERCOMM driver.
  9556. * Misoc LM32:
  9557. - Misoc LM32: Adds basic support for the Misoc procoessors and the LM32
  9558. in particular. From Ramtin Amin.
  9559. - Misoc LM32: Add signal handling logic. From Ramtin Amin.
  9560. - Misoc LM32: Add logic to flush/invalidate caches. From Ramtin Amin.
  9561. * Misoc LM32 Drivers:
  9562. - Misoc LM32 Serial: Add interrupting Misoc serial driver. From Ramtin
  9563. Amin.
  9564. - Misoc LM32 Timer: Add timer driver. From Ramtin Amin.
  9565. - Misoc LM32: Add Misoc Ethernet driver From Ramtin Amin.
  9566. * Misoc LM32 Boards:
  9567. - Misoc LM32 Qemu: Board support for testing Misoc LM32 with Qemu. From
  9568. Ramtin Amin.
  9569. - Misoc LM32 Qemu: Integrate network support into configs/misoc/hello.
  9570. From Ramtin Amin.
  9571. - Misoc LM32 Qemu: Remove configs/misoc/include/generated directory. I
  9572. suppose the intent now is that this is a symbolic link? DANGER!
  9573. This means that you cannot compile this code with first generating
  9574. these files a providing a symbolic link to this location! There is a
  9575. sample directory containing generated sources. This is really only
  9576. useful for performing test builds. You really must generate the Misoc
  9577. architecture for a real-life build. From Ramtin Amin.
  9578. * NXP Freescale i.MX6 Drivers:
  9579. - i.MX6: Add an untested SPI driver taken directly from the i.MX1 port.
  9580. * NXP Freescale Kinetis:
  9581. - Kinetis: Added missing headers. Kinetis broke out SPI to
  9582. kinetis/kinetis_spi.h. Broke out DMA to use the modern Nuttx chip
  9583. inclusion - still STUBS. Add Kinetis support for ARMV7-M Common
  9584. Vector and FPU. Allow CONFIG_ARMV7M_CMNVECTOR,
  9585. CONFIG_STACK_COLORATION, CONFIG_ARCH_FPU. Fix i2c driver offset
  9586. swapped for value in kinetis_i2c_putreg. From David Sidrane.
  9587. * NXP Freescale Kinetis Drivers:
  9588. - Kinetis: Add UID Unique ID. From Neil Hancock.
  9589. * NXP Freescale Kinetis Boards:
  9590. - Freedom-K64F board: Add support for UID Unique ID. From Neil Hancock.
  9591. * NXP Freescale LPC17xx Boards:
  9592. - Olimex-LPC1766-STK: Enable procfs in NSH configuration. Automount
  9593. /proc on startup.
  9594. * NXP Freescale LPC43xx Drivers:
  9595. - LPC43xx: Add timer driver: From Alan Carvalho de Assis.
  9596. - LPC43xx GPDMA driver: The GPDMA block is basically the same as the
  9597. LPC17xx. Only the clock configuration is different and LPC43xx has
  9598. four different DMA request sources, where LPC17xx has only two. From
  9599. Alan Carvalho de Assis.
  9600. * NXP Freescale LPC43xx Boards:
  9601. - Bambino 200E: Add basic support to Micromint Bambino 200E board.
  9602. This includes contributions from Jim Wolfman. From Alan Carvalho de
  9603. Assis.
  9604. - Bambino 200E: Add support for timer driver. From Alan Carvalho de
  9605. Assis.
  9606. * RGMP:
  9607. - Remove RGMP and RGMP drivers.
  9608. * RISC-V:
  9609. - RISC-V: Add support for the RISC-V architecture and
  9610. configs/nr5m100-nexys4 board. The board support on this is pretty
  9611. thin, but it seems like maybe a good idea to get the base RISC-V stuff
  9612. in since there are people interested in it. From Ken Pettit.
  9613. * STMicro STM32 Drivers:
  9614. - STM32 F3: Implemention of the STM32 F37xx SDADC module. There are
  9615. also changes to ADC, DAC modules. SDADC has only been tested in DMA
  9616. mode and does not support external TIMER triggers. This is a work in
  9617. progress. From Marc Rechté.
  9618. - STM32 F3: Add PWM driver support for STMF37xx. The changes have been
  9619. tested successfuly for TIM4 and TIM17 (different IPs). From Marc
  9620. Rechté.
  9621. - STM32 F4: Support oversampling by 8 for the STM32 F4. From David
  9622. Sidrane.
  9623. - STM32 F4: Added Timers 2-5 and control of SAI and I2S PLLs. Added
  9624. support for stmf469 SAI and I2S PLL configuration and STM446 fixes.
  9625. From David Sidrane.
  9626. - STM32 F4: Expanded OTGFS support to stm32F469 and stm32f446. Added
  9627. missing bit definitions, Used stm32F469 and stm32f446 bit
  9628. definitions, Removed unsed header file. From David Sidrane.
  9629. - STM32 F4: Allow dma in 1 bit mode in STM32F4xxx. From David Sidrane.
  9630. - STM32 F7: Allow the config to override the clock edge setting. From
  9631. David Sidrane.
  9632. - STM32 L4: Support Complementary PWM outputs on STM32L4. From
  9633. Sebastien Lorquet.
  9634. - STM32 L4: Add implementation of dumpgpio for stm32l4, was required
  9635. for pwm debug. From Sebastien Lorquet.
  9636. * STMicro STM32 Boards:
  9637. - STM32F103 Minimum: Add button support. From Alan Carvalho de Assis.
  9638. - STM32F103 Minimum: Add support to PWM on STM32F103-Minimum board.
  9639. From Alan Carvalho de Assis.
  9640. - STM32F103 Minimum: Add RGB LED support on STM32F103 Minimum board.
  9641. From Alan Carvalho de Assis.
  9642. - STM32F103 Minimum: Add Vishay VEML6070 driver support to the
  9643. STM32F103-Minimum board. From Alan Carvalho de Assis.
  9644. - Nucleo-F303RE: Add STM32 F303RE hello configuration. From Marc
  9645. Rechté.
  9646. - Nucleo-L476: Support PWM testing on board Nucleo L476. From
  9647. Sebastien Lorquet.
  9648. - Nucleo L476: Add support for timers to Nucleo L476. From Sebastien
  9649. Lorquet.
  9650. - Hymini STM32v: Enable CONFIG_RTC in the hymini-stm32v/nsh2
  9651. (kitchensink) config. From Maciej Wójcik.
  9652. - Olimex STM32-p407: Add support for the Olimex STM32 P407 board.
  9653. * TI Tiva Drivers:
  9654. - Tiva PWM: Support PWM_PULSECOUNT feature for TI tiva. From Young.Mu.
  9655. * Xtensa/ESP32
  9656. - Xtensa ESP32: Basic architectural support for Xtensa processors and
  9657. the Expressif. ESP32 added.
  9658. - Xtensa ESP32: Add EXPERIMENTAL hooks to support lazy Xtensa
  9659. co-processor state restore in the future.
  9660. - Xtensa ESP32: Basic port is function in both single CPU and dual CPU
  9661. SMP configurations. There is an NSH configuration for each CPU
  9662. configuration. Outstanding issues include missing clock configuration
  9663. logic, missing partition tables to support correct configuration from
  9664. FLASH, and some serial driver pin configuration issues.
  9665. - Xtensa ESP32: Add stack checking logic.
  9666. * Xtensa/ESP32 Boards:
  9667. - ESP32 Core v2: Basic support for Expressif ESP32 Core v2 board
  9668. added. The initial release includes an NSH and an SMP test
  9669. configuration.
  9670. - ESP32 Core v2: Add configuration to support linking NuttX for
  9671. execution out of IRAM.
  9672. - ESP32 Core v2: Automatically mount /proc at start-up.
  9673. - ESP32 Core v2: Add an OS test to verify the port.
  9674. * C Library/Header Files:
  9675. - libc/locale: Add a dummy setlocale() function to avoid drawing the
  9676. function from newlib. Add clocale header file.
  9677. - include/locale.h: Modify locale.h to add localeconv() and lconv
  9678. structure. From Alan Carvalho de Assis.
  9679. - libc/locale: Allows c++ code to compile with or without
  9680. CONFIG_LIBC_LOCALE and will generate a link error if
  9681. CONFIG_LIBC_LOCALE is not defined and setlocale is referenced. With
  9682. CONFIG_LIBC_LOCALE defined setlocale will act as if MB string is not
  9683. supported and return "C" for POSIX. C and "". From David Sidrane.
  9684. - libc/wchar: Add wcslen, wmemchr, wmemcmp, wmemcpy wmemset, btowc,
  9685. mbrtowc, mbtowc, wcscmp, wcscoll, and wmemmove to NuttX. From Alan
  9686. Carvalho de Assis.
  9687. - libc/wctype: Add functions wcrtomb, wcslcpy, wcsxfrm, wctob, wctomb,
  9688. wctype, localeconv, strcoll, strxfrm, swctype, towlower, towupper and
  9689. wcsftime. Add wctype.h; Move lib_wctype.c to libc/wctype. From Alan
  9690. Carvalho de Assis.
  9691. - include/ctype.h : Add isblank() macro to ctype.h. From Alan Carvalho
  9692. de Assis.
  9693. - lic/stdlib: Add strtof() and strtold() as simply a copy of strtod
  9694. with types and limits changed.
  9695. - sscanf(): Use strtof() instead of strtod() if a short floating point
  9696. value was requested. The should help performance with MCUs with
  9697. 32-bit FPU support with some additional code size.
  9698. - sscanf(): Add scansets to the scanf function. Enabled
  9699. CONFIG_LIBC_SCANSET option. From Aleksandr Vyhovanec.
  9700. - include/inttypes.h: Add architecture-specific inttypes.h. From Paul
  9701. A. Patience.
  9702. - C Library: Allow option to enable IP address conversions even when
  9703. the IP address family is not supported.
  9704. * Build/Configuration System:
  9705. - The Smoothie project needs to compile C++ inside config/boardname/src/
  9706. to use with High Priority Interruption, then I modified the board
  9707. configs Makefile to support it. It works fine for the first time
  9708. compilation, but if we execute "touch config/boardname/src/Pin.cxx"
  9709. and execute "make" it will not detect that Pin.cxx was modified. I
  9710. think there is some other place I should modify, but I didn't find
  9711. it. From Alan Carvalho de Assis.
  9712. * Tools:
  9713. - tools/: Add tools/showsize.sh.
  9714. * NSH: apps/nshlib:
  9715. - NSH: dd command will show statistics. From Masayuki Ishikawa.
  9716. * Applications: apps/system:
  9717. - apps/system/sched_note: Extend to include additions to instumentation
  9718. for SMP.
  9719. - apps/system/sched_note: Add support for spinlock notes.
  9720. - apps/system/sched_note: Add support for new scheduler instrumentation.
  9721. * Platforms: apps/platform:
  9722. - ESP32 Core v2: Add platform support for the ESP32 core v2 board.
  9723. - Olimex STM32-p407: Add platform support for the Olimex STM32 P407.
  9724. * Graphics: apps/graphics
  9725. - graphics/traveler/tcledit and libwld: Add an X11 Tcl/Tk tool that can
  9726. be used to edit Traveler world files.
  9727. - Graphics: Remove all NX server taks. Instead, call boardctl() to the
  9728. NX server kernel thread.
  9729. * Applications: apps/examples:
  9730. - examples/buttons: Add a new buttons example that uses the button
  9731. character driver instead of the architecture buttons directly. From
  9732. Alan Carvalho de Assis.
  9733. - examples/cctype: Add an example to verify cctype functions.
  9734. - Remove RGMP example.
  9735. - examples/ostest: Extend the pthread cancellation test to exercise
  9736. pthread_cleanup_push() (and pthread_cleanup_pop() indirectly via
  9737. pthread_cancel() and pthread_exit().
  9738. - examples/ostest: enhance pthread cancellation test some.
  9739. Works-In-Progress:
  9740. * IEEE802.14.5/6LowPAN. Hooks and framework for this effort were
  9741. introduced in NuttX-7.15. Work has continued on this effort on
  9742. forks from the main repositories, albeit with many interruptions.
  9743. The completion of this wireless feature will postponed until at
  9744. least NuttX-7.20.
  9745. Bugfixes. Only the most critical bugfixes are listed here (see the
  9746. ChangeLog for the complete list of bugfixes and for additional, more
  9747. detailed bugfix information):
  9748. * Core OS:
  9749. - sched/semaphore: Within the OS, when a thread obtains a semaphore
  9750. count it must call sem_addholder() if CONFIG_PRIORITY_INHERITANCE is
  9751. enabled. If a count is available, then sem_wait() calls
  9752. sem_addholder(), otherwise it waited for the semaphore and called
  9753. sem_addholder() when it eventually received the count. This caused a
  9754. problem when the thread calling sem_wait() was very low priority.
  9755. When it received the count, there may be higher priority threads
  9756. "hogging" the CPU that prevent the lower priority task from running
  9757. and, as a result, the sem_addholder() may be delayed indefinitely.
  9758. The fix was to have sem_post() call sem_addholder() just before
  9759. restarting the thread waiting for the semaphore count. This problem
  9760. was noted by Benix Vincent who also suggested the solution.
  9761. - Many files: Make sure that priority inheritance is not enabled for
  9762. semaphores whose primary use is signaling (vs locking of resources) by
  9763. calling sem_setprotocol().
  9764. - sched/semaphore: sem_trywait() no longer modifies the errno value
  9765. UNLESS an error occurs. This allows these functions to be used
  9766. internally without clobbering the errno value. From Freddie Chopin.
  9767. - sched/clock: Correct clock initialization. The correct range for the
  9768. month is 0-11 but is entered as 1-12 in the .config file. Add ranges
  9769. to START_YEAR, MONTH, and DAY in sched/Kconfig.
  9770. - sched/clock: Correct calculation for the case of Tickless mode with a
  9771. 32-bit timer. In that case, the calculation was returning millisecond
  9772. accuracy. That is not good when the timer accuracy is < 1 msec. From
  9773. Rajan Gill.
  9774. - Work Queue: When queuing new LP work, don't signal any threads if
  9775. they are all busy. From Heesub Shin.
  9776. - Work Queue: Signal sent from work_signal() may interrupt the low
  9777. priority worker thread that is already running. For example, the
  9778. worker thread that is waiting for a semaphore could be woken up by the
  9779. signal and break any synchronization assumption as a result. It also
  9780. does not make any sense to send signal if it is already running and
  9781. busy. This change fixes it. From Heesub Shin.
  9782. - Fix DEBUGASSERT() in group_signal.c. From Masayuki Ishikawa.
  9783. - Eliminate bad boardctl() commands: Remove all references to
  9784. BOARDIOC_PWMSETUP and board_pwm_setup(). Remove all references to
  9785. BOARDIOC_ADCSETUP and board_adc_setup(). Remove
  9786. BOARDIOC_CAN_INITIALIZE. CAN initialization is now done in the board
  9787. initialization logic just like every other device driver.
  9788. - pthreads: Fix an error in pthread_mutex_destroy(). An error could
  9789. occur while destroying a mutex after a pthread has been canceled while
  9790. holding the mutex.
  9791. - task_restart: Make sure new task starts with pre-emption disabled and
  9792. not in a critical section.
  9793. - Enter/leave Critical Sections. Major redeign to
  9794. enter/leave_critical_section logic to deal with the case where
  9795. interrupts are disabled only on the local CPU. In this case, some
  9796. rather complex spinlocks must be used to maintain the critical section
  9797. accross all CPUs.
  9798. - SMP Critical Sections: Fixes for the SMP case: (1) Change order for
  9799. SMP case in enter_critical_section: (1) Disable local interrupts
  9800. BEFORE taking spinlock and (2) If SMP is enabled, if any interrupt
  9801. handler calls enter_critical_section(), it should take the spinlock.
  9802. - SMP wdogs: Wdog timers use a tasking interface that to manipulate
  9803. wdogs, and a different interface in the timer interrupt handling logic
  9804. to manage wdog expirations. In the single CPU case, this is fine.
  9805. Since the tasking level code calls enter_critical_section, interrupts
  9806. are disabled and no conflicts can occur. But that may not be the case
  9807. in the SMP case. Most architectures do not permit disabling
  9808. interrupts on other CPUs so enter_critical_section must work
  9809. differently: Locks are required to protect code. this change adds
  9810. locking (via enter_critical section) to wdog expiration logic for the
  9811. the case if the SMP configuration.
  9812. - SMP vfork(): Fix a race condition in the SMP case. Existing logic
  9813. depended on the fact that the child would not run until waitpid was
  9814. called because the child had the same priority as the parent. BUT in
  9815. the SMP case that is not true... the child may run immediately on a
  9816. different CPU.
  9817. - SMP: This change adds a new internal interfaces and fixes a problem
  9818. with three APIs in the SMP configuration. The new internal interface
  9819. is sched_cpu_pause(tcb). This function will pause a CPU if the task
  9820. associated with 'tcb' is running on that CPU. This allows a different
  9821. CPU to modify that OS data stuctures associated with the CPU. When
  9822. the other CPU is resumed, those modifications can safely take place.
  9823. The three fixes are to handle cases in the SMP configuration where one
  9824. CPU does need to make modifications to TCB and data structures on a
  9825. task that could be running running on another CPU. Those three cases
  9826. are task_delete(), task_restart(), and execution of signal handlers.
  9827. In all three cases the solutions is basically the same: (1) Call
  9828. sched_cpu_pause(tcb) to pause the CPU on which the task is running,
  9829. (2) perform the necessary operations, then (3) call up_cpu_resume() to
  9830. restart the paused CPU.
  9831. - SMP: Add logic to avoid a deadlock condition when CPU1 is hung waiting
  9832. for g_cpu_irqlock with interrupts interrupts and CPU0 is waiting for
  9833. g_cpu_paused.
  9834. - SMP: Enforce this rule: Tasks which are normally restored when
  9835. sched_unlock() is called must remain pending (1) if we are in a
  9836. critical section, i.e., g_cpu_irqlock is locked , or (2) other CPUs
  9837. still have pre-emption disabled, i.e., g_cpu_schedlock is locked. In
  9838. those cases, the release of the pending tasks must be deferred until
  9839. those conditions are met.
  9840. * File System/Block Drivers/MTD Drivers:
  9841. - AT24XX EEPROM MTD driver: Added EEPROM timeout. Fromo Aleksandr
  9842. Vyhovanec.
  9843. - fs/procfs: Fix procfs status for SMP case.
  9844. * Graphics/Graphic Drivers:
  9845. - Fonts: Correct some default font IDs. From Pierre-Noel Bouteville.
  9846. * Common Drivers:
  9847. - usbhost/enumerate: Fix possible buffer overwrite. From Janne Rosberg.
  9848. - usbhost/composite: Fix compile; missing semicolons. From Jann Rosberg.
  9849. - syslog: Fixes required for file syslog output. From Max Kriegleder.
  9850. - SPI configuration: Fix Kconfig warning. This change moves the
  9851. ARCH_HAVE_SPI options outside the check for SPI. Those options don't
  9852. depend on SPI, and Kconfig files in arch/ enable them even if SPI
  9853. isn't enabled. Source the driver's Kconfig in drivers/Kconfig only
  9854. if support for the driver is enabled prevents us from defining these
  9855. ARCH_HAVE options in the driver's Kconfig. We should probably remove
  9856. the other checks in drivers/Kconfig and check if the drivers are
  9857. enabled only in their Kconfig. From Paul A. Patience.
  9858. - drivers/timer: Remove the timer driver TIOC_SETHANDLER IOCTL call.
  9859. This calls directly from the timer driver into application code. That
  9860. is non-standard, non-portable, and cannot be supported. Instead, add
  9861. timer driver hooks to support signal notification of timer
  9862. expiration. Signal notification logic added by Sebastien Lorquet.
  9863. - All timer lower half drivers. Port Sebastien's changes to all other
  9864. implementations of the timer lower half.
  9865. - USB MSC Device: Fix length of mode6 sense reply packet. From
  9866. Wolfgang Reißnegger.
  9867. - USB Composite Host: Fix end offset in usbhost_copyinterface(). From
  9868. Janne Rosberg.
  9869. - USB CDC/ACM Host: Add CDC_SUBCLASS_ACM and CDC_PROTO_ATM to
  9870. supported class and proto. From Janne Rosberg.
  9871. - SSD1306: Fix errors in SPI mode configuration. From Gong Darcy.
  9872. - CDC/ACM Device Class: uart_ops_s portion of cdcacm will not be
  9873. initalized with correct functions if CONFIG_SERIAL_DMA is selected.
  9874. * Networking/Network Drivers:
  9875. - drivers/net/tun.c: Fix bug in TUN interface driver. From Max Nekludov.
  9876. * ARMv7-A:
  9877. - ARMv7-A SMP: Add SMP logic to signal handling.
  9878. * ARMv7-M:
  9879. - ARMv7-M: Fix double allocation of MPU region in mmu.h.
  9880. * ARMv7-R:
  9881. - ARMv7-R: Fix compilation error. This change fixes compilation errors
  9882. on MPU support for ARMv7-R. From Heesub Shin.
  9883. - ARMv7-R: fix invalid drbar handling. In ARMv7-R, [31:5] bits of DRBAR
  9884. is physical base address and other bits are reserved and SBZ. Thus,
  9885. there is no point in passing other than the base address. From Heesub
  9886. Shin.
  9887. - ARMv7-R: Remove the redundant update on SCTLR. mpu_control() is
  9888. invoking cp15_wrsctlr() around SCTLR update redundantly. From Heesub
  9889. Shin.
  9890. - ARMv7-R: add new Kconfig entries for d/i-cache. Unlike in ARMv7-A/M,
  9891. Kconfig entries for data and instruction caches are currently missing
  9892. in ARMv7-R. This change adds those missing Kconfig entries. Actual
  9893. implmenetation for those functions will be added in the subsequent
  9894. patches. From Heesub Shin.
  9895. - ARMv7-R: Add cache handling functions. This change adds functions for
  9896. enabling and disabling d/i-caches which were missing for ARMv7-R.
  9897. From Heesub Shin.
  9898. - ARMv7-R: Fix typo in mpu support. s/ARMV7M/ARMV7R/g. From Heesub Shin.
  9899. - ARMv7-R: Fix CPSR corruption after exception handling. A sporadic
  9900. hang with consequent crash was observed when booting. It seemed to be
  9901. caused by the corrupted or wrong CPSR restored on return from
  9902. exception. NuttX restores the context using code like this: msr spsr,
  9903. r1. GCC translates this to: msr spsr_fc, r1. As a result, not all
  9904. SPSR fields are updated on exception return. This should be: msr
  9905. spsr_fsxc, r1. On some evaluation boards, spsr_svc may have totally
  9906. invalid value at power-on-reset. As it is not initialized at boot, the
  9907. code above may result in the corruption of cpsr and thus unexpected
  9908. behavior. From Heesub Shin.
  9909. - ARMv7-R: Fix to restore the Thumb flag in CPSR. Thumb flag in CPSR is
  9910. not restored back when the context switch occurs while executing thumb
  9911. instruction. From Heesub Shin.
  9912. * Atmel SAM3/4 Drivers:
  9913. - SAM3/4 UDP: Add delay between setting and clearing the endpoint RESET
  9914. bit in sam_ep_resume(). We need to add a delay between setting and
  9915. clearing the endpoint reset bit in SAM_UDP_RSTEP. Without the delay
  9916. the USB controller will (may?) not reset the endpoint. If the
  9917. endpoint is not being reset, the Data Toggle (DTGLE) bit will not to
  9918. be cleared which will cause the next transaction to fail if DTGLE is
  9919. 1. If that happens the host will time-out and reset the bus. Adding
  9920. this delay may also fix the USBMSC_STALL_RACEWAR in usbmsc_scsi.c,
  9921. however this has not been verified yet. From Wolfgang Reißnegger.
  9922. - SAM3/4: Remove unused 'halted' flag from UDP driver. From Wolfgang
  9923. Reißnegger.
  9924. - SAM3/4: Remove 'stalled' flag from the UDP driver. This flag is not
  9925. necessary because the state of the endpoint can be determined using
  9926. 'epstate' instead. From Wolfgang Reißnegger.
  9927. * Atmel SAM3/4 Boards:
  9928. - SAM4S Xplained Pro: Configuration uses old, improper timer interface.
  9929. CONFIG_TIMER disabled in configuration. Remove obsolete timer
  9930. initialization logic.
  9931. * Atmel SAMV7 Drivers:
  9932. - SAMv7 USBDEVHS: A problem occurred with the SAMV7 USBDEVHS driver if
  9933. the USB cable is unplugged while a large amount of data is send over
  9934. an IN endpoint using DMA. If the USB cable is plugged in again after a
  9935. few seconds it is not possible to send data over this IN endpoint
  9936. again, all other endpoints work as expected. The problem occurs
  9937. because if the USB cable is unplugged while an DMA transfer is in
  9938. flight the transfer is canceled but the register SAM_USBHS_DEVDMACTRL
  9939. is left in an undefined state. The problem was fixed the problem by
  9940. resetting the register SAM_USBHS_DEVDMACTRL to a known state.
  9941. Additionally all pending interrupts are cleared. From Stefan Kolb.
  9942. - SAMV7 MCAN: Prevent Interrupt-Flooding of ACKE when not connected to
  9943. CAN-BUS. An Acknowledge-Error will occur every time no other CAN Node
  9944. acknowledges the message sent. This will also occur if the device is
  9945. not connected to the can-bus. The CAN-Standard declares, that the Chip
  9946. has to retry a given message as long as it is not sent successfully
  9947. (or it is not cancelled by the application). Every time the chip tries
  9948. to resend the message an Acknowledge-Error-Interrupt is generated. At
  9949. high baud rates this can lead in extremely high CPU load just for
  9950. handling the interrupts (and possibly the error handling in the
  9951. application). To prevent this Interrupt-Flooding we disable the ACKE
  9952. once it is seen as long we didn't transfer at least one message
  9953. successfully. From Frank Benkert.
  9954. - SAMV7 MCAN: Make delete_filter functions more robust. From Frank
  9955. Benkert.
  9956. * Atmel SAMA5 Drivers:
  9957. - SAMA5 PWM: Driver does not build when executing from SDRAM before
  9958. board frequencies are not constant. Rather, the bootloader configures
  9959. the clocking and we must derive the clocking from the MCK left by the
  9960. bootloader. This means lots more computations. This is untested on
  9961. initial change because I don't have a good PWM test setup right now.
  9962. * Misoc LM32:
  9963. - Misoc LM32: Corrects a bug that never occured in qemu on simulation or
  9964. real fpga. The error was that the r1 register was being modified out
  9965. of context switching and not restoring it. From Ramtin Amin
  9966. * NXP Freescale i.MX6:
  9967. - i.MX6 interrupt handling: Additional logic needed to handle nested
  9968. interrupts when an interrupt stack is used. Nesting can occur because
  9969. SGI interrupts are non-maskable.
  9970. * NXP Freescale LPC43xx Drivers:
  9971. - LPC43xx serial: Fix a typo in ioctl TIOCSRS485 ioctl. From Vytautas
  9972. Lukenskas.
  9973. - LPC43xx serial: Restore RS485 mode on serial port open (if RS485 is
  9974. enabled via menuconfig). From Vytautas Lukenskas.
  9975. - LPC43xx SD/MMC: Correct some definitions on SMMC control register in
  9976. lpc43_sdmmc.h. From Alan Carvalho de Assis.
  9977. - LPC43xx SD card: Correct pin configuration options needed for SD card
  9978. pins. From Alan Carvalho de Assis.
  9979. * SiLabs EFM32:
  9980. - EFM32: Fix a compilation error. From Pierre-noel Bouteville.
  9981. * STMicro STM32 Drivers:
  9982. - STM32 CHxN channels are always outputs. From Sebastien Lorquet.
  9983. - STM32 DAC: Fix shift value whenever there are is a DAC2 and, hence,
  9984. up to three interfaces. From Marc Rechté.
  9985. - STM32 F1: Add TIM8 to STM32F103V pinmap. From Maciej Wójcik.
  9986. - STM32 F1: Fix for F1 RTC Clock, tested on F103. From Maciej Wójcik.
  9987. - STM32 F3: STM32F303xB and STM32F303xC chips have 4 ADCs. From Paul
  9988. A. Patience.
  9989. - STM32 F4: A new implementation of the STM32 F4 I2C bottom half. The
  9990. common I2C as this did not handled correctly in the current
  9991. implementation (see also https://github.com/PX4/NuttX/issues/54). The
  9992. changes almost exclusively affect the ISR. From Max Kriegleder.
  9993. - STM32 F4 OTGHS Host: If STM32F446 increase number of channels to
  9994. 16. From Janne Rosberg.
  9995. - STM32 F4: I think, that Size is (highest address+1 - Base address).
  9996. Base address has been removed and if address+count >= size we are
  9997. outside of the Flash. From David Sidrane.
  9998. - STM32 F4: Fix ADC compilation error when DMA isn't enabled. From Paul
  9999. A. Patience.
  10000. - STM32 F4: STM32F427 was rebooting. Over reached family. From David
  10001. Sidrane.
  10002. - STM32 F4: Added STM32F469 RAM size and deliberated STM32F446 size.
  10003. From David Sidrane.
  10004. - STM32 F4: Typo in stm32f76xxxx_pinmap.h edited online with
  10005. Bitbucket. From David Sidrane.
  10006. - STM32 F7: stm32_i2c.c Dejavu. Fixes a bug previously found in the
  10007. F4. From David Sidrane.
  10008. - STM32 F7: OTGDEV fixed typo. From David Sidrane.
  10009. - STM32 F7: Fix to SPI-Master driver. Without this the chip select
  10010. decoding feature will not work properly. From Michael Spahlinger.
  10011. - STM32 F7: STM32F7 SD/MMC driver depends on CONFIG_SDIO_DMA which is
  10012. only defined in stm32/Kconfig. Changed to CONFIG_STM32F7_SDMMC_DMA
  10013. and defined in stm32f7/Kconfig.
  10014. - STM32 F7: Fix some STM32F7 copy paste errors. From David Sidrane.
  10015. - STM32 L4: Complementary PWM outputs on STM32L4" (1) too many
  10016. parentheses when calculating max chan count and (2) channel 4 does not
  10017. have a complementary output. From Sebastien Lorquet.
  10018. - STM32 L4: Fix I2C devices RCC registers. From Sebastien Lorquet.
  10019. - STM32 L4: Enable and renaming for 32l4 UARTs 4 and 5. From Sebastien
  10020. Lorquet.
  10021. - STM32 L4: Change the way to configure quadrature encoder prescalers.
  10022. From Sebastien Lorquet.
  10023. - STM32 L4: Correct USART1/2 definitions. Use default mbed UART4
  10024. settings. From Sebastien Lorquet.
  10025. * STMicro STM32 Boards:
  10026. - STM32F103 Minimum: Fix Timers 2 to 7 clock frequencies. From Alan
  10027. Carvalho de Assis.
  10028. - Nucleo-F303RE: Remove duplicate setting from board.h. From Marc
  10029. Rechté.
  10030. - Nucleo F303RE: Various fixes to get the ADC configuration building
  10031. again after PR. Refresh all configurations.
  10032. - Nucleo L476RG: Add better selection of timer.
  10033. * TI Tiva Boards:
  10034. - DK-TM4C129x: Typo fix. From Wolfgang Reißnegger.
  10035. * Xtensa ESP32:
  10036. - ESP32 core v2: Flush the UART TX buffer in the esp32 serial shutdown
  10037. routine. The ROM bootloader does not flush the FIFO before handing
  10038. over to user code, so some of this output is not currently seen when
  10039. the UART is reconfigured in early stages of startup. From Angus
  10040. Gratton.
  10041. - Xtensa ESP32: Corrects a problem with dispatching to signal
  10042. handlers: Cannot vector directly to the signal handling function as
  10043. in other ABIs under the Xtensa Window ABI. In that case, we need to
  10044. go through a tiny hook when performs the correct window call (call4)
  10045. otherwise registers will be scrambled in the signal handler.
  10046. * Xtensa ESP32 Boards:
  10047. - ESP32 core v2: Changes the openocd config file's default flash
  10048. voltage from 1.8V to 3.3V. This is not necessary right now, but may
  10049. save some hard-to-debug moments down the track (3.3V-only flash
  10050. running at 1.8V often half-works and does weird things...). From
  10051. Angus Gratton.
  10052. * C Library/Header Files:
  10053. - libc/stdio: Fixes sscanf() %sn where strlen(data) < n. From David
  10054. Sidrane.
  10055. - libc/stdio: Include wchar.h in lib_libvsprintf.c to fix compilation
  10056. error. From Alan Carvalho de Assis.
  10057. - include/sys/time.h: timersub macro modified per recommendations of
  10058. phreakuencies.
  10059. - include/ctype.h and cxx/cctype: Implement ctype.h functions as inline
  10060. if possible. cctype can then properly select namespace.
  10061. - include/: Fix a number of header files with mismatched 'extern C {'
  10062. and '}'.
  10063. - libc/unisted: Change brings strtol() and related functions more
  10064. conformant with POSIX. Corner cases like strtol(-2147483648, NULL,
  10065. 10) now pass clang -fsanitize=integer without warnings. From Juha
  10066. Niskanen.
  10067. - libc/unistd: sleep() was returning remaining nanoseconds (kind of),
  10068. instead the remaining seconds. From Eunbong Song.
  10069. - termios.h: Fix CRTSCTS define to include input and output flow. From
  10070. Lorenz Meier.
  10071. * Build/Configuration System:
  10072. - configs/*/defconfig: The buttons example was changed to archbuttons.
  10073. As a result all of the button configurations are broken and need some
  10074. renaming in the defconfig files. Noted by Frank Berkert.
  10075. - config/*/defconfgs: More fallout from name change of
  10076. apps/examples/buttons to archbuttons.
  10077. - configs: All QE encoder files. Last change made timer hard-coded to
  10078. 3. Make configurable.
  10079. - configs: Remove all traces of the no-longer existent ARCHBUTTONS
  10080. example. Remove all button configurations that depended on the
  10081. obsoleted ARCHBUTTON example.
  10082. - minnsh Configurations: Remove minnsh configurations and support
  10083. logic: up_getc() and lowinstream. This was an interesting exercise
  10084. to see just how small you could get NuttX, but otherwise it was not
  10085. useful: (1) the NSH code violated the OS interface layer by callup
  10086. up_getc() and up_putc() directly, and (2) while waiting for character
  10087. input, NSH would call up_getc() which would hog all of the CPU. Not a
  10088. reasonable solution other than as a proof of concept.
  10089. * Application Build/Configuration System:
  10090. - Make.defs: Using wrong link script if native window tool used with
  10091. Cygwin.
  10092. * apps/platform:
  10093. - ESP32 Core v2 Platform: Fix some naming that prevented building the
  10094. C++ support.
  10095. * apps/nshlib:
  10096. - NSH Library: nsh_getdirpath(), use snprint instead of sprintf to
  10097. avoid possibility of buffer overrun. Noted by Chung Hwan Kim.
  10098. * apps/system:
  10099. - Remove std_readline(). This called up_getc() and up_putc() directly,
  10100. violating the POSIX OS interface.
  10101. * apps/netutils:
  10102. - FTPD: Fixed bug that didn't free ftpd ressources on exit. From Pascal
  10103. Speck.
  10104. - NTP client: Fix missing left parenthesis. From Pierre-Noel Bouteville.
  10105. - cJSON: Import patch to fix:cJSON_PrintUnformatted() behaves unexpected
  10106. if an empty array shall be printed to text. from Jerome Lang
  10107. 2012-04-19. From Pierre-Noel Bouteville.
  10108. - esp8266 update cosmetic and many bug fix. From Pierre-Noel Bouteville.
  10109. - FTPD: Fix bug un ftpd file or socket may be not closed. From
  10110. Pierre-Noel Bouteville.
  10111. * apps/modbus:
  10112. - Modbus Master is missing many files and doesn't compile at all. More
  10113. details in
  10114. https://groups.yahoo.com/neo/groups/nuttx/conversations/topics/13734.
  10115. From Vytautas Lukenskas.
  10116. * apps/examples:
  10117. - The examples/qencoder app was trying to init the encoder by a direct
  10118. call into the board, cheating in a local header to declare the
  10119. normally unavailable function prototype. From Sebastien Lorquet.
  10120. - apps/examples/timer: Should detach signal handler before exiting.
  10121. - examples/qencode: The examples/qencoder app was trying to init the
  10122. encoder by a direct call into the board, cheating in a local header to
  10123. declare the normally unavailable function prototype. From Sebastien
  10124. Lorquet.
  10125. - apps/examples/archbuttons: Removed becaue it violates OS interface
  10126. principles.
  10127. - examples/adc, pwm, can: Remove all usage of BOARDIOC_ADCTEST_SETUP,
  10128. BIOARDIOC_PWMSETUP. Remove BOARDIOC_CAN_INITIALIZE. CAN
  10129. initialization is now done in the board initialization logic just like
  10130. every other device driver.
  10131. - examples/ostest: Add some delays to the pthread cancellation test.
  10132. With deferred cancellation enabled, things happen more asynchronously.
  10133. NuttX-7.20 Release Notes
  10134. ------------------------
  10135. The 120th release of NuttX, Version 7.20, was made on March 8, 2017,
  10136. and is available for download from the Bitbucket.org website. Note
  10137. that release consists of two tarballs: nuttx-7.20.tar.gz and
  10138. apps-7.20.tar.gz. These are available from:
  10139. https://bitbucket.org/nuttx/nuttx/downloads
  10140. https://bitbucket.org/nuttx/apps/downloads
  10141. Both may be needed (see the top-level nuttx/README.txt file for build
  10142. information).
  10143. Additional new features and extended functionality:
  10144. * Core OS:
  10145. - Kernel Modules: Module initializer may now return a symbol table.
  10146. - Modules: Extend the module interface so that we can access symbols
  10147. exported by the module.
  10148. - Shared Libraries: In the FLAT build mode, kernel modules may be
  10149. used to provide minimal shared library functionality.
  10150. - Modules/Shared Libraries: Add support for dependencies between
  10151. modules.
  10152. - Module Library: Add build a configuration logic for a shared module
  10153. library.
  10154. - Shared Libraries: Implement module based shared libraries for the
  10155. PROTECTED mode build.
  10156. - Interrupt handling: irq_attach() now includes an argument of type
  10157. xcpt_t that retained with the handler address. That argument is
  10158. then provided to the interrupt handler when the interrupt occurs.
  10159. The common parameter passing replaces the ad hoc parmater passing
  10160. implemented in current drivers. From Mark Schulte.
  10161. - Adapt many drivers to utilize the IRQ argument feature.
  10162. - All functions that used to return an xcpt_t old handler value, now
  10163. return an int error code. The oldhandler value is no longer useful
  10164. with the recent changes to the interrupt argument passing. Some of
  10165. the functions effected include board_button_irq(), arch_phy_irq(),
  10166. STM32 EXTI functions (Alarm, COMP, PVD), GPIO interrupt logic like
  10167. kinetis_pinirq(), stm32_gpiosetevent(), and others.
  10168. - IRQ subsystem: Add support for smaller interrupt tables as
  10169. described at
  10170. http://www.nuttx.org/doku.php?id=wiki:howtos:smallvectors . This
  10171. is partially the work of Mark Schulte.
  10172. * File Systems/Block and MTD Drivers
  10173. - Pseudo File System: Add support for soft links in the top-level
  10174. psuedo file system.
  10175. - Soft links: Add an implementation of readlink().
  10176. - Add fstat() support. Implement fstat() method in binfs, romfs,
  10177. unionfs, tmpfs, nxffs, nfx, hostfs, procfs, and smartfs.
  10178. - fstat: Add fstat() support to FAT. From Alan Carvalho de Assis.
  10179. * Graphics/Display Drivers:
  10180. - Fonts: Add support for Tom Thumb small mono-space font. From Alan
  10181. Carvalho de Assis.
  10182. - Graphics: Separated of font cache from graphics/nxterm. Now in
  10183. libnx/nxfronts where it can be shared with other grapics
  10184. applications.
  10185. * Networking/Network Drivers:
  10186. - Ethernet drivers: Add framework for serialization in the case where
  10187. multiple low-priority work queues are used.
  10188. * Other Common Device Drivers:
  10189. - Add capabilities() method to SDIO interface. Remove
  10190. CONFIG_SDIO_WIDTH_D1_ONLY. That should not be a global propertie,
  10191. but rather a capability/limitation of single slot when there may be
  10192. multiple slots.
  10193. - Removed dmasupported() method from the SDIO interface. That is now
  10194. a bit in the capability set.
  10195. - drivers/sensors: Add driver for the ST L3GD20 3 axis gyro. From
  10196. raiden00.
  10197. * Atmel SAM3/4:
  10198. - SAM3/4: Add support for ATSAM4S4C. From Wolfgang Reißnegger.
  10199. * NXP Freescale i.MX6 Boards:
  10200. - Sabre 6quad: Enable examples/smp test in i.MX6 SMP/NSH
  10201. configurations.
  10202. * NXP Freescale Kinetis:
  10203. - Kinetis: Added support for CHIP_MK60FN1M0VLQ12 chip. From Maciej
  10204. Skrzypek.
  10205. - Kinetis: Add support for K64/K66 RTC lower half driver. From Neil
  10206. Hancock.
  10207. - Kinetis: Extensive modification of MCG support based feature
  10208. configuration. From David Sidrane.
  10209. - Kinetis: Add support for K66 family. From David Sidrane.
  10210. - Kinetis: Created a kinetis SIM versioning scheme pulled in by
  10211. Kinetis chip.h. From David Sidrane.
  10212. - Created a kinetis PMC versioning scheme pulled in by Kinetis
  10213. chip.h. From David Sidrane.
  10214. - Kinetis: Extend clock configuration logic. Refactor
  10215. implementation. From David Sidrane.
  10216. * NXP Freescale Kinetis Drivers:
  10217. - Kinetis Ethernet: Kinetis Support RMII clock source select. This
  10218. defined the RMII clock source select bits and allows the selection
  10219. to be made via Kconfig. From David Sidrane. Freedom-K66F uses
  10220. ENET_1588_CLKIN as RMII clock
  10221. - Kinetis Serial: Added configurable 1|2 stop bits.
  10222. HAVE_SERIAL_CONSOLE -> HAVE_UART_CONSOLE to be consistent with
  10223. HAVE_LPUART_CONSOLE naming. From David Sidrane.
  10224. - Kinetis LPserial: Add LPUART serial driver and Clock
  10225. configuartaion to freedom-k66f board. From David Sidrane.
  10226. - Kinetis USB device: Refactor clocking in kinetis_usbdev. From
  10227. David Sidrane.
  10228. * NXP Freescale Kinetis Boards:
  10229. - Add support for NXP Freedom-k66f development board. From David
  10230. Sidrane.
  10231. - Kinetis Freedom K66F: Add Ethernet support. From David Sidrane.
  10232. - Add twr-k64f120m config. From Marc Rechté.
  10233. * NXP Freescale LPC43xx Boards:
  10234. - Bamboo-200E: Add netnsh configuration. From Alan Carvalho de Assis.
  10235. - Add usbnsh config to Bambino 200E board. From Alan Carvalho de
  10236. Assis.
  10237. * STMicro STM32:
  10238. - STM32 F7: Allow board to configure HSE clock in bypass-mode. This
  10239. is needed to enable HSE with Nucleo-F746ZG board. From Jussi
  10240. Kivilinna.
  10241. - STM32 F7: stm32_allocateheap: allow use DTCM memory for heap.
  10242. STM32F7 has up to 128KiB of DTCM memory that is currently left
  10243. unused. This change adds DTCM to main heap if
  10244. CONFIG_STM32F7_DTCMEXCLUDE is not enabled. From Jussi Kivilinna.
  10245. - Add basic support for the STM32F334. From Mateusz Szafoni.
  10246. - STM32F33XX DAC, OPAMP, COMP, ADC, HRTIM headers. From Mateusz
  10247. Szafoni.
  10248. * STMicro STM32 Drivers:
  10249. - STM32 F7 SDMMC: Add support for single bit operation on SDMMC2.
  10250. - STM32 L4: Port STM32L4 SAI driver from MDK.
  10251. - STM32 L4: Bring power management logic from Motrola MDK into NuttX.
  10252. - STM32 L4: Bring LPTIM driver in from the Motorola MDK.
  10253. - STM32 L4 COMP: Port from Motorola MDK.
  10254. * STMicro STM32 Boards:
  10255. - STM32F429i Discovery: Add support for NxWM on STM32F429i-Disco
  10256. board. From Alan Carvalho de Assis.
  10257. - STM32F103 Minimum: Add support for nRF24 on STM32F103-Minimum
  10258. board. From Alan Carvalho de Assis.
  10259. - Olimex STM32 P407: Add a NSH protected build configuration; Enable
  10260. procfs/ in all configurations.
  10261. - Olimex STM32 P407: Add support for on-board microSD slot.
  10262. - STM32F429i Discovery: add support for the L3GD20 driver. From
  10263. raiden00.
  10264. - STM32F103 Minimum: Add support to QEncoder on STM32F103 Minimum
  10265. board. From Alan Carvalho de Assis.
  10266. - Olimex STM32 P407: Add external SRAM support.
  10267. - Add basic support for the Nucleo F334R8 board. From Mateusz
  10268. Szafoni.
  10269. - STM32F103 Minimum: Add SDCard support over SPI on STM32F103-Minimum
  10270. board. From Alan Carvalho de Assis.
  10271. - STM32F103 Minimum: Add support to USB Device on STM32F103-Minimum
  10272. board. From Alan Carvalho de Assis.
  10273. * C Library/Header Files:
  10274. - compiler.h: packed_struct replaced by begin_packed_struct and
  10275. end_packed_struct. Now support IAR style packed structures. From
  10276. Aleksandr Vyhovanec.
  10277. - Math library: Leverage optimized ARMv8-M functions from BSD license
  10278. ARM file.
  10279. - Shared libraries: Add a non-standard dllfnc.h function to set the
  10280. symbol table.
  10281. - C Library: Add a support for setvbuf(). This is a collaborative
  10282. effort. Alan Carvalho de Assis did the initial prototype.
  10283. - C Library: Add setbuf() which is a trivial wrapper around setvbuf().
  10284. - C library: Add swab().
  10285. - C library: Add strtoimax and strtoumax.
  10286. - C library: Add ffs(), rindex(), an index(). Add strings.h. Move
  10287. strcasecmp, strncasecmp, bzero, bcmp, and bcopy to where they
  10288. belong in strings.h.h, not string.h. bzero, bcmp, and bcopy are
  10289. legacy functions; the contemporary counterparts should be used
  10290. instead.
  10291. - C library: Add fstatfs().
  10292. - Update cwchar. Add cwctype.
  10293. * Build/Configuration System:
  10294. - Add configuration support for builds with Ubuntu under Windows 10.
  10295. * Tools:
  10296. - tools/noteinfo.c: A hack tool that I use to analyze some sched_note
  10297. output. Needs a home and may be useful to others.
  10298. - tools/mkconfig.c: Add logic to keep all of the buffering options in
  10299. sync.
  10300. * NSH: apps/nshlib:
  10301. - NSH: Add support for the 'ln' command.
  10302. - NSH ls command: if node is a symobolic link, use readlink() to get
  10303. and the display the target of the symblic link.
  10304. - NSH: Add readlink command.
  10305. * Applications: apps/examples:
  10306. - apps/examples/nxtext: Make line spacing configurable.
  10307. - apps/system/zmodem/host/nuttx/compiler.h synchronized with
  10308. nuttx/nuttx/include/nuttx/compiler.h. From Aleksandr Vyhovanec.
  10309. - apps/examples/sotest: Add a test for shared libraries.
  10310. - apps/examples/ostest: Add a test of setvbuf().
  10311. - apps/examples/stat: Add a simple test for stat(), fstat(),
  10312. statfs(), and fstatfs().
  10313. Works-In-Progress:
  10314. * IEEE802.14.5/6LowPAN. Hooks and framework for this effort were
  10315. introduced in NuttX-7.15. Work has continued on this effort on
  10316. forks from the main repositories, albeit with many interruptions.
  10317. The completion of this wireless feature will postponed until at
  10318. least NuttX-7.21.
  10319. Bugfixes. Only the most critical bugfixes are listed here (see the
  10320. ChangeLog for the complete list of bugfixes and for additional, more
  10321. detailed bugfix information):
  10322. * Core OS:
  10323. - SMP: There were certain conditions that we must avoid by preventing
  10324. the release of the pending tasks while withn a critical section.
  10325. But this logic was incomplete; there was no logic to prevent other
  10326. CPUs from adding new, running tasks while on CPU is in a critical
  10327. section. This commit corrects this. This is matching logic in
  10328. sched_addreadytorun to avoid starting new tasks within the critical
  10329. section (unless the CPU is the holder of the lock). The holder of
  10330. the IRQ lock must be permitted to do whatever it needs to do.
  10331. - SMP: Make checks for CPU lock set more robust. There are certain
  10332. conditions early in initialization on during interrupt handling
  10333. where things need to be done a little differently.
  10334. - sched_cpulocked: Avoid use of spinlock. That has been reported to
  10335. cause a deadlock (2016-12-28).
  10336. - SMP: Fix a gap where we may try to make modifications to the task
  10337. lists without being in a critical sections. That permits
  10338. concurrent access to the tasks lists and many subtle problems.
  10339. This fix just remains in the critical section throughout the
  10340. operation (and possible until the task is restore in the event of a
  10341. context switch). Makes a big difference in stability.
  10342. - SMP: Fix an error in critical section logic when performing a
  10343. context switch from an interrupt handler. The g_cpu_irqset bit was
  10344. not being set for the CPU so other CPUs did not know about the
  10345. critical section.
  10346. - SMP Signals: Fix some SMP signal delivery logic. Was not handling
  10347. some critical sections correctly and was missing logic to signal
  10348. tasks running on other CPUs.
  10349. - SMP: Fix timer related issues: Round robin and sporadic
  10350. scheduling were only being performed for tasks running on the CPU
  10351. that processes the system timer interrupt. Similary, CPU load
  10352. measurements were only be processed for running on the CPU that
  10353. receives the sampling interrupt.
  10354. - sched_note: Fix spinlock instrumentation. From Masayuki Ishikawa.
  10355. - In all implementations of _exit(), use enter_critical_section() vs.
  10356. disabling local interrupts.
  10357. - sigtimedwait: When timer expires, up_unblock_task() is called.
  10358. This is okay in the single CPU case because interrupts are disable
  10359. in the timer interrupt handler. But it is insufficient in the SMP
  10360. case. enter_ and leave_critical_section() must be called in order
  10361. to manage spinlocks correctly.
  10362. - Fix a compile error: in sched_cpuload.c:Line136, the variables ts
  10363. and secs are not defined if CONFIG_CPULOAD_ONESHOT_ENTROPY = 0.
  10364. However, these variables are used regardless of
  10365. CONFIG_CPULOAD_ONESHOT_ENTROPY at lines~180:onwards. From Rajan Gill.
  10366. - CPU load: Correct computation of the nominal period to use when the
  10367. source is a oneshot timer.
  10368. - Cancellation points: Fix some backward logic in conditional
  10369. compilation.
  10370. - Remove an unused variable when calling sigwaitinfo() and
  10371. sigtimedwait(). From Masayuki Ishikawa.
  10372. * File System/Block and MTD Drivers:
  10373. - procfs: Correct to snprintf-related errors in fs_procfsproc.c.
  10374. Resolves issue #24.
  10375. - Add logic to VFS rename: If target of rename exists and is a
  10376. directory, then the source file should be moved 'under' the target
  10377. directory. POSIX also requires that if the target is a file, then
  10378. that old file must be deleted.
  10379. - Fix open() a block device with
  10380. CONFIG_DISABLE_PSEUDOFS_OPERATIONS=y. From Masayuki Ishikawa.
  10381. - File System: Don't build block driver proxy if PSEUDOFS_OPERATIONS
  10382. are disabled.
  10383. - sendfile(): Fix error introduced with commit
  10384. ff73be870e38959b0aaee5961dc47b4b58dc2d86. Noted by Maciej Wójcik.
  10385. * Graphics/Graphic Drivers:
  10386. - NxWM configurations. If using a 7-bit character set, then the
  10387. cursor character cannot be 137 (graphic block). Use 95
  10388. (underscore) instead.
  10389. - NX server: Correct message queue names. Should not be at /dev,
  10390. but rather relative to /var/mqueue.
  10391. * Common Drivers:
  10392. - MMCSD_SDIO: Only wait for card ejected if card detection is
  10393. supported. From Alan Carvalho de Assis.
  10394. - Typos withim mtd/ with Macronix MX25L. In
  10395. NuttX/drivers/mtd/Make.defs letters X between M and 25 are
  10396. missing. Noted by Oleg Evseev.
  10397. - USBMSC: Always set LUN readonly flag. From Wolfgang Reißnegger.
  10398. - drivers/lcd: ssd1306_configspi() must have global scope.
  10399. - MMC/SD SDIO: Some drivers need to start DMA before sending CMD24
  10400. and some AFTER. From Alan Carvalho de Assis.
  10401. - drivers/tone.c: Handle configuration with multiple PWM channels.
  10402. This resolves issue #30: Audio Tone Generator and PWM Multiple
  10403. Output Channel options.
  10404. - drivers/tone.c: 50% duty needs to be expressed a a fixed precision
  10405. number.
  10406. - drivers/spi/Kconfig: There is too much SPI in the configuration
  10407. menu; SPI Driver Support menu is empty. From Maciej Wójcik.
  10408. - option to enable Memory Card debug output was hidden with SD cards
  10409. connected through SPI. From Maciej Wójcik.
  10410. - usbhost_cdcacm: fix tx outbuffer overflow and remove now invalid
  10411. assert. From Janne Rosberg.
  10412. * Networking/Network Drivers:
  10413. - Networking: Fixed some issues that prevented IPv6 from working with
  10414. IPv4 enabled. From Pascal Speck.
  10415. - Networking: fixed a nullptr-dereference on iob_clone. From Pascal
  10416. Speck.
  10417. - Ethernet: Need two work structures (minimum) in all Ethernet
  10418. drivers so that pending poll work is not lost when an interrupt
  10419. occurs.
  10420. * ARMv7-R:
  10421. - I found an issue inside the cp15_coherent_dcache function: The
  10422. "mcr CP15_BPIALLIS(r0)" should only be used with SMP
  10423. configurationa. In non-SMP configuration this instruction could
  10424. become undefined. From Manohara HK.
  10425. * Atmel SAM3/4 Drivers:
  10426. - SAM3/4: GPIO bit numbering typo fixes. From Wolfgang Reißnegger.
  10427. * Atmel SAM3/4 Boards:
  10428. - Add missing sched_note_*() calls in sam4cm SMP functions.
  10429. * NXP/Freescale Kinetis:
  10430. - Kinetis: Fixed wrong MCG VDIV calculation on new NXP K60. From
  10431. Maciej Skrzypek.
  10432. - Kinetis: Need to set HAVE_UART_DEVICE when UART4 is selected. From
  10433. Maciej Skrzypek.
  10434. - Kinetis MCG: Wrong FRDIV set in MCG_C1. From Maciej Skrzypek.
  10435. * NXP/Freescale Kinetis Drivers:
  10436. - Kinetis Serial: Fixed compile error when UART5 is selected. From
  10437. Maciej Skrzypek.
  10438. - Kinetis SDHC - Enable clock after selected. From David Sidrane.
  10439. - Kinetis: Correct some SPI and I2C configuration issues. From
  10440. David Sidrane.
  10441. - Kinetis Ethernet: Add #define for number of loops for auto
  10442. negotiation to complete. From Marc Rechté.
  10443. - Kinetis Werial: Fixed up_rxint - did not disable the RX
  10444. interuppts. There was an OR where and AND NOT was needed. From
  10445. David Sidrane.
  10446. * NXP/Freescale LPC43xx:
  10447. - LPC43 pinset definitions: Add more 1 bit to pinset to reach
  10448. SFSCLK0-SFSCLK3. Remove PINCONFIG_DIGITAL. From Alan Carvalho de
  10449. Assis.
  10450. * NXP/Freescale LPC43xx Drivers:
  10451. - LPC43 serial: Correct conditional logic that selects /dev/ttySN.
  10452. Problem noted by Alan Carvalho de Assis.
  10453. * NXP/Freescale i.MX6:
  10454. - i.MX6: Fix clearing GPT status register. From Masayuki Ishikawa.
  10455. * STMicro STM32:
  10456. - STM32, STM32L4 Oneshot: Fix logic so that it can support multiple
  10457. oneshot timers.
  10458. - STM32 F7: Added missing ARCH_HAVE_RESET for F7. From David Sidrane.
  10459. - STM32: Add missing STM32_BKP_BASE. From David Sidrane.
  10460. - STM32 and STM32F7: Fixes the BKP reference counter issue. From
  10461. David Sidrane.
  10462. * STMicro STM32 Drivers:
  10463. - Fix for SAMv7 SPI: DLYBS value was calculated, but never written to
  10464. any registers. This led to incorrect timings on the bus. From
  10465. Michael Spahlinger.
  10466. - STM32 QEncoder: Fix QEncoder driver, based on STM32L4 driver. From
  10467. Alan Carvalho de Assis.
  10468. - STM32 QEncoder: Enable clocking to the timer on QE setup; disable
  10469. clock on QE teardown.
  10470. - STM32 Ethernet: Need two work structures so that pending poll work
  10471. is not lost when an interrupt occurs. This change has also been
  10472. ported to all all other effected Ethernet drivers.
  10473. - STM32 OTGHS host: stm32_in_transfer() fails and returns NAK if a
  10474. short transfer is received. This causes problems from class
  10475. drivers like CDC/ACM where short packets are expected. In those
  10476. protocols, any transfer may be terminated by sending short or NUL
  10477. packet. From Janne Rosberg. Adapted Janne Rosberg's patch to
  10478. STM32 OTGHS host to OTGFS host, and to similar USB host
  10479. implementations for STM32 L4 and F7.
  10480. * STMicro STM32 Boards:
  10481. - STM32F4 Discovery: Fix issues with QEncoder support. From Alan
  10482. Carvalho de Assis.
  10483. * C Library/Header Files:
  10484. - Add debug assertion in libdtoa to catch attempts to use floating
  10485. point output formats from within an interrupt handler. That will
  10486. cause assertions or crashes downstream because __dtoa will attempt
  10487. to allocate memory. From Pierre-noel Bouteville.
  10488. - libc: Fix ARMv7-A/R memcpy assembly.
  10489. - Fix return value if x is NaN. From Aleksandr Vyhovanec.
  10490. * apps/nshlib:
  10491. - NSH: Eliminate a warning when all memory inspection commands are disabled.
  10492. * apps/graphics:
  10493. - apps/graphics/traveler/tools: Fix linkage issue. The -lm should
  10494. come after -o binname. From Alan Carvalho de Assis.
  10495. * apps/netutils:
  10496. - The CONFIG_NETUTILS_HTTPD_PATH constant is used by httpd_mmap.c and
  10497. httpd_sendfile.c but It was not present in Kconfig menu. From
  10498. Maciej Wójcik.
  10499. * apps/examples:
  10500. - Configurations that enable OSTEST must not disable signals.
  10501. - apps/examples/ostest: Was ignoring
  10502. CONFIG_EXAMPLES_OSTEST_FPUTESTDISABLE.
  10503. - In apps/examples/mtdpart/mtdpart_main.c where
  10504. CONFIG_EXAMPLES_MTDPART_NPARTITIONS defining is checked should be
  10505. #ifndef instead of #ifdef. Noted by Oleg Evseev.
  10506. NuttX-7.21 Release Notes
  10507. ------------------------
  10508. The 121st release of NuttX, Version 7.21, was made on June 6, 2017,
  10509. and is available for download from the Bitbucket.org website. Note
  10510. that release consists of two tarballs: nuttx-7.21.tar.gz and
  10511. apps-7.21.tar.gz. These are available from:
  10512. https://bitbucket.org/nuttx/nuttx/downloads
  10513. https://bitbucket.org/nuttx/apps/downloads
  10514. Both may be needed (see the top-level nuttx/README.txt file for build
  10515. information).
  10516. Additional new features and extended functionality:
  10517. * Core OS:
  10518. - pthread rwlocks: Add an implementation for read/write locks
  10519. (rwlocks) into the pthread library. These locks are writer
  10520. priority, such that if any writers come in they are given priority
  10521. for writing. From Mark Schulte.
  10522. - pthread robust mutexes: Implement robust mutex support:
  10523. pthread_mutex_lock() and trylock() will return EOWNERDEAD if the
  10524. mutex is locked by a thread that no longer exists. Add
  10525. pthread_mutex_consistent() to recover from this situation. Keep
  10526. list of all mutexes held by a thread in a list in the pthread's TCB.
  10527. When pthread exits or is cancelled, mutexes held by thread are
  10528. marked inconsistent and the highest priority thread waiting for the
  10529. mutex is awakened. There is a configuration option to (a) support
  10530. only robust mutexes, (b) support only traditional unsafe mutexes,
  10531. or (c) Support both unsafe and robust mutexes via
  10532. pthread_mutexattr_get/setrobust().
  10533. - pthread cancellation points: Add logic to disable cancellation
  10534. points within the OS. This is useful when an internal OS function
  10535. that is NOT a cancellation point calls an OS function which is a
  10536. cancellation point. In that case, irrecoverable states may occur if
  10537. the cancellation is within the OS. From Juha Niskanen.
  10538. - clock: Add clock_resynchronize and use subseconds RTC. Add
  10539. clock_resynchronize for better synchronization of CLOCK_REALTIME and
  10540. CLOCK_MONOTONIC to match RTC after resume from low-power state. Add
  10541. up_rtc_getdatetime_with_subseconds under
  10542. CONFIG_ARCH_HAVE_RTC_SUBSECONDS to allow initializing (and
  10543. resynchronizing) system clock with subseconds accuracy RTC. From
  10544. Jussi Kivilinna.
  10545. - clock: Add new type ssystime_t for relative 64-bit ticks, change
  10546. ticks<->time conversion functions to use ssystime_t. From Jussi
  10547. Kivilinna.
  10548. - clock: Add testing for 32-bit overflow of 64-bit system timer. From
  10549. Jussi Kivilinna.
  10550. * File Systems/Block and MTD Drivers
  10551. - drivers/mtd/w25.c: Erase sector only if it is not in erased state.
  10552. From Jussi Kivilinna.
  10553. * Graphics/Display Drivers:
  10554. - drivers/lcd: Extend st7565 driver to include support for the
  10555. AQM_1248A. From Masayuki Ishikawa.
  10556. - drivers/lcd: Add driver for Nokia 5110 (Philips PCD8544). From Alan
  10557. Carvalho de Assis.
  10558. * Networking/Network Drivers:
  10559. - Extensive modifications to support wireless network (see below).
  10560. - TUN driver: Implement TAP (OSI layer 2) mode. Enable by setting the
  10561. IFF_TAP flag instead of the IFF_TUN flag in ifr_flags. From Thomas
  10562. Keh.
  10563. - Add user-space networking stack API (usrsock). User-space
  10564. networking stack API allows user-space daemon to provide TCP/IP
  10565. stack implementation for NuttX network. Main use for this is to
  10566. allow use and seamless integration of HW-provided TCP/IP stacks to
  10567. NuttX. For example, user-space daemon can translate /dev/usrsock
  10568. API requests to HW TCP/IP API requests while rest of the user-space
  10569. can access standard socket API, with socket descriptors that can be
  10570. used with NuttX system calls. From Jussi Kivilinna.
  10571. - net/: Network driver now retains Ethernet MAC address in a union so
  10572. that other link layer addresses may be used in a MULTILINK
  10573. environment.
  10574. * Wireless Networking/Wireless Drivers:
  10575. - BCM43362: Support for Broadcom's BCM43362 WiFi chip was contributed
  10576. by Simon Piriou as part of the port of the Particle Photon board.
  10577. Only station functionality is available at present. This work
  10578. includes not on the WiFi driver, but the support Particle Photon
  10579. board, the infrasture for IEEE 802.11 FullMAC networking including
  10580. the network device interface, WiFi configuration, AP scanning and
  10581. authentication and association with an AP.
  10582. - IEEE 802.11 networking tools and support.
  10583. - IEEE 802.15.4 MAC support. This is an effort that was started some
  10584. time back by Sebastien Lorquet (with some help from Matte Poppe).
  10585. Recently, Anthony Merlino has taken on this effort and has made
  10586. some significant progress. Using the Microchip MRF24J40 module with
  10587. the Mikroe Clicker2-STM32 board along with a PC-based IEEE 802.15.4
  10588. sniffer, Anthonly has verified correct transmittion and receipt of
  10589. basic frames.
  10590. - Microchip MRF24J40: As mentioned above, this IEEE 802.15.4 radio
  10591. driver is now basically functional.
  10592. - IEEE 802.15.4 Network Driver: A driver that interfaces the NuttX
  10593. network with the IEEE 802.15.4 MAC has been developed but is still
  10594. incomplete and has not been verified.
  10595. - IEEE 802.15.4 Network Loopback Driver: A simple IEEE 802.15.4 MAC
  10596. loopback driver was developed. This driver allowed for parallel
  10597. development of the IEEE 802.15.4 MAC and 6LoWPAN.
  10598. - 6LoWPAN: The Contiki 6LoWPAN stack has been ported so that works
  10599. within the NuttX networking framework and interfaces with the new
  10600. IEEE 802.15.4 MAC via the network driver. Live testing with
  10601. IEEE 802.15.4 radios has not yet been done; all testing has used
  10602. the loopback driver. There are no known problems and the stack
  10603. is ready for additional testing.
  10604. - Add option to enable wireless debug output.
  10605. * Other Common Device Drivers:
  10606. - Add entropy pool and strong random number generator. Entropy pool
  10607. gathers environmental noise from device drivers, user-space, etc.,
  10608. and returns good random numbers, suitable for cryptographic use.
  10609. Based on entropy pool design from *BSDs and uses BLAKE2Xs algorithm
  10610. for CSPRNG output. Patch also adds /dev/urandom support for using
  10611. entropy pool RNG and new 'getrandom' system call for getting
  10612. randomness without file-descriptor usage (thus avoiding file-
  10613. descriptor exhaustion attacks). The 'getrandom' interface is similar
  10614. as 'getentropy' and 'getrandom' available on OpenBSD and Linux
  10615. respectively. From Jussi Kivilinna.
  10616. - XBox One controller: Adds USB host driver support for the XBox One
  10617. controller. Currently only the latest version (XBox One X)
  10618. controller works. The older XBox One controllers do not enumerate
  10619. correctly. From Brian Webb.
  10620. - drivers/analog: Add basic COMP driver. From Mateusz Szafoni.
  10621. - drivers/analog: Add driver for the LTC1767L ADC. From Martin
  10622. Lederhilger.
  10623. - drivers/analog: Add basic OPAMP driver. From Mateusz Szafoni.
  10624. - drivers/sensors: Add driver for ST HTS221 humidity sensor. From
  10625. Juha Niskanen.
  10626. - drivers/sensors: Add driver for ST LPS25H pressure sensor. From
  10627. Juha Niskanen.
  10628. - drivers/sensors: Add driver for ST LIS2DH accelerometer. From Timo
  10629. Voutilainen.
  10630. - drivers/usbmisc: Add driver for Fairchild FUSB301 USB type-C
  10631. controller. From Harri Luhtala.
  10632. - RTC: Add interface for check if RTC time has been set. New
  10633. interface allows checking if RTC time has been set. This allows to
  10634. application to detect if RTC has valid time (after reset) or should
  10635. application attempt to get real time by other means (for example, by
  10636. launching ntpclient or GPS). From Jussi Kivilinna.
  10637. - Buttons: Change return value of board_buttons() and the type of
  10638. btn_buttonset_t to uint32_t so that more than 8 buttons can be
  10639. supported.
  10640. - drivers/syslog: Use monotonic clock for timestamp when available.
  10641. From Jussi Kivilinna.
  10642. - SPI: Add an instance argument to the SPIDEV definitions. Thus,
  10643. instead of specifying a FLASH device, for example, as SPI_FLASH, you
  10644. would now use SPI_FLASH(0) where the "instance" argument now
  10645. distinguishes multiple FLASH devices on the same SPI bus. From
  10646. Sebastien Lorquet.
  10647. - IOBs: Move from net/iob to a better location in mm/iob where they
  10648. can be shared outside of the networking logic. Current also used
  10649. by IEEE 802.15.4 MAC and by syslog (when buffering enabled).
  10650. - syslog: Add option to buffer SYSLOG output to avoid interleaving.
  10651. Uses new shareable IOBs. Additional logic to assure that the the
  10652. write from the buffer is a single atomic write in normal debug
  10653. output.
  10654. - drivers/can: Move CAN subsystem to its own directory and put device
  10655. drivers there. From Alan Carvalho de Assis.
  10656. - drivers/can: Add Microchip MCP2515 CAN Bus controller driver. From
  10657. Alan Carvalho de Assis.
  10658. - drivers/audio: Add cs43l22 audio driver. From Taras Drozdovsky.
  10659. - drivers/input: Add Cypress MBR3108 CapSense touch button driver.
  10660. From Juha Niskanen.
  10661. * Simulation
  10662. - configs/sim/sixlowpan: Configuration for testing the 6LoWPAN with
  10663. the IEEE 802.15.4 loopback network driver.
  10664. * Infineon XMC4xxx:
  10665. - arch/arm/src/xmc4: Initial, partial support for Infineon XMC4xxx.
  10666. * Infineon XMC4xxx Boards:
  10667. - XMC4500 Relax: Add basic board support infrastructure of Infineon
  10668. XMC4500 Relax Lite v1. Basic serial, LED, and button button support
  10669. for a simple NSH configuration. There are still stome remaining
  10670. issues with serial communications.
  10671. * MicroChip PIC32MX Boards:
  10672. - pic32mx7mmb: Add support for the Pinquino toolchain.
  10673. - pic32mx7mmb: Add support for PROCFS file system.
  10674. * NXP Freescale Kinetis:
  10675. - Kinetis: Allow board to add pullups on SDHC lines. From David
  10676. Sidrane.
  10677. - Kinetis: Use optional BOARD_OSC_CR and BOARD_OSC_DIV in clock
  10678. configuration. From David Sidrane.
  10679. * NXP Freescale Kinetis Drivers:
  10680. - Kinetis: Add Timer PWM Module (TPM) to K66 chip. From David
  10681. Sidrane.
  10682. - Kinetis: Added HW flow control and termios. From David Sidrane.
  10683. - Kinetis: Add ARCH_HAVE_I2CRESET. From David Sidrane.
  10684. * NXP Freescale LPC43xx:
  10685. - Add support for LPC4337FET256. From Andreas Bihlmaier.
  10686. * STMicro STM32:
  10687. - Change STM32 tickless to use only one timer. From Konstantin
  10688. Berezenko.
  10689. - STM32 F7: Add support for LSE RTC and enable RTC subseconds. From
  10690. Jussi Kivilinna.
  10691. - STM32 L1: stm32l15xx_rcc: Add support for using MSI as system
  10692. clock. From Juha Niskanen.
  10693. - STM32 L1: stm32l15xxx_rcc: configure medium performance voltage
  10694. range and zero wait-state when allowed by SYSCLK setting. Zero
  10695. wait-state for flash can be configured when: (1) Range 1 and
  10696. SYSCLK <= 16 Mhz, (2) Range 2 and SYSCLK <= 8 Mhz, or (3) Range 3
  10697. and SYSCLK <= 4.2 Mhz. Medium performance voltage range (1.5V)
  10698. can be configured when SYSCLK is up to 16 Mhz and PLLVCO up to
  10699. 48 Mhz. From Juha Niskanen.
  10700. - STM32 F0: Add basic support for STM32F0. From Alan Carvalho de
  10701. Assis.
  10702. - STM32 F0: Add basic support for STM32F07x family.
  10703. - STM32 L1: stm32l15xx_rcc: Allow board to configure HSE clock in
  10704. bypass-mode. Allows using MCO output from ST-link chip (on Nucleo
  10705. and Discovery boards) as HSE input. From Juha Niskanen.
  10706. - STM32 L1: Add support for STM32L152CC, STM32L152RC and STM32L152VC.
  10707. From Juha Niskanen.
  10708. - STM32 F0: Add support for HSI48.
  10709. - STM32 L4: Add support for the STM32L496XX family. From Juha
  10710. Niskanen.
  10711. - STM32 L4: modularize Kconfig to support different product
  10712. lines/families. This is modeled after STM32F7. Idea is to declare
  10713. each chip in Kconfig but allow for flash size override. Commit adds
  10714. many STM32L4_HAVE_XXX feature test macros. From Juha Niskanen.
  10715. - STM32 L4: Separate SYSCFG into product line specific files for
  10716. clarity. From Juha Niskanen.
  10717. - STM32 L4: Add support for many new MCUs from the STM32L4X3XX
  10718. product line. From Juha Niskanen.
  10719. - STM32 L4: Add dbgmcu header files. From Juha Niskanen.
  10720. - STM32 F410: Add support for STM32F410. STM32F410 is a version of
  10721. STM32F4 with 32 KB of RAM and 62 or 128 KB of flash. From Gwenhael
  10722. Goavec-Merou.
  10723. * STMicro STM32 Drivers:
  10724. - SDIO: Extensions to support the SDIO interface to the BCM43362 from
  10725. Simon Piriou.
  10726. - STM32 F2: Add USB OTG HS support for stm32f20xxx cores. From Simon
  10727. Piriou.
  10728. - STM32 F2, F4, and F7: Add BOARD_DISABLE_USBOTG_HSULPI flag. From
  10729. Simon Piriou.
  10730. - STM32 F33: Move DMA logic to a separate files + add ADC support.
  10731. From Mateusz Szafoni.
  10732. - STM32 F3: Add COMP support. From Mateusz Szafoni.
  10733. - STM32 F33: Support for COMP character driver. From Mateusz Szafoni.
  10734. - STM32 F4: Implement DMA support for the STM32F4 I2C. From Rajan Gill.
  10735. - STM32 F7: Add stm32 RNG support. This is copied from stm32l4.
  10736. Tested on STM32F746ZG board. From Juha Niskanen.
  10737. - STM32 L1: Add STM32L162VE to chip.h. From Juha Niskanen.
  10738. - STM32 F4: Add I2C3 SDA pin mapping for STM32F411. From no1wudi.
  10739. - STM32 L1: stm32_flash: Add EEPROM writing for STM32L15XX. From
  10740. Juha Niskanen.
  10741. - STM32 F7: Serial: Add interface to get uart_dev_t by USART number,
  10742. stm32_serial_get_uart. From Jussi Kivilinna.
  10743. - STM32 F4: Provide TIM5 definition for STM32F429. From Matias v01d.
  10744. - STM32 F0: Add an untested port of the F1 USB device to the STM32F0.
  10745. - STM32 F0: Add support for the STM32F09X family. From Juha
  10746. Niskanen.
  10747. - STM32 F0: Initial cut at I2C driver. Still a work in progress.
  10748. From Alan Carvalho de Assis.
  10749. - STM32 F33: Add OPAMP support. From Mateusz Szafoni.
  10750. - STM32 L4: stm32l4_i2c: Add I2C4 code. From Juha Niskanen.
  10751. - STM32 L4: Add GPIO_PORTI definition. From Juha Niskanen.
  10752. - STM32 F7 Serial: Allow configuring Rx DMA buffer size. From Jussi
  10753. Kivilinna.
  10754. - STM32 L4: Firewall for stm32l4x3xx. Not tested for any product
  10755. family, but now it at least compiles. L496 devices can have one bit
  10756. wider Volatile Data Segment. From Juha Niskanen.
  10757. - STM32 TIM: Add method to get timer width. Freerun timer: Use timer
  10758. width to get the correct clock rollover point.
  10759. - STM32 L4: Add internal flash write support. From Juha Niskanen.
  10760. - STM32 L4: Port stm32l4_serial_get_uart function from STM32F7. From
  10761. Juha Niskanen.
  10762. - STM32 Ethernet: Add support for KSZ8081 PHY interrupts. From
  10763. Sebastien Lorquet.
  10764. - STM32 F4: Add I2S driver. From Taras Drozdovsky.
  10765. - STM32 L4: Add IWDG peripheral. This is the same as for STM32
  10766. except that prescale and reload can be changed after watchdog has
  10767. been started, as this seems to work on L4. From Juha Niskanen.
  10768. - STM32 F7: Add SPI DMA support. From Jussi Kivilinna.
  10769. * STMicro STM32 Boards:
  10770. - Support for the Particle Photon board was contributed by Simon
  10771. Piriou. The Photon board is based on a STM32F205G MCU with and on-
  10772. board BCM43362 WiFi chip that interfaces via the STM32's SDIO
  10773. interface. Board configuration support includes, in addition,
  10774. buttons, LEDS, IWDG, USB OTG HS, and procfs support. Configurations
  10775. available for nsh, usbnsh, and wlan configurations.
  10776. - Clicker2-STM32: Support for the Mikroelektronika Clicker 2 for
  10777. STM32 was added by Anthony Merlino. This board, along with the
  10778. MRF24J40 Click board is the platform used to deveop the IEEE
  10779. 802.15.4 support. The boad configuration includes the MRF24J40
  10780. intialization logic and SPI support. Configurations exist for nsh,
  10781. knsh, usbnsh, and mrf24j40-radio.
  10782. - Nucleo_F334R8: Add ADC example. From Mateusz Szafoni.
  10783. - Nucleo-F334R8: Add COMP support. From Mateusz Szafoni.
  10784. - Nucleo-F334R8: Use new COMP driver. From Mateusz Szafoni.
  10785. - Adds USB host support to stm32f411-disco board. From Brian Webb.
  10786. - Add stm32f0discovery board support. From Alan Carvalho de Assis.
  10787. - Nucleo-F072RB: Add board configuration.
  10788. - Nucleo-F334R8: Add OPAMP support. From Mateusz Szafoni.
  10789. - Nucleo-F072RB: Add support for the I2C driver used by I2C tools.
  10790. - Nucleo-L496ZG: Add nucleo-l496zg board files. From Juha Niskanen.
  10791. - Nucleo-F091RC: Add nucleo-f091rc board files. From Juha Niskanen.
  10792. - Nucleo-L432KC: Add nucleo-l432kc board files. From Sebastien
  10793. Lorquet.
  10794. - Nucleo-L452RE: Add nucleo-l452re board files. From Juha Niskanen.
  10795. - stm32f103-miniumum: Add board support to use the Nokia 5110
  10796. LCD display driver. From Alan Carvalho de Assis.
  10797. * C Library/Header Files:
  10798. - C library: Add strerror_r().
  10799. - C Library: Add wcstoull(), swprintf(), wcstod(), wcstof(), wcstol(),
  10800. wcstold(), wcstoul(), wcstoll() functions. Add mbsnrtowcs() and
  10801. wcsnrtombs() (just returning success). Add mbtowc() and wctomb() to
  10802. C++ std namespace. From Alan Carvalho de Assis.
  10803. - C Library: Add ffsl(), ffsll(), fls(), flsl(), flsll() and use
  10804. GCC's __builtin_ctz/__builtin_clz for faster implementation of these.
  10805. From Jussi Kivilinna.
  10806. - fixedmath: Add square root and b32_t conversion operators. From
  10807. Jussi Kivilinna.
  10808. - locale.h: Add a bogus definition of locale_t.
  10809. - C library: Versions mbrlen and mbsrtowcs taken and adapted from
  10810. FreeBSD code (at https://github.com/freebsd/freebsd/). From Matias
  10811. v01d.
  10812. * Build/Configuration System:
  10813. - Include C++ library in 'make export'. From Alan Carvalho de Assis.
  10814. - configs: Remove all setenv.sh and setenv.bat files. Remove all
  10815. references to setenv.sh and setenv.bat from all config README files.
  10816. - Kconfig/deconfigs: Add CONFIG_ARCH_TOOLCHAIN_GNU to indicate that
  10817. the toolchain is based on GNU gcc/as/ld. This is in addition to the
  10818. CPU-specific versions of the same definition.
  10819. - Move prototype for up_cxxinitialize() from nuttx/include/nuttx/arch.h
  10820. to apps/include/platform/cxxinitialize.h.
  10821. * Tools:
  10822. - Add initialconfig.c so that perhaps in the future we will be able to
  10823. use this to generate a new configuration from scratch (rather than
  10824. having to derive new configurations from existing configurations).
  10825. NOTE: Not yet intregated into the build system.
  10826. * NSH: apps/nshlib:
  10827. - Added support for set [{+|-}{e|x|xe|ex}] [<name> <value>]. Set the
  10828. 'exit on error control' and/or 'print a trace' of commands when
  10829. parsing scripts in NSH. The settinngs are in effect from the point
  10830. of exection, until they are changed again, or in the case of the init
  10831. script, the settings are returned to the default settings when it
  10832. exits. Included child scripts will run with the parents settings and
  10833. changes made in the child script will effect the parent on return.
  10834. Use 'set -e' to enable and 'set +e' to disable (ignore) the exit
  10835. condition on commands. The default is -e. Errors cause script to
  10836. exit. Use 'set -x' to enable and 'set +x' to disable (silence)
  10837. printing a trace of the script commands as they are ececuted. The
  10838. default is +x. No printing of a trace of script commands as they are
  10839. executed. From David Sidrane.
  10840. - Print expanded variables if -x. From David Sidrane.
  10841. - ifconfig command: Extend ifconfig to support 6LoWPAN. Adapt to
  10842. some changes in configuration variable usage.
  10843. - Network initialization: If IEEE802.11 selected use wlan0 instead of
  10844. eth0 for network device name.
  10845. - Network initialization: NSH now has configuration options to select
  10846. the wireless properties. It builds the configuration structure and
  10847. passes this to wpa_driver_wext_associate() so that it will set the
  10848. network as configured.
  10849. - Network initialization: Add a new option CONFIG_NSH_NETLOCAL that
  10850. will suppress some built in operations and will support manual
  10851. configuration of a wireless network through command line tools.
  10852. * Examples/Tests: apps/examples:
  10853. - examples/xbc_text: Adds a test program for the XBox One controller
  10854. driver. From Brian Webb.
  10855. - examples/ostest: Add a test of robust mutexes.
  10856. - examples/ostest: Add tests for pthread_rwlock. Adding tests to be
  10857. used to verify the pthread_rwlock lock works. From Mark Schulte.
  10858. - examples/ostest: Additional test for rwlock and one for cancel
  10859. cleanup handlers. From Juha Niskanen.
  10860. - examples/usrsocktest: Add application for USRSOCK testing. From
  10861. Jussi Kivilinna.
  10862. - examples/nettest: Adapt for use in testing 6LoWPAN.
  10863. - examples/nettest: If doing loopback, but not using the official
  10864. loopback device, then use the server should use the configured client
  10865. IP address.
  10866. - examples/udpblaster: Several fixes to work with 6LoWPAN.
  10867. - examples/udpblaster: Add logic to bind the local UDP socket to a
  10868. well-known address.
  10869. - examples/configdata: Add stacksize and priority. From Juha Niskanen.
  10870. * Network Utilies: apps/netuils:
  10871. - netutils/netlib: Add IEEE 802.11 wireless IOCTL wrappers.
  10872. - netutils/netlib: Add a helper function to convert a string to a
  10873. 6LoWPAN node address.
  10874. - netlib and NSH: Add logic to get/set the IEEE802.15.4 PAN ID.
  10875. - netutils/dhcpc: Make the network device name a configuration
  10876. option. Was hardcoded to eth0 but may, instead, need to be wlan0.
  10877. - netutils/dhcpc: Remove hard-coded interface device. Now passed as
  10878. a parameter to dhcpc_open(). From Sebastien Lorquet.
  10879. * Wireless Utilies: apps/wireless:
  10880. - wireless/wapi: Port of Wapi wireless services. The original
  10881. depended on features not supported by NuttX: Removed logic that
  10882. depends on Linux netlink. Removed functionality that depended on
  10883. the Linux procfs: This includes only 1) listing of available
  10884. interfaces and 2) listing of all routes.
  10885. - wireless/wapi: Create command line Wapi application based on
  10886. Wapi sample code.
  10887. - wireless/wapi: wpa_driver_wext_associate() now accepts a
  10888. configuration parameter that can be used to specify the wireless
  10889. properties.
  10890. - wireless/wapi: Add basic wapi_event_stream_extract implementation.
  10891. From Simon Piriou.
  10892. - wireless/ieee802154: Add iwpan and i8sak tools. iwpan is similar
  10893. in concept to wapi. From Anthony Merlino (i8sak was originally
  10894. by Sebastien Lorquet).
  10895. - wireless/ieee802154/libmac: IEEE 802.15.4 MAC library.
  10896. - wireless/wext: Add drivers_wext from the WPA supplicant; Integrate
  10897. into NSH. From Simon Piriou.
  10898. * System Unitilities (apps/system)
  10899. - apps/system/dhcpc: Add a command to renew or establish a lease on an
  10900. IPv4 address.
  10901. - apps/system/ntpc: Add a command to start or stop the NTPC daemon.
  10902. - apps/system/ramtest: Make stacksize and priority conigurable.
  10903. * Platform-Specific Support (apps/platform)
  10904. - apps/platform: Create gnu/ subdirectory that contains the one and
  10905. only GNU C++ initialization function. Remove all other C++
  10906. initialization functions.
  10907. Bugfixes. Only the most critical bugfixes are listed here (see the
  10908. ChangeLog for the complete list of bugfixes and for additional, more
  10909. detailed bugfix information):
  10910. * Core OS:
  10911. - Priority inheritance: When CONFIG_SEM_PREALLOCHOLDERS==0, there is
  10912. only a single, hard-allocated holder structure. This is problem
  10913. because in sem_wait() the holder is released, but needs to remain in
  10914. the holder container until sem_restorebaseprio() is called. The call
  10915. to sem_restorebaseprio() must be one of the last things the
  10916. sem_wait() does because it can cause the task to be suspended. If in
  10917. sem_wait(), a new task gets the semaphore count then it will fail to
  10918. allocate the holder and will not participate in priority
  10919. inheritance. This fix is to add two hard-allocated holders in the
  10920. sem_t structure: One of the old holder and one for the new holder.
  10921. - Priority inheritance: sem_holder sem_findholder missing
  10922. inintalization of pholder. sem_findholder would fail and code
  10923. optimization covered this up. From David Sidrane.
  10924. - Partial Fix priority inheritance CONFIG_SEM_PREALLOCHOLDERS=0. From
  10925. David Sidrane.
  10926. - Priority inheritance: sem_boostholderprio prevent overrun of
  10927. pend_reprios. The second case rtcb->sched_priority <=
  10928. htcb->sched_priority did not check if there is sufficient space in
  10929. the pend_reprios array. From David Sidrane.
  10930. - lp_worker: Guard from pend_reprios overlow. From David Sidrane.
  10931. - Priority inheritance: Fixes improper restoration of base_priority in
  10932. the case of CONFIG_SEM_PREALLOCHOLDERS=0. The call to
  10933. sem_restorebaseprio_task context switches in the
  10934. sem_foreachholder(sem, sem_restoreholderprioB, stcb); call prior to
  10935. releasing the holder. So the running task is left as a holder as is
  10936. the started task. Leaving both slots filled thus failing to perform
  10937. the boost/or restoration on the correct tcb. This PR fixes this by
  10938. releasing the running task slot prior to reprioritization that can
  10939. lead to the context switch. To faclitate this, the interface to
  10940. sem_restorebaseprio needed to take the tcb from the holder prior to
  10941. the holder being freed. In the failure case where sched_verifytcb
  10942. fails it added the overhead of looking up the holder. There is also
  10943. the additional thunking on the foreach to get from holer to
  10944. holder->tcb. An alternate approach could be to leve the interface
  10945. the same and allocate a holder on the stack of sem_restoreholderprioB
  10946. copy the sem's holder to it, free it as is done in this pr and and
  10947. then pass that address sem_restoreholderprio as the holder. It could
  10948. then get the holder's tcb but we would keep the same sem_findholder
  10949. in sched_verifytcb. From David Sidrane.
  10950. - Priority inheritance: Fixes improper restoration of base_priority.
  10951. From David Sidrane.
  10952. - sem_holder: Indexing error. From David Sidrane.
  10953. if (sem->holder[0].htcb != NULL || sem->holder[**1**].htcb != NULL)
  10954. - realloc(): When realloc() has to fall back to calling malloc(), size
  10955. including overhead was being provided to malloc(), causing a slightly
  10956. larger allocation than needed. Noted by initialkjc@yahoo.com.
  10957. - scheduler: Fix tg_flags check with GROUP_FLAG_NOCLDWAIT. From Masayuki
  10958. Ishikawa.
  10959. - scheduler: Fix CHILD_FLAG_EXITED in include/nuttx/sched.h. From
  10960. Masayuki Ishikawa.
  10961. - binfmt/elf: Fix offset value when calling elf_read() in
  10962. elf_symname(). From Masayuki Ishikawa.
  10963. - binfmt/elf: Fix offset value when calling elf_read() in
  10964. elf_sectname(). From Masayuki Ishikawa.
  10965. - There can be a failure in IOB allocation to some asynchronous
  10966. behavior caused by the use of sem_post(). Consider this scenario:
  10967. (1) Task A holds an IOB.  There are no further IOBs.  The value of
  10968. semcount is zero. Task B calls iob_alloc().  Since there are not
  10969. IOBs, it calls sem_wait().  The value of semcount is now -1. (2)
  10970. Task A frees the IOB.  iob_free() adds the IOB to the free list and
  10971. calls sem_post() this makes Task B ready to run and sets semcount to
  10972. zero NOT 1.  There is one IOB in the free list and semcount is zero.
  10973. When Task B wakes up it would increment the sem_count back to the
  10974. correct value. (3) But an interrupt or another task runs occurs
  10975. before Task B executes.  The interrupt or other tak takes the IOB off
  10976. of the free list and decrements the semcount.  But since semcount is
  10977. then < 0, this causes the assertion because that is an invalid state
  10978. in the interrupt handler. So I think that the root cause is that
  10979. there the asynchrony between incrementing the semcount. This change
  10980. separates the list of IOBs: Currently there is only a free list of
  10981. IOBs. The problem, I believe, is because of asynchronies due
  10982. sem_post() post cause the semcount and the list content to become out
  10983. of sync. This change adds a new 'committed' list: When there is a
  10984. task waiting for an IOB, it will go into the committed list rather
  10985. than the free list before the semaphore is posted. On the waiting
  10986. side, when awakened from the semaphore wait, it will expect to find
  10987. its IOB in the committed list, rather than free list. In this way,
  10988. the content of the free list and the value of the semaphore count
  10989. always remain in sync.
  10990. - binfmt: Fix .dtor memory allocation. From Masayuki Ishikawa.
  10991. * File System/Block and MTD Drivers:
  10992. - SmartFS: If whence is SEEK_END, the file offset shall be set to the
  10993. size of the file plus offset. Noted by eunb.song@samsung.com.
  10994. - mtd/progmem: Fix incorrect target address calculation.
  10995. progmem_read/write() is incorrectly calculating the target address,
  10996. expecting the offset argument is given in a block number. This is
  10997. completely wrong and as a result invalid flash region is accessed.
  10998. Byte-oriented read/write interfaces of mtd device accept the target
  10999. address in a byte offset, not a block number. From Heesub Shin.
  11000. - procfs: Fix wrong member IDs are displayed when 'cat
  11001. /proc/<pid>/group/status'. From Nobutaka Toyoshima.
  11002. - procfs: Fix incorrect uptime with CONFIG_SYSTEM_TIME64. From
  11003. Masayuki Ishikawa.
  11004. - vfs/poll: round timeout up to next full tick. Calling poll() with
  11005. timeout less than half tick (thus MSEC2TICK(timeout) => 0) caused
  11006. returning error with EAGAIN. Instead of rounding timeout down, value
  11007. should be rounded up. Open Group spec for poll says:
  11008. "Implementations may place limitations on the granularity of timeout
  11009. intervals. If the requested timeout interval requires a finer
  11010. granularity than the implementation supports, the actual timeout
  11011. interval will be rounded up to the next supported value." From Jussi
  11012. Kivilinna.
  11013. - mtd/config: erase block between block read and write. From Juha
  11014. Niskanen.
  11015. - mtd: Build RAMTRON and AT45DB drivers only if selected. From Juha
  11016. Niskanen.
  11017. - mtd/config: Fix byte read interface test. From Juha Niskanen.
  11018. - mtd: Fix some unallocated and NULL pointer issues. rwb->wrflush and
  11019. rwb->wrmaxblocks in rwbuffer could get unallocated values from
  11020. ftl_initialize() in some configurations. Also fixes related assert:
  11021. up_assert: Assertion failed at file:rwbuffer.c line: 643
  11022. that can happen with the following configuration:
  11023. CONFIG_FTL_WRITEBUFFER=y
  11024. CONFIG_DRVR_WRITEBUFFER=y
  11025. # CONFIG_FS_WRITABLE is not set
  11026. These problems are caused by CONFIG variable differences between the
  11027. buffer layers. TODO: This is not a perfect solution. readahead
  11028. support has similar issues. From Juha Niskanen.
  11029. - net procfs: Fix buffer corruption and refactor netdev_statistics.c.
  11030. From Masayuki Ishikawa.
  11031. - FAT: Fix 'Missing unlock' in fs_fat32.c. From Masayuki Ishikawa.
  11032. - VFS fdopen: Add missing file stream flags clearing. Clear file
  11033. stream structure regardless of config options. Structure clearing is
  11034. needed as previous use of stream list entry might leave fs_flags
  11035. set. From Harri Luhtala.
  11036. - mtd/smart: Fix use of uninitialized variable. From Jussi Kivilinna.
  11037. - mtd/w25.c: Enable short delay after sector/chip erase. From Jussi
  11038. Kivilinna.
  11039. - mtd/config: Add some error checks for I/O errors. From Juha
  11040. Niskanen.
  11041. * Graphics/Graphic Drivers:
  11042. - net procfs: Some long lines were being generated that cause buffer-
  11043. related problems and corrupted output.
  11044. * Networking/Network Drivers:
  11045. - Fixed wrong assert on udp dgram send. From Pascal Speck.
  11046. - TCP/IPv6: Fix a compile issue when IPv6, but not IPv4 is enabled.
  11047. - net/socket/accept: Fix building with CONFIG_NET_LOCAL_STREAM. From
  11048. Jussi Kivilinna.
  11049. - Argument of network device IOCTL should be unsigned long, just as
  11050. will all other IOCTL methods.
  11051. - net/socket: Fix cloning of local and raw sockets. From Jussi
  11052. Kivilinna.
  11053. - TCP: Wait for 3-Way Handshare before accept() returns. From Simon
  11054. Piriou.
  11055. - TCP: Send RST if applicaiton 'unlistens()' before we complete the
  11056. connection sequence.
  11057. - TCP: An RST received during the 3-way handshake requires a little
  11058. more clean-up.
  11059. - IPv6: Fix net_ipv6_pref2mask(). From Masayuki Ishikawa.
  11060. - network IOCTL commands: The only place in net/netdev/netdev_ioctl.c
  11061. where the interface state should change is for SIOCSIFFLAGS. The
  11062. other ones .. SIOCSIFADDR, SIOSLIFADDR, SIODIFADDR .. should not
  11063. change the link state. From Sebastien Lorquet.
  11064. - TCP: Fix tcp_findlistner() in dual stack mode. From Masayuki
  11065. Ishikawa.
  11066. * Common Drivers:
  11067. - Fix as5048b by adding missing frequency parameter. From Andreas
  11068. Bihlmaier.
  11069. - multiple fixes in nrf24l01 driver: (1) signal POLLIN if there is
  11070. already data in the FIFO, (2) send ETIMEDOUT to userspace after 2
  11071. seconds if TX IRQ was not received, (3) handle FIFO overflow, (4)
  11072. handle invalid pipes/empty FIFO, and (5) multiple cosmetics (missing
  11073. static, duplicate define, missing \n). From Leif Jakob.
  11074. - input/mxt: Prevent overriding i2c transfer return value.
  11075. put_reg/get_reg function was overriding i2c transfer error code with
  11076. i2creset return value, that lead to OK status although actual
  11077. transfer failed. From Juha Niskanen.
  11078. - drivers/audio/wm8904: WM8904 has same problem as that fixed by Juha
  11079. Niskanen in the MaxTouch driver.
  11080. - UART 16550: Missing left parenthesis in function prototype. This is
  11081. Bitbucket Issue #41.
  11082. - USBMSC: Fix a wrong lun number issue. From Masayuki Ishikawa.
  11083. - drivers/i2c: Fix compile issues if CONFIG_DISABLE_PSEUDOFS_OPERATIONS
  11084. is enabled.
  11085. - drivers/serial: I discovered a problem in the file
  11086. drivers/serial/serial.c concerning the function uart_close(…). In the
  11087. case that a serial device is opened with the flag O_NONBLOCK the
  11088. function uart_close(…) blocks until all data in the buffer is
  11089. transmitted. The function close(…) called on an handle opened with
  11090. O_NONBLOCK should not block. The problem occurred with a CDC/ACM
  11091. device. From Stefan Kolb.
  11092. - drivers: Fix some bad NULL checks. From Juha Niskanen.
  11093. - drivers: Rename newly introduced up_i2creset to I2C_RESET. From
  11094. Juha Niskanen.
  11095. - drivers/bch: BCH character driver bch_ioctl() always returns -ENOTTY
  11096. for DIOC_GETPRIV command. It should returns OK if DIOC_GETPRIV
  11097. command succeeds. From EunBong Song.
  11098. - Replace sprintf() with snprintf() in pipe.c. From Nobutaka Toyoshima.
  11099. - drivers/bch: Fix 'Missing Unlock' in bchdev_driver.c. From Masayuki
  11100. Ishikawa.
  11101. - button_upper: Fix interrupt enabling for poll-events. From Jussi
  11102. Kivilinna.
  11103. - drivers/{sensors,usbmisc}: Fix uninitialized I2C frequency. From
  11104. Juha Niskanen.
  11105. * ARM:
  11106. - Set EABI stack alignment for all ARM architectures (remove OABI
  11107. code). From David Cabecinhas.
  11108. - Remove redundant interrupt stack coloring and OABI code. From David
  11109. Cabecinhas.
  11110. - Fix off-by-one interrupt stack allocation in 8-byte aligned
  11111. architectures. From David Cabecinhas.
  11112. * ARMv6-M:
  11113. - CONFIG_DEBUG_HARDFAULT should be available for Cortex-M0 too.
  11114. * Microchip/Atmel SAM3/4 Drivers:
  11115. - SAM3/4: Fixed configurations for TWI master. Obviously an
  11116. incomplete port from SAMA5.
  11117. * Microchip/Atmel SAMv7 Drivers:
  11118. - SAMV7: Watchdog: Fix Forbidden Window Value. According the Datasheet
  11119. the WDD Value is the lower bound of a so called Forbidden Window and
  11120. to disable this we have to set the WDD Value greater than or equal to
  11121. the WDV Value. This seems to be a bug in the datasheet. It looks
  11122. like we have to set it to a greater value than the WDV to really
  11123. disable this Thing. When triggering the Watchdog faster than the
  11124. (very slow) clock source of the Watchdog fires, this Forbidden Window
  11125. Feature resets the System if WDD equals to WDV. This Changeset
  11126. disables the Forbidden Window by setting the WDD Value to the Maximum
  11127. (0xfff) Value possible. From Frank Benkert.
  11128. - SAMV7 EMAC: Add conditional logic to account the fact that the
  11129. SAMV71 has 6 rather than 3 queues after version 1. From Ian McAfee.
  11130. * NXP/Freescale Kinetis Drivers:
  11131. - Kinetis: Fixed GPIO _PIN_OUTPUT_LOWDRIVE swapped with
  11132. _PIN_OUTPUT_OPENDRAIN. From David Sidrane.
  11133. - Ensure interrupts are back on BEFORE running code dependant on
  11134. clock_systimer. From David Sidrane.
  11135. - Kinetis k66, k64, k60, k40, k20: Pin mux configure all I2C signals as
  11136. Open Drain. The output structure of the GPIO for I2C needs to be
  11137. open drain. When left at the default, one can observe on a scope the
  11138. slave contending with the push-pull during the ACK. From David
  11139. Sidrane.
  11140. - Kinetis K66: Fixed TMP2_CH1 definition. From David Sidrane.
  11141. - Kinetis K66: Define ALT1 to match ref manual. From David Sidrane.
  11142. - Kinetis K66: GPIO and pin mux cleanup. From David Sidrane.
  11143. - Kinetis ADC: Various corrections and updates. From David Sidrane.
  11144. * NXP/Freescale LPC43xx:
  11145. - Add missing PINCONF_INBUFFER in several places of
  11146. lpc4310203050_pinconfig.h. From Andreas Bihlmaier.
  11147. - Fix logic in preprocessor checks and correct arguments to
  11148. lpc43_pin_config initialization. From Andreas Bihlmaier.
  11149. * NXP/Freescale LPC43xx Drivers:
  11150. - Fix logic error in lpc43_adc. From Andreas Bihlmaier.
  11151. - Use correct macro for irqid (fortunately both point to
  11152. LPC43_IRQ_EXTINT+18). From Andreas Bihlmaier.
  11153. - Actually write modified value to register. From Andreas Bihlmaier.
  11154. - Increase number of supported PWM channels from 4 to 6. From Andreas
  11155. Bihlmaier.
  11156. * Silicon Labs EFM32 Drivers:
  11157. - EFM32 I2C: Fix timeout calculation. From Masayuki Ishikawa.
  11158. * STMicro STM32:
  11159. - As discovered by dcabecinhas. This fix assume the 8 byte alignment
  11160. options for size stack size or this will overwrite the first word
  11161. after TOS. See
  11162. https://github.com/PX4/Firmware/issues/6613#issuecomment-285869778.
  11163. From David Sidrane.
  11164. - STM32 F7: In stm32_allocateheap.c There are 5 not 4 configurations.
  11165. From David Sidrane.
  11166. * STMicro STM32 Drivers:
  11167. - STM32, STM32 F7, STM32 L4: OTG host drivers: Do not do data toggle
  11168. if interrupt transfer is NAKed. Sugested by webbbn@gmail.com.
  11169. - Save elapsed time before handling I2C in stm32_i2c_sem_waitstop().
  11170. This change follows the same logic as in previous fix to
  11171. stm32_i2c_sem_waitdone(). It is possible that a context switch
  11172. occurs after I2C registers are read but before elapsed time is saved
  11173. in stm32_i2c_sem_waitstop(). It is then possible that the registers
  11174. were read only once with "elapsed time" equal 0. When scheduler
  11175. resumes this thread it is quite possible that now "elapsed time" will
  11176. be well above timeout threshold. In that case the function returns
  11177. and reports a timeout, even though the registers were not read
  11178. "recently". Fix this by inverting the order of operations in the loop
  11179. - save elapsed time before reading registers. This way a context
  11180. switch anywhere in the loop will not cause an erroneous "timeout"
  11181. error. From Freddie Chopin.
  11182. - STM32, STM32 F7, and STM32 L4: Clone Freddie Chopin's I2C change to
  11183. similar STM32 I2C drivers. From David Sidrane.
  11184. - STM32: OTG host implementations of stm32_in_transfer() must obey the
  11185. polling interval for the case of isochronous and interrupt endpoints.
  11186. - STM32: Fix erase sector number for microcontrolers with more than 11
  11187. sectors. Erase a sector from the second bank cause the bit 4 of SNB
  11188. being set but never unsed, so trying to erase a sector from the first
  11189. bank was acually eraseing a sector from the second bank. From José
  11190. Roberto de Souza.
  11191. - STM32: Make up_progmem thread safe. Writing to a flash sector while
  11192. starting the erase of other sector have a undefined behavior so lets
  11193. add a semaphore and syncronize access to Flash registers. But for
  11194. the semaphore to work it needs to be initialized so each board needs
  11195. call stm32_flash_initialize() on initialization, so to avoid runtime
  11196. problems it is only using semaphore and making it thread safe if
  11197. initialized, after all boards starts to call stm32_flash_initialize()
  11198. we can remove the boolean and the check. From José Roberto de Souza.
  11199. - STM32: Add workaround for flash data cache corruption on
  11200. read-while-write. This is a known hardware issue on some STM32 see
  11201. the errata of your model and if you make use of both memory banks you
  11202. should enable it. From José Roberto de Souza.
  11203. - STM32 Flash fixes. From José Roberto de Souza.
  11204. - STM32 Flash: Missing unlock on F1 HSI off path. From David Sidrane.
  11205. - STM32 F4 I2C: I needed to use DS3231, I remember that in past it
  11206. worked ok, but now for stm32f4xx is used another driver (chip
  11207. specific, stm32f40xxx_i2c.c) and DS3231 driver doesn't work. After
  11208. investigating a problem I found that I2C driver (isr routine) has a
  11209. few places there it sends stop bit even if not all messages are
  11210. managed. So, e.g., removing stm32_i2c_sendstop (#1744) and adding
  11211. stm32_i2c_sendstart after data reading helps to make DS3231 working.
  11212. From Alexander Oryshchenko; verified by David Sidrane.
  11213. - STM32 F7 Serial: Serial fix for dropped data: (1) Revert the
  11214. inherited dma bug from the stm32. see
  11215. https://bitbucket.org/nuttx/nuttx/commits/df9ae3c13fc2fff2c21ebdb098c520b11f43280d
  11216. for details. And (2) Most all CR1-CR3 settings can not be configured
  11217. while UE is true. Threfore we make all operation atomic and disable
  11218. UE and restore it's originalstate on exit. From David Sidrane.
  11219. - STM32 L1: Fix IWDG and WWDG debug mode stop for STM32L15XX. From
  11220. Juha Niskanen.
  11221. - STM32 F7: Fix UART7 and UART8 IFLOWCONTROL options. From Jussi
  11222. Kivilinna.
  11223. - STM32 F7: Add warning for RXDMA + IFLOWCONTROL combination.
  11224. Combination of RXDMA + IFLOWCONTROL does not work as one might
  11225. expect. Since RXDMA uses circular DMA-buffer, DMA will always keep
  11226. reading new data from USART peripheral even if DMA buffer underruns.
  11227. Thus this combination only does following: RTS is asserted on USART
  11228. setup and deasserted on shutdown and does not perform actual RTS
  11229. flow-control. Data loss can be demonstrated by doing long up_mdelay
  11230. inside irq critical section and feeding data to RXDMA+IFLOWCONTROL
  11231. UART. From Jussi Kivilinna.
  11232. - STM32 F7 Serial: Do not stop processing input in SW flow-control
  11233. mode. From Jussi Kivilinna.
  11234. - STM32 L4 DMA: Correct bad channel definition. From Sebastien Lorquet.
  11235. - STM32 F7: Warn if no DMA2 configured when using ADC with DMA. Also
  11236. correct ADC channel numbers that DMA callback passes to upper half
  11237. driver. From Juha Niskanen.
  11238. - STM32 F7 ADC: Do not override ADCPRE_DIV when measuring
  11239. internal voltage. From Juha Niskanen.
  11240. - STM32 L4: Don't think these chips have DPFPU, DTCM or ITCM. From
  11241. Juha Niskanen.
  11242. - STM32 F7 Flash: macro naming errors, there is no FLASH_CONFIG_F for
  11243. F7. From Juha Niskanen.
  11244. - STM32 L4: stm32l4x6xx_pinmap: Update I2C4 and DCMI pins. From Juha
  11245. Niskanen.
  11246. - STM32 L4: stm32l4_i2c: change wrong macro to CONFIG_I2C_POLLED. From
  11247. Juha Niskanen.
  11248. - Fix STM32F7 I2C interrupt handler. From Jussi Kivilinna.
  11249. - STM32: Serial Allow configuring Rx DMA buffer size. From David
  11250. Sidrane.
  11251. - STM32 CAN: I had the problem that the transmit FIFO size (= actual
  11252. elements in FIFO) was slowly increasing over time, and was full after
  11253. a few hours. The reason was that the code hit the line
  11254. "canerr("ERROR: No available mailbox\n");" in stm32_cansend, so
  11255. can_xmit thinks it has sent the packet to the hardware, but actually
  11256. has not. Therefore the transmit interrupt never happens which would
  11257. call can_txdone, and so the size of the FIFO size does not decrease.
  11258. The reason why the code actually hit the mentioned line above, is
  11259. because stm32can_txready uses a different (incomplete) condition than
  11260. stm32can_send to determine if the mailbox can be used for sending,
  11261. and thus can_xmit forwards the packet to stm32can_send.
  11262. stm32can_txready considered mailboxes OK for sending if the mailbox
  11263. was empty, but did not consider that mailboxes may not yet be used if
  11264. the request completed bit is set - stm32can_txinterrupt has to
  11265. process these mailboxes first. Note that I have also modified
  11266. stm32can_txinterrupt - I removed the if condition, because the CAN
  11267. controller retries to send the packet until it succeeds. Also if the
  11268. condition would not evaluate to true, can_txdone would not be called
  11269. and the FIFO size would not decrease also. From Lederhilger Martin.
  11270. - STM32 Serial: Fix freezing serial port. Serial interrupt
  11271. enable/disable functions do not disable interrupts and can freeze
  11272. device when serial interrupt is received while execution is at those
  11273. functions. Trivially triggered with two or more threads write to
  11274. regular syslog stream and to emergency stream. In this case, freeze
  11275. happens because of mismatch of priv->ie (TXEIE == 0) and actually
  11276. enabled interrupts in USART registers (TXEIE == 1), which leads to
  11277. unhandled TXE interrupt and causes interrupt storm for USART. From
  11278. Jussi Kivilinna.
  11279. - STM32 I2C: Make private symbols static. From Juha Niskanen.
  11280. - STM32 L4 GPIO: Put back EXTI line source selection. From Juha
  11281. Niskanen.
  11282. - STM32 L4 RTC: Store RTC MAGIC to backup reg, not to address zero.
  11283. From Juha Niskanen.
  11284. * STMicro STM32 Boards:
  11285. - Disable serial console on stm32f103-minimum usbnsh example project
  11286. config. Devices enumerate after this change. From Bob Ryan.
  11287. - Nucleo-144: Default for choice in Kconfig was not one of the
  11288. possible choices.
  11289. - Nucleo-F4X1RE User LEDS: Issue #51 reports compilation problems with
  11290. stm32_userled.c. Reported by Gappi92.
  11291. * TI Tiva Drivers:
  11292. - Tiva I2C: Correct an error in conditional compilation.
  11293. - Tiva SSI: Resolves issue 52 'Copy-Paste error in
  11294. tiva_ssibus_initialize()' submitted by Aleksandr Kazantsev.
  11295. * C Library/Header Files:
  11296. - C Library vsnprintf(): Fix precision for string formatting. Fixes
  11297. use of format precision to truncate input string. From Jussi
  11298. Kivilinna.
  11299. - C Library vsnprintf(): If size is zero, then vsnprintf() should
  11300. return the size of the required buffer without writing anything.
  11301. From Jussi Kivilinna.
  11302. - C Library netdb: in dns_query_callback, ret != -EADDRNOTAVAIL
  11303. condition consumes error returns including EAGAIN in this case,
  11304. dns query retransmission doesn't work. From Ritajina.
  11305. - C Library netdb: Fix time info in lib_dnscache.c. From Masayuki
  11306. Ishikawa.
  11307. - C Library netdb: Fix bugs in lib_gethostbynamer.c. This fix sets
  11308. h_name in struct hostent returned by gethostbyname(). From Masayuki
  11309. Ishikawa.
  11310. - C Library Defect Workaround: replace '%6.6u' format with an
  11311. equivalent '%06u'. From Tomasz Wozniak.
  11312. * Tools
  11313. - Fix mksyscall host binary name. From Alan Carvalho de Assis.
  11314. * Applications (apps/)
  11315. - Fix some calls to task_create(): argv[0] is the first parameter, not
  11316. the name of the task.
  11317. - Bitbucket Issue 5: I found an unexpected behavior in apps/
  11318. configuration generation. Adding external symbolic link in apps/
  11319. directory and using Make.defs for Kconfig generation, Kconfig file
  11320. has a wrong path in the source argument. It contains original dir
  11321. path outside of the source tree instead path to sub-directory in
  11322. apps/. The problem is connected with make/system symbolic link path
  11323. resolution. Corrected by a patch submitted by Artur Madrzak with
  11324. Issue 5.
  11325. - apps/: Make more globals static to avoid name clashes. From Juha
  11326. Niskanen.
  11327. * NSH: apps/nshlib:
  11328. - NSH library: In nsh_argexand(), if CONFIG_NSH_ARGCAT is defined but
  11329. CONFIG_NSH_CMDPARMS defined and/or CONFIG_DISABLE_ENVIRON not
  11330. defined, then there is a situation that causes an infinite loop in
  11331. the parser. Noted by Freddie Chopin.
  11332. - NSH library: Fix building when CONFIG_NET_USRSOCK enabled with other
  11333. link-layers. From Jussi Kivilinna.
  11334. - NSH library: Fix some warnings about integer/pointer casts of
  11335. different sizes (probably only effects 64-bit simulation).
  11336. - NSH library: Fix open flags in nsh_codeccmd.c. From Masayuki
  11337. Ishikawa.
  11338. - I need to look at the registers that are at or around 0xe000ef90.
  11339. Using mw and xd, I see that nsh does not support pointers greater
  11340. than 0x7fffffff. A quick look at the source shows that the pointers
  11341. for those two commands are set with calls to strtol() rather than
  11342. strtoul(). Changing the two pointer-setting instances to strtoul()
  11343. fixes the problem, at least for my architecture/config. From Ian
  11344. McAfee.
  11345. - NSH library: Fix a resource leak in cmd_hexdump(). From Nobutaka
  11346. Toyoshima.
  11347. * Examples/Tests: apps/examples:
  11348. - apps/examples/hidkbd: Remove call to arch_usbhost_initialize().
  11349. That is violation of the OS interfacing rules and will no longer be
  11350. supported. USB host should be initialized as part of the normal
  11351. board bring-up logic as with any other devices and should not involve
  11352. illegal calls from applications into the OS.
  11353. - apps/examples/usbterm: Removed because it is not very useful and
  11354. because it can be configured to use an illegal call into the OS.
  11355. - examples/mm: Fix Makefile. Built-in was not being registered.
  11356. - examples/hidkbd: Add some missing configuration settings.
  11357. - examples/random: Avoid stack overflows. From Juha Niskanen.
  11358. - examples/nettest: Fix an error in pre-processor expression.
  11359. - examples/mtdpart: Prevent part array overflow. mtdpart examples
  11360. create partions and allocate from 1 index not a 0 index to part[]
  11361. array. This cause buffer overflow for part array. This change fixes
  11362. this problem. From EunBong Song.
  11363. - examples/can: Fix can example app to print data when
  11364. CONFIG_EXAMPLE_CAN_READ is defined. From Alan Carvalho de Assis.
  11365. * Network Utilies: apps/netuils:
  11366. - Not a clean fix, but at least makes DHCP working with
  11367. CONFIG_NETDEV_MULTINIC. From Andreas Bihlmaier.
  11368. - Ensure netlib will not be broken when setip will not bring the
  11369. network up anymore. From Sebastien Lorquet.
  11370. * CAN Utilies: apps/canutils:
  11371. - Fix libcanard github download link to get it compiling correctly.
  11372. From Alan Carvalho de Assis.
  11373. - Fix to use the new canardInit() function. From Alan Carvalho de
  11374. Assis.
  11375. * System Unitilities (apps/system)
  11376. - system/dhcpc: Add missing argument of fprintf.
  11377. * Tools (apps/tools):
  11378. - The dedicated windows tool at tools/mkkconfig.bat uses $APPSDIR,
  11379. which is not a windows shell variable, and is left uninitialized, but
  11380. in fact should be the current directory. From Sebastien Lorquet.