Skip to content

Instantly share code, notes, and snippets.

View esden's full-sized avatar

Piotr Esden-Tempski esden

View GitHub Profile

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 <piotr@esden.net>
*
* 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]
mandel.c:35: WARNING: externs should be avoided in .c files
mandel.c:36: WARNING: space prohibited between function name and open parenthesis '('
mandel.c:36: WARNING: externs should be avoided in .c files
mandel.c:38: WARNING: externs should be avoided in .c files
mandel.c:62: WARNING: Avoid CamelCase: <maxIter>
mandel.c:125: WARNING: Avoid CamelCase: <cX>
mandel.c:125: WARNING: Avoid CamelCase: <cY>
mandel.c:145: WARNING: Avoid CamelCase: <centerX>
mandel.c:145: WARNING: Avoid CamelCase: <centerY>
mandel.c:175: ERROR: do not use C99 // comments
@esden
esden / control_panel_raw_sensors.xml
Last active August 29, 2015 14:24
Paparazzi Raw Sensor session
<!-- put this into the session section of conf/control_panel.xml -->
<session name="Raw Sensors">
<program name="Data Link">
<arg flag="-d" constant="/dev/ttyACM1"/>
<arg flag="-s" constant="57600"/>
</program>
<program name="Server">
<arg flag="-n"/>
</program>
<program name="Messages"/>
Calibrating delay loop... 660M loops per second, 100 myus = 203 us. OK.
No coreboot table found.
Found chipset "NVIDIA MCP78S", enabling flash write... OK.
Probing for AMD Am29F002(N)BB, 256 KB: probe_jedec: id1 0xff, id2 0xff, id1 parity violation
Probing for AMD Am29F002(N)BT, 256 KB: probe_jedec: id1 0xff, id2 0xff, id1 parity violation
Probing for AMD Am29F016D, 2048 KB: probe_29f040b: id1 0x49, id2 0x4d
Probing for AMD Am29F040B, 512 KB: probe_29f040b: id1 0x1e, id2 0xae
Probing for AMD Am29F080B, 1024 KB: probe_jedec: id1 0x49, id2 0x4d
Probing for AMD Am29LV040B, 512 KB: probe_29f040b: id1 0x1e, id2 0xae
Probing for AMD Am29LV081B, 1024 KB: probe_29f040b: id1 0x49, id2 0x4d
const const uint16_t timeslot_table[] PROGMEM =
{
2, 8, 19, 34, 52, 75, 102, 134,
169, 208, 252, 299, 351, 406, 466, 530,
598, 669, 745, 825, 909, 998, 1090, 1186,
1286, 1390, 1499, 1611, 1728, 1848, 1972, 2101,
2233, 2370, 2511, 2655, 2804, 2956, 3113, 3274,
3438, 3607, 3780, 3957, 4137, 4322, 4511, 4704,
4900, 5101, 5306, 5515, 5728, 5944, 6165, 6390,
6619, 6852, 7089, 7329, 7574, 7823, 8076, 8333,
Acquisition with 2/8 probes at 0.200 Mhz starting at Wed Mar 17 20:24:59 2010
clk:00000000 00000000 00000000 11111111 11111111 11111000 00000000 00000000
data:00000000 00000000 00000000 11111111 11000000 00000000 00000000 00000000
clk:00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
data:00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
clk:00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
data:00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
clk:00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
data:00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
clk:00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
#!/bin/sh
#
# This scripts adds local version information from the version
# control systems git, mercurial (hg) and subversion (svn).
#
# Copied from Linux 2.6.32 scripts/setlocalversion and modified
# slightly to work better for OpenOCD.
#
usage() {