aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* test: Add printer-monoprice-mini-delta-2017.cfg to printers.testKevin O'Connor2020-01-233-1/+8
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* config: Fix file permissions of generic-flyboard.cfgKevin O'Connor2020-01-231-0/+0
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* delta: Add print_radius option to customize valid XY radiusKevin O'Connor2020-01-232-1/+9
| | | | | | Add ability to override the default XY move checking radius. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* kinematics: Remove support for identifying Z steppersKevin O'Connor2020-01-2310-18/+14
| | | | | | | | | The caller can now determine which steppers are connected to cartesian Z movement via the new stepper.is_active_axis() method. It is therefore no longer necessary for the kinematic code to identify these steppers. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* itersolve: Add ability to query the active_flags stateKevin O'Connor2020-01-234-0/+14
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* config: Add example generic-flyboard.cfg config fileKevin O'Connor2020-01-232-0/+296
| | | | | | Reported by @DJDOUBLEG. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* config: Add example generic-archim2.cfg configKevin O'Connor2020-01-232-0/+161
| | | | | Signed-off-by: Mike Payson <mike@mtw3d.com> Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* config: Add an example generic-mks-sgenl.cfg configKevin O'Connor2020-01-232-0/+197
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* config: Add generic-mightyboard.cfgKevin O'Connor2020-01-232-0/+116
| | | | | | Reported by @fragginright. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stm32: Only declare alternate usart2 on stm32f0Kevin O'Connor2020-01-233-49/+41
| | | | | | | Also, try to improve the structure of the #if/#else/#endif layout in serial.c. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stm32: Don't export spi1a/spi2a on stm32f1Kevin O'Connor2020-01-231-4/+6
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stm32: add alternate pinout for USART2Arne Jansen2020-01-233-1/+16
| | | | | | Added to both generic stm32 and stm32f0 Signed-off-by: Arne Jansen <arne@die-jansens.de>
* stm32: add alternate pinouts for spi1/2Arne Jansen2020-01-231-3/+9
| | | | | | | In addition to spi3, spi1 and spi2 also have alternate pins. Add them as spi1a and spi2a, similar to spi3. Signed-off-by: Arne Jansen <arne@die-jansens.de>
* stm32: performance improvement for spi on stm32f0Arne Jansen2020-01-231-4/+8
| | | | | | | | | | The stm32 has a small queue for spi tx/rx. The current code only uses the spi with a single byte buffer, effectively waiting for each byte to complete before starting the next transfer. This patch changes the structure of spi_transfer() to make use of the queue and achieve back-to-back transfer of bytes on spi. Signed-off-by: Arne Jansen <arne@die-jansens.de>
* stm32: fix spi_transfer for stm32f0Arne Jansen2020-01-231-2/+8
| | | | | | | | | | The current code accesses the DR as 32 bit. This enabled data packing mode, effectively adding a 00 byte between each sent byte. The receive side had similar problems. To prevent this, all accesses are 8 bit now, even though this is not necessary on stmf[14]. Signed-off-by: Arne Jansen <arne@die-jansens.de>
* lpc176x: Add support for ssp1 (#2393)akatik2020-01-143-22/+39
| | | Signed-off-by: Andrey Kovalev <aka@pxe.ru>
* stm32f0: Remove hal based stm32f0 implementationEug Krashtan2020-01-14180-260688/+0
| | | | | Signed-off-by: Eug Krashtan <eug.krashtan@gmail.com> Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stm32: STM32F0 CAN featureEug Krashtan2020-01-144-0/+290
| | | | | Signed-off-by: Eug Krashtan <eug.krashtan@gmail.com> Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stm32: HSI selection fix; Pin swap rename; Add CAN selectionEug Krashtan2020-01-142-7/+11
| | | | | Signed-off-by: Eug Krashtan <eug.krashtan@gmail.com> Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* config: Adding a config file for the monoprice mini delta (#2392)chris-hammond2020-01-141-0/+161
| | | | | | | | | A default config file for Monoprice Mini Delta printers. Works when firmware is flashed via ST-Link V2 and when a 10A power supply is available. Lots of comments about wanting to try pressure advance on the FB group, so I figured it was a good time to get this added. Signed-off-by: Chris Hammond <chammond@georgefox.edu>
* config: add BME280 documentationArksine2020-01-132-0/+53
| | | | Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* heater: add support for BME280Arksine2020-01-131-0/+1
| | | | Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* bme280: initial implementation of BME280 environmental sensorArksine2020-01-131-0/+195
| | | | Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* linux: implement i2cArksine2020-01-134-1/+112
| | | | Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* avr: implement i2c_readArksine2020-01-132-2/+19
| | | | Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* config: Fix thermistor association in generic-bigtreetech-skr-pro.cfg (#2390)Hywelmartin2020-01-131-4/+4
| | | Signed-off-by: Martin Malmqvist <hywelmartin@gmail.com>
* scripts: Install "virtualenv setuptools==44.0.0" in install-octopi.shKevin O'Connor2020-01-121-0/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* scripts: Disable "virtualenv setuptools" in install-octopi.sh scriptKevin O'Connor2020-01-121-1/+2
| | | | | | | The default setuptools installed by virtaulenv has dropped support for python2. Explicitly remove it from the installation. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Update Config_Changes.md with actual bed_mesh merge dateKevin O'Connor2020-01-091-1/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Update Config_Changes.md to reflect bed_mesh changesArksine2020-01-091-0/+12
| | | | Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* bed_mesh: detect incompatible mesh profilesArksine2020-01-091-5/+28
| | | | Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* docs: Update documentation to reflect bed_mesh changesArksine2020-01-096-25/+399
| | | | | | Also add new bed_mesh.md documentation. Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* test: update sample configs and test configs with new bed_mesh optionsArksine2020-01-098-16/+17
| | | | Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* bed_mesh: refactor print_generated_points()Arksine2020-01-091-9/+6
| | | | Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* bed_mesh: fix LOAD_PROFILEArksine2020-01-091-4/+10
| | | | Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* bed_mesh: Allow the default profile to be removedArksine2020-01-091-1/+1
| | | | Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* bed_mesh: improve interpolation checksArksine2020-01-091-20/+42
| | | | | | Move interpolation checks to _init_mesh_params() so they can be done whle the config is being parsed. Do not allow a probe_count higher than 6 for lagrange interpolation, as this typically leads to oscillation. Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* bed_mesh: Move BED_MESH_MAP to Bedmesh classArksine2020-01-091-27/+23
| | | | | | Don't force probing when BED_MESH_MAP is executed, output the existing mesh. If the user wants to probe each time before a map they can do so with a gcode_macro. Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* bed_mesh: Add x,y offsets to min/max points in probe_finalizeArksine2020-01-091-18/+13
| | | | | | This eliminates the need for the "mesh_params" dict to have references to the x and y offsets. Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* bed_mesh: refactoringArksine2020-01-091-99/+99
| | | | | | | | Renamed some variables in set_mesh() previous called "mesh_min" and "mesh_max" to alleviate confusion with the config options. Renamed several attributes for clarity. The "calibrate" attribute is now bmc, "probe_params" is now "mesh_params", "probed_z_table" is now "probed_matrix", "mesh_z_table" is now "mesh_matrix". Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* bed_mesh: improve logging of generated pointsArksine2020-01-091-20/+33
| | | | | | | | Points are now logged after the printer is ready. The formatting is improved, printing out the point index, and its corresponding automatic and manual points. BED_MESH_OUTPUT now includes a PGP parameter, if PGP=1 the generated points are printed to the terminal. Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* bed_mesh: add xy offsets to generated pointsArksine2020-01-091-10/+14
| | | | | | Rename min_point, max_point, and bed_radius to mesh_min, mesh_max, and mesh_radius respectively. Add "mesh_origin" option, that allows round beds to specificy the center of the mesh. Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* ProbePointsHelper: Optionally add xy offsets to probe pointsArksine2020-01-091-0/+6
| | | | Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* docs: Update Command_templates.md - numbers in gcode_macro name must be at endKevin O'Connor2020-01-071-1/+3
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* tuning_tower: Support tuning of traditional g-code commandsKevin O'Connor2020-01-071-5/+8
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* gcode: Fix detection of some "extended" g-code commandsKevin O'Connor2020-01-073-17/+20
| | | | | | | Fix typo that resulted in _get_extended_params() being called for all commands. Allow "extended" g-code commands to contain numbers. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* rotary_delta: Initial support for rotary delta kinematicsKevin O'Connor2020-01-067-2/+546
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* delta_calibrate: Add support for manually entering a nozzle Z heightKevin O'Connor2020-01-061-3/+39
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* homing: Don't assume homing occurs with a constant step rateKevin O'Connor2020-01-061-3/+12
| | | | | | | | Some kinematics do not result in a constant step rate during homing operations. Calculate the endstop checking rate using the total distance traveled on the axis divided by the axis step distance. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* itersolve: Export itersolve_calc_position_from_coord()Kevin O'Connor2020-01-064-4/+13
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>