0835fdca081da215d94de53a211306aa52e26540
35 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
7e1146fe9d |
doc: flash_debug: add requirement for debug probe supported
Document the S32DS and S32Debug Probe OS supported version, and guide to upgrade the OS of the S32DebugProbe. Signed-off-by: Ha Duong Quang <ha.duongquang@nxp.com> |
||
|
|
e9e7c26f29 |
docs: update https links
update a couple of links to use https instead of http Signed-off-by: Thomas Stranger <thomas.stranger@outlook.com> |
||
|
|
19fe604aef |
scripts: west_commands: runners: add ST-LINK GDB server
Add the ST-Link GDB server (part of the STM32CubeCLT) as west runner. The STM32CubeCLT is an all-in-one multi-OS command-line toolset, which is part of the STM32Cube ecosystem, and notably includes a GDB server for debugging using ST-Link probes. This runner supports the "attach", "debug" and "debugserver" commands. Documentation: https://www.st.com/en/development-tools/stm32cubeclt.html Signed-off-by: Mathieu Choplain <mathieu.choplain@st.com> |
||
|
|
aaa9d705a9 |
doc: develop: flash_debug: Add descs about blackmagicprobe and uf2
Add description about blackmagicprobe(host-tools and probes) and uf2(host-tools only). Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com> Co-authored-by: Benjamin Cabé <kartben@gmail.com> Co-authored-by: Andrew Featherstone <andrew.featherstone@gmail.com> |
||
|
|
f06c26a6d0 |
doc: extensions: boards: add zephyr:board-supported-runners directive
Use runners.yaml from build metadata to gather info regarding board supported runners, store the info in the board catalog, and allow to display it as a table in a board's doc page using the .. zephyr:board-supported-runner:: directive. Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org> |
||
|
|
4399d9e3a2 |
west: runners: rfp: Add Reneses Flash Programmer runner
Add a basic RFP runner that supports the `flash` command targettting the Renesas Standard Boot Firmware. Signed-off-by: Peter Johanson <peter@peterjohanson.com> |
||
|
|
f7ad282504 |
boards: arduino: doc: Adopt Sphinx custom board directives
Adds zephyr:board and zephyr:board-supported-hw directives to the Arduino docs in order to generate more of the boards' documentation automatically. Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org> |
||
|
|
66a3c6c9ef |
doc: adopt allowlist/blocklist terminology
Fixed a few occurrences of non-inclusive language. Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org> |
||
|
|
27615a7cf1 |
west: runners: bossac: Honor --erase flag
Instead of unconditionally erasing the whole target, add support for using the common --erase flag. Signed-off-by: Peter Johanson <peter@peterjohanson.com> |
||
|
|
97ba4ca553 |
boards: atmel: adopt new zephyr:board directive and role
This updates the documentation of all the Atmel boards to use the new `zephyr:board::` directive. Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org> |
||
|
|
d885957fe8 |
boards: nxp: adopt new zephyr:board directive and role
This updates the documentation of all the NXP boards to use the new `zephyr:board::` directive. Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org> |
||
|
|
599e0625e3 |
boards: adafruit: adopt new zephyr:board directive and role
This updates the documentation of all the Adafruit boards to use the new `zephyr:board::` directive. Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org> |
||
|
|
f8bac1ac1b |
doc: develop: flash_debug: host-tools: fix typo
Fix registred trademark typo Signed-off-by: Abderrahmane Jarmouni <git@jarmouni.me> |
||
|
|
b42549f071 |
doc: flash_debug: document stm32cubeprogrammer
Document STM32CubeProgrammer installation & usage with Zephyr. Signed-off-by: Abderrahmane Jarmouni <git@jarmouni.me> |
||
|
|
0095c224fa |
scripts: west_commands: runners: Add support for probe-rs
probe-rs is a new programming and debugging tool written in Rust, supports many probes and targets. This commit introduces initial support for probe-rs to Zephyr. Signed-off-by: Chen Xingyu <hi@xingrz.me> |
||
|
|
eead5104fc |
doc: fix typo in multiple directories before v3.7.0 release
Utilize a code spell-checking tool to scan for and correct spelling errors in various files within the `doc` directory. Signed-off-by: Pisit Sawangvonganan <pisit@ndrsolution.com> |
||
|
|
302422ad9d |
everywhere: replace double words
import os
import re
common_words = set([
'about', 'after', 'all', 'also', 'an', 'and',
'any', 'are', 'as', 'at',
'be', 'because', 'but', 'by', 'can', 'come',
'could', 'day', 'do', 'even',
'first', 'for', 'get', 'give', 'go', 'has',
'have', 'he', 'her',
'him', 'his', 'how', 'I', 'in', 'into', 'it',
'its', 'just',
'know', 'like', 'look', 'make', 'man', 'many',
'me', 'more', 'my', 'new',
'no', 'not', 'now', 'of', 'one', 'only', 'or',
'other', 'our', 'out',
'over', 'people', 'say', 'see', 'she', 'so',
'some', 'take', 'tell', 'than',
'their', 'them', 'then', 'there', 'these',
'they', 'think',
'this', 'time', 'two', 'up', 'use', 'very',
'want', 'was', 'way',
'we', 'well', 'what', 'when', 'which', 'who',
'will', 'with', 'would',
'year', 'you', 'your'
])
valid_extensions = set([
'c', 'h', 'yaml', 'cmake', 'conf', 'txt', 'overlay',
'rst', 'dtsi',
'Kconfig', 'dts', 'defconfig', 'yml', 'ld', 'sh', 'py',
'soc', 'cfg'
])
def filter_repeated_words(text):
# Split the text into lines
lines = text.split('\n')
# Combine lines into a single string with unique separator
combined_text = '/*sep*/'.join(lines)
# Replace repeated words within a line
def replace_within_line(match):
return match.group(1)
# Regex for matching repeated words within a line
within_line_pattern =
re.compile(r'\b(' +
'|'.join(map(re.escape, common_words)) +
r')\b\s+\b\1\b')
combined_text = within_line_pattern.
sub(replace_within_line, combined_text)
# Replace repeated words across line boundaries
def replace_across_lines(match):
return match.group(1) + match.group(2)
# Regex for matching repeated words across line boundaries
across_lines_pattern = re.
compile(r'\b(' + '|'.join(
map(re.escape, common_words)) +
r')\b(\s*[*\/\n\s]*)\b\1\b')
combined_text = across_lines_pattern.
sub(replace_across_lines, combined_text)
# Split the text back into lines
filtered_text = combined_text.split('/*sep*/')
return '\n'.join(filtered_text)
def process_file(file_path):
with open(file_path, 'r', encoding='utf-8') as file:
text = file.read()
new_text = filter_repeated_words(text)
with open(file_path, 'w', encoding='utf-8') as file:
file.write(new_text)
def process_directory(directory_path):
for root, dirs, files in os.walk(directory_path):
dirs[:] = [d for d in dirs if not d.startswith('.')]
for file in files:
# Filter out hidden files
if file.startswith('.'):
continue
file_extension = file.split('.')[-1]
if
file_extension in valid_extensions: # 只处理指定后缀的文件
file_path = os.path.join(root, file)
print(f"Processed file: {file_path}")
process_file(file_path)
directory_to_process = "/home/mi/works/github/zephyrproject/zephyr"
process_directory(directory_to_process)
Signed-off-by: Lingao Meng <menglingao@xiaomi.com>
|
||
|
|
b4b623c26c |
doc: use proper pygment for .conf code-blocks
config file snippets should use "cfg" pygment to get proper highlighting This commit updates all occurences where "kconfig" or other languages were used. Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org> |
||
|
|
a837117403 |
doc: flash_debug: fix some issues with probes documentation
Fix a few issues with the probes documentation for NXP boards: - fix references to debug probe type in probes page introduction - add an explicit "Install the host tools" step for the LPC-Link and MCU-Link based debug probe update steps. Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com> |
||
|
|
eff681d50d |
doc: flash_debug: update NXP flash debug probes section
Update NXP flash debug probes section, to attempt to clarify the differences between OpenSDA, LPC-Link2, and MCU-Link probes. Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com> |
||
|
|
7150877801 |
doc: develop: flash_debug: add note for LinkServer breakpoints
LinkServer does not set a breakpoint at reset by default when debugging platforms, so if the user single steps after loading an application they will likely step through ROM code for the target. Add a note clarifying that users need to set a breakpoint at the reset handler or "main" in order to pause their application there. Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com> |
||
|
|
8dc3f85622 |
hwmv2: Introduce Hardware model version 2 and convert devices
This is a squash of the ``collab-hwm`` branch which converts all in-tree boards to hardware model version 2 including build system changes, board updates and soc conversions. This squash is a combination of the following commits: ca214745a1 soc: Remove soc_legacy folder and move ARM Kconfig |
||
|
|
9260c5b6b2 |
doc: linkserver: update PATH
Added details to update PATH environment variable for linkserver Signed-off-by: Derek Snell <derek.snell@nxp.com> |
||
|
|
117dc55233 |
doc: linkserver: update installer link
Updates link to MCUXpresso Installer Signed-off-by: Derek Snell <derek.snell@nxp.com> |
||
|
|
a21076bbf3 |
doc: pyocd: Add CMSIS DAP Onboard Debug Probe support
Add the CMSIS DAP Onboard Debug Probes to the list of supported probes by pyOCD. Signed-off-by: Andrej Butok <andrey.butok@nxp.com> |
||
|
|
006a650690 |
doc: flash_debug: add NXP S32 debug probe docs
Document needed steps to download, install and setup the debug host tools for NXP S32 Debug Probe. Signed-off-by: Manuel Argüelles <manuel.arguelles@nxp.com> |
||
|
|
1477865a7a |
linkserver: doc: updates for NXP's mimxrt1170
This commit adds the documentation details for the linkserver support on rt1170. Signed-off-by: Yves Vandervennet <yves.vandervennet@nxp.com> |
||
|
|
571f8591b9 |
documentation: Fix several typos
Correcting typos in various documentation files Signed-off-by: Andreas Deininger <andreas@deininger.net> |
||
|
|
58e4df6460 |
west: runner: add support for NXP's linkserver
Linkserver is a utility for launching and managing GDB servers for NXP
debug probes, which also provides a command-line target flash programming
capabilities. Linkserver can be used with NXP MCUXpresso for Visual Studio
Code.
For more information about LinkServer, please visit the LinkServer web
page (link [1] below).
This commit adds a runner to west, supporting debug and flash commands.
Documentation is also added.
[1] - LinkServer web page:
https://www.nxp.com/design/software/development-software/mcuxpresso-software-and-tools-/linkserver-for-microcontrollers:LINKERSERVER
Signed-off-by: Yves Vandervennet <yves.vandervennet@nxp.com>
|
||
|
|
8a686cac53 |
docs: flash_debug: host_tools: Fix reference to jlink host tools
Fix reference to JLink host tools to be located in correct section, so that output documentation fills in the correct header name when this section is referenced. Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com> |
||
|
|
79d9f45296 |
scripts: runners: bossac: Enable BOSSAC to run on Windows (native)
Fixes #37538 by correctly detecting WSL and blocking bossac from running on that platform, but allowing it to run on Windows native. Signed-off-by: João Dullius <joaodullius@bpmrep.com.br> |
||
|
|
31b3993d58 |
scripts: west: introduce Lauterbach TRACE32 runner
This patch introduces a West runner for flashing and debugging with Lauterbach TRACE32 debuggers. The runner consists of a wrapper around TRACE32 software, and allows a Zephyr board to execute a custom start-up script (Practice Script) for the different commands supported, including the ability to pass extra arguments from CMake. Is up to the board using this runner to define the actions performed on each command. The `debug` command launches TRACE32 GUI to allow debug the Zephyr application, while the `flash` command hides the GUI and executes the start-up script in a background process. Signed-off-by: Manuel Arguelles <manuel.arguelles@nxp.com> |
||
|
|
cf400c6c63 |
doc: flash_debug: Update OpenOCD and pyOCD links
This commit updates the outdated links for OpenOCD and pyOCD. Signed-off-by: Stephanos Ioannidis <stephanos.ioannidis@nordicsemi.no> |
||
|
|
7ad2f76720 |
doc: remove guides and split content
Remove the old guides section and move all remaining items into new sections. Signed-off-by: Anas Nashif <anas.nashif@intel.com> |
||
|
|
0ee7e42ef0 |
doc: move flashing/debugging section to developing with zephyr
This section belongs in the intro about developing with Zephyr. Signed-off-by: Anas Nashif <anas.nashif@intel.com> |