Version Info

CircuitPython on hardware including Adafruit's boards, and CircuitPython libraries using Blinka on host computers.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
kenkrz1
 
Posts: 1
Joined: Wed Sep 22, 2021 12:08 pm

Version Info

Post by kenkrz1 »

I added a SPI slave to CircuitPython, and the first time I compiled it the version came up as "7.0.0 dirty". This allowed me to work with the 7.0.0 libs. The second time I compiled it the version came up as "0.0.0" and now it wont work with the 7.x.x libs. The second time I did a mpy-cross compile. I'm guessing this changed my version. I would like to understand how CircuitPython is versioned and I would like to get back to 7.0.0 dirty.

Thanks for your help.

User avatar
tannewt
 
Posts: 3304
Joined: Thu Oct 06, 2016 8:48 pm

Re: Version Info

Post by tannewt »

I suspect you need to pull tags from the main repo into your local branch. The CircuitPython build will automatically detect the version based on the git tags.

(I think it's `git pull --tags`.)

Locked
Please be positive and constructive with your questions and comments.

Return to “Adafruit CircuitPython”