Scott Lahteine
06324df072
Apply some #ifndef
2019-07-17 03:14:44 -05:00
Ludy
70586d3a6c
Update (c) comments ( #14584 )
2019-07-11 13:48:15 -05:00
Scott Lahteine
ad1c061e7b
Bring STM32F4/F7 together
2019-07-10 07:07:04 -05:00
Scott Lahteine
f7de453da8
More general 'stm32_timer_t'
2019-07-10 07:07:04 -05:00
Scott Lahteine
828cc71847
Tweaks to STM32 headers
2019-07-10 07:07:04 -05:00
Tanguy Pruvot
881e5a48bc
Fix M43 warning, XL density timers ( #14555 )
2019-07-10 06:30:57 -05:00
Scott Lahteine
056efaba91
Clean up section comments
2019-07-09 22:34:21 -05:00
Scott Lahteine
01e8813286
EEPROM_EMULATED_WITH_SRAM => SRAM_EEPROM_EMULATION
2019-07-09 21:31:33 -05:00
Msq001
439e28783b
BigTree SKR Pro V1.1 board support ( #14523 )
2019-07-06 21:52:17 -05:00
Bob Kuhn
dc02d0720d
Pins Debugging for STM32 — NEEDS TESTING ( #14309 )
2019-07-05 22:08:06 -05:00
Scott Lahteine
fe02241044
NONE on combined options
2019-07-05 18:20:24 -05:00
Giuliano Zaro
b7573c6e69
Remove unused WRITE_VAR, etc. ( #14493 )
2019-07-03 17:52:30 -05:00
Scott Lahteine
b615b492ba
Update some HAL comments
2019-06-28 23:10:40 -05:00
Scott Lahteine
93cd66ac11
Tweaky change from (C) to (c)
2019-06-27 23:58:16 -05:00
Scott Lahteine
d7d80418ae
Singleton for cutting tools ( #14429 )
2019-06-27 23:06:49 -05:00
Scott Lahteine
6664b90bbb
Init servo pins in HAL_init ( #14425 )
2019-06-27 16:29:17 -05:00
Eric Ptak
8934b32f1b
Fysetc AIO II / Cheetah STM32F1 ( #14407 )
2019-06-26 00:40:29 -05:00
Karl Andersson
4b365552db
Fix Marduino SBI/CBI redefine ( #14341 )
2019-06-21 00:46:23 -05:00
Scott Lahteine
9a56a88200
Use OUT_WRITE in SPI pin init
2019-06-15 15:36:43 -05:00
Scott Lahteine
2b5046659a
Tweak Marlin headers, comments
2019-05-22 16:54:52 -05:00
Giuliano Zaro
a74aad3b4a
Clean up HALs / FastIO ( #14082 )
2019-05-21 18:28:12 -05:00
Scott Lahteine
e7682eea42
Use Arduino.h include wrapper ( #13877 )
2019-05-02 00:45:50 -05:00
Scott Lahteine
b18316dd37
Fix some spacing
2019-04-12 13:35:42 -05:00
Scott Lahteine
c8a83fb122
SPINDLE_LASER_ENABLE => SPINDLE_LASER_ENA
2019-04-08 18:13:41 -05:00
Alexander Gavrilenko
3c47e1b4d1
Support Black STM32F407VET6 with RAMPS-like shield ( #13524 )
2019-04-05 15:30:19 -05:00
Scott Lahteine
de0046fc8b
Fix empty HAS_TIMER macros
2019-03-30 23:04:40 -05:00
Alexander Amelkin
e40636a7c1
Replace digitalPinHasPWM with HAS_TIMER ( #13520 )
2019-03-29 12:21:14 -05:00
Chris Pepper
ffc2c2d7c5
Move FAST_PWM_FAN code to HALs ( #13491 )
2019-03-26 01:03:23 -05:00
Scott Lahteine
b376c7e374
Group DISABLED items
2019-03-17 07:56:35 -05:00
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(...)`
2019-03-16 23:43:06 -05:00
Karl Andersson
5d3928cb01
PWM is not defined on Arduino Core STM32 ( #13405 )
2019-03-15 19:14:06 -05:00
Scott Lahteine
67bee06e43
No patch needed for non-libmaple analogWrite
...
See https://github.com/pinchies/Marlin/pull/1#issuecomment-471388743
2019-03-13 07:21:10 -05:00
Scott Lahteine
f89b375fb9
Fixes and improvements for PWM pins ( #13383 )
2019-03-13 06:51:15 -05:00
Scott Lahteine
51ff5b68fa
Clean up fastIO ahead of PWM patch
2019-03-12 20:39:55 -05:00
Scott Lahteine
1f7e220387
Make HAL ISR macros function-like
2019-03-10 20:44:27 -05:00
Scott Lahteine
2212da453a
Distinguish between analog/digital auto fans ( #13298 )
2019-03-05 00:41:31 -06:00
Karl Andersson
76e9ee33aa
Fix include order to make SERIAL_PORT_2 work ( #13241 )
2019-02-23 16:56:09 -06:00
Scott Lahteine
631d867dc9
HAL cleanups
2019-02-20 06:27:26 -06:00
Scott Lahteine
0feeef2604
Update copyright in headers
2019-02-12 15:30:11 -06:00
Karl Andersson
64a4649290
STM32 - Fix SD write ( #12897 )
2019-01-15 18:44:22 -06:00
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.)
2019-01-12 14:40:49 -06:00
Karl Andersson
8ae6f1e556
Fix errors and some compiler warnings with HAL_STM32 PlatformIO build ( #12869 )
2019-01-10 19:01:31 -06:00
mr-miky
11c7945365
Don't include STM32 Core code when compiling STM32 Generic ( #12575 )
2018-12-03 06:55:49 -06:00
Scott Lahteine
c986239837
A single SERIAL_ECHO macro type ( #12557 )
2018-11-29 16:58:58 -06:00
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()`.
2018-11-18 01:30:46 -06:00
Scott Lahteine
b3b4e6dc45
Change Marlin debug flag names to fix conflicts ( #12340 )
...
In reference to #11000
2018-11-05 22:48:28 -06:00
Karl Andersson
176654791e
Use board-specific or platform SPI pins in HAL_STM32 ( #12323 )
2018-11-04 15:03:45 -06:00
Nils Hasenbanck
cafabf2055
Implement DELAY_NS with CYCCNT on Cortex-M7 ( #12283 )
2018-11-01 16:11:51 -05:00
Karl Andersson
484ca68228
Fix misplaced parentheses ( #12284 )
2018-10-31 15:34:37 -05:00
Karl Andersson
1946f729fd
STM32 FastIO using register access ( #12276 )
2018-10-30 19:25:44 -05:00