From eeeb04fa1a202c68279d4b4ee0a1e3ff34c62c7f Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Thu, 4 Mar 2021 17:54:40 -0500 Subject: add L4 and G4 to ChibiOS; delete bloat --- ChibiOS_20.3.2/os/hal/boards/genboard.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 ChibiOS_20.3.2/os/hal/boards/genboard.sh (limited to 'ChibiOS_20.3.2/os/hal/boards/genboard.sh') diff --git a/ChibiOS_20.3.2/os/hal/boards/genboard.sh b/ChibiOS_20.3.2/os/hal/boards/genboard.sh new file mode 100644 index 0000000..8e8a112 --- /dev/null +++ b/ChibiOS_20.3.2/os/hal/boards/genboard.sh @@ -0,0 +1,17 @@ +#!/bin/bash +if [ $# -eq 1 ] +then + echo "Processing: $1" + if ! fmpp -q -C $1/cfg/board.fmpp + then + echo + echo "aborted" + exit 1 + else + echo + echo "done" + exit 0 + fi +else + echo "Usage: genboard " +fi -- cgit v1.2.3