Comments (6)
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.
@lupyuen: thank you, it works! So is there a reason why this patch has not already been applied?
from infinitime.
@JF002 : Remember this? :-)
from infinitime.
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.
Ok! So I'll just build from the dev branch in the future then :)
from infinitime.
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)
- State of GFX? HOT 4
- Watch freezes after some notifications HOT 25
- Watch freezes and reboot after interacting with external resources HOT 4
- Occasional Incorrect Dates Displayed in the Weather forecast HOT 2
- Turn off accelerometer in night mode HOT 3
- Can't connect to Gadgetbridge after Firmware 1.14 update. HOT 5
- Screen shifting upwards HOT 8
- Assert call being removed during compilation, causing NULL pointer dereference in ble_ll_task HOT 6
- Using GDB debugger in devcontainer does not load source map
- Stopwatch lap counter only goes up to 20 laps HOT 1
- Unable to update InfiniTime successfully
- Add unit testing framework and skeleton test project HOT 4
- looping recovery mode,.... infinite loop. ITime. HOT 2
- Not reconnecting to Gadgetbridge HOT 7
- What watch faces currently support weather? HOT 9
- Whats the best way to track what and when the next release HOT 2
- Add active alarm indicator to watch face HOT 4
- Fix Stopwatch Side Button Behavior HOT 1
- Use separate screens for switching off ringing alarm and for alarm configuration
- Firmware update with pinetime-mcuboot-app-dfu-1.14.0.zip and GadgetBridge fails HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from infinitime.