#nrf52_Bootloader build trouble

1 messages ยท Page 1 of 1 (latest)

fervent valley
#

a

lavish halo
#

Thank you I really appreciate it

#

Ubuntu 22.04.2 LTS

fervent valley
#

what is cmake --version

#

aha e745002 is a git commit

#

do git pull --tags

#

MK_BOOTLOADER_VERSION is created out of the current version number, but if you have no tags, it won't have it

lavish halo
#
cmake version 3.22.1

CMake suite maintained and supported by Kitware (kitware.com/cmake).```
#
cole@Computer:~/Documents/code/Adafruit_nRF52_Bootloader$  git pull --tags
Enter passphrase for key '/home/cole/.ssh/id_rsa': 
Already up to date.```
lavish halo
fervent valley
#

git tag does it print a bunch of version numbers? What does git status print

lavish halo
#
Your branch is up to date with 'origin/master'.

Untracked files:
  (use "git add <file>..." to include in what will be committed)
        src/boards/boardsource/

nothing added to commit but untracked files present (use "git add" to track)```
#

git tag returns nothing

#

let me try and pull origin tags

fervent valley
#

yes, that's the problem

lavish halo
#

you got it. Who every runs into this Run these

cole@Computer:~/Documents/code/Adafruit_nRF52_Bootloader$ git fetch --tags upstream
Enter passphrase for key '/home/cole/.ssh/id_rsa': 
remote: Enumerating objects: 15, done.
remote: Counting objects: 100% (7/7), done.
remote: Total 15 (delta 7), reused 7 (delta 7), pack-reused 8
Unpacking objects: 100% (15/15), 3.49 KiB | 510.00 KiB/s, done.
From github.com:adafruit/Adafruit_nRF52_Bootloader```
#

@fervent valley Thank you so much for your time I really appreciate this! โค๏ธ

fervent valley
#

you're welcome! That's pretty obscure ๐Ÿ™‚

#

it's fine to fork. Not sure why your clone didn't have the tags. I just clone my (existing) fork of this repo and got the tags:

 gh repo clone Adafruit_nRF52_Bootloader -u @owner
Cloning into 'Adafruit_nRF52_Bootloader'...
remote: Enumerating objects: 3800, done.
remote: Counting objects: 100% (254/254), done.
remote: Compressing objects: 100% (37/37), done.
remote: Total 3800 (delta 226), reused 217 (delta 217), pack-reused 3546
Receiving objects: 100% (3800/3800), 5.47 MiB | 8.81 MiB/s, done.
Resolving deltas: 100% (2409/2409), done.
remote: Enumerating objects: 2367, done.
remote: Counting objects: 100% (1071/1071), done.
remote: Compressing objects: 100% (125/125), done.
remote: Total 2367 (delta 980), reused 987 (delta 939), pack-reused 1296
Receiving objects: 100% (2367/2367), 1.26 MiB | 4.31 MiB/s, done.
Resolving deltas: 100% (1510/1510), completed with 100 local objects.
From https://github.com/adafruit/Adafruit_nRF52_Bootloader
 * [new branch]      master     -> adafruit/master
 * [new tag]         0.1.0      -> 0.1.0
 * [new tag]         0.2.0      -> 0.2.0
 * [new tag]         0.2.1      -> 0.2.1
 * [new tag]         0.2.10     -> 0.2.10
 * [new tag]         0.2.11     -> 0.2.11
...
lavish halo
#

yeah strange could be any number of things but Im glad it was a easy fix I got my board all compiled now to flash the protos soming in today ๐Ÿ˜„