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
Kevin O'Connor
466198c0f4
motan: Add support for graphing stepper motor phase and microstep position
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-10-16 22:18:51 -04:00
Kevin O'Connor
03021ae722
motan: Show data filename in graph title
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-10-16 22:18:45 -04:00
Kevin O'Connor
c56c34fa1c
configfile: Use Python2's ConfigParser when running on Python2
...
The backport of Python3's configparser causes issues when there is
unicode characters in the config file. To avoid introducing new
errors, go back to using the Python2 version of ConfigParser when
running on Python2.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-10-09 19:37:48 -04:00
Kevin O'Connor
1a4d655a18
spi_flash: Improve Python3 compatibility
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-10-07 20:05:15 -04:00
Kevin O'Connor
cc63fd51b2
scripts: Use backport of a recent Python3 configparser on Python2
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-10-04 15:10:46 -04:00
Kevin O'Connor
41d42a07bf
klippy: Add a build import test tool
...
Add a test case to verify that every optional module successfully
loads on both Python2 and Python3. This is intended to catch syntax
and module imports that are not compatible between Python versions.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-10-04 14:36:08 -04:00
Kevin O'Connor
b743a64685
scripts: Update klippy build tests to verify on both Python2 and Python3
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-10-04 14:36:08 -04:00
Kevin O'Connor
1717263b5a
buildcommands: Convert to Python3 string encoding
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-10-01 19:28:27 -04:00
Kevin O'Connor
9ce07921c4
test_klippy: Convert to Python3 string encoding
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-10-01 19:22:13 -04:00
Kevin O'Connor
cc2a313c10
klippy-requirements: Update dependencies to support Python 3.9+
...
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2021-10-01 19:07:48 -04:00