Skip to content

getting cmake errors when i try and build a uf2 for my board #235

Answered by strid3r21
strid3r21 asked this question in Q&A
Discussion options

You must be logged in to vote

i figured it out. i ended up just commenting out the two lines in the CMakeList file that were throwing the error and then it compiled just fine and i was able to flash my board with the new firmware. no idea why those two lines were throwing the error or why they werent needed, but hey got it working.

lines in question i commented out.

#string(REPLACE ../../../../lib/ "" GIT_SUBMODULE_VERSIONS ${GIT_SUBMODULE_VERSIONS})
#string(STRIP ${GIT_SUBMODULE_VERSIONS} GIT_SUBMODULE_VERSIONS)

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@strid3r21
Comment options

Comment options

You must be logged in to vote
1 reply
@strid3r21
Comment options

Comment options

You must be logged in to vote
1 reply
@hathach
Comment options

Answer selected by strid3r21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants