414 Commits (7a04eb3a8b80e2c67eb7c35e83be84d761aa3d1a)

Author SHA1 Message Date
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