From f1463aff25c6e0d8cc7a009fd96f558db6fe7ef6 Mon Sep 17 00:00:00 2001 From: nagumii Date: Sat, 4 Jan 2025 01:39:14 +0200 Subject: [PATCH] Fixed pinout --- .../usr/local/bin/femto-config | 2 +- .../usr/local/bin/femto-pinout.sh | 4 +- .../usr/local/bin/raspi-config | 79 +++++++++++++++++++ 3 files changed, 82 insertions(+), 3 deletions(-) create mode 100644 foxbuntu/sysdrv/out/rootfs_uclibc_rv1106/usr/local/bin/raspi-config diff --git a/foxbuntu/sysdrv/out/rootfs_uclibc_rv1106/usr/local/bin/femto-config b/foxbuntu/sysdrv/out/rootfs_uclibc_rv1106/usr/local/bin/femto-config index d08bff9..22166a7 100755 --- a/foxbuntu/sysdrv/out/rootfs_uclibc_rv1106/usr/local/bin/femto-config +++ b/foxbuntu/sysdrv/out/rootfs_uclibc_rv1106/usr/local/bin/femto-config @@ -404,7 +404,7 @@ software_settings() { case $option in 1) #About Femtofox) - dialog --title "$software" --yesno "Meshing Around is a feature-rich bot is designed to enhance your Meshtastic network experience with a variety of powerful tools and fun features, connectivity and utility through text-based message delivery. Whether you're looking to perform network tests, send messages, or even play games, mesh_bot.py has you covered.\nInstallation requires internet connection.\n\nLearn more at https://github.com/SpudGunMan/meshing-around\n\nInstall?" 0 0 + dialog --title "$software" --yesno "Meshing Around is a feature-rich bot designed to enhance your Meshtastic network experience with a variety of powerful tools and fun features, connectivity and utility through text-based message delivery. Whether you're looking to perform network tests, send messages, or even play games, mesh_bot.py has you covered.\nInstallation requires internet connection.\n\nLearn more at https://github.com/SpudGunMan/meshing-around\n\nInstall?" 0 0 if [ $? -eq 0 ]; then #unless cancel/no if git clone https://github.com/spudgunman/meshing-around /opt/meshing-around; then /opt/meshing-around/install.sh #install script diff --git a/foxbuntu/sysdrv/out/rootfs_uclibc_rv1106/usr/local/bin/femto-pinout.sh b/foxbuntu/sysdrv/out/rootfs_uclibc_rv1106/usr/local/bin/femto-pinout.sh index af48fa0..9a86b05 100755 --- a/foxbuntu/sysdrv/out/rootfs_uclibc_rv1106/usr/local/bin/femto-pinout.sh +++ b/foxbuntu/sysdrv/out/rootfs_uclibc_rv1106/usr/local/bin/femto-pinout.sh @@ -37,7 +37,7 @@ fi luckfox="\ ┌────┬───────┬────┐ \n\ - VBUS 5V ●│● │ USB-C │ ●│● 1V8 OUT \n\ + VBUS 3.3-5V ●│● │ USB-C │ ●│● 1V8 OUT \n\ GND ●│● │ │ ●│● GND \n\ 3V3 IN/OUT ●│● └───────┘ ●│● 145 (1.8V) \n\ UART2-TX DEBUG, 42 ●│● ●│● 144 (1.8V) \n\ @@ -58,7 +58,7 @@ GPIO BANK 4 (1.8v): 144 145 " femtofox="\ ┌──────────┬────┬─────┬────┬─────────────────┬───┬───────────────┐\n\ -│⚪⦂︎KILL ●│● │USB-C│ ●│● PWR-IN │✚ ▬│ 3.3-5V ⚪│\n\ +│⚪:KILL ●│● │USB-C│ ●│● PWR-IN │✚ ▬│ 3.3-5V ⚪│\n\ ├───────┐ ●│● └─────┘ ●│● └───┘ │\n\ │ USB-C │ ●│● ●│● ┌─────────────────────────────┐ │\n\ │ POWER │ ●│● LUCKFOX ●│● │ ┌─────────────┐ │ │\n\ diff --git a/foxbuntu/sysdrv/out/rootfs_uclibc_rv1106/usr/local/bin/raspi-config b/foxbuntu/sysdrv/out/rootfs_uclibc_rv1106/usr/local/bin/raspi-config new file mode 100644 index 0000000..5d581c3 --- /dev/null +++ b/foxbuntu/sysdrv/out/rootfs_uclibc_rv1106/usr/local/bin/raspi-config @@ -0,0 +1,79 @@ +#!/bin/bash +RED='\033[31m' +RESET="\033[0m" # Reset to default color +# ASCII art stored in a variable +ascii_art=' + $$$$$$$$$ @@$$$$$$$ + $$$$$$$$$$$$$$@ @$$$$$$$$$$$$$ + $$$$$$$$$$$$$$$$$$ $$$$$$$$$$$$$$$$$@ + $$$$$$$$$$$$$$$$$$$$$$ @$$$$$$$$$$$$$$$$$$$$$$@ @$$$$$$$$$$$$$$$$$$$$@ + $$$$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