mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2026-03-05 09:34:47 -07:00
Merge b47422b2dd into a6ebfe14cc
This commit is contained in:
commit
de6b53d5fa
16 changed files with 17 additions and 17 deletions
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/python
|
||||
#!/usr/bin/python3
|
||||
|
||||
# Written By Marcio Teixeira 2021 - SynDaver Labs, Inc.
|
||||
#
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/python
|
||||
#!/usr/bin/python3
|
||||
|
||||
# Written By Marcio Teixeira 2019 - Aleph Objects, Inc.
|
||||
#
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/python
|
||||
#!/usr/bin/python3
|
||||
|
||||
# Written By Marcio Teixeira 2021 - SynDaver Labs, Inc.
|
||||
#
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env python
|
||||
#!/usr/bin/env python3
|
||||
|
||||
import sys, config
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env python
|
||||
#!/usr/bin/env python3
|
||||
|
||||
import sys, os, config
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env python
|
||||
#!/usr/bin/env python3
|
||||
|
||||
import sys, os, config
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env python
|
||||
#!/usr/bin/env python3
|
||||
|
||||
import sys, os, config
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env python
|
||||
#!/usr/bin/env python3
|
||||
#
|
||||
# use_example_configs [repo:]configpath
|
||||
#
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
],
|
||||
|
|
|
|||
|
|
@ -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
|
||||
"""
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/bin/env python
|
||||
#!/usr/bin/env python3
|
||||
|
||||
from __future__ import print_function, division
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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).
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue