Fix console build and create new image

master
jacob.eva 2 weeks ago
parent 211194ee6b
commit 821e8d47e9
No known key found for this signature in database
GPG Key ID: B92E083BBCCAA1E
  1. 5
      Console/Makefile
  2. 11
      Console/build.py
  3. BIN
      Release/console_image.bin

@ -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...

@ -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.
Loading…
Cancel
Save