Targets with CAN
| Manufacturer | Target | HAL | CMSIS | Manual | Controller |
|---|---|---|---|---|---|
| NXP | TARGET_LPC11CXX | can_api.c | LPC11xx.h | UM10398 | C_CAN |
| NXP | TARGET_LPC15XX | can_api.c | LPC15xx.h | [UM10736](http:// |
| #!/usr/bin/python | |
| """ | |
| Parse a Zephyr firmware ELF file to extract its statically registered | |
| shell commands using the linker section data structure. | |
| This script requires pyelftools, which can be installed using: | |
| pip install pyelftools | |
| """ |
| __all__ = ["Decoder", "OUTPUT_ANN", "OUTPUT_PYTHON", "OUTPUT_BINARY", "OUTPUT_META", "SRD_CONF_SAMPLERATE"] | |
| from .decoder import Decoder | |
| from .constants import OUTPUT_ANN, OUTPUT_PYTHON, OUTPUT_BINARY, OUTPUT_META, SRD_CONF_SAMPLERATE |
| #!/bin/bash | |
| # Utility script to first resolve the IP address of the target host to SSH into | |
| # by SSHing into a secondary proxy host. For example, this can be used when | |
| # the origin host does not support resolving names via mDNS, but the jump host | |
| # does, while avoiding the overhead of routing the SSH connection through the | |
| # jump host when the origin and target are already both in the same network. | |
| set -e | |
| set -o pipefail |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>WebUSB Control Transfer Request to Device Endpoint while unconfigured</title> | |
| <script> | |
| async function readDeviceDescriptor(device) { | |
| const GET_DESCRIPTOR = 0x06; | |
| const DT_DEVICE = 0x01; |
| """ | |
| Utilities for dumping STM32 peripheral registers with tab-completion | |
| Based on a script by vampi-the-frog | |
| Dependencies: | |
| pip install -U cmsis-svd | |
| Usage (inside gdb): | |
| (gdb) source /path/to/svd-dump.py |
Targets with CAN
| Manufacturer | Target | HAL | CMSIS | Manual | Controller |
|---|---|---|---|---|---|
| NXP | TARGET_LPC11CXX | can_api.c | LPC11xx.h | UM10398 | C_CAN |
| NXP | TARGET_LPC15XX | can_api.c | LPC15xx.h | [UM10736](http:// |
| def slice_arg(string): | |
| try: | |
| if ":" in string: | |
| parts = string.split(":") | |
| args = [] | |
| for part in parts: | |
| if not part.strip(): | |
| args.append(None) | |
| else: | |
| args.append(int(part)) |