Skip to content

Commit e1727e9

Browse files
Move button.py to /builtin/system
1 parent 3addeb8 commit e1727e9

File tree

6 files changed

+4
-3
lines changed

6 files changed

+4
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ cd ~/sources/
5353
git clone https://github.com/LightningPiggy/PiggyOS.git
5454
5555
git clone https://github.com/bixb922/freezeFS
56-
~/sources/PiggyOS/scripts/build_freezefs_mount_builtin.sh
56+
~/sources/PiggyOS/scripts/freezefs_mount_builtin.sh
5757
5858
git clone https://github.com/cnadler86/micropython-camera-API
5959
echo 'include("~/sources/lvgl_micropython/build/manifest.py")' >> micropython-camera-API/src/manifest.py

internal_filesystem/boot.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
print("boot.py: version 0.0.2 running")
2+
13
from machine import Pin, SPI
24
import st7789
35
import lcd_bus
File renamed without changes.

internal_filesystem/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ def restart_launcher():
397397

398398
# Execute these if they exist:
399399
execute_script_new_thread("/autorun.py", True, False, False) # Generic run-at-boot script, for development
400-
execute_script_new_thread("/system/button.py", True, False, False) # Button handling through IRQ
400+
execute_script_new_thread("/builtin/system/button.py", True, False, False) # Button handling through IRQ
401401

402402
try:
403403
import freezefs_mount_builtin

manifest.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
freeze('internal_filesystem/', 'boot.py') # Hardware initialization
22
freeze('internal_filesystem/', 'main.py') # User Interface initialization
33
freeze('internal_filesystem/lib', '') # Additional libraries
4-
freeze('internal_filesystem/system', '') # Additional libraries
54
freeze('/home/user/sources/freezeFS/', 'freezefs_mount_builtin.py') # Built-in apps

0 commit comments

Comments
 (0)