資源描述:
《Design and Implementation of an Embedded Python Run-Time System嵌入式Python運(yùn)行時(shí)系統(tǒng)的設(shè)計(jì)與實(shí)現(xiàn)》由會(huì)員上傳分享,免費(fèi)在線閱讀,更多相關(guān)內(nèi)容在學(xué)術(shù)論文-天天文庫(kù)。
1、DesignandImplementationofanEmbeddedPythonRun-TimeSystemThomasW.BarrRebeccaSmithScottRixnerRiceUniversityftwb,rjs,rixnerg@rice.eduAbstractAsthecapabilitiesofembeddedsystemsincrease,thissituationisbecominguntenable.ProgrammingmustbeThispaperpresentsthedesignandimplementationofsi
2、mpli?edtomeetthedemandforincreasinglycomplexacompleteembeddedPythonrun-timesystemforthemicrocontrollerapplications.ARMCortex-M3microcontroller.TheOwlembeddedThispaperpresentsonemechanismfordoingso:Pythonrun-timesystemintroducesseveralkeyinnova-anef?cientembeddedPythonrun-times
3、ystemnamedtions,includingatoolchainthatiscapableofproducingOwl.TheOwlsystemisacompletePythondevelopmentrelocatablememoryimagesthatcanbeutilizeddirectlytoolchainandrun-timesystemformicrocontrollersthatbytherun-timesystemandanovelforeignfunctionin-donothaveenoughresourcestorunar
4、ealoperatingsys-terfacethatenablestheef?cientintegrationofnativeCtem,butarestillcapableofrunningsophisticatedsoft-codewithPython.waresystems.ThesemicrocontrollerstypicallyoperateTheOwlsystemdemonstratesthatitispracticaltorunat50–100MHz,have64–128KBofSRAM,andhavehigh-levellangu
5、agesonembeddedmicrocontrollers.In-upto512KBofon-chip?ash.Oneexampleofsuchstrumentationwithinthesystemhasledtoanoverallsys-amicrocontrolleristheARMCortex-M3.ARMpre-temdesignthatenablesPythoncodetobeexecutedwithdictsthatin2015,themarketfortheseCortex-Mclasslowmemoryandspeedoverh
6、eads.Furthermore,thispa-microcontrollerswillbearound18billionunits[7].InperpresentsanevaluationofanautonomousRCcarthatcontrast,Gartner,Inc.predictsthat404millionx86pro-usesacontrollerwrittenentirelyinPython.Thisdemon-cessorswillshipin2012[9].stratestheeasewithwhichcomplexembed
7、dedsoftwareOwlisacompletesystemdesignedforARMCortex-systemscanbebuiltusingtheOwlinfrastructure.Mmicrocontrollersthatincludesaninteractivedevelop-mentenvironment,asetofpro?lers,andaninterpreter.It1Introductionisderivedfromportionsofseveralopen-sourceprojects,includingCPythonand
8、Baobab.Mostnotably,thecoreForeverymicroprocessorinatraditiona