Giter Club home page Giter Club logo

Comments (8)

samelhusseini avatar samelhusseini commented on June 15, 2024
ltc @ d5595ce has been successfully installed!
PackageManager: Installing framework-ltc @ ~1.0.2
Downloading...
Unpacking
Unpacking
framework-ltc @ 1.0.2 has been successfully installed!

from pxt-chibitronics.

samelhusseini avatar samelhusseini commented on June 15, 2024

@xobs Just wanted to verify that the latest version of the ltc platformio platform you wanted me to update to was: version 1.0.2

from pxt-chibitronics.

samelhusseini avatar samelhusseini commented on June 15, 2024

I just checked the platformio ltc repo and it looks like 1.0.7 is the latest version. I've updated the cloud and published.
@xobs Is there some way you can verify that that has been fixed?

from pxt-chibitronics.

xobs avatar xobs commented on June 15, 2024

The best way to check it is to look at firmware.elf and examine the offset of functionsAndBytecode. It should be <=0x6800. If it's around 0x20000000, then it's not getting placed at the correct offset.

In looking at the hex file, it looks like it might have alignment issues:

:105E300000000000495C0000015B00000A25730AB5
:065E4000000A25640A00BF
:105E48000108010842424242010801083ED8E98D92

I noticed the ihex parser might have trouble with these not-divisible-by-16 addresses so I tried to get objcopy to emit padded values. Is it a problem, in practice?

from pxt-chibitronics.

xobs avatar xobs commented on June 15, 2024

Also, what would it take to get the server to provide the "firmware.elf" file that's generated by the builder?

from pxt-chibitronics.

samelhusseini avatar samelhusseini commented on June 15, 2024

@mmoskal any thoughts on the server providing the "firmware.elf" file?

from pxt-chibitronics.

mmoskal avatar mmoskal commented on June 15, 2024

You could print out the firmware.elf in the build process, for example with base64 command. The full build log is available at https://pxt.azureedge.net/compile/939f9fe2d92dfb0dbb8ebb97eb6ce05d62f4f6dacde67cb3a369d11b54b9d2ed.log (eg change .hex to .log)

If you want something more fancy I can look at that some time next week.

from pxt-chibitronics.

samelhusseini avatar samelhusseini commented on June 15, 2024

Done.

from pxt-chibitronics.

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.