This commit is contained in:
Mike Trudeau
2026-02-13 20:33:17 +00:00
parent 008f60446f
commit 2d168f4a3a
64 changed files with 11570 additions and 0 deletions

18
classic/build/scripts/beeon Executable file
View File

@@ -0,0 +1,18 @@
#!/bin/bash
set -e
# micronucleus bootloader (v1 hardware)
MN_VERSION=2.04
make -C bl
cp bl/work/micronucleus-${MN_VERSION}/firmware/main.hex ${DAPPER_OUTPUT}/beeon-classic-v1-micronucleus-${MN_VERSION}.hex
ls -la ${DAPPER_OUTPUT}/beeon-classic-v1-micronucleus-${MN_VERSION}.hex
# classic v1 firmware
make -C fw
cp fw/main.hex ${DAPPER_OUTPUT}/beeon-classic-v1.hex
ls -al ${DAPPER_OUTPUT}/beeon-classic-v1.hex
## firmware serial number patcher
make -C sn
cp sn/bin/* ${DAPPER_OUTPUT}/
ls -la ${DAPPER_OUTPUT}/beeon-classic-sn-*

13
classic/build/scripts/entry Executable file
View File

@@ -0,0 +1,13 @@
#!/bin/bash
set -e
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
mkdir -p ${DAPPER_OUTPUT}
if [ -e ${DIR}/$1 ]; then
${DIR}/"$@"
else
exec "$@"
fi
chown -R $DAPPER_UID:$DAPPER_GID ${DAPPER_OUTPUT}