Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb8fdb89

Browse files
committed
fixes trailing slash issue with custom board path.
1 parent30b1f7d commitb8fdb89

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎make.py‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,9 @@ def create_lvgl_header():
264264
get_submodules()
265265

266266
ifcustom_board_pathisnotNone:
267+
ifcustom_board_path.endswith('/'):
268+
custom_board_path=custom_board_path[:-1]
269+
267270
board_name=os.path.split(custom_board_path)[-1]
268271
dst_path=f'lib/micropython/ports/{target}/boards/{board_name}'
269272
ifos.path.exists(dst_path):

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp