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: 36) 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
  Rust on PineTime at RIOT Summit lupyuen 3 387 09-25-2020, 05:05 PM
Last Post: lupyuen
  Remote PineTime for flashing and testing firmware remotely lupyuen 3 144 09-21-2020, 08:20 PM
Last Post: lupyuen
Heart wasp-os: MicroPython for PineTime! danielt 65 12,152 09-18-2020, 08:02 AM
Last Post: thethoughtpolice
  Article: Preview PineTime Watch Faces in your Web Browser with WebAssembly lupyuen 1 250 09-13-2020, 02:09 PM
Last Post: VMMainFrame
  Article: Porting PineTime Watch Face from C to Rust On RIOT with LVGL lupyuen 0 87 09-12-2020, 10:13 PM
Last Post: lupyuen
  Star Trek computer themed wasp-os on PineTime graynada 6 491 09-06-2020, 12:13 AM
Last Post: graynada
  FreeRTOS, RIOT, Mynewt and wasp-os Firmware now auto-building with GitHub Actions lupyuen 1 291 08-01-2020, 09:10 AM
Last Post: lupyuen
Information PineTime Updater for Flashing New Bootloader and FreeRTOS Firmware lupyuen 2 353 07-31-2020, 05:10 PM
Last Post: lupyuen
  DaFit Stock Firmware extract for TBH3 TheFuschl 1 432 07-03-2020, 07:55 AM
Last Post: sqrtroot
  Article: Flutter State Management with Bloc for PineTime Companion App lupyuen 2 476 06-27-2020, 05:26 PM
Last Post: lupyuen

Forum Jump:


Users browsing this thread: 1 Guest(s)