Skip to content

Commit 83c3e9c

Browse files
committed
add include path macOS
1 parent ddde26a commit 83c3e9c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

builder/macOS.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ def build_commands(_, extra_args, script_dir, lv_cflags, board):
5454

5555
unix_cmd.append(f'{script_dir}/lib/micropython/ports/unix')
5656

57+
f''
58+
5759
if board:
5860
unix_cmd.append(f'VARIANT={board}')
5961

@@ -66,7 +68,7 @@ def build_commands(_, extra_args, script_dir, lv_cflags, board):
6668
f'LV_CFLAGS="{lv_cflags}"',
6769
f'LV_PORT=unix',
6870
f'USER_C_MODULES="{script_dir}/ext_mod"',
69-
'CFLAGS="-Wno-missing-field-initializers -Wno-unused-function"'
71+
f'CFLAGS="-Wno-missing-field-initializers -Wno-unused-function -I"{script_dir}/lib/micropython"'
7072
])
7173
unix_cmd.extend(extra_args)
7274

0 commit comments

Comments
 (0)