rm
authorBernhard Tittelbach <xro@realraum.at>
Tue, 24 Feb 2015 02:03:41 +0000 (02:03 +0000)
committerBernhard Tittelbach <xro@realraum.at>
Tue, 24 Feb 2015 02:03:41 +0000 (02:03 +0000)
reprap_mendel_prusa/arduino_sanguino/boards.txt [deleted file]
reprap_mendel_prusa/notes.txt [deleted file]
reprap_mendel_prusa/optiboot_atmega644p.hex [deleted file]
reprap_mendel_prusa/r3_reprap_slic3r_config.ini [deleted file]
reprap_mendel_prusa/teacup_firmware/config.h [deleted file]
reprap_mendel_prusa/teacup_firmware/extruder/config.h [deleted file]

diff --git a/reprap_mendel_prusa/arduino_sanguino/boards.txt b/reprap_mendel_prusa/arduino_sanguino/boards.txt
deleted file mode 100644 (file)
index fa3a975..0000000
+++ /dev/null
@@ -1,65 +0,0 @@
-############################################################
-
-atmega644.name=Sanguino W/ ATmega644P
-
-atmega644.upload.protocol=arduino
-##atmega644.upload.protocol=stk500
-atmega644.upload.maximum_size=63488
-atmega644.upload.speed=115200
-##atmega644.upload.speed=57600
-
-atmega644.bootloader.low_fuses=0xFF
-atmega644.bootloader.high_fuses=0x9A
-atmega644.bootloader.extended_fuses=0xFF
-atmega644.bootloader.path=atmega
-atmega644.bootloader.file=ATmegaBOOT_168_atmega644p.hex
-#atmega644.bootloader.file=ATmegaBOOT_644P.hex
-atmega644.bootloader.unlock_bits=0x3F
-atmega644.bootloader.lock_bits=0x0F
-
-atmega644.build.mcu=atmega644p
-atmega644.build.f_cpu=16000000L
-atmega644.build.core=arduino
-atmega644.build.variant=standard
-##############################################################
-
-atmega12848m.name=Sanguino W/ ATmega1284p 8mhz
-
-atmega12848m.upload.protocol=stk500
-atmega12848m.upload.maximum_size=131072
-atmega12848m.upload.speed=19200
-
-atmega12848m.bootloader.low_fuses=0xFD
-atmega12848m.bootloader.high_fuses=0x9A
-atmega12848m.bootloader.extended_fuses=0xFF
-atmega12848m.bootloader.path=atmega
-atmega12848m.bootloader.file=ATmegaBOOT_168_atmega1284p_8m.hex
-atmega12848m.bootloader.unlock_bits=0x3F
-atmega12848m.bootloader.lock_bits=0x0F
-
-atmega12848m.build.mcu=atmega1284p
-atmega12848m.build.f_cpu=8000000L
-atmega12848m.build.core=arduino
-atmega12848m.build.variant=standard
-
-##############################################################
-
-atmega1284.name=Sanguino W/ ATmega1284p 16mhz
-
-atmega1284.upload.protocol=stk500
-atmega1284.upload.maximum_size=131072
-atmega1284.upload.speed=57600
-
-atmega1284.bootloader.low_fuses=0xFF
-atmega1284.bootloader.high_fuses=0x9A
-atmega1284.bootloader.extended_fuses=0xFF
-atmega1284.bootloader.path=atmega
-atmega1284.bootloader.file=ATmegaBOOT_168_atmega1284p.hex
-atmega1284.bootloader.unlock_bits=0x3F
-atmega1284.bootloader.lock_bits=0x0F
-
-atmega1284.build.mcu=atmega1284p
-atmega1284.build.f_cpu=16000000L
-atmega1284.build.core=arduino
-atmega1284.build.variant=standard
-#
diff --git a/reprap_mendel_prusa/notes.txt b/reprap_mendel_prusa/notes.txt
deleted file mode 100644 (file)
index 12b3377..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-r3 reprap Firmware:
-  https://github.com/btittelbach/Teacup_Firmware
-
-Slic3r Gcode Generator:
-  http://slic3r.org/
-
-PrintRun Frontend
-  https://github.com/kliment/Printrun
-
diff --git a/reprap_mendel_prusa/optiboot_atmega644p.hex b/reprap_mendel_prusa/optiboot_atmega644p.hex
deleted file mode 100644 (file)
index b60ca43..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-:10FC00000F92CDB7DEB7112484B714BE81FFF0D0B8\r
-:10FC100085E08093810082E08093C00088E180933A\r
-:10FC2000C10086E08093C20080E18093C4008EE032\r
-:10FC3000C9D0209A26E080E39CEF31E090938500C4\r
-:10FC40008093840036BBB09BFECF189AA8952150B4\r
-:10FC5000A9F788249924CC24C394F5E0DF2EE1E1B0\r
-:10FC6000EE2E73E0F72EA2D0813479F49FD08983F1\r
-:10FC7000AFD08981823811F485E005C0813811F454\r
-:10FC800084E001C083E08BD087C0823411F484E12A\r
-:10FC900003C0853419F485E0A3D07EC0853561F4B6\r
-:10FCA00085D0082F10E082D090E0982E8824802AFA\r
-:10FCB000912A880C991C6FC0863521F484E090D07D\r
-:10FCC00080E0E1CF843609F040C070D06FD0B82E0C\r
-:10FCD0006DD080E0881680EE980618F4F401F7BE27\r
-:10FCE000E89500E011E062D0F80181938F01BE1623\r
-:10FCF000D1F7F0E08F16F0EE9F0618F0F401F7BE92\r
-:10FD0000E89566D007B600FCFDCFF401A0E0B1E0B5\r
-:10FD10002C9130E011968C91119790E0982F8827C4\r
-:10FD2000822B932B12960C01C7BEE89511243296B4\r
-:10FD300082E0A030B80761F7F401D7BEE89507B6B6\r
-:10FD400000FCFDCFE7BEE89527C08437B9F42ED07C\r
-:10FD50002DD0A82E2BD03CD0BA2CF40101C0F80134\r
-:10FD60008F010F5F1F4F84911AD0BA94C1F7089486\r
-:10FD7000811C911CAA948A0C911C0EC0853739F401\r
-:10FD800027D08EE10CD086E90AD08AE07CCF81357D\r
-:10FD900011F488E017D01CD080E101D064CF90919D\r
-:10FDA000C00095FFFCCF8093C60008958091C000ED\r
-:10FDB00087FFFCCF8091C00084FD01C0A895809191\r
-:10FDC000C6000895E0E6F0E098E19083808308950E\r
-:10FDD000EDDF803219F088E0F5DFFFCF84E1DFCF7F\r
-:10FDE0001F93182FE3DF1150E9F7F2DF1F910895F9\r
-:0AFDF00080E0E8DFEE27FF2709940A\r
-:02FFFE000504F8\r
-:040000030000FC00FD\r
-:00000001FF\r
diff --git a/reprap_mendel_prusa/r3_reprap_slic3r_config.ini b/reprap_mendel_prusa/r3_reprap_slic3r_config.ini
deleted file mode 100644 (file)
index b5afc9b..0000000
+++ /dev/null
@@ -1,114 +0,0 @@
-# generated by Slic3r 0.9.10b on Mon Aug  5 03:02:23 2013
-avoid_crossing_perimeters = 0
-bed_size = 185,185
-bed_temperature = 0
-bottom_solid_layers = 3
-bridge_acceleration = 0
-bridge_fan_speed = 100
-bridge_flow_ratio = 1
-bridge_speed = 60
-brim_width = 0
-complete_objects = 1
-cooling = 1
-default_acceleration = 0
-disable_fan_first_layers = 2
-duplicate = 1
-duplicate_distance = 6
-duplicate_grid = 1,1
-end_gcode = M104 S0 ; turn off temperature\nG28 X0  ; home X axis\nM84     ; disable motors\nM2 ; print finished
-external_perimeter_speed = 70%
-external_perimeters_first = 0
-extra_perimeters = 1
-extruder_clearance_height = 20
-extruder_clearance_radius = 20
-extruder_offset = 0x0
-extrusion_axis = E
-extrusion_multiplier = 1.04
-extrusion_width = 0
-fan_always_on = 0
-fan_below_layer_time = 60
-filament_diameter = 3
-fill_angle = 45
-fill_density = 0.45
-fill_pattern = honeycomb
-first_layer_bed_temperature = 50
-first_layer_extrusion_width = 200%
-first_layer_height = 120%
-first_layer_speed = 30%
-first_layer_temperature = 190
-g0 = 0
-gap_fill_speed = 20
-gcode_arcs = 0
-gcode_comments = 0
-gcode_flavor = teacup
-infill_acceleration = 0
-infill_every_layers = 1
-infill_extruder = 1
-infill_extrusion_width = 0
-infill_first = 0
-infill_only_where_needed = 0
-infill_speed = 60
-layer_gcode = 
-layer_height = 0.38
-max_fan_speed = 100
-min_fan_speed = 35
-min_print_speed = 10
-min_skirt_length = 0
-notes = 
-nozzle_diameter = 0.5
-only_retract_when_crossing_perimeters = 1
-output_filename_format = [input_filename_base].gcode
-perimeter_acceleration = 0
-perimeter_extruder = 1
-perimeter_extrusion_width = 0
-perimeter_speed = 30
-perimeters = 3
-post_process = 
-print_center = 75,95
-raft_layers = 0
-randomize_start = 0
-resolution = 0
-retract_before_travel = 2
-retract_layer_change = 1
-retract_length = 0
-retract_length_toolchange = 10
-retract_lift = 0
-retract_restart_extra = 1
-retract_restart_extra_toolchange = 0
-retract_speed = 30
-rotate = 0
-scale = 1
-skirt_distance = 6
-skirt_height = 1
-skirts = 3
-slowdown_below_layer_time = 30
-small_perimeter_speed = 30
-solid_fill_pattern = rectilinear
-solid_infill_below_area = 70
-solid_infill_every_layers = 0
-solid_infill_extrusion_width = 0
-solid_infill_speed = 60
-spiral_vase = 0
-start_gcode = G28 ; home all axes\nG1 Z5 F5000 ; lift nozzle
-support_material = 0
-support_material_angle = 0
-support_material_enforce_layers = 0
-support_material_extruder = 1
-support_material_extrusion_width = 0
-support_material_interface_layers = 0
-support_material_interface_spacing = 0
-support_material_pattern = rectilinear
-support_material_spacing = 2.5
-support_material_speed = 60
-support_material_threshold = 0
-temperature = 0
-threads = 2
-toolchange_gcode = 
-top_infill_extrusion_width = 0
-top_solid_infill_speed = 50
-top_solid_layers = 3
-travel_speed = 130
-use_relative_e_distances = 0
-vibration_limit = 40
-wipe = 0
-z_offset = 0
diff --git a/reprap_mendel_prusa/teacup_firmware/config.h b/reprap_mendel_prusa/teacup_firmware/config.h
deleted file mode 100644 (file)
index e829616..0000000
+++ /dev/null
@@ -1,568 +0,0 @@
-/* Notice to developers: this file is intentionally included twice. */
-
-/** \file
-    \brief Gen3 Electronics Sample Configuration
-*/
-
-/*
-    CONTENTS
-
-    1. Mechanical/Hardware
-    2. Acceleration settings
-    3. Pinouts
-    4. Temperature sensors
-    5. Heaters
-    6. Communication options
-    7. Miscellaneous
-    8. Appendix A - PWMable pins and mappings
-*/
-
-/***************************************************************************\
-*                                                                           *
-* 1. MECHANICAL/HARDWARE                                                    *
-*                                                                           *
-\***************************************************************************/
-
-/*
-    Set your microcontroller type in Makefile! atmega168/atmega328p/atmega644p/atmega1280
-
-    If you want to port this to a new chip, start off with arduino.h and see how you go.
-*/
-#if ! ( defined (__AVR_ATmega644P__) || defined (__AVR_ATmega644PA__) )
-    #error GEN3 has a 644P/644PA! set your cpu type in Makefile!
-#endif
-
-/** \def F_CPU
-    CPU clock rate
-*/
-#ifndef F_CPU
-    #define F_CPU   16000000UL
-#endif
-
-/** \def MOTHERBOARD
-    This is the motherboard, as opposed to the extruder. See extruder/ directory for GEN3 extruder firmware
-*/
-#define MOTHERBOARD
-
-
-/** \def STEPS_PER_M
-    steps per meter ( = steps per mm * 1000 )
-
-    calculate these values appropriate for your machine
-
-    for threaded rods, this is
-        (steps motor per turn) / (pitch of the thread) * 1000
-
-    for belts, this is
-        (steps per motor turn) / (number of gear teeth) / (belt module) * 1000
-
-    half-stepping doubles the number, quarter stepping requires * 4, etc.
-
-    valid range = 20 to 4'0960'000 (0.02 to 40960 steps/mm)
-
-    all numbers are integers, so no decimal point, please :-)
-*/
-//#define   STEPS_PER_M_X                   10047
-//#define   STEPS_PER_M_X                   8000
-//rechnerisch 8000, experimentell auf der X-Achse 8963.59
-//rechnerisch 8000, experimentell auf der X-Achse 8075.67
-#define STEPS_PER_M_X                   8000
-// 200 steps / 20 gearteeth / 2.5mm (abtsand zahnriemen-zähne)
-//#define   STEPS_PER_M_Y                   10047
-#define   STEPS_PER_M_Y                   8000
-//rechnerisch 8000, experimentell auf der Y-Achse 8164.0
-//#define STEPS_PER_M_Y                   8110
-//160000 für single step mit M8 Muttern, 320000 für half-step mit M8 Muttern
-//200 steps / 1.25 * 1000 * 2
-#define STEPS_PER_M_Z                   320000
-
-/// http://blog.arcol.hu/?p=157 may help with this one
-//#define   STEPS_PER_M_E                   35200
-// Extruder gear ratio Gr = 14.0 / 43.0
-// Extruder nozzle diameter = 0.5mm (bzw 0.35mm mit unserer anderen Düse)
-// Filament Width = 3mm
-
-
-// d_schraube ~= 0.007m
-// u_schraube = d_schraube * pi ~= 0.022m
-// motor_steps for 1 circumfence = 200
-// Extruder gear ratio Gr = 14.0 / 43.0
-// STEPS_PER_M_E = 1m / (Gr * u_schraube) * motor_steps ¨~= 27933
-//#define   STEPS_PER_M_E       27933
-//experimentell (ohne Düse): 99455 previousvalue *(200.0mm software/194.0mm echt) = 102530.93
-#define STEPS_PER_M_E   102531
-
-
-/*
-    Values depending on the capabilities of your stepper motors and other mechanics.
-        All numbers are integers, no decimals allowed.
-
-        Units are mm/min
-*/
-
-/// used for G0 rapid moves and as a cap for all other feedrates
-#define MAXIMUM_FEEDRATE_X      5000
-#define MAXIMUM_FEEDRATE_Y      5000
-#define MAXIMUM_FEEDRATE_Z      100
-#define MAXIMUM_FEEDRATE_E      200
-
-/// used when searching endstops and as default feedrate
-#define SEARCH_FEEDRATE_X           50
-#define SEARCH_FEEDRATE_Y           50
-#define SEARCH_FEEDRATE_Z           50
-// no SEARCH_FEEDRATE_E, as E can't be searched
-
-/** \def SLOW_HOMING
-    wether to search the home point slowly
-        With some endstop configurations, like when probing for the surface of a PCB, you can't deal with overrunning the endstop. In such a case, uncomment this definition.
-*/
-// #define  SLOW_HOMING
-
-/// this is how many steps to suck back the filament by when we stop. set to zero to disable
-#define E_STARTSTOP_STEPS           20
-
-/**
-    Soft axis limits, in mm.
-    Define them to your machine's size relative to what your host considers to be the origin.
-*/
-
-#define X_MIN           0.0
-// eigentlich 184mm, aber wir lassen uns ein bisschen Sicherheitsabstand
-//#define   X_MAX           184.0
-#define X_MAX           177.0
-
-#define Y_MIN           0.0
-#define Y_MAX           195.0
-
-#define Z_MIN           0.0
-#define Z_MAX           125.0
-
-/** \def E_ABSOLUTE
-    Some G-Code creators produce relative length commands for the extruder, others absolute ones. G-Code using absolute lengths can be recognized when there are G92 E0 commands from time to time. If you have G92 E0 in your G-Code, define this flag.
-
-    This is the startup default and can be changed with M82/M83 while running.
-*/
-#define E_ABSOLUTE
-
-
-
-/***************************************************************************\
-*                                                                           *
-* 2. ACCELERATION                                                           *
-*                                                                           *
-* IMPORTANT: choose only one! These algorithms choose when to step, trying  *
-*            to use more than one will have undefined and probably          *
-*            disastrous results!                                            *
-*                                                                           *
-\***************************************************************************/
-
-/** \def ACCELERATION_REPRAP
-    acceleration, reprap style.
-        Each movement starts at the speed of the previous command and accelerates or decelerates linearly to reach target speed at the end of the movement.
-*/
-// #define ACCELERATION_REPRAP
-
-
-/** \def ACCELERATION_RAMPING
-    acceleration and deceleration ramping.
-        Each movement starts at (almost) no speed, linearly accelerates to target speed and decelerates just in time to smoothly stop at the target. alternative to ACCELERATION_REPRAP
-*/
-#define ACCELERATION_RAMPING
-
-/** \def ACCELERATION
-    how fast to accelerate when using ACCELERATION_RAMPING.
-        given in mm/s^2, decimal allowed, useful range 1. to 10'000. Start with 10. for milling (high precision) or 1000. for printing
-*/
-#define ACCELERATION 1000.
-
-/** \def ACCELERATION_TEMPORAL
-    temporal step algorithm
-        This algorithm causes the timer to fire when any axis needs to step, instead of synchronising to the axis with the most steps ala bresenham.
-
-        This algorithm is not a type of acceleration, and I haven't worked out how to integrate acceleration with it.
-        However it does control step timing, so acceleration algorithms seemed appropriate
-
-        The Bresenham algorithm is great for drawing lines, but not so good for steppers - In the case where X steps 3 times to Y's two, Y experiences massive jitter as it steps in sync with X every 2 out of 3 X steps. This is a worst-case, but the problem exists for most non-45/90 degree moves. At higher speeds, the jitter /will/ cause position loss and unnecessary vibration.
-        This algorithm instead calculates when a step occurs on any axis, and sets the timer to that value.
-
-        \todo figure out how to add acceleration to this algorithm
-*/
-// #define ACCELERATION_TEMPORAL
-
-
-
-/***************************************************************************\
-*                                                                           *
-* 3. PINOUTS                                                                *
-*                                                                           *
-\***************************************************************************/
-
-/**
-    Machine Pin Definitions
-    - make sure to avoid duplicate usage of a pin
-    - comment out pins not in use, as this drops the corresponding code and makes operations faster
-*/
-
-#include    "arduino.h"
-
-/** \def USE_INTERNAL_PULLUPS
-    internal pullup resistors
-        the ATmega has internal pullup resistors on it's input pins which are counterproductive with the commonly used eletronic endstops, so they should be switched off. For other endstops, like mechanical ones, you may want to uncomment this.
-*/
-//#define USE_INTERNAL_PULLUPS
-
-/**
-    this is the official gen3 reprap motherboard pinout
-*/
-#define TX_ENABLE_PIN                   DIO12
-#define RX_ENABLE_PIN                   DIO13
-
-#define X_STEP_PIN                      DIO15
-#define X_DIR_PIN                           DIO18
-//~ #define X_MIN_PIN                           DIO20
-#define X_MAX_PIN                           DIO21
-#define X_ENABLE_PIN                    DIO19
-//#define   X_INVERT_DIR
-//~ #define X_INVERT_MIN
-//~ #define X_INVERT_MAX
-#define X_INVERT_ENABLE
-
-#define Y_STEP_PIN                      DIO23
-#define Y_DIR_PIN                           DIO22
-#define Y_MIN_PIN                           AIO6
-//~ #define Y_MAX_PIN                           AIO5
-#define Y_ENABLE_PIN                    AIO7
-//#define   Y_INVERT_DIR
-//~ #define Y_INVERT_MIN
-//~ #define Y_INVERT_MAX
-#define Y_INVERT_ENABLE
-
-#define Z_STEP_PIN                      AIO4
-#define Z_DIR_PIN                           AIO3
-#define Z_MIN_PIN                           AIO1
-//~ #define Z_MAX_PIN                           AIO0
-#define Z_ENABLE_PIN                    AIO2
-//#define   Z_INVERT_DIR
-//~ #define Z_INVERT_MIN
-//~ #define Z_INVERT_MAX
-#define Z_INVERT_ENABLE
-
-#define E_STEP_PIN                      DIO17
-#define E_DIR_PIN                           DIO16
-//#define E_ENABLE_PIN                  xxxx
-//#define   E_INVERT_DIR
-//#define   E_INVERT_ENABLE
-
-#define SD_CARD_DETECT              DIO2
-#define SD_WRITE_PROTECT            DIO3
-
-//#define   PS_ON_PIN                           DIO14
-#define PS_ON_PIN                           PB5 // on TechZoneComm Motherboard, SPI Port: MOSI
-//#define   STEPPER_ENABLE_PIN      xxxx
-//#define   STEPPER_INVERT_ENABLE
-
-
-
-/***************************************************************************\
-*                                                                           *
-* 4. TEMPERATURE SENSORS                                                    *
-*                                                                           *
-\***************************************************************************/
-
-/**
-    TEMP_HYSTERESIS: actual temperature must be target +/- hysteresis before target temperature can be achieved.
-    Unit is degree Celsius.
-*/
-#define TEMP_HYSTERESIS             5
-
-/**
-    TEMP_RESIDENCY_TIME: actual temperature must be close to target (within
-    set temperature +- TEMP_HYSTERESIS) for this long before target is achieved
-    (and a M116 succeeds). Unit is seconds.
-*/
-#define TEMP_RESIDENCY_TIME     30
-
-/**
-  TEMP_EWMA: Smooth noisy temperature sensors. Good hardware shouldn't be
-  noisy. Set to 1.0 for unfiltered data (and a 140 bytes smaller binary).
-
-  Instrument Engineer's Handbook, 4th ed, Vol 2 p126 says values of
-  0.05 to 0.1 are typical. Smaller is smoother but slower adjusting, larger is
-  quicker but rougher. If you need to use this, set the PID parameter to zero
-  (M132 S0) to make the PID loop insensitive to noise.
-
-  Valid range: 0.001 to 1.0
-*/
-#define TEMP_EWMA             0.1
-
-/// which temperature sensors are you using? List every type of sensor you use here once, to enable the appropriate code. Intercom is the gen3-style separate extruder board.
-// #define  TEMP_MAX6675
-// #define  TEMP_THERMISTOR
-// #define  TEMP_AD595
-// #define  TEMP_PT100
-#define TEMP_INTERCOM
-
-/***************************************************************************\
-*                                                                           *
-* Define your temperature sensors here. One line for each sensor, only      *
-* limited by the number of available ATmega pins.                           *
-*                                                                           *
-* Types are same as TEMP_ list above - TT_MAX6675, TT_THERMISTOR, TT_AD595, *
-*   TT_PT100, TT_INTERCOM. See list in temp.c.                              *
-*                                                                           *
-* The "additional" field is used for TT_THERMISTOR only. It defines the     *
-* name of the table(s) in ThermistorTable.h to use. Typically, this is      *
-* THERMISTOR_EXTRUDER for the first or only table, or THERMISTOR_BED for    *
-* the second table. See also early in ThermistorTable.{single|double}.h.    *
-*                                                                           *
-* For a GEN3 set temp_type to TT_INTERCOM and temp_pin to AIO0. The pin     *
-* won't be used in this case.                                               *
-*                                                                           *
-\***************************************************************************/
-
-#ifndef DEFINE_TEMP_SENSOR
-    #define DEFINE_TEMP_SENSOR(...)
-#endif
-
-//                 name       type            pin        additional
-DEFINE_TEMP_SENSOR(noheater,  TT_INTERCOM,    AIO0,      0)
-DEFINE_TEMP_SENSOR(bed,       TT_INTERCOM,    AIO1,      0)
-
-// bed has no heater attached
-#define HEATER_bed HEATER_noheater
-
-
-/***************************************************************************\
-*                                                                           *
-* 5. HEATERS                                                                *
-*                                                                           *
-\***************************************************************************/
-
-/** \def HEATER_SANITY_CHECK
-    check if heater responds to changes in target temperature, disable and spit errors if not
-    largely untested, please comment in forum if this works, or doesn't work for you!
-*/
-// #define  HEATER_SANITY_CHECK
-
-/***************************************************************************\
-*                                                                           *
-* Define your heaters and devices here.                                     *
-*                                                                           *
-* To attach a heater to a temp sensor above, simply use exactly the same    *
-* name - copy+paste is your friend. Some common names are 'extruder',       *
-* 'bed', 'fan', 'motor', ... names with special meaning can be found        *
-* in gcode_process.c. Currently, these are:                                 *
-*   HEATER_extruder   (M104)                                                *
-*   HEATER_bed        (M140)                                                *
-*   HEATER_fan        (M106)                                                *
-*                                                                           *
-* Devices don't neccessarily have a temperature sensor, e.g. fans or        *
-* milling spindles. Operate such devices by setting their power (M106),     *
-* instead of setting their temperature (M104).                              *
-*                                                                           *
-* Also note, the index of a heater (M106 P#) can differ from the index of   *
-* its attached temperature sensor (M104 P#) in case sensor-less devices     *
-* are defined or the order of the definitions differs. The first defined    *
-* device has the index 0 (zero).                                            *
-*                                                                           *
-* Set 'pwm' to ...                                                          *
-*  1  for using PWM on a PWM-able pin and on/off on other pins.             *
-*  0  for using on/off on a PWM-able pin, too.                              *
-* Using PWM usually gives smoother temperature control but can conflict     *
-* with slow switches, like solid state relays. PWM frequency can be         *
-* influenced globally with FAST_PWM, see below.                             *
-*                                                                           *
-\***************************************************************************/
-
-#ifndef DEFINE_HEATER
-    #define DEFINE_HEATER(...)
-#endif
-
-//            name      port   pwm
-// DEFINE_HEATER(extruder, PINB3, 1)
-// DEFINE_HEATER(bed,      PINB4, 1)
-
-/** \def HEATER_EXTRUDER
-    \def HEATER_BED
-    \def HEATER_FAN
-    and now because the c preprocessor isn't as smart as it could be,
-    uncomment the ones you've listed above and comment the rest.
-    \NOTE these are used to enable various capability-specific chunks of code, you do NOT need to create new entries unless you are adding new capabilities elsewhere in the code!
-    so if you list a bed above, uncomment HEATER_BED, but if you list a chamber you do NOT need to create HEATED_CHAMBER
-    I have searched high and low for a way to make the preprocessor do this for us, but so far I have not found a way.
-*/
-
-// workaround for heated bed over intercom. HEATER_EXTRUDER, HEATER_BED are the intercom temp channel numbers.
-#define HEATER_EXTRUDER 0
-#define HEATER_BED 1
-#define HEATER_FAN 2
-
-
-
-/***************************************************************************\
-*                                                                           *
-* 6. COMMUNICATION OPTIONS                                                  *
-*                                                                           *
-\***************************************************************************/
-
-/** \def BAUD
-  Baud rate for the serial RS232 protocol connection to the host. Usually
-  115200, other common values are 19200, 38400 or 57600. Ignored when USB_SERIAL
-  is defined.
-*/
-#define BAUD 115200
-
-/** \def USB_SERIAL
-  Define this for using USB instead of the serial RS232 protocol. Works on
-  USB-equipped ATmegas, like the ATmega32U4, only.
-*/
-// #define USB_SERIAL
-
-/** \def XONXOFF
-    Xon/Xoff flow control.
-        Redundant when using RepRap Host for sending GCode, but mandatory when sending GCode files with a plain terminal emulator, like GtkTerm (Linux), CoolTerm (Mac) or HyperTerminal (Windows).
-        Can also be set in Makefile
-*/
-// #define  XONXOFF
-
-
-
-/***************************************************************************\
-*                                                                           *
-* 7. MISCELLANEOUS OPTIONS                                                  *
-*                                                                           *
-\***************************************************************************/
-
-/** \def EECONFIG
-  EECONFIG: Enable EEPROM configuration storage.
-
-  Enabled by default. Commenting this out makes the binary several hundred
-  bytes smaller, so you might want to disable EEPROM storage on small MCUs,
-  like the ATmega168.
-*/
-#define EECONFIG
-
-/** \def DEBUG
-    DEBUG
-        enables /heaps/ of extra output, and some extra M-codes.
-        WARNING: this WILL break most host-side talkers that expect particular responses from firmware such as reprap host and replicatorG
-        use with serial terminal or other suitable talker only.
-*/
-// #define  DEBUG
-
-/** \def BANG_BANG
-    BANG_BANG
-        drops PID loop from heater control, reduces code size significantly (1300 bytes!)
-        may allow DEBUG on '168
-*//** \def BANG_BANG_ON
-    BANG_BANG_ON
-        PWM value for 'on'
-*//** \def BANG_BANG_OFF
-    BANG_BANG_OFF
-        PWM value for 'off'
-*/
-// #define  BANG_BANG
-// #define  BANG_BANG_ON    200
-// #define  BANG_BANG_OFF   45
-
-/**
-    move buffer size, in number of moves
-        note that each move takes a fair chunk of ram (69 bytes as of this writing) so don't make the buffer too big - a bigger serial readbuffer may help more than increasing this unless your gcodes are more than 70 characters long on average.
-        however, a larger movebuffer will probably help with lots of short consecutive moves, as each move takes a bunch of math (hence time) to set up so a longer buffer allows more of the math to be done during preceding longer moves
-*/
-#define MOVEBUFFER_SIZE 8
-
-/** \def DC_EXTRUDER
-    DC extruder
-        If you have a DC motor extruder, configure it as a "heater" above and define this value as the index or name. You probably also want to comment out E_STEP_PIN and E_DIR_PIN in the Pinouts section above.
-*/
-// #define  DC_EXTRUDER HEATER_motor
-// #define  DC_EXTRUDER_PWM 180
-
-/** \def USE_WATCHDOG
-    Teacup implements a watchdog, which has to be reset every 250ms or it will reboot the controller. As rebooting (and letting the GCode sending application trying to continue the build with a then different Home point) is probably even worse than just hanging, and there is no better restore code in place, this is disabled for now.
-*/
-// #define USE_WATCHDOG
-
-/**
-    analog subsystem stuff
-    REFERENCE - which analog reference to use. see analog.h for choices
-*/
-#define REFERENCE           REFERENCE_AVCC
-
-/** \def STEP_INTERRUPT_INTERRUPTIBLE
-    this option makes the step interrupt interruptible (nested).
-    this should help immensely with dropped serial characters, but may also make debugging infuriating due to the complexities arising from nested interrupts
-*/
-#define     STEP_INTERRUPT_INTERRUPTIBLE    1
-
-/**
-    temperature history count. This is how many temperature readings to keep in order to calculate derivative in PID loop
-    higher values make PID derivative term more stable at the expense of reaction time
-*/
-#define TH_COUNT                    8
-
-/** \def FAST_PWM
-    Teacup offers two PWM frequencies, 76(61) Hz and 78000(62500) Hz on a
-    20(16) MHz electronics. The slower one is the default, as it's the safer
-    choice. Drawback is, in a quiet environment you might notice the heaters
-    and your power supply humming.
-
-    Uncomment this option if you want to get rid of this humming or want
-    faster PWM for other reasons.
-
-    See also: http://reprap.org/wiki/Gen7_Research#MOSFET_heat_and_PWM
-*/
-// #define  FAST_PWM
-
-/// this is the scaling of internally stored PID values. 1024L is a good value
-#define PID_SCALE                       1024L
-
-/** \def ENDSTOP_STEPS
-    number of steps to run into the endstops intentionally
-        As Endstops trigger false alarm sometimes, Teacup debounces them by counting a number of consecutive positives. Valid range is 1...255. Use 4 or less for reliable endstops, 8 or even more for flaky ones.
-*/
-#define ENDSTOP_STEPS   4
-
-
-
-/***************************************************************************\
-*                                                                           *
-* 8. APPENDIX A - PWMABLE PINS AND MAPPINGS                                 *
-*                                                                           *
-*                                                                           *
-* list of PWM-able pins and corresponding timers                            *
-* timer1 is used for step timing so don't use OC1A/OC1B                     *
-* they are omitted from this listing for that reason                        *
-*                                                                           *
-* For the atmega168/328, timer/pin mappings are as follows                  *
-*                                                                           *
-* OCR0A - PD6  - DIO6                                                       *
-* OCR0B - PD5  - DIO5                                                       *
-* OCR2A - PB3  - DIO11                                                      *
-* OCR2B - PD3  - DIO3                                                       *
-*                                                                           *
-* For the atmega644, timer/pin mappings are as follows                      *
-*                                                                           *
-* OCR0A - PB3  - DIO3                                                       *
-* OCR0B - PB4  - DIO4                                                       *
-* OCR2A - PD7  - DIO15                                                      *
-* OCR2B - PD6  - DIO14                                                      *
-*                                                                           *
-* For the atmega1280, timer/pin mappings are as follows                     *
-*                                                                           *
-* OCR0A  - PB7 - DIO13                                                      *
-* OCR0B  - PG5 - DIO4                                                       *
-* OCR2A  - PB4 - DIO10                                                      *
-* OCR2B  - PH6 - DIO9                                                       *
-* OCR3AL - PE3 - DIO5                                                       *
-* OCR3BL - PE4 - DIO2                                                       *
-* OCR3CL - PE5 - DIO3                                                       *
-* OCR4AL - PH3 - DIO6                                                       *
-* OCR4BL - PH4 - DIO7                                                       *
-* OCR4CL - PH5 - DIO8                                                       *
-* OCR5AL - PL3 - DIO46                                                      *
-* OCR5BL - PL4 - DIO45                                                      *
-* OCR5CL - PL5 - DIO44                                                      *
-*                                                                           *
-\***************************************************************************/
diff --git a/reprap_mendel_prusa/teacup_firmware/extruder/config.h b/reprap_mendel_prusa/teacup_firmware/extruder/config.h
deleted file mode 100644 (file)
index ace2d67..0000000
+++ /dev/null
@@ -1,109 +0,0 @@
-/* Notice to developers: this file is intentionally included twice. */
-\r
-/*\r
-    CPU clock rate\r
-*/\r
-#ifndef F_CPU\r
-    #define F_CPU   16000000L\r
-#endif\r
-\r
-/*\r
-    other fallbacks for the Arduino IDE\r
-*/\r
-#define EXTRUDER\r
-#define GEN3\r
-\r
-#include    "arduino.h"\r
-\r
-// controller index- bus is multidrop after all\r
-#define THIS_CONTROLLER_NUM 0\r
-\r
-//RS485 Interface pins\r
-#define RX_ENABLE_PIN DIO4\r
-#define TX_ENABLE_PIN AIO2\r
-\r
-// Control pins for the A3949 chips\r
-#define H1D DIO7\r
-#define H1E DIO5\r
-#define H2D DIO8\r
-#define H2E DIO6\r
-\r
-// PWM versions of the enable_pins\r
-#define H1E_PWM OCR0B\r
-#define H2E_PWM OCR0A\r
-\r
-//Step/Dir Pins from motherboard to extruder\r
-//IMPORTANT: Assumes that the step pin is on PCIE0\r
-#define E_STEP_PIN DIO10\r
-#define E_DIR_PIN DIO9\r
-\r
-//Trimpot is on AIO0, pin 23\r
-#define TRIM_POT AIO0\r
-#define TRIM_POT_CHANNEL 0\r
-\r
-//Read analog voltage from thermistor\r
-#define TEMP_PIN AIO3\r
-#define TEMP_PIN_CHANNEL 3\r
-\r
-//Read analog voltage from thermistor\r
-#define TEMP_BED_PIN AIO6\r
-#define TEMP_BED_PIN_CHANNEL 6\r
-\r
-//Read digital temperature from DS18B20\r
-#define ONEWIRE_PIN DIO2\r
-\r
-#define REFERENCE   REFERENCE_AVCC\r
-\r
-#define TEMP_THERMISTOR\r
-#define TEMP_DS1820\r
-\r
-//e.e.: TechZoneRemix Gen3 Extruder Board:\r
-// 12V screw terminal C: DIO12\r
-// 12V screw terminal B: DIO11\r
-// 12V screw terminal A: AIO1\r
-\r
-#define HEATER_PIN  DIO12\r
-#define BED_PIN     AIO1\r
-#define FAN_PIN     DIO11\r
-\r
-// extruder settings\r
-#define TEMP_HYSTERESIS             5
-#define TEMP_RESIDENCY_TIME     60\r
-\r
-#ifdef  DEFINE_TEMP_SENSOR\r
-DEFINE_TEMP_SENSOR(extruder,    TT_THERMISTOR,      TEMP_PIN_CHANNEL,       THERMISTOR_EXTRUDER)\r
-//DEFINE_TEMP_SENSOR(bed,           TT_THERMISTOR,      TEMP_BED_PIN_CHANNEL,   THERMISTOR_EXTRUDER)\r
-    //9 bits accuracy for faster conversion time\r
-DEFINE_TEMP_SENSOR(bed,         TT_DS1820,     0,  12)\r
-// dummy temp sensor so analog_mask includes trim pot\r
-DEFINE_TEMP_SENSOR(noheater,    TT_THERMISTOR,      TRIM_POT_CHANNEL,       0)\r
-#endif\r
-// DEFINE_HEATER(<name>, <pin>, <invert?>, <fan startup threshold pwm value>)\r
-// fan startup threshold: FANs usually take more power to start spinning than to keep spinning,\r
-//                        so, below a given pwm value we start the fan with full power and after
-//                        50ms lower the output to the requested value.\r
-#ifdef  DEFINE_HEATER\r
-DEFINE_HEATER(extruder, DIO12, 0, 0)\r
-DEFINE_HEATER(bed,          AIO1, 1,  0)\r
-DEFINE_HEATER(fan,          DIO11, 0, 150)\r
-#endif\r
-\r
-// list of PWM-able pins and corresponding timers\r
-// timer1 is used for step timing so don't use OC1A/OC1B (DIO9/DIO10)\r
-// OC0A                                             DIO6\r
-// OC0B                                             DIO5\r
-// OC1A                                             DIO9\r
-// OC1B                                             DIO10\r
-// OC2A                                             DIO11\r
-// OC2B                                             DIO3\r
-\r
-#define TH_COUNT                    8\r
-#define PID_SCALE                   1024L\r
-\r
-\r
-/*\r
-    Motors\r
-*/\r
-\r
-#define enable_motors()             do { TCCR0A |= MASK(COM0A1) | MASK(COM0B1); } while (0)\r
-#define disable_motors()            do { TCCR0A &= ~MASK(COM0A1) & ~MASK(COM0B1); } while (0)\r