Fix console build and create new image

This commit is contained in:
jacob.eva 2025-02-10 14:04:57 +00:00
parent 211194ee6b
commit 821e8d47e9
No known key found for this signature in database
GPG Key ID: 0B92E083BBCCAA1E
3 changed files with 11 additions and 7 deletions

View File

@ -1,5 +1,6 @@
# These paths will have to be changed according to where you store these directories on your system
PATH_RETICULUM_WEBSITE=../../sites/reticulum.network
PATH_PACKAGES=../../dist_archive
PATH_PACKAGES=../../../rns_build
clean:
@echo Cleaning...
@ -21,7 +22,7 @@ pages-debug:
sourcepack:
@echo Packing firmware sources...
cd .. && zip -r build/pkg/rnode_firmware.zip * -x Builds/\* Console/\* Documentation/images/\* Documentation/RNode_v1_Manual.pdf Graphics/\* Python\ Module/\* Release/\* build/\* partition_hashes
cd .. && zip -r Console/build/pkg/rnode_firmware.zip * -x Builds/\* Console/\* Documentation/images/\* Documentation/RNode_v1_Manual.pdf Documentation/rnfw_1.jpg Graphics/\* Python\ Module/\* Release/\* build/\* partition_hashes
data:
@echo Including assets...
@ -29,7 +30,7 @@ data:
@cp assets/gfx/* build/gfx/
@cp assets/images/* build/images/
@cp assets/stl/* build/3d/
#@cp assets/pkg/* build/pkg/
# @cp assets/pkg/* build/pkg/
# @cp assets/scripts/* build/scripts/
# @cp -r ../../Reticulum/docs/manual/* build/reticulum_manual/
# @cp -r ../../Reticulum/docs/Reticulum\ Manual.pdf build/reticulum_manual/

View File

@ -5,16 +5,19 @@ import shutil
packages = {
"rns": "rns-0.9.1-py3-none-any.whl",
"nomadnet": "nomadnet-0.5.7-py3-none-any.whl",
"lxmf": "lxmf-0.6.0-py3-none-any.whl",
"nomadnet": "nomadnet-0.6.0-py3-none-any.whl",
"lxmf": "lxmf-0.6.2-py3-none-any.whl",
"rnsh": "rnsh-0.1.5-py3-none-any.whl",
}
DEFAULT_TITLE = "RNode Bootstrap Console"
SOURCES_PATH="./source"
BUILD_PATH="./build"
PACKAGES_PATH = "../../dist_archive"
# These paths may have to be changed depending on where you store these directories on your system
PACKAGES_PATH = "../../../rns_build"
RNS_SOURCE_PATH = "../../Reticulum"
INPUT_ENCODING="utf-8"
OUTPUT_ENCODING="utf-8"
@ -174,7 +177,7 @@ mf.write(help_redirect)
mf.close()
def optimise_manual(path):
pm = 90
pm = 45
scale_imgs = [
("_images/board_rnodev2.png", pm),
("_images/board_rnode.png", pm),

Binary file not shown.