Skip to content

Instantly share code, notes, and snippets.

View esden's full-sized avatar

Piotr Esden-Tempski esden

View GitHub Profile
@esden
esden / gist:1698024
Created January 29, 2012 09:31
bootprog.py output
python2.7 bootprog.py -d /dev/cu.usbserial-FJ000036B ~/projects/libopencm3/libopencm3-git/examples/stm32/f1/stm32-h103/fancyblink/fancyblink.bin
STM32 SystemMemory Production Programmer -- version 1.1
Copyright (C) 2011 Black Sphere Technologies
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
Target bootloader version: 2.4
Removing device protection...
Traceback (most recent call last):
File "bootprog.py", line 169, in <module>
@esden
esden / yapa3_aspirin.xml
Created June 4, 2012 02:14
Working airframe file using tiny_2.11 and aspirin imu
<!DOCTYPE airframe SYSTEM "../airframe.dtd">
<!--
YAPA + XSens + XBee
-->
<airframe name="Yapa v1">
<servos>
<servo name="THROTTLE" no="9" min="1000" neutral="1000" max="2000"/>
@esden
esden / gist:4658539
Created January 28, 2013 20:02
dot gdbinit file for my bmp setup on mac os x
set target-async on
set confirm off
set mem inaccessible-by-default off
#set debug remote 1
#tar ext /dev/cu.usbmodem7FC084D1
tar ext /dev/cu.usbmodemDDE091B1
mon version
mon swdp_scan
#mon jtag_scan
att 1
Assuming the configuration
1 2
\ /
/ \
4 3
1 CW
2 CCW
3 CW
4 CCW

Keybase proof

I hereby claim:

  • I am esden on github.
  • I am esden (https://keybase.io/esden) on keybase.
  • I have a public key whose fingerprint is DB53 5E77 3A10 62E9 C5C3 65FF 7156 09FC 06B9 3138

To claim this, I am signing this object:

@esden
esden / gist:8083ed08e81645db473f
Created July 16, 2014 03:30
Building LadyLisa nps simulator
1 esdentem@lain ~/projects/paparazzi/paparazzi-git (git)-[master] % make AIRCRAFT=LadyLisa clean_ac nps.compile
LadyLisa
rm -fr /Users/esdentem/projects/paparazzi/paparazzi-git/var/aircrafts/LadyLisa
-----------------------------------------------------------------------
Paparazzi version v5.1.1_testing-19-g0f43ff6-dirty
-----------------------------------------------------------------------
LadyLisa
BUILD LadyLisa, TARGET nps
GENERATE /Users/esdentem/projects/paparazzi/paparazzi-git/var/aircrafts/LadyLisa/nps/generated/airframe.h
##################################################
@esden
esden / hlf4_flash.c
Created November 25, 2014 23:55
STM32F4 highlevel flash functions
/*
* Copyright (C) 2014 Piotr Esden-Tempski <[email protected]>
*
* This file is part of Paparazzi.
*
* Paparazzi is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
@esden
esden / ladylisa.ini
Created December 11, 2014 20:10
Deviation TX configuration for LadyLisa nano quadcopter.
name=LadyLisa1
mixermode=Advanced
type=plane
[radio]
protocol=DSM2
num_channels=7
fixed_id=123456
tx_power=10mW
[protocol_opts]
/*
* This file is part of the libopencm3 project.
*
* Copyright (C) 2015 Piotr Esden-Tempski <[email protected]>
*
* This library is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*