Skip to content

Commit 627f378

Browse files
committed
Working core build
1 parent ec8b31c commit 627f378

File tree

24 files changed

+182
-1294
lines changed

24 files changed

+182
-1294
lines changed

firmware/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
sdkconfig

firmware/configs/core_defconfig

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -125,15 +125,15 @@ CONFIG_PARTITION_TABLE_MD5=y
125125
#
126126
CONFIG_INFO_FIRMWARE_NAME="Unknown"
127127
CONFIG_INFO_FIRMWARE_BUILD=0
128-
CONFIG_INFO_HARDWARE_NAME="EKeyboard"
129-
CONFIG_MICROPY_FROZEN_MANIFEST="ekeyboard.py"
130-
CONFIG_INFO_HARDWARE_WOEZEL_NAME="ekeyboard"
131-
CONFIG_OTA_WEB_SERVER="ekeyboard.wittemanlabs.nl"
128+
CONFIG_INFO_HARDWARE_NAME="Core"
129+
CONFIG_MICROPY_FROZEN_MANIFEST="core.py"
130+
CONFIG_INFO_HARDWARE_WOEZEL_NAME="core"
131+
CONFIG_OTA_WEB_SERVER=""
132132
CONFIG_OTA_WEB_USE_HTTPS=y
133133
CONFIG_OTA_WEB_PORT=443
134-
CONFIG_OTA_WEB_PATH="/version/ekeyboard.bin"
135-
CONFIG_OTA_WEB_VERSION_PATH="/version/ekeyboard.txt"
136-
CONFIG_WOEZEL_WEB_SERVER="apps.wittemanlabs.nl"
134+
CONFIG_OTA_WEB_PATH=""
135+
CONFIG_OTA_WEB_VERSION_PATH=""
136+
CONFIG_WOEZEL_WEB_SERVER=""
137137
CONFIG_WIFI_SSID="badge"
138138
CONFIG_WIFI_PASSWORD=""
139139
CONFIG_DEFAULT_DISPLAY_ORIENTATION_LANDSCAPE=y

firmware/manifests/ekeyboard.py renamed to firmware/manifests/core.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@
33
freeze("$(MPY_DIR)/drivers/onewire")
44
include("$(MPY_DIR)/extmod/uasyncio/manifest.py")
55
include("$(MPY_DIR)/extmod/webrepl/manifest.py")
6-
freeze("../python_modules/ekeyboard")
76
freeze("../python_modules/common", ("rtc.py", "upysh.py", "valuestore.py", "shell.py", "term.py", "virtualtimers.py", "wifi.py", "system.py", "ntp.py", "boot.py", "_boot.py"))
87
freeze("../python_modules/common", "tasks/powermanagement.py")
98
freeze("../python_modules/common", "tasks/otacheck.py")
109
freeze("../python_modules/common", "umqtt")
11-
freeze("../python_modules/woezel")
10+
freeze("../python_modules/woezel")
11+
freeze("../python_modules/core")
12+
freeze("../python_modules/common", "dashboard")

firmware/python_modules/common/boot.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@
3939
app = "factory_checks"
4040
else:
4141
app = rtcmem.read_string()
42-
if not app:
43-
app = 'dashboard.home'
42+
# if not app:
43+
# app = 'dashboard.home'
4444
del fc_level
4545

4646
del __chk_recovery
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import esp32
2+
3+
nvs = esp32.NVS("system")
4+
nvs.set_i32('factory_checked', 3)
5+
nvs.commit()

firmware/python_modules/ekeyboard/appconfig.py

Lines changed: 0 additions & 8 deletions
This file was deleted.

firmware/python_modules/ekeyboard/dashboard/home.py

Lines changed: 0 additions & 5 deletions
This file was deleted.

firmware/python_modules/ekeyboard/dashboard/launcher.py

Lines changed: 0 additions & 1 deletion
This file was deleted.

firmware/python_modules/ekeyboard/dashboard/resources/woezel_repo.py

Lines changed: 0 additions & 92 deletions
This file was deleted.

0 commit comments

Comments
 (0)