64 Commits

Author SHA1 Message Date
Kevin O'Connor
807c1ef0bd led: Move led code to new led.c file
Move the led c code from the buildcommands.py to a new led.c file.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-05-05 15:18:07 -04:00
Kevin O'Connor
794ccd69c0 canbus: Use Klipper's nodeid to canbus_id scheme
Use Klipper's nodeid to canbus_id scheme (canbus_id = nodeid * 2 +
0x100).  Instead, use a nodeid offset of 128 to avoid collisions with
Klipper.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-05-05 05:22:55 -04:00
Eric Callahan
95e8a707ca
flash_can: attempt to reset the mcu if an error is encountered
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2022-04-26 12:12:46 -04:00
Eric Callahan
76474d6efd
flash_can: update for latest changes
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2022-04-26 08:20:24 -04:00
Eric Callahan
b5303fa5f7
flash_can: fix error in uuid reporting
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2022-04-25 20:06:57 -04:00
Eric Callahan
f0d7bb7f9c
flash_can: add retries to verification
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2022-04-25 17:18:35 -04:00
Eric Callahan
f754ae2746
flash_can: update for latest changes
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2022-04-25 17:14:02 -04:00
Eric Callahan
db1123d69d
flash_can: add query option
It is possible that a user will flash the bootloader before
ever having flashed Klipper.  In this case they would be
unable to supply a UUID.

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2022-04-14 08:21:58 -04:00
Eric Callahan
0838d844e9
flash_can: make executable
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2022-04-13 19:34:50 -04:00
Eric Callahan
a6afacea62
scripts: remove the canserial service files
This service is no longer necessary to communicate with
can devices running Klipper.

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2022-04-13 18:25:54 -04:00
Eric Callahan
3686db10fd
flash_can: add interface argument
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2022-04-13 18:23:44 -04:00
Eric Callahan
9d894c7190
flash_can: bring module in line with latest mcu code
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2022-04-13 17:08:10 -04:00
Arksine
927f603e60 pycanserial: can serial test module rewritten in python
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2021-02-06 20:05:10 -05:00
Arksine
2762299895 canboot: initial source commit
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2021-02-06 20:04:47 -05:00