GithubHelp home page GithubHelp logo

Fix float endian issue about python-on-a-chip HOT 9 CLOSED

abzac avatar abzac commented on July 17, 2024
Fix float endian issue

from python-on-a-chip.

Comments (9)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 17, 2024

Original comment by [email protected] on 18 Apr 2009 at 4:10

  • Added labels: Milestone-r08

from python-on-a-chip.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 17, 2024

Original comment by [email protected] on 18 Apr 2009 at 10:16

  • Changed state: Started

from python-on-a-chip.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 17, 2024
Forcing pmImgCreator.py to format a float as "little endian".  Moving 
src/vm/pmfeatures.h to src/platform/<platform>/pmfeatures.h because vm 
configuration 
is platform specific; changed platform Makefiles and SConscripts to handle new 
location of pmfeatures.h.  

Renamed HEAP_SIZE to PM_HEAP_SIZE and moved it out of build system, into 
pmfeatures.h.  Moved UART_BAUD out of build system, into plat.c.  

Updated docs/src/HowToPortPyMite.txt

Defined PM_FLOAT_BIG_ENDIAN in src/platform/mbed/pmfeatures.h so that its 
floats work 
properly.

Tested Make and SCons builds for each platform.

Removed unused variable in __bi.Co()

Original comment by [email protected] on 18 Apr 2009 at 11:08

from python-on-a-chip.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 17, 2024
Using the mbed on-line compiler means that neither Makefiles nor SConscripts 
are 
executed to build the VM.  Since there may be other platforms in the future 
that are 
built without Make/Scons, I decided it was important to define a place to put 
platform-
specific VM configurations.  I moved pmfeatures.h to the plat directory since 
it was 
already doing platform-specific VM configurations.

Original comment by [email protected] on 18 Apr 2009 at 11:12

from python-on-a-chip.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 17, 2024
System tests pass.  Mainlined directly, see r341

Original comment by [email protected] on 19 Apr 2009 at 2:46

  • Changed state: Fixed

from python-on-a-chip.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 17, 2024
Post mainline check-in.  The patch failed to add files to the repository and 
delete one 
that was marked.  See r342

Original comment by [email protected] on 19 Apr 2009 at 2:54

from python-on-a-chip.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 17, 2024
Removed PM_HEAP_SIZE build option from docs/src/BuildSystem.txt

Tested via: make ../html/BuildSystem.html
passes

POST CHECK-IN MAINLINE directly, see r345

Original comment by [email protected] on 19 Apr 2009 at 3:15

from python-on-a-chip.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 17, 2024
Changed r08 to R08

Original comment by [email protected] on 12 Mar 2010 at 8:22

from python-on-a-chip.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 17, 2024

Original comment by [email protected] on 13 Mar 2010 at 1:30

  • Added labels: Milestone-08

from python-on-a-chip.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.