Skip to content

Instantly share code, notes, and snippets.

View zacck's full-sized avatar

Zacck zacck

View GitHub Profile
@zacck
zacck / OpenOCD
Last active October 6, 2022 10:33
Embedded rust rx with dma hang error
➜ blinky git:(master) ✗ openocd -f openocd.cfg
Open On-Chip Debugger 0.11.0
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
Info : auto-selecting first available session transport "hla_swd". To override use 'transport select <transport>'.
Info : The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWD
0x2ba01477
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
/home/zacck/zephyrproject/zephyr/drivers/spi/spi_sc18is606.c:597:1: error: macro "DEVICE_DEINIT_DEFINE" requires 10 arguments, but only 9 given 597 | DT_INST_FOREACH_STATUS_OKAY(SPI_SC18IS606_DEFINE) | ^~~~~~~~~~~~~~~~~~ In file included from /home/zacck/zephyrproject/zephyr/include/zephyr/sw_isr_table.h:18, from /home/zacck/zephyrproject/zephyr/boards/native/native_sim/../common/irq/board_irq.h:11, from /home/zacck/zephyrproject/zephyr/boards/native/native_sim/board_irq.h:10, from /home/zacck/zephyrproject/zephyr/soc/native/inf_clock/soc_irq.h:10, from /home/zacck/zephyrproject/zephyr/include/zephyr/arch/posix/posix_soc_if.h:18, from /home/zacck/zephyrproject/zephyr/include/zephyr/arch/posix/asm_inline_gcc.h:29, from /home/zacck/zephyrproject/zephyr/include/zephyr/arch/posix/asm_inline.h:18, from /home/zacck/zephyrproject/zephyr/include/zephyr/arch/posix/arch.h:26, from /home/zacck/zephyrproject/zephyr/include/zephyr/arch/cpu.h:29, from /home/zacck/zephyrproject/zephyr/include/zephyr/sys/cbprintf_internal.h:
@zacck
zacck / app.overlay
Created October 1, 2025 16:51
NXP MCXN236 overlay and configuration for the video capture sample
#include <zephyr/dt-bindings/video/video-interfaces.h>
/ {
/*Chosen cam node*/
chosen {
zephyr,console = &flexcomm0_lpuart0;
zephyr,shell-uart = &flexcomm0_lpuart0;
zephyr,camera = &dvp_20pin_interface;
};
};