Build PineTime Firmware in the Cloud
#1
Hi All: We have a new way to build JF's FreeRTOS firmware in the Cloud, using GitHub Actions.

(FYI this is the firmware that will be loaded to the next batch of PineTime, assuming that the factory testing goes OK)

I noticed that newcomers to PineTime often run into problems building PineTime firmware. So I hope this will make it easier to get started with PineTime programming.

Please try this out, lemme know if it works for you. Thanks!

Build PineTime Firmware in the Cloud with GitHub Actions
  Reply
#2
That's an interesting approach. Giving it a go...comments only if something unexpected happens, and trying to think like someone who hasn't done this sort of thing before so more pedantic than usual. 

Step 2.6 - 'Start Commit' button is at the top right of my browser window, not at the bottom.

Step 4.1 - my 'Update Clock.cpp' job was 'in progress' with a spinning orange icon for a few minutes, rather than the green tick. It then failed (red cross icon) with the error that's mentioned a few steps later. Since it's an expected outcome I suggest mentioning it at this stage rather than relying on people reading forward a few steps.

Step 4.4 - after doing the fix and commit then going back to 'Actions' the new job status was 'queued' and the icon was an orange dot (not spinning). It then went to 'in progress' as before for ~10 minutes before finishing successfully.

I've downloaded the pinetime-app.out.zip but haven't tried flashing it yet - the Pi's been in use for the other things, and it wouldn't really be testing your instructions anyway. All in all it went pretty smoothly - the comments above are minor expectation management.

I should have grabbed some screenshots, but didn't think of it until I'd finished - sorry.
  Reply
#3

.png   Screenshot_20200727-203607.png (Size: 315.95 KB / Downloads: 115) Got an error earlier today. Sorry for the screenshot, I'm away from my Raspberry Pi.



[/url]

  Edit   Delete [url=https://forum.pine64.org/newreply.php?tid=10862&replyto=73212]
  Reply
#4
(07-27-2020, 11:12 AM)wibble Wrote: I should have grabbed some screenshots, but didn't think of it until I'd finished - sorry.

No worries this is great feedback. Updated my doc. Thanks! :-)

(07-27-2020, 01:40 PM)tomthetaffer Wrote: Got an error earlier today. Sorry for the screenshot, I'm away from my Raspberry Pi.


[/url]

  Edit   Delete 

Hi: Sorry about that... Can you try this fix:

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

Look for "If we see this error..."

I'll work with JF to fix the source. Thanks! :-)
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Heart wasp-os: MicroPython for PineTime! danielt 94 32,908 Yesterday, 05:00 PM
Last Post: pagesix1536
  Star Trek computer themed wasp-os on PineTime graynada 13 3,278 12-14-2020, 07:10 PM
Last Post: tllim
  Update bootlogo and pinetime-app with OTA/DFU lookin 3 551 11-25-2020, 04:51 PM
Last Post: lookin
  PineTime Simulation Feature gjoyet 3 501 11-15-2020, 11:42 AM
Last Post: gjoyet
  Pinetime and P8 Integration testing framework maiden 7 1,522 10-23-2020, 03:25 PM
Last Post: maiden
  Article: Create Your Own PineTime Watch Face in Rust... And Publish on crates.io lupyuen 2 726 10-18-2020, 09:24 PM
Last Post: lupyuen
  Article: Bluetooth Time Sync and LVGL on PineTime Mynewt lupyuen 0 403 10-15-2020, 05:51 PM
Last Post: lupyuen
  Remote PineTime for flashing and testing firmware remotely lupyuen 5 972 10-06-2020, 12:03 AM
Last Post: lupyuen
  Rust on PineTime at RIOT Summit lupyuen 3 1,196 09-25-2020, 05:05 PM
Last Post: lupyuen
  Article: Preview PineTime Watch Faces in your Web Browser with WebAssembly lupyuen 1 811 09-13-2020, 02:09 PM
Last Post: VMMainFrame

Forum Jump:


Users browsing this thread: 1 Guest(s)