Skip to content

Instantly share code, notes, and snippets.

View vlad-ivanov-name's full-sized avatar

Vlad Ivanov vlad-ivanov-name

  • Munich, Germany
View GitHub Profile
@vlad-ivanov-name
vlad-ivanov-name / keybase.md
Created December 21, 2022 21:02
keybase.md

Keybase proof

I hereby claim:

  • I am vlad-ivanov-name on github.
  • I am vlad_ivanov (https://keybase.io/vlad_ivanov) on keybase.
  • I have a public key ASBovLEfCEUxOQOVklvTSJWl2zYXiSQgq52DilhbpK_Q-Ao

To claim this, I am signing this object:

Keybase proof

I hereby claim:

  • I am vlad-ivanov-name on github.
  • I am vlad_ivanov (https://keybase.io/vlad_ivanov) on keybase.
  • I have a public key ASBovLEfCEUxOQOVklvTSJWl2zYXiSQgq52DilhbpK_Q-Ao

To claim this, I am signing this object:

@vlad-ivanov-name
vlad-ivanov-name / build-gcc.md
Last active April 18, 2021 11:58 — forked from lirenlin/build-gcc.md
build cross arm-gcc with newlib

Set environment variables

export TARGET=aarch64-none-elf
export PREFIX=/work/public/$TARGET
export PATH=$PATH:$PREFIX/bin

Build binutils

@vlad-ivanov-name
vlad-ivanov-name / k11ntc_a.dts
Created April 4, 2017 19:48
Vernee Mars / k11ntc / k11ntc_a / K553V device tree
/dts-v1/;
/ {
model = "MT6755";
compatible = "mediatek,MT6755";
interrupt-parent = <0x1>;
#address-cells = <0x2>;
#size-cells = <0x2>;
chosen {
@vlad-ivanov-name
vlad-ivanov-name / readme.md
Created September 13, 2016 21:04
Eclipse with esp-open-rtos
  1. Create a new esp-open-rtos project by copying the example project, add empty user_init
  2. Build the project
  3. Create a new C project in Eclipse (toolchain — GNU GCC Cross Toolchain, prefix xtensa-lx106-elf-)
  4. In the project properties - C/C++ Build - Settings set the following options
Compiler — Preprocessor — Add ICACHE_FLASH definition
Compiler — Includes — Add:
  esp-open-rtos/include
  esp-open-rtos/FreeRTOS/Source/include
  esp-open-rtos/FreeRTOS/Source/portable/esp8266
@vlad-ivanov-name
vlad-ivanov-name / openhab-lirc-binding.md
Last active October 12, 2016 21:08
Openhab LIRC binding

Openhab LIRC binding

As for now, Openhab doesn't have a separate binding for LIRC. However, LIRC and Openhab can be connected together through TCP binding and some scripting.

Step 1: setup lircd

To make lircd accept connections, modify REMOTE_LIRCD_ARGS parameter in lirc/hadrware.conf as follows:

REMOTE_LIRCD_ARGS="--listen=127.0.0.1:8700"
@vlad-ivanov-name
vlad-ivanov-name / Kicad circular layout
Last active February 27, 2021 20:43
Kicad circular layout
"""
Usage: open pcbnew and select Tools — Scripting console
Enter the following and press enter:
execfile("path/to/script.py")
Script settings can be adjusted below
"""
import pcbnew
import sys