-
-
Notifications
You must be signed in to change notification settings - Fork 800
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
42ee6fe
commit a25c115
Showing
2 changed files
with
8 additions
and
8 deletions.
There are no files selected for viewing
Submodule docs
updated
6 files
+1 −0 | boards/index.rst | |
+120 −0 | boards/teensy/teensy40.rst | |
+13 −0 | frameworks/arduino.rst | |
+11 −0 | platforms/teensy.rst | |
+7 −0 | plus/debug-tools/jlink.rst | |
+7 −0 | plus/debugging.rst |
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 |
---|---|---|
|
@@ -20,7 +20,7 @@ | |
|
||
path.append("..") | ||
|
||
from platformio import util | ||
from platformio import fs, util | ||
from platformio.managers.platform import PlatformFactory, PlatformManager | ||
|
||
RST_COPYRIGHT = """.. Copyright (c) 2014-present PlatformIO <[email protected]> | ||
|
@@ -97,8 +97,8 @@ def generate_boards_table(boards, skip_columns=None): | |
debug=debug, | ||
mcu=data['mcu'].upper(), | ||
f_cpu=int(data['fcpu']) / 1000000, | ||
ram=util.format_filesize(data['ram']), | ||
rom=util.format_filesize(data['rom'])) | ||
ram=fs.format_filesize(data['ram']), | ||
rom=fs.format_filesize(data['rom'])) | ||
|
||
for (name, template) in columns: | ||
if skip_columns and name in skip_columns: | ||
|
@@ -614,8 +614,8 @@ def update_embedded_board(rst_path, board): | |
mcu_upper=board['mcu'].upper(), | ||
f_cpu=board['fcpu'], | ||
f_cpu_mhz=int(board['fcpu']) / 1000000, | ||
ram=util.format_filesize(board['ram']), | ||
rom=util.format_filesize(board['rom']), | ||
ram=fs.format_filesize(board['ram']), | ||
rom=fs.format_filesize(board['rom']), | ||
vendor=board['vendor'], | ||
board_manifest_url=board_manifest_url, | ||
upload_protocol=board_config.get("upload.protocol", "")) | ||
|
@@ -811,7 +811,7 @@ def update_debugging(): | |
|
||
# save | ||
with open( | ||
join(util.get_source_dir(), "..", "docs", "plus", "debugging.rst"), | ||
join(fs.get_source_dir(), "..", "docs", "plus", "debugging.rst"), | ||
"r+") as fp: | ||
content = fp.read() | ||
fp.seek(0) | ||
|
@@ -880,7 +880,7 @@ def update_project_examples(): | |
{examples} | ||
""" | ||
|
||
project_examples_dir = join(util.get_source_dir(), "..", "examples") | ||
project_examples_dir = join(fs.get_source_dir(), "..", "examples") | ||
framework_examples_md_lines = {} | ||
embedded = [] | ||
desktop = [] | ||
|