klipper
klipper copied to clipboard
config: Add BigTreeTech boards config
- add PB12/PB13 FDCAN2 support STM32G0B1
- add BigTreeTech
EBB V1.2
,EBB SB V1.0(TMC2240 & TMC2209 for Voron-Stealthburner)
,Manta E3 EZ
,Manta M5P
,Manta M8P V1.1
,Octopus Max EZ
Thanks. In general, it looks fine to me. I did notice a couple of minor things:
- For what it is worth, I find the pin names in lines like
cs_pin: EBBCan: PB12
to be confusing. I think it's more clear without the space in the middle of the pin:cs_pin: EBBCan:PB12
- Just for your information, I don't think the adxl345 results will have high quality if using software spi. The adxl345 is a high-bandwidth device that software spi is likely to struggle with.
If there are no further comments, I'll look to commit in a few days.
-Kevin
Thanks. In general, it looks fine to me. I did notice a couple of minor things:
- For what it is worth, I find the pin names in lines like
cs_pin: EBBCan: PB12
to be confusing. I think it's more clear without the space in the middle of the pin:cs_pin: EBBCan:PB12
- Just for your information, I don't think the adxl345 results will have high quality if using software spi. The adxl345 is a high-bandwidth device that software spi is likely to struggle with.
If there are no further comments, I'll look to commit in a few days.
-Kevin
- I'll clean it up later
- I will add a new hardware spi port for EBB spi to the G0B1 spi code. However, many
ifdef
will be added at present, and I am further cleaning up
@bigtreetech you include a section for [tmc2240 extruder] in config/sample-bigtreetech-ebb-sb-canbus-v1.0, this is not a valid tmc section in klipper. Is this something you intend to commit too? We are starting to see users on our support platforms asking why they cannot connect and receiving invalid section errors.
Thanks James
BigTreeTech has a branch of klipper with TMC2240 support here: https://github.com/bigtreetech/klipper/tree/tmc2240
I haven't tested it yet and there is no merge request - so it might not be ready for use. I'll probably try it out on my EBB SB2240 this weekend if I have a chance.
Thanks. I merged this branch with a couple of minor changes:
- When using regular can.c, only stm32f4 should have support for PB12/PB13 (Kconfig should read
(HAVE_STM32_CANBUS && MACH_STM32F4) || HAVE_STM32_FDCANBUS
). - I renamed
sample-bigtreetech-ebb-sb-canbus-v1.0
tosample-bigtreetech-ebb-sb-canbus-v1.0.cfg
- I removed the comment containing tmc2240 in
sample-bigtreetech-ebb-sb-canbus-v1.0.cfg
- we can add that comment back in once the main Klipper branch support the tmc2240 drivers.
Commits 1979c9d0 and f250bdfd.
-Kevin