Marlin/Marlin
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
2017-04-06 14:46:28 -05:00
..
example_configurations
blinkm.cpp
blinkm.h
boards.h
buzzer.h
cardreader.cpp
cardreader.h
circularqueue.h
Conditionals_LCD.h
Conditionals_post.h
Conditionals.h
Configuration_adv.h
configuration_store.cpp
configuration_store.h
Configuration.h
dac_mcp4728.cpp
dac_mcp4728.h
digipot_mcp4451.cpp
dogm_bitmaps.h Updates u8glib's bmp2hex converter 2016-07-19 03:16:30 +01:00
dogm_font_data_6x9_marlin.h
dogm_font_data_HD44780_C.h
dogm_font_data_HD44780_J.h Update Kana font 2016-03-31 10:02:47 +09:00
dogm_font_data_HD44780_W.h
dogm_font_data_ISO10646_1_tr.h
dogm_font_data_ISO10646_1.h
dogm_font_data_ISO10646_5_Cyrillic.h
dogm_font_data_ISO10646_CN.h
dogm_font_data_ISO10646_Greek.h
dogm_font_data_ISO10646_Kana.h
dogm_font_data_Marlin_symbols.h
duration_t.h
endstop_interrupts.h
endstops.cpp
endstops.h
enum.h
fastio.h Merge pull request #4894 from thinkyhead/rc_mightyboard_rev_e 2016-10-31 08:01:41 -05:00
G26_Mesh_Validation_Tool.cpp
hex_print_routines.cpp
hex_print_routines.h
language_an.h Audible feedback for settings store/load/reset 2017-03-22 02:15:21 -05:00
language_bg.h
language_ca.h
language_cn.h
language_cz.h
language_da.h
language_de.h
language_el-gr.h
language_el.h
language_en.h
language_es.h
language_eu.h
language_fi.h
language_fr.h
language_gl.h
language_hr.h Audible feedback for settings store/load/reset 2017-03-22 02:15:21 -05:00
language_it.h
language_kana_utf8.h
language_kana.h
language_nl.h
language_pl.h
language_pt_utf8.h
language_pt-br_utf8.h
language_pt-br.h
language_pt.h
language_ru.h
language_test.h
language_tr.h
language_uk.h
language_zh_CN.h
language_zh_TW.h
language.h
M100_Free_Mem_Chk.cpp
macros.h
Makefile
Marlin_main.cpp Rename all UBL files with a ubl_ prefix 2017-04-06 05:33:27 -05:00
Marlin.h
Marlin.ino
MarlinConfig.h
MarlinSerial.cpp
MarlinSerial.h
mesh_bed_leveling.cpp Use same config name for all mesh dimensions 2017-04-06 00:42:52 -05:00
mesh_bed_leveling.h
nozzle.cpp
nozzle.h Added circle pattern for nozzle cleaning feature 2017-03-06 03:03:00 -06:00
pins_3DRAG.h
pins_5DPRINT.h
pins_AZTEEG_X1.h
pins_AZTEEG_X3_PRO.h Predefine auto fan pins in some pins files 2016-10-26 18:38:32 -05:00
pins_AZTEEG_X3.h
pins_BAM_DICE_DUE.h
pins_BQ_ZUM_MEGA_3D.h
pins_BRAINWAVE_PRO.h
pins_BRAINWAVE.h
pins_CHEAPTRONIC.h
pins_CNCONTROLS_11.h
pins_CNCONTROLS_12.h
pins_ELEFU_3.h
pins_FELIX2.h
pins_GEN3_MONOLITHIC.h
pins_GEN3_PLUS.h
pins_GEN6_DELUXE.h
pins_GEN6.h
pins_GEN7_12.h
pins_GEN7_13.h
pins_GEN7_14.h
pins_GEN7_CUSTOM.h
pins_K8200.h
pins_K8400.h
pins_LEAPFROG.h
pins_MEGACONTROLLER.h
pins_MEGATRONICS_2.h
pins_MEGATRONICS_3.h
pins_MEGATRONICS.h
pins_MELZI_MAKR3D.h #if defined => #ifdef / PIN_EXISTS 2017-03-22 20:51:11 -05:00
pins_MELZI.h
pins_MIGHTYBOARD_REVE.h
pins_MINIRAMBO.h
pins_MINITRONICS.h
pins_MKS_13.h
pins_MKS_BASE.h
pins_OMCA_A.h
pins_OMCA.h
pins_PRINTRBOARD_REVF.h
pins_PRINTRBOARD.h
pins_RAMBO.h
pins_RAMPS_13.h
pins_RAMPS_OLD.h
pins_RAMPS.h
pins_RIGIDBOARD_V2.h
pins_RIGIDBOARD.h
pins_RUMBA.h
pins_SAINSMART_2IN1.h
pins_SANGUINOLOLU_11.h
pins_SANGUINOLOLU_12.h
pins_SAV_MKI.h
pins_SCOOVO_X9H.h
pins_SETHI.h
pins_STB_11.h
pins_TEENSY2.h
pins_TEENSYLU.h
pins_ULTIMAIN_2.h
pins_ULTIMAKER_OLD.h
pins_ULTIMAKER.h
pins.h
pinsDebug_list.h
pinsDebug_Teensyduino.h
pinsDebug.h
planner_bezier.cpp
planner_bezier.h
planner.cpp
planner.h
platformio.ini
point_t.h
printcounter.cpp
printcounter.h
qr_solve.cpp
qr_solve.h
SanityCheck.h
Sd2Card.cpp
Sd2Card.h
SdBaseFile.cpp
SdBaseFile.h
SdFatConfig.h
SdFatStructs.h
SdFatUtil.cpp
SdFatUtil.h
SdFile.cpp
SdFile.h
SdInfo.h Converted all files on src to Unix file format 2016-04-26 21:23:39 +01:00
SdVolume.cpp
SdVolume.h
serial.cpp
serial.h
servo.cpp
servo.h
speed_lookuptable.h
stepper_dac.cpp
stepper_dac.h Cleanup of code style 2016-10-07 15:57:24 -05:00
stepper_indirection.cpp
stepper_indirection.h
stepper.cpp
stepper.h
stopwatch.cpp
stopwatch.h
temperature.cpp
temperature.h Fix: Thermal runaway if nonexistent bed's temp is set 2017-04-02 11:48:10 -05:00
thermistornames.h
thermistortable_1.h Split up thermistor tables 2016-12-19 14:47:54 -08:00
thermistortable_2.h
thermistortable_3.h
thermistortable_4.h
thermistortable_5.h
thermistortable_6.h
thermistortable_7.h
thermistortable_8.h
thermistortable_9.h
thermistortable_10.h
thermistortable_11.h
thermistortable_12.h
thermistortable_13.h
thermistortable_20.h
thermistortable_51.h
thermistortable_52.h
thermistortable_55.h
thermistortable_60.h
thermistortable_66.h
thermistortable_70.h
thermistortable_71.h
thermistortable_75.h Add Thermistor 75: MGB18 silicon pad 2017-03-18 11:35:20 -05:00
thermistortable_110.h
thermistortable_147.h
thermistortable_998.h
thermistortable_999.h
thermistortable_1010.h
thermistortable_1047.h
thermistortables.h
twibus.cpp
twibus.h
types.h
ubl_G29.cpp
ubl_motion.cpp
ubl.cpp
ubl.h
ultralcd_impl_DOGM.h
ultralcd_impl_HD44780.h
ultralcd_st7920_u8glib_rrd.h
ultralcd.cpp
ultralcd.h
utf_mapper.h
utility.cpp
utility.h
vector_3.cpp
vector_3.h
Version.h
watchdog.cpp
watchdog.h