Giter Club home page Giter Club logo

Comments (8)

JF002 avatar JF002 commented on August 15, 2024 1

I don't use Travis for now, but I'm thinking about using a CI for the release builds, so it could be useful one day or another ;)

from infinitime.

JF002 avatar JF002 commented on August 15, 2024

I've added documentation about building and programming using JLink and BlackMagicProbe in commit 81d629e.
Let me know if more information is needed!

from infinitime.

alastair-dm avatar alastair-dm commented on August 15, 2024

Something about openocd would be good for those without the above, but with a Pi.

from infinitime.

JF002 avatar JF002 commented on August 15, 2024

This part of the pinetime wiki and this article might be useful.
I don't use Openocd, so I can't write specific documentation about it, but I can add those links in README if they are helpful.

from infinitime.

alastair-dm avatar alastair-dm commented on August 15, 2024

Having dug a little deeper I see the USE_OPENOCD option uses a hardcoded interface/stlink.cfg on the openocd command line, without a config option to change it, so it'll need more than a change in documentation to make it work. I'll probably create a new issue for it. For documentation, now that I can see what it's doing to flash I'll see if I can flash manually using openocd-spi and the binaries from the 0.2.0 release.

from infinitime.

JF002 avatar JF002 commented on August 15, 2024

Mhm maybe this file was missing during the pull-request? See #20

from infinitime.

alastair-dm avatar alastair-dm commented on August 15, 2024

Pull request #20 adds the code I was looking at, which includes in its COMMAND lines the section:
-f interface/stlink.cfg -c 'transport select hla_swd'
That's correct (I assume) for the STlink v2 clones it was intended for, but wrong for either the Pi's GPIO or SPI which need a different interface and probably other bits in the command. I guess it'll end up needing a new OPENOCD_INTERFACE option, but we need to work out exactly what's needed in the command for the Pi. Further discussion probably belongs in issue #5 where various 'works for me' commands have been exchanged, and an issue with breakpoints discussed. Until that's sorted the best documentation change for flashing with the Pi would be to say the Pi isn't supported yet, but look at #5 for possible ways to flash manually. For me the missing link was the 'reset run' to get past the breakpoint.

from infinitime.

incyi avatar incyi commented on August 15, 2024

I can make a .travis.yml file to do automatic builds on travis-ci. Is this something what you want ?

from infinitime.

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.