Todos Nuevo

user:thomas gists creados por el usuario

title:mygist gists con el título indicado

description:sync gists with given description

filename:myfile.txt gists que contienen archivos con el nombre indicado

extension:yml gists que contienen archivos con la extensión indicada

language:go gists que contienen archivos con el lenguaje indicado

topic:homelab gists with given topic

all:systemctl search all fields

Iniciar sesión

Todos Nuevo Iniciar sesión

Todos los gists

Recientemente creado
Menos reciente creado
Recientemente actualizado
Menos reciente actualizado
vatnar's Avatar

vatnar / debugge.md

0 gustos
0 bifurcaciones
1 archivos
Última actividad 1 week ago

I en terminal kjør

west debugserver -r openocd

Flash og se outputs med:

mbuild
vatnar's Avatar

vatnar / zephyr-debug-linux.md

0 gustos
0 bifurcaciones
1 archivos
Última actividad 1 week ago

Pass på å bruke følngende som debugger i toolchainen.

~/zephyr-sdk-1.0.1/gnu/xtensa-espressif_esp32s3_zephyr-elf/bin/xtensa-espressif_esp32s3_zephyr-elf-gdb

Ha dette i prj.conf

CONFIG_DEBUG_THREAD_INFO=y
CONFIG_DEBUG_OPTIMIZATIONS=y

Hvis du får

vatnar's Avatar

vatnar / scratch.cpp

0 gustos
0 bifurcaciones
1 archivos
Última actividad 1 week ago
1 inline Arena *get_scratch(Arena **conflicts, u64 count) {
2 if (!g_thread_ctx.scratch_arenas[0]) {
3 thread_ctx_init();
4 }
5 for (u64 i = 0; i < 2; i++) {
6 bool has_conflict = false;
7 for (u64 j = 0; j < count; j++) {
8 if (g_thread_ctx.scratch_arenas[i] == conflicts[j]) {
9 has_conflict = true;
10 break;
Siguiente Anterior

Desarrollado por Opengist ⋅ Load: 68ms⋅

Español
العربية Čeština Deutsch English Español Français Magyar Italiano 日本語 한국어 Polski Português Русский Türkçe Українська 简体中文 繁體中文