Stefan Dej
cf25c3907c
scripts: remove initd klipper-mcu-start.sh
...
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2023-01-17 18:17:25 -05:00
JamesH1978
3cd8a72e60
spi_flash: Add SKR2 F429 chip variant to spi_flash ( #5956 )
...
Later addition of a F429 variant SKR2 was released. Changed btt-skr2 to btt-skr-2-f407 and added a new alias for btt-skr-2-f429
Signed-off-by: James Hartley <james@hartleyns.com>
2023-01-04 12:01:28 -05:00
JamesH1978
6ae6aaf711
board_defs: Add Fysetc Cheetah V2 to spi_flash ( #5952 )
...
As discussed with user HiitsameAsh on discord, he has confirmed this addition will flash a Fysetc Cheetah V2
Signed-off-by: James Hartley <james@hartleyns.com>
2022-12-31 18:26:30 -05:00
Chris Lee
aac613bf44
scripts: support CanBoot on RP2040 in flash_usb.py
...
Signed-off-by: Chris Lee <clee@mg8.org>
2022-12-19 15:42:53 -05:00
Matt Baker
c5d56f4438
stm32g4: implement build,usb,can,i2c,spi,serial,adc.
...
Signed-off-by: Matt Baker <baker.matt.j@gmail.com>
2022-12-02 11:31:42 -05:00
JamesH1978
638303b396
spi_flash: Update to fix SKR-3 config ( #5827 )
...
it seems I made an error with my code for the SKR 3, and I copied the code from the wrong host , this PR fixes that. I have just retested with the right code and works as expected, this is confirmed by @adelyser who brought the issue to my attention.
Signed-off-by: James Hartley <james@hartleyns.com>
2022-10-13 19:35:07 -04:00
Kevin O'Connor
bdf79caac4
atsamd: Add Kconfig definitions for same51j19 and same54p20 chips
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-10-13 11:27:14 -04:00
JamesH1978
5fad485b13
spi_flash: Add SKR2, SKR3 and Creality 4.2.2/7 to spi_flash ( #5807 )
...
As discussed with Arksine, he has created new working settings for the Creality 4.2.x boards as the original 4.2.7 entry did not work, plus addition of SKR2 and SKR3. Tested on 4.2.2 and SKR2 and SKR3EZ.
These are using the new skip_verify functionality that was recently merged due to them using SDIO
Also removed a double definition for `monster8` it was in main definitions and aliased.
Signed-off-by: James Hartley <james@hartleyns.com>
2022-10-05 15:05:58 -04:00
Kevin O'Connor
ddb59440a8
logextract: Improve detection of clock and tmc uart parameters
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-09-20 11:08:54 -04:00
Matt Baker
d9c917b950
stm32l4: add stm32l412 support with adc,i2c,spi,usb
...
Signed-off-by: Matt Baker <baker.matt.j@gmail.com>
2022-09-15 11:51:26 -04:00
Donna Whisnant
773f9ac56c
scripts: Support BigTreeTech Octopus boards in flash-sdcard.
...
Signed-off-by: Donna Whisnant <dewhisna@dewtronics.com>
2022-09-11 21:57:28 -04:00
Donna Whisnant
a0457f79e4
scripts: Support SDIO in flash-sdcard using split verification step
...
Signed-off-by: Donna Whisnant <dewhisna@dewtronics.com>
2022-09-11 21:57:28 -04:00
Kevin O'Connor
35e2472bbc
motan: Improve reading of initial step position data
...
Seed the initial position from the first read position, even if it is
some time into the capture.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-09-05 11:22:40 -04:00
Eric Callahan
2e1b649617
dump_mcu: helper for mcu flash backups
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2022-09-01 13:51:00 -04:00
chestwood96
db507f89b9
scripts: Update install-debian.sh ( #5704 )
...
Add pkg-config reference because hid-flash needs it to build.
Signed-off-by: Adrian Joachim <adi.joachim12@gmail.com>
2022-08-24 13:30:33 -04:00
Kevin O'Connor
48b60a8021
graphstats: Normalize mcu frequency to microseconds when graphing multiple mcus
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-07-29 11:40:54 -04:00
s6t
a151aa8c7a
spi_flash: Add board definition for Mellow FLY Gemini V2 ( #5651 )
...
Signed-off-by: Tobias Schröder <schroedt@live.de>
2022-07-20 21:57:08 -04:00
BIGTREETECH
1636a9759b
stm32: stm32g0/h7 usb_dfu_bootloader support ( #5596 )
...
Signed-off-by: Alan.Ma from BigTreeTech <tech@biqu3d.com>
2022-06-30 13:58:00 -04:00
Andreas Fröhlke
6af931c4e1
spi_flash: add mks_monster8,robin_v3 ( #5568 )
...
Signed-off-by Andreas Fröhlke <boandy1985@googlemail.com>
2022-06-18 13:08:30 -04:00
Kevin O'Connor
b9e195f098
flash_usb: Use hexid "2e8a:0003" for rp2040 already in bootloader mode
...
Use a USB hex id to indicate that the device is already in bootloader
mode. This makes the rp2040 flashing code similar to the other
boards.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-06-16 10:59:11 -04:00
Eric Callahan
1b6ab65833
flash_usb: update shebang to python3
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2022-06-10 11:23:04 -04:00
Eric Callahan
3e1719bdbb
flash_usb: add canboot support
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2022-06-10 11:23:04 -04:00
Kevin O'Connor
907b47b238
flash_usb: Rework flash_rp2040 code to be similar to other boards
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-06-01 10:47:31 -04:00
Eric Callahan
88731c2836
scripts: identify application in canbus_query
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2022-05-10 11:48:06 -04:00
Kevin O'Connor
261944cc7b
graphstats: Improve labels on twinx() graphs
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-05-06 15:05:04 -04:00
Kevin O'Connor
6f0b7c7a2a
graphstats: Fix system graph title
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-05-06 15:01:27 -04:00
Eric Callahan
dc28257a75
spi_flash: reduce speed to 400K
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2022-04-25 12:02:45 -04:00
Eric Callahan
ccae1e3ec8
spi_flash: validate mcu configuration
...
Prior to attempting a flash, verify that the MCU is successfully
configured.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2022-04-25 12:02:45 -04:00
Kevin O'Connor
5517a856cc
motan: Fix typo in error report
...
Reported by @Ludy87.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-04-23 21:50:27 -04:00
Eric Callahan
7db07c46e6
spi_flash: support spi protocol changes
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2022-04-22 20:46:45 -04:00
Kevin O'Connor
76558168d9
motan: Add support for analyzing "angle" sensor data
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-03-29 20:34:46 -04:00
Alex Maclean
8049243221
atsam: Add support for SAM E70
...
Signed-off-by: Alex Maclean <monkeh@monkeh.net>
2022-03-26 11:59:27 -04:00
Miklós Tusz
c8cc2a1e27
scripts: Migrate `check_whitespace.py` to python3
...
Modified strings used in pattern matching to b-strings as are expected
with python3.
Signed-off-by: Miklos Tusz <miklos@aon3d.com>
2022-03-14 13:53:21 -04:00
Frank Tackitt
2b2caa8f05
klippy-requirements: Pin markupsafe==1.1.1 to fix python3 ( #5286 )
...
Markupsafe updated and the latest version no longer includes `soft_unicode`
Signed-off-by: Franklyn Tackitt <git@frank.af>
2022-02-21 13:26:18 -05:00
Kevin O'Connor
6d7c03365a
logextract: Add support for reordering stepper queue messages by timestamp
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-02-07 00:06:40 -05:00
Kevin O'Connor
c8560b367d
logextract: Add support for reordering trapq moves by timestamp
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-02-06 23:42:01 -05:00
Kevin O'Connor
739ff465a7
logextract: Support reordering API Server messages by timestamp
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-02-06 23:15:28 -05:00
Kevin O'Connor
6cd1e794f7
logextract: Breakup shutdown parsing into classes
...
Separate out message parsing into individual classes. This should
make the code a little eaiser to understand.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-02-06 23:14:31 -05:00
Lasse Dalegaard
a7b01857f5
flash_usb: use sudo for rp2040 flashing
...
The rp2040 can be flashed without sudo when using udev rules to give the
user permission, but in a standard configuration sudo is required.
Here we make it possible for flash_usb to use sudo for the rp2040
target, and make it the default when using `make flash` for the rp2040.
As for other targets, one can set `NOSUDO=1` to not call through sudo.
Signed-off-by: Lasse Dalegaard <dalegaard@gmail.com>
2022-01-31 11:10:02 -05:00
adelyser
b414fc4975
spi_flash: Add btt-skr-bx-se to the board types ( #4951 )
...
Signed-off-by: Aaron DeLyser <bluwolf@gmail.com>
2022-01-29 13:32:48 -05:00
Lasse Dalegaard
7c0559c6e6
rp2040: add make flash support
...
This adds `make flash` support for the rp2040 target. Flashing is
performed using a custom `rp2040_flash` tool that uses the PICOBOOT
protocol. Root is not required.
The user specifies the serial device of the rp2040 they wish to flash as
the device. This device is reset into bootsel mode and `rp2040_flash`
is invoked on the original USB device path.
If the device is already in bootloader mode, the user can specify
'first' as `FLASH_DEVICE` which will simply invoke `rp2040_flash` with
no bus/address options.
Signed-off-by: Lasse Dalegaard <dalegaard@gmail.com>
2022-01-06 17:32:54 -05:00
Dmitry Butyugin
309b8e030f
scripts: Migrated shaper calibration scripts to Python3
...
Also updated instructions to install python3-numpy and
python3-matplotlib Python packages.
Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
2021-12-30 18:14:53 -05:00
Kevin O'Connor
f0b20f0bdf
spi_flash: Add btt-skr-mini-e3-v3 board definition
...
Signed-off-by: Alan.Ma from BigTreeTech <tech@biqu3d.com>
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-12-23 22:15:26 -05:00
Kevin O'Connor
8b2da0d353
motan: Fix comment copy-and-paste error in readlog.py
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-12-01 20:09:25 -05:00
Justin Schuh
cfff897480
spi_flash: Better fallback on MCU protocol change
...
Support a set of known past config responses.
Signed-off-by: Justin Schuh <code@justinschuh.com>
2021-11-09 20:15:46 -05:00
Justin Schuh
76bfc3237a
spi_flash: Fix MCU handshake protocol
...
Update config response string to match new version from d4aee4f
.
Signed-off-by: Justin Schuh <code@justinschuh.com>
2021-11-08 20:07:38 -05:00
Kevin O'Connor
dd98884bb4
buildcommands: Use regular str() types for input on Python2
...
Avoid using unicode() types on Python2 as it can lead to subtle
errors.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-10-31 13:52:31 -04:00
Dmitry Butyugin
d5a7a7f00f
input_shaper: Define input shapers in a single place in Python code
...
Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
2021-10-26 16:14:50 -04:00
Kevin O'Connor
5c10001bc5
motan: Minor change to corexy analyzer label
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-10-16 22:18:51 -04:00
Kevin O'Connor
cf3b7d290c
motan: Add an analyzer to integrate accelerometer input
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-10-16 22:18:51 -04:00