731 Commits (f055f7c5356d45c7e25c2bd59a702568d6587250)

Author SHA1 Message Date
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
Alexander Amelkin ffdbc1f42c STM32F1: Fix SD card persistent store API (#11090) 7 years ago
Scott Lahteine d86f25ab63 Fix Serial ISR priority for LPC1768
Co-Authored-By: p3p <p3p@p3psoft.co.uk>
7 years ago
Scott Lahteine 99591dc20c
Filter endstops state at all times (#11066) 7 years ago
Chris Pepper 0312c42f9d [2.0.x] LPC176x Serial cleanup (#11032) 7 years ago
Scott Lahteine c1269c2ec1 Tweak AVR critical section defines 7 years ago
Chris Pepper f88adcbfd5 [2.0.x][LPC176x] Fix binary linking broken by pio update (#11026) 7 years ago
Simon Jouet e2aeda61ed HAL for Espressif ESP32 Wifi 7 years ago
Scott Lahteine 19d4c7c1cd Tweak HAL header comments 7 years ago
etagle a215725df6 Fix stepper pulse timing
Always honor minimum period on stepper pulse generation, and fix timing calculations

Signed-off-by: etagle <ejtagle@hotmail.com>
7 years ago
Scott Lahteine a9861a780e Tweak HAL heading 7 years ago
Scott Lahteine cf53e502a2 No need to set input after attachInterrupt 7 years ago
Karl Andersson e0276d2f32 Official STMicroelectronics Arduino Core STM32F4 HAL compatibility (#11006) 7 years ago
Scott Lahteine 4dbec774b5 HAL_*_TIMER_RATE => *_TIMER_RATE 7 years ago
Scott Lahteine 9b945c13a1 Fix STM32F1 ISR_ENABLED 7 years ago
Alexey Shvetsov 2ddba201c0 STM32F1 HAL Fixes (#10999)
- Enable / disable interrupts with `__iSeiRetVal` / `__iCliRetVal`
- Add STM32F1 to Travis CI tests
7 years ago
Eduardo José Tagle 5590c8ffd0 Fix MarlinSerial (AVR) (#10991)
An undocumented hw bug makes the UART lose chars when RX ISR is disabled, even for a very small amount of time. This happens when RX_BUFFER > 256, and the result is corrupted received commands. Solved by implementing pseudo-atomic operations on 16bit indices.
7 years ago
Scott Lahteine 117fd007a9 Followup to pin error change 7 years ago
etagle 99af086cea Add hidden Serial overflow debug options 7 years ago
etagle d90e8fcad9 Fix XON/XOFF implementation
Pointed out by @GMagician
7 years ago
Scott Lahteine 3701869e6c Add HAL_timer_start for AVR, use stepper timer to time pulses 7 years ago
Scott Lahteine a426986df8
Ensure pins set to INPUT after attachInterrupt (#10928) 7 years ago
Giuliano c9d1a620d4 [2.0.x] fix indentations (#10934) 7 years ago
Scott Lahteine c685c7b7dd STM32F4: All pins can do PWM 7 years ago
Eduardo José Tagle d3c02410a8 [2.0.x] Small assorted collection of fixes and improvements (#10911)
* Misc fixes and improvements

- Get rid of most critical sections on the Serial port drivers for AVR and DUE. Proper usage of FIFOs should allow interrupts to stay enabled without harm to queuing and dequeuing.
  Also, with 8-bit indices (for AVR) and up to 32-bit indices (for ARM), there is no need to protect reads and writes to those indices.
- Simplify the XON/XOFF logic quite a bit. Much cleaner now (both for AVR and ARM)
- Prevent a race condition (edge case) that could happen when estimating the proper value for the stepper timer (by reading it) and writing the calculated value for the time to the next ISR by disabling interrupts in those critical and small sections of the code - The problem could lead to lost steps.
- Fix dual endstops not properly homing bug (maybe).

* Set position immediately when possible
7 years ago
Chris Pepper d87257f63c [2.0.x][LPC176x] Fix PIO build flags (#10909)
Don't build and link with different flags, the binary may not work.
7 years ago
Scott Lahteine cbcb284f4a Allow libServo::attach to work on Teensy 3.5/3.6 7 years ago
Chris Pepper f89f7c4a82 [2.0.x][LPC176x][Build] Force single precision constants, disable freestanding (#10892) 7 years ago
android444 16da5c62d0 Teensy 3.x fastio pullup (#10890) 7 years ago
Scott Lahteine 9b9b62b218 delay(SERVO_DELAY) => safe_delay(servo_delay[servo_index]) 7 years ago
android444 9c235ef821 [HAL]Add support for ST7920 - Teensy 3.x (#10872) 7 years ago
Bob-the-Kuhn 1c0ad8bbae wrong type of exit method 7 years ago
Eduardo José Tagle 6f330f397e [2.0.x] Buffer overflow and scroll fix, UTF8 cleanup (#10844) 7 years ago
Bob Kuhn 235facd545 install AVRDUDE 5.10, faster disk find for LPC1768 (#10849) 7 years ago
Bob Kuhn e2db509d58 [2.0.x] Update/Fix LPC1768 extra script upload_extra_script.py (#10843)
* Use a different method to find the volume info in Windows
7 years ago
Scott Lahteine 5f8591528e Remove #pragmas that don't help c files 7 years ago
Scott Lahteine c89649b46e Suppress U8glib build warnings 7 years ago
Scott Lahteine 4118199ddd Tweaks to core headers 7 years ago
Bob Kuhn 6dfbb39f83 [LPC1768] Add error-handling to upload script, update autobuild.py (#10802) 7 years ago
etagle 569df3fc0c Fix interrupt-based endstop detection
- Also implemented real endstop reading on interrupt.
7 years ago
etagle 0566badcef Add memory barrier, optimal interrupt on-off
Disabling an ISR on ARM has 3 instructions of latency. A Memory barrier is REQUIRED to ensure proper and predictable disabling. Memory barriers are expensive, so avoid disabling if already disabled (See https://mcuoneclipse.com/2015/10/16/nvic-disabling-interrupts-on-arm-cortex-m-and-the-need-for-a-memory-barrier-instruction/)
7 years ago
Scott Lahteine c2fb2f54a1 Use assembly for AVR ISR vectors
Co-Authored-By: ejtagle <ejtagle@hotmail.com>
7 years ago
Scott Lahteine 206014a957 Fix LPC176x timer functions
Co-Authored-By: ejtagle <ejtagle@hotmail.com>
7 years ago
Scott Lahteine 59f7861bcb
Move backtrace to the HAL folder (#10790) 7 years ago
Scott Lahteine c173a31060 Fix some compile warnings 7 years ago
Chris Pepper 9b64fdbc3a [LPC176x] HAL: Add missing program space definition (#10776) 7 years ago
Scott Lahteine 50270b53a0 Clear up some more compile warnings 7 years ago
etagle 40d7e12827 Removing warnings from compilation 7 years ago
Scott Lahteine fb608938f8 Prevent compilation of unused u8g-oriented code 7 years ago
Scott Lahteine 37b15fe4cf Reorder HAL timer header items 7 years ago
Scott Lahteine 883b0c9880
Convert custom maths to inlines (#10728) 7 years ago
Scott Lahteine 99ecdf59af Smarter MIN, MAX, ABS macros
Use macros that explicitly avoid double-evaluation and can be used for any datatype, replacing `min`, `max`, `abs`, `fabs`, `labs`, and `FABS`.

Co-Authored-By: ejtagle <ejtagle@hotmail.com>
7 years ago
etagle 9d98a62699 Followup to HAL optimizations and delays
- Cleanups, fixes for Due HAL code.
- TC_IER is write-only. Use TC_IMR to test ISR state.
7 years ago
Scott Lahteine a1062eec5b
Better handling of DELAY_NS and DELAY_US (#10716)
Co-Authored-By: ejtagle <ejtagle@hotmail.com>
7 years ago
etagle 1b225a2809 DUE: Emergency parser for the USB CDC 7 years ago
Scott Lahteine 0436e16fb2 Apply shorthand Assembler macros 7 years ago
Scott Lahteine d1b619be52 Standardize some hexadecimals 7 years ago
Scott Lahteine 81b632c255 Additional temp-oriented improvements 7 years ago
nightdemonx e911635fb1 Add thermocouple with AD8495 support 7 years ago
Scott Lahteine 3f68203324 Modify FastIO error message 7 years ago
Scott Lahteine a474a7e675 Correct AVR_ATmega328_FAMILY macro
…as with #10540

Co-Authored-By: per1234 <per1234@users.noreply.github.com>
7 years ago
Scott Lahteine 456cf971af HAL FastIO cleanup and fixes 7 years ago
J.C. Nelson 5b5e322356 Set Interrupt Priorities and Grouping for STM32F103. (#10517) 7 years ago
Scott Lahteine 2578996631
[2.0.x] Emergency parser for multiple serial ports (#10524) 7 years ago
Chris Pepper 2242b98248 [LPC176x] Emergency Parser Feature (#10516) 7 years ago
Eduardo José Tagle c1e5ebbc1e [2.0.x] AVR: Atomic bit set and clear of upper pin ports without critical section (#10502)
* AVR: Atomic bit set and clear

The critical section can be dropped, saving 3 cycles per access. Also simplified pin toggling for all ports.
7 years ago
Scott Lahteine a3ce8a3fcd Add sanity checks for EMERGENCY_PARSER 7 years ago
Eduardo José Tagle 0c428a66d9 Proper AVR preemptive interrupt handling (#10496)
Also simplify logic on all ARM-based interrupts. Now, it is REQUIRED to properly configure interrupt priority. USART should have highest priority, followed by Stepper, and then all others.
7 years ago
Scott Lahteine f423e54f77 Strip trailing spaces 7 years ago
Scott Lahteine cb46cb8480
Add HAS_HEATED_BED conditional (#10495) 7 years ago
Scott Lahteine dea686cf55
Define short pin names in fastio for STM32 (#10461) 7 years ago
Karl Andersson 428c54f2ad [2.0.x] HAL for STM32F4 (#10434) 7 years ago
GMagician 20772492aa Fix compile warnings in AVR fastio.h (#10440) 7 years ago
Chris Pepper c9aed73987 Fix missed includes from HAL macro patch (#10416) 7 years ago
Scott Lahteine 29dda871cb Patch "upload_disk" to make python happy 7 years ago
Chris Pepper cc6d41e1d3 Use a macro for HAL header redirection (#10380) 7 years ago
Bob-the-Kuhn 85014cd132 [2.0.x] LPC1768 - automatic selection of upload disk (#10374) 7 years ago
Scott Lahteine 44a697ab04 Set STM32F1 TEMP_TIMER_FREQUENCY to 1K
Responding to https://github.com/MarlinFirmware/Marlin/pull/8833#issuecomment-379426803
7 years ago
Scott Lahteine 9ff4e9e1e6 Patch _IS_HW_SPI so defined() works 7 years ago
Lenbok 0e8242180d Chamber temperature monitoring and auto fan control.
This is an initial cut for feedback, updated for 2.0.x.

Chamber temperature is currently reported along with hot end and bed
temperatures to serial. The format is just like that used for hot end
and bed temperatures, but using 'C' prefix. As there is no heater,
target is always 0. Is this appropriate, is there a better way to report
chamber temperatures?

Chamber temperatures are not reported on the LCD in any way.

When auto chamber fan is enabled, it currently just uses the same
temperature threshold as the other auto controlled fans.

As the chamber temperature is not connected to any heater, it doesn't
undergo mintemp/maxtemp monitoring. This would need to change in the
future if chamber heating became a feature.
7 years ago
Bob-the-Kuhn acda4ecb20 Fix DUE Trinamic SW/HW SPI sanity check (#10336) 7 years ago
Bob-the-Kuhn ab715c70d1 TMC SPI sanity-check and pins debugging (#10324) 7 years ago
Bob-the-Kuhn 902c885782 Switch to TMC2130 compatible hardware SPI & misc (#10299) 7 years ago
Scott Lahteine 93305a2d5e Fix some spellings 7 years ago
Scott Lahteine 889fd5f71f Backtrace minor cleanup 7 years ago
Alexey Shvetsov cbdc78ec0f Fix STM32 compilation with PlatformIO (#10245) 7 years ago
Eduardo José Tagle 749f19e502 [2.0.x] Move backtrace to a shared location (#10237)
- And implement the `backtrace()` function call
7 years ago
xC0000005 7dc256432f Restore STM32F1 series to working order. (#10229)
The `_O2` attribute is no longer needed on the malyanlcd function, and the macros have broken timer numbers - reset this to a function to return the right device. Also fix the bit order cast in SPI.
7 years ago
etagle 8934a2c49b Added some missing Thumb instructions to the traceback follower, so now it is able to traceback through switch() statements 7 years ago
etagle 328edea03a Several fixes to the backtracer. Tested ant it works 7 years ago
ejtagle 9a24c0ae3f Tons of fixes to the backtracker code, and also added an extra backtracker that does not require unwind tables to work and it is used if unwind tables are absent 7 years ago
Bob-the-Kuhn f7857ac8a8
Merge pull request #10185 from ejtagle/bugfix-2.0.x
[2.0.x] DUE debugging: Solve WDT startup delay, add traceback & crash report uses programming port baud rate
7 years ago
Bob-the-Kuhn 509227fd80 change to mode 0 7 years ago
etagle c3b23974bd Added detection of case when no unwind tables are available 7 years ago
etagle b210bdf032 Now the Crash reporter uses the configured BAUDRATE to send the report through the Programming port. And also shows the traceback of functions as discussed. For that latest feature to work, you need to compile the project with -funwind-tables and -mpoke-function-name compiler flags 7 years ago
etagle c5730cf711 As Bob-The-Khun suggested, resetting the USB peripheral solves the huge startup delays that happen when a WDT reset happens and we are connected through the native port 7 years ago
Eduardo José Tagle 97e8a6ebd9 Various fixes for DUE... (#10152)
- Watchdog reset during SD Card initialization.
- Move `DebugMonitor` to `DebugMonitor_Due.cpp`.
- Since the watchdog is enabled on boot do extra resets during init.
- Have `thermalManager` do watchdog reset before its ISR starts to prevent reset.
- Ensure that timers are stopped before reprogramming them to address tone issues.
- Improve SAM3XE reset when reflashed through the native port.
7 years ago
Bob-the-Kuhn 785dbfc72d [2.0.x] FASTIO consistency (#10164) 7 years ago
Bob-the-Kuhn 7308ef7809 Add conditional, give DUE SPI a unique name, fix compiler warnings (#10168) 7 years ago
Bob-the-Kuhn 53362b81cc Tone fixes/changes (#10151) 7 years ago
Eduardo José Tagle bbfbf90797 Fix for DUE - no host support on native USB if SD card not enabled (#10148) 7 years ago
Bob-the-Kuhn 7f1afbfd60 can't type 7 years ago
Bob-the-Kuhn 23760d6c14 add full speed option 7 years ago
Bob-the-Kuhn cbcd1ed42d full speed 7 years ago
etagle 404fc94705 DUE USB CDC: Do not send any character if no program on the PC is listening to them. This avoids Marlin waiting until the user actually opens a program that is able to consume the output of Marlin 7 years ago
Scott Lahteine b858c638ad Fix compiler warning for HAL_ANALOG_SELECT 7 years ago
Bob-the-Kuhn c4467da53a
Merge pull request #10063 from ejtagle/bugfix-2.0.x
[2.0.x] DUE - add programming capability to native port
7 years ago
Scott Lahteine 36452b4d6e Fix filename HAL/DUE/servotimers.h => ServoTimers.h 7 years ago
ejtagle 703c8ac0ef Added Arduino-compatible kludge to the (ATMEL supplied) SAM3X USB stack we are now using so the Native port is also usable as a programming port on Arduino DUE and derived designs 7 years ago
Scott Lahteine dd19e74476 Cleanup trailing whitespace
@Bob-the-Kuhn — Please set your git options to remove trailing whitespace on commit.
7 years ago
Bob-the-Kuhn 0d8c15c01f restore PR 9661 files & V1 fix 7 years ago
Bob-the-Kuhn bf59a4a6df
Revert "[2.0.x] DUE compatibility with shared SPI LCDs, USB mass storage, add pin defs & update examples\MakerParts\Configuration.h" 7 years ago
Scott Lahteine 239902f861 Fix E2END and add EEPROM to Smart RAMPS
Reference #9983
7 years ago
Bob-the-Kuhn 914bb80bde removed SDSS init
added device & comm drivers for shared SPI LCDs

mistyped some updates in ultralcd_impl_DOGM.h

remove unwanted changes in onfiguration.h

still can't type

Update HAL_LCD_class_defines.h

include USB mass storage & misc
7 years ago
Bob-the-Kuhn 67a17446f2 Fix DUE incompatible enum type specification (#10017) 7 years ago
Bob-the-Kuhn 3c58ca181c [2.0.x] Correct step pulse width on LPC1768, DUE & Teensy35_36 (#10016) 7 years ago
Scott Lahteine e297748b22 Apply const, safe_delay in servo.* 7 years ago
Scott Lahteine 98d48fc731 Followup to HAL_timer_restrain
Followup to #9985
7 years ago
Scott Lahteine ca577c1638 Fix up various spacing, comments, and typos 7 years ago
Scott Lahteine d45f19d385 Remove Unicode from var name 7 years ago
Scott Lahteine 224688cc3b Fix for unicode-ignorant gcc preprocessor 7 years ago
Chris Pepper a1a88ebabc HAL function to ensure min stepper interrupt interval (#9985) 7 years ago
Scott Lahteine 2057177184 Make enums into implicit char 7 years ago
Scott Lahteine beeed580b8
Implement digipots for MKS SBASE (#9927)
Fix #9477
7 years ago
Scott Lahteine 649f375494
Fix: M112 calling kill from interrupt (#9923)
Fix #9906
7 years ago
Ben Lye 461c8ef834 Fix DIGITAL_PIN_TO_ANALOG_PIN macro for Atmega1284p (#9881) 7 years ago
Bob-the-Kuhn c1f4112bdc [2.0.x] Add 1284 support & misc. bug fixes (#9864) 7 years ago
Scott Lahteine 0bc4c216ac Patch up pinsDebug pins 7 years ago
Scott Lahteine cfdcf91df5 Fix compile error with initTone 7 years ago
Scott Lahteine f2c0ed193d
Add tone support for Due (#9807) 7 years ago
Scott Lahteine 61688233c7 HAL style tweak 7 years ago
Scott Lahteine f3dbe19669 Tweaks to HAL codestyle 7 years ago
Scott Lahteine 007c56f453 Fix HAL_STM32F1/endstop_interrupts.h
In response to https://github.com/MarlinFirmware/Marlin/issues/7076#issuecomment-367556982
7 years ago
Scott Lahteine 90fa423737
Preliminary cleanup of #include structure (#9763) 7 years ago
Scott Lahteine 799e3b2b40 LPC1768 HAL formatting/comments 7 years ago
Scott Lahteine a810e585db Drop HAL_timer_set_count 7 years ago
Scott Lahteine 0106c3e476 Style tweak in MarlinSerialUSB_Due.h 7 years ago
Scott Lahteine ca55f2927a
Pulldown pin mode support (#9701)
Implemented for LPC1768.
7 years ago
Scott Lahteine 1bf2b1e475 Use serial macro in sd_mmc_spi_mem.cpp for Due 7 years ago
Scott Lahteine 272f132b82 Remove stray ` from STM32F1 HAL
As noted in #8585
7 years ago
Scott Lahteine 03d790451f
[2.0.x] HAL timer set/get count => set/get compare (#9581)
To reduce confusion over the current timer count vs. the compare (aka "top") value. Caution: this re-uses the function name, changing its meaning.
7 years ago
Scott Lahteine 38c7d53bf7 Repair some spacing 7 years ago
Scott Lahteine b939a2e88c Watchdog conditional for LPC 7 years ago
Scott Lahteine 0891b58c30 #ifdef tweaks 7 years ago
Bob-the-Kuhn 428f164d02 [2.0.x] Bug fix - "M114 D" and Due (dtostrf C linkage) (#9481) 7 years ago
Bob-the-Kuhn 3d72fe0730 snapshot 7 years ago
Scott Lahteine 33ec599ca0 Tweaky LPC1768 SPI spacing/style 7 years ago
Scott Lahteine c46de340b7 Clean up trailing whitespace 7 years ago
Thomas Moore e1fd9c08b3 [2.0.x] Add support for LPC1769 at 120 MHz (#9423) 7 years ago
Bob-the-Kuhn a0570ff1eb Fix caselight on Due (#9364) 7 years ago
Scott Lahteine b13099de3f General cleanup of HAL code 7 years ago
Bob-the-Kuhn 21179f8300 Fix the "slow" version of the G-code parser 7 years ago
Scott Lahteine eb18ae9003 Define LSBFIRST / MSBFIRST for LPC 7 years ago
teemuatlut 5c69d45f5b [2.0.x] TMC2130 support for LPC platform (#9114) 7 years ago
Scott Lahteine f5cfdf6efe Use _BV32 to avoid name conflict 7 years ago
Bob-the-Kuhn c6e01ebd52 never mind ... 7 years ago
Bob-the-Kuhn ab709ccac1 add USEABLE_HARDWARE_PWM & clear up some compiler warnings 7 years ago
Scott Lahteine 2bea1bda56 Move more strings to PROGMEM 7 years ago
Scott Lahteine 58671e1bc1 Marlin must override _BV for 32-bit masks! 7 years ago
Scott Lahteine 45cfb16424
Merge pull request #8355 from tcm0116/2.0.x-TwoWire
[2.0.x] Master-only TwoWire (I2C) class for LPC1768
7 years ago
Scott Lahteine db031d5d76 Add missing SoftwareSerial begin for TMC2208
Based on #9299
7 years ago
Scott Lahteine 7a52dfad55
Merge pull request #9283 from thinkyhead/bf2_jgaurora_configs
[2.0.x] Add JGAurora A5 support
7 years ago
Chris Pepper f875f49caa [2.0.x] LPC1768: Fix: Serial pins disabled correctly when in use (#9193) 7 years ago
Scott Lahteine 7d6c009104 Add thermistor 15 tuned for JGAurora A5 7 years ago
Scott Lahteine 382a5e3318 Clean up trailing whitespace 7 years ago
Scott Lahteine fb044b6a64 Fix HAL_timer_set_current_count for STM32F1 7 years ago
Scott Lahteine a8638aa20d Update STM32F1 timer code to use libmaple bb_perip 7 years ago
Scott Lahteine 303d792b9f
Merge pull request #9253 from tcm0116/2.0.x-mks_sbase
[2.0.x] Cleanup MKS-SBASE compile warnings
7 years ago
Scott Lahteine f2ea8a0529
Merge pull request #9197 from p3p/pr_bf2_operation_freemem
[2.0.x] LPC1768: Free up some RAM
7 years ago
Thomas Moore 63fd23ab1c Cleanup MKS-SBASE compile warnings 7 years ago
Bob-the-Kuhn 11e68541b0
Merge pull request #9245 from Bob-the-Kuhn/TMC2208-sanity-check-2.0.x
[2.0.x] add TMC2208 sanity check to AVR
7 years ago
Bob-the-Kuhn 0ea9cdf4f2 TMC2208 sanity check 7 years ago
Roxy-3D 7c469c0712
Suggested change to fix Due compile problem 7 years ago
Roxy-3D bfd9728cf4
Serial buffer over run work around for v2.0.0 (#9236)
* Work around for serial buffer over run

PronterFace sends a lot of M105 commands.  During long operations such
as UBL's G29 P1, G29 P2, G29 P4 and G26 this can over run the serial
buffer.   This results (very often) in a M1 (actually a M1M105) ending
up in the command queue.

Until we figure out a better way to resolve this issue, this will keep
the UBL commands from experiencing bogus commands at thier completion.
7 years ago
Christopher Pepper 1e65562d55 LPC1768: HAL: only initialise used HardwareSerial ports
Misc formatting
7 years ago
Thomas Moore 6856eccc77 Master-only TwoWire class for LPC1768 7 years ago
Scott Lahteine d5bf9e74c4
Merge pull request #8996 from p3p/pr_bf2_more_adc_filter
[2.0.x] PID control fix and more LPC1768 ADC filtering
7 years ago
Scott Lahteine 2c18faf3e4 General cleanups for HAL 7 years ago
Scott Lahteine 42933c804a Cleanups for STM32F7 7 years ago
Morten a0246c5c96 Add support for STM32F7 MCU 7 years ago
Scott Lahteine ac368f2788 Add STEPPER_ISR_ENABLED() to HALs
Some also get a `HAL_timer_interrupt_enabled` function.
7 years ago
Scott Lahteine 742cff5f3c Followup to #9141 7 years ago
Thomas Moore 84de428d30 [2.0.x] Fix compile errors (#9141)
* Update persistent_store_impl.cpp
* Remove define BYTE from serial functions since Arduino docs typically show 0 for the normal case.
7 years ago
Scott Lahteine 6a043eee55 Various updates for TMC support 7 years ago
Scott Lahteine d7fd78cb91
Merge pull request #8148 from tcm0116/2.0.x-multi_host
[2.0.x] Add multi-host support
7 years ago
teemuatlut a8c446c3bc [2.0.x]DUE: Fix includes for SDSUPPORT (#9112) 7 years ago
Thomas Moore f7efac57b7 Multi-host support 7 years ago
Bob-the-Kuhn 6a50adb4d5 works 7 years ago
Christopher Pepper 14dcad6bbc LPC1768: Increase ADC median filter from 3 values to 23
Clarify the HAL_adc_get_result method to make sure correct values enter the filters

HAL: Fix the PID control loop for non-AVR platforms
7 years ago
Scott Lahteine 51e0f2bee3 Add MarlinSettings::validate() 7 years ago
Scott Lahteine 3319765034 Detab some HAL files 7 years ago
Scott Lahteine 1c41de16d4 Trailing whitespace clean 7 years ago
Bob-the-Kuhn 4626d04067 as good as i can get it
minor edits to force new Travis test (last one timed out)

Update u8g_com_HAL_DUE_st7920_sw_spi.cpp

initial power up display garbage gone
7 years ago
Bob-the-Kuhn e5b71af8c9 snapshot
found a few more nasties
7 years ago
revilor 959a2d2527 Add beginTransaction to HAL SPI (#9019) 7 years ago
Bob-the-Kuhn eca5cc8669
Merge pull request #9003 from Bob-the-Kuhn/Due-PINS_DEBUG-&-related
[2.0.x] add Due PINS_DEBUG support & misc improvements (replaces PR #8990)
7 years ago
Bob-the-Kuhn 5574fad69c copy of PR #8991 code
Formatting tweaks

correct array initialization & remove test code
7 years ago
Bob-the-Kuhn adb9ecf3cc copy of PR #8990 7 years ago
etagle 729a9f55fc Improved Sw SPI on DUE HAL a bit more.
Now the USB MSD can transfer at 750k/s. Previously, it was 500k/s. I think this is the maximum achievable speed using Sw SPI.
7 years ago
Scott Lahteine 2c4e03d2cf Indentation of a SW SPI file 7 years ago
Scott Lahteine 1a827d5b68 Opening brace tweaks 7 years ago
Bob-the-Kuhn a142fab155 Enable RRDFGSC on Due 7 years ago
Bob-the-Kuhn 1a948cbd93 Fix SET_OUTPUT glitch - LPC1768 & DUE 7 years ago
etagle 33a6fc70e4 Adding USB MSD implementation to the HAL: Now, when you plug the Native USB port of the Arduino DUE to your PC, it will be detected as a composite USB device: One of the devices is a USB CDC (Serial port over USB) with native USB handshake (no more overflows!!) (set SERIAL_PORT to -1 to use it as main serial port) and also, a MSD (USB Mass Storage Device) will be detected, and the SD card present on the socket will be reflected as a Removable disk on your PC) 7 years ago
etagle d8a4db72ac Reimplemented SW SPI for DUE in assembler. This allows to reach 12Mhz as SPI Clock and improves 4x the transfer speed to the SD card. This is REQUIRED so access to SD from USB is usable (allows 600Kbytes/second transfer speeds) 7 years ago
victorpv 2ec4113cb2 Changes to STM32F1 HAL (#8833)
Some to correct missing files from previous PR to completely avoid
HardwareTimer Class (reduce overhead). Some changes to formatting.
Changes to DMA ADC to work correctly.
Change to F1 sanity check.
7 years ago
Scott Lahteine fc9ee1a4de Fix up serial sanity check 7 years ago
Scott Lahteine 097a26007f Fix SDSUPPORT for MKS SBASE
Fix supplied by @cjsoong in https://github.com/MarlinFirmware/Marlin/issues/8750#issuecomment-350779983
7 years ago
Scott Lahteine 8b12371e45 Change some hex case 7 years ago
Scott Lahteine a641992c1d
Merge pull request #8762 from victorpv/patch-2
[2.0.x] STM32F1 HAL: Fix issue #8585. Updates to readme.
7 years ago
Eduardo José Tagle ac168a03c8 Fixes for the Arduino DUE HAL (Serial Port, Graphics Display, EEPROM emulation) (#8651)
* Fixing the DUE serial port assignments: Now -1 means the SAM3x USB Device emulating a serial port, and 0 means the USB to serial adapter included as a programming port

* Improving the Fast IO port access implementation on Arduino DUE

* Implemented EEPROM emulation on Due by storing data on the internal FLASH (with wear leveling)

* Implemented a Software SPI for the ST7920 graphics display for the Arduino RAMPS for DUE, as the default one in u8glib is clocking data too fast on ARM, and the display does not understand it.

* Fixing the case where the serial port selected is the USB device

* Adding configuration for the Makerparts 3D printer (www.makerparts.net)

* Tuned MakerParts acceleration on X and Y axis so it never loses steps. Also adjusted pulses per mm to match default hw configuration

* Fine tuned Maximum acceleration for MakerParts printer

* Style cleanup

* Style cleanup (2)

* Style fixes (3)

* Fixing the DUE serial port assignments: Now -1 means the SAM3x USB Device emulating a serial port, and 0 means the USB to serial adapter included as a programming port

* Improving the Fast IO port access implementation on Arduino DUE

* Implemented EEPROM emulation on Due by storing data on the internal FLASH (with wear leveling)

* Implemented a Software SPI for the ST7920 graphics display for the Arduino RAMPS for DUE, as the default one in u8glib is clocking data too fast on ARM, and the display does not understand it.

* Fixing the case where the serial port selected is the USB device

* Adding configuration for the Makerparts 3D printer (www.makerparts.net)

* Tuned MakerParts acceleration on X and Y axis so it never loses steps. Also adjusted pulses per mm to match default hw configuration

* Fine tuned Maximum acceleration for MakerParts printer

* Style cleanup

* Style changes to u8g_dev_st7920_128_64_sw_spi.cpp

* Even more improvements to the FastIO HAL for DUE. Now WRITE() is 2 ASM instructions, if value is constant, and 5 cycles if value is not constant. Previously, it was 7..8 cycles

* After some problems and debugging, seems we need to align the interrupt vector table to 256 bytes, otherwise, the program sometimes stops working

* Moved comments out of macro, otherwise, token pasting does not properly work sometimes

* Improved Software SPI implementation on DUE: Now it honors the selected speed passed to spiInit(). This allows much faster SDCARD access, improving SDCARD menus and reducing latency

* Update u8g_dev_st7920_128_64_sw_spi.cpp

* Disabling EEPROM over FLASH emulatiion if an I2C or SPI EEPROM is present
7 years ago
victorpv 084f2434a7
Update readme.md 7 years ago
victorpv 7c7ae5ebef
Delete duplicated file. 7 years ago
victorpv 4feffca178
fix for issue #8585
As reported in this issue:
https://github.com/MarlinFirmware/Marlin/issues/8585
I have it working fine in my local copy like that change.
7 years ago
victorpv a5150c83a2 [2.0.x] Multiple updates to STM32F1 HAL (#8733)
* STM32F1 HAL

Adding files for STM32F1 HAL based on libmaple/stm32duino core.
Current persistent_store uses cardreader changes to be sent in separate
commit, but could be changed to use i2c eeprom.
There is another persistent_store implementation that uses the MCU flash memory
to emulate eeprom
Adding readme with some information about the stm32 HAL.

* Switch to Timer4 to avoid a hard reset on STM32F103C6 boards

On bluepill STM32F103C6 boards, using Timer5 results in a error() vector call. Switch to 4 since these are both general purpose, 16 bit timers.

* Add support for EEPROM emulation using Flash

Some low end machines doe not have EEPROM support. Simulate it using the last two pages of flash. Flash does not allow rewrite between erases, so skip writing the working version if that's enabled.

* Basic Pins for a malyan M200

This is a work in progress to go hand in hand with the STM32 work.

* Add support for ADC with DMA. This work has exposed a problem with the pin enumerations in STM boards vs what marlin expects (i.e, try defining PA0 as a temp pin). The hack can be removed with we go to fastio completely. To see this work, set something in adc_pins to a value like PA0 and connect your pullup resistor'd thermistor.

* Missing file - change HAL_adc_init to actually do something

We have an actual ADC init function now.

* Remove pinmode hack

Remove the pin mode hack that I was using to init PA0.

Updated Readme.md

* Several changes to timers and GPIO

Faster GPIO, and faster timer functions by accesing registers and
libmaple.
Still more changes pending for the Timer's code to skip using the
HardwareTimer class altogether.

Switch all enums to be within #defines

This change allows a user to have, for instance, TEMP_4 and TEMP_BED definied but nothing else. The enums which are not defined move "out", allowing the first ones to take the slots in the enum, and since the array is sized on ADC_PIN_COUNT, we always have the right size data and in order.

* Update Malyan M200 pins

Update Malyan M200 pins with correct fan values.

* Test all pins on actual hardware, update definitions

Some of the pin definitions were from knowlege base/pdfs. Now they've been tested against actual hardware. This should be very close to final.

* Update HAL_timers_Stm32f1.cpp

* Add sample configurations for Malyan M200

Add sample configuration for Malyan M200 without bed leveling, and move fan to auto cool E0 since this printer by default has only one fan.


Choose the timer based on MCU defintion. Timer5 is not valid on C8/CB class boards, so use Timer4 for the step timer.


readme.md update

* Updates to timers, and some stm32 boards definitiions

* Correct pin toggle macro.

* Remove duplicated Malyan M200 entry from pins.h

* Update configuration_store.cpp

* Formatting, indentation

* Formatting in HAL_Stm32f1.cpp
7 years ago
Scott Lahteine 6149b82119 Allow setting current timer counter 7 years ago
Scott Lahteine 82ef6b5242 Add an option to specify "pulse" timer 7 years ago
Scott Lahteine b8bc965414 General cleanup HAL timers 7 years ago
Scott Lahteine de3d3b9cb1 Put FORCE_INLINE before static 7 years ago
Scott Lahteine a3b098b4be Whitespace clean 7 years ago
Bob-the-Kuhn 57fac33a74 add explanations
1) add explanations as to why software SPIs are selected

2) remove unused flag/option
7 years ago
Bob-the-Kuhn bb23286383 add README & modify spi_pins.h
still trying to fix file name
7 years ago
Bob-the-Kuhn fb44f8e50f
Merge pull request #8616 from hg42/bugfix-2.0.x
[2.0.x][LPC1768][FIX] NUM_DIGITAL_PINS was negative, fixes PWM, arduino io functions, M42, M43, M226, probably also Servo, some LCD, soft spi, SoftwareSerial, ... may be others
7 years ago
Bob-the-Kuhn 4c5356f77a
Merge pull request #8622 from hg42/implement-LPC1768-GET_TIMER
[2.0.x][LPC1768][fix] Implement GET_TIMER and other GET_xxx, fixes PWM
7 years ago
Harald Gutsche f5b4e1ef4f as a workaround enable PWM for any pin, see PR #8622 7 years ago
Unknown 4c5ffd2349 [2.0.x] Report SERIAL_XON_XOFF in M115
-Report SERIAL_XON_XOFF in Extended Capabilites M115 report for hosts
-Remove outdated 256 size limitation from comments on RX_BUFFER_SIZE defines
-Update error message conditions
7 years ago
Unknown d1f11e9c10 fix missing GET_TIMER (used by PWM for Ex_AUTO_FAN) 7 years ago
Harald Gutsche dd1b503f64 fix NUM_DIGITAL_PINS being negative for more than 127 digital pins 7 years ago
Scott Lahteine c8718aa111 Spacing, macros in LPC1768_PWM 7 years ago
Bob-the-Kuhn 7d8b66e207
Merge pull request #8570 from Bob-the-Kuhn/Sbase-PWM
[2.0.x] MKS Sbase - add servo pin definitions and add directly controlled PWM
7 years ago
Bob-the-Kuhn 59b32c25b5 MKS Sbase changes 7 years ago
Thomas Moore 7bb1721f35 Fix _BV already defined warnings for Teensy 7 years ago
Thomas Moore 5f9592a523 Cleanup narrowing warning in pin_is_protected 7 years ago
Thomas Moore 34eaaab5fb Fix _BV already defined warnings 7 years ago
Thomas Moore fa577392b2 Add BIQU BQ111-A4 board 7 years ago
Scott Lahteine c2fc78c3a8 #ifndef => #if !PIN_EXISTS 7 years ago
Scott Lahteine c613a1ed38 Fix indentation, stepper.h dependency, etc. 7 years ago
teemuatlut f011a32771 Board definitions for Ultratronics Pro v1.0 7 years ago
Bob-the-Kuhn 9dad534f02 fixed 7 years ago
Scott Lahteine 3066655727 Try port*100+pin, fix config dependency 7 years ago
Scott Lahteine ba8bc7ea80 Cosmetic tweaks 7 years ago
Scott Lahteine f409147116 Fix P2_04, P2_05 7 years ago
Bob-the-Kuhn a28ccabe2a M42 P1.20 fix 7 years ago
Scott Lahteine b9327a4d16 Misc. general cleanup 7 years ago
Scott Lahteine 8836623e0f Fix `sq`/`min`/`max` macros after platform headers 7 years ago
Scott Lahteine fe4f009fdd 32-bit unless… 7 years ago
Scott Lahteine 1d4571b88d Dependency adjustments 7 years ago
Scott Lahteine 550f1025f0 Try using <Arduino.h> everywhere 7 years ago
Bob-the-Kuhn c14000775b PWM fixes, slow down fan update
include LPC1768 syntax for M42

couple more pin_t changes

consistency

change M42 to R, P format

Revert "change M42 to R, P format"

This reverts commit 01f12f579ec9ccc1bb9126e68d2c86449e9b7edf.
7 years ago
Scott Lahteine 32512332df Apply some formatting 7 years ago
Scott Lahteine 5079a02c90 Add HAL_SERVO_LIB to HAL_Due.h 7 years ago
Bob-the-Kuhn b6415dc169 finish 7 years ago
Bob-the-Kuhn d47fbf791b Arduini IDE compatibility changes
changed includes to make Arduino IDE happy
7 years ago
Bob-the-Kuhn 0483a7df91 AVR RRD works
LPC1768 VIKI2 & RRDFG are working

looks like all SPIs are working

library change

sh1106 locks up

fixed lockup, started I2C SW com

pretty

re-org

restore a few files

make library happy

switched HAL version of rrd

fix travis error

travis error fixes

another travis fix

cleanup

minor update

one more

correct spacing in platformio.ini
7 years ago
Alexey Shvetsov 83555933aa Add platformio support for stm32 (#8246)
[2.0] Add platformio support for stm32
7 years ago