Skip to content

Add SparkFun Thing Plus RA6M5. #290

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 17 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.