Skip to content
Open
Prev Previous commit
Next Next commit
Fix miscellaneous packaging things.
Recompile after verifying e2studio configuration.
  • Loading branch information
SFE-Brudnerd committed Feb 1, 2024
commit f7df79ed9a102023b8ffacbeb11fc7bfc14829e5
4 changes: 2 additions & 2 deletions extras/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ cat package_renesas_${VERSION}_index.json.tmp |
sed "s/%%VERSION%%/${VERSION}/" |
sed "s/%%FILENAME_UNO%%/${FILENAME}/" |
sed "s/%%CHECKSUM_UNO%%/${CHKSUM}/" |
sed "s/%%SIZE_UNO%%/${SIZE}/" > package_renesas_${VERSION}_index.json
sed "s/%%SIZE_UNO%%/${SIZE}/" > package_renesas_${VERSION}_index.json.tmp

# SparkFun Thing Plus RA6M5

Expand Down Expand Up @@ -103,7 +103,7 @@ mv ../$FILENAME .
CHKSUM=`sha256sum $FILENAME | awk '{ print $1 }'`
SIZE=`wc -c $FILENAME | awk '{ print $1 }'`

cat extras.package_index.json.tmp |
cat package_renesas_${VERSION}_index.json.tmp |
# sed "s/%%BUILD_NUMBER%%/${BUILD_NUMBER}/" |
# sed "s/%%BUILD_NUMBER%%/${CURR_TIME_SED}/" |
sed "s/%%VERSION%%/${VERSION}/" |
Expand Down
9 changes: 9 additions & 0 deletions post_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,14 @@ arduino_renesas_core_rules () {
echo ""
cat <<EOF
SUBSYSTEMS=="usb", ATTRS{idVendor}=="2341", MODE:="0666"
EOF
}

sparkfun_renesas_core_rules () {
echo ""
echo "# Renesas based SparkFun bootloader UDEV rules"
echo ""
cat <<EOF
SUBSYSTEMS=="usb", ATTRS{idVendor}=="1b4f", MODE:="0666"
EOF
}
Expand All @@ -16,6 +24,7 @@ if [ "$EUID" -ne 0 ]
fi

arduino_renesas_core_rules > /etc/udev/rules.d/60-arduino-renesas.rules
sparkfun_renesas_core_rules > /etc/udev/rules.d/60-sparkfun-renesas.rules

# reload udev rules
echo "Reload rules..."
Expand Down
Binary file modified variants/THINGPLUS_RA6M5/libs/libfsp.a
Binary file not shown.