This commit is contained in:
narno2202 2026-03-01 22:14:13 -06:00 committed by GitHub
commit de6b53d5fa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
16 changed files with 17 additions and 17 deletions

View file

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/python3
# Written By Marcio Teixeira 2021 - SynDaver Labs, Inc.
#

View file

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/python3
# Written By Marcio Teixeira 2019 - Aleph Objects, Inc.
#

View file

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/python3
# Written By Marcio Teixeira 2021 - SynDaver Labs, Inc.
#

View file

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
import sys, config

View file

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
import sys, os, config

View file

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
import sys, os, config

View file

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
import sys, os, config

View file

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
#
# use_example_configs [repo:]configpath
#

View file

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
#
# STM32F1_build_flags.py
# Add build_flags for the base STM32F1_maple environment (stm32f1-maple.ini)

View file

@ -31,7 +31,7 @@ if pioutil.is_pio_build():
f"@echo ====== Configuring for marlin_{name} ======",
"restore_configs",
f"cp -f {path} ./Marlin/config.ini",
"python ./buildroot/share/PlatformIO/scripts/configuration.py",
"python3 ./buildroot/share/PlatformIO/scripts/configuration.py",
f"platformio test -e {env['PIOENV']} -f {name}",
"restore_configs",
],

View file

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
"""
Extract the builds used in GitHub CI, so that we can run them locally
"""

View file

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
from __future__ import print_function, division

View file

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
"""Thermistor Value Lookup Table Generator
Generates lookup to temperature values for use in a microcontroller in C format based on:
@ -7,7 +7,7 @@ https://en.wikipedia.org/wiki/Steinhart-Hart_equation
The main use is for Arduino programs that read data from the circuit board described here:
https://reprap.org/wiki/Temperature_Sensor_v2.0
Usage: python createTemperatureLookupMarlin.py [options]
Usage: python3 createTemperatureLookupMarlin.py [options]
Options:
-h, --help show this help

View file

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python3
# This file is for preprocessing G-code and the new G29 Auto bed leveling from Marlin
# It will analyze the first 2 layers and return the maximum size for this part

View file

@ -16,7 +16,7 @@ Run the following commands to extract and apply the configuration:
```
$ git checkout -f
$ unzip mc.zip
$ python buildroot/share/PlatformIO/scripts/mc-apply.py
$ python3 buildroot/share/PlatformIO/scripts/mc-apply.py
```
This will attempt to update the configuration files to match the settings used for the original build. It will also dump the git reference used to build the code (which may be accessible if the firmware was built from the main repository. As a fallback it also includes the `STRING_DISTRIBUTION_DATE` which is unlikely to be modified in a fork).

View file

@ -25,7 +25,7 @@
[STM32F1_maple]
platform = ststm32@~15.4.1
board_build.core = maple
build_flags = !python buildroot/share/PlatformIO/scripts/STM32F1_build_flags.py
build_flags = !python3 buildroot/share/PlatformIO/scripts/STM32F1_build_flags.py
${common.build_flags} -DARDUINO_ARCH_STM32 -DMAPLE_STM32F1 -DPLATFORM_M997_SUPPORT
build_unflags = -std=gnu11 -std=gnu++11
build_src_filter = ${common.default_src_filter} +<src/HAL/STM32F1> -<src/HAL/STM32F1/tft>