Skip to content

Instantly share code, notes, and snippets.

$ make
arm-none-eabi-gcc -Wall -ffunction-sections -fno-builtin -mcpu=cortex-m3 -mthumb -g -Os -flto -Icmsis -Icmsis_boot -Istm_lib/inc -Iusb_hid -Iusb_hid/inc -Iirmp -DSTM32F103C8 -DSTM32F10X_MD -DUSE_STDPERIPH_DRIVER -c -o main.o main.c
arm-none-eabi-gcc -Wall -ffunction-sections -fno-builtin -mcpu=cortex-m3 -mthumb -g -Os -flto -Icmsis -Icmsis_boot -Istm_lib/inc -Iusb_hid -Iusb_hid/inc -Iirmp -DSTM32F103C8 -DSTM32F10X_MD -DUSE_STDPERIPH_DRIVER -c -o usb_hid/usb_hid.o usb_hid/usb_hid.c
arm-none-eabi-gcc -Wall -ffunction-sections -fno-builtin -mcpu=cortex-m3 -mthumb -g -Os -flto -Icmsis -Icmsis_boot -Istm_lib/inc -Iusb_hid -Iusb_hid/inc -Iirmp -DSTM32F103C8 -DSTM32F10X_MD -DUSE_STDPERIPH_DRIVER -c -o cmsis_boot/system_stm32f10x.o cmsis_boot/system_stm32f10x.c
arm-none-eabi-gcc -Wall -ffunction-sections -fno-builtin -mcpu=cortex-m3 -mthumb -g -Os -flto -Icmsis -Icmsis_boot -Istm_lib/inc -Iusb_hid -Iusb_hid/inc -Iirmp -DSTM32F103C8 -DSTM32F10X_MD -DUSE_STDPERIPH_DRIVER -c -o irmp/irsnd.o irmp/irsnd.c
i
@olebowle
olebowle / Makefile
Last active August 29, 2015 14:08
blinkLink
TARGET = blinkLink
# Build configuration
VPATH += cmsis_boot cmsis_boot/startup
CRT0 = system_stm32f10x.o startup_stm32f10x_md.o
VPATH += stm_lib/src
ST_OBJ = stm32f10x_gpio.o stm32f10x_rcc.o
# Source files configuration
@olebowle
olebowle / WEC1020.patch
Last active August 29, 2015 13:57
WEC1020
--- a/drivers/media/rc/winbond-cir.c 2012-12-11 04:30:57.000000000 +0100
+++ b/drivers/media/rc/winbond-cir.c 2013-02-18 12:53:12.656741282 +0100
@@ -951,7 +951,10 @@
if (!(pnp_port_len(device, 0) == EHFUNC_IOMEM_LEN &&
pnp_port_len(device, 1) == WAKEUP_IOMEM_LEN &&
pnp_port_len(device, 2) == SP_IOMEM_LEN)) {
- dev_err(dev, "Invalid resources\n");
+ dev_err(dev, "Invalid resources len0:%u/%u (%u) len1:%u/%u (%u) len2:%u/%u (%u)\n",
+ pnp_port_len(device, 0), EHFUNC_IOMEM_LEN, pnp_port_valid(device, 0),
+ pnp_port_len(device, 1), WAKEUP_IOMEM_LEN, pnp_port_valid(device, 1),
@olebowle
olebowle / PKGBUILD
Last active August 29, 2015 13:57
sm-ftl
pkgname=('sm-ftl')
pkgver=$(pacman -Q linux | cut -f2 -d' ' | cut -f1 -d'-')
pkgrel=1
_extramodules=extramodules-3.14-ARCH
url='http://www.kernel.org/'
pkgdesc="SmartMedia-xD new translation layer module"
arch=('i686' 'x86_64')
license=('GPL2')
depends=("linux=$pkgver")
makedepends=("linux-headers=$pkgver")
@olebowle
olebowle / PKGBUILD
Created June 4, 2013 20:57
PKGBUILD pidgin-gnome-shell-extension-git
pkgname=pidgin-gnome-shell-extension-git
pkgver=20130430
pkgrel=1
pkgdesc="A GNOME Shell extension that provides integration with Pidgin."
arch=('any')
url="https://github.com/Psykar/gnome-shell-extensions-pidgin"
license=('unknown')
depends=('gnome-shell' 'pidgin')
makedepends=('git')
source=('git://github.com/Psykar/gnome-shell-extensions-pidgin.git')
$ lsmod
Module Size Used by
uinput 8308 0
rc_dvbsky 1127 0
m88ds3103 20615 2
snd_hda_codec_hdmi 27857 4
kvm_intel 123597 0
kvm 388889 1 kvm_intel
cx25840 49221 1
gpio_ich 4544 0