Skip to content

Commit c8f725b

Browse files
Remove dashes from filenames
These aren't supported by MicroPythonOS' freeze system.
1 parent 9125fcc commit c8f725b

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed
File renamed without changes.

internal_filesystem/lib/mpos/board/waveshare-esp32-s3-touch-lcd-2.py renamed to internal_filesystem/lib/mpos/board/waveshare_esp32_s3_touch_lcd_2.py

File renamed without changes.

internal_filesystem/lib/mpos/main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@
1313
if sys.platform == "linux" or sys.platform == "darwin": # linux and macOS
1414
board = "linux"
1515
elif sys.platform == "esp32":
16-
board = "fri3d-2024" # default fallback
16+
board = "fri3d_2024" # default fallback
1717
import machine
1818
from machine import Pin, I2C
1919
i2c0 = I2C(0, sda=machine.Pin(48), scl=machine.Pin(47))
2020
if i2c0.scan() == [21, 107]: # touch screen and IMU
21-
board = "waveshare-esp32-s3-touch-lcd-2"
21+
board = "waveshare_esp32_s3_touch_lcd_2"
2222

2323
print(f"Detected hardware {board}, initializing...")
2424
import mpos.info

0 commit comments

Comments
 (0)