aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/spi_flash
Commit message (Collapse)AuthorAgeFilesLines
* Isort all scriptsv0.1.0-rc1Tomasz Kramkowski2025-08-151-8/+9
|
* Rename everything significant to Kutter except for docsTomasz Kramkowski2025-08-152-24/+24
|
* Run black on all first party python codeTomasz Kramkowski2025-08-063-579/+659
|
* spi_flash: Add ZNP Robin Nano v2.2 to board defs (#6986)Burrito2025-07-281-0/+7
| | | | | | Adds support for the ZNP Robin Nano DW v2.2 board, used in the Neptune 3 Pro/Plus/Max. Signed-off-by: Zyjay Cruz <burrito@burrito.software>
* spi_flash: FATFS fix missing long filenames support needed by ↵Sasquatch2025-07-274-3/+16
| | | | | | | | | flash-sdcard.sh (#6981) enable long file support, needed for boards using swspi and long filenames for firmware like mks robin 1.1/1.2 added MKS robin nano 1.2 board with description what and why Signed-off-by: Leszek Zajac <zajc3w@gmail.com>
* klippy: fix typos in python code (#6989)Thijs Triemstra2025-07-251-4/+4
| | | Signed-off-by: Thijs Triemstra <info@collab.nl>
* spi_flash: fix hw busTimofey Titovets2025-04-281-1/+3
| | | | | | | | | _try_send_command() expects a list of args, But receives a string. Fixes abc76ee963d4154dce0bd56f2fdb946d5065cc86. Signed-off-by: Timofey Titovets <nefelim4ag@gmail.com>
* spi_flash: fix spi bus switch (#6906)Timofey Titovets2025-04-201-1/+0
| | | | | Fixes abc76ee963d4154dce0bd56f2fdb946d5065cc86. Signed-off-by: Timofey Titovets <nefelim4ag@gmail.com>
* software_spi: set rate limiting ticks from the hostTimofey Titovets2025-04-171-16/+29
| | | | Signed-off-by: Timofey Titovets <nefelim4ag@gmail.com>
* spi_flash: Update board_defs.py - BTT Octopus Max EZ (#6817)JamesH19782025-02-151-0/+7
| | | | | Addition to the board_defs file for the BTT Octopus Max EZ, written and confirmed by discord user Nikki @winningfaith81 Signed-off-by: James Hartley <james@hartleyns.com>
* flashsd: Add support for chitu-v6 (#6671)Bevan Weiss2024-09-052-13/+24
| | | | | | | | | Add flashsd configuration for Tronxy x5sa and other printers based on Chitu v6 board. These boards should support sdio (this is what the schematic details), however I couldn't get this working from a quick try. Signed-off-by: Bevan Weiss <bevan.weiss@gmail.com>
* spi_flash: Add stm32g0b0xx to board_defs.py (#6646)bryan0652024-07-181-0/+6
| | | | | Added board definition for stm32g0b0xx variant of the SKR Mini v3.0. Signed-off-by: Bryan Le <le.bryan.065@gmail.com>
* spi_flash: Update board_defs.py (#6318)locki-cz2023-08-151-0/+1
| | | | | Added alias for Octopus pro h723 v1.1 for sdcard update script. Signed-off-by: David Bucek <bucek.david@gmail.com>
* scripts: Support both H743 and H723 BTT SKR3 boards sdflashDonna Whisnant2023-08-111-1/+8
| | | | Signed-off-by: Donna Whisnant <dewhisna@dewtronics.com>
* spi_flash: New Board Definition for BTT SKRat V1.0 (#6249)Dennis Kühn2023-06-291-1/+7
| | | | | | Adds the new BTT SKRat V1.0 controller board to the board_defs for the flash-sdcard.sh tool. The new board definition was tested by me without any errors. Signed-off-by: Dennis Kuehn <denniskuehn@online.de>
* stm32: Add sdio supportH. Gregor Molter2023-02-201-6/+416
| | | | | | | | Adds sdio support for the stm32f4 to allow for SD card flash updates without power cycling some boards, e.g. BTT Octopus Pro. Signed-off-by: H. Gregor Molter <gregor.molter@secretlab.de> Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* spi_flash: Add SKR2 F429 chip variant to spi_flash (#5956)JamesH19782023-01-041-1/+2
| | | | | 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>
* board_defs: Add Fysetc Cheetah V2 to spi_flash (#5952)JamesH19782022-12-311-0/+7
| | | | | 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>
* spi_flash: Update to fix SKR-3 config (#5827)JamesH19782022-10-131-2/+3
| | | | | 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>
* spi_flash: Add SKR2, SKR3 and Creality 4.2.2/7 to spi_flash (#5807)JamesH19782022-10-051-2/+15
| | | | | | | | | 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>
* scripts: Support BigTreeTech Octopus boards in flash-sdcard.Donna Whisnant2022-09-111-0/+29
| | | | Signed-off-by: Donna Whisnant <dewhisna@dewtronics.com>
* scripts: Support SDIO in flash-sdcard using split verification stepDonna Whisnant2022-09-111-7/+42
| | | | Signed-off-by: Donna Whisnant <dewhisna@dewtronics.com>
* spi_flash: Add board definition for Mellow FLY Gemini V2 (#5651)s6t2022-07-201-0/+5
| | | Signed-off-by: Tobias Schröder <schroedt@live.de>
* spi_flash: add mks_monster8,robin_v3 (#5568)Andreas Fröhlke2022-06-181-1/+8
| | | Signed-off-by Andreas Fröhlke <boandy1985@googlemail.com>
* spi_flash: reduce speed to 400KEric Callahan2022-04-251-1/+1
| | | | Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* spi_flash: validate mcu configurationEric Callahan2022-04-251-5/+21
| | | | | | | Prior to attempting a flash, verify that the MCU is successfully configured. Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* spi_flash: support spi protocol changesEric Callahan2022-04-221-8/+22
| | | | Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* spi_flash: Add btt-skr-bx-se to the board types (#4951)adelyser2022-01-291-0/+5
| | | Signed-off-by: Aaron DeLyser <bluwolf@gmail.com>
* spi_flash: Add btt-skr-mini-e3-v3 board definitionKevin O'Connor2021-12-231-0/+6
| | | | | Signed-off-by: Alan.Ma from BigTreeTech <tech@biqu3d.com> Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* spi_flash: Better fallback on MCU protocol changeJustin Schuh2021-11-091-3/+15
| | | | | | Support a set of known past config responses. Signed-off-by: Justin Schuh <code@justinschuh.com>
* spi_flash: Fix MCU handshake protocolJustin Schuh2021-11-081-1/+1
| | | | | | Update config response string to match new version from d4aee4f. Signed-off-by: Justin Schuh <code@justinschuh.com>
* spi_flash: Improve Python3 compatibilityKevin O'Connor2021-10-071-5/+6
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* spi_flash: Support firmware dictionary validationJustin Schuh2021-07-201-4/+27
| | | | | | | | | | | Updates firmware validation to use a dictionary if provided (or found when updating from the default out/ directory). Validation without a dictionary still checks the following (in order): 1. Active firmware's raw dictionary changed after update 2. Checksum of firmware.cur matches expected Signed-off-by: Justin Schuh <code@justinschuh.com>
* spi_flash: Make SD updates more tolerant of flaky boardsJustin Schuh2021-07-201-22/+53
| | | | | | | | | | Validation passes if either of the following succeeds (in order): 1. Active firmware's raw dictionary changed after update 2. Checksum of firmware.cur matches expected Additionally, deletes firmware.bin if found after update succeeds. Signed-off-by: Justin Schuh <code@justinschuh.com>
* spi_flash: Add board definitions for Fysetc S6 and SpiderWilhelm Schuster2021-05-031-0/+9
| | | | Signed-off-by: Wilhelm Schuster <ws@rot13.io>
* serialhdl: Update callers to decide serial fd typeKevin O'Connor2021-03-021-2/+4
| | | | | | | | Don't try to detect a "real serial port" in serialhdl.py. Instead, have the callers invoke either connect_uart(), connect_file(), or connect_pipe(). Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* chelper: Fix check for failed code buildKevin O'Connor2021-02-071-1/+1
| | | | | | | Commit 73b78af6 inadvertently removed the check for a successful gcc compilation. Add the check back in. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* spi_flash: support for firmware upgrades via SD CardArksine2021-02-055-0/+1574
This module connects directly to MCU's previously flashed with Klipper, uploads Klipper firmware to an attached SD Card, and performs a device reset to intiate the bootloader's update process. Signed-off-by: Eric Callahan <arksine.code@gmail.com>