You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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
..
example_configurations Use same config name for all mesh dimensions 8 years ago
Conditionals.h Make Conditionals.h a catch-all for old configs 9 years ago
Conditionals_LCD.h Configurable delay for BLTouch servo emulation 8 years ago
Conditionals_post.h Fix: Thermal runaway if nonexistent bed's temp is set 8 years ago
Configuration.h Use same config name for all mesh dimensions 8 years ago
Configuration_adv.h G38 optional double touch 8 years ago
G26_Mesh_Validation_Tool.cpp Rename all UBL files with a ubl_ prefix 8 years ago
M100_Free_Mem_Chk.cpp Further repairs to UBL, comments, spacing 8 years ago
Makefile Merge pull request #5994 from StefanBruens/fix_Makefile_errors 8 years ago
Marlin.h Use same config name for all mesh dimensions 8 years ago
Marlin.ino TMC2130 Library: @teemuatlut replaces @makertum 8 years ago
MarlinConfig.h Merge pull request #4419 from AnHardt/sd2pinmap 9 years ago
MarlinSerial.cpp Patch MarlinSerial to match up with 32-bit version 8 years ago
MarlinSerial.h Patch MarlinSerial to match up with 32-bit version 8 years ago
Marlin_main.cpp Rename all UBL files with a ubl_ prefix 8 years ago
SanityCheck.h Use same config name for all mesh dimensions 8 years ago
Sd2Card.cpp Fix SD_CHECK_AND_RETRY condition 8 years ago
Sd2Card.h repair-software-spi 9 years ago
SdBaseFile.cpp Clear dir_t size, not pointer size 8 years ago
SdBaseFile.h Further cleanup of comments, partial Doxygen-style 9 years ago
SdFatConfig.h repair-software-spi 9 years ago
SdFatStructs.h Further cleanup of comments, partial Doxygen-style 9 years ago
SdFatUtil.cpp Further cleanup of comments, partial Doxygen-style 9 years ago
SdFatUtil.h Cleanup SdFatUtil.h 9 years ago
SdFile.cpp Converted all files on src to Unix file format 9 years ago
SdFile.h Further cleanup of comments, partial Doxygen-style 9 years ago
SdInfo.h Converted all files on src to Unix file format 9 years ago
SdVolume.cpp Converted all files on src to Unix file format 9 years ago
SdVolume.h Further cleanup of comments, partial Doxygen-style 9 years ago
Version.h Document PROTOCOL_VERSION 8 years ago
blinkm.cpp Further cleanup of comments, partial Doxygen-style 9 years ago
blinkm.h Further cleanup of comments, partial Doxygen-style 9 years ago
boards.h Board A4JP should be SCOOVO_X9H 8 years ago
buzzer.h fixed warning: ISO C++ forbids compound-literals 8 years ago
cardreader.cpp Additional cleanup of UBL code 8 years ago
cardreader.h Dynamic allocation for SDCARD_SORT_ALPHA 8 years ago
circularqueue.h Patch up CircularQueue 9 years ago
configuration_store.cpp Rename all UBL files with a ubl_ prefix 8 years ago
configuration_store.h Audible feedback for settings store/load/reset 8 years ago
dac_mcp4728.cpp Fix DAC current code 8 years ago
dac_mcp4728.h Fix DAC current code 8 years ago
digipot_mcp4451.cpp Unify config in a single include without nested includes 9 years ago
dogm_bitmaps.h Updates u8glib's bmp2hex converter 9 years ago
dogm_font_data_6x9_marlin.h Further cleanup of comments, partial Doxygen-style 9 years ago
dogm_font_data_HD44780_C.h Further cleanup of comments, partial Doxygen-style 9 years ago
dogm_font_data_HD44780_J.h Update Kana font 9 years ago
dogm_font_data_HD44780_W.h Further cleanup of comments, partial Doxygen-style 9 years ago
dogm_font_data_ISO10646_1.h Further cleanup of comments, partial Doxygen-style 9 years ago
dogm_font_data_ISO10646_1_tr.h Improve M600 with timeout, wait for heatup. 8 years ago
dogm_font_data_ISO10646_5_Cyrillic.h Further cleanup of comments, partial Doxygen-style 9 years ago
dogm_font_data_ISO10646_CN.h Further cleanup of comments, partial Doxygen-style 9 years ago
dogm_font_data_ISO10646_Greek.h Change font decent to -1 for tt and gr 8 years ago
dogm_font_data_ISO10646_Kana.h Update Kana font 9 years ago
dogm_font_data_Marlin_symbols.h Further cleanup of comments, partial Doxygen-style 9 years ago
duration_t.h Fix formatting of print time hours above one day 8 years ago
endstop_interrupts.h Add and apply WITHIN macro 8 years ago
endstops.cpp Merge pull request #5678 from Bob-the-Kuhn/G38-optional-double-tap 8 years ago
endstops.h guaranteed BLTouch detection 8 years ago
enum.h Implement the "manual" option for ABL 8 years ago
fastio.h Merge pull request #4894 from thinkyhead/rc_mightyboard_rev_e 8 years ago
hex_print_routines.cpp Various UBL cleanups and bug fixes 8 years ago
hex_print_routines.h Various UBL cleanups and bug fixes 8 years ago
language.h Immediate commands take precedence 8 years ago
language_an.h Audible feedback for settings store/load/reset 8 years ago
language_bg.h Audible feedback for settings store/load/reset 8 years ago
language_ca.h Audible feedback for settings store/load/reset 8 years ago
language_cn.h Audible feedback for settings store/load/reset 8 years ago
language_cz.h Audible feedback for settings store/load/reset 8 years ago
language_da.h Audible feedback for settings store/load/reset 8 years ago
language_de.h Audible feedback for settings store/load/reset 8 years ago
language_el-gr.h Audible feedback for settings store/load/reset 8 years ago
language_el.h Audible feedback for settings store/load/reset 8 years ago
language_en.h Audible feedback for settings store/load/reset 8 years ago
language_es.h Audible feedback for settings store/load/reset 8 years ago
language_eu.h Audible feedback for settings store/load/reset 8 years ago
language_fi.h Audible feedback for settings store/load/reset 8 years ago
language_fr.h Audible feedback for settings store/load/reset 8 years ago
language_gl.h Audible feedback for settings store/load/reset 8 years ago
language_hr.h Audible feedback for settings store/load/reset 8 years ago
language_it.h Audible feedback for settings store/load/reset 8 years ago
language_kana.h Audible feedback for settings store/load/reset 8 years ago
language_kana_utf8.h Audible feedback for settings store/load/reset 8 years ago
language_nl.h Audible feedback for settings store/load/reset 8 years ago
language_pl.h Audible feedback for settings store/load/reset 8 years ago
language_pt-br.h Audible feedback for settings store/load/reset 8 years ago
language_pt-br_utf8.h Audible feedback for settings store/load/reset 8 years ago
language_pt.h Audible feedback for settings store/load/reset 8 years ago
language_pt_utf8.h Audible feedback for settings store/load/reset 8 years ago
language_ru.h Audible feedback for settings store/load/reset 8 years ago
language_test.h Keep SIMULATE_ROMFONT only language.h 9 years ago
language_tr.h Audible feedback for settings store/load/reset 8 years ago
language_uk.h Audible feedback for settings store/load/reset 8 years ago
language_zh_CN.h Audible feedback for settings store/load/reset 8 years ago
language_zh_TW.h Audible feedback for settings store/load/reset 8 years ago
macros.h Apply FIXFLOAT macro 8 years ago
mesh_bed_leveling.cpp Use same config name for all mesh dimensions 8 years ago
mesh_bed_leveling.h Use same config name for all mesh dimensions 8 years ago
nozzle.cpp Apply prior nozzle clean update 8 years ago
nozzle.h Added circle pattern for nozzle cleaning feature 8 years ago
pins.h Board A4JP should be SCOOVO_X9H 8 years ago
pinsDebug.h pinsDebug with more features, uses less RAM 8 years ago
pinsDebug_Teensyduino.h Remove extraneous whitespace 8 years ago
pinsDebug_list.h pinsDebug with more features, uses less RAM 8 years ago
pins_3DRAG.h Follow-up the PR #4955, etc 8 years ago
pins_5DPRINT.h Follow-up the PR #4955, etc 8 years ago
pins_AZTEEG_X1.h Add "About Printer" information menu. 9 years ago
pins_AZTEEG_X3.h Follow-up the PR #5087 (Fixed SERVO pins on Azteeg X3), etc 8 years ago
pins_AZTEEG_X3_PRO.h Predefine auto fan pins in some pins files 8 years ago
pins_BAM_DICE_DUE.h Follow-up the PR #4955, etc 8 years ago
pins_BQ_ZUM_MEGA_3D.h Updated bq Hephestos 2 example configuration 8 years ago
pins_BRAINWAVE.h Follow-up the PR #4955, etc 8 years ago
pins_BRAINWAVE_PRO.h Follow-up the PR #4955, etc 8 years ago
pins_CHEAPTRONIC.h Follow-up the PR #4955, etc 8 years ago
pins_CNCONTROLS_11.h Predefine auto fan pins in some pins files 8 years ago
pins_CNCONTROLS_12.h Predefine auto fan pins in some pins files 8 years ago
pins_ELEFU_3.h Follow-up the PR #4955, etc 8 years ago
pins_FELIX2.h Follow-up the PR #4955, etc 8 years ago
pins_GEN3_MONOLITHIC.h Follow-up the PR #4955, etc 8 years ago
pins_GEN3_PLUS.h Follow-up the PR #4955, etc 8 years ago
pins_GEN6.h Follow-up the PR #4955, etc 8 years ago
pins_GEN6_DELUXE.h Add "About Printer" information menu. 9 years ago
pins_GEN7_12.h Label analog pins in a similar way 8 years ago
pins_GEN7_13.h Add "About Printer" information menu. 9 years ago
pins_GEN7_14.h Follow-up the PR #4955, etc 8 years ago
pins_GEN7_CUSTOM.h Follow-up the PR #4955, etc 8 years ago
pins_K8200.h Add "About Printer" information menu. 9 years ago
pins_K8400.h Disable SD Detect for K8400 8 years ago
pins_LEAPFROG.h Follow-up the PR #4955, etc 8 years ago
pins_MEGACONTROLLER.h Follow-up the PR #4955, etc 8 years ago
pins_MEGATRONICS.h Follow-up the PR #4955, etc 8 years ago
pins_MEGATRONICS_2.h Follow-up the PR #4955, etc 8 years ago
pins_MEGATRONICS_3.h Remove unnecessary tabs and spaces 8 years ago
pins_MELZI.h #if defined => #ifdef / PIN_EXISTS 8 years ago
pins_MELZI_MAKR3D.h #if defined => #ifdef / PIN_EXISTS 8 years ago
pins_MIGHTYBOARD_REVE.h Developer note in pins_MIGHTYBOARD_REVE.h 8 years ago
pins_MINIRAMBO.h Follow-up the PR #4955, etc 8 years ago
pins_MINITRONICS.h Follow-up the PR #4955, etc 8 years ago
pins_MKS_13.h Follow-up the PR #4955, etc 8 years ago
pins_MKS_BASE.h Follow-up the PR #4955, etc 8 years ago
pins_OMCA.h Follow-up the PR #4955, etc 8 years ago
pins_OMCA_A.h Follow-up the PR #4955, etc 8 years ago
pins_PRINTRBOARD.h Follow-up the PR #4955, etc 8 years ago
pins_PRINTRBOARD_REVF.h Follow-up the PR #4955, etc 8 years ago
pins_RAMBO.h Follow-up the PR #4955, etc 8 years ago
pins_RAMPS.h Add TMC2130 support 8 years ago
pins_RAMPS_13.h pins_RAMPS_14.h => pins_RAMPS.h 9 years ago
pins_RAMPS_OLD.h Follow-up the PR #4955, etc 8 years ago
pins_RIGIDBOARD.h Remove BEEPER_PIN override in pins_RIGIDBOARD.h 8 years ago
pins_RIGIDBOARD_V2.h Default DAC values for RigidBoard V2 8 years ago
pins_RUMBA.h Tweak "can not" => "can't" in RUMBA pins 8 years ago
pins_SAINSMART_2IN1.h Follow-up the PR #4955, etc 8 years ago
pins_SANGUINOLOLU_11.h Add Support TinyBoy2 OLED/Encoder panel 8 years ago
pins_SANGUINOLOLU_12.h #if defined => #ifdef / PIN_EXISTS 8 years ago
pins_SAV_MKI.h Follow-up the PR #4955, etc 8 years ago
pins_SCOOVO_X9H.h Board A4JP should be SCOOVO_X9H 8 years ago
pins_SETHI.h Follow-up the PR #4955, etc 8 years ago
pins_STB_11.h #if defined => #ifdef / PIN_EXISTS 8 years ago
pins_TEENSY2.h Follow-up the PR #4955, etc 8 years ago
pins_TEENSYLU.h Follow-up the PR #4955, etc 8 years ago
pins_ULTIMAIN_2.h Follow-up the PR #4955, etc 8 years ago
pins_ULTIMAKER.h Follow-up the PR #4955, etc 8 years ago
pins_ULTIMAKER_OLD.h Follow-up the PR #4955, etc 8 years ago
planner.cpp Syntax cleanup 8 years ago
planner.h Cleanup to planner.cpp 8 years ago
planner_bezier.cpp Improve planner kinematics, fix delta ABL 8 years ago
planner_bezier.h Append units to feedrate variables 9 years ago
platformio.ini Move platformio directories out of source tree 8 years ago
point_t.h Adds missing documentation to the point_t structure 9 years ago
printcounter.cpp Fix single-char echo and pinMode usage 8 years ago
printcounter.h Adds filamentUsed and longestPrint stats to PrintCounter 9 years ago
qr_solve.cpp Enable ABL by type, support bilinear on cartesian 8 years ago
qr_solve.h Enable ABL by type, support bilinear on cartesian 8 years ago
serial.cpp Relocate serial macros and functions 8 years ago
serial.h Relocate serial macros and functions 8 years ago
servo.cpp Additional cleanup of UBL code 8 years ago
servo.h SERVO_DEACTIVATION_DELAY => SERVO_DELAY 9 years ago
speed_lookuptable.h Spacing, cleanup in speed_lookuptable.h 8 years ago
stepper.cpp Various UBL cleanups and bug fixes 8 years ago
stepper.h First draft of Unified Stepper / E Advance ISR 8 years ago
stepper_dac.cpp Remove extraneous whitespace 8 years ago
stepper_dac.h Cleanup of code style 8 years ago
stepper_indirection.cpp TMC2130 Library: @teemuatlut replaces @makertum 8 years ago
stepper_indirection.h TMC2130 Library: @teemuatlut replaces @makertum 8 years ago
stopwatch.cpp Updates Stopwatch class to use internal state enum 9 years ago
stopwatch.h Updates Stopwatch class to use internal state enum 9 years ago
temperature.cpp Fix: Thermal runaway if nonexistent bed's temp is set 8 years ago
temperature.h Fix: Thermal runaway if nonexistent bed's temp is set 8 years ago
thermistornames.h Add Thermistor 75: MGB18 silicon pad 8 years ago
thermistortable_1.h Split up thermistor tables 8 years ago
thermistortable_2.h Split up thermistor tables 8 years ago
thermistortable_3.h Split up thermistor tables 8 years ago
thermistortable_4.h Split up thermistor tables 8 years ago
thermistortable_5.h Split up thermistor tables 8 years ago
thermistortable_6.h Split up thermistor tables 8 years ago
thermistortable_7.h Split up thermistor tables 8 years ago
thermistortable_8.h Split up thermistor tables 8 years ago
thermistortable_9.h Split up thermistor tables 8 years ago
thermistortable_10.h Split up thermistor tables 8 years ago
thermistortable_11.h Split up thermistor tables 8 years ago
thermistortable_12.h Split up thermistor tables 8 years ago
thermistortable_13.h Split up thermistor tables 8 years ago
thermistortable_20.h Split up thermistor tables 8 years ago
thermistortable_51.h Split up thermistor tables 8 years ago
thermistortable_52.h Split up thermistor tables 8 years ago
thermistortable_55.h Split up thermistor tables 8 years ago
thermistortable_60.h Split up thermistor tables 8 years ago
thermistortable_66.h Split up thermistor tables 8 years ago
thermistortable_70.h Split up thermistor tables 8 years ago
thermistortable_71.h Split up thermistor tables 8 years ago
thermistortable_75.h Add Thermistor 75: MGB18 silicon pad 8 years ago
thermistortable_110.h Split up thermistor tables 8 years ago
thermistortable_147.h Split up thermistor tables 8 years ago
thermistortable_998.h Split up thermistor tables 8 years ago
thermistortable_999.h Split up thermistor tables 8 years ago
thermistortable_1010.h Split up thermistor tables 8 years ago
thermistortable_1047.h Split up thermistor tables 8 years ago
thermistortables.h Add Thermistor 75: MGB18 silicon pad 8 years ago
twibus.cpp Add and apply WITHIN macro 8 years ago
twibus.h M155=>M260, M156=>M261 8 years ago
types.h Adds types.h 9 years ago
ubl.cpp Rename all UBL files with a ubl_ prefix 8 years ago
ubl.h Adjust indentation in ubl.h 8 years ago
ubl_G29.cpp Rename all UBL files with a ubl_ prefix 8 years ago
ubl_motion.cpp Rename all UBL files with a ubl_ prefix 8 years ago
ultralcd.cpp Rename all UBL files with a ubl_ prefix 8 years ago
ultralcd.h status_printf => lcd_status_printf_P 8 years ago
ultralcd_impl_DOGM.h Apply FIXFLOAT macro 8 years ago
ultralcd_impl_HD44780.h Apply FIXFLOAT macro 8 years ago
ultralcd_st7920_u8glib_rrd.h Distribute GLCD screen updates in time 8 years ago
utf_mapper.h utf8-mapper for Turkish 8 years ago
utility.cpp Add and apply WITHIN macro 8 years ago
utility.h Replace ftostr62sign with ftostr62rj 8 years ago
vector_3.cpp Adjust vector_3 code with const, some optimization 8 years ago
vector_3.h Enable ABL by type, support bilinear on cartesian 8 years ago
watchdog.cpp Correct comment on watchdog timer 8 years ago
watchdog.h Further cleanup of comments, partial Doxygen-style 9 years ago