2021-06-23 14:58:44 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -x -e
|
|
|
|
|
|
|
|
SCRIPT_DIR="$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
|
|
|
|
PROJECT_DIR="$(dirname "$SCRIPT_DIR")"
|
|
|
|
|
2021-09-13 01:44:02 +00:00
|
|
|
rm "$PROJECT_DIR"/bootloader/.obj/f*/flash || true
|
|
|
|
make -C "$PROJECT_DIR"/bootloader -j9 flash
|
2021-06-23 14:58:44 +00:00
|
|
|
|
2021-09-13 01:44:02 +00:00
|
|
|
rm "$PROJECT_DIR"/firmware/.obj/f*/flash || true
|
|
|
|
make -C "$PROJECT_DIR"/firmware -j9 flash
|