InfiniTimeOrg / InfiniTime

Firmware for Pinetime smartwatch written in C++ and based on FreeRTOS
GNU General Public License v3.0
2.71k stars 926 forks source link

Actions Not Working for Me At All - Newbie to Actions #65

Closed jotasprout closed 3 years ago

jotasprout commented 4 years ago

I have no idea what to even say or where to start so I'll just say I've tried multiple times and these are the screenshots I have. Hopefully, they'll be more helpful than I am. I have no idea which ones will or will not be helpful.

2020-09-19-163357_1920x1080_scrot 2020-09-19-163412_1920x1080_scrot 2020-09-19-164925_1920x1080_scrot 2020-09-19-165134_1920x1080_scrot 2020-09-19-165141_1920x1080_scrot 2020-09-19-165222_1920x1080_scrot 2020-09-19-165629_1920x1080_scrot 2020-09-19-165646_1920x1080_scrot 2020-09-19-165738_1920x1080_scrot 2020-09-19-165809_1920x1080_scrot

lupyuen commented 4 years ago

Hi: Sorry for the delay... The error in the log is this...

https://github.com/jotasprout/Pinetime/runs/1138700180?check_suite_focus=true

/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>

Could you please edit...

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

And change the first 2 lines from

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

To...

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

And it should work, hopefully.

I wrote about this bug here...

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

Under the section "4. Our First PineTime Firmware Build", paragraph "If we see this error...".

I'm terribly sorry my instructions were not clear, please let me know whether this fixes the build. Thanks.

jotasprout commented 4 years ago

Your instructions were clear. I just didn't see the error when I was looking because it was deep into that line.