update code base to Marlin 2.0.9.2

This commit is contained in:
Stefan Kalscheuer
2021-10-03 18:57:12 +02:00
parent b9d7ba838e
commit 7077da3591
2617 changed files with 332093 additions and 103438 deletions

9
buildroot/share/vscode/auto_build.py Executable file → Normal file
View File

@@ -18,7 +18,7 @@
# 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 <http://www.gnu.org/licenses/>.
# along with this program. If not, see <https://www.gnu.org/licenses/>.
#
#######################################
@@ -72,13 +72,12 @@
from __future__ import print_function
from __future__ import division
import sys
import os
import sys,os
pwd = os.getcwd() # make sure we're executing from the correct directory level
pwd = pwd.replace('\\', '/')
if 0 <= pwd.find('buildroot/share/atom'):
pwd = pwd[:pwd.find('buildroot/share/atom')]
if 0 <= pwd.find('buildroot/share/vscode'):
pwd = pwd[:pwd.find('buildroot/share/vscode')]
os.chdir(pwd)
print('pwd: ', pwd)

20
buildroot/share/vscode/avrdude.conf Executable file → Normal file
View File

@@ -145,13 +145,13 @@
# VCC pins are not defined for the programmer, a message
# indicating that the device needs a power-cycle is printed out.
# This flag was added to work around a problem with the
# at90s4433/2333's; see the at90s4433 errata at:
# at90s4433/2333's; see the at90s4433 errata page 2 at:
#
# http://www.atmel.com/atmel/acrobat/doc1280.pdf
# https://ww1.microchip.com/downloads/en/AppNotes/doc2574.pdf
#
# INSTRUCTION FORMATS
#
# Instruction formats are specified as a comma seperated list of
# Instruction formats are specified as a comma separated list of
# string values containing information (bit specifiers) about each
# of the 32 bits of the instruction. Bit specifiers may be one of
# the following formats:
@@ -416,13 +416,13 @@ programmer
programmer
id = "usbasp";
desc = "USBasp, http://www.fischl.de/usbasp/";
desc = "USBasp, https://www.fischl.de/usbasp/";
type = usbasp;
;
programmer
id = "usbtiny";
desc = "USBtiny simple USB programmer, http://www.ladyada.net/make/usbtinyisp/";
desc = "USBtiny simple USB programmer, https://learn.adafruit.com/usbtinyisp";
type = usbtiny;
;
@@ -596,7 +596,7 @@ programmer
programmer
id = "bsd";
desc = "Brian Dean's Programmer, http://www.bsdhome.com/avrdude/";
desc = "Brian Dean's Programmer, https://savannah.nongnu.org/projects/avrdude";
type = par;
vcc = 2, 3, 4, 5;
reset = 7;
@@ -743,7 +743,7 @@ programmer
programmer
id = "atisp";
desc = "AT-ISP V1.1 programming cable for AVR-SDK1 from <http://micro-research.co.th/> micro-research.co.th";
desc = "AT-ISP V1.1 programming cable for AVR-SDK1 from <https://www.micro-research.co.th/> micro-research.co.th";
type = par;
reset = ~6;
sck = ~8;
@@ -753,7 +753,7 @@ programmer
programmer
id = "ere-isp-avr";
desc = "ERE ISP-AVR <http://www.ere.co.th/download/sch050713.pdf>";
desc = "ERE ISP-AVR <https://www.ereshop.com/shop/free/ISPAVRU1_MAN.PDF>";
type = par;
reset = ~4;
sck = 3;
@@ -773,7 +773,7 @@ programmer
;
# It is almost same as pony-stk200, except vcc on pin 5 to auto
# disconnect port (download on http://electropol.free.fr)
# disconnect port download on http://www.electropol.fr
programmer
id = "frank-stk200";
desc = "Frank STK200";
@@ -787,7 +787,7 @@ programmer
;
# The AT98ISP Cable is a simple parallel dongle for AT89 family.
# http://www.atmel.com/dyn/products/tools_card.asp?tool_id=2877
# https://www.microchip.com/wwwAppNotes/AppNotes.aspx?appnote=en592141
programmer
id = "89isp";
desc = "Atmel at89isp cable";

0
buildroot/share/vscode/avrdude_5.10_linux Executable file → Normal file
View File

0
buildroot/share/vscode/avrdude_5.10_macOS Executable file → Normal file
View File

20
buildroot/share/vscode/avrdude_linux.conf Executable file → Normal file
View File

@@ -145,13 +145,13 @@
# VCC pins are not defined for the programmer, a message
# indicating that the device needs a power-cycle is printed out.
# This flag was added to work around a problem with the
# at90s4433/2333's; see the at90s4433 errata at:
# at90s4433/2333's; see the at90s4433 errata page 2 at:
#
# http://www.atmel.com/atmel/acrobat/doc1280.pdf
# https://ww1.microchip.com/downloads/en/AppNotes/doc2574.pdf
#
# INSTRUCTION FORMATS
#
# Instruction formats are specified as a comma seperated list of
# Instruction formats are specified as a comma separated list of
# string values containing information (bit specifiers) about each
# of the 32 bits of the instruction. Bit specifiers may be one of
# the following formats:
@@ -416,13 +416,13 @@ programmer
programmer
id = "usbasp";
desc = "USBasp, http://www.fischl.de/usbasp/";
desc = "USBasp, https://www.fischl.de/usbasp/";
type = usbasp;
;
programmer
id = "usbtiny";
desc = "USBtiny simple USB programmer, http://www.ladyada.net/make/usbtinyisp/";
desc = "USBtiny simple USB programmer, https://learn.adafruit.com/usbtinyisp";
type = usbtiny;
;
@@ -596,7 +596,7 @@ programmer
programmer
id = "bsd";
desc = "Brian Dean's Programmer, http://www.bsdhome.com/avrdude/";
desc = "Brian Dean's Programmer, https://savannah.nongnu.org/projects/avrdude";
type = par;
vcc = 2, 3, 4, 5;
reset = 7;
@@ -743,7 +743,7 @@ programmer
programmer
id = "atisp";
desc = "AT-ISP V1.1 programming cable for AVR-SDK1 from <http://micro-research.co.th/> micro-research.co.th";
desc = "AT-ISP V1.1 programming cable for AVR-SDK1 from <https://www.micro-research.co.th/> micro-research.co.th";
type = par;
reset = ~6;
sck = ~8;
@@ -753,7 +753,7 @@ programmer
programmer
id = "ere-isp-avr";
desc = "ERE ISP-AVR <http://www.ere.co.th/download/sch050713.pdf>";
desc = "ERE ISP-AVR <https://www.ereshop.com/shop/free/ISPAVRU1_MAN.PDF>";
type = par;
reset = ~4;
sck = 3;
@@ -773,7 +773,7 @@ programmer
;
# It is almost same as pony-stk200, except vcc on pin 5 to auto
# disconnect port (download on http://electropol.free.fr)
# disconnect port download on http://www.electropol.fr
programmer
id = "frank-stk200";
desc = "Frank STK200";
@@ -787,7 +787,7 @@ programmer
;
# The AT98ISP Cable is a simple parallel dongle for AT89 family.
# http://www.atmel.com/dyn/products/tools_card.asp?tool_id=2877
# https://www.microchip.com/wwwAppNotes/AppNotes.aspx?appnote=en592141
programmer
id = "89isp";
desc = "Atmel at89isp cable";

10
buildroot/share/vscode/avrdude_macOS.conf Executable file → Normal file
View File

@@ -145,13 +145,13 @@
# VCC pins are not defined for the programmer, a message
# indicating that the device needs a power-cycle is printed out.
# This flag was added to work around a problem with the
# at90s4433/2333's; see the at90s4433 errata at:
# at90s4433/2333's; see the at90s4433 errata page 2 at:
#
# http://www.atmel.com/atmel/acrobat/doc1280.pdf
# https://ww1.microchip.com/downloads/en/AppNotes/doc2574.pdf
#
# INSTRUCTION FORMATS
#
# Instruction formats are specified as a comma seperated list of
# Instruction formats are specified as a comma separated list of
# string values containing information (bit specifiers) about each
# of the 32 bits of the instruction. Bit specifiers may be one of
# the following formats:
@@ -416,13 +416,13 @@ programmer
programmer
id = "usbasp";
desc = "USBasp, http://www.fischl.de/usbasp/";
desc = "USBasp, https://www.fischl.de/usbasp/";
type = usbasp;
;
programmer
id = "usbtiny";
desc = "USBtiny simple USB programmer, http://www.ladyada.net/make/usbtinyisp/";
desc = "USBtiny simple USB programmer, https://learn.adafruit.com/usbtinyisp";
type = usbtiny;
;

View File

@@ -13,11 +13,9 @@
from __future__ import print_function
from __future__ import division
import subprocess
import os
import sys
import subprocess,os,sys,platform
from SCons.Script import DefaultEnvironment
import platform
current_OS = platform.system()
env = DefaultEnvironment()
@@ -92,9 +90,9 @@ else:
get_com_port('COM', 'Hardware ID:', 13)
# avrdude_conf_path = env.get("PIOHOME_DIR") + '\\packages\\toolchain-atmelavr\\etc\\avrdude.conf'
avrdude_conf_path = 'buildroot\\share\\atom\\avrdude.conf'
avrdude_conf_path = 'buildroot\\share\\vscode\\avrdude.conf'
avrdude_exe_path = 'buildroot\\share\\atom\\avrdude_5.10.exe'
avrdude_exe_path = 'buildroot\\share\\vscode\\avrdude_5.10.exe'
# source_path = env.get("PROJECTBUILD_DIR") + '\\' + env.get("PIOENV") + '\\firmware.hex'
source_path = '.pio\\build\\' + env.get("PIOENV") + '\\firmware.hex'

View File

@@ -9,8 +9,7 @@
# Will continue on if a COM port isn't found so that the compilation can be done.
#
import os
import sys
import os,sys
from SCons.Script import DefaultEnvironment
import platform
current_OS = platform.system()