Skip to content

bboydt/scons-dfu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

scons-dfu 📥

A SCons tool for creating DFU files.

How to use

  1. Add dfu.py into your SCons tools (i.e. site_scons/site_tools/).
    or
    Add this repo as a submodule to your repo and add its path to toolpath in your environment.
  2. Include the tool in your environment and configure flags. See the tool files for construction variable names.
env = Environment(tools = ['dfu', ...], DFUSUFFIXFLAGS = "-p <pid> -v <vid>", ...)
  1. Build a DFU file!
firmware_dfu = env.DfuPrefix("firmware.dfu", "firmware.bin")
# or
firmware_dfu = env.DfuSuffix("firmware.dfu", "firmware.bin")

About

A SCons tool for creating DFU files.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages