Skip any step where a compatible tool already exists
- Install Python 2.7.9 or above and make sure it's added to path
- Install Git and make sure it's added to path
- Install Keil MDK-ARM
- Install virtualenv in python
> git clone https://github.com/mbedmicro/DAPLink
> pip install virtualenv
> virtualenv venv
- Update tools and generate project files. This should be done everytime you pull new changes
> "venv/Scripts/activate"
> pip install -r requirements.txt
> progen generate -t uvision
> "venv/Scripts/deactivate"
For adding new targets start from template and use these docs...
- Create a tag with the correct release version and push it to github
- Clean the repo you will be building from by running 'git clean -xdf' followed by 'git reset --hard'
- Run the script 'build_release_uvision.bat' to create all builds.
- All release deliverables will be created and stored in 'uvision_release'. Save this wherever your builds are stored.
Note: A previous build can be reproduced by using the 'build_requirements.txt' of that build. To do this add the additional argument 'build_requirements.txt' when calling 'build_release_uvision.bat' in step 2. This will install and build with the exact version of the python packages used to create that build.
Check out the issue tracker.
##ToDo
- Create a test
- Document how to use
- Document how to contribute