Git Product home page Git Product logo

Comments (8)

ThomasWaldmann avatar ThomasWaldmann commented on August 28, 2024

Ah, yes, that would be very useful! For travis-ci or do you have sth else in mind?

(but note that the py-esp32-ulp assembler is not quite ready yet, but hopefully soon)

from micropython-esp32-ulp.

ThomasWaldmann avatar ThomasWaldmann commented on August 28, 2024

.S --> .ulp works now (the latter being the format with header expected by the loader).

Totally untested, but looking reasonable.

I made up that .ulp extension, what's the usual one?

from micropython-esp32-ulp.

igrr avatar igrr commented on August 28, 2024

Yes, i was thinking about adding a travis-ci script.

It's not going to fully work initially also because the binutils doesn't support SoC register addresses (like 0x3ff4-something) as arguments of reg_rd and reg_wr instructions. But that's something that's easy to add on binutils side of things, and looks like a nice feature.

The idea is to commit some simple tests first (which will pass in the current state of things) and add more tests as the features get added and compatibility improves.

Regarding file extension: IDF build process generates ulp binaries with .bin extension, which then get embedded into the firmware. The whole process is mostly invisible to the users, so i didn't put much thought into the extensions. .ulp is fine although i have to say that it may not be future proof. Future chips might be using different architecture for the ULP, so perhaps it would be better to indicate the chip model somehow (.ulp32? .esp32ulp? I don't know if extensions need to be 3 characters or not...)

from micropython-esp32-ulp.

ThomasWaldmann avatar ThomasWaldmann commented on August 28, 2024

Ideally it should be something the micropython filesystem can accept. Have to try that later.

CI plans sound good! :)

from micropython-esp32-ulp.

ThomasWaldmann avatar ThomasWaldmann commented on August 28, 2024

thanks for the PR, we have CI now! \o/

one small issue: the first 5000 lines of output are rather uninteresting (if binutils-esp32 and micropython build as usual), can we get them collapsed?

from micropython-esp32-ulp.

igrr avatar igrr commented on August 28, 2024

Sure, will wrap them into folds.

from micropython-esp32-ulp.

ThomasWaldmann avatar ThomasWaldmann commented on August 28, 2024

also please split the pure python stuff from the binutils stuff (creating 2 separate scripts to run them).

binutils-esp32 does not compile on my machine (bug reported), so I don't have that locally, so the one script does not work any more.

from micropython-esp32-ulp.

ThomasWaldmann avatar ThomasWaldmann commented on August 28, 2024

fixed by #23 and #24.

from micropython-esp32-ulp.

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.