Commit Graph

10493 Commits

Author SHA1 Message Date
142d8aae56 Move debugging to serial.* 2017-09-21 16:26:44 -05:00
a1e2b5da70 Fix LCD_PINS_Dn tests in pinsDebug_list.h 2017-09-21 16:26:44 -05:00
038f82cc38 Fix L6470 init and options 2017-09-21 16:26:43 -05:00
42e2dd9251 Build file updates 2017-09-21 16:26:43 -05:00
614a86a380 SD file updates 2017-09-21 16:26:43 -05:00
82fff87e16 Pins updates 2017-09-21 16:26:43 -05:00
3d8a0ab4b2 Module updates 2017-09-21 16:26:42 -05:00
0fcec02db5 LCD updates 2017-09-21 16:26:42 -05:00
7dd0a46732 Language updates 2017-09-21 16:26:41 -05:00
4a82e95c3e Feature file updates 2017-09-21 16:26:41 -05:00
d7ee81202f Libs updates 2017-09-21 16:26:41 -05:00
34101224c4 Inc updates 2017-09-21 16:26:41 -05:00
f52a31a275 Core updates 2017-09-21 16:26:40 -05:00
479652073b Config updates 2017-09-21 15:52:17 -05:00
54326fb06a HAL updates 2017-09-21 15:52:17 -05:00
7e42c7563c Move build files into place 2017-09-12 14:51:06 -05:00
b66d65f865 Move 'sd' files 2017-09-12 14:51:05 -05:00
0b9a88d6ce Move 'pins' files 2017-09-12 14:51:05 -05:00
2b3b7d5d7f Move 'thermistor' files 2017-09-12 14:51:05 -05:00
0c9231fd04 Move 'module' files 2017-09-12 14:51:05 -05:00
efa578d6b0 Move 'libs' files 2017-09-12 14:51:04 -05:00
cc92e544a5 Move 'lcd' files 2017-09-12 14:51:04 -05:00
5be07b5db2 Move 'inc' files 2017-09-07 07:42:55 -05:00
9ea2ff950a Move 'gcode' files 2017-09-07 07:42:55 -05:00
4e4d16c92e Move 'core' files 2017-09-07 07:42:55 -05:00
fa5f9c2aec Move 'feature' files 2017-09-07 07:42:54 -05:00
f536c4dccb Move configs 2017-09-06 06:28:30 -05:00
48351fd6d5 Move root sources 2017-09-06 06:28:29 -05:00
27cbb939b2 Clean up some HAL code 2017-08-31 18:36:53 -05:00
b29b66feda Temporary fix for odd stepper behaviour with servos 2017-08-31 18:33:07 -05:00
8afe13b1a2 Fix compile issue when watchdog was disabled 2017-08-31 18:33:07 -05:00
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
2017-08-31 18:33:07 -05:00
a037ddbf7b Other spacing tweaks 2017-08-31 18:33:07 -05:00
2af62a5d8d Apply spacing, const to some HAL code 2017-08-31 18:33:07 -05:00
fa9ff6be6e try to fix LIN_ADVANCE for 32bit 2017-08-31 18:33:07 -05:00
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.
2017-08-31 18:33:07 -05:00
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.
2017-08-31 18:33:07 -05:00
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.
2017-08-31 18:33:07 -05:00
8587c4e1ec Minor corrections to 32-bit branch (#7514)
Mostly...  clean up some compile time warnings for the 20x4 LCD Display.
2017-08-31 18:32:09 -05:00
7342d5c07a ST7565 2017-08-31 18:31:43 -05:00
97444391e0 Servo & PWM support for LPC1768 (#7500) 2017-08-31 18:31:43 -05:00
859fa35287 Re-Arm bugfixes (#7495)
* UBL_correction

* RGB Map function
2017-08-31 18:31:43 -05:00
d80877d570 Set pinMode with every digitalWrite (legacy compatibility) 2017-08-31 18:31:07 -05:00
9a950e3a5a Update the delay functions and change the default pinmap for character displays (#7434) 2017-08-31 18:31:07 -05:00
105324b85b Match the license headers in other files 2017-08-31 18:31:07 -05:00
69704b93f2 ultralcd.cpp fix compile error - switch to int16_t 2017-08-31 18:31:07 -05:00
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.
2017-08-31 18:31:07 -05:00
a5cf3a190c bugfix-2.0.x critical fix (#7401)
* Fix mistake in gitignore file and add in missing core files.

The missing leading slash on "lib" meant all folders names lib in the directory tree are ignored, rather than just the top level PlatformIO lib folder

* Add LiquidCrystal Library and associated headers modified to compile.
2017-08-31 18:23:44 -05:00
76da81c1de minimize SD card reads when using SDCARD_SORT_ALPHA (Re-ARM board)
Because of the Re-ARM card's pinout there is only one SPI connected to
the RepRap Discount Full Graphic LCD display.  The LCD responds to ANY
SCK transitions no matter if it's enable is inactive.  The result is
garbage (usually bars) on the LCD display whenever there is SD card
activity.

This code minimizes this by only accessing the SD card when changing
directory levels if :
SDCARD_SORT_ALPHA is enabled
SDSORT_USES_RAM is true
SDSORT_CACHE_NAMES is true

The code changes result in file names being pulled from the ALPHA SORT
memory array rather than the SD card.

The code also gives the file count and file index functions their own
variables.  When they shared a common variable the index function
sometimes resulted in the file count being short by 1.

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

cardreader.cpp & pins_RAMPS_RE_ARM.h changes

Added another condition to cardreader.cpp to enable getting file names
only from RAM.

pins_RAMPS_RE_ARM.h :
Added comments about the SD card accesses and the LCD display
Combined all versions into this one.
2017-08-31 18:23:44 -05:00
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
2017-08-31 18:23:44 -05:00