Scott Lahteine
2b5046659a
Tweak Marlin headers, comments
5 years ago
Giuliano Zaro
a74aad3b4a
Clean up HALs / FastIO ( #14082 )
5 years ago
Scott Lahteine
e7682eea42
Use Arduino.h include wrapper ( #13877 )
5 years ago
Scott Lahteine
b18316dd37
Fix some spacing
6 years ago
Scott Lahteine
c8a83fb122
SPINDLE_LASER_ENABLE => SPINDLE_LASER_ENA
6 years ago
Alexander Gavrilenko
3c47e1b4d1
Support Black STM32F407VET6 with RAMPS-like shield ( #13524 )
6 years ago
Scott Lahteine
de0046fc8b
Fix empty HAS_TIMER macros
6 years ago
Alexander Amelkin
e40636a7c1
Replace digitalPinHasPWM with HAS_TIMER ( #13520 )
6 years ago
Chris Pepper
ffc2c2d7c5
Move FAST_PWM_FAN code to HALs ( #13491 )
6 years ago
Scott Lahteine
b376c7e374
Group DISABLED items
6 years ago
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(...)`
6 years ago
Karl Andersson
5d3928cb01
PWM is not defined on Arduino Core STM32 ( #13405 )
6 years ago
Scott Lahteine
67bee06e43
No patch needed for non-libmaple analogWrite
See https://github.com/pinchies/Marlin/pull/1#issuecomment-471388743
6 years ago
Scott Lahteine
f89b375fb9
Fixes and improvements for PWM pins ( #13383 )
6 years ago
Scott Lahteine
51ff5b68fa
Clean up fastIO ahead of PWM patch
6 years ago
Scott Lahteine
1f7e220387
Make HAL ISR macros function-like
6 years ago
Scott Lahteine
2212da453a
Distinguish between analog/digital auto fans ( #13298 )
6 years ago
Karl Andersson
76e9ee33aa
Fix include order to make SERIAL_PORT_2 work ( #13241 )
6 years ago
Scott Lahteine
631d867dc9
HAL cleanups
6 years ago
Scott Lahteine
0feeef2604
Update copyright in headers
6 years ago
Karl Andersson
64a4649290
STM32 - Fix SD write ( #12897 )
6 years ago
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.)
6 years ago
Karl Andersson
8ae6f1e556
Fix errors and some compiler warnings with HAL_STM32 PlatformIO build ( #12869 )
6 years ago
mr-miky
11c7945365
Don't include STM32 Core code when compiling STM32 Generic ( #12575 )
6 years ago
Scott Lahteine
c986239837
A single SERIAL_ECHO macro type ( #12557 )
6 years ago
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()`.
6 years ago
Scott Lahteine
b3b4e6dc45
Change Marlin debug flag names to fix conflicts ( #12340 )
In reference to #11000
6 years ago
Karl Andersson
176654791e
Use board-specific or platform SPI pins in HAL_STM32 ( #12323 )
6 years ago
Nils Hasenbanck
cafabf2055
Implement DELAY_NS with CYCCNT on Cortex-M7 ( #12283 )
6 years ago
Karl Andersson
484ca68228
Fix misplaced parentheses ( #12284 )
6 years ago
Karl Andersson
1946f729fd
STM32 FastIO using register access ( #12276 )
6 years ago
Scott Lahteine
4ed579cafc
Americanized English spelling
6 years ago
Scott Lahteine
7a04eb3a8b
Fix some comment formatting
6 years ago
Karl Andersson
aa72884a6e
Enable use of SERIAL_PORT_2 on HAL_STM32 ( #12197 )
6 years ago
Nils Hasenbanck
9deb23aa47
Add missing SerialUSB definition for STM32 HAL ( #12124 )
6 years ago
Scott Lahteine
cce4931342
Clean up recent contribs
6 years ago
Karl Andersson
8b5e51c9aa
STM32F4xx modifications for HAL_STM32 ( #12080 )
6 years ago
Scott Lahteine
0bd54392b7
Use uint8_t in EEPROM code
6 years ago
Nils Hasenbanck
191df5e17d
Correct PWM_PIN behavior for STM32 HALs ( #12027 )
6 years ago
Scott Lahteine
33056046a3
STM32 non-generic PWM_PIN and USEABLE_HARDWARE_PWM ( #12016 )
6 years ago
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.
6 years ago
Scott Lahteine
348004c34f
STM32F7 HAL using the official STM32 Arduino Core ( #11750 )
6 years ago