Commit Graph

2536 Commits

Author SHA1 Message Date
Kevin O'Connor c694da3753 flash_usb: Change dfu-util to reset the board after a flash on stm32f4
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-10-26 18:06:32 -04:00
Kevin O'Connor 4b4e309e1b flash_usb: Inform user to manually reset after stm32f4 flash
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-10-26 17:46:18 -04:00
Kevin O'Connor 5131ec5eb0 stm32: Add support for flashing over usb on stm32f042
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-10-26 17:11:04 -04:00
Kevin O'Connor 2ecc8d8f62 stm32: stm32f4 usb boot check only needed when CONFIG_USBSERIAL
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-10-26 16:56:33 -04:00
Kevin O'Connor 5da6a62759 stm32f4: Add support for flashing over USB
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-10-26 13:24:59 -04:00
Kevin O'Connor 0ba5819370 tmc_uart: Don't try to configure analog pins to -1 value
Commit 6f5f2a3b incorrectly altered the analog mux pin config.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-10-26 11:33:30 -04:00
Kevin O'Connor 081c24326d atsam: sysio support is only available on sam4s
Fix sam4e build error introduced in commit f723a314.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-10-24 22:21:47 -04:00
Kevin O'Connor f723a3141e atsam: Allow PB4-PB7,PB10-PB12 to be used as gpio on sam4
A separate "sysio" register must be set in order to use some port B
pins on the sam4 mcu.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-10-24 22:02:29 -04:00
Kevin O'Connor 6f5f2a3bc7 tmc_uart: Make sure to set analog mux pins after a restart
Don't assume the analog mux pins are in a low state at startup.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-10-24 22:00:58 -04:00
Kevin O'Connor d6d2be66e4 config: The duet2 maestro uses a 2200 ohm pullup resistor
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-10-24 13:07:07 -04:00
Kevin O'Connor 9a11286327 stm32: Implement armcm_main() in arch specific code
Move armcm_main() to stm32f0.c, stm32f1.c, and stm32f4.c.  This gives
the arch specific code more control on the early boot setup.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-10-24 11:35:18 -04:00
Kevin O'Connor faeaa54925 armcm_boot: Use armcm_main() instead of main() to start board code
The main() function has a special meaning to gcc and using it can
result in different code generation.  Use armcm_main() to avoid that.

Also, invoke SystemInit() from the board specific armcm_main() code.
This gives the board code more control over board initialization.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-10-24 11:16:10 -04:00
Kevin O'Connor 632ff9e55a docs: Update benchmarks for stm32f0
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-10-23 21:45:07 -04:00
Kevin O'Connor 0b0c47c566 stm32: Support PA11/PA12 pin remap on stm32f042 tsop20 chip
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-10-23 21:34:48 -04:00
Kevin O'Connor a6d90bb95e stm32: Support stm32f042 build from stm32/ directory
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-10-23 21:34:48 -04:00
Kevin O'Connor 2c535106ee stm32: Initial support for stm32f070
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-10-23 21:19:03 -04:00
Kevin O'Connor 7e090a996a lib: Add a copy of stm32f0 cmsis files from v1.10.0
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-10-23 21:16:35 -04:00
Kevin O'Connor 7b792e40d5 stm32f0: Rename internal build symbol from MACH_STM32F0 to MACH_STM32F0_HAL
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-10-23 21:16:35 -04:00
Kevin O'Connor a46244057c stm32: Support 16bit packet memory access on usbfs controller
The stm32f0 line uses 16bit packet memory reads/writes (as opposed to
the goofy 32bit accesses required on the stm32f103).

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-10-23 21:16:35 -04:00
Kevin O'Connor c2881f7d15 stm32: Be explicit in layout of gpio banks in digital_regs variable
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-10-23 21:16:35 -04:00
Kevin O'Connor f160a3a824 docs: Reword Pressure_Advance.md paragraph on kinematic impact
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-10-23 19:50:51 -04:00
Kevin O'Connor ccbdb6c531 docs: Pressure_Advance.md should recommend setting ADVANCE_LOOKAHEAD_TIME
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-10-23 19:34:59 -04:00
Kevin O'Connor c794e11c67 docs: Update Pressure_Advance.md to use tuning tower
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-10-23 19:28:03 -04:00
Kevin O'Connor b8a6160646 docs: Update example openocd config in Bootloaders.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-10-23 19:05:04 -04:00
Kevin O'Connor f07292084b docs: Remove outdated stm32f1.md document
The stm32f103 has become popular in the "skr mini" series of boards.
As a result, the stm32f1.md document is no longer relevant.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-10-23 18:53:11 -04:00
Kevin O'Connor e0afc74cc7 config: Fix EXP1 comment in generic-bigtreetech-skr-e3-dip.cfg
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-10-23 16:07:08 -04:00
Kevin O'Connor b91993d6a4 config: Add generic-bigtreetech-skr-e3-dip.cfg config
Reported by @salimvanak.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-10-23 15:59:26 -04:00
Kevin O'Connor 40d076cce5 stm32: Use stm32f103xe header for stm32f103 line
Use the "e" revision so that the SPI3 device is available for use.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-10-23 15:49:00 -04:00
Kevin O'Connor ef142af785 config: Rename config to generic-bigtreetech-skr-mini-e3-v1.0.cfg
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-10-23 15:04:15 -04:00
Kevin O'Connor 48530db50e test: Add generic-bigtreetech-skr-mini-e3-v1.2.cfg to config tests
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-10-23 15:01:34 -04:00
epandi c7fe338bfb config: Skr mini e3 v1.2 template (#2069)
Signed-off-by: Eelco Pandelaar <epandi@gmail.com>
2019-10-23 14:57:00 -04:00
nhchiu 9cd6273d52 scripts: Use current username in install-ubuntu-18.04.sh
Set KLIPPER_USER to $USER instead of "octoprint".

Signed-off-by: Nathan Chiu <nhchiu2009@gmail.com>
2019-10-23 14:54:31 -04:00
Arksine dd12c981ef temperature_fan: add get_status() function
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2019-10-22 22:10:13 -04:00
Arksine d85b395a9c bed_mesh: fix error reporting
Fix invalid string formatting in the parse_pair() helper.

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2019-10-22 22:09:33 -04:00
Kevin O'Connor abdfd92e99 docs: Update release notes for v0.8.0 release
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-10-21 22:30:04 -04:00
Kevin O'Connor dd9259aaf3 docs: Minor wording changes to Manual_level.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-10-16 16:48:50 -04:00
Kevin O'Connor 4811b58b39 docs: Update Manual_Level.md with recent config changes
The sample count and associated settings are no longer in the
screws_tilt_adjust config section - they are now in the probe config
section.  Remove them from the guide.

Reported by @theopensourcerer.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-10-16 16:35:32 -04:00
Kevin O'Connor dd77b46de9 docs: Note AD849x support in Features.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-10-15 13:08:43 -04:00
Kevin O'Connor 1e8582e3f6 stm32: Make sure to turn on the usb clock before writing to the packet memory
The USB clock needs to be enabled prior to writing to the USB packet
memory.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-10-13 14:33:23 -04:00
Geoff Shannon 789659599c adc_temperature: add support for AD849x thermocouple amplifiers (#1994)
Signed-off-by: Geoff Shannon <geoffpshannon@gmail.com>
2019-10-10 20:11:34 -04:00
Kevin O'Connor 6d7d079bab tuning_tower: Only cancel tuning tower test if extrude at notably lower z
Some print start scripts may extrude at a position slightly higher
than the first z layer height.  Tweak the backwards z test to reduce
the chance of the tuning test ending prematurely.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-10-04 20:10:12 -04:00
Kevin O'Connor 4ef0db5087 docs: Update Config_Change.md with safe_z_homing change
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-10-03 18:09:01 -04:00
Master92 2b553a8108 safe_z_home: Fix unintended change in default behavior
PR #1970 introduced a new parameter, controlling the default behavior of the safe_z_home-module. To avoid unexpected changes, the default of the move_to_previous is now defaulted to False.

Signed-off-by: Nils Friedchen <Nils.Friedchen@googlemail.com>
2019-10-03 18:06:08 -04:00
Jason S. McMullan 7605244fa0 safe_z_home: Fix issue where 'home_xy_position: 0,0' did not position at 0,0
If '[stepper_x]' and/or '[stepper_y]' have a 'position_min' that is
non-zero, and '[safe_z_home] home_xy_position' is '0,0'; then the 'G28'
command will _not_ move to '0,0'; but stay at 'position_min' during the
Z endstop test.

This fix corrects this issue.

Signed-off-by: Jason S. McMullan <jason.mcmullan@gmail.com>
2019-10-03 18:05:21 -04:00
Nicholas Seckar 004edb9613 fan: Add off_below option for fans (#1897)
Below off_below the fan will be turned off. When configured correctly this
can prevent stalling, which may lead to overheating and failed fans. To
simplify calibration and use of this setting, off_below is applied in the
input duty cycle domain, prior to any scaling due to e.g. max_power.

Signed-off-by: Nicholas Seckar <nseckar@gmail.com>
2019-10-03 17:59:03 -04:00
Nils Schulte 27717440aa docs: Update Sensorless_Homing.md with new TMCs (#1958)
Signed-off-by: Nils Schulte <git@nilsschulte.de>
2019-10-03 17:56:40 -04:00
Kevin O'Connor 698159921f tuning_tower: Tool for tuning parameters based on print Z height
This adds a testing tool that can run a command on each Z layer of a
print.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-10-01 14:46:24 -04:00
Kevin O'Connor 1b8a007969 docs: Add a square_tower.scad and stl print object
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-10-01 14:46:24 -04:00
Kevin O'Connor bbf6f87de0 avr: List 20Mhz option below 16Mhz option in Kconfig
When enabling "low level options" in Kconfig, selecting a chip that is
20Mhz capable would result in 20Mhz being the default.  A 16Mhz speed
is the preferred default, so list that first in the menu.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-09-30 10:05:02 -04:00
Kevin O'Connor db2ee2c01a config: Fix uart pins on z stepper in generic-fysetc-cheetah-v1.2.cfg
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2019-09-29 22:17:25 -04:00