Skip to content

Commit 0813236

Browse files
authored
Merge pull request #19 from adafruit/tannewt-patch-4
Remove 2.x and add 4.x
2 parents 8a326f3 + a65c0e9 commit 0813236

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

circuitpython_build_tools/build.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,12 @@ def mpy_cross(mpy_cross_filename, circuitpython_tag, quiet=False):
7474
sys.exit(clone.returncode)
7575

7676
current_dir = os.getcwd()
77-
os.chdir("build_deps/circuitpython/mpy-cross")
78-
make = subprocess.run("git fetch && git checkout {TAG} && git submodule update && make clean && make".format(TAG=circuitpython_tag), shell=True)
77+
os.chdir("build_deps/circuitpython")
78+
make = subprocess.run("git fetch && git checkout {TAG} && git submodule update".format(TAG=circuitpython_tag), shell=True)
79+
os.chdir("tools")
80+
make = subprocess.run("git submodule update --init .", shell=True)
81+
os.chdir("../mpy-cross")
82+
make = subprocess.run("make clean && make", shell=True)
7983
os.chdir(current_dir)
8084

8185
shutil.copy("build_deps/circuitpython/mpy-cross/mpy-cross", mpy_cross_filename)

circuitpython_build_tools/target_versions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@
2525
# The tag specifies which version of CircuitPython to use for mpy-cross.
2626
# The name is used when constructing the zip file names.
2727
VERSIONS = [
28-
{"tag": "2.3.1", "name": "2.x"},
2928
{"tag": "3.0.0", "name": "3.x"},
29+
{"tag": "4.0.0-alpha.2", "name": "4.x"},
3030
]

0 commit comments

Comments
 (0)