Skip to content

Instantly share code, notes, and snippets.

View wolfmanjm's full-sized avatar

Jim Morris wolfmanjm

View GitHub Profile
( Made using CamBam - http://www.cambam.co.uk )
( circle-diamond-square 6/11/2016 6:23:25 PM )
( T0 : 6.35 )
G21 G90 G40
G0 F1800
G0 Z3.0
( T0 : 6.35 )
T0 M6
( Pocket1 )
G17
# Allows all loopback (lo0) traffic and drop all traffic to 127/8 that doesn't use lo0
-A INPUT -i lo -j ACCEPT
-A INPUT ! -i lo -d 127.0.0.0/8 -j REJECT
# Accepts all established inbound connections
-A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
# Allows all outbound traffic
/****************************************************************************
* configs/bambino-200e/scripts/spificonfig.ld
*
* Copyright (C) 2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
* Alan Carvalho de Assis acassis@gmail.com [nuttx] <nuttx@yahoogroups.com>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
[switch]
fan.enable = false # Enable this module
fan.input_on_command = M106 # Command that will turn this switch on
fan.input_off_command = M107 # Command that will turn this switch off
fan.output_pin = 2.6 # Pin this module controls
fan.output_type = pwm # PWM output settable with S parameter in the input_on_comand
misc.enable = false # Enable this module
misc.input_on_command = M42 # Command that will turn this switch on
misc.input_off_command = M43 # Command that will turn this switch off
/* This is a simple version of setjmp and longjmp.
Nick Clifton, Cygnus Solutions, 13 June 1997. */
//#include "acle-compat.h"
/* ANSI concatenation macros. */
#define CONCAT(a, b) CONCAT2(a, b)
#define CONCAT2(a, b) a##b
[general]
second_usb_serial_enable = false # This enables a second USB serial port
kill_button_enable = true # Set to true to enable a kill button
kill_button_pin = 2.12 # Kill button pin. default is same as pause button 2.12 (2.11 is another good choice)
uart0.baud_rate = 115200 # Baud rate for the default hardware ( UART ) serial port
leds_disable = true # Disable using leds after config loaded
play_led_disable = true # Disable the play led
[motion control]
default_feed_rate = 4000 # Default speed (mm/minute) for G1/G2/G3 moves
/****************************************************************************
* configs/bambino-200e/scripts/spificonfig.ld
*
* Copyright (C) 2012 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
* Alan Carvalho de Assis acassis@gmail.com [nuttx] <nuttx@yahoogroups.com>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
../../lpcscrypt/scripts/boot_lpcscrypt
sleep 1
../../lpcscrypt/bin/lpcscrypt program -d /dev/ttyACM0 +c smoothiev2_Bambino/smoothiev2.bin SPIFI
sleep 1
../../lpcscrypt/bin/lpcscrypt -d /dev/ttyACM0 resetCore
<?xml version="1.0"?>
<!DOCTYPE target SYSTEM "gdb-target.dtd">
<target>
<feature name="org.gnu.gdb.arm.core">
<reg name="r0" bitsize="32" type="uint32"/>
<reg name="r1" bitsize="32" type="uint32"/>
<reg name="r2" bitsize="32" type="uint32"/>
<reg name="r3" bitsize="32" type="uint32"/>
<reg name="r4" bitsize="32" type="uint32"/>
<reg name="r5" bitsize="32" type="uint32"/>
from kivy.uix.floatlayout import FloatLayout
from kivy.uix.widget import Widget
from kivy.uix.label import Label
from kivy.properties import ListProperty, NumericProperty, ObjectProperty, BooleanProperty
from kivy.lang import Builder
from kivy.graphics import Color, Line, Translate, Rotate, PushMatrix, PopMatrix, Mesh, Scale, Rectangle
from kivy.graphics import InstructionGroup
from kivy.uix.slider import Slider
from kivy.vector import Vector