Skip to content

Instantly share code, notes, and snippets.

Rick Kimball RickKimball

View GitHub Profile
rmmh / gist:8515577
Created Jan 20, 2014
MSP430 Alphanumeric Instructions
View gist:8515577
a:61 z:7a A:41 Z:5a 0:30 9:39
MSP430 alphanumeric shellcode is hard. There's no way to write to memory,
no word-sized reg-reg operations, and all we have is add/sub/mov and a few conditional jumps.
ianmcmahon / gist:5737796
Created Jun 9, 2013
View gist:5737796
* Copyright (C) 2013 Ian McMahon <>
* Virtual cape enabling SPIDEV on SPI0 on connector pins P9.22 P9.21 P9.18 P9.17
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
hdznrrd / arm_cortex_m3_mutex.c
Created Nov 7, 2012
basic implementation of a no-block / no-wait mutex for ARM Cortex M3 and compatible models
View arm_cortex_m3_mutex.c
// this is a very basic mutex implementation
// its aim is to try to acquire access to a critical section or fail.
// there is no spinlock or event-waiting going on.
// in case it fails to acquire the lock, it simply returns false.
// relevant read:
// Synchronization primitives
You can’t perform that action at this time.