Framework for building Arm "FLM" style flash programming algorithms.
Skip any step where a compatible tool already exists
- Install Python 3.6 or later and make sure it's added to path
- Install Git and make sure it's added to path
- Install a supported toolchain:
- Install GNU Make.
$ git clone https://github.com/mbedmicro/FlashAlgo
$ python3 -mvenv venv
$ source venv/bin/activate
$ pip install -r requirements.txt
- Update tools and generate project files. This should be done everytime you pull new changes
$ progen build -t make_gcc_arm
Add the project name(s) to the command if you only want to build a limited set of projects. You can list available projects with progen list -f projects.yaml projects
.
$ progen generate -t uvision
$ tools\launch_uvision.bat
Now open the project file for the desired target in .\projectfiles\uvision\<target>\
To change the RAM base address to something other than the default value of 0x20000000, add the argument --blob_start <hex-ram-address>
in "Projects ❱ Options ❱ User ❱ After Build/Rebuild section of the µVision project.
For adding new targets start from template and use these docs...
We welcome contributions! Please see the contribution guidelines for detailed requirements. In order foster a healthy and safe community, all contributors are expected to follow the code of conduct.
To report bugs, please create an issue in the GitHub project.