Scott Lahteine
d7d80418ae
Singleton for cutting tools (#14429 )
5 роки тому
Scott Lahteine
6664b90bbb
Init servo pins in HAL_init (#14425 )
5 роки тому
Eric Ptak
8934b32f1b
Fysetc AIO II / Cheetah STM32F1 (#14407 )
5 роки тому
Karl Andersson
4b365552db
Fix Marduino SBI/CBI redefine (#14341 )
5 роки тому
Scott Lahteine
9a56a88200
Use OUT_WRITE in SPI pin init
5 роки тому
Scott Lahteine
2b5046659a
Tweak Marlin headers, comments
5 роки тому
Giuliano Zaro
a74aad3b4a
Clean up HALs / FastIO (#14082 )
5 роки тому
Scott Lahteine
e7682eea42
Use Arduino.h include wrapper (#13877 )
5 роки тому
Scott Lahteine
b18316dd37
Fix some spacing
5 роки тому
Scott Lahteine
c8a83fb122
SPINDLE_LASER_ENABLE => SPINDLE_LASER_ENA
5 роки тому
Alexander Gavrilenko
3c47e1b4d1
Support Black STM32F407VET6 with RAMPS-like shield (#13524 )
5 роки тому
Scott Lahteine
de0046fc8b
Fix empty HAS_TIMER macros
5 роки тому
Alexander Amelkin
e40636a7c1
Replace digitalPinHasPWM with HAS_TIMER (#13520 )
5 роки тому
Chris Pepper
ffc2c2d7c5
Move FAST_PWM_FAN code to HALs (#13491 )
5 роки тому
Scott Lahteine
b376c7e374
Group DISABLED items
5 роки тому
Scott Lahteine
49cf92dc36
Extended condition macros (#13419 )
Allow `ENABLED`, `DISABLED`, `PIN_EXISTS`, and `BUTTON_EXISTS` to take multiple arguments. Also add:
- Alias `ANY(...)` for `!DISABLED(...)`
- Alias `ANY_PIN(...)` for `PIN_EXISTS(a) || PIN_EXISTS(b) ...`
- Alias `EITHER(A,B)` for `ANY(...)`
- Alias `ALL(...)` and `BOTH(A,B)` for `ENABLED(...)`
- `NONE(...)` for `DISABLED(...)`
5 роки тому
Karl Andersson
5d3928cb01
PWM is not defined on Arduino Core STM32 (#13405 )
5 роки тому
Scott Lahteine
67bee06e43
No patch needed for non-libmaple analogWrite
See https://github.com/pinchies/Marlin/pull/1#issuecomment -471388743
5 роки тому
Scott Lahteine
f89b375fb9
Fixes and improvements for PWM pins (#13383 )
5 роки тому
Scott Lahteine
51ff5b68fa
Clean up fastIO ahead of PWM patch
5 роки тому
Scott Lahteine
1f7e220387
Make HAL ISR macros function-like
5 роки тому
Scott Lahteine
2212da453a
Distinguish between analog/digital auto fans (#13298 )
5 роки тому
Karl Andersson
76e9ee33aa
Fix include order to make SERIAL_PORT_2 work (#13241 )
5 роки тому
Scott Lahteine
631d867dc9
HAL cleanups
5 роки тому
Scott Lahteine
0feeef2604
Update copyright in headers
5 роки тому
Karl Andersson
64a4649290
STM32 - Fix SD write (#12897 )
5 роки тому
Nils Hasenbanck
f9299c4461
Make timer definition in pin files for STM32 possible (#12874 )
RemRam needs to redefine a particular timer to work correctly. The HAL did foresee this possibility and checks if the timer was already defined for either the stepper or temperature timer.
Prior to this commit the header file for the timers couldn't see those definitions in the pin file, but this commit will fix this.
Tested on an actual hardware to verify. (It wouldn't boot without it.)
5 роки тому
Karl Andersson
8ae6f1e556
Fix errors and some compiler warnings with HAL_STM32 PlatformIO build (#12869 )
5 роки тому
mr-miky
11c7945365
Don't include STM32 Core code when compiling STM32 Generic (#12575 )
5 роки тому
Scott Lahteine
c986239837
A single SERIAL_ECHO macro type (#12557 )
5 роки тому
Nils Hasenbanck
5a4fd8e0a6
Fix access to the DWT peripheral for STM32 HAL (#12434 )
Access to the DWT peripheral for the `CYCCNT` register needs to happen before `main()`. The code needs to be called after the setup of the system clocks, so the right place is between the `premain()` and `main()` function of the STM32 Arduino core.
This patch moves the DWT access code to a new function, which is then placed between `premain()` and `main()`.
5 роки тому
Scott Lahteine
b3b4e6dc45
Change Marlin debug flag names to fix conflicts (#12340 )
In reference to #11000
5 роки тому
Karl Andersson
176654791e
Use board-specific or platform SPI pins in HAL_STM32 (#12323 )
5 роки тому
Nils Hasenbanck
cafabf2055
Implement DELAY_NS with CYCCNT on Cortex-M7 (#12283 )
5 роки тому
Karl Andersson
484ca68228
Fix misplaced parentheses (#12284 )
5 роки тому
Karl Andersson
1946f729fd
STM32 FastIO using register access (#12276 )
5 роки тому
Scott Lahteine
4ed579cafc
Americanized English spelling
5 роки тому
Scott Lahteine
7a04eb3a8b
Fix some comment formatting
5 роки тому
Karl Andersson
aa72884a6e
Enable use of SERIAL_PORT_2 on HAL_STM32 (#12197 )
5 роки тому
Nils Hasenbanck
9deb23aa47
Add missing SerialUSB definition for STM32 HAL (#12124 )
5 роки тому
Scott Lahteine
cce4931342
Clean up recent contribs
5 роки тому
Karl Andersson
8b5e51c9aa
STM32F4xx modifications for HAL_STM32 (#12080 )
5 роки тому
Scott Lahteine
0bd54392b7
Use uint8_t in EEPROM code
5 роки тому
Nils Hasenbanck
191df5e17d
Correct PWM_PIN behavior for STM32 HALs (#12027 )
5 роки тому
Scott Lahteine
33056046a3
STM32 non-generic PWM_PIN and USEABLE_HARDWARE_PWM (#12016 )
5 роки тому
Nils Hasenbanck
fcf6d127fd
STM32 timer simplification (#11995 )
Prescalers aren't calculated for the given target frequency.
Stepper timer should run at 2 Mhz and temperature timer at 72 Khz.
5 роки тому
Scott Lahteine
348004c34f
STM32F7 HAL using the official STM32 Arduino Core (#11750 )
5 роки тому