7946 Commits (9a305a467b9868685d7304dea7d3b7690c1456a1)
 

Author SHA1 Message Date
Scott Lahteine 55d296aaf0 pinsDebug with more features, uses less RAM
I've just uploaded a major change to pinsDebug.
The big change was creating an array in FLASH that contained every
active pin definition. That reduced the RAM memory usage considerably
but increased the FLASH usage.
Creating the array requires going through the pin list twice. Rather
than having two copies of it in the code I moved the list out to another
file (pinsDebug_list.h) and then just did two #includes.
From the user’s view they’ll see the following changes:
1. Now reports all the names assigned to a pin
2. The port is now reported in addition to the pin number.
3. When PWM0A & PWM1C share a pin, both PWMs are reported
4. More PWM/Timer info is reported
One new item that may cause some concern is the usage of the LINE
predefined preprocessor macro. It may not be available if the Arduino
IDE goes to a different compiler.

Includes support for 1284 & 1286 families.

Memory usage changes when enabling PINS_DEBUGGING:
ATmega2560
FLASH
.           without   52576
.           with new  64592
.           with old  62826
.           new-out   12016
.           old-out   10250
.           new-old   1766
.
RAM
.           without   2807
.           with new  2875
.           with old  3545
.           new-out   68
.           old-out   738
.           new-old   -670

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

minor changes - mostly formatting

1) added newline to end of teensyduino file

2) changed flag name from TEENSYDUINO to TEENSYDUINO_IDE.  Got warnings
about redefining TEENSYDUINO

3) removed some trailing spaces

reduce PROGMEM size & update pin list

Reduced PROGMEM usage by
1) converting often used macro to a function
2) moved as much as possible into the function

This required creating two arrays of address pointers for the PWM
registers.

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

update with new M3, M4, M5 pin names

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

report I/O status for unused/unknown pins
8 years ago
Scott Lahteine e116723b8b Adjust indentation in ubl.h 8 years ago
Scott Lahteine 1b3a26f2f5 Rename all UBL files with a ubl_ prefix 8 years ago
Scott Lahteine d13991ae18 Use same config name for all mesh dimensions 8 years ago
Bob-the-Kuhn f9686a108c add Z servo test and toggle pins to M43 8 years ago
Scott Lahteine 62cbaa302e Z_DUAL_ENDSTOP - make offset a configuration item
The offset for Z_DUAL_ENDSTOP (z_endstop_adj) is already in Marlin.
This PR just makes it a configuration item.

z_endstop_adj is initialized in two places so both had to be modified.
8 years ago
Bob-the-Kuhn 3b6333c613 Merge pull request #5668 from Bob-the-Kuhn/pinsDebug-PROGMEM
pinsDebug with more features, uses less RAM
8 years ago
Scott Lahteine c9e35004e7 pinsDebug with more features, uses less RAM
I've just uploaded a major change to pinsDebug.
The big change was creating an array in FLASH that contained every
active pin definition. That reduced the RAM memory usage considerably
but increased the FLASH usage.
Creating the array requires going through the pin list twice. Rather
than having two copies of it in the code I moved the list out to another
file (pinsDebug_list.h) and then just did two #includes.
From the user’s view they’ll see the following changes:
1. Now reports all the names assigned to a pin
2. The port is now reported in addition to the pin number.
3. When PWM0A & PWM1C share a pin, both PWMs are reported
4. More PWM/Timer info is reported
One new item that may cause some concern is the usage of the LINE
predefined preprocessor macro. It may not be available if the Arduino
IDE goes to a different compiler.

Includes support for 1284 & 1286 families.

Memory usage changes when enabling PINS_DEBUGGING:
ATmega2560
FLASH
.           without   52576
.           with new  64592
.           with old  62826
.           new-out   12016
.           old-out   10250
.           new-old   1766
.
RAM
.           without   2807
.           with new  2875
.           with old  3545
.           new-out   68
.           old-out   738
.           new-old   -670

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

minor changes - mostly formatting

1) added newline to end of teensyduino file

2) changed flag name from TEENSYDUINO to TEENSYDUINO_IDE.  Got warnings
about redefining TEENSYDUINO

3) removed some trailing spaces

reduce PROGMEM size & update pin list

Reduced PROGMEM usage by
1) converting often used macro to a function
2) moved as much as possible into the function

This required creating two arrays of address pointers for the PWM
registers.

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

update with new M3, M4, M5 pin names

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

report I/O status for unused/unknown pins
8 years ago
Scott Lahteine 7dfe2cc132 Merge pull request #6254 from thinkyhead/rc_ubl_rename
Group all UBL files via a common prefix
8 years ago
Scott Lahteine 4abd53f65a Adjust indentation in ubl.h 8 years ago
Scott Lahteine f5c5c1f771 Rename all UBL files with a ubl_ prefix 8 years ago
Scott Lahteine 11430b6d33 Merge pull request #6256 from thinkyhead/rc_unify_grid_size
Use same config name for all mesh dimensions
8 years ago
benlye f1d50ac1dc Fixing bilinear Z offset and G29 Z
The fix in #6251 for bilinear Z offset was flawed and broke the Z parameter of G29 for bilinear levelling.  This is reverted and a different fix is used for the double-addition of the Z-probe offset to the bilinear correction grid.
8 years ago
Scott Lahteine eb1e6aa29b Use same config name for all mesh dimensions 8 years ago
Scott Lahteine 034e912c85 Merge pull request #6248 from thinkyhead/rc_marlin_scad_mesh
Add hidden option to output Bilinear grids in JSON
8 years ago
Scott Lahteine c961dd084d Add hidden option to output Bilinear grids in JSON 8 years ago
Scott Lahteine bc09e862a9 Re-enable .cpp as LF in .gitattributes 8 years ago
Scott Lahteine df7b4252fd Reduce M420 code for UBL slightly 8 years ago
Scott Lahteine 8866158d03 Add LEVELING_DATA as a capability 8 years ago
benlye 0a2b4f3486 Fix bilinear levelling z offset
Since run_probe was altered to return the probe Z position rather than the nozzle Z position bilinear levelling has been broken because the Z-offset has been applied twice - once in the run_probe function, and then again in the G29 code for bilinear levelling.
8 years ago
Scott Lahteine 44a849bdce Fix broken M206/M428/G92 offsets 8 years ago
Roxy-3D 52978e5ba5 Fix spelling mistake when UBL's mesh is Inactive 8 years ago
Roxy-3D 0423e93c42 Fix M421 AUTO_BED_LEVELING_BILINEAR and AUTO_BED_LEVELING_UBL
M421 was not connected up for AUTO_BED_LEVELING_BILINEAR.
M421 needed to migrate mesh data to new UBL EEPROM layout.
8 years ago
Scott Lahteine 3412950abc Merge pull request #6209 from thinkyhead/rc_psu_zero
Power Supply 0 as "General"
8 years ago
Roxy-3D 3e9e94801f Fix problem described in issue # 6175
As it turns out...   an unsigned int can not go to less than 0,  so the
loop never terminates.
8 years ago
Scott Lahteine a37a605fee Merge pull request #6217 from thinkyhead/rc_fix_invisibles_to_most
Patch .gitattributes till UBL line endings are fixed
8 years ago
Scott Lahteine 01a293b6e3 Patch .gitattributes till UBL line endings are fixed 8 years ago
Scott Lahteine 289e3d6844 Merge pull request #6215 from thinkyhead/rc_bed_false_alarm
Fix thermal runaway when nonexistent bed temp is set
8 years ago
Scott Lahteine 1c69a155cf Merge pull request #6214 from thinkyhead/rc_bltouch_delay_opt
Configurable delay for BLTouch servo emulation
8 years ago
Scott Lahteine 948728e63b Fix line-endings in UBL_G29 8 years ago
Scott Lahteine 699310d1d2 Fix: Thermal runaway if nonexistent bed's temp is set 8 years ago
Scott Lahteine c56eec29f0 Configurable delay for BLTouch servo emulation 8 years ago
Scott Lahteine deaad78df9 Merge pull request #5678 from Bob-the-Kuhn/G38-optional-double-tap
G38 bug fix, made double touch optional & reverted to Z_MIN_PROBE
8 years ago
Scott Lahteine b3e9977f97 Merge pull request #6212 from thinkyhead/rc_gitattributes
Fix LCD preheat menus
8 years ago
Scott Lahteine 5bce731962 Fix LCD preheat menus 8 years ago
Scott Lahteine 9faa8c4704 Merge pull request #6210 from thinkyhead/rc_gitattributes
Add .gitattributes to normalize line endings
8 years ago
Scott Lahteine 4c72167af3 Prevent a warning on echo_command 8 years ago
Scott Lahteine 9b5fd9522e Fix formatting, order for a UBL change 8 years ago
Scott Lahteine f0ef8a1cbd Add .gitattributes to normalize line endings 8 years ago
Tannoo 54173c80ad Power Supply 0 as "General" 8 years ago
Scott Lahteine 883c6762c4 Merge pull request #6208 from thinkyhead/rc_parity_with_32bit
Patch MarlinSerial to match up with 32-bit version
8 years ago
Scott Lahteine a2775d0c70 can wstring be removed? 8 years ago
Scott Lahteine de4e19f17e Patch MarlinSerial to match up with 32-bit version 8 years ago
Scott Lahteine 34b23ff312 Merge pull request #6202 from thinkyhead/rc_fix_broken_ubl
Patching up UBL, vetting recent commits
8 years ago
Scott Lahteine 2cbc7b4b73 Relocate serial macros and functions 8 years ago
Scott Lahteine eaa66f3c46 Indent MarlinSerial code 8 years ago
Scott Lahteine 7a7a80e6c5 status_printf => lcd_status_printf_P 8 years ago
Scott Lahteine 0e6ec34228 Use PSTR versions of lcd_status... to save SRAM 8 years ago
Scott Lahteine 34e2420b9b Apply const args, clean up find_closest_circle_to_print 8 years ago
Scott Lahteine e19fbd27ce Minor spelling patch 8 years ago