Scott Lahteine
c6d39319de
Fix some whitespace
6 years ago
Giuliano Zaro
7b838f31be
DUE HAL cleanup ( #14126 )
6 years ago
Scott Lahteine
47fd74a98d
Clean up fast_pwm.cpp
6 years ago
Scott Lahteine
49229d97db
Consistent _useTimerX tests
6 years ago
Scott Lahteine
8924389dfc
Tweak servo µs macros
6 years ago
Scott Lahteine
f8bede6b5e
Fix some HAL includes
6 years ago
felixstorm
74f44783ac
ESP32 servo support ( #14109 )
6 years ago
felixstorm
bc5a1fe562
Various fixes for ESP32 ( #14102 )
6 years ago
Tanguy Pruvot
24b1818245
Secure STM32F1 servo code and M280 detach ( #14085 )
6 years ago
Scott Lahteine
a49919396a
LPC1768 MarlinServo => libServo
6 years ago
Scott Lahteine
2b5046659a
Tweak Marlin headers, comments
6 years ago
Giuliano Zaro
a74aad3b4a
Clean up HALs / FastIO ( #14082 )
6 years ago
Tanguy Pruvot
402f1f7307
STM32F1: STM32_HIGH_DENSITY is auto defined in HAL ( #14057 )
...
- Fix the `fsmc` and `sdio` units which required hard defines for use.
6 years ago
Tanguy Pruvot
256f810df2
Add open-drain output mode to STM32F1 FastIO ( #14050 )
...
- This mode is often used/preferred to drive printer boards' MOSFETs.
- Can generally boost the allowed output power (for hotbed,nozzle and fans).
6 years ago
Scott Lahteine
0b056970c6
Fix file.open in STM32 eeprom emu
6 years ago
Marcio Teixeira
9558962d59
Fix DUE HAL SW SPI compile error ( #14005 )
6 years ago
Chris Pepper
451ea996c9
[LPC176x] Fix switch fallthrough
6 years ago
Tanguy Pruvot
d7b0369e39
STM32: Fix SD EEPROM emulation conflict ( #14012 )
6 years ago
Tanguy Pruvot
8075893352
STM32: fix sdcard filename conversion
6 years ago
Tanguy Pruvot
93dd097b1c
Use E2END, if defined, for STM32F1 (SD) ( #13981 )
6 years ago
Bob Kuhn
456a0ee76b
Improve Due SW SPI, Fysetc sanity checks, &c. ( #13939 )
6 years ago
Scott Lahteine
a613bcad2d
Fix some spelling
6 years ago
Tanguy Pruvot
62b36d1b98
Fix STM32 timer warnings ( #13946 )
6 years ago
Marcio Teixeira
746c38f4be
Fix HAL_DUE multiple define error with graphical LCD ( #13971 )
6 years ago
Scott Lahteine
ad4ffa1d2f
Use C++ language supported 'nullptr' ( #13944 )
6 years ago
Tanguy Pruvot
e53d7e5517
STM32: ADC warning fix ( #13933 )
6 years ago
Tanguy Pruvot
11adcf1ce3
Add'l PLR options, AVR strstr_P compat ( #13880 )
6 years ago
J.C. Nelson
172abc305b
Malyan M200 core fixes ( #13927 )
6 years ago
Scott Lahteine
f9a50f451d
Serial out cleanup
6 years ago
Scott Lahteine
9853331b34
Fix temp init, loosen ADC grace period
6 years ago
Tanguy Pruvot
a4c24511f7
STM32: Fix Marduino SBI/CBI redefine ( #13912 )
6 years ago
Bob Kuhn
c48e6be366
Fysetc panel, RUMBA and ReARM pins, SPI mode 3 ( #13900 )
6 years ago
Chris Pepper
66f7065248
[LPC176x] Update extra script to support Python3 ( #13908 )
6 years ago
Scott Lahteine
e7682eea42
Use Arduino.h include wrapper ( #13877 )
6 years ago
Thomas Moore
ee243e4edf
Fix mixing extruder filament change ( #13803 )
6 years ago
Scott Lahteine
9ccbd382e7
Update Watchdog description
6 years ago
Scott Lahteine
b6279abd30
Better THERMAL_PROTECTION_GRACE_PERIOD
...
See #13783
6 years ago
Kajetan Rzepecki
875e673a8c
Add HAL-based thermal protection grace period for all heaters ( #13778 )
6 years ago
Bob Kuhn
81ca5a4cd4
Fix and improve FYSETC LCD support ( #13767 )
6 years ago
felixstorm
4e35e6c705
Fix SS pin in ESP32 HW SPI ( #13781 )
6 years ago
felixstorm
4a48b70c0b
Fix (re-)defines in HAL_ESP32 ( #13780 )
6 years ago
Kajetan Rzepecki
ea1ee02b53
Disable hardware PWM on ESP32 I2S expander ( #13762 )
6 years ago
Marcio Teixeira
4ac28ba6b3
Add missing file ( #13754 )
6 years ago
jmdearras
b65cb5704d
Fix, improve FYSETC_MINI_12864 support ( #13730 )
6 years ago
Kajetan Rzepecki
d83a7924e6
Fix ESP32 TOGGLE() with I2S expander ( #13743 )
6 years ago
Marcio Teixeira
08f21335a6
Fix bad opcode in LIGHTWEIGHT_UI; add 32-bit HAL and Due compatibility ( #13751 )
6 years ago
Kajetan Rzepecki
7c8ee0cd5b
Enable more ADC1 channels (pins 32-39) ( #13742 )
6 years ago
Kajetan Rzepecki
e1acc09c6e
Fix LPC1768 HAL SSD* screen init ( #13741 )
6 years ago
jmdearras
5f49b65c1f
Move LPC SD options to configs, add MKS_MINI_DISPLAY to SKR boards ( #13712 )
6 years ago
Bob Kuhn
9b578ca343
Support FYSETC_MINI_12864 on Re-ARM, RAMPS_FD, MKS SBASE ( #13717 )
6 years ago
Kajetan Rzepecki
20dc45bca7
Refactor, fix ESP32 WebSocketSerial ( #13689 )
6 years ago
Kajetan Rzepecki
6fe90f0324
Define I2S pins for ESP32 ( #13714 )
6 years ago
Scott Lahteine
b18316dd37
Fix some spacing
6 years ago
Scott Lahteine
f2ba0a5ae7
Tweak some formatting
6 years ago
Scott Lahteine
7e58d33a2e
Update some headers
6 years ago
Scott Lahteine
d72946a8d7
Fix LPC1768 build with no watchdog
...
Fix issue mentioned at https://github.com/MarlinFirmware/Marlin/pull/13587#issuecomment-481737509
6 years ago
Scott Lahteine
c8a83fb122
SPINDLE_LASER_ENABLE => SPINDLE_LASER_ENA
6 years ago
Bob Kuhn
9a56d90150
Fix M43 on LPC176x ( #13587 )
...
The real fix. PR #13568 was wrong.
6 years ago
Kajetan Rzepecki
27693cec29
Extend ESP32 HardwareSerial with flushTX. ( #13588 )
6 years ago
Alexander Gavrilenko
3c47e1b4d1
Support Black STM32F407VET6 with RAMPS-like shield ( #13524 )
6 years ago
Kajetan Rzepecki
692a0198f9
Fix SPISettings frequency parameters in ESP32 HW SPI ( #13573 )
6 years ago
Kajetan Rzepecki
63d95862fa
Add FastIO TOGGLE for ESP32 ( #13574 )
6 years ago
Kajetan Rzepecki
b21ca53dfc
SPIFFS-backed PersistentStore for ESP32 ( #13566 )
6 years ago
Scott Lahteine
de0046fc8b
Fix empty HAS_TIMER macros
6 years ago
Alexander Gavrilenko
6d9aaca082
Fix compilation error for MKS Robin ( #13506 )
6 years ago
Scott Alfter
c6dbe6e9d6
Fix Teensy 3.5/3.6 __get_primask ( #13514 )
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
Bob Kuhn
6bd0a0be97
Relocate DUE Stepper ISR to TC0,2 ( #13481 )
6 years ago
pinchies
ef3b93daa1
Fix STM32F1 SD-based EEPROM emulation ( #13475 )
...
If `openFile` is given `true`, then it has read-only access. Because all the writing occurs on the next line, this breaks SD card as EEPROM.
6 years ago
Scott Lahteine
380c771988
Handle word-padded flash-based eeprom (STM32F1)
...
Fix #13445
6 years ago
Scott Alfter
32332bcd03
Proceed with Teensy 3.5/3.6 HAL ( #13450 )
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
6214c997c0
Remove includes of <binary.h>
6 years ago
Scott Lahteine
4555ae448f
Fixups for ESP32
6 years ago
Hadrien Jouet
0278ad0a6d
Add ESP32 WiFi interface ( #11209 )
6 years ago
Scott Lahteine
ad91476d26
Fix USEABLE_HARDWARE_PWM
6 years ago
Scott Lahteine
51ff5b68fa
Clean up fastIO ahead of PWM patch
6 years ago
jmz52
013bb469ca
Fix compilation for STM32F1 with no SDIO ( #13366 )
6 years ago
Scott Lahteine
aa1d587128
Some LCD code cleanup
6 years ago
Scott Lahteine
1f7e220387
Make HAL ISR macros function-like
6 years ago
Scott Lahteine
77b4176152
Use lib include for bit_constants.h
6 years ago
pinchies
4c43e6c48b
Fix "spontaneous heating" issue (WRITE bug) on STM32 ( #13356 )
...
Should fix "spontanous heating" problems due to order of operations error. Error occurs at least with ststm32 v5.1.0 in PlatformIO.
6 years ago
Msq001
fb3302feda
Fix STM32F1 Serial and ADC pins ( #13331 )
6 years ago
Reece Kibble
dbead66988
Allows user to set (almost) any PWM frequency ( #12638 )
6 years ago
Scott Lahteine
44571775bd
Further support for 6 extruders
6 years ago
Scott Lahteine
2212da453a
Distinguish between analog/digital auto fans ( #13298 )
6 years ago
Chris Pepper
b0553d2d97
Add M997 support and simple implementation for LPC176x ( #13281 )
6 years ago
Scott Lahteine
fa236e9718
General cleanup ahead of L64XX
6 years ago
Scott Lahteine
9a6b90f47d
TMC2660.h comment tweaks
6 years ago
Bob Kuhn
ddbe4cfa20
Printrboard G2 support ( #13116 )
6 years ago
Scott Lahteine
4200f9ed62
Hide freeMemory et.al. warnings
6 years ago
Scott Lahteine
dc88747770
Fix Due GET_ARRAY_IS_DIGITAL
...
Co-Authored-By: bob-the-kuhn <bob.kuhn@att.net>
6 years ago
Scott Lahteine
833c2e54a1
Add an empty flushTX to MarlinSerialUSB_Due
6 years ago
Scott Lahteine
e15354e387
Simplify serial port redirect ( #13234 )
6 years ago
Karl Andersson
76e9ee33aa
Fix include order to make SERIAL_PORT_2 work ( #13241 )
6 years ago
Scott Lahteine
15aa932aa6
HAL for Linux ( #13146 )
6 years ago
Scott Lahteine
a43e892fb5
Use 8-bit i2c address on LPC platform
...
Fix #9799 — hopefully not a unicorn
6 years ago
Scott Lahteine
631d867dc9
HAL cleanups
6 years ago
Scott Lahteine
758c6c9464
Very minor SPI speedup
6 years ago
Scott Lahteine
422dd6666e
Fix Due EEPROM write bug
...
See #13065
6 years ago
Scott Lahteine
03e109c4a3
FLASH_EEPROM => FLASH_EEPROM_EMULATION
6 years ago
Scott Lahteine
50917ccda6
Tweak some u8g interface code
6 years ago
Scott Lahteine
3a1b6fe8c1
Coding standards
6 years ago
Scott Lahteine
18996d2595
Fix some spelling
6 years ago
InsanityAutomation
7f1b69b0c8
Add HOST_PROMPT_SUPPORT ( #13039 )
6 years ago
Scott Lahteine
0feeef2604
Update copyright in headers
6 years ago
Scott Lahteine
894f5c24a8
Fix trailing whitespace
6 years ago
Scott Lahteine
d9a3fea022
Comments in HAL_spi_STM32F1.cpp
6 years ago
Simon Jouet
5cd0fa3ce1
Basic GPIO expander using the ESP32 I2S peripheral ( #12959 )
6 years ago
Scott Lahteine
e1587da228
Clean up HAL_spi_Due.cpp ( #13087 )
6 years ago
Scott Lahteine
b96cc30cd0
HAL spacing tweak
6 years ago
Scott Lahteine
9e394139e5
Followup to 90911104
6 years ago
Andy Shaw
9091110460
LPC1768 - Don't change CS pin state ( #13015 )
6 years ago
Scott Lahteine
4fa1c52688
Tweak serial output code
6 years ago
revilor
6a57d0b381
Prusa MMU2 ( #12967 )
6 years ago
Scott Lahteine
8f9b246d0e
Tweak some formatting, replace tabs
6 years ago
Scott Lahteine
00cdd41b5f
Clean up for recent changes
6 years ago
Bob Kuhn
2f35747f29
L6470 SPI daisy chain support ( #12895 )
6 years ago
Scott Lahteine
48a581ba2e
Tweak some HAL Due code
6 years ago
Scott Lahteine
0495fcd475
Minor spacing fix
6 years ago
Scott Lahteine
a5911765c3
Tweak some spacing
6 years ago
Scott Lahteine
424aa05cc2
Fix some file endings
6 years ago
Scott Lahteine
ce563d7c2e
Various general cleanups
...
Mostly from the L6470-oriented PR
6 years ago
Karl Andersson
64a4649290
STM32 - Fix SD write ( #12897 )
6 years ago
Scott Lahteine
3e867008f0
Fix some HAL_STM32F1 type declarations
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
InsanityAutomation
a403d9a50c
Improve menu pause / resume ( #12876 )
6 years ago
Chris Pepper
2919f3045d
[LPC176x] Update PIO extrascript ( #12878 )
6 years ago
Scott Lahteine
0d30ccf767
Tweaks to TMC26XStepper
6 years ago
Karl Andersson
8ae6f1e556
Fix errors and some compiler warnings with HAL_STM32 PlatformIO build ( #12869 )
6 years ago
jmz52
d372e7e477
SDIO support for STM32F1 ( #12782 )
6 years ago
jmz52
813a4ea107
Add support for Mks Robin TFT display ( #12706 )
...
* Add support for MKS Robin TFT display
- Add support for MKS Robin TFT display and encoder for MKS Robin board.
- Generic 128x64 UI with x2 upscale is used (for now).
- Tested on MKS Robin TFT V2.0 with ST7789V controller.
6 years ago
jmz52
c4237b529f
Fix MKS Mini and SD card conflct over SPI mode ( #12783 )
6 years ago
Phr3d13
01f75591c6
Fix GTM32_PRO_VB Serial and HAL via watchdog ( #12753 )
...
Move `watchdog_reset` from `.h` to `.cpp` to eliminate the need to include `MarlinConfig.h` in a HAL-related file.
6 years ago
Marcio Teixeira
60cb36bef3
Misc. improvements ( #12747 )
...
* Make ExtUI respect MAXTEMP limits
- Temperatures are now clamped by MAXTEMP limits rather than arbitrary values.
* Speed up USB init, add status
- Speed up USB initialization
- Show status message if init failed
* Enable status messages for EXTENSIBLE_UI
* Adjust max limit to MAX_TEMP - 15
* Misc. tweaks to formatting, const, etc.
6 years ago
Reece Kibble
7557f8d68c
Rename all Stm32f1 to STM32F1 ( #12639 )
6 years ago
jmz52
33abb86b7e
Add support for MKS Robin board ( #12650 )
...
Implement initial support for MKS Robin (STM32F103ZET6) board.
Custom build script is used to generate encrypted firmware compatible with original MSK Robin bootloader (i.e. safe firmware update from SD card and possibility to go back to original close-source firmware).
6 years ago
Scott Lahteine
f6321f878a
Simpler AVR + Trinamic + Soft Serial sanity-check ( #12606 )
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
Marcio Teixeira
7109dadd21
Additional pin definitions for Archim 2 ( #12500 )
...
- Added GPIO pins to Archim 2
- Added new 108 pin to `fastio_Due.h`
6 years ago
Andy Shaw
4975b13b74
Fix problems with LPC1768 EEPROM flash emulation ( #12503 )
...
* Remove duplicate calls to PrepareSector
Some flash memory API calls require that a call to `PrepareSector` is done before use. However this call is already made by the LPC1768 framework so the calls in this code are not required.
* Ensure correct alignment of RAM buffer
The LPC176X flash API requires that the RAM buffer used for write operations must be word-aligned. This change ensures that this is the case.
6 years ago
Ludy
90a58488b5
Corrected unused var, default switch, Travis tests ( #12477 )
6 years ago
Scott Lahteine
826d570162
Combine Travis CI option-setting commands ( #12474 )
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
Ludy
22d7fed60a
Fix compile error with SD_FIRMWARE_UPDATE ( #12462 )
6 years ago
Scott Lahteine
66580f32c2
Make CardReader class static ( #12451 )
...
* Make CardReader a static class
* Make CardReader flags into bitfields
6 years ago
Ryan
052d102ded
UltiMachine Archim 1 support ( #12404 )
6 years ago
Scott Lahteine
0ee1a92971
Group status methods, share reset_status with Extensible UI ( #12414 )
...
* Group status methods, share reset_status with Extensible UI
* Move common DOGM code to headers
6 years ago
Scott Lahteine
4e0c935959
Update HAL and libs formatting
6 years ago
Scott Lahteine
b3b4e6dc45
Change Marlin debug flag names to fix conflicts ( #12340 )
...
In reference to #11000
6 years ago
Scott Lahteine
c31e1735dd
Restore LPC1768_PIN_INTERRUPT_M, apply to Z3
...
- In reference to #12166
6 years ago
Scott Lahteine
0c85869c26
Clean up file endings
6 years ago
Scott Lahteine
e0956bb572
Drop 'register' storage specifier
6 years ago
Scott Lahteine
9c0e05552e
Suppress some compile warnings
6 years ago
Karl Andersson
176654791e
Use board-specific or platform SPI pins in HAL_STM32 ( #12323 )
6 years ago
Scott Lahteine
f5eab912ed
Apply #pragma once, misc cleanup ( #12322 )
...
* Apply #pragma once in headers
* Adjust some thermistors formatting
* Misc cleanup and formatting
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
3583e2b449
Followup to Menu Refactor ( #12275 )
6 years ago
mholeys
63ce8baa55
Fix Teensy 3.5/3.6 ADC access for ADC1 ( #12258 )
6 years ago
Scott Lahteine
5580773191
Use FastIO, sanity-check LPC SD options, apply formatting ( #12231 )
6 years ago
Scott Lahteine
d015f746cc
Fix some compile warnings ( #12220 )
6 years ago
Scott Lahteine
fbfb48cce0
Indent a block
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
Scott Lahteine
8d3a92fc4a
Followup to millis_t patch
6 years ago
Ludy
44369d536a
Use millis_t where needed ( #12152 )
6 years ago
Scott Lahteine
c6a5c74208
Add parentheses to SD macros
6 years ago
Marcio Teixeira
71e19baf69
Fix kill => disable_all_heaters => print_job_timer.stop ( #12146 )
...
- Remove `print_job_timer.stop()` from `disable_all_heaters`
- Call `print_job_timer.stop()` for relevant `disable_all_heaters()`.
- Split up `kill()` for watchdog interrupt safety
6 years ago
Marcio Teixeira
5b7dd553d3
Fix sd_mmc_spi_mem capacity; clean up USB code ( #12134 )
...
- Fix an error in the return value of `sd_mmc_spi_read_capacity` which was causing the host OS to read beyond the last sector in the card.
- Clean up the USB flashdrive code and add better debugging.
6 years ago
Scott Lahteine
df768e7d8f
Followup to #12129
6 years ago
Chris Pepper
3c13c9e3e9
[LPC176x] Fix USEABLE_HARDWARE_PWM macro, cleanup multiple LED support ( #12129 )
6 years ago
Nils Hasenbanck
9deb23aa47
Add missing SerialUSB definition for STM32 HAL ( #12124 )
6 years ago
Scott Lahteine
bc75eb2c64
Cleanup for HAL_spi_Due.cpp
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
Christopher Pepper
e5b4bf22d4
Remove debug output from flash persistent store implementation
6 years ago
Christopher Pepper
254b68fe2c
servo update
6 years ago
Andy Shaw
870bfd08f5
usb and sdcard sharing improvements
...
* Add traceback after watchdog timeout
Add the cpability to perform a traceback following a watchdog timeout.
* Enhanced hardware SPI
Allow use of either SSP0 or SSP1.
Ensure that no data is left in I/O buffers after calls to enable sharing of SSP hardware.
* Make flash emulation of eeprom the default
Make use of flash for eeprom storage the default. This means that usage of eeprom will not cause USB drive mount/unmount operations.
* Allow sharing of SD card
SD card I/O operations from the USB stack take place in idle loop, rather than at interrupt time. Allowing sharing of the SPI bus.
New configuration options to allow usage of the SD card to be specified.
* Fix problem with hardware SPI pins
6 years ago
Christopher Pepper
5ddf52d58e
[HAL][LPC176x] Pull out framework into separate repository
...
Framework and build platform now located at https://github.com/p3p/pio-framework-arduino-lpc176x and https://github.com/p3p/pio-nxplpc-arduino-lpc176x respectively
fix mkssbase leds
move hardware serial
remove hardware/software serial
Hardware Serial extraction
HardwareSerial ISRs
fix disabled serial2 causing Serial object to link
move usb devices out to framework
separate out adc/pwm peripheral function from hal.cpp
fix includes
remove unused pwm init
move adc
HAL header update
templated filtered adc
LPC1769 platform
6 years ago
Scott Lahteine
0bd54392b7
Use uint8_t in EEPROM code
6 years ago
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 years ago
Nils Hasenbanck
191df5e17d
Correct PWM_PIN behavior for STM32 HALs ( #12027 )
6 years ago
Scott Lahteine
bfcf570d68
Try ISR_ALIASOF for Endstop Interrupts
6 years ago
Scott Lahteine
cb7844c8d4
Save PROGMEM on serial prefixes ( #12033 )
...
With default config and `EEPROM_SETTINGS`, saves over 200 bytes of PROGMEM.
6 years ago
Scott Lahteine
33056046a3
STM32 non-generic PWM_PIN and USEABLE_HARDWARE_PWM ( #12016 )
6 years ago
Scott Lahteine
d5141c4e03
Fix up leading/trailing whitespace
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
AnoNymous
001f26b642
Template struct simplification for serial ( #11990 )
6 years ago
Scott Lahteine
348004c34f
STM32F7 HAL using the official STM32 Arduino Core ( #11750 )
6 years ago
Eduardo José Tagle
d6955f25b2
Expand serial support in DUE/AVR hals exploiting the templated MarlinSerial classes ( #11988 )
6 years ago
Eduardo José Tagle
f6f2246f59
Templatized serial classes ( #11982 )
6 years ago
Scott Lahteine
ee53f7d813
Revert header reorg.
6 years ago
Scott Lahteine
0dedb3e139
Reorganize some core headers ( #11983 )
6 years ago
Scott Lahteine
606a4362b3
Reduce STM32F4 compile warnings
6 years ago
Scott Lahteine
11ac75edcb
Use PGM_P for PSTR pointers ( #11977 )
6 years ago
Scott Lahteine
8489673cea
Adjust some HAL formatting
6 years ago
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.
6 years ago
Scott Lahteine
7d5c336c56
Corrections for dylsexic TMC
6 years ago
Scott Lahteine
ad21a4f07b
Tweaks to HAL format and order
6 years ago
Scott Lahteine
b682a1961a
Tweak STM32F7 TMC2660 class
6 years ago
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.
6 years ago
Marcio Teixeira
ccbd045f02
Fixed warning about comparing signed to unsigned ( #11909 )
6 years ago
Marcio Teixeira
c411e7eb0d
[2.0.x] Squelch compiler warnings seen with -Wall ( #11889 )
6 years ago
Scott Lahteine
1718eff54a
Code changes supporting up to 6 extruders
6 years ago
Holger Müller
1a6f2b29b8
Add support for Triple-Z steppers/endstops
6 years ago
Sam Lane
d783400330
Updates to STM32F7 HAL, for completeness ( #11770 )
6 years ago
Alexander Amelkin
f417408df1
[STM32F1] Fix HAL for new PlatformIO ( #11749 )
6 years ago
Scott Lahteine
2a61c9a939
Various fixups to configs, spacing, etc.
6 years ago
Scott Lahteine
6a3207391f
Remove obsolete HAL_timer_restrain
6 years ago
Ilya Bukhonin
7ecb8b4af5
[2.0.x] Teensy 3.1 and 3.2 support ( #11460 )
6 years ago
Scott Lahteine
a317bb4991
Remove stray tab
6 years ago
Scott Lahteine
ba1919c1eb
HAL tweaks to LPC1768 main
6 years ago
Scott Lahteine
0987ed2a18
Use American English
6 years ago
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`.
6 years ago
Dave Johnson
0456caf0ad
Consolidate shared HALs and isolate HAL compile ( #11552 )
6 years ago
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.
6 years ago
ghent360
00d24a8219
Don't call __delay_4cycles for 0 cycle delay - takes a really long time. ( #11586 )
6 years ago
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
6 years ago
Nils Hasenbanck
b37bfeffeb
[2.0.x] Use the new const functions of the persistentStore api ( #11544 )
6 years ago
Chris Pepper
5573ef62c6
[2.0.x] PersistentStore update followup ( #11549 )
6 years ago
Scott Lahteine
834ea7fcea
Remove 'const' from PersistentStore::capacity
6 years ago
Dave Johnson
c64199941e
Compile only selected PIO environment ( #11519 )
6 years ago
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.
6 years ago
Scott Lahteine
865ee5985f
Followup persistent store with heading, const
6 years ago
Scott Lahteine
6a8b906318
Followup for persistent_store_api.h
6 years ago
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
6 years ago
Scott Lahteine
15d68cb496
Pre-override of ST7920 delays before HAL.h
7 years ago
Scott Lahteine
244b9a8257
Better fastio 1280/2560 pin list
...
Co-Authored-By: bleughb <36889022+bleughb@users.noreply.github.com>
7 years ago
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 years ago
teemuatlut
fbcdf5eaeb
Simplify stepper driver per-axis selection
7 years ago
Scott Lahteine
64f007580b
Fix some header comments
7 years ago
teemuatlut
f38c81cdde
LPC176x: Expand HW SPI class
7 years ago
teemuatlut
3b5dec4b13
Add new LPC include folder
7 years ago
Scott Lahteine
d05e832f29
Add STM32F1 support for SD-based EEPROM
7 years ago
etagle
1367df2875
Replace double with float, optimize calculation
7 years ago
etagle
e7e896e7d7
More tweaks to fastio_Due.h
7 years ago
Chris Pepper
55f4744e54
[LPC176x] Endstop Interrupts Feature ( #11202 )
...
Enable the endstop interrupts feature for LPC176x boards. Although Smoothieboard chose to use non-interrupt capable pins for their endstops, and this has been copied by clones, so they can't use it.
7 years ago
Chris Pepper
5abf5bc8a7
[LPC176x] Fix Interrupt forward declarations ( #11200 )
7 years ago
Chris Pepper
5616581eb1
[LPC176x] Update fastio _GET_INPUT, _GET_OUTPUT macros ( #11168 )
7 years ago
Scott Lahteine
8a8eae8d97
Implement more fastio_Due macros ( #11165 )
7 years ago
Scott Lahteine
fc10101b06
Tweaks to fastio_Due.h
7 years ago