Skip to content

Commit

Permalink
Merge pull request #156 from MitchBradley/FixESP32Build
Browse files Browse the repository at this point in the history
Fix esp32 build
  • Loading branch information
kdschlosser authored Oct 21, 2024
2 parents 3f3ce97 + 7a532e8 commit e27c39a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions builder/esp32.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from . import (
read_file,
write_file,
copy_updated_files,
copy_micropy_updates,
revert_files,
scrub_build_folder
)
Expand Down Expand Up @@ -850,7 +850,7 @@ def find_esp32_ports(chip):


if not os.path.exists('micropy_updates/originals/esp32'):
os.mkdir('micropy_updates/originals/esp32')
os.makedirs('micropy_updates/originals/esp32')


def update_mpthreadport():
Expand Down Expand Up @@ -1140,7 +1140,7 @@ def compile(*args): # NOQA
update_mpconfigboard()
update_mpconfigport()

copy_updated_files('esp32')
copy_micropy_updates('esp32')

try:
cmd_ = compile_cmd[:]
Expand Down
2 changes: 1 addition & 1 deletion builder/macOS.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
unix.REAL_PORT = 'macOS'

if not os.path.exists('micropy_updates/originals/macOS'):
os.mkdir('micropy_updates/originals/macOS')
os.makedirs('micropy_updates/originals/macOS')


def parse_args(extra_args, lv_cflags, board):
Expand Down
2 changes: 1 addition & 1 deletion builder/raspberry_pi.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@


if not os.path.exists('micropy_updates/originals/raspberry_pi'):
os.mkdir('micropy_updates/originals/raspberry_pi')
os.makedirs('micropy_updates/originals/raspberry_pi')


unix.REAL_PORT = 'raspberry_pi'
Expand Down
2 changes: 1 addition & 1 deletion builder/unix.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ def submodules():


if not os.path.exists('micropy_updates/originals/unix'):
os.mkdir('micropy_updates/originals/unix')
os.makedirs('micropy_updates/originals/unix')


UNIX_MPHAL_PATH = 'lib/micropython/ports/unix/unix_mphal.c'
Expand Down

0 comments on commit e27c39a

Please sign in to comment.