Skip to content

Instantly share code, notes, and snippets.

Bitbake Cheatsheet

Verbose as possible

bitbake -vDDD your-recipe

List recipes

bitbake -s
@bbenno
bbenno / Makefile
Created August 26, 2020 13:01
Makefile for IAR Embedded Workbench Projects using `iarbuild`
PROJ_NAME=<...>
PROJ_FILE=$(PROJ_NAME).ewp
IAR_FLAGS = -log info
IAR_FLAGS += -parallel 4
CONFIG=*
# Brings the current build configuration up to date by compiling, assembling,
# and linking only the files that have changed since the last build.

Bitbake Cheatsheet

Verbose as possible

bitbake -vDDD your-recipe

List recipes

bitbake -s
@fogleman
fogleman / main.py
Last active September 11, 2024 07:27
Collision Avoidance
from collections import deque
from math import sin, cos, pi, atan2, hypot
import random
import time
import wx
SIZE = 600
COUNT = 64
SPEED = 100
FOLLOWERS = 4
@adnbr
adnbr / max7219-basic.c
Last active November 23, 2023 23:09
Simple AVR code for using a MAX7219 7-segment display driver
/* MAX7219 Interaction Code
* ---------------------------
* For more information see
* http://www.adnbr.co.uk/articles/max7219-and-7-segment-displays
*
* 668 bytes - ATmega168 - 16MHz
*/
// 16MHz clock
#define F_CPU 16000000UL