J.C. Nelson
J.C. Nelson
Confirmed that PA5 does not have hard PWM capabilities. I'll see what options there are.
To answer one question - the "right numbers" on any STM32 board are timers that don't conflict with other PWM pins. If 6 and 7 work, we can define them...
The variant needs to have the SPI pins enabled and I can do that.
Ok, I was wrong. This is very closely related to the "Marlin can't cope with multiple SPI instances" issue - the STM32 HAL doesn't set the pins (and Marlin assumes...
@LinoBarreca , this makes sense. It does appear that the "Marlin" way of doing things is usually not to put arrays in the pins files. A "marlin" style approach would...
> I've tested overwriting the SPI pins in a new M300 variant and it's working. > > see https://github.com/papabricole/Arduino_Core_STM32/tree/malyan-m300 > > Should I propose a pull request to STM32 core...
Create a PR and I'll see why it doesn't compile (unless you mean "doesn't compile with PIO). I'm currently trying to figure out why the #ifdefs i timers.h don't work...
The reason "it does not work" is that board-specific timer overrides don't work currently (and I have zero idea why). That's why setting the timers in the headers works, as...
I'll do some tests and see how high the default one can go if it's by itself for the bed, then with the hotend (with the understanding that I have...
https://github.com/xC0000005/Marlin/commit/a36eda3cdc3687038b164d0920ad3de8f4fc28d8 Only the changes to the timers.h file matter. Have you considered making a PR to marlin to add the M300 if it's not there already?