Marcio Teixeira
ec9aa4f468
[2.0.x] Miscellaneous fixes (#12039 )
* Allow override of soft SPI pins in `pins_*.h`
* Add default case to avoid compiler warning.
* Additional pin definitions for Archim 2.
* Einsy Retro has same timings as Einsy Rambo.
6 anos atrás
Nils Hasenbanck
191df5e17d
Correct PWM_PIN behavior for STM32 HALs (#12027 )
6 anos atrás
Scott Lahteine
bfcf570d68
Try ISR_ALIASOF for Endstop Interrupts
6 anos atrás
Scott Lahteine
cb7844c8d4
Save PROGMEM on serial prefixes (#12033 )
With default config and `EEPROM_SETTINGS`, saves over 200 bytes of PROGMEM.
6 anos atrás
Scott Lahteine
33056046a3
STM32 non-generic PWM_PIN and USEABLE_HARDWARE_PWM (#12016 )
6 anos atrás
Scott Lahteine
d5141c4e03
Fix up leading/trailing whitespace
6 anos atrás
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 anos atrás
AnoNymous
001f26b642
Template struct simplification for serial (#11990 )
6 anos atrás
Scott Lahteine
348004c34f
STM32F7 HAL using the official STM32 Arduino Core (#11750 )
6 anos atrás
Eduardo José Tagle
d6955f25b2
Expand serial support in DUE/AVR hals exploiting the templated MarlinSerial classes (#11988 )
6 anos atrás
Eduardo José Tagle
f6f2246f59
Templatized serial classes (#11982 )
6 anos atrás
Scott Lahteine
ee53f7d813
Revert header reorg.
6 anos atrás
Scott Lahteine
0dedb3e139
Reorganize some core headers (#11983 )
6 anos atrás
Scott Lahteine
606a4362b3
Reduce STM32F4 compile warnings
6 anos atrás
Scott Lahteine
11ac75edcb
Use PGM_P for PSTR pointers (#11977 )
6 anos atrás
Scott Lahteine
8489673cea
Adjust some HAL formatting
6 anos atrás
Alexander Amelkin
2ecfda80ac
Improve support for JTAG/SWD pins reuse (#11963 )
STM32 can reuse JTAG and SWD pins separately. Add `DISABLE_DEBUG` option to disable both interfaces and retain `DISABLE_JTAG` to disable JTAG only.
7 anos atrás
Scott Lahteine
7d5c336c56
Corrections for dylsexic TMC
7 anos atrás
Scott Lahteine
ad21a4f07b
Tweaks to HAL format and order
7 anos atrás
Scott Lahteine
b682a1961a
Tweak STM32F7 TMC2660 class
7 anos atrás
Alexander Amelkin
84926b1d5a
HAL general support for DISABLE_JTAG option (#11211 )
Some STM32-based boards may use multiplexed JTAG pins as IO. Up to now the `DISABLE_JTAG` option (defined in pins files) was only supported for AT90-based boards. This commit generalizes the code and adds support for boards based on STM32F1 and STM32F4.
7 anos atrás
Marcio Teixeira
ccbd045f02
Fixed warning about comparing signed to unsigned (#11909 )
7 anos atrás
Marcio Teixeira
c411e7eb0d
[2.0.x] Squelch compiler warnings seen with -Wall (#11889 )
7 anos atrás
Scott Lahteine
1718eff54a
Code changes supporting up to 6 extruders
7 anos atrás
Holger Müller
1a6f2b29b8
Add support for Triple-Z steppers/endstops
7 anos atrás
Sam Lane
d783400330
Updates to STM32F7 HAL, for completeness (#11770 )
7 anos atrás
Alexander Amelkin
f417408df1
[STM32F1] Fix HAL for new PlatformIO (#11749 )
7 anos atrás
Scott Lahteine
2a61c9a939
Various fixups to configs, spacing, etc.
7 anos atrás
Scott Lahteine
6a3207391f
Remove obsolete HAL_timer_restrain
7 anos atrás
Ilya Bukhonin
7ecb8b4af5
[2.0.x] Teensy 3.1 and 3.2 support (#11460 )
7 anos atrás
Scott Lahteine
a317bb4991
Remove stray tab
7 anos atrás
Scott Lahteine
ba1919c1eb
HAL tweaks to LPC1768 main
7 anos atrás
Scott Lahteine
0987ed2a18
Use American English
7 anos atrás
jmz52
a77f8c6dd5
Implement servo support for STM32F1 (#11580 )
Implement servo support for STM32F1. Original code was incomplete and depended on Servo library from stm32duino which conflicts with `module/servo.h`.
7 anos atrás
Dave Johnson
0456caf0ad
Consolidate shared HALs and isolate HAL compile (#11552 )
7 anos atrás
jmz52
dfe18ac633
Fix compilation error for STM32F1 with U8GLIB_SSD1306 or U8GLIB_SH1106 enabled (#11583 )
The `binary.h` file required by `lcd/dogm/dogm_bitmaps.h` is not present in stm32duino environment. Binary macros are defined in `bit_constants.h` in stm32duino framework.
7 anos atrás
ghent360
00d24a8219
Don't call __delay_4cycles for 0 cycle delay - takes a really long time. (#11586 )
7 anos atrás
jmz52
0b2d686160
Fix "SD init fail" problem for STM32F1 (#11579 )
Fix "SD init fail" problem for STM32F1 caused by incorrect SS pin state and incorrect SPI mode. Issue #11225
7 anos atrás
Nils Hasenbanck
b37bfeffeb
[2.0.x] Use the new const functions of the persistentStore api (#11544 )
7 anos atrás
Chris Pepper
5573ef62c6
[2.0.x] PersistentStore update followup (#11549 )
7 anos atrás
Scott Lahteine
834ea7fcea
Remove 'const' from PersistentStore::capacity
7 anos atrás
Dave Johnson
c64199941e
Compile only selected PIO environment (#11519 )
7 anos atrás
Andy Shaw
5be2559eda
Use flash memory to emulate EEPROM (#11500 )
Use a sector of the LPC flash memory to emulate EEPROM storage, removing the need to have an SD card to store system parameters.
7 anos atrás
Scott Lahteine
865ee5985f
Followup persistent store with heading, const
7 anos atrás
Scott Lahteine
6a8b906318
Followup for persistent_store_api.h
7 anos atrás
Chris Pepper
66d2b48b59
Update PersistentStore api (#11538 )
- Clean up the API to use a `static` class instance to adhere to Marlin convention
- Add `const` position data access for read/write
- Add Storage capacity to the interface
7 anos atrás
Scott Lahteine
15d68cb496
Pre-override of ST7920 delays before HAL.h
7 anos atrás
Scott Lahteine
244b9a8257
Better fastio 1280/2560 pin list
Co-Authored-By: bleughb <36889022 +bleughb@users.noreply.github.com >
7 anos atrás
Andy Shaw
624986d423
Ensure ADC conversion is complete before reading (#11336 )
The current Marlin implementation relies on a timer interrupt to start the ADC conversion and read it. However in some circumstances the interrupt can be delayed resulting in insufficient time being available for the ADC conversion. This results in a bad reading and false temperature fluctuations. These changes make sure that the conversion is complete (by checking the ADC hardware via the HAL) before reading a value.
See: https://github.com/MarlinFirmware/Marlin/issues/11323
7 anos atrás
teemuatlut
fbcdf5eaeb
Simplify stepper driver per-axis selection
7 anos atrás