Skip to content

Instantly share code, notes, and snippets.

Avatar
👶

Gerard Marull-Paretas gmarull

👶
View GitHub Profile
View gist:14fceb0d7d30417f7b4507abd7fba476
/home/runner/work/zephyr/zephyr/doc/_build/src/boards/arm/rpi_pico/doc/index.rst:56: WARNING: 'dtcompatible' reference target not found: rpi,pico-uart
/home/runner/work/zephyr/zephyr/doc/_build/src/boards/arm/rpi_pico/doc/index.rst:59: WARNING: 'dtcompatible' reference target not found: rpi,pico-gpio
/home/runner/work/zephyr/zephyr/doc/_build/src/boards/posix/native_posix/doc/index.rst:428: WARNING: c:func reference target not found: native_rtc_adjust_clock
/home/runner/work/zephyr/zephyr/doc/_build/src/boards/posix/native_posix/doc/index.rst:491: WARNING: c:func reference target not found: native_rtc_offset
/home/runner/work/zephyr/zephyr/doc/_build/src/boards/posix/native_posix/doc/index.rst:499: WARNING: c:func reference target not found: native_rtc_gettime_us
/home/runner/work/zephyr/zephyr/doc/_build/src/boards/posix/native_posix/doc/index.rst:499: WARNING: c:func reference target not found: native_rtc_gettime
/home/runner/work/zephyr/zephyr/doc/_build/src/boards/posix/native_posix/doc/index.rst:516: WAR
View gist:8fb0a5a19c00ca45a1e10b69bc87f626
WARNING: /home/runner/work/sdk-nrf/sdk-nrf/ncs/nrfxlib/nrf_802154/driver/include/nrf_802154_config.h:429: preprocessing issue while doing constant expression evaluation: syntax error
WARNING: /home/runner/work/sdk-nrf/sdk-nrf/ncs/nrfxlib/nrf_802154/driver/include/nrf_802154.h:105: preprocessing issue while doing constant expression evaluation: syntax error
WARNING: /home/runner/work/sdk-nrf/sdk-nrf/ncs/nrfxlib/nrf_802154/driver/include/nrf_802154.h:1450: preprocessing issue while doing constant expression evaluation: syntax error
WARNING: /home/runner/work/sdk-nrf/sdk-nrf/ncs/nrfxlib/nrf_802154/driver/include/nrf_802154.h:1604: preprocessing issue while doing constant expression evaluation: syntax error
WARNING: /home/runner/work/sdk-nrf/sdk-nrf/ncs/nrfxlib/nrf_802154/driver/include/nrf_802154.h:1757: preprocessing issue while doing constant expression evaluation: syntax error
WARNING: /home/runner/work/sdk-nrf/sdk-nrf/ncs/nrfxlib/nrf_802154/driver/include/nrf_802154.h:1821: unbalanced grouping commands
WARNI
View rom_report_v6
-- west build: running target rom_report
[1/1] cd /home/gmarull/ws/gmarull/zephyrproject/zephyr/build/zephyr/cmake/reports && /usr/bin/python3.7 /home/gmarull/ws/gmarull/zephyrproject/zephyr/scripts/footprint/size_report -F --objdump /home/gmarull/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-objdump --objcopy /home/gmarull/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-objcopy --nm /home/gmarull/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-nm -o /home/gmarull/ws/gmarull/zephyrproject/zephyr/build/zephyr
Path Size %
==============================================================================================================
24349 42.51%
home 24349 42.51%
gmarull 243
@gmarull
gmarull / stm32_pinctrl_gen.py
Last active Jun 23, 2020
Utility to autogenerate Zephyr DT pinctrl files for all STM32 microcontrollers.
View stm32_pinctrl_gen.py
"""
Utility to autogenerate Zephyr DT pinctrl files for all STM32 microcontrollers.
Usage::
python3 stm32_pinctrl_gen.py -p /path/to/STM32CubeMX -o /path/to/output_dir
Copyright (c) 2020 Teslabs Engineering S.L.
SPDX-License-Identifier: Apache-2.0
@gmarull
gmarull / Dockerfile
Created May 2, 2020
Zephyr CircleCI Example (out of tree application)
View Dockerfile
FROM ubuntu:20.04
ARG DEBIAN_FRONTEND=noninteractive
# install dependencies
RUN apt-get update && apt-get install -y \
# CircleCI
software-properties-common \
wget \
git \
@gmarull
gmarull / example-tex2svg.py
Last active May 5, 2022
Render TeX to SVG in Python using matplotlib and display with PyQt
View example-tex2svg.py
import sys
from PyQt5.QtWidgets import QApplication
from PyQt5.QtSvg import QSvgWidget
from io import BytesIO
import matplotlib.pyplot as plt
# matplotlib: force computer modern font set
plt.rc('mathtext', fontset='cm')