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
#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.
#3

.png   Screenshot_20200727-203607.png (Size: 315.95 KB / Downloads: 491) 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]
#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! :-)


Possibly Related Threads…
Thread Author Replies Views Last Post
  Pinetime - Kids with special needs hidara 0 100 06-11-2024, 10:42 PM
Last Post: hidara
  Infinitime Build problem BlackDev 1 1,093 12-23-2023, 08:07 AM
Last Post: Luno
  Develop a new firmware for PineTime belushi 2 1,547 09-25-2023, 12:32 PM
Last Post: ccchan234
  Bluetooth BLE-MIDI-controller app for PineTime / InfiniTime Luno 0 663 08-20-2023, 05:17 AM
Last Post: Luno
  Zephyr Backlight Examples for PineTime lcj 0 836 05-06-2023, 02:54 PM
Last Post: lcj
  Zephyr is ready for pinetime jandy 1 2,310 05-06-2023, 02:15 PM
Last Post: lcj
  Can't build InfiniTime Anonymous1 1 1,581 01-25-2023, 01:49 AM
Last Post: matthewfelgate
  Send a message from Android to pinetime via BLE razrosman 0 1,033 11-05-2022, 08:24 AM
Last Post: razrosman
  PineTime Stuck in DFU Mode Eesha Barua 1 2,280 07-25-2022, 09:17 PM
Last Post: heyhewmike
  Idle tracking with PineTime: how versatile it is? schaman 1 1,816 07-13-2022, 12:50 AM
Last Post: wibble

Forum Jump:


Users browsing this thread: 1 Guest(s)