mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-23 21:13:16 +00:00
13 lines
310 B
Bash
13 lines
310 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
set -x -e
|
||
|
|
||
|
SCRIPT_DIR="$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
|
||
|
PROJECT_DIR="$(dirname "$SCRIPT_DIR")"
|
||
|
|
||
|
rm $PROJECT_DIR/bootloader/.obj/f*/flash || true
|
||
|
make -C $PROJECT_DIR/bootloader -j9 flash
|
||
|
|
||
|
rm $PROJECT_DIR/firmware/.obj/f*/flash || true
|
||
|
make -C $PROJECT_DIR/firmware -j9 flash
|