Severson-Group / AMDC-Firmware

Embedded system code (C and Verilog) which runs the AMDC Hardware
http://docs.amdc.dev/firmware
BSD 3-Clause "New" or "Revised" License
30 stars 5 forks source link

Change FreeRTOS-Kernel submodule to reference version tag, not the main branch #352

Closed codecubepi closed 6 months ago

codecubepi commented 7 months ago
# Tags (such as V10.6.2) are not allowed in .gitmodules, only commit hashes

[submodule "sdk/FreeRTOS-Kernel"]
    path = sdk/FreeRTOS-Kernel
    url = git@github.com:FreeRTOS/FreeRTOS-Kernel.git
    branch = 18ed888

I might need a bit of instruction in how to make sure that the correct submodule commit is checked out when cloning the firmware repo

I was having some trouble making sure my repo was using the correct commit. After changing .gitmodules to the above, no git submodule command (init, update etc) would correct it back to commit 18ed888. Only git checkout inside the submodule seemed to work. I don't know if this is a problem.