File tree 9 files changed +20
-11
lines changed
9 files changed +20
-11
lines changed Original file line number Diff line number Diff line change 24
24
<PyBuildingMpyCross >True</PyBuildingMpyCross >
25
25
<PyBuildDir >$(MSBuildThisFileDirectory)build\</PyBuildDir >
26
26
<PyIncDirs >$(MSBuildThisFileDirectory)</PyIncDirs >
27
- <PyTargetDir >$(MSBuildThisFileDirectory)</PyTargetDir >
28
27
<PyMsvcDir >$(MSBuildThisFileDirectory)..\ports\windows\msvc\</PyMsvcDir >
29
28
</PropertyGroup >
30
29
<Import Project =" $(VCTargetsPath)\Microsoft.Cpp.Default.props" />
Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ after_test:
78
78
if ($LASTEXITCODE -ne 0) {
79
79
throw "$env:MSYSTEM build exited with code $LASTEXITCODE"
80
80
}
81
- C:\msys64\usr\bin\bash.exe -l -c "make -B -j4 V=1 MICROPY_MPYCROSS=../../mpy-cross/mpy-cross.exe VARIANT=$($env:PyVariant)"
81
+ C:\msys64\usr\bin\bash.exe -l -c "make -B -j4 V=1 MICROPY_MPYCROSS=../../mpy-cross/build/ mpy-cross.exe VARIANT=$($env:PyVariant)"
82
82
if ($LASTEXITCODE -ne 0) {
83
83
throw "$env:MSYSTEM build exited with code $LASTEXITCODE"
84
84
}
Original file line number Diff line number Diff line change @@ -128,7 +128,7 @@ functions and thus should be ran using the `wineconsole` tool. Depending
128
128
on the Wine build configuration, you may also want to select the curses
129
129
backend which has the look&feel of a standard Unix console:
130
130
131
- wineconsole --backend=curses ./micropython.exe
131
+ wineconsole --backend=curses ./build-standard/ micropython.exe
132
132
133
133
For more info, see https://www.winehq.org/docs/wineusr-guide/cui-programs .
134
134
Original file line number Diff line number Diff line change 22
22
|- standard [PyVariantDir]
23
23
24
24
Note that the micropython executable will be copied from PyOutDir
25
- to PyWinDir after each build. -->
25
+ to PyTargetDir after each build. -->
26
26
27
27
<!-- Start from project root -->
28
28
<PyBaseDir >$([System.IO.Path]::GetFullPath(`$(MSBuildThisFileDirectory)..\..\..`))\</PyBaseDir >
29
29
<PyWinDir >$(PyBaseDir)ports\windows\</PyWinDir >
30
30
<PyBuildDir Condition =" '$(PyBuildDir)' == ''" >$(PyWinDir)$(PyBuild)\</PyBuildDir >
31
31
<PyVariantDir Condition =" '$(PyVariantDir)' == ''" >$(PyWinDir)variants\$(PyVariant)\</PyVariantDir >
32
- <PyTargetDir Condition =" '$(PyTargetDir)' == ''" >$(PyWinDir )</PyTargetDir >
32
+ <PyTargetDir Condition =" '$(PyTargetDir)' == ''" >$(PyBuildDir )</PyTargetDir >
33
33
34
34
<!-- All include directories needed for uPy -->
35
35
<PyIncDirs >$(PyIncDirs);$(PyBaseDir);$(PyWinDir);$(PyBuildDir);$(PyWinDir)msvc;$(PyVariantDir)</PyIncDirs >
Original file line number Diff line number Diff line change 13
13
# to the correct executable.
14
14
if os .name == "nt" :
15
15
CPYTHON3 = os .getenv ("MICROPY_CPYTHON3" , "python3.exe" )
16
- MICROPYTHON = os .getenv ("MICROPY_MICROPYTHON" , "../ports/windows/micropython.exe" )
16
+ MICROPYTHON = os .getenv (
17
+ "MICROPY_MICROPYTHON" , "../ports/windows/build-standard/micropython.exe"
18
+ )
17
19
else :
18
20
CPYTHON3 = os .getenv ("MICROPY_CPYTHON3" , "python3" )
19
21
MICROPYTHON = os .getenv ("MICROPY_MICROPYTHON" , "../ports/unix/build-standard/micropython" )
Original file line number Diff line number Diff line change 27
27
28
28
if os .name == "nt" :
29
29
CPYTHON3 = os .getenv ("MICROPY_CPYTHON3" , "python3.exe" )
30
- MICROPYTHON = os .getenv ("MICROPY_MICROPYTHON" , test_dir + "/../ports/windows/micropython.exe" )
30
+ MICROPYTHON = os .getenv (
31
+ "MICROPY_MICROPYTHON" , test_dir + "/../ports/windows/build-standard/micropython.exe"
32
+ )
31
33
else :
32
34
CPYTHON3 = os .getenv ("MICROPY_CPYTHON3" , "python3" )
33
35
MICROPYTHON = os .getenv (
Original file line number Diff line number Diff line change 18
18
# Paths for host executables
19
19
if os .name == "nt" :
20
20
CPYTHON3 = os .getenv ("MICROPY_CPYTHON3" , "python3.exe" )
21
- MICROPYTHON = os .getenv ("MICROPY_MICROPYTHON" , "../ports/windows/micropython.exe" )
21
+ MICROPYTHON = os .getenv (
22
+ "MICROPY_MICROPYTHON" , "../ports/windows/build-standard/micropython.exe"
23
+ )
22
24
else :
23
25
CPYTHON3 = os .getenv ("MICROPY_CPYTHON3" , "python3" )
24
26
MICROPYTHON = os .getenv ("MICROPY_MICROPYTHON" , "../ports/unix/build-standard/micropython" )
Original file line number Diff line number Diff line change @@ -30,9 +30,11 @@ def base_path(*p):
30
30
# to the correct executable.
31
31
if os .name == "nt" :
32
32
CPYTHON3 = os .getenv ("MICROPY_CPYTHON3" , "python" )
33
- MICROPYTHON = os .getenv ("MICROPY_MICROPYTHON" , base_path ("../ports/windows/micropython.exe" ))
33
+ MICROPYTHON = os .getenv (
34
+ "MICROPY_MICROPYTHON" , base_path ("../ports/windows/build-standard/micropython.exe" )
35
+ )
34
36
# mpy-cross is only needed if --via-mpy command-line arg is passed
35
- MPYCROSS = os .getenv ("MICROPY_MPYCROSS" , base_path ("../mpy-cross/mpy-cross.exe" ))
37
+ MPYCROSS = os .getenv ("MICROPY_MPYCROSS" , base_path ("../mpy-cross/build/ mpy-cross.exe" ))
36
38
else :
37
39
CPYTHON3 = os .getenv ("MICROPY_CPYTHON3" , "python3" )
38
40
MICROPYTHON = os .getenv (
Original file line number Diff line number Diff line change 38
38
# to the correct executable.
39
39
if os .name == "nt" :
40
40
CPYTHON3 = os .getenv ("MICROPY_CPYTHON3" , "python3.exe" )
41
- MICROPYTHON = os .getenv ("MICROPY_MICROPYTHON" , "../ports/windows/micropython.exe" )
41
+ MICROPYTHON = os .getenv (
42
+ "MICROPY_MICROPYTHON" , "../ports/windows/build-standard/micropython.exe"
43
+ )
42
44
else :
43
45
CPYTHON3 = os .getenv ("MICROPY_CPYTHON3" , "python3" )
44
46
MICROPYTHON = os .getenv ("MICROPY_MICROPYTHON" , "../ports/unix/build-standard/micropython" )
You can’t perform that action at this time.
0 commit comments