-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Built the SCons Tools documentation and README.md
- Loading branch information
1 parent
d49ab29
commit 5b33b37
Showing
7 changed files
with
173 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# FSAE Concordia SCons Tools | ||
|
||
**This section of the codebase houses all additional internal/external tools for SCons** | ||
|
||
| Tool Name | Description | File location | Notes | | ||
| --- | --- | --- | ---| | ||
| ARM Toolchain | Adds support for the ARM Toolchain | site_scons/site_tools/arm-none-eabi.py | | | ||
| Chip Confirguration | Adds the ability to configure chips from config file | site_scons/site_tools/chip_config.py | | | ||
| Doxygen | Adds doxygen support | site_scons/site_tools/dox.py | | | ||
| OpenOCD | Adds openocd support | site_scons/site_tools/openocd.py | | | ||
| ST-Flash | Adds ST-Link flashing support | site_scons/site_tools/st-flash.py | | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,32 @@ | ||
## | ||
# @file dox.py | ||
# @brief SCons python tool for Doxygen integration | ||
# @author Joshua Lafleur ([email protected]) | ||
# @version 0.1 | ||
# @date 2022-08-27 | ||
|
||
from SCons.Script import * | ||
|
||
|
||
## | ||
# @brief Generates the helper actions in SCons | ||
# | ||
# @param env SCons environment to work on | ||
# | ||
# @retval None | ||
def generate(env): | ||
# @brief Adds the bash command as a builder to the environment | ||
env['BUILDERS']['dox'] = SCons.Builder.Builder( | ||
action = f"doxygen -g $SOURCE" | ||
) | ||
|
||
|
||
## | ||
# @brief Shows that this module exists | ||
# | ||
# @note Included for forward compatibility | ||
# | ||
# @retval True | ||
def exists(): | ||
return True | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters