Build Infinitime Sources
#1
Hello,
im a relative newbie to programming and wan't to have a own clock face.
I followed the build steps from Git - build and program and the build with a new face with some little changes was also successfull.[url=https://github.com/JF002/InfiniTime/blob/develop/doc/buildAndProgram.md][/url]
I wan't to programm the firmware by OTA/DFU, but my problem is, there wasn't a pinetime-mcuboot-app-dfu build.
The files build are:
  • pinetime-app-1.2.0.bin
  • pinetime-app-1.2.0.hex
  • pinetime-app-1.2.0.map
  • pinetime-app-1.2.0.out
The dependencies as descriped on git are installed and additionally adafruit-nrfutil.
I prepare the build with
Code:
cmake -DARM_NONE_EABI_TOOLCHAIN_PATH="/opt/gcc-arm-none-eabi/gcc-arm-none-eabi-10-2020-q4-major" -DNRF5_SDK_PATH="/opt/nRF5_SDK_15.3.0_59ac345" -DUSE_JLINK=0 -DNRFJPROG="/opt/nrfjprog/nrfjprog" -DCMAKE_BUILD_TYPE=Release -DBUILD_DFU=1 ../

and run the build with
Code:
make -j pinetime-app
 in the build-directory.

What have i done wrong. How to get an pinetime-mcuboot-app-dfu.zip?

thanks in advance
  Reply
#2
(07-22-2021, 01:40 PM)aemkai Wrote: Hello,
im a relative newbie to programming and wan't to have a own clock face.
I followed the build steps from Git - build and program and the build with a new face with some little changes was also successfull.[url=https://github.com/JF002/InfiniTime/blob/develop/doc/buildAndProgram.md][/url]
I wan't to programm the firmware by OTA/DFU, but my problem is, there wasn't a pinetime-mcuboot-app-dfu build.
The files build are:
  • pinetime-app-1.2.0.bin
  • pinetime-app-1.2.0.hex
  • pinetime-app-1.2.0.map
  • pinetime-app-1.2.0.out
The dependencies as descriped on git are installed and additionally adafruit-nrfutil.
I prepare the build with
Code:
cmake -DARM_NONE_EABI_TOOLCHAIN_PATH="/opt/gcc-arm-none-eabi/gcc-arm-none-eabi-10-2020-q4-major" -DNRF5_SDK_PATH="/opt/nRF5_SDK_15.3.0_59ac345" -DUSE_JLINK=0 -DNRFJPROG="/opt/nrfjprog/nrfjprog" -DCMAKE_BUILD_TYPE=Release -DBUILD_DFU=1 ../

and run the build with
Code:
make -j pinetime-app
 in the build-directory.

What have i done wrong. How to get an pinetime-mcuboot-app-dfu.zip?

thanks in advance

add: cmake recognizes the DFU-Option as wanted:
Code:
* Build DFU (using adafruit-nrfutil) : Enabled
  Reply
#3
Hello, i found another issue.
Despite setting JLink-Option to "-DUSE_JLINK=0", the outprint is "Programmer/debugger : JLINK". Also, the CMake wants a path to NrfJprog. Could this be a reason?
  Reply
#4
Okay, problem is solved.
My mistake was to use
Code:
make -j pinetime-app
instead of
Code:
make -j pinetime-mcuboot_app
Build is running on the watch :-)
  Reply
#5
Quote:Build is running on the watch :-)
Awesome !


You can also type
Code:
make -j all

or just
Code:
make -j

to build all targets at once Wink
Working on InfiniTime, the FOSS firmware for the PineTime: https://github.com/InfiniTimeOrg/InfiniTime

Mastodon : https://mastodon.codingfield.com/@JF
Twitter : https://twitter.com/codingfield
Matrix : @JF002:matrix.org
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Infinitime Build problem BlackDev 1 1,479 12-23-2023, 08:07 AM
Last Post: Luno
  Bluetooth BLE-MIDI-controller app for PineTime / InfiniTime Luno 0 936 08-20-2023, 05:17 AM
Last Post: Luno
  Can't build InfiniTime Anonymous1 1 1,970 01-25-2023, 01:49 AM
Last Post: matthewfelgate
  error when try to build infinitime 1.10 gy145 2 2,846 07-08-2022, 08:23 PM
Last Post: gy145
  Daemon and go library to interact with InfiniTime on Linux Arsen6331 0 2,179 08-21-2021, 10:32 AM
Last Post: Arsen6331
Information InfiniTime Default Face USA Mod - No longer supported The3DmaN 1 3,601 02-25-2021, 03:51 PM
Last Post: The3DmaN
  InfiniTime Avamander 4 7,916 02-24-2021, 02:38 PM
Last Post: Avamander
  Build PineTime Firmware in the Cloud lupyuen 3 6,761 07-27-2020, 04:54 PM
Last Post: lupyuen

Forum Jump:


Users browsing this thread: 1 Guest(s)