how to build project from cmakefiles ?
#1
Sad 
hello,
can you share how to get started with pinetime, building project and flashing. Here am not able to create the project in segger for pinetime and how bootloader and mynewt works? is there any video to know the process of building and flashing it to pinetime?
thankyou
#2
There's a wide variety of OS projects for PineTime (see https://wiki.pine64.org/index.php/PineTi...nt_efforts ). Which one are you trying to run?
PineTime: wasp-os and MicroPython, Pinebook Pro:  Debian Bullseye
#3
(06-17-2020, 04:45 AM)danielt Wrote: There's a wide variety of OS projects for PineTime (see https://wiki.pine64.org/index.php/PineTi...nt_efforts ). Which one are you trying to run?
I want to try wasp os . i followed your link https://github.com/daniel-thompson/wasp-os but i cant use make command showing " 'make' is not recognized as an internal or external command, operable program or batch file."

thank you for giving your valuable time.
#4
(06-17-2020, 06:20 AM)pratyush049 Wrote:
(06-17-2020, 04:45 AM)danielt Wrote: There's a wide variety of OS projects for PineTime (see https://wiki.pine64.org/index.php/PineTi...nt_efforts ). Which one are you trying to run?
I want to try wasp os . i followed your link https://github.com/daniel-thompson/wasp-os but i cant use make command showing " 'make' is not recognized as an internal or external command, operable program or batch file."

thank you for giving your valuable time.

I don't know if anybody has ever tried building wasp-os on Windows. I have tested building it in both Debian and Fedora so I'd expect it to be easy to build on most GNU/Linux systems but I've never tried on anything else.

Note that there is a binary release that can be used by people who do not have access to a suitable build machine: https://github.com/daniel-thompson/wasp-os/releases

The other resource you will need is https://wiki.pine64.org/index.php/Reprog...e_PineTime which shows how to unlock the device (which which permanently disable the test firmware that comes pre-programmed on the device) and load a new firmware. In the case of wasp-os the file you need to install is called bootloader.hex .
PineTime: wasp-os and MicroPython, Pinebook Pro:  Debian Bullseye
#5
Smile 
Sir,
can you suggest simple OS for pine time, easy to program and easy to do customization. if you can share the links and references will be grateful to you.
#6
(06-20-2020, 03:32 AM)pratyush049 Wrote: Sir,
can you suggest simple OS for pine time, easy to program and easy to do customization. if you can share the links and references will be grateful to you.
Wasp-os is probably the easiest and best documented in general at the moment. That page has links to the related documentation. Having said that, depending on your background and experience, and possibly whether you're a Windows, Mac or Linux user, you may find one of the others easier if less well documented. Most of them are listed in the wiki. @lupyuen has a series of Medium posts that are worth reading too, and include use of VSCode for programming and debugging the PineTime from any of Windows, Mac and Linux as well as using the Raspberry Pi as the programming and debugging interface.
#7
(06-20-2020, 03:32 AM)pratyush049 Wrote: Sir,
can you suggest simple OS for pine time, easy to program and easy to do customization. if you can share the links and references will be grateful to you.

I think Wasp-OS is a good starting place.  You don't even need a Pinetime watch, it has a simulator.  You need a Linux system that fits the prerequisites (Debian buster does).  Follow the instructions and you can do testing on the simulator very easily and you don't have to worry about unlocking the watch or flashing the bootloader etc.  There are several sample apps supplied, written in Python.  Instructions are here:

https://wasp-os.readthedocs.io/en/latest/

Hugh
#8
Sad 
i am getting issue in build as mention below:-

IOError: [Errno 2] No such file or directory: 'wasp/boards/pinetime/watch.py.in'

make: *** [Makefile:8: wasp/boards/pinetime/watch.py] Error 1


file is present inside the folder but not detecting.
Thank you for your valuable time.
#9
(06-23-2020, 01:49 AM)pratyush049 Wrote: i am getting issue in build as mention below:-

IOError: [Errno 2] No such file or directory: 'wasp/boards/pinetime/watch.py.in'

make: *** [Makefile:8: wasp/boards/pinetime/watch.py] Error 1


file is present inside the folder but not detecting.
Thank you for your valuable time.

Apologies. This is my fault... a change at the weekend that broke fresh builds (but not my own test builds). Thanks for reporting the problem. It should now be fixed. Try running git pull and try the build again.
PineTime: wasp-os and MicroPython, Pinebook Pro:  Debian Bullseye
#10
Sad 
Sir,
i got a error while using simulator of wasp os as mention below.

raise UnsupportedError(pixels2d, "numpy module could not be loaded")

sdl2.ext.compat.UnsupportedError: 'numpy module could not be loaded'


can u share any reference or any help to get through this. thankyou for your valuable time.


Possibly Related Threads…
Thread Author Replies Views Last Post
  Project Review moriel5 7 8,884 07-01-2020, 02:26 PM
Last Post: moriel5

Forum Jump:


Users browsing this thread: 1 Guest(s)