This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | |
<eagle version="9.6.1"> | |
<drawing> | |
<settings> | |
<setting alwaysvectorfont="no"/> | |
<setting verticaltext="up"/> | |
</settings> | |
<grid distance="0.1" unitdist="inch" unit="inch" style="lines" multiple="1" display="no" altdistance="0.01" altunitdist="inch" altunit="inch"/> | |
<layers> | |
<layer number="1" name="Top" color="4" fill="1" visible="yes" active="yes"/> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
# -*- coding: utf-8 -*- | |
from os.path import expanduser, sep, dirname, abspath | |
from argparse import ArgumentParser | |
import xml.etree.ElementTree as ET | |
import xlsxwriter | |
import requests | |
import time | |
import re |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
import requests | |
import os | |
import argparse | |
from subprocess import run, PIPE, STDOUT | |
parser = argparse.ArgumentParser() | |
parser.add_argument("version", type=str) | |
parser.add_argument("-p", "--patch", type=str, help="Extra patches to apply") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[fan] | |
pin: ar9 | |
hardware_pwm: True | |
cycle_time: 1.0 | |
kick_start_time: 1.0 | |
[heater_fan extruder_fan] | |
pin: ar44 | |
fan_speed: 1.0 | |
hardware_pwm: True |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
import usb.core | |
import usb.util | |
import struct | |
CLINK_USB_PID = 0x1b1c | |
CLINK_USB_VIP = 0x1c0c | |
CLINK_GET_PRODUCT = (0x03, 0x9a) + (0,)*(64 - 2) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
source /etc/profile | |
renice +10 $$ | |
JOBS=$(grep -c ^processor /proc/cpuinfo) | |
SKIP_ARRAY=(Win32) | |
RETCODE=0 | |
function test_skip { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
all: | |
gcc -g -std=c99 -o usbtiny_osx usbtiny_osx.m -framework Foundation -framework IOKit | |
clean: | |
rm -rf usbtiny_osx |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef _BOARD_GPIO_H_ | |
#define _BOARD_GPIO_H_ | |
{% for d, v in defines %} | |
#define {{ d }} {{ v }} | |
{%- endfor %} | |
{% for p, v in ports %} | |
/* PORT {{p}} */ | |
#define VAL_GPIO{{p}}_MODER ( \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# tnx to mamalala | |
# Changelog | |
# Changed the variables to include the header file directory | |
# Added global var for the XTENSA tool root | |
# | |
# Output directors to store intermediate compiled files | |
# relative to the project directory | |
BUILD_BASE = build | |
FW_BASE = firmware |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Author: Fabien Poussin | |
# Last edit: 20/11/2014 | |
# | |
# You will need the following mingw32/64 or equivalent linux packages to build it: | |
# msys gcc msys-coreutils msys-wget msys-autoconf msys-automake msys-mktemp | |
# | |
# Use mingw-get to install these. | |
# run this script from msys's or any unix console. |