Giter Club home page Giter Club logo

Comments (6)

lupyuen avatar lupyuen commented on August 15, 2024 1

Try this...

If we see this error...

/home/runner/work/Pinetime/Pinetime/src/drivers/TwiMaster.cpp:1:10: fatal error: sdk/integration/nrfx/nrfx_log.h: No such file or directory
 #include <sdk/integration/nrfx/nrfx_log.h>
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[3]: *** [src/CMakeFiles/pinetime-app.dir/drivers/TwiMaster.cpp.o] Error 1

Browse to...

https://github.com/ACCOUNT_NAME/Pinetime/blob/master/src/drivers/TwiMaster.cpp

(Change ACCOUNT_NAME to our GitHub Account Name)

Edit the first two lines...

#include <sdk/integration/nrfx/nrfx_log.h>
#include <sdk/modules/nrfx/hal/nrf_gpio.h>

To...

#include <nrfx_log.h>
#include <nrf_gpio.h>

From https://lupyuen.github.io/pinetime-rust-mynewt/articles/cloud#our-first-pinetime-firmware-build

from infinitime.

endian-albin avatar endian-albin commented on August 15, 2024

@lupyuen: thank you, it works! So is there a reason why this patch has not already been applied?

from infinitime.

lupyuen avatar lupyuen commented on August 15, 2024

@JF002 : Remember this? :-)

from infinitime.

JF002 avatar JF002 commented on August 15, 2024

Yes, these errors are a bit annoying. The fix is already applied on the develop branch but it's not merged yet in the master branch.

In fact, I use the branch develop as an 'integration' branch : all developments that are finished and working are merged into develop. Then, when we decide to generate a new release (with a GIT tag and binary files published on github), I merge this branch develop into master.

This is explained in this doc : https://github.com/JF002/Pinetime/blob/develop/doc/branches.md.

I think I'll release this version 0.8.0 soon, so that people can update their futur devkit with this new version.

from infinitime.

endian-albin avatar endian-albin commented on August 15, 2024

Ok! So I'll just build from the dev branch in the future then :)

from infinitime.

endian-albin avatar endian-albin commented on August 15, 2024

I've now successfully built and tested both master and v0.8.1 locally using the gcc-arm-none-eabi-9-2019-q4-major which worked fine.

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.