This repository contains the already-generated modm library and documentation for software-dolken, so that users do not need to have lbuild and python installed on their computers. It is used as a submodule in the software-dolken repository.
If you're using a ssh key, then use the following command
- git remote set-url origin [email protected]:DanSTAR-DTU/modm-prebuilt.git
-
Python 3
-
lbuild (available through pip)
-
Doxygen
-
Graphviz
All of these tools should have their commands in the system path. With the exception of lbuild, Linux users should be able to obtain them through their system package manager, while Windows users should be able to obtain them through the Scoop package manager or standalone installers.
-
Currently running a custom version of modm with modifications to usart1 and usart2. These changes should be manually added when updating modm.
-
Check out submodules of this repository using
git submodule update --init --recursive
-
If these changes are experimental, switch to a branch other than
master
. -
If upgrading to a newer version of modm, navigate to the
repo
directory and check out a newer commit for modm. -
If adding/removing modules from build, edit
project.xml
. -
Delete the already built folder using
rm -rf modm
or similar. -
Run
lbuild build
to regenerate the modm files. -
Update modm/repo.cmake in this repository if necessary to ensure any new directories with source and include files are compiled. The appending of flags might not work with our build and have to be modified by hand to
cache
the flags and useset
instead ofappend
. -
Ensure the newly generated code compiles with the firmware and test on hardware as appropriate.
-
Commit and push all changes.
-
Update repositories using this one as a submodule to use the new commit.