4223 Commits (43d6e9fa4361cf744b6497b8819fa241812692e2)

Author SHA1 Message Date
Scott Lahteine 27cbb939b2 Clean up some HAL code 7 years ago
Christopher Pepper 8afe13b1a2 Fix compile issue when watchdog was disabled 7 years ago
Christopher Pepper b908e38d08 Add needed platform defined gaurds to compile with Arduino IDE
Also removed explicit platform HAL directory inclusion from platformio.ini to make sure these errors are caught by Travis in the future
7 years ago
Scott Lahteine 2af62a5d8d Apply spacing, const to some HAL code 7 years ago
kfazz 18f97c4013 add HardwareSerial and SoftwareSerial for Re-ARM.
HardwareSerial has been tested on Uart0 (debug header) and Uart3 (i2c connector)
Software Serial has been tested to work bi-directionally at 9600 and 115200
using pins 6 and 63 on J5, and unidirectionally (write only) at 250000.
The code used to test was Teemuatlut's tmc2208 patch, and a few small changes to main used to echo recieved chars back to a host pc.
7 years ago
Bob-the-Kuhn 01fb45b4f8 hybrid PWM system
Uses PWM1 to directly control pins 4, 6 & 11 (servo 0, 1 & 3) and PWM1
generated interrupts to control other pins.

Interupt control of the servo pins had too much jitter so switched all
that we could to PWM1 direct control.  The PWM1 direct control pins have
less than 1 microsecond pulse width jitter while the interrupt
controlled ones can have 20+ microseconds of jitter.

Also added insurance to the servo code in the "disable servo after move"
section.
7 years ago
Tannoo 94dd39b3b7 LCD_UBL_memory_slot_corrections (#7516)
* LCD_UBL_memory_slot_corrections

Changed the memory slot edit function to work with the
`settings.calc_num_meshes()`

* Add a little more safety margin...

* More corrections

Error handling when the EEPROM is not available.
7 years ago
Bob-the-Kuhn 97444391e0 Servo & PWM support for LPC1768 (#7500) 7 years ago
Tannoo 859fa35287 Re-Arm bugfixes (#7495)
* UBL_correction

* RGB Map function
7 years ago
Bob-the-Kuhn d80877d570 Set pinMode with every digitalWrite (legacy compatibility) 7 years ago
Chris Pepper 9a950e3a5a Update the delay functions and change the default pinmap for character displays (#7434) 7 years ago
Scott Lahteine 105324b85b Match the license headers in other files 7 years ago
Chris Pepper 61c0a10efe Revert "SPI API platform implementation stubs" (#7416)
This reverts commit 2dfa6ca72a2e8d43caf4932ca0d35792f0638917.

Revert "Base HAL SPI Changes"

This reverts commit 2afc521b8b6a81b2281a038f1b99a69f4a008e64.

Revert "Initial HAL SPI API"

This reverts commit 58f7ffe09ab5bc034b6510f5204f8d342138abaa.
7 years ago
Bob-the-Kuhn 84a11cfedc HAL compatible pinsDebug & misc
Re-ARM has been tested.  AVR has not been tested.

1) moved all cpu specific items to files in the low level HAL directory
for that CPU (pinDebug_Re-ARM.h & pinsDebug_AVR_8_bit.h

2) added pinsDebug.h to the top level directory

3) modified HAL_pinsDebug.h to select the correct support file for the
selected CPU

4) Patched sanitycheck to stop throwing false errors.  A long term
solution will be done

5) misc changes & bug fixes
arduino.cpp - included macros.h to fix a missing definition
pinmap_re-arm.h - removed a duplicated line.
pinmapping.h - changed from "ENABLED" to "defined" to fix a compile
error

======================================================================

split SanityCheck up, improve pinsDebug system

======================================================================

switch to latest pins_RAMPS_RE_ARM.h
7 years ago
Christopher Pepper 32e759c928 SPI API platform implementation stubs 7 years ago
Christopher Pepper 4183a249b6 Moved CMSIS and other LPC1768 dependencies
Fixes Arduino IDE builds for 8-bit AVR,
misc: Adafruit NeoPixel currently incompatible with Teensy 3.5-6, blacklisted
7 years ago
Christopher Pepper b55295ad33 Post merge fix
Add macros.h to allow Enabled macro, also need to reference include files directly
7 years ago
Christopher Pepper c66d1ac651 Debug Pins Support 7 years ago
Christopher Pepper bcd050f33b Initial HAL SPI API 7 years ago
Christopher Pepper 44b0c186a6 HAL for Re:ARM (LPC1768) architecture 7 years ago
teemuatlut f3e562e46e HAL for 32-bit Teensy (3.5, 3.6) architecture 7 years ago
Christopher Pepper cfef925559 HAL for DUE architecture 7 years ago
Christopher Pepper 4b16fa3272 Implement HAL and apply macros across code-base
Implement AVR Platform
7 years ago