TheFirstPractical,Hands-OnGuidetoEmbeddedSystemProgrammingforAndroidToday,embeddedsystemsprogrammingisamorevaluabledisciplinethanever,drivenbyfast-growing,newfieldssuchaswearabletechnologyandtheInternetofThings.Inthisconciseguide,RogerYeteachesalltheskillsyou’llneedtowritetheefficientembeddedcodenecessarytomaketomorrow’sAndroiddeviceswork.ThefirsttitleinAddison-Wesley’snewAndroid™DeepDiveseriesforintermediateandexpertAndroiddevelopers,EmbeddedProgrammingwithAndroid™drawsonRogerYe’sextensiveexperiencewithadvancedprojectsintelecommunicationsandmobiledevices.Stepbystep,heguidesyouthroughbuildingasystemwithallthekeycomponentsAndroidhardwaredevelopersmustdelivertomanufacturing.Bythetimeyou’redone,you’llhavethekeyprogramming,compiler,anddebuggingskillsyou’llneedforreal-worldprojects.First,Yeintroducestheessentialsofbare-metalprogramming:creatingassemblylanguagecodethatrunsdirectlyonhardware.Then,buildingonthisknowledge,heshowshowtouseCtocreatehardwareinterfacesforbootingaLinuxkernelwiththepopularU-Bootbootloader.Finally,hewalksyouthroughusingfilesystemimagestobootAndroidandlearningtobuildcustomizedROMstosupportanynewAndroiddevice.Throughout,Yeprovidesextensivedownloadablecodeyoucanrun,explore,andadapt.YouwillBuildacompletevirtualizedenvironmentforembeddeddevelopmentUnderstandtheworkflowofamodernembeddedsystemsprojectDevelopassemblyprograms,createbinaryimages,andloadandrunthemintheAndroidemulatorLearnwhatittakestobringupabootloaderandoperatingsystemMovefromassemblertoC,andexploreAndroid’sgoldfishhardwareinterfacesProgramserialports,interruptcontrollers,realtimeclocks,andNANDflashcontrollersIntegrateCruntimelibrariesSupportexceptionhandlingandtimingUseU-Boottobootthe
1