Browse Source
commitFB4S_WIFI4b9fce2e85
Merge:ecb08b15be
e17d710c5c
Author: Sergey <sergey@terentiev.me> Date: Mon Dec 27 16:47:22 2021 +0300 Merge branch '2.0.x' into vanilla_fb_2.0.x commite17d710c5c
Author: Scott Lahteine <thinkyhead@users.noreply.github.com> Date: Sat Dec 25 22:13:20 2021 -0600 ๐ Marlin 2.0.9.3 commit9b13ae2399
Author: Keith Bennett <13375512+thisiskeithb@users.noreply.github.com> Date: Sat Dec 25 19:41:01 2021 -0800 ๐ Fix MKS Robin E3 NeoPixel pin default (#23350) commit06f36dc746
Author: kaidegit <60053077+kaidegit@users.noreply.github.com> Date: Sun Dec 26 10:12:20 2021 +0800 ๐ Fix open for bin rename (#23351) commit98eca9cb23
Author: Scott Lahteine <thinkyhead@users.noreply.github.com> Date: Sat Dec 25 03:27:45 2021 -0600 ๐ง Move MOTHERBOARD closer to top commit6268795003
Author: fflosi <34758322+fflosi@users.noreply.github.com> Date: Sat Dec 25 05:57:07 2021 -0300 โจ Per-axis TMC hold multiplier (#23345) commitb4f0922a7c
Author: Sola <42537573+solawc@users.noreply.github.com> Date: Fri Dec 24 14:03:32 2021 +0800 โจ MKS TinyBee board support (#23340) Co-Authored-By: Sola <42537573+solawc@users.noreply.github.com> commitaef613acd3
Author: Robby Candra <robbycandra.mail@gmail.com> Date: Thu Dec 23 15:19:39 2021 +0700 ๐ง Group FAST_PWM_FAN.options (#23331) Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com> commit9ecfa1d252
Author: InsanityAutomation <38436470+InsanityAutomation@users.noreply.github.com> Date: Tue Dec 21 23:09:55 2021 -0500 โจ BLTouch High Speed mode runtime configuration (#22916, #23337) Co-Authored-By: Scott Lahteine <thinkyhead@users.noreply.github.com> commite0bed1e344
Author: ellensp <530024+ellensp@users.noreply.github.com> Date: Wed Dec 22 15:44:04 2021 +1300 โจ Option to reset EEPROM on first run (#23276) Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com> commitd21fa25ab8
Author: Spencer Owen <owenspencer@gmail.com> Date: Sat Dec 18 18:58:46 2021 -0700 โจ Creality3D V4.2.3 / Ender-2 Pro board (#23307) commit0dc1a58b24
Author: X-Ryl669 <boite.pour.spam@gmail.com> Date: Tue Dec 14 07:22:06 2021 +0100 โจ Configurations embed and retrieve (#21321, #23303) commitf2ca70e232
Author: John Lagonikas <39417467+zeleps@users.noreply.github.com> Date: Wed Dec 8 20:55:09 2021 +0200 ๐ Fix and improve MAX31865 (#23215) Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com> commita6bed22839
Author: BigTreeTech <38851044+bigtreetech@users.noreply.github.com> Date: Sat Dec 11 03:38:03 2021 +0800 โจ BigTreeTech SKR mini E3 V3.0 (STM32G0B1RET6) (#23283) commitefd67cf80d
Author: Giuseppe499 <giuseppe499@live.it> Date: Tue Dec 7 02:53:51 2021 +0100 โจ X Twist Compensation & Calibration (#23238) commit15204470a8
Author: ladismrkolj <ladismrkolj@gmail.com> Date: Sun Dec 5 22:41:39 2021 +0100 ๐ง Chamber Fan index option (#23262) commit48358d6a5c
Author: Mike La Spina <mike.laspina@shaw.ca> Date: Fri Dec 3 12:48:48 2021 -0600 ๐๏ธ Fix Maple HAL/STM32F1 PWM (#23211) commitd7abb891cd
Author: Tanguy Pruvot <tpruvot@users.noreply.github.com> Date: Fri Dec 3 19:31:48 2021 +0100 ๐๏ธ Rework STM32 timer frequency protection (#23187) commit52a44eb200
Author: Scott Lahteine <thinkyhead@users.noreply.github.com> Date: Tue Nov 30 15:04:05 2021 -0600 ๐ Fix STM32 FastPWM commit9b1c0a75e1
Author: Scott Lahteine <github@thinkyhead.com> Date: Sat Nov 27 18:33:32 2021 -0600 ๐จ Rename HAL timer elements commitd75e7784e5
Author: schmttc <89831403+schmttc@users.noreply.github.com> Date: Wed Nov 24 08:52:18 2021 +1100 โจ EasyThreeD ET4000+ board and UI (#23080) Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com> commit0e60c8b7e0
Author: John Robertson <john@cirtech.co.uk> Date: Tue Nov 23 21:24:24 2021 +0000 โจ MarkForged YX kinematics (#23163) commit018c7b1cf4
Author: Keith Bennett <13375512+thisiskeithb@users.noreply.github.com> Date: Sun Nov 21 11:25:06 2021 -0800 โจ BigTreeTech Mini 12864 V1.0 (#23130) Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com> commitaf1d603374
Author: Giuliano Zaro <3684609+GMagician@users.noreply.github.com> Date: Tue Nov 23 21:01:53 2021 +0100 โจ Fan tachometer support (#23086, #23180, #23199) Co-Authored-By: Scott Lahteine <github@thinkyhead.com> commit884308f964
Author: Scott Lahteine <github@thinkyhead.com> Date: Tue Nov 16 08:54:30 2021 -0600 ๐ง SOUND_MENU_ITEM for E3V2 commit7269990413
Author: Miguel Risco-Castillo <mriscoc@users.noreply.github.com> Date: Wed Nov 10 11:31:35 2021 -0500 ๐ธ Expose sub-options for E3V2 Enhanced (#23099) commit2a90d93b17
Author: Keith Bennett <13375512+thisiskeithb@users.noreply.github.com> Date: Wed Nov 17 09:33:42 2021 -0800 ๐ Overridable probe-related pins (#23107) commit6e284f8823
Author: BigTreeTech <38851044+bigtreetech@users.noreply.github.com> Date: Wed Nov 10 23:56:10 2021 +0800 โจ Support for BIQU B1-SE-Plus strain gauge probe (#23101) Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com> commita2349fc411
Author: Scott Lahteine <thinkyhead@users.noreply.github.com> Date: Fri Dec 24 23:47:52 2021 -0600 ๐จ Configurable firmware bin filename Configuration.h > FIRMWARE_BIN commita3964b2b40
Author: Scott Lahteine <thinkyhead@users.noreply.github.com> Date: Fri Dec 24 20:59:28 2021 -0600 ๐จ Ignore more generated files commit226ee7c1f3
Author: Scott Lahteine <thinkyhead@users.noreply.github.com> Date: Fri Dec 24 01:46:51 2021 -0600 ๐ง Sanity check MMU2_MENUS commit2c12171f46
Author: Attila BODY <attila.body@gmail.com> Date: Fri Dec 24 06:57:20 2021 +0100 ๐ Fix Robin Nano v3 filament runout pins (#23344) Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com> commitd034a9c295
Author: MrAlvin <umo-testing@3iii.dk> Date: Thu Dec 23 10:47:52 2021 +0100 ๐ธ Show mm'ss during first hour (#23335) Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com> commitd2c7104bb3
Author: Robby Candra <robbycandra.mail@gmail.com> Date: Wed Dec 15 07:51:19 2021 +0700 ๐ธ Change "SD" to "Media" or "SD/FD" (#23297) commit570c7e8638
Author: ellensp <530024+ellensp@users.noreply.github.com> Date: Wed Dec 22 13:48:38 2021 +1300 ๐ Fix Chitu Z_STOP_PIN (#23330) commitcc4578a3d3
Author: Tanguy Pruvot <tpruvot@users.noreply.github.com> Date: Thu Dec 23 07:49:15 2021 +0100 ๐ฉน Fix settings G21 report (#23338) commit1db84be66a
Author: Mike La Spina <mike.laspina@shaw.ca> Date: Tue Dec 21 01:26:31 2021 -0600 ๐๏ธ FAST_PWM_FAN default 1KHz base freq. (#23326) Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com> commit77c9668fe2
Author: ellensp <530024+ellensp@users.noreply.github.com> Date: Tue Dec 14 19:25:28 2021 +1300 ๐ Fix LCD_BED_LEVELING compile (#23298) commit22cf9b444e
Author: GHGiampy <83699429+GHGiampy@users.noreply.github.com> Date: Mon Dec 20 09:44:43 2021 +0100 ๐งโ๐ป Option allowing > 127 Neopixels (#23322) commit97798d1e47
Author: Scott Lahteine <thinkyhead@users.noreply.github.com> Date: Thu Jul 8 01:33:49 2021 -0500 ๐จ Update SKR V2 pins commitf4b808456a
Author: Giuliano Zaro <3684609+GMagician@users.noreply.github.com> Date: Tue Dec 14 01:47:57 2021 +0100 ๐ธ Use M600 for disabled MMU (#21865) commit6264736968
Author: Tanguy Pruvot <tpruvot@users.noreply.github.com> Date: Tue Dec 14 01:41:21 2021 +0100 ๐ Fix TFT_COLOR_UI Release Media issue (#23123) commit7a5f103bcf
Author: John Lagonikas <39417467+zeleps@users.noreply.github.com> Date: Sat Dec 18 01:31:10 2021 +0200 ๐ง Warning for IGNORE_THERMOCOUPLE_ERRORS (#23312) commit1a8307b196
Author: Scott Lahteine <thinkyhead@users.noreply.github.com> Date: Sat Dec 18 17:38:29 2021 -0600 ๐ Fix a config comment commit13a1c86ae8
Author: ellensp <530024+ellensp@users.noreply.github.com> Date: Tue Dec 14 13:18:24 2021 +1300 โจ M115 flag EXTENDED_M20 (#22941) commit15656201d2
Author: ellensp <530024+ellensp@users.noreply.github.com> Date: Tue Dec 14 13:13:34 2021 +1300 โ๏ธ Clean up duplicate defs (#23182) commitf3e372cb4c
Author: Robby Candra <robbycandra.mail@gmail.com> Date: Tue Dec 14 07:11:52 2021 +0700 ๐ฉน Init fan speed at boot (#23181) Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com> commitc781ecc437
Author: Scott Lahteine <thinkyhead@users.noreply.github.com> Date: Mon Dec 13 16:15:46 2021 -0600 ๐ง Fix unknown board test commitdaa8fff6c6
Author: Scott Lahteine <thinkyhead@users.noreply.github.com> Date: Sun Dec 12 16:16:40 2021 -0600 ๐ฉน SD abort requires open file See #22566 commitd481bba327
Author: ellensp <530024+ellensp@users.noreply.github.com> Date: Sun Dec 12 11:06:45 2021 +1300 ๐ Fix MARLIN_F103Rx variant SCK / MOSI pins (#23282) commit32b08ae04c
Author: Scott Alfter <scott@alfter.us> Date: Wed Dec 8 23:18:04 2021 -0800 Fix Endstops::report_states (#23280) Fix regression 4d45fdf0eb commitf00a0356c7
Author: Scott Lahteine <github@thinkyhead.com> Date: Wed Dec 8 18:36:08 2021 -0600 ๐จ Misc. probe / endstop cleanup commit9871800874
Author: Sola <42537573+solawc@users.noreply.github.com> Date: Thu Dec 9 03:37:45 2021 +0800 ๐ Fix MKS LVGL UI retraction (#23267) commit39c2c038be
Author: Robby Candra <robbycandra.mail@gmail.com> Date: Thu Dec 9 02:15:31 2021 +0700 ๐ฉน Coerce pin_t in set_pwm_duty macros (#23273) commit285d6488a3
Author: Jason Smith <jason.inet@gmail.com> Date: Wed Dec 8 11:10:37 2021 -0800 ๐ Fix ACTION_ITEM with nullptr (#23195) Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com> commiteecbd09a46
Author: Robby Candra <robbycandra.mail@gmail.com> Date: Thu Dec 9 01:57:50 2021 +0700 ๐ธ Onboard SD for SKR 2.0 / SKR PRO (#23274) commit8d4e4ac115
Author: Scott Lahteine <thinkyhead@users.noreply.github.com> Date: Wed Dec 8 12:40:23 2021 -0600 ๐จ Rename MAX31865 elements commitb77a5d4c8d
Author: Scott Lahteine <thinkyhead@users.noreply.github.com> Date: Mon Dec 6 20:18:50 2021 -0600 โ๏ธ MAX31856 => MAX31865 commitc3b8b3e7e6
Author: Mike La Spina <mike.laspina@shaw.ca> Date: Mon Dec 6 15:52:18 2021 -0600 ๐ฉน Fix non-PWM cutter compile (#23169) commit7123b15801
Author: Stuart Pittaway <1201909+stuartpittaway@users.noreply.github.com> Date: Mon Dec 6 21:40:18 2021 +0000 ๐ Fix TWIBus Wire.begin call (#23183) commit8a2f13d657
Author: Chris Pepper <p3p@p3psoft.co.uk> Date: Sun Dec 5 22:18:02 2021 +0000 ๐ HAL_reboot for native HAL (#23246) commit251d9fc1d7
Author: tommywienert <53783769+tommywienert@users.noreply.github.com> Date: Sun Dec 5 23:16:23 2021 +0100 ๐ Fix env:chitu_f103 (#23225) commit5eeb9650b5
Author: ellensp <530024+ellensp@users.noreply.github.com> Date: Mon Dec 6 10:42:56 2021 +1300 ๐ More Longer3D LKx Pro serial tests (#23260) commitc0addd1d33
Author: Stuart Pittaway <1201909+stuartpittaway@users.noreply.github.com> Date: Sat Dec 4 23:44:10 2021 +0000 โจ M3426 to read i2c MCP3426 ADC (#23184) commit05b57278d4
Author: Scott Lahteine <github@thinkyhead.com> Date: Sat Dec 4 17:17:10 2021 -0600 ๐ง Cutter pins for SKR 2.0 commitaa3ec2fbfd
Author: Robby Candra <robbycandra.mail@gmail.com> Date: Sun Dec 5 05:14:19 2021 +0700 ๐ธ Park nozzle on "loud kill" (#23172) commit4468516aa2
Author: ellensp <530024+ellensp@users.noreply.github.com> Date: Sun Dec 5 11:10:29 2021 +1300 โจ BigTree SKR 2 with F429 (#23177) commit95d006b406
Author: ellensp <530024+ellensp@users.noreply.github.com> Date: Sat Dec 4 09:48:54 2021 +1300 ๐ Fix TIMER_TONE for ZM3E4 (#23212) commit5b057b4bcf
Author: Jiri Jirus <jiri.jirus@cloudaper.com> Date: Tue Nov 30 21:46:48 2021 +0100 ๐ฉน Assume 4K EEPROM for RUMBA32 BTT (#23205) commit77af48e547
Author: Scott Lahteine <github@thinkyhead.com> Date: Tue Nov 30 13:03:31 2021 -0600 ๐ Fix STM32 FastPWM commit0f7f709aad
Author: Keith Bennett <13375512+thisiskeithb@users.noreply.github.com> Date: Sat Nov 27 14:59:32 2021 -0800 โ๏ธ Fix Unicode (#23186) commita8c0e11cb1
Author: Jason Smith <jason.inet@gmail.com> Date: Sat Nov 27 13:54:39 2021 -0800 ๐ฉน Handle nullptr in CardReader::printLongPath (#23197) commit0556da85b0
Author: Anson Liu <ansonl@users.noreply.github.com> Date: Sat Nov 27 17:58:05 2021 -0500 ๐ฉน UM2 extruder cooling fan on PJ6 (#23194) commit93652e5c6f
Author: George Fu <nailao_5918@163.com> Date: Sun Nov 28 03:26:53 2021 +0800 โจ FYSETC Spider v2.2 (#23208) commitf3fc1d15a3
Author: Giuliano Zaro <3684609+GMagician@users.noreply.github.com> Date: Tue Nov 23 22:33:33 2021 +0100 ๐ฉน Fix include path (#23150) commit3148060550
Author: Keith Bennett <13375512+thisiskeithb@users.noreply.github.com> Date: Tue Nov 23 13:54:31 2021 -0800 ๐ Biqu BX temporary framework workaround (#23131) commit5f08864d1f
Author: Mike La Spina <mike.laspina@shaw.ca> Date: Tue Nov 23 14:05:50 2021 -0600 ๐ Fix STM32 set_pwm_duty (#23125) commit184fc36a08
Author: Tanguy Pruvot <tpruvot@users.noreply.github.com> Date: Sun Nov 21 20:13:01 2021 +0100 ๐ Fix TFT backlight sleep/wake (#23153) commit281ed99868
Author: Tanguy Pruvot <tpruvot@users.noreply.github.com> Date: Sat Nov 20 02:44:53 2021 +0100 โก๏ธ Reduce calls to set fan PWM (#23149) commit2cc4a1b326
Author: Scott Lahteine <thinkyhead@users.noreply.github.com> Date: Wed Nov 17 13:01:44 2021 -0600 ๐จ Misc formatting commitc5bd08755c
Author: BigTreeTech <38851044+bigtreetech@users.noreply.github.com> Date: Thu Nov 18 01:35:28 2021 +0800 ๐ Init PROBE_ENABLE_PIN (#23133) commit99f58f63f2
Author: luzpaz <luzpaz@users.noreply.github.com> Date: Wed Nov 17 12:09:01 2021 -0500 ๐จ Fix misspelling (#23137) commitc2a674d2c1
Author: espr14 <espr14@gmail.com> Date: Wed Nov 17 18:07:11 2021 +0100 ๐๏ธ Planner::busy() (#23145) commitfeffc19867
Author: Scott Lahteine <thinkyhead@users.noreply.github.com> Date: Tue Nov 16 14:06:36 2021 -0600 ๐ Fix fast PWM WGM code Followup to #23102 commitf637e1c501
Author: Scott Lahteine <thinkyhead@users.noreply.github.com> Date: Tue Nov 16 12:49:25 2021 -0600 ๐จ Bring Makefile up to date commit78240a279b
Author: EvilGremlin <22657714+EvilGremlin@users.noreply.github.com> Date: Tue Nov 16 19:32:43 2021 +0300 ๐จ Ignore sim flashdrive file (#23129) commit656034d2d9
Author: Luc Van Daele <lvd@sound-silence.com> Date: Tue Nov 16 16:24:53 2021 +0100 ๐ Fix G33, Delta radii, reachable (#22795) commit39a81d167e
Author: Mikhail Basov <github@basov.net> Date: Mon Nov 15 07:46:34 2021 +0300 ๐ธ LCD_SHOW_E_TOTAL for TFT_COLOR_UI (#23127) commitcb1570d162
Author: Scott Lahteine <github@thinkyhead.com> Date: Sun Nov 14 17:19:57 2021 -0600 ๐ Fix SENSORLESS_HOMING for 6-axis commit8cb646cc20
Author: EvilGremlin <22657714+EvilGremlin@users.noreply.github.com> Date: Mon Nov 15 00:15:07 2021 +0300 ๐ธ Simplify touchscreen calibration for SimUI (#23124) commit3cccb21dc9
Author: Miguel Risco-Castillo <mriscoc@users.noreply.github.com> Date: Wed Nov 10 11:55:20 2021 -0500 ๐ธ Fix up E3V2 Enhanced (#23100) commit7f4a49cc44
Author: Scott Lahteine <github@thinkyhead.com> Date: Fri Oct 22 13:21:26 2021 -0500 ๐จ Misc. issue review patches commite0c439fe91
Author: Mike La Spina <mike.laspina@shaw.ca> Date: Sun Nov 14 05:55:31 2021 -0600 โก๏ธ Controller Fan software PWM (etc.) (#23102) Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com> commit49e233e06f
Author: Tanguy Pruvot <tpruvot@users.noreply.github.com> Date: Fri Nov 12 21:26:19 2021 +0100 ๐จ MPX ARM Mini pins cleanup (#23113) commitb662dd1f92
Author: Mike La Spina <mike.laspina@shaw.ca> Date: Fri Nov 12 12:14:28 2021 -0600 ๐ [LCP1768] Init PWM in set_pwm_duty (#23110) commit700cae43ab
Author: Skruppy <skruppy@onmars.eu> Date: Fri Nov 12 15:57:24 2021 +0100 ๐ฉน Fix RGB case light compile (#23108) commit1c74c6e7ac
Author: George Fu <nailao_5918@163.com> Date: Wed Nov 10 23:58:20 2021 +0800 ๐ Fix FYSETC Cheetah 2.0 pins for production (#23104) commit757a9477db
Author: Minims <github@minims.fr> Date: Sun Oct 10 01:10:21 2021 +0200 ๐ฉน Adjust GTR 1.0 ST7920 display delay (#22904) commit59d43408f6
Author: Scott Lahteine <thinkyhead@users.noreply.github.com> Date: Sat Dec 25 00:57:30 2021 -0600 fix breaks in F() resolution commit1d8941d008
Author: Scott Lahteine <github@thinkyhead.com> Date: Tue Oct 5 21:35:31 2021 -0500 ๐จ Port libsdl2_net required for macOS simulator commit17f853d99c
Author: Keith Bennett <13375512+thisiskeithb@users.noreply.github.com> Date: Tue Nov 9 08:30:02 2021 -0800 โก๏ธ BTT002 (STM32F407VET6) variant, MK3_FAN_PINS flag (#23093) commit6f9f25dbb2
Author: Scott Lahteine <github@thinkyhead.com> Date: Sun Nov 7 01:11:51 2021 -0600 ๐จ Misc. code cleanup commit0273a68587
Author: VragVideo <91742261+VragVideo@users.noreply.github.com> Date: Sun Oct 3 06:12:51 2021 +0300 โจ WYH L12864 LCD (Alfawise Ex8) (#22863) commit58a26fcaac
Author: Keith Bennett <13375512+thisiskeithb@users.noreply.github.com> Date: Sat Nov 6 23:09:15 2021 -0700 ๐ธ Indicate Preheating for probe / leveling (#23088) commit489aca03ff
Author: Evgeniy Zhabotinskiy <evg-zhabotinsky@users.noreply.github.com> Date: Sun Nov 7 07:16:18 2021 +0300 ๐ฉน Fix M503 report (#23084) commitf32e19e1c6
Author: Jin <3448324+jinhong-@users.noreply.github.com> Date: Sun Nov 7 11:53:36 2021 +0800 ๐ป Preliminary fix for Max31865 SPI (#22682) Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com> commit57bd04b6ce
Author: dwzg <50058606+dwzg@users.noreply.github.com> Date: Sun Nov 7 04:48:00 2021 +0100 ๐ Fix JyersUI scrolling filename, etc. (#23082) Co-authored-by: Scott Lahteine <github@thinkyhead.com> commit396df93220
Author: ellensp <530024+ellensp@users.noreply.github.com> Date: Sun Nov 7 15:27:53 2021 +1300 ๐ Fix DGUS Reloaded status message (#23090) commit9b76b58b79
Author: Scott Lahteine <github@thinkyhead.com> Date: Thu Nov 4 12:18:23 2021 -0500 ๐ป Get/clear reset source earlier Followup to #23075 commit9fffed7160
Author: Skruppy <skruppy@onmars.eu> Date: Thu Nov 4 18:11:57 2021 +0100 ๐ Prevent AVR watchdogpile (#23075) commitfd136d5501
Author: Tanguy Pruvot <tpruvot@users.noreply.github.com> Date: Thu Nov 4 18:04:04 2021 +0100 ๐ Fix TFT backlight [STM32] (#23062) commit89ec1c71f0
Author: BigTreeTech <38851044+bigtreetech@users.noreply.github.com> Date: Thu Nov 4 18:54:38 2021 +0800 ๐ Fix Octopus-Pro Max31865 / SPI (#23072) commitfc2020c6ec
Author: Robby Candra <robbycandra.mail@gmail.com> Date: Thu Nov 4 17:28:42 2021 +0700 ๐จ Fix IntelliSense / PIO conflicts (#23058) Co-authored-by: Scott Lahteine <github@thinkyhead.com> commitf97635de36
Author: ellensp <530024+ellensp@users.noreply.github.com> Date: Thu Nov 4 14:04:06 2021 +1300 ๐ 'STOP' auto-assign, some Chitu V9 pins (#22889) Co-authored-by: Scott Lahteine <github@thinkyhead.com> commita0a57406a2
Author: Scott Lahteine <github@thinkyhead.com> Date: Wed Nov 3 07:06:31 2021 -0500 ๐จ Script 'mfprep' finds pending commits commit5efef86cfa
Author: Scott Lahteine <github@thinkyhead.com> Date: Wed Nov 3 07:02:21 2021 -0500 ๐จ Update git helper scripts commit20c747753d
Author: Scott Lahteine <github@thinkyhead.com> Date: Tue Nov 2 01:28:00 2021 -0500 ๐จ Support ABM in mf scripts commit08a9c61587
Author: Keith Bennett <13375512+thisiskeithb@users.noreply.github.com> Date: Mon Nov 1 23:15:29 2021 -0700 ๐ Default NeoPixel pin for MKS Robin E3/E3D (#23060) commit0d91b07797
Author: Andrei M <22990561+andrei-moraru@users.noreply.github.com> Date: Tue Nov 2 01:47:16 2021 -0400 โ๏ธ Use pwm_set_duty over analogWrite to set PWM (#23048) Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com> commitb033da1782
Author: Keith Bennett <13375512+thisiskeithb@users.noreply.github.com> Date: Mon Nov 1 22:43:40 2021 -0700 ๐ง Endstop / DIAG homing conflict warning (#23050) commit4dcd872be5
Author: Keith Bennett <13375512+thisiskeithb@users.noreply.github.com> Date: Mon Nov 1 21:23:54 2021 -0700 โจ Allow Low EJERK with LA, optional (#23054) commit7e9e2a7435
Author: Keith Bennett <13375512+thisiskeithb@users.noreply.github.com> Date: Mon Nov 1 20:23:24 2021 -0700 โจ Artillery Ruby (STM32F401RCT6) (#23029) commit0b84194127
Author: tombrazier <68918209+tombrazier@users.noreply.github.com> Date: Mon Nov 1 23:03:50 2021 +0000 ๐ธ More flexible Probe Temperature Compensation (#23033) commitefd9329c81
Author: Scott Lahteine <thinkyhead@users.noreply.github.com> Date: Thu Jul 8 01:17:16 2021 -0500 ๐ Tweak EXP comments commit5cbb820e29
Author: Scott Lahteine <github@thinkyhead.com> Date: Sat Oct 30 23:43:19 2021 -0500 ๐จ Help for GDB remote debugging commit5a0166489e
Author: Scott Lahteine <github@thinkyhead.com> Date: Sat Oct 30 22:43:02 2021 -0500 ๐ฉน Fix linker error (transfer_port_index) commit692c9a6312
Author: Scott Lahteine <github@thinkyhead.com> Date: Sat Oct 30 04:16:37 2021 -0500 ๐ Update Ender-3 V2 config path MarlinFirmware/Configurations#600 commit545d14f9a5
Author: Scott Lahteine <github@thinkyhead.com> Date: Sat Oct 30 01:39:33 2021 -0500 ๐จ Adjust Ender-3 V2 DWIN options commit7b9e01eb2b
Author: aalku <aalku7@gmail.com> Date: Sat Oct 30 07:17:20 2021 +0200 โจ Shutdown Host Action (#22908) Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com> commit8562f0ec44
Author: Scott Lahteine <thinkyhead@users.noreply.github.com> Date: Fri Oct 29 20:46:55 2021 -0500 โจ "Rutilea" ESP32 board (#22880) commit6f59d8171f
Author: Scott Lahteine <github@thinkyhead.com> Date: Fri Oct 29 20:42:52 2021 -0500 ๐ง Configuration version 02000903 commitd29a9014f2
Author: Scott Lahteine <github@thinkyhead.com> Date: Wed Oct 27 21:36:06 2021 -0500 ๐จ Standard 'cooldown' method commit205d867e4b
Author: Scott Lahteine <github@thinkyhead.com> Date: Wed Oct 27 20:01:44 2021 -0500 ๐จ Standard material presets behavior commit84f9490149
Author: Scott Lahteine <github@thinkyhead.com> Date: Wed Oct 27 21:15:58 2021 -0500 ๐จ Define HAS_PREHEAT conditional commit1fd4258423
Author: tome9111991 <57866234+tome9111991@users.noreply.github.com> Date: Sat Oct 30 00:49:12 2021 +0200 ๐ Fix E3V2 (CrealityUI) Tune/Prepare > Zoffset (#23040) commite8a55972a7
Author: Scott Lahteine <github@thinkyhead.com> Date: Thu Oct 28 19:22:35 2021 -0500 ๐ Fix EZBoard V2 board name commitaef413202e
Author: Keith Bennett <13375512+thisiskeithb@users.noreply.github.com> Date: Thu Oct 28 03:26:05 2021 -0700 ๐ Fix MKS Robin E3/E3D Z Stop/Probe pins (#23034) commitcbc7dadf42
Author: Scott Lahteine <github@thinkyhead.com> Date: Tue Oct 26 21:54:43 2021 -0500 ๐จ Apply HAS_MULTI_HOTEND conditional commitc508ecc414
Author: Zlopi <zlopi.ru@gmail.com> Date: Wed Oct 27 23:10:46 2021 +0300 ๐ธ Scroll long filename on MKS TFT (#23031) commit384a31765f
Author: ellensp <530024+ellensp@users.noreply.github.com> Date: Thu Oct 28 09:06:06 2021 +1300 ๐ฉน Retain LCD pins with motor expansion (#23024) commit0f2c4fc40b
Author: somehibs <hibs@circuitco.de> Date: Wed Oct 27 21:00:02 2021 +0100 ๐ Fix serial PORT_RESTORE (and BUFFER_MONITORING) (#23022) commit66a274452c
Author: tome9111991 <57866234+tome9111991@users.noreply.github.com> Date: Wed Oct 27 21:58:32 2021 +0200 ๐ Fix E3V2 (CrealityUI) position display (#23023) Followup to #23005, #22778 commit12f8168d1e
Author: Scott Lahteine <github@thinkyhead.com> Date: Tue Oct 26 19:36:16 2021 -0500 ๐ธ Tweaks to UBL G29 Q commit2142e1dae4
Author: woisy00 <spam@bergermeier.info> Date: Wed Oct 27 01:05:34 2021 +0200 ๐ Fix AUTOTEMP bug (thermal runaway) (#23025) Regression from9823a37
commit8d21ea55a2
Author: tombrazier <68918209+tombrazier@users.noreply.github.com> Date: Mon Oct 25 06:33:40 2021 +0100 ๐ Add USE_TEMP_EXT_COMPENSATION options (#23007) commita0da7e8a1f
Author: Scott Lahteine <thinkyhead@users.noreply.github.com> Date: Sun Oct 24 23:33:27 2021 -0500 ๐ง Fewer alerts about Z_SAFE_HOMING commite2452d6c57
Author: tome9111991 <57866234+tome9111991@users.noreply.github.com> Date: Fri Oct 22 18:16:07 2021 +0200 ๐ Fix SHOW_REMAINING_TIME option for JyersUI (#22999) commit5173a3140d
Author: Keith Bennett <13375512+thisiskeithb@users.noreply.github.com> Date: Fri Oct 22 08:52:31 2021 -0700 โจ BigTreeTech TFT35 SPI V1.0 (#22986) commite44f2b7d2d
Author: Mike La Spina <mike.laspina@shaw.ca> Date: Tue Oct 19 06:05:23 2021 -0500 ๐ฉน Fix pragma ignored for older GCC (#22978) commited78f7f4e6
Author: Scott Lahteine <thinkyhead@users.noreply.github.com> Date: Tue Oct 19 05:59:48 2021 -0500 ๐จ Refactor MOSFET pins layout (#22983) commitaa198e41dd
Author: Scott Lahteine <github@thinkyhead.com> Date: Tue Oct 19 05:52:41 2021 -0500 ๐จ Pragma GCC cleanup commit18b38fb58a
Author: Jason Smith <jason.inet@gmail.com> Date: Mon Oct 18 01:11:16 2021 -0700 ๐ Fix max chamber fan speed (#22977) commit5d79d8fad6
Author: Keith Bennett <13375512+thisiskeithb@users.noreply.github.com> Date: Mon Oct 18 00:57:54 2021 -0700 ๐ Fix I2C EEPROM SDA/SCL aliases with SKR Mini E3 V2 (#22955) commite7a746966d
Author: ellensp <530024+ellensp@users.noreply.github.com> Date: Mon Oct 18 20:54:20 2021 +1300 ๐ Fix MMU1 compile (#22965) commit555f35d46f
Author: Mike La Spina <mike.laspina@shaw.ca> Date: Mon Oct 18 02:40:47 2021 -0500 ๐จ Suppress type warning (#22976) commitde77dfcbbd
Author: Scott Lahteine <github@thinkyhead.com> Date: Sun Oct 17 22:10:08 2021 -0500 ๐จ Add MKS UI goto_previous_ui commitaf08f16efc
Author: Scott Lahteine <github@thinkyhead.com> Date: Sun Oct 17 20:24:41 2021 -0500 ๐ธ Tweak MKS UI G-code console commit01a0f3a8cf
Author: Scott Lahteine <github@thinkyhead.com> Date: Sun Oct 17 18:11:16 2021 -0500 ๐จ Fix up MKS UI defines commitf80bcdcc5c
Author: Scott Lahteine <github@thinkyhead.com> Date: Fri Oct 15 00:24:08 2021 -0500 ๐จ Refactor Host Actions as singleton commit1ead7ce681
Author: ellensp <530024+ellensp@users.noreply.github.com> Date: Fri Oct 15 14:38:03 2021 +1300 ๐ง Add, update TFT sanity checks (#22928) commitdffa56463e
Author: InsanityAutomation <38436470+InsanityAutomation@users.noreply.github.com> Date: Tue Oct 12 23:19:05 2021 -0400 โก๏ธ Formbot ST7920 delays, intentional X2 pins (#22915) Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com> commitae98d2e5ea
Author: Dmytro <svetotled@gmail.com> Date: Wed Oct 13 05:45:00 2021 +0300 ๐จ Update MKS UI for no bed, extruder (#22938) Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com> commit5b1ef638ee
Author: InsanityAutomation <38436470+InsanityAutomation@users.noreply.github.com> Date: Tue Oct 12 19:40:56 2021 -0400 ๐ Fix IDEX + DISABLE_INACTIVE_EXTRUDER (#22925) commitf3be03da20
Author: Stuart Pittaway <1201909+stuartpittaway@users.noreply.github.com> Date: Mon Oct 11 23:42:29 2021 +0100 โจ M261 S I2C output format (#22890) Co-authored-by: Scott Lahteine <github@thinkyhead.com> commit64128a5bcb
Author: Tanguy Pruvot <tpruvot@users.noreply.github.com> Date: Sun Oct 10 01:05:24 2021 +0200 ๐ Queue string followup (#22900) commit0018c94a79
Author: Pyro-Fox <36782094+Pyro-Fox@users.noreply.github.com> Date: Sat Oct 9 15:09:50 2021 -0700 ๐ LCD string followup (#22892) commitd48cb11537
Author: Scott Lahteine <github@thinkyhead.com> Date: Tue Oct 5 21:19:28 2021 -0500 ๐ Followup to F() in config_line Followup to 1dafd1887e commitd9f7de7a24
Author: Scott Lahteine <github@thinkyhead.com> Date: Mon Oct 4 19:50:14 2021 -0500 ๐ ExtUI F() followups Followup to 12b5d997a2 commit3d102a77ca
Author: Scott Lahteine <thinkyhead@users.noreply.github.com> Date: Tue Sep 28 20:15:52 2021 -0500 ๐จ Apply F() to kill / sendinfoscreen commit492d70424d
Author: Scott Lahteine <thinkyhead@users.noreply.github.com> Date: Tue Sep 28 19:28:29 2021 -0500 ๐จ Apply F() to MKS UI errors, assets commit24dbeceb45
Author: Scott Lahteine <thinkyhead@users.noreply.github.com> Date: Mon Sep 27 13:46:42 2021 -0500 ๐จ Apply F() to various reports commitcabd538fdd
Author: Scott Lahteine <thinkyhead@users.noreply.github.com> Date: Mon Sep 27 13:40:01 2021 -0500 ๐จ Apply F() to G-code report header commit9cf1c3cf05
Author: Scott Lahteine <thinkyhead@users.noreply.github.com> Date: Sat Sep 25 23:52:41 2021 -0500 ๐จ Apply F() to UTF-8/MMU2 string put commitc3ae221a10
Author: Scott Lahteine <thinkyhead@users.noreply.github.com> Date: Sat Sep 25 22:11:48 2021 -0500 ๐จ Apply F() to some ExtUI functions commit7626d859a6
Author: Scott Lahteine <thinkyhead@users.noreply.github.com> Date: Mon Sep 27 11:55:08 2021 -0500 ๐จ Apply F() to Host Actions strings commit360311f232
Author: Scott Lahteine <github@thinkyhead.com> Date: Sat Sep 25 17:05:11 2021 -0500 ๐จ Apply F() to status message commit433eedd50f
Author: Scott Lahteine <thinkyhead@users.noreply.github.com> Date: Mon Sep 27 11:03:07 2021 -0500 ๐จ Apply F() to serial macros commit46c53f6730
Author: Scott Lahteine <github@thinkyhead.com> Date: Sat Sep 25 21:11:31 2021 -0500 ๐จ Apply F() to G-code suite and queue commit2b9ae0cc33
Author: Scott Lahteine <github@thinkyhead.com> Date: Sat Sep 25 18:43:52 2021 -0500 ๐จ Apply F() to G-code subcommands commit433a27e475
Author: Scott Lahteine <github@thinkyhead.com> Date: Sat Sep 25 18:22:37 2021 -0500 ๐จ Update F string declarations commit1de265ea5d
Author: Scott Lahteine <thinkyhead@users.noreply.github.com> Date: Mon Oct 4 00:24:41 2021 -0500 ๐จ Axis name string interpolation, with examples (#22879) commitecb08b15be
Merge:798d12c2af
854ce63358
Author: Sergey <sergey@terentiev.me> Date: Wed Dec 22 11:58:28 2021 +0300 Merge branch '2.0.x' into vanilla_fb_2.0.x commit854ce63358
Author: Robby Candra <robbycandra.mail@gmail.com> Date: Sun Dec 19 05:33:21 2021 +0700 ๐ Fix loud_kill heater disable (#23314) commit170f77fada
Author: lukrow80 <64228214+lukrow80@users.noreply.github.com> Date: Tue Nov 23 22:30:13 2021 +0100 ๐ Fix homing current for extra axes (#23152) Followup to #19112 commit72b99bf1ba
Author: InsanityAutomation <38436470+InsanityAutomation@users.noreply.github.com> Date: Sat Oct 9 19:13:19 2021 -0400 ๐ Fix IDEX Duplication Mode Positioning (#22914) Fixing #22538 commit1a8583f4fc
Author: Robby Candra <robbycandra.mail@gmail.com> Date: Wed Nov 24 04:19:32 2021 +0700 ๐ Fix serial_data_available (#23160)
Sergey
3 years ago
733 changed files with 14186 additions and 7272 deletions
@ -1,123 +1,127 @@ |
|||
# |
|||
# sets output_port |
|||
# upload_extra_script.py |
|||
# set the output_port |
|||
# if target_filename is found then that drive is used |
|||
# else if target_drive is found then that drive is used |
|||
# |
|||
from __future__ import print_function |
|||
|
|||
target_filename = "FIRMWARE.CUR" |
|||
target_drive = "REARM" |
|||
import pioutil |
|||
if pioutil.is_pio_build(): |
|||
|
|||
import os,getpass,platform |
|||
target_filename = "FIRMWARE.CUR" |
|||
target_drive = "REARM" |
|||
|
|||
current_OS = platform.system() |
|||
Import("env") |
|||
import os,getpass,platform |
|||
|
|||
def print_error(e): |
|||
print('\nUnable to find destination disk (%s)\n' \ |
|||
'Please select it in platformio.ini using the upload_port keyword ' \ |
|||
'(https://docs.platformio.org/en/latest/projectconf/section_env_upload.html) ' \ |
|||
'or copy the firmware (.pio/build/%s/firmware.bin) manually to the appropriate disk\n' \ |
|||
%(e, env.get('PIOENV'))) |
|||
current_OS = platform.system() |
|||
Import("env") |
|||
|
|||
def before_upload(source, target, env): |
|||
try: |
|||
# |
|||
# Find a disk for upload |
|||
# |
|||
upload_disk = 'Disk not found' |
|||
target_file_found = False |
|||
target_drive_found = False |
|||
if current_OS == 'Windows': |
|||
def print_error(e): |
|||
print('\nUnable to find destination disk (%s)\n' \ |
|||
'Please select it in platformio.ini using the upload_port keyword ' \ |
|||
'(https://docs.platformio.org/en/latest/projectconf/section_env_upload.html) ' \ |
|||
'or copy the firmware (.pio/build/%s/firmware.bin) manually to the appropriate disk\n' \ |
|||
%(e, env.get('PIOENV'))) |
|||
|
|||
def before_upload(source, target, env): |
|||
try: |
|||
# |
|||
# Find a disk for upload |
|||
# |
|||
# platformio.ini will accept this for a Windows upload port designation: 'upload_port = L:' |
|||
# Windows - doesn't care about the disk's name, only cares about the drive letter |
|||
import subprocess,string |
|||
from ctypes import windll |
|||
upload_disk = 'Disk not found' |
|||
target_file_found = False |
|||
target_drive_found = False |
|||
if current_OS == 'Windows': |
|||
# |
|||
# platformio.ini will accept this for a Windows upload port designation: 'upload_port = L:' |
|||
# Windows - doesn't care about the disk's name, only cares about the drive letter |
|||
import subprocess,string |
|||
from ctypes import windll |
|||
|
|||
# getting list of drives |
|||
# https://stackoverflow.com/questions/827371/is-there-a-way-to-list-all-the-available-drive-letters-in-python |
|||
drives = [] |
|||
bitmask = windll.kernel32.GetLogicalDrives() |
|||
for letter in string.ascii_uppercase: |
|||
if bitmask & 1: |
|||
drives.append(letter) |
|||
bitmask >>= 1 |
|||
# getting list of drives |
|||
# https://stackoverflow.com/questions/827371/is-there-a-way-to-list-all-the-available-drive-letters-in-python |
|||
drives = [] |
|||
bitmask = windll.kernel32.GetLogicalDrives() |
|||
for letter in string.ascii_uppercase: |
|||
if bitmask & 1: |
|||
drives.append(letter) |
|||
bitmask >>= 1 |
|||
|
|||
for drive in drives: |
|||
final_drive_name = drive + ':\\' |
|||
# print ('disc check: {}'.format(final_drive_name)) |
|||
try: |
|||
volume_info = str(subprocess.check_output('cmd /C dir ' + final_drive_name, stderr=subprocess.STDOUT)) |
|||
except Exception as e: |
|||
print ('error:{}'.format(e)) |
|||
continue |
|||
else: |
|||
if target_drive in volume_info and not target_file_found: # set upload if not found target file yet |
|||
target_drive_found = True |
|||
upload_disk = final_drive_name |
|||
if target_filename in volume_info: |
|||
if not target_file_found: |
|||
for drive in drives: |
|||
final_drive_name = drive + ':\\' |
|||
# print ('disc check: {}'.format(final_drive_name)) |
|||
try: |
|||
volume_info = str(subprocess.check_output('cmd /C dir ' + final_drive_name, stderr=subprocess.STDOUT)) |
|||
except Exception as e: |
|||
print ('error:{}'.format(e)) |
|||
continue |
|||
else: |
|||
if target_drive in volume_info and not target_file_found: # set upload if not found target file yet |
|||
target_drive_found = True |
|||
upload_disk = final_drive_name |
|||
target_file_found = True |
|||
if target_filename in volume_info: |
|||
if not target_file_found: |
|||
upload_disk = final_drive_name |
|||
target_file_found = True |
|||
|
|||
elif current_OS == 'Linux': |
|||
# |
|||
# platformio.ini will accept this for a Linux upload port designation: 'upload_port = /media/media_name/drive' |
|||
# |
|||
drives = os.listdir(os.path.join(os.sep, 'media', getpass.getuser())) |
|||
if target_drive in drives: # If target drive is found, use it. |
|||
target_drive_found = True |
|||
upload_disk = os.path.join(os.sep, 'media', getpass.getuser(), target_drive) + os.sep |
|||
else: |
|||
elif current_OS == 'Linux': |
|||
# |
|||
# platformio.ini will accept this for a Linux upload port designation: 'upload_port = /media/media_name/drive' |
|||
# |
|||
drives = os.listdir(os.path.join(os.sep, 'media', getpass.getuser())) |
|||
if target_drive in drives: # If target drive is found, use it. |
|||
target_drive_found = True |
|||
upload_disk = os.path.join(os.sep, 'media', getpass.getuser(), target_drive) + os.sep |
|||
else: |
|||
for drive in drives: |
|||
try: |
|||
files = os.listdir(os.path.join(os.sep, 'media', getpass.getuser(), drive)) |
|||
except: |
|||
continue |
|||
else: |
|||
if target_filename in files: |
|||
upload_disk = os.path.join(os.sep, 'media', getpass.getuser(), drive) + os.sep |
|||
target_file_found = True |
|||
break |
|||
# |
|||
# set upload_port to drive if found |
|||
# |
|||
|
|||
if target_file_found or target_drive_found: |
|||
env.Replace( |
|||
UPLOAD_FLAGS="-P$UPLOAD_PORT" |
|||
) |
|||
|
|||
elif current_OS == 'Darwin': # MAC |
|||
# |
|||
# platformio.ini will accept this for a OSX upload port designation: 'upload_port = /media/media_name/drive' |
|||
# |
|||
drives = os.listdir('/Volumes') # human readable names |
|||
if target_drive in drives and not target_file_found: # set upload if not found target file yet |
|||
target_drive_found = True |
|||
upload_disk = '/Volumes/' + target_drive + '/' |
|||
for drive in drives: |
|||
try: |
|||
files = os.listdir(os.path.join(os.sep, 'media', getpass.getuser(), drive)) |
|||
filenames = os.listdir('/Volumes/' + drive + '/') # will get an error if the drive is protected |
|||
except: |
|||
continue |
|||
else: |
|||
if target_filename in files: |
|||
upload_disk = os.path.join(os.sep, 'media', getpass.getuser(), drive) + os.sep |
|||
if target_filename in filenames: |
|||
if not target_file_found: |
|||
upload_disk = '/Volumes/' + drive + '/' |
|||
target_file_found = True |
|||
break |
|||
# |
|||
# set upload_port to drive if found |
|||
# |
|||
|
|||
if target_file_found or target_drive_found: |
|||
env.Replace( |
|||
UPLOAD_FLAGS="-P$UPLOAD_PORT" |
|||
) |
|||
|
|||
elif current_OS == 'Darwin': # MAC |
|||
# |
|||
# platformio.ini will accept this for a OSX upload port designation: 'upload_port = /media/media_name/drive' |
|||
# Set upload_port to drive if found |
|||
# |
|||
drives = os.listdir('/Volumes') # human readable names |
|||
if target_drive in drives and not target_file_found: # set upload if not found target file yet |
|||
target_drive_found = True |
|||
upload_disk = '/Volumes/' + target_drive + '/' |
|||
for drive in drives: |
|||
try: |
|||
filenames = os.listdir('/Volumes/' + drive + '/') # will get an error if the drive is protected |
|||
except: |
|||
continue |
|||
else: |
|||
if target_filename in filenames: |
|||
if not target_file_found: |
|||
upload_disk = '/Volumes/' + drive + '/' |
|||
target_file_found = True |
|||
|
|||
# |
|||
# Set upload_port to drive if found |
|||
# |
|||
if target_file_found or target_drive_found: |
|||
env.Replace(UPLOAD_PORT=upload_disk) |
|||
print('\nUpload disk: ', upload_disk, '\n') |
|||
else: |
|||
print_error('Autodetect Error') |
|||
if target_file_found or target_drive_found: |
|||
env.Replace(UPLOAD_PORT=upload_disk) |
|||
print('\nUpload disk: ', upload_disk, '\n') |
|||
else: |
|||
print_error('Autodetect Error') |
|||
|
|||
except Exception as e: |
|||
print_error(str(e)) |
|||
except Exception as e: |
|||
print_error(str(e)) |
|||
|
|||
env.AddPreAction("upload", before_upload) |
|||
env.AddPreAction("upload", before_upload) |
|||
|
@ -0,0 +1,104 @@ |
|||
/**
|
|||
* Marlin 3D Printer Firmware |
|||
* Copyright (c) 2021 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
|
|||
* |
|||
* Based on Sprinter and grbl. |
|||
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm |
|||
* |
|||
* This program is free software: you can redistribute it and/or modify |
|||
* it under the terms of the GNU General Public License as published by |
|||
* the Free Software Foundation, either version 3 of the License, or |
|||
* (at your option) any later version. |
|||
* |
|||
* This program is distributed in the hope that it will be useful, |
|||
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|||
* GNU General Public License for more details. |
|||
* |
|||
* You should have received a copy of the GNU General Public License |
|||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|||
* |
|||
*/ |
|||
|
|||
/**
|
|||
* adc_mcp3426.cpp - library for MicroChip MCP3426 I2C A/D converter |
|||
* |
|||
* For implementation details, please take a look at the datasheet: |
|||
* https://www.microchip.com/en-us/product/MCP3426
|
|||
*/ |
|||
|
|||
#include "../../inc/MarlinConfig.h" |
|||
|
|||
#if ENABLED(HAS_MCP3426_ADC) |
|||
|
|||
#include "adc_mcp3426.h" |
|||
|
|||
// Read the ADC value from MCP342X on a specific channel
|
|||
int16_t MCP3426::ReadValue(uint8_t channel, uint8_t gain) { |
|||
Error = false; |
|||
|
|||
#if PINS_EXIST(I2C_SCL, I2C_SDA) && DISABLED(SOFT_I2C_EEPROM) |
|||
Wire.setSDA(pin_t(I2C_SDA_PIN)); |
|||
Wire.setSCL(pin_t(I2C_SCL_PIN)); |
|||
#endif |
|||
|
|||
Wire.begin(); // No address joins the BUS as the master
|
|||
|
|||
Wire.beginTransmission(I2C_ADDRESS(MCP342X_ADC_I2C_ADDRESS)); |
|||
|
|||
// Continuous Conversion Mode, 16 bit, Channel 1, Gain x4
|
|||
// 26 = 0b00011000
|
|||
// RXXCSSGG
|
|||
// R = Ready Bit
|
|||
// XX = Channel (00=1, 01=2, 10=3 (MCP3428), 11=4 (MCP3428))
|
|||
// C = Conversion Mode Bit (1= Continuous Conversion Mode (Default))
|
|||
// SS = Sample rate, 10=15 samples per second @ 16 bits
|
|||
// GG = Gain 00 =x1
|
|||
uint8_t controlRegister = 0b00011000; |
|||
|
|||
if (channel == 2) controlRegister |= 0b00100000; // Select channel 2
|
|||
|
|||
if (gain == 2) |
|||
controlRegister |= 0b00000001; |
|||
else if (gain == 4) |
|||
controlRegister |= 0b00000010; |
|||
else if (gain == 8) |
|||
controlRegister |= 0b00000011; |
|||
|
|||
Wire.write(controlRegister); |
|||
if (Wire.endTransmission() != 0) { |
|||
Error = true; |
|||
return 0; |
|||
} |
|||
|
|||
const uint8_t len = 3; |
|||
uint8_t buffer[len] = {}; |
|||
|
|||
do { |
|||
Wire.requestFrom(I2C_ADDRESS(MCP342X_ADC_I2C_ADDRESS), len); |
|||
if (Wire.available() != len) { |
|||
Error = true; |
|||
return 0; |
|||
} |
|||
|
|||
for (uint8_t i = 0; i < len; ++i) |
|||
buffer[i] = Wire.read(); |
|||
|
|||
// Is conversion ready, if not loop around again
|
|||
} while ((buffer[2] & 0x80) != 0); |
|||
|
|||
union TwoBytesToInt16 { |
|||
uint8_t bytes[2]; |
|||
int16_t integervalue; |
|||
}; |
|||
TwoBytesToInt16 ConversionUnion; |
|||
|
|||
ConversionUnion.bytes[1] = buffer[0]; |
|||
ConversionUnion.bytes[0] = buffer[1]; |
|||
|
|||
return ConversionUnion.integervalue; |
|||
} |
|||
|
|||
MCP3426 mcp3426; |
|||
|
|||
#endif // HAS_MCP3426_ADC
|
@ -0,0 +1,41 @@ |
|||
/**
|
|||
* Marlin 3D Printer Firmware |
|||
* Copyright (c) 2021 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
|
|||
* |
|||
* Based on Sprinter and grbl. |
|||
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm |
|||
* |
|||
* This program is free software: you can redistribute it and/or modify |
|||
* it under the terms of the GNU General Public License as published by |
|||
* the Free Software Foundation, either version 3 of the License, or |
|||
* (at your option) any later version. |
|||
* |
|||
* This program is distributed in the hope that it will be useful, |
|||
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|||
* GNU General Public License for more details. |
|||
* |
|||
* You should have received a copy of the GNU General Public License |
|||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|||
* |
|||
*/ |
|||
#pragma once |
|||
|
|||
/**
|
|||
* Arduino library for MicroChip MCP3426 I2C A/D converter. |
|||
* https://www.microchip.com/en-us/product/MCP3426
|
|||
*/ |
|||
|
|||
#include <stdint.h> |
|||
#include <Wire.h> |
|||
|
|||
// Address of MCP342X chip
|
|||
#define MCP342X_ADC_I2C_ADDRESS 104 |
|||
|
|||
class MCP3426 { |
|||
public: |
|||
int16_t ReadValue(uint8_t channel, uint8_t gain); |
|||
bool Error; |
|||
}; |
|||
|
|||
extern MCP3426 mcp3426; |
@ -0,0 +1,59 @@ |
|||
/**
|
|||
* Marlin 3D Printer Firmware |
|||
* Copyright (c) 2021 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
|
|||
* |
|||
* Based on Sprinter and grbl. |
|||
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm |
|||
* |
|||
* This program is free software: you can redistribute it and/or modify |
|||
* it under the terms of the GNU General Public License as published by |
|||
* the Free Software Foundation, either version 3 of the License, or |
|||
* (at your option) any later version. |
|||
* |
|||
* This program is distributed in the hope that it will be useful, |
|||
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|||
* GNU General Public License for more details. |
|||
* |
|||
* You should have received a copy of the GNU General Public License |
|||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|||
* |
|||
*/ |
|||
#include "../../../inc/MarlinConfig.h" |
|||
|
|||
#if ENABLED(X_AXIS_TWIST_COMPENSATION) |
|||
|
|||
#include "../bedlevel.h" |
|||
|
|||
XATC xatc; |
|||
|
|||
float XATC::spacing, XATC::start; |
|||
xatc_points_t XATC::z_values; |
|||
|
|||
void XATC::print_points() { |
|||
SERIAL_ECHOLNPGM(" X-Twist Correction:"); |
|||
LOOP_L_N(x, XATC_MAX_POINTS) { |
|||
SERIAL_CHAR(' '); |
|||
if (!isnan(z_values[x])) { |
|||
if (z_values[x] >= 0) SERIAL_CHAR('+'); |
|||
SERIAL_ECHO_F(z_values[x], 3); |
|||
} |
|||
else { |
|||
LOOP_L_N(i, 6) |
|||
SERIAL_CHAR(i ? '=' : ' '); |
|||
} |
|||
} |
|||
SERIAL_EOL(); |
|||
} |
|||
|
|||
float lerp(const_float_t t, const_float_t a, const_float_t b) { return a + t * (b - a); } |
|||
|
|||
float XATC::compensation(const xy_pos_t &raw) { |
|||
float t = (raw.x - start) / spacing; |
|||
int i = FLOOR(t); |
|||
LIMIT(i, 0, XATC_MAX_POINTS - 2); |
|||
t -= i; |
|||
return lerp(t, z_values[i], z_values[i + 1]); |
|||
} |
|||
|
|||
#endif // X_AXIS_TWIST_COMPENSATION
|
@ -0,0 +1,37 @@ |
|||
/**
|
|||
* Marlin 3D Printer Firmware |
|||
* Copyright (c) 2021 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
|
|||
* |
|||
* Based on Sprinter and grbl. |
|||
* Copyright (c) 2011 Camiel Gubbels / Erik van der Zalm |
|||
* |
|||
* This program is free software: you can redistribute it and/or modify |
|||
* it under the terms of the GNU General Public License as published by |
|||
* the Free Software Foundation, either version 3 of the License, or |
|||
* (at your option) any later version. |
|||
* |
|||
* This program is distributed in the hope that it will be useful, |
|||
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|||
* GNU General Public License for more details. |
|||
* |
|||
* You should have received a copy of the GNU General Public License |
|||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|||
* |
|||
*/ |
|||
#pragma once |
|||
|
|||
#include "../../../inc/MarlinConfigPre.h" |
|||
|
|||
typedef float xatc_points_t[XATC_MAX_POINTS]; |
|||
|
|||
class XATC { |
|||
public: |
|||
static float spacing, start; |
|||
static xatc_points_t z_values; |
|||
|
|||
static float compensation(const xy_pos_t &raw); |
|||
static void print_points(); |
|||
}; |
|||
|
|||
extern XATC xatc; |
Some files were not shown because too many files changed in this diff
Loadingโฆ
Reference in new issue